JP2014171830A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2014171830A
JP2014171830A JP2013050205A JP2013050205A JP2014171830A JP 2014171830 A JP2014171830 A JP 2014171830A JP 2013050205 A JP2013050205 A JP 2013050205A JP 2013050205 A JP2013050205 A JP 2013050205A JP 2014171830 A JP2014171830 A JP 2014171830A
Authority
JP
Japan
Prior art keywords
payout
error
ball
control means
motor
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.)
Pending
Application number
JP2013050205A
Other languages
Japanese (ja)
Inventor
Takamitsu Asai
隆光 浅井
Yasuyuki Fujiwara
康行 藤原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sammy Corp
Original Assignee
Sammy Corp
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 Sammy Corp filed Critical Sammy Corp
Priority to JP2013050205A priority Critical patent/JP2014171830A/en
Publication of JP2014171830A publication Critical patent/JP2014171830A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a game machine capable of reducing a signal transmission quantity while realizing fine control relating to a stepping motor.SOLUTION: A game machine comprises a stepping motor that includes: a rotor and a stator at least having two phases; and at least a first stator and a second stator differing from the first stator in the phase, as the stator to be excited. The game machine can simultaneously transmit a magnetic polarity specifying signal for specifying a magnetic polarity of the first stator, a magnetic polarity specifying signal for specifying a magnetic polarity of the second stator, an exciting current value specifying signal for specifying an exciting current value of the first stator and an exciting current value specifying signal for specifying an exciting current value of the second stator, as an ON/OFF signal from one signal line corresponding to each of the signals.

Description

遊技機に関する。   It relates to gaming machines.

弾球遊技機は、所定条件を充足することにより遊技媒体である遊技球が払い出されるタイプの遊技機である。例えば、弾球遊技機の中で最もスタンダードであるぱちんこ遊技機では、遊技領域に設けられた入賞口に遊技球を入球させることにより賞球払出がなされる。また、最近では、弾球遊技機に隣接してカードユニット等の遊技媒体貸出機が設置されており、当該貸出機からの要求を受けて、弾球遊技機の上皿に所定個数の遊技球が供給される。ここで、賞球払出や球貸出払出がなされる場合、一般に、以下のような手順(例)で球払出がなされる。まず、賞球払出に関しては、遊技球が始動入賞口や大入賞口等の入賞口に入球すると、入賞球集合樋を経て入賞球排出機構に達し、そこで入賞球検出スイッチにより検出される。そして、この検出信号を受信したメイン制御基板側は、払出制御基板側に賞球払出コマンドを送信する。続いて、賞球払出コマンドを受信した払出制御基板は、このコマンドに基づいて球払出装置を制御して所定数の賞球払出処理を実行する。この球貸し動作の場合も同様に、球払出コマンドを受け、払出制御基板は、このコマンドに基づいて球払出装置を制御して所定数の球払出処理を実行する。   A bullet ball gaming machine is a type of gaming machine in which a gaming ball as a gaming medium is paid out when a predetermined condition is satisfied. For example, in a pachinko gaming machine that is the most standard among ball and ball gaming machines, a winning ball is paid out by letting a gaming ball enter a winning opening provided in the gaming area. Recently, a game medium lending machine such as a card unit has been installed adjacent to the ball game machine. Upon receiving a request from the lending machine, a predetermined number of game balls are placed on the upper plate of the ball game machine. Is supplied. Here, when award ball payout or ball lending payout is made, ball payout is generally made in the following procedure (example). First, with respect to award ball payout, when a game ball enters a winning opening such as a start winning opening or a large winning opening, it reaches a winning ball discharge mechanism via a winning ball set, and is detected by a winning ball detection switch there. The main control board side that has received this detection signal transmits a prize ball payout command to the payout control board side. Subsequently, the payout control board that has received the prize ball payout command controls the ball payout apparatus based on this command to execute a predetermined number of prize ball payout processes. Similarly, in the case of this ball lending operation, a ball payout command is received, and the payout control board controls the ball payout device based on this command and executes a predetermined number of ball payout processes.

ところで、前述のような手順で球払出がなされる場合、払出制御基板側は、球払出動作の駆動源となるステッピングモータを励磁し、ステッピングモータの回転運動が球払出動作へと変換されることによって実現されている。このような構成下、球払出動作の実行状況に応じて、ステッピングモータの励磁方式や励磁電流の大きさ等を変更することで、きめ細やかな制御を実現したい場合があり、従来よりいくつかの手法が提案されている。尚、ステッピングモータの用途としては、この他にも、いわゆるドラム(回胴)の回転駆動の駆動源となったり、演出用可動役物(演出制御基板からの制御信号に基づき可動される可動物)の変位駆動の駆動源となったり、遊技球の他にもメダルの払出動作(いわゆるホッパー)の駆動源となったり、と様々であるが、このような様々な用途においても、ステッピングモータのきめ細やかな制御が必要となる場合がある。   By the way, when the ball payout is performed according to the procedure described above, the payout control board side excites the stepping motor as a driving source of the ball payout operation, and the rotational motion of the stepping motor is converted into the ball payout operation. It is realized by. Under such a configuration, depending on the execution state of the ball payout operation, there are cases where it is desired to realize fine control by changing the excitation method of the stepping motor, the magnitude of the excitation current, etc. A method has been proposed. In addition to the above, the stepping motor can be used as a drive source for rotational driving of a so-called drum (rotating cylinder) or a movable object for production (movable object that is movable based on a control signal from the production control board) ) And a driving source for a medal payout operation (so-called hopper) in addition to a game ball. Fine control may be required.

特開2000−279603号公報JP 2000-279603 A 特開2000−300776号公報JP 2000-300776 A 特開2002−017972号公報JP 2002-017972 A 特開2011−206610号公報JP 2011-206610 A 特開2010−012130号公報JP 2010-012130 A

しかしながら、制御基板側とステッピングモータとの信号伝達量(特に、結線数)を増やしてしまうとノイズ等により信号伝達の信頼性が低下してしまう恐れがあり、ステッピングモータに係るきめ細やかな制御を実現しつつ、信号伝達量を抑えるための施策が必要となってきている、という課題が存在する。   However, if the amount of signal transmission (especially the number of connections) between the control board and the stepping motor is increased, the reliability of signal transmission may be reduced due to noise or the like. There is a problem that measures to reduce the amount of signal transmission are necessary while realizing it.

本態様に係る遊技機は、
回転子(例えば、ロータ141d−1)と少なくとも二相の固定子(例えば、ステータ141d−2におけるA相、B相)とを有し、励磁される固定子として、第一の固定子(例えば、A相のA、A’におけるいずれか一方)と、第一の固定子(例えば、A相のA、A’におけるいずれか一方)とは相が異なる第二の固定子(例えば、B相のB、B’におけるいずれか一方)と、が少なくとも備えられているステッピングモータ(例えば、ステッピングモータ141d)と、
ステッピングモータ(例えば、ステッピングモータ141d)の回転を制御する回転制御手段(例えば、払出制御基板230)と、
回転制御手段(例えば、払出制御基板230)からの信号に基づき、ステッピングモータの固定子を励磁し得る励磁手段(例えば、払出モータドライバ141e)と
を備え、
回転制御手段(例えば、払出制御基板230)は、励磁手段(例えば、払出モータドライバ141e)に対し、第一の固定子(例えば、A相のA、A’におけるいずれか一方)の磁極性を特定するための磁極性特定信号、第二の固定子(例えば、B相のB、B’におけるいずれか一方)の磁極性を特定するための磁極性特定信号、第一の固定子(例えば、A相のA、A’におけるいずれか一方)の励磁電流値を特定するための励磁電流値特定信号、及び、第二の固定子(例えば、B相のB、B’におけるいずれか一方)の励磁電流値を特定するための励磁電流値特定信号を、夫々の信号に対応した一本の信号線からON/OFF信号として同時に発信可能に構成されており、
励磁手段(例えば、払出モータドライバ141e)は、前記信号線を介してのON/OFF信号に基づき、所定の電流値にて第一の固定子(例えば、A相のA、A’におけるいずれか一方)をS極及びN極のいずれかの極に励磁し得るよう構成されており、また、所定の電流値にて第二の固定子(例えば、B相のB、B’におけるいずれか一方)をS極及びN極のいずれかの極に励磁し得るよう構成されている
ことを特徴とする遊技機である。
The gaming machine according to this aspect is
A stator having a rotor (for example, the rotor 141d-1) and at least two-phase stators (for example, the A phase and the B phase in the stator 141d-2) and being excited, the first stator (for example, , Any one of A phase A and A ′) and the first stator (eg, any one of A phase A and A ′) are different in phase from the second stator (eg, B phase). A stepping motor (for example, a stepping motor 141d) provided with at least
Rotation control means (for example, the payout control board 230) for controlling the rotation of the stepping motor (for example, the stepping motor 141d);
Excitation means (for example, payout motor driver 141e) that can excite the stator of the stepping motor based on a signal from the rotation control means (for example, payout control board 230),
The rotation control means (for example, the payout control board 230) has the magnetic property of the first stator (for example, one of A phase A and A ′) with respect to the excitation means (for example, the payout motor driver 141e). Magnetic pole property specifying signal for specifying, magnetic polarity specifying signal for specifying the magnetic property of the second stator (for example, one of B phase B and B ′), the first stator (for example, The excitation current value specifying signal for specifying the excitation current value of A phase A or A ′) and the second stator (for example, one of B phase B or B ′) An excitation current value specifying signal for specifying an excitation current value can be transmitted simultaneously as an ON / OFF signal from one signal line corresponding to each signal,
The excitation means (for example, the payout motor driver 141e) is based on the ON / OFF signal via the signal line, and has a predetermined current value and the first stator (for example, one of A and A 'in the A phase). One) can be excited to either the S pole or the N pole, and the second stator (for example, one of B and B ′ of the B phase) at a predetermined current value. ) Can be excited to either the S pole or the N pole.

本態様に係る遊技機によれば、ステッピングモータに係るきめ細やかな制御を実現しつつ、信号伝達量を抑えることが可能となるという効果を奏する。   According to the gaming machine according to this aspect, there is an effect that it is possible to suppress the signal transmission amount while realizing fine control related to the stepping motor.

図1は、本実施形態に係るぱちんこ遊技機の正面図である。FIG. 1 is a front view of a pachinko gaming machine according to the present embodiment. 図2は、本実施形態に係るぱちんこ遊技機の背面図である。FIG. 2 is a rear view of the pachinko gaming machine according to the present embodiment. 図3は、本実施形態に係るぱちんこ遊技機の払出ユニットの外観図である。FIG. 3 is an external view of the payout unit of the pachinko gaming machine according to the present embodiment. 図4は、本実施形態に係るぱちんこ遊技機の払出ユニットの構造と遊技球の払出を行う動作原理の概要図である。FIG. 4 is a schematic diagram of the structure of the payout unit of the pachinko gaming machine according to the present embodiment and the operating principle for paying out the game balls. 図5は、本実施形態に係るぱちんこ遊技機のロータ位置確認用センサと回転体とを模式的に示した図である。FIG. 5 is a diagram schematically showing a rotor position confirmation sensor and a rotating body of the pachinko gaming machine according to the present embodiment. 図6は、本実施形態に係るぱちんこ遊技機の電気的な概略構成図である。FIG. 6 is a schematic electrical configuration diagram of the pachinko gaming machine according to the present embodiment. 図7は、本実施形態に係るぱちんこ遊技機のステッピングモータの概念図である。FIG. 7 is a conceptual diagram of the stepping motor of the pachinko gaming machine according to the present embodiment. 図8は、本実施形態に係るぱちんこ遊技機の賞球払出に関する作用図である。FIG. 8 is an operation diagram relating to award ball payout of the pachinko gaming machine according to the present embodiment. 図9は、本実施形態に係るぱちんこ遊技機の機能ブロック図である。FIG. 9 is a functional block diagram of the pachinko gaming machine according to the present embodiment. 図10は、本実施形態に係るぱちんこ遊技機のメイン制御基板及び払出制御基板間で送受信されるコマンド及び情報の内容を示した図である。FIG. 10 is a diagram showing the contents of commands and information transmitted and received between the main control board and the payout control board of the pachinko gaming machine according to the present embodiment. 図11は、本実施形態に係るぱちんこ遊技機における、主制御基板側で実行する処理のメインルーチンを示すフローチャートである。FIG. 11 is a flowchart showing a main routine of processing executed on the main control board side in the pachinko gaming machine according to the present embodiment. 図12は、本実施形態に係るぱちんこ遊技機における、主制御基板側での未払出賞球(賞球払出コマンド送信前)管理処理のフローチャートを示したものである。FIG. 12 shows a flowchart of unpaid prize ball (before prize ball payout command transmission) management processing on the main control board side in the pachinko gaming machine according to the present embodiment. 図13は、本実施形態に係るぱちんこ遊技機における、主制御基板側での対払出制御基板送信制御処理のフローチャートを示したものである。FIG. 13 is a flowchart of the payout control board transmission control process on the main control board side in the pachinko gaming machine according to the present embodiment. 図14は、本実施形態に係るぱちんこ遊技機における、主制御基板側での対払出制御基板受信制御処理のフローチャートを示したものである。FIG. 14 is a flowchart of the payout control board reception control process on the main control board side in the pachinko gaming machine according to the present embodiment. 図15は、本実施形態に係るぱちんこ遊技機における、主制御基板側でのエラー時対応制御処理のフローチャートを示したものである。FIG. 15 shows a flowchart of the error handling control process on the main control board side in the pachinko gaming machine according to the present embodiment. 図16は、本実施形態に係るぱちんこ遊技機における、払出制御基板におけるメインルーチンを示すフローチャートである。FIG. 16 is a flowchart showing a main routine in the payout control board in the pachinko gaming machine according to the present embodiment. 図17は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での電断復帰時初期処理のフローチャートである。FIG. 17 is a flowchart of initial processing at the time of power interruption return on the payout control board side in the pachinko gaming machine according to the present embodiment. 図18は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での異常検出時エラー制御処理のフローチャートである。FIG. 18 is a flowchart of error control processing at the time of abnormality detection on the payout control board side in the pachinko gaming machine according to the present embodiment. 図19は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での払出モータ動作異常検出時エラー制御処理のフローチャートである。FIG. 19 is a flowchart of error control processing at the time of detection of a payout motor operation abnormality on the payout control board side in the pachinko gaming machine according to the present embodiment. 図20は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での払出異常検出時エラー制御処理のフローチャートである。FIG. 20 is a flowchart of error control processing at the time of payout abnormality detection on the payout control board side in the pachinko gaming machine according to the present embodiment. 図21は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での球経路異常検出時エラー制御処理のフローチャートである。FIG. 21 is a flowchart of error control processing at the time of ball path abnormality detection on the payout control board side in the pachinko gaming machine according to the present embodiment. 図22は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での払出モータ異常検出時エラー制御処理のフローチャートである。FIG. 22 is a flowchart of an error control process when a payout motor abnormality is detected on the payout control board side in the pachinko gaming machine according to the present embodiment. 図23は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での要払出停止異常検出時エラー制御処理のフローチャートである。FIG. 23 is a flowchart of an error control process at the time of a payout stop abnormality detection on the payout control board side in the pachinko gaming machine according to the present embodiment. 図24は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での賞球払出関連情報送受信処理(対主制御基板)のフローチャートである。FIG. 24 is a flowchart of prize ball payout-related information transmission / reception processing (vs. main control board) on the payout control board side in the pachinko gaming machine according to the present embodiment. 図25は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での賞球払出制御処理(賞球払出開始・モータ駆動開始時)のフローチャートである。FIG. 25 is a flowchart of a prize ball payout control process (at the start of a prize ball payout / motor drive) on the payout control board side in the pachinko gaming machine according to the present embodiment. 図26は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での賞球払出制御処理(モータ駆動終了時・賞球払出終了時)のフローチャートである。FIG. 26 is a flowchart of a prize ball payout control process (at the end of motor driving / at the end of prize ball payout) on the payout control board side in the pachinko gaming machine according to the present embodiment. 図27は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での賞球払出制御処理(モータ駆動実行時)のフローチャートである。FIG. 27 is a flowchart of a prize ball payout control process (during motor drive) on the payout control board side in the pachinko gaming machine according to the present embodiment. 図28は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での賞球払出制御処理(モータ駆動実行時)にて参照されるテーブル構成図である。FIG. 28 is a table configuration diagram that is referred to in a prize ball payout control process (during motor drive) on the payout control board side in the pachinko gaming machine according to the present embodiment. 図29は、本実施形態に係るぱちんこ遊技機における、払出モータドライバの、回路図である。FIG. 29 is a circuit diagram of the payout motor driver in the pachinko gaming machine according to the present embodiment. 図30は、本実施形態に係るぱちんこ遊技機における、払出制御基板側でのモータエラー時処理のフローチャートである。FIG. 30 is a flowchart of the motor error process on the payout control board side in the pachinko gaming machine according to the present embodiment. 図31は、本実施形態に係るぱちんこ遊技機における、払出制御基板側での電断時処理のフローチャートである。FIG. 31 is a flowchart of the power interruption process on the payout control board side in the pachinko gaming machine according to the present embodiment. 図32は、本実施形態における払出モータの作用図(タイミングチャート)である。FIG. 32 is an operation diagram (timing chart) of the payout motor in the present embodiment. 図33は、本実施形態における払出モータの作用図(イメージ図)である。FIG. 33 is an operation diagram (image diagram) of the payout motor in the present embodiment.

実施するための形態Form to carry out

まず、本明細書における各用語の定義について説明することとする。「賞球払出」とは、所定の入賞口へ遊技球が入球したことを契機として遊技者に付される利益であり、入賞口毎に定められた所定個数の遊技球を遊技者に払い戻すことである。「払出コマンドに基づいて」とは、払出コマンドに含まれる情報のみならず、当該情報から導き出される情報をも含む。例えば、払出コマンドに含まれる情報が入賞口に係る情報のみである場合、入賞口毎に定められた所定個数の遊技球数は導き出されるため、当該所定個数の遊技球数も含まれる。「CPU」とは、当業界において周知であるものと同義であり、使用されているアーキテクチャ(CISC、RISC、ビット数等)や処理性能等には何ら限定されない。「払出動作に係るエラー」とは、通常動作として定義している動作と異なる動作であれば特に限定されず、払出動作の停止を要するか否かには依存しない。「払出手段の動作内容」とは、ハードウェアに係る動作内容のみならずソフトウェアに係る動作内容をも含んでいる。例えば、ハードウェアに係る動作内容としては、ステッピングモータの回転方向や回転速度等を挙げることができ、ソフトウェアに係る動作内容としては、ステッピングモータの励磁タイミングや励磁方法等を挙げることができる。「電断(電源断)」とは、遊技機に設けられた電源スイッチの操作実行有無に係らず、遊技機に供給される電源電圧が一定レベル以下となったことを指し、例えば、電源供給装置の破損や停電等による不測の事態による電源供給の遮断をも包含する。ステッピングモータは、ステータの励磁によりロータが回転する周知構造のステッピングモータ一切を指し、ステータ等の数{例えば、2n個(n=2、3、4・・・)}、励磁方式(1相式、2相式、1−2相式等)等は何ら限定されない。「ステッピングモータが正常に回転しているか否かを検知する回転検知手段」は、ステッピングモータに直接備えられている手段でもよいが、ステッピングモータの回転軸と連結したギアの位置や回転状況を確認する等、ステッピングモータに備えられていないがステッピングモータの回転状態を把握できる手段一切を含む。「遊技機」とは、遊技媒体が遊技球であるものやメダルであるものを指し、具体的には、弾球遊技機(例えば、パチンコ遊技機、雀球遊技機、アレンジボール等)や回胴式遊技機(スロットマシン)を指し、即ち、本実施形態を採用したステッピングモータの用途として、遊技球の払出動作の駆動源とするものには限定されず、いわゆるドラム(回胴)の回転駆動の駆動源となったり、演出用可動役物(演出制御基板からの制御信号に基づき可動される可動物)の変位駆動の駆動源となったり、遊技球の他にもメダルの払出動作(いわゆるホッパー)の駆動源となったり、と様々な用途に適用可能であることを意味している。「ステッピングモータの回転を再試行する」とは、所謂リトライ動作のことであるが、リトライ動作の態様には何ら限定されず、例えば、ステッピングモータの回転方向の切替動作(順方向→順方向、順方向→逆方向、逆方向→順方向、或いは双方を交互に実行)や、1ステップの切替タイミングの変更等には何ら限定されない。「トルクが低減し得る」とは、回転時の平均トルクの値が低減していればよく、2相励磁と1相励磁のように、励磁されているときを比較すると常にトルクが低減している場合のみならず、2相励磁と1−2相励磁のように、ある励磁時にはトルクが同一値である場合をも包含する。「1回の払出動作」とは、払出されるべき遊技球数分を1回の払出動作で払出す場合のみならず、払出されるべき遊技球数分を複数回の払出動作に分割して払出す場合の単位回数であってもよい。尚、本実施形態は、あくまで一例であり、各手段が存在する場所や機能等、各種処理に関しての各ステップの順序、フラグのオン・オフのタイミング、各ステップの処理を担う手段名等に関し、以下の態様に限定されるものではない。また、上記した実施形態や変更例は、特定のものに対して適用されると限定的に解すべきでなく、どのような組み合わせであってもよい。例えば、ある実施形態についての変更例は、別の実施形態の変更例であると理解すべきであり、また、ある変更例と別の変更例が独立して記載されていたとしても、当該ある変更例と当該別の変更例を組み合わせたものも記載されていると理解すべきである。また、本実施形態では、各種テーブルに関し、抽選テーブルと参照テーブルとが存在するが、これらも限定的ではなく、抽選テーブルを参照テーブルとしたり或いはこの逆としてもよい。更に、以下の実施形態や変更例において示す具体的一例としての数値{例えば、抽選実行時における当選確率、特別遊技時における最大ラウンド数、図柄変動時間、各遊技状態における継続回数、等}は、あくまで一例であり、特に、異なる条件下(例えば、第1主遊技側と第2主遊技側との条件別、確率変動遊技時と非確率変動遊技時との条件別、時間短縮遊技時と非時間短縮遊技時との条件別、等)において示した数値の大小関係や組み合わせは、以下の実施形態や変更例の趣旨を大きく逸脱しない限りにおいては、適宜変更してもよいものであると理解すべきである。例えば、第1主遊技側と第2主遊技側とで、抽選実行時における当選確率や特別遊技時における最大ラウンド数の期待値における大小関係が、第1主遊技側=第2主遊技側となるよう例示されていたとしても、当該大小関係を第1主遊技側<第2主遊技側とする、或いは、第1主遊技側>第2主遊技側とするといったように適宜変更してもよい(その他の数値、条件下についても同様)。また、例えば、確率変動遊技状態の継続回数として、次回大当りが発生するまで継続するとの趣旨に基づき構成するに際し、継続回数として「65535」をセットするのか(実質的に継続するよう構成する)、或いは、継続回数をセットせずに次回大当りが発生するまで確率変動遊技状態を維持する、といった同一趣旨に基づく実現方法の選択肢においても、以下の実施形態や変更例の趣旨を大きく逸脱しない限りにおいては、適宜変更してもよいものであると理解すべきである。   First, the definition of each term in this specification will be explained. “Prize ball payout” is a benefit given to a player when a game ball has entered a predetermined winning slot, and a predetermined number of game balls determined for each winning slot are paid back to the player. That is. “Based on the payout command” includes not only information included in the payout command but also information derived from the information. For example, when the information included in the payout command is only information related to a winning opening, the predetermined number of gaming balls determined for each winning opening is derived, and thus the predetermined number of gaming balls is also included. “CPU” is synonymous with what is well known in the art, and is not limited to the architecture (CISC, RISC, number of bits, etc.) used, processing performance, or the like. The “error related to the payout operation” is not particularly limited as long as it is an operation different from the operation defined as the normal operation, and does not depend on whether or not the payout operation needs to be stopped. The “operation content of the payout means” includes not only the operation content related to hardware but also the operation content related to software. For example, the operation content related to the hardware can include the rotation direction and rotation speed of the stepping motor, and the operation content related to the software can include the excitation timing and excitation method of the stepping motor. “Power interruption (power interruption)” means that the power supply voltage supplied to the gaming machine falls below a certain level regardless of whether the power switch provided on the gaming machine is operated or not. This also includes shutting off the power supply due to unforeseen circumstances such as equipment damage or power outages. A stepping motor refers to any stepping motor having a known structure in which a rotor rotates by excitation of a stator. The number of stators {for example, 2n (n = 2, 3, 4,...)} 2 phase type, 1-2 phase type, etc.) are not limited at all. “Rotation detection means for detecting whether or not the stepping motor is rotating normally” may be a means directly provided in the stepping motor, but the position and rotation status of the gear connected to the rotation shaft of the stepping motor are confirmed. However, it includes all means not provided in the stepping motor but capable of grasping the rotation state of the stepping motor. “Game machine” refers to a game medium that is a game ball or a medal. Specifically, a ball game machine (for example, a pachinko game machine, a sparrow ball game machine, an arrangement ball, etc.) This refers to a torso type gaming machine (slot machine), that is, the application of the stepping motor adopting the present embodiment is not limited to that used as a driving source for a game ball payout operation. It becomes a driving source for driving, a driving source for displacement driving of a movable object for production (movable object moved based on a control signal from the production control board), and a medal payout operation in addition to a game ball ( This means that it can be used for various purposes such as a driving source of a so-called hopper. “Retrying the rotation of the stepping motor” is a so-called retry operation, but is not limited to the mode of the retry operation. For example, the switching operation of the rotation direction of the stepping motor (forward direction → forward direction, For example, the forward direction → the reverse direction, the reverse direction → the forward direction, or both are alternately executed) and the change of the switching timing of one step is not limited. “Torque can be reduced” means that the average torque value at the time of rotation has only to be reduced, and the torque is always reduced when compared to the case of excitation, such as two-phase excitation and one-phase excitation. This includes not only the case where the torque is present, but also the case where the torque has the same value during certain excitation, such as two-phase excitation and 1-2 phase excitation. “One-time payout operation” means not only when paying out the number of game balls to be paid out by one payout operation, but also dividing the number of game balls to be paid out into a plurality of payout operations. It may be the number of units when paying out. Note that this embodiment is merely an example, the location and function of each means, the order of each step regarding various processes, the timing of flag on / off, the name of the means responsible for each step, etc. It is not limited to the following aspects. In addition, the above-described embodiments and modified examples should not be understood as being limited to being applied to specific items, and may be in any combination. For example, it should be understood that a modification example of an embodiment is a modification example of another embodiment, and even if one modification example and another modification example are described independently, there is the modification example. It should be understood that a combination of the modified example and another modified example is also described. In the present embodiment, there are a lottery table and a reference table for various tables, but these are not limited, and the lottery table may be a reference table or vice versa. Furthermore, numerical values (for example, winning probability at the time of lottery execution, maximum number of rounds at the time of special game, symbol variation time, number of continuations in each gaming state, etc.) as specific examples shown in the following embodiments and modifications are as follows: This is merely an example, and in particular, under different conditions (for example, according to the condition of the first main game side and the second main game side, by the condition of the probability variation game and the non-probability variation game, by the time shortening game and non- It is understood that the magnitude relations and combinations of the numerical values shown in the conditions for time-saving games, etc.) may be changed as appropriate without departing from the spirit of the following embodiments and modified examples. Should. For example, on the first main game side and the second main game side, the magnitude relationship between the winning probability at the time of the lottery execution and the expected value of the maximum number of rounds at the time of the special game is as follows: first main game side = second main game side Even if it is illustrated as such, the magnitude relationship may be changed as appropriate so that the first main game side <the second main game side, or the first main game side> the second main game side, etc. Good (same for other values and conditions). Also, for example, when configuring based on the intention that the probability variation gaming state will continue until the next jackpot occurs, whether to set “65535” as the number of continuations (configure to continue substantially), Or, even in the options of the realization method based on the same purpose, such as maintaining the probability variation game state until the next jackpot occurs without setting the number of continuations, as long as it does not greatly deviate from the purpose of the following embodiments and modification examples Should be understood as appropriate.

以下、本実施形態について図面を用いて説明する。図1は、本実施形態に係る遊技機枠ユニットを備えるぱちんこ遊技機2の正面図である。このぱちんこ遊技機2は、遊技機枠3、遊技盤ユニット5、ガラス10、発射ユニット(不図示)、球皿14を有している。発射ユニットは、1個ずつ遊技球23を遊技盤ユニット5に構成される遊技領域16に向けて発射可能である。   Hereinafter, the present embodiment will be described with reference to the drawings. FIG. 1 is a front view of a pachinko gaming machine 2 including a gaming machine frame unit according to the present embodiment. The pachinko gaming machine 2 includes a gaming machine frame 3, a gaming board unit 5, a glass 10, a launch unit (not shown), and a ball tray 14. The launch units can launch the game balls 23 one by one toward the game area 16 configured in the game board unit 5.

ぱちんこ遊技機2は、遊技者が後述する発射装置ハンドル15を操作することによって、遊技領域16に向けて遊技球23が発射ユニットによって発射され、遊技球23の流下による遊技が実現される。なお、遊技機は、ぱちんこ遊技機2の他にぱちんこ式スロットマシン機、コインゲーム機等のアーケードマシン、各種ゲーム機(スロットマシン等)を概念することができ、要するに、遊技媒体の流下による遊技を実現する遊技領域を有するあらゆる遊技機が含まれる。なお、ぱちんこ遊技機においても、アレンジボール機、雀球機等の組合せ式ぱちんこ遊技機、いわゆるデジパチタイプ(1種タイプ)やハネモノタイプ(2種タイプ)のぱちんこ遊技機等のあらゆるぱちんこ遊技機が概念できるが、本実施の形態においては、デジパチ遊技(1種遊技、図柄変動遊技ともいう。)を実現するいわゆる1種タイプのぱちんこ遊技機について例示説明する。なお、図柄変動遊技については後述する。   In the pachinko gaming machine 2, when the player operates a launcher handle 15 described later, the game ball 23 is launched by the launch unit toward the game area 16, and a game by the flow of the game ball 23 is realized. In addition to the pachinko gaming machine 2, the gaming machine can be an arcade machine such as a pachinko slot machine, a coin game machine, and various game machines (slot machines, etc.). Any gaming machine having a gaming area that realizes the above is included. In addition, in pachinko machines, all kinds of pachinko machines such as combination pachinko machines such as arrange ball machines and sparrow ball machines, so-called digipachi type (1 type) and honey mono type (2 types) pachinko machines are also available. Although it can be conceptualized, in the present embodiment, a so-called one-type pachinko game machine that realizes a digipachi game (also referred to as a one-type game or a symbol variation game) will be described as an example. The symbol variation game will be described later.

ぱちんこ遊技機2の遊技機枠3は、後述する遊技盤ユニット5を保持するためのもので、このぱちんこ遊技機2の周囲側面及び前方又はそれに加えて後方を囲むように構成される。遊技機枠3の内部側には、遊技盤ユニット5の他にも後述する各種制御基板や遊技媒体用の経路等各種機構部品が配置され、遊技機枠3によって周囲側面及び前方又はそれに加えて後方からのぱちんこ遊技機2内部側への不正アクセスが防止されるようになっている。   The game machine frame 3 of the pachinko gaming machine 2 is for holding a game board unit 5 to be described later, and is configured to surround the peripheral side surface of the pachinko gaming machine 2 and the front side or the rear side in addition thereto. In addition to the game board unit 5, various mechanism parts such as various control boards and paths for game media, which are described later, are arranged on the inner side of the gaming machine frame 3. Unauthorized access to the inside of the pachinko gaming machine 2 from behind is prevented.

ぱちんこ遊技機2の周囲を囲む外枠4、その内側にヒンジ22によって前方開閉可能に揺動支持されて遊技盤ユニット5を保持する前枠9、前枠9の前方にヒンジ22によって前方開閉可能に揺動支持されガラス10及びその周囲を装飾する装飾部材32を保持するガラス枠12、を有して遊技機枠3が構成される。なお、ガラス10は、遊技機枠3内部側に保持された遊技盤6を前方から遊技者が視認することができるようにするための透明部材である。遊技機枠ユニットは、遊技盤ユニット5を保持する前枠9と、後述する賞球払出ユニット100と、によって構成されている。   The outer frame 4 that surrounds the pachinko gaming machine 2, the front frame 9 that is swingably supported by the hinge 22 so as to be able to be opened and closed forward by the hinge 22, and that can be opened and closed by the hinge 22 in front of the front frame 9. The gaming machine frame 3 is configured to have the glass frame 12 that holds the decorative member 32 that supports the glass 10 and the periphery thereof. The glass 10 is a transparent member that allows the player to visually recognize the game board 6 held inside the gaming machine frame 3 from the front. The gaming machine frame unit includes a front frame 9 that holds the game board unit 5 and a prize ball payout unit 100 described later.

ガラス10は、遊技盤6に対して一定距離以上離間して配置された透明板である。ガラス10は、2枚の透明平板ガラスで形成されてガラス枠12の裏面側に保持され、遊技盤6との間に遊技球23が流下する流下空間を形成する機能、遊技者がガラス10を通して遊技盤6を視認できるように視認性を確保する機能、遊技者が遊技盤6に不正にアクセス(接触)できないように不正アクセスを防止する機能、を発揮する。   The glass 10 is a transparent plate that is spaced apart from the game board 6 by a certain distance or more. The glass 10 is formed of two transparent flat glasses and is held on the back side of the glass frame 12, and has a function of forming a flowing-down space for the game ball 23 to flow between the game board 6 and the player through the glass 10. The function of ensuring visibility so that the game board 6 can be visually recognized and the function of preventing unauthorized access so that the player cannot illegally access (contact) the game board 6 are exhibited.

球皿14は、遊技者の持ち球を貯留するためにぱちんこ遊技機2の前面に配置された皿部材であって、本実施の形態においては上球皿14aと下球皿14bとを有している。上球皿14aは、球抜き部材14cを有して遊技盤6の下方、すなわちガラス枠12の下方部分に配置され、下球皿14bは、その上球皿14aの更に下方に配置されている。   The ball tray 14 is a dish member disposed on the front surface of the pachinko gaming machine 2 to store the player's ball, and in this embodiment, has a upper ball tray 14a and a lower ball tray 14b. ing. The upper ball tray 14a has a ball punching member 14c and is disposed below the game board 6, that is, the lower portion of the glass frame 12, and the lower ball tray 14b is disposed further below the upper ball tray 14a. .

発射ユニットは、球送り装置(不図示)によって球皿14の一部としての上球皿14aから発射位置に送り出された遊技球23を遊技領域16の上部に向けて発射(弾球)するためのものである。発射ユニットは、例えば発射位置の遊技球23を弾球する発射杆、その発射杆を駆動する発射モータ、発射杆を付勢して弾球力を発生させる発射バネ等を有してユニット構成され、前枠9に取り付けられている。その発射ユニットによる球発射のため、遊技者の操作に基づいて球発射のオンオフ及びその発射強度調整を実現する発射装置ハンドル15がぱちんこ遊技機2の前面下方に設けられている。   The launch unit launches (balls) the game ball 23 sent from the upper ball tray 14a as a part of the ball tray 14 to the launch position by the ball feeder (not shown) toward the upper part of the game area 16. belongs to. The launch unit includes, for example, a launcher for projecting the game ball 23 at the launch position, a launch motor for driving the launcher, a launch spring for energizing the launcher to generate a ball force, and the like. It is attached to the front frame 9. For launching the ball by the launch unit, a launcher handle 15 is provided below the front surface of the pachinko game machine 2 to realize on / off of the launch of the ball and adjustment of the launch intensity based on the operation of the player.

遊技盤ユニット5は、遊技盤面6a側の略中央に遊技役物としてのセンター役物7が配置された遊技盤6を有しており、その遊技盤面6aには多数の遊技釘27も配置されている。センター役物7の中央部には、画像表示手段としての演出表示装置7aが配置されると共に、この演出表示装置7aの表示部7bを露出させるための表示開口部7dが形成されている。   The game board unit 5 has a game board 6 in which a center object 7 as a game object is arranged at substantially the center on the game board surface 6a side, and a number of game nails 27 are also arranged on the game board surface 6a. ing. An effect display device 7a as an image display means is disposed at the center of the center accessory 7, and a display opening 7d for exposing the display portion 7b of the effect display device 7a is formed.

遊技盤6は、その表面側に遊技球23の流下による遊技を実現するための遊技領域16を構成するための盤状部材であり、遊技盤6を前方から遊技者にとって視認可能となるように遊技機枠3(本実施の形態においては、遊技機枠3の一部としての前枠9。)に保持されている。その遊技盤6の表面には略円形状に周囲を囲むようにレール飾り26が取り付けられており、レール飾り26の外レール26aが遊技盤に対して立設するように配置されている。そして、レール飾り26の外レール26aによって画定され、外レール26aに面した略円形状の領域が遊技領域16となっている。   The game board 6 is a board-like member for constituting a game area 16 for realizing a game by the flow of the game ball 23 on the surface side thereof, so that the game board 6 can be visually recognized from the front by the player. It is held in the gaming machine frame 3 (in the present embodiment, the front frame 9 as a part of the gaming machine frame 3). A rail ornament 26 is attached to the surface of the game board 6 in a substantially circular shape so as to surround the periphery, and an outer rail 26a of the rail ornament 26 is arranged so as to stand on the game board. The game area 16 is a substantially circular area defined by the outer rail 26a of the rail decoration 26 and facing the outer rail 26a.

遊技釘27は、遊技領域16を流下する遊技球23と衝突してその流下方向を変更させる流下変更部材であり、多数が遊技領域16内に配置されている。また、遊技領域16には、普通入賞口28、始動入賞口29、大入賞口31等の入球部材及びアウト口30が配置されている。更に、遊技領域16には、ゲート33、風車34等が配置されており、流下する遊技球23が各入球部材に流入したり、ゲート33を通過したり、風車34を回転させたりすることによって、遊技球23による流下遊技を楽しむことができるようになっている。   The game nails 27 are flow-down changing members that collide with the game balls 23 flowing down the game area 16 and change the flow-down direction thereof, and many of them are arranged in the game area 16. In the game area 16, a ball winning member such as a normal winning port 28, a start winning port 29, a big winning port 31, and the out port 30 are arranged. Furthermore, a gate 33, a windmill 34, and the like are arranged in the game area 16, and the game balls 23 that flow down flow into each ball entry member, pass through the gate 33, and rotate the windmill 34. Thus, it is possible to enjoy the down-flow game by the game ball 23.

センター役物7は、演出表示装置7aの周囲を覆うように構成されており、図柄変動遊技(1種遊技)を実現するものである。センター役物7の上部には、図柄表示手段としての第1図柄(特別図柄)表示装置17が配置されると共に、センター役物7の中央部には、演出表示装置7aが配置されている。   The center accessory 7 is configured to cover the periphery of the effect display device 7a, and realizes a symbol variation game (one type game). A first symbol (special symbol) display device 17 as a symbol display means is disposed on the center accessory 7, and an effect display device 7 a is disposed in the center of the center accessory 7.

第1図柄表示装置17には、抽選手段の抽選結果である第1図柄17aの変動が表示される。第1図柄は、始動入賞口29への遊技球23の入球を契機として実行される抽選の結果に対応した図柄である。第1図柄の変動表示が所定の当選態様で停止することにより第1特別遊技としての大当りが発生する。   The first symbol display device 17 displays the variation of the first symbol 17a, which is the lottery result of the lottery means. The first symbol is a symbol corresponding to the result of the lottery executed when the game ball 23 enters the start winning opening 29. A big hit as a first special game occurs when the variable display of the first symbol is stopped in a predetermined winning manner.

演出表示装置7aは、例えば、液晶表示装置・有機ELディスプレイ・LED等により構成されて遊技者が遊技盤面6a側から視認可能となるように配置され、その表示部7b上に映像表示を行うものである。この演出表示装置7aの表示部7bには、第1図柄に連動する表示図柄(第1装飾図柄)7cの表示がなされる。表示図柄は、第1抽選手段の抽選結果を視覚的に演出するための図柄であり、第1の遊技に対応する。また、例えば、キャラクター等によるストーリー仕立ての映像としての演出映像も表示部7b上に表示されるようになっている。演出表示装置7aには、遊技制御手段としての演出制御基板が中継基板を介して電気的に接続されており、演出制御基板によって画像表示が制御される。   The effect display device 7a is composed of, for example, a liquid crystal display device, an organic EL display, an LED, and the like, and is arranged so that the player can see from the game board surface 6a side, and displays an image on the display unit 7b. It is. A display symbol (first decorative symbol) 7c linked to the first symbol is displayed on the display unit 7b of the effect display device 7a. The display symbol is a symbol for visually producing the lottery result of the first lottery means, and corresponds to the first game. Further, for example, an effect image as a story tailoring image by a character or the like is also displayed on the display unit 7b. An effect control board as a game control means is electrically connected to the effect display device 7a via a relay board, and image display is controlled by the effect control board.

遊技盤6の裏面側には、ぱちんこ遊技機2の全体の制御を行う主制御手段(主制御基板)200を収容した主制御基板ケース35と、演出表示装置7aの画像表示等の演出制御を行う演出制御手段(演出制御基板)220を収容した演出制御基板ケース36と、後述する賞球払出ユニット100による賞球の払出しを制御する払出制御手段(払出制御基板)230を収容した払出制御基板ケース37と、電源手段(図示せず)を収容した電源基板ケース38と、が配置されている。この各制御基板ケースに収容された各制御手段によって遊技が実現される。主制御基板ケース35と演出制御基板ケース36とは、遊技盤ユニット5の後面に装着されており、遊技盤ユニット5と共に前枠9に対して着脱自在に構成されている。   On the back side of the game board 6, there is a main control board case 35 containing main control means (main control board) 200 for controlling the whole pachinko gaming machine 2, and effect control such as image display of the effect display device 7a. An effect control board case 36 containing an effect control means (effect control board) 220 to perform, and a payout control board containing payout control means (payout control board) 230 for controlling the payout of prize balls by the prize ball payout unit 100 described later. A case 37 and a power supply board case 38 containing a power supply means (not shown) are arranged. A game is realized by each control means accommodated in each control board case. The main control board case 35 and the effect control board case 36 are mounted on the rear surface of the game board unit 5 and are configured to be detachable from the front frame 9 together with the game board unit 5.

更に、遊技盤6の裏面側には、ぱちんこ遊技機2の遊技状態等の遊技情報を外部に出力するための外部出力端子板39が設けられている。また、ぱちんこ遊技機2の背面側には、演出制御基板ケース36及び賞球払出ユニット100の一部を覆うカバー部材42が設けられている。   Furthermore, an external output terminal plate 39 for outputting game information such as the gaming state of the pachinko gaming machine 2 to the outside is provided on the back side of the game board 6. Further, on the back side of the pachinko gaming machine 2, a cover member 42 that covers a part of the effect control board case 36 and the prize ball payout unit 100 is provided.

また、図2に示すように、ぱちんこ遊技機2の背面には、ぱちんこ遊技機2が設置されるホールの設備から供給された遊技球23を一時的に貯留するための遊技球貯留装置としての球貯留タンク40と、球貯留タンク40からの遊技球23が流入し、この遊技球23を1球ずつ通過させる賞球払出ユニット100と、賞球払出ユニット100を通過した遊技球23を球皿14に向かって導く賞球供給通路41と、を備えている。   In addition, as shown in FIG. 2, the back of the pachinko gaming machine 2 is a game ball storage device for temporarily storing the game balls 23 supplied from the equipment of the hall where the pachinko gaming machine 2 is installed. The ball storage tank 40, the game balls 23 from the ball storage tank 40 flow in, the prize ball payout unit 100 that passes the game balls 23 one by one, and the game balls 23 that pass the prize ball payout unit 100 are And a prize ball supply passage 41 that leads toward 14.

賞球払出ユニット100は、後述する払出制御手段230によって駆動制御されるように構成されており、各種入賞口への遊技球23の入球や、遊技者からの遊技球23の貸出し要求に応じて、遊技者に遊技球23を供給するように構成されている。本実施の形態では、各種入賞口への遊技球23の入球に基づく賞球の払出処理について例示説明する。この賞球払出ユニット100については後述する。   The award ball payout unit 100 is configured to be driven and controlled by a payout control means 230 described later, and responds to a request for entering the game ball 23 into various winning holes and a request for lending the game ball 23 from a player. Thus, the game ball 23 is supplied to the player. In the present embodiment, a description will be given of the payout process for winning balls based on the entering of game balls 23 into various winning ports. The prize ball payout unit 100 will be described later.

図示しない球発射装置により遊技球23が発射されると、遊技球23はレール飾り26の外レール26aに沿いつつ進行して遊技領域16内の上部に至る。その後、遊技球23は、複数の通過軌跡に沿って移動し、あるものはレール飾り26の外レール26aに沿って右側に移動し、あるものは遊技釘27に衝突しつつ遊技領域16内を下方に流下し、あるものは普通入賞口28に流入して一定賞球数の払出しの契機となり、あるものはいずれの入球装置にも流入せずに遊技領域16内最下部に位置するアウト口30に流入してアウト球としてぱちんこ遊技機2の外部側へと排出される。   When the game ball 23 is launched by a ball launcher (not shown), the game ball 23 travels along the outer rail 26 a of the rail decoration 26 and reaches the upper part in the game area 16. Thereafter, the game ball 23 moves along a plurality of passing trajectories, some moves to the right along the outer rail 26 a of the rail decoration 26, and some moves in the game area 16 while colliding with the game nail 27. Some things flow downward, some flow into the normal winning opening 28 and trigger the payout of a certain number of winning balls, and some things do not flow into any of the pitching devices and are out at the bottom in the game area 16 It flows into the mouth 30 and is discharged to the outside of the pachinko gaming machine 2 as an out ball.

図柄変動遊技中に遊技球23が始動入賞口29に流入すると、その流入に起因して演出表示装置7aの表示図柄7cが回転表示(第1の特別遊技の抽選)を開始し、その表示図柄7cが所定の図柄(例えば、「7・7・7」。)で停止表示すれば、図柄変動遊技における大当り(第1の特別遊技。以下、図柄変動大当りという。)が発生する。そして、大入賞口31が開放して多量の入賞球を受け入れ、多量の賞球が球皿14へと払い出されるようになっている。   When the game ball 23 flows into the start winning opening 29 during the symbol variation game, the display symbol 7c of the effect display device 7a starts rotating display (the first special game lottery) due to the inflow. If 7c is stopped and displayed with a predetermined symbol (for example, “7, 7, 7”), a big hit (first special game; hereinafter referred to as symbol fluctuation big hit) in the symbol variable game occurs. Then, the special winning opening 31 is opened to accept a large amount of winning balls, and a large amount of winning balls are paid out to the ball tray 14.

次に、図3及び図4を参照しながら、本実施形態に係るぱちんこ遊技機の賞球払出ユニット100の構造と遊技球の払出を行う動作原理を説明することとする。まず、図3に示されるように、賞球払出ユニット100は、払出の際に駆動される払出モータ(ステッピングモータ)141dを有している。そして、図4に示されるように、賞球払出ユニット100は、ステッピングモータ141dと連結したカム軸を有している。このような構造の賞球払出ユニット100は、下記の原理に従い動作する。まず、遊技領域内の入賞口に遊技球が入球すると、入賞信号が主制御基板200に送られ主制御基板200は払出個数を決定し、払出制御基板230へ賞球の信号を送信する。或いは、カードユニットC等の遊技球貸出装置から払出制御基板230へ球貸しの要求がなされる。これを受けて払出制御基板230は賞球払出ユニット100を作動させ、賞球払出ユニット100内のステッピングモータ141dが遊技球の払出を実行する。図4に示されるように、ステッピングモータ141dが回転することにより、カム軸が回転し、遊技球が1球ずつ払い出される。また、払い出された遊技球は、賞球払出ユニット100の下流に連続して設けられたカウントセンサ143により検知される。   Next, the structure of the prize ball payout unit 100 of the pachinko gaming machine according to the present embodiment and the operation principle for paying out the game ball will be described with reference to FIGS. 3 and 4. First, as shown in FIG. 3, the winning ball payout unit 100 has a payout motor (stepping motor) 141d that is driven at the time of payout. As shown in FIG. 4, the winning ball payout unit 100 has a cam shaft connected to the stepping motor 141d. The prize ball payout unit 100 having such a structure operates according to the following principle. First, when a game ball enters a winning opening in the game area, a winning signal is sent to the main control board 200, the main control board 200 determines the number of payouts, and transmits a signal of a winning ball to the payout control board 230. Alternatively, a ball lending request is made from the gaming ball lending device such as the card unit C to the payout control board 230. In response to this, the payout control board 230 operates the prize ball payout unit 100, and the stepping motor 141d in the prize ball payout unit 100 executes the payout of the game ball. As shown in FIG. 4, when the stepping motor 141d rotates, the camshaft rotates and game balls are paid out one by one. The game balls that have been paid out are detected by a count sensor 143 that is continuously provided downstream of the prize ball payout unit 100.

図5は、ロータ位置確認センサ(払出モータ位置センサ)150と回転体(スプロケット)141とを模式的に示した図である(一例)。ロータ位置確認センサ150は、一対の測定部を有しており、測定部間の物体を光の投受光により検出するフォトセンサである。ここで、一対の測定部は、光を投光する投光部と、投光部からの光を受光する受光部であり、回転確認用部材141cを挟んで配置されている。ここで、回転確認用部材141cは、円周に沿って6個の凹部が形成されており、回転確認用部材141cがこれら投光部と受光部との間に介在しているときにはオフとなり、回転確認用部材141cがこれら投光部と受光部との間に介在していないときにはオン(図5の状態)となる。   FIG. 5 is a diagram schematically showing a rotor position confirmation sensor (dispensing motor position sensor) 150 and a rotating body (sprocket) 141 (an example). The rotor position confirmation sensor 150 has a pair of measurement units, and is a photosensor that detects an object between the measurement units by projecting and receiving light. Here, the pair of measuring units is a light projecting unit that projects light and a light receiving unit that receives light from the light projecting unit, and is disposed with the rotation confirmation member 141c interposed therebetween. Here, the rotation confirmation member 141c has six recesses formed along the circumference, and is turned off when the rotation confirmation member 141c is interposed between the light projecting part and the light receiving part. When the rotation confirmation member 141c is not interposed between the light projecting part and the light receiving part, it is turned on (state shown in FIG. 5).

《電気的構成》
次に、図6のブロック図を参照しながら、本実施形態に係るぱちんこ遊技機の電気的な概略構成を説明する。本実施形態に係るぱちんこ遊技機は、前述したように、遊技の進行を制御する主制御基板200と、主制御基板200からのコマンドに基づいて遊技球の払出を制御する払出制御基板230と、装飾図柄の変動・停止等の演出表示装置2140上での各種演出・スピーカ114からの音響・遊技効果ランプ190の点灯等の演出全般や賞球払出エラー報知を制御する演出制御基板220と、を備える。ここで、払出制御基板230は、遊技球の払出を実行する賞球払出ユニット100と、遊技球の払出に関する状態をLEDによって外部に表示する状態表示部130とに接続している。
<Electrical configuration>
Next, an electrical schematic configuration of the pachinko gaming machine according to the present embodiment will be described with reference to the block diagram of FIG. As described above, the pachinko gaming machine according to the present embodiment has a main control board 200 that controls the progress of the game, a payout control board 230 that controls the payout of game balls based on commands from the main control board 200, Various effects on the effect display device 2140 such as decoration pattern change / stop, etc., effects such as lighting of the sound / game effect lamp 190 from the speaker 114, and an effect control board 220 for controlling the award ball payout error notification Prepare. Here, the payout control board 230 is connected to a prize ball payout unit 100 that executes payout of game balls, and a state display unit 130 that displays a state relating to payout of game balls to the outside by LEDs.

ここで、主制御基板200、払出制御基板230、演出制御基板220には、様々な演算処理を行うCPU、CPUの演算処理を規定したプログラムを予め記憶するROM、CPUが取り扱うデータ(遊技中に発生する各種データやROMから読み出されたコンピュータプログラム等)を一時的に記憶する情報処理用RAMが搭載されている。また、本実施形態に係る払出制御基板230では、電源断時において払出制御基板230側に設けられた情報処理用RAMに一時的に記憶されている情報を保持できるよう、当該情報のバックアップ機能を有している。ここで、バックアップ機能の実現方法として、(1)電源断時には払出制御基板230側に設けられた情報処理用RAM自体にバックアップ電源を供給する方法、(2)バックアップ用RAMを別途設け、保持すべき情報を情報処理用RAMからバックアップ用RAMに退避させた上で、バックアップ用RAMに対してのみバックアップ電源を供給する方法等が挙げられる。ここで、当該実現方法の(2)は(1)と比して、相対的に保持すべき情報量を低減させ、RAMの低消費電力化を図りやすいという利点があるため、本実施形態においては、当該実現方法の(2)を前提として構成されているが、これには限定されない。また、主制御基板200や演出制御基板220においても、当該情報のバックアップ機能を有するよう構成してもよい。   Here, the main control board 200, the payout control board 230, and the effect control board 220 include a CPU that performs various arithmetic processes, a ROM that stores programs that prescribe the arithmetic processes of the CPU, data handled by the CPU (during the game) An information processing RAM for temporarily storing various data generated and computer programs read from the ROM is mounted. In addition, the payout control board 230 according to the present embodiment has a backup function of the information so that the information temporarily stored in the information processing RAM provided on the payout control board 230 side can be held when the power is turned off. Have. Here, as a method of realizing the backup function, (1) a method of supplying backup power to the information processing RAM itself provided on the payout control board 230 side when the power is cut off, and (2) a backup RAM is separately provided and held. There is a method of supplying backup power only to the backup RAM after saving the information to be saved from the information processing RAM to the backup RAM. Here, (2) of the realization method has an advantage that the amount of information to be retained is relatively reduced and the power consumption of the RAM is easily reduced as compared with (1). Is configured on the premise of (2) of the realization method, but is not limited to this. The main control board 200 and the effect control board 220 may also be configured to have a backup function for the information.

ここで、主制御基板200と払出制御基板230とのコマンドや情報の送受信、主制御基板200から演出制御基板220への情報やコマンドの送信、演出制御基板220からサブサブ制御基板4000への情報やコマンドの送信は、パラレル通信でもシリアル通信でもよい。また、払出制御基板230と主制御基板200との間には賞球払出状況を伝達する一本の回線が配置されており、主制御基板200側から賞球払出コマンドが送信されると払出信号がオンになり、払出が完了してモータが停止すると払出信号がオフになる。   Here, transmission and reception of commands and information between the main control board 200 and the payout control board 230, transmission of information and commands from the main control board 200 to the effect control board 220, information from the effect control board 220 to the sub-sub control board 4000, The command may be transmitted by parallel communication or serial communication. In addition, a single line for transmitting a prize ball payout status is arranged between the payout control board 230 and the main control board 200, and a payout signal is sent when a prize ball payout command is transmitted from the main control board 200 side. Is turned on, and when the payout is completed and the motor is stopped, the payout signal is turned off.

また、図6に示すように、主制御基板200は、図示しない入力ポートを介して、各種入賞口センサS(例えば、特図始動口の入球検知センサや大入賞口の入球検知センサ)と接続している。また、演出制御基板220は、図示しない出力ポートを介して、エラー報知手段195(例えば、エラーの種類に応じて点滅態様を変える遊技効果ランプ190)と接続している。更に、賞球払出ユニット100は、払出モータドライバ141eと、払出モータ141d(本例では、ステッピングモータを採用しているため、以下、ステッピングモータ141dと呼ぶことがある)と、を備えており、払出制御基板230から送信された信号は、まず、払出モータドライバ141eに入力され、払出モータドライバ141eは、当該入力された信号に基づき、払出モータ141dを励磁することとなる。   Further, as shown in FIG. 6, the main control board 200 has various winning opening sensors S (for example, a special drawing starting opening detection sensor and a big winning opening detection sensor) via an input port (not shown). Connected. In addition, the effect control board 220 is connected to an error notification means 195 (for example, a game effect lamp 190 that changes the flashing mode according to the type of error) via an output port (not shown). Further, the winning ball payout unit 100 includes a payout motor driver 141e and a payout motor 141d (in this example, a stepping motor is used, and hence may be referred to as a stepping motor 141d hereinafter). The signal transmitted from the payout control board 230 is first input to the payout motor driver 141e, and the payout motor driver 141e excites the payout motor 141d based on the input signal.

《ステッピングモータの構成》
次に、図7〜図8を参照しながら、本実施形態に係るステッピングモータ141dの励磁方法を説明する。まず、図7は、本実施形態に係るステッピングモータ141dの概念図である。図7に示すように、ステッピングモータの基本構造は、回転軸に取り付けられた磁石(ロータ)141d−1と、その外側に固定された巻き線コイルである電磁石(ステータ)141d−2とで構成される。そして、このロータ141d−1とステータ141d−2は、回転軸を囲むように複数(本例では2組)固定されている。このステータが巻きつけられたコイルにパルス電流を流すと、磁力が発生し、ロータが引きつけられることで一定角度だけ回転する。ここで、ステッピングモータを巻き線の方式で分けるとユニポーラ型とバイポーラ型とがある。バイポーラ型では、回転させるため縦及び横方向に配置された固定極の極性を順次変化させる場合、励磁極の印加電圧の極性を反転させる必要がある。他方、ユニポーラ型では、励磁する極を選択することにより、磁束の向きを変えることができる。本実施形態に係るステッピングモータはいずれの方式でもよいが、本例のステッピングモータは、汎用されているユニポーラ型である。尚、本例では、ステータとして2相を備える(A、A’或いはB、B’というように、対向するステートを1セットとしたものが1相)よう構成されているものとするが、本例はあくまで一例であり、ステータの相の数(例えば、2相、3相、5相、等)、各ステータの巻き線の巻き方等、これには限定されない。また、本実施形態に係るステッピングモータの励磁方法(励磁方式)については、後述する。
《Stepping motor configuration》
Next, an excitation method for the stepping motor 141d according to the present embodiment will be described with reference to FIGS. First, FIG. 7 is a conceptual diagram of a stepping motor 141d according to the present embodiment. As shown in FIG. 7, the basic structure of the stepping motor is composed of a magnet (rotor) 141d-1 attached to a rotating shaft and an electromagnet (stator) 141d-2 which is a wound coil fixed to the outside thereof. Is done. A plurality (two in this example) of the rotor 141d-1 and the stator 141d-2 are fixed so as to surround the rotating shaft. When a pulse current is passed through the coil around which the stator is wound, a magnetic force is generated, and the rotor is attracted to rotate by a certain angle. Here, the stepping motor is classified into a unipolar type and a bipolar type when the winding method is used. In the bipolar type, when the polarity of the fixed poles arranged in the vertical and horizontal directions is sequentially changed for rotation, it is necessary to reverse the polarity of the applied voltage of the excitation pole. On the other hand, in the unipolar type, the direction of the magnetic flux can be changed by selecting the pole to be excited. The stepping motor according to the present embodiment may be of any type, but the stepping motor of this example is a general-purpose unipolar type. In this example, it is assumed that the stator has two phases (A, A ′ or B, B ′, a set of opposing states is one phase). The example is merely an example, and the number of stator phases (for example, two phases, three phases, five phases, etc.), how to wind each stator winding, and the like are not limited thereto. An excitation method (excitation method) for the stepping motor according to the present embodiment will be described later.

次に、図8を参照しながら、本実施形態におけるステッピングモータ141dの回転と賞球払出との関係を説明することとする。まず、本実施形態に係る2相励磁方式及び1−2相励磁方式のステッピングモータ141dの回転軸は、それぞれ24ステップ及び48ステップで1球払い出される角度分回転する(60度回転)。そして、ステッピングモータ141dの回転軸が回転すると、当該回転軸に固定された回転体(スプロケット)141も追従回転する。ここで、本例では、前述のように、ステッピングモータ141dの回転軸が60度回転すると、スプロケット141(特に141a及び141b)の保持部(図5に示すように回転体毎に3箇所の保持部が設けられており、両回転体合わせて6箇所)から球が1個排出されるように構成されている。より具体的には後述するが、2相励磁方式において賞球個数の記憶が0でなければ、1ステップ3msの速度で払出モータを回転させ、24ステップ駆動することにより1個の払出を行う。即ち、通常時の割り込み処理タイミングは3msに設定されている(尚、リトライ時は6ms)。また、払出モータ位置センサ150により払出モータの位置判定を行い正常に回転しているか否かの検出を行う。賞球払出は、払出球数、払出モータを逆転(盤裏面から見て反時計回り)方向に駆動させることにより行い、払い出した遊技球をカウントセンサ143でカウントし、正常に払い出したことを確認する。尚、1回の連続払出動作では1コマンドで指定された賞球払出個数(例えば最大で15球)の遊技球の払出を行うため、賞球払出中の信号により主制御基板側に賞球払出中であることを伝達する。また、1回の連続払出動作(本例では3個)後所定時間(例えば、球通過待ち時間・モータ休止時間として500ms)のモータ休止時間が設定されている。ここで、3個の賞球払出を一度に行う場合、3×24=72ステップ分のパルスが送信されることとなる。尚、本実施形態では、当該モータ休止時間にはロータを固定することを目的として、ステッピングモータへの励磁を中断するのではなく、励磁出力を落とした上で特定のステータに対して継続的に励磁するよう構成されている。尚、本実施形態において、ステッピングモータ141dのロータ141d−1は、ステッピングモータ141dの回転軸と直接接続されておらず、ギア等を介して動力を分割(1/36に分割)されて、ステッピングモータ141dの回転軸と接続されているものとする(但し、これに限定されるわけではない)。   Next, the relationship between the rotation of the stepping motor 141d and the prize ball payout in the present embodiment will be described with reference to FIG. First, the rotation shafts of the stepping motor 141d of the two-phase excitation method and the 1-2 phase excitation method according to the present embodiment rotate by an angle that is paid out by one ball in 24 steps and 48 steps, respectively (rotation by 60 degrees). When the rotation shaft of the stepping motor 141d rotates, the rotating body (sprocket) 141 fixed to the rotation shaft also rotates following the rotation shaft. Here, in this example, as described above, when the rotation shaft of the stepping motor 141d is rotated by 60 degrees, the holding portions (particularly 141a and 141b) of the sprocket 141 (particularly, three places are held for each rotating body as shown in FIG. 5). Are provided so that one sphere is discharged from a total of 6 locations). More specifically, as will be described later, if the number of prize balls is not stored in the two-phase excitation method, one payout is performed by rotating the payout motor at a speed of 1 step 3 ms and driving 24 steps. That is, the interrupt processing timing at the normal time is set to 3 ms (6 ms at the time of retry). Further, the payout motor position sensor 150 determines the position of the payout motor and detects whether or not it is rotating normally. The prize ball is paid out by driving the number of balls to be paid out and the payout motor in the reverse direction (counterclockwise when viewed from the back of the board), and the paid game balls are counted by the count sensor 143 to confirm that the payout has been made normally. To do. Note that in one continuous payout operation, the number of prize balls to be paid out (for example, 15 balls at the maximum) is paid out by one command. Communicate what is inside. Further, a motor pause time of a predetermined time (for example, 500 ms as a ball passage waiting time / motor pause time) after one continuous payout operation (three in this example) is set. Here, when three prize balls are paid out at a time, pulses of 3 × 24 = 72 steps are transmitted. In the present embodiment, the excitation to the stepping motor is not interrupted for the purpose of fixing the rotor during the motor pause time, but continuously with respect to a specific stator after the excitation output is reduced. It is configured to excite. In the present embodiment, the rotor 141d-1 of the stepping motor 141d is not directly connected to the rotating shaft of the stepping motor 141d, and the power is divided (divided into 1/36) via a gear or the like, thereby stepping. It is assumed that it is connected to the rotating shaft of the motor 141d (however, it is not limited to this).

《機能構成》
次に、図9の機能ブロック図を参照しながら、本実施形態に係るぱちんこ遊技機の機能を説明することとする。尚、ここに主として示す機能は、本実施と特に関連する、主制御基板200/払出制御基板230間での機能である。
<Functional configuration>
Next, the functions of the pachinko gaming machine according to the present embodiment will be described with reference to the functional block diagram of FIG. The functions mainly shown here are functions between the main control board 200 and the payout control board 230 that are particularly related to the present embodiment.

(主制御基板200)
まず、主制御基板200(主制御手段1000)は、遊技の進行や賞球払出決定に関する制御を司る遊技制御手段1100と、払出制御基板230側等とのコマンド・情報の送受信の制御を司る送受信制御手段1200と、払出関連の処理に関する情報を一時記憶するための処理関連情報一時記憶手段1400と、主制御基板200及び払出制御基板230等での賞球払出に関するエラーを制御するエラー制御手段1500と、を有する。尚、遊技制御手段1100は、従来機が有する周知構成である。具体的には、遊技制御手段1100は、まず遊技の進行に関する処理としては、例えば、従来の第1種遊技機の場合を例に採ると、乱数発生、始動口入球を契機とした乱数取得、取得した乱数を用いての抽選、抽選結果に基づいた図柄(特別図柄)変動、抽選に当選している場合に通常は閉状態にある可変入賞口を開放する特別遊技の実行等、周知の処理を実行し、また、各入賞口に遊技球が入球した場合には、入賞口に対応した賞球数の払出決定処理を実行する。以下、本実施の特徴的な各手段について詳述する。
(Main control board 200)
First, the main control board 200 (main control means 1000) performs transmission / reception for controlling transmission / reception of commands and information between the game control means 1100 for controlling the progress of the game and the determination of award ball payout, and the payout control board 230 side. Control means 1200, processing related information temporary storage means 1400 for temporarily storing information related to payout-related processing, and error control means 1500 for controlling errors related to prize ball payout in the main control board 200, the payout control board 230, etc. And having. The game control means 1100 has a well-known configuration that conventional machines have. Specifically, the game control means 1100, as a process related to the progress of the game, for example, taking the case of the conventional type 1 gaming machine as an example, random number generation and random number acquisition triggered by the starting entrance ball , Well-known, such as lottery using the random numbers obtained, fluctuations in the symbol (special symbol) based on the lottery result, execution of a special game that opens the variable prize opening that is normally closed when the lottery is won Processing is executed, and when a game ball enters each winning opening, a payout determination process for the number of winning balls corresponding to the winning opening is executed. Hereinafter, each characteristic means of the present embodiment will be described in detail.

まず、送受信制御手段1200は、主制御基板200から払出制御基板230等への送信制御を司る送信制御手段1210と、各種周辺機器(例えば、払出制御基板や各種信号出力装置)からの情報(信号も含む)を受信する受信制御手段1220と、を有している。   First, the transmission / reception control unit 1200 includes information (signals) from the transmission control unit 1210 that controls transmission from the main control board 200 to the payout control board 230 and the like and various peripheral devices (for example, the payout control board and various signal output devices). And a reception control means 1220 for receiving the information.

ここで、送信制御手段1210は、払出制御基板230側にコマンドや情報を送信するための払出制御側送信制御手段1211を有している。そして、払出制御側送信制御手段1211は、賞球払出の際、払出制御基板230側に送信される賞球払出コマンドがセットされる送信コマンド一時記憶手段1211aを更に有している。   Here, the transmission control means 1210 has a payout control side transmission control means 1211 for transmitting commands and information to the payout control board 230 side. The payout control side transmission control means 1211 further includes a transmission command temporary storage means 1211a in which a prize ball payout command to be transmitted to the payout control board 230 is set when paying a prize ball.

また、受信制御手段1220は、遊技機に備えられた信号出力装置(例えば、入賞口センサS、S・・・等)からの情報(信号)を受信する遊技側受信制御手段1221と、払出制御基板230からの情報を受信する払出制御側受信制御手段1122と、を有している。ここで、遊技側受信制御手段1221は、信号出力装置から受信した情報を、当該情報に係る処理が実行されるまで一時記憶するための遊技側受信情報一時記憶手段1221aを更に有している。また、払出制御側受信制御手段1122は、払出制御基板230から受信した情報を、当該情報に係る処理が実行されるまで一時記憶するための払出制御側受信情報一時記憶手段1222aを更に有している。 Further, the reception control means 1220 includes a game side reception control means 1221 for receiving information (signals) from a signal output device (for example, a winning mouth sensor S 1 , S 2 ...) Provided in the gaming machine, Payout control side reception control means 1122 for receiving information from the payout control board 230. Here, the game side reception control unit 1221 further includes a game side reception information temporary storage unit 1221a for temporarily storing information received from the signal output device until processing related to the information is executed. The payout control side reception control means 1122 further includes payout control side reception information temporary storage means 1222a for temporarily storing the information received from the payout control board 230 until processing related to the information is executed. Yes.

次に、処理関連情報一時記憶手段1400は、賞球払出の順番に到達していない未払賞球情報(待機賞球払出情報)を一時記憶するための未払賞球情報一時記憶手段1410を更に有している。   Next, the processing-related information temporary storage means 1400 includes an unpaid prize ball information temporary storage means 1410 for temporarily storing unpaid prize ball information (standby prize ball payout information) that has not reached the prize ball payout order. In addition.

次に、エラー制御手段1500は、主制御基板200及び払出制御基板230側での賞球払出に関するエラーを含む遊技関連エラー(例えば、賞球払出に関するエラー以外として扉開放エラー等)を監視すると共に、所定のエラーが発生した際に外部に異常を報知する制御を司る異常報知制御手段1510を更に有している。ここで、異常報知制御手段1510は、遊技関連エラーフラグのオンオフ状態を一時記憶するためのエラーフラグ一時記憶手段1511を更に有している。   Next, the error control unit 1500 monitors game-related errors (for example, a door opening error as an error other than a prize ball payout error) including errors related to a prize ball payout on the main control board 200 and the payout control board 230 side. In addition, an abnormality notification control unit 1510 that controls to notify an abnormality to the outside when a predetermined error occurs is further provided. Here, the abnormality notification control unit 1510 further includes an error flag temporary storage unit 1511 for temporarily storing an on / off state of the game related error flag.

(払出制御基板230)
次に、払出制御基板230は、主制御基板200側やカードユニットC側等とのコマンド・情報の送受信の制御を司る送受信制御手段3100と、払出制御基板230側での払出等に関連したエラーの制御を実行するエラー制御手段3200と、賞球払出コマンドや貸球コマンドを受けて所定数の遊技球の払出処理を実行する払出制御手段3300と、払出制御基板230側での電断時及び電断復帰時におけるバックアップ処理及びバックアップ情報復元処理を実行する電断時・電断復帰時処理制御手段3500と、を有している。また、図示しないが、払出制御基板230は、バックアップ電源と接続している。尚、この接続形態であるが、例えば、バックアップ電源と直接接続していてもよく(即ち、主制御基板にもバックアップ機能がある場合、主制御基板とは独立してバックアップ電源が供給)、或いは、主制御基板200を介して間接的に接続していてもよい。尚、本実施形態では、図29に示すように制御でバックアップ電源を供給するように構成されているが、NMI信号の受信を契機としてバックアップ電源を自動供給する回路構成としてもよい。以下、各手段について詳述する。
(Discharge control board 230)
Next, the payout control board 230 includes transmission / reception control means 3100 for controlling transmission / reception of commands and information to / from the main control board 200 side and the card unit C side, and errors related to payout on the payout control board 230 side. An error control means 3200 for executing the control, a payout control means 3300 for executing a payout process for a predetermined number of game balls in response to a prize ball payout command or a lending command, and when power is cut off on the payout control board 230 side. And a power failure / power failure recovery time process control means 3500 for executing backup processing and backup information restoration processing upon power failure recovery. Although not shown, the payout control board 230 is connected to a backup power source. In this connection form, for example, it may be directly connected to a backup power supply (that is, if the main control board also has a backup function, the backup power supply is supplied independently from the main control board), or The connection may be made indirectly via the main control board 200. In the present embodiment, as shown in FIG. 29, the backup power is supplied by control. However, a circuit configuration may be adopted in which backup power is automatically supplied upon reception of an NMI signal. Hereinafter, each means will be described in detail.

まず、送受信制御手段3100は、主制御基板200やカードユニットCからの情報(例えば、コマンドや信号)の受信制御を司る受信制御手段3110と、主制御基板200やカードユニットCへの情報の送信制御を司る送信制御手段3120と、を有している。   First, the transmission / reception control unit 3100 transmits information to the main control board 200 and the card unit C, and the reception control unit 3110 that controls reception of information (for example, commands and signals) from the main control board 200 and the card unit C. Transmission control means 3120 for controlling the control.

ここで、受信制御手段3110は、主制御基板200からの情報(例えば、コマンド)の受信制御を司るメイン側受信制御手段3111を更に有している。そして、メイン側受信制御手段3111は、主制御基板200側から送信されてきた情報が一時記憶されるメイン側受信データ一時記憶手段3111aを更に有している。また、送信制御手段3120は、主制御基板200側に送信するための払出動作に係るエラー情報が一時記憶される払出関連エラー情報一時記憶手段3121を更に有している。   Here, the reception control unit 3110 further includes a main-side reception control unit 3111 that controls reception of information (for example, commands) from the main control board 200. The main side reception control means 3111 further includes a main side reception data temporary storage means 3111a in which information transmitted from the main control board 200 side is temporarily stored. Further, the transmission control unit 3120 further includes a payout-related error information temporary storage unit 3121 in which error information related to a payout operation for transmission to the main control board 200 side is temporarily stored.

次に、エラー制御手段3200は、払出制御基板230側での払出等のエラーフラグのオンオフ状態を一時記憶するためのエラーフラグ一時記憶手段3221と、払出モータ動作異常が検出された際のエラー制御を司る払出モータ動作異常検出時エラー制御手段3230と、払出異常が検出された際のエラー制御を司る払出異常検出時エラー制御手段3240と、球経路異常が検出された際のエラー制御を司る球経路異常検出時エラー制御手段3250と、払出モータ異常が検出された際のエラー制御を司る払出モータ異常検出時エラー制御手段3260と、賞球払出動作に係る致命的な異常が検出された際のエラー制御を司る要払出停止異常検出時エラー制御手段3270と、を更に有している。ここで、払出モータ動作異常検出時エラー制御手段3230は、払出モータ動作異常が検出された回数を累積してカウントするための不正払出累積カウンタ3231を更に有している。また、払出異常検出時エラー制御手段3240は、過剰な賞球の払出個数を累積してカウントするための過剰払出累積カウンタ3241を更に有している。また、球経路異常検出時エラー制御手段3250は、賞球払出に係る払出間隔の時間延長処理を実行する払出間隔延長制御手段3251を更に有している。また、払出モータ異常検出時エラー制御手段3260は、ステッピングモータ141dの異常動作解消を図るための再試行動作(リトライ動作)を実行するリトライ動作制御手段3261を更に有している。そして、リトライ動作制御手段3261は、リトライ動作時における励磁方法の切替処理を制御する励磁方法切替制御手段3261aを更に有している。   Next, the error control means 3200 includes an error flag temporary storage means 3221 for temporarily storing an on / off state of an error flag such as payout on the payout control board 230 side, and error control when a payout motor operation abnormality is detected. An error control means 3230 at the time of detection of a payout motor operation abnormality that controls the error, an error control means 3240 at the time of an abnormality detection at the time of detection of an abnormality when a payout abnormality is detected, and a ball that controls the error control when an abnormality of the ball path is detected Error control means 3250 at the time of path abnormality detection, error control means 3260 at the time of detection of abnormality of the payout motor that controls error control when the abnormality of the payout motor is detected, and when a fatal abnormality related to the prize ball payout operation is detected And an error control means 3270 at the time of detection of a required payout stop abnormality for managing error control. Here, the payout motor operation abnormality detection error control means 3230 further includes an unauthorized payout accumulation counter 3231 for accumulating and counting the number of times the discharge motor operation abnormality is detected. Further, the payout abnormality detection error control means 3240 further includes an excessive payout accumulation counter 3241 for accumulating and counting the number of payouts of excessive prize balls. The ball path abnormality detection error control means 3250 further includes a payout interval extension control means 3251 for executing a payout interval time extension process related to prize ball payout. Further, the payout motor abnormality detection error control means 3260 further includes retry operation control means 3261 for executing a retry operation (retry operation) for eliminating the abnormal operation of the stepping motor 141d. The retry operation control means 3261 further includes excitation method switching control means 3261a for controlling excitation method switching processing during the retry operation.

次に、払出制御手段3300は、払出処理の際に必要な情報を一時記憶するための払出処理関連情報一時記憶手段3310を有している。ここで、払出処理関連情報一時記憶手段3310は、払出に関連した状態(例えば、払出中か否か・払出異常が発生しているか否か)を一時記憶するための払出状態フラグ一時記憶手段3311と、払出処理時に、払い出されるべき遊技球数がセットされる払出カウンタ3312と、ステッピングモータ141dの駆動されるべきステップ数を一時記憶するためのステップカウンタ一時記憶手段3313と、ステッピングモータ141dが駆動されている際、励磁されているステータの位置情報を一時記憶するための励磁ステータ位置特定カウンタ値一時記憶手段3314と、1回の連続払出動作(単位払出動作)後における所定時間(球通過待ち時間・モータ休止時間)を計時するための球通過待ちタイマ3315と、ステッピングモータ141dの励磁方法に係る設定情報を一時記憶するための励磁方法設定情報一時記憶手段3316と、単位払出動作によって払出されるべき遊技球数がセットされる単位払出カウンタ3317と、モータ制御コマンドテーブル3318と、を更に有している。ここで、本実施形態においては、球通過待ちタイマ3315はデクリメント方式のタイマであり、タイマ値が0となった時点で停止するよう構成されているが、これには限定されず、インクリメント方式のタイマを用いて構成することも可能である。   Next, the payout control means 3300 has payout process related information temporary storage means 3310 for temporarily storing information necessary for the payout process. Here, the payout processing related information temporary storage means 3310 is a payout state flag temporary storage means 3311 for temporarily storing a state related to payout (for example, whether payout is being performed or whether a payout abnormality has occurred). The payout counter 3312 in which the number of game balls to be paid out is set during the payout process, the step counter temporary storage means 3313 for temporarily storing the number of steps to be driven by the stepping motor 141d, and the stepping motor 141d are driven. In this case, the excitation stator position specifying counter value temporary storage means 3314 for temporarily storing the position information of the excited stator, and a predetermined time (waiting for ball passing) after one continuous payout operation (unit payout operation) Sphere passage waiting timer 3315 for measuring time / motor stop time) and stepping motor Excitation method setting information temporary storage means 3316 for temporarily storing setting information related to the excitation method 41d, a unit payout counter 3317 in which the number of game balls to be paid out by the unit payout operation is set, and a motor control command table 3318 And further. Here, in this embodiment, the ball passage waiting timer 3315 is a decrementing timer and is configured to stop when the timer value reaches 0, but is not limited thereto, and is not limited to this. It is also possible to configure using a timer.

次に、電断時・電断復帰時処理制御手段3500は、払出制御基板230側での電断時においてバックアップすべき情報が一時記憶される電断時情報一時記憶手段3510を有している。ここで、電断時情報一時記憶手段3510は、払出制御基板230側での電断時においてバックアップすべきフラグ状態が一時記憶される電断時フラグ類一時記憶手段3511と、払出制御基板230側での電断時における不正払出累積カウンタ3231のカウンタ値がセットされる電断時不正払出累積カウンタ3512と、払出制御基板230側での電断時における過剰払出累積カウンタ3241のカウンタ値がセットされる電断時過剰払出累積カウンタ3513と、払出制御基板230側での電断時における払出カウンタ3312のカウンタ値がセットされる電断時払出カウンタ3514と、を更に有している。   Next, the processing control means 3500 at the time of power interruption / recovery from power interruption has a power interruption information temporary storage means 3510 for temporarily storing information to be backed up at the time of power interruption on the payout control board 230 side. . Here, the interruption-time information temporary storage means 3510 includes an interruption-time flag temporary storage means 3511 for temporarily storing a flag state to be backed up at the time of interruption on the payout control board 230 side, and the payout control board 230 side. The counter value of the illegal payout cumulative counter 3512 at the time of power interruption at the time of power interruption at the power supply and the counter value of the excessive payout cumulative counter 3241 at the time of power interruption at the payout control board 230 side are set. There is further provided an excessive interruption cumulative payout counter 3513 and an interruption payout counter 3514 in which the counter value of the payout counter 3312 at the time of power interruption on the payout control board 230 side is set.

《メイン制御基板/払出制御基板間で送受信されるコマンド・情報の内容》
次に、図10を参照しながら、主制御基板200及び払出制御基板230間で送受信されるコマンド及び情報の内容を説明する。ここで、本実施形態に係る主制御基板200から払出制御基板230へのコマンドは、賞球払出コマンドであることの特定情報及び賞球個数の情報からなる。具体的には、ビット7〜4は、1001固定である(当該コマンドが賞球払出コマンドであることの識別情報)。次に、ビット3〜0は、賞球個数に関するものであり、例えば、0(0000B)は賞球0個であることを意味し、15(1111A)は賞球15個であることを意味する。
<< Contents of commands and information transmitted / received between main control board / payout control board >>
Next, the contents of commands and information transmitted and received between the main control board 200 and the payout control board 230 will be described with reference to FIG. Here, the command from the main control board 200 to the payout control board 230 according to the present embodiment includes specific information indicating that it is a prize ball payout command and information on the number of prize balls. Specifically, bits 7 to 4 are fixed to 1001 (identification information indicating that the command is a prize ball payout command). Next, bits 3 to 0 relate to the number of prize balls. For example, 0 (0000B) means 0 prize balls and 15 (1111A) means 15 prize balls. .

次に、払出制御基板230から主制御基板200側に送信される払出関連情報を説明することとする。ここで、一例として、払出関連情報(賞球払出関連情報又は払出異常関連情報)は、固定値(スタートビット)、払出モータ動作エラー情報、過剰払出エラー情報、球切れエラー情報、球不足エラー情報、払出モータエラー情報、他の払出関連エラー情報(例えば上皿満タンエラー、カードユニットCの接続エラー等)及び賞球払出完了情報からなる。ここで、夫々のエラー内容の詳細については後述するが、夫々のエラーに対応したビットは、「0」であれば当該エラーが発生していないことを意味し、「1」であれば当該エラーが発生していることを意味する。尚、ビット0は、賞球払出完了に関するものであり、「0」は賞球払出完了であることを意味し、「1」は賞球払出未完了であることを意味する。   Next, payout related information transmitted from the payout control board 230 to the main control board 200 side will be described. Here, as an example, the payout related information (award ball payout related information or payout abnormality related information) is a fixed value (start bit), payout motor operation error information, excessive payout error information, out of ball error information, shortage of ball error information , Payout motor error information, other payout-related error information (for example, an upper plate full tank error, a card unit C connection error, etc.) and prize ball payout completion information. The details of each error will be described later. If the bit corresponding to each error is “0”, it means that the error has not occurred. If it is “1”, the error has occurred. Means that has occurred. Bit 0 relates to the completion of prize ball payout, “0” means that the prize ball has been paid out, and “1” means that the prize ball has not been paid out.

《処理》
次に、図11〜図31のフローチャートを参照しながら、本実施形態に係るぱちんこ遊技機で実行される制御処理を説明する。ここで、図11〜図15が、主制御基板200側での処理を示すフローチャートである。また、図16〜図31が、払出制御基板230側での処理を示すフローチャートである。以下、順に説明することとする。
"processing"
Next, control processing executed in the pachinko gaming machine according to the present embodiment will be described with reference to the flowcharts of FIGS. Here, FIGS. 11 to 15 are flowcharts showing processing on the main control board 200 side. 16 to 31 are flowcharts showing processing on the payout control board 230 side. Hereinafter, it will be described in order.

《主制御基板側での処理》
まず、図11〜図15のフローチャートを参照しながら、主制御基板200における処理を説明することとする。まず、図5は、主制御手段1000が行う一般的な処理の流れを示したメインフローチャートである。遊技機の電源投入後、同図(a)の処理が実行される。即ち、遊技機の電源投入後、初期設定を行った後(不図示)、ステップ1002で、主制御手段1000は、RAMクリアボタンの入力ポートを確認し、電源供給ユニットEのリセットボタン(RAMクリアボタン)が操作されたか否か、即ち、遊技場の管理者等によって意図的にRAMの内容をクリアさせる操作が行われたか否かを判定する。ステップ1002でYesの場合、ステップ1004で、主制御手段1000は、主制御基板200側のRAM内容(例えば、処理関連情報一時記憶手段1400内の情報等)を全てクリアする。次に、ステップ1006で、送信制御手段1210は、主制御基板200のRAMをクリアしたことを示すラムクリア情報(コマンド)を演出制御基板220側に送信し(当該タイミングにて送信してもよいし、当該タイミングではコマンドをセットしておき後述する制御コマンド送信処理にて送信するよう構成してもよい)、ステップ1016の処理に移行する。他方、ステップ1002でNoの場合は、ステップ1008で、主制御手段1000は、主制御基板200におけるRAM領域の内容をチェックする(例えば、電断時に記録されたチェックサムとRAM領域に保存されている情報量との比較を行う)。次に、ステップ1010で、主制御手段1000は、当該チェック結果に基づきRAMの内容が正常でないか否か(正確に電断時の情報がRAMにバックアップされていないか否か)を判定する。ステップ1010でYes、即ちRAMにバックアップされていたデータが異常な場合には、ステップ1004の処理(前述したRAMクリア処理)に移行する。他方、ステップ1010でNo、即ちRAMにバックアップされていたデータが正常な場合、ステップ1012で、主制御手段1000は、主制御基板200におけるRAM内に記憶(バックアップ)されている電断時の各種情報コマンドを取得し、ステップ1014で、取得した各種情報コマンドを演出制御基板220側に送信し(当該タイミングにて送信してもよいし、当該タイミングではコマンドをセットしておき後述する制御コマンド送信処理にて送信するよう構成してもよい)、ステップ1016の処理に移行する。次に、ステップ1016で、主制御手段1000は、同図(b)によって示される主制御基板200側のメイン処理に係る実行定時割り込み(例えば、約4ms毎のハードウェア割り込みを契機とするが、本例では、当該割り込み周期をTとする)を許可し(その結果、当該実行定時割り込みタイミング到達時には、同図(b)が実行されることとなる)、ステップ1018の処理に移行する。尚、ステップ1018に移行後は、次の定時割り込みタイミングに到達するまで、主制御手段1000は、各種乱数更新処理(例えば、乱数カウンタのインクリメント処理)を繰り返し実行することとなる。
<Processing on the main control board>
First, the processing in the main control board 200 will be described with reference to the flowcharts of FIGS. First, FIG. 5 is a main flowchart showing a flow of general processing performed by the main control unit 1000. After powering on the gaming machine, the process of FIG. That is, after the gaming machine is turned on and initialized (not shown), in step 1002, the main control means 1000 confirms the input port of the RAM clear button and resets the power supply unit E (RAM clear). Button) has been operated, that is, whether or not an operation of clearing the contents of the RAM has been performed intentionally by a game hall manager or the like. In the case of Yes in step 1002, in step 1004, the main control unit 1000 clears all the RAM contents (for example, information in the processing related information temporary storage unit 1400) on the main control board 200 side. Next, in step 1006, the transmission control means 1210 transmits ram clear information (command) indicating that the RAM of the main control board 200 has been cleared to the effect control board 220 (may be transmitted at this timing). At this timing, a command may be set and transmitted by a control command transmission process described later), and the process proceeds to step 1016. On the other hand, in the case of No in step 1002, in step 1008, the main control means 1000 checks the contents of the RAM area in the main control board 200 (for example, stored in the checksum and the RAM area recorded at the time of power interruption). Comparison with the amount of information). Next, in step 1010, the main control unit 1000 determines whether or not the content of the RAM is not normal based on the check result (whether or not the information at the time of power interruption is accurately backed up in the RAM). If YES in step 1010, that is, if the data backed up in the RAM is abnormal, the process proceeds to step 1004 (RAM clear process described above). On the other hand, if the data backed up in RAM is normal in Step 1010, that is, if the data backed up in RAM is normal, in Step 1012, the main control means 1000 stores various backups stored (backed up) in the RAM in the main control board 200. The information command is acquired, and in step 1014, the acquired various information commands are transmitted to the effect control board 220 side (may be transmitted at the timing, or the command is set at the timing, and a control command transmission described later is performed. The process may be configured to be transmitted in the process), and the process proceeds to step 1016. Next, in step 1016, the main control means 1000 is triggered by a scheduled execution interrupt (for example, about every 4 ms), which is related to the main processing on the main control board 200 side shown in FIG. In this example, the interrupt cycle is set to T) (as a result, when the execution scheduled interrupt timing is reached, (b) in FIG. 11 is executed), the process proceeds to step 1018. After the transition to step 1018, the main control unit 1000 repeatedly executes various random number update processes (for example, random number counter increment process) until the next scheduled interrupt timing is reached.

次に、タイマ割り込み処理について説明する。主制御手段1000は、定時割り込みタイミングに到達した場合に発生する割り込み要求に基づいて、同図(b)の処理を実行する。即ち、定時割り込み周期Tの到達時(例えば、約4ms毎のハードウェア割り込み)を契機として、ステップ1100で、主制御手段1000は、遊技制御処理(始動口等への入球情報に基づく、遊技に係る処理)を実行する。次に、ステップ1200で、主制御手段1000は、後述の未払出賞球管理処理を実行する。次に、ステップ1300で、主制御手段1000は、後述の払出制御基板230側へのコマンド送信制御処理を実行する。次に、ステップ1400で、主制御手段1000は、後述の払出制御基板230側からの情報受信制御処理を実行する。次に、ステップ1500で、主制御手段1000は、後述のエラー時対応制御処理を実行する。次に、ステップ1920で、主制御手段1000は、外部信号の出力処理(外部端子板、ホールコンピュータHC等への情報出力)を実行する。次に、ステップ1930で、主制御手段1000は、制御コマンド送信処理(前述の各処理でセットされたコマンドを演出制御基板220側及び払出制御基板230側に送信)を実行し、本割り込み処理の実行直前に実行されていた処理に復帰する。   Next, timer interrupt processing will be described. The main control unit 1000 executes the process shown in FIG. 5B based on an interrupt request generated when the scheduled interrupt timing is reached. That is, triggered by the arrival of the scheduled interrupt period T (for example, a hardware interrupt about every 4 ms), in step 1100, the main control means 1000 performs a game control process (based on game entry information such as a starting game) Execute the process related to Next, at step 1200, the main control means 1000 executes an unpaid prize ball management process described later. Next, in step 1300, the main control means 1000 executes a command transmission control process to the payout control board 230 described later. Next, in step 1400, the main control means 1000 executes information reception control processing from the payout control board 230 side described later. Next, in step 1500, the main control means 1000 executes an error handling control process described later. Next, at step 1920, the main control means 1000 executes output processing of external signals (information output to the external terminal board, hall computer HC, etc.). Next, in step 1930, the main control means 1000 executes a control command transmission process (transmits the command set in each process described above to the effect control board 220 side and the payout control board 230 side), and performs this interrupt process. Return to the process that was executed immediately before the execution.

次に、NMI割り込み処理について説明する。前述の通り、主制御手段1000は、リセットICからの電断信号がCPUのNMI端子に入力されるように構成されており、遊技機における電源断時において、同図(c)の処理が実行される。即ち、遊技機の電源断時(本例では、NMI割り込み時)において、ステップ1020で、主制御手段1000は、RAM領域の情報に基づき電断時情報(例えば、チェックサム)をセットする。次に、ステップ1022で、主制御手段1000は、RAM領域への書き込みを禁止すると共に、タイマ割り込み処理を禁止し、電源断待ちループ処理に移行する。   Next, NMI interrupt processing will be described. As described above, the main control means 1000 is configured such that the power interruption signal from the reset IC is input to the NMI terminal of the CPU, and the processing of FIG. Is done. That is, when the gaming machine is powered off (NMI interrupt in this example), in step 1020, the main control unit 1000 sets power interruption information (for example, checksum) based on the information in the RAM area. Next, in step 1022, the main control means 1000 prohibits writing to the RAM area, prohibits timer interrupt processing, and shifts to power-off waiting loop processing.

次に、図12は、図11のステップ1200のサブルーチンに係る、未払出賞球(賞球払出コマンド送信前)管理処理のフローチャートを示したものである。まず、ステップ1205で、遊技側受信制御手段1221は、遊技側受信情報一時記憶手段1221aを参照し、いずれかの入賞口センサS(S1、S2・・・)から入賞信号を受信したか否かを判定する。ステップ1205でYesの場合、ステップ1210で、遊技側受信制御手段1221は、受信した入賞信号に係る未払出賞球情報を、未払出賞球情報一時記憶手段1410に一時記憶し、次の処理(ステップ1300の対払出制御基板送信制御処理)に移行する。尚、ステップ1205でNoの場合にも、次の処理(ステップ1300の対払出制御基板送信制御処理)に移行する。   Next, FIG. 12 shows a flowchart of unpaid prize ball (before prize ball payout command transmission) management processing according to the subroutine of step 1200 in FIG. First, at step 1205, the game side reception control means 1221 refers to the game side reception information temporary storage means 1221a, and whether or not a prize signal is received from any of the prize opening sensors S (S1, S2,...). Determine. In the case of Yes in step 1205, in step 1210, the game side reception control means 1221 temporarily stores the unpaid prize ball information related to the received winning signal in the unpaid prize ball information temporary storage means 1410 for the next processing ( The process proceeds to a payout control board transmission control process in step 1300. Even in the case of No in step 1205, the processing shifts to the next processing (anti-payout control board transmission control processing in step 1300).

次に、図13は、図11のステップ1300のサブルーチンに係る、対払出制御基板送信制御処理のフローチャートを示したものである。まず、ステップ1305で、払出制御側送信制御手段1211は、第二回線(賞球払出中か否かに係るONOFF信号を送信する線)の入力ポートを参照し、払出信号がOFFであるか否か、即ち、現在払出が実行されていないか否かを判定する。ステップ1305でYesの場合、ステップ1310で、払出制御側送信制御手段1211は、未払賞球情報一時記憶手段1410を参照し、未払出賞球(まだ賞球払出コマンドを払出制御基板230側に送信していない賞球)が存在するか否かを判定する。ステップ1310でYesの場合、ステップ1315で、払出制御側送信制御手段1211は、エラーフラグ一時記憶手段1511を参照し、賞球払出を行うことが不適なエラーである賞球払出関連エラー(例えば、払出モータの故障に関するエラー、上皿満タン、球切れエラー等)が発生していないか否かを判定する。ステップ1315でYesの場合、ステップ1320で、払出制御側送信制御手段1211は、未払賞球情報一時記憶手段1410に一時記憶されている、今回払出処理が実行される順番の未払出賞球情報に対応した賞球数分の賞球払出コマンド(図10参照)を、送信コマンド一時記憶手段1211aにセットする。そして、ステップ1325で、払出制御側送信制御手段1211は、今回セットした賞球払出コマンドに対応する未払出賞球情報を、未払出賞球情報一時記憶手段1410から消去し、以後の情報をシフトさせる処理を実行し、次の処理(ステップ1400の対払出制御基板受信制御処理)に移行する。尚、ステップ1305、ステップ1310及びステップ1315でNoの場合にも、次の処理(ステップ1400の対払出制御基板受信制御処理)に移行する。   Next, FIG. 13 shows a flowchart of the payout control board transmission control process according to the subroutine of Step 1300 of FIG. First, in step 1305, the payout control side transmission control means 1211 refers to the input port of the second line (a line for transmitting an ONOFF signal relating to whether or not a prize ball is being paid out), and determines whether or not the payout signal is OFF. That is, it is determined whether or not a payout is not currently being executed. In the case of Yes in step 1305, in step 1310, the payout control side transmission control means 1211 refers to the unpaid prize ball information temporary storage means 1410, and makes an unpaid prize ball (still prize ball payout command to the payout control board 230 side It is determined whether there is a prize ball that has not been transmitted. In the case of Yes in step 1310, in step 1315, the payout control side transmission control means 1211 refers to the error flag temporary storage means 1511, and a prize ball payout-related error (for example, an error that is inappropriate for paying a prize ball) (for example, It is determined whether or not an error relating to a failure of the payout motor, an upper pan full, a ball out error, etc. has occurred. In the case of Yes in step 1315, in step 1320, the payout control side transmission control means 1211 is temporarily stored in the unpaid prize ball information temporary storage means 1410, and the unpaid prize ball information in the order in which the current payout process is executed. Are set in the transmission command temporary storage means 1211a. In step 1325, the payout control side transmission control means 1211 erases the unpaid prize ball information corresponding to the currently set prize ball payout command from the unpaid prize ball information temporary storage means 1410, and shifts the subsequent information. The process to be executed is executed, and the process proceeds to the next process (anti-payout control board reception control process in step 1400). In addition, also in the case of No in step 1305, step 1310, and step 1315, the process proceeds to the next process (the payout control board reception control process in step 1400).

次に、図14は、図11のステップ1400のサブルーチンに係る、対払出制御基板受信制御処理のフローチャートを示したものである。まず、ステップ1405で、払出制御側受信制御手段1122は、払出制御側受信情報一時記憶手段1122aを参照し、払出関連情報を受信したか否かを判定する。ここで、ステップ1405でYesの場合、ステップ1410で、エラー制御手段1500は、受信した払出関連情報中にエラー情報(球切れエラー、上皿満タンエラー、他の払出関連エラー)が存在するか否かを判定する。ステップ1410でYesの場合、ステップ1415で、エラー制御手段1500は、エラーフラグ一時記憶手段1511にアクセスし、該当するエラーに係るエラーフラグをオンにすることで、払出制御基板230側でのエラー情報を主制御基板200側でも管理(一元管理)する。他方、ステップ1410でNoの場合、ステップ1420で、エラー制御手段1500は、エラーフラグ一時記憶手段1511にアクセスし、払出制御基板230側でのエラーに係るエラーフラグをオフにする。そして、ステップ1425で、送受信制御手段1200は、受信した払出関連情報中に賞球払出完了情報が存在するか否かを判定する。ステップ1425でYesの場合、ステップ1430で、送受信制御手段1200は、送信コマンド一時記憶手段1211aにセットされている賞球払出コマンド(今回の払出完了に係る賞球払出コマンド)をクリアし、次の処理(ステップ1500のエラー時対応制御処理)に移行する。尚、ステップ1405及びステップ1425でNoの場合にも、次の処理(ステップ1500のエラー時対応制御処理)に移行する。   Next, FIG. 14 shows a flowchart of the payout control board reception control process according to the subroutine of step 1400 of FIG. First, in step 1405, the payout control side reception control means 1122 refers to the payout control side received information temporary storage means 1122a, and determines whether or not payout related information has been received. Here, in the case of Yes in step 1405, in step 1410, the error control unit 1500 determines whether or not error information (out of ball error, upper plate full tank error, other payout related errors) exists in the received payout related information. Determine whether. In the case of Yes in step 1410, in step 1415, the error control unit 1500 accesses the error flag temporary storage unit 1511 and turns on the error flag related to the corresponding error, thereby error information on the payout control board 230 side. Are also managed (unified management) on the main control board 200 side. On the other hand, in the case of No in step 1410, in step 1420, the error control unit 1500 accesses the error flag temporary storage unit 1511 and turns off the error flag related to the error on the payout control board 230 side. In step 1425, the transmission / reception control unit 1200 determines whether or not prize ball payout completion information exists in the received payout related information. In the case of Yes in step 1425, in step 1430, the transmission / reception control means 1200 clears the prize ball payout command (the prize ball payout command related to the completion of the current payout) set in the transmission command temporary storage means 1211a. The process shifts to an error handling control process in step 1500. In addition, also in the case of No in step 1405 and step 1425, the process proceeds to the next process (control process for handling an error in step 1500).

次に、図15は、図11のステップ1500のサブルーチンに係る、エラー時対応制御処理のフローチャートを示したものである。まず、ステップ1505で、エラー制御手段1500は、エラーフラグ一時記憶手段1511を参照し、エラーが発生しているか否かを判定する。ステップ1505でYesの場合、ステップ1510で、エラー制御手段1500は、発生したエラーが重要エラーであるか(例えば、不正行為の危険性が高い上皿満タンエラー)否かを判定する。ステップ1510でYesの場合、ステップ1515で、エラー制御手段1500は、外部出力端子板39を介してホールコンピュータに対し、今回発生したエラーに対応したエラー情報を送信する。そして、ステップ1520で、エラー制御手段1500は、今回発生したエラーに対応した、演出制御基板220側へのエラー報知コマンドをセットし、次の処理{ステップ1200の未払出賞球(賞球払出コマンド送信前)管理処理}に移行する。尚、ステップ1505でNoの場合にも次の処理{ステップ1200の未払出賞球(賞球払出コマンド送信前)管理処理}に移行し、ステップ1510でNoの場合にはステップ1520に移行する。尚、主制御基板200側から演出制御基板230側に送信されるエラー報知コマンドとしては、前枠9やガラス10が開放状態にある旨のコマンド(ガラス扉開放エラー、前枠開放エラー)等を挙げることができる。   Next, FIG. 15 shows a flowchart of the error handling control process related to the subroutine of step 1500 in FIG. First, in step 1505, the error control unit 1500 refers to the error flag temporary storage unit 1511 to determine whether an error has occurred. In the case of Yes in step 1505, in step 1510, the error control unit 1500 determines whether or not the error that has occurred is an important error (for example, a full dish full error with a high risk of fraud). If YES in step 1510, in step 1515, the error control unit 1500 transmits error information corresponding to the error that has occurred this time to the hall computer via the external output terminal board 39. In step 1520, the error control unit 1500 sets an error notification command to the effect control board 220 side corresponding to the error that has occurred this time, and performs the next process {unpaid award ball (award ball payout command in step 1200). Before sending). Even in the case of No in step 1505, the process proceeds to the next processing {unpaid prize ball (before sending a prize ball payout command) management process in step 1200}, and in the case of No in step 1510, the process proceeds to step 1520. As an error notification command transmitted from the main control board 200 side to the effect control board 230 side, a command indicating that the front frame 9 or the glass 10 is in an open state (glass door open error, front frame open error), etc. Can be mentioned.

次に、図16〜図29のフローチャートを参照しながら、払出制御基板230側での処理を詳述することとする。ここで、図16(左)のフローチャートは、電源立ち上げ後の、通常時における払出制御基板230で実行される処理である。また、図16(右)のフローチャートは、電源電圧が所定値を下回ると発せられるNMI信号を契機として払出制御基板230で実行される電源断(電断)時処理である。   Next, the processing on the payout control board 230 side will be described in detail with reference to the flowcharts of FIGS. Here, the flowchart of FIG. 16 (left) is a process executed by the payout control board 230 at the normal time after the power is turned on. Further, the flowchart of FIG. 16 (right) is a process at the time of power interruption (power interruption) executed by the payout control board 230 triggered by an NMI signal generated when the power supply voltage falls below a predetermined value.

まず、図16(左)は、払出制御基板230側で実行されるメインルーチン2000のフローチャートである。はじめに、ステップ2600で、払出制御基板(払出制御手段)230は、後述する電断復帰時初期処理を実行する。次に、ステップ2700で、払出制御基板(払出制御手段)230は、後述する異常検出時エラー制御処理を実行する。次に、ステップ2100で、払出制御基板(払出制御手段)230は、主制御基板200との間での、後述する賞球払出関連情報送受信処理を実行する。次に、ステップ2200で、払出制御基板(払出制御手段)230は、後述する賞球払出制御処理(賞球払出開始・モータ駆動開始時)を実行する。次に、ステップ2300で、払出制御基板(払出制御手段)230は、後述する賞球払出制御処理(モータ駆動終了時・賞球払出終了時)を実行する。次に、ステップ2400で、払出制御基板(払出制御手段)230は、後述する賞球払出制御処理(モータ駆動実行時)を実行する。そして、ステップ2500で、払出制御基板(払出制御手段)230は、後述するモータエラー時処理を実行し、ステップ2600に移行する。以下、各サブルーチンを詳述することとする。   First, FIG. 16 (left) is a flowchart of a main routine 2000 executed on the payout control board 230 side. First, in step 2600, the payout control board (payout control means) 230 executes an initial process for returning from power interruption, which will be described later. Next, in step 2700, the payout control board (payout control means) 230 executes an error detection error control process described later. Next, in step 2100, the payout control board (payout control means) 230 executes prize ball payout related information transmission / reception processing described later with the main control board 200. Next, at step 2200, the payout control board (payout control means) 230 executes a prize ball payout control process (at the time of starting a prize ball payout / starting motor driving), which will be described later. Next, in step 2300, the payout control board (payout control means) 230 executes a prize ball payout control process (at the end of motor driving and at the end of prize ball payout), which will be described later. Next, in step 2400, the payout control board (payout control means) 230 executes a prize ball payout control process (at the time of motor drive execution) which will be described later. In step 2500, the payout control board (payout control means) 230 executes a motor error process described later, and proceeds to step 2600. Hereinafter, each subroutine will be described in detail.

まず、図17は、図16のステップ2600のサブルーチンに係る、電断復帰時初期処理のフローチャートである。はじめに、本処理は、払出制御基板230側での電断復帰時に1度だけ実行される処理であり、その目的は、払出制御基板230側での電断発生時にバックアップ(バックアップ処理については後述する)した情報に基づき、電断発生前の払出制御基板230側での処理実行に係る情報を復元することと、当該復元した情報に基づき、電断発生前に実行していた処理へと復帰することである。まず、ステップ2605で、電断時・電断復帰時処理制御手段3500は、電断時フラグ類一時記憶手段3511を参照し、払出制御側電断フラグがオンであるか否かを判定する。ここで、払出制御側電断フラグとは、払出制御基板230側での電断時においてオンとなるフラグである。ステップ2605でYesの場合、ステップ2610で、電断時・電断復帰時処理制御手段3500は、電断時フラグ類一時記憶手段3511にアクセスし、払出制御側電断フラグをオフにする。次に、ステップ2615で、電断時・電断復帰時処理制御手段3500は、電断時不正払出累積カウンタ3512を参照してカウンタ値を取得すると共に、当該カウンタ値を払出モータ動作異常検出時エラー制御手段3230内の不正払出累積カウンタ3231にセットする。ここで、後述するように、払出モータ動作異常検出時エラー制御手段3230内の不正払出累積カウンタ3231の値は、電断時の処理において、電断時不正払出累積カウンタ3512に一時記憶(バックアップ)されることとなる。即ち、当該処理によって、払出モータ動作異常検出時エラー制御手段3230内の不正払出累積カウンタ3231値は、電断発生前の状態に復元されることとなる。尚、以下のステップ2620〜2635においては、同様の復元処理が実行されていることを補足しておく。次に、ステップ2620で、電断時・電断復帰時処理制御手段3500は、電断時過剰払出累積カウンタ3513を参照してカウンタ値を取得すると共に、当該カウンタ値を払出異常検出時エラー制御手段3240内の過剰払出累積カウンタ3241にセットする。次に、ステップ2625で、電断時・電断復帰時処理制御手段3500は、電断時払出カウンタ3514を参照してカウンタ値を取得すると共に、当該カウンタ値を払出処理関連情報一時記憶手段3310内の払出カウンタ3312にセットする。次に、ステップ2630で、電断時・電断復帰時処理制御手段3500は、電断時フラグ類一時記憶手段3511を参照して、各種エラーフラグ(球切れエラーフラグ、球不足エラーフラグ、払出モータエラーフラグ、払出停止エラーフラグ)のフラグ値を取得すると共に、当該フラグ値をエラー制御手段3200内のエラーフラグ一時記憶手段3221にセットし、ステップ2640へ移行する。尚、球切れエラーフラグ、球不足エラーフラグ、払出モータエラーフラグ及び払出停止エラーフラグの詳細については後述する。   First, FIG. 17 is a flowchart of the power failure return initial process according to the subroutine of step 2600 of FIG. First, this process is a process that is executed only once at the time of power failure recovery on the payout control board 230 side, and its purpose is backup when power failure occurs on the payout control board 230 side (the backup process will be described later). ) Based on the restored information, the information related to the process execution on the payout control board 230 side before the occurrence of the power interruption is restored, and the process that was executed before the occurrence of the power interruption is restored based on the restored information. That is. First, in step 2605, the power interruption / power interruption return processing control means 3500 refers to the power interruption flag temporary storage means 3511 and determines whether or not the payout control side power interruption flag is on. Here, the payout control side power interruption flag is a flag that is turned on when power is cut off on the payout control board 230 side. In the case of Yes in step 2605, in step 2610, the power interruption / power interruption recovery processing control means 3500 accesses the power interruption flag temporary storage means 3511 and turns off the payout control side power interruption flag. Next, in step 2615, the power failure / power failure return processing control means 3500 refers to the power interruption unauthorized payout accumulation counter 3512 to acquire a counter value and to detect the counter value when a payout motor operation abnormality is detected. The illegal payout accumulation counter 3231 in the error control means 3230 is set. Here, as will be described later, the value of the unauthorized payout accumulation counter 3231 in the error control means 3230 upon detection of abnormality in the payout motor operation is temporarily stored (backup) in the unauthorized payout accumulation counter 3512 during power interruption. Will be. That is, by this processing, the value of the unauthorized payout cumulative counter 3231 in the payout motor operation abnormality detection error control means 3230 is restored to the state before the occurrence of power interruption. In addition, in the following steps 2620 to 2635, it is supplemented that the same restoration process is executed. Next, at step 2620, the power failure / power failure recovery processing control means 3500 refers to the power interruption excessive payout accumulation counter 3513 to acquire the counter value, and at the same time, controls the counter value for error control at the time of payout abnormality detection. The excessive payout accumulation counter 3241 in the means 3240 is set. Next, in step 2625, the power interruption / power interruption return processing control means 3500 refers to the power interruption payout counter 3514 to obtain a counter value, and the counter value is related to the payout process related information temporary storage means 3310. The payout counter 3312 is set. Next, in step 2630, the power failure / power failure recovery processing control means 3500 refers to the power interruption flag temporary storage means 3511, and refers to various error flags (ball out error flag, ball shortage error flag, payout). The motor error flag and the payout stop error flag) are acquired, and the flag values are set in the error flag temporary storage unit 3221 in the error control unit 3200, and the process proceeds to step 2640. The details of the ball break error flag, the ball shortage error flag, the payout motor error flag, and the payout stop error flag will be described later.

次に、ステップ2640で、電断時・電断復帰時処理制御手段3500は、エラーフラグ一時記憶手段3221を参照して、払出モータエラーフラグがオンであるか否かを判定する。ステップ2640でYesの場合、ステップ2645で、電断時・電断復帰時処理制御手段3500は、払出状態フラグ一時記憶手段3311内のリトライ動作実行許可フラグをオンにする。次に、ステップ2650で、電断時・電断復帰時処理制御手段3500は、払出状態フラグ一時記憶手段3311内の賞球払出中フラグをオンにして、次の処理(ステップ2700の異常検出時エラー制御処理)へ移行する。ここで、後述するように、リトライ動作実行許可フラグがオンである状況下では、ステッピングモータのリトライ動作が実行されることとなる。他方、ステップ2640でNoの場合、ステップ2655で、電断時・電断復帰時処理制御手段3500は、払出カウンタ3312を参照し、当該カウント値が0超過であるか否かを判定する。ステップ2655でYesの場合、ステップ2660で、電断時・電断復帰時処理制御手段3500は、払出状態フラグ一時記憶手段3311内の賞球払出開始許可フラグをオンにして、次の処理(ステップ2700の異常検出時エラー制御処理)へ移行する。ここで、後述するように、賞球払出開始許可フラグがオンである状況下では、ステッピングモータの賞球払出動作(即ち、通常払出動作)が実行されることとなる。尚、ステップ2605又はステップ2655でNoの場合にも、次の処理(ステップ2700の異常検出時エラー制御処理)へ移行する。   Next, in step 2640, the power failure / power failure recovery processing control means 3500 refers to the error flag temporary storage means 3221 and determines whether or not the payout motor error flag is on. In the case of Yes in step 2640, in step 2645, the processing control unit 3500 at the time of power interruption / recovery from power interruption turns on a retry operation execution permission flag in the payout state flag temporary storage unit 3311. Next, at step 2650, the power failure / power failure recovery time processing control means 3500 turns on the prize ball paying-in flag in the payout state flag temporary storage means 3311 to perform the next processing (when an abnormality is detected at step 2700). Move to error control process. Here, as will be described later, the retry operation of the stepping motor is executed under the situation where the retry operation execution permission flag is ON. On the other hand, in the case of No in step 2640, in step 2655, the power interruption / power interruption recovery time processing control means 3500 refers to the payout counter 3312 and determines whether or not the count value is greater than zero. In the case of Yes in step 2655, in step 2660, the processing control means 3500 at the time of power interruption / recovery from power interruption turns on the winning ball payout start permission flag in the payout state flag temporary storage means 3311 and performs the next processing (step 2700, error control processing upon abnormality detection). Here, as will be described later, in a situation where the winning ball payout start permission flag is ON, the winning ball paying operation (that is, the normal paying operation) of the stepping motor is executed. Note that, also in the case of No in step 2605 or step 2655, the process proceeds to the next process (error control process at the time of abnormality detection in step 2700).

次に、図18は、図16のステップ2700のサブルーチンに係る、異常検出時エラー制御処理のフローチャートである。はじめに、ステップ2710で、エラー制御手段3200は、後述する払出モータ動作異常検出時エラー制御処理を実行する。次に、ステップ2720で、エラー制御手段3200は、後述する払出異常検出時エラー制御処理を実行する。次に、ステップ2740で、エラー制御手段3200は、後述する球経路異常検出時エラー制御処理を実行する。次に、ステップ2770で、エラー制御手段3200は、後述する払出モータ異常検出時エラー制御処理を実行する。次に、ステップ2790で、エラー制御手段3200は、後述する要払出停止異常検出時エラー制御処理を実行し、次の処理(ステップ2100の賞球払出関連情報送受信処理)へ移行する。   Next, FIG. 18 is a flowchart of error control processing at the time of abnormality detection according to the subroutine of step 2700 in FIG. First, in step 2710, the error control means 3200 executes an error control process at the time of detecting a dispensing motor operation abnormality, which will be described later. Next, in step 2720, the error control means 3200 executes a payout abnormality detection error control process to be described later. Next, in step 2740, the error control means 3200 executes a ball path abnormality detection error control process described later. Next, in step 2770, the error control means 3200 executes an error control process at the time of detecting a payout motor abnormality, which will be described later. Next, in step 2790, the error control means 3200 executes an error control process at the time of detecting a required payout stop abnormality described later, and proceeds to the next process (award ball payout related information transmission / reception process in step 2100).

次に、図19は、図18のステップ2710のサブルーチンに係る、払出モータ動作異常検出時エラー制御処理のフローチャートである。はじめに、本処理の目的は、後述する払出モータ動作異常を検出した場合には、当該異常発生回数をカウントすることと、当該異常発生回数が閾値以上となった場合には、エラー報知を実行することである。まず、ステップ2711で、払出モータ動作異常検出時エラー制御手段3230は、払出状態フラグ一時記憶手段3311を参照し、払出モータ動作異常検出フラグがオンであるか否かを判定する。ここで、後述するように、払出モータ動作異常検出フラグは、払出制御基板230側での賞球払出処理を実行していない状況下で、カウントセンサ143にて遊技球の通過を検出した場合(払出モータ動作異常)にオンとなるフラグである。ステップ2711でYesの場合、ステップ2712で、払出モータ動作異常検出時エラー制御手段3230は、払出状態フラグ一時記憶手段3311にアクセスし、払出モータ動作異常検出フラグをオフにする。次に、ステップ2713で、払出モータ動作異常検出時エラー制御手段3230は、不正払出累積カウンタ3231のカウンタ値を1加算(インクリメント)する。次に、ステップ2714で、払出モータ動作異常検出時エラー制御手段3230は、不正払出累積カウンタ3231のカウンタ値を参照し、当該カウント値が所定数(例えば、25)以上であるか否かを判定する。ステップ2714でYesの場合、ステップ2715で、払出モータ動作異常検出時エラー制御手段3230は、エラーフラグ一時記憶手段3221内の払出モータ動作エラーフラグをオンにし、ステップ2716へ移行する。尚、ステップ2711又はステップ2714でNoの場合にも、ステップ2716へ移行する。   Next, FIG. 19 is a flowchart of the error control process at the time of detecting a dispensing motor operation abnormality according to the subroutine of step 2710 of FIG. First, the purpose of this process is to count the number of occurrences of abnormality when a payout motor operation abnormality described later is detected, and to perform error notification when the number of occurrences of abnormality exceeds a threshold value. That is. First, in step 2711, the payout motor operation abnormality detection error control means 3230 refers to the payout state flag temporary storage means 3311 and determines whether or not the payout motor operation abnormality detection flag is on. Here, as will be described later, the payout motor operation abnormality detection flag is detected when the passing of the game ball is detected by the count sensor 143 under a situation where the prize ball payout process is not executed on the payout control board 230 side ( This flag is turned on when the dispensing motor operation is abnormal. In the case of Yes in step 2711, in step 2712, the payout motor operation abnormality detection error control means 3230 accesses the payout state flag temporary storage means 3311 and turns off the payout motor operation abnormality detection flag. Next, at step 2713, the payout motor operation abnormality detection error control means 3230 increments the counter value of the unauthorized payout accumulation counter 3231 by one. Next, in step 2714, the payout motor operation abnormality detection error control means 3230 refers to the counter value of the unauthorized payout accumulation counter 3231 and determines whether or not the count value is equal to or greater than a predetermined number (for example, 25). To do. In the case of Yes in step 2714, in step 2715, the payout motor operation abnormality detection error control means 3230 turns on the payout motor operation error flag in the error flag temporary storage means 3221, and proceeds to step 2716. Note that if the answer is No in step 2711 or step 2714, the process proceeds to step 2716.

次に、ステップ2716で、払出モータ動作異常検出時エラー制御手段3230は、エラーフラグ一時記憶手段3221を参照し、払出モータ動作エラーフラグがオンであるか否かを判定する。ステップ2716でYesの場合、ステップ2717で、払出モータ動作異常検出時エラー制御手段3230は、エラーフラグ一時記憶手段3221内の払出モータ動作エラーフラグをオフにする。次に、ステップ2718で、払出モータ動作異常検出時エラー制御手段3230は、状態表示部130を駆使して払出モータ動作エラーが発生した旨を報知する。そして、ステップ2719で、払出モータ動作異常検出時エラー制御手段3230は、払出関連エラー情報として払出モータ動作エラーを、払出関連エラー情報一時記憶手段3121にセットし、次の処理(ステップ2720の払出異常検出時エラー制御処理)へ移行する。尚、ステップ2716でNoの場合にも、次の処理(ステップ2720の払出異常検出時エラー制御処理)へ移行する。   Next, at step 2716, the payout motor operation abnormality detection error control means 3230 refers to the error flag temporary storage means 3221 and determines whether or not the payout motor operation error flag is on. If YES in step 2716, the payout motor operation error detection error control means 3230 turns off the payout motor operation error flag in the error flag temporary storage means 3221 in step 2717. Next, in step 2718, the payout motor operation abnormality detection error control means 3230 makes full use of the status display unit 130 to notify that a payout motor operation error has occurred. Then, in step 2719, the payout motor operation abnormality detection error control means 3230 sets the payout motor operation error in the payout related error information temporary storage means 3121 as the payout related error information, and performs the next process (the payout abnormality in step 2720). Shift to error control processing at detection. Even in the case of No in step 2716, the process proceeds to the next process (error control process at the time of payout abnormality detection in step 2720).

次に、図20は、図18のステップ2720のサブルーチンに係る、払出異常検出時エラー制御処理のフローチャートである。はじめに、本処理の目的は、後述する払出異常を検出した場合には、当該異常に起因した過剰な遊技球の払出数をカウントすることと、当該カウント数が閾値以上となった場合には、エラー報知を実行することである。まず、ステップ2721で、払出異常検出時エラー制御手段3240は、払出状態フラグ一時記憶手段3311を参照し、払出異常検出フラグがオンであるか否かを判定する。ここで、後述するように、払出異常検出フラグは、主制御基板200側から送信されたコマンドに基づく所定の賞球払出数を超過して、過剰な遊技球の払出が検出された場合(払出異常)にオンとなるフラグである。ステップ2721でYesの場合、ステップ2722で、払出異常検出時エラー制御手段3240は、払出状態フラグ一時記憶手段3311にアクセスし、払出異常検出フラグをオフにする。次に、ステップ2723で、払出異常検出時エラー制御手段3240は、払出処理関連情報一時記憶手段3310に一時記憶されている過剰払出数を取得すると共に、当該過剰払出数を過剰払出累積カウンタ3241に加算する。次に、ステップ2724で、払出異常検出時エラー制御手段3240は、過剰払出累積カウンタ3241のカウンタ値を参照し、当該カウント値が所定数(例えば、25)以上であるか否かを判定する。ステップ2724でYesの場合、ステップ2725で、払出異常検出時エラー制御手段3240は、エラーフラグ一時記憶手段3221内の過剰払出エラーフラグをオンにし、ステップ2726へ移行する。尚、ステップ2721又はステップ2724でNoの場合にも、ステップ2726へ移行する。   Next, FIG. 20 is a flowchart of error control processing at the time of payout abnormality detection according to the subroutine of step 2720 in FIG. First, the purpose of this process is to count the number of payouts of excessive game balls due to the abnormality when a payout abnormality described later is detected, and when the count number exceeds a threshold value, It is to perform error notification. First, in step 2721, the payout abnormality detection error control means 3240 refers to the payout state flag temporary storage means 3311 and determines whether or not the payout abnormality detection flag is on. Here, as will be described later, the payout abnormality detection flag exceeds the predetermined number of winning ball payouts based on the command transmitted from the main control board 200 side, and the payout of excessive game balls is detected (payout). It is a flag that is turned on (abnormal). In the case of Yes in step 2721, in step 2722, the payout abnormality detection error control means 3240 accesses the payout state flag temporary storage means 3311 and turns off the payout abnormality detection flag. Next, in step 2723, the error control means 3240 at the time of an abnormality in detecting the withdrawal acquires the excessive payout number temporarily stored in the payout processing related information temporary storage means 3310, and stores the excessive payout number in the excessive payout cumulative counter 3241. to add. Next, in step 2724, the payout abnormality detection error control means 3240 refers to the counter value of the excessive payout accumulation counter 3241 and determines whether or not the count value is equal to or greater than a predetermined number (for example, 25). If YES in step 2724, in step 2725, the payout abnormality detection error control means 3240 turns on the excessive payout error flag in the error flag temporary storage means 3221, and the process proceeds to step 2726. Note that if the result is No in step 2721 or step 2724, the process proceeds to step 2726.

次に、ステップ2726で、払出異常検出時エラー制御手段3240は、エラーフラグ一時記憶手段3221を参照し、過剰払出エラーフラグがオンであるか否かを判定する。ステップ2726でYesの場合、ステップ2727で、払出異常検出時エラー制御手段3240は、エラーフラグ一時記憶手段3221内の過剰払出エラーフラグをオフにする。次に、ステップ2728で、払出異常検出時エラー制御手段3240は、状態表示部130を駆使して過剰払出エラーが発生した旨を報知する。そして、ステップ2729で、払出異常検出時エラー制御手段3240は、払出関連エラー情報として過剰払出エラーを、払出関連エラー情報一時記憶手段3121にセットし、次の処理(ステップ2740の球経路異常検出時エラー制御処理)へ移行する。尚、ステップ2726でNoの場合にも、次の処理(ステップ2740の球経路異常検出時エラー制御処理)へ移行する。   Next, in step 2726, the payout abnormality detection error control means 3240 refers to the error flag temporary storage means 3221 and determines whether or not the excessive payout error flag is on. In the case of Yes in step 2726, in step 2727, the payout abnormality detection time error control means 3240 turns off the excessive payout error flag in the error flag temporary storage means 3221. Next, in step 2728, the payout abnormality detection error control means 3240 makes full use of the status display unit 130 to notify that an excessive payout error has occurred. Then, in step 2729, the payout abnormality detection error control means 3240 sets an excessive payout error as payout related error information in the payout related error information temporary storage means 3121 for the next processing (when the ball path abnormality is detected in step 2740). Move to error control process. Even in the case of No in step 2726, the process proceeds to the next process (the error control process at the time of detecting a ball path abnormality in step 2740).

次に、図21は、図18のステップ2740のサブルーチンに係る、球経路異常検出時エラー制御処理のフローチャートである。はじめに、本処理の目的は、後述する球経路異常を検出した場合には、(1)球貯留タンク40又は賞球払出ユニット100内に遊技球が存在していない(球切れ)異常が発生したか、又は賞球払出ユニット100内に存在する遊技球が少量である(球不足)異常が発生したかを調査すると共に、当該球切れ異常又は球不足異常に相当する異常を検出した場合には、エラー報知を実行することである。また、(2)球切れ異常又は球不足異常に相当する異常を検出した場合には、賞球払出の払出間隔を延長することで、球切れ異常又は球不足異常が解消されるまでの待ち時間を作り出すことである。まず、ステップ2741で、球経路異常検出時エラー制御手段3250は、払出状態フラグ一時記憶手段3311を参照し、球経路異常検出フラグがオンであるか否かを判定する。ここで、後述するように、球経路異常検出フラグは、払出制御基板230側で予定されている所定個数の払出動作(単位払出動作)実行終了時であって、モータ駆動が正常に動作していると判断されている状況下において、当該払出が予定されている所定個数に満たない状況が検出された場合にオンとなるフラグである。ステップ2741でYesの場合、ステップ2742で、球経路異常検出時エラー制御手段3250は、払出状態フラグ一時記憶手段3311にアクセスし、球経路異常検出フラグをオフにする。次に、ステップ2743で、球経路異常検出時エラー制御手段3250は、球切れ異常の発生条件を充足しているか否かを判定する。ここで、球切れ異常の発生条件には特に限定されないが、例えば、球貯留タンク40又は賞球払出ユニット100内の所定の位置に遊技球の検出センサを設け、当該検出センサで遊技球の存在を検出できない場合に球切れ異常が発生している条件とする例を挙げることができる。ステップ2743でYesの場合、ステップ2744で、球経路異常検出時エラー制御手段3250は、エラーフラグ一時記憶手段3221内の球切れエラーフラグをオンにする。次に、ステップ2745で、球経路異常検出時エラー制御手段3250は、状態表示部130を駆使して球切れエラーが発生した旨を報知する。そして、ステップ2746で、球経路異常検出時エラー制御手段3250は、払出関連エラー情報として球切れエラーを、払出関連エラー情報一時記憶手段3121にセットし、ステップ2747へ移行する。尚、ステップ2743でNoの場合にも、ステップ2747へ移行する。次に、ステップ2747で、球経路異常検出時エラー制御手段3250は、球不足異常の発生条件を充足しているか否かを判定する。ここで、球不足異常の発生条件には特に限定されないが、例えば、賞球払出ユニット100内のスプロケット141の直上における球流路(本例では、2条の球流路が存在)の夫々に遊技球の検出センサを設け、当該検出センサの何れかで遊技球の存在を検出できない場合に球不足異常が発生している条件とする例を挙げることができる。ステップ2747でYesの場合、ステップ2748で、球経路異常検出時エラー制御手段3250は、エラーフラグ一時記憶手段3221内の球不足エラーフラグをオンにする。次に、ステップ2749で、球経路異常検出時エラー制御手段3250は、状態表示部130を駆使して球不足エラーが発生した旨を報知する。そして、ステップ2750で、球経路異常検出時エラー制御手段3250は、払出関連エラー情報として球不足エラーを、払出関連エラー情報一時記憶手段3121にセットし、ステップ2751へ移行する。尚、ステップ2741でNoの場合にも、ステップ2751へ移行する。   Next, FIG. 21 is a flowchart of the error control process at the time of detecting a ball path abnormality according to the subroutine of step 2740 in FIG. First, the purpose of this process is to detect an abnormal ball path, which will be described later. Or whether or not an abnormality has occurred in which there is a small amount of game balls (shortage of balls) in the prize ball payout unit 100, and an abnormality corresponding to the abnormal ball shortage or abnormal shortage is detected. The error notification is executed. In addition, (2) when an abnormality corresponding to a ball shortage abnormality or a ball shortage abnormality is detected, the waiting time until the ball shortage abnormality or the ball shortage abnormality is resolved by extending the payout interval of the prize ball payout Is to create. First, in step 2741, the ball path abnormality detection error control means 3250 refers to the payout state flag temporary storage means 3311 and determines whether or not the ball path abnormality detection flag is on. Here, as will be described later, the ball path abnormality detection flag is at the end of execution of a predetermined number of payout operations (unit payout operations) scheduled on the payout control board 230 side, and the motor drive operates normally. It is a flag that is turned on when a situation in which the number of payouts is less than the predetermined number is detected under the situation where it is determined that the payout has occurred. In the case of Yes in step 2741, in step 2742, the ball path abnormality detection error control means 3250 accesses the payout state flag temporary storage means 3311 and turns off the ball path abnormality detection flag. Next, in step 2743, the error control means 3250 at the time of detecting the ball path abnormality determines whether or not the condition for occurrence of the ball break abnormality is satisfied. Here, the occurrence condition of the ball break abnormality is not particularly limited. For example, a game ball detection sensor is provided at a predetermined position in the ball storage tank 40 or the prize ball payout unit 100, and the presence of the game ball is detected by the detection sensor. An example can be given in which a condition where a ball breakage abnormality has occurred is detected when it cannot be detected. In the case of Yes in step 2743, in step 2744, the ball path abnormality detection time error control means 3250 turns on the ball break error flag in the error flag temporary storage means 3221. Next, in step 2745, the error control means 3250 at the time of detecting a ball path abnormality notifies the fact that a ball-out error has occurred by making full use of the state display unit 130. In step 2746, the ball path abnormality detection error control unit 3250 sets a ball-out error as the payout-related error information in the payout-related error information temporary storage unit 3121, and proceeds to step 2747. Note that if the result is No in step 2743, the process proceeds to step 2747. Next, in step 2747, the ball path abnormality detection error control means 3250 determines whether or not the occurrence condition of the ball shortage abnormality is satisfied. Here, the occurrence condition of the ball shortage abnormality is not particularly limited. For example, each of the ball flow paths (in this example, two ball flow paths exist) immediately above the sprocket 141 in the prize ball payout unit 100. An example can be given in which a game ball detection sensor is provided, and when the presence of a game ball cannot be detected by any of the detection sensors, a ball shortage abnormality occurs. In the case of Yes in step 2747, in step 2748, the error control means 3250 at the time of detecting the ball path abnormality turns on the sphere shortage error flag in the error flag temporary storage means 3221. Next, in step 2749, the ball path abnormality detection error control means 3250 makes full use of the status display unit 130 to notify that a ball shortage error has occurred. In step 2750, the ball path abnormality detection error control means 3250 sets a ball shortage error as the payout-related error information in the payout-related error information temporary storage means 3121, and proceeds to step 2751. Note that if the result in Step 2741 is No, the process proceeds to Step 2751.

次に、ステップ2751で、球経路異常検出時エラー制御手段3250は、エラーフラグ一時記憶手段3221を参照し、球切れエラーフラグがオンであるか否かを判定する。ステップ2751でYesの場合、ステップ2752で、球経路異常検出時エラー制御手段3250は、球切れ異常の解消条件を充足しているか否かを判定する。ここで、球切れ異常の解消条件には特に限定されず、前述の球切れ異常の発生条件が未充足となった場合に球切れ異常が解消された条件とする例を挙げることができる。ステップ2752でYesの場合、ステップ2753で、球経路異常検出時エラー制御手段3250は、エラーフラグ一時記憶手段3221内の球切れエラーフラグをオフにする。次に、ステップ2754で、球経路異常検出時エラー制御手段3250は、状態表示部130を駆使して球不足エラーが発生した旨の報知を終了(解除)する。そして、ステップ2755で、払出間隔延長制御手段3251は、通常動作時における励磁タイミング(本例では、3ms×8ステップ=24msに1個の速度で所定個数の払出動作を行うよう連続して励磁される)に復帰させ、ステップ2760へ移行する。他方、ステップ2752でNoの場合、ステップ2756で、払出間隔延長制御手段3251は、通常動作時と比較して相対的に球1個の払出速度が低速となるよう励磁タイミングを変更して、ステップ2760へ移行する。尚、ステップ2751でNoの場合にも、ステップ2760へ移行する。ここで、当該変更する励磁タイミングには特に限定されないが、例えば、3ms×8ステップ=24msに1個の速度で球1個分の払出動作を実行した後、所定時間(例えば5秒)の待ち時間を設け、当該待ち時間経過後に、再度3ms×8ステップ=24msに1個の速度で払出動作を実行するよう励磁タイミングを変更する例を挙げることができる。   Next, at step 2751, the ball path abnormality detection error control means 3250 refers to the error flag temporary storage means 3221 and determines whether or not the ball break error flag is on. In the case of Yes in step 2751, in step 2752, the error control means 3250 at the time of detecting the ball path abnormality determines whether or not the condition for eliminating the ball break abnormality is satisfied. Here, the condition for eliminating the ball break abnormality is not particularly limited, and an example of the condition for eliminating the ball break abnormality when the above-described condition for occurrence of the ball break abnormality is not satisfied can be given. In the case of Yes in step 2752, in step 2753, the ball path abnormality detection time error control means 3250 turns off the ball break error flag in the error flag temporary storage means 3221. Next, at step 2754, the error control means 3250 at the time of detecting a ball path abnormality ends (cancels) notification that a ball shortage error has occurred using the state display unit 130. In step 2755, the payout interval extension control unit 3251 is continuously excited so as to perform a predetermined number of payout operations at a single speed every 3 ms × 8 steps = 24 ms in the normal operation. And go to step 2760. On the other hand, in the case of No in step 2752, in step 2756, the payout interval extension control means 3251 changes the excitation timing so that the payout speed of one sphere is relatively low as compared with that in the normal operation. Move to 2760. Note that if the result is No in step 2751, the process proceeds to step 2760. Here, the excitation timing to be changed is not particularly limited. For example, after a payout operation for one sphere is executed at a speed of 3 ms × 8 steps = 24 ms, a predetermined time (for example, 5 seconds) is waited. An example can be given in which the excitation timing is changed so that the payout operation is executed once again at a speed of 3 ms × 8 steps = 24 ms after the waiting time has elapsed.

次に、ステップ2760で、球経路異常検出時エラー制御手段3250は、エラーフラグ一時記憶手段3221を参照し、球不足エラーフラグがオンであるか否かを判定する。ステップ2760でYesの場合、ステップ2761で、球経路異常検出時エラー制御手段3250は、球不足異常の解消条件を充足しているか否かを判定する。ここで、球不足異常の解消条件には特に限定されず、前述の球不足異常の発生条件が未充足となった場合に球不足異常が解消された条件とする例を挙げることができる。ステップ2761でYesの場合、ステップ2762で、球経路異常検出時エラー制御手段3250は、エラーフラグ一時記憶手段3221内の球不足エラーフラグをオフにする。次に、ステップ2763で、球経路異常検出時エラー制御手段3250は、状態表示部130を駆使して球不足エラーが発生した旨の報知を終了(解除)する。そして、ステップ2764で、払出間隔延長制御手段3251は、球通過待ちタイマ3315に所定値(本例では、500ms)をセットし、次の処理(ステップ2770の払出モータ異常検出時エラー制御処理)へ移行する。他方、ステップ2761でNoの場合、ステップ2765で、払出間隔延長制御手段3251は、球通過待ちタイマ3315に所定値が再セット(図25のステップ2238の処理であり、単位払出動作を実行する度に、単位払出動作開始時に所定値を再セット)されたか否かを判定する。ステップ2765でYesの場合、ステップ2766で、払出間隔延長制御手段3251は、球通過待ちタイマ3315に延長時間値(例えば、30秒)をセットして、次の処理(ステップ2770の払出モータ異常検出時エラー制御処理)へ移行する。尚、ステップ2760でNoの場合にも、次の処理(ステップ2770の払出モータ異常検出時エラー制御処理)へ移行する。ここで、球切れエラー発生時と球不足エラー発生時には、通常動作時と比較して賞球の払出間隔を相対的に延長する処理が実行される点においては同一であるが、払出間隔の延長方法が異なっている。即ち、球切れエラー発生時には、1球払出→延長待ち時間→1球払出→延長待ち時間・・・と繰り返されることに対して、球不足エラー発生時には、所定個数払出→延長待ち時間→所定個数払出→延長待ち時間・・・と繰り返されるのである。   Next, in step 2760, the ball path abnormality detection error control means 3250 refers to the error flag temporary storage means 3221 and determines whether or not the sphere shortage error flag is on. In the case of Yes in step 2760, in step 2761, the error control means 3250 at the time of detecting the ball path abnormality determines whether or not the condition for eliminating the ball shortage abnormality is satisfied. Here, the condition for eliminating the ball shortage abnormality is not particularly limited, and an example of a condition for eliminating the ball shortage abnormality when the above-described condition for occurrence of the ball shortage abnormality is not satisfied can be given. In the case of Yes in step 2761, in step 2762, the ball path abnormality detection error control means 3250 turns off the sphere shortage error flag in the error flag temporary storage means 3221. Next, at step 2763, the ball path abnormality detection error control means 3250 uses the state display unit 130 to end (cancel) notification that a ball shortage error has occurred. In step 2764, the payout interval extension control means 3251 sets a predetermined value (500 ms in this example) in the ball passage waiting timer 3315, and proceeds to the next process (error control process at the time of detection of a payout motor abnormality in step 2770). Transition. On the other hand, in the case of No in step 2761, in step 2765, the payout interval extension control means 3251 resets the predetermined value to the ball passage waiting timer 3315 (the processing of step 2238 in FIG. 25, each time the unit payout operation is executed). Then, it is determined whether or not a predetermined value has been reset at the start of the unit payout operation. In the case of Yes in step 2765, in step 2766, the payout interval extension control means 3251 sets an extended time value (for example, 30 seconds) in the ball passage waiting timer 3315 and performs the next processing (payout motor abnormality detection in step 2770). (Error control process). Even in the case of No in step 2760, the process proceeds to the next process (error control process at the time of detection of a dispensing motor abnormality in step 2770). Here, when a ball break error occurs and a ball shortage error occurs, it is the same in that processing for relatively extending the payout interval of the winning ball is executed as compared with the normal operation. The method is different. That is, when a ball break error occurs, one ball payout → extension wait time → one ball payout → extension wait time ... is repeated, whereas when a ball shortage error occurs, a predetermined number payout → extension wait time → predetermined number It is repeated with payout → extended waiting time.

次に、図22は、図18のステップ2770のサブルーチンに係る、払出モータ異常検出時エラー制御処理のフローチャートである。はじめに、本処理の目的は、後述する払出モータ異常を検出した場合には、エラー報知を実行すると共に、払出モータのリトライ動作への切替制御処理を実行することと、リトライ動作実行時におけるモータ駆動に係る励磁方式の切替制御処理を実行することである。まず、ステップ2771で、払出モータ異常検出時エラー制御手段3260は、払出状態フラグ一時記憶手段3311を参照し、払出モータ異常検出フラグがオンであるか否かを判定する。ここで、後述するように、払出モータ異常検出フラグは、球噛み等の外的要因により、モータ駆動が正常に動作していないと判断された場合にオンとなるフラグである。ステップ2771でYesの場合、ステップ2772で、払出モータ異常検出時エラー制御手段3260は、払出状態フラグ一時記憶手段3311内の払出モータ異常検出フラグをオフにする。次に、ステップ2773で、払出モータ異常検出時エラー制御手段3260は、エラーフラグ一時記憶手段3221内の払出モータエラーフラグをオンにする。次に、ステップ2774で、払出モータ異常検出時エラー制御手段3260は、状態表示部130を駆使して払出モータエラーが発生した旨を報知する。次に、ステップ2775で、払出モータ異常検出時エラー制御手段3260は、払出関連エラー情報として払出モータエラーを、払出関連エラー情報一時記憶手段3121にセットする。そして、ステップ2776で、払出モータ異常検出時エラー制御手段3260は、払出状態フラグ一時記憶手段3311内のリトライ動作実行待機フラグをオンにして、ステップ2777へ移行する。尚、ステップ2771でNoの場合にも、ステップ2777へ移行する。ここで、リトライ動作実行待機フラグとは、後述するモータエラーが発生した後の所定時間はリトライ動作を待機状態とし、当該所定時間内でのモータエラーの解消待ち時間を設けるためのフラグである。   Next, FIG. 22 is a flowchart of an error control process at the time of detection of a dispensing motor abnormality according to the subroutine of step 2770 of FIG. First, the purpose of this process is to perform error notification when a payout motor abnormality (to be described later) is detected, to execute a control process for switching the payout motor to a retry operation, and to drive the motor when the retry operation is executed. This is to execute the excitation type switching control processing according to the above. First, at step 2771, the payout motor abnormality detection error control means 3260 refers to the payout state flag temporary storage means 3311 and determines whether or not the payout motor abnormality detection flag is on. Here, as will be described later, the payout motor abnormality detection flag is a flag that is turned on when it is determined that the motor drive is not operating normally due to an external factor such as a ball bite. If Yes in step 2771, in step 2772, the payout motor abnormality detection error control means 3260 turns off the payout motor abnormality detection flag in the payout state flag temporary storage means 3311. Next, in step 2773, the payout motor abnormality detection error control means 3260 turns on the payout motor error flag in the error flag temporary storage means 3221. Next, at step 2774, the payout motor abnormality detection error control means 3260 makes full use of the status display unit 130 to notify that a payout motor error has occurred. Next, in step 2775, the payout motor abnormality detection error control means 3260 sets the payout motor error as the payout related error information in the payout related error information temporary storage means 3121. In step 2776, the payout motor abnormality detection error control means 3260 turns on the retry operation execution standby flag in the payout state flag temporary storage means 3311, and proceeds to step 2777. Note that if the result of Step 2771 is No, the process proceeds to Step 2777. Here, the retry operation execution standby flag is a flag for setting a retry operation in a standby state for a predetermined time after the occurrence of a motor error, which will be described later, and providing a waiting time for eliminating the motor error within the predetermined time.

次に、ステップ2777で、払出モータ異常検出時エラー制御手段3260は、エラーフラグ一時記憶手段3221を参照し、払出モータエラーフラグがオンであるか否かを判定する。ステップ2777でYesの場合、ステップ2778で、リトライ動作制御手段3261は、払出状態フラグ一時記憶手段3311を参照し、リトライ動作実行許可フラグがオンであるか否かを判定する。ステップ2778でYesの場合、ステップ2779で、リトライ動作制御手段3261は、払出状態フラグ一時記憶手段3311内のリトライ動作実行許可フラグをオフにする。次に、ステップ2780で、リトライ動作制御手段3261は、リトライ動作時における所定のステップ数を、ステップカウンタ一時記憶手段3313内のステップカウンタ値(n)としてセットする。ここで、リトライ動作時における所定のステップ数には特に限定されないが、後述するリトライ動作時におけるロータ位置確認センサ150の確認タイミングと同数としておく例を挙げることができる。次に、ステップ2782で、励磁方法切替制御手段3261aは、ステッピングモータ動作に係るリトライ動作用の励磁方式(本例では、1−2相励磁方式)とリトライ動作用の1ステップの切替速度(本例では、6ms)を、励磁方法設定情報一時記憶手段3316に一時記憶する。ここで、後述するように、本実施形態では、ステッピングモータ動作に係る通常動作用の励磁方式は2−2相励磁方式が設定されるのに対し、リトライ動作用の励磁方式は1−2相励磁方式が設定される。以下、この点について詳述する。まず、前述のように、本例で挙げている励磁方式(1−1相励磁方式、2−2相励磁方式、1−2相励磁方式)の内、発生するトルクに関しては、1−1相励磁方式<1−2相励磁方式<2−2相励磁方式の順番に大きくなっていく反面、球噛み等の外力によってモータ駆動が阻害されている状況下では、同様の順番でモータへの負荷が大きくなっていく。即ち、本例のように、球噛み等が発生したことに起因してリトライ動作を実行する場合には、2−2相励磁方式から1−2相励磁方式(又は1−1相励磁方式)へ切り替えることによってモータへの負荷を抑え、モータが破損してしまう確率を低減することができるのである。また、励磁方式を切り替えることと併せて、1ステップの切替速度を落とす{ステータの励磁タイミングをX(例えば3ms)に1回からY(Y>X、例えば6ms)に1回へ変更する}ことによって、更にモータへの負荷を抑えることができると共に、ステータが励磁されない間隔を相対的に長く確保することができる。換言すれば、スプロケットへ供給される単位時間あたりの動力が相対的に低下することとなるため、球噛み等の異常動作が解消される確率を高めることが可能となるのである。フローチャートの説明に戻ると、次に、ステップ2783で、リトライ動作制御手段3261は、ステッピングモータ動作に係る球通過待ち時間・モータ休止時間として所定値(本例では、500ms)を、球通過待ちタイマ3315にセットする。次に、ステップ2784で、リトライ動作制御手段3261は、払出状態フラグ一時記憶手段3311内のリトライ動作実行中フラグをオンにする。そして、ステップ2785で、リトライ動作制御手段3400は、払出状態フラグ一時記憶手段3311内のモータ駆動中フラグをオンにして、次の処理(ステップ2790の要払出停止異常検出時エラー制御処理)に移行する。尚、ステップ2777又はステップ2778でNoの場合にも、次の処理(ステップ2790の要払出停止異常検出時エラー制御処理)に移行する。   Next, in step 2777, the payout motor abnormality detection error control means 3260 refers to the error flag temporary storage means 3221 and determines whether or not the payout motor error flag is on. In the case of Yes in step 2777, in step 2778, the retry operation control unit 3261 refers to the payout state flag temporary storage unit 3311 and determines whether or not the retry operation execution permission flag is on. In the case of Yes in step 2778, the retry operation control unit 3261 turns off the retry operation execution permission flag in the payout state flag temporary storage unit 3311 in step 2779. Next, in step 2780, the retry operation control unit 3261 sets a predetermined number of steps during the retry operation as a step counter value (n) in the step counter temporary storage unit 3313. Here, the predetermined number of steps at the time of the retry operation is not particularly limited, but an example in which the same number as the confirmation timing of the rotor position confirmation sensor 150 at the time of the retry operation described later can be given. Next, in step 2882, the excitation method switching control means 3261a switches the excitation speed for the retry operation related to the stepping motor operation (in this example, the 1-2 phase excitation method) and the switching speed of one step for the retry operation (this In the example, 6 ms) is temporarily stored in the excitation method setting information temporary storage means 3316. Here, as will be described later, in this embodiment, the excitation method for the normal operation related to the stepping motor operation is set to the 2-2 phase excitation method, while the excitation method for the retry operation is set to the 1-2 phase excitation method. The excitation method is set. Hereinafter, this point will be described in detail. First, as described above, among the excitation methods (1-1 phase excitation method, 2-2 phase excitation method, 1-2 phase excitation method) listed in this example, the generated torque is 1-1 phase. Excitation method <1-2 phase excitation method <2-2 phase excitation method In the order of increasing, on the other hand, in the situation where the motor drive is obstructed by external force such as ball engagement, the load on the motor in the same order Is getting bigger. That is, as in this example, when a retry operation is executed due to the occurrence of a ball bite or the like, the 2-2 phase excitation method to the 1-2 phase excitation method (or 1-1 phase excitation method). By switching to, the load on the motor can be suppressed, and the probability that the motor will be damaged can be reduced. In addition to switching the excitation method, the switching speed of one step is reduced {the stator excitation timing is changed from once in X (for example, 3 ms) to once in Y (Y> X, for example, 6 ms)}. Thus, the load on the motor can be further suppressed, and the interval at which the stator is not excited can be secured relatively long. In other words, since the power per unit time supplied to the sprocket is relatively lowered, it is possible to increase the probability that an abnormal operation such as ball biting is eliminated. Returning to the description of the flowchart, next, in step 2783, the retry operation control means 3261 sets a predetermined value (500 ms in this example) as a ball passage waiting time / motor suspension time related to the stepping motor operation, and a ball passage waiting timer. Set to 3315. Next, in step 2784, the retry operation control unit 3261 turns on the retry operation execution flag in the payout state flag temporary storage unit 3311. In step 2785, the retry operation control means 3400 turns on the motor driving flag in the payout state flag temporary storage means 3311 and proceeds to the next processing (error control processing at the time of payout stop abnormality detection in step 2790). To do. In addition, also in the case of No in step 2777 or step 2778, the process proceeds to the next process (error control process at the time of detection of required stoppage stop abnormality in step 2790).

次に、図23は、図18のステップ2790のサブルーチンに係る、要払出停止異常検出時エラー制御処理のフローチャートである。はじめに、本処理の目的は、賞球払出処理の続行に係る致命的な異常を検出した場合には、エラー報知を実行すると共に、当該賞球払出処理の続行に係る致命的な異常が解消されるまで賞球払出処理の続行を不能とすることである。ここで、賞球払出処理の続行に係る致命的な異常とは、主制御基板200と払出制御基板230間の通信異常、カードユニットCと払出制御基板230間の通信異常、カウントセンサ143のセンサ異常、上皿満タン異常等が挙げられる。まず、ステップ2791で、要払出停止異常検出時エラー制御手段3270は、前述のような賞球払出処理の続行に係る致命的な異常が検出されたか否かを判定する。ステップ2791でYesの場合、ステップ2792で、要払出停止異常検出時エラー制御手段3270は、エラーフラグ一時記憶手段3221内の払出停止エラーフラグをオンにして、ステップ2793へ移行する。尚、ステップ2791でNoの場合にも、ステップ2793へ移行する。次に、ステップ2793で、要払出停止異常検出時エラー制御手段3270は、エラーフラグ一時記憶手段3221を参照し、払出停止エラーフラグがオンであるか否かを判定する。ステップ2793でYesの場合、ステップ2794で、要払出停止異常検出時エラー制御手段3270は、状態表示部130を駆使して払出停止エラーが発生した旨を報知する。次に、ステップ2795で、送信制御手段3120は、払出関連エラー情報として払出停止エラーが発生した旨を、主制御基板200側に送信する。次に、ステップ2796で、要払出停止異常検出時エラー制御手段3270は、賞球払出処理の続行に係る致命的な異常が解消したか否かを判定する。ステップ2796でYesの場合、ステップ2797で、要払出停止異常検出時エラー制御手段3270は、エラーフラグ一時記憶手段3221内の払出停止エラーフラグをオフにして、次の処理{ステップ2100の賞球払出関連情報受信処理(対主制御基板)}に移行する。尚、ステップ2793でNoの場合にも、次の処理{ステップ2100の賞球払出関連情報受信処理(対主制御基板)}に移行する。他方、ステップ2796でNoの場合には、再度ステップ2796へ移行することで、無限ループ処理へと移行する。ここで、本実施形態では、賞球払出処理の続行に係る致命的な異常が解消するまで当該無限ループ処理が実行されるよう構成されているが、これには限定されない。その場合には、ステップ2700の異常検出時エラー制御処理のみを実行するよう構成してもよく、当該賞球払出処理の続行に係る致命的な異常とその他の異常が重複して発生した際に、それら異常を全て検出可能な構成とする場合に好適である。   Next, FIG. 23 is a flowchart of the error control process at the time of detecting a required payout abnormality according to the subroutine of step 2790 of FIG. First, the purpose of this process is to execute error notification when a fatal abnormality related to the continuation of the prize ball payout process is detected, and to resolve the fatal abnormality related to the continuation of the prize ball payout process. The prize ball payout process cannot be continued until Here, the fatal abnormality related to the continuation of the prize ball payout process includes a communication error between the main control board 200 and the payout control board 230, a communication error between the card unit C and the payout control board 230, and a sensor of the count sensor 143. Abnormality, upper plate full tank abnormality, etc. are mentioned. First, at step 2791, the required payout stop abnormality detection error control means 3270 determines whether or not a fatal abnormality related to the continuation of the prize ball payout process as described above has been detected. In the case of Yes in step 2791, in step 2792, the payout stop abnormality detection error control means 3270 turns on the payout stop error flag in the error flag temporary storage means 3221, and proceeds to step 2793. In the case of No in step 2791, the process proceeds to step 2793. Next, in Step 2793, the payout stop abnormality detection error control means 3270 refers to the error flag temporary storage means 3221 and determines whether or not the payout stop error flag is on. If Yes in step 2793, in step 2794, the payout stop abnormality detection error control means 3270 uses the status display unit 130 to notify that a payout stop error has occurred. Next, in step 2795, the transmission control means 3120 transmits to the main control board 200 side that a payout stop error has occurred as payout related error information. Next, in Step 2796, the required payout stop abnormality detection error control means 3270 determines whether or not the fatal abnormality related to the continuation of the winning ball payout process has been resolved. In the case of Yes in step 2796, in step 2797, the error control means 3270 upon detection of a required payout stop abnormality turns off the payout stop error flag in the error flag temporary storage means 3221 and performs the next process {the prize ball payout in step 2100. The process proceeds to related information reception processing (vs. main control board)}. Even in the case of No in step 2793, the process proceeds to the next process {the prize ball payout related information reception process (vs. main control board) in step 2100}. On the other hand, in the case of No in step 2796, the process shifts to step 2796 again to shift to an infinite loop process. Here, in the present embodiment, the infinite loop process is executed until the fatal abnormality related to the continuation of the winning ball payout process is resolved, but the present invention is not limited to this. In that case, it may be configured to execute only the error control process at the time of abnormality detection in step 2700, and when a fatal abnormality related to the continuation of the prize ball payout process and other abnormality occur in duplicate. It is suitable for a configuration in which all of these abnormalities can be detected.

次に、図24は、図16のステップ2100のサブルーチンに係る、賞球払出関連情報受信処理(対主制御基板)のフローチャートである。ここで、当該フローの前半が主制御基板200からの情報受信処理(及びこれに伴う賞球払出数のセット処理)であり、当該フローの後半が主制御基板200への情報送信処理である。そこで、前半の主制御基板200からの情報受信処理(及びこれに伴う賞球払出数のセット処理)から説明すると、まず、ステップ2105で、メイン側受信制御手段3111は、払出状態フラグ一時記憶手段3311を参照し、賞球払出中フラグがオフであるか否かを判定する。ここで、「賞球払出中フラグ」とは、払出制御側での賞球払出処理が実行中の場合(払出装置の払出モータが駆動動作中である場合や、球通過待ち時間・モータ休止時間中である場合)にオンになるフラグである。ステップ2105でYesの場合、ステップ2110で、メイン側受信制御手段3111は、メイン側受信情報一時記憶手段3111aを参照し、賞球払出コマンドを受信したか否かを判定する。ステップ2110でYesの場合、ステップ2115で、払出制御手段3300は、払出状態フラグ一時記憶手段3311のフラグ領域にアクセスし、賞球払出開始許可フラグをオンにする。次に、ステップ2120で、払出制御手段3300は、メイン側受信情報一時記憶手段3111aに一時記憶されている賞球払出コマンド情報に基づき、今回払い出されるべき賞球数を導き、当該賞球数情報を払出カウンタ3312にセットし、次の処理(ステップ2125)に移行する。以上で、通常の賞球払出処理が実行される際の、賞球払出数のセット処理を終了する。尚、ステップ2105及びステップ2110でNoの場合にも次の処理(ステップ2125)に移行する。   Next, FIG. 24 is a flowchart of prize ball payout related information reception processing (vs. main control board) according to the subroutine of step 2100 of FIG. Here, the first half of the flow is an information reception process from the main control board 200 (and a process for setting the number of winning ball payouts associated therewith), and the second half of the flow is an information transmission process to the main control board 200. Accordingly, the information reception process from the main control board 200 in the first half (and the process of setting the number of winning ball payouts associated therewith) will be described first. Referring to 3311, it is determined whether or not the winning ball payout flag is off. Here, the “Prize ball paying out flag” means that when the pay ball paying process is being executed on the payout control side (when the payout motor of the payout device is in driving operation, or when the ball passing waiting time / motor pause time) This flag turns on when In the case of Yes in step 2105, in step 2110, the main-side reception control means 3111 refers to the main-side reception information temporary storage means 3111a and determines whether or not a prize ball payout command has been received. In the case of Yes in step 2110, in step 2115, the payout control means 3300 accesses the flag area of the payout state flag temporary storage means 3311 and turns on the prize ball payout start permission flag. Next, in step 2120, the payout control means 3300 derives the number of prize balls to be paid out this time based on the prize ball payout command information temporarily stored in the main-side received information temporary storage means 3111a, and the prize ball number information Is set in the payout counter 3312, and the process proceeds to the next process (step 2125). This completes the process of setting the number of prize balls to be paid when the normal prize ball payout process is executed. It should be noted that the process proceeds to the next process (step 2125) also when No in step 2105 and step 2110.

次に、主制御基板200への情報送信処理を説明すると、まず、ステップ2125で、送信制御手段3120は、エラーフラグ一時記憶手段3221を参照し、払出関連エラー送信フラグがオンであるか否かを判定する。ここで、「払出関連エラー送信フラグ」とは、前述のような払出関連エラー{払出モータ動作エラー、過剰払出エラー、球切れエラー、球不足エラー、払出モータエラー、払出停止エラー}が発生した際にオンとなり、当該エラー報知が主制御基板側になされた後にオフとなるフラグである。ステップ2125でYesの場合、ステップ2130で、エラー制御手段3200は、エラーフラグ一時記憶手段3221内の払出関連エラー送信フラグをオフにする。そして、ステップ2135で、送信制御手段3120は、払出関連エラー情報一時記憶手段3121にセットされた払出関連エラー情報を主制御基板200側に送信し、次の処理(ステップ2140)に移行する。尚、ステップ2125でNoの場合にも次の処理(ステップ2140)に移行する。   Next, the process of transmitting information to the main control board 200 will be described. First, in step 2125, the transmission control means 3120 refers to the error flag temporary storage means 3221 to determine whether or not the payout related error transmission flag is on. Determine. Here, the “payout-related error transmission flag” means that the above-mentioned payout-related error {payout motor operation error, excessive payout error, ball out error, ball shortage error, payout motor error, payout stop error} occurs. This flag is turned on and turned off after the error notification is made on the main control board side. In the case of Yes in step 2125, in step 2130, the error control unit 3200 turns off the payout related error transmission flag in the error flag temporary storage unit 3221. In step 2135, the transmission control means 3120 transmits the payout-related error information set in the payout-related error information temporary storage means 3121 to the main control board 200 side, and proceeds to the next process (step 2140). Note that if the result is No in step 2125, the process proceeds to the next process (step 2140).

次に、ステップ2140で、送信制御手段3120は、払出状態フラグ一時記憶手段3311を参照し、賞球払出完了フラグがオンであるか否かを判定する。ここで、「賞球払出完了フラグ」とは、払出制御手段3300により賞球払出が完了したと判定された場合にオンとなるフラグである。ステップ2140でYesの場合、ステップ2145で、送信制御手段3120は、払出状態フラグ一時記憶手段3311のフラグ領域にアクセスし、賞球払出完了フラグをオフにする。そして、ステップ2150で、送信制御手段3120は、主制御基板200側に対して賞球払出が完了した旨の情報を送信し、次の処理{ステップ2200の賞球払出制御処理(賞球払出開始・モータ駆動開始時)}に移行する。尚、ステップ2140でNoの場合にも、次の処理{ステップ2200の賞球払出制御処理(賞球払出開始・モータ駆動開始時)}に移行する。以上で、賞球払出完了情報送信処理を終了する。   Next, in step 2140, the transmission control means 3120 refers to the payout state flag temporary storage means 3311 and determines whether or not the prize ball payout completion flag is on. Here, the “prize ball payout completion flag” is a flag that is turned on when it is determined by the payout control means 3300 that the prize ball payout has been completed. In the case of Yes in step 2140, in step 2145, the transmission control means 3120 accesses the flag area of the payout state flag temporary storage means 3311 and turns off the winning ball payout completion flag. In step 2150, the transmission control means 3120 transmits information indicating that the prize ball payout has been completed to the main control board 200 side, and the next process {the prize ball payout control process in step 2200 (the prize ball payout start).・ When starting motor drive}. Even in the case of No in step 2140, the process proceeds to the next process {award ball payout control process in step 2200 (award ball payout start / motor driving start)}. The winning ball payout completion information transmission process is thus completed.

次に、図25は、図16のステップ2200のサブルーチンに係る、賞球払出制御処理(賞球払出開始・モータ駆動開始時)のフローチャートである。ここで、当該処理は、次のステップ2300のモータ駆動処理を実行する前段階の処理であり、主制御基板側からの賞球払出コマンドを受信したことを受けてモータ駆動のステップ数等をセットする処理である。まず、ステップ2205で、払出制御手段3300は、払出状態フラグ一時記憶手段3311を参照し、賞球払出開始許可フラグ(図17のステップ2660及び図24のステップ2115参照)がオンであるか否かを判定する。ステップ2205でYesの場合、ステップ2210及びステップ2215で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、賞球払出中フラグをオンにすると共に賞球払出開始許可フラグをオフにする。そして、ステップ2220で、払出制御手段3300は、払出カウンタ3312にセットされている賞球払出個数が所定個数(例えば3個)以上であるか否かを判定する。ステップ2220でYesの場合、ステップ2225で、払出制御手段3300は、所定個数分払い出されるよう、ステップカウンタ一時記憶手段3313にカウンタ値(n)を一時記憶し、ステップ2232に移行する。ここで一時記憶されるカウンタ値(n)は、ステッピングモータのステップ数である(本実施形態では、1−1相励磁方式及び2−2相励磁方式の場合は24ステップで1球が排出され、1−2相励磁方式の場合は48ステップで1球が排出される)。他方、ステップ2220でNoの場合、払出制御手段3300は、払出カウンタ3312にセットされている賞球払出個数が払い出されるよう、ステップカウンタ一時記憶手段3313にカウンタ値(n)を一時記憶し、ステップ2232に移行する。そして、ステップ2232で、払出制御手段3300は、今回の単位払出動作における払出予定個数(即ち、ステップ2225又はステップ2230で予定している払出個数)を、単位払出カウンタ3317にセットする。次に、ステップ2237で、払出制御手段3300は、ステッピングモータ動作に係る通常動作用の励磁方式(本例では、2−2相励磁方式)と通常動作用の1ステップの切替速度(本例では、3ms)を、励磁方法設定情報一時記憶手段3316に一時記憶する。次に、ステップ2238で、払出制御手段3300は、ステッピングモータ動作に係る球通過待ち時間・モータ休止時間として所定値(本例では、500ms)を、球通過待ちタイマ3315にセットする。次に、ステップ2239で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、リトライ動作実行中フラグをオフにする。ここで、リトライ動作実行中フラグとは、前述のようにステッピングモータ動作に係るリトライ動作を実行中においてオンとなるフラグである。そして、ステップ2240で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、モータ駆動中フラグをオンにし、次の処理{ステップ2300の賞球払出制御処理(モータ駆動終了時・賞球払出終了時)}に移行する。他方、ステップ2205でNoの場合、ステップ2245で、払出制御手段3300は、払出状態フラグ一時記憶手段3311を参照し、モータ駆動中フラグがオンであるか否かを判定する。ステップ2245でYesの場合には、既にモータが駆動されているので、次の処理{ステップ2300の賞球払出制御処理(モータ駆動終了時・賞球払出終了時)}に移行する。他方、ステップ2245でNoの場合には、ステップ2250で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、賞球払出継続フラグがオフであるか否かを判定する。ここで、賞球払出継続フラグとは、単位払出動作における所定ステップ数分のステッピングモータ動作後であって、球通過待ち時間・モータ休止時間経過時において、賞球払出動作を継続すべき場合(詳細な条件については後述する)にオンとなるフラグである。ステップ2250でYesの場合には、次の処理{ステップ2300の賞球払出制御処理(モータ駆動終了時・賞球払出終了時)}に移行する。他方、ステップ2250でNoの場合には、ステップ2252で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、賞球払出継続フラグをオフにする。そして、ステップ2254で、払出制御手段3300は、単位払出カウンタ3317を参照し、当該カウンタ値が0超過であるか否か(即ち、今回の単位払出動作による払出予定個数分が全て払出されなかったか否か)を判定する。ステップ2254でYesの場合、ステップ2256で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、球経路異常検出フラグをオンにして、ステップ2220へ移行する。他方、ステップ2254でNoの場合には、ステップ2256を実行することなくステップ2220へ移行する。即ち、賞球払出継続フラグがオンである場合には、主制御基板側からの賞球払出コマンドの受信を契機とすることなく、再度モータ駆動のステップ数等をセットする処理を実行すると共に、今回の単位払出動作による払出予定個数分が全て払出されなかったと判定された場合には、球切れエラー又は球不足エラーの要因となる異常発生が検出されることとなる。   Next, FIG. 25 is a flowchart of the prize ball payout control process (at the start of prize ball payout / motor driving start) according to the subroutine of step 2200 in FIG. Here, this process is a process before the execution of the motor drive process of the next step 2300, and the number of motor drive steps and the like are set in response to receiving a prize ball payout command from the main control board side. It is processing to do. First, in step 2205, the payout control means 3300 refers to the payout state flag temporary storage means 3311, and whether or not the prize ball payout start permission flag (see step 2660 in FIG. 17 and step 2115 in FIG. 24) is on. Determine. In the case of Yes in step 2205, in step 2210 and step 2215, the payout control means 3300 accesses the payout state flag temporary storage means 3311 to turn on the winning ball paying-out flag and turn off the winning ball payout start permission flag. To do. In step 2220, the payout control means 3300 determines whether or not the number of prize balls paid out set in the payout counter 3312 is equal to or greater than a predetermined number (for example, 3). In the case of Yes in step 2220, in step 2225, the payout control means 3300 temporarily stores the counter value (n) in the step counter temporary storage means 3313 so that a predetermined number of payouts are paid, and the process proceeds to step 2232. The counter value (n) temporarily stored here is the number of steps of the stepping motor (in this embodiment, one ball is discharged in 24 steps in the case of the 1-1 phase excitation method and the 2-2 phase excitation method). In the case of the 1-2 phase excitation method, one ball is discharged in 48 steps). On the other hand, in the case of No in step 2220, the payout control means 3300 temporarily stores the counter value (n) in the step counter temporary storage means 3313 so that the number of winning ball payouts set in the payout counter 3312 is paid out. 2232 is entered. In step 2232, the payout control unit 3300 sets the payout planned number in this unit payout operation (that is, the payout number scheduled in step 2225 or step 2230) in the unit payout counter 3317. Next, in step 2237, the payout control means 3300 switches the normal operation excitation method (2-2 phase excitation method in this example) and the normal operation 1 step switching speed (in this example) to the stepping motor operation. 3 ms) is temporarily stored in the excitation method setting information temporary storage means 3316. Next, in step 2238, the payout control means 3300 sets a predetermined value (500 ms in this example) as a ball passage waiting timer 3315 as a ball passage waiting time / motor suspension time related to the stepping motor operation. Next, in step 2239, the payout control means 3300 accesses the payout state flag temporary storage means 3311 and turns off the retry operation execution flag. Here, the retry operation execution flag is a flag that is turned on during execution of the retry operation related to the stepping motor operation as described above. In step 2240, the payout control means 3300 accesses the payout state flag temporary storage means 3311, turns on the motor driving flag, and proceeds to the next process {the award ball payout control process in step 2300 (at the end of motor driving / award). At the end of ball payout)}. On the other hand, in the case of No in step 2205, in step 2245, the payout control means 3300 refers to the payout state flag temporary storage means 3311 and determines whether or not the motor driving flag is on. In the case of Yes in step 2245, since the motor has already been driven, the process proceeds to the next process {the prize ball payout control process in step 2300 (at the end of motor drive and at the end of prize ball payout)}. On the other hand, in the case of No in step 2245, in step 2250, the payout control means 3300 accesses the payout state flag temporary storage means 3311 and determines whether or not the prize ball payout continuation flag is off. Here, the winning ball payout continuation flag is after the stepping motor operation for a predetermined number of steps in the unit payout operation, and when the winning ball payout operation should be continued when the ball passing waiting time / motor rest time elapses ( A detailed condition is described later. In the case of Yes in step 2250, the process proceeds to the next process {award ball payout control process in step 2300 (at the end of motor driving / end of a prize ball payout)}. On the other hand, in the case of No in step 2250, in step 2252, the payout control means 3300 accesses the payout state flag temporary storage means 3311 and turns off the prize ball payout continuation flag. In step 2254, the payout control means 3300 refers to the unit payout counter 3317 and determines whether or not the counter value exceeds 0 (that is, all the payout amount for the current unit payout operation has not been paid out). Or not). In the case of Yes in step 2254, in step 2256, the payout control means 3300 accesses the payout state flag temporary storage means 3311, turns on the ball path abnormality detection flag, and proceeds to step 2220. On the other hand, in the case of No in step 2254, the process proceeds to step 2220 without executing step 2256. That is, when the winning ball payout continuation flag is on, the process of setting the number of steps of motor driving and the like is executed again without receiving the winning ball payout command from the main control board side, If it is determined that all of the scheduled payout amount due to the current unit payout operation has not been paid out, the occurrence of an abnormality that causes a ball shortage error or a ball shortage error is detected.

次に、図26は、図16のステップ2300のサブルーチンに係る、賞球払出制御処理(モータ駆動終了時・賞球払出終了時)のフローチャートである。ここで、当該処理は、前の処理(ステップ2200)で予定されているすべてのモータの駆動終了を実行し、或いは、予定されているすべての賞球払出が実行された際の終了処理である。ここで、ステップ2302〜ステップ2319にかけてモータ駆動終了処理を実行し、ステップ2320〜ステップ2325にかけて遊技球検知処理を実行し、ステップ2330〜ステップ2362にかけて賞球払出終了処理を実行する。はじめに、モータ駆動終了処理から説明すると、まず、ステップ2302で、払出制御手段3300は、払出状態フラグ一時記憶手段3311のフラグ領域を参照し、賞球払出中フラグがオンであるか否かを判定する。ステップ2302でYesの場合、ステップ2305で、払出制御手段3300は、払出状態フラグ一時記憶手段3311のフラグ領域を参照し、モータ駆動中フラグがオンであるか否かを判定する。ステップ2305でYesの場合、ステップ2310で、払出制御手段3300は、ステップカウンタ一時記憶手段3313内のカウンタ値(n)を参照し、カウンタ値が0であるか否か、即ち、図25のステップ2225又はステップ2230でセットした今回の単位払出動作におけるステップ数がすべて実行されたか否かを判定する。ステップ2310でYesの場合、ステップ2315で、払出制御手段3300は、払出状態フラグ一時記憶手段3311のフラグ領域にアクセスし、モータ駆動中フラグをオフにする。次に、ステップ2316で、払出制御手段3300は、払出状態フラグ一時記憶手段3311のフラグ領域を参照し、リトライ動作実行中フラグがオンであるか否かを判定する。ステップ2316でYesの場合、ステップ2317で、払出制御手段3300は、払出状態フラグ一時記憶手段3311のフラグ領域にアクセスし、リトライ動作実行中フラグをオフにして、ステップ2318へ移行する。他方、ステップ2316でNoの場合には、ステップ2318へ移行する。次に、ステップ2318で、払出制御手段3300は、ステッピングモータの休止状態を維持(本例では、励磁出力を下げた上で、現在の励磁ステータ位置特定カウンタ値(j)に継続励磁)する。ここで、励磁ステータ位置特定カウンタは、ステータに対するロータの相対位置を示したものであり、「0」が払出待機(停止)時におけるデフォルト位置に相当する。次に、ステップ2319で、払出制御手段3300は、球通過待ちタイマ3315をスタートさせ、ステップ2320に移行する。尚、ステップ2305又はステップ2310でNoの場合にもステップ2320に移行する。以上で、モータ駆動終了処理を終了する。   Next, FIG. 26 is a flowchart of prize ball payout control processing (at the end of motor driving / end of prize ball payout) according to the subroutine of step 2300 in FIG. Here, the process is an end process when all the motors scheduled to be driven in the previous process (step 2200) are completed or when all the prize ball payouts are scheduled. . Here, motor drive end processing is executed from step 2302 to step 2319, game ball detection processing is executed from step 2320 to step 2325, and prize ball payout end processing is executed from step 2330 to step 2362. First, the motor drive end process will be described. First, in step 2302, the payout control means 3300 refers to the flag area of the payout state flag temporary storage means 3311 to determine whether or not the winning ball payout flag is on. To do. If Yes in step 2302, in step 2305, the payout control means 3300 refers to the flag area of the payout state flag temporary storage means 3311 and determines whether or not the motor driving flag is on. In the case of Yes in step 2305, in step 2310, the payout control means 3300 refers to the counter value (n) in the step counter temporary storage means 3313 and determines whether or not the counter value is 0, that is, the step of FIG. It is determined whether or not all the number of steps in the current unit payout operation set in step 2225 or step 2230 has been executed. In the case of Yes in step 2310, in step 2315, the payout control means 3300 accesses the flag area of the payout state flag temporary storage means 3311 and turns off the motor driving flag. Next, in step 2316, the payout control means 3300 refers to the flag area of the payout state flag temporary storage means 3311, and determines whether or not the retry operation execution flag is on. In the case of Yes in step 2316, in step 2317, the payout control unit 3300 accesses the flag area of the payout state flag temporary storage unit 3311, turns off the retry operation execution flag, and proceeds to step 2318. On the other hand, if No in step 2316, the process proceeds to step 2318. Next, at step 2318, the payout control means 3300 maintains the stepping motor in a paused state (in this example, the excitation output is lowered and the current excitation stator position specifying counter value (j) is continuously excited). Here, the excitation stator position specifying counter indicates the relative position of the rotor with respect to the stator, and “0” corresponds to the default position at the time of standby (pause). Next, in step 2319, the payout control means 3300 starts a ball passage waiting timer 3315 and proceeds to step 2320. Note that if the answer is No in step 2305 or step 2310, the process also proceeds to step 2320. This completes the motor drive end process.

次に、遊技球検出処理を説明すると、まず、ステップ2320で、払出制御手段3300は、カウントセンサ143から遊技球検出信号を受信したか否かを判定する。ステップ2320でYesの場合、ステップ2322で、払出制御手段3300は、単位払出カウンタ3317に一時記憶されているカウンタ値を1減算する。次に、ステップ2325で、払出制御手段3300は、払出カウンタ3312に一時記憶されているカウンタ値を1減算し、次の処理(ステップ2330)に移行する。尚、ステップ2320でNoの場合にも次の処理(ステップ2330)に移行する。以上で、遊技球検出時処理を終了する。   Next, the game ball detection process will be described. First, in step 2320, the payout control means 3300 determines whether or not a game ball detection signal is received from the count sensor 143. In the case of Yes in step 2320, the payout control unit 3300 decrements the counter value temporarily stored in the unit payout counter 3317 by 1 in step 2322. Next, in step 2325, the payout control means 3300 decrements the counter value temporarily stored in the payout counter 3312 by 1 and proceeds to the next process (step 2330). Note that if the answer is No in Step 2320, the process proceeds to the next process (Step 2330). This is the end of the game ball detection process.

次に、賞球払出終了処理を説明すると、まず、ステップ2330で、払出制御手段3300は、払出カウンタ3312を参照し、カウント値が0以下であるか否かを判定する。ステップ2330でYesの場合、ステップ2335及びステップ2340で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、賞球払出中フラグをオフにすると共に賞球払出完了フラグをオンにする。次に、ステップ2341で、払出制御手段3300は、払出カウンタ3312を参照し、カウント値が0未満であるか否かを判定する。ステップ2341でYesの場合、ステップ2342で、払出制御手段3300は、払出状態フラグ一時記憶手段3311内の払出異常検出フラグをオンにする。次に、払出制御手段3300は、払出カウンタ3312を参照し、当該カウント値に基づき過剰払出数(例えば、カウンタ値が−3であれば、過剰払出数は3)を払出処理関連情報一時記憶手段3310に一時記憶し、次の処理{ステップ2400の賞球払出制御処理(モータ駆動実行時)}に移行する。尚、ステップ2341でNoの場合(即ち、払出カウンタ3312のカウント値が0であり、所定の払出個数分が正常に払出された場合)にも、次の処理{ステップ2400の賞球払出制御処理(モータ駆動実行時)}に移行する。他方、ステップ2330でNoの場合、ステップ2345で、払出制御手段3300は、球通過待ちタイマ3315のタイマ値を参照し、当該タイマ値が0であるか否かを判定する。ステップ2345でYesの場合、ステップ2347で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、リトライ動作実行待機フラグがオフであるか否かを判定する。ここで、リトライ動作実行待機フラグとは、前述のようにモータ駆動中においてモータエラーが発生した場合にオンとなるフラグである。ステップ2347でYesの場合、ステップ2350で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、賞球払出継続フラグをオンにし、次の処理{ステップ2400の賞球払出制御処理(モータ駆動実行時)}へ移行する。他方、ステップ2347でNoの場合、ステップ2360及びステップ2362で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、リトライ動作実行待機フラグをオフにすると共に、リトライ動作実行許可フラグをオンにし、次の処理{ステップ2400の賞球払出制御処理(モータ駆動実行時)}へ移行する。尚、ステップ2345でNoの場合にも、次の処理{ステップ2400の賞球払出制御処理(モータ駆動実行時)}へ移行する。ここで、ステップ2302でNoの場合(即ち、賞球払出処理が実行中でない場合)には、ステップ2370で、払出制御手段3300は、カウントセンサ143から遊技球検出信号を受信したか否かを判定する。ステップ2370でYesの場合、ステップ2372で、払出制御手段3300は、払出状態フラグ一時記憶手段3311内の払出モータ動作異常検出フラグをオンにして、次の処理{ステップ2400の賞球払出制御処理(モータ駆動実行時)}へ移行する。尚、ステップ2370でNoの場合にも、次の処理{ステップ2400の賞球払出制御処理(モータ駆動実行時)}へ移行する。   Next, the winning ball payout end process will be described. First, in step 2330, the payout control means 3300 refers to the payout counter 3312 and determines whether or not the count value is 0 or less. In the case of Yes in step 2330, in step 2335 and step 2340, the payout control means 3300 accesses the payout state flag temporary storage means 3311 to turn off the winning ball payout flag and turn on the winning ball payout completion flag. . Next, in step 2341, the payout control means 3300 refers to the payout counter 3312 and determines whether or not the count value is less than zero. If Yes in step 2341, the payout control means 3300 turns on the payout abnormality detection flag in the payout state flag temporary storage means 3311 in step 2342. Next, the payout control means 3300 refers to the payout counter 3312 and based on the count value, the payout process related information temporary storage means calculates the excessive payout number (for example, if the counter value is −3, the excessive payout number is 3). Temporarily stored in 3310, the process proceeds to the next process {award ball payout control process in step 2400 (during motor drive)}. In the case of No in step 2341 (that is, when the count value of the payout counter 3312 is 0 and the predetermined payout number is normally paid out), the next process {the prize ball payout control process in step 2400 is also performed. (During motor drive execution)}. On the other hand, in the case of No in step 2330, in step 2345, the payout control means 3300 refers to the timer value of the ball passage waiting timer 3315 and determines whether or not the timer value is zero. In the case of Yes in step 2345, in step 2347, the payout control means 3300 accesses the payout state flag temporary storage means 3311 and determines whether or not the retry operation execution standby flag is off. Here, the retry operation execution standby flag is a flag that is turned on when a motor error occurs during motor driving as described above. In the case of Yes in step 2347, in step 2350, the payout control means 3300 accesses the payout state flag temporary storage means 3311, turns on the prize ball payout continuation flag, and proceeds to the next process {the prize ball payout control process in step 2400 ( (When motor drive is executed)}. On the other hand, in the case of No in step 2347, in step 2360 and step 2362, the payout control means 3300 accesses the payout state flag temporary storage means 3311, turns off the retry operation execution standby flag, and sets a retry operation execution permission flag. It is turned on, and the process proceeds to the next process {award ball payout control process in step 2400 (during motor drive)}. Even in the case of No in step 2345, the process proceeds to the next process {award ball payout control process in step 2400 (during motor drive)}. Here, in the case of No in Step 2302 (that is, when the prize ball payout process is not being executed), in Step 2370, the payout control means 3300 determines whether or not a game ball detection signal has been received from the count sensor 143. judge. In the case of Yes in step 2370, in step 2372, the payout control means 3300 turns on the payout motor operation abnormality detection flag in the payout state flag temporary storage means 3311 to perform the next process {the winning ball payout control process in step 2400 ( (When motor drive is executed)}. Even in the case of No in step 2370, the process proceeds to the next process {award ball payout control process in step 2400 (during motor drive)}.

次に、図27は、図16のステップ2400のサブルーチンに係る、賞球払出制御処理(モータ駆動実行時)のフローチャートである。ここで、当該処理は、前の処理(ステップ2200)でセットされたステップ数に基づき、実際にモータ駆動を実行する処理である。まず、ステップ2405で、払出制御手段3300は、払出状態フラグ一時記憶手段3311のフラグ領域を参照し、モータ駆動中フラグがオンであるか否かを判定する。尚、モータ駆動中フラグは、ステップカウンタ一時記憶手段3313に所定のステップカウンタ数がセットされた際にオンとなるフラグであり(図25のステップ2240参照)、当該所定のステップカウンタ数と対応した励磁がすべて実行された際にオフとなるフラグである。ここで、ステップ2405でYesの場合、ステップ2410で、払出制御手段3300は、ステップカウンタ一時記憶手段3313のステップカウンタ値(n)を1減算する。次に、ステップ2420で、払出制御手段3300は、モータ制御コマンドテーブル2218を参照し、励磁ステータ位置特定カウンタ値一時記憶手段3314における励磁ステータ位置特定カウンタ値(j)を更新(1インクリメント)する。次に、ステップ2425で、払出制御手段3300は、モータ制御コマンドテーブル3318を参照し、励磁方法設定情報一時記憶手段3316内に一時記憶(設定)されている励磁方式と切替速度に基づき、励磁ステータ位置特定カウンタ値一時記憶手段3314における励磁ステータ位置特定カウンタ値(j)に対応したステータ励磁コマンドを、払出モータドライバ141eに送信する。   Next, FIG. 27 is a flowchart of the prize ball payout control process (during motor drive execution) according to the subroutine of step 2400 of FIG. Here, the process is a process of actually executing motor driving based on the number of steps set in the previous process (step 2200). First, in step 2405, the payout control means 3300 refers to the flag area of the payout state flag temporary storage means 3311 and determines whether or not the motor driving flag is on. The motor driving flag is a flag that is turned on when a predetermined step counter number is set in the step counter temporary storage unit 3313 (see step 2240 in FIG. 25), and corresponds to the predetermined step counter number. This flag is turned off when all excitation is executed. Here, in the case of Yes in step 2405, in step 2410, the payout control means 3300 decrements the step counter value (n) in the step counter temporary storage means 3313 by 1. Next, in step 2420, the payout control means 3300 refers to the motor control command table 2218 and updates (increments by 1) the excitation stator position specifying counter value (j) in the excitation stator position specifying counter value temporary storage means 3314. Next, in step 2425, the payout control means 3300 refers to the motor control command table 3318 and based on the excitation method and switching speed temporarily stored (set) in the excitation method setting information temporary storage means 3316. A stator excitation command corresponding to the excitation stator position specifying counter value (j) in the position specifying counter value temporary storage means 3314 is transmitted to the payout motor driver 141e.

ここで、図28は、モータ制御コマンドテーブル3318の一例である。図示されるように、モータ制御コマンド(ステータ励磁コマンド)は、励磁方法(2−2相励磁又は1−2相励磁)と励磁ステータ位置特定カウンタ値(j)とに基づいて決定されるよう構成されている。尚、前述したように、本例におけるステッピングモータ141dは、2相のステータを有しているものとして例示しているため、以下の説明のおいては、A相とB相といった表現を用いて説明している。本例に示されるように、本実施形態においては、当該モータ制御コマンドは、6bitのコマンドであり、先頭の3bitはA相の励磁制御に係る信号、残りの3bitはB相の励磁制御に係る信号となるよう構成されている。また、当該励磁制御に係る信号は、A相(又はB相)に対応する1対のステータに対していずれの向き(+又は−)に電流を流すかを表す1bitの情報(A相制御信号又はB相制御信号)と、当該1対のステータに対して流す電流のレベル(0%・67%・100%及びホームポジションでのモータ停止時にのみ使用する33%)を表す2bitの情報(A相電流レベル制御信号又はB相電流レベル制御信号)から構成されている。そして、このように構成されたモータの励磁制御に係る情報すべてを1コマンドとして、払出モータドライバ141eへ同時に送信可能となっており、即ち、当該6bitのコマンドを用いて、2相のステータにおけるいずれのステータ(例えば、A又はA’)をいずれの極にて磁化させるのか、更には、磁化させる度合いをどの程度にするのかを一括して制御可能に構成されている点に技術的特徴がある。尚、参考までに、従来のモータ制御コマンドとしては、A、A’或いはB、B’の各ステータに対する磁化可否に係る4bitの情報と、全ステータを磁化させる度合いに係る1bitの情報とで成り立っているものを一例として挙げることができるが、このような構成の場合、2相のステータにおけるいずれのステータをいずれの極にて磁化させるのかに係る情報として余剰な情報が含まれ得るものであり、且つ、磁化させる度合いを各ステータに対して設定できないためステッピングモータ141dの駆動制御をきめ細やかに設定することが困難である、といった問題点が存在していることを補足しておく。尚、モータ制御コマンドにおける各信号(各bitの情報)は夫々、後述する端子(PHASE1端子、IA1端子、IA2端子、PHASE2端子、IB1端子、IB2端子)から、払出モータドライバ141eへ入力可能に構成(接続)されている。尚、本例はあくまで一例であり、コマンドの内容やテーブルの構成など、本例の趣旨を大きく逸脱しない限り、適宜変更可能である{例えば、A相電流レベル制御信号又はB相電流レベル制御信号は、1bit(0%・100%の組み合わせ)としてもよいし、3相や5相の場合には、各相に係るモータ制御コマンドとなるbit列を付加するよう構成してもよい}。   Here, FIG. 28 is an example of the motor control command table 3318. As shown in the figure, the motor control command (stator excitation command) is determined based on the excitation method (2-2 phase excitation or 1-2 phase excitation) and the excitation stator position specifying counter value (j). Has been. As described above, since the stepping motor 141d in this example is illustrated as having a two-phase stator, in the following description, expressions such as A phase and B phase are used. Explains. As shown in this example, in this embodiment, the motor control command is a 6-bit command, the first 3 bits are signals related to A-phase excitation control, and the remaining 3 bits are related to B-phase excitation control. It is configured to be a signal. In addition, the signal related to the excitation control is 1-bit information (A-phase control signal) indicating in which direction (+ or −) the current flows to a pair of stators corresponding to the A-phase (or B-phase). Or B-phase control signal) and 2-bit information (A) indicating the level of current flowing to the pair of stators (0%, 67%, 100% and 33% used only when the motor is stopped at the home position). Phase current level control signal or B phase current level control signal). All information related to the excitation control of the motor configured as described above can be simultaneously transmitted to the payout motor driver 141e as one command, that is, any of the two-phase stators can be transmitted using the 6-bit command. There is a technical feature in that it is possible to collectively control at which pole the stator (for example, A or A ′) is magnetized, and further, the degree of magnetization. . For reference, the conventional motor control command is composed of 4-bit information related to whether or not each of the stators A, A ′ or B and B ′ is magnetized and 1-bit information related to the degree of magnetization of all the stators. However, in such a configuration, redundant information may be included as information on which stator in the two-phase stator is magnetized at which pole. In addition, it is supplemented that there is a problem that it is difficult to finely set the drive control of the stepping motor 141d because the degree of magnetization cannot be set for each stator. Each signal (information of each bit) in the motor control command can be input to the payout motor driver 141e from terminals (PHASE1, IA1, IA2, PHASE2, IB1, IB2) described later. (It is connected. Note that this example is merely an example, and the contents of the command, the configuration of the table, and the like can be appropriately changed as long as they do not deviate significantly from the purpose of this example. May be 1 bit (combination of 0% and 100%), and in the case of 3 phases or 5 phases, it may be configured to add a bit string serving as a motor control command for each phase}.

フローチャートの説明に戻ると、次に、ステップ2430で、払出制御手段3300は、払出状態フラグ一時記憶手段3311のフラグ領域を参照し、リトライ動作実行中フラグがオフであるか否かを判定する。ステップ2430でYesの場合、ステップ2432で、払出制御手段3300は、励磁ステータ位置特定カウンタ値一時記憶手段3313内のカウンタ値(j)が、通常動作時におけるロータ位置確認センサ150の確認タイミングであるか否かを判定する。ここで、通常動作時におけるロータ位置確認センサ150の確認とは、モータ動作に係る異常動作(球噛み等による脱調現象)が発生しているか否かを確認する目的で行われるものであり、例えば球1個分の払出動作実行中において少なくとも2回の確認タイミングを要するものである。例えば、1回目の確認タイミングにおいては、ロータ位置確認センサ150からの検知信号がOFFからONに切り替わっていることを以て正常動作とし、2回目の確認タイミングにおいては、ロータ位置確認センサ150からの検知信号がONからOFFに切り替わっていることを以て正常動作とする方法が挙げられる。このように、球1個分の払出動作実行中に2回の確認タイミングを設けることによって、モータ動作に係る異常動作を検出することが可能となる。尚、8ステップで1球の払出動作を行う場合には、4ステップ分(1/2球分)のモータ駆動実行時に1回目、8ステップ分(1球分)のモータ駆動実行時に2回目の確認タイミングを設けることが好適である。フローチャートの説明に戻ると、ステップ2432でYesの場合、ステップ2450で、払出制御手段3300は、ロータ位置確認センサ150からの検知信号の有無を参照する(j=4の場合にはOFFであることが正常、j=8の場合にはONであることが正常)。そして、ステップ2455で、エラー制御手段3200は、ステップ2450での検知信号の有無に基づき、ロータが正しく回転していないか否か、即ち、モータエラーが発生しているか否かを判定する。ステップ2455でYesの場合、ステップ2460で、エラー制御手段3200は、払出状態フラグ一時記憶手段3311におけるモータ位置異常フラグをオンにし、次の処理(ステップ2500のモータエラー時処理)に移行する。尚、ステップ2455でNoの場合には、ステップ2465で、エラー制御手段3200は、エラーフラグ一時記憶手段3221におけるモータエラーフラグをオフにし、次の処理(ステップ2500のモータエラー時処理)に移行する。   Returning to the description of the flowchart, next, in step 2430, the payout control means 3300 refers to the flag area of the payout state flag temporary storage means 3311 and determines whether or not the retry operation execution flag is off. In the case of Yes in step 2430, in step 2432, the payout control means 3300 indicates that the counter value (j) in the excitation stator position specifying counter value temporary storage means 3313 is the confirmation timing of the rotor position confirmation sensor 150 during normal operation. It is determined whether or not. Here, the confirmation of the rotor position confirmation sensor 150 during the normal operation is performed for the purpose of confirming whether or not an abnormal operation related to the motor operation (a step-out phenomenon due to ball biting or the like) has occurred. For example, at least two confirmation timings are required during the execution of the payout operation for one ball. For example, at the first confirmation timing, the detection signal from the rotor position confirmation sensor 150 is normally operated because the detection signal is switched from OFF to ON, and at the second confirmation timing, the detection signal from the rotor position confirmation sensor 150 is set. Is a method of performing normal operation by switching from ON to OFF. Thus, by providing two confirmation timings during the execution of the payout operation for one ball, it is possible to detect an abnormal operation related to the motor operation. In addition, when performing a one-ball payout operation in eight steps, the first time when motor driving for 4 steps (1/2 ball) is executed, and the second time when motor driving for 8 steps (one ball) is executed. It is preferable to provide a confirmation timing. Returning to the description of the flowchart, if Yes in Step 2432, the payout control means 3300 refers to the presence or absence of a detection signal from the rotor position confirmation sensor 150 in Step 2450 (if j = 4, it is OFF. Is normal, and when j = 8, it is normally ON). In step 2455, the error control means 3200 determines whether the rotor is not rotating correctly, that is, whether a motor error has occurred, based on the presence / absence of the detection signal in step 2450. In the case of Yes in step 2455, in step 2460, the error control means 3200 turns on the motor position abnormality flag in the payout state flag temporary storage means 3311 and shifts to the next process (process at the time of motor error in step 2500). If No in step 2455, the error control unit 3200 turns off the motor error flag in the error flag temporary storage unit 3221 in step 2465, and proceeds to the next processing (step 2500 motor error processing). .

他方、ステップ2430でNoの場合、ステップ2434で、払出制御手段3300は、励磁ステータ位置特定カウンタ値一時記憶手段3313内のカウンタ値(j)が、リトライ動作時におけるロータ位置確認センサ150の確認タイミングであるか否かを判定する。ここで、リトライ動作時におけるロータ位置確認センサ150の確認とは、モータ動作に係る異常動作発生後、後述するリトライ動作を実行することによって異常動作が解消したか否か及びロータ位置が正常位置に復帰したか否かを確認する目的で行われるものであり、例えば球1個分の払出動作実行中において複数回の確認タイミングを要するものである。ここで、正常動作における1回目の確認タイミングで異常動作が検出された(本例では、検知信号がOFFを維持している状態である)場合には、当該検知信号がONとなるまで、リトライ動作を繰り返す必要があり、他方、正常動作における2回目の確認タイミングで異常動作が検出された(本例では、検知信号がONを維持している状態である)場合には、当該検知信号がOFFとなるまで、リトライ動作を繰り返す必要がある。即ち、このような確認動作を効率良く完了させるためには、1度のリトライ動作によって、当該検知信号がON→OFF→ON(もしくは、OFF→ON→OFF)と連続して変化しない程度のモータ駆動毎に確認タイミングを設けておくことが好適である。尚、球1個分の払出動作実行中における確認タイミングは、スプロケット141や回転確認用部材141cの形状等により左右されるため、特に限定されないが、1/4〜1/8球分程度のモータ駆動毎に1回の確認タイミングを設けることが好適である。ここで、本実施形態では、後述するようにリトライ動作時には2−2相励磁方式から1−2相励磁方式へと切り替わる(即ち、球1個分の払出動作に要するステップ数が2倍となる)ため、2ステップ分(1/8球分)のモータ駆動実行毎に確認タイミングを設けるよう構成してある。フローチャートの説明に戻ると、ステップ2434でYesの場合には、ステップ2450へ移行し、ステップ2450での検知信号の有無に基づき、ロータが正しく回転していないか否かを判定する処理が実行されることとなる。他方、ステップ2434でNoの場合には、次の処理(ステップ2500のモータエラー時処理)へ移行する。尚、ステップ2405、ステップ2432、ステップ2434、ステップ2455でNoの場合にも、次の処理(ステップ2500のモータエラー時処理)へ移行する。   On the other hand, if No in Step 2430, in Step 2434, the payout control means 3300 indicates that the counter value (j) in the excitation stator position specifying counter value temporary storage means 3313 is the confirmation timing of the rotor position confirmation sensor 150 during the retry operation. It is determined whether or not. Here, the confirmation by the rotor position confirmation sensor 150 at the time of the retry operation means that after the abnormal operation related to the motor operation occurs, whether or not the abnormal operation has been resolved by executing the retry operation described later and the rotor position to the normal position. This is performed for the purpose of confirming whether or not the vehicle has returned, and for example, a plurality of confirmation timings are required during the execution of the payout operation for one ball. Here, when an abnormal operation is detected at the first confirmation timing in normal operation (in this example, the detection signal is kept OFF), retry is performed until the detection signal is turned ON. On the other hand, if an abnormal operation is detected at the second confirmation timing in the normal operation (in this example, the detection signal is kept ON), the detection signal is It is necessary to repeat the retry operation until it is turned off. That is, in order to complete such a check operation efficiently, a motor that does not continuously change the detection signal from ON to OFF to ON (or from OFF to ON to OFF) by one retry operation. It is preferable to provide a confirmation timing for each drive. The confirmation timing during execution of the payout operation for one sphere depends on the shape of the sprocket 141 and the rotation confirmation member 141c and is not particularly limited. It is preferable to provide a confirmation timing once for each drive. Here, in this embodiment, as will be described later, during the retry operation, the 2-2 phase excitation method is switched to the 1-2 phase excitation method (that is, the number of steps required for the payout operation for one sphere is doubled). Therefore, a confirmation timing is provided for every two steps (1/8 ball) of motor drive execution. Returning to the description of the flowchart, in the case of Yes in step 2434, the process proceeds to step 2450, and processing for determining whether or not the rotor is rotating properly is executed based on the presence or absence of the detection signal in step 2450. The Rukoto. On the other hand, in the case of No in step 2434, the process proceeds to the next process (the process at the time of motor error in step 2500). In addition, also when No is determined in Step 2405, Step 2432, Step 2434, and Step 2455, the processing shifts to the next processing (processing at the time of motor error in Step 2500).

次に、図29は、本実施形態における、払出モータドライバ141eの回路図である。特に、PHASE1端子、IA1端子、IA2端子、PHASE2端子、IB1端子、IB2端子は、夫々1本の信号線によって払出制御基板230と接続されており、前述のモータ制御コマンド(ステータ励磁コマンド)における信号を受信可能に構成されている。当該各端子に信号が入力されると、当該払出モータドライバ141eによる回路制御により、受信したモータ制御コマンドに応じた電流が、OUTA端子、OUT(上線)A端子、OUTB端子、OUT(上線)B端子を通じて、ステッピングモータ141dに流れることとなる。例えば、前述したA相制御信号(PHASEA)に相当するオン/オフに係る信号が、PHASE1端子に入力された場合、図示する制御ロジック回路によって、A相の(対となっている)各ステータ(例えば、A又はA’)をいずれの極にて磁化させるのかに係る電流となって、OUTA端子及びOUT(上線)A端子から出力されると共に、前述したA相電流レベル制御信号(IA1、IA2)に相当するオン/オフに係る信号が、IA1端子及びIA2端子に入力された場合、図示する電流選択回路によって、当該OUTA端子及びOUT(上線)A端子から出力される電流値を、1/3、2/3、1倍として設定可能に構成されているのである。   Next, FIG. 29 is a circuit diagram of the payout motor driver 141e in the present embodiment. In particular, the PHASE 1 terminal, the IA 1 terminal, the IA 2 terminal, the PHASE 2 terminal, the IB 1 terminal, and the IB 2 terminal are each connected to the payout control board 230 by one signal line, and the signal in the motor control command (stator excitation command) described above. Is configured to be able to receive. When a signal is input to each terminal, the current corresponding to the received motor control command is changed to OUTA terminal, OUT (upper line) A terminal, OUTB terminal, OUT (upper line) B by circuit control by the payout motor driver 141e. It will flow to the stepping motor 141d through the terminal. For example, when an on / off signal corresponding to the above-described A phase control signal (PHASEA) is input to the PHASE 1 terminal, each A phase (pair) stator ( For example, a current related to which pole A or A ′) is magnetized is output from the OUTA terminal and the OUT (overline) A terminal, and the above-described A-phase current level control signals (IA1, IA2). ) Is input to the IA1 terminal and the IA2 terminal, the current selection circuit shown in the figure selects the current value output from the OUTA terminal and the OUT (upline) A terminal as 1 / It is configured to be set as 3, 2/3, or 1 time.

次に、図30は、図16のステップ2500のサブルーチンに係る、モータエラー時処理のフローチャートである。はじめに、本処理の目的は、モータエラーを検出した際には、モータ駆動を休止状態へと強制的に移行することである。まず、ステップ2505で、払出制御手段3300は、払出状態フラグ一時記憶手段3311を参照し、モータ位置異常フラグがオンであるか否かを判定する。ここで、図27のステップ2460に示すように、所定の検知タイミングにてモータが所定の回転位置に存在するか否かを検知した上、当該所定の回転位置に存在しない場合には脱調等をしたと判定し、このモータ位置異常フラグはオンとなる。ステップ2505でYesの場合、ステップ2510で、払出制御手段3300は、払出状態フラグ一時記憶手段3311にアクセスし、モータ位置異常フラグをオフにする。次に、ステップ2515で、払出制御手段3300は、払出状態フラグ一時記憶手段3311を内の払出モータ異常検出フラグをオンにする。そして、ステップ2520で、エラー制御手段3200は、ステップカウンタ一時記憶手段3313におけるステップカウンタ値(n)をクリアして、次の処理{ステップ2100の賞球払出関連情報送受信処理(対主制御基板)}に移行する。これは、モータエラー発生により、今回セットしたステップ数を実行しなくなったためであり、当該カウント値のクリア実行後は、モータ駆動が休止状態へと移行することとなる(図26のステップ2310及びステップ2315参照)。尚、ステップ2505でNoの場合にも、次の処理{ステップ2100の賞球払出関連情報送受信処理(対主制御基板)}に移行する。   Next, FIG. 30 is a flowchart of the motor error process related to the subroutine of step 2500 in FIG. First, the purpose of this process is to forcibly shift the motor drive to a resting state when a motor error is detected. First, in step 2505, the payout control means 3300 refers to the payout state flag temporary storage means 3311 and determines whether or not the motor position abnormality flag is on. Here, as shown in step 2460 of FIG. 27, it is detected whether or not the motor is present at the predetermined rotational position at a predetermined detection timing. This motor position abnormality flag is turned on. In the case of Yes in step 2505, in step 2510, the payout control means 3300 accesses the payout state flag temporary storage means 3311 and turns off the motor position abnormality flag. Next, in step 2515, the payout control means 3300 turns on the payout motor abnormality detection flag in the payout state flag temporary storage means 3311. In step 2520, the error control means 3200 clears the step counter value (n) in the step counter temporary storage means 3313 and performs the next process {the prize ball payout related information transmission / reception process in step 2100 (vs. main control board). }. This is because the number of steps set this time is no longer executed due to the occurrence of a motor error, and after the count value is cleared, the motor drive shifts to a pause state (step 2310 and step 23 in FIG. 26). 2315). Even in the case of No in step 2505, the process proceeds to the next process {award ball payout-related information transmission / reception process (vs. main control board) in step 2100}.

次に、図16(右)フローチャートを参照しながら、NMI信号を受信した際の払出制御基板230で実行される処理を説明する。NMI信号を受信した場合、ステップ2900で、電断時・電断復帰時処理制御手段3500は、後述する電断時処理を実行する。尚、NMI信号を受信した場合には、他の処理が実行中であっても他の処理を中断して当該処理を優先実行するように構成されている。以下、図16(右)のフローチャートにおける各サブルーチンに係る処理について詳述する。ここで、図31は、図16におけるステップ2900のサブルーチンに係る、電断時処理のフローチャートである。まず、NMI信号を受信した払出制御基板230では、ステップ2905で、電断時・電断復帰時処理制御手段3500は、払出モータ動作異常検出時エラー制御手段3230内の不正払出累積カウンタ3231を参照してカウンタ値を取得すると共に、当該カウンタ値を電断時不正払出累積カウンタ3512にセット(バックアップ)する。次に、ステップ2910で、電断時・電断復帰時処理制御手段3500は、払出異常検出時エラー制御手段3240内の過剰払出累積カウンタ3241を参照してカウンタ値を取得すると共に、当該カウンタ値を電断時過剰払出累積カウンタ3513にセットする。次に、ステップ2920で、電断時・電断復帰時処理制御手段3500は、払出処理関連情報一時記憶手段3310内の払出カウンタ3312を参照してカウンタ値を取得すると共に、当該カウンタ値を電断時払出カウンタ3514にセットする。次に、ステップ2925で、電断時・電断復帰時処理制御手段3500は、エラー制御手段3200内のエラーフラグ一時記憶手段3221を参照して、各種エラーフラグ(球切れエラーフラグ、球不足エラーフラグ、払出モータエラーフラグ、払出停止エラーフラグ)のフラグ値を取得すると共に、当該フラグ値を電断時フラグ類一時記憶手段3511にセットする。次に、ステップ2935で、電断時・電断復帰時処理制御手段3500は、電断時フラグ類一時記憶手段3511内の払出制御側電断フラグをオンにし、本サブルーチンの呼び出し元に復帰することで、電断待ちループに移行する。   Next, processing executed by the payout control board 230 when an NMI signal is received will be described with reference to the flowchart of FIG. 16 (right). When the NMI signal is received, in step 2900, the power interruption / power interruption recovery process control means 3500 executes a power interruption process described later. When an NMI signal is received, the other process is interrupted and the process is preferentially executed even if the other process is being executed. In the following, processing related to each subroutine in the flowchart of FIG. 16 (right) will be described in detail. Here, FIG. 31 is a flowchart of the power interruption processing according to the subroutine of step 2900 in FIG. First, in the payout control board 230 that has received the NMI signal, in step 2905, the power interruption / power interruption return processing control means 3500 refers to the unauthorized payout accumulation counter 3231 in the error control means 3230 at the time of the abnormality detection of the payout motor operation. Thus, the counter value is acquired, and the counter value is set (backed up) in the unauthorized payout cumulative counter 3512 at the time of power interruption. Next, in step 2910, the power failure / power failure recovery time processing control means 3500 refers to the excessive payout accumulation counter 3241 in the payout abnormality detection error control means 3240 to obtain the counter value and the counter value. Is set in the excessive payout cumulative counter 3513 during power interruption. Next, at step 2920, the processing control unit 3500 at the time of power interruption / recovery from power interruption obtains a counter value by referring to the payout counter 3312 in the payout processing related information temporary storage means 3310, and the counter value is It is set in the interruption payout counter 3514. Next, in step 2925, the power failure / power failure recovery time processing control means 3500 refers to the error flag temporary storage means 3221 in the error control means 3200, and various error flags (ball out error flag, ball shortage error). Flag value, payout motor error flag, payout stop error flag), and set the flag value in the power interruption flag temporary storage means 3511. Next, in step 2935, the power interruption / power interruption return processing control means 3500 turns on the payout control side power interruption flag in the power interruption flag temporary storage means 3511 and returns to the calling source of this subroutine. As a result, it shifts to a power interruption waiting loop.

次に、図32は、本実施形態における、1−2相励磁時の払出モータ141dの動作に係るタイミングチャートである。同図では、遊技球1球を払出す間(24ステップ)の払出モータ駆動中における励磁位置とA相・B相の電流レベルとについて、特に図示している。また、図33は、本実施形態における、1−2相励磁時の払出モータ141dの動作に係るイメージ図である。図示されるように、本実施形態においては、励磁位置(コマンド内容)によってステータ141d−2に流れる電流が切り替わることによって、ステータ141d−2の磁極及び磁力が切替及び調節され、固定された磁極を持つロータ141d−1が回転駆動されることとなる。   Next, FIG. 32 is a timing chart relating to the operation of the payout motor 141d during 1-2 phase excitation in the present embodiment. In the drawing, the excitation position and the current levels of the A phase and B phase during driving of the payout motor during paying out one game ball (24 steps) are particularly illustrated. FIG. 33 is an image diagram relating to the operation of the payout motor 141d during 1-2 phase excitation in the present embodiment. As shown in the figure, in the present embodiment, the current flowing through the stator 141d-2 is switched according to the excitation position (command content), whereby the magnetic pole and magnetic force of the stator 141d-2 are switched and adjusted, and the fixed magnetic pole is changed. The rotor 141d-1 that is held is driven to rotate.

例えば、励磁位置「0」では、ステータA及びステータBがS極、ステータA’及びステータB’はN極に励磁されるため、ロータ141d−1はN極をステータAとステータBとの中間に向けて静止することとなる。このような状況下、励磁位置が「1」に切り替わると、ステータAがS極、ステータA’はN極に励磁される(ステータB及びステータB’には電流が流れず、磁性なしとなる)ため、ロータ141d−1はN極をステータAに向けて静止することとなる。このように、励磁位置を順次切り替えることで、払出モータ141dのロータ141d−1が払出制御基板230からのモータ制御コマンドによって回転駆動されるのである。   For example, since the stator A and the stator B are excited to the S pole and the stator A ′ and the stator B ′ are excited to the N pole at the excitation position “0”, the rotor 141d-1 has an N pole between the stator A and the stator B. It will come to rest towards. Under such circumstances, when the excitation position is switched to “1”, the stator A is excited to the S pole and the stator A ′ is excited to the N pole (current does not flow through the stator B and the stator B ′, and there is no magnetism). Therefore, the rotor 141d-1 is stationary with the north pole facing the stator A. Thus, by sequentially switching the excitation positions, the rotor 141d-1 of the payout motor 141d is rotationally driven by the motor control command from the payout control board 230.

以上のように構成することで、本実施形態によれば、払出制御基板から送信される複数の制御情報(例えば、A相−制御信号・A相電流レベル制御信号・B相制御信号・B相電流レベル制御信号)に基づき、遊技球の払出を行うためのステッピングモータを駆動制御し得るよう構成された遊技機において、当該複数の制御情報を一括して送信可能に構成されているため、ステッピングモータの励磁制御に係る処理を簡便にすることができ、賞球払出処理に係る、制御基板の負担を軽減することが可能となるのである。また、2相のステータにおけるいずれのステータ(例えば、A又はA’)をいずれの極にて磁化させるのか、更には、磁化させる度合いをどの程度にするのかを一括して制御可能に構成されているため、本例で示したような1−2相励磁時の際に、1相励磁フェーズと2相励磁フェーズとで磁化させる度合いを変更させる、といったきめ細やかな制御が可能となるという効果を奏する。   With the above configuration, according to the present embodiment, a plurality of control information transmitted from the payout control board (for example, A phase-control signal, A phase current level control signal, B phase control signal, B phase) In the gaming machine configured to drive and control the stepping motor for paying out the game ball based on the current level control signal), the plurality of control information is configured to be transmitted in a lump. The process related to the motor excitation control can be simplified, and the burden on the control board related to the winning ball payout process can be reduced. In addition, which stator (for example, A or A ′) in the two-phase stator is magnetized at which pole, and further, the degree of magnetization is configured to be collectively controllable. Therefore, in the case of 1-2 phase excitation as shown in this example, it is possible to perform fine control such as changing the degree of magnetization in the 1-phase excitation phase and the 2-phase excitation phase. Play.

尚、本例はあくまで一例であり、ステッピングモータや払出モータドライバの構成など、これには限定されない。例えば、本例では2対のステータ(励磁相)を有したステッピングモータを例示したが、これには限定されず、例えば、3対以上のステータを有したステッピングモータであってもよい。また、本例では図示していないが、払出制御に関するエラーの発生時には、励磁方法は同一であっても、当該発生したエラーの種類に応じて、モータ制御コマンドの内容を変更するよう構成してもよい{例えば、ステッピングモータの1回目のリトライ動作時においては、本例で示したようなモータ制御コマンドの内容とする一方、当該リトライ動作が所定回数連続して繰り返されるような場合には、いわゆる球噛みが発生している恐れがあるため、電流レベル制御信号を更に低減させる(例えば、100%→67%、67%→33%に変更する)ことにより、ステッピングモータが生み出す動力を低減させスプロケット141等が破損してしまう事態を防止することも好適である}。また、本例では、ステッピングモータの励磁方法として、2−2相励磁、1−2相励磁について例示したが、これには限定されず、例えば、1相励磁、3相励磁、等、他の励磁方法を組み合わせてもよいし、また、各ステータへの励磁電力を微調整することで、さらに細かな角度にロータの位置を制御しうるよう構成してもよい(いわゆる、マイクロステップ駆動)。   This example is merely an example, and the configuration of the stepping motor and the payout motor driver is not limited thereto. For example, in this example, a stepping motor having two pairs of stators (excitation phases) is illustrated, but the present invention is not limited to this, and for example, a stepping motor having three or more pairs of stators may be used. Although not shown in this example, when an error related to payout control occurs, the content of the motor control command is changed according to the type of error that occurred even if the excitation method is the same. {For example, at the time of the first retry operation of the stepping motor, the content of the motor control command as shown in this example is used, and when the retry operation is repeated a predetermined number of times, Since there is a possibility of so-called ball biting, the power generated by the stepping motor is reduced by further reducing the current level control signal (for example, changing from 100% to 67%, 67% to 33%). It is also preferable to prevent the sprocket 141 and the like from being damaged}. In this example, 2-2 phase excitation and 1-2 phase excitation are exemplified as the stepping motor excitation method. However, the present invention is not limited to this. For example, one phase excitation, three phase excitation, etc. Excitation methods may be combined, or the position of the rotor may be controlled at a finer angle by finely adjusting the excitation power to each stator (so-called microstep drive).

100 賞球払出ユニット
141d ステッピングモータ
141d−1 ロータ
141d−2 ステータ
143 カウントセンサ
150 ロータ位置確認センサ
200 主制御基板
230 払出制御基板
3200 エラー制御手段
3221 エラーフラグ一時記憶手段
3230 払出モータ動作異常検出時エラー制御手段
3231 不正払出累積カウンタ
3240 払出異常検出時エラー制御手段
3241 過剰払出累積カウンタ
3250 球経路異常検出時エラー制御手段
3260 払出モータ異常検出時エラー制御手段
3300 払出制御手段
3400 リトライ動作制御手段
3500 電断時・電断復帰時処理制御手段
100 Prize ball payout unit 141d Stepping motor 141d-1 Rotor 141d-2 Stator 143 Count sensor 150 Rotor position confirmation sensor 200 Main control board 230 Payout control board 3200 Error control means 3221 Error flag temporary storage means 3230 Error at the time of detection of abnormalities in the payout motor operation Control means 3231 Unauthorized payout accumulation counter 3240 Error control means 3241 at the time of payout abnormality detection Excess payout accumulation counter 3250 Error control means 3260 at the time of ball path abnormality detection Error control means 3300 at the time of payout motor abnormality detection 3300 Payout control means 3400 Retry operation control means 3500 Electric power interruption Time / interruption return processing control means

Claims (1)

回転子と少なくとも二相の固定子とを有し、励磁される固定子として、第一の固定子と、第一の固定子とは相が異なる第二の固定子と、が少なくとも備えられているステッピングモータと、
ステッピングモータの回転を制御する回転制御手段と、
回転制御手段からの信号に基づき、ステッピングモータの固定子を励磁し得る励磁手段と
を備え、
回転制御手段は、励磁手段に対し、第一の固定子の磁極性を特定するための磁極性特定信号、第二の固定子の磁極性を特定するための磁極性特定信号、第一の固定子の励磁電流値を特定するための励磁電流値特定信号、及び、第二の固定子の励磁電流値を特定するための励磁電流値特定信号を、夫々の信号に対応した一本の信号線からON/OFF信号として同時に発信可能に構成されており、
励磁手段は、前記信号線を介してのON/OFF信号に基づき、所定の電流値にて第一の固定子をS極及びN極のいずれかの極に励磁し得るよう構成されており、また、所定の電流値にて第二の固定子をS極及びN極のいずれかの極に励磁し得るよう構成されている
ことを特徴とする遊技機。
As a stator that has a rotor and at least a two-phase stator and is excited, at least a first stator and a second stator having a phase different from the first stator are provided. Stepping motor
Rotation control means for controlling the rotation of the stepping motor;
An excitation means capable of exciting the stator of the stepping motor based on a signal from the rotation control means,
The rotation control means, with respect to the excitation means, a magnetic polarity specifying signal for specifying the magnetic polarity of the first stator, a magnetic polarity specifying signal for specifying the magnetic polarity of the second stator, and the first fixed One signal line corresponding to each of the exciting current value specifying signal for specifying the exciting current value of the child and the exciting current value specifying signal for specifying the exciting current value of the second stator It is configured to be able to transmit simultaneously as an ON / OFF signal from
The excitation means is configured to excite the first stator to either the S pole or the N pole with a predetermined current value based on the ON / OFF signal via the signal line. The gaming machine is configured to excite the second stator to either the S pole or the N pole at a predetermined current value.
JP2013050205A 2013-03-13 2013-03-13 Game machine Pending JP2014171830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013050205A JP2014171830A (en) 2013-03-13 2013-03-13 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013050205A JP2014171830A (en) 2013-03-13 2013-03-13 Game machine

Publications (1)

Publication Number Publication Date
JP2014171830A true JP2014171830A (en) 2014-09-22

Family

ID=51693736

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013050205A Pending JP2014171830A (en) 2013-03-13 2013-03-13 Game machine

Country Status (1)

Country Link
JP (1) JP2014171830A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006334143A (en) * 2005-06-02 2006-12-14 Daito Giken:Kk Game machine
JP2012096014A (en) * 2010-10-05 2012-05-24 Sammy Corp Pachinko game machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006334143A (en) * 2005-06-02 2006-12-14 Daito Giken:Kk Game machine
JP2012096014A (en) * 2010-10-05 2012-05-24 Sammy Corp Pachinko game machine

Similar Documents

Publication Publication Date Title
JP5590577B2 (en) Game machine
JP5839493B2 (en) Game machine
JP2015181602A (en) Pachinko game machine
JP2012085818A (en) Pachinko game machine
JP2013099463A (en) Game machine
JP2015181603A (en) Pachinko game machine
JP5464605B2 (en) Game machine
JP5339293B2 (en) Bullet ball machine
JP5116049B2 (en) Game machine
JP5565874B2 (en) Pachinko machine
JP5553352B2 (en) Pachinko machine
JP2014171830A (en) Game machine
JP2014171829A (en) Game machine
JP2014171828A (en) Game machine
JP4476640B2 (en) Game machine
JP4840500B2 (en) Game machine
JP6099100B2 (en) Pachinko machine
JP5464623B2 (en) Game machine
JP5863071B2 (en) Pachinko machine
JP6249069B2 (en) Pachinko machine
JP6249070B2 (en) Pachinko machine
JP6268448B2 (en) Pachinko machine
JP5794282B2 (en) Game machine
JP5794281B2 (en) Game machine
JP5794717B1 (en) Pachinko machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170425

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20171024