JP2017018492A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2017018492A
JP2017018492A JP2015140740A JP2015140740A JP2017018492A JP 2017018492 A JP2017018492 A JP 2017018492A JP 2015140740 A JP2015140740 A JP 2015140740A JP 2015140740 A JP2015140740 A JP 2015140740A JP 2017018492 A JP2017018492 A JP 2017018492A
Authority
JP
Japan
Prior art keywords
medal
cpu
stop
sensor
error
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
JP2015140740A
Other languages
Japanese (ja)
Inventor
吉田 勝幸
Katsuyuki Yoshida
勝幸 吉田
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.)
Fuji Shoji Co Ltd
Original Assignee
Fuji Shoji Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Shoji Co Ltd filed Critical Fuji Shoji Co Ltd
Priority to JP2015140740A priority Critical patent/JP2017018492A/en
Publication of JP2017018492A publication Critical patent/JP2017018492A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a game machine capable of improving correctness of rotation control of a rotary drum.SOLUTION: Control means determines a stop position in a prescribed maximum slide piece range on the basis of a pattern position when a rotation stop operation is performed, according to a fact that an effective rotation stop operation of a rotary drum is performed in steady rotation, and starts stop control for stopping the rotary drum according to arrival of a pattern corresponding to the determined stop position to a specific stop step position, then uses an excitation phase pointer for indicating excitation data which should be set for every excitation phase of a motor in a circulation state for outputting a drive signal based on the excitation data indicated by the excitation phase pointer to the motor thereby rotating the rotary drum, then updates a position of the excitation phase pointer after the stop control is started to a position which is advanced by a prescribed number relative to a time point when the stop control is started, then starts start processing in which the updated position of the excitation phase pointer as a reference position.SELECTED DRAWING: Figure 37

Description

本発明は、回転方向に沿って複数の図柄が表示された回胴を備えた遊技機に関する。   The present invention relates to a gaming machine including a spinning cylinder on which a plurality of symbols are displayed along a rotation direction.

特開2014−33743号公報JP 2014-33743 A

スロットマシンなどの回胴を備えた遊技機では、遊技者がメダル投入口にメダルを投入してスタートレバーを操作すると、これに応じて回胴の回転が開始される。そして、遊技者が停止ボタンを押下すると、そのタイミングに応じた図柄で回胴が停止される。   In a gaming machine equipped with a spinning cylinder such as a slot machine, when the player inserts a medal into the medal slot and operates the start lever, the spinning cylinder starts to rotate accordingly. When the player presses the stop button, the spinning cylinder is stopped with a pattern corresponding to the timing.

遊技機においては、上記のように回胴の停止により示される図柄の組合せにより、遊技者に対して遊技結果が導出表示される。このため、回胴の回転制御については一定の正確性を有することが要請される。   In the gaming machine, the game result is derived and displayed to the player by the combination of symbols indicated by the stop of the spinning cylinder as described above. For this reason, it is required that the rotation control of the rotating cylinder has a certain accuracy.

そこで、本発明では、回胴の回転制御の正確性向上を図ることを目的とする。   Therefore, an object of the present invention is to improve the accuracy of rotation control of the rotating drum.

本発明に係る遊技機は、回転方向に沿って複数の図柄が表示された回胴と、複数の励磁相を具備するモータにより、前記回胴を所定のステップ角を最小回転単位として回転駆動する回転駆動手段と、遊技動作を進行させるための処理を実行する制御手段と、を備え、前記制御手段は、前記回胴の回転開始命令に応じて前記回胴を徐々に加速させるように起動させる起動処理を行う回胴起動手段と、前記起動処理の後、前記回胴を定常回転させる定常回転手段と、前記定常回転中において前記回胴の有効な回転停止操作が行われたことに応じて、該回転停止操作が行われたときの図柄位置に基づいて所定の最大滑りコマ範囲内で停止位置を決定する停止位置決定手段と、前記停止位置決定手段が決定した停止位置に対応する図柄の特定の停止ステップ位置に達したことに応じて、前記回胴を停止させるための停止制御を開始する停止手段と、を含み、前記回胴起動手段及び前記定常回転手段は、前記モータの前記励磁相ごとにセットされるべき励磁データを循環的に指し示す励磁相ポインタを用いて、該励磁相ポインタが指し示す前記励磁データに基づく駆動信号を逐次前記モータに出力して前記回胴を回転させ、前記制御手段は、前記停止手段が前記停止制御を開始した以降において、前記励磁相ポインタの位置を前記停止制御が開始された時点での位置よりも所定数進めた位置に更新するポインタ位置更新手段をさらに含み、前記回胴起動手段は、前記ポインタ位置更新手段により更新された前記励磁相ポインタの位置を基準として前記起動処理を開始するものである。   The gaming machine according to the present invention rotationally drives the rotating drum with a predetermined step angle as a minimum rotation unit by a rotating drum having a plurality of symbols displayed along the rotation direction and a motor having a plurality of excitation phases. A rotation driving means; and a control means for executing a process for advancing the game operation, wherein the control means is activated to gradually accelerate the spinning cylinder in response to a rotation start command for the spinning cylinder. In response to an operation of stopping rotation of the rotating cylinder during the steady rotation, and a rotating means for rotating the rotating cylinder after the activation process, a rotating means for rotating the rotating cylinder after the activation process. , Stop position determining means for determining a stop position within a predetermined maximum sliding piece range based on the symbol position when the rotation stop operation is performed, and a symbol corresponding to the stop position determined by the stop position determining means Specific stops Stop means for starting the stop control for stopping the rotating cylinder in response to reaching the pop position, and the rotating cylinder starting means and the steady rotation means for each excitation phase of the motor Using the excitation phase pointer that cyclically points to the excitation data to be set to the motor, and sequentially outputting a drive signal based on the excitation data pointed to by the excitation phase pointer to the motor to rotate the cylinder, and the control means Further includes pointer position updating means for updating the position of the excitation phase pointer to a position advanced by a predetermined number of times from the position when the stop control is started after the stop means starts the stop control. The spinning cylinder starting means starts the starting process on the basis of the position of the excitation phase pointer updated by the pointer position updating means.

これにより、ブレーキをかけたステップ位置と実際に回胴が停止したステップ位置とのずれに応じて励磁相ポインタの位置が進められる。   As a result, the position of the excitation phase pointer is advanced in accordance with the difference between the step position where the brake is applied and the step position where the rotating cylinder actually stops.

本発明によれば、回胴の回転制御の正確性向上を図ることができる。   According to the present invention, it is possible to improve the accuracy of rotation control of the rotating drum.

遊技機の正面図である。It is a front view of a gaming machine. 遊技機の平面図(図2A)及び右側面図(図2B)である。FIG. 2 is a plan view (FIG. 2A) and a right side view (FIG. 2B) of the gaming machine. 遊技機が備える前面パネルの背面図である。It is a rear view of the front panel with which a gaming machine is provided. 遊技機が備える本体ケースの正面図である。It is a front view of the main body case with which the gaming machine is provided. 遊技機内部の制御構成の概略的なブロック図である。It is a schematic block diagram of a control configuration inside the gaming machine. 遊技機が備える主制御基板の回路構成を示した図である。It is the figure which showed the circuit structure of the main control board with which a game machine is provided. メダルセレクタの構造を説明するための図である。It is a figure for demonstrating the structure of a medal selector. 同じく、メダルセレクタの構造を説明するための図である。Similarly, it is a figure for demonstrating the structure of a medal selector. メダル検出に係る各種のセンサを模式的に示した図である。It is the figure which showed typically the various sensors which relate to medal detection. 原点検出に係る構成についての説明図である。It is explanatory drawing about the structure which concerns on an origin detection. ステッピングモータについての説明図である。It is explanatory drawing about a stepping motor. 回転リール(回胴)に形成された図柄についての説明図である。It is explanatory drawing about the pattern formed in the rotation reel (rotating drum). 主制御基板のメモリに設定された領域についての説明図である。It is explanatory drawing about the area | region set to the memory of the main control board. 各領域に定められた規制についての説明図である。It is explanatory drawing about the regulation defined in each area | region. スタート処理のフローチャートである。It is a flowchart of a start process. 電源復帰処理のフローチャートである。It is a flowchart of a power supply return process. 設定変更処理のフローチャートである。It is a flowchart of a setting change process. 電源断処理のフローチャートである。It is a flowchart of a power-off process. メイン処理のフローチャートである。It is a flowchart of a main process. 同じく、メイン処理のフローチャートである。Similarly, it is a flowchart of the main process. メイン処理における停止制御処理のフローチャートである。It is a flowchart of the stop control process in a main process. 停止処理可能位置についての説明図である。It is explanatory drawing about a stop process possible position. メイン処理における入賞メダルの払出処理のフローチャートである。It is a flowchart of the payout process of winning medals in the main process. タイマ割込み処理のフローチャートである。It is a flowchart of a timer interruption process. タイマ割込み処理におけるLED表示データの作成処理のフローチャートである。It is a flowchart of the creation process of LED display data in a timer interruption process. タイマ割込み処理におけるエラー解除判定処理のフローチャートである。It is a flowchart of an error release determination process in the timer interrupt process. メダル投入処理のフローチャートである。It is a flowchart of medal insertion processing. 同じく、メダル投入処理のフローチャートである。Similarly, it is a flowchart of medal insertion processing. 投入メダルエラーの検知手法についての説明図である。It is explanatory drawing about the detection method of an insertion medal error. 投入メダルエラーの例外ケースについての説明図である。It is explanatory drawing about the exception case of an insertion medal error. メダル投入処理における遷移及び滞留チェック処理のフローチャートである。It is a flowchart of the transition in a medal insertion process, and a stay check process. マックスベット処理の概要を示したタイミングチャートである。It is the timing chart which showed the outline | summary of a max bet process. マックスベット処理中にメダル投入した場合の動作についての説明図である。It is explanatory drawing about operation | movement at the time of inserting a medal during a max bet process. メダル投入中にマックスベットボタンが操作された場合の動作についての説明図である。It is explanatory drawing about operation | movement when the max bet button is operated during medal insertion. タイマ割込み処理における貯留メダルの精算処理のフローチャートである。It is a flowchart of the stored medal settlement process in the timer interrupt process. タイマ割込み処理におけるメダル払出処理のフローチャートである。It is a flowchart of the medal payout process in the timer interrupt process. タイマ割込み処理における回胴制御処理のフローチャートである。It is a flowchart of the spinning cylinder control process in a timer interruption process. 回胴の回転/停止に係るステータスを表すための各種フラグについての説明図である。It is explanatory drawing about the various flags for showing the status which concerns on rotation / stop of a rotating cylinder. 起動タイムテーブルの例を示した図である。It is the figure which showed the example of the starting time table.

以下、本発明に係る遊技機の実施の形態について、次の順序で説明する。なお、実施の形態ではスロットマシンを例に挙げる。

<1.回胴遊技機の機構構成>
<2.回胴遊技機の制御構成>
<3.メダル投入に係る構成>
<4.回胴回転に係る構成及び回転リール>
<5.メモリ領域について>
<6.スタート処理>
<7.電源断処理>
<8.電源復帰処理>
<9.設定変更処理>
<10.メイン処理>
[10-1.メイン処理]
[10-2.停止制御処理]
[10-3.入賞メダルの払出処理]
<11.タイマ割込み処理>
[11-1.タイマ割込み処理]
[11-2.LED表示データの作成処理]
[11-3.エラー解除判定処理]
[11-4.メダル投入処理]
[11-5.貯留メダルの精算処理]
[11-6.メダル払出処理]
[11-7.回胴制御処理]
<12.実施の形態のまとめ>
<13.まとめ及び変形例>
Hereinafter, embodiments of the gaming machine according to the present invention will be described in the following order. In the embodiment, a slot machine is taken as an example.

<1. Structure of the spinning machine>
<2. Control configuration of spinning machine>
<3. Composition related to medal insertion>
<4. Configuration related to rotation of rotating cylinder and rotating reel>
<5. About memory area>
<6. Start processing>
<7. Power-off processing>
<8. Power recovery processing>
<9. Setting change processing>
<10. Main processing>
[10-1. Main processing]
[10-2. Stop control process]
[10-3. Winning medal payout process]
<11. Timer interrupt processing>
[11-1. Timer interrupt processing]
[11-2. LED display data creation process]
[11-3. Error release determination process]
[11-4. Medal insertion process]
[11-5. Settlement of stored medal]
[11-6. Medal payout process]
[11-7. Cylinder control processing]
<12. Summary of Embodiment>
<13. Summary and Modification>

<1.回胴遊技機の機構構成>

先ず、図1〜図4により実施の形態のスロットマシンの外観構成を説明する。
図1はスロットマシンの正面図、図2Aは平面図、図2Bは右側面図、図3は前面パネル2の背面図、図4は本体ケース1の正面図である。
<1. Structure of the spinning machine>

First, the external configuration of the slot machine according to the embodiment will be described with reference to FIGS.
1 is a front view of the slot machine, FIG. 2A is a plan view, FIG. 2B is a right side view, FIG. 3 is a rear view of the front panel 2, and FIG.

本実施の形態のスロットマシンは、図2からわかるように、矩形箱状の本体ケース1と、各種の遊技部材を装着した前面パネル2とが、図示しないヒンジ機構を介して連結され、前面パネル2が本体ケース1に対して開閉可能に構成されている。   In the slot machine of the present embodiment, as can be seen from FIG. 2, a rectangular box-shaped main body case 1 and a front panel 2 equipped with various game members are connected via a hinge mechanism (not shown). 2 is configured to be openable and closable with respect to the main body case 1.

図4に示すように、本体ケース1の略中央には、3つの回転リール(回胴)4a,4b,4cを備える図柄回転ユニット3が配置されている。また、その下側に、メダル払出装置5が配置されている。
各回転リール4a,4b,4cには、後述する各種図柄、例えばBB(ビッグボーナス)やRB(レギュラーボーナス)用の図柄や、各種のフルーツ図柄、リプレイ図柄などが描かれている。
メダル払出装置5は、メダルを貯留するメダルタンク5aを有する。また払出ケース5b内に、図5で後述する払出モータ75、払出接続基板73、ホッパー基板74、メダル払出センサ76等が収納されている。
メダルタンク5aに貯留されたメダルは、払出モータ75の回転に基づいて、払出口5cから図面手前方向に向けて導出される。なお、限界量を越えて貯留されたメダルは、超過メダル導出部5dを通して、補助タンク6に落下するよう構成されている。
補助タンク6に対しては、該補助タンク6における貯留メダルが限界量に達したことを検出するためのオーバーフローセンサが設けられている。
As shown in FIG. 4, a symbol rotating unit 3 including three rotating reels (rotating drums) 4 a, 4 b, 4 c is arranged at the approximate center of the main body case 1. In addition, a medal payout device 5 is disposed on the lower side.
Each of the rotating reels 4a, 4b, 4c has various symbols to be described later, such as symbols for BB (Big Bonus) and RB (Regular Bonus), various fruit symbols, replay symbols, and the like.
The medal payout device 5 has a medal tank 5a for storing medals. Further, a payout motor 75, a payout connection board 73, a hopper board 74, a medal payout sensor 76 and the like which will be described later with reference to FIG. 5 are housed in the payout case 5b.
The medals stored in the medal tank 5a are led out from the payout opening 5c toward the front of the drawing based on the rotation of the payout motor 75. The medals stored exceeding the limit amount are configured to fall into the auxiliary tank 6 through the excess medal deriving unit 5d.
The auxiliary tank 6 is provided with an overflow sensor for detecting that the stored medal in the auxiliary tank 6 has reached the limit amount.

メダル払出装置5に隣接して電源基板41が配置される。また、図柄回転ユニット3の上方に主制御基板40が配置され、主制御基板40に隣接して回胴設定基板71が配置されている。
また図柄回転ユニット3の内部には、図5に示す回胴LED(Light Emitting Diode)中継基板56と回胴中継基板53とが設けられ、図柄回転ユニット3に隣接して外部集中端子板70が配置されている。
A power supply board 41 is disposed adjacent to the medal payout device 5. A main control board 40 is disposed above the symbol rotation unit 3, and a rotating drum setting board 71 is disposed adjacent to the main control board 40.
In addition, a rotating LED (Light Emitting Diode) relay board 56 and a rotating relay board 53 shown in FIG. 5 are provided inside the symbol rotating unit 3, and an external concentrated terminal plate 70 is adjacent to the symbol rotating unit 3. Has been placed.

さらに、本体ケース1においては、図柄回転ユニット3の側方に前面パネル2の開放(ドアの開放)を検知するためのドア開放センサ35が設けられている。   Further, the main body case 1 is provided with a door opening sensor 35 for detecting the opening of the front panel 2 (opening of the door) on the side of the symbol rotating unit 3.

図1に示すように、前面パネル2の上部にはLCD(Liquid Crystal Display)ユニット7が配置されている。このLCDユニット7には、遊技動作を盛り上げるためなどに各種のキャラクタが表示される。
またLCDユニット7の下部には、回転リール4a,4b,4cを表出させる表示窓8が形成されている。この表示窓8を通しては、各回転リール4a,4b,4cの回転方向に、各々3個程度の図柄が見えるようにされている。そして、例えば、合計9個の図柄の水平方向の二本(又は三本)と、対角線方向の二本が仮想的な停止ラインとなる。
As shown in FIG. 1, an LCD (Liquid Crystal Display) unit 7 is disposed on the front panel 2. Various characters are displayed on the LCD unit 7 in order to excite game operations.
A display window 8 is formed below the LCD unit 7 to expose the rotary reels 4a, 4b, 4c. Through the display window 8, about three symbols can be seen in the rotational direction of each of the rotating reels 4a, 4b, 4c. For example, two (or three) in the horizontal direction of a total of nine symbols and two in the diagonal direction are virtual stop lines.

なお、図柄回転ユニット3の内部には、回転リール4a,4b,4cが停止した状態において視認される9個の図柄それぞれを内側から照射可能な位置に回胴用LEDが配置されている(不図示)。それぞれの回胴用LEDはそれぞれの回転リール4の回転状態や停止状態、或いは各種演出に応じて点灯・消灯される。   In addition, inside the symbol rotating unit 3, a spinning LED is arranged at a position where each of the nine symbols visually recognized when the rotary reels 4a, 4b, 4c are stopped can be irradiated from the inside (not shown). (Illustrated). Each of the spinning LEDs is turned on / off according to the rotation state, the stop state, or various effects of the respective rotation reels 4.

表示窓8の下方には、遊技状態を示すLED群9や、遊技成果として払出されるメダル数を表示する払出表示部10や、貯留数表示部11が設けられている。
LED群9は、例えば、当ゲームに投入されたメダルの枚数を示すLEDや再遊技状態を示すLED、回胴を回転させる準備が整ったことを示すLED(当ゲームの遊技に要する所定枚数のメダルの投入が完了したことを示すLED:いわゆるスタートランプ)、メダルの投入の受付状態を示すLEDなどで構成されている。
払出表示部10は、7セグメントLEDを2個連設して構成されており、払出メダル数を特定すると共に、何らかの異常事態の発生時には、異常内容を表示するエラー表示器としても機能する。
貯留数表示部11は、クレジットとして貯留されているメダルの数が表示されている。
Below the display window 8, an LED group 9 indicating a gaming state, a payout display unit 10 for displaying the number of medals to be paid out as a game result, and a stored number display unit 11 are provided.
The LED group 9 includes, for example, an LED indicating the number of medals inserted into the game, an LED indicating the re-playing state, an LED indicating that the spinning cylinder is ready to rotate (a predetermined number of games required for the game) The LED indicates that the insertion of the medal has been completed: a so-called start lamp), the LED that indicates the acceptance state of the insertion of the medal, and the like.
The payout display unit 10 is configured by connecting two 7-segment LEDs. The payout display unit 10 specifies the number of payout medals, and also functions as an error indicator that displays abnormal contents when an abnormal situation occurs.
The stored number display unit 11 displays the number of medals stored as credits.

表示窓8の上方、左、右には、LED演出部15a,15b,15cが設けられている。LED演出部15a,15b,15cは、所定の絵柄、意匠が施され、内側に配置されたLEDによって光による演出が実行されるように構成されている。LED演出部15a,15b,15cで実行される演出は、例えば、BBやRBに当選したことを示す演出や、AT(アシストタイム)やART(アシストリプレイタイム)等の状態を示す演出、AT中やART中のアシスト演出等である。
なお、個々の説明は省略するが、前面パネル2には、演出や動作状態を提示するためのLEDとして他のLEDが各種配置されている。
LED effect units 15a, 15b, and 15c are provided above, left, and right of the display window 8. The LED effect units 15a, 15b, and 15c are configured such that a predetermined design and design are applied, and an effect by light is executed by the LEDs arranged on the inner side. The effects executed by the LED effect units 15a, 15b, 15c are, for example, effects indicating that BB or RB has been won, effects indicating the status of AT (assist time), ART (assist replay time), etc., during AT And assist production during ART.
Although not described in detail, the front panel 2 is provided with various other LEDs as LEDs for presenting effects and operating states.

前面パネル2の中央右側には、メダルを投入するメダル投入口12が設けられ、これに近接して、メダル投入口12に詰まったメダルを返却させるための返却ボタン13が設けられている。返却ボタン13の右側には、専用のキーを差し込むための鍵穴が設けられている。前面パネル2が本体ケース1に対して閉じた状態において、鍵穴に差し込まれたキーを右へ回すことにより前面パネル2が解錠され(以下「解錠動作」と表記)、前面パネル2の本体ケース1に対する開閉が可能となる。また、鍵穴に差し込まれたキーを左へ回すことにより、打ち止めやエラーによる遊技の中止状態が解除される(以下「中止解除動作」と表記)。
また、前面パネル2の中央左側には、クレジット状態のメダル(クレジットとして貯留されているメダル)を払出すクレジット精算ボタン14と、クレジット状態のメダルを擬似的に3枚投入するマックスベットボタン16とが設けられている。
A medal insertion slot 12 for inserting medals is provided on the right side of the center of the front panel 2, and a return button 13 for returning medals filled in the medal insertion slot 12 is provided in the vicinity thereof. A key hole for inserting a dedicated key is provided on the right side of the return button 13. When the front panel 2 is closed with respect to the main body case 1, the front panel 2 is unlocked by turning the key inserted into the keyhole clockwise (hereinafter referred to as “unlocking operation”). The case 1 can be opened and closed. Further, by turning the key inserted into the keyhole counterclockwise, the game stop state due to the stop or error is canceled (hereinafter referred to as “cancel cancel operation”).
Also, on the left side of the center of the front panel 2, there are a credit check button 14 for paying out credit medals (medals stored as credits), and a max bet button 16 for artificially inserting three credit medals. Is provided.

また、前面パネル2には、回転リール4a,4b,4cの回転を開始させるためのスタートレバー17と、回転中の回転リール4a,4b,4cを停止させるための停止ボタン18a,18b,18cが設けられている。
遊技者がスタートレバー17を操作すると、通常は、3つの回転リール4a,4b,4cが正方向に回転を開始する。但し、内部当選状態を予告するリール演出のために、回転リール4a,4b,4cの全部又は一部が、変則的に回転(いわゆる「演出回転」)した上で正方向の回転を開始する場合もある。
リール演出としては具体的内容が各種考えられ、例えば、
・極めてゆっくり正方向に回転(正回転)して静止するスロー演出
・正回転と逆回転を繰り返した後に、所定時間だけ逆回転して静止する逆回転演出
・第1の所定時間だけ正回転と逆回転を繰り返した後に静止する第1の揺動演出
・第2の所定時間だけ正回転と逆回転を繰り返した後に静止する第2の揺動演出
・第2の所定時間だけ正回転と逆回転を繰り返した後に静止し、さらに、極めてゆっくり正回転した後に静止するスロー揺動演出
・第2の時間だけ正回転と逆回転を繰り返した後に静止し、さらに、所定時間だけ逆回転した後に静止する揺動逆回転演出
・所定速度で正回転又は逆回転した後に所定の図柄に揃えて静止する演出
などが用意されている。そして、このようなリール演出時には、LCDユニット7におけるキャラクタ演出や、LEDランプを点滅させるランプ演出や、スピーカを駆動する音声演出の全部又は一部が適宜に選択されて実行される。
The front panel 2 has a start lever 17 for starting rotation of the rotating reels 4a, 4b, 4c and stop buttons 18a, 18b, 18c for stopping the rotating reels 4a, 4b, 4c. Is provided.
When the player operates the start lever 17, the three rotary reels 4a, 4b, 4c usually start rotating in the forward direction. However, in order to produce a reel effect informing the internal winning state, all or part of the rotating reels 4a, 4b, 4c rotate irregularly (so-called “effect rotation”) and start to rotate in the forward direction. There is also.
Various kinds of specific contents are considered for the reel production. For example,
・ Slow production that rotates extremely slowly in the forward direction (forward rotation) and stops still ・ After repeated forward and reverse rotation, reverse rotation that rotates backward for a predetermined time and stops still ・ For normal rotation for the first predetermined time The first swing effect that stops after repeating the reverse rotation ・ The second swing effect that stops still after repeating the normal rotation and reverse rotation for the second predetermined time ・ The normal rotation and reverse rotation for the second predetermined time Slow oscillating effect that stops still after repeating forward, and then stops still after very slowly rotating forward ・ Stops after repeating forward and reverse rotations for the second time, and then stops after rotating backwards for a predetermined time There are swinging reverse rotation effects and effects such as rotating in the normal direction or reverse rotation at a predetermined speed and then resting on a predetermined pattern. At the time of such a reel effect, all or a part of the character effect on the LCD unit 7, the lamp effect that blinks the LED lamp, and the sound effect that drives the speaker is appropriately selected and executed.

前面パネル2の下方には、メダルを蓄える横長の受け皿19と、払出装置5の払出口5cに連通するメダル排出口20とが設けられている。
また前面パネル2の上方左右、及び下方左右にはスピーカ30a,30b,30c,30dが配置されている。
Below the front panel 2, a horizontally long tray 19 that stores medals and a medal discharge port 20 that communicates with the payout port 5 c of the payout device 5 are provided.
Speakers 30a, 30b, 30c, and 30d are arranged on the upper left and right sides and the lower left and right sides of the front panel 2.

図3に示すように、前面パネル2の裏側は、図1で示したメダル投入口12に投入されたメダルの選別を行うメダルセレクタ21と、メダルセレクタ21により不適正と判別されたメダルをメダル排出口20に案内する返却通路22とが設けられている。
また、前面パネル2の裏側上部には、基板ケース23が配置されている。この基板ケース23には、図5で述べる演出制御基板42、演出インターフェース基板43、液晶制御基板44、液晶インターフェース基板45などが収容されている。
またメダルセレクタ21の側方には、図1に示す各種の遊技部材と主制御基板40との間の信号を中継する遊技中継基板60(図5で後述する)が設けられている。
As shown in FIG. 3, the back side of the front panel 2 has a medal selector 21 for selecting medals inserted in the medal slot 12 shown in FIG. A return passage 22 for guiding to the discharge port 20 is provided.
A substrate case 23 is disposed on the upper back side of the front panel 2. The board case 23 accommodates an effect control board 42, an effect interface board 43, a liquid crystal control board 44, a liquid crystal interface board 45, and the like described in FIG.
A game relay board 60 (described later in FIG. 5) for relaying signals between the various game members shown in FIG. 1 and the main control board 40 is provided on the side of the medal selector 21.

本実施の形態のスロットマシンにおいては、メダル投入口12を介したメダルの投入、又はマックスベットボタン16の操作により賭数の設定が可能とされる。スロットマシンでは、1ゲームに対して所定数の賭数(本例では回転リール4の数と同数の「3」)を設定することによりゲームが開始可能となると共に、表示態様を変化させることが可能な可変表示装置(本例では図柄回転ユニット3)の表示結果が導出表示されることにより1ゲームが終了し、該可変表示装置の表示結果に応じて入賞が発生可能とされている。
In the slot machine of the present embodiment, the number of bets can be set by inserting medals through the medal slot 12 or by operating the max bet button 16. In the slot machine, the game can be started and the display mode can be changed by setting a predetermined number of bets per game (in this example, “3”, which is the same as the number of rotating reels 4). A display result of a possible variable display device (in this example, the symbol rotation unit 3) is derived and displayed, so that one game is completed, and a winning can be generated according to the display result of the variable display device.

<2.回胴遊技機の制御構成>

次に本実施の形態のスロットマシンの制御系の構成について説明する。
図5は、スロットマシンの内部の制御構成の概略的なブロック図である。本実施の形態のスロットマシンは、その制御構成が主制御基板40を中心に構成されている。
主制御基板40は、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)等を備えたマイクロコンピュータやインターフェースのための回路等が搭載され、スロットマシンの遊技動作全般に係る統括的な制御を行う。例えば主制御基板40が回転リール4a,4b,4cを含む各種の遊技部材の動作を制御するとともに、動作状況を把握する。また遊技動作に応じて演出を実行させる。
主制御基板40は、電源基板41、演出インターフェース基板43、回胴中継基板53、遊技中継基板60、外部集中端子板70、回胴設定基板71、払出接続基板73との間で各種信号(コマンドや検出信号等)のやりとりを行う。
<2. Control configuration of spinning machine>

Next, the configuration of the control system of the slot machine of the present embodiment will be described.
FIG. 5 is a schematic block diagram of the internal control configuration of the slot machine. The slot machine of the present embodiment has a control configuration centered on the main control board 40.
The main control board 40 is equipped with a microcomputer having a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), etc., a circuit for an interface, etc. Perform such overall control. For example, the main control board 40 controls the operation of various game members including the rotary reels 4a, 4b, and 4c, and grasps the operation status. In addition, an effect is executed according to the game operation.
The main control board 40 has various signals (commands) between the power supply board 41, the production interface board 43, the rotary relay board 53, the game relay board 60, the external concentration terminal board 70, the rotary setting board 71, and the payout connection board 73. And detection signals).

電源基板41は、AC24Vを受けて、これを整流・平滑して直流電圧を得る。そして電源基板41はコンバータ回路を備えて各部に必要な電源電圧を生成する。図では主制御基板40を介して各部に与えられる主制御電源電圧V1、及び演出インターフェース基板43を介して各部に与えられる演出制御電源電圧V2を示している。
また電源基板41には電源遮断状態を検出する電源監視回路や、主制御基板40にバックアップ電源電圧を供給するバックアップ電源回路なども設けられている。
The power supply board 41 receives AC24V and rectifies and smoothes it to obtain a DC voltage. The power supply board 41 includes a converter circuit and generates a power supply voltage necessary for each part. In the figure, a main control power supply voltage V1 given to each part via the main control board 40 and an effect control power supply voltage V2 given to each part via the effect interface board 43 are shown.
The power supply board 41 is also provided with a power supply monitoring circuit for detecting a power cut-off state, a backup power supply circuit for supplying a backup power supply voltage to the main control board 40, and the like.

演出制御基板42は、CPU、ROM、RAM等を備えたマイクロコンピュータやインターフェースのための回路等が搭載され、スロットマシンの演出動作に関する制御を行う。
演出制御基板42は、演出インターフェース基板43を介して主制御基板40からのコマンドを受け取る。例えば主制御基板40は、演出制御基板42に対して、スピーカ30(30a〜30d)による音演出、LEDランプや冷陰極線管放電管によるランプ演出、LCDユニット7による図柄演出を実現するための制御コマンドを出力し、演出制御基板42はその制御コマンドに応じた演出制御処理を行う。
また演出制御基板42では、主制御基板40から内部抽選結果を特定する制御コマンド(遊技開始コマンド)受けると、内部抽選結果に対応してアシストタイム当選状態とするか否かのAT抽選を実行する。
なお、演出制御基板42においてAT抽選に当選した後の所定回数のゲーム(AT中)では、小役当選状態において、その図柄を停止ラインに整列できるよう、3つの回転リール4の停止順序を遊技者に報知している。
また演出制御基板42は、主制御基板40からのリール演出実行を示す制御コマンドを受けると、主制御基板40で実行するリール演出に対応する演出動作を開始する。
これらのような演出制御動作のため、演出制御基板42は、演出インターフェース基板43を通して各部と必要な通信を行う。
The effect control board 42 is equipped with a microcomputer equipped with a CPU, ROM, RAM, etc., an interface circuit, and the like, and performs control related to the effect operation of the slot machine.
The effect control board 42 receives a command from the main control board 40 via the effect interface board 43. For example, the main control board 40 controls the effect control board 42 to realize sound effects by the speakers 30 (30a to 30d), lamp effects by LED lamps and cold cathode ray tube discharge tubes, and symbol effects by the LCD unit 7. The command is output, and the effect control board 42 performs effect control processing according to the control command.
In addition, when the production control board 42 receives a control command (game start command) for specifying the internal lottery result from the main control board 40, it executes AT lottery to determine whether or not to enter the assist time winning state corresponding to the internal lottery result. .
In addition, in a predetermined number of games (during the AT) after winning the AT lottery on the effect control board 42, the stop order of the three rotating reels 4 is played so that the symbols can be aligned with the stop line in the small role winning state. The person is informed.
In addition, when the effect control board 42 receives a control command indicating execution of the reel effect from the main control board 40, the effect control board 42 starts an effect operation corresponding to the reel effect executed on the main control board 40.
Due to such an effect control operation, the effect control board 42 performs necessary communication with each unit through the effect interface board 43.

演出制御基板42は、演出インターフェース基板43、及び液晶インターフェース基板45を介して液晶制御基板44に接続されている。
液晶制御基板44は、LCDユニット7における画像表示による演出の制御を行う。この液晶制御基板44には、VDP(Video Display Processor)、画像ROM、VRAM(Video RAM)、液晶制御CPU、液晶制御ROM、液晶制御RAM等が搭載される。
VDPは、画像展開処理や画像の描画などの映像出力処理全般の制御を行う。
画像ROMには、VDPが画像展開処理を行う画像データ(演出画像データ)が格納されている。
VRAMは、VDPが展開した画像データを一時的に記憶する画像メモリ領域とされる。
液晶制御CPUは、VDPが表示制御を行うために必要な制御データを出力する。
液晶制御ROMには、液晶制御CPUの表示制御動作手順を記述したプログラムやその表示制御に必要な種々のデータが格納される。
液晶制御RAMは、ワークエリアやバッファメモリとして機能する。
このような液晶制御基板44は、演出制御基板42からの表示演出に関するコマンドを受け付け、それに応じて表示駆動信号を生成する。そして液晶インターフェース基板45を介してLCDユニット7に表示駆動信号を供給し、画像表示を実行させる。
The effect control board 42 is connected to the liquid crystal control board 44 via the effect interface board 43 and the liquid crystal interface board 45.
The liquid crystal control board 44 controls effects by displaying images on the LCD unit 7. On the liquid crystal control board 44, a VDP (Video Display Processor), an image ROM, a VRAM (Video RAM), a liquid crystal control CPU, a liquid crystal control ROM, a liquid crystal control RAM, and the like are mounted.
The VDP performs overall control of video output processing such as image development processing and image drawing.
The image ROM stores image data (effect image data) on which the VDP performs image expansion processing.
The VRAM is an image memory area that temporarily stores image data developed by the VDP.
The liquid crystal control CPU outputs control data necessary for the VDP to perform display control.
The liquid crystal control ROM stores a program describing the display control operation procedure of the liquid crystal control CPU and various data necessary for the display control.
The liquid crystal control RAM functions as a work area and a buffer memory.
Such a liquid crystal control board 44 receives a command related to a display effect from the effect control board 42 and generates a display drive signal accordingly. Then, a display drive signal is supplied to the LCD unit 7 via the liquid crystal interface board 45 to execute image display.

また、演出制御基板42は、演出インターフェース基板43を介してスピーカ中継基板47を制御し、スピーカ30a〜30dを用いた音演出を実行させる。
また演出制御基板42は、演出インターフェース基板43を介して、LED基板48や回胴LED中継基板56を経由して各種のLEDによるランプ演出を実現している。
LED基板48には、例えば図1に示したLED演出部15a,15b,15cとしてのLEDが配置されている。
回胴LED中継基板56は、第1回胴LED基板50a、第2回胴LED基板50b、第3回胴LED基板50cについて演出制御基板42からのLED駆動信号を中継する。
第1回胴LED基板50aには、回転リール4aの図柄を内側から照射する回胴用LEDが配置されている。第2回胴LED基板50bには、回転リール4bの図柄を内側から照射する回胴用LEDが配置されている。また、第3回胴LED基板50cには、回転リール4cの図柄を内側から照射する回胴用LEDが配置されている。
In addition, the effect control board 42 controls the speaker relay board 47 via the effect interface board 43 to execute sound effects using the speakers 30a to 30d.
The effect control board 42 realizes lamp effects by various LEDs via the effect interface board 43 and the LED board 48 and the spinning LED relay board 56.
On the LED board 48, for example, LEDs as the LED effect units 15a, 15b, and 15c shown in FIG. 1 are arranged.
The spinning LED relay board 56 relays the LED drive signal from the effect control board 42 for the first spinning LED board 50a, the second spinning LED board 50b, and the third spinning LED board 50c.
On the first spinning LED substrate 50a, the spinning LED for irradiating the design of the rotating reel 4a from the inside is arranged. On the second spinning LED substrate 50b, the spinning LED for irradiating the design of the rotating reel 4b from the inside is arranged. Further, on the third spinning LED substrate 50c, a spinning LED for irradiating the design of the rotating reel 4c from the inside is arranged.

主制御基板40は、遊技中継基板60を介して、図5のようにスロットマシンの各種遊技部材に接続されている。
遊技表示基板61は、遊技状態を示すLED群9や、7セグメントLEDを有した払出表示部10や、同じく7セグメントLEDを有した貯留数表示部11を搭載している。主制御基板40は、遊技表示基板61に対して、遊技中継基板60を介して制御コマンドを送信し、遊技状態に応じた表示を実行させるように制御している。
The main control board 40 is connected to various game members of the slot machine through the game relay board 60 as shown in FIG.
The game display board 61 is equipped with an LED group 9 indicating a gaming state, a payout display unit 10 having a 7-segment LED, and a storage number display unit 11 having a 7-segment LED. The main control board 40 controls the game display board 61 to transmit a control command via the game relay board 60 to execute display according to the game state.

始動スイッチ基板62には、スタートレバー17の操作に応じてONされる始動スイッチが搭載されている。
停止スイッチ基板63には停止ボタン18a、18b、18cの操作に応じてそれぞれONされる停止スイッチが搭載されている。また、図示は省略したが、本例の停止スイッチ基板63には、停止ボタン18a、18b、18cのそれぞれに対して設けられ、対応する停止ボタン18を発光させるための停止ボタンLEDも搭載されている。
貯留メダル投入スイッチ基板64には、マックスベットボタン16の操作に応じてONされる投入スイッチが搭載されている。また、図示は省略したが、本例の貯留メダル投入スイッチ基板64には、マックスベットボタン16を発光させるためのマックスベットLEDも搭載されている。
精算スイッチ基板65には清算ボタン14の操作に応じてONされる清算スイッチが搭載されている。
主制御基板40は、これらの基板(61,62,63,64,65)のスイッチによる遊技者操作の検出信号を、遊技中継基板60を介して受信する。
A start switch that is turned on in response to the operation of the start lever 17 is mounted on the start switch board 62.
The stop switch board 63 is provided with stop switches that are turned on in response to the operation of the stop buttons 18a, 18b, and 18c. Although not shown, the stop switch board 63 of this example is also provided with a stop button LED that is provided for each of the stop buttons 18a, 18b, and 18c and that causes the corresponding stop button 18 to emit light. Yes.
The storage medal insertion switch board 64 is equipped with an insertion switch that is turned on in response to an operation of the max bet button 16. Although not shown, the stored medal insertion switch board 64 of this example is also equipped with a Max Bet LED for causing the Max Bet button 16 to emit light.
A settlement switch that is turned on in response to the operation of the settlement button 14 is mounted on the settlement switch board 65.
The main control board 40 receives, via the game relay board 60, detection signals of player operations by the switches of these boards (61, 62, 63, 64, 65).

ドアセンサ66は、前面パネル2の前述した鍵穴に対して設けられたセンサである。ドアセンサ66によって、前述した遊技の中止解除動作を認識可能とされている。
セレクタセンサ67及び投入メダル関連センサ68は、メダル投入口12から投入されたメダルを検出するために設けられている。これらセレクタセンサ67及び投入メダル関連センサ68については後に改めて説明する。
主制御基板40は、これらのセンサ(66,67,68)の検出信号を、遊技中継基板60を介して受信する。さらに、主制御基板40は、受信したセンサの検出信号により投入されたメダルの投入時間や通過方向を検出し、所定の規定に合致した場合にのみ投入メダルとして受け付け、それ以外の場合には投入メダルエラーとして処理する。
ブロッカーソレノイド69は、不正メダルの通過を阻止するブロッカーをON/OFFに駆動する。主制御基板40は、遊技中継基板60を介してブロッカーソレノイド69を制御する。
The door sensor 66 is a sensor provided for the aforementioned key hole of the front panel 2. The door sensor 66 is capable of recognizing the above-described game cancellation cancellation operation.
The selector sensor 67 and the inserted medal related sensor 68 are provided for detecting a medal inserted from the medal slot 12. The selector sensor 67 and the inserted medal related sensor 68 will be described later.
The main control board 40 receives the detection signals of these sensors (66, 67, 68) via the game relay board 60. Further, the main control board 40 detects the insertion time and passing direction of the medal inserted by the detection signal of the received sensor, and accepts it as an inserted medal only when it meets a predetermined rule, otherwise it is inserted Treat as a medal error.
The blocker solenoid 69 drives a blocker that prevents passage of illegal medals to ON / OFF. The main control board 40 controls the blocker solenoid 69 via the game relay board 60.

また、主制御基板40は、回胴中継基板53を経由して、回転リール4a,4b,4cを回転させる3つのステッピングモータ54(第1回胴ステッピングモータ54a、第2回胴ステッピングモータ54b、第3回胴ステッピングモータ54c)と接続されている。
さらに主制御基板40は、回胴中継基板53を経由して、回転リール4a,4b,4cの原点位置(後述する原点位置101)を検出するための3つのインデックスセンサ55(第1回胴インデックスセンサ55a、第2回胴インデックスセンサ55b、第3回胴インデックスセンサ55c)に接続されている。
主制御基板40は、ステッピングモータ54a,54b,54cを駆動又は停止させることによって、回転リール4a,4b,4cの回転動作と、目的位置での停止動作を実現している。また主制御基板40は、インデックスセンサ55a,55b,55cの検出信号に基づき、回転リール4a,4b,4cの原点位置を検知できる。
In addition, the main control board 40 has three stepping motors 54 (a first cylinder stepping motor 54a, a second cylinder stepping motor 54b, a second cylinder stepping motor 54b, The third cylinder stepping motor 54c) is connected.
Further, the main control board 40 is connected to the three index sensors 55 (first cylinder index) for detecting the origin position (origin position 101 described later) of the rotary reels 4a, 4b, 4c via the cylinder relay board 53. Sensor 55a, second cylinder index sensor 55b, and third cylinder index sensor 55c).
The main control board 40 realizes the rotating operation of the rotating reels 4a, 4b, 4c and the stopping operation at the target position by driving or stopping the stepping motors 54a, 54b, 54c. The main control board 40 can detect the origin positions of the rotating reels 4a, 4b, and 4c based on the detection signals of the index sensors 55a, 55b, and 55c.

また、主制御基板40は、払出接続基板73を介してメダル払出のための装置部にも接続されている。メダル払出のための装置部として、メダル払出制御を行うホッパー基板74と、払出モータ75と、メダル払出センサ76が設けられている。
ホッパー基板74は、主制御基板40からの制御コマンドに基づいて払出モータ75を回転させて、所定量のメダルを払出しする。
メダル払出センサ76は、払出メダルの通過を検出する。メダル払出センサ76による検出信号は、払出メダル枚数が不足したり払出動作が行われないなどの払出異常状態の検出に用いられる。
The main control board 40 is also connected to a device unit for paying out medals via a payout connection board 73. A hopper board 74 for performing medal payout control, a payout motor 75, and a medal payout sensor 76 are provided as an apparatus unit for paying out medals.
The hopper board 74 rotates a payout motor 75 based on a control command from the main control board 40 and pays out a predetermined amount of medals.
The medal payout sensor 76 detects the passage of the payout medal. The detection signal from the medal payout sensor 76 is used to detect an abnormal payout state such as a shortage of payout medals or no payout operation.

また主制御基板40は、外部集中端子板70に接続されている。外部集中端子板70は、例えばホールコンピュータに接続されており、主制御基板40は、外部集中端子板70を通して、メダルの投入枚数やメダルの払出枚数などをホールコンピュータに出力している。   The main control board 40 is connected to the external concentration terminal board 70. The external concentration terminal board 70 is connected to, for example, a hall computer, and the main control board 40 outputs the number of inserted medals and the number of paid out medals to the hall computer through the external concentration terminal board 70.

また主制御基板40は、回胴設定基板71にも接続されている。回胴設定基板71に対しては設定キーの操作に応じてON/OFFされる設定キースイッチ72aとリセットボタンの操作に応じてON/OFFされるリセットスイッチ72bとが設けられている。回胴設定基板71は、係員が上記の設定キーやリセットボタンを用いて設定した設定値vdを示す信号などを出力している。
ここで、設定値vdとは、当該スロットマシンで実行される抽選処理の当選確率、換言すれば、遊技者に有利な遊技状態に当選させるか否かの確率についての段階を表す値であり、遊技ホールの営業戦略に基づいて適宜に設定される。本例では、当選確率の段階は6段階とされ、設定値vdとしては設定「1」〜設定「6」までの6段階のうち任意の段階を表す値を設定可能とされている。この際、設定値vd自体の値としては、「0」〜「5」が割り当てられる。
本例では、設定「1」〜設定「6」の順で当選確率が高くされている。
The main control board 40 is also connected to the rotating drum setting board 71. A setting key switch 72a that is turned on / off in response to an operation of a setting key and a reset switch 72b that is turned on / off in response to an operation of a reset button are provided for the rotating drum setting board 71. The rotating drum setting board 71 outputs a signal indicating the setting value vd set by the staff using the setting key and the reset button.
Here, the set value vd is a value representing a stage regarding the winning probability of the lottery process executed in the slot machine, in other words, the probability of whether or not to win the gaming state advantageous to the player. It is set as appropriate based on the sales strategy of the game hall. In this example, the winning probability has six stages, and the set value vd can be set to a value representing an arbitrary stage among the six stages from setting “1” to setting “6”. At this time, “0” to “5” are assigned as the value of the setting value vd itself.
In this example, the winning probability is increased in the order of setting “1” to setting “6”.

ホールの係員等は、所定の操作により設定値vdの変更を行うことができる。具体的に、設定値vdの変更を行うにあたっては、先ず、前面パネル2を開放し、設定キースイッチ72aをONにしたまま(本例では設定キーを右に回したまま)で電源をONにする。すると、回胴設定基板71に対して設けられた表示器に現在設定されている段階を表す設定の値(「1」〜「6」の何れか)が表示され、この状態でリセットボタンを押す(リセットスイッチ72bがONとなる)ごとに表示値が+1される(表示値「6」の次は「1」に戻る)。さらに、このようなリセットボタンによる値の選択後、スタートレバー17を操作することで、設定値vdが選択した値に応じた値に確定され、その後、設定キースイッチ72aをOFFする(本例では設定キーを左に回す)ことで、設定値vdの変更が終了する。   A hall attendant or the like can change the set value vd by a predetermined operation. Specifically, when changing the setting value vd, first, the front panel 2 is opened, and the power is turned on with the setting key switch 72a turned on (in this example, the setting key is turned to the right). To do. Then, a setting value (any one of “1” to “6”) indicating the currently set stage is displayed on the indicator provided for the rotating drum setting board 71, and the reset button is pressed in this state. Each time the reset switch 72b is turned ON, the display value is incremented by 1 (the display value “6” is followed by “1”). Further, after the value is selected with the reset button, the start lever 17 is operated to determine the set value vd according to the selected value, and then the setting key switch 72a is turned OFF (in this example, The setting value vd is changed by turning the setting key counterclockwise.

続いて、図6で主制御基板40の回路構成を説明する。
図示の通り、主制御基板40は、ワンチップマイコンによるコントローラ80と、8ビットパラレルデータを入出力するI/Oポート回路83と、カウンタ回路81と、各部とのインターフェース部を有して構成されている。
Next, the circuit configuration of the main control board 40 will be described with reference to FIG.
As shown in the figure, the main control board 40 includes a controller 80 using a one-chip microcomputer, an I / O port circuit 83 for inputting / outputting 8-bit parallel data, a counter circuit 81, and an interface unit for each unit. ing.

コントローラ80は、CPU80a、ROM80b、RAM80cの他、割込コントローラ80dやCTC(Counter/Timer Circuit) 80e等を内蔵している。
CTC80eは、8ビットのカウンタやタイマを集積した回路であり、CPU80aの処理における周期的割り込みや一定周期のパルス出力作成機能(ビットレートジェネレータ)、時間計測の機能を付与するものである。本例では、CTC80eを利用して、CPU80aに1.49ms(ミリ秒)の時間間隔でタイマ割込みをかけている。
In addition to the CPU 80a, ROM 80b, and RAM 80c, the controller 80 includes an interrupt controller 80d, a CTC (Counter / Timer Circuit) 80e, and the like.
The CTC 80e is a circuit in which an 8-bit counter and a timer are integrated, and adds a periodic interrupt, a fixed-period pulse output generation function (bit rate generator), and a time measurement function in the processing of the CPU 80a. In this example, a timer interrupt is applied to the CPU 80a at a time interval of 1.49 ms (milliseconds) using the CTC 80e.

カウンタ回路81はハードウェア的に乱数値を生成する回路である。コントローラ80(CPU80a)はカウンタ回路81で生成された乱数値を利用して抽選処理を行う。   The counter circuit 81 is a circuit that generates a random value in hardware. The controller 80 (CPU 80a) performs a lottery process using the random value generated by the counter circuit 81.

主制御基板40には、コントローラ80と図5に示した各基板等とのインターフェースが設けられる。
電源インターフェース82は電源基板41の電源回路との間のインターフェースである。
遊技インターフェース84は遊技中継基板60との間のインターフェースである。コントローラ80は、遊技インターフェース84を介して各種スイッチ、センサの検出信号の入力や、LED制御、ブロッカーソレノイド制御のためのコマンド送信を行う。
回胴モータ駆動部85は回胴中継基板53との間のインターフェースである。コントローラ80は、回胴モータ駆動部85によりステッピングモータ54a,54b,54cに対するモータ駆動信号(後述する励磁データφ1〜φ4)の出力を行うと共に、回胴モータ駆動部85を経由して入力されるインデックスセンサ55a,55b,55cからの検出信号を取得する。
演出制御インターフェース86は、コントローラ80が演出インターフェース基板43を介して演出制御基板42へのコマンド送信を行うためのインターフェースである。具体的には例えば8ビットパラレルポートである。
払出接続インターフェース87は払出接続基板73とのインターフェースである。
The main control board 40 is provided with an interface between the controller 80 and each board shown in FIG.
The power interface 82 is an interface with the power circuit of the power board 41.
The game interface 84 is an interface with the game relay board 60. The controller 80 inputs various switches and sensor detection signals, and transmits commands for LED control and blocker solenoid control via the game interface 84.
The rotating motor driving unit 85 is an interface with the rotating relay substrate 53. The controller 80 outputs motor drive signals (excitation data φ1 to φ4, which will be described later) to the stepping motors 54a, 54b, and 54c by the rotary motor driving unit 85 and is input via the rotary motor driving unit 85. Detection signals from the index sensors 55a, 55b, and 55c are acquired.
The effect control interface 86 is an interface for the controller 80 to transmit a command to the effect control board 42 via the effect interface board 43. Specifically, for example, an 8-bit parallel port.
The payout connection interface 87 is an interface with the payout connection board 73.

外部インターフェース88は、外部集中端子板70を介したホールコンピュータとのインターフェースである。
回胴設定インターフェース89は、回胴設定基板71との間のインターフェースである。
The external interface 88 is an interface with the hall computer via the external concentration terminal board 70.
The rotating drum setting interface 89 is an interface with the rotating drum setting board 71.

<3.メダル投入に係る構成>

続いて、図7乃至図9を参照して、メダル投入に係る構成について説明する。
図7A及び図8Aは、本実施の形態のスロットマシンに設けられたメダルセレクタ21の構造を示す断面図、図7Bは図7AのA−A断面図、図8Bは図8AのB−B断面図である。
<3. Composition related to medal insertion>

Next, a configuration relating to medal insertion will be described with reference to FIGS. 7 to 9.
7A and 8A are cross-sectional views showing the structure of the medal selector 21 provided in the slot machine of the present embodiment, FIG. 7B is a cross-sectional view taken along line AA in FIG. 7A, and FIG. 8B is a cross-sectional view taken along line BB in FIG. FIG.

図7Aに示すように、メダルセレクタ21には、メダル投入口12から投入されたメダルが流下する投入流路21a及び投入流路21aを流下したメダルをメダルタンク5aへ案内する取込側流路21bが形成されている。また、図7A、図7Bに示すように、投入流路21aの下方には、前述したブロッカーソレノイド69の励磁により軸21daを支点として揺動する流路切替板21d及び投入流路21aから落下したメダルをメダル排出口20に案内する排出側流路21cが設けられている。   As shown in FIG. 7A, the medal selector 21 has an insertion channel 21a through which medals inserted from the medal insertion port 12 flow down, and an intake side channel for guiding the medals flowing down the insertion channel 21a to the medal tank 5a. 21b is formed. Further, as shown in FIGS. 7A and 7B, the flow path switching plate 21d swinging around the shaft 21da as a fulcrum by the excitation of the blocker solenoid 69 and the flow path 21a fall below the flow path 21a. A discharge-side flow path 21 c for guiding medals to the medal discharge port 20 is provided.

流路切替板21dは、ブロッカーソレノイド69が励磁されていない状態において、図7A、図7Bに示すように、その上端部21dbがメダルセレクタ21本体に設けられた凹部21e内に収容された状態とされ、投入流路21aと排出側流路21cとが連通した状態となるため、投入流路21aを流下するメダルは排出側流路21cに落下してメダル排出口20より排出される。
また、流路切替板21dは、ブロッカーソレノイド69が励磁された状態において、図8A、図8Bに示すように、流路切替板21dの上部が軸21daを支点として図中左方向(矢印方向)に揺動することで、流路切替板21dの上端部21dbが凹部21eより突出した状態となるため、投入流路21aを流下するメダルは流路切替板21dの上端部21dbに沿って取込側流路21b内に流下し、メダルタンク5aに案内される。
In the state where the blocker solenoid 69 is not excited, the flow path switching plate 21d has a state in which its upper end 21db is housed in a recess 21e provided in the main body of the medal selector 21, as shown in FIGS. 7A and 7B. Then, since the input flow path 21a and the discharge side flow path 21c are in communication with each other, the medal flowing down the input flow path 21a falls into the discharge side flow path 21c and is discharged from the medal discharge port 20.
Further, in the state where the blocker solenoid 69 is excited, the flow path switching plate 21d is, as shown in FIG. 8A and FIG. Since the upper end portion 21db of the flow path switching plate 21d protrudes from the concave portion 21e, the medal flowing down the input flow path 21a is taken in along the upper end portion 21db of the flow path switching plate 21d. It flows down into the side channel 21b and is guided to the medal tank 5a.

また、取込側流路21bには、図8Aに示すように、取込側流路21bを流下するメダルの通過を検出するための第1投入メダルセンサ68a、第2投入メダルセンサ68bが設けられている。これら第1投入メダルセンサ68a、第2投入メダルセンサ68bは、前述した投入メダル関連センサ68(図5参照)として設けられたものである。
図のように第1投入メダルセンサ68aは、取込側流路21bにおいて第2投入メダルセンサ68bよりも上流側に設けられ、取込側流路21bを流下する円盤状のメダルの通過を第1投入メダルセンサ68a→第2投入メダルセンサ68bの順で検出することが可能とされている。
これら第1投入メダルセンサ68a、第2投入メダルセンサ68bは、1枚のメダルの通過時において、第1投入メダルセンサ68aのみがON、第1投入メダルセンサ68a及び第2投入メダルセンサ68bの双方がON、第2投入メダルセンサ68bのみがONの順で状態が遷移するように近接配置されている。
また、第1投入メダルセンサ68a及び第2投入メダルセンサ68bは、メダルの端部(本例ではメダル上端部)を検出するように配置されているため、メダルを連続投入した場合は、1枚目のメダルが第2投入メダルセンサ68bを通過して該第2投入メダルセンサ68bがOFFとなった後に、後続のメダルが第1投入メダルセンサ68aを通過して該第1投入メダルセンサ68aがONとなるようにされており、これにより連続投入された個々のメダルを確実に検出することが可能とされている。
Further, as shown in FIG. 8A, the take-in flow path 21b is provided with a first throw-in medal sensor 68a and a second throw-in medal sensor 68b for detecting passage of medals flowing down the take-in flow path 21b. It has been. The first inserted medal sensor 68a and the second inserted medal sensor 68b are provided as the aforementioned inserted medal related sensor 68 (see FIG. 5).
As shown in the figure, the first insertion medal sensor 68a is provided upstream of the second insertion medal sensor 68b in the take-in flow path 21b, and passes through the disk-shaped medal flowing down the take-in flow path 21b. It is possible to detect in the order of the first inserted medal sensor 68a → the second inserted medal sensor 68b.
In the first inserted medal sensor 68a and the second inserted medal sensor 68b, when only one medal passes, only the first inserted medal sensor 68a is ON, and both the first inserted medal sensor 68a and the second inserted medal sensor 68b. Are in close proximity so that the state transitions in the order of ON and only the second inserted medal sensor 68b.
The first inserted medal sensor 68a and the second inserted medal sensor 68b are arranged so as to detect the end of the medal (in this example, the upper end of the medal). After the eye medal passes the second inserted medal sensor 68b and the second inserted medal sensor 68b is turned OFF, the subsequent medal passes the first inserted medal sensor 68a and the first inserted medal sensor 68a In this way, it is possible to reliably detect individual medals continuously inserted.

図9は、これら第1投入メダルセンサ68a、第2投入メダルセンサ68bを含む、メダル投入口12からメダルタンク5aまでの流下経路に設けられたメダル検出に係る各種のセンサを模式的に示している。
図7、図8では図示を省略したが、メダルセレクタ21における投入流路21aには、セレクタセンサ67が設けられている。また、メダルセレクタ21における取込側流路21dとメダルタンク5aとを連通するメダルの流下経路には、前述の投入メダル関連センサ68の一つとして通過後センサ68cが設けられている。
FIG. 9 schematically shows various sensors related to medal detection provided in the flow path from the medal slot 12 to the medal tank 5a, including the first inserted medal sensor 68a and the second inserted medal sensor 68b. Yes.
Although not shown in FIGS. 7 and 8, a selector sensor 67 is provided in the insertion channel 21 a in the medal selector 21. In addition, a post-pass sensor 68c is provided as one of the above-mentioned inserted medal-related sensors 68 on the medal flow path that connects the take-in flow path 21d and the medal tank 5a in the medal selector 21.

これらセレクタセンサ67、通過後センサ68c、及び第1投入メダルセンサ68a、第2投入メダルセンサ68bは、例えばフォトセンサで構成され、それぞれ投光部と受光部とを備え、投光部と受光部との間をメダルが通過した際の投光部からの光の遮断を受光部が検知することでメダルの通過が検出される。
なお、以下の説明においては、第1投入メダルセンサ68a、第2投入メダルセンサ68bについてはそれぞれ「センサ1」「センサ2」と表記することもある。
The selector sensor 67, the post-pass sensor 68c, the first inserted medal sensor 68a, and the second inserted medal sensor 68b are configured by, for example, photosensors, and each include a light projecting unit and a light receiving unit, and the light projecting unit and the light receiving unit. The passage of the medal is detected by the light receiving unit detecting the blocking of the light from the light projecting unit when the medal passes between.
In the following description, the first inserted medal sensor 68a and the second inserted medal sensor 68b may be referred to as “sensor 1” and “sensor 2”, respectively.

<4.回胴回転に係る構成及び回転リール>

回転リール4を回転させるための構成及び回転リール4に形成された図柄とステップ位置との関係について図10乃至図12を参照して説明する。
図10は、回転リール4a、4b、4cに対する原点検出に係る構成についての説明図である。原点検出とは、各回転リール4a、4b、4cに設けられた特定の位置、すなわち、原点位置101の検出である。
なお、原点検出に係る構成は、回転リール4a〜4cのそれぞれについて同様であるため、ここでは代表して一つの回転リール(回転リール4と表記)のみを図示している。図10Aは原点検出に係る構成を斜視図により示し、図10Bは回転リール4に形成された被検出部410dと原点位置101との関係を概略断面図により示している。
<4. Configuration related to rotation of rotating cylinder and rotating reel>

The configuration for rotating the rotating reel 4 and the relationship between the symbols formed on the rotating reel 4 and the step position will be described with reference to FIGS.
FIG. 10 is an explanatory diagram of a configuration relating to origin detection for the rotating reels 4a, 4b, and 4c. The origin detection is detection of a specific position provided on each of the rotating reels 4a, 4b, and 4c, that is, the origin position 101.
Since the configuration relating to the origin detection is the same for each of the rotating reels 4a to 4c, only one rotating reel (denoted as rotating reel 4) is shown here as a representative. FIG. 10A is a perspective view showing a configuration relating to origin detection, and FIG. 10B is a schematic cross-sectional view showing the relationship between the detected portion 410 d formed on the rotating reel 4 and the origin position 101.

図10Aには、回転リール4を回転駆動するステッピングモータ54が備えるロータ54rの中心軸(「回転軸Ra」と表記)を一点鎖線により示している。回転リール4には、回転軸Raの軸周りに回転駆動されるリールドラム401と、リールドラム401の内側に配置されたバックライト部402と、リールドラム401を直接的又は間接的に支持するベース体403とを備えている。   In FIG. 10A, the center axis (represented as “rotation axis Ra”) of the rotor 54r provided in the stepping motor 54 that rotationally drives the rotary reel 4 is indicated by a one-dot chain line. The rotary reel 4 includes a reel drum 401 that is driven to rotate about the rotation axis Ra, a backlight unit 402 disposed inside the reel drum 401, and a base that directly or indirectly supports the reel drum 401. And a body 403.

ベース体403は、例えば合成樹脂で構成され、略板状に形成されたベース板403bと、ベース板403bから回転軸Raに沿った方向に突出する突出部403tを有している。ベース板403bは、リールドラム401の左右方向の一方側(ここでは右側)に沿って配置されている。ステッピングモータ54は、ロータ54r(回転軸Ra)を左右方向の一方側(ここでは左側)に向けた状態で、ベース体403の一面側(ここでは左面側)に固定されている。
この場合、突出部403tは、ベース板403bから左側方向に突出している。
The base body 403 is made of, for example, a synthetic resin, and includes a base plate 403b formed in a substantially plate shape, and a protruding portion 403t that protrudes from the base plate 403b in a direction along the rotation axis Ra. The base plate 403b is disposed along one side (here, the right side) of the reel drum 401 in the left-right direction. The stepping motor 54 is fixed to one surface side (here, the left surface side) of the base body 403 with the rotor 54r (rotation axis Ra) directed to one side (here, the left side) in the left-right direction.
In this case, the protruding portion 403t protrudes leftward from the base plate 403b.

リールドラム401は、二つのリールフレーム410,411と、これらリールフレーム410,411の外周に円筒状に装着される帯状のリールシート420とを有して構成されている。リールフレーム410,411は、例えば光透過性を有しないか又は光透過率が極めて低い黒色の合成樹脂製で構成されており、それぞれ外周部がリム部410r、411rとして形成されている。リールフレーム410のリム部410r、リールフレーム411のリム部411rは、それぞれリールシート420の左右の縁部に沿う円環状に形成されている。
リールフレーム410は、ステッピングモータ54のロータ54rに着脱自在に固定されたハブ部410hと、リム部410rとハブ部410hとの間を半径方向に連結する複数のスポーク部410sとを有している。
The reel drum 401 includes two reel frames 410 and 411 and a belt-like reel sheet 420 that is mounted on the outer periphery of the reel frames 410 and 411 in a cylindrical shape. The reel frames 410 and 411 are made of, for example, black synthetic resin that does not have light transmittance or has extremely low light transmittance, and the outer peripheral portions are formed as rim portions 410r and 411r, respectively. The rim portion 410r of the reel frame 410 and the rim portion 411r of the reel frame 411 are formed in an annular shape along the left and right edges of the reel sheet 420, respectively.
The reel frame 410 has a hub portion 410h that is detachably fixed to the rotor 54r of the stepping motor 54, and a plurality of spoke portions 410s that connect the rim portion 410r and the hub portion 410h in the radial direction. .

ここで、本例の場合、リールフレーム411は、リールフレーム410に対して直接的には連結されておらず、リールフレーム411のリム部411rはリールシート420を介してリールフレーム410のリム部410rに支持されている(勿論、リム部411rとリム部410rとの間を周方向の1又は複数箇所で例えば一体に連結することもできる)。   Here, in this example, the reel frame 411 is not directly connected to the reel frame 410, and the rim portion 411 r of the reel frame 411 is connected to the rim portion 410 r of the reel frame 410 via the reel sheet 420. (Of course, the rim portion 411r and the rim portion 410r can be integrally connected, for example, at one or a plurality of locations in the circumferential direction).

リールシート420は、例えば無色透明の合成樹脂製シートにより一定幅の帯状に形成され、リールフレーム410、411のリム部410r,411rに巻き付けられ、例えば接着剤により貼着されている。この図では図示を省略したが、リールシート420上には、複数の図柄が印刷により形成されている。
リールシート420における図柄形成領域は比較的光透過率が高くされており、バックライト部402におけるLEDが点灯したとき、その発光領域が明るく発光するようになっている。
The reel sheet 420 is formed, for example, by a colorless and transparent synthetic resin sheet in a band shape having a certain width, is wound around the rim portions 410r and 411r of the reel frames 410 and 411, and is adhered by, for example, an adhesive. Although not shown in the drawing, a plurality of symbols are formed on the reel sheet 420 by printing.
The symbol forming area in the reel sheet 420 has a relatively high light transmittance, and when the LED in the backlight unit 402 is turned on, the light emitting area emits light brightly.

インデックスセンサ55は、例えば透過型フォトセンサにより構成され、図のように本例ではベース板403bからリールドラム401に突出する突出部403tの先端部分に装着されている。インデックスセンサ55は、発光面、受光面がリールフレーム410の半径方向において互いに対向するように配置された発光部551と受光部552を有している。   The index sensor 55 is constituted by, for example, a transmissive photosensor, and is attached to the tip portion of the protruding portion 403t protruding from the base plate 403b to the reel drum 401 in this example as shown in the figure. The index sensor 55 includes a light emitting unit 551 and a light receiving unit 552 that are arranged such that the light emitting surface and the light receiving surface face each other in the radial direction of the reel frame 410.

本例の場合、リールドラム410の所定のスポーク部410sには、インデックスセンサ55と対向する向きに突出する被検出部410dが形成されている。この被検出部410dは、リールドラム401の回転に伴い、インデックスセンサ55の発光部551と受光部552との間の空間を通過する位置に形成されている。   In the case of this example, a detected portion 410 d that protrudes in a direction facing the index sensor 55 is formed in a predetermined spoke portion 410 s of the reel drum 410. This detected portion 410 d is formed at a position that passes through the space between the light emitting portion 551 and the light receiving portion 552 of the index sensor 55 as the reel drum 401 rotates.

このような構成により、透過型フォトセンサとしてのインデックスセンサ55によっては、リールドラム401(回転リール4)の回転の一周回につき1回、発光部551と受光部552との間を被検出部410dが通過することに伴うONパルスの出現する検出信号が得られる。   With such a configuration, depending on the index sensor 55 as a transmissive photosensor, the detected portion 410d is interposed between the light emitting portion 551 and the light receiving portion 552 once per rotation of the reel drum 401 (rotary reel 4). As a result, a detection signal in which an ON pulse appears as the signal passes is obtained.

ここで、図10Bに示すように、被検出部410dは、回転方向R(正回転方向)に平行な方向おける両エッジ(端部)のうち一方のエッジが原点位置101と同じ回転角度に位置するように位置決めされている。具体的に、本例の被検出部410dは、正回転方向(R)への回転進行方向側のエッジが原点位置101と同じ回転角度に位置するように位置決めされている。   Here, as shown in FIG. 10B, the detected portion 410 d has one edge of both edges (end portions) in the direction parallel to the rotation direction R (forward rotation direction) positioned at the same rotation angle as the origin position 101. Positioned to do so. Specifically, the detected portion 410 d of this example is positioned so that the edge on the rotation traveling direction side in the positive rotation direction (R) is positioned at the same rotation angle as the origin position 101.

なお、原点検出のための構成は、上記で説明したものに限定されるべきものではない。例えば、突起状の被検出部410dに代えて、切欠部による被検出部を設けた構成とすることもできる。この場合、インデックスセンサ55の発光部551と受光部552は、回転リール4の回転に伴い切欠部が到来したときに発光部551の発した光が受光部552で受光されるように配置すればよい。
インデックスセンサ55としては、透過型のフォトセンサに限らず、反射型のフォトセンサを用いることもできる。
Note that the configuration for detecting the origin should not be limited to that described above. For example, instead of the protrusion-shaped detected portion 410d, a configuration in which a detected portion by a notch portion is provided may be employed. In this case, if the light emitting unit 551 and the light receiving unit 552 of the index sensor 55 are arranged so that the light emitted from the light emitting unit 551 is received by the light receiving unit 552 when the cutout portion arrives as the rotating reel 4 rotates. Good.
The index sensor 55 is not limited to a transmissive photosensor, and a reflective photosensor can also be used.

続いて、回転リール4a,4b,4cを回転駆動するためのステッピングモータ54a,54b,54cについて説明する。
本実施の形態において、ステッピングモータ54a,54b,54cはユニポーラ駆動のステッピングモータとされ、それぞれセンタータップされた2つの駆動巻線を有している。本実施の形態の場合、ステッピングモータ54a,54b,54cの駆動は1相励磁と2相励磁とを交互に繰り返す1−2相励磁によって行われる。
Next, stepping motors 54a, 54b, and 54c for rotationally driving the rotating reels 4a, 4b, and 4c will be described.
In the present embodiment, the stepping motors 54a, 54b, 54c are unipolar driving stepping motors, each having two center-tapped drive windings. In the case of the present embodiment, the stepping motors 54a, 54b, 54c are driven by 1-2 phase excitation in which one-phase excitation and two-phase excitation are alternately repeated.

図11Aは、ステッピングモータ54a,54b,54cがそれぞれ有する2つの固定子と、各固定子に巻回された駆動巻線と、回転子の回転位置(矢印)との関係を表した図である。図のようにユニポーラ駆動のステッピングモータにおいては駆動巻線がセンタータップされ、一方の駆動巻線においてセンタータップを境に分割形成されたそれぞれの巻線部を巻線部A、巻線部Aバーと表記する。また、他方の駆動巻線においてセンタータップを境に分割形成されたそれぞれの巻線部を巻線部B、巻線部Bバーと表記する。   FIG. 11A is a diagram illustrating a relationship between two stators included in each of the stepping motors 54a, 54b, and 54c, a drive winding wound around each stator, and a rotational position (arrow) of the rotor. . As shown in the figure, in the stepping motor of the unipolar drive, the drive winding is center-tapped, and one of the drive windings is divided into the winding part A and the winding part A bar. Is written. In addition, the respective winding portions divided and formed at the center tap in the other drive winding are referred to as winding portion B and winding portion B bar.

図11Bは、1−2相励磁において巻線部A、Aバー、B、Bバーに与えられる駆動信号φ(駆動電流)を表している。図のように巻線部Bバーの駆動信号をφ1、巻線部Aバーの駆動信号をφ2、巻線部Bの駆動信号をφ3、巻線部Aの駆動信号をφ4とそれぞれ表記する。
図11Bに示すように、1−2相励磁においては、駆動信号φ1〜φ4による駆動態様について図中の0〜7の8つのステップが繰り返される。具体的には、

・0ステップ目:φ1=on、φ2=off、φ3=off、φ4=off
・1ステップ目:φ1=on、φ2=off、φ3=off、φ4=on
・2ステップ目:φ1=off、φ2=off、φ3=off、φ4=on
・3ステップ目:φ1=off、φ2=off、φ3=on、φ4=on
・4ステップ目:φ1=off、φ2=off、φ3=on、φ4=off
・5ステップ目:φ1=off、φ2=on、φ3=on、φ4=off
・6ステップ目:φ1=off、φ2=on、φ3=off、φ4=off
・7ステップ目:φ1=on、φ2=on、φ3=off、φ4=off

が繰り返される。このように1−2相励磁においては、2つの駆動巻線が同時駆動される(つまり2つの固定子が同時励磁される)ステップ(0,2,4,6)と、一方の駆動巻線のみが駆動される(一方の固定子のみが励磁される)ステップ(1,3,5,7)とが交互に繰り返される。
FIG. 11B shows a drive signal φ (drive current) applied to the winding portions A, A bar, B, and B bar in 1-2 phase excitation. As shown in the figure, the driving signal for the winding part B bar is expressed as φ1, the driving signal for the winding part A bar as φ2, the driving signal for the winding part B as φ3, and the driving signal for the winding part A as φ4.
As shown in FIG. 11B, in the 1-2 phase excitation, eight steps 0 to 7 in the figure are repeated for the driving mode by the driving signals φ1 to φ4. In particular,

・ 0th step: φ1 = on, φ2 = off, φ3 = off, φ4 = off
First step: φ1 = on, φ2 = off, φ3 = off, φ4 = on
Second step: φ1 = off, φ2 = off, φ3 = off, φ4 = on
Third step: φ1 = off, φ2 = off, φ3 = on, φ4 = on
4th step: φ1 = off, φ2 = off, φ3 = on, φ4 = off
5th step: φ1 = off, φ2 = on, φ3 = on, φ4 = off
6th step: φ1 = off, φ2 = on, φ3 = off, φ4 = off
7th step: φ1 = on, φ2 = on, φ3 = off, φ4 = off

Is repeated. Thus, in the 1-2 phase excitation, the two drive windings are driven simultaneously (that is, the two stators are excited simultaneously) (0, 2, 4, 6) and one of the drive windings. Steps (1, 3, 5, 7) in which only one is driven (only one stator is excited) are repeated alternately.

上記のような1−2相励磁により、回転子は、図11Aに示すように0→1→2→3→4→5→6→7→0の位置に間欠的に移動することになり、2相励磁、すなわち0→2→4→6→0の位置に間欠移動する場合と比較してステップ角を半分にできる。具体的に、ステッピングモータ54a,54b,54cのステップ角は360°÷8=45°である。   The 1-2 phase excitation as described above causes the rotor to move intermittently to positions 0 → 1 → 2 → 3 → 4 → 5 → 6 → 7 → 0 as shown in FIG. The step angle can be halved compared with the case of two-phase excitation, that is, intermittent movement to the position of 0 → 2 → 4 → 6 → 0. Specifically, the step angles of the stepping motors 54a, 54b, and 54c are 360 ° ÷ 8 = 45 °.

なお、上記説明からも理解されるように、ここで言う「ステップ」とは、ステッピングモータ54a,54b,54cの最小回転駆動量と換言できるものである。   As can be understood from the above description, the “step” referred to here is the minimum rotational drive amount of the stepping motors 54a, 54b, 54c.

図11Cは、上記のような1−2相励磁を実現するために参照される励磁データテーブルについての説明図である。
励磁データテーブルにおいては、励磁ポインタ(励磁相ポインタ)PTの0〜7が上記の0〜7のステップにそれぞれ対応しており、励磁ポインタPTの0〜7のそれぞれに対しては駆動信号φ1〜φ4のon/offを表す4ビットの励磁データが対応付けられている。なお、図11Cでは、それぞれの励磁データの16進数表記と励磁ポインタPTの0〜7のそれぞれに対応する2相励磁/1相励磁の別も併せて示している。
ここで以下、駆動信号φ1〜φ4の各々に関して、各駆動信号φのon/offを表す各1ビットのデータのことを「励磁データ」と表記する。また、駆動信号φ1についての励磁データについては「励磁データφ1」、駆動信号φ2についての励磁データについては「励磁データφ2」と表記する。同様に、駆動信号φ3についての励磁データは「励磁データφ3」、駆動信号φ4についての励磁データは「励磁データφ4」と表記する。
FIG. 11C is an explanatory diagram of an excitation data table that is referred to in order to realize the 1-2 phase excitation as described above.
In the excitation data table, excitation pointers (excitation phase pointers) 0 to 7 correspond to the above steps 0 to 7, respectively, and drive signals φ1 to φ7 correspond to the excitation pointers PT to 0 to 7, respectively. 4-bit excitation data representing on / off of φ4 is associated. In FIG. 11C, the hexadecimal notation of each excitation data and the two-phase excitation / one-phase excitation corresponding to each of 0 to 7 of the excitation pointer PT are also shown.
Hereinafter, for each of the drive signals φ1 to φ4, each 1-bit data indicating on / off of each drive signal φ is referred to as “excitation data”. The excitation data for the drive signal φ1 is expressed as “excitation data φ1”, and the excitation data for the drive signal φ2 is expressed as “excitation data φ2”. Similarly, excitation data for the drive signal φ3 is expressed as “excitation data φ3”, and excitation data for the drive signal φ4 is expressed as “excitation data φ4”.

後述もするが、主制御基板40のCPU80aは、このような励磁データテーブルを参照した結果に基づきステッピングモータ54a,54b,54cの駆動制御を行う。具体的には、励磁ポインタPTを0→1→2→・・・→7→0→・・・と循環させつつ、現在の励磁ポインタPTの値に対応する励磁データφ1〜φ4に基づいてステッピングモータ54a,54b,54cが駆動されるように制御を行う。
励磁ポインタPTの最短更新周期は、1.49msごとに起動されるタイマ割込み処理(図24)ごとの周期とされる。
なお、励磁データテーブルは、ROM80b等のCPU80aが読み出し可能な記憶手段に対して記憶されている。
As will be described later, the CPU 80a of the main control board 40 controls the driving of the stepping motors 54a, 54b, and 54c based on the result of referring to such an excitation data table. Specifically, stepping is performed based on the excitation data φ1 to φ4 corresponding to the current value of the excitation pointer PT while circulating the excitation pointer PT in the order of 0 → 1 → 2 →... → 7 → 0 →. Control is performed so that the motors 54a, 54b, and 54c are driven.
The shortest update period of the excitation pointer PT is a period for each timer interrupt process (FIG. 24) activated every 1.49 ms.
The excitation data table is stored in a storage unit such as the ROM 80b that can be read by the CPU 80a.

図12は、回転リール4a,4b,4cに形成された図柄についての説明図である。
本例において、回転リール4a,4b,4cの表面には、回転方向に沿って21コマ分の図柄が配置されている。回転リール4a,4b,4cのそれぞれにおいて、図柄の種類は例えば10種類(赤7、白7、バー、キャラ、チェリー、すいか、ベル、リプレイ、はずれ1、はずれ2)とされ、それらが所定の順序で配列されている。図中では、回転リール4aに形成された21コマの図柄をそれぞれ図柄4a1,4a2,・・・,4a21と表している。同様に、回転リール4bに形成された21コマの図柄を図柄4b1,4b2,・・・,4b21、回転リール4cに形成された21コマの図柄を図柄4c1,4c2,・・・,4c21と表している。各図柄の符号の末尾に付した番号は、その図柄の番号を表している。
FIG. 12 is an explanatory diagram of symbols formed on the rotating reels 4a, 4b, and 4c.
In this example, 21 frames of symbols are arranged on the surface of the rotating reels 4a, 4b, 4c along the rotating direction. In each of the rotating reels 4a, 4b, and 4c, there are 10 types of symbols (red 7, white 7, bar, character, cherry, watermelon, bell, replay, loss 1, loss 2). Arranged in order. In the drawing, the symbols of 21 frames formed on the rotating reel 4a are represented as symbols 4a1, 4a2,. Similarly, the symbols of 21 frames formed on the rotating reel 4b are represented as symbols 4b1, 4b2,..., 4b21, and the symbols of 21 frames formed on the rotating reel 4c are denoted as symbols 4c1, 4c2,. ing. The number given to the end of the symbol of each symbol represents the symbol number.

回転リール4a,4b,4cにおいて、各図柄は等間隔で配置され、図中では図柄の切れ目位置を破線で表している。回転リール4a,4b,4cにおいては、所定の図柄切れ目位置が原点位置101とされている。本例における原点位置101は、それぞれ1番目の図柄である図柄4a1,4b1,4c1と、21番目の図柄である図柄4a21,4b21,4c21との間の図柄切れ目位置にそれぞれ設定されている。   In the rotating reels 4a, 4b, and 4c, the symbols are arranged at equal intervals, and in the drawings, the positions of the symbols are indicated by broken lines. In the rotary reels 4a, 4b, and 4c, a predetermined symbol break position is set as the origin position 101. The origin position 101 in this example is set to a symbol break position between symbols 4a1, 4b1, 4c1, which are the first symbols, and symbols 4a21, 4b21, 4c21, which are the 21st symbols, respectively.

図中の矢印Rは、定常回転中(正方向回転中)における回転リール4a,4b,4cの回転方向を表している。このことから理解されるように、各図柄に付した番号は、原点位置101を起点として、定常回転中において図柄が遷移する順番を表している。   An arrow R in the figure represents the rotation direction of the rotating reels 4a, 4b, and 4c during steady rotation (during forward rotation). As understood from this, the numbers given to the symbols represent the order in which the symbols transition during the steady rotation starting from the origin position 101.

ここで、本例においては、ステッピングモータ54a,54b,54cが1回転すると回転リール4a,4b,4cがそれぞれ1/63回転するようにステッピングモータ54a,54b,54cと回転リール4a,4b,4cとの間の回転比が設定されている。換言すれば、回転リール4a,4b,4cを1回転させるにはステッピングモータ54a,54b,54cを63回転させることを要する。
このため、本例においては、回転リール4a,4b,4cを1回転させるために必要なステッピングモータ54a,54b,54cの駆動ステップ数は8×63=504とされている。
Here, in this example, the stepping motors 54a, 54b, 54c and the rotating reels 4a, 4b, 4c are so rotated that the rotating reels 4a, 4b, 4c rotate 1/63 each time the stepping motors 54a, 54b, 54c rotate once. The rotation ratio between is set. In other words, it is necessary to rotate the stepping motors 54a, 54b, and 54c 63 times to rotate the rotating reels 4a, 4b, and 4c once.
For this reason, in this example, the number of driving steps of the stepping motors 54a, 54b, 54c necessary for rotating the rotary reels 4a, 4b, 4c once is 8 × 63 = 504.

本例における回転リール4a,4b,4cには21コマの図柄が等間隔で形成されているため、図柄1コマ当たりのステップ数は504÷21=24ステップである。
これに応じ、各図柄については、ステップ位置として計24の位置を検出可能とされている。ここで、図柄中のステップ位置は、後の図37で説明するステップS1511の処理によってタイマ割込みごとに図柄ステップ数がデクリメント(−1)されていくことで検出可能とされる。すなわち、各図柄中で検出可能なステップ位置は、24番(先頭ステップ位置)〜1番(最終ステップ位置)の24個である。このとき、図37の処理では、図柄ステップ数=0、すなわちその図柄の最終ステップ位置に到達すると、その後のステップS1513の処理で即座に図柄ステップ数=「24」とされる。このため、0番のステップ位置は、次の図柄における24番のステップ位置と同義となる。
Since the symbols of 21 frames are formed at equal intervals on the rotating reels 4a, 4b, and 4c in this example, the number of steps per symbol frame is 504 ÷ 21 = 24 steps.
Accordingly, a total of 24 positions can be detected as step positions for each symbol. Here, the step position in the symbol can be detected when the symbol step number is decremented (−1) for each timer interruption by the processing in step S1511 described later in FIG. That is, the number of step positions detectable in each symbol is 24 (first step position) to 1 (last step position). At this time, in the process of FIG. 37, when the number of symbol steps = 0, that is, when the final step position of the symbol is reached, the number of symbol steps is immediately set to “24” in the subsequent step S1513. For this reason, the 0th step position is synonymous with the 24th step position in the next symbol.

また、各図柄については、24(0)番〜1番のステップ位置のうち所定のステップ位置がその図柄の停止を許可すべき位置(停止許可ステップ位置)として定められている。具体的には、7番のステップ位置が図柄の停止許可ステップ位置として定められている。回転リール4の停止時には停止図柄が決定され、該停止図柄で回転リール4を停止させるが、この際、回転リール4を停止させる位置は停止図柄中のどのステップ位置でも良いわけではなく、7番のステップ位置に達したことに応じて停止を許可するように定められている。
In addition, for each symbol, a predetermined step position among the 24 (0) to 1st step positions is defined as a position (stop permission step position) where the symbol should be permitted to stop. Specifically, the 7th step position is defined as the symbol stop permission step position. When the rotating reel 4 is stopped, a stop symbol is determined and the rotating reel 4 is stopped at the stop symbol. At this time, the position at which the rotating reel 4 is stopped is not limited to any step position in the stop symbol. The stop is permitted in response to reaching the step position.

<5.メモリ領域について>

図13は、主制御基板40におけるメモリに設定された領域(メモリ領域)についての説明図である。具体的には、ROM80b及びRAM80cとしての、CPU80aがアクセス可能なメモリに設定された領域についての説明図である。
<5. About memory area>

FIG. 13 is an explanatory diagram of an area (memory area) set in the memory on the main control board 40. Specifically, it is an explanatory diagram of areas set in a memory accessible by the CPU 80a as the ROM 80b and the RAM 80c.

CPU80aがアクセス可能なメモリには、第1のメモリ領域と第2のメモリ領域とが設定されている。第1のメモリ領域は、CPU80aが遊技動作(ゲーム)の進行にあたって用いる所定のプログラム及びデータを配置するための領域として定められたものである。第2のメモリ領域は、第1のメモリ領域外に配置することが許可されたプログラム及びデータを配置するための領域として定められている。
本例において、第2のメモリ領域への配置が許可されているのは、不正行為(いわゆるゴト)への対策を講じるためのプログラム及びデータとされている。具体的には、例えばメダルの不正な投入や払出を検知するためのプログラム及びデータや、設定値vd、乱数の異常を検知するためのプログラム及びデータ等である。
第1のメモリ領域、第2のメモリ領域のそれぞれには、プログラムを格納する制御領域、プログラムにより使用するデータを格納するデータ領域、及びプログラムによる処理の過程で生成される各種のフラグやタイマ値等を書き替え可能に格納するR/W領域(Read/Write領域)が設定されている。
なお、第1のメモリ領域及び第2のメモリ領域は、電源基板41に設けられた共通のバックアップ電源により電源遮断後も記憶情報を保持可能とされている。
As the memory accessible by the CPU 80a, a first memory area and a second memory area are set. The first memory area is defined as an area for arranging a predetermined program and data used by the CPU 80a for the progress of the game operation (game). The second memory area is defined as an area for arranging programs and data permitted to be arranged outside the first memory area.
In this example, the arrangement in the second memory area is permitted to be programs and data for taking measures against fraud (so-called goto). Specifically, for example, there are a program and data for detecting illegal insertion and withdrawal of medals, a program and data for detecting an abnormality in the set value vd and random numbers, and the like.
Each of the first memory area and the second memory area includes a control area for storing a program, a data area for storing data used by the program, and various flags and timer values generated in the course of processing by the program. An R / W area (Read / Write area) for storing rewritable and the like is set.
The first memory area and the second memory area can hold stored information even after the power is shut off by a common backup power supply provided on the power supply board 41.

図14は、第1のメモリ領域と第2のメモリ領域とについて定められた規制について説明図である。
第1、第2のメモリ領域のそれぞれにおいて、制御領域におけるプログラムは、自身の領域内におけるR/W領域のデータを参照及び更新(記録)することが許可されている。一方、第1、第2のメモリ領域のそれぞれにおいて、制御領域におけるプログラムは、他方のメモリ領域におけるR/W領域のデータについて参照のみが許可され、更新については不許可とされている。例えば、第2のメモリ領域のプログラムが該第2のメモリ領域内のR/W領域に記録したフラグについては、第1のメモリ領域内のプログラムは参照のみが可能とされて更新を行うことはできない。
なお、図示は省略したが、データ領域におけるデータについては、同一メモリ領域内のプログラムのみが参照を許可されている。すなわち、第1のメモリ領域内のプログラムが第2のメモリ領域内のデータ領域のデータを参照したり、第2のメモリ領域内のプログラムが第1のメモリ領域内のデータ領域のデータを参照するといったことは許可されていない。
FIG. 14 is an explanatory diagram of the regulations set for the first memory area and the second memory area.
In each of the first and second memory areas, the program in the control area is permitted to refer to and update (record) the data in the R / W area in its own area. On the other hand, in each of the first and second memory areas, the program in the control area is permitted to refer only to the data in the R / W area in the other memory area and is not permitted to update. For example, with respect to the flag recorded in the R / W area in the second memory area by the program in the second memory area, the program in the first memory area can only be referred to and updated. Can not.
Although illustration is omitted, for data in the data area, only programs in the same memory area are allowed to refer to. That is, a program in the first memory area refers to data in the data area in the second memory area, or a program in the second memory area refers to data in the data area in the first memory area. Is not allowed.

<6.スタート処理>

以下、主制御基板40のCPU80aが実行する各種の処理について説明していく。
先ずは図15のフローチャートにより、スロットマシンの起動時(電源投入時)に対応して実行されるスタート処理について説明する。
このスタート処理は、電源投入時とコントローラ80におけるウォッチドッグタイマ(WDT)のタイムアウト時のそれぞれで発生するリセット信号に応じてCPU80aが実行するものである。すなわち、スタート処理は、スロットマシンの電源投入に伴うコントローラ80の起動時と、コントローラ80の動作が何らかの不具合により所定時間以上停滞したことに伴う再起動時に実行されるものである。
<6. Start processing>

Hereinafter, various processes executed by the CPU 80a of the main control board 40 will be described.
First, referring to the flowchart of FIG. 15, a start process that is executed in response to the slot machine being started (when power is turned on) will be described.
This start process is executed by the CPU 80a in response to a reset signal generated when the power is turned on and when the watchdog timer (WDT) in the controller 80 times out. In other words, the start process is executed when the controller 80 is activated when the slot machine is powered on and when the operation of the controller 80 is reactivated due to a stagnation of a predetermined time or more due to some trouble.

図15において、CPU80aはステップS101で、内蔵レジスタを設定する処理を実行する。すなわち、スタート処理時に内蔵レジスタに設定すべき値を例えばROM80bより読み出し、内蔵レジスタに設定する。   In FIG. 15, the CPU 80a executes processing for setting the internal register in step S101. That is, a value to be set in the internal register at the start processing is read from, for example, the ROM 80b and set in the internal register.

続くステップS102でCPU80aは、スタックポインタへのスタック初期値の設定を行い、ステップS103で電源基板41からの電断信号の状態(ON/OFF状態)を確認する。電断信号がONであれば、CPU80aはステップS101に戻って内蔵レジスタの設定、及びスタックポインタ設定をやり直す。
一方、電断信号がOFFであれば、CPU80aはステップS104に進み、RAM80cへのアクセスを許可する設定を行った上で、ステップS105で電断キーワードが所定値(例えば「5AA5h」)であるか否かを判定する。なお、電断キーワードは、電断時における後述するステップS404(図18)の処理で設定されるものである。電断キーワードが所定値であることは、電断時においてRAM80cにデータが確実に退避されていることを表す(図18のステップS402を参照)
In the subsequent step S102, the CPU 80a sets the stack initial value to the stack pointer, and checks the state (ON / OFF state) of the power interruption signal from the power supply board 41 in step S103. If the power interruption signal is ON, the CPU 80a returns to step S101 to redo the setting of the built-in register and the stack pointer.
On the other hand, if the power interruption signal is OFF, the CPU 80a proceeds to step S104, performs setting to permit access to the RAM 80c, and then determines whether the power interruption keyword is a predetermined value (eg, “5AA5h”) in step S105. Determine whether or not. The power interruption keyword is set in the process of step S404 (FIG. 18) described later at the time of power interruption. The fact that the power interruption keyword is a predetermined value indicates that data is reliably saved in the RAM 80c at the time of power interruption (see step S402 in FIG. 18).

電断キーワードが所定値であれば、CPU80aはステップS106に進み、設定キースイッチ72aの状態(ON/OFF状態)を確認する。設定キースイッチ72aがOFFであれば、CPU80aは後述する電源復帰処理(図16)に移行する。
一方、設定キースイッチ72aがONである場合、CPU80aはステップS107に進んでドア開放センサ35による検出信号に基づいてドア(前面パネル2)が開放状態であるか否かを判定する。ドアが開放状態でない場合、CPU80aは電源復帰処理に移行する。
ドアが開放状態であれば、CPU80aは後述する設定変更処理に移行する。
なお、上記説明から理解されるように、ステップS106で設定キースイッチ72aがONであっても、ステップS107でドアが開放状態でなければ、設定変更処理は行われない。つまり、この場合における設定キー操作は無効扱いとされる。このようにドアが開放されていない場合の設定キー操作を無効扱いとすることで、設定値vdを改竄する不正行為の防止が図られている(後述するステップS109、S110についても同様)。
If the power interruption keyword is a predetermined value, the CPU 80a proceeds to step S106 and confirms the state (ON / OFF state) of the setting key switch 72a. If the setting key switch 72a is OFF, the CPU 80a shifts to a power recovery process (FIG. 16) described later.
On the other hand, when the setting key switch 72a is ON, the CPU 80a proceeds to step S107 and determines whether or not the door (front panel 2) is in an open state based on a detection signal from the door open sensor 35. When the door is not in the open state, the CPU 80a shifts to the power recovery process.
If the door is in the open state, the CPU 80a proceeds to a setting change process to be described later.
As can be understood from the above description, even if the setting key switch 72a is ON in step S106, the setting change process is not performed unless the door is open in step S107. That is, the setting key operation in this case is treated as invalid. In this way, the setting key operation when the door is not opened is treated as invalid, thereby preventing an illegal act of falsifying the setting value vd (the same applies to steps S109 and S110 described later).

また、先のステップS105において、電断キーワードが所定値でなければ、CPU80aはステップS108に進み、RAMクリア処理として、例えばRAM80cの全ての記憶領域を初期化する処理を行う。なお、次の電源投入時の設定変更処理(図17参照)でRAMクリアが行われるため、ステップS108のRAMクリア処理は省略することも可能である。
ステップS108のRAMクリア処理を実行すると、CPU80aはステップS109に進み、先のステップS106と同様に設定キースイッチ72aの状態を確認し、設定キースイッチ72aがONであれば、ステップS110において先のステップS107と同様にドアが開放状態であるか否かを判定する。ドアが開放状態であれば、CPU80aは設定変更処理に移行する。
In step S105, if the power interruption keyword is not a predetermined value, the CPU 80a proceeds to step S108, and performs a process of initializing all storage areas of the RAM 80c, for example, as a RAM clear process. Since the RAM is cleared in the next setting change process at power-on (see FIG. 17), the RAM clear process in step S108 can be omitted.
When the RAM clear process in step S108 is executed, the CPU 80a proceeds to step S109, confirms the state of the setting key switch 72a as in the previous step S106, and if the setting key switch 72a is ON, the previous step in step S110. As in S107, it is determined whether or not the door is open. If the door is open, the CPU 80a proceeds to a setting change process.

一方、ステップS109で設定キースイッチ72aがOFFであった場合と、ステップS110でドアが開放状態でなかった場合のそれぞれにおいて、CPU80aはステップS111に進みRAMエラーをセットする処理を行い、無限ループ状態に移行する。このRAMエラーセット処理でRAMエラーがセットされると、後述するタイマ割込み処理側でエラー報知のための処理が行われる。なお、上記無限ループ状態からは、電源を入れ直した後、新たな設定値vdを設定することで遊技が開始できるようになる。
On the other hand, in each of the case where the setting key switch 72a is OFF in step S109 and the case where the door is not open in step S110, the CPU 80a proceeds to step S111 to perform a process of setting a RAM error, and an infinite loop state Migrate to When a RAM error is set in this RAM error setting process, a process for notifying an error is performed on the timer interrupt processing side described later. From the infinite loop state, the game can be started by setting a new set value vd after turning on the power again.

<7.電源復帰処理>

図16は、電源復帰処理のフローチャートである。
図16において、CPU80aはステップS201で、電断キーワードをクリアする処理を実行し、ステップS202で電断時のスタックポインタを復帰する処理を行う。すなわち、電断時にRAM80cのワーク領域に記憶しておいたスタックポインタの値(図18のステップS403参照)を読み出し、スタックポインタに再設定(本設定)する。
<7. Power recovery processing>

FIG. 16 is a flowchart of the power recovery process.
In FIG. 16, the CPU 80a executes processing for clearing the power interruption keyword in step S201, and performs processing for returning the stack pointer at the time of power interruption in step S202. That is, the value of the stack pointer (see step S403 in FIG. 18) stored in the work area of the RAM 80c at the time of power interruption is read and reset to the stack pointer (this setting).

続くステップS203でCPU80aは、回転リール4が起動中又は回転中であるか否かを判定する。すなわち、後述する起動中フラグFG1又は回転中フラグFG2(図38参照)の少なくとも何れかがそれぞれ起動中、回転中を表す「1」であるか否かを判定する。このステップS203の処理は、3つの回転リール4(4a〜4c)のうち対象とする一つの回転リール4について逐次行われる。後述するステップS205で否定結果が得られた場合に、対象とする回転リール4が切り替えられる。   In subsequent step S203, the CPU 80a determines whether or not the rotating reel 4 is being activated or rotating. That is, it is determined whether at least one of a startup flag FG1 or a rotation flag FG2 (see FIG. 38), which will be described later, is “1” indicating startup and rotation. The process in step S203 is sequentially performed for one target reel 4 among the three reels 4 (4a to 4c). If a negative result is obtained in step S205 described later, the target rotating reel 4 is switched.

ステップS203において、回転リール4が起動中又は回転中であった場合、CPU80aはステップS204でセンサ未通過フラグFmtをセット(未通過である旨を表す「1」を設定)した上で、ステップS205に処理を進める。なお、センサ未通過フラグFmtは、前述したインデックスセンサ55により原点位置101を未検出であるか否かを表すためのフラグである。このようにステップS204でセンサ未通過フラグFmtをセットすることで、後述するタイマ割込み処理により回転リール4が再起動される。
一方、回転リール4が起動中又は回転中でなければ、CPU80aはステップS204をパスしてステップS205に進む。
In step S203, if the rotating reel 4 is being activated or rotating, the CPU 80a sets a sensor non-passing flag Fmt (sets “1” indicating that it has not passed) in step S204, and then step S205. Proceed with the process. The sensor non-passing flag Fmt is a flag for indicating whether or not the origin position 101 has not been detected by the index sensor 55 described above. Thus, by setting the sensor non-passing flag Fmt in step S204, the rotating reel 4 is restarted by a timer interruption process described later.
On the other hand, if the rotating reel 4 is not activated or rotating, the CPU 80a passes step S204 and proceeds to step S205.

ステップS205でCPU80aは、全ての回転リール4についてステップS203の判定処理(及び必要に応じたステップS204のフラグセット処理)を実行したか否かを判定し、全ての回転リール4について実行していなければステップS203に戻り、実行したのであればステップS206に処理を進める。   In step S205, the CPU 80a determines whether or not the determination process of step S203 (and the flag setting process of step S204 as necessary) has been executed for all the rotation reels 4, and must be executed for all the rotation reels 4. If it is executed, the process proceeds to step S206.

ステップS206でCPU80aは、電源復帰コマンドセット処理として、RAM80cにおける所定領域に電源復帰コマンドをセットする処理を実行する。この電源復帰コマンドは、電源断時の状態に復帰したことを表すコマンドであり、セットされたコマンドは図24で後述するタイマ割込み処理において演出制御基板42側に出力される(ステップS816参照)。   In step S206, the CPU 80a executes a process of setting a power recovery command in a predetermined area in the RAM 80c as a power recovery command setting process. This power return command is a command indicating that the power has been restored to the state when the power is cut off, and the set command is output to the effect control board 42 side in the timer interrupt processing described later with reference to FIG. 24 (see step S816).

続くステップS207でCPU80aは、全レジスタ復帰処理として、レジスタの状態を電源断処理(図18)が実行される直前の状態に復帰させる処理を行う。すなわち、電断時にRAM80cにおけるレジスタ退避領域に記憶しておいた各レジスタの値(ステップS402参照)を読み出し、各レジスタに再設定する処理を行う。
そして、CPU80aは続くステップS208で、割込み許可の設定を行い、図16に示す電源復帰処理を終了する。
以降、CPU80aが、再設定後のスタックポインタやレジスタに基づいて制御プログラムを実行する結果、スロットマシンは電源断時の状態に復帰する。
In the subsequent step S207, the CPU 80a performs a process of returning the register state to the state immediately before the power-off process (FIG. 18) is executed as the all register return process. That is, the value of each register (see step S402) stored in the register save area in the RAM 80c at the time of power interruption is read and reset to each register.
In step S208, the CPU 80a sets an interrupt permission, and ends the power recovery process shown in FIG.
Thereafter, as a result of the CPU 80a executing the control program based on the stack pointer and registers after resetting, the slot machine returns to the state when the power is cut off.

<8.設定変更処理>

図17は、設定変更処理のフローチャートである。
図17において、CPU80aはステップS301で、設定変更時のRAMクリア処理を実行する。すなわち、RAM80cにおける設定変更時に対応して定められた領域(設定値vdの格納領域は含まず)をクリアする処理を行う。
続くステップS302でCPU80aは、設定変更中であるか否かを表すための設定中フラグをセット(設定変更中である旨を表す「1」を設定)し、さらに続くステップS303でRAM80cに格納されている設定値vdを取得する。
<8. Setting change processing>

FIG. 17 is a flowchart of the setting change process.
In FIG. 17, the CPU 80a executes a RAM clear process at the time of setting change in step S301. That is, a process of clearing the area (corresponding to the storage area for the setting value vd) determined in response to the setting change in the RAM 80c is performed.
In the subsequent step S302, the CPU 80a sets a setting flag for indicating whether the setting is being changed (sets “1” indicating that the setting is being changed), and is stored in the RAM 80c in the subsequent step S303. The set value vd is acquired.

ステップS303で設定値vdを取得すると、CPU80aはステップS304で、設定値vdが「0」〜「5」の範囲外なら設定値vdを0クリアする処理を行う。これは、後述するステップS309でリセットボタン操作に応じて設定値vdが+1されたことに伴い設定値vdが「5」を超えたときに、設定値vdが「0」(設定「1」に対応する値)に戻されるようにするための処理となる。   When the set value vd is acquired in step S303, the CPU 80a performs a process of clearing the set value vd to 0 if the set value vd is outside the range of “0” to “5” in step S304. This is because the setting value vd is set to “0” (setting “1”) when the setting value vd exceeds “5” as the setting value vd is incremented by 1 in response to the reset button operation in step S309 described later. This is a process for returning to the corresponding value.

続くステップS305でCPU80aは、設定値vdを7セグ表示するための処理を実行する。すなわち、前述した回胴設定基板71に対して設けられた表示器(7セグメント表示器)に現在の設定値vdに応じた値(「1」〜「6」の何れか)を表示させるための処理を行う。なお、ここで言う現在の設定値vdとは、ステップS303で取得され、ステップS304の処理を経た後の設定値vdを意味する。   In subsequent step S305, the CPU 80a executes processing for displaying the set value vd in 7 segments. That is, a value (any one of “1” to “6”) corresponding to the current set value vd is displayed on the display (7-segment display) provided for the above-described rotating drum setting board 71. Process. Note that the current setting value vd referred to here means the setting value vd obtained in step S303 and after the processing in step S304.

次のステップS306でCPU80aは、2タイマ割込み分の待機処理(1.49ms×2)を行う。この待機処理の間、割込み処理が許可される。   In the next step S306, the CPU 80a performs a standby process (1.49 ms × 2) for two timer interrupts. Interrupt processing is permitted during this standby processing.

続くステップS307でCPU80aは、スタートレバー17(始動スイッチ)の状態(ON/OFF状態)を確認する。これは、設定値vdの確定操作の有無を確認していることに相当する。
スタートレバー17がOFFであれば、CPU80aはステップS308に進んでリセットスイッチ72bの状態(ON/OFF状態)、すなわち設定値vdの送り操作の有無を確認し、リセットスイッチ72bがOFFであればステップS306の2割込み待機処理に戻る。
これにより、スタートレバー17による設定値vdの確定操作、又はリセットボタンによる設定値vdの送り操作の何れかが行われるまで、ステップS306の待機処理が繰り返し行われる。
In subsequent step S307, the CPU 80a confirms the state (ON / OFF state) of the start lever 17 (start switch). This is equivalent to checking whether or not the setting value vd is confirmed.
If the start lever 17 is OFF, the CPU 80a proceeds to step S308 to check the state of the reset switch 72b (ON / OFF state), that is, whether or not the setting value vd is being fed, and if the reset switch 72b is OFF, step S308 is performed. The process returns to the 2-interrupt standby process in S306.
Thus, the standby process in step S306 is repeatedly performed until either the setting value vd is confirmed by the start lever 17 or the setting value vd is fed by the reset button.

ステップS308において、リセットスイッチ72bがONであれば、CPU80aはステップS309に進んで設定値vdをインクリメント(+1)した上で、先のステップS304に戻る。   If the reset switch 72b is ON in step S308, the CPU 80a proceeds to step S309 to increment (+1) the set value vd and then returns to the previous step S304.

また、ステップS307において、スタートレバー17がONであれば、CPU80aはステップS310に進み、現在の設定値vdをRAM82cの所定領域に保存(記憶)させる。   If the start lever 17 is ON in step S307, the CPU 80a proceeds to step S310 and saves (stores) the current set value vd in a predetermined area of the RAM 82c.

ステップS310で設定値vdをRAM82cに保存させると、CPU80aはステップS311で設定値確定LEDをONさせる処理、すなわち回胴設定基板71に設けられた設定値確定を表すためのLEDをONさせるための処理を行う。   When the setting value vd is stored in the RAM 82c in step S310, the CPU 80a performs processing for turning on the setting value confirmation LED in step S311, that is, for turning on the LED for representing the setting value confirmation provided on the rotor setting board 71. Process.

そして、CPU80aは、続くステップS312で、設定値vdの変更終了操作を待機するための処理を実行する。すなわち、設定キースイッチ72aの状態を確認し、ONである場合にはステップS312に戻る。   In step S312, the CPU 80a executes a process for waiting for a setting value vd change end operation. That is, the state of the setting key switch 72a is confirmed. If it is ON, the process returns to step S312.

設定キースイッチ72aがOFFであれば、CPU80aはステップS313に進み、設定値コマンドをセットする処理を行う。設定値コマンドとは、ステップS310でRAM80cに保存した設定値vdを演出制御基板42側に対して通知するためのコマンドである。なお、セットされたコマンドは、タイマ割込み処理(図24)において演出制御基板42側に出力される(ステップS816)。
CPU80aは、ステップS313のコマンドセット処理を実行したことに応じ、図17に示す設定変更処理を終了する。
CPU80aは、設定変更処理を終了したことに応じて、図19に示すメイン処理に移行する。
If the setting key switch 72a is OFF, the CPU 80a proceeds to step S313 and performs processing for setting a setting value command. The set value command is a command for notifying the effect control board 42 of the set value vd stored in the RAM 80c in step S310. The set command is output to the effect control board 42 side in the timer interrupt process (FIG. 24) (step S816).
In response to the execution of the command set process in step S313, the CPU 80a ends the setting change process shown in FIG.
In response to the end of the setting change process, the CPU 80a shifts to the main process shown in FIG.

<9.電源断処理>

図18は、電源断処理のフローチャートである。
この電源断処理は、電源断信号が入力されたことに応じて発生する割込み処理である(いわゆるINT割込み)。なお、割込みの優先順位は「タイマ割込み>INT割込み」である。
<9. Power-off processing>

FIG. 18 is a flowchart of power-off processing.
This power-off process is an interrupt process that occurs in response to the input of a power-off signal (so-called INT interrupt). The priority order of interrupts is “timer interrupt> INT interrupt”.

図18において、CPU80aはステップS401で、電源基板41からの電源断信号の状態を確認する。電源断信号がOFFであった場合、CPU80aは電源断処理を終了する。   In FIG. 18, the CPU 80a confirms the state of the power-off signal from the power supply board 41 in step S401. When the power-off signal is OFF, the CPU 80a ends the power-off process.

電源断信号がONであれば、CPU80aはステップS402で、全レジスタの値をRAM80cにおけるレジスタ退避領域に退避させる処理を実行し、ステップS403でスタックポインタ(先のステップS102を参照)をRAM80cのワーク領域にセットし、ステップS404で電断キーワードとして前述した所定値をセットする。   If the power-off signal is ON, the CPU 80a executes processing for saving all register values in the register saving area in the RAM 80c in step S402, and in step S403, sets the stack pointer (see the previous step S102) to the work in the RAM 80c. In step S404, the predetermined value described above is set as the power interruption keyword.

さらに、CPU80aは続くステップS405で、RAM80cへのアクセスを禁止とする設定を行い、ステップS406で全ての出力ポートをクリアして、無限ループ状態に移行する。
In step S405, the CPU 80a performs setting for prohibiting access to the RAM 80c. In step S406, the CPU 80a clears all the output ports and shifts to an infinite loop state.

<10.メイン処理>
[10-1.メイン処理]

図19は、メイン処理のフローチャートである。
メイン処理は、1ゲームごとに繰り返し実行される無限ループ状の処理である。なお、本例において、1ゲームの期間は、回転リール4を回転させて抽選結果に基づく停止態様で停止させるまでの期間となる。
<10. Main processing>
[10-1. Main processing]

FIG. 19 is a flowchart of the main process.
The main process is an infinite loop process that is repeatedly executed for each game. In this example, the period of one game is a period until the rotating reel 4 is rotated and stopped in a stop mode based on the lottery result.

メイン処理において、CPU80aはステップS501で、遊技状態コマンドをセットする。遊技状態コマンドは、例えばRB状態やRT状態等、現在の遊技状態を演出制御基板42側に通知するためのコマンドである。   In the main process, the CPU 80a sets a gaming state command in step S501. The game state command is a command for notifying the presentation control board 42 of the current game state such as an RB state or an RT state.

続くステップS502でCPU80aは、補助タンク6に対して設けられたオーバーフローセンサの状態(ON/OFF状態)を確認し、オーバーフローセンサがONであれば貯留メダルがオーバーフロー状態である旨を表すためのエラーフラグをセットし、ステップS502に戻る。すなわち、オーバーフロー状態である限り処理がステップS502→S503→S502…とループしてメイン処理の進行が中断される。   In subsequent step S502, the CPU 80a confirms the state (ON / OFF state) of the overflow sensor provided for the auxiliary tank 6, and if the overflow sensor is ON, an error for indicating that the stored medal is in the overflow state. The flag is set, and the process returns to step S502. That is, as long as it is in an overflow state, the process loops in steps S502 → S503 → S502... And the progress of the main process is interrupted.

一方、オーバーフローセンサがOFFであれば、CPU80aはステップS504に進み、遊技開始時の初期設定として、遊技開始時に対応した各種の設定処理を行った上で、ステップS505で再遊技フラグを確認する。再遊技フラグは、直前のゲームにおいて再遊技に当選(入賞)していたか否かを表すフラグである。
再遊技フラグが再遊技への当選を表すON(例えば「1」)であった場合、CPU80aはステップS506に進み、再遊技の自動投入処理として、所定数の賭数を設定するためのメダル自動投入処理(擬似投入処理)を行い、ステップS507に処理を進める。
一方、再遊技フラグが再遊技への否当選を表すOFF(例えば「0」)であった場合、CPU80aはステップS506の処理をパスしてステップS507に処理を進める。
On the other hand, if the overflow sensor is OFF, the CPU 80a proceeds to step S504, performs various setting processes corresponding to the start of the game as an initial setting at the start of the game, and checks the re-game flag in step S505. The re-game flag is a flag indicating whether or not the re-game has been won (winned) in the previous game.
If the re-game flag is ON (for example, “1”) indicating winning of the re-game, the CPU 80a proceeds to step S506, and automatic medal for setting a predetermined number of bets as re-game automatic insertion processing. The input process (pseudo-input process) is performed, and the process proceeds to step S507.
On the other hand, when the re-game flag is OFF (for example, “0”) indicating that the re-game is not won, the CPU 80a passes the process of step S506 and advances the process to step S507.

ステップS507でCPU80aは、所定時間(例えば1.49ms)分の割込み待機処理を実行し、続くステップS508で設定確認処理を実行する。設定確認処理は、スロットマシンの電源がONの状態において、ドアが開放され設定キーがONとされた状態でリセットボタンが操作されたことに応じて、設定値vd確認用の表示器に現在の設定値vdに応じた値を表示させるための処理である。具体的に、設定確認処理においてCPU80aは、確認条件(本例ではドアセンサ66、設定キースイッチ72a、及びリセットスイッチ72bがON)が成立している場合に、現在の設定値vdに応じた値を上記の表示器に表示させるための情報をセットする。具体的には、設定確認中フラグをONとする。この設定確認中フラグがONとされたことに応じて、後述するタイマ割込み処理におけるLEDデータの作成処理(ステップS802:図25参照)で設定値vdの表示のための処理が行われる。   In step S507, the CPU 80a executes an interrupt standby process for a predetermined time (for example, 1.49 ms), and in the subsequent step S508, executes a setting confirmation process. In the setting confirmation process, when the reset button is operated with the door opened and the setting key turned on in the state where the power of the slot machine is ON, the display for confirming the setting value vd This is a process for displaying a value corresponding to the set value vd. Specifically, in the setting confirmation processing, the CPU 80a sets a value corresponding to the current setting value vd when the confirmation conditions (in this example, the door sensor 66, the setting key switch 72a, and the reset switch 72b are ON) are established. Set the information to be displayed on the above display. Specifically, the setting confirmation flag is set to ON. In response to the setting confirmation flag being set to ON, processing for displaying the set value vd is performed in LED data creation processing (step S802: see FIG. 25) in timer interrupt processing described later.

さらに、続くステップS509でCPU80aは、精算ボタン有効フラグFas及び投入可能フラグFaiの双方をONとする。精算ボタン有効フラグFasは、精算ボタン14の受付を有効とするか否かを表すためのフラグであり、投入可能フラグFaiは、メダル投入口12を介したメダルの投入受付についての可/不可を表すフラグである。投入メダルの受付、精算ボタン14の受付は後述するタイマ割込み処理により行われる。   Further, in the subsequent step S509, the CPU 80a turns on both the settlement button valid flag Fas and the input possible flag Fai. The settlement button validity flag Fas is a flag for indicating whether or not the acceptance of the settlement button 14 is validated, and the insertion possible flag Fai indicates whether or not the medal insertion acceptance through the medal insertion slot 12 is possible / impossible. It is a flag to represent. Acceptance of inserted medals and settlement button 14 are performed by timer interrupt processing described later.

次のステップS510でCPU80aは、メダルの投入枚数(賭数)が最大投入枚数(所定数:前述のように本例では「3」)であるか否かを判定する。例えば、上記したステップS506の自動投入処理が行われていれば、該ステップS510で最大投入枚数であると判定される。また、メダル投入口12を介して3枚のメダル投入が行われた場合や、クレジット数が3枚以上の状態でマックスベットボタン16が操作された場合等においても、該ステップS510で最大投入枚数であると判定される。
CPU80aは、ステップS510で最大投入枚数でないと判定した場合は、先のステップS507に戻って該S507の待機処理、S508の確認処理、及びS509のフラグ設定処理を再度実行する。すなわち、最大投入枚数と判定されるまで、これらの処理が繰り返される。
In the next step S510, the CPU 80a determines whether or not the number of inserted medals (the number of bets) is the maximum number of inserted coins (predetermined number: “3” in this example as described above). For example, if the automatic loading process in step S506 is performed, it is determined in step S510 that the maximum number of loaded sheets is reached. Even when three medals are inserted through the medal slot 12, or when the maximum bet button 16 is operated with the number of credits being three or more, the maximum number of inserted coins is determined in step S510. It is determined that
If the CPU 80a determines in step S510 that it is not the maximum number of inserted sheets, it returns to the previous step S507, and again executes the waiting process in S507, the confirmation process in S508, and the flag setting process in S509. That is, these processes are repeated until it is determined that the maximum number of inserted sheets is reached.

一方、最大投入枚数であると判定した場合、CPU80aはステップS511に進んで前述したスタートランプ(LED群9におけるLED)を点灯させるための処理を実行し、ステップS512でスタートレバー17の状態を確認する。具体的には、前述した始動スイッチ基板62に設けられた、スタートレバー17の操作に応じてONされる始動スイッチによる検出信号の状態を確認する。なお、始動スイッチの検出信号のONエッジ検出はタイマ割込み処理(S804参照)で実行されるものである。
該始動スイッチの検出信号がOFF状態であれば、CPU80aはステップS511に戻り、該検出信号がONエッジであれば、ステップS513で乱数(カウンタ回路81で生成された乱数値)の取り込みが完了したか否かを判定する。
ステップS513において、乱数の取り込みが完了していなければ、CPU80aはステップS511に戻る。すなわち、スタートレバー17のONが検知されても、乱数の取り込みが完了していない場合には、再びスタートレバー17がONされるまで待機するようにされる。なお、カウンタ回路81の乱数値は、スタートレバー17がONされる度にラッチされるものである。最新のスタートレバー17のONに伴いラッチされた乱数値は後述する抽選処理(S518)での役抽選に用いられる。
On the other hand, if it is determined that the maximum number of inserted sheets is reached, the CPU 80a proceeds to step S511 to execute the above-described processing for lighting the start lamp (LED in the LED group 9), and confirms the state of the start lever 17 in step S512. To do. Specifically, the state of the detection signal provided by the start switch provided on the start switch board 62 and turned on in response to the operation of the start lever 17 is confirmed. Note that ON edge detection of the detection signal of the start switch is executed by timer interrupt processing (see S804).
If the detection signal of the start switch is in the OFF state, the CPU 80a returns to step S511. If the detection signal is the ON edge, the random number (the random number value generated by the counter circuit 81) has been captured in step S513. It is determined whether or not.
In step S513, if the fetching of random numbers has not been completed, the CPU 80a returns to step S511. That is, even if it is detected that the start lever 17 is turned on, if the random number has not been taken in, the system waits until the start lever 17 is turned on again. The random number value of the counter circuit 81 is latched every time the start lever 17 is turned on. The random value latched with the latest ON of the start lever 17 is used for the lottery in the lottery process (S518) described later.

一方、ステップS513において乱数の取り込みが完了していれば、CPU80aはステップS514でメダル投入中であるか否かを判定する。なお、メダル投入中であるか否かは、例えば、前述した第1投入メダルセンサ68a(センサ1)、又は第2投入メダルセンサ68b(センサ2)の何れかがメダルを検出中であるか否かに基づいて判定することができる。メダル投入中であれば、CPU80aはステップS511に戻る。すなわち、メダル投入中にスタートレバー17がONされても該ON操作は無効として扱われ、再びスタートレバー17がONされるまで待機するようにされる。   On the other hand, if the random number acquisition is completed in step S513, the CPU 80a determines in step S514 whether or not a medal is being inserted. Whether or not a medal is being inserted is, for example, whether or not any of the first inserted medal sensor 68a (sensor 1) or the second inserted medal sensor 68b (sensor 2) is detecting a medal. Can be determined based on If a medal is being inserted, the CPU 80a returns to step S511. That is, even if the start lever 17 is turned on while a medal is inserted, the ON operation is treated as invalid and the apparatus waits until the start lever 17 is turned on again.

一方、メダル投入中ではない場合、CPU80aはステップS515に進んで精算ボタン有効フラグFas及び投入可能フラグFaiの双方をOFFとする。これらフラグのOFFにより、タイマ割込み処理側での精算ボタン14の受付や投入メダルの受付が禁止状態とされる。
さらに、CPU80aは続くステップS516で、投入信号カウンタに投入枚数をセットする。投入信号カウンタは、投入メダル枚数(設定された賭数)を外部集中端子板70を通してホールコンピュータに通知するために用いられるカウンタである。
On the other hand, if the medal is not being inserted, the CPU 80a proceeds to step S515 to turn off both the settlement button valid flag Fas and the insertable flag Fai. By turning off these flags, the acceptance of the settlement button 14 and the acceptance of inserted medals on the timer interrupt processing side are prohibited.
Further, in the subsequent step S516, the CPU 80a sets the input number to the input signal counter. The insertion signal counter is a counter used for notifying the hall computer of the number of inserted medals (the set bet number) through the external concentration terminal board 70.

続くステップS517でCPU80aは、遊技開始時に対応した通知を演出制御基板42側に対して行うための遊技開始コマンドをセットする処理を実行し、図20に示すステップS518に処理を進める。   In subsequent step S517, the CPU 80a executes a process of setting a game start command for performing notification corresponding to the start of the game on the side of the effect control board 42, and advances the process to step S518 shown in FIG.

図20に示すステップS518において、CPU80aは前述した乱数値に基づいて抽選処理(図柄抽選処理)を実行する。抽選処理では、ボーナス図柄への当選か否か、小役図柄への当選か否か、再遊技を示すリプレイ図柄への当選か否かが決定され、決定された抽選結果を示す制御コマンドが演出制御インターフェース86における送信バッファにセットされ、後述するタイマ割込み処理によって演出制御基板42側に送信される。なお、小役図柄としては、例えば、「チェリー図柄」(4a10,4b3,4c9)、「ベル図柄」(4a4,4b5,4c3等)、「すいか図柄」(4a9,4b12,4c1等)などを例示することができる。   In step S518 shown in FIG. 20, the CPU 80a executes a lottery process (symbol lottery process) based on the random number described above. In the lottery process, it is determined whether or not the bonus symbol is won, whether or not the small role symbol is won, and whether or not the replay symbol indicating replay is won, and a control command indicating the determined lottery result is produced. It is set in a transmission buffer in the control interface 86, and is transmitted to the effect control board 42 side by a timer interruption process described later. Examples of the small role symbols include “cherry symbols” (4a10, 4b3, 4c9), “bell symbols” (4a4, 4b5, 4c3, etc.), “watermelon symbols” (4a9, 4b12, 4c1, etc.), etc. can do.

続くステップS519でCPU80aは、リール演出を実行するか否かを決定するリール演出抽選処理を実行する。なお、リール演出抽選処理において選出可能な演出は、上記の内部抽選処理の結果に対応して定められている。例えば、「すいか図柄」等の所定の図柄に内部当選状態であれば、所定の当選確率に基づいて「極めてゆっくり正方向に回転して静止するスロー演出」等の所定のリール演出が選出可能となる。   In subsequent step S519, the CPU 80a executes a reel effect lottery process for determining whether or not to execute a reel effect. The effects that can be selected in the reel effect lottery process are determined in accordance with the result of the internal lottery process. For example, if a predetermined symbol such as “watermelon symbol” is in an internal winning state, a predetermined reel effect such as “a slow effect that rotates in a positive direction and stops still” can be selected based on a predetermined winning probability. Become.

さらに、CPU80aは次のステップS520で、リール演出対応処理を実行する。リール演出対応処理では、リール演出抽選に当選している場合に対応して、回転リール4a,4b,4cを演出回転させるための各種の設定処理が実行される。リール演出に当選していなければ、該設定処理はパスされる。   Further, in the next step S520, the CPU 80a executes a reel effect handling process. In the reel effect handling process, various setting processes for effecting rotation of the rotary reels 4a, 4b, and 4c are executed corresponding to the case where the reel effect lottery is won. If the reel effect is not won, the setting process is passed.

なお、遊技者は、リール演出が実行された場合には、そのリール演出の種類に応じた所定の図柄に内部当選していることを推理できる。遊技者は、このような推理から目標とした図柄が停止ライン上に揃うように停止操作を行う。推理が当った場合であって、且つ、停止タイミングが適切な場合に限り、内部当選状態が実効化され、遊技者に遊技価値が付与される。   When a reel effect is executed, the player can infer that a predetermined symbol corresponding to the type of the reel effect is won internally. The player performs a stop operation so that the symbols targeted from such reasoning are aligned on the stop line. Only when the reasoning is successful and the stop timing is appropriate, the internal winning state is made effective and a game value is given to the player.

上記のリール演出対応処理を実行したことに応じ、CPU80aはステップS521で4.1秒待機処理を実行し、続くステップS522で4.1秒セット処理を実行する。4.1秒は、ゲーム間の間隔として最低限空けるべき時間長である。このようにゲーム間の間隔として最低限の間隔が定められていることで、遊技者がメダルを過大消費してしまうことの防止が図られている。
ステップS521の待機処理では、1ゲーム前に実行されたステップS522のセット処理によりセットされた4.1秒分のウェイトタイマの値が「0」となるまで待機する。なお、該ウェイトタイマの値は後述するタイマ割込み処理で逐次デクリメント(減算)される。
ここで、4.1秒は一例であって、ゲーム間の最低時間間隔は適宜変更が可能である。
In response to the execution of the reel effect handling process, the CPU 80a executes a 4.1 second standby process in step S521, and then executes a 4.1 second set process in step S522. 4.1 seconds is the minimum length of time that should be left as an interval between games. Thus, by setting the minimum interval as the interval between games, it is possible to prevent the player from excessively consuming medals.
In the standby process of step S521, the process waits until the value of the wait timer for 4.1 seconds set by the set process of step S522 executed one game before becomes “0”. Note that the value of the wait timer is sequentially decremented (subtracted) by timer interrupt processing described later.
Here, 4.1 seconds is an example, and the minimum time interval between games can be changed as appropriate.

ステップS522のセット処理を実行したことに応じ、CPU80aはステップS523で、回転開始コマンドを演出制御インターフェース86における送信バッファにセットする処理を行う。回転開始コマンドは、回転リール4a〜4cの回転開始時に対応した情報を演出制御基板42側に通知するためのコマンドである。   In response to the execution of the setting process in step S522, the CPU 80a performs a process of setting a rotation start command in the transmission buffer in the effect control interface 86 in step S523. The rotation start command is a command for notifying the presentation control board 42 of information corresponding to the start of rotation of the rotation reels 4a to 4c.

続くステップS524でCPU80aは、回転リール4a〜4cについての起動設定処理を実行する。該起動設定処理としては、タイマ割込み処理における回胴制御処理(図37参照)で回転リール4a〜4cの起動に要する情報を設定する処理となる。具体的に、該起動設定処理では、少なくとも、センサ未通過フラグFmt、及び起動要求フラグFrrを全ての回転リール4についてセット(ONを表す「1」を設定)する処理を行う。
なお、起動要求フラグFrrは、タイマ割込み処理(回転制御処理)側に回転リール4の起動(回転開始)を要求するためのフラグである。
In subsequent step S524, the CPU 80a executes start setting processing for the rotating reels 4a to 4c. The activation setting process is a process of setting information necessary for activation of the rotating reels 4a to 4c in the spinning cylinder control process (see FIG. 37) in the timer interruption process. Specifically, in the activation setting process, at least a sensor non-passing flag Fmt and an activation request flag Frr are set (set to “1” indicating ON) for all the rotating reels 4.
The activation request flag Frr is a flag for requesting activation (rotation start) of the rotating reel 4 to the timer interruption processing (rotation control processing) side.

さらに、次のステップS525でCPU80aは、759.9msの待機処理を実行する。この待機処理は、510回分のタイマ割込み待ち処理に相当する。
上記のように起動要求フラグFrrがセットされることで、タイマ割込み処理における回胴制御処理により、回転リール4a〜4cの起動処理が開始される。ステップS525の待機処理は、このようなタイマ割込み側の回胴制御処理により回転リール4a〜4cが回転状態となるまで待機するための処理として機能する。なお、ステップS525による待機時間は上記の時間に限定されるものではない。
Furthermore, in the next step S525, the CPU 80a executes a standby process of 759.9 ms. This standby process is equivalent to 510 timer interrupt wait processes.
When the activation request flag Frr is set as described above, the activation processing of the rotating reels 4a to 4c is started by the rotation control processing in the timer interruption processing. The standby process in step S525 functions as a process for waiting until the rotating reels 4a to 4c are rotated by the rotation control process on the timer interrupt side. Note that the standby time in step S525 is not limited to the above time.

続くステップS526でCPU80aは、センサ未通過フラグFmt、エラーフラグの何れかがONであればOFFになるまで待機する処理を実行し、次のステップS527で全リール分の停止ボタンLED(つまり停止ボタン18a〜18cを発光させるための各LED)をONさせるための処理を実行する。
ここで、スロットマシンにおいては、回転リール4が回転を開始した後、対応するインデックスセンサ55により該回転リール4の原点位置101が検出されたことを条件として対応する停止ボタン18の受付を許可するようにされている。このため、ステップS526でセンサ未通過フラグFmtがONである場合には、ステップS527による停止ボタンLEDのON処理に処理を進めず、センサ未通過フラグFmtがOFFになるまで待機するようにされている。
In subsequent step S526, the CPU 80a executes a process of waiting until the sensor non-passing flag Fmt or the error flag is turned off if either of them is ON. In the next step S527, the stop button LED (that is, the stop button) for all reels. A process for turning on each LED for causing the LEDs 18a to 18c to emit light is executed.
Here, in the slot machine, the reception of the corresponding stop button 18 is permitted on condition that the origin position 101 of the rotating reel 4 is detected by the corresponding index sensor 55 after the rotating reel 4 starts to rotate. Has been. Therefore, if the sensor non-passing flag Fmt is ON in step S526, the process does not proceed to the stop button LED ON process in step S527, but waits until the sensor non-passing flag Fmt is turned OFF. Yes.

また、上記の説明から理解されるように、ステップS526の処理が実行される時点では、回転リール4a〜4cの回転が開始されている(停止ボタン18の操作が行われる前の回転状態)。ステップS526の待機処理は、このように回転リール4a〜4cが回転中に生じたエラーへの対処処理としても機能している。すなわち、ステップS526の待機処理は、回転リール4a〜4cが回転中においてエラーの発生が認められた場合(エラーフラグがONの場合)に、回転リール4a〜4cの回転を維持した状態で遊技動作の進行を停止し、エラーが解除されたことに応じて遊技動作の進行を再開するための処理として機能している。
なお、ステップS526で対象とするエラーフラグとしては、少なくとも、主基板エラー(主制御基板40のエラー)、RWMエラー(RAM80cに係るエラー)、投入メダルエラー(メダル投入に係るエラー)、払出メダル無しエラー、払出センサエラー(メダル払出センサ76のエラー)、不当入賞エラー、オーバーフローエラー、ドア開放エラーに関するフラグがある。
Further, as understood from the above description, at the time when the process of step S526 is executed, the rotation of the rotating reels 4a to 4c is started (the rotating state before the operation of the stop button 18 is performed). The standby process in step S526 also functions as a process for dealing with errors that occur during rotation of the rotary reels 4a to 4c. That is, in the standby process in step S526, when an error is recognized while the rotating reels 4a to 4c are rotating (when the error flag is ON), the game operation is performed while maintaining the rotation of the rotating reels 4a to 4c. This function functions as a process for stopping the progress of the game operation and resuming the progress of the game operation in response to the cancellation of the error.
The error flags to be processed in step S526 include at least main board error (main control board 40 error), RWM error (error related to RAM 80c), inserted medal error (error related to medal insertion), and no payout medal. There are flags relating to errors, payout sensor errors (medal payout sensor 76 errors), unsuccessful winning errors, overflow errors, and door opening errors.

ステップS527に続くステップS528でCPU80aは、センサ未通過フラグFmt、エラーフラグの何れかがONであればOFFになるまで待機する。この際、待機中においては、停止ボタンLEDをOFFとする。なお、このステップS528における待機処理の意義については後述する。   In step S528 following step S527, the CPU 80a waits until the sensor non-passing flag Fmt or the error flag is turned off if either of them is turned on. At this time, the stop button LED is turned OFF during standby. The significance of the standby process in step S528 will be described later.

ステップS528の処理を実行したことに応じ、CPU80aはステップS529で有効な停止ボタン操作が行われているか否かを判定する。すなわち、停止ボタン18a〜18cのうち1つの停止ボタン18を押圧するという有効な停止ボタン操作が行われているか否かを判定する。
有効な停止ボタン操作が行われていない場合、CPU80aは先のステップS528に戻る。ここで、回転リール4が回転中にエラーが生じるケースとしては、ステップS528の処理の実行後からステップS529の処理が開始されるまでの間にエラーが生じるケースが考えられる。そのようなタイミングでエラーが生じた場合において、ステップS529で有効な停止ボタン操作が行われていないと判定されると、処理がステップS528に戻りエラーフラグがOFFになるまで待機が行われる。すなわち、ステップS529による停止ボタン操作の受付が中断される。
この点からも理解されるように、ステップS528の処理は、回転中にエラーが生じた場合において、停止ボタン18の操作受付を中断して、エラーの解除を待つための処理として機能する。
In response to the execution of the process in step S528, the CPU 80a determines in step S529 whether a valid stop button operation has been performed. That is, it is determined whether or not an effective stop button operation of pressing one of the stop buttons 18a to 18c is being performed.
If a valid stop button operation has not been performed, the CPU 80a returns to the previous step S528. Here, as a case where an error occurs while the rotating reel 4 is rotating, a case where an error occurs between the execution of the process of step S528 and the start of the process of step S529 can be considered. If an error has occurred at such a timing, if it is determined in step S529 that a valid stop button operation has not been performed, the process returns to step S528 and waits until the error flag is turned off. That is, the acceptance of the stop button operation in step S529 is interrupted.
As understood from this point, the process in step S528 functions as a process for interrupting the operation reception of the stop button 18 and waiting for the error to be canceled when an error occurs during rotation.

一方、有効な停止ボタン操作が行われていれば、CPU80aはステップS530に進んで停止情報ビット(当該リールの停止情報ビット)をセットし、次のステップS531で当該リールの停止ボタンLEDをOFFするための処理を行う。ここで、当該リールとは、有効な停止ボタン操作が行われた回転リール4を意味する。
続くステップS532でCPU80aは、停止順データをセットする。停止順データは、停止操作に応じた回転リール4a〜4cの停止順序を表すためのデータである。
On the other hand, if a valid stop button operation has been performed, the CPU 80a proceeds to step S530, sets a stop information bit (stop information bit for the reel), and turns off the stop button LED for the reel in the next step S531. Process. Here, the reel means the rotating reel 4 on which an effective stop button operation has been performed.
In subsequent step S532, the CPU 80a sets stop order data. The stop order data is data for representing the stop order of the rotating reels 4a to 4c according to the stop operation.

さらに、次のステップS533でCPU80aは、停止制御処理を実行する。ステップS533の停止制御処理は、回転リール4の停止位置(停止図柄)を最大滑りコマ数を考慮して設定したり、タイマ割込み処理側の回胴制御処理によって当該リールの回転を停止させるために必要な情報を設定する等の処理が行われるが、詳細については図21により後述する。   Further, in the next step S533, the CPU 80a executes a stop control process. The stop control process in step S533 is performed in order to set the stop position (stop symbol) of the rotating reel 4 in consideration of the maximum number of sliding frames, or to stop the rotation of the reel by the rotation control process on the timer interrupt processing side. Processing such as setting necessary information is performed, and details will be described later with reference to FIG.

ステップS533の停止制御処理を実行したことに応じ、CPU80aはステップS534で全ての回転リール4が停止したか否かを判定する。全ての回転リール4が停止していないと判定した場合、CPU80aは先のステップS528に戻る。   In response to the execution of the stop control process in step S533, the CPU 80a determines in step S534 whether all the reels 4 have been stopped. When determining that all the rotating reels 4 are not stopped, the CPU 80a returns to the previous step S528.

ここで、ステップS528の待機処理が設けられることによると、或る回転リール4について有効な停止ボタン操作が検知(S529)された後、ステップS533の停止制御処理により該回転リール4の回転が停止されるまでの間にエラーの発生が認められた場合は、該エラーが解除(エラーフラグがOFF)されるまでメイン処理の進行が中断されることになる。この際、停止操作が行われた回転リール4については、該エラーの発生有無に拘わらずステップS533で停止制御処理が実行されるため、該回転リール4の回転は停止されることになる。
この点からも理解されるように、ステップS528の待機処理は、回転リール4について有効な停止ボタン操作が行われてから回転リール4の回転が停止されるまでにエラーの発生が認められた場合に、停止制御を中断せずに該回転リール4を停止させ、該回転リール4が停止した後に遊技動作の進行を中断し、該エラーが解除されたことに応じて遊技動作の進行を再開するための処理として機能する。
Here, according to the standby process in step S528, after a stop button operation effective for a certain rotating reel 4 is detected (S529), the rotation of the rotating reel 4 is stopped by the stop control process in step S533. If the occurrence of an error is recognized before the error is made, the progress of the main process is interrupted until the error is cleared (the error flag is turned OFF). At this time, for the rotating reel 4 for which the stop operation has been performed, the stop control process is executed in step S533 regardless of whether or not the error has occurred, so that the rotation of the rotating reel 4 is stopped.
As can be understood from this point, the standby process in step S528 is performed when an error is detected after the stop button operation effective for the rotating reel 4 is performed until the rotation of the rotating reel 4 is stopped. In addition, the rotating reel 4 is stopped without interrupting the stop control, the progress of the gaming operation is interrupted after the rotating reel 4 stops, and the progress of the gaming operation is resumed in response to the cancellation of the error. It functions as a process.

ステップS534において、全ての回転リール4が停止したと判定した場合、CPU80aはステップS535に進み、停止後の入賞判定処理を実行する。該入賞判定処理では、停止ライン上に当選図柄(当選役)が揃ったか否かを判定すると共に、該判定結果に応じた入賞枚数(入賞に応じて遊技者に付与すべきメダル枚数)を算出する。
なお、入賞判定処理では、停止ライン上に当選図柄が揃ったか否かの判定結果を示す制御コマンド(入賞情報コマンド)を演出制御基板42に送信するべく、入賞情報コマンドを演出制御インターフェース86における送信バッファにセットする処理も行われる。
If it is determined in step S534 that all the reels 4 have stopped, the CPU 80a proceeds to step S535, and executes a winning determination process after the stop. In the winning determination process, it is determined whether or not the winning symbols (winning roles) are aligned on the stop line, and the number of winnings according to the determination result (the number of medals to be awarded to the player according to the winning) is calculated. To do.
In the winning determination process, a winning information command is transmitted through the effect control interface 86 in order to transmit a control command (winning information command) indicating the determination result of whether or not the winning symbols are aligned on the stop line to the effect control board 42. Processing to set in the buffer is also performed.

ステップS535の入賞判定処理を実行したことに応じ、CPU80aはステップS536で入賞メダルの払出処理を実行する。なお、該払出処理の詳細は図23により後述する。   In response to the execution of the winning determination process in step S535, the CPU 80a executes a winning medal payout process in step S536. Details of the payout process will be described later with reference to FIG.

続くステップS537でCPU80aは、状態管理処理として、必要に応じてRB状態やCB(チャンスボーナス)状態、RT(リプレイタイム)状態に対応した情報の管理処理を実行する。   In subsequent step S537, the CPU 80a executes information management processing corresponding to the RB state, CB (chance bonus) state, and RT (replay time) state as necessary as state management processing.

CPU80aは、ステップS537の状態管理処理を実行したことに応じて、図19に示したステップS101に戻る。このようにメイン処理は、ループ状の処理とされている。
In response to the execution of the state management process in step S537, the CPU 80a returns to step S101 shown in FIG. Thus, the main process is a loop process.

[10-2.停止制御処理]

図21は、停止制御処理(ステップS533)のフローチャートである。なお、上記説明からも理解されるように、ステップS533の停止制御処理は、ステップS529で有効な停止ボタン操作が検知された回転リール4を対象として行われるものである。
[10-2. Stop control process]

FIG. 21 is a flowchart of the stop control process (step S533). As can be understood from the above description, the stop control process in step S533 is performed on the rotating reel 4 for which an effective stop button operation is detected in step S529.

図21において、CPU80aはステップS601で、停止コマンドをセットする。停止コマンドは、少なくとも停止操作が受け付けられた旨を演出制御基板42に通知するためのコマンドであり、CPU80aは停止コマンドを演出制御インターフェース86における送信バッファにセットする。   In FIG. 21, the CPU 80a sets a stop command in step S601. The stop command is a command for notifying the effect control board 42 that at least the stop operation has been accepted, and the CPU 80a sets the stop command in the transmission buffer in the effect control interface 86.

続くステップS602でCPU80aは、停止制御開始時の初期設定を行う。停止制御開始時の初期設定としては、最短停止間隔タイマの値のセット、引き込むコマ数の値のクリア、最大滑りコマ数(4コマ)の設定等を行う。なお、最短停止間隔は、或る停止ボタン18が操作されてから他の停止ボタン18の操作を受付可能とするまでの最短間隔を定めたものであり、本例では最短停止間隔タイマの値として210.09msに応じた値(タイマ割込み141回分)を設定する。   In subsequent step S602, the CPU 80a performs initial setting at the start of stop control. Initial settings at the start of stop control include setting the value of the shortest stop interval timer, clearing the value of the number of frames to be drawn in, and setting the maximum number of sliding frames (4 frames). The shortest stop interval is a shortest interval from when a certain stop button 18 is operated until another stop button 18 can be accepted. In this example, the shortest stop interval is a value of the shortest stop interval timer. A value corresponding to 210.09 ms (for 141 timer interrupts) is set.

ステップS602の初期設定を行ったことに応じ、CPU80aはステップS603で停止可能なステップ位置か否かを判定する。
本例では、図柄ステップ位置が5番以下の図柄ステップ位置である場合には、現在の図柄を停止操作時図柄(停止操作が行われたときの図柄)とはせず、次の図柄を停止操作時図柄とする。このため、CPU80aは、ステップS603で現在の図柄ステップ位置が24番〜6番の停止処理可能なステップ位置(以下「停止処理可能位置」と表記)か否かを判定し、停止処理可能位置でなければ再びステップS603の処理を実行し、停止処理可能位置であればステップS604に処理を進める。
なお、現在の図柄ステップ位置(図柄ステップ数)は、後述するステップカウンタの値に基づき取得される。ステップカウンタの値は、タイマ割込み処理における回胴制御処理(図37参照)によってカウントされる。
In response to the initial setting in step S602, the CPU 80a determines in step S603 whether or not the stop position can be stopped.
In this example, when the symbol step position is a symbol step position of No. 5 or less, the current symbol is not made the symbol at the time of stop operation (the symbol when the stop operation is performed), and the next symbol is stopped. Use as a design during operation. Therefore, in step S603, the CPU 80a determines whether or not the current symbol step position is a step position that can be stopped (No. 24 to No. 6) (hereinafter referred to as “stop processable position”). If not, the process of step S603 is executed again, and if it is a stop processable position, the process proceeds to step S604.
The current symbol step position (number of symbol steps) is acquired based on the value of a step counter described later. The value of the step counter is counted by the rotation control process (see FIG. 37) in the timer interrupt process.

確認のため、図22を参照して停止処理可能位置の概念について説明しておく。
図示するように本例では24番〜6番のステップ位置が停止処理可能位置、5番〜1番のステップ位置が停止処理不可能位置として定められている。上記したステップS603の処理により、停止ボタン操作が検知されたときの図柄ステップ位置が停止処理可能位置であれば現在の図柄が停止操作時図柄とされ、停止処理不可能位置であれば現在の図柄の次の図柄が停止操作時図柄とされる。
本例において、現在のステップ位置が5番〜1番の停止処理不可能位置である場合に現在の図柄を停止操作時図柄とせず次の図柄を停止操作時図柄とするのは、以下で説明する滑りコマ数の決定処理(S604)が比較的長く処理時間を要した場合に意図しない図柄で停止されてしまう事態が発生する虞があり、その防止を図るためである。
For confirmation, the concept of the stop processable position will be described with reference to FIG.
As shown in the figure, in this example, the step positions Nos. 24 to 6 are determined as stop processable positions, and the 5th to 1st step positions are determined as stop process impossible positions. If the symbol step position when the stop button operation is detected is a position where the stop process is possible, the current symbol is the symbol at the time of the stop operation, and if it is a position where the stop process is impossible, the current symbol is detected. The next symbol is the symbol for the stop operation.
In this example, when the current step position is a stop processing impossible position of No. 5 to No. 1, the current symbol is not used as a symbol at the time of stop operation, and the next symbol is set as a symbol at the time of stop operation. This is for the purpose of preventing the situation where the process of determining the number of sliding frames to be performed (S604) may be stopped due to an unintended symbol when the processing time is relatively long.

なお、本例では、7番のステップ位置が前述した停止許可ステップ位置とされている。タイマ割込み処理側では、現在の図柄が下記で説明する停止図柄(「停止操作時図柄+滑りコマ数」で特定される図柄)に達したとき、ステップ位置が7番に達したことに応じてブレーキ制御を行うことが許可される(図37の回胴制御処理を参照)。   In this example, the seventh step position is the stop permission step position described above. On the timer interrupt processing side, when the current symbol reaches the stop symbol described below (the symbol specified by "stop operation symbol + number of sliding symbols"), the step position has reached 7th. The brake control is permitted (see the rotating cylinder control process in FIG. 37).

図21に戻り、ステップS604でCPU80aは、滑りコマ数を決定するための処理を行う。すなわち、現在の図柄位置(停止操作時図柄)と図柄抽選処理の抽選結果とに基づき、滑りコマ数を決定する。ここで決定された滑りコマ数を停止操作時図柄の図柄番号に加算して特定される図柄が、対象とする回転リール4を停止させるべき図柄(停止図柄)となる。
なお、現在の図柄位置は、後述する図柄カウンタの値に基づき取得される。図柄カウンタの値としてもタイマ割込み処理における回胴制御処理によってカウントされている。
Returning to FIG. 21, in step S604, the CPU 80a performs processing for determining the number of sliding frames. That is, the number of sliding symbols is determined based on the current symbol position (symbol during stop operation) and the lottery result of the symbol lottery process. The symbol specified by adding the number of sliding symbols determined here to the symbol number of the symbol at the time of the stop operation becomes a symbol (stop symbol) to stop the target rotating reel 4.
The current symbol position is acquired based on the value of a symbol counter described later. The value of the symbol counter is also counted by the spinning cylinder control process in the timer interrupt process.

続くステップS605でCPU80aは、停止図柄に到達しているか否かを判定する。すなわち、図柄カウンタの値に基づき、現在の図柄位置が停止図柄としての図柄位置と一致しているか否かを判定する。
停止図柄に到達していなければ、CPU80aは再びステップS605の処理を実行し、停止図柄に到達してればステップS606に処理を進める。
In subsequent step S605, CPU 80a determines whether or not the stop symbol has been reached. That is, based on the value of the symbol counter, it is determined whether or not the current symbol position matches the symbol position as the stop symbol.
If the stop symbol has not been reached, the CPU 80a executes the process of step S605 again. If the stop symbol has been reached, the process proceeds to step S606.

ステップS606でCPU80aは、当該リールに対応する停止要求フラグFrsをONとする(「1」を設定する)。後述もするが、停止要求フラグFrsがONとされることで、タイマ割込み処理における回胴制御処理にて当該リール(停止ボタン操作が行われた回転リール4)のブレーキ制御が開始される。   In step S606, the CPU 80a turns on the stop request flag Frs corresponding to the reel (sets “1”). As will be described later, when the stop request flag Frs is turned ON, the brake control of the reel (the rotating reel 4 on which the stop button operation has been performed) is started in the rotation control process in the timer interrupt process.

続くステップS607でCPU80aは、1タイマ割込み分の待機処理を実行する。この待機処理は、タイマ割込み処理側(回胴制御処理)でステッピングモータ54の全相をONする処理(ブレーキ処理)が開始されるまで待機する処理として機能する。   In subsequent step S607, the CPU 80a executes standby processing for one timer interrupt. This standby process functions as a process of waiting until a process (brake process) for turning on all phases of the stepping motor 54 is started on the timer interrupt process side (rotating cylinder control process).

さらに、次のステップS608でCPU80aは、第2停止処理中フラグFG4の状態(ON/OFF状態)を確認する。後述するように、第2停止処理中フラグFG4は、タイマ割込み処理における回胴制御処理でステッピングモータ54の全相がONされることに応じてONされるフラグ(つまり全相励磁状態か否かを表すフラグ)である。   Further, in the next step S608, the CPU 80a confirms the state (ON / OFF state) of the second stop processing flag FG4. As will be described later, the second stop processing flag FG4 is a flag that is turned on when all phases of the stepping motor 54 are turned on in the turning control processing in the timer interrupt processing (that is, whether or not all phases are excited). Is a flag).

ステップS608において、第2停止処理中フラグFG4がOFFであれば、CPU80aはステップS607に戻る。すなわち、停止処理中フラグFG4がONとなるまで1タイマ割込み分の待機処理が繰り返される。   If the second stop processing flag FG4 is OFF in step S608, the CPU 80a returns to step S607. That is, the standby process for one timer interrupt is repeated until the stop process flag FG4 is turned ON.

第2停止処理中フラグFG4がONであれば、CPU80aはステップS609に進み、演出制御基板42側に当該リールの停止位置(停止図柄)を通知する停止位置コマンドを送信するための処理を実行し、続くステップS610で最短停止間隔タイマ(先のステップS602で設定)の値が「0」であるか否かを判定する。最短停止間隔タイマの値が「0」でなければ、CPU80aは再びステップS610の判定処理を実行する。
一方、最短停止間隔タイマの値が「0」であれば、CPU80aはステップS533の停止制御処理を終える。
If the second stop processing flag FG4 is ON, the CPU 80a proceeds to step S609 and executes a process for transmitting a stop position command for notifying the stop position (stop symbol) of the reel to the effect control board 42 side. In subsequent step S610, it is determined whether or not the value of the shortest stop interval timer (set in the previous step S602) is “0”. If the value of the shortest stop interval timer is not “0”, the CPU 80a executes the determination process in step S610 again.
On the other hand, if the value of the shortest stop interval timer is “0”, the CPU 80a finishes the stop control process in step S533.

[10-3.入賞メダルの払出処理]

図23は、入賞メダルの払出処理(ステップS536)についての説明図である。
先ず、CPU80aはステップS701で、入賞枚数が「0」であるか否かを判定する。前述のように入賞枚数は、ステップS535の入賞判定処理にて設定されるものである。入賞枚数が「0」であれば、CPU80aは入賞メダルの払出処理を終了する。
[10-3. Winning medal payout process]

FIG. 23 is an explanatory diagram of the payout process for winning medals (step S536).
First, in step S701, the CPU 80a determines whether or not the number of winning prizes is “0”. As described above, the number of winnings is set in the winning determination process in step S535. If the number of winning prizes is “0”, the CPU 80a ends the winning medal payout process.

入賞枚数が「0」でなければ、CPU80aはステップS702に進み、エラー中であるか否かを判定する。なお、ステップS702で対象とするエラーとしては、スロットマシンで検出可能な各種のエラーであり、少なくとも前述した主基板エラー、RWMエラー、投入メダルエラー、払出メダル無しエラー、払出センサエラー、不当入賞エラー、オーバーフローエラー、ドア開放エラーを含む。
ステップS702において、エラー中であると判定した場合、CPU80aは再度ステップS702の判定処理を実行する。すなわち、エラーが解除されるまで、メイン処理の進行(ゲームの進行)が中断される。
If the number of winning prizes is not “0”, the CPU 80a proceeds to step S702 and determines whether an error is occurring. Note that the errors targeted in step S702 are various errors that can be detected by the slot machine, and at least the main board error, RWM error, inserted medal error, no payout medal error, payout sensor error, and unfair winning prize error described above. Including overflow error and door opening error.
If it is determined in step S702 that an error has occurred, the CPU 80a executes the determination process in step S702 again. That is, the progress of the main process (game progress) is interrupted until the error is cleared.

一方、エラー中ではないと判定した場合、CPU80aはステップS703に進み、払出の開始を演出制御基板42側に通知するための払出開始コマンドを送信バッファにセットする処理を実行する。   On the other hand, if it is determined that there is no error, the CPU 80a proceeds to step S703 and executes a process of setting a payout start command for notifying the start of payout to the effect control board 42 side in the transmission buffer.

続くステップS704でCPU80aは、タイマ割込み処理の実行待ち処理を行う。この待ち処理は、以下で説明するクレジットの加算処理中にタイマ割込み処理が入ることの防止を意図したものである。   In subsequent step S704, the CPU 80a performs a timer interruption process waiting process. This waiting process is intended to prevent the timer interrupt process from entering during the credit addition process described below.

ステップS704の待ち処理を実行したことに応じ、CPU80aはステップS705でクレジットの値がMAX(最大値:本例では「50」)であるか否かを判定する。クレジットの値がMAXでなければ、CPU80aはステップS706、S707、S708の処理によりそれぞれクレジットの値のインクリメント(+1)、払出信号カウンタの値のインクリメント、払出表示枚数のインクリメントをそれぞれ行い、次のステップS709で90msの待機処理を行った上で、ステップS710で入賞枚数の値をデクリメント(−1)する処理を行う。
なお、ステップS707において、払出信号カウンタは、ホールコンピュータに対する払出枚数の通知、すなわち入賞(再遊技を含む)に応じて遊技者に付与したメダルの枚数の通知を行うために用いられるカウンタである。メイン処理において払出信号カウンタの値を入賞枚数の範囲内で上記のように逐次インクリメントする一方で、後述するタイマ割込み処理側の「投入、及び払出信号出力処理」(ステップS809)では、払出信号カウンタの値が「0」以外である場合に対応して払出信号カウンタの値をデクリメントし且つ払出信号ビットをホールコンピュータに出力するための処理が行われる。ホールコンピュータでは、該払出信号ビットの出力回数に基づいてスロットマシンの払出枚数を管理可能とされている。
また、上記ステップS708において、払出表示枚数は、前述した払出表示部10に表示すべき当該ゲームでの払出枚数を意味する。本例では、払出表示部10における枚数表示は、入賞枚数からの1枚単位での付与が行われるごとに値をインクリメントさせる態様で行われるため、ステップS708で払出表示枚数の値を逐次インクリメントさせている。なお、図示による説明は省略したが、CPU80aは、払出表示枚数の値を例えばメダル投入又はスタートレバー17のONタイミング等、次ゲーム開始までの間の所定タイミングで「0」リセットする(つまり払出表示部10における枚数表示は「0」から「入賞枚数」に向けて逐次インクリメントされた後、次ゲーム開始タイミングまでにクリアされる)。なお、払出表示枚数の値の0リセットは、メダル投入又はスタートレバー17のON操作が行われずとも、所定時間の経過に応じて行ってもよい。
In response to the execution of the waiting process in step S704, the CPU 80a determines in step S705 whether or not the credit value is MAX (maximum value: “50” in this example). If the credit value is not MAX, the CPU 80a increments the credit value (+1), increments the value of the payout signal counter, and increments the payout display number by the processes of steps S706, S707, and S708, respectively. After performing a waiting process of 90 ms in S709, a process of decrementing (-1) the value of the winning number is performed in step S710.
In step S707, the payout signal counter is a counter used for notifying the payout number to the hall computer, that is, notifying the number of medals awarded to the player in response to winning (including replay). In the main process, the value of the payout signal counter is sequentially incremented as described above within the range of the number of winnings. On the other hand, in the “insertion and payout signal output process” (step S809) described later, the payout signal counter In response to a value other than “0”, processing for decrementing the value of the payout signal counter and outputting payout signal bits to the hall computer is performed. In the hall computer, the number of payouts of the slot machine can be managed based on the number of times of output of the payout signal bits.
In step S708, the payout display number means the payout number in the game to be displayed on the payout display unit 10 described above. In the present example, the number display on the payout display unit 10 is performed in such a manner that the value is incremented every time a prize is added in increments of one, so that the value of the payout display number is sequentially incremented in step S708. ing. Although not shown in the figure, the CPU 80a resets the value of the payout display number to “0” at a predetermined timing until the start of the next game such as insertion of medals or the start timing of the start lever 17 (that is, payout display). The number display in the section 10 is sequentially incremented from “0” to “winning number” and then cleared by the next game start timing). Note that the resetting of the value of the payout display number may be performed as the predetermined time elapses without the medal insertion or the start lever 17 being turned on.

ステップS710で入賞枚数の値をデクリメントしたことに応じ、CPU80aはステップS711で入賞枚数が「0」であるか否かを判定する。入賞枚数の値が「0」でなければ、CPU80aは先のステップS704に戻る。すなわち、入賞枚数分のメダル付与処理が完了していなければ、タイマ割込み処理の実行待ち処理を行った上で、ステップS705のクレジットMAX判定処理を再度実行する。クレジットの値がMAXでなければ、上記したステップS706〜S711の処理が再度実行される。   In response to the decrement of the value of the winning number in step S710, the CPU 80a determines whether or not the winning number is “0” in step S711. If the value of the winning number is not “0”, the CPU 80a returns to the previous step S704. That is, if the medal grant process for the number of winning prizes has not been completed, the process for waiting for execution of the timer interrupt process is performed, and then the credit MAX determination process in step S705 is performed again. If the credit value is not MAX, the processes in steps S706 to S711 described above are executed again.

一方、ステップS711で入賞枚数の値が「0」であれば、CPU80aはステップS715で払出終了を演出制御基板42側に通知するための払出終了コマンドを送信バッファにセットする処理を実行し、入賞メダルの払出処理(S536)を終える。   On the other hand, if the value of the number of winning prizes is “0” in step S711, the CPU 80a executes a process of setting a payout end command for notifying the effect control board 42 of the payout end in the transmission buffer in step S715. The medal payout process (S536) ends.

また、先のステップS705において、クレジットの値がMAXであれば、CPU80aはステップS712で払出要求をONとする。
ここで、クレジットの値がMAXである場合には、クレジットの加算ではなくメダル払出装置5を用いたメダルの払出(メダル排出口20を介したメダル払出)が行われる。このようなメダル払出装置5を用いたメダル払出のための制御処理はタイマ割込み処理側で実行され(図36のメダル払出処理を参照)、払出要求は、該制御処理の実行を要求するものである。
In step S705, if the credit value is MAX, the CPU 80a sets the payout request to ON in step S712.
Here, when the credit value is MAX, the medal payout using the medal payout device 5 (medal payout through the medal discharge port 20) is performed instead of the credit addition. Control processing for medal payout using such a medal payout device 5 is executed on the timer interrupt processing side (see medal payout processing in FIG. 36), and the payout request is for requesting execution of the control processing. is there.

続くステップS713でCPU80aは、タイマ割込み処理の実行待ち処理を実行し、ステップS714で入賞枚数の値が「0」であるか否かを判定する。なお、後の説明から理解されるように、タイマ割込み処理におけるメダル払出処理では、メダルを1枚払い出すごとに入賞枚数の値がデクリメントされる。   In the next step S713, the CPU 80a executes a process for waiting for execution of the timer interrupt process, and determines in step S714 whether or not the value of the number of winning prizes is “0”. As will be understood from the following description, in the medal payout process in the timer interrupt process, the value of the winning number is decremented every time one medal is paid out.

ステップS714において、入賞枚数の値が「0」でなければ、CPU80aはステップS712に戻る。
一方、入賞枚数の値が「0」であれば、CPU80aは先のステップS715のコマンドセット処理を実行し、入賞メダルの払出処理を終える。
In step S714, if the value of the number of winning prizes is not “0”, the CPU 80a returns to step S712.
On the other hand, if the value of the number of winning prizes is “0”, the CPU 80a executes the command setting process of the previous step S715, and finishes the winning medal payout process.

<11.タイマ割込み処理>
[11-1.タイマ割込み処理]

続いて、所定時間ごと(本例では1.49msごと)に起動されるタイマ割込み処理について説明する。
図24は、タイマ割込み処理のフローチャートである。
図24において、CPU80aは、先ずステップS801でレジスタの値を退避させた上で(レジスタ退避処理)、ステップS802でLEDデータの作成処理を実行する。該LEDデータの作成処理は、遊技表示基板61に搭載された払出表示部10や貯留枚数表示部11としての7セグメントLEDや、LED群9として設けられた各種LED、すなわち投入されたメダルの枚数を示すLED、再遊技状態を示すLED、スタートランプとしてのLED、メダルの投入の受付状態(投入の許可/不許可)を示すLEDや、設定値の表示を行うための7セグメントLEDによる情報表示を実現するために必要とされるデータを作成する処理である。なお、該作成処理についての詳細は図25により後述する。
<11. Timer interrupt processing>
[11-1. Timer interrupt processing]

Next, timer interrupt processing that is started at predetermined time intervals (in this example, every 1.49 ms) will be described.
FIG. 24 is a flowchart of the timer interrupt process.
In FIG. 24, the CPU 80a first saves the register values in step S801 (register save processing), and then executes LED data creation processing in step S802. The LED data creation process is performed by the 7-segment LED as the payout display unit 10 and the stored number display unit 11 mounted on the game display board 61, and various LEDs provided as the LED group 9, that is, the number of inserted medals. LED display, replay state LED, start lamp LED, medal insertion acceptance status (insertion permission / non-permission), and 7-segment LED display for setting value display This is a process for creating data required for realizing the above. Details of the creation process will be described later with reference to FIG.

続くステップS803でCPU80aは、コマンド作成処理として、各種のコマンドのデータを作成して演出制御インターフェース86における送信バッファにセットする処理を実行する。なお、セットされたコマンドは、後述する出力処理(S816)にて演出制御基板42側に出力される。   In subsequent step S803, the CPU 80a executes a process of creating data of various commands and setting the data in the transmission buffer in the effect control interface 86 as a command creation process. The set command is output to the effect control board 42 side in an output process (S816) described later.

さらに、CPU80aは次のステップS804で、入力ポートの読み込み処理を行う。すなわち、各種スイッチ信号やセンサ信号を受ける入力ポートのデータを取得し、例えばRAM80cの所定領域に記憶させる。なお、センサ信号には、セレクタセンサ67や投入メダル関連センサ68、第1回胴インデックスセンサ55a、第2回胴インデックスセンサ55b及び第3回胴インデックスセンサ55cの各インデックスセンサ55、及びドアセンサ66等からの検出信号が含まれる。
ステップS804の読み込み処理では、スイッチ信号やセンサ信号のONエッジ、OFFエッジのデータが作成され、RAM80cに記憶される。
Further, in the next step S804, the CPU 80a performs input port reading processing. That is, input port data that receives various switch signals and sensor signals is acquired and stored in a predetermined area of the RAM 80c, for example. The sensor signal includes the selector sensor 67, the inserted medal related sensor 68, the index sensor 55a of the first cylinder index sensor 55a, the index sensor 55b of the second cylinder index sensor 55c, the index sensor 55 of the third cylinder index sensor 55c, the door sensor 66, and the like. The detection signal from is included.
In the reading process in step S804, ON edge and OFF edge data of the switch signal and sensor signal is created and stored in the RAM 80c.

続くステップS805でCPU80aは、タイマの減算処理として、デモタイマやウェイトタイマ等の所定のタイマの値の減算を行い、ステップS806でメダル払出処理を実行する。メダル払出処理は、後述する精算要求(精算ボタン14の操作に基づき後述するステップS814にてONされる)や払出要求(先のステップS712を参照)に応じてメダルの払出を行うための処理であるが、詳細は図36により後述する。   In step S805, the CPU 80a performs subtraction of a predetermined timer value such as a demo timer or a wait timer as timer subtraction processing, and executes medal payout processing in step S806. The medal payout process is a process for paying out medals in response to a payment request (to be turned on in step S814 described later based on the operation of the payment button 14) or a payout request (see the previous step S712). Details will be described later with reference to FIG.

ステップS806のメダル払出処理を実行したことに応じ、CPU80aはステップS807でタイマ割込みカウンタをインクリメント(+1)する処理を実行し、続くステップS808でタイマ割込みカウンタの値が所定値(本例では「42」)か否かを判定する。タイマ割込みカウンタの値が所定値であれば、CPU80aはステップS809の投入、及び払出信号出力処理を実行してステップS810に進み、タイマ割込みカウンタの値が所定値でなければ、CPU80aはステップS809をパスしてステップS810に進む。   In response to the execution of the medal payout process in step S806, the CPU 80a executes a process for incrementing (+1) the timer interrupt counter in step S807, and in step S808, the value of the timer interrupt counter is set to a predetermined value (in this example, “42” ]). If the timer interrupt counter value is a predetermined value, the CPU 80a executes step S809 input and payout signal output processing and proceeds to step S810. If the timer interrupt counter value is not the predetermined value, the CPU 80a proceeds to step S809. Pass and proceed to step S810.

ステップS809の投入、及び払出信号出力処理は、スロットマシンにおけるメダルの投入枚数や払出枚数を通知するための情報(投入信号ビット、払出信号ビット)をホールコンピュータに対して出力するための処理である。
上記のステップS808の処理が設けられることで、ステップS809の出力処理はタイマ割込み処理42回分の間隔(本例では62.58ms)を空けて実行される。
なお、図示は省略したが、タイマ割込みカウンタの値は、ステップS809の出力処理において0リセットされる(つまり「42」に達するごとに0リセットされる)。
The insertion and payout signal output process in step S809 is a process for outputting information (insertion signal bit and payout signal bit) for notifying the number of inserted medals and the number of payouts in the slot machine to the hall computer. .
By providing the processing in step S808 described above, the output processing in step S809 is executed with an interval of 42 timer interruption processing (62.58 ms in this example).
Although illustration is omitted, the value of the timer interrupt counter is reset to 0 in the output process of step S809 (that is, reset to 0 every time it reaches “42”).

ステップS810のエラー解除判定処理は、例えば投入メダルエラーや払出センサエラー、ドア開放エラー等の各種のエラーについて、エラー発生時に対応してエラー状態が解除されたか否かを判定するための処理である。なお、該エラー解除判定処理の詳細は図26により後述する。   The error release determination process in step S810 is a process for determining whether or not an error state has been released in response to the occurrence of an error for various errors such as an inserted medal error, a payout sensor error, and a door opening error. . Details of the error cancellation determination process will be described later with reference to FIG.

ステップS810のエラー解除判定処理を実行したことに応じ、CPU80aはステップS811、続くステップS812でそれぞれエラー種別に応じたエラーフラグのセット処理及び外部出力端子の出力処理を行う。具体的に、ステップS811でCPU80aは、発生エラーがドア開放エラーであった場合にはドア開放エラーフラグをセットして、外部集中端子板70における対応する外部出力端子を介した信号出力を行うための処理を実行する。また、ステップS812でCPU80aは、発生エラーが主基板エラー、RWMエラー、投入メダルエラー、払出センサエラー、不当入賞エラーの何れかであった場合にはそれぞれ対応するエラーフラグをセットして、外部集中端子板70における対応する外部出力端子を介した信号出力を行うための処理を実行する。   In response to the execution of the error release determination process in step S810, the CPU 80a performs an error flag setting process and an external output terminal output process in accordance with the error type in step S811, and in subsequent step S812. Specifically, in step S811, the CPU 80a sets a door opening error flag when the generated error is a door opening error, and outputs a signal via a corresponding external output terminal on the external concentration terminal board 70. Execute the process. In step S812, the CPU 80a sets the corresponding error flag when the generated error is any one of the main board error, RWM error, inserted medal error, payout sensor error, and unfair prize winning error. A process for outputting a signal via a corresponding external output terminal in the terminal board 70 is executed.

ステップS812の処理を実行したことに応じ、CPU80aはステップS813でメダル投入処理を実行する。メダル投入処理は、メダル投入口12を介したメダルの投入やマックスベットボタン16の操作に応じて投入枚数やクレジットの値を更新する処理であるが、詳細については図27により後述する。   In response to the execution of the process in step S812, the CPU 80a executes a medal insertion process in step S813. The medal insertion process is a process of updating the number of inserted coins and the value of credit according to the insertion of medals through the medal insertion slot 12 and the operation of the max bet button 16, and details will be described later with reference to FIG.

続くステップS814でCPU80aは、貯留メダルの精算処理を実行する。貯留メダルの精算処理は、精算ボタン14の操作有無等、様々な条件の判定を行って精算要求をONするための処理であるが、詳細については図35により後述する。   In subsequent step S814, the CPU 80a executes a settlement medal settlement process. The stored medal settlement process is a process for turning on a settlement request by determining various conditions such as whether or not the settlement button 14 is operated, and the details will be described later with reference to FIG.

また、CPU80aは、ステップS814に続くステップS815で、回胴制御処理を実行する。回胴制御処理では、回転リール4を回転/停止させるためのステッピングモータ54の駆動制御に係る処理が行われるが、詳細については図37により後述する。   In addition, the CPU 80a executes the spinning cylinder control process in step S815 following step S814. In the rotation control process, a process related to the drive control of the stepping motor 54 for rotating / stopping the rotary reel 4 is performed, and details will be described later with reference to FIG.

ステップS815の回胴制御処理を実行したことに応じ、CPU80aはステップS816で出力処理を実行する。この出力処理では、セットされた各種のデータを対応する出力先に出力するための処理が行われる。出力するデータには、前述した各種のコマンド(演出制御基板42に対するコマンド)やステッピングモータ54を駆動するためのデータ(前述した励磁データφ1〜φ4)も含まれる。   In response to executing the spinning cylinder control process in step S815, the CPU 80a executes an output process in step S816. In this output processing, processing for outputting various set data to the corresponding output destination is performed. The output data includes the various commands described above (commands for the effect control board 42) and data for driving the stepping motor 54 (excitation data φ1 to φ4 described above).

ステップS816の出力処理を実行したことに応じ、CPU80aはステップS817のレジスタ復帰処理として、先のステップS801の処理で退避したレジスタの値を復帰させる処理を実行し、タイマ割込み処理を終える。
In response to the execution of the output process of step S816, the CPU 80a executes a process of restoring the register value saved in the process of the previous step S801 as the register return process of step S817, and ends the timer interrupt process.

[11-2.LED表示データの作成処理]

図25は、LED表示データの作成処理(S802)のフローチャートである。
前述のように、LED表示データの作成処理は、払出表示部10、貯留枚数表示部11としてのそれぞれの7セグメントLEDや、LED群9として設けられた投入メダルの枚数を示すLED、再遊技状態を示すLED、スタートランプとしてのLED、メダルの投入の許可/不許可を示すLEDや、設定値の表示を行うための7セグメントLEDを表示させるためのデータを作成する処理である。
[11-2. LED display data creation process]

FIG. 25 is a flowchart of LED display data creation processing (S802).
As described above, the LED display data creation process includes the 7-segment LED as the payout display unit 10 and the stored number display unit 11, the LED indicating the number of inserted medals provided as the LED group 9, and the replaying state. This is a process of creating data for displaying an LED indicating, an LED as a start lamp, an LED indicating permission / non-permission of medal insertion, and a 7-segment LED for displaying a set value.

本例では、これらのLEDはいわゆるダイナミック制御により点灯制御される。具体的に、本例では、払出表示部10における1桁目の7セグメントLED(以下「払出枚数1桁目」)、2桁目の7セグメントLED(以下「払出枚数2桁目」)、貯留枚数表示部11における1桁目の7セグメントLED(以下「クレジット1桁目」)、2桁目の7セグメントLED(以下「クレジット2桁目」)、投入メダルの枚数を示す三つのLED(以下「投入枚数表示1〜3」)、再遊技状態を示すLED(以下「再遊技」)、スタートランプとしてのLED(以下「スタートLED」)、メダルの投入の許可/不許可を示すLED(以下「INSERT」)、設定値の表示を行うための7セグメントLED(以下「設定表示」)が、それぞれ以下のようにコモン0〜コモン6として区分されている。

コモン0…払出枚数1桁目
コモン1…払出枚数2桁目
コモン2…クレジット1桁目
コモン3…クレジット2桁目
コモン4…投入枚数表示1〜3
コモン5…INSERT、再遊技、スタートLED
コモン6…設定表示

そして、これらのコモン0〜6をタイマ割込み周期で順番にONして行きつつ、表示データをコモン0〜6に共通に出力するという制御手法が採られている。すなわち、ONとされたコモンのLEDのみが、共通出力された表示データに従って点灯制御されるものである。
In this example, the lighting of these LEDs is controlled by so-called dynamic control. Specifically, in this example, the first-digit 7-segment LED (hereinafter “first payout number”) and the second-digit 7-segment LED (hereinafter “second payout number”) in the payout display unit 10 are stored. First-segment 7-segment LED (hereinafter “credit first digit”), second-digit 7-segment LED (hereinafter “credit second-digit”), and three LEDs (hereinafter referred to as the number of inserted medals) “Inserted number display 1-3”, LED indicating re-playing state (hereinafter “re-playing”), LED as start lamp (hereinafter “start LED”), LED indicating permission / non-permission of inserting medals (hereinafter referred to as “re-playing”) 7-segment LED (hereinafter referred to as “setting display”) for displaying the set value is classified as common 0 to common 6 as follows.

Common 0 ... Number of payouts 1st digit Common 1 ... Number of payouts 2nd digit Common 2 ... Credit 1st digit Common 3 ... Credit 2nd digit Common 4 ... Inserted number display 1-3
Common 5 ... INSERT, replay, start LED
Common 6 ... Setting display

Then, a control method is adopted in which the display data is output in common to the commons 0 to 6 while these commons 0 to 6 are sequentially turned on in the timer interrupt cycle. That is, only the common LEDs that are turned on are controlled to be lit according to the display data that is output in common.

上記の前提を踏まえ、図25の処理について説明する。
図25において、CPU80aは、先ずステップS901でエラー中であるか否かを判定する。エラー中であれば、CPU80aはエラー種別に対応したエラー表示コードをRAM82cのワークにおける払出枚数表示用のセット領域にセットし、ステップS903に進む。
一方、エラー中でなければ、CPU80aはステップS902のセット処理をパスしてステップS903に進む。
Based on the above assumptions, the processing of FIG. 25 will be described.
In FIG. 25, the CPU 80a first determines in step S901 whether an error has occurred. If there is an error, the CPU 80a sets an error display code corresponding to the error type in the set area for displaying the number of payouts in the work of the RAM 82c, and proceeds to step S903.
On the other hand, if not in error, the CPU 80a passes the set process of step S902 and proceeds to step S903.

ステップS903でCPU80aは、今回コモンを指定するデータをRAM82cのワークにおける所定領域(コモン指定データセット領域)にセットする。すなわち、例えば今回点灯制御の対象とすべきコモンがコモン0であれば、今回コモンとして該コモン0を指定するためのデータをセットする。   In step S903, the CPU 80a sets data designating the current common in a predetermined area (common designation data set area) in the work of the RAM 82c. That is, for example, if the common to be subjected to lighting control this time is common 0, data for designating common 0 is set as the current common.

続くステップS904でCPU80aは、今回コモン番号に対応する出力データをRAM82cのワークにおける所定領域(出力データセット領域)にセットする。
なお、今回コモン番号がコモン0又はコモン1(払出枚数1桁目又は2桁目)であって、先のステップS901でエラー中との判定結果が得られた場合には、ステップS904のセット処理では、先のステップS902でセットしたエラー表示コードに対応した出力データがセットされる。
In subsequent step S904, the CPU 80a sets the output data corresponding to the current common number in a predetermined area (output data set area) in the work of the RAM 82c.
If the current common number is common 0 or common 1 (the first or second digit of the number to be paid out) and a determination result that an error has occurred is obtained in the previous step S901, the set process in step S904 is performed. Then, output data corresponding to the error display code set in the previous step S902 is set.

さらに、次のステップS905でCPU80aは、設定確認中フラグ(先のステップS508参照)の状態を確認し、設定確認中フラグがONであればステップS906に進んで現在の設定値vdに対応する出力データをRAM82cのワークにおける出力データセット領域にセットし、LEDデータの作成処理を終える。
一方、設定確認中フラグがOFFであれば、CPU80aはステップS906の処理をパスしてLEDデータの作成処理を終える。
Further, in the next step S905, the CPU 80a confirms the state of the setting confirmation flag (see the previous step S508). If the setting confirmation flag is ON, the CPU 80a proceeds to step S906 and outputs corresponding to the current setting value vd. The data is set in the output data set area in the work of the RAM 82c, and the LED data creation process is completed.
On the other hand, if the setting confirmation flag is OFF, the CPU 80a passes the process of step S906 and ends the LED data creation process.

なお、上記の処理でワークにセットされたコモン指定データ及び出力データ(表示制御データ)に基づくLED側への信号出力は、図24に示した出力処理(ステップS816)にて行われる。   Note that the signal output to the LED side based on the common designation data and the output data (display control data) set for the work in the above process is performed in the output process (step S816) shown in FIG.

ここで、エラーの発生時においては、上記のLEDデータの作成処理に基づき、払出枚数1桁目、2桁目としての7セグメントLEDを用いたエラー表示(エラー報知)が行われる。この際、エラーの検知(検出信号のONエッジ検知)はタイマ割込み処理(ステップS804「入力ポートの読み込み処理」参照)で実行され、エラー検知に応じたエラー報知としても同じくタイマ割込み処理(LEDデータの作成処理)に基づいて行われる。従って、エラー報知はエラーの発生に応じて即座に実行されるものである。
Here, when an error occurs, an error display (error notification) is performed using a 7-segment LED as the first digit and the second digit of the payout number based on the above LED data creation process. At this time, error detection (detection of ON edge of detection signal) is performed by timer interrupt processing (refer to step S804 “input port read processing”). Based on the creation process). Therefore, error notification is executed immediately in response to the occurrence of an error.

[11-3.エラー解除判定処理]

図26は、エラー解除判定処理(S810)のフローチャートである。
図26において、CPU80aはステップS1001で、エラーフラグに基づきエラー中であるか否かを判定する。エラー中でなければ、CPU80aはエラー解除判定処理を終える。
[11-3. Error release determination process]

FIG. 26 is a flowchart of the error cancellation determination process (S810).
In FIG. 26, in step S1001, the CPU 80a determines whether an error is occurring based on the error flag. If there is no error, the CPU 80a finishes the error release determination process.

一方、エラー中であれば、CPU80aはステップS1002で、エラーが解除されたか否かを判定する。前述のようにエラーの種別としては、主基板エラー、RWMエラー、投入メダルエラー、払出メダル無しエラー、払出センサエラー、不当入賞エラー、オーバーフローエラー、ドア開放エラーがある。ステップS1002ではこれらエラーについて、下記の解除条件に基づきエラー解除判定を行う。

主基板エラー…主制御基板40の交換
RWMエラー…設定変更処理(図17)の実行
投入メダルエラー…リセットスイッチ72bのON
払出メダル無しエラー…リセットスイッチ72bのON、及びドアセンサ66(前述した中止解除動作の検知)
払出センサエラー…リセットスイッチ72bのON
不当入賞エラー…リセットスイッチ72bのON
オーバーフローエラー…リセットスイッチ72bのON、及びドアセンサ66(前述した中止解除動作の検知)
ドア開放エラー…ドアセンサ66(前述した中止解除動作の検知)

なお、主基板エラー、RWMエラーについては、リセットスイッチ72b、ドアセンサ66に基づくエラー解除が不能とされている。
On the other hand, if the error is in progress, the CPU 80a determines in step S1002 whether or not the error has been canceled. As described above, the error types include main board error, RWM error, inserted medal error, no payout medal error, payout sensor error, invalid prize error, overflow error, and door open error. In step S1002, for these errors, error cancellation determination is performed based on the following cancellation conditions.

Main board error ... Replacement of main control board 40 RWM error ... execution of setting change process (FIG. 17) Inserted medal error ... ON of reset switch 72b
No payout medal error: ON of the reset switch 72b and the door sensor 66 (detection of the above-described cancel release operation)
Dispensing sensor error ... ON of reset switch 72b
Unfair winning error ... Reset switch 72b ON
Overflow error: ON of the reset switch 72b and the door sensor 66 (detection of the above-described cancel release operation)
Door opening error ... Door sensor 66 (detection of the above-mentioned cancel release operation)

For the main board error and the RWM error, it is impossible to cancel the error based on the reset switch 72b and the door sensor 66.

ステップS1002において、エラーが解除されていなければ、CPU80aはエラー解除判定処理を終える。   If the error is not canceled in step S1002, the CPU 80a ends the error cancellation determination process.

一方、エラーが解除されていれば、CPU80aはステップS1003でエラー表示をクリアするための処理を実行する。具体的には、前述した払出枚数1桁目及び払出枚数2桁目としての7セグメントLEDを用いたエラー表示をクリア(例えば非点灯)するための処理を実行する。   On the other hand, if the error is released, the CPU 80a executes a process for clearing the error display in step S1003. Specifically, the process for clearing (for example, non-lighting) the error display using the 7-segment LED as the first payout number and the second payout number is performed.

続くステップS1004でCPU80aは、エラーフラグをクリアする処理を実行し、さらに続くステップS1005で払出枚数表示を復帰させるための処理を実行して、エラー解除判定処理を終える。
In the subsequent step S1004, the CPU 80a executes a process for clearing the error flag, and in a subsequent step S1005, executes a process for returning the payout number display to finish the error release determination process.

[11-4.メダル投入処理]

図27及び図28は、メダル投入処理(S813)のフローチャートである。
図27において、CPU80aはステップS1101で、遷移及び滞留チェック処理を実行する。遷移及び滞留チェック処理は、メダル投入に係る不正検知のための処理であり、前述したセレクタセンサ67、投入メダル関連センサ68(第1投入メダルセンサ68a、第2投入メダルセンサ68b)、及び通過後センサ68cに対するメダルの通過態様が予め定められた異常通過態様に該当するか否かを判定し、異常が認められたことに応じて投入エラー監視フラグFeiをセットする(ONとする)処理である。
[11-4. Medal insertion process]

27 and 28 are flowcharts of the medal insertion process (S813).
In FIG. 27, the CPU 80a executes a transition and stay check process in step S1101. The transition and stay check processing is processing for fraud detection related to medal insertion. The selector sensor 67, the insertion medal-related sensor 68 (first insertion medal sensor 68a, second insertion medal sensor 68b), and after passing This is a process of determining whether or not the medal passage mode with respect to the sensor 68c corresponds to a predetermined abnormal passing mode, and setting (turning on) the insertion error monitoring flag Fei in accordance with the fact that the abnormality has been recognized. .

遷移及び滞留チェック処理の説明に先立ち、先ずは本例における投入メダルエラーの検知手法を図29を参照して説明しておく。
図29Aでは、メダル投入口12を介して1枚のメダルが正常に投入された場合におけるセレクタセンサ67、第1投入メダルセンサ68a(センサ1)、第2投入メダルセンサ68b(センサ2)、通過後センサ68cの検出信号の遷移を示している。なお、先の図9で説明したように、これらのセンサはメダル投入口12から取込側流路21bにかけてのメダル通過経路において上流側から上記の順に配置されている。
Prior to the description of the transition and stay check processing, the inserted medal error detection method in this example will be described with reference to FIG.
In FIG. 29A, the selector sensor 67, the first inserted medal sensor 68a (sensor 1), the second inserted medal sensor 68b (sensor 2), and the passage when one medal is normally inserted through the medal insertion slot 12. The transition of the detection signal of the rear sensor 68c is shown. As described with reference to FIG. 9, these sensors are arranged in the above order from the upstream side in the medal passage route from the medal slot 12 to the take-in channel 21b.

メダルが正常に投入された場合、セレクタセンサ67、センサ1、センサ2、通過後センサ68cは同順で順次ONされていく。このとき、セレクタセンサ67とセンサ1との配置間隔は、セレクタセンサ67がONからOFFに転じた後にセンサ1がONとなるように設定されている。また、センサ1とセンサ2との配置間隔は、センサ1がONとされている期間にセンサ2がONとなり、且つセンサ1のOFFタイミングがセンサ2のON期間内に訪れるように設定されている。さらに、センサ2と通過後センサ68cとの配置間隔は、センサ2のOFFタイミングの後に通過後センサ68cがONとなるように設定されている。
ここで、図のようにセレクタセンサ67がONに転じる時点を時点t1、OFFに転じる時点を時点t2、センサ1がONに転じる時点を時点t3、センサ2がONに転じる時点を時点t4、センサ1がOFFに転じる時点を時点t5、センサ2がOFFに転じる時点を時点t6、通過後センサ68cがONに転じる時点を時点t7、OFFに転じる時点を時点t8と表記する。
When the medal is normally inserted, the selector sensor 67, the sensor 1, the sensor 2, and the post-passage sensor 68c are sequentially turned on in the same order. At this time, the arrangement interval between the selector sensor 67 and the sensor 1 is set so that the sensor 1 is turned on after the selector sensor 67 is turned from ON to OFF. Further, the arrangement interval between the sensor 1 and the sensor 2 is set so that the sensor 2 is turned on during the period when the sensor 1 is turned on, and the OFF timing of the sensor 1 comes within the ON period of the sensor 2. . Furthermore, the arrangement interval between the sensor 2 and the post-pass sensor 68c is set so that the post-pass sensor 68c is turned on after the sensor 2 OFF timing.
Here, as shown in the figure, the time point when the selector sensor 67 turns ON is the time point t1, the time point when the selector sensor 67 turns OFF is the time point t2, the time point when the sensor 1 turns ON is the time point t3, and the time point when the sensor 2 turns ON is the time point t4. The time when 1 turns OFF is indicated as time t5, the time when sensor 2 turns OFF is indicated as time t6, the time when sensor 68c after passing turns ON is indicated as time t7, and the time when sensor 68c turns OFF is indicated as time t8.

本例の投入メダルエラーの検知手法では、センサ1、センサ2をメダルが通過する順番が所定の順番であるか否かという観点と、セレクタセンサ67、センサ1、センサ2、通過後センサ68cの検出信号のエッジ間の間隔がそれぞれ所定の時間内であるか否かという観点とに基づき、投入メダルエラーの検知を行う。   In the detection method of the inserted medal error in this example, the viewpoint of whether or not the order in which the medals pass through the sensors 1 and 2 is a predetermined order, the selector sensor 67, the sensor 1, the sensor 2, and the post-passing sensor 68c. The inserted medal error is detected based on whether or not the interval between the edges of the detection signal is within a predetermined time.

図29Bは、メダルが正常に投入された場合におけるセンサ1、センサ2のON/OFF状態の変化の順番を示している。
正常なメダル投入に応じては、「センサ1=OFF、センサ2=OFF」の順番「0」の状態→「センサ1=ON、センサ2=OFF」の順番「1」の状態→「センサ1=ON、センサ2=ON」の順番「2」の状態→「センサ1=OFF、センサ2=ON」の順番「3」の状態、の順でセンサ1、センサ2のON/OFF状態が遷移する。
従って、センサ1、センサ2のON/OFF状態の変化の順番がこのような「0」→「1」→「2」→「3」の順番に合致しない場合には、投入メダルエラーとして扱う。
FIG. 29B shows the order of changes in the ON / OFF states of sensor 1 and sensor 2 when medals are normally inserted.
In response to the normal insertion of medals, the state “0” in the order “sensor 1 = OFF, sensor 2 = OFF” → the state “1” in the order “sensor 1 = ON, sensor 2 = OFF” → “sensor 1” = ON, sensor 2 = ON "order" 2 "state →" sensor 1 = OFF, sensor 2 = ON "order" 3 "state, the ON / OFF state of sensor 1 and sensor 2 transition To do.
Therefore, when the order of change of the ON / OFF state of the sensor 1 and sensor 2 does not match such an order of “0” → “1” → “2” → “3”, it is treated as a throw-in medal error.

但し、投入されたメダルが排出側流路21cを介して排出される際には、図30Aに示すように、投入されたメダルがセンサ1(第1投入メダルセンサ68a)で検出された後に排出側流路21c側に落下してしまうことが起こり得る。この場合、センサ1、センサ2のON/OFF状態変化の順番が上記の順番に合致せず、投入メダルエラーとして検知されてしまうことになる。
具体的に、この場合におけるセンサ1、センサ2のON/OFF状態変化の順番は、図30Bに示すように「センサ1、2共にOFF」→「センサ1=ON、センサ2=OFF」→「センサ1、2共にOFF」の順番、すなわち上記の順番表記に従えば「0」→「1」→「0」の順番で変化しているため、エラー検知の対象とされてしまうものである。
スロットマシンにおいて、メダルが排出側流路21cを介して排出されるケースは特段エラーとすべきケースではないため、上記のように投入メダルエラーとして検知されてしまうことは投入メダルエラー検知の適正性を保つ上で望ましくない。
However, when the inserted medal is discharged through the discharge-side flow path 21c, as shown in FIG. 30A, the inserted medal is discharged after being detected by the sensor 1 (first inserted medal sensor 68a). It may happen that it falls to the side flow path 21c side. In this case, the order of changes in the ON / OFF state of the sensors 1 and 2 does not match the above order, and is detected as a inserted medal error.
Specifically, the order of changes in the ON / OFF state of sensor 1 and sensor 2 in this case is as follows: “Sensors 1 and 2 are both OFF” → “Sensor 1 = ON, Sensor 2 = OFF” → “ According to the order of “both sensors 1 and 2 are OFF”, that is, in the order of “0” → “1” → “0” according to the above-described order notation, the sensor is subject to error detection.
In the slot machine, a case where a medal is discharged through the discharge-side flow path 21c is not a case where it should be a special error. Therefore, the fact that the inserted medal error is detected as described above is the appropriateness of the inserted medal error detection. It is not desirable to keep

そこで、本例では、センサ1、センサ2のON/OFF状態変化の順番が「0」→「1」→「0」である場合には、図29Bに示した正規の順番に合致していなくても、例外的に投入メダルエラーとして検知しないものとしている。
これにより、投入メダルエラー検知の適正性が担保される。
Therefore, in this example, when the order of the ON / OFF state change of the sensor 1 and sensor 2 is “0” → “1” → “0”, it does not match the normal order shown in FIG. 29B. However, it is assumed that the inserted medal error is not detected exceptionally.
Thereby, the appropriateness of the inserted medal error detection is ensured.

また、本例では、セレクタセンサ67、センサ1、センサ2、通過後センサ68cの検出信号のエッジ間の時間に基づく投入メダルエラー検知のために、第1監視タイマ、第2監視タイマ、第3監視タイマ、第4監視タイマ、メダル通過第1カウンタ、メダル通過第2カウンタ及び通過後センサONタイマを用いる。
これら各種タイマやカウンタを用いた投入メダルエラーの検出手法は、図29Aに示した各時点tに照らして記載すると、以下のようになる。なお、各タイマは、タイマ割込みごとに減算(−1)される。

[時点t1]
・第1監視タイマに所定値(例えば402ms相当のタイマ割込み数)をセット。
第1監視タイマが0になったら投入メダルエラーとする(セレクタセンサ67の連続ON時間が過大であるためエラーとする)。

[時点t2]
・メダル通過第1カウンタを0クリア
・第2監視タイマに所定値(例えば250ms相当のタイマ割込み数)をセット。
第2監視タイマが0になったら投入メダルエラーとする(セレクタセンサ67通過からセンサ1がONするまでの時間が過大であるためエラーとする)。

[時点t3〜t5の各時点]
・第3監視タイマに所定値(例えば101ms相当のタイマ割込み数)をセット。
第3監視タイマが0になったら投入メダルエラーとする(センサ1又はセンサ2の連続ON時間が過大であるためエラーとする)。

[時点t6]
・第4監視タイマに所定値(例えば150ms相当のタイマ割込み数)をセット。
第4監視タイマが0となったら投入メダルエラーとする(センサ1、2通過から通過後センサ68c通過までの時間が過大であるためエラーとする)。
・メダル通過第1カウンタ、メダル通過第2カウンタをそれぞれ+1。
メダル通過第1カウンタが「5」となったら投入メダルエラーとする(セレクタセンサ67の通過メダル枚数とセンサ1、2の通過メダル枚数とのずれが5枚に達したらエラー)。
メダル通過第2カウンタが「5」となったら投入メダルエラーとする(通過後センサ68cの通過メダル枚数とセンサ1、2の通過メダル枚数とのずれが5枚に達したらエラー)。
これら通過メダル枚数に基づくエラー検知は、メダルが連続投入された場合を想定している。本例では、セレクタセンサ67及び通過後センサ68cはメダルが連続投入された際に検出信号が連続ONする場合があるのに対し、センサ1、2はメダルが連続投入されても各メダルを検出できるように構成されている。

[時点t7]
・通過後センサ68cがONである間は通過後センサONタイマを+1する。
通過後センサONタイマが所定値(例えば101ms相当のタイマ割込み数)に達したら投入メダルエラーとする(通過後センサ68cの連続ON時間が過大であるためエラーとする)。

[時点t8]
・メダル通過第2カウンタを0クリア。
In this example, the first monitoring timer, the second monitoring timer, the third monitoring timer 67, the sensor 1, the sensor 2, and the post-passing sensor 68c are used to detect the inserted medal error based on the time between the edges of the detection signals. A monitoring timer, a fourth monitoring timer, a medal passing first counter, a medal passing second counter and a post-passing sensor ON timer are used.
The method of detecting the inserted medal error using these various timers and counters is as follows when described in light of each time point t shown in FIG. 29A. Each timer is subtracted (-1) for each timer interrupt.

[Time t1]
Set a predetermined value (for example, the number of timer interrupts equivalent to 402 ms) to the first monitoring timer.
When the first monitoring timer reaches 0, an insertion medal error is determined (this is an error because the continuous ON time of the selector sensor 67 is excessive).

[Time t2]
-Clear the medal passing first counter to 0-Set a predetermined value (for example, the number of timer interrupts equivalent to 250 ms) to the second monitoring timer.
When the second monitoring timer reaches 0, a medal error is determined (this is an error because the time from the passage through the selector sensor 67 until the sensor 1 is turned on is excessive).

[Time points t3 to t5]
Set a predetermined value (for example, the number of timer interrupts equivalent to 101 ms) to the third monitoring timer.
When the third monitoring timer reaches 0, a medal error is determined (it is an error because the continuous ON time of sensor 1 or sensor 2 is excessive).

[Time t6]
Set a predetermined value (for example, the number of timer interrupts equivalent to 150 ms) in the fourth monitoring timer.
When the fourth monitoring timer reaches 0, a medal error is determined (it is an error because the time from passing the sensors 1 and 2 to passing the sensor 68c after passing is excessive).
・ The medal passing first counter and the medal passing second counter are each incremented by +1.
When the medal passing first counter becomes “5”, an insertion medal error is determined (an error occurs when the difference between the number of passing medals of the selector sensor 67 and the number of passing medals of the sensors 1 and 2 reaches 5).
When the medal passing second counter becomes “5”, an insertion medal error is determined (an error occurs when the difference between the passing medal number of the sensor 68c after passing and the passing medal number of the sensors 1 and 2 reaches 5).
The error detection based on the number of passing medals assumes a case where medals are continuously inserted. In this example, the selector sensor 67 and the post-passage sensor 68c may continuously turn on when the medal is continuously inserted, whereas the sensors 1 and 2 detect each medal even if the medal is continuously inserted. It is configured to be able to.

[Time t7]
-While the post-pass sensor 68c is ON, the post-pass sensor ON timer is incremented by one.
When the post-pass sensor ON timer reaches a predetermined value (for example, the number of timer interrupts corresponding to 101 ms), a throw-in medal error is determined (this is an error because the continuous ON time of the post-pass sensor 68c is excessive).

[Time t8]
・ Clear medal passing 2nd counter.

上記の説明を踏まえ、図31を参照して遷移及び滞留チェック処理(S1101)を説明する。
図31において、CPU80aはステップS1201で、全レジスタの値をRAM80cにおけるレジスタ退避領域に退避させる処理を実行し、ステップS1202で投入エラー監視フラグFeiをクリアする処理を実行する。
Based on the above description, the transition and stay check process (S1101) will be described with reference to FIG.
In FIG. 31, the CPU 80a executes a process of saving all register values in the register save area in the RAM 80c in step S1201, and executes a process of clearing the input error monitoring flag Fei in step S1202.

ここで、ステップS1101の遷移及び滞留チェック処理は、不正行為への対策を講じるための処理であり、該遷移及び滞留チェック処理を実現するためのプログラム及びデータは、前述した第2のメモリ領域(図13及び図14参照)に格納されている。ステップS1202における投入エラー監視フラグFeiは該遷移及び滞留チェック処理により更新されるべきフラグ(データ)であるため、該投入エラー監視フラグFeiとしても第2のメモリ領域(第2のメモリ領域のR/W領域)に記憶される。また、上述した第1監視タイマ、第2監視タイマ、第3監視タイマ、第4監視タイマ、メダル通過第1カウンタ、メダル通過第2カウンタ及び通過後センサONタイマについても遷移及び滞留チェック処理で更新されるべきデータであるため、第2のメモリ領域(同じくR/W領域)に記憶される。   Here, the transition and stay check process in step S1101 is a process for taking measures against fraud, and the program and data for realizing the transition and stay check process are stored in the second memory area ( 13 and 14). Since the input error monitoring flag Fei in step S1202 is a flag (data) to be updated by the transition and stay check processing, the input error monitoring flag Fei is used as the second memory area (R / R of the second memory area). W area). In addition, the first monitoring timer, the second monitoring timer, the third monitoring timer, the fourth monitoring timer, the medal passing first counter, the medal passing second counter, and the post-passing sensor ON timer described above are also updated by the transition and stay check processing. Since the data is to be processed, it is stored in the second memory area (also the R / W area).

ステップS1202で投入エラー監視フラグFeiをクリアすると、CPU80aはステップS1203でセンサの時間監視処理を実行する。すなわち、時間に基づく投入メダルエラー検知条件とされた第1監視タイマ、第2監視タイマ、第3監視タイマ、第4監視タイマ、及び通過後センサONタイマの値について、それぞれ上述した所定値に達したか否かを判定する。
続くステップS1204でCPU80aは、ステップS1203の監視処理の結果に基づきエラーであるか否かを判定する。すなわち、第1監視タイマ、第2監視タイマ、第3監視タイマ、第4監視タイマ、及び通過後センサONタイマの値のうち何れかが対応する所定値に達したか否かを判定する。
ステップS1204でエラーであると判定した場合、CPU80aはステップS1205で投入エラー監視フラグFeiをセットし、ステップS1206に処理を進める。
また、エラーでないと判定した場合、CPU80aはステップS1205をパスしてステップS1206に処理を進める。
When the input error monitoring flag Fei is cleared in step S1202, the CPU 80a executes sensor time monitoring processing in step S1203. That is, the values of the first monitoring timer, the second monitoring timer, the third monitoring timer, the fourth monitoring timer, and the post-passing sensor ON timer that have been set as the inserted medal error detection conditions based on time reach the predetermined values described above. Determine whether or not.
In subsequent step S1204, CPU 80a determines whether or not there is an error based on the result of the monitoring process in step S1203. That is, it is determined whether any of the values of the first monitoring timer, the second monitoring timer, the third monitoring timer, the fourth monitoring timer, and the post-pass sensor ON timer has reached a corresponding predetermined value.
If it is determined in step S1204 that there is an error, the CPU 80a sets the input error monitoring flag Fei in step S1205, and the process proceeds to step S1206.
If it is determined that there is no error, the CPU 80a passes step S1205 and advances the process to step S1206.

ステップS1206〜S1209では、センサ1、2のON/OFF状態変化の順番に基づく投入メダルエラー検知のための処理が行われる。
ステップS1206でCPU80aは、センサ1、2から入力される検出信号に変化があったか否かを判定する。すなわち、センサ1、センサ2の何れかの検出信号にONエッジ又はOFFエッジが検出されたか否かを判定する。センサ1、2の検出信号に変化がなければCPU80aは後述するステップS1210に処理を進める。
In steps S1206 to S1209, processing for detecting inserted medal errors based on the order of changes in the ON / OFF state of sensors 1 and 2 is performed.
In step S1206, the CPU 80a determines whether or not the detection signals input from the sensors 1 and 2 have changed. That is, it is determined whether an ON edge or an OFF edge has been detected in the detection signal of either sensor 1 or sensor 2. If there is no change in the detection signals of the sensors 1 and 2, the CPU 80a advances the process to step S1210 described later.

一方、センサ1、2の検出信号に変化があれば、CPU80aはステップS1207で変化の順番が正常であるか否か、すなわち前述した「0」「1」「2」「3」の順番に合致するか否かを判定する。具体的には、これまでのセンサ1、2のON/OFF状態変化の順番が「0」→「1」→「2」→「3」の順番に合致しているか否かを判定する。
変化の順番が正常であれば、CPU80aはステップS1209のフラグセット処理をパスしてステップS1210に処理を進める。
On the other hand, if there is a change in the detection signals of the sensors 1 and 2, the CPU 80a determines whether or not the order of change is normal in step S1207, that is, the order of "0", "1", "2", and "3" described above. It is determined whether or not to do. Specifically, it is determined whether the order of changes in the ON / OFF state of the sensors 1 and 2 so far matches the order of “0” → “1” → “2” → “3”.
If the order of change is normal, the CPU 80a passes the flag setting process in step S1209 and advances the process to step S1210.

一方、変化の順番が正常でなければ、CPU80aはステップS1208で変化の順番が「1」→「0」(「0」→「1」→「0」)、すなわち前述した例外の順番に該当するか否かを判定する。変化の順番が「1」→「0」に該当していれば、CPU80aはステップS1209のフラグセット処理をパスしてステップS1210に処理を進める。これにより、メダルの排出が誤って投入メダルエラーとして検知されてしまうことの防止が図られ、投入メダルエラー検知の適正性を担保できる。   On the other hand, if the change order is not normal, the CPU 80a corresponds to the exception order described above in step S1208, that is, the change order is “1” → “0” (“0” → “1” → “0”). It is determined whether or not. If the order of change corresponds to “1” → “0”, the CPU 80a passes the flag setting process in step S1209 and advances the process to step S1210. Thereby, it is possible to prevent the discharge of the medal from being erroneously detected as the inserted medal error, and to ensure the appropriateness of the inserted medal error detection.

また、ステップS1208において、変化の順番が「1」→「0」に該当していなければ、CPU80aはステップS1209に進み、投入エラー監視フラグFeiをセットし、ステップS1210に処理を進める。   If the order of change does not correspond to “1” → “0” in step S1208, the CPU 80a proceeds to step S1209, sets the input error monitoring flag Fei, and proceeds to step S1210.

ステップS1210〜S1218では、前述したメダル通過第1カウンタ、メダル通過第2カウンタの値に基づくメダルエラー検知のための処理が行われる。
先ず、ステップS1210でCPU80aは、セレクタセンサ67の検出信号がOFFエッジであるか否かを判定し、OFFエッジであればステップS1211でメダル通過第1カウンタの値を0クリアしてステップS1212に進み、OFFエッジでなければステップS1211をパスしてステップS1212に進む。
In steps S1210 to S1218, processing for medal error detection based on the values of the first medal passing first counter and the medal passing second counter is performed.
First, in step S1210, the CPU 80a determines whether or not the detection signal of the selector sensor 67 is an OFF edge. If it is an OFF edge, the value of the medal passing first counter is cleared to 0 in step S1211 and the process proceeds to step S1212. If it is not the OFF edge, step S1211 is passed and the process proceeds to step S1212.

ステップS1212でCPU80aは、センサ1、2を正常に通過したか否かを判定する。具体的には、先のステップS1203で監視される時間の要素、及びステップS1207で監視される順番の要素の双方の面でメダルがセンサ1、2を正常に通過したか否かを判定する。
なお、メダルがセンサ2を通過したタイミングは該センサ2の検出信号がOFFに転じたタイミングであるため、ステップS1212で「正常に通過」と判定されるのは、センサ2の検出信号がOFFに転じた(OFFエッジが検知された)タイミングで実行されたタイマ割込み処理においてのみとなる。
In step S <b> 1212, the CPU 80 a determines whether the sensors 1 and 2 have passed normally. Specifically, it is determined whether or not the medal has successfully passed the sensors 1 and 2 in terms of both the time element monitored in the previous step S1203 and the order element monitored in step S1207.
Since the timing when the medal passes through the sensor 2 is the timing when the detection signal of the sensor 2 turns OFF, it is determined in step S1212 that the “passing normally” is detected when the detection signal of the sensor 2 is OFF. Only in the timer interrupt process executed at the timing of turning (OFF edge is detected).

ステップS1212において、センサ1、2を正常に通過したと判定した場合、CPU80aはステップS1213でメダル通過第1カウンタ、メダル通過第2カウンタのそれぞれの値をインクリメント(+1)してステップS1214に進み、センサ1、2を正常に通過していないと判定した場合にはステップS1213をパスしてステップS1214に進む。   If it is determined in step S1212 that the sensors 1 and 2 have passed normally, the CPU 80a increments (+1) the respective values of the medal passing first counter and the medal passing second counter in step S1213, and proceeds to step S1214. If it is determined that the sensors 1 and 2 are not normally passing, step S1213 is passed and the process proceeds to step S1214.

ステップS1214でCPU80aは、メダル通過第1カウンタの値が5以上であるか否かを判定し、5以上でなければ(4以下であれば)ステップS1215でメダル通過第2カウンタの値が5以上であるか否かを判定する。
これらステップS1214、S1215において、メダル通過第1カウンタの値、メダル通過第2カウンタの値が5以上であれば、CPU80aはステップS1216で投入エラー監視フラグFeiをセットし、ステップS1217に処理を進める。
また、CPU80aは、ステップS1215でメダル通過第2カウンタの値が5以上でなければ、ステップS1216をパスしてステップS1217に処理を進める。
In step S1214, the CPU 80a determines whether or not the value of the medal passing first counter is 5 or more, and if not 5 or more (if 4 or less), the value of the medal passing second counter is 5 or more in step S1215. It is determined whether or not.
In these steps S1214 and S1215, if the value of the medal passing first counter and the value of the medal passing second counter are 5 or more, the CPU 80a sets the insertion error monitoring flag Fei in step S1216, and advances the process to step S1217.
If the value of the medal passing second counter is not 5 or more in step S1215, the CPU 80a passes step S1216 and advances the process to step S1217.

ステップS1217でCPU80aは、通過後センサ68cの検出信号がOFFエッジであるか否かを判定し、OFFエッジであればステップS1218でメダル通過第2カウンタの値を0クリアしてステップS1219で全レジスタの復帰処理を実行した上で遷移及び滞留チェック処理を終える。一方、通過後センサ68cの検出信号がOFFエッジでなければ、CPU80aはステップS1218をパスしてステップS1219で全レジスタの復帰処理を実行し、遷移及び滞留チェック処理を終える。   In step S1217, the CPU 80a determines whether or not the detection signal of the post-pass sensor 68c is an OFF edge. If it is an OFF edge, the value of the medal passing second counter is cleared to 0 in step S1218, and all registers are registered in step S1219. The transition and stay check process is finished after executing the return process. On the other hand, if the detection signal of the post-pass sensor 68c is not an OFF edge, the CPU 80a passes step S1218, executes all register return processing in step S1219, and ends the transition and stay check processing.

説明をメダル投入処理(図27、図28)に戻す。
ステップS1101の遷移及び滞留チェック処理を終えると、CPU80aはステップS1102で投入エラー監視フラグFeiの状態(ON/OFF状態)をチェックする。投入エラー監視フラグFeiがONであれば、CPU80aはステップS1123に進み、投入エラーフラグFerをセットする(ONとする)。そして、続くステップS1124でCPU80aは、投入メダルエラーである場合に対応して、ブロッカーソレノイド、及び「INSERT」LED(前述したLED群9におけるメダルの投入の許可/不許可を示すLED)をそれぞれOFFとするための処理(RAM80cのワークにおける対応値の更新処理)を実行し、メダル投入処理を終える。
The description returns to the medal insertion process (FIGS. 27 and 28).
When the transition and stay check process in step S1101 is completed, the CPU 80a checks the state (ON / OFF state) of the input error monitoring flag Fei in step S1102. If the input error monitoring flag Fei is ON, the CPU 80a proceeds to step S1123 and sets the input error flag Fer (set to ON). Then, in the subsequent step S1124, the CPU 80a turns off the blocker solenoid and the “INSERT” LED (LEDs indicating permission / non-permission of medal insertion in the LED group 9 described above) in response to the case of the insertion medal error. Is executed (corresponding value update processing in the work of the RAM 80c), and the medal insertion process is completed.

ここで、上記説明から理解されるように、メダル投入処理では、遷移及び滞留チェック処理(第2のメモリ領域におけるプログラム)でセットされた投入エラー監視フラグFeiに基づき、新たに投入エラーフラグFerをセットしている。
メダル投入処理における「遷移及び滞留チェック処理」を除く処理は、不正行為への対策を講じるためのプログラムには該当せず、従ってこれらの処理を実現するためのプログラムは第1のメモリ領域に格納されている。
前述のように、第1のメモリ領域におけるプログラムは、第1のメモリ領域におけるR/W領域のデータを参照及び更新することができるが、第2のメモリ領域のR/W領域に記憶されたデータについては参照のみが可能で更新は不許可とされている。すなわち、メダル投入処理(遷移及び滞留チェック処理は除く)では、第2のメモリ領域のR/W領域に記憶された投入エラー監視フラグFeiの参照のみは可能であるが、更新することまでは許可されない。
そこで、本例では、第2のメモリ領域のR/W領域に記憶された投入エラー監視フラグFeiをステップS1102で参照した結果に基づき、ステップS1123で投入エラーフラグFerを第1のメモリ領域のR/W領域においてセットするようにしている。すなわち、第1のメモリ領域のプログラムが自ら更新可能なフラグとして改めてセットしているものである。
Here, as understood from the above description, in the medal insertion process, a new insertion error flag Fer is set based on the insertion error monitoring flag Fei set in the transition and stay check process (program in the second memory area). It is set.
The processes other than the “transition and stay check process” in the medal insertion process do not correspond to programs for taking measures against fraud, and therefore the program for realizing these processes is stored in the first memory area. Has been.
As described above, the program in the first memory area can refer to and update the data in the R / W area in the first memory area, but is stored in the R / W area in the second memory area. The data can only be referenced and is not allowed to be updated. That is, in the medal insertion process (excluding transition and stay check process), it is only possible to refer to the insertion error monitoring flag Fei stored in the R / W area of the second memory area, but it is allowed to update it. Not.
Therefore, in this example, based on the result of referring to the input error monitoring flag Fei stored in the R / W area of the second memory area in step S1102, the input error flag Fer is set to R of the first memory area in step S1123. It is set in the / W area. That is, the program in the first memory area is set as a flag that can be updated by itself.

投入エラーフラグFerは、例えば先の図25におけるステップS901や図26におけるステップS1001等、第1のメモリ領域のプログラムによりエラー中であるか否かの判定において参照され、また図26のエラー解除判定処理においてはエラーの解除に応じてステップS1004でクリア(OFF)される。このことからも理解されるように、不正検知に係るエラーフラグについては、第1のメモリ領域のプログラムが更新可能であることが要請されるものであり、上記のステップS1102、S1123の処理は、そのような第1のメモリ領域のプログラムが更新可能なフラグを実現しているものである。   The input error flag Fer is referred to in determining whether or not an error has occurred in the program in the first memory area, for example, step S901 in FIG. 25 or step S1001 in FIG. 26, and the error release determination in FIG. In the processing, it is cleared (OFF) in step S1004 according to the cancellation of the error. As understood from this, the error flag related to fraud detection requires that the program in the first memory area be updatable, and the processes in steps S1102 and S1123 are as follows. Such a first memory area program implements an updatable flag.

ここで、第1のメモリ領域の記憶容量は有限であるため、近年におけるスロットマシンの処理内容の充実化に対応するためには、全てのプログラムを第1のメモリ領域に格納することが困難となる場合があり、所定種類のプログラム、特に不正対策処理のプログラムを領域外に置くということが要請される。
本例のスロットマシンは、このように不正対策処理のプログラムを領域外に置いたことで必要とされる領域外フラグと領域内フラグとの連携を実現していることで、不正対策処理のプログラムを領域外に置くことへの対応を図っている。換言すれば、このようなフラグ連携の実現により、不正対策処理のプログラムを第1のメモリ領域に置く必要性を無くしているものであり、領域内に格納可能なプログラム容量の拡大化を図って、領域内プログラムによる処理内容の充実化を図ることができる。
Here, since the storage capacity of the first memory area is finite, it is difficult to store all the programs in the first memory area in order to cope with the enhancement of processing contents of the slot machine in recent years. Therefore, it is required that a predetermined type of program, particularly an anti-fraud processing program, be placed outside the area.
The slot machine in this example realizes the cooperation between the out-of-area flag and the in-area flag required by placing the anti-countermeasure processing program out of the area in this way, so that the anti-countermeasure processing program We are trying to cope with putting out of the area. In other words, the implementation of such flag cooperation eliminates the need to place the anti-fraud processing program in the first memory area, so as to increase the program capacity that can be stored in the area. Therefore, it is possible to enhance the processing contents by the program in the area.

ところで、上記もしているように領域内用のエラーフラグ(投入エラーフラグFer)は、領域内プログラムによってセットされた(S1123)後は、同じく領域内プログラムによるエラー解除処理においてエラー解除の検知に応じてクリアされる(S1004)が、領域外用のエラー監視フラグ(投入エラー監視フラグFei)については、エラー解除の検知に応じてこれをクリアする処理は存在しない。
このため、領域外プログラムによる遷移及び滞留チェック処理(図31)では、処理の開始にあたってエラー監視フラグを毎回クリアするようにしている(S1202)。これにより、エラー検知の適正性を確保することができる。
By the way, as described above, after the in-area error flag (injection error flag Fer) is set by the in-area program (S1123), the error in the error program by the in-area program is detected according to the detection of error cancellation. However, there is no processing for clearing the out-of-area error monitoring flag (the input error monitoring flag Fei) in response to detection of error cancellation.
For this reason, in the transition and stay check process (FIG. 31) by the out-of-area program, the error monitoring flag is cleared every time the process is started (S1202). Thereby, the appropriateness of error detection can be ensured.

なお、上記では不正対策に係るエラーフラグの例として投入エラーに係るエラーフラグを例示したが、他のエラーフラグ、例えば主基板エラー、RWMエラー、投入メダルエラー、払出メダル無しエラー、払出センサエラー、不当入賞エラー、オーバーフローエラー、ドア開放エラーに係るエラーフラグに関しても、同様に第2のメモリ領域のプログラムがエラー検知に応じて第2のメモリ領域のR/W領域にエラー監視フラグをセットし、第1のメモリ領域のプログラムが該エラー監視フラグを参照した結果に基づき対応するエラーフラグを第1のメモリ領域のR/W領域にセットすることもできる。   In the above, the error flag related to the insertion error is illustrated as an example of the error flag related to fraud countermeasures. However, other error flags such as a main board error, an RWM error, an insertion medal error, no payout medal error, a payout sensor error, Regarding error flags related to unfair prize error, overflow error, and door opening error, similarly, the second memory area program sets an error monitoring flag in the R / W area of the second memory area in response to error detection, A corresponding error flag can be set in the R / W area of the first memory area based on the result of the program in the first memory area referring to the error monitoring flag.

再び説明を図27に戻す。
CPU80aは、ステップS1102で投入エラー監視フラグFeiがOFFであった場合には、ステップS1103以降の処理により、正常なメダル投入に応じた投入枚数(賭数)やクレジットの値の更新、マックスベットボタン16の操作に応じた投入枚数(賭数)やクレジットの値の更新等を行う。
The description returns to FIG. 27 again.
If the insertion error monitoring flag Fei is OFF in step S1102, the CPU 80a updates the number of inserted coins (the number of bets) and credits according to the normal insertion of medals, the maximum bet button, and the processing in step S1103 and subsequent steps. The number of inserted cards (the number of bets) and the credit value are updated in accordance with the operation of 16.

この際、マックスベットボタン16の操作に応じた投入処理(マックスベット処理)では、ベットカウンタとベットタイマとが用いられる。
図32は、これらベットカウンタとベットタイマとを用いて行われる本例のマックスベット処理の概要を示したタイミングチャートである。
本例のマックスベット処理では、マックスベットボタン16がONされたことに応じて、ベットタイマに所定値(本例では50ms相当のタイマ割込み数)がセットされ、ベットタイマの値が消費されて「0」になると、賭数を設定するための投入処理(+1)が実行される。ベットカウンタは、このようにベットタイマ=0となって投入処理を実行する回数を規定するためのカウンタとされている。本例では、マックスベットボタン16がONされると、クレジットの値が許容する範囲内において、ベットカウンタの値がセットされる。具体的には、クレジットの値が「3」以上であれば「3」がセットされ、クレジットの値が「2」以下である場合にはクレジットの値と同値がセットされる。
なお、マックスベットボタン16は投入枚数が「1」以上の状況においてもONされ得るものであり、その場合には、クレジットの値が許容する回数分の投入処理を行うべきでない(賭数の上限=「3」であるため)。本例のメダル投入処理(S813)では、上記のようにベットカウンタの値をクレジットの値のみに基づきセットしても、マックスベット処理による投入枚数が賭数の上限値を超えないように工夫しているが、これについては後述する。
At this time, a bet counter and a bet timer are used in the insertion process (max bet process) according to the operation of the max bet button 16.
FIG. 32 is a timing chart showing an outline of the maximum bet process of this example performed using the bet counter and the bet timer.
In the max bet processing of this example, in response to the max bet button 16 being turned on, a predetermined value (in this example, the number of timer interrupts corresponding to 50 ms) is set to the bet timer, and the value of the bet timer is consumed. When it becomes “0”, the insertion process (+1) for setting the number of bets is executed. In this way, the bet counter is a counter for defining the number of times that the betting timer = 0 and the insertion process is executed. In this example, when the max bet button 16 is turned on, the value of the bet counter is set within the range allowed by the credit value. Specifically, if the credit value is “3” or more, “3” is set, and if the credit value is “2” or less, the same value as the credit value is set.
Note that the maximum bet button 16 can be turned on even when the number of inserted coins is “1” or more. In this case, the number of times that the credit value allows should not be inserted (the upper limit of the betting amount). = “3”). In the medal insertion process (S813) of this example, even if the value of the bet counter is set based only on the credit value as described above, it is devised that the inserted number by the maximum bet process does not exceed the upper limit value of the bet number. This will be described later.

上記説明を踏まえ、図27におけるステップS1103以降の処理を説明する。
CPU80aはステップS1103で、メダル投入中であるか否か、具体的にはメダルがセンサ1又はセンサ2の何れかを通過中であるか否かを判定する。
メダル投入中であれば、CPU80aは後述するステップS1111に処理を進める。
Based on the above description, the processing after step S1103 in FIG. 27 will be described.
In step S1103, the CPU 80a determines whether or not a medal is being inserted, specifically, whether or not a medal is passing either the sensor 1 or the sensor 2.
If a medal is being inserted, the CPU 80a advances the process to step S1111 described later.

一方、メダル投入中でなければ、CPU80aはステップS1104に進み、ベットカウンタの値が「0」か否かを判定する。なお、ベットカウンタの値は、後述するステップS1128でマックスベットボタン16のONエッジが検出されたことに応じて、ステップS1129でセットされるものであり、該ステップS1104でベットカウンタの値が「0」でないということは、マックスベット処理中であることを意味する。   On the other hand, if the medal is not being inserted, the CPU 80a proceeds to step S1104 to determine whether or not the value of the bet counter is “0”. The value of the bet counter is set in step S1129 in response to the detection of the ON edge of the max bet button 16 in step S1128 described later. In step S1104, the value of the bet counter is “0”. "Not" means that the max betting process is in progress.

ステップS1104において、ベットカウンタの値が「0」であれば(つまりマックスベット処理中でなければ)、CPU80aはステップS1111に処理を進める。
一方、ベットカウンタの値が「0」でなければ(マックスベット処理中であれば)、CPU80aはステップS1105でベットタイマの値をデクリメント(−1)し、ステップS1106でベットタイマの値が「0」であるか否かを判定する。これは、ベットタイマ=「0」に応じて投入処理(+1)を実行すべきか否かを判定していることに相当する。
If the value of the bet counter is “0” in step S1104 (that is, if the maximum bet process is not in progress), the CPU 80a advances the process to step S1111.
On the other hand, if the value of the bet counter is not “0” (when the maximum bet process is in progress), the CPU 80a decrements (−1) the value of the bet timer in step S1105, and the value of the bet timer becomes “0” in step S1106. Is determined. This corresponds to determining whether or not the insertion process (+1) should be executed according to the bet timer = “0”.

ベットタイマの値が「0」であれば、CPU80aはステップS1107に処理を進めて、投入処理に係る処理を実行する。
具体的に、CPU80aは、先ずステップS1107でベットカウンタの値をデクリメントする(つまり投入回数を1消費する)。
If the value of the bet timer is “0”, the CPU 80a advances the process to step S1107 and executes the process related to the insertion process.
Specifically, the CPU 80a first decrements the value of the bet counter in step S1107 (that is, consumes the number of insertions by 1).

そして、続くステップS1108でCPU80aは、投入枚数が「3」であるか否かを判定する。これは、マックスベットによる投入処理が不要であるか否かを判定していることに相当する。具体的には、メダル投入口12を介したメダル投入の影響でマックスベットによる投入処理回数が「3」未満の状態で投入枚数=「3」に達したため、マックスベットによる投入処理が不要となったケースであるか否かを判定するものである。
該ステップS1108の判定処理が設けられていることで、上述のようにベットカウンタの値としてクレジットの値のみに基づいた値(投入枚数は考慮しない値)を設定することが許容される。
In step S1108, the CPU 80a determines whether or not the number of inserted sheets is “3”. This corresponds to determining whether or not the insertion process using the maximum bet is unnecessary. Specifically, due to the influence of the medal insertion through the medal insertion slot 12, the insertion number = “3” in the state where the number of insertion processing by the maximum bet is less than “3”, the insertion processing by the maximum bet becomes unnecessary. It is determined whether or not this is the case.
By providing the determination process in step S1108, as described above, it is allowed to set a value based on only the credit value (a value not considering the inserted number) as the value of the bet counter.

投入枚数が「3」であれば、CPU80aは後述するステップS1111に処理を進める。すなわち、マックスベットによる投入処理(以下で説明するステップS1110)は実行されない。
一方、投入枚数が「3」でなければ、CPU80aはステップS1109でベットタイマをセットし、続くステップS1110でクレジットの値のデクリメント(−1)、投入枚数のインクリメント、及び投入音コマンドのセットを行い、ステップS1111に処理を進める。なお、投入音コマンドは、演出制御基板42側にメダルの投入時に出力すべき効果音の出力指示を行うためのコマンドである。
If the number of inserted sheets is “3”, the CPU 80a advances the process to step S1111 described later. That is, the maximum betting process (step S1110 described below) is not executed.
On the other hand, if the inserted number is not “3”, the CPU 80a sets a bet timer in step S1109, and in step S1110, decrements the credit value (−1), increments the inserted number, and sets the input sound command. Then, the process proceeds to step S1111. The insertion sound command is a command for instructing the production control board 42 to output a sound effect to be output when a medal is inserted.

ステップS1111〜S1118の処理は、各種の条件判定を行った結果に基づきブロッカーソレノイド69とLED群9における「INSERT」LEDのON/OFFを制御するための処理である。
先ず、CPU80aはステップS1111で、エラー中か否か(各種エラーの少なくとも1つが生じているか否か)を判定し、エラー中であれば、ステップS1118でブロッカーソレノイド69及び「INSERT」LEDをOFFとするための処理(RAM82cのワークにおける対応値を更新する処理)を実行する。すなわち、エラーの発生に応じては、メダル投入口12から投入されたメダルがメダル排出口20から排出される状態となると共に、「INSERT」LEDのOFFにより遊技者にメダル投入が不許可の状態であることが報知される(メダル投入が不許可の状態)。
The processing in steps S1111 to S1118 is processing for controlling ON / OFF of the “INSERT” LED in the blocker solenoid 69 and the LED group 9 based on the results of various condition determinations.
First, in step S1111, the CPU 80a determines whether or not an error is occurring (whether at least one of various errors has occurred). For executing the processing (processing for updating the corresponding value in the work of the RAM 82c). That is, when an error occurs, the medal inserted from the medal slot 12 is discharged from the medal outlet 20, and the player is not permitted to insert a medal by turning off the “INSERT” LED. (The medal insertion is not permitted).

一方、エラー中でなければ、CPU80aはステップS1112で投入可能フラグFaiを確認(ON/OFFの確認)する。投入可能フラグFaiは、メイン処理側でメダルの受付を開始すべきタイミングでONされ、スタートレバー17の操作に基づきOFFされるフラグである(図19を参照)。
投入可能フラグFaiがOFFであれば、CPU80aは上記したステップS1118の処理を実行する。すなわち、投入可能フラグFaiがOFFであればメダル投入が不許可の状態となる。
On the other hand, if not in error, the CPU 80a confirms the input possible flag Fai (confirms ON / OFF) in step S1112. The insertable flag Fai is a flag that is turned on at the timing at which the main processing side should start accepting medals, and is turned off based on the operation of the start lever 17 (see FIG. 19).
If the input possible flag Fai is OFF, the CPU 80a executes the process of step S1118 described above. That is, if the insertion possible flag Fai is OFF, the medal insertion is not permitted.

また、CPU80aは、投入可能フラグFaiがONであればステップS1113でメダルが払出中であるか否かを判定する。払出中であるか否かは、例えば後述する払出要求、又は精算要求の何れかがONであるか否かにより判定できる。
メダルが払出中であれば、CPU80aは上記したステップS1118の処理を実行してメダル投入が不許可の状態とし、払出中でなければステップS1114に処理を進める。
On the other hand, if the insertion possible flag Fai is ON, the CPU 80a determines in step S1113 whether or not a medal is being paid out. Whether or not the payout is in progress can be determined, for example, based on whether or not a payout request or a payment request described later is ON.
If the medal is paying out, the CPU 80a executes the process of step S1118 described above to set the medal insertion not permitted, and if not paying out, the process proceeds to step S1114.

ステップS1114でCPU80aは、ベット3枚(投入枚数=「3」)且つクレジット50枚の状態であるか否かを判定する。ベット3枚且つクレジット50枚の状態であれば、CPU80aは上記したステップS1118の処理を実行してメダル投入が不許可の状態とし、払出中でなければステップS1115に処理を進める。   In step S1114, the CPU 80a determines whether or not there are three bets (inserted number = “3”) and 50 credits. If the bet is 3 and the credit is 50, the CPU 80a executes the process of step S1118 described above to prohibit the medal insertion, and if not paying out, the process proceeds to step S1115.

ステップS1115でCPU80aは、通過中のメダルを加味してベット3枚且つクレジット50枚の状態となるか否かを判定する。具体的には、現在がベット2枚且つクレジット50枚の状態であって、先のステップS1103でメダル投入中(センサ1又はセンサ2の何れかを通過中)と判定されか否かを判定する。これは、メダルがあと1枚取り込まれるとメダルの受付が禁止される受付禁止前状態において、センサ1、センサ2の何れかがメダルを検出中であるか否かを判定していることに相当する。   In step S <b> 1115, the CPU 80 a determines whether the bet is 3 and the credit is 50 with the passing medals taken into consideration. Specifically, it is determined whether or not it is currently determined that there are 2 bets and 50 credits and that a medal is being inserted (passing either sensor 1 or sensor 2) in the previous step S1103. . This is equivalent to determining whether either sensor 1 or sensor 2 is detecting a medal in a state before accepting a medal when one more medal is taken in. To do.

ステップS1115において、通過中のメダルを加味してベット3枚且つクレジット50枚の状態とならない場合には、CPU80aはステップS1116に進み、ブロッカーソレノイド69及び「INSERT」LEDをONとするための処理を実行する。すなわち、この場合はメダル投入が許可の状態となる。   If it is determined in step S1115 that the number of bets is 3 and the credit is not 50 in consideration of the passing medals, the CPU 80a proceeds to step S1116 and performs processing for turning on the blocker solenoid 69 and the “INSERT” LED. Run. That is, in this case, medal insertion is permitted.

一方、通過中のメダルを加味してベット3枚且つクレジット50枚の状態となる場合には、CPU80aはステップS1117に進み、ブロッカーソレノイド69をOFF、「INSERT」LEDをONとするための処理を実行する。すなわち、メダルの受付禁止前状態においてセンサ1、センサ2の何れかがメダルを検出中である場合には、メダル投入口12から投入されたメダルがメダル排出口20から排出される状態となる一方で、遊技者に対する「INSERT」LEDによる報知としては、メダル投入が許可である旨の報知が行われる。   On the other hand, in the case of 3 bets and 50 credits in consideration of the passing medals, the CPU 80a proceeds to step S1117 and performs processing for turning off the blocker solenoid 69 and turning on the “INSERT” LED. Run. That is, when either sensor 1 or sensor 2 is detecting a medal in the state before the medal acceptance prohibition, the medal inserted from the medal insertion port 12 is discharged from the medal discharge port 20. Thus, as the notification by the “INSERT” LED to the player, notification that the medal insertion is permitted is performed.

ここで、本例のスロットマシンでは、ブロッカーソレノイド69のOFFとマックスベットボタン16の受付の無効化とが連動するように処理が組まれている。具体的には、タイマ割込み処理における貯留メダルの精算処理(S814、図35を参照)において、ブロッカーソレノイド69がOFFであるとマックスベットLEDをOFFとするための処理が実行される(S1303→S1307)。そして、マックスベットLEDのOFFに応じては、後述するステップS1125の処理(図28)により、マックスベットボタン16の受付が無効化されるようになっている。具体的には、ステップS1128によるマックスベットボタン16のONエッジ検知確認のための処理がパスされるためマックスベットボタン16の操作受付が無効化される。
この結果、本例のスロットマシンにおいては、メダルの受付禁止前状態においてセンサ1、センサ2の何れかがメダルを検出中である場合には、ブロッカーソレノイド69のOFFに連動して、マックスベットボタン16の操作受付が無効化される。
Here, in the slot machine of this example, processing is set up so that the blocker solenoid 69 is turned off and the reception of the max bet button 16 is disabled. More specifically, in the stored medal settlement process in the timer interrupt process (S814, see FIG. 35), if the blocker solenoid 69 is OFF, a process for turning off the max bet LED is executed (S1303 → S1307). ). Then, when the max bet LED is turned off, the acceptance of the max bet button 16 is invalidated by a process in step S1125 (FIG. 28) described later. Specifically, since the processing for confirming the ON edge detection of the max bet button 16 in step S1128 is passed, the operation acceptance of the max bet button 16 is invalidated.
As a result, in the slot machine of this example, when either sensor 1 or sensor 2 is detecting a medal in the state before the medal acceptance prohibition, the max bet button is interlocked with the blocker solenoid 69 being turned off. 16 operation acceptance is invalidated.

また、一方で、上記したステップS1103、S1115〜S1117の処理によると、メダルの受付禁止前状態以外の状態(ベット2枚且つクレジット50枚の状態以外の状態)にあっては、センサ1、センサ2の何れかがメダルを検出中であるか否かに関わらずブロッカーソレノイド69がOFFとされず、マックスベットボタン16の操作受付が無効化されない(但し、エラー中(S1111)、投入可能フラグFai=OFF(S1112)、払出中(S1113)、メダル受付禁止状態(S1114)は除く)。換言すれば、メダルの受付禁止前状態以外の状態においては、センサ1、センサ2の何れかがメダルを検出中であっても、マックスベットボタン16の操作受付が無効化されないものである。   On the other hand, according to the processing of steps S1103 and S1115 to S1117 described above, in a state other than the state before the medal acceptance prohibition (state other than the state of two bets and 50 credits), sensor 1 and sensor The blocker solenoid 69 is not turned off regardless of whether or not any of the two medals is being detected, and the acceptance of the operation of the max bet button 16 is not invalidated (however, in error (S1111), the insertion possible flag Fai = OFF (S1112), paying out (S1113), and medal reception prohibited state (S1114) are excluded). In other words, in a state other than the state before the medal acceptance prohibition, even if either the sensor 1 or the sensor 2 is detecting a medal, the operation acceptance of the max bet button 16 is not invalidated.

上記のように本例のスロットマシンにおいては、メダルがあと1枚取り込まれるとメダルの受付が禁止される受付禁止前状態において、センサ1、センサ2の何れかがメダルを検出中である場合にはマックスベットボタン16の操作受付を無効とする一方で、受付禁止前状態以外の状態においては、センサ1、センサ2の何れかがメダルを検出中であっても、マックスベットボタン16の操作受付を無効としないように処理を行っている。
メダルの受付禁止前状態においてセンサ1、センサ2の何れかがメダルを検出中である場合にマックスベットボタン16の操作受付を有効としてしまうと、いわゆるメダルの飲み込み(メダルが検出もされず返却もされずに取り込まれてしまうこと)を誘発する虞がある。
本例のスロットマシンでは、上記のような処理によってメダルの飲み込み防止を図っている。
As described above, in the slot machine of this example, when one of the sensors 1 or 2 is detecting a medal in a state before accepting a medal when one more medal is taken in, the medal is not accepted. Invalidates the acceptance of the operation of the max bet button 16, while in the state other than the state before the acceptance prohibition, the acceptance of the operation of the max bet button 16 even if either the sensor 1 or the sensor 2 is detecting a medal. Processing is performed so as not to invalidate.
If either the sensor 1 or the sensor 2 is detecting a medal in the state before the medal acceptance prohibition, and the operation acceptance of the max bet button 16 is validated, so-called medal swallowing (the medal is not detected and returned) May be taken in without being).
In the slot machine of this example, swallowing of medals is prevented by the above-described processing.

図27において、CPU80aは、上記したステップS1116、S1117又はS1118の処理を実行したことに応じて、図28に示すステップS1119に処理を進める。   In FIG. 27, the CPU 80a advances the process to step S1119 shown in FIG. 28 in response to the execution of the process of step S1116, S1117, or S1118 described above.

図28に示すステップS1119〜S1129の処理は、主にメダルの正常な通過に応じて投入枚数又はクレジットの値をインクリメントし、またマックスベットボタン16の操作に応じて前述したベットカウンタやベットタイマの値をセットするための処理となる。   The processing of steps S1119 to S1129 shown in FIG. 28 is mainly performed by incrementing the number of inserted coins or credits according to the normal passing of medals, and by the betting counter or betting timer described above according to the operation of the max betting button 16. This is a process for setting a value.

先ず、ステップS1119でCPU80aは、センサ1、センサ2を正常に通過したか否かを判定する。該ステップS1119の処理は、前述したステップS1212(図31)と同様の処理であり、「正常に通過」と判定されるのは、センサ2の検出信号がOFFに転じたことが検知されたタイミングで実行されたタイマ割込み処理においてのみとなる。換言すれば、該ステップS1119で「正常に通過」していないと判定される場合には、メダルがセンサ1、センサ2の何れかを通過中である場合も含まれるものである。   First, in step S1119, the CPU 80a determines whether the sensor 1 and the sensor 2 have passed normally. The processing in step S1119 is the same as that in step S1212 (FIG. 31) described above, and “normally passing” is determined when the detection signal from the sensor 2 is turned OFF. This is only in the timer interrupt processing executed in step 1. In other words, in the case where it is determined in step S1119 that it has not passed “normally”, the case where a medal is passing either sensor 1 or sensor 2 is also included.

ステップS1119において、センサ1、2を正常に通過したと判定した場合、CPU80aはステップS1120に進み、「INSERT」LEDのON/OFFを確認し、「INSERT」LEDがOFFであれば先に説明したステップS1123(図27)に処理を進める。すなわち、先のステップS1119でセンサ1、センサ2を正常に通過したと判定されたにも関わらず投入許可中ではないと判定された場合に対応して、投入エラーフラグFerがセットされた上で(S1123)、メダル投入が不許可の状態とされる(S1124)。   If it is determined in step S1119 that the sensors 1 and 2 have passed normally, the CPU 80a proceeds to step S1120 to check ON / OFF of the “INSERT” LED. If the “INSERT” LED is OFF, the CPU 80a described above. The process proceeds to step S1123 (FIG. 27). That is, after the throwing error flag Fer is set corresponding to the case where it is judged in the previous step S1119 that the passing through the sensor 1 and the sensor 2 has been normally passed but it is judged that the throwing is not permitted. (S1123), the medal insertion is not permitted (S1124).

一方、「INSERT」LEDがONであれば、CPU80aはステップS1121で投入枚数又はクレジットの値をインクリメントし、投入音コマンドをセットする処理を実行する。ステップS1121において、投入枚数の値のインクリメントは、投入枚数の値が「2」以下である場合に行い、クレジットの値のインクリメントは投入枚数の値が「3」である場合に行う。   On the other hand, if the “INSERT” LED is ON, the CPU 80a executes a process of incrementing the inserted number or credit value and setting an input sound command in step S1121. In step S1121, the value of the inserted number is incremented when the value of the number of inserted sheets is “2” or less, and the increment of the credit value is performed when the value of the number of inserted sheets is “3”.

続くステップS1122でCPU80aは、表示LEDデータの更新処理を実行する。すなわち、ステップS1121で投入枚数又はクレジットの値をインクリメントしたことに応じて、RAM82cのワークにおける対応する表示LEDデータ、すなわち投入枚数のインクリメントであれば前述したコモン4(投入枚数表示1〜3:図25のLED表示データの作成処理を参照)として設定されるべきデータを更新し、クレジットのインクリメントであればコモン2、3として設定されるべきデータを更新する。
ステップS1122の更新処理を実行すると、CPU80aはメダル投入処理(S813)を終える。
In subsequent step S1122, the CPU 80a executes update processing of the display LED data. That is, in response to the increment of the inserted number or the credit value in step S1121, the corresponding display LED data in the work of the RAM 82c, that is, if the inserted number is incremented, the above-described common 4 (inserted number display 1-3: FIG. The data to be set as the LED display data is updated). If the credit is incremented, the data to be set as the commons 2 and 3 is updated.
When the update process of step S1122 is executed, the CPU 80a ends the medal insertion process (S813).

また、CPU80aは、先のステップS1119でセンサ1、2を正常に通過していないと判定した場合には、ステップS1125に処理を進める。
ステップS1125でCPU80aは、マックスベットLEDのON/OFFを確認し、マックスベットLEDがOFFであれば、メダル投入処理を終える。つまり、前述したようにマックスベットLEDのOFFに連動してマックスベットボタン16のONエッジ検知確認のための処理(S1128)が実行されないこととなり、マックスベットボタン16の操作受付が無効化されるものである。
On the other hand, if the CPU 80a determines that the sensors 1 and 2 have not normally passed in step S1119, the CPU 80a advances the process to step S1125.
In step S <b> 1125, the CPU 80 a confirms whether the max bet LED is on or off. If the max bet LED is off, the medal insertion process ends. That is, as described above, the processing for confirming the ON edge detection of the max bet button 16 (S1128) is not executed in conjunction with the max bet LED being turned off, and the operation acceptance of the max bet button 16 is invalidated. It is.

一方、マックスベットLEDがONであれば、CPU80aはステップS1126に進み、投入枚数の値が「3」であるか否かを判定する。投入枚数の値が「3」であれば、CPU80aはメダル投入処理を終える。投入枚数の値が「3」であれば、マックスベット処理は不要なためである。   On the other hand, if the max bet LED is ON, the CPU 80a proceeds to step S1126, and determines whether or not the value of the inserted number is “3”. If the value of the inserted number is “3”, the CPU 80a finishes the medal insertion process. This is because the maximum bet processing is unnecessary if the value of the number of inserted sheets is “3”.

また、投入枚数の値が「3」でなければ、CPU80aはステップS1127に進み、ベットカウンタが「0」であるか否かを判定し、ベットカウンタが「0」でなければメダル投入処理を終える。ベットカウンタが「0」でないということはマックスベット処理中であることを意味するので、その場合にはマックスベットボタン16のONエッジ検知確認(S1128)やベットカウンタ及びベットタイマをセット(S1129)する処理は不要であるため、これらの処理をパスしてメダル投入処理を終えるものである。   If the value of the inserted number is not “3”, the CPU 80a proceeds to step S1127, determines whether or not the bet counter is “0”, and ends the medal insertion process if the bet counter is not “0”. . If the bet counter is not “0”, it means that the max bet process is being performed. In this case, the ON edge detection confirmation of the max bet button 16 (S1128) and the bet counter and bet timer are set (S1129). Since the processing is unnecessary, these processing is passed and the medal insertion processing is finished.

ベットカウンタが「0」であれば、CPU80aはマックスベットボタン16のONエッジ(前述した貯留メダル投入スイッチ基板64における投入スイッチによる検出信号のONエッジ)が検出されているか否かを判定する。マックスベットボタン16のONエッジが検出されていなければ、CPU80aはメダル投入処理を終える。   If the bet counter is “0”, the CPU 80a determines whether or not the ON edge of the max bet button 16 (ON edge of the detection signal by the insertion switch in the stored medal insertion switch board 64 described above) is detected. If the ON edge of the maximum bet button 16 is not detected, the CPU 80a finishes the medal insertion process.

一方、マックスベットボタン16のONエッジが検出されていれば、CPU80aはステップS1129に進み、クレジットからの投入が可能ならベットカウンタ及びベットタイマをセットする処理を実行する。具体的には、クレジットの値が「2」以下である場合にはベットカウンタにクレジットの値と同値をセットすると共にベットタイマをセットし、クレジットの値が「3」以上である場合にはベットカウンタに「3」をセットすると共にベットタイマをセットする。
CPU80aは、ステップS1129の処理を実行したことに応じ、メダル投入処理を終える。
On the other hand, if the ON edge of the max bet button 16 is detected, the CPU 80a proceeds to step S1129, and executes a process of setting a bet counter and a bet timer if the credit can be inserted. Specifically, when the credit value is “2” or less, the bet counter is set to the same value as the credit value and the bet timer is set. When the credit value is “3” or more, the bet is set. Set “3” to the counter and set the bet timer.
The CPU 80a finishes the medal insertion process in response to executing the process of step S1129.

なお、上記のようにマックスベットボタン16のON操作に応じてベットカウンタ及びベットタイマがセットされると、以降で実行されるタイマ割込み処理におけるメダル投入処理では、先のステップS1104(図27)でベットカウンタが「0」でないと判定されてステップS1105でベットタイマが消費される。そして、ベットタイマが「0」となったことに応じて(S1106)、先に説明したステップS1107以降の処理が実行されて、クレジットからの投入(S1110:クレジットを−1、投入枚数を+1)が実現される。   When the bet counter and the bet timer are set in response to the ON operation of the max bet button 16 as described above, in the medal insertion process in the timer interrupt process to be executed later, in the previous step S1104 (FIG. 27). It is determined that the bet counter is not “0”, and the bet timer is consumed in step S1105. Then, in response to the bet timer becoming “0” (S1106), the processing from step S1107 described above is executed, and insertion from credit (S1110: credit is −1, and the number of inserted coins is +1). Is realized.

ここで、図27及び図28に示したメダル投入処理によると、本例のスロットマシンでは、マックスベット処理中においても、メダル投入口12を介したメダルの投入が許可される。これは、ステップS1104でベットカウンタが「0」でないと判定された場合にもステップS1121による投入枚数又はクレジットのインクリメントが行われ得ることからも明らかである。   Here, according to the medal insertion process shown in FIGS. 27 and 28, in the slot machine of this example, the insertion of medals through the medal insertion slot 12 is permitted even during the max bet process. This is also clear from the fact that the inserted number or credit can be incremented in step S1121 even if it is determined in step S1104 that the bet counter is not “0”.

本例のメダル投入処理では、このようにマックスベット処理中においてメダルの投入が行われた場合には、センサ1、センサ2の何れかがメダルを検出中の間はマックスベット処理が中断され、メダルが正常に投入されたと判定されてからマックスベット処理が再開される。さらに、マックスベット処理の中断の間に投入枚数が「3」(所定数)に至った場合は、マックスベット処理が終了するようになっている。   In the medal insertion process of this example, when a medal is inserted during the max bet process, the max bet process is interrupted while either sensor 1 or sensor 2 is detecting a medal. The max bet process is resumed after it is determined that it has been inserted normally. Further, when the number of inserted sheets reaches “3” (predetermined number) during the interruption of the maximum bet process, the maximum bet process is terminated.

図33は、マックスベット処理中にメダル投入した場合の動作についての説明図である。
図33では、投入枚数=「0」時にベットカウンタ=「3」と設定されたマックスベット処理中において、1枚分のベットが行われた(ベットカウンタの値が「1」消費された)直後にメダル投入が検知(センサ1、センサ2の何れかがメダル検知)された場合の動作を例示している。
FIG. 33 is an explanatory diagram of the operation when a medal is inserted during the max bet process.
In FIG. 33, immediately after a bet for one sheet is made (the value of the bet counter is “1” is consumed) during the max bet process in which the bet counter is set to “3” when the inserted number = “0”. Fig. 6 illustrates an operation when the insertion of a medal is detected (either sensor 1 or sensor 2 detects a medal).

メダル投入口12を介して投入されたメダルがセンサ1、センサ2の何れかで検出されている間は、図27に示すステップS1103でメダル投入中と判定されるため、ステップS1105〜S1110の処理が実行されず、ベットタイマの値やベットカウンタの値が消費されない。すなわち、マックスベット処理が中断される。図33の例では、1枚分のベット直後におけるメダル通過中の期間に、ベットタイマの減算が中断される様子が示されている。   While the medal inserted through the medal insertion slot 12 is detected by either the sensor 1 or the sensor 2, it is determined that the medal is being inserted in step S1103 shown in FIG. 27, so the processing in steps S1105 to S1110 is performed. Is not executed, and the value of the bet timer and the value of the bet counter are not consumed. That is, the max bet process is interrupted. In the example of FIG. 33, the bet timer subtraction is interrupted during a period in which medals pass immediately after one bet.

メダルがセンサ1、2を通過し終えると、ベットタイマの減算が再開し(S1105)、ベットタイマ=「0」となると(S1106)、ベットカウンタの値が減算(S1107)され、投入枚数が「3」に至っていなければ(S1108)ベットタイマがセット(S1109)された上でクレジットからの投入(S1110)が行われる。   When the medal has passed the sensors 1 and 2, the bet timer subtraction is resumed (S1105). When the bet timer = “0” (S1106), the value of the bet counter is subtracted (S1107). If it has not reached "3" (S1108), the bet timer is set (S1109), and the credit is inserted (S1110).

このとき、ベットタイマの減算の再開によりマックスベット処理が再開された以降においては、ベットカウンタの値が「0」に至っていないにも関わらず投入枚数が「3」に至ってしまうことがある。具体的に、図33の例では、マックスベット処理による1枚目の投入と2枚目の投入の間にメダル投入口12経由のメダル投入が行われたことで、上記2枚目の投入が行われた時点では、ベットカウンタの値が「0」に至っていないにも関わらず投入枚数が「3」に至ってしまう。
このようなケースにおいて、図27及び図28に示したメダル投入処理では、上記2枚目の投入の開始タイミング、すなわちベットカウンタ=「2」の状態でベットタイマ=「0」に至ったタイミングにおいて、ステップS1106からS1107に遷移してベットカウンタ=「1」に減じられた上で、S1108で投入枚数=「3」でないと判定され(この時点では投入枚数=「2」)、S1109でベットタイマがセットされた上で、ステップS1110でクレジットからの投入が行われる(投入枚数が「3」に至る)。
次のタイマ割込み以降では、ベットカウンタ=「1」且つ投入枚数「3」の状態にて、ステップS1105の処理によってベットタイマの値が徐々に消費されていく。そして、ベットタイマ=「0」まで消費されると、ステップS1106からS1107に遷移してベットカウンタが「1」→「0」に減じられた上で、S1108で投入枚数=「3」と判定される。つまり、クレジットからの投入(S1110)は実行されない。
At this time, after the maximum bet processing is resumed by resuming the betting timer subtraction, the inserted number may reach “3” even though the value of the bet counter has not reached “0”. Specifically, in the example of FIG. 33, since the medal insertion via the medal insertion slot 12 is performed between the first insertion and the second insertion by the max bet processing, the second insertion is performed. At this point, the inserted number reaches “3” even though the value of the bet counter has not reached “0”.
In such a case, in the medal insertion process shown in FIG. 27 and FIG. 28, at the start timing of the second insertion, that is, at the timing when the bet timer = “0” when the bet counter = “2”. The process proceeds from step S1106 to S1107, the bet counter is decremented to “1”, and it is determined in S1108 that the inserted number is not “3” (the inserted number is “2” at this time), and the bet timer is determined in S1109. In step S1110, credits are inserted (the number of inserted sheets reaches “3”).
After the next timer interruption, the value of the bet timer is gradually consumed by the processing of step S1105 with the bet counter = “1” and the inserted number of “3”. When the bet timer = “0” is consumed, the process proceeds from step S1106 to S1107, the bet counter is decremented from “1” to “0”, and the inserted number = “3” is determined in S1108. The That is, the insertion from the credit (S1110) is not executed.

上記のような処理の結果、マックスベット処理による2枚目の投入(投入枚数=「3」に至る投入)以降は、図33に示すように該2枚目の投入に応じてセットされたベットタイマの消費は行われるものの、該ベットタイマが「0」に達しても投入枚数の加算は行われない。   As a result of the above process, after the second sheet is inserted by the maximum bet process (the number of sheets to be inserted reaches “3”), as shown in FIG. 33, the bet set according to the second sheet is inserted. Although the timer is consumed, the inserted number is not added even if the bet timer reaches “0”.

また、図27及び図28に示したメダル投入処理によると、メダル投入によりマックスベット処理を中断している間に投入枚数=「3」に至った場合は、マックスベット処理が終了することになる。
この点について、例えば投入枚数=「2」、ベットカウンタ=「1」、ベットタイマ≠「0」の状態で1枚のメダルが正常に投入された場合を例に説明する。
先ず、メダルが正常に投入されると(S1119)、ステップS1121の処理により投入枚数=「3」に変化する。その後のタイマ割込みにおいては、メダル投入中とは判定されないため(S1103)、ベットタイマの消費が行われる(S1105)。そして、ベットタイマ=「0」に至ると、処理がS1106→S1107に遷移し、ベットカウンタが「1」→「0」に変化する。この場合、ステップS1108では投入枚数=「3」と判定されるため、ベットタイマのセット(S1109)、及びクレジットからの投入(S1110)は行われない。
さらに、それ以降のタイマ割込みでは、ステップS1104でベットカウンタ=「0」と判定されるようになるため、ステップS1105〜S1110の処理が行われなくなり、マックスベット処理が終了する。
Further, according to the medal insertion process shown in FIG. 27 and FIG. 28, when the inserted number = “3” while the max bet process is interrupted by the medal insertion, the max bet process is ended. .
In this regard, for example, a case where one medal is normally inserted in a state where the inserted number = “2”, the bet counter = “1”, and the bet timer ≠ “0” will be described as an example.
First, when a medal is normally inserted (S1119), the number of inserted coins is changed to “3” by the process of step S1121. In the subsequent timer interruption, since it is not determined that a medal is being inserted (S1103), the bet timer is consumed (S1105). When the bet timer = “0”, the process proceeds from S1106 to S1107, and the bet counter changes from “1” to “0”. In this case, since it is determined in step S1108 that the inserted number = “3”, the setting of the bet timer (S1109) and the insertion from the credit (S1110) are not performed.
Further, in subsequent timer interruptions, since the bet counter = “0” is determined in step S1104, the processes in steps S1105 to S1110 are not performed, and the max bet process ends.

ここで、上記説明から理解されるように、本例のスロットマシンでは、マックスベット処理を実行中においてもメダル投入口12を介したメダルの投入受け付けを有効とし、センサ1、2の何れかがメダルを検出中である場合はマックスベット処理を中断し、該メダルが投入されたと判定されてからマックスベット処理を再開する共に、マックスベット処理の中断の間に投入枚数が所定数(「3」)に至った場合は、マックスベット処理を終了するようにしている。
これにより、メダルの飲み込み防止を図っている。
Here, as understood from the above description, in the slot machine of this example, even when the max bet processing is being executed, the medal insertion acceptance through the medal insertion slot 12 is valid, and either of the sensors 1 and 2 is enabled. When a medal is being detected, the max bet processing is interrupted, and it is determined that the medal has been inserted, and then the max betting processing is resumed. ), The max bet process is terminated.
This prevents the swallowing of medals.

また、図27及び図28に示したメダル投入処理によると、本例のスロットマシンにおいては、メダル投入口12を介したメダルの投入中においてもマックスベットボタン16の操作受付が行われる。
これは、ステップS1103でセンサ1、2の何れかをメダルが通過中であると判定された場合にもステップS1129によるONエッジ検知の確認処理が行われ得ることからも明らかである。
Further, according to the medal insertion process shown in FIG. 27 and FIG. 28, in the slot machine of this example, the operation of the max bet button 16 is accepted even when the medal is inserted through the medal insertion slot 12.
This is also clear from the fact that the ON edge detection confirmation process in step S1129 can be performed even when it is determined in step S1103 that a medal is passing through one of the sensors 1 and 2.

本例のメダル投入処理では、メダル投入中においてマックスベットボタン16が操作された場合には、メダルが正常に投入されたと判定されてからマックスベット処理を行う。   In the medal insertion process of this example, when the max bet button 16 is operated during the medal insertion, the max bet process is performed after it is determined that the medal has been normally inserted.

図34は、メダル投入中にマックスベットボタンが操作された場合の動作についての説明図である。
なお、図34ではメダルの投入が投入枚数=「0」の状態で行われた場合を前提としている。
FIG. 34 is an explanatory diagram showing the operation when the max bet button is operated while a medal is inserted.
In FIG. 34, it is assumed that medals are inserted in a state where the inserted number = “0”.

先ず、センサ1、2の何れかをメダルが通過中である場合には、図27及び図28に示すメダル投入処理では、処理がステップS1103からS1111に遷移するため、ステップS1128でマックスベットボタン16のONエッジが確認されても、ステップS1129のマックスベット操作時の初期設定は実行されるものの、ステップS1106〜S1110の処理が実行されず、マックスベット処理は開始されない(ステップS1129でセットされたベットタイマの消費が行われない)。
この状態からステップS1119でメダルが正常に通過したと判定されると、投入枚数が加算(S1121)されて「0」→「1」となる。そして、次回以降のタイマ割込みでは、投入メダルの通過によりステップS1103でメダル投入中ではないと判定されるため、ベットタイマの消費(S1105)が開始される。すなわち、マックスベット処理が開始される。
First, when a medal is passing through one of the sensors 1 and 2, in the medal insertion process shown in FIGS. 27 and 28, the process transitions from step S1103 to S1111. Even if the ON edge is confirmed, the initial setting at the time of the max bet operation in step S1129 is executed, but the processes in steps S1106 to S1110 are not executed and the max bet process is not started (the bet set in step S1129). Timer is not consumed).
If it is determined from this state that the medal has passed normally in step S1119, the number of inserted coins is added (S1121), and “0” → “1”. In the next and subsequent timer interruptions, since it is determined in step S1103 that a medal is not being inserted due to the passage of the inserted medal, consumption of the bet timer (S1105) is started. That is, the maximum bet process is started.

その後は、開始されたマックスベット処理によって、ベットタイマ=「0」のタイミングでベットカウンタの減算(S1107)、ベットタイマのセット(S1109)、及びクレジットからの投入(S1110)が行われるが、前述のように投入枚数が「3」に至った場合はステップS1108の処理によりクレジットからの投入は行われなくなる。
なお、この場合は、ステップS1107でベットカウンタの値が「1」に至ってステップS1110によるクレジットからの投入として2回目の投入が行われたことにより投入枚数が「3」に至ることになるが、このようなケースでは、前述もしたように、図27及び図28に示す処理によれば該2回目の投入に応じてセットされたベットタイマの消費は行われるものの、該ベットタイマが「0」に達しても投入枚数の加算は行われない。
Thereafter, the bet counter is subtracted (S1107), the bet timer is set (S1109), and the credit is inserted (S1110) at the timing of the bet timer = “0” by the started max bet processing. When the number of inserted coins reaches “3” as shown in FIG. 8, no credit is inserted by the processing in step S1108.
In this case, since the value of the bet counter reaches “1” in step S1107 and the second insertion is performed as the insertion from the credit in step S1110, the inserted number reaches “3”. In such a case, as described above, according to the processing shown in FIGS. 27 and 28, the bet timer set in response to the second insertion is consumed, but the bet timer is “0”. The number of inserted sheets is not added even if the value is reached.

本例のスロットマシンでは、上記のようにメダル投入中においてマックスベットボタン16の操作を受け付けるものとし、さらに、センサ1、2の何れかがメダルを検出中においてマックスベットボタン16が操作された場合は、該メダルが正常に投入されたと判定されてからマックスベット処理を行うようにしている。
これにより、メダルの飲み込み防止を図っている。
In the slot machine of this example, the operation of the max bet button 16 is accepted while the medal is inserted as described above, and further, when the max bet button 16 is operated while any one of the sensors 1 and 2 detects the medal. The maximum bet process is performed after it is determined that the medal has been inserted normally.
This prevents the swallowing of medals.

[11-5.貯留メダルの精算処理]

図35は、貯留メダルの精算処理(S814)のフローチャートである。
前述のように貯留メダルの精算処理は、精算ボタン14の操作有無等、様々な条件の判定を行って精算要求をONするための処理である。
図35において、CPU80aはステップS1301で、精算ボタン有効フラグFasがONであるか否かを判定する。精算ボタン有効フラグFasは、前述したメイン処理側でクレジット精算ボタン14の受付を有効とすべきタイミングでONされ、スタートレバー17の操作に基づきOFFされるフラグである(図19を参照)。
精算ボタン有効フラグFasがONでなければ、CPU80aは貯留メダルの精算処理を終える。
[11-5. Settlement of stored medal]

FIG. 35 is a flowchart of the stored medal settlement process (S814).
As described above, the settlement medal settlement process is a process for turning on a settlement request by determining various conditions such as whether or not the settlement button 14 is operated.
In FIG. 35, the CPU 80a determines in step S1301 whether or not the settlement button valid flag Fas is ON. The settlement button valid flag Fas is a flag that is turned on at the timing at which reception of the credit settlement button 14 is to be validated on the main processing side, and is turned off based on the operation of the start lever 17 (see FIG. 19).
If the settlement button valid flag Fas is not ON, the CPU 80a finishes the stored medal settlement process.

一方、精算ボタン有効フラグFasがONであれば、CPU80aはステップS1302に処理を進める。ステップS1302〜S1307の処理は、各種条件判定に応じてマックスベットLEDのON/OFFを制御するための処理とされる。
先ず、ステップS1302でCPU80aは、マックスベットボタン16のON/OFFを確認し、マックスベットボタン16がONである場合には、ステップS1307でマックスベットLEDをOFFとするための処理を実行する。すなわち、マックスベットボタン16が押されている間はマックスベットLEDはOFFとされる。
On the other hand, if the settlement button valid flag Fas is ON, the CPU 80a advances the process to step S1302. The processing in steps S1302 to S1307 is processing for controlling ON / OFF of the max bet LED according to various condition determinations.
First, in step S1302, the CPU 80a confirms whether the max bet button 16 is on or off. If the max bet button 16 is on, the CPU 80a executes processing for turning off the max bet LED in step S1307. That is, the max bet LED is turned off while the max bet button 16 is being pressed.

なお、先の説明において、マックスベットLED=OFFに応じてはマックスベットボタン16の操作が無効化されることを言及(S1125参照)したが、図24を参照して分かるように、タイマ割込み処理ではメダル投入処理の方が貯留メダルの精算処理よりも先に実行されるため、マックスベットボタン16が操作された際には、S1307でマックスベットLEDがOFFされるよりも前に、S1128でマックスベットボタン16のONエッジ検知が確認される。従って、上記のようにS1302からS1307に処理が遷移されても、マックスベットボタン16の操作に応じてマックスベット処理が開始されることについて支障が来されるものではない。   In the above description, it is mentioned that the operation of the max bet button 16 is invalidated when the max bet LED = OFF (see S1125). However, as can be seen with reference to FIG. Since the medal insertion process is executed before the settlement medal settlement process, when the max bet button 16 is operated, the max bet LED is turned off in S1307, and the max bet is turned off in S1128. The ON edge detection of the bet button 16 is confirmed. Therefore, even if the process transitions from S1302 to S1307 as described above, there is no problem in starting the max bet process in response to the operation of the max bet button 16.

ステップS1302でマックスベットボタン16がOFFであった場合、CPU80aはステップS1303でブロッカーソレノイド69のON/OFFを確認し、ブロッカーソレノイド69がOFFであれば上記したステップS1307でマックスベットLEDのOFF処理を実行する。先の図27(メダル投入処理)で説明したように、ブロッカーソレノイド69は、投入中を加味してベット3枚且つクレジット50枚のとき(S1117)、各種エラー時、投入可能フラグFaiがOFF時、払出中、及びベット3枚且つクレジット50枚のとき(S1118)、さらには投入エラー時(S1124)にOFFされるので、これらの場合にはマックスベットLEDがOFF(つまりマックスベットボタン16の操作受付が無効な状態)される。   If the max bet button 16 is OFF in step S1302, the CPU 80a confirms ON / OFF of the blocker solenoid 69 in step S1303. If the blocker solenoid 69 is OFF, the MAX bet LED OFF process is performed in step S1307 described above. Run. As described above with reference to FIG. 27 (medal insertion processing), when the blocker solenoid 69 has 3 bets and 50 credits in consideration of the insertion (S1117), various errors occur, and the insertion possible flag Fai is OFF. In this case, the MAX bet LED is OFF (that is, the operation of the MAX bet button 16 is operated). The reception is invalid).

ステップS1303でブロッカーソレノイド69がONであった場合、CPU80aはステップS1304でクレジット=「0」か否かを判定し、クレジット=「0」であればステップS1307のマックスベットLEDのOFF処理を実行する。すなわち、クレジットが0枚であれば投入するものがないためマックスベットボタン16の操作受付を無効化する。   If the blocker solenoid 69 is ON in step S1303, the CPU 80a determines whether or not credit = “0” in step S1304, and if the credit = “0”, executes the MAX bet LED OFF process in step S1307. . That is, if there are no credits, there is nothing to be inserted, and the operation acceptance of the max bet button 16 is invalidated.

ステップS1304でクレジット=「0」でなかった場合、CPU80aはステップS1305で投入枚数=「3」か否かを判定し、投入枚数=「3」であればステップS1307のマックスベットLEDのOFF処理を実行する。すなわち、投入枚数が最大投入枚数に達している場合はマックスベットボタン16の操作受付を無効化する。   If credit = “0” is not determined in step S1304, the CPU 80a determines in step S1305 whether the inserted number = “3”. If the inserted number = “3”, the MAX bet LED OFF process in step S1307 is performed. Run. That is, when the inserted number reaches the maximum inserted number, the operation acceptance of the max bet button 16 is invalidated.

ステップS1305で投入枚数=「3」でなかった場合、CPU80aはステップS1306でマックスベットLEDをONするための処理を実行する。すなわち、ステップS1302〜S1305の各条件が満たされた場合、マックスベットボタン16の操作受付を有効とする。   If the number of inserted sheets is not “3” in step S1305, the CPU 80a executes processing for turning on the max bet LED in step S1306. That is, when the conditions of steps S1302 to S1305 are satisfied, the operation reception of the max bet button 16 is validated.

CPU80aは、ステップS1306又はS1307の処理を実行したことに応じ、ステップS1308に処理を進める。ステップS1308〜S1315までの各判定処理は、精算要求をONとするか否かの各種の条件判定処理となる。
先ず、ステップS1308でCPU80aは、エラー中であるか否かを判定し、エラー中であれば貯留メダルの精算処理を終える。すなわち、エラー中は後述するステップS1312の精算ボタンON/OFF判定処理、及びステップS1316の精算要求ON処理が実行されず、従って精算ボタン14が無効化され、精算不許可状態となる。
The CPU 80a advances the process to step S1308 in response to executing the process of step S1306 or S1307. Each determination process in steps S1308 to S1315 is various condition determination processes for determining whether or not the settlement request is to be turned ON.
First, in step S1308, the CPU 80a determines whether or not an error is occurring. If the error is in error, the stored medal settlement process is terminated. That is, during the error, the settlement button ON / OFF determination process in step S1312 and the settlement request ON process in step S1316 are not executed, and therefore the settlement button 14 is invalidated and the settlement is disabled.

一方、エラー中でなければ、CPU80aはステップS1309に進みメダル投入中であるか否かの判定(先のステップS1103と同様にセンサ1、2の何れかを通過中であるか否かの判定)を行い、メダル投入中であれば貯留メダルの精算処理を終える。つまり、センサ1、2の何れかがメダルを検出中である場合は、精算ボタン14が無効化される。   On the other hand, if not in error, the CPU 80a proceeds to step S1309 to determine whether or not a medal is being inserted (determining whether or not any of the sensors 1 and 2 is passing as in the previous step S1103). If the medal is being inserted, the settlement medal settlement process is completed. That is, when any of the sensors 1 and 2 is detecting a medal, the settlement button 14 is invalidated.

ここで、センサ1、2の何れかがメダルを検出中である場合においてメダルの精算処理(精算要求に応じたメダルの払出処理)が開始されてしまうと、払い出すべきメダル枚数に該検出中のメダルが含まれるか否かが定かでなくなる事態を誘発し、該検出中のメダルが飲み込まれてしまう虞がある。
そこで、本例のスロットマシンでは、上記のようにセンサ1、2の何れかがメダルを検出中である場合に精算ボタン14を無効化することで、メダルの飲み込み防止を図っている。
Here, when the medal settlement process (medal payout process according to the settlement request) is started when any one of the sensors 1 and 2 is detecting a medal, the number of medals to be paid out is being detected. This may cause a situation where it is uncertain whether or not a medal is included, and the medal currently being detected may be swallowed.
Therefore, in the slot machine of the present example, as described above, when any of the sensors 1 and 2 is detecting a medal, the settlement button 14 is invalidated to prevent the medal from being swallowed.

CPU80aは、ステップS1309でメダル投入中でないと判定した場合は、ステップS1310でベットカウンタ≠「0」であるか否か、すなわち図27及び図28に示したメダル投入処理においてマックスベット処理中であるか否かを判定する。
ステップS1310において、ベットカウンタ≠「0」であれば、CPU80aは貯留メダルの精算処理を終える。つまり、マックスベット処理を実行中である場合は精算ボタン14が無効化される。
If the CPU 80a determines in step S1309 that a medal is not being inserted, it is determined in step S1310 whether or not the bet counter ≠ “0”, that is, the max bet process is being performed in the medal insertion process shown in FIGS. It is determined whether or not.
If the bet counter is not “0” in step S1310, the CPU 80a finishes the stored medal settlement process. That is, when the maximum bet process is being executed, the settlement button 14 is invalidated.

ここで、マックスベット処理を実行中にメダルの精算処理が実行されてしまうと、払い出すべきメダル枚数にマックスベット処理で投入されたメダルが含まれるか否かが定かでなくなる事態を誘発し、メダルの飲み込みが発生する虞がある。
そこで、本例のスロットマシンでは、上記のようにマックスベット処理を実行中である場合に精算ボタン14を無効化することで、メダルの飲み込み防止を図っている。
Here, if the medal settlement process is executed while the max bet process is being executed, a situation in which it is uncertain whether or not the number of medals to be paid out includes the medal inserted in the max bet process, There is a risk of swallowing medals.
Therefore, in the slot machine of this example, the medals are prevented from being swallowed by invalidating the settlement button 14 when the max bet processing is being executed as described above.

ステップS1310において、ベットカウンタ≠「0」ではないと判定した場合、CPU80aはステップS1311に進み、払出(精算)中か否かを判定する。払出中か否かは、後述するメダル払出処理(S806:図36参照)でON/OFFが管理される払出制御信号がONであるか否かにより判定することができる。
ステップS1311において払出中と判定した場合、CPU80aは貯留メダルの精算処理を終える。すなわち、精算ボタン14が無効化され、精算不許可状態となる。
If it is determined in step S1310 that the bet counter is not “0”, the CPU 80a proceeds to step S1311 and determines whether payout (settlement) is in progress. Whether or not the payout is in progress can be determined by whether or not a payout control signal for which ON / OFF is managed in a medal payout process (S806: see FIG. 36) described later is ON.
If it is determined in step S1311 that the payout is in progress, the CPU 80a finishes the stored medal settlement process. That is, the settlement button 14 is invalidated and the settlement is not permitted.

一方、ステップS1311において払出中でないと判定した場合、CPU80aはステップS1312に進み精算ボタン14がONであるか否かを判定し、精算ボタン14がONでなければ貯留メダルの精算処理を終える。   On the other hand, if it is determined in step S1311 that the payout is not in progress, the CPU 80a proceeds to step S1312, determines whether or not the settlement button 14 is ON. If the settlement button 14 is not ON, the stored medal settlement process is terminated.

精算ボタン14がONであれば、CPU80aはステップS1313に進み、クレジット≠「0」であるか否かを判定し、クレジット≠「0」でなけばステップS1314で再遊技中か否かを判定し、再遊技中であれば貯留メダルの精算処理を終える。つまり、クレジット=「0」で再遊技中(つまり実質の投入枚数=「0」の状態)である場合は払い出すべきメダル枚数が「0」であることを意味するため、精算ボタン14がONとされても精算要求をONとしない。   If the checkout button 14 is ON, the CPU 80a proceeds to step S1313 and determines whether or not credit ≠ “0”. If credit ≠ “0”, the CPU 80a determines whether or not replaying is in progress in step S1314. If the game is being replayed, the stored medal settlement process is terminated. That is, when the credit is “0” and the game is being replayed (that is, the actual number of inserted coins = “0”), it means that the number of medals to be paid out is “0”. Even if it is said, the settlement request is not turned ON.

また、ステップS1314において再遊技中でなければ、CPU80aはステップS1315で投入枚数=「0」か否かを判定し、投入枚数=「0」であれば貯留メダルの精算処理を終える。   If it is determined in step S1314 that the game is not being replayed, the CPU 80a determines in step S1315 whether or not the inserted number = “0”. If the inserted number = “0”, the stored medal settlement process ends.

ステップS1315で投入枚数=「0」でなかった場合と、先のステップS1313でクレジット≠「0」であった場合のそれぞれにおいて、CPU80aはステップS1316に進み精算要求をONとする。
そして、続くステップS1317で精算コマンドをセットし、貯留メダルの精算処理を終える。なお、精算コマンドは、少なくとも精算による払出が行われる旨を演出制御基板42側に通知するためのコマンドとされる。
In each of the case where the number of inserted sheets = “0” in step S1315 and the case where credit ≠ “0” in the previous step S1313, the CPU 80a proceeds to step S1316 and turns on the settlement request.
In the subsequent step S1317, the settlement command is set, and the settlement medal settlement processing is completed. Note that the settlement command is a command for notifying the effect control board 42 that at least payout by settlement is performed.

[11-6.メダル払出処理]

図36は、メダル払出処理(S806)のフローチャートである。
メダル払出処理は、前述した払出要求(入賞によるメダル払出の要求:図23を参照)、又は精算要求に応じてメダル払出装置5における払出モータ75を駆動制御するための処理とされる。
[11-6. Medal payout process]

FIG. 36 is a flowchart of the medal payout process (S806).
The medal payout process is a process for driving and controlling the payout motor 75 in the medal payout device 5 in accordance with the above-described payout request (request for medal payout by winning: see FIG. 23) or the payment request.

図36において、CPU80aはステップS1401で、メダルセンサ通過中タイマ=「0」であるか否かを判定する。メダルセンサ通過中タイマは、前述したメダル払出センサ76がONし続けてしまうエラーを検出するための時間計測を行うタイマであり、メダル払出センサ76がONに変化したことに応じて後述するステップS1412で所定値がセットされる。メダルセンサ通過中タイマの初期値は「0」であり、従って払出要求又は精算要求に応じて払出モータ75が駆動される前の段階ではメダルセンサ通過中タイマ=「0」である。   36, in step S1401, the CPU 80a determines whether or not the medal sensor passing timer = “0”. The medal sensor passing timer is a timer for measuring time for detecting an error in which the above-described medal payout sensor 76 continues to be turned on. Step S1412 described later in response to the medal payout sensor 76 being turned on. A predetermined value is set at. The initial value of the medal sensor passing timer is “0”. Therefore, the medal sensor passing timer = “0” before the payout motor 75 is driven in response to the payout request or the payment request.

メダルセンサ通過中タイマ=「0」であれば、CPU80aはステップS1402に進んで払出要求又は精算要求がONであるか否かを判定し、払出要求又は精算要求がONであれば、ステップS1403でエラー中(ドアエラー以外)であるか否かを判定する。すなわち、各種のエラーのうちドアエラーを除いたエラーの何れかが発生中であるか否かを判定する。
ステップS1403でエラー中でないと判定した場合、CPU80aはステップS1405に進み、メダル払出センサ76のON/OFFを確認する。なお、払出要求や精算要求がONであることが判定された時点では、後述する払出制御信号(払出モータ75の駆動を指示する信号)が未だONとされていないため、メダル払出センサ76はOFFである。
If the medal sensor passing timer = “0”, the CPU 80a proceeds to step S1402 to determine whether or not the payout request or the checkout request is ON. If the payout request or the checkout request is ON, in step S1403. It is determined whether an error is occurring (other than a door error). That is, it is determined whether any of the various errors excluding the door error is occurring.
If it is determined in step S1403 that there is no error, the CPU 80a proceeds to step S1405 and confirms whether the medal payout sensor 76 is ON / OFF. Note that when it is determined that the payout request or the payment request is ON, a payout control signal (a signal for instructing driving of the payout motor 75) to be described later has not been turned ON, so that the medal payout sensor 76 is OFF. It is.

ステップS1405においてメダル払出センサ76がOFFであった場合、CPU80aはステップS1406に進み、払出ビジーフラグFbeのON/OFFを確認する。払出ビジーフラグFbeは、払出制御信号のONと連動してONされるフラグであるため(ステップS1407参照)、払出要求や精算要求がONに変化した直後のタイマ割込みでは、払出ビジーフラグFbeはOFFである。   If the medal payout sensor 76 is OFF in step S1405, the CPU 80a proceeds to step S1406 and confirms whether the payout busy flag Fbe is ON / OFF. Since the payout busy flag Fbe is a flag that is turned on in conjunction with the turning on of the payout control signal (see step S1407), the payout busy flag Fbe is OFF in the timer interrupt immediately after the payout request or the settlement request is changed to ON. .

ステップS1406において払出ビジーフラグFbeがOFFであった場合、CPU80aはステップS1407で払出制御信号をONとすると共に払出ビジーフラグFbeをONとする。そして、続くステップS1408でホッパーメダル無しタイマに所定値(本例では2.5秒に相当するタイマ割込み数)をセットして、ステップS1409に進む。
ホッパーメダル無しタイマは、払出制御信号がONとされて払出モータ75が駆動されているにも関わらずメダルの払出が行われていない時間を計測するためのタイマであり、メダルタンク5aにメダルが無いことを検知するためのタイマとして機能する。具体的には、以下で説明するように該ホッパーメダル無しタイマの値が「0」まで消費されたことで、払出メダル無しエラーがセットされるものである(ステップS1411参照)。
If the payout busy flag Fbe is OFF in step S1406, the CPU 80a turns ON the payout control signal and turns ON the payout busy flag Fbe in step S1407. In a subsequent step S1408, a predetermined value (the number of timer interruptions corresponding to 2.5 seconds in this example) is set in the timer without a hopper medal, and the process proceeds to step S1409.
The hopper medal-free timer is a timer for measuring a time when a medal is not paid out even though the payout control signal is turned ON and the payout motor 75 is driven, and a medal is stored in the medal tank 5a. It functions as a timer for detecting the absence. Specifically, as described below, when the value of the timer without hopper medal is consumed to “0”, a payout medal absence error is set (see step S1411).

ステップS1406において払出ビジーフラグがONであった場合、CPU80aは上記のステップS1407及びS1408をパスしてステップS1409に進む。   If the payout busy flag is ON in step S1406, the CPU 80a passes the above steps S1407 and S1408 and proceeds to step S1409.

ステップS1409でCPU80aは、ホッパーメダル無しタイマの値をデクリメント(−1)し、続くステップS1410でホッパーメダル無しタイマ=「0」であるか否かを判定する。ホッパーメダル無しタイマ=「0」でなければ、CPU80aはメダル払出処理を終える。
一方、ホッパーメダル無しタイマ=「0」であれば、CPU80aはステップS1411で払出メダル無しエラーをセットする。
In step S1409, the CPU 80a decrements the value of the hopper medal-free timer (−1), and in subsequent step S1410, determines whether the hopper medal-free timer is “0”. If the hopper medal-free timer is not “0”, the CPU 80a finishes the medal payout process.
On the other hand, if the hopper medal absence timer = “0”, the CPU 80a sets a payout medal absence error in step S1411.

ステップS1411で払出メダル無しエラーをセットしたことに応じ、CPU80aはステップS1426で払出制御信号をOFFし、ステップS1427で払出ビジーフラグFbeをOFFとした上で、ステップS1428でメダルセンサ通過中タイマをクリアしてメダル払出処理を終える。
なお、払出メダル無しエラーがセットされた以降のタイマ割込みで実行されるメダル払出処理では、処理がステップS1401→S1402→S1403と経由し、該S1403でエラー中と判定されるため、CPU80aはステップS1404で払出ビジーフラグFbeのON/OFFを確認する。上記のように払出メダル無しエラーがセットされたことに応じては払出ビジーフラグFbeがOFFとされる(S1427)ため、該ステップS1404では払出ビジーフラグFbeがOFFと判定され、処理がステップS1426に遷移する。この点から理解されるように、払出メダル無しエラーがセットされた以降は払出モータ75を駆動するための処理がパスされ、メダルの払出処理が停止状態となる。
なお、ステップS1404において、払出ビジーフラグFbeがONであれば、CPU80aは前述したステップS1405に処理を進める。
In response to the setting of the no payout medal error in step S1411, the CPU 80a turns off the payout control signal in step S1426, turns off the payout busy flag Fbe in step S1427, and clears the medal sensor passing timer in step S1428. Finish the medal payout process.
In the medal payout process executed by the timer interruption after the payout medal no error is set, the process goes through steps S1401 → S1402 → S1403, and it is determined in S1403 that the error is in progress. Therefore, the CPU 80a performs step S1404. To check ON / OFF of the payout busy flag Fbe. Since the payout busy flag Fbe is turned off in response to the setting of the no payout medal error as described above (S1427), it is determined in step S1404 that the payout busy flag Fbe is OFF, and the process transitions to step S1426. . As can be understood from this point, after the payout medal no error is set, the process for driving the payout motor 75 is passed and the medal payout process is stopped.
If the payout busy flag Fbe is ON in step S1404, the CPU 80a advances the process to step S1405 described above.

上記では払出要求又は精算要求に応じて払出制御信号がON(S1407)されることを説明したが、該払出制御信号のONに応じて払出モータ75により1枚のメダルが払い出されると、メダル払出センサ76がONとなる。
ステップS1405においてメダル払出センサ76がONであると判定した場合、CPU80aはステップS1412に進み、メダルセンサ通過中タイマに所定値(本例では98.34ms相当のタイマ割込み数)をセットし、ステップS1413に進む。
ステップS1413でCPU80aは、メダル払出センサ76のON/OFFを確認(つまり払出メダルがセンサ通過中/通過完了かの確認)し、メダル払出センサ76がON(通過中)であればステップS1423に処理を進める。
In the above description, it has been described that the payout control signal is turned ON in response to the payout request or the payment request (S1407). However, when one payout is paid out by the payout motor 75 in response to the ON of the payout control signal, the medal payout is made. The sensor 76 is turned on.
If it is determined in step S1405 that the medal payout sensor 76 is ON, the CPU 80a proceeds to step S1412, sets a predetermined value (in this example, the number of timer interrupts equivalent to 98.34 ms) to the medal sensor passing timer, and step S1413. Proceed to
In step S1413, the CPU 80a confirms ON / OFF of the medal payout sensor 76 (that is, checks whether the payout medal is passing / completed), and if the medal payout sensor 76 is ON (passing), the process proceeds to step S1423. To proceed.

ここで、メダルセンサ通過中タイマに所定値がセットされることで、以降のタイマ割込みで実行されるメダル払出処理では、先のステップS1401でメダルセンサ通過中タイマ=「0」でないと判定され、処理がステップS1413に進む。この際、メダル払出センサ76がON状態を継続していれば、処理がステップS1423に進む。   Here, when a predetermined value is set in the medal sensor passing timer, in the medal payout process executed in the subsequent timer interruption, it is determined in the previous step S1401 that the medal sensor passing timer is not “0”. The process proceeds to step S1413. At this time, if the medal payout sensor 76 is kept on, the process proceeds to step S1423.

ステップS1423〜S1425の処理は、メダル払出センサ76が所定時間以上ONし続けるエラーを検知するための処理である。
具体的に、ステップS1423でCPU80aは、メダルセンサ通過中タイマの値をデクリメント(−1)し、続くステップS1424でメダルセンサ通過中タイマ=「0」か否かを判定する。メダルセンサ通過中タイマ=「0」であれば、ステップS1425で払出センサエラーをセットし、前述したステップS1426に処理を進める。
なお、この場合もエラーがセットされた以降の処理の流れは上述した払出メダル無しエラーがセットされた以降の流れと同様となるため重複説明は避ける。
Processing in steps S1423 to S1425 is processing for detecting an error in which the medal payout sensor 76 is kept on for a predetermined time or more.
Specifically, in step S <b> 1423, the CPU 80 a decrements the value of the medal sensor passing timer (−1), and in subsequent step S <b> 1424, determines whether the medal sensor passing timer = “0”. If the medal sensor passing timer = “0”, a payout sensor error is set in step S1425, and the process proceeds to step S1426 described above.
In this case as well, the processing flow after the error is set is the same as the flow after the above-described payout medal error is set, and therefore, a duplicate description is avoided.

一方、メダルセンサ通過中タイマ=「0」でなければ、CPU80aはメダル払出処理を終える。すなわち、メダル払出センサ76のON継続時間が正常範囲内である間は、ステップS1425のエラーセット処理が実行されず、次回のタイマ割込みでは、引き続きメダル払出センサ76がONであれば、処理がS1401→S1413→S1423→S1424と進み、減算後のメダルセンサ通過中タイマの値が「0」か否かが再度判定される。このような処理の流れにより、メダル払出センサ76のON継続時間(メダル通過中と検出されている時間)が監視されている。   On the other hand, if the medal sensor passing timer is not “0”, the CPU 80a finishes the medal payout process. That is, while the ON duration of the medal payout sensor 76 is within the normal range, the error setting process in step S1425 is not executed, and if the medal payout sensor 76 is still ON in the next timer interruption, the process proceeds to S1401. The process proceeds from S1413 to S1423 to S1424, and it is determined again whether or not the value of the medal sensor passing timer after the subtraction is “0”. Through such a processing flow, the ON duration of the medal payout sensor 76 (the time during which it is detected that the medal is passing) is monitored.

メダル払出センサ76に異常が無く、払出メダルがメダル払出センサ76を通過し終えると、先のステップS1413でメダル払出センサ76がOFFであることが確認され、処理がステップS1414に進む。
ステップS1414〜S1421の処理は、要求の種類が払出要求である場合、精算要求である場合のそれぞれに対応して、メダルの払出に応じて更新されるべき値を更新するための処理である。
先ず、ステップS1414でCPU80aは、先のステップS1402で確認された要求が払出要求であるか否かを判定する。払出要求であれば、CPU80aはステップS1415に処理を進め、払出要求でなければ(つまり精算要求であれば)ステップS1418に処理を進める。
When there is no abnormality in the medal payout sensor 76 and the payout medal passes through the medal payout sensor 76, it is confirmed in the previous step S1413 that the medal payout sensor 76 is OFF, and the process proceeds to step S1414.
The processing in steps S1414 to S1421 is processing for updating the value to be updated according to the payout of medals corresponding to each of the case where the request type is a payout request and the case where it is a payment request.
First, in step S1414, the CPU 80a determines whether or not the request confirmed in the previous step S1402 is a payout request. If it is a payout request, the CPU 80a advances the process to step S1415, and if not a payout request (that is, if it is a payment request), advances the process to step S1418.

ステップS1415でCPU80aは、払出信号カウンタの値のインクリメント、払出表示枚数の値のインクリメント、及び入賞枚数の値のデクリメントを行う。なお、これら払出信号カウンタの値のインクリメント、払出表示枚数の値のインクリメント、及び入賞枚数の値のデクリメントの各処理については、先の図23におけるステップS707、S708、及びS710の処理と同様となるため重複説明は避ける。   In step S1415, the CPU 80a increments the value of the payout signal counter, increments the value of the payout display number, and decrements the value of the winning number. Each process of incrementing the value of the payout signal counter, incrementing the value of the payout display number, and decrementing the value of the winning number is the same as the process of steps S707, S708, and S710 in FIG. Therefore, duplicate explanation is avoided.

ステップS1415の処理を実行したことに応じ、CPU80aはステップS1416で払出終了か否かを判定する。具体的には、入賞枚数=「0」であるか否かを判定する。
払出終了でなければ、CPU80aはステップS1420に進んでエラー中(ドアエラー以外)か否かを判定し、エラー中でなければステップS1427で払出ビジーフラグFbeをOFFとし、ステップS1428でメダルセンサ通過中タイマを0クリアした上でメダル払出処理を終える。
このようにメダルが1枚払い出され対応値が更新された場合には払出ビジーフラグFbeがOFFされ、メダルセンサ通過中タイマがクリアされる。このことで、次回のタイマ割込みでは、処理がステップS1401→S1402→S1403→S1405→S1406と進められ、該S1406で払出ビジーフラグFbeがOFFと判定され、S1407で払出制御信号及び払出ビジーフラグFbeがONとされる。これにより、入賞枚数=「0」となるまで、メダルの払出、及びステップS1415での対応値の更新が繰り返される。
In response to the execution of the process in step S1415, the CPU 80a determines in step S1416 whether the payout has ended. Specifically, it is determined whether or not the number of winning prizes = “0”.
If the payout has not ended, the CPU 80a proceeds to step S1420 to determine whether an error is occurring (other than a door error). If not in error, the payout busy flag Fbe is turned OFF in step S1427, and the medal sensor passing timer is set in step S1428. After clearing 0, the medal payout process is completed.
Thus, when one medal is paid out and the corresponding value is updated, the payout busy flag Fbe is turned OFF, and the medal sensor passing timer is cleared. As a result, in the next timer interrupt, the process proceeds in steps S1401 → S1402 → S1403 → S1405 → S1406. In S1406, the payout busy flag Fbe is determined to be OFF, and in S1407, the payout control signal and the payout busy flag Fbe are turned ON. Is done. As a result, the medal payout and the update of the corresponding value in step S1415 are repeated until the number of winning prizes = “0”.

なお、ステップS1420でエラー中と判定された場合は、ステップS1426に処理が進められる。このようにエラー中であることに応じてステップS1426に進んだ以降の処理の流れについては説明済みであるため、重複説明は避ける。   If it is determined in step S1420 that an error has occurred, the process proceeds to step S1426. Since the flow of processing after proceeding to step S1426 in response to the fact that an error has occurred in this way has already been described, redundant description is avoided.

一方、ステップS1416において払出終了であれば、CPU80aはステップS1417で払出要求をOFFとし、ステップS1426に進む。
このように払出要求がOFFとされて処理がステップS1426に進められることで、次回のタイマ割込みでは、処理がステップS1401→S1402と進められ、該ステップS1402で払出要求又は精算要求がONでないと判定すると、CPU80aはステップS1422に処理を進め、メダル払出センサ76のON/OFFを確認する。
ステップS1422においてメダル払出センサ76がONであった(つまり払出要求及び精算要求がOFFであるのにメダル払出センサ76がONであった)場合、CPU80aはステップS1425に進んで払出センサエラーをセットし、ステップS1426に処理を進める。
一方、ステップS1422においてメダル払出センサ76がOFFであった場合、CPU80aは払出センサエラーをセットせずステップS1426に処理を進める。つまりこの場合、次回以降のタイマ割込みでは、払出要求又は精算要求がONとされるまで処理がステップS1401→S1402→S1422→S1426〜S1428と実行される。
On the other hand, if the payout is completed in step S1416, the CPU 80a turns off the payout request in step S1417, and proceeds to step S1426.
As described above, when the payout request is turned OFF and the process proceeds to step S1426, the process proceeds from step S1401 to S1402 at the next timer interruption, and it is determined in step S1402 that the payout request or settlement request is not ON. Then, the CPU 80a advances the process to step S1422 and confirms whether the medal payout sensor 76 is ON / OFF.
If the medal payout sensor 76 is ON in step S1422 (that is, the medal payout sensor 76 is ON while the payout request and the payment request are OFF), the CPU 80a proceeds to step S1425 and sets a payout sensor error. Then, the process proceeds to step S1426.
On the other hand, if the medal payout sensor 76 is OFF in step S1422, the CPU 80a advances the process to step S1426 without setting a payout sensor error. That is, in this case, in the subsequent timer interruption, the processing is executed in steps S1401 → S1402 → S1422 → S1426 to S1428 until the payout request or the settlement request is turned ON.

また、先のステップS1414において払出要求ではないと判定された場合(つまり精算要求と判定された場合)、CPU80aはステップS1418でクレジット又は投入枚数の値をデクリメント(−1)する。すなわち、例えば投入枚数≠「0」であれば投入枚数の値をデクリメントし、投入枚数=「0」であればクレジットの値をデクリメントする。
なお、再遊技による投入枚数については精算対象とはされないため、再遊技後においては投入枚数≠「0」であっても投入枚数のデクリメントは行わない。
If it is determined in step S1414 that the request is not a payout request (that is, if it is determined as a payment request), the CPU 80a decrements (-1) the value of the credit or the inserted number in step S1418. That is, for example, if the inserted number is not “0”, the value of the inserted number is decremented, and if the inserted number = “0”, the value of the credit is decremented.
Note that, since the number of inserted coins by re-game is not a target for settlement, the number of inserted coins is not decremented even if the number of inserted coins ≠ “0” after the re-game.

続くステップS1419でCPU80aは、精算終了か否か、すなわち精算可能なメダル数についての精算を終えたか否かを判定する。精算終了でなければ、CPU80aは先に説明したステップS1420に処理を進める。該ステップS1420でエラー中と判定された場合、又はエラー中でないと判定された場合のそれぞれの処理の流れは既に説明済みであるため重複説明を避ける。S1420でエラー中と判定されなければ、精算要求の場合は、精算終了となるまでメダルの払出及びステップS1418での対応値の更新が繰り返される。   In subsequent step S1419, the CPU 80a determines whether or not the settlement is completed, that is, whether or not the settlement for the number of medals that can be settled is completed. If the settlement is not finished, the CPU 80a advances the process to step S1420 described above. If it is determined in step S1420 that an error has occurred, or if it is determined that an error has not occurred, the flow of each process has already been described, and therefore a duplicate description is avoided. If it is not determined in S1420 that an error has occurred, in the case of a settlement request, the payout of medals and the update of the corresponding value in step S1418 are repeated until the settlement is completed.

ステップS1419で精算終了と判定した場合、CPU80aはステップS1421で精算要求をOFFとすると共に精算終了コマンドをセットし、ステップS1426に処理を進める。すなわち、精算による払出が終了した場合も、以降は払出要求又は精算要求がONとされるまで処理がステップS1401→S1402→S1422→S1426〜S1428と実行される。
なお、精算終了コマンドは、少なくとも精算による払出処理が終了した旨を演出制御基板42側に通知するためのコマンドである。
If it is determined in step S1419 that the settlement is complete, the CPU 80a turns off the settlement request in step S1421, sets a settlement termination command, and advances the process to step S1426. That is, even when the payout by payment is completed, the process is executed in the order of steps S1401 → S1402 → S1422 → S1426 to S1428 until the payout request or the payment request is turned ON.
The settlement end command is a command for notifying the effect control board 42 that at least the payout process by settlement has been completed.

[11-7.回胴制御処理]

図37は、タイマ割込み処理における回胴制御処理(S815)のフローチャートである。
先ず、具体的な処理内容の説明に先立ち、回胴制御処理で用いられる回転リール4のステータスを表す各種フラグについて説明しておく。具体的には、以下の七つのフラグである。

・起動要求フラグFrr
・起動中フラグFG1
・センサ未通過フラグFmt
・回転中フラグFG2
・停止要求フラグFrs
・第1停止処理中フラグFG3
・第2停止処理中フラグFG4

これら七つのフラグは回転リール4ごとに設けられ、CPU80aは回転リール4ごとのステータスを把握することが可能とされている。
[11-7. Cylinder control processing]

FIG. 37 is a flowchart of the spinning cylinder control process (S815) in the timer interrupt process.
First, prior to description of specific processing contents, various flags representing the status of the rotating reel 4 used in the spinning cylinder control processing will be described. Specifically, it is the following seven flags.

・ Start-up request flag Frr
・ Starting flag FG1
-Sensor non-passing flag Fmt
・ Rotating flag FG2
Stop request flag Frs
・ First stop processing flag FG3
-Second stop processing flag FG4

These seven flags are provided for each rotating reel 4, and the CPU 80a can grasp the status of each rotating reel 4.

図38は、回転リール4の回転/停止に係るステータスと上記各種フラグとの関係を説明するための図である。
先ず、図中の起動要求フラグFrrは、スタートレバー17がONされたことに応じて前述したメイン処理側でセットされる(図19及び図20を参照)。メイン処理側で起動要求フラグFrrがセットされると、その後のタイマ割込みにて起動中フラグFG1がセットされ(S1502)、回転リール4の起動回転が開始される。
本例では、回転リール4の起動回転(加速回転)は後述する起動タイムテーブルで定められた時間分行われ、起動回転が終了すると回転リール4が定速回転を維持する(前述した定常回転)。起動回転の終了に応じては、回転中フラグFG2がセットされる(S1507)。回転中フラグFG2は、回転リール4が定速回転を開始した後のステータスにあるか否かを表すフラグとして機能する。
FIG. 38 is a diagram for explaining the relationship between the status relating to rotation / stop of the rotary reel 4 and the various flags.
First, the activation request flag Frr in the figure is set on the main processing side described above in response to the start lever 17 being turned on (see FIGS. 19 and 20). When the activation request flag Frr is set on the main processing side, the activation flag FG1 is set by a subsequent timer interrupt (S1502), and the rotation rotation of the rotary reel 4 is started.
In this example, the start-up rotation (acceleration rotation) of the rotary reel 4 is performed for a time determined by a start-up time table to be described later. When the start-up rotation ends, the rotary reel 4 maintains a constant speed rotation (the above-described steady rotation). In response to the end of the start rotation, the rotating flag FG2 is set (S1507). The rotating flag FG2 functions as a flag indicating whether or not the rotating reel 4 is in a status after starting constant speed rotation.

センサ未通過フラグFmtは、スタートレバー17がONされたことに応じてメイン処理側で起動要求フラグFrrと共にセットされるフラグであり、該センサ未通過フラグFmtがセット状態であることは、起動後における回転リール4の原点位置101が対応するインデックスセンサ55を未通過であることを表す。起動後における回転リール4の原点位置101が対応するインデックスセンサ55を通過すると、センサ未通過フラグFmtがクリアされ(「0」とされ)、これに応じて図柄カウンタ、ステップカウンタによる現在の図柄位置、図柄ステップ数のカウントがそれぞれ開始される(S1510、S1511)。   The sensor non-passing flag Fmt is a flag that is set together with the activation request flag Frr on the main processing side in response to the start lever 17 being turned on. Represents that the origin position 101 of the rotary reel 4 has not passed through the corresponding index sensor 55. When the origin position 101 of the rotating reel 4 after startup passes through the corresponding index sensor 55, the sensor non-passing flag Fmt is cleared (set to “0”), and the current symbol position by the symbol counter and step counter is accordingly changed. The counting of the number of symbol steps is started (S1510, S1511).

停止要求フラグFrsは、停止ボタン18の操作に応じてメイン処理側でセットされるフラグである(図20、図21を参照)。具体的に、停止要求フラグFrsは、先に説明したように停止ボタン18の操作に応じて滑りコマ数が決定された後(S604)、対応する回転リール4(停止ボタン18が操作された回転リール4)が停止図柄に到達(S605)したことに応じてセット(S606)されるものである。   The stop request flag Frs is a flag that is set on the main processing side according to the operation of the stop button 18 (see FIGS. 20 and 21). Specifically, the stop request flag Frs is set to the corresponding reel 4 (the rotation with which the stop button 18 is operated) after the number of sliding symbols is determined according to the operation of the stop button 18 as described above (S604). The reel 4) is set (S606) in response to reaching the stop symbol (S605).

第1停止処理中フラグFG3は、停止要求フラグFrsがセットされた後(つまり停止図柄に到達した後)、所定の停止ステップ条件が成立したことに応じてセットされるフラグである。具体的に本例では、第1停止処理中フラグFG3は現在の図柄ステップ位置が7番(前述した停止許可ステップ位置)以下で且つステッピングモータ54の励磁状態が2相励磁状態であることを条件としてセットされる(S1517〜S1519)。
なお、本例では、現在の図柄ステップ位置が停止許可ステップ位置に達したことに応じて即座に全相ONによるブレーキ制御を開始せず、所定数のタイマ割込み回数分の2相ONホールド状態を維持した上で全相ONによるブレーキ制御を開始するものとしている。これにより、回転リール4の停止がスムーズに行われるように図られている。具体的には、停止初期に回転リール4がカクつく等の不自然な動作の防止が図られる。
The first stop processing flag FG3 is a flag that is set when a predetermined stop step condition is satisfied after the stop request flag Frs is set (that is, after the stop symbol is reached). Specifically, in this example, the first stop processing flag FG3 is set under the condition that the current symbol step position is 7 or less (the stop permission step position described above) and the stepping motor 54 is in the two-phase excitation state. (S1517 to S1519).
In this example, in response to the current symbol step position reaching the stop permission step position, the brake control by all-phase ON is not immediately started, and the two-phase ON hold state corresponding to the predetermined number of timer interruptions is set. It is assumed that the brake control by all-phase ON is started after maintaining. Thereby, the rotation reel 4 is stopped smoothly. Specifically, it is possible to prevent an unnatural operation such as the rotating reel 4 becoming clogged at the beginning of the stop.

第2停止処理中フラグFG4は、上記の2相ONホールドが終了したことに応じてセットされるフラグである(S1523)。第2停止処理中フラグFG4がセットされることで、対応するステッピングモータ54の全相ONによるブレーキ制御が開始される(S1524)。この全相ONの状態は所定時間継続され、その後にステッピングモータ54の励磁状態は全相OFFの状態に遷移する。
なお、本例では、センサ未通過フラグFmtを除いた起動要求フラグFrr、起動中フラグFG1、回転中フラグFG2、停止要求フラグFrs、第1停止処理中フラグFG3、及び第2停止処理中フラグFG4の各フラグは、上記の全相OFFが開始されるタイミングで一斉にクリアされる(S1529参照)。
The second stop processing flag FG4 is a flag that is set in response to the end of the two-phase ON hold (S1523). When the second stop processing flag FG4 is set, the brake control is started by turning on the corresponding phase of the corresponding stepping motor 54 (S1524). This all-phase ON state is continued for a predetermined time, and then the excitation state of the stepping motor 54 transitions to the all-phase OFF state.
In this example, the start request flag Frr excluding the sensor non-pass flag Fmt, the start flag FG1, the rotation flag FG2, the stop request flag Frs, the first stop processing flag FG3, and the second stop processing flag FG4. These flags are simultaneously cleared at the timing when the all-phase OFF is started (see S1529).

上記の説明を踏まえ、図37の回胴制御処理について説明する。
先ず、CPU80aはステップS1501で、対象リール(処理対象の回転リール4)のステータスを確認する。すなわち、対象リールのステータスが起動要求状態(起動要求フラグFrr=「1」)、起動中状態(起動中フラグFG1=「1」)、回転中状態(回転中フラグFG2=「1」)、第1停止処理中状態(第1停止処理中フラグFG3=「1」)、第2停止処理中状態(第2停止処理中フラグFG4=「1」)、又は全フラグがOFFの状態の何れであるかを確認する。
具体的に、ステップS1501においては、第2停止処理中フラグFG4、第1停止処理中フラグFG3、回転中フラグFG2、起動中フラグFG1、起動要求フラグFrrの順でフラグ=「1」か否かを順番に判定していくようにされており、該判定において「1」と判定された時点で、該「1」と判定されたフラグに対応するステータスを現在のステータスとする。或いは、最後に判定した起動要求フラグFrrが「0」であれば、全フラグOFFのステータスに該当するとの判定結果を得る。
Based on the above description, the spinning cylinder control process of FIG. 37 will be described.
First, in step S1501, the CPU 80a checks the status of the target reel (processing target rotating reel 4). That is, the status of the target reel is the activation request state (activation request flag Frr = “1”), the activation state (activation flag FG1 = “1”), the rotation state (rotation flag FG2 = “1”), One of the stop processing state (first stop processing flag FG3 = “1”), the second stop processing state (second stop processing flag FG4 = “1”), or all the flags are OFF. To check.
Specifically, in step S1501, whether or not the flag is “1” in the order of the second stop processing flag FG4, the first stop processing flag FG3, the rotating flag FG2, the starting flag FG1, and the starting request flag Frr. Are determined in order, and when the determination is “1”, the status corresponding to the flag determined as “1” is set as the current status. Alternatively, if the last determined activation request flag Frr is “0”, a determination result that corresponds to the status of all flags OFF is obtained.

ここで、本例では、回胴の起動から第2停止処理までにおけるステータスの判定について、上記のように起動処理から第2停止処理にかけての処理の順番とは逆順にフラグを確認していき、ONであることが確認されたフラグに対応するステータスを現在のステータスとして判定するものとしている。
ステータスの判定手法としては、例えば、対象とするフラグのみが「1」であるか否かを確認する手法(例えば、起動中状態であるか否かの判定を起動中フラグFG2のみが「1」であるか否かにより判定する等)も考えられるが、その場合には、ステータスの遷移に応じて前ステータスのフラグをクリアする処理を要してしまう。上記したステータス判定手法によれば、このようなステータス遷移に応じた前ステータスフラグの逐次のクリア処理を省略できる利点がある。
Here, in this example, for status determination from the start of the rotating cylinder to the second stop process, the flags are checked in the reverse order to the process order from the start process to the second stop process as described above. The status corresponding to the flag confirmed to be ON is determined as the current status.
As a status determination method, for example, a method for confirming whether or not only the target flag is “1” (for example, whether or not the active flag FG2 is “1” is determined as to whether or not it is in the active state). However, in this case, it is necessary to clear the flag of the previous status in accordance with the status transition. According to the above-described status determination method, there is an advantage that the sequential clear processing of the previous status flag according to such status transition can be omitted.

ステップS1501において、全フラグOFFのステータスであった場合、CPU80aはステップS1533に進んで励磁データφ1〜φ4として全相OFFのデータをセットし、ステップS1531でそれら励磁データφ1〜φ4を出力バッファにセットした上で、後述するステップS1532に処理を進める。すなわち、全フラグOFFのステータスにある回転リール4については、ステッピングモータ54がOFF状態で維持される。   In step S1501, if all flags are OFF status, the CPU 80a proceeds to step S1533 and sets all phase OFF data as excitation data φ1 to φ4, and sets these excitation data φ1 to φ4 in the output buffer in step S1531. Then, the process proceeds to step S1532, which will be described later. In other words, the stepping motor 54 is maintained in the OFF state for the rotating reels 4 in the all flag OFF status.

また、ステップS1501において、対象リールのステータスが起動要求状態(図中、起動要求フラグ=「1」)であれば、CPU80aはステップS1502に進み、起動中フラグFG1のセット、及び図柄カウンタのクリアを行い、ステップS1505に処理を進める。   In step S1501, if the status of the target reel is the activation request state (in the drawing, activation request flag = “1”), the CPU 80a proceeds to step S1502, and sets the activation flag FG1 and clears the symbol counter. And proceed to step S1505.

ステップS1505でCPU80aは、起動タイムテーブルに基づいて相更新タイマの値をセットする。起動タイムテーブルは、回転リール4の起動回転を実現するための時間情報を格納したテーブルである。   In step S1505, the CPU 80a sets the value of the phase update timer based on the startup time table. The activation time table is a table that stores time information for realizing the activation rotation of the rotary reel 4.

図39は、起動タイムテーブルの例を示している。
図示するように起動タイムテーブルは、インデックスの値ごとに、相更新タイマにセットすべきタイマ値が格納されたテーブル情報とされる。CPU80aは、インデックスの値の昇順でタイマ値を逐次取得(相更新タイマ値が「0」となるごとに取得:S1504を参照)し、取得したタイマ値を相更新タイマにセットする。なお、インデックスの値の初期値は「0」である。
FIG. 39 shows an example of the activation time table.
As shown in the figure, the activation time table is table information in which timer values to be set in the phase update timer are stored for each index value. The CPU 80a sequentially acquires timer values in ascending order of index values (obtained whenever the phase update timer value becomes “0”: refer to S1504), and sets the acquired timer value in the phase update timer. The initial value of the index value is “0”.

図37において、ステップS1505の処理は、対象リールについての現在のインデックスの値に応じて、起動タイムテーブルから対応するタイマ値を取得し、取得したタイマ値を相更新タイマにセットする処理となる。   In FIG. 37, the processing in step S1505 is processing for acquiring a corresponding timer value from the activation time table in accordance with the current index value for the target reel, and setting the acquired timer value in the phase update timer.

ここで、相更新タイマの値は、上記のようにステップS1502で起動中フラグFG1がセットされてからステップS1505で起動タイムテーブルからインデックス=「0」に対応したタイマ値がセットされた以降は、ステップS1503でデクリメントされる。すなわち、相更新タイマ値はタイマ割込みごとに逐次デクリメントされるものである。
この点から理解されるように、起動タイムテーブルに格納されたタイマ値は、タイマ割込み単位(本例では1.49ms単位)での時間情報を表すものである。
Here, after the activation flag FG1 is set in step S1502 as described above and the timer value corresponding to the index = “0” is set from the activation time table in step S1505 as described above, It is decremented in step S1503. That is, the phase update timer value is sequentially decremented for each timer interrupt.
As understood from this point, the timer value stored in the activation time table represents time information in a timer interrupt unit (in this example, 1.49 ms unit).

起動タイムテーブルにおいて、インデックスごとに格納されたこのようなタイマ割込み単位での時間情報は、起動時におけるステッピングモータ54の2相励磁状態、1相励磁状態それぞれの維持時間を規定する情報として機能する。
具体的に、先の図11を参照して説明したように、本例のステッピングモータ54は1−2相励磁により駆動されるものであり、具体的な励磁態様は、励磁ポインタ(励磁相ポインタ)PTの値により循環的に指し示される。後の説明により明らかとなるが、励磁ポインタPTの値は、ステップS1502で起動中フラグFG1がONとされたタイマ割込み(つまりステップS1505で起動タイムテーブルにおけるインデックス=「0」に対応した「1」がセットされたタイマ割込み)では、ステップS1530、S1531により先ずは1相励磁用の値(1,3,5,7の何れか)にセットされる。以降、起動中(起動中フラグFG1がON中)におけるタイマ割込みでは、励磁ポインタPTの値は、ステップS1504で相更新タイマの値が「0」となるごとに次の値に送られる(S1530)。すなわち、ステップS1504で相更新タイマの値が「0」となるごとに、励磁データφ1〜φ4として2相励磁用のデータ→1相励磁用のデータ→2相励磁用のデータ…と交互に設定されていく。
In the activation time table, the time information in units of timer interrupts stored for each index functions as information that defines the maintenance time of the two-phase excitation state and the one-phase excitation state of the stepping motor 54 at the time of activation. .
Specifically, as described above with reference to FIG. 11, the stepping motor 54 of this example is driven by 1-2 phase excitation, and a specific excitation mode is an excitation pointer (excitation phase pointer). ) Indicated cyclically by the value of PT. As will be apparent from the following description, the value of the excitation pointer PT is “1” corresponding to the timer interrupt in which the activation flag FG1 is turned ON in step S1502 (that is, the index = “0” in the activation time table in step S1505). In step S1530 and S1531, first, a value for one-phase excitation (any one of 1, 3, 5, and 7) is set. Thereafter, in a timer interruption during activation (while activation flag FG1 is ON), the value of excitation pointer PT is sent to the next value every time the value of the phase update timer becomes “0” in step S1504 (S1530). . That is, every time the value of the phase update timer becomes “0” in step S1504, the excitation data φ1 to φ4 are alternately set as data for two-phase excitation → data for one-phase excitation → data for two-phase excitation. It will be done.

この点からも理解されるように、起動タイムテーブルにおいて偶数のインデックス(「0」を含む)に対応するタイマ値は、1相励磁状態の維持時間を表し、奇数のインデックスに対応するタイマ値は2相励磁状態の維持時間を表すものとなる。   As understood from this point, the timer value corresponding to the even index (including “0”) in the activation time table represents the maintenance time of the one-phase excitation state, and the timer value corresponding to the odd index is It represents the maintenance time of the two-phase excitation state.

図37において、CPU80aはステップS1505のタイマ値セット処理を実行したことに応じ、ステップS1506で相更新タイマ値=「0」であるか否かを判定する。これは、直前のステップS1505でセットしたタイマ値が「0」であるか否かを判定していることに相当する。
本例の起動タイムテーブルにおいては、最終インデックス(本例では「19」)に対応するタイマ値として「0」が格納されており、該「0」により起動処理の終了を表すこととしている。従って、インデックスの値が「19」に達し、ステップS1505でセットしたタイマ値が「0」となると、直後のステップS1506で相更新タイマ値=「0」と判定される。
ステップS1506で相更新タイマ値=「0」と判定した場合、CPU80aはステップS1507で回転中フラグFG2をセットし、ステップS1508に処理を進める。
In FIG. 37, the CPU 80a determines whether or not the phase update timer value = “0” in step S1506 in response to the execution of the timer value setting process in step S1505. This corresponds to determining whether or not the timer value set in the immediately preceding step S1505 is “0”.
In the activation time table of this example, “0” is stored as a timer value corresponding to the final index (“19” in this example), and the end of the activation process is represented by “0”. Accordingly, when the index value reaches “19” and the timer value set in step S1505 becomes “0”, it is determined in step S1506 immediately after that that the phase update timer value = “0”.
If it is determined in step S1506 that the phase update timer value = “0”, the CPU 80a sets the rotating flag FG2 in step S1507, and the process proceeds to step S1508.

一方、ステップS1506で相更新タイマ値=「0」でないと判定した場合、CPU80aはステップS1530に進み、励磁ポインタPTをインクリメント(+1)して励磁ポインタPTに対応する励磁データφ1〜φ4を取得し、続くステップS1531で励磁データφ1〜φ4を出力バッファにセットする。
なお、ステップS1530で励磁ポインタPTを+1することで、起動時における励磁状態を1相励磁状態から開始することができる(後述のように本例では停止時の励磁ポインタPTは2相励磁状態に対応した値とされるため)。
On the other hand, if it is determined in step S1506 that the phase update timer value is not “0”, the CPU 80a proceeds to step S1530 and increments (+1) the excitation pointer PT to obtain excitation data φ1 to φ4 corresponding to the excitation pointer PT. In subsequent step S1531, excitation data φ1 to φ4 are set in the output buffer.
In step S1530, the excitation pointer PT is incremented by +1, so that the excitation state at the start can be started from the one-phase excitation state (in this example, the excitation pointer PT at the time of stop is changed to the two-phase excitation state as will be described later). To be the corresponding value).

ステップS1531で励磁データφ1〜φ4のセット処理を実行したことに応じ、CPU80aはステップS1532で全リール終了か否かを判定する。すなわち、今回のタイマ割込みにおいて、ステップS1501からの処理を全ての回転リール4(4a〜4c)について実行したか否かを判定する。全リール終了でなければ、CPU80aは対象リールを次の回転リール4とした上でステップS1501に戻り、全リール終了であれば回胴制御処理を終了する。   In response to the execution of the excitation data φ1 to φ4 set processing in step S1531, the CPU 80a determines in step S1532 whether or not all reels have been completed. That is, it is determined whether or not the processing from step S1501 has been executed for all the rotating reels 4 (4a to 4c) in the current timer interruption. If all reels are not finished, the CPU 80a sets the target reel as the next rotating reel 4 and returns to step S1501. If all reels are finished, the rotation control process is finished.

上記で説明した処理の流れにより、起動要求フラグFrrのONに応じて起動中フラグFG1をONとし、ステップS1505で起動タイムテーブルのインデックス=「0」に対応したタイマ値を相更新タイマにセットしたタイマ割込みでは、1相励磁に対応した励磁データφ1〜φ4がセットされ、対象リールの起動が1相励磁状態から開始される。   According to the processing flow described above, the activation flag FG1 is turned on in response to the activation request flag Frr being turned on, and the timer value corresponding to the activation time table index = “0” is set in the phase update timer in step S1505. In the timer interruption, excitation data φ1 to φ4 corresponding to one-phase excitation is set, and the activation of the target reel is started from the one-phase excitation state.

起動中フラグFG1がONとされた直後のタイマ割込みでは、ステップS1501のステータス確認処理において、起動中状態であることが確認され、処理がステップS1503に進められる。ステップS1503でCPU80aは、相更新タイマの値をデクリメント(−1)し、続くステップS1504で相更新タイマ値=「0」か否かを判定する。
起動中フラグFG1がONされたタイマ割込みでは相更新タイマ値=「1」がセットされるため、その直後のタイマ割込みではステップS1504で相更新タイマ値=「0」と判定される。
このようにステップS1504で相更新タイマ値=「0」と判定した場合、CPU80aは先に説明したステップS1505に処理を進める。これにより、相更新タイマには、起動タイムテーブルにおける次のインデックスの値に対応したタイマ値が新たにセットされる。
In the timer interruption immediately after the activation flag FG1 is turned ON, it is confirmed in the status confirmation process in step S1501 that the activation is in progress, and the process proceeds to step S1503. In step S1503, the CPU 80a decrements (-1) the value of the phase update timer, and determines in step S1504 whether or not the phase update timer value = “0”.
Since the phase update timer value = “1” is set in the timer interrupt in which the activation flag FG1 is turned on, the phase update timer value = “0” is determined in step S1504 in the immediately following timer interrupt.
As described above, when it is determined in step S1504 that the phase update timer value = “0”, the CPU 80a advances the process to step S1505 described above. Thereby, a timer value corresponding to the value of the next index in the startup time table is newly set in the phase update timer.

続くステップS1505では、前述したようにS1505でセットしたタイマ値が「0」であるか否かが判定され、「0」でなければ前述のようにステップS1530に処理が進められる。これにより、起動中フラグFG1がONされた直後のタイマ割込みでは、ステッピングモータ54の励磁状態が1相励磁状態から2相励磁状態に遷移される。   In subsequent step S1505, it is determined whether or not the timer value set in S1505 is “0” as described above. If not “0”, the process proceeds to step S1530 as described above. Thereby, in the timer interruption immediately after the activation flag FG1 is turned ON, the excitation state of the stepping motor 54 is changed from the one-phase excitation state to the two-phase excitation state.

さらに、起動中における以降のタイマ割込みでは、ステップS1503によるデクリメント後の相更新タイマ値が「0」となるまで、処理がステップS1501→S1503→S1504→S1532と遷移する。つまりこれにより、ステッピングモータ54の励磁状態は、相更新タイマにセットされたタイマ値に応じた時間長にわたってステップS1531でセットされた励磁データφ1〜φ4に対応する励磁状態で維持される。
また、このようにセットタイマ値に応じた時間長にわたり励磁状態が維持された以降のタイマ割込みにおいて、ステップS1504で相更新タイマ値=「0」と判定された場合には、処理がステップS1505に進められ、さらに次のインデックスの値に対応したタイマ値が相更新タイマにセットされ、以降、ステッピングモータ54は1相励磁状態/2相励磁状態のうち新たな励磁状態によりセットタイマ値に応じた時間長にわたって駆動される。
このように起動タイムテーブルの格納情報に従ってステッピングモータ54の1相励磁状態/2相励磁状態が交互に所定回数繰り返されることで、対象リールの起動回転が実現される。
Further, in subsequent timer interrupts during activation, the process transitions from step S1501 → S1503 → S1504 → S1532 until the phase update timer value after decrement in step S1503 becomes “0”. That is, by this, the excitation state of the stepping motor 54 is maintained in the excitation state corresponding to the excitation data φ1 to φ4 set in step S1531 over the time length corresponding to the timer value set in the phase update timer.
In addition, in the timer interruption after the excitation state is maintained for the time length corresponding to the set timer value in this way, if it is determined in step S1504 that the phase update timer value = “0”, the process proceeds to step S1505. Further, the timer value corresponding to the value of the next index is set in the phase update timer. Thereafter, the stepping motor 54 responds to the set timer value depending on the new excitation state among the one-phase excitation state / two-phase excitation state. Driven over time.
As described above, the one-phase excitation state / two-phase excitation state of the stepping motor 54 is alternately repeated a predetermined number of times according to the stored information of the activation time table, thereby realizing the activation rotation of the target reel.

対象リールの起動回転の終了時には、処理がステップS1501→S1503→S1504→S1505→S1506→S1507→S1508と進められる。ステップS1508以降の処理(S1508〜S1515及びS1530〜S1532)は、定速回転中に対応した処理となる。   At the end of the start rotation of the target reel, the process proceeds in steps S1501 → S1503 → S1504 → S1505 → S1506 → S1507 → S1508. The processing after step S1508 (S1508 to S1515 and S1530 to S1532) is processing corresponding to the constant speed rotation.

先ず、ステップS1508でCPU80aは、停止要求フラグFrsがONであるか否かを判定する。停止要求フラグFrsがONでなければ、CPU80aはステップS1509でインデックスセンサ55(対象リールについての)のONエッジが検出されているか否かを判定する。
インデックスセンサ55のONエッジが検出されていれば、CPU80aはステップS1510でセンサ未通過フラグFmtのクリア、図柄カウンタのクリア(「1」をセット)、及びステップカウンタへの「25」(24+1)のセットを行う。
「25」にセットされたステップカウンタの値は、ステップS1510に続くステップS1511でデクリメントされることで「24」となる。このため、原点位置101の通過に応じては、図柄カウンタの値は「1」、ステップカウンタの値は「24」となる。つまり、1番の図柄の24番目の図柄ステップ位置が指し示される。
First, in step S1508, the CPU 80a determines whether or not the stop request flag Frs is ON. If the stop request flag Frs is not ON, the CPU 80a determines whether or not the ON edge of the index sensor 55 (for the target reel) is detected in step S1509.
If the ON edge of the index sensor 55 is detected, the CPU 80a clears the sensor non-passing flag Fmt, clears the symbol counter (sets “1”), and sets “25” (24 + 1) to the step counter in step S1510. Do the set.
The value of the step counter set to “25” is decremented in step S1511 subsequent to step S1510 to become “24”. For this reason, according to the passage of the origin position 101, the value of the symbol counter is “1” and the value of the step counter is “24”. That is, the 24th symbol step position of the symbol 1 is indicated.

一方、インデックスセンサ55のONエッジが検出されていなければ、CPU80aはステップS1510をパスしてステップS1511に進む。   On the other hand, if the ON edge of the index sensor 55 is not detected, the CPU 80a passes step S1510 and proceeds to step S1511.

ステップS1511でCPU80aは、ステップカウンタの値をデクリメント(−1)し、次のステップS1512でステップカウンタの値=「0」か否かを判定する。すなわち、原点位置101の通過に応じて「24」にセットされたステップカウンタの値がタイマ割込みごとにステップS1511で減算されて「0」に達したか否かが判定される。   In step S1511, the CPU 80a decrements the value of the step counter (−1), and in the next step S1512, determines whether or not the value of the step counter = “0”. That is, it is determined whether or not the value of the step counter set to “24” in accordance with the passage of the origin position 101 is subtracted in step S1511 and reaches “0” for each timer interruption.

ステップS1512において、ステップカウンタの値=「0」でなければ(つまり図柄切れ目位置でなければ)、CPU80aは前述したステップS1530以降の処理を実行する。これにより、定速回転中においてもステッピングモータ54が1相励磁状態、2相励磁状態を交互に繰り返す態様により駆動される。但し、定速回転中においては、1相励磁状態、2相励磁状態の切替周期はタイマ割込み周期(1タイマ割込みごとの切替)となる。   In step S1512, if the value of the step counter is not “0” (that is, if it is not the symbol break position), the CPU 80a executes the processing after step S1530 described above. As a result, the stepping motor 54 is driven in such a manner that the one-phase excitation state and the two-phase excitation state are alternately repeated even during constant speed rotation. However, during constant speed rotation, the switching cycle between the one-phase excitation state and the two-phase excitation state is a timer interrupt cycle (switching for each timer interrupt).

また、ステップS1512においてステップカウンタの値=「0」であれば、CPU80aはステップS1513に進み、ステップカウンタへの「24」のセット、及び図柄カウンタの値のインクリメント(+1)を行った上で、ステップS1514で図柄カウンタの値が「22」以上であるか否かを判定する。これは、図柄カウンタが異常な値を示しているか否かを判定していることに相当する(回転リール4における図柄数は「21」)。
図柄カウンタの値が「22」以上であれば、CPU80aはステップS1515で回転リール4の再起動のための処理を行う。具体的には、対象リールについてのセンサ未通過フラグFmt、及び起動要求フラグFrrをセットすると共に、回転中フラグFG2、及び起動中フラグFG1をクリアする。この結果、次回のタイマ割込みでは処理がステップS1501→S1502を経由して実行されるものとなり、対象リールが再起動される。
ステップS1515の処理を実行すると、CPU80aはステップS1530に処理を進める。
If the value of the step counter = “0” in step S1512, the CPU 80a proceeds to step S1513, sets “24” to the step counter, and increments (+1) the value of the symbol counter. In step S1514, it is determined whether the value of the symbol counter is “22” or more. This is equivalent to determining whether or not the symbol counter shows an abnormal value (the number of symbols on the rotating reel 4 is “21”).
If the value of the symbol counter is “22” or more, the CPU 80a performs processing for restarting the rotating reel 4 in step S1515. Specifically, the sensor non-passing flag Fmt and the activation request flag Frr for the target reel are set, and the rotation flag FG2 and the activation flag FG1 are cleared. As a result, in the next timer interrupt, the process is executed via steps S1501 → S1502, and the target reel is restarted.
When the process of step S1515 is executed, the CPU 80a advances the process to step S1530.

一方、ステップS1514において図柄カウンタの値が「22」以上でなければ、CPU80aは異常時に対応した上記ステップS1515の処理はパスして、ステップS1530以降の処理を実行する。   On the other hand, if the value of the symbol counter is not “22” or more in step S1514, the CPU 80a passes the process of step S1515 corresponding to the time of abnormality and executes the processes after step S1530.

なお、ステップS1515による再起動のための処理は、ステップS1508で停止要求フラグFrsがOFFであると判定された場合に実行される。この点からも理解されるように、本例のスロットマシンでは、停止のための処理の開始時以降には回転リール4の再起動が行われない。   Note that the process for restart in step S1515 is executed when it is determined in step S1508 that the stop request flag Frs is OFF. As understood from this point, in the slot machine of this example, the rotating reel 4 is not restarted after the start of the process for stopping.

続いて、メイン処理側で停止要求フラグFrsがセットされた以降に実行される処理について説明する。換言すれば、停止図柄への到達が検知された以降に実行される処理である。
停止要求フラグFrsがセットされた直後のタイマ割込みでは、ステップS1508で停止要求フラグFrs=「ON」と判定され、ステップS1516以降の処理が実行される。
Next, processing that is executed after the stop request flag Frs is set on the main processing side will be described. In other words, this process is executed after the arrival of the stop symbol is detected.
In the timer interruption immediately after the stop request flag Frs is set, it is determined in step S1508 that the stop request flag Frs = “ON”, and the processing from step S1516 is executed.

先ず、ステップS1516でCPU80aは、ステップカウンタの値をデクリメントした上で、ステップS1517でステップカウンタの値が「8」未満であるか否かを判定する。これは、現在のステップ位置が停止図柄における前述した「停止許可ステップ位置」(本例では7番のステップ位置)以降の図柄ステップ位置(ステップ番号が7以下のステップ位置)に到達したか否かを判定していることに相当する。
ステップカウンタの値が「8」未満でなければ、CPU80aはステップS1530以降の処理を実行する。すなわち、この場合は対象リールが定速回転状態で維持される。
一方、ステップカウンタの値が「8」未満であれば、CPU80aはステップS1518に進み、以降で説明する停止のための処理を実行することになる。
First, in step S1516, the CPU 80a decrements the value of the step counter, and in step S1517, determines whether the value of the step counter is less than “8”. This is whether or not the current step position has reached the symbol step position (step position whose step number is 7 or less) after the aforementioned “stop permission step position” (in this example, the seventh step position) in the stop symbol. This corresponds to the determination.
If the value of the step counter is not less than “8”, the CPU 80a executes processing subsequent to step S1530. That is, in this case, the target reel is maintained in a constant speed rotation state.
On the other hand, if the value of the step counter is less than “8”, the CPU 80a proceeds to step S1518 and executes a process for stopping described below.

ここで、上記のステップS1517の処理は、先の図21に示したステップS606で停止要求フラグFrs=ONとされたこと(換言すればステップS605で停止図柄に到達していることが確認されたこと)に応じて実行されるものである。このとき、ステップS602からステップS603に処理が遷移した時点(停止操作が行われた時点)での図柄ステップ位置が7番よりも十分に手前(ステップ番号的に大きい)であった場合、或いは5番以下であって該ステップS603の処理で次の図柄まで待機が行われた場合や、ステップS604で決定された滑りコマ数が1以上であった場合には、ステップS606で停止図柄への到達が確認されるときの図柄ステップ位置は7番よりも十分に手前であることになる。従って、これらのケースでは、ステップS1516からステップS1517に処理が遷移した時点での図柄ステップ位置は7番以上となる。
一方、ステップS602からステップS603に処理が遷移した時点での図柄ステップ位置が6番であり且つステップS604で決定された滑りコマ数が「0」であった場合には、ステップS606で停止図柄への到達が確認されるときの図柄ステップ位置は6番となるため、ステップS1516からステップS1517に処理が遷移した時点での図柄ステップ位置は6番以下となる。
従って、ブレーキの開始タイミングは、基本的には停止図柄における7番以下の図柄ステップ位置とされるが、後者のケース、すなわち停止操作時の図柄ステップ位置が6番で且つ滑りコマ数が「0」のケースでは6番以下の図柄ステップ位置とされる。
Here, it is confirmed that the processing of the above step S1517 has the stop request flag Frs = ON in step S606 shown in FIG. 21 (in other words, the stop symbol has been reached in step S605). To be executed according to the above). At this time, when the symbol step position at the time when the process transitions from step S602 to step S603 (when the stop operation is performed) is sufficiently nearer than 7th (step number is larger) or 5 If the number is less than or equal to the number of sliding symbols determined in step S604, or if the number of sliding symbols determined in step S604 is 1 or more, the stop symbol is reached in step S606. The symbol step position when is confirmed is well before 7th. Therefore, in these cases, the symbol step position at the time when the process transitions from step S1516 to step S1517 is No. 7 or more.
On the other hand, if the symbol step position is No. 6 and the number of sliding symbols determined in step S604 is “0” when the process transitions from step S602 to step S603, the stop symbol is entered in step S606. The symbol step position when the arrival is confirmed is No. 6, so that the symbol step position at the time when the process transitions from Step S1516 to Step S1517 is No. 6 or less.
Therefore, the brake start timing is basically set to the symbol step position of No. 7 or less in the stop symbol, but in the latter case, that is, the symbol step position at the time of the stop operation is No. 6, and the number of sliding symbols is “0”. In the case of "", the symbol step position is No. 6 or less.

CPU80aはステップS1518で、励磁ポインタPTの値が奇数であるか否かを判定する。これは、対象リールについてのステッピングモータ54の励磁状態が2相励磁状態であるか否かを判定していることに相当する(図11Cを参照)。図38で説明したように本例では回転リール4の停止にあたり2相励磁状態を所定時間維持した上で全相励磁によるブレーキをかけるため、ステップS1518の判定処理を設けている。   In step S1518, the CPU 80a determines whether the value of the excitation pointer PT is an odd number. This corresponds to determining whether the excitation state of the stepping motor 54 for the target reel is the two-phase excitation state (see FIG. 11C). As described with reference to FIG. 38, in this example, in order to apply the brake by all-phase excitation while maintaining the two-phase excitation state for a predetermined time when the rotating reel 4 is stopped, the determination process of step S1518 is provided.

ステップS1518において励磁ポインタPTの値が奇数でなければ、CPU80aはステップS1530以降の処理を実行する(つまり定速回転状態が維持される)。
一方、励磁ポインタPTの値が奇数であれば、CPU80aはステップS1519で第1停止処理中フラグFG3をセットした上で、ステップS1520で相更新タイマをセットする。具体的に、本例では2相励磁状態を維持するための時間として2.98msに相当するタイマ割込み数(「2」)を相更新タイマにセットする。
If the value of the excitation pointer PT is not an odd number in step S1518, the CPU 80a executes the processing after step S1530 (that is, the constant speed rotation state is maintained).
On the other hand, if the value of the excitation pointer PT is an odd number, the CPU 80a sets the first stop processing flag FG3 in step S1519 and then sets the phase update timer in step S1520. Specifically, in this example, the number of timer interrupts (“2”) corresponding to 2.98 ms is set in the phase update timer as the time for maintaining the two-phase excitation state.

続くステップS1521でCPU80aは、相更新タイマ値をデクリメントし、ステップS1522で相更新タイマ値=「0」であるか否かを判定する。相更新タイマ値=「0」でなければ、CPU80aはステップS1532に進む。すなわち、これにより2相励磁状態が維持(ホールド)される。
一方、相更新タイマ値=「0」である場合、すなわち2タイマ割込み分の2相励磁状態のホールドが完了した場合、CPU80aはステップS1523に進み、第2停止処理中フラグFG4をセットする。さらに、続くステップS1524でCPU80aは、励磁データφ1〜φ4として全相ONに対応したデータをセットすると共に全相ON用のタイマ値の相更新タイマへのセットを行い、ステップS1531に進む。これにより、対象リールについて全相ONによるブレーキ制御が開始される。
本例では、全相ONホールドにあたってステップS1524でセットするタイマ値は「255」とされる。すなわち、全相ONホールドの時間長は約380msとされる。
In subsequent step S1521, CPU 80a decrements the phase update timer value, and determines in step S1522 whether or not phase update timer value = “0”. If the phase update timer value is not “0”, the CPU 80a proceeds to step S1532. That is, this maintains (holds) the two-phase excitation state.
On the other hand, when the phase update timer value = “0”, that is, when the hold of the two-phase excitation state for two timer interrupts is completed, the CPU 80a proceeds to step S1523 and sets the second stop processing flag FG4. Further, in subsequent step S1524, CPU 80a sets data corresponding to all-phase ON as excitation data φ1 to φ4, sets the timer value for all-phase ON to the phase update timer, and proceeds to step S1531. Thereby, the brake control by all-phase ON is started about the object reel.
In this example, the timer value set in step S1524 for all-phase ON hold is “255”. That is, the time length of the all-phase ON hold is about 380 ms.

上記のように全相ONがセットされた以降のタイマ割込みでは、第2停止処理中フラグFG4がセットされたことに応じて、処理がステップS1501→S1525と進められる。ステップS1525でCPU80aは、相更新タイマ値をデクリメントし、ステップS1526で相更新タイマ値=「0」か否かを判定する。相更新タイマ値=「0」でなければ、CPU80aはステップS1532に進む。すなわち、相更新タイマ値=「0」となるまで全相ON状態が維持される。   In the timer interruption after all-phase ON is set as described above, the process proceeds from step S1501 to S1525 in response to the setting of the second stop processing flag FG4. In step S1525, the CPU 80a decrements the phase update timer value, and determines in step S1526 whether or not the phase update timer value = “0”. If the phase update timer value is not “0”, the CPU 80a proceeds to step S1532. That is, the all-phase ON state is maintained until the phase update timer value = “0”.

一方、相更新タイマ値=「0」であれば、CPU80aはステップS1527に進み、励磁ポインタPTの値に所定値を加算する。具体的に、本例では「4」を加算する。なお、このように全相励磁によるブレーキ制御の終了後に励磁ポインタPTの値に所定値を加算する意義については改めて説明する。   On the other hand, if the phase update timer value = “0”, the CPU 80a proceeds to step S1527 and adds a predetermined value to the value of the excitation pointer PT. Specifically, “4” is added in this example. The significance of adding a predetermined value to the value of the excitation pointer PT after the end of the brake control by all-phase excitation will be described again.

その上で、CPU80aはステップS1528で励磁データφ1〜φ4として全相OFFに対応するデータをセットし、ステップS1529でステータスのクリア処理、具体的には起動要求フラグFrr、起動中フラグFG1、回転中フラグGF2、停止要求フラグFrs、第1停止処理中フラグFG3、及び第2停止処理中フラグFG4をクリアする処理を実行して、ステップS1531の励磁データセット処理を実行する。これにより、全相励磁によるブレーキ制御の終了に応じて、ステッピングモータ54の励磁状態は全相OFFの状態に移行され、さらに回転リール4の起動・停止に係る各種フラグがOFFに切り替えられる。これら各種フラグのOFFにより、以降もステッピングモータ54の励磁状態は全相OFFの状態で維持される(S1501→S1533→S1531のパスを参照)。   After that, the CPU 80a sets data corresponding to all-phase OFF as excitation data φ1 to φ4 in step S1528, and clears the status in step S1529, specifically, the activation request flag Frr, the activation flag FG1, and the rotation in progress. Processing for clearing the flag GF2, the stop request flag Frs, the first stop processing flag FG3, and the second stop processing flag FG4 is executed, and the excitation data set processing in step S1531 is executed. Thereby, according to the end of the brake control by the all-phase excitation, the excitation state of the stepping motor 54 is shifted to the all-phase OFF state, and various flags relating to the start / stop of the rotary reel 4 are switched to OFF. By turning off these various flags, the excitation state of the stepping motor 54 is maintained in an all-phase OFF state (see the path S1501 → S1533 → S1531).

ここで、回転リール4については、ステッピングモータ54に対するブレーキ制御を開始しても、ブレーキをかけたステップ位置で停止するものとはならず、或る程度進んだステップ位置において停止する。具体的に、本例のスロットマシンにおいては、ブレーキをかけたステップ位置(全相ONとしたステップ位置)から4ステップ進んだステップ位置で回転リール4が停止する(定常回転からの停止時)。
このため本例では、ブレーキ制御に応じて回転リール4が停止した以降において、励磁ポインタPTの値を「+4」している。具体的に、上記したステップS1527の処理によると、所定時間にわたる全相ONホールドが終了したタイミングで励磁ポインタPTの値が「+4」される。
Here, even if the brake control for the stepping motor 54 is started, the rotating reel 4 does not stop at the step position where the brake is applied, but stops at a step position advanced to some extent. Specifically, in the slot machine of this example, the rotating reel 4 stops at the step position advanced by 4 steps from the step position where the brake is applied (step position where all phases are turned on) (when stopped from the steady rotation).
For this reason, in this example, the value of the excitation pointer PT is set to “+4” after the rotating reel 4 is stopped according to the brake control. Specifically, according to the processing in step S1527 described above, the value of the excitation pointer PT is “+4” at the timing when the all-phase ON hold for a predetermined time is completed.

これにより、ブレーキをかけたステップ位置と実際に回転リール4が停止したステップ位置とのずれに応じて励磁ポインタPTの位置を進めることができ、正確なリール制御の実現を図ることができる。   As a result, the position of the excitation pointer PT can be advanced in accordance with the difference between the step position where the brake is applied and the step position where the rotary reel 4 is actually stopped, so that accurate reel control can be realized.

なお、上記では励磁ポインタPTの位置を所定数進めた位置に更新するタイミングを全相ONホールドの終了時点とする例を挙げたが、該タイミングは、対象リールの次回の起動回転が更新後の励磁ポインタPTの位置を基準として開始されるように設定されればよく、例えば、ステップS1502のタイミングとする等、他のタイミングとすることもできる。
In the above example, the timing for updating the position of the excitation pointer PT to a position advanced by a predetermined number is given as the end point of the all-phase ON hold, but this timing is the time after the next start rotation of the target reel is updated. The timing may be set so as to start with the position of the excitation pointer PT as a reference. For example, the timing may be other timing such as the timing of step S1502.

<12.実施の形態のまとめ>

上記のように実施の形態の遊技機(スロットマシン)は、メダル投入口(同12)から投入されたメダルを取り込むための取込経路(取込側流路21b)と、メダル投入口から投入されたメダルを返却するための返却経路(排出側流路21c)と、メダル投入口から投入されたメダルの流下経路を、返却経路または取込経路のいずれかの流下経路に切り替える流路切替手段(流路切替板21d、ブロッカーソレノイド69)と、取込経路において配置された第1投入メダルセンサ(同68a)、及び第1投入メダルセンサよりも取込経路における下流側に配置された第2投入メダルセンサ(同68b)と、第1投入メダルセンサと第2投入メダルセンサによるメダルの検出態様に基づき、メダル投入についてのエラー判定を行うエラー判定手段(CPU80a)とを備える。
そして、エラー判定手段は、メダルの検出態様が、第1及び第2投入メダルセンサの双方がメダルを非検出である第1状態(順番「0」)、第1投入メダルセンサがメダルを検出し第2投入メダルセンサがメダルを非検出である第2状態(順番「1」)、第1及び第2投入メダルセンサの双方がメダルを検出している第3状態(順番「2」)、第1投入メダルセンサがメダルを非検出で第2投入メダルセンサがメダルを検出している第4状態(順番「3」)、の順番で遷移する検出態様である場合に正常にメダルが通過したとの判定をする一方、前記順番とは異なる状態遷移による検出態様である場合にエラーとの判定をする検出順序判定手段を含み、検出順序判定手段は、第2状態の次に第1状態に遷移した場合には、エラーではないとの判定をしている(図31等を参照)。
<12. Summary of Embodiment>

As described above, in the gaming machine (slot machine) according to the embodiment, the take-in route (take-in channel 21b) for taking in the medal inserted from the medal slot (12) and the slot from the medal slot. Switching means for switching the return path (discharge side flow path 21c) for returning the selected medal and the flow path of the medal inserted from the medal slot to either the return path or the intake path (The flow path switching plate 21d, the blocker solenoid 69), the first insertion medal sensor (68a) arranged in the take-in path, and the second arranged in the downstream in the take-in path from the first input medal sensor. An error determination unit that makes an error determination on medal insertion based on the medal detection mode by the inserted medal sensor (68b) and the first inserted medal sensor and the second inserted medal sensor. And a (CPU80a).
Then, the error determination means is configured such that the medal detection mode is a first state in which both the first and second inserted medal sensors do not detect the medal (order “0”), and the first inserted medal sensor detects the medal. The second state where the second inserted medal sensor does not detect the medal (order “1”), the third state where both the first and second inserted medal sensors detect the medal (order “2”), the second If the medal has passed normally in the detection mode in which the first medal sensor detects no medal and the second medal sensor detects the medal in the fourth state (order "3"), the order changes. And a detection order determination means for determining an error when the detection mode is based on a state transition different from the above order, and the detection order determination means transits to the first state next to the second state. If there is no error It is a constant (see Figure 31, etc.).

これにより、投入メダルエラー検知の適正性が担保され、適正なメダル投入エラー判定を行うことができる。   Thereby, the adequacy of the inserted medal error detection is ensured, and an appropriate medal insertion error determination can be performed.

また、実施の形態の遊技機は、1ゲームに対して所定数の賭数を設定することによりゲームが開始可能となると共に、表示態様を変化させることが可能な可変表示装置(図柄回転ユニット3)の表示結果が導出表示されることにより1ゲームが終了し、該可変表示装置の表示結果に応じて入賞が発生可能とされた遊技機であって、メダル投入口から投入されたメダルを賭数の設定に用いるために取り込むための取込経路と、取込経路において配置された第1投入メダルセンサ、及び第1投入メダルセンサよりも取込経路における下流側に配置された第2投入メダルセンサと、メダル投入口を介して取り込まれクレジットとして貯留されているメダルが賭数の設定に用いられるように指示するためのベット操作手段(マックスベットボタン16)と、ベット操作手段の操作受付を有効又は無効に制御する操作受付制御手段(CPU80a)とを備えている。
そして、操作受付制御手段は、メダルがあと1枚取り込まれるとメダルの受付が禁止される受付禁止前状態において、第1又は第2投入メダルセンサの何れかがメダルを検出中である場合にはベット操作手段の操作受付を無効とする一方で、受付禁止前状態以外の状態においては、第1又は第2投入メダルセンサの何れかがメダルを検出中であっても、ベット操作手段の操作受付を無効としない(図27等を参照)。
In addition, the gaming machine of the embodiment can start a game by setting a predetermined number of bets for one game, and can change a display mode (a symbol rotation unit 3). ) Display result is derived and displayed, and the game is completed, and a winning can be generated according to the display result of the variable display device. A take-in path for taking in for use in setting the number, a first throw-in medal sensor arranged in the take-in path, and a second throw-in medal arranged downstream in the take-in path from the first throw-in medal sensor Bet operation means (Max bet button 16 for instructing that medals taken in through the medal insertion slot and stored as credits are used for setting the number of bets. When, an operation and reception control means (CPU 80a) to enable or disable controls operation acceptance of the bet operation means.
Then, the operation reception control unit is configured to detect a medal when either the first or second inserted medal sensor is in a pre-reception prohibition state where reception of a medal is prohibited when one more medal is taken in. While accepting operation of the bet operation means is disabled, in any state other than the state before acceptance prohibition, even if either the first or second inserted medal sensor is detecting a medal, the operation acceptance of the bet operation means is accepted. Is not invalidated (see FIG. 27, etc.).

これにより、メダルの飲み込み防止を図ることができる。   Thereby, it is possible to prevent swallowing of medals.

また、実施の形態の遊技機は、メダル投入口から投入されたメダルを取り込むための取込経路と、取込経路に沿って配置された複数の投入メダルセンサと、クレジットとして貯留されたメダルの精算を指示するためのメダル精算操作手段(精算ボタン14)と、メダル精算操作手段に対する操作に基づき、メダルの精算のための処理を行う精算処理手段(CPU80a)とを備えている。
そして、精算処理手段は、複数の投入メダルセンサの何れかがメダルを検出中である場合に、メダル精算操作手段を無効化している(図35等を参照)。
In addition, the gaming machine according to the embodiment includes a take-in route for taking in medals inserted from a medal slot, a plurality of inserted medal sensors arranged along the take-in route, and a medal stored as credits. A medal settlement operation means (the settlement button 14) for instructing settlement is provided, and a settlement processing means (CPU 80a) for performing a process for the medal settlement based on an operation on the medal settlement operation means.
Then, the settlement processing unit invalidates the medal settlement operation unit when any of the plurality of inserted medal sensors is detecting a medal (see FIG. 35 and the like).

これにより、メダルの飲み込み防止を図ることができる。   Thereby, it is possible to prevent swallowing of medals.

また、実施の形態の遊技機は、1ゲームに対して所定数の賭数を設定することによりゲームが開始可能となると共に、表示態様を変化させることが可能な可変表示装置の表示結果が導出表示されることにより1ゲームが終了し、該可変表示装置の表示結果に応じて入賞が発生可能とされた遊技機であって、メダル投入口から投入されたメダルを賭数の設定に用いるために取り込むための取込経路と、取込経路において配置された第1投入メダルセンサ、及び第1投入メダルセンサよりも取込経路における下流側に配置された第2投入メダルセンサと、第1投入メダルセンサと前記第2投入メダルセンサによるメダルの検出態様が正常である場合にメダルが投入されたことを判定する投入判定手段(CPU80a)と、賭数が所定数に満たない状態において投入判定手段によりメダルが投入されたと判定されたことに応じて、賭数を増加させる処理を行う投入メダルベット処理手段(CPU80a)と、クレジットとして貯留されているメダルが所定数の賭数の設定に用いられるように指示するためのマックスベット操作手段と、マックスベット操作手段に対する操作に基づき、クレジットとして貯留されているメダル数が許容する範囲内において、賭数を所定数に達するまで増加させるためのマックスベット処理を行うマックスベット処理手段(CPU80a)とを備えている。
そして、マックスベット処理手段は、第1又は第2投入メダルセンサの何れかがメダルを検出中においてマックスベット操作手段が操作された場合は、投入判定手段により該メダルが投入されたと判定されてから、マックスベット処理を行っている(図34等を参照)。
In addition, in the gaming machine according to the embodiment, the game can be started by setting a predetermined number of bets per game, and the display result of the variable display device capable of changing the display mode is derived. A game machine in which one game is ended by being displayed, and a winning can be generated according to the display result of the variable display device, in order to use a medal inserted from a medal insertion slot for setting a bet number. , A first insertion medal sensor arranged in the acquisition route, a second insertion medal sensor arranged downstream of the first insertion medal sensor, and a first insertion Insertion determination means (CPU 80a) for determining that a medal has been inserted when the medal detection mode by the medal sensor and the second insertion medal sensor is normal, and the bet number is less than a predetermined number In the state, the inserted medal bet processing means (CPU 80a) for performing a process of increasing the bet number in response to the determination that the medal has been inserted by the insertion determining means, and a predetermined number of bets of medals stored as credits Based on the maximum bet operation means for instructing to be used for setting the value and the operation on the maximum bet operation means, the bet number is increased until the predetermined number is reached within the allowable range of the number of medals stored as credits. And a maximum bet processing means (CPU 80a) for performing a maximum bet process.
The max bet processing means, when either the first or second inserted medal sensor is detecting a medal and the max bet operation means is operated, after the insertion determining means determines that the medal has been inserted. Max bet processing is performed (see FIG. 34, etc.).

これにより、メダルの飲み込み防止を図ることができる。   Thereby, it is possible to prevent swallowing of medals.

また、実施の形態の遊技機は、1ゲームに対して所定数の賭数を設定することによりゲームが開始可能となると共に、表示態様を変化させることが可能な可変表示装置の表示結果が導出表示されることにより1ゲームが終了し、該可変表示装置の表示結果に応じて入賞が発生可能とされた遊技機であって、メダル投入口から投入されたメダルを賭数の設定に用いるために取り込むための取込経路と、メダル投入口を介して取り込まれクレジットとして貯留されているメダルが所定数の賭数の設定に用いられるように指示するためのマックスベット操作手段と、賭数が所定数に満たない状態においてマックスベット操作手段が操作された場合に、クレジットとして貯留されているメダル数が許容する範囲内において、賭数を所定数に達するまで増加させるためのマックスベット処理を行うマックスベット処理手段と、クレジットとして貯留されたメダルの精算を指示するためのメダル精算操作手段と、メダル精算操作手段に対する操作に基づき、メダルの精算のための処理を行う精算処理手段とを備えている。
そして、精算処理手段は、マックスベット処理手段がマックスベット処理を実行中である場合に、メダル精算操作手段を無効化している(図35等を参照)。
In addition, in the gaming machine according to the embodiment, the game can be started by setting a predetermined number of bets per game, and the display result of the variable display device capable of changing the display mode is derived. A game machine in which one game is ended by being displayed, and a winning can be generated according to the display result of the variable display device, in order to use a medal inserted from a medal insertion slot for setting a bet number. A betting route for taking in, a max bet operating means for instructing that a medal taken through a medal slot and stored as credit is used for setting a predetermined number of bets, When the maximum bet operation means is operated in a state where the number is less than the predetermined number, until the bet number reaches the predetermined number within the range allowed by the number of medals stored as credits Max bet processing means for performing max bet processing for adding, medal settlement operating means for instructing settlement of medals stored as credits, and processing for medal settlement based on operations on the medal settlement operation means And a settlement processing means for performing.
The settlement processing unit invalidates the medal settlement operation unit when the maximum bet processing unit is executing the maximum bet processing (see FIG. 35 and the like).

これにより、メダルの飲み込み防止を図ることができる。   Thereby, it is possible to prevent swallowing of medals.

また、実施の形態の遊技機は、1ゲームに対して所定数の賭数を設定することによりゲームが開始可能となると共に、表示態様を変化させることが可能な可変表示装置の表示結果が導出表示されることにより1ゲームが終了し、該可変表示装置の表示結果に応じて入賞が発生可能とされた遊技機であって、メダル投入口から投入されたメダルを賭数の設定に用いるために取り込むための取込経路と、取込経路において配置された第1投入メダルセンサ、及び第1投入メダルセンサよりも取込経路における下流側に配置された第2投入メダルセンサと、第1投入メダルセンサと第2投入メダルセンサによるメダルの検出態様が正常である場合にメダルが投入されたことを判定する投入判定手段と、賭数が所定数に満たない状態において投入判定手段によりメダルが投入されたと判定されたことに応じて、賭数を増加させる処理を行う投入メダルベット処理手段と、クレジットとして貯留されているメダルが前記所定数の賭数の設定に用いられるように指示するためのマックスベット操作手段と、マックスベット操作手段に対する操作に基づき、クレジットとして貯留されているメダル数が許容する範囲内において、賭数を所定数に達するまで増加させるためのマックスベット処理を行うマックスベット処理手段とを備えている。
そして、投入メダルベット処理手段は、マックスベット処理手段がマックスベット処理を実行中においてもメダル投入口を介したメダルの投入受け付けを有効とし、マックスベット処理手段は、第1投入メダルセンサ又は第2投入メダルセンサの何れかがメダルを検出中である場合はマックスベット処理を中断し、投入判定手段により該メダルが投入されたと判定されてからマックスベット処理を再開し、中断の間に賭数が所定数に至った場合はマックスベット処理を終了している(図27及び図28等を参照)。
In addition, in the gaming machine according to the embodiment, the game can be started by setting a predetermined number of bets per game, and the display result of the variable display device capable of changing the display mode is derived. A game machine in which one game is ended by being displayed, and a winning can be generated according to the display result of the variable display device, in order to use a medal inserted from a medal insertion slot for setting a bet number. , A first insertion medal sensor arranged in the acquisition route, a second insertion medal sensor arranged downstream of the first insertion medal sensor, and a first insertion Insertion determination means for determining that a medal has been inserted when the medal detection mode by the medal sensor and the second insertion medal sensor is normal, and insertion determination in a state where the bet number is less than the predetermined number The inserted medal bet processing means for performing a process of increasing the bet number in response to the determination that the medal has been inserted by the stage, and the medal stored as credit is used for setting the predetermined number of bets. Max bet operation means for increasing the bet number until reaching a predetermined number within a range permitted by the number of medals stored as credits based on an operation on the max bet operation means Max bet processing means for performing
The inserted medal bet processing means validates the medal insertion acceptance through the medal insertion slot even when the max bet processing means is executing the max bet processing. If any of the inserted medal sensors is detecting a medal, the max betting process is interrupted, and the max betting process is resumed after it is determined by the inserting determining means that the medal has been inserted. When the predetermined number is reached, the max betting process is finished (see FIGS. 27 and 28).

これにより、メダルの飲み込み防止を図ることができる。   Thereby, it is possible to prevent swallowing of medals.

また、実施の形態の遊技機は、回転方向に沿って複数の図柄が表示された回胴(回転リール4)と、複数の励磁相を具備するモータにより、回胴を所定のステップ角を最小回転単位として回転駆動する回転駆動手段(ステッピングモータ54、回胴モータ駆動部85)と、遊技動作を進行させるための処理を実行する制御手段(CPU80a)とを備えている。
そして、制御手段は、回胴の回転開始命令に応じて回胴を徐々に加速させるように起動させる起動処理を行う回胴起動手段と、起動処理の後、回胴を定常回転させる定常回転手段と、定常回転中において回胴の有効な回転停止操作が行われたことに応じて、該回転停止操作が行われたときの図柄位置に基づいて所定の最大滑りコマ範囲内で停止位置を決定する停止位置決定手段と、停止位置決定手段が決定した停止位置に対応する図柄の特定の停止ステップ位置に達したことに応じて、回胴を停止させるための停止制御を開始する停止手段とを含む。
また、回胴起動手段及び定常回転手段は、モータの励磁相ごとにセットされるべき励磁データを循環的に指し示す励磁相ポインタ(励磁ポインタPT)を用いて、該励磁相ポインタが指し示す励磁データに基づく駆動信号を逐次モータに出力して回胴を回転させる。
さらに、制御手段は、停止手段が停止制御を開始した以降において、励磁相ポインタの位置を停止制御が開始された時点での位置よりも所定数進めた位置に更新するポインタ位置更新手段をさらに含み、回胴起動手段は、ポインタ位置更新手段により更新された励磁相ポインタの位置を基準として起動処理を開始している(図37等を参照)。
In addition, the gaming machine of the embodiment minimizes a predetermined step angle by using a rotating drum (rotary reel 4) on which a plurality of symbols are displayed in the rotation direction and a motor having a plurality of excitation phases. Rotation drive means (stepping motor 54, rotating motor drive section 85) for rotating and driving as a rotation unit, and control means (CPU 80a) for executing processing for advancing the game operation are provided.
Then, the control means includes a rotating cylinder starting means for performing a starting process for starting to gradually accelerate the rotating cylinder according to a rotation starting command for the rotating cylinder, and a steady rotating means for rotating the rotating cylinder after the starting process. In response to the effective rotation stop operation of the rotating cylinder during steady rotation, the stop position is determined within a predetermined maximum sliding piece range based on the symbol position when the rotation stop operation is performed. Stop position determining means for performing stop control for stopping the rotating cylinder in response to reaching a specific stop step position of the symbol corresponding to the stop position determined by the stop position determining means. Including.
Further, the rotation starting means and the steady rotation means use the excitation phase pointer (excitation pointer PT) that cyclically points to the excitation data to be set for each excitation phase of the motor, and the excitation data indicated by the excitation phase pointer. The drive signal based on this is sequentially output to the motor to rotate the rotating drum.
Further, the control means further includes pointer position updating means for updating the position of the excitation phase pointer to a position advanced by a predetermined number from the position at the time when the stop control is started after the stop means starts the stop control. The spinning cylinder starting means starts the starting process based on the position of the excitation phase pointer updated by the pointer position updating means (see FIG. 37 and the like).

これにより、ブレーキをかけたステップ位置と実際に回胴が停止したステップ位置とのずれに応じて励磁相ポインタの位置を進めることができ、正確なリール制御の実現を図ることができる。   Thereby, the position of the excitation phase pointer can be advanced in accordance with the deviation between the step position where the brake is applied and the step position where the rotating cylinder actually stops, and accurate reel control can be realized.

また、実施の形態の遊技機は、回転方向に沿って複数の図柄が表示された複数の回胴と、回胴ごとに設けられ対応する前記回胴を回転駆動する複数の回転駆動手段と、遊技動作を進行させるための処理を実行する制御手段とを備えている。
そして、制御手段は、回胴の回転開始命令に応じて前記回胴を徐々に加速させるように起動させる起動処理を行う回胴起動手段と、起動処理の後、回胴を定常回転させる定常回転手段と、定常回転中において回胴の有効な回転停止操作が行われたことに応じて、該回転停止操作が行われたときの図柄位置に基づいて所定の最大滑りコマ範囲内で停止位置を決定する停止位置決定手段と、停止位置決定手段が決定した停止位置に対応する図柄位置で回胴を停止させるための停止制御を行う停止手段とを含む。
また、タイマ割込み処理において、エラーを監視してエラーの有無に応じたエラーフラグをセットするエラー監視手段と、タイマ割込み処理において、エラーフラグに応じてエラー報知のための処理を実行するエラー報知手段とを含む。
さらに、エラーフラグに基づき、回胴が回転中においてエラーの発生が認められた場合に、該回胴の回転を維持した状態で遊技動作の進行を停止し、エラーが解除されたことに応じて遊技動作の進行を再開する第1遊技進行制御手段と、エラーフラグに基づき、回転停止操作が行われてから該当する回胴が停止されるまでにエラーの発生が認められた場合に、停止制御を中断せずに該回胴を停止させ、該回胴が停止した後に遊技動作の進行を中断し、エラーが解除されたことに応じて遊技動作の進行を再開する第2遊技進行制御手段とを含んでいる(図20、図24、図25、図27、図31等を参照)。
In addition, the gaming machine of the embodiment includes a plurality of spinning cylinders on which a plurality of symbols are displayed along the rotation direction, a plurality of rotation driving units that are provided for each spinning cylinder and that rotationally drive the corresponding spinning cylinders, Control means for executing a process for advancing the game operation.
Then, the control means includes a rotation starting means for performing a starting process for starting to gradually accelerate the rotating cylinder according to a rotation start command for the rotating cylinder, and a steady rotation for rotating the rotating cylinder after the starting process. And a stop position within a predetermined maximum sliding piece range based on the symbol position when the rotation stop operation is performed in response to an effective rotation stop operation of the rotating drum during the normal rotation. Stop position determining means for determining, and stop means for performing stop control for stopping the rotating drum at a symbol position corresponding to the stop position determined by the stop position determining means.
An error monitoring unit that monitors an error in timer interrupt processing and sets an error flag according to the presence of an error, and an error notification unit that executes processing for error notification in accordance with the error flag in timer interrupt processing Including.
Further, based on the error flag, when an error is recognized while the rotating cylinder is rotating, the progress of the game operation is stopped with the rotation of the rotating cylinder maintained, and the error is released. Based on the first game progress control means for resuming the progress of the game operation and the error flag, the stop control is performed when an error is recognized between the rotation stop operation and the corresponding rotating cylinder being stopped. A second game progress control means for stopping the spinning cylinder without interrupting, interrupting the progress of the gaming operation after the spinning cylinder stops, and restarting the progress of the gaming action in response to the error being released; (See FIGS. 20, 24, 25, 27, 31 and the like).

上記構成によれば、回胴の回転中にエラーが生じた場合、回胴の回転を維持した状態で遊技動作が中断される。一方、停止操作を受け付けてから回胴が停止されるまで(滑り中)にエラーが生じた場合は、停止制御を中断せずに当該回胴が停止され、停止された後に遊技動作が中断される。そして、上記の何れの場合も、エラーが解除されると遊技動作が再開され、またエラーが発生したことに応じ即座にエラー報知が行われる(エラーフラグのセット及びエラー報知は共にタイマ割込み処理で行われるため)。
これにより、回胴の回転状況に応じた適切なエラー対処を実現することができる。
According to the above configuration, when an error occurs during rotation of the rotating drum, the game operation is interrupted while the rotation of the rotating drum is maintained. On the other hand, if an error occurs after the stop operation is accepted until the spinning cylinder is stopped (sliding), the spinning cylinder is stopped without interrupting the stop control, and the game operation is interrupted after the stopping. The In any of the above cases, when the error is released, the game operation is resumed, and an error notification is immediately performed in response to the occurrence of the error (both error flag setting and error notification are both performed by timer interrupt processing). To be done).
Thereby, it is possible to realize an appropriate error handling according to the rotation state of the rotating drum.

また、上記した遊技機においては、第1遊技進行制御手段は、遊技動作の進行の停止として、回胴の回転停止を指示するための回転停止操作の受け付けを停止し(S526及びS529を参照)、第2遊技進行制御手段は、遊技動作の進行の中断として、停止された回胴以外の回胴の回転停止操作の受け付けを中断する(S528及びS529を参照)。   Further, in the gaming machine described above, the first game progress control means stops accepting the rotation stop operation for instructing the rotation stop of the spinning cylinder as stop of the progress of the game operation (see S526 and S529). The second game progress control means interrupts the acceptance of the rotation stop operation of the spinning cylinder other than the stopped spinning cylinder as the suspension of the progress of the game operation (see S528 and S529).

上記のように遊技動作の進行の停止、中断としてそれぞれ回転停止操作の受け付けを停止、中断することで、遊技動作の進行(ゲームの進行)を確実に停止、中断することができる。   As described above, by stopping and interrupting the acceptance of the rotation stop operation as the stop and stop of the progress of the game operation, the progress of the game operation (game progress) can be reliably stopped and interrupted.

また、実施の形態の遊技機は、1ゲームに対して所定数の賭数を設定することによりゲームが開始可能となると共に、表示態様を変化させることが可能な可変表示装置の表示結果が導出表示されることにより1ゲームが終了し、該可変表示装置の表示結果に応じて入賞が発生可能とされた遊技機であって、ゲームを進行させるための処理を実行する制御手段(CPU80a)と、制御手段による情報の読み出し/書き込みが可能とされ、第1の領域(第1のメモリ領域)と第2の領域(第2のメモリ領域)とを有する記憶手段と、を備えている。
そして、制御手段は、エラーを監視して、エラーの有無に応じてエラー監視フラグを記憶手段における第2の領域にセットする監視手段と、エラー監視フラグを読み出してエラーが認められた場合に、記憶手段における第1の領域にエラーフラグをセットする確認手段と、エラーフラグに応じてエラー報知のための処理を実行する報知手段とを含んでいる(図13、図14、図27、図31等を参照)。
In addition, in the gaming machine according to the embodiment, the game can be started by setting a predetermined number of bets per game, and the display result of the variable display device capable of changing the display mode is derived. Control means (CPU 80a) for executing a process for advancing the game, which is a gaming machine in which one game is ended by being displayed and winning can be generated according to the display result of the variable display device. The control means can read / write information, and includes a storage means having a first area (first memory area) and a second area (second memory area).
Then, the control means monitors the error and sets the error monitoring flag in the second area in the storage means according to the presence or absence of the error, and when the error is recognized by reading the error monitoring flag, It includes confirmation means for setting an error flag in the first area in the storage means, and notification means for executing processing for error notification in accordance with the error flag (FIGS. 13, 14, 27, 31). Etc.).

これにより、不正対策処理のプログラムを第1のメモリ領域に置く必要性を無くし、領域内に格納可能なプログラム容量の拡大化を図って領域内プログラムによる処理内容の充実化を図る等、従来にない新しい遊技機を提供することができる。
This eliminates the need to place the anti-fraud processing program in the first memory area, expands the capacity of the program that can be stored in the area, and enhances the processing contents of the program in the area. There can be no new gaming machines.

<13.まとめ及び変形例>

以上で説明したCPU80aの処理により、遊技動作の進行を制御負荷の低減を図りつつ効率的に実現できる。また、遊技動作の進行に要するメモリ容量も削減することができる。
<13. Summary and Modification>

By the processing of the CPU 80a described above, the progress of the game operation can be efficiently realized while reducing the control load. In addition, the memory capacity required for the progress of the game operation can be reduced.

なお、本発明は実施の形態で挙げた例に限らず多様な変形例や適用例が考えられる。
例えば上記では、本発明がスロットマシンに適用される例を示したが、本発明は遊技機に広く好適に適用できる。
Note that the present invention is not limited to the examples given in the embodiment, and various modifications and application examples are conceivable.
For example, in the above, an example in which the present invention is applied to a slot machine has been shown, but the present invention can be applied to a wide range of gaming machines.

また、上記では、賭数の設定を指示する操作手段としてマックスベットボタン14を例示したが、賭数の設定を1枚単位で指示可能なベットボタンが設けられてもよく、その場合にも本発明は好適に適用できる。   In the above description, the maximum bet button 14 is illustrated as an operation means for instructing the setting of the bet number. However, a bet button capable of instructing the setting of the bet number in units of one sheet may be provided. The invention can be suitably applied.

1…本体ケース
2…前面パネル
3…図柄回転ユニット
4a〜4c…回転リール(回胴)
5…メダル払出装置
5a…メダルタンク
5b…払出ケース
5c…払出口
5d…超過メダル導出部
6…補助タンク
9…LED群
10…払出表示部
11…貯留枚数表示部
12…メダル投入口
13…返却ボタン
14…精算ボタン
16…マックスベットボタン
17…スタートレバー
18a〜18c…停止ボタン
19…受け皿
20…メダル排出口
21…メダルセレクタ
21a…投入流路
21b…取込側流路
21c…排出側流路
21d…流路切替板
21da…軸
21db…上端部
21e…凹部
22…返却通路
40…主制御基板
54a…第1回胴ステッピングモータ
54b…第2回胴ステッピングモータ
54c…第3回胴ステッピングモータ
54r…ロータ
55a…第1回胴インデックスセンサ
55b…第2回胴インデックスセンサ
55c…第3回胴インデックスセンサ
67…セレクタセンサ
68…投入メダル関連センサ
68a…第1投入メダルセンサ
68b…第2投入メダルセンサ
68c…通過後センサ
69…ブロッカーソレノイド
75…払出モータ
76…メダル払出センサ
80…コントローラ
80a…CPU
80b…ROM
80c…RAM
85…回胴モータ駆動部
101…原点位置
DESCRIPTION OF SYMBOLS 1 ... Main body case 2 ... Front panel 3 ... Symbol rotation unit 4a-4c ... Rotary reel (rotating cylinder)
DESCRIPTION OF SYMBOLS 5 ... Medal payout device 5a ... Medal tank 5b ... Payout case 5c ... Discharge outlet 5d ... Excess medal derivation part 6 ... Auxiliary tank 9 ... LED group 10 ... Discharge display part 11 ... Stored number display part 12 ... Medal slot 13 ... Return Button 14 ... Settlement button 16 ... Max bet button 17 ... Start lever 18a-18c ... Stop button 19 ... Dish 20 ... Medal outlet 21 ... Medal selector 21a ... Input channel 21b ... Intake channel 21c ... Discharge channel 21d ... Channel switching plate 21da ... Shaft 21db ... Upper end 21e ... Recess 22 ... Return passage 40 ... Main control board 54a ... First cylinder stepping motor 54b ... Second cylinder stepping motor 54c ... Third cylinder stepping motor 54r ... Rotor 55a ... 1st cylinder index sensor 55b ... 2nd cylinder index sensor 5c ... 3rd cylinder index sensor 67 ... selector sensor 68 ... inserted medal related sensor 68a ... first inserted medal sensor 68b ... second inserted medal sensor 68c ... post-pass sensor 69 ... blocker solenoid 75 ... payout motor 76 ... medal payout sensor 80 ... Controller 80a ... CPU
80b ... ROM
80c ... RAM
85: Spindle motor drive unit 101: Origin position

本発明に係る遊技機は、回転方向に沿って複数の図柄が表示された回胴と、複数の励磁相を具備するモータにより、前記回胴を所定のステップ角を最小回転単位として回転駆動する回転駆動手段と、遊技動作を進行させるための処理を実行する制御手段と、を備え、前記制御手段は、前記回胴の回転開始命令に応じて前記回胴を徐々に加速させるように起動させる起動処理を行う回胴起動手段と、前記起動処理の後、前記回胴を定常回転させる定常回転手段と、前記定常回転中において前記回胴の有効な回転停止操作が行われたことに応じて、該回転停止操作が行われたときの図柄位置に基づいて所定の最大滑りコマ範囲内で停止位置を決定する停止位置決定手段と、前記停止位置決定手段が決定した停止位置に対応する図柄の特定の停止ステップ位置に達したことに応じて、前記回胴を停止させるための停止制御を開始する停止手段と、を含み、前記回胴起動手段及び前記定常回転手段は、前記モータの前記励磁相ごとにセットされるべき励磁データを循環的に指し示す励磁相ポインタを用いて、該励磁相ポインタが指し示す前記励磁データに基づく駆動信号を逐次前記モータに出力して前記回胴を回転させ、前記制御手段は、前記停止手段が前記停止制御を行った以降において、前記励磁相ポインタの位置を前記停止制御が開始された時点での位置よりも所定数進めた位置に更新するポインタ位置更新手段をさらに含み、前記回胴起動手段は、前記ポインタ位置更新手段により更新された前記励磁相ポインタの位置を基準として前記起動処理を開始するものである。
The gaming machine according to the present invention rotationally drives the rotating drum with a predetermined step angle as a minimum rotation unit by a rotating drum having a plurality of symbols displayed along the rotation direction and a motor having a plurality of excitation phases. A rotation driving means; and a control means for executing a process for advancing the game operation, wherein the control means is activated to gradually accelerate the spinning cylinder in response to a rotation start command for the spinning cylinder. In response to an operation of stopping rotation of the rotating cylinder during the steady rotation, and a rotating means for rotating the rotating cylinder after the activation process, a rotating means for rotating the rotating cylinder after the activation process. , Stop position determining means for determining a stop position within a predetermined maximum sliding piece range based on the symbol position when the rotation stop operation is performed, and a symbol corresponding to the stop position determined by the stop position determining means Specific stops Stop means for starting the stop control for stopping the rotating cylinder in response to reaching the pop position, and the rotating cylinder starting means and the steady rotation means for each excitation phase of the motor Using the excitation phase pointer that cyclically points to the excitation data to be set to the motor, and sequentially outputting a drive signal based on the excitation data pointed to by the excitation phase pointer to the motor to rotate the cylinder, and the control means Further includes pointer position updating means for updating the position of the excitation phase pointer to a position advanced by a predetermined number of times from the position when the stop control is started after the stop means performs the stop control. The spinning cylinder starting means starts the starting process on the basis of the position of the excitation phase pointer updated by the pointer position updating means.

Claims (1)

回転方向に沿って複数の図柄が表示された回胴と、
複数の励磁相を具備するモータにより、前記回胴を所定のステップ角を最小回転単位として回転駆動する回転駆動手段と、
遊技動作を進行させるための処理を実行する制御手段と、を備え、
前記制御手段は、
前記回胴の回転開始命令に応じて前記回胴を徐々に加速させるように起動させる起動処理を行う回胴起動手段と、
前記起動処理の後、前記回胴を定常回転させる定常回転手段と、
前記定常回転中において前記回胴の有効な回転停止操作が行われたことに応じて、該回転停止操作が行われたときの図柄位置に基づいて所定の最大滑りコマ範囲内で停止位置を決定する停止位置決定手段と、
前記停止位置決定手段が決定した停止位置に対応する図柄の特定の停止ステップ位置に達したことに応じて、前記回胴を停止させるための停止制御を開始する停止手段と、を含み、
前記回胴起動手段及び前記定常回転手段は、
前記モータの前記励磁相ごとにセットされるべき励磁データを循環的に指し示す励磁相ポインタを用いて、該励磁相ポインタが指し示す前記励磁データに基づく駆動信号を逐次前記モータに出力して前記回胴を回転させ、
前記制御手段は、
前記停止手段が前記停止制御を開始した以降において、前記励磁相ポインタの位置を前記停止制御が開始された時点での位置よりも所定数進めた位置に更新するポインタ位置更新手段をさらに含み、
前記回胴起動手段は、
前記ポインタ位置更新手段により更新された前記励磁相ポインタの位置を基準として前記起動処理を開始する
遊技機。
A rotating drum with a plurality of symbols displayed along the direction of rotation;
Rotation driving means for rotating the rotating cylinder with a predetermined step angle as a minimum rotation unit by a motor having a plurality of excitation phases;
Control means for executing a process for advancing the game operation,
The control means includes
A rotating cylinder starting means for performing an activation process of starting to gradually accelerate the rotating cylinder according to a rotation start command of the rotating cylinder;
After the start-up process, steady rotating means for rotating the rotating drum regularly;
In response to the effective rotation stop operation of the rotating drum during the steady rotation, the stop position is determined within a predetermined maximum sliding piece range based on the symbol position when the rotation stop operation is performed. Stop position determining means to perform,
Stop means for starting stop control for stopping the rotating drum in response to reaching a specific stop step position of the symbol corresponding to the stop position determined by the stop position determining means,
The rotating cylinder starting means and the steady rotating means are
Using an excitation phase pointer that cyclically indicates excitation data to be set for each excitation phase of the motor, a drive signal based on the excitation data indicated by the excitation phase pointer is sequentially output to the motor, and Rotate
The control means includes
After the stop means starts the stop control, it further includes pointer position update means for updating the position of the excitation phase pointer to a position advanced a predetermined number of times from the position at the time when the stop control was started,
The rotating cylinder starting means is
A game machine that starts the start-up process based on the position of the excitation phase pointer updated by the pointer position update means.
JP2015140740A 2015-07-14 2015-07-14 Game machine Pending JP2017018492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015140740A JP2017018492A (en) 2015-07-14 2015-07-14 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015140740A JP2017018492A (en) 2015-07-14 2015-07-14 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017076199A Division JP2017136428A (en) 2017-04-06 2017-04-06 Game machine

Publications (1)

Publication Number Publication Date
JP2017018492A true JP2017018492A (en) 2017-01-26

Family

ID=57887138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015140740A Pending JP2017018492A (en) 2015-07-14 2015-07-14 Game machine

Country Status (1)

Country Link
JP (1) JP2017018492A (en)

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019072344A (en) * 2017-10-18 2019-05-16 山佐株式会社 Game machine
JP2019166043A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166052A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166048A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166051A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166058A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166067A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166059A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166044A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166042A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166060A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2020069123A (en) * 2018-10-31 2020-05-07 株式会社藤商事 Game machine
JP2020069121A (en) * 2018-10-31 2020-05-07 株式会社藤商事 Game machine
JP2020081397A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081398A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081395A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081399A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081401A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081396A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081402A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081400A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020151148A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151146A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151147A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151150A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151151A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151153A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151149A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151145A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020203219A (en) * 2020-10-02 2020-12-24 サミー株式会社 Game machine
JP2021062008A (en) * 2019-10-11 2021-04-22 サミー株式会社 Game machine
JP2021062005A (en) * 2019-10-11 2021-04-22 サミー株式会社 Game machine
JP2021062006A (en) * 2019-10-11 2021-04-22 サミー株式会社 Game machine
JP2021062009A (en) * 2019-10-11 2021-04-22 サミー株式会社 Game machine
JP2023010990A (en) * 2019-03-13 2023-01-20 サミー株式会社 game machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004194991A (en) * 2002-12-19 2004-07-15 Sanyo Product Co Ltd Game machine
JP2012254241A (en) * 2011-06-10 2012-12-27 Sanyo Product Co Ltd Game machine
JP2014008106A (en) * 2012-06-28 2014-01-20 Fujishoji Co Ltd Game machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004194991A (en) * 2002-12-19 2004-07-15 Sanyo Product Co Ltd Game machine
JP2012254241A (en) * 2011-06-10 2012-12-27 Sanyo Product Co Ltd Game machine
JP2014008106A (en) * 2012-06-28 2014-01-20 Fujishoji Co Ltd Game machine

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019072344A (en) * 2017-10-18 2019-05-16 山佐株式会社 Game machine
JP7017690B2 (en) 2018-03-23 2022-02-09 サミー株式会社 Pachinko machine
JP2019166043A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166052A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166048A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166051A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166058A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166067A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166059A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166044A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166042A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2019166060A (en) * 2018-03-23 2019-10-03 サミー株式会社 Game machine
JP2020069121A (en) * 2018-10-31 2020-05-07 株式会社藤商事 Game machine
JP2020069123A (en) * 2018-10-31 2020-05-07 株式会社藤商事 Game machine
JP2020081399A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081395A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081397A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081401A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081396A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081402A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081400A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP2020081398A (en) * 2018-11-26 2020-06-04 サミー株式会社 Game machine
JP7041997B2 (en) 2018-11-26 2022-03-25 サミー株式会社 Pachinko machine
JP7041998B2 (en) 2018-11-26 2022-03-25 サミー株式会社 Pachinko machine
JP7041995B2 (en) 2018-11-26 2022-03-25 サミー株式会社 Pachinko machine
JP7041996B2 (en) 2018-11-26 2022-03-25 サミー株式会社 Pachinko machine
JP2023010990A (en) * 2019-03-13 2023-01-20 サミー株式会社 game machine
JP2020151146A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151153A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151148A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151147A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151150A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151145A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2020151151A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP7001922B2 (en) 2019-03-19 2022-01-20 サミー株式会社 Pachinko machine
JP2020151149A (en) * 2019-03-19 2020-09-24 サミー株式会社 Game machine
JP2021062006A (en) * 2019-10-11 2021-04-22 サミー株式会社 Game machine
JP2021062009A (en) * 2019-10-11 2021-04-22 サミー株式会社 Game machine
JP2021062005A (en) * 2019-10-11 2021-04-22 サミー株式会社 Game machine
JP2021062008A (en) * 2019-10-11 2021-04-22 サミー株式会社 Game machine
JP7201915B2 (en) 2019-10-11 2023-01-11 サミー株式会社 game machine
JP7201913B2 (en) 2019-10-11 2023-01-11 サミー株式会社 game machine
JP7201916B2 (en) 2019-10-11 2023-01-11 サミー株式会社 game machine
JP7201914B2 (en) 2019-10-11 2023-01-11 サミー株式会社 game machine
JP2020203219A (en) * 2020-10-02 2020-12-24 サミー株式会社 Game machine

Similar Documents

Publication Publication Date Title
JP2017018492A (en) Game machine
JP2017018494A (en) Game machine
JP6106218B2 (en) Game machine
JP6106220B2 (en) Game machine
JP6177284B2 (en) Game machine
JP4834422B2 (en) Slot machine
JP4495661B2 (en) Slot machine
JP2007244775A (en) Slot machine
JP2010221054A (en) Game machine
JP6215269B2 (en) Game machine
JP5075690B2 (en) Slot machine
JP6889694B2 (en) Pachinko machine
JP5956529B2 (en) Game machine
JP2017148539A (en) Game machine
JP2007202819A (en) Slot machine using game ball
JP6854068B2 (en) Game machine
JP2018140270A (en) Game machine
JP6106221B2 (en) Game machine
JP6106219B2 (en) Game machine
JP6522333B2 (en) Slot machine
JP2017124198A (en) Game machine
JP2007330604A (en) Slot machine
JP6215268B2 (en) Game machine
JP6542822B2 (en) Gaming machine
JP2017136428A (en) Game machine

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170228