JP7922012B2 - Gaming machine - Google Patents

Gaming machine

Info

Publication number
JP7922012B2
JP7922012B2 JP2023210163A JP2023210163A JP7922012B2 JP 7922012 B2 JP7922012 B2 JP 7922012B2 JP 2023210163 A JP2023210163 A JP 2023210163A JP 2023210163 A JP2023210163 A JP 2023210163A JP 7922012 B2 JP7922012 B2 JP 7922012B2
Authority
JP
Japan
Prior art keywords
game
cpu
special symbol
command
performance
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.)
Active
Application number
JP2023210163A
Other languages
Japanese (ja)
Other versions
JP2025094544A (en
Inventor
瑛祐 上野
智 篠島
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.)
Fujishoji Co Ltd
Original Assignee
Fujishoji 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 Fujishoji Co Ltd filed Critical Fujishoji Co Ltd
Priority to JP2023210163A priority Critical patent/JP7922012B2/en
Publication of JP2025094544A publication Critical patent/JP2025094544A/en
Application granted granted Critical
Publication of JP7922012B2 publication Critical patent/JP7922012B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は遊技機に係るものであり、特には、演出用の可動物を備えた遊技機に係る技術分野に関する。 This invention relates to a gaming machine, and more particularly to a technical field relating to a gaming machine equipped with movable parts for performance purposes.

例えば下記特許文献1等に開示されるように、遊技機には、演出用の可動物(可動役物)を備えたものがある。 For example, as disclosed in Patent Document 1 below, some gaming machines are equipped with movable parts (movable components) for performance purposes.

特開2022-140964号公報Japanese Patent Publication No. 2022-140964

ここで、演出用の可動物を備える遊技機には、可動物の動力源となるモータの励磁モードを切り替え可能に構成されたものがある。 In some gaming machines equipped with movable parts for performance purposes, the excitation mode of the motor that powers these movable parts can be switched.

本発明は、可動物の動力源となるモータの励磁モードを切り替え可能に構成された遊技機について、可動物の位置制御精度の向上を図ることを目的とする。 The present invention aims to improve the accuracy of position control for movable parts in a gaming machine configured to allow switching of the excitation mode of the motor that powers the movable parts.

本発明に係る遊技機は、演出用の可動物と、前記可動物の動力源として設けられたモータと、前記モータを駆動するドライバと、ドライバに対してモータの駆動態様を指示する信号である駆動制御信号を出力する駆動制御手段と、を備え、前記ドライバは、前記駆動制御手段からの指示に基づき、前記モータの励磁モードとして少なくとも第一励磁モードと第二励磁モードとの間の切り替えを行うことが可能に構成され、前記第一励磁モードから前記第二励磁モードへの切り替えに伴い前記ドライバが制御する電気角が最大で90度変化するように構成されたものである。
モータのドライバとしては、励磁モード切り替えの際の電気角の変化量が、一方のモータ回転方向においては最大で90度以内に収まるが、他方の回転方向においては最大で90度を超える程の大きな変化量となってしまうものがある。励磁モード切り替え時の電気角の変化量が過大であると、励磁モード切り替えの際に可動物が滑ってしまう虞がある。上記構成によれば、励磁モード切り替え時の電気角の変化量が最大で90度以内に収まるため、励磁モード切り替え時の可動物の滑り抑制を図ることが可能となる。
The gaming machine according to the present invention comprises a movable part for performance, a motor provided as a power source for the movable part, a driver for driving the motor, and a drive control means that outputs a drive control signal, which is a signal that instructs the driver on the driving mode of the motor. The driver is configured to be able to switch between at least a first excitation mode and a second excitation mode as the excitation mode of the motor based on instructions from the drive control means, and the electrical angle controlled by the driver changes by up to 90 degrees when switching from the first excitation mode to the second excitation mode.
Some motor drivers exhibit a significant change in the electrical angle during excitation mode switching; while the change is limited to a maximum of 90 degrees in one motor rotation direction, it can exceed 90 degrees in the other. Excessive changes in the electrical angle during excitation mode switching can cause the movable part to slip during the switching process. The above configuration ensures that the change in the electrical angle during excitation mode switching is limited to a maximum of 90 degrees, thereby suppressing slippage of the movable part during excitation mode switching.

本発明によれば、可動物の動力源となるモータの励磁モードを切り替え可能に構成された遊技機について、可動物の位置制御精度の向上を図ることができる。 According to the present invention, in a gaming machine configured to allow switching of the excitation mode of the motor that powers the movable parts, it is possible to improve the accuracy of position control of the movable parts.

遊技機の外観を示す斜視図である。This is a perspective view showing the exterior of a gaming machine. 遊技機において前枠を開放したときの斜視図である。This is a perspective view of a gaming machine with the front frame open. 遊技機の遊技盤の構成を示す図である。This is a diagram showing the configuration of the game board of a gaming machine. 可動体役物の動作例の説明図である。This is an explanatory diagram illustrating an example of the operation of a movable mechanism. 遊技機の制御構成を示すブロック図である。This is a block diagram showing the control configuration of a gaming machine. 先読み予告演出の例についての説明図である。This is an explanatory diagram illustrating an example of a pre-announcement effect. 主制御側メイン処理を示したフローチャートである。This is a flowchart showing the main processing on the primary control side. メインループ処理を示したフローチャートである。This is a flowchart illustrating the main loop processing. 主制御側タイマ割込み処理を示したフローチャートである。This is a flowchart illustrating the timer interrupt processing on the main control side. 普通図柄管理処理を示すフローチャートである。This is a flowchart showing the normal pattern management process. 普図当り判定テーブルの一例を説明する図である。This diagram illustrates an example of a winning/losing determination table. 普通図柄変動表示ゲームに関する当り種別、変動時間、確定時間の一例を説明する図である。This diagram illustrates an example of the type of win, the duration of the variation, and the confirmation time for a standard symbol variation display game. 特別図柄管理処理を示したフローチャートである。This is a flowchart illustrating the special pattern management process. 特図1始動口チェック処理を示したフローチャートである。Figure 1 is a flowchart illustrating the start port check process. 特別図柄変動開始処理を示したフローチャートである。This is a flowchart illustrating the process for initiating special symbol variations. 大当り乱数判定処理を示したフローチャートである。This is a flowchart illustrating the process for determining the winning random number. 大当り判定テーブルの一例を示した図である。This diagram shows an example of a jackpot determination table. 大当り乱数判定手法を説明する図である。This is a diagram explaining the method for determining the winning random number. 図柄抽選処理を示したフローチャートである。This is a flowchart illustrating the process of selecting the winning design. 図柄テーブルの一例を示した図である。This diagram shows an example of a pattern table. 変動パターン抽選処理を示したフローチャートである。This is a flowchart illustrating the process of selecting a variable pattern. 変動パターン抽選テーブルの一例を示した図である。This figure shows an example of a variable pattern lottery table. 演出制御側メイン処理を示したフローチャートである。This is a flowchart showing the main processing on the production control side. 演出制御側タイマ割込み処理を示したフローチャートである。This is a flowchart illustrating the timer interrupt processing on the performance control side. 従来の可動体役物制御系の構成概要を示した図である。This diagram shows an overview of the configuration of a conventional movable mechanism control system. 実施形態としての可動体役物制御系の構成概要を示した図である。This figure shows an overview of the configuration of a movable body control system as an embodiment. 実施形態におけるモータ駆動制御部の概略内部構成例を示したフロック図である。This is a flock diagram showing a schematic internal configuration example of the motor drive control unit in an embodiment. 実施形態におけるカレントアップダウン制御回路の動作説明図である。This is an explanatory diagram of the operation of the current up/down control circuit in the embodiment. 実施形態としての可動体役物制御を実現するために用いられる各種制御データの説明図である。This is an explanatory diagram of various control data used to realize the control of movable parts as an embodiment. 実施形態における役物サブシナリオデータのデータ構造例の説明図である。This is an explanatory diagram illustrating an example of the data structure of the special feature sub-scenario data in the embodiment. 実施形態における区分動作管理データのデータ構造例の説明図である。This is an explanatory diagram illustrating an example of the data structure of the segmented operation management data in the embodiment. 実施形態における制御コマンド管理データのデータ構造例の説明図である。This is an explanatory diagram illustrating an example of the data structure of control command management data in an embodiment. 動作パーツを定義するための作業画面の例を示した図である。This diagram shows an example of a workspace for defining moving parts. 実施形態におけるSOL・MOT出力処理を示したフローチャートである。This is a flowchart illustrating the SOL/MOT output processing in the embodiment. 回転方向=CW時の電気角制御例についての説明図である。This is an explanatory diagram illustrating an example of electrical angle control when the rotation direction is CW (clockwise). 回転方向=CCW時の電気角制御例についての説明図である。This is an explanatory diagram illustrating an example of electrical angle control when the rotation direction is CCW (Correct Cross-Wave). モータドライバの構成例の説明図である。This is an explanatory diagram of an example motor driver configuration. 実施形態としての電気角制御を実現するための処理手順例を示したフローチャートである。This flowchart shows an example of a processing procedure for realizing electrical angle control as an embodiment. 実施形態におけるモータ駆動制御部の周辺回路の構成例を示した回路・ブロック図である。This is a circuit block diagram showing an example of the configuration of the peripheral circuits of the motor drive control unit in the embodiment. 実施形態における駆動モード端子への入力値と駆動モードとの対応関係を示した図である。This figure shows the correspondence between the input value to the drive mode terminal and the drive mode in the embodiment. カレントアップダウン信号に応じたモータ駆動電流値の切り替えの様子を例示した図である。This diagram illustrates how the motor drive current value is switched in response to the current up/down signal. 実施形態における起動時モード制御回路についての説明図である。This is an explanatory diagram of the startup mode control circuit in the embodiment. 実施形態における伝達機構の例及びバックラッシの説明図である。This is an example of a transmission mechanism in an embodiment and an explanatory diagram of backlash. 実施形態における伝達機構の他の例の説明図である。This is an explanatory diagram of another example of the transmission mechanism in the embodiment. バックラッシに起因した可動体役物の位置制御精度の低下について説明するための図である。This diagram illustrates the decrease in positional control accuracy of movable parts caused by backlash. 表示画像と同期した可動物演出を行う場合のバックラッシ対策の例の説明図である。This is an explanatory diagram illustrating an example of backlash countermeasures when performing movable animations synchronized with the displayed image. 可動体役物に対するエフェクトオブジェクトを用いる場合のバックラッシ対策の例の説明図である。This is an explanatory diagram illustrating an example of backlash countermeasures when using effect objects on movable parts. 可動体役物に対するエフェクトオブジェクトを用いる場合のバックラッシ対策の別例の説明図である。This is an explanatory diagram illustrating another example of backlash countermeasures when using effect objects on movable parts. バックラッシ対策の他の例の説明図である。This is an explanatory diagram of another example of backlash countermeasures. バックラッシ対策のさらに他の例の説明図である。This is an explanatory diagram illustrating yet another example of backlash countermeasures. 演出制御基板がモータ駆動制御部のセルフリセットを検知するための手法例についての説明図である。This is an explanatory diagram illustrating an example of a method for the performance control board to detect the self-reset of the motor drive control unit. 役物モータの制御パターン例の説明図である。This is an explanatory diagram illustrating an example of a control pattern for a special-purpose motor.

以下、添付図面を参照し、本発明に係る実施形態を次の順序で説明する。
<1.遊技機の構造>
<2.遊技機の制御構成>
[2.1 主制御基板]
[2.2 演出制御基板]
<3.動作の概要説明>
[3.1 遊技状態]
[3.2 図柄変動表示ゲーム]
[3.3 大当りについて]
[3.4 演出について]
<4.主制御基板の処理>
[4.1 主制御側メイン処理]
[4.2 主制御側タイマ割込み処理]
<5.演出制御基板の処理>
[5.1 演出制御側メイン処理]
[5.2 演出制御側タイマ割込み処理]
<6.実施形態としての可動体役物制御>
[6.1 実施形態としての制御手法の概要]
[6.2 モータ駆動制御部について]
[6.3 実施形態としての制御データ作成手法]
[6.4 実施形態としての可動体役物制御処理]
(6.4.1 処理フロー)
(6.4.2 マイクロステップ駆動について)
(6.4.3 プリレジスタの使用について)
[6.5 実施形態としての電流値切り替え、及び起動時のモータ誤動作対策]
[6.6 起動時の役物落下対策]
[6.7 バックラッシ対策について]
[6.8 その他構成例]
<7.変形例>
<8.実施形態のまとめ>
Hereinafter, embodiments of the present invention will be described in the following order with reference to the attached drawings.
<1. Structure of a gaming machine>
<2. Control Configuration of Gaming Machines>
[2.1 Main Control Board]
[2.2 Performance Control Board]
<3. Overview of Operation>
[3.1 Game Status]
[3.2 Symbol Variation Display Game]
[3.3 About the Big Win]
[3.4 Regarding the direction/staging]
<4. Processing of the main control board>
[4.1 Main Control Side Main Processing]
[4.2 Main Control Timer Interrupt Processing]
<5. Processing of the Performance Control Board>
[5.1 Main Processing on the Performance Control Side]
[5.2 Timer interrupt processing on the performance control side]
<6. Control of movable parts as an embodiment>
[6.1 Overview of Control Method as an Embodiment]
[6.2 Regarding the motor drive control unit]
[6.3 Control Data Creation Method as an Embodiment]
[6.4 Control Processing of Movable Parts as an Embodiment]
(6.4.1 Processing Flow)
(6.4.2 Microstepping Drive)
(6.4.3 Regarding the use of pre-registers)
[6.5 Current value switching as an embodiment, and measures to prevent motor malfunction during startup]
[6.6 Measures to prevent parts from falling during startup]
[6.7 Regarding measures to prevent backlash]
[6.8 Other Configuration Examples]
<7. Variant Example>
<8. Summary of Embodiments>

<1.遊技機の構造>
図1及び図2を参照して、本発明に係る実施形態としての遊技機1の全体構造について説明する。図1は、本発明に係る実施形態の遊技機1の外観を示す斜視図であり、図2は、実施形態の遊技機1において前枠4を開放したときの斜視図である。
<1. Structure of a gaming machine>
The overall structure of the gaming machine 1 as an embodiment of the present invention will be described with reference to Figures 1 and 2. Figure 1 is a perspective view showing the external appearance of the gaming machine 1 according to the embodiment of the present invention, and Figure 2 is a perspective view of the gaming machine 1 of the embodiment with the front frame 4 open.

図1及び図2に示すように、遊技機1は、木製の外枠2と、外枠2にヒンジ機構によって開閉可能に取り付けられた内枠3と、内枠3にヒンジ機構によって開閉可能に取り付けられた前枠4とを備える。
内枠3は、額縁状に形成され、内部に遊技盤5が保持されている。遊技盤5の背面側には、遊技動作を制御するための各種制御基板(図5参照)が配設されている。
As shown in Figures 1 and 2, the gaming machine 1 comprises a wooden outer frame 2, an inner frame 3 attached to the outer frame 2 so as to be openable and closable by a hinge mechanism, and a front frame 4 attached to the inner frame 3 so as to be openable and closable by a hinge mechanism.
The inner frame 3 is formed in the shape of a picture frame, and the game board 5 is held inside. Various control boards (see Figure 5) for controlling the game operation are arranged on the back side of the game board 5.

前枠4は、中央に透明ガラス6が保持されているとともに、透明ガラス6の周囲の全部又は一部を囲むようにサイドユニット7が設けられている。
サイドユニット7は、それ自体が遊技機1のテーマに合わせた装飾形状とされるとともに、内部にLEDや役物等の演出部材が設けられることもあり、遊技者に遊技の雰囲気を伝える演出効果を発揮する。このサイドユニット7は前枠4に対して交換可能に取り付けられたユニットとされる。
The front frame 4 has a transparent glass 6 held in the center, and side units 7 are provided so as to surround all or part of the transparent glass 6.
The side unit 7 is designed with a decorative shape that matches the theme of the gaming machine 1, and may also be equipped with LEDs, mechanical devices, and other performance elements inside, thereby conveying the atmosphere of the game to the player. This side unit 7 is a unit that is interchangeably attached to the front frame 4.

前枠4の前側には扉ロック解除用のキーシリンダ(図示せず)が設けられており、このキーシリンダにキーを差し込んで一方側に操作すれば内枠3に対する前枠4のロック状態が解除されて前枠4を前側に開放でき、また、他方側に操作すれば外枠2に対する内枠3のロック状態が解除されて内枠3を前側に開放できるようになっている。 A key cylinder (not shown) for unlocking the door is provided on the front side of the front frame 4. Inserting a key into this key cylinder and operating it in one direction releases the lock on the front frame 4 to the inner frame 3, allowing the front frame 4 to open forward. Operating it in the other direction releases the lock on the inner frame 3 to the outer frame 2, allowing the inner frame 3 to open forward.

前枠4の下側には、前面操作パネル8が配置されている。前面操作パネル8には、上受け皿ユニット9が設けられ、この上受け皿ユニット9には、排出された遊技球を貯留する上受け皿10が形成されている。 A front control panel 8 is located on the lower side of the front frame 4. The front control panel 8 is equipped with an upper tray unit 9, and this upper tray unit 9 has an upper tray 10 for storing the dispensed game balls.

また、上受け皿ユニット9には、遊技球貸出装置(図示せず)に対して遊技球の払い出しを要求するための球貸しボタン11と、遊技球貸出装置に挿入した有価価値媒体の返却を要求するためのカード返却ボタン12と、上受け皿10に貯留された遊技球を遊技機1の下方に抜くための球抜きボタン13とが設けられている。 Furthermore, the upper tray unit 9 is equipped with a ball dispensing button 11 for requesting the dispensing of game balls from a game ball dispensing device (not shown), a card return button 12 for requesting the return of a valuable medium inserted into the game ball dispensing device, and a ball removal button 13 for removing the game balls stored in the upper tray 10 to the bottom of the game machine 1.

また、上受け皿ユニット9には、遊技者が操作可能に構成された操作部14(図5参照)が設けられている。操作部14は、演出ボタン14a、十字キー14b及び決定ボタン14cを含んで構成されている。演出ボタン14aは、所定の入力受付期間中に内蔵ランプ(ボタンLED49)が点灯されて操作可能(入力受付可能)となり、その内蔵ランプ点灯中に所定の操作(押下、連打、長押し等)をすることにより演出に変化をもたらすことが可能となっている。
十字キー14bは、遊技者やホールスタッフ等の使用者が各種の項目の選択や方向指示等を行うための操作子である。決定ボタン14cは、選択項目の決定を指示するための操作子である。
Furthermore, the upper tray unit 9 is provided with an operating section 14 (see Figure 5) that can be operated by the player. The operating section 14 includes a performance button 14a, a directional pad 14b, and a confirmation button 14c. The performance button 14a becomes operable (input accepted) when its built-in lamp (button LED 49) lights up during a predetermined input acceptance period, and by performing a predetermined operation (pressing, repeatedly pressing, holding, etc.) while the built-in lamp is lit, it is possible to change the performance.
The directional pad 14b is an operator used by players, hall staff, etc., to select various items and indicate directions. The confirmation button 14c is an operator used to confirm the selected item.

前面操作パネル8の右端部側には、発射装置44(図5参照)を作動させるための発射操作ハンドル15が設けられている。 A launch operation handle 15 for operating the launch device 44 (see Figure 5) is provided on the right end of the front control panel 8.

前枠4の適所には、光の装飾により光演出効果を発揮する装飾ランプ16(例えばフルカラーLEDによる光演出用LED等)が複数設けられている。この装飾ランプ16は、遊技機1の周囲、例えば前枠4の周縁やサイドユニット7内に複数個設けられている。 Multiple decorative lamps 16 (for example, full-color LEDs for light effects) are provided at appropriate locations on the front frame 4. These decorative lamps 16 are installed in multiple locations around the gaming machine 1, for example, around the periphery of the front frame 4 and within the side units 7.

また内枠3の上部の両側と発射操作ハンドル15の上側とには、音響により音演出効果(効果音)を発揮するスピーカ17が設けられている。
複数のスピーカ17により、演出に関する音などについて、いわゆるステレオ音響再生や、より多チャネルの音響再生を行うことができるようにされている。
Furthermore, speakers 17 are provided on both sides of the upper part of the inner frame 3 and on the upper side of the firing operation handle 15 to produce sound effects (sound effects) through acoustics.
Multiple speakers 17 are used to enable stereo sound reproduction and multi-channel sound reproduction for sounds related to the performance.

次に、図3を参照して、遊技盤5の構成について説明する。図3は、遊技盤5の正面図である。
図示の遊技盤5には、発射された遊技球を案内する球誘導レール18が盤面区画部材として環状に装着されており、この球誘導レール18に取り囲まれた略円形状の領域が遊技領域19、四隅は非遊技領域となっている。
遊技領域19は、遊技盤5と透明ガラス6との間に形成される空間であって、遊技球が流下可能な領域である。
Next, the configuration of the game board 5 will be explained with reference to Figure 3. Figure 3 is a front view of the game board 5.
The game board 5 shown in the illustration has a ball guide rail 18 mounted in an annular shape as a board surface partitioning member to guide the launched game ball. The roughly circular area surrounded by this ball guide rail 18 is the game area 19, and the four corners are non-game areas.
The game area 19 is a space formed between the game board 5 and the transparent glass 6, and is an area in which game balls can flow down.

この遊技領域19の略中央部には、例えば3つ(左、中、右)の表示エリア(図柄変動表示領域)において、独立して数字やキャラクタや記号などによる複数種類の装飾図柄(例えば、左図柄(左表示エリア対応)、中図柄(中表示エリア対応)、右図柄(右表示エリア対応))の変動表示動作(変動表示及び停止表示)が可能である液晶表示装置(LCD)20が設けられている。
この液晶表示装置20は、後述する演出制御基板41の制御の下、装飾図柄の変動表示動作の他、種々の演出を画像により表示する。
Approximately in the center of this game area 19, a liquid crystal display device (LCD) 20 is provided, which is capable of independently displaying variations (variation display and stop display) of multiple types of decorative symbols (for example, left symbol (corresponding to the left display area), middle symbol (corresponding to the middle display area), and right symbol (corresponding to the right display area)) in three (left, middle, and right) display areas (symbol variation display areas).
This liquid crystal display device 20, under the control of the performance control board 41 described later, displays various effects as images, in addition to the changing display operation of decorative patterns.

また遊技領域19の中央には、液晶表示装置20の表示面の周りを遠巻きに囲繞する形でセンター飾り21が設けられている。センター飾り21は、遊技盤5の前面側に沿って設けられ、液晶表示装置20の表示面を遊技球の衝突から保護するとともに、遊技球の打ち出しの強さ又はストローク長により、遊技球の流路を左右に振り分けることを可能とする流路振分手段として機能する。
本実施形態では、センター飾り21は、遊技領域19のほぼ中央部に配置され、遊技領域19を左右それぞれの左遊技領域19a及び右遊技領域19bに分割している。発射装置44により所定の発射強度未満で発射された遊技球は、左遊技領域19aを流下し、所定の発射強度以上で発射された遊技球は、右遊技領域19bを流下することになる。
Furthermore, a center ornament 21 is provided in the center of the game area 19, surrounding the display surface of the liquid crystal display device 20 at a distance. The center ornament 21 is provided along the front side of the game board 5 and protects the display surface of the liquid crystal display device 20 from collisions with game balls, and also functions as a path distribution means that allows the path of the game balls to be divided to the left or right depending on the force or stroke length of the launch of the game balls.
In this embodiment, the center ornament 21 is positioned approximately in the center of the game area 19, dividing the game area 19 into a left game area 19a and a right game area 19b. Game balls launched by the launching device 44 with a launching force below a predetermined level flow down the left game area 19a, while game balls launched with a launching force equal to or greater than the predetermined level flow down the right game area 19b.

遊技盤5の下部の非遊技領域は各種機能表示部となっており、ドット表示器による特別図柄表示装置22aと特別図柄表示装置22bとが設けられている。
なお、特別図柄表示装置22a、22bを含む各種機能表示部を図6に拡大して示している。
The non-game area at the bottom of the game board 5 serves as a display unit for various functions, and is equipped with a special symbol display device 22a and a special symbol display device 22b, both using dot matrix displays.
Figure 6 shows an enlarged view of the various function display units, including the special pattern display devices 22a and 22b.

特別図柄表示装置22a、22bでは、ドット表示器により表現される「特別図柄」の変動表示動作による特別図柄変動表示ゲームが実行されるようになっている。そして上記の液晶表示装置20では、特別図柄表示装置22a、22bによる特別図柄の変動表示と時間的に同調して、画像による装飾図柄を変動表示して、種々の予告演出(演出画像)とともに装飾図柄変動表示ゲームが実行されるようになっている。 The special symbol display devices 22a and 22b execute a special symbol variation display game through the variable display operation of "special symbols" represented by dot matrix displays. The liquid crystal display device 20 then displays decorative symbols using images in time with the variable display of special symbols by the special symbol display devices 22a and 22b, executing a decorative symbol variation display game along with various preview effects (effect images).

また各種機能表示部には、特別図柄表示装置22a、22bと同じくドット表示器からなる複合表示装置22cが配設されている。複合と称したのは、第1の特別図柄(以下、第1の特別図柄を「特別図柄1」と称し、場合により「特図1」と略称する)、第2の特別図柄(以下、第2の特別図柄を「特別図柄2」と称し、場合により「特図2」と略称する)、普通図柄の保留球数の表示、時短状態中及び高確率状態中の状態報知という、5つの表示機能を有する保留・時短・高確複合表示装置(以下単に「複合表示装置」と称する)であるからである。 Furthermore, the various function display sections are equipped with a composite display device 22c, which, like the special symbol display devices 22a and 22b, consists of a dot matrix display. It is called a composite display device because it has five display functions: display of the first special symbol (hereinafter referred to as "Special Symbol 1," and sometimes abbreviated as "Special Symbol 1"), the second special symbol (hereinafter referred to as "Special Symbol 2," and sometimes abbreviated as "Special Symbol 2"), the number of reserved balls for the regular symbols, and status notification during the time-saving state and the high-probability state (hereinafter simply referred to as the "composite display device").

また各種機能表示部には、同じくドット表示器からなる複合表示装置22dが設けられている。
この複合表示装置22dでは、4つのLEDの点灯・消灯状態の組合せにより、大当りに係る規定ラウンド数(最大ラウンド数)を報知するラウンド数表示が行われる。
また複合表示装置22dでは、普通図柄表示として、1個のLEDにより表現される普通図柄の変動表示動作により普通図柄変動表示ゲームが実行されるようになっている。
また複合表示装置22dでは、3個のLEDにより右打ち表示が行われるようになっている。なお、右打ち表示は、右遊技領域19bに向けて遊技球の発射をした方が、左遊技領域19aに向けて遊技球を発射した場合により遊技者に有利であることを示している。
Furthermore, various function display units are provided with a composite display device 22d, which is also a dot matrix display.
This combined display device 22d displays the number of rounds, which is the specified number of rounds (maximum number of rounds) related to a jackpot, based on the combination of the on/off states of the four LEDs.
Furthermore, in the combined display device 22d, a game of displaying a regular symbol is executed by the display operation of a regular symbol represented by a single LED.
Furthermore, the combined display device 22d uses three LEDs to indicate that the player should shoot to the right. The right-shooting indicator shows that it is more advantageous for the player to shoot the game ball towards the right game area 19b than to shoot it towards the left game area 19a.

遊技盤5の中央であって液晶表示装置20の下側には、第1始動口23が設けられている。第1始動口23の内部には、遊技球の通過を検出する第1始動口検出センサ23a(図5参照)が設けられている。
また右遊技領域19bには、第2始動口24が設けられ、内部には、遊技球の通過を検出する第2始動口検出センサ24a(図3参照)が設けられている。
A first start port 23 is provided in the center of the game board 5, below the liquid crystal display device 20. Inside the first start port 23 is a first start port detection sensor 23a (see Figure 5) that detects the passage of a game ball.
Furthermore, a second start port 24 is provided in the right game area 19b, and a second start port detection sensor 24a (see Figure 3) is provided inside to detect the passage of a game ball.

第1始動口23は、特別図柄表示装置22aにおける特別図柄1の変動表示動作の始動条件に係る入賞口であり、始動口開閉手段(始動口を開放又は拡大可能にする手段)を有しない固定始動口として構成されている。本実施形態では、遊技領域19内の遊技球落下方向変換部材(例えば遊技くぎ、風車、センター飾り21など)の作用により、第1始動口23へは、左遊技領域19aを転動してきた遊技球については入球容易な構成であるのに対し、右遊技領域19bを転動してきた遊技球については入球困難または入球不可能な構成となっている。 The first starting opening 23 is a prize entry point related to the starting conditions for the variable display operation of the special symbol 1 in the special symbol display device 22a, and is configured as a fixed starting opening without a starting opening opening opening mechanism (a mechanism to open or enlarge the starting opening). In this embodiment, due to the action of the game ball fall direction changing member (e.g., game pins, windmill, center decoration 21, etc.) within the game area 19, game balls that have rolled through the left game area 19a can easily enter the first starting opening 23, while game balls that have rolled through the right game area 19b are difficult or impossible to enter.

第2始動口24は、特別図柄表示装置22bにおける特別図柄2の変動表示動作の始動条件に係る入賞口であり、普通電動役物25によって開閉制御がなされる可変始動口として構成されている。
普通電動役物25は、第2始動口24への遊技球の入球を可能とする開状態と、第2始動口24への遊技球の入球を困難または不可能にする閉状態とに制御される。なお本実施形態では、第2始動口24は右遊技領域19bに設けられ、右遊技領域19bを転動してきた遊技球のみが入球可能であるが、左遊技領域19aを転動してきた遊技球が入球可能であってもよい。
The second starting port 24 is a prize entry port related to the starting conditions for the variable display operation of the special symbol 2 in the special symbol display device 22b, and is configured as a variable starting port whose opening and closing is controlled by the ordinary electric mechanism 25.
The standard electric mechanism 25 is controlled to either an open state that allows game balls to enter the second starting port 24, or a closed state that makes it difficult or impossible for game balls to enter the second starting port 24. In this embodiment, the second starting port 24 is located in the right game area 19b, and only game balls that have rolled through the right game area 19b can enter it, however, game balls that have rolled through the left game area 19a may also be able to enter it.

また第2始動口24の上方、つまり右遊技領域19bの中間部より上部側には、遊技球が通過可能な普通図柄ゲート26が設けられている。この普通図柄ゲート26は、複合表示装置22dにおける普通図柄の変動表示動作に係る入賞口であり、その内部には、通過する遊技球を検出する普通図柄ゲート検出センサ26a(図5参照)が設けられている。なお本実施形態では、普通図柄ゲート26は右遊技領域19bにのみに設けられ、右遊技領域19bを転動してきた遊技球のみが進入可能である。しかし本発明はこれに限らず、左遊技領域19aのみに設けられていてもよいし、双方にそれぞれ設けられていてもよい。 Furthermore, above the second starting opening 24, that is, above the middle section of the right game area 19b, a normal symbol gate 26 is provided through which game balls can pass. This normal symbol gate 26 is a prize entry point related to the variable display operation of normal symbols in the composite display device 22d, and a normal symbol gate detection sensor 26a (see Figure 5) is provided inside to detect passing game balls. In this embodiment, the normal symbol gate 26 is provided only in the right game area 19b, and only game balls that have rolled through the right game area 19b can enter. However, the present invention is not limited to this, and it may also be provided only in the left game area 19a, or in both.

右遊技領域19bにおける第2始動口24よりも下方には、第1大入賞口27及び第2大入賞口28が設けられている。第1大入賞口27及び第2大入賞口28は、右遊技領域19bを転動する遊技球のみが入球可能な位置に配される。ただし、第1大入賞口27及び第2大入賞口28は、左遊技領域19aを転動してきた遊技球のみが入球可能に配されてもよいし、左遊技領域19a及び右遊技領域19bを転動してきた遊技球が入球可能に配されてもよい。
第1大入賞口27は、第1特別電動役物29によって開閉制御がなされる。第1特別電動役物29は、第1大入賞口27への遊技球の入球を可能とする開状態と、第1大入賞口27への遊技球の入球を困難または不可能にする閉状態とに制御される。
第2大入賞口28は、第2特別電動役物30によって開閉制御がなされる。第2特別電動役物30は、第2大入賞口28への遊技球の入球を可能とする開状態と、第2大入賞口28への遊技球の入球を困難または不可能にする閉状態とに制御される。
第1大入賞口27及び第2大入賞口28の内部には、遊技球の通過を検出する第1大入賞口検出センサ27a及び第2大入賞口検出センサ28a(図5参照)がそれぞれ設けられている。
Below the second starting opening 24 in the right game area 19b, a first large prize opening 27 and a second large prize opening 28 are provided. The first large prize opening 27 and the second large prize opening 28 are positioned so that only game balls rolling in the right game area 19b can enter. However, the first large prize opening 27 and the second large prize opening 28 may be positioned so that only game balls rolling in the left game area 19a can enter, or they may be positioned so that game balls rolling in both the left game area 19a and the right game area 19b can enter.
The first large prize opening 27 is controlled to open and close by the first special electric mechanism 29. The first special electric mechanism 29 is controlled to be open, which allows game balls to enter the first large prize opening 27, and closed, which makes it difficult or impossible for game balls to enter the first large prize opening 27.
The second large prize opening 28 is controlled to open and close by the second special electric mechanism 30. The second special electric mechanism 30 is controlled to either be open, allowing game balls to enter the second large prize opening 28, or closed, making it difficult or impossible for game balls to enter the second large prize opening 28.
Inside the first and second large prize slots 27 and 28, respectively, are provided a first large prize slot detection sensor 27a and a second large prize slot detection sensor 28a (see Figure 5) for detecting the passage of game balls.

また遊技領域19における左右下方には、一般入賞口31が複数設けられており、それぞれの内部には、遊技球の通過を検出する一般入賞口検出センサ31a(図5参照)が設けられている。 Furthermore, multiple general prize entry points 31 are provided on the left and right lower sides of the game area 19, and each of these is equipped with a general prize entry point detection sensor 31a (see Figure 5) to detect the passage of game balls.

また遊技盤の領域内には遊技球の転動を妨害しない位置に、視覚的演出効果を奏する可動体役物50が配設されている。
本例の遊技機1は、可動体役物50として、可動体役物50x及び可動体役物50yの二つを有している。これら可動体役物50x、50yは、非演出状態では、遊技機1に正対した遊技者から見て、他部材により遮蔽された位置(遮蔽位置)に配置され、遊技者から視認されないようになっている。
演出状態では、これら可動体役物50x、50yは、後述する役物モータ53x、53yにより駆動されることで、図4に例示するように、上記の遮蔽位置から変位されて、遊技者が視認可能な状態となる。ここでは、可動体役物50x、50yの変位態様として、演出状態において液晶表示装置20上に位置する変位態様を例示しているが、可動体役物50の変位態様はこれに限定されるものではなく、多様に考えられるものである。
Furthermore, within the area of the game board, a movable mechanism 50 that provides a visual effect is positioned so as not to interfere with the rolling of the game balls.
In this example, the gaming machine 1 has two movable components 50: a movable component 50x and a movable component 50y. When not in a performance state, these movable components 50x and 50y are positioned in a location (shielded position) that is obscured by other components from the view of a player facing the gaming machine 1, so that they are not visible to the player.
In the performance state, these movable parts 50x and 50y are driven by the mechanism motors 53x and 53y, described later, and are displaced from the above-mentioned shielded position, as illustrated in Figure 4, to become visible to the player. Here, the displacement mode of the movable parts 50x and 50y is illustrated as being positioned on the liquid crystal display device 20 in the performance state, but the displacement mode of the movable parts 50 is not limited to this and can be thought of in various ways.

本例において、可動体役物50xは、遮蔽位置が液晶表示装置20よりも下方とされ、演出状態において遮蔽位置から上方側に変位される可動体役物50とされる。
一方、可動体役物50yは、遮蔽位置が液晶表示装置20よりも上方とされ、演出状態において遮蔽位置から下方側に変位される可動体役物50とされる。
In this example, the movable component 50x is configured such that its shielding position is below that of the liquid crystal display device 20, and it is displaced upward from its shielding position during the performance.
On the other hand, the movable mechanism 50y is configured such that its shielding position is above the liquid crystal display device 20, and it is a movable mechanism 50 that is displaced downward from its shielding position during the performance state.

また、本実施形態の遊技機1においては、遊技領域19に設けられた各種入賞口に遊技球が入球した場合、遊技球が入球した入賞口に設定された賞球数(例えば、第1始動口23は3個、第2始動口24は1個、第1大入賞口27及び第2大入賞口28は15個、一般入賞口31は5個)が遊技球払出装置46(図5参照)から払い出されるようになっている。上記の各入賞口に入賞しなかった遊技球は、アウト口32を介して遊技領域19から排出される。
Furthermore, in the gaming machine 1 of this embodiment, when a game ball enters one of the various prize-winning openings provided in the gaming area 19, the number of prize balls set for the prize-winning opening into which the game ball entered (for example, 3 balls for the first starting opening 23, 1 ball for the second starting opening 24, 15 balls for the first major prize-winning opening 27 and the second major prize-winning opening 28, and 5 balls for the general prize-winning opening 31) is dispensed from the game ball dispensing device 46 (see Figure 5). Game balls that do not enter any of the above prize-winning openings are discharged from the gaming area 19 via the out opening 32.

<2.遊技機の制御構成>
図5は、遊技機1の制御構成を示すブロック図である。図5のブロック図を参照して、遊技機1の遊技動作制御を実現するための構成(制御構成)について説明する。
本実施形態の遊技機1は、遊技動作全般に係る制御(遊技動作制御)を統括的に司る主制御基板40と、主制御基板40から演出制御コマンドを受けて、演出手段による演出の実行制御を統括的に司る演出制御基板41と、賞球の払い出し制御を行う払出制御基板42とを有して構成される。
<2. Control Configuration of Gaming Machines>
Figure 5 is a block diagram showing the control configuration of the gaming machine 1. Referring to the block diagram in Figure 5, the configuration (control configuration) for realizing the game operation control of the gaming machine 1 will be explained.
The gaming machine 1 of this embodiment is configured to include a main control board 40 that comprehensively controls the overall operation of the game (game operation control), an effect control board 41 that receives effect control commands from the main control board 40 and comprehensively controls the execution of effects by the effect means, and a payout control board 42 that controls the payout of prize balls.

[2.1 主制御基板]
主制御基板40は、CPU(Central Processing Unit)40a(主制御CPU)を内蔵したマイクロプロセッサを搭載すると共に、遊技動作制御手順を記述した制御プログラムの他、遊技動作制御に必要な種々のデータを格納するROM(Read Only Memory)40b(主制御ROM)と、ワーク領域やバッファメモリとして機能するRAM(Random Access Memory)40c(主制御RAM)とを搭載し、全体としてマイクロコンピュータを構成している。
[2.1 Main Control Board]
The main control board 40 is equipped with a microprocessor that incorporates a CPU (Central Processing Unit) 40a (main control CPU), a ROM (Read Only Memory) 40b (main control ROM) that stores various data necessary for game operation control as well as a control program that describes the game operation control procedure, and a RAM (Random Access Memory) 40c (main control RAM) that functions as a work area and buffer memory, thus forming a microcomputer as a whole.

また図示はしていないが、主制御基板40は、周期的割込みや一定周期のパルス出力作成機能(ビットレートジェネレータ)や時間計測の機能を実現するためのCTC(Counter Timer Circuit)、及びCPU40aに割込み信号を付与するタイマ割込み等の割込許可/割込禁止機能を発揮する割込みコントローラ回路、電源投入時や遮断時や電源異常などを検知してシステムリセット信号を出力してCPU40aをリセット可能なリセット回路、制御プログラムの動作異常を監視するウォッチドッグタイマ(WDT)回路、予め設定したアドレス範囲内でプログラムが正しく実行されているか否かを監視する指定エリア外走行禁止(IAT)回路、及びハードウェア的に一定範囲の乱数を生成するためのカウンタ回路等も備えている。 Although not shown in the diagram, the main control board 40 also includes a CTC (Counter Timer Circuit) for implementing periodic interrupts, a function to generate pulses of a fixed period (bitrate generator), and a time measurement function; an interrupt controller circuit that provides interrupt enable/disable functions such as timer interrupts that supply interrupt signals to the CPU 40a; a reset circuit that can reset the CPU 40a by outputting a system reset signal upon power-on, power-off, or power supply abnormalities; a watchdog timer (WDT) circuit for monitoring abnormal operation of the control program; an Intrusion Prevention Trigger (IAT) circuit that monitors whether the program is executing correctly within a preset address range; and a counter circuit for generating random numbers within a certain range in hardware.

上記カウンタ回路は、乱数を生成する乱数生成回路と、その乱数生成回路から所定のタイミングで乱数値をサンプリングするサンプリング回路とを含んで構成され、全体として16ビットカウンタとして働く。CPU40aは、処理状態に応じてサンプリング回路に指示を送ることで、乱数生成回路が示している数値を大当り判定用乱数(0~65535)として取得し、大当り判定用乱数を大当り抽選(当否抽選)に利用する。なお、大当り判定用乱数は、当り狙い打ち等のゴト行為を防ぐために、適宜なソフトウェア処理で生成しているソフト乱数値と、ハード乱数値とを加算したものを取得している。 The counter circuit described above includes a random number generation circuit that generates random numbers and a sampling circuit that samples random values from the random number generation circuit at predetermined timings, and functions as a 16-bit counter as a whole. The CPU 40a sends instructions to the sampling circuit according to the processing state, thereby obtaining the value indicated by the random number generation circuit as a random number for jackpot determination (0 to 65535), and using this random number for jackpot determination in the jackpot lottery (win/loss lottery). Note that the random number for jackpot determination is obtained by adding a software random value (generated by appropriate software processing) and a hardware random value, in order to prevent cheating such as targeting specific wins.

主制御基板40には、第1始動口23への入球を検出する第1始動口検出センサ23aと、第2始動口24への入賞を検出する第2始動口検出センサ24aと、普通図柄ゲート26の通過を検出する普通図柄ゲート検出センサ26aと、第1大入賞口27への入賞を検出する第1大入賞口検出センサ27aと、第2大入賞口28への入賞を検出する第2大入賞口検出センサ28aと、一般入賞口31への入賞を検出する一般入賞口検出センサ31aと、遊技領域19から排出される遊技球(アウト球)を検出するOUT監視センサ32aが接続され、主制御基板40はこれらから出力される検出信号を受信可能とされている。主制御基板40は、各センサからの検出信号に基づき、何れの入賞口に遊技球が入球したのかを把握可能とされる。 The main control board 40 is connected to the following sensors: a first start-up opening detection sensor 23a for detecting ball entry into the first start-up opening 23; a second start-up opening detection sensor 24a for detecting entry into the second start-up opening 24; a normal symbol gate detection sensor 26a for detecting passage through the normal symbol gate 26; a first large prize-winning opening detection sensor 27a for detecting entry into the first large prize-winning opening 27; a second large prize-winning opening detection sensor 28a for detecting entry into the second large prize-winning opening 28; a general prize-winning opening detection sensor 31a for detecting entry into the general prize-winning opening 31; and an OUT monitoring sensor 32a for detecting game balls (out balls) ejected from the game area 19. The main control board 40 is capable of receiving detection signals output from these sensors. Based on the detection signals from each sensor, the main control board 40 can determine which prize-winning opening a game ball entered.

また、主制御基板40には、第2始動口24を開閉する普通電動役物25を動作させる普通電動役物ソレノイド25aと、第1大入賞口27を開閉する第1特別電動役物29を動作させる第1特別電動役物ソレノイド29aと、第2大入賞口28を開閉する第2特別電動役物30を動作させる第2特別電動役物ソレノイド30aとが接続され、主制御基板40はこれらを制御するための制御信号を送信可能となっている。 Furthermore, the main control board 40 is connected to a standard electric mechanism solenoid 25a that operates the standard electric mechanism 25 which opens and closes the second start opening 24, a first special electric mechanism solenoid 29a that operates the first special electric mechanism 29 which opens and closes the first large prize opening 27, and a second special electric mechanism solenoid 30a that operates the second special electric mechanism 30 which opens and closes the second large prize opening 28. The main control board 40 is capable of transmitting control signals to control these mechanisms.

主制御基板40には、特別図柄表示装置22a及び特別図柄表示装置22bが接続され、主制御基板40は、特別図柄1、2を表示制御するための制御信号を送信可能とされている。
また、主制御基板40には、複合表示装置22c及び複合表示装置22dが接続され、主制御基板40は、複合表示装置22c、複合表示装置22dに表示される各種情報を表示制御するための制御信号を送信可能とされている。
The main control board 40 is connected to the special pattern display devices 22a and 22b, and the main control board 40 is capable of transmitting control signals for displaying and controlling special patterns 1 and 2.
Furthermore, the main control board 40 is connected to the composite display device 22c and the composite display device 22d, and the main control board 40 is capable of transmitting control signals to control the display of various information shown on the composite display device 22c and the composite display device 22d.

主制御基板40には、RAMクリアスイッチ34が接続されており、主制御基板40はRAMクリアスイッチ34からの検出信号を受信可能とされている。RAMクリアスイッチ34は、遊技機1内部の所定位置に設けられている。例えば、主制御基板40上に配置される。 A RAM clear switch 34 is connected to the main control board 40, and the main control board 40 is capable of receiving detection signals from the RAM clear switch 34. The RAM clear switch 34 is located at a predetermined position inside the gaming machine 1. For example, it is placed on the main control board 40.

RAMクリアスイッチ34は、RAM40cの所定領域を初期化することを指示入力するための例えば押しボタン式のスイッチとされる。
RAMクリアスイッチ34は、前枠4が開放された状態で操作可能に設けられたRAMクリアボタンの操作に応じてON/OFFされる。
The RAM clear switch 34 is, for example, a push-button type switch used to input an instruction to initialize a predetermined area of the RAM 40c.
The RAM clear switch 34 is turned ON/OFF in response to the operation of the RAM clear button, which is provided so that it can be operated when the front frame 4 is open.

また主制御基板40は、性能表示器35が接続されている。
性能表示器35は、例えば7セグメント表示器を有して構成され、後述する性能情報の表示が可能とされた表示手段として機能する。性能表示器35は、例えば主制御基板40上の視認し易い位置に搭載されている。
主制御基板40は、性能表示器35に対して性能情報を表示させるための制御信号を送信可能とされている。
The main control board 40 is also connected to a performance indicator 35.
The performance indicator 35 is configured, for example, with a 7-segment display and functions as a display means capable of displaying performance information, which will be described later. The performance indicator 35 is mounted, for example, in an easily visible position on the main control board 40.
The main control board 40 is capable of transmitting control signals to the performance indicator 35 for displaying performance information.

主制御基板40には、払出制御基板42が接続され、賞球の払い出しの必要がある場合には、払出制御基板42に対し、払い出しに関する制御コマンド(賞球数を指定する払出制御コマンド)を送信可能とされている。 The main control board 40 is connected to the payout control board 42. When it is necessary to pay out prize balls, the main control board 40 can send control commands related to payouts (payout control commands specifying the number of prize balls) to the payout control board 42.

また、主制御基板40には、払出制御基板42を介して枠用外部集中端子基板43が接続され、外部に設けられたホールコンピュータHCに対し所定の遊技情報(例えば、大当り情報、賞球数情報、図柄変動実行情報等)を送信可能とされている。
なお、ホールコンピュータHCは、主制御基板40からの遊技情報を監視して、パチンコホールの遊技機の稼働状況を統括的に管理するための情報処理装置(コンピュータ装置)である。
Furthermore, the main control board 40 is connected to an external centralized terminal board 43 for the frame via a payout control board 42, and is capable of transmitting predetermined game information (for example, jackpot information, prize ball count information, symbol change execution information, etc.) to an externally located hall computer HC.
The hall computer HC is an information processing device (computer device) that monitors game information from the main control board 40 and comprehensively manages the operating status of the gaming machines in the pachinko hall.

払出制御基板42には、発射装置44を制御する発射制御基板45と、遊技球の払い出しを行う遊技球払出装置46とが接続されている。さらに、払出制御基板42には、球貸し機70が接続される。球貸し機70は、遊技機1の外部に設けられ、払出制御基板42による球貸し動作を実行させるための処理を実行する。
払出制御基板42の主な役割は、主制御基板40からの払出制御コマンドの受信、払出制御コマンドに基づく遊技球払出装置46の賞球払い出し制御、主制御基板40への状態信号の送信、球貸し機70との通信結果に基づく球貸し動作のための払出制御基板42に対する制御などである。
The payout control board 42 is connected to a launch control board 45 that controls the launching device 44 and a game ball payout device 46 that dispenses game balls. Furthermore, a ball dispensing machine 70 is connected to the payout control board 42. The ball dispensing machine 70 is located outside the game machine 1 and performs processing to enable the payout control board 42 to perform the ball dispensing operation.
The main roles of the payout control board 42 are to receive payout control commands from the main control board 40, control the payout of prize balls by the game ball payout device 46 based on the payout control commands, transmit status signals to the main control board 40, and control the payout control board 42 for ball dispensing operations based on the results of communication with the ball dispensing machine 70.

遊技球払出装置46には、遊技球の供給不足を検出する補給切れ検出センサ46aや払い出される遊技球(賞球)を検出する球計数センサ46bが設けられており、払出制御基板42は、これらの各検出信号を受信可能とされている。また遊技球払出装置46には、遊技球を払い出すための球払出機構部(図示せず)を駆動する払出モータ46cが設けられており、払出制御基板42は、払出モータ46cを制御するための制御信号を送信可能とされている。 The game ball dispensing device 46 is equipped with a supply shortage detection sensor 46a for detecting insufficient supply of game balls and a ball counting sensor 46b for detecting the number of game balls (prize balls) to be dispensed. The dispensing control board 42 is capable of receiving these detection signals. The game ball dispensing device 46 is also equipped with a dispensing motor 46c that drives a ball dispensing mechanism (not shown) for dispensing game balls, and the dispensing control board 42 is capable of transmitting control signals to control the dispensing motor 46c.

払出制御基板42には、上受け皿10が遊技球で満杯状態を検出する満杯検出センサ47と、前枠2の開放状態を検出する前扉開放センサ48が接続されている。 The payout control board 42 is connected to a fullness detection sensor 47 that detects when the upper tray 10 is full of game balls, and a front door open sensor 48 that detects when the front frame 2 is open.

払出制御基板42は、満杯検出センサ47、前扉開放センサ48、補給切れ検出センサ46a、球計数センサ46bからの検出信号に基づいて、主制御基板40に対して、各種の状態信号を送信可能となっている。この状態信号には、満杯状態を示す球詰り信号、少なくとも前枠2が開放されていることを示す扉開放信号、遊技球払出装置46からの遊技球の供給不足を示す補給切れ信号、賞球の払出不足や球計数センサ46bに異常が発生したこと示す計数エラー信号、払い出し動作が完了したことを示す払出完了信号などが含まれ、様々な状態信号を送信可能な構成となっている。主制御基板40は、これら状態信号に基づいて、前枠2の開放状態(扉開放エラー)や、遊技球払出装置46の払出動作が正常か否か(補給切れエラー)や、上受け皿10の満杯状態(球詰りエラー)等を監視する。 The payout control board 42 can transmit various status signals to the main control board 40 based on detection signals from the full-capacity detection sensor 47, the front door open sensor 48, the supply depletion detection sensor 46a, and the ball counting sensor 46b. These status signals include a ball jam signal indicating a full-capacity state, a door open signal indicating at least the front frame 2 is open, a supply depletion signal indicating insufficient supply of game balls from the game ball payout device 46, a counting error signal indicating insufficient payout of prize balls or an abnormality in the ball counting sensor 46b, and a payout completion signal indicating the completion of the payout operation. The main control board 40 monitors these status signals, checking the open state of the front frame 2 (door open error), whether the payout operation of the game ball payout device 46 is normal (supply depletion error), and the full-capacity state of the upper tray 10 (ball jam error).

また、払出制御基板42は、発射制御基板45に対し発射を許可する許可信号を送信可能とされている。発射制御基板45は、払出制御基板42からの許可信号が出力されていることに基づき、発射装置44に設けられた発射ソレノイド(図示せず)への通電を制御し、発射操作ハンドル15の操作による遊技球の発射動作を実現している。具体的には、払出制御基板42から発射許可信号が出力されていること(発射許可信号ON状態)、発射操作ハンドル15に設けられたタッチセンサ(図示せず)により遊技者がハンドルに触れていることを検出されていること、発射操作ハンドル15に設けられた発射停止スイッチ(図示せず)が操作されていないことを条件に、遊技球の発射動作が許容される。従って、発射許可信号が出力されていない場合には(発射許可信号OFF状態)、発射操作ハンドル15を操作しても発射動作は実行されず、遊技球が発射されることはない。また、遊技球の発射強度は、発射操作ハンドル15の操作量に応じて変化可能となっている。
なお、払出制御基板42が上記球詰りエラーを検出すると、主制御基板40に球詰り信号を送信すると共に発射制御基板45に対する発射許可信号の出力を停止し(発射許可信号OFF)、上受け皿10の満杯状態が解消されるまで打ち出し動作を停止する制御を行うようになっている。
また、払出制御基板42は、発射制御基板45に対する発射の許可信号の出力を、主制御基板40より発射許可が指示されたことを条件に行う。
Furthermore, the payout control board 42 is capable of transmitting a permission signal to the launch control board 45 to permit launching. Based on the output of the permission signal from the payout control board 42, the launch control board 45 controls the power supply to the launch solenoid (not shown) provided on the launching device 44, thereby realizing the launching operation of the game ball by operating the launching handle 15. Specifically, the launching operation of the game ball is permitted under the following conditions: the payout control board 42 outputs a launch permission signal (launch permission signal ON state), a touch sensor (not shown) provided on the launching handle 15 detects that the player is touching the handle, and the launch stop switch (not shown) provided on the launching handle 15 is not operated. Therefore, if the launch permission signal is not output (launch permission signal OFF state), the launching operation will not be performed even if the launching handle 15 is operated, and no game ball will be launched. In addition, the launch intensity of the game ball can be changed according to the amount the launching handle 15 is operated.
Furthermore, when the dispensing control board 42 detects the ball jam error, it sends a ball jam signal to the main control board 40 and stops outputting a launch permission signal to the launch control board 45 (launch permission signal OFF), and performs control to stop the launching operation until the upper tray 10 is cleared of its full state.
Furthermore, the dispensing control board 42 outputs a launch permission signal to the launch control board 45 only when the main control board 40 has instructed it to grant launch permission.

(性能表示について)
主制御基板40は、性能表示器35に対し所定の性能情報を表示させるための制御信号を送信可能とされている。
性能情報とは、パチンコホールや関係各庁が確認したい情報であり、遊技機1に対する過剰賞球等の不正賞球ゴトの有無や遊技機1本来の出玉性能などに関する情報などがその代表例である。従って、性能情報自体は、予告演出等とは異なり、遊技者が遊技に興じる際に、その遊技進行自体には直接的に関係の無い情報となる。
(Regarding performance specifications)
The main control board 40 is capable of transmitting control signals to the performance indicator 35 to display predetermined performance information.
Performance information refers to information that pachinko parlors and relevant government agencies want to verify. Typical examples include information on whether or not there are any fraudulent payout tactics such as excessive payouts on the gaming machine 1, and information on the gaming machine 1's inherent payout performance. Therefore, unlike pre-announcement effects and other such information, performance information itself is not directly related to the progress of the game while the player is enjoying the game.

このため性能表示器35は、遊技機1内部、例えば、主制御基板40、払出制御基板42、発射制御基板45、中継基板、演出制御基板41上や、基板ケース(基板を保護する保護カバー)など、前枠2が開放状態とされたときに表示情報を視認可能となる位置に設けられている。 Therefore, the performance indicator 35 is installed inside the gaming machine 1, for example, on the main control board 40, payout control board 42, launch control board 45, relay board, and performance control board 41, or on the board case (protective cover that protects the board), in a position where the display information can be seen when the front frame 2 is open.

ここで、性能情報には、具体的に次のような情報を採用することができる。
(1)特定状態中において入賞により払い出された総払出個数(特定中総賞球数:α個)を、当該特定状態中おいて遊技領域19から排出された総アウト球数(特定中アウト球数:β個)で除した値(α/β)に基づく情報(特定比率情報)を、性能情報として採用することができる。
上記「総払出個数」とは、入賞口(第1始動口23、第2始動口24、一般入賞口31、第1大入賞口27、第2大入賞口28)に入賞した際に払い出された遊技球(賞球)の合計値である。
また、特定状態として、何れの状態を採用するかについては、如何なる状態下の性能情報を把握したいかに応じて適宜定めることができる。本実施形態の場合であれば、複数の遊技状態、大当り遊技中のうち、何れの状態も採用することができる。また、複数種類の状態を計測対象としてもよい。例えば、大当り遊技中を除く全ての遊技状態等であり、その計測対象とする種類は適宜定めることができる。
また、1又は複数の特定の入賞口を計測対象から除外したものを総払出個数としてもよい(特定入賞口除外総払出個数)。例えば、各入賞口のうち、第1大入賞口27及び第2大入賞口28を計測対象から除外したものを、総払出個数としてもよい。
Here, the performance information can specifically include the following:
(1) Information based on the value (α/β) obtained by dividing the total number of balls dispensed by winning during a specific state (total number of prize balls during the specific state: α) by the total number of balls that were ejected from the game area 19 during the specific state (number of balls that were ejected during the specific state: β) (specific ratio information) can be adopted as performance information.
The "total number of balls dispensed" mentioned above refers to the total number of game balls (prize balls) dispensed when the ball enters one of the prize winning slots (first starting slot 23, second starting slot 24, general prize slot 31, first major prize slot 27, second major prize slot 28).
Furthermore, the specific state to be adopted can be determined as appropriate depending on the performance information to be captured under what state. In this embodiment, any of the multiple game states, including the state during a jackpot, can be adopted. In addition, multiple types of states may be used as measurement targets. For example, all game states except during a jackpot, and the types to be measured can be determined as appropriate.
Furthermore, the total number of payouts may be calculated by excluding one or more specific winning slots from the measurement (total payouts excluding specific winning slots). For example, the total number of payouts may be calculated by excluding the first major winning slot 27 and the second major winning slot 28 from the measurement.

(2)その他、総払出個数、特定入賞口除外総払出個数、総アウト球数の何れかだけを計測し、その計測結果を性能情報としてもよい。 (2) In addition, the total number of balls dispensed, the total number of balls dispensed excluding specific prize slots, or the total number of balls that have been thrown out may be measured, and the measurement results may be used as performance information.

本実施形態では、通常状態中の総払出個数(通常時払出個数)と、通常状態中の総アウト球数(通常時アウト球数)とをリアルタイムで計測し、通常時払出個数を通常時アウト球数で除した値に百を乗じた値(通常時払出個数÷通常時アウト球数×100で算出される値)を性能情報(以下「通常時比率情報」と称する)として表示する。なお、この際の表示値は、小数点第1位を四捨五入した値とする。
従って、通常時払出個数、通常時アウト球数、通常時比率情報の各データが、RAM40cの該当領域(特定中総賞球数格納領域、特定中アウト球数格納領域、特定比率情報格納領域)にそれぞれ格納(記憶)されるようになっている。但し、単に永続的に計測して性能情報を表示するのではなく、総アウト球数が所定の規定個数(例えば、60000個)に達した場合、一旦、計測を終了する。この規定個数とは、通常状態の総アウト球数ではなく、全遊技状態中(当り遊技中を含む)の総アウト球数(以下「全状態アウト球数」と称する)である。この全状態アウト球数もリアルタイムに計測され、RAM40cの該当領域(全状態アウト球数格納領域)に格納される。以下、説明の便宜のために、特定中総賞球数格納領域、特定中アウト球数格納領域、特定比率情報格納領域、全状態アウト球数格納領域を「計測情報格納領域」と略称する。
In this embodiment, the total number of balls dispensed during normal operation (normal number of balls dispensed) and the total number of balls out during normal operation (normal number of balls out) are measured in real time, and the value obtained by dividing the normal number of balls dispensed by the normal number of balls out and multiplying the result by 100 (calculated as normal number of balls dispensed ÷ normal number of balls out × 100) is displayed as performance information (hereinafter referred to as "normal ratio information"). The displayed value in this case is rounded to the first decimal place.
Therefore, data on the number of balls dispensed under normal conditions, the number of balls out under normal conditions, and the ratio information under normal conditions are stored in the corresponding areas of the RAM 40c (specific total prize ball storage area, specific balls out storage area, and specific ratio information storage area). However, instead of simply measuring and displaying performance information indefinitely, the measurement is terminated once the total number of balls out reaches a predetermined number (for example, 60,000 balls). This predetermined number is not the total number of balls out under normal conditions, but the total number of balls out during all game states (including during winning games) (hereinafter referred to as "total number of balls out in all states"). This total number of balls out in all states is also measured in real time and stored in the corresponding area of the RAM 40c (total number of balls out in all states storage area). Hereafter, for the sake of explanation, the specific total prize ball storage area, specific balls out storage area, specific ratio information storage area, and total number of balls out in all states storage area will be abbreviated as "measurement information storage area".

そして、終了時点の通常時比率情報をRAM40cの所定領域(性能表示格納領域)に格納し(今回の通常時比率情報を記憶)、その後、計測情報格納領域(通常時払出個数、通常時アウト球数及び全状態アウト球数)をクリアしてから、再度、計測を開始する(通常時払出個数、通常時アウト球数、通常時比率情報及び全状態アウト球数の計測を開始する)。そして、設定・性能表示器35には、前回の通常時比率情報(計測履歴情報)と、現在計測中の通常時比率情報とが表示されるようになっている。なお、前回の情報に限らず、前々回やその前(3回前)などの履歴を表示可能に構成してもよく、何回前までの情報を表示するかについては適宜定めることができる。
Then, the normal ratio information at the end of the measurement is stored in a predetermined area (performance display storage area) of the RAM 40c (storing the current normal ratio information), and after that, the measurement information storage area (normal payout count, normal out count, and total out count) is cleared, and then measurement is started again (measurement of normal payout count, normal out count, normal ratio information, and total out count is started). The setting/performance display unit 35 then displays the previous normal ratio information (measurement history information) and the normal ratio information currently being measured. Note that the system may be configured to display history not only for the previous information, but also for the time before last and the time before that (three times ago), and the number of times back in time information to display can be determined as appropriate.

(演出制御コマンド)
主制御基板40は、処理状態に応じて、特別図柄変動表示ゲームに関する情報やエラーに関する情報等を含む種々の演出制御コマンドを、演出制御基板41に対して送信可能とされている。但し、ゴト行為等の不正を防止するために、主制御基板40は演出制御基板41に対して信号を送信するのみで、演出制御基板41からの信号を受信不可能な片方向通信の構成となっている。
(Performance control command)
The main control board 40 is capable of transmitting various performance control commands, including information related to the special symbol variation display game and error information, to the performance control board 41, depending on the processing status. However, in order to prevent fraudulent activities such as cheating, the main control board 40 is configured for one-way communication, only transmitting signals to the performance control board 41 and not being able to receive signals from the performance control board 41.

ここで、演出制御コマンドは、1バイト長のモード(MODE)と、同じく1バイト長のイベント(EVENT)からなる2バイト構成により機能を定義し、MODEとEVENTの区別を行うために、MODEのBit7はON、EVENTのBit7をOFFとしている。これらの情報を有効なものとして送信する場合、モード(MODE)及びイベント(EVENT)の各々に対応してストローブ信号が出力される。すなわち、CPU40a(主制御CPU)は、送信すべきコマンドがある場合、演出制御基板41にコマンドを送信するためのモード(MODE)情報の設定及び出力を行い、この設定から所定時間経過後に1回目のストローブ信号の送信を行う。さらに、このストローブ信号の送信から所定時間経過後にイベント(EVENT)情報の設定及び出力を行い、この設定から所定時間経過後に2回目のストローブ信号の送信を行う。ストローブ信号は、CPU41a(演出制御CPU)が確実にコマンドを受信可能とする所定期間、CPU40aによりアクティブ状態に制御される。
Here, the performance control command defines its function using a two-byte configuration consisting of a one-byte mode (MODE) and a one-byte event (EVENT). To distinguish between MODE and EVENT, Bit 7 of MODE is set to ON and Bit 7 of EVENT is set to OFF. When this information is transmitted as valid, a strobe signal is output corresponding to each of the mode (MODE) and event (EVENT). That is, when the CPU 40a (main control CPU) has a command to send, it sets and outputs mode (MODE) information for sending the command to the performance control board 41, and transmits the first strobe signal after a predetermined time has elapsed since this setting. Furthermore, after a predetermined time has elapsed since the transmission of this strobe signal, it sets and outputs event (EVENT) information, and transmits the second strobe signal after a predetermined time has elapsed since this setting. The strobe signal is controlled to be active by CPU 40a for a predetermined period of time during which CPU 41a (performance control CPU) can reliably receive commands.

[2.2 演出制御基板]
演出制御基板41は、CPU41aを内蔵したマイクロプロセッサを搭載すると共に、演出制御処理に要する演出データを格納したROM41bと、ワーク領域やバッファメモリとして機能するRAM41cとを搭載したマイクロコンピュータを中心に構成され、その他、音響制御部(音源IC)、RTC(Real Time Clock)機能部、カウンタ回路、割込みコントローラ回路、リセット回路、WDT回路などが設けられ、演出動作全般を制御する。
[2.2 Performance Control Board]
The performance control board 41 is primarily composed of a microcomputer equipped with a microprocessor containing a CPU 41a, a ROM 41b that stores performance data required for performance control processing, and a RAM 41c that functions as a work area and buffer memory. In addition, it is equipped with an audio control unit (sound source IC), an RTC (Real Time Clock) function unit, a counter circuit, an interrupt controller circuit, a reset circuit, a WDT circuit, etc., to control the overall performance operation.

CPU41aは演出制御プログラム及び主制御基板40から受信した演出制御コマンドに基づいて、各種演出動作のための演算処理や各演出手段の制御を行う。演出手段とは、本実施形態の遊技機1の場合、液晶表示装置20、光表示装置16a、音響発生装置17a、及び可動体役物50となる。 The CPU 41a performs calculations and controls various performance mechanisms based on the performance control program and performance control commands received from the main control board 40. In the case of the gaming machine 1 of this embodiment, the performance mechanisms include the liquid crystal display device 20, the optical display device 16a, the sound generator 17a, and the movable mechanism 50.

ROM41bは、CPU41aによる演出動作の制御プログラムや、演出動作制御に必要な種々のデータを記憶する。
RAM41cは、CPU41aが各種演算処理に使用するワークエリアや、テーブルデータ領域、各種入出力データや処理データのバッファ領域等として用いられる。
なお、演出制御基板41は、例えば1チップマイクロコンピュータとその周辺回路が搭載された構成とされるが、演出制御基板41の構成は各種考えられる。例えばマイクロコンピュータに加えて、各部とのインターフェース回路、演出のための抽選用乱数を生成する乱数生成回路、各種の時間計数のためのCTC、ウォッチドッグタイマ(WDT)回路、CPU41aに割込み信号を与える割込コントローラ回路などを備える場合もある。
ROM 41b stores control programs for the performance actions performed by CPU 41a, as well as various data necessary for controlling the performance actions.
The RAM 41c is used by the CPU 41a as a work area for various calculation processes, a table data area, a buffer area for various input/output data and processing data, etc.
The performance control board 41 is configured, for example, with a single-chip microcomputer and its peripheral circuits, but various configurations are possible for the performance control board 41. For example, in addition to the microcomputer, it may also include interface circuits to various parts, a random number generation circuit to generate random numbers for drawing for performances, a CTC for various time counting, a watchdog timer (WDT) circuit, and an interrupt controller circuit that provides interrupt signals to the CPU 41a.

この演出制御基板41の主な役割は、主制御基板40からの演出制御コマンドの受信、演出制御コマンドに基づく演出の選択決定、液晶表示装置20の表示制御(表示データ供給)、音響発生装置17aの音声出力制御、光表示装置16a(LED)の発光制御、可動体役物50の動作制御などとなる。 The main roles of this performance control board 41 are to receive performance control commands from the main control board 40, select and determine performances based on the performance control commands, control the display of the liquid crystal display device 20 (supply of display data), control the sound output of the sound generator 17a, control the light emission of the light display device 16a (LED), and control the operation of the movable prop 50.

この演出制御基板41は、液晶表示装置20に対する制御装置としての機能も備えているため、演出制御基板41には、いわゆるVDP(Video Display Processor)、画像ROM、VRAM(Video RAM)としての機能も備えられ、またCPU41aは、液晶制御部としても機能する。
VDPは、画像展開処理や画像の描画などの映像出力処理全般の制御を行う機能を指している。
画像ROMとは、VDPが画像展開処理を行う画像データが格納されているメモリを指す。
VRAMは、VDPが展開した画像データを一時的に記憶する画像メモリ領域である。
Since this performance control board 41 also functions as a control device for the liquid crystal display device 20, the performance control board 41 is equipped with functions as a so-called VDP (Video Display Processor), image ROM, and VRAM (Video RAM), and the CPU 41a also functions as a liquid crystal control unit.
VDP refers to a function that controls all aspects of video output processing, including image unpacking and image rendering.
Image ROM refers to the memory that stores the image data used by the VDP for image processing.
VRAM is an image memory area that temporarily stores image data expanded by the VDP.

演出制御基板41は、これらの構成により、主制御基板40からの演出制御コマンドに基づいて各種の画像データを生成し、液晶表示装置20に出力する。これによって液晶表示装置20において各種の演出画像が表示される。 The performance control board 41, with these configurations, generates various image data based on performance control commands from the main control board 40 and outputs it to the liquid crystal display device 20. As a result, various performance images are displayed on the liquid crystal display device 20.

また演出制御基板41は、複数のスピーカ17を含む音響発生装置17aに対する音響制御部を有しており、音響制御部が出力する音響信号はアンプ部17bで増幅されてスピーカ17に供給される。
また、演出制御基板41には、装飾ランプ16や各種LEDを含む光表示装置16aに対する光表示制御部として機能するランプドライバ部16bと、可動体役物50(本例では可動体役物50x、50y)を動作させるための制御を行うモータ駆動制御部51とが接続されている。演出制御基板41は、これらランプドライバ部16b、モータ駆動制御部51に指示を行って光表示装置16aによる光表示動作や可動体役物50の動作を制御する。
Furthermore, the performance control board 41 has an acoustic control unit for the sound generating device 17a, which includes multiple speakers 17. The acoustic signals output by the acoustic control unit are amplified by the amplifier unit 17b and supplied to the speakers 17.
Furthermore, the performance control board 41 is connected to a lamp driver unit 16b, which functions as a light display control unit for the light display device 16a, including decorative lamps 16 and various LEDs, and a motor drive control unit 51, which controls the operation of the movable props 50 (movable props 50x and 50y in this example). The performance control board 41 issues instructions to the lamp driver unit 16b and the motor drive control unit 51 to control the light display operation of the light display device 16a and the operation of the movable props 50.

ここで、遊技機1においては、各可動体役物50を駆動するための複数の役物モータ(後述する役物モータ53x、53y)で成る役物モータ群53と、役物モータ群53におけるそれぞれの役物モータについて駆動制御を行う複数のモータドライバ(後述するモータドライバ52x、52y)で成るモータドライバ群52とが設けられているが、本実施形態の遊技機1では、演出制御基板41がモータドライバ群52における各モータドライバを直接的に制御する構成ではなく、モータ駆動制御部51を介して各モータドライバの動作を制御する構成が採られている。
このようにモータ駆動制御部51を介して行われる実施形態としての可動体役物制御の詳細は後に改めて説明する。
In this game machine 1, there is a group of feature motors 53 consisting of multiple feature motors (feature motors 53x, 53y described later) for driving each movable feature 50, and a group of motor drivers 52 consisting of multiple motor drivers (motor drivers 52x, 52y described later) for controlling the drive of each feature motor in the feature motor group 53. However, in the game machine 1 of this embodiment, the performance control board 41 does not directly control each motor driver in the motor driver group 52, but rather controls the operation of each motor driver via the motor drive control unit 51.
Details of the control of the movable parts as an embodiment performed via the motor drive control unit 51 will be explained in more detail later.

ここで、本実施形態において、役物モータ群53における各役物モータには、例えばバイポーラモータが採用されている。 In this embodiment, each of the motors in the motor group 53 is, for example, a bipolar motor.

原点スイッチ群54は、各可動体役物50について、それぞれ原点位置にあるか否かを判定するための複数の原点スイッチを包括的に表しており、位置センサ群55は、各可動体役物50の動作位置(例えば、原点位置からの移動量)を検出するために可動体役物50ごとに設けられた位置センサ(後述する位置センサ55x、55y)を包括的に表している。 The origin switch group 54 comprehensively represents multiple origin switches for determining whether each movable component 50 is at its origin position, while the position sensor group 55 comprehensively represents position sensors (position sensors 55x, 55y, described later) provided for each movable component 50 to detect its operating position (for example, the amount of movement from the origin position).

本実施形態の遊技機1において、位置センサ群55における各位置センサによる検出信号は、演出制御基板41ではなくモータ駆動制御部51に入力される。
後述するように、モータ駆動制御部51は、位置センサからの入力に対応して、例えば、可動体役物50をセンサ位置まで移動させて停止させる、といった制御を演出制御基板41からの指示に基づき行うことが可能とされている。
In the gaming machine 1 of this embodiment, the detection signals from each position sensor in the position sensor group 55 are input to the motor drive control unit 51, not to the performance control board 41.
As will be described later, the motor drive control unit 51 is capable of performing controls such as moving the movable prop 50 to the sensor position and stopping it, in response to input from the position sensor, based on instructions from the performance control board 41.

原点スイッチ群54において、各原点スイッチは、例えばフォトインターラプタ等で構成され、それぞれ対応する可動体役物50が原点位置にあるか否かを検出する。原点位置は、例えば図4を参照して説明した遮蔽位置などとされる。
演出制御基板41は、原点スイッチ群54における原点スイッチの検出信号に基づいて可動体役物50が原点位置にあるか否かを判定可能とされている。演出制御基板41は、この判定の結果に基づき、各可動体役物50を原点位置に復帰させる原点復帰処理を行うことが可能とされる。
In the origin switch group 54, each origin switch is composed of, for example, a photointerrupter, and detects whether the corresponding movable component 50 is in the origin position. The origin position is, for example, the shielding position as described with reference to Figure 4.
The performance control board 41 is capable of determining whether the movable props 50 are in the origin position based on the detection signals of the origin switches in the origin switch group 54. Based on the result of this determination, the performance control board 41 is capable of performing an origin return process to return each movable prop 50 to its origin position.

また、演出制御基板41には、操作部14として示す演出ボタン14a、十字キー14b、決定ボタン14cの操作検出スイッチが接続され、演出制御基板41は、演出ボタン14a、十字キー14b、決定ボタン14cからの操作検出信号をそれぞれ受信可能とされている。 Furthermore, the performance control board 41 is connected to operation detection switches for the performance buttons 14a, the directional pad 14b, and the select button 14c, which are referred to as the operation unit 14. The performance control board 41 is capable of receiving operation detection signals from the performance buttons 14a, the directional pad 14b, and the select button 14c, respectively.

さらに、演出制御基板41には、図1に示した発射操作ハンドル15が遊技者に触れられているか否かを検出するためのハンドルセンサ56(タッチセンサ)が設けられている。演出制御基板41はこのハンドルセンサ56の検出情報に基づいて発射操作ハンドル15が使用者によりタッチされているか否かを判定可能とされる。 Furthermore, the performance control board 41 is equipped with a handle sensor 56 (touch sensor) for detecting whether the firing operation handle 15 shown in Figure 1 is being touched by the player. Based on the detection information from this handle sensor 56, the performance control board 41 can determine whether the firing operation handle 15 is being touched by the user.

演出制御基板41は、主制御基板40から送られてくる演出制御コマンドに基づき、予め用意された複数種類の演出パターンの中から抽選により、又は一意に演出パターンを選択(決定)し、必要なタイミングで各種の演出手段を制御して、目的の演出を現出させる。これにより、演出パターンに対応する液晶表示装置20による演出画像の表示、スピーカ17からの音の再生、装飾ランプ16やLEDの点灯点滅駆動が実現され、種々の演出パターン(装飾図柄変動表示動作や予告演出など)が時系列的に展開されることにより、広義の意味での「演出シナリオ」が実現される。 The performance control board 41, based on performance control commands sent from the main control board 40, selects (determines) a performance pattern from a pre-prepared set of multiple patterns either by lottery or uniquely, and controls various performance means at the necessary timing to produce the desired performance. This enables the display of performance images on the liquid crystal display device 20 corresponding to the performance pattern, the playback of sound from the speaker 17, and the operation of the lighting and flashing of decorative lamps 16 and LEDs. Various performance patterns (such as decorative symbol variation displays and pre-announcement performances) unfold chronologically, realizing a "performance scenario" in a broad sense.

ここで、演出制御コマンドについて、演出制御基板41(CPU41a)は、主制御基板40(CPU40a)が送信する上述したストローブ信号の入力に基づき割込み処理を発生させてその受信・解析を行う。具体的に、CPU41aは、上述したストローブ信号の入力に基づいてコマンド受信割込処理用の制御プログラムを実行し、これにより実現される割込み処理において、演出制御コマンドを取得し、コマンド内容の解析を行う。
この際、CPU41aは、ストローブ信号の入力に基づいて割込みが発生した場合には、他の割込みに基づく割込み処理(定期的に実行されるタイマ割込処理)の実行中であっても、当該処理に割り込んでコマンド受信割込処理を行い、他の割込みが同時に発生してもコマンド受信割込処理を優先的に行うようになっている。
Here, regarding the performance control command, the performance control board 41 (CPU 41a) generates an interrupt based on the input of the strobe signal transmitted by the main control board 40 (CPU 40a) to receive and analyze it. Specifically, the CPU 41a executes a control program for command reception interrupt processing based on the input of the strobe signal, and in the interrupt processing realized thereby, it acquires the performance control command and analyzes the command content.
In this case, when an interrupt occurs based on the input of a strobe signal, the CPU 41a will interrupt the execution of an interrupt process based on another interrupt (a timer interrupt process that is executed periodically) and perform a command reception interrupt process, and will prioritize the command reception interrupt process even if other interrupts occur simultaneously.

<3.動作の概要説明>
次に、上記のような制御構成(図5)により実現される遊技機1の遊技動作の概要について説明する。
<3. Overview of Operation>
Next, we will explain the general operation of the gaming machine 1, which is realized by the control configuration described above (Figure 5).

[3.1 遊技状態]
本実施形態に係る遊技機1では、特別遊技状態である大当り遊技の他、複数種類の遊技状態を設定可能に構成されている。本実施形態の理解を容易なものとするために、先ず、種々の遊技状態について説明する。
[3.1 Game Status]
In the gaming machine 1 according to this embodiment, in addition to the special game state of a jackpot game, multiple types of game states can be set. To facilitate understanding of this embodiment, the various game states will first be described.

本実施形態の遊技機1は、低確率状態又は高確率状態のどちらかと、非時短状態又は時短状態のどちらかとが組み合わされたいずれかの遊技状態で遊技が進行する。 In this embodiment, the game progresses in one of two game states: a low probability state or a high probability state, and a non-time-saving state or a time-saving state.

低確率状態は、後述する大当り抽選の当選確率が相対的に低い状態であり、高確率状態は、大当り抽選の当選確率が相対的に高い状態である。
非時短状態は、第2始動口24に遊技球が相対的に入球しにくい状態であり、時短状態は、第2始動口24に遊技球が相対的に入球しやすい状態である。本実施形態では、時短状態の方が非時短状態よりも、後述する普図当り抽選に当選したときの第2始動口24の開放時間が長く設定されている。しかしながら、時短状態の方が非時短状態よりも第2始動口24に遊技球が入球しやすいのであれば、時短状態の方が非時短状態よりも、例えば、普図当り抽選の当選確率を高くしたり、普通図柄の変動時間を短くしたりしてもよい。
A low-probability state is a state in which the probability of winning the jackpot lottery, described later, is relatively low, while a high-probability state is a state in which the probability of winning the jackpot lottery is relatively high.
In the non-time-shortened state, it is relatively difficult for game balls to enter the second starting opening 24, while in the time-shortened state, it is relatively easy for game balls to enter the second starting opening 24. In this embodiment, the opening time of the second starting opening 24 when winning the regular symbol lottery, described later, is set to be longer in the time-shortened state than in the non-time-shortened state. However, if it is easier for game balls to enter the second starting opening 24 in the time-shortened state than in the non-time-shortened state, then in the time-shortened state, for example, the probability of winning the regular symbol lottery may be increased or the variation time of the regular symbols may be shortened compared to the non-time-shortened state.

本実施形態において、「通常状態」とは、低確率状態及び非時短状態を言い、初期状態に相当する。
In this embodiment, "normal state" refers to the low-probability state and the non-time-saving state, and corresponds to the initial state.

[3.2 図柄変動表示ゲーム]
(特図保留について)
遊技機1では、第1始動口23又は第2始動口24へ遊技球が入球した場合、すなわち、第1始動口検出センサ23a又は第2始動口検出センサ24aからの検出信号の入力があった場合、後述する特別図柄変動表示ゲームに係る乱数(大当り判定用乱数、特別図柄判定用乱数、変動パターン用乱数)が取得され、これらの乱数を保留データとして、所定の上限値である最大保留記憶数(例えば最大4個)までRAM40cの特図保留記憶エリアに記憶されるようになっている。
この特図保留記憶エリアは、特図1側と特図2側とに対応した特図保留記憶エリア、すなわち、特図1保留記憶エリアと、特図2保留記憶エリアとが設けられている。
[3.2 Symbol Variation Display Game]
(Regarding special feature hold)
In the gaming machine 1, when a game ball enters the first start port 23 or the second start port 24, that is, when a detection signal is input from the first start port detection sensor 23a or the second start port detection sensor 24a, random numbers related to the special symbol variation display game described later (random numbers for jackpot determination, random numbers for special symbol determination, and random numbers for variation patterns) are acquired, and these random numbers are stored as reserved data in the special symbol reserved storage area of the RAM 40c up to a predetermined upper limit, which is the maximum number of reserved storages (for example, a maximum of 4).
This special feature retention memory area is provided with special feature retention memory areas corresponding to the special feature 1 side and the special feature 2 side, namely, the special feature 1 retention memory area and the special feature 2 retention memory area.

これら特図保留記憶エリアには、保留1記憶エリア~保留n記憶エリア(nは最大保留記憶数:本実施形態ではn=4)が設けられており、それぞれ最大保留記憶数分の保留データを格納可能となっている。なお、特図1保留記憶エリア及び特図2保留記憶エリアの最大保留記憶数は特に制限されない。また、各図柄の最大保留記憶数の全部又は一部が異なっていてもよく、その数は遊技性に応じて適宜定めることができる。
この特図保留記憶エリアに記憶されている保留データに係る遊技球を、「保留球」とも称する。この保留球の数を遊技者に明らかにするため、複合表示装置22cにおける特図1及び特図2の保留球数に対応するドット表示器を点灯表示させたり、液晶表示装置20による画面中にアイコン画像として設けた保留表示器を点灯表示させたりする。
These special symbol hold memory areas are provided with Hold 1 memory area to Hold n memory area (where n is the maximum number of hold memories; in this embodiment, n = 4), and each can store hold data up to the maximum number of hold memories. There is no particular limit to the maximum number of hold memories in Special Symbol 1 Hold Memory Area and Special Symbol 2 Hold Memory Area. Furthermore, the maximum number of hold memories for each symbol may be all or part of different, and these numbers can be determined as appropriate according to the gameplay.
The game balls associated with the reserved data stored in this special feature reserved memory area are also called "reserved balls." To make the number of these reserved balls clear to the player, the dot displays corresponding to the number of reserved balls in special feature 1 and special feature 2 on the composite display device 22c are lit up, or the reserved ball indicators provided as icon images on the screen of the liquid crystal display device 20 are lit up.

(特別図柄変動表示ゲーム)
本実施形態の遊技機1では、所定の始動条件、具体的には、第1始動口23又は第2始動口24に遊技球が入球(入賞)したことに基づき、主制御基板40において乱数抽選による「大当り抽選」が行われる。主制御基板40は、大当り抽選の抽選結果に基づき、特別図柄表示装置22a、22bに特別図柄1、特別図柄2を変動表示して特別図柄変動表示ゲームを開始させ、所定の変動時間の経過後に、その結果を特別図柄表示装置22a、22bに表示して、これにより特別図柄変動表示ゲームを終了させる。なお、特に必要のない限り、「特別図柄1」と「特別図柄2」とを単に「特別図柄」と称する(場合により「特図」と略称する)。
(Special symbol variation display game)
In the gaming machine 1 of this embodiment, a "jackpot lottery" is performed by random number generation on the main control board 40 based on predetermined starting conditions, specifically, when a game ball enters (wins a prize) into the first starting port 23 or the second starting port 24. Based on the results of the jackpot lottery, the main control board 40 starts a special symbol variation display game by displaying special symbol 1 and special symbol 2 on the special symbol display devices 22a and 22b in a variable manner. After a predetermined variation time has elapsed, the result is displayed on the special symbol display devices 22a and 22b, thereby ending the special symbol variation display game. Unless otherwise necessary, "special symbol 1" and "special symbol 2" will simply be referred to as "special symbols" (or abbreviated as "special symbols" in some cases).

ここで本実施形態では、第1始動口23への入賞に基づく特図1の大当り抽選と、第2始動口24への入賞に基づく特図2の大当り抽選とは別個独立して行われる。このため、特図1の大当り抽選結果は特別図柄表示装置22aで、特図2の大当り抽選結果は特別図柄表示装置22bで表示されるようになっている。具体的には、特別図柄表示装置22aにおいては、第1始動口23に遊技球が入球したことを条件に、特図1を変動表示して第1の特別図柄変動表示ゲームが開始され、他方、特別図柄表示装置22bにおいては、第2始動口24に遊技球が入球したことを条件に、特図2を変動表示して第2の特別図柄変動表示ゲームが開始されるようになっている。そして、特別図柄表示装置22a又は特別図柄表示装置22bにおける特別図柄変動表示ゲームが開始されると、所定の変動時間の経過後に、大当り抽選結果が「大当り」の場合には所定の「大当り」態様で、それ以外の場合には所定の「はずれ」態様で、変動表示中の特別図柄が停止表示され、これによりゲーム結果(大当り抽選結果)が報知されるようになっている。 In this embodiment, the jackpot lottery for Special Symbol 1, based on a ball entering the first starting opening 23, and the jackpot lottery for Special Symbol 2, based on a ball entering the second starting opening 24, are performed separately and independently. Therefore, the result of the jackpot lottery for Special Symbol 1 is displayed on the Special Symbol Display Device 22a, and the result of the jackpot lottery for Special Symbol 2 is displayed on the Special Symbol Display Device 22b. Specifically, in the Special Symbol Display Device 22a, the first Special Symbol Variation Display Game is started by displaying Special Symbol 1 in a variable manner when a game ball enters the first starting opening 23, while in the Special Symbol Display Device 22b, the second Special Symbol Variation Display Game is started by displaying Special Symbol 2 in a variable manner when a game ball enters the second starting opening 24. Then, when the special symbol variation display game on the special symbol display device 22a or special symbol display device 22b begins, after a predetermined variation time has elapsed, the special symbols that were being displayed in the variation will stop in a predetermined "jackpot" pattern if the jackpot lottery result is "jackpot," or in a predetermined "miss" pattern otherwise, thereby notifying the game result (jackpot lottery result).

なお、説明の便宜上、特別図柄表示装置22a側の第1の特別図柄変動表示ゲームを「特別図柄変動表示ゲーム1」と称し、特別図柄表示装置22b側の第2の特別図柄変動表示ゲームを「特別図柄変動表示ゲーム2」と称する。また「特別図柄変動表示ゲーム1」と「特別図柄変動表示ゲーム2」とを単に「特別図柄変動表示ゲーム」と称する。 For the sake of explanation, the first special symbol variation display game on the special symbol display device 22a will be referred to as "Special Symbol Variation Display Game 1," and the second special symbol variation display game on the special symbol display device 22b will be referred to as "Special Symbol Variation Display Game 2." Furthermore, both "Special Symbol Variation Display Game 1" and "Special Symbol Variation Display Game 2" will simply be referred to as "Special Symbol Variation Display Game."

大当り抽選結果が「大当り」となった場合、すなわち、特別図柄変動表示ゲームが終了し、その結果として特別図柄表示装置22a又は特別図柄表示装置22bに「大当り」態様で特別図柄が停止表示された場合、その後に、特別図柄変動表示ゲーム中よりも遊技者に有利な特別遊技状態(大当り遊技)が発生する。
大当り遊技は、詳しくは後述するように、大当り遊技が開始する旨を報知するための開放前インターバル時間(オープニング時間)が経過した後、第1大入賞口27又は第2大入賞口28が開放されてから所定時間(最大開放時間:例えば、29.8)経過するか、第1大入賞口27又は第2大入賞口28に入球した遊技球数が所定個数(最大入賞数)に達すると、第1大入賞口27又は第2大入賞口28が閉鎖されるといった「ラウンド遊技」が、予め定められた規定ラウンド数(例えば、最大10ラウンド)繰り返される。そして、規定ラウンド数終了後に、大当り遊技が終了する旨を報知するための開放後インターバル時間(エンディング時間)が経過すると、大当り遊技が終了するようになっている。なお、数字の後の「s」は「秒」である。
If the jackpot lottery result is "jackpot," that is, when the special symbol variation display game ends and the special symbols are stopped and displayed in the "jackpot" manner on the special symbol display device 22a or special symbol display device 22b, a special game state (jackpot game) that is more advantageous to the player than during the special symbol variation display game will occur thereafter.
As will be explained in more detail later, in a jackpot game, after the pre-opening interval time (opening time) to notify that the jackpot game has started has elapsed, the first or second large prize slot 27 or 28 is opened and a predetermined time (maximum opening time: for example, 29.8) has elapsed, or the number of game balls that have entered the first or second large prize slot 27 or 28 has reached a predetermined number (maximum number of entries), at which point the first or second large prize slot 27 or 28 is closed. This "round game" is repeated for a predetermined number of rounds (for example, a maximum of 10 rounds). After the predetermined number of rounds has finished, the jackpot game ends after the post-opening interval time (ending time) to notify that the jackpot game has ended has elapsed. Note that the "s" after the numbers stands for "second".

(装飾図柄変動表示ゲーム)
また、上述の特別図柄変動表示ゲームが開始されると、これに伴って、液晶表示装置20に装飾図柄(演出的な遊技図柄)を変動表示して装飾図柄変動表示ゲームが開始され、これに付随して種々の演出が展開される。そして特別図柄変動表示ゲームが終了すると、装飾図柄変動表示ゲームも終了し、特別図柄表示装置22a、22bには大当り抽選結果を示す所定の特別図柄が、そして液晶表示装置20には当該大当り抽選結果を反映した装飾図柄が導出表示されるようになっている。すなわち、装飾図柄の変動表示動作を含む演出的な装飾図柄変動表示ゲームにより、特別図柄変動表示ゲームの結果を反映表示するようになっている。
(A game featuring changing decorative patterns)
Furthermore, when the special symbol variation display game described above is started, the decorative symbol variation display game is started by displaying decorative symbols (theatrical game symbols) in a variation manner on the liquid crystal display device 20, and various effects are unfolded in conjunction with this. When the special symbol variation display game ends, the decorative symbol variation display game also ends, and the special symbol display devices 22a and 22b display predetermined special symbols indicating the jackpot lottery result, and the liquid crystal display device 20 displays decorative symbols that reflect the jackpot lottery result. In other words, the theatrical decorative symbol variation display game, which includes the variation display operation of decorative symbols, reflects and displays the result of the special symbol variation display game.

従って、例えば特別図柄変動表示ゲームの結果が「大当り」である場合(大当り抽選結果が「大当り」である場合)、装飾図柄変動表示ゲームではその結果を反映させた演出が展開される。そして特別図柄表示装置22a、22bにおいて、特別図柄が大当りを示す表示態様(例えば、7セグが「7」の表示状態)で停止表示されると、液晶表示装置20には、「左」「中」「右」の各表示エリアにおいて、装飾図柄が「大当り」を反映させた表示態様(例えば「左」「中」「右」の各表示エリアにおいて、3個の装飾図柄が「7」「7」「7」の表示状態)で停止表示される。 Therefore, for example, if the result of the special symbol variation display game is a "jackpot" (if the jackpot lottery result is a "jackpot"), the decorative symbol variation display game will display an effect that reflects that result. Then, when the special symbol stops in the special symbol display devices 22a and 22b in a display mode indicating a jackpot (for example, the 7-segment display showing "7"), the liquid crystal display device 20 will stop displaying the decorative symbols in the "left," "center," and "right" display areas in a display mode that reflects a "jackpot" (for example, the three decorative symbols in the "left," "center," and "right" display areas will show "7," "7," and "7" respectively).

上記の装飾図柄変動表示ゲームの実行に必要な情報に関しては、先ず主制御基板40が、第1始動口23又は第2始動口24に遊技球が入球したことに基づき、具体的には、第1始動口検出センサ23a又は第2始動口検出センサ24aにより遊技球が検出されて始動条件(特別図柄に関する始動条件)が成立したことを条件に、「大当り」又は「はずれ」の何れであるかを抽選する大当り抽選と、最終的に停止表示される特別図柄の種別(大当り種別、はずれ種別)を抽選する図柄抽選とを行い、その抽選結果に基づき、特別図柄の変動パターンを決定する。
図柄抽選では、大当り抽選結果が「大当り」であったならば複数の大当り種別のいずれかを、「はずれ」であったならば複数のはずれ種別のいずれかを抽選により決定する。ただし、大当り種別及びはずれ種別は1つのみであってもよく、その場合、抽選を行うことなく決定してもよい。
そして、主制御基板40は、処理状態を特定する演出制御コマンドとして、少なくとも特別図柄の変動パターンの情報(変動パターン情報(例えば、大当り抽選結果及び特別図柄の変動時間に関する情報等))を含む「変動パターン指定コマンド」を演出制御基板41側に送信する。これにより、装飾図柄変動表示ゲームに必要とされる基本情報が演出制御基板41に送られる。
Regarding the information necessary to execute the above-mentioned decorative pattern variation display game, the main control board 40 first performs a jackpot lottery to determine whether it is a "jackpot" or a "miss" based on the fact that a game ball has entered the first start port 23 or the second start port 24, specifically, when the game ball is detected by the first start port detection sensor 23a or the second start port detection sensor 24a and the start condition (start condition related to special patterns) is met, and a pattern lottery to determine the type of special pattern that will be displayed at the end (jackpot type, miss type), and then determines the variation pattern of the special patterns based on the results of the lottery.
In the symbol lottery, if the result of the jackpot lottery is "jackpot," one of several jackpot types is determined by lottery; if it is "loser," one of several losing types is determined by lottery. However, there may be only one jackpot type and one losing type, in which case they may be determined without lottery.
The main control board 40 then sends a "variation pattern specification command" to the performance control board 41, which includes at least information on the variation pattern of the special symbols (variation pattern information (for example, information on the jackpot lottery result and the variation time of the special symbols)) as a performance control command to identify the processing state. This sends the basic information required for the decorative symbol variation display game to the performance control board 41.

特別図柄の変動パターン情報には、特定の予告演出(例えば、後述の「リーチ演出」や「疑似連演出」など)の発生の有無を指定する情報を含むことができる。詳述するに、特別図柄の変動パターンは、大当り抽選結果に応じて、当りの場合の「当り変動パターン」と、はずれの場合の「はずれ変動パターン」に大別される。これら変動パターンには、例えば、リーチ演出の発生を指定する‘リーチ変動パターン’、リーチ演出の発生を指定しない‘通常変動パターン’、疑似連演出とリーチ演出との発生(重複発生)を指定する‘疑似連有りリーチ変動パターン’、疑似連演出の発生を指定し、リーチ演出の発生は指定しない‘疑似連有り通常変動パターン’等、複数種類の変動パターンが含まれる。なお、リーチ演出や疑似連演出の演出時間を確保する関係上、通常、リーチ演出や疑似連演出を指定する変動パターンの方が、通常変動パターンよりも変動時間が長く定められている。 The special symbol variation pattern information can include information specifying whether or not specific pre-announcement effects (for example, "reach effects" or "pseudo-consecutive effects" described later) occur. More specifically, the special symbol variation patterns are broadly divided into "winning variation patterns" for wins and "losing variation patterns" for losses, depending on the jackpot lottery result. These variation patterns include multiple types, such as 'reach variation patterns' that specify the occurrence of reach effects, 'normal variation patterns' that do not specify the occurrence of reach effects, 'pseudo-consecutive reach variation patterns' that specify the occurrence of both pseudo-consecutive and reach effects (overlapping occurrences), and 'pseudo-consecutive normal variation patterns' that specify the occurrence of pseudo-consecutive effects but not reach effects. Note that, in order to allocate time for reach and pseudo-consecutive effects, variation patterns that specify reach and pseudo-consecutive effects usually have longer variation times than normal variation patterns.

演出制御基板41は、主制御基板40から送られてくる演出制御コマンド(ここでは、変動パターン指定コマンドと装飾図柄指定コマンド)に含まれる情報に基づいて、装飾図柄変動表示ゲーム中に時系列的に展開させる演出内容(予告演出等の演出シナリオ)や、最終的に停止表示する装飾図柄(装飾停止図柄)を決定し、特別図柄の変動パターンに基づくタイムスケジュールに従い装飾図柄を変動表示して装飾図柄変動表示ゲームを実行させる。これにより、特別図柄表示装置22a、22bによる特別図柄の変動表示と時間的に同調して、液晶表示装置20による装飾図柄が変動表示され、特別図柄変動表示ゲームの期間と装飾図柄変動表示ゲーム中の期間とが、実質的に同じ時間幅となる。また演出制御基板41は、演出シナリオに対応するように、液晶表示装置20又は光表示装置16a或いは音響発生装置17aをそれぞれ制御し、装飾図柄変動表示ゲームにおける各種演出を展開させる。これにより、液晶表示装置20での画像の再生(画像演出)と、効果音の再生(音演出)と、装飾ランプ16やLEDなどの点灯点滅駆動(光演出)とが実現される。 The performance control board 41 determines the performance content (performance scenarios such as予告演出) to be unfolded chronologically during the decorative symbol variation display game (decorative symbol stop display), and the decorative symbol to be displayed at the end (decorative symbol stop display), based on the information contained in the performance control commands (here, the variation pattern specification command and the decorative symbol specification command) sent from the main control board 40. The performance control board 41 then executes the decorative symbol variation display game by displaying the decorative symbols in a variation according to a time schedule based on the variation pattern of the special symbols. As a result, the decorative symbols displayed on the liquid crystal display device 20 are displayed in a variation in time in synchronization with the variation display of the special symbols by the special symbol display devices 22a and 22b, and the duration of the special symbol variation display game and the duration of the decorative symbol variation display game are substantially the same. The performance control board 41 also controls the liquid crystal display device 20, the optical display device 16a, or the sound generator 17a, respectively, to correspond to the performance scenario and unfold various performances in the decorative symbol variation display game. This enables the playback of images on the liquid crystal display device 20 (image presentation), the playback of sound effects (sound presentation), and the driving of decorative lamps 16 and LEDs to light up and flash (light presentation).

このように特別図柄変動表示ゲームと装飾図柄変動表示ゲームとは不可分的な関係を有し、特別図柄変動表示ゲームの表示結果を反映したものが装飾図柄変動表示ゲームにおいて表現されることとしているので、この二つの図柄変動表示ゲームを等価的な図柄遊技と捉えても良い。本明細書中では特に必要のない限り、上記二つの図柄変動表示ゲームを単に「図柄変動表示ゲーム」と称する場合がある。
Thus, the special symbol variation display game and the decorative symbol variation display game are inseparably related, and the results of the special symbol variation display game are reflected in the representations in the decorative symbol variation display game. Therefore, these two symbol variation display games can be considered equivalent symbol games. In this specification, unless otherwise necessary, the above two symbol variation display games may be simply referred to as "symbol variation display games."

(普図保留について)
遊技機1では、普通図柄ゲート26へ遊技球が通過した場合、すなわち、普通図柄ゲート検出センサ26aからの検出信号の入力があった場合、普通図柄変動表示ゲームに係る乱数(普図当り判定用乱数)が取得され、この乱数を保留データとして、所定の上限値である最大保留記憶数(例えば最大4個)までRAM40cの普図保留記憶エリアに保留記憶されるようになっている。
普図保留記憶エリアには、保留1記憶エリア~保留n記憶エリア(nは最大保留記憶数:本実施形態ではn=4)が設けられており、それぞれ最大保留記憶数分の保留データを格納可能となっている。なお、普図保留記憶エリアの最大保留記憶数は特に制限されない。
この普図保留記憶エリアに記憶されている保留データに係る遊技球を、「普図保留球」とも称する。この普図保留球の数を遊技者に明らかにするため、複合表示装置22cにおける普図保留球数に対応するドット表示器を点灯表示させたり、液晶表示装置20による画面中にアイコン画像として設けた保留表示器を点灯表示させたりする。
(Regarding the reservation of the general plan)
In the gaming machine 1, when a game ball passes through the regular symbol gate 26, that is, when a detection signal is input from the regular symbol gate detection sensor 26a, a random number related to the regular symbol variation display game (a random number for determining a regular symbol win) is acquired, and this random number is stored as reserved data in the regular symbol reserved storage area of the RAM 40c up to a predetermined upper limit, which is the maximum number of reserved storages (for example, a maximum of 4).
The general data hold memory area is provided with hold memory 1 area to hold memory n area (where n is the maximum number of hold memories: in this embodiment, n = 4), and each area can store hold data up to the maximum number of hold memories. There is no particular limit to the maximum number of hold memories in the general data hold memory area.
The game balls associated with the reserved data stored in this general-purpose reserved memory area are also called "general-purpose reserved balls." To make the number of these general-purpose reserved balls clear to the player, the dot display corresponding to the number of general-purpose reserved balls on the composite display device 22c is lit up, or the reserved ball indicator provided as an icon image on the screen of the liquid crystal display device 20 is lit up.

(普通図柄変動表示ゲーム)
遊技機1においては、普通図柄ゲート26に遊技球が通過したことに基づき、主制御基板40において乱数抽選による「普図当り抽選」が行なわれる。この抽選結果に基づき、LEDにより表現される普通図柄を複合表示装置22dに変動表示させて普通図柄変動表示ゲームを開始し、所定の変動時間の経過後に、その結果をLEDの点灯と非点灯の組合せにて停止表示するようになっている。例えば、普図当り抽選の結果が「普図当り」であった場合、普図当り種別に応じて、複合表示装置22dの特定のLEDを特定の点灯状態(例えば、2個のLEDが全て点灯状態、又は「○」と「×」を表現するLEDのうち「○」側のLEDが点灯状態)にて停止表示させる。なお、本実施形態では、普図当り種別は1種類のみ設けられている。
(Normal symbol variation display game)
In the gaming machine 1, a "normal symbol win lottery" is performed by random number generation on the main control board 40 based on the passage of a game ball through the normal symbol gate 26. Based on the result of this lottery, the normal symbols represented by LEDs are displayed in a variable manner on the composite display device 22d to start the normal symbol variable display game, and after a predetermined variable time has elapsed, the result is displayed as a combination of lit and unlit LEDs. For example, if the result of the normal symbol win lottery is "normal symbol win", a specific LED on the composite display device 22d is displayed in a specific lighting state (for example, both LEDs are lit, or the LED representing "○" and "×" is lit) according to the type of normal symbol win. In this embodiment, only one type of normal symbol win is provided.

この「普図当り」となった場合には、普通電動役物ソレノイド25a(図5参照)が作動し、第2始動口24が開放又は拡大されて遊技球が流入し易い状態(始動口開状態)となり、第2始動口24が閉鎖しているときよりも遊技者に有利な遊技状態(以下、「普電開放遊技」と称する)が発生する。この普電開放遊技では、普通電動役物25により第2始動口24の開放時間が所定時間(例えば5.7s)経過するまでか、又は第2始動口24に入賞した遊技球数が所定個数(例えば10個)に達するまで、その入賞領域が開放又は拡大され、これら何れかの条件を満たした場合に第2始動口24を閉鎖する、といった動作が所定回数(たとえば、最大1回)繰り返されるようになっている。
When a "normal win" occurs, the normal electric mechanism solenoid 25a (see Figure 5) is activated, opening or expanding the second start opening 24, making it easier for game balls to flow in (start opening open state), resulting in a game state that is more advantageous to the player than when the second start opening 24 is closed (hereinafter referred to as "normal electric opening game"). In this normal electric opening game, the entry area of the second start opening 24 is opened or expanded by the normal electric mechanism 25 until a predetermined time (for example, 5.7 s) has elapsed or the number of game balls that have entered the second start opening 24 reaches a predetermined number (for example, 10 balls), and when either of these conditions is met, the second start opening 24 is closed. This operation is repeated a predetermined number of times (for example, a maximum of 1 time).

[3.3 大当りについて]
続いて、遊技機1における「大当り」について説明する。
遊技機1では、大当り種別として「4R1」「10R」「4R2」が設けられており、大当り抽選の結果が「大当り」であった場合に、図柄抽選において大当り種別の抽選が行われる。
なお、上記「R」の表記は、規定ラウンド数(最大ラウンド数)を意味する。
[3.3 About the Big Win]
Next, we will explain "jackpot" in gaming machine 1.
In gaming machine 1, there are three types of jackpots: "4R1", "10R", and "4R2". If the result of the jackpot lottery is "jackpot", the type of jackpot is determined by a lottery in the symbol lottery.
The "R" notation above indicates the number of rounds (maximum number of rounds).

大当り種別は、条件装置の作動契機となる当りである。ここで「条件装置」とは、その作動がラウンド遊技を行うための役物連続作動装置の作動に必要な条件とされている装置で、特定の特別図柄の組合せが表示され、又は遊技球が大入賞口内の特定の領域を通過した場合に作動するものを言う。 The type of jackpot is the win that triggers the activation of the conditional device. Here, "conditional device" refers to a device whose activation is a condition necessary for the continuous activation of the mechanism that enables round play. It activates when a specific combination of special symbols is displayed, or when a game ball passes through a specific area within the jackpot entry point.

大当り遊技が実行された場合、大当り当選時の遊技状態、決定された大当り種別に応じて、大当り遊技の終了後の遊技状態、確変回数、時短回数が決定される。
確変回数は、大当り遊技後の遊技状態が高確率状態である場合に設定される。遊技機1では、大当り遊技後の高確率状態が、特別図柄変動表示ゲームの実行回数が確変回数(例えば154回)を終了するまで継続し、大当り抽選で大当りに当選することなく確変回数の特別図柄変動表示ゲームが終了すると、遊技状態が低確率状態に設定(移行)される。
時短回数は、大当り遊技後の遊技状態が時短状態である場合に設定される。遊技機1では、大当り遊技後の時短状態が、特別図柄変動表示ゲームの実行回数が時短回数(例えば150回)を終了するまで継続し、大当り抽選で大当りに当選することなく時短回数の特別図柄変動表示ゲームが終了すると、遊技状態が非時短状態に設定(移行)される。
但し、遊技機1は、確変回数及び時短回数が大当り抽選において大当りに当選するまで(次回まで)継続するタイプの「一般確変機」としてもよい。
なお、時短回数は、特別図柄変動表示ゲーム1及び特別図柄変動表示ゲーム2の合計実行回数(特図1及び特図2の合計変動回数)であってもよいし、何れか一方の実行回数(例えば特別図柄変動表示ゲーム2の実行回数)であってもよい。
If a jackpot is won, the game state at the time of the jackpot, the number of bonus rounds, and the number of time-saving rounds are determined according to the game state at the time of the jackpot and the type of jackpot determined.
The number of probability-increasing rounds is set when the game state after a big win is in a high-probability state. In game machine 1, the high-probability state after a big win continues until the number of special symbol variation display games completed reaches the probability-increasing rounds (for example, 154 times). If the special symbol variation display games for the probability-increasing rounds end without winning a big win in the big win lottery, the game state is set (transitioned) to a low-probability state.
The number of time-saving rounds is set when the game state after a big win is in a time-saving state. In game machine 1, the time-saving state after a big win continues until the number of special symbol variation display games completed reaches the time-saving round (for example, 150 times). If the special symbol variation display games for the time-saving round end without winning a big win in the big win lottery, the game state is set (transitioned) to a non-time-saving state.
However, the game machine 1 may also be a "general probability variation machine" of the type in which the number of probability variation rounds and the number of time reduction rounds continue until a jackpot is won in the jackpot lottery (until the next round).
The number of time-saving rounds may be the total number of times Special Symbol Variation Display Game 1 and Special Symbol Variation Display Game 2 are executed (total number of variations for Special Symbol 1 and Special Symbol 2), or it may be the number of times either one is executed (for example, the number of times Special Symbol Variation Display Game 2 is executed).

ここで、本実施形態では、大当り種別と同様に「はずれ」についても複数のはずれ種別が設けられている。具体的には、「はずれ1」「はずれ2」「はずれ3」の三種のはずれ種別が設けられている。
上記のように、大当り抽選の結果が「はずれ」であった場合には、図柄抽選においてはずれ種別の抽選が行われる。
In this embodiment, similar to the types of big wins, there are also multiple types of "misses." Specifically, there are three types of misses: "miss 1,""miss2," and "miss 3."
As described above, if the result of the jackpot lottery is a "loser," a lottery for the type of losing result is held in the symbol lottery.

[3.4 演出について]
(演出モード)
次に、演出モード(演出状態)について説明する。本実施形態の遊技機1には、遊技状態に関連する演出を現出させるための複数種類の演出モードが設けられており、その演出モード間を行き来可能に構成されている。具体的には、設定されている遊技状態に対応した演出モードが設けられている。各演出モードでは、装飾図柄の変動表示画面のバックグラウンドとしての背景表示が、それぞれ異なる背景演出により表示され、遊技者が現在、どのような遊技状態に滞在しているかを把握することができるようになっている。
[3.4 Regarding the direction/staging]
(Performance mode)
Next, the performance modes (performance states) will be explained. The gaming machine 1 of this embodiment is provided with multiple types of performance modes for displaying performances related to the game state, and is configured to allow switching between these performance modes. Specifically, there are performance modes that correspond to the set game state. In each performance mode, the background display for the display screen of the changing decorative symbols is displayed with different background performances, allowing the player to understand what game state they are currently in.

演出制御基板41(CPU41a)は、複数種類の演出モード間を移行制御する機能部(演出状態移行制御手段)を有する。演出制御基板41(CPU41a)は、主制御基板40(CPU40a)から送られてくる特定の演出制御コマンド、具体的には、主制御基板40側で管理される遊技状態情報を含む演出制御コマンドに基づいて、主制御基板40側で管理される遊技状態と整合性を保つ形で、現在の遊技状態を把握し、複数種類の演出モード間を移行制御可能に構成されている。上記のような特定の演出制御コマンドとしては、例えば、変動パターン指定コマンド、装飾図柄指定コマンド、遊技状態に変化が生じる際に送られる遊技状態指定コマンド等がある。 The performance control board 41 (CPU 41a) has a functional unit (performance state transition control means) that controls transitions between multiple types of performance modes. Based on specific performance control commands sent from the main control board 40 (CPU 40a), specifically performance control commands containing game state information managed by the main control board 40, the performance control board 41 (CPU 41a) grasps the current game state while maintaining consistency with the game state managed by the main control board 40, and is configured to control transitions between multiple types of performance modes. Examples of such specific performance control commands include a variation pattern specification command, a decorative symbol specification command, and a game state specification command sent when a change occurs in the game state.

(予告演出)
次に、予告演出について説明する。演出制御基板41は、主制御基板40からの演出制御コマンドの内容、具体的には、少なくとも変動パターン指定コマンドに含まれる変動パターン情報に基づき、現在の演出モードと大当り抽選結果とに関連した様々な「予告演出」を現出制御可能に構成されている。このような予告演出は、当り種別に当選したか否かの期待度(以下「当選期待度」と称する)を示唆(予告)し、遊技者の当選期待感を煽るための「煽り演出」として働く。予告演出として代表的なものには、「リーチ演出」や「疑似連演出」、さらには「先読み予告演出」等がある。演出制御基板41は、これら演出を実行(現出)制御可能な予告演出制御手段として機能する。
(Preview production)
Next, the pre-announcement effects will be explained. The effect control board 41 is configured to be able to control the appearance of various "pre-announcement effects" related to the current effect mode and the jackpot lottery result, based on the content of the effect control commands from the main control board 40, specifically, the variation pattern information included in at least the variation pattern specification command. Such pre-announcement effects suggest (predict) the expected probability of winning a jackpot type (hereinafter referred to as "winning probability") and act as "hype effects" to stimulate the player's expectation of winning. Typical pre-announcement effects include "reach effects,""pseudo-consecutiveeffects," and "pre-read pre-announcement effects." The effect control board 41 functions as a pre-announcement effect control means that can control the execution (appearance) of these effects.

「リーチ演出」とは、リーチ状態を伴う演出態様(リーチ状態を伴う変動表示態様:リーチ変動パターン)を言い、具体的には、リーチ状態を経由して最終的なゲーム結果を導出表示するような演出態様を言う。リーチ演出には当選期待度に関連付けられた複数種類のリーチ演出が含まれる。例えば、ノーマルリーチ演出が出現した場合に比べて、当選期待度が相対的に高まるものがある。このようなリーチ演出を‘スーパーリーチ演出’と言う。この「スーパーリーチ」の多くは、当選期待感を煽るべく、ノーマルリーチよりも相対的に長い演出時間(変動時間)を持つ。また、ノーマルリーチやスーパーリーチには複数種類のリーチ演出が含まれる。スーパーリーチには、スーパーリーチ1、2、3、4という複数種類のリーチ演出が含まれ、これらスーパーリーチ1~4の当選期待度については「スーパーリーチ1<スーパーリーチ2<スーパーリーチ3<スーパーリーチ4」という関係性を持たせている。 A "reach animation" refers to a type of animation that involves a reach state (a variation display pattern that involves a reach state). Specifically, it refers to an animation that leads to and displays the final game result via a reach state. Reach animations include multiple types of animations associated with the probability of winning. For example, some have a relatively higher probability of winning compared to a normal reach animation. Such reach animations are called "super reach animations." Many of these "super reaches" have a relatively longer animation time (variation time) than normal reaches to heighten the expectation of winning. Furthermore, both normal reaches and super reaches include multiple types of reach animations. Super reaches include multiple types of reach animations: Super Reach 1, 2, 3, and 4. The probability of winning for these Super Reaches 1-4 follows the relationship: "Super Reach 1 < Super Reach 2 < Super Reach 3 < Super Reach 4."

「疑似連演出」とは、装飾図柄の疑似的な連続変動表示状態(疑似連変動)を伴う演出態様を言い、「疑似連変動」とは、装飾図柄変動表示ゲーム中において、装飾図柄の一部又は全部を一旦仮停止状態とし、その仮停止状態から装飾図柄の再変動表示動作を実行する、といった表示動作を1回又は複数回繰り返す変動表示態様をいう。この点、複数回の図柄変動表示ゲームに跨って展開されるような後述の「先読み予告演出(連続予告演出)」とは異なる。このような「疑似連」は、基本的には、疑似変動回数が多くなるほど当選期待度が高まるようにその発生率(出現率)が定められており、例えば、疑似変動回数に応じて、スーパーリーチ等の期待感を煽るための演出が選択され易くされている。 "Pseudo-consecutive display" refers to a display method that involves a pseudo-continuous display state of decorative symbols (pseudo-consecutive display). "Pseudo-consecutive display" refers to a display method in which, during a decorative symbol display game, some or all of the decorative symbols are temporarily stopped, and then the display operation of the decorative symbols is performed again from that temporarily stopped state. This operation is repeated once or multiple times. In this respect, it differs from the "pre-announcement display (continuous announcement display)" described later, which unfolds across multiple symbol display games. The occurrence rate (appearance rate) of such "pseudo-consecutive displays" is basically determined so that the probability of winning increases as the number of pseudo-displays increases. For example, depending on the number of pseudo-displays, displays designed to heighten anticipation, such as super-reach sequences, are more likely to be selected.

「先読み予告演出」(以下では「先読み予告」や「先読み演出」と略称する場合もある)とは、先読み判定の結果に基づいて、判定対象の図柄の変動表示が行われるよりも前に、有利状態に制御される可能性を報知する演出を意味する。なお、「有利状態」は、遊技者にとって有利な状態を意味する。
具体的に、先読み演出は、未だ図柄変動表示ゲームの実行(特別図柄の変動表示動作)には供されていない保留球(未消化の保留球)について、主に、保留表示態様や先に実行される図柄変動表示ゲームの背景演出等を利用して、当該保留球が図柄変動表示ゲームに供される前に、当選期待度を事前に報知し得る演出態様で行われる。なお、図柄変動表示ゲームにおいては、上記「リーチ演出」の他、いわゆる「SU(ステップアップ)予告演出」や「タイマ予告演出」、「復活演出」、「プレミア予告演出」などの種々の演出が発生し、ゲーム内容を盛り上げるようになっている。
A "pre-announcement effect" (hereinafter sometimes abbreviated as "pre-announcement" or "pre-announcement effect") refers to an effect that, based on the result of a pre-announcement judgment, notifies the player of the possibility of being controlled to a favorable state before the change in the target symbol is displayed. A "favorable state" refers to a state that is advantageous to the player.
Specifically, the pre-announcement effect is used to inform the player of the probability of winning in advance of the balls being used in the symbol variation display game (special symbol variation display operation) for reserved balls (unused reserved balls) that have not yet been used in the symbol variation display game (special symbol variation display operation). This is done mainly by utilizing the reserved ball display pattern and the background effects of the symbol variation display game that will be executed first. In addition to the "reach effect" mentioned above, various other effects such as the so-called "SU (step-up)予告 effect,""timer予告effect,""revivaleffect," and "premium予告 effect" occur during the symbol variation display game to enhance the game experience.

ここで、図6を参照し、上記先読み予告演出の一例としての「保留変化予告演出」について説明する。
本実施形態の遊技機1の場合、液晶表示装置20の画面内の上側の表示エリアには、装飾図柄変動表示ゲームを現出する表示エリア(装飾図柄の変動表示演出や予告演出を現出するための表示領域)が設けられており、また画面内の下側の表示エリアには、特別図柄1側の保留球数を表示する保留表示領域60(保留表示部a1~d1)と特別図柄2側の保留球数を表示する保留表示領域61(保留表示部a2~d2)とが設けられている。保留球の有無に関しては、所定の保留表示態様により、その旨が報知される。図6では、保留球の有無を点灯状態(保留球あり:図示の「○(白丸印)」)、又は消灯状態(保留球なし:図示の破線の丸印)にて、現在の保留球数に関する情報が報知される例を示している。
Now, referring to Figure 6, we will explain the "hold change notification effect" as an example of the above-mentioned pre-announcement effect.
In the case of the gaming machine 1 of this embodiment, the upper display area of the liquid crystal display device 20 is provided with a display area for displaying decorative symbol variation display games (a display area for displaying decorative symbol variation display effects and予告 effects), and the lower display area of the screen is provided with a reserve display area 60 (reserve display section a1 to d1) for displaying the number of reserved balls on the special symbol 1 side and a reserve display area 61 (reserve display section a2 to d2) for displaying the number of reserved balls on the special symbol 2 side. The presence or absence of reserved balls is indicated by a predetermined reserve display pattern. Figure 6 shows an example in which information regarding the current number of reserved balls is indicated by an lit state (reserved balls present: indicated by "○ (white circle)") or an unlit state (no reserved balls: indicated by a dashed circle).

保留球の有無に関する表示(保留表示)は、その発生順(入賞順)に順次表示され、各保留表示領域60、61において、一番左側の保留球が、当該保留表示内の全保留球のうち時間軸上で一番先に生じた(つまり最も古い)保留球として表示される。また、保留表示領域60、61の左側には、現に特別図柄変動表示ゲームに供されている保留球を示すための変動中表示領域62が設けられている。本実施形態の場合、変動中表示領域62は、受座Jのアイコン上に、現在ゲームに供されているゲーム実行中保留Kのアイコンが載る形の画像が現れるように構成されている。すなわち、特別図柄1又は特別図柄2の変動表示が開始される際に、保留表示領域60、61に表示されていた最も古い保留a1又はa2のアイコン(アイコン画像)が、ゲーム実行中保留Kのアイコンとして、変動中表示領域62おける受座Jのアイコン上に移動し、その状態が所定の表示時間にわたって維持される。 The display regarding the presence or absence of reserved balls (reserved ball display) is displayed sequentially in the order of their occurrence (order of winning). In each reserved ball display area 60, 61, the leftmost reserved ball is displayed as the oldest reserved ball that occurred first on the time axis among all reserved balls within that display area. Furthermore, to the left of the reserved ball display areas 60, 61, a display area 62 is provided to show the reserved balls currently being used in the special symbol variation display game. In this embodiment, the display area 62 is configured so that an image appears with the icon of the currently running reserved ball K placed on top of the icon of the receiving seat J. That is, when the variation display of special symbol 1 or special symbol 2 begins, the icon (icon image) of the oldest reserved ball a1 or a2 displayed in the reserved ball display areas 60, 61 moves to the icon of the receiving seat J in the display area 62 as the icon of the currently running reserved ball K, and this state is maintained for a predetermined display time.

保留球が発生した場合、主制御基板40から、大当り抽選結果に関連する先読み判定情報と、先読み判定時の保留球数(今回発生した保留球を含め、現存する保留球数)とを指定する「保留加算コマンド」が演出制御基板41に送信される(図14参照)。
本実施形態の場合、上記保留加算コマンドは2バイトで構成され、保留加算コマンドは、先読み判定時の保留球数を特定可能とする上位バイト側のデータと、先読み判定情報を特定可能とする下位バイト側のデータとから構成される。
When a reserved ball is generated, the main control board 40 sends a "reserved ball addition command" to the performance control board 41, which specifies pre-read judgment information related to the jackpot lottery result and the number of reserved balls at the time of the pre-read judgment (the number of reserved balls currently existing, including the reserved ball generated this time) (see Figure 14).
In this embodiment, the hold-add command consists of two bytes: the upper byte data that allows the number of hold-add balls at the time of the pre-read determination, and the lower byte data that allows the pre-read determination information to be identified.

ここで、上記説明から理解されるように、本実施形態では、第1始動口23又は第2始動口24に遊技球が入球して新たに保留球が生じたことに基づいて、その保留球に係る図柄変動表示ゲームについての大当り抽選が先読み判定として行われる。後述するように、主制御基板40は、このような先読み判定として行った大当り抽選の結果を表す情報を、RAM40cの該当記憶領域に保留記憶する。
先読み判定時に得られた大当り抽選結果の情報は、図柄変動表示ゲームにおける図柄変動パターンを選択(抽選)するために用いられるものであり、いわば「変動パターン選択用情報」と換言することができる。従って、主制御基板40は、先読み判定を行って、その結果得られる「変動パターン選択用情報」をRAM40cの所定領域に保留記憶していると言うことができる。
As can be understood from the above explanation, in this embodiment, a jackpot lottery for the symbol variation display game related to a game ball is performed as a pre-read determination based on the fact that a game ball has entered the first start port 23 or the second start port 24 and a new reserved ball has been created. As will be described later, the main control board 40 stores information representing the result of the jackpot lottery performed as such a pre-read determination in the corresponding memory area of the RAM 40c.
The information obtained during the pre-read determination of the jackpot lottery results is used to select (draw) a symbol variation pattern in the symbol variation display game, and can be rephrased as "variation pattern selection information." Therefore, it can be said that the main control board 40 performs a pre-read determination and stores the resulting "variation pattern selection information" in a predetermined area of the RAM 40c.

演出制御基板41は、主制御基板40が送信した上記の保留加算コマンドを受信すると、これに含まれる先読み判定情報に基づき、上記保留表示に関連する表示制御処理の一環として、「先読み予告演出」に関する演出制御処理を行う。具体的には、先読み予告演出の実行可否を抽選する「先読み予告抽選」を行い、これに当選した場合には、先読み予告演出を現出させる。 When the performance control board 41 receives the above-mentioned hold addition command transmitted by the main control board 40, it performs performance control processing related to the "pre-read notification effect" as part of the display control processing related to the hold display, based on the pre-read judgment information contained therein. Specifically, it performs a "pre-read notification lottery" to determine whether or not the pre-read notification effect can be executed, and if it wins, it displays the pre-read notification effect.

ここで、先読み判定情報とは、具体的には、主制御基板40において、保留球が図柄変動表示ゲームに供される際に実行される大当り抽選結果(変動開始時の大当り抽選結果)や変動開始時の変動パターンを先読み判定して得られる遊技情報である。すなわち、この情報には、少なくとも変動開始時の大当り抽選結果を先読み判定した情報(先読み当否情報)が含まれ、その他、図柄抽選結果を先読み判定した情報(先読み図柄情報)や変動開始時の変動パターンを先読み判定した情報(先読み変動パターン情報)を含ませることができる。如何なる情報を含む保留加算コマンドを演出制御基板41に送るかについては、先読み予告にて報知する内容に応じて適宜定めることができる。
なお、保留加算コマンドには先読み当否情報、先読み図柄情報、及び先読み変動パターン情報が含まれているものとする。
Here, the pre-read judgment information specifically refers to game information obtained by the main control board 40 by pre-reading the results of the jackpot lottery (jackpot lottery results at the start of the variation) and the variation pattern at the start of the variation, which are executed when the reserved balls are used in the symbol variation display game. In other words, this information includes at least the information obtained by pre-reading the results of the jackpot lottery at the start of the variation (pre-read win/fail information), and can also include information obtained by pre-reading the results of the symbol lottery (pre-read symbol information) and information obtained by pre-reading the variation pattern at the start of the variation (pre-read variation pattern information). The information to be included in the reserved ball addition command sent to the performance control board 41 can be appropriately determined according to the content to be announced in the pre-read notification.
The hold-add command is assumed to include pre-read win/loss information, pre-read symbol information, and pre-read variation pattern information.

なお、保留球発生時の先読み判定により得られる「先読み変動パターン」は、必ずしも保留球が実際に変動表示動作に供されるときに得られる「変動開始時の変動パターン」そのものではある必要はない。例えば、上記変動開始時の変動パターンが「スーパーリーチ1」を指定する変動パターンであるケースを代表的に説明すれば、本ケースでは、先読み変動パターンにより指定される内容が「スーパーリーチ1」というリーチ演出の種類そのものではなく、その骨子である「スーパーリーチ種別」である旨を指定することができる。 Furthermore, the "pre-read variation pattern" obtained through the pre-read judgment when a reserved ball is generated does not necessarily have to be the same as the "variation pattern at the start of variation" obtained when the reserved ball is actually used for the variation display operation. For example, if we consider a typical case where the variation pattern at the start of variation specifies "Super Reach 1," then in this case, the content specified by the pre-read variation pattern can be not the type of reach animation "Super Reach 1" itself, but rather its core "Super Reach type."

本実施形態の場合、先読み予告抽選に当選した場合には、保留表示部a1~d1、a2~d2の保留アイコンのうちで、その先読み予告対象となった保留アイコンが、例えば、通常の保留表示(通常保留表示態様)の白色から、予告表示の青色、緑色、赤色、デンジャー柄(或いは虹色などの特殊な色彩や絵柄)による保留表示(特別保留表示態様)に変化し得る「保留表示変化系」の先読み予告演出(「保留変化予告」とも称する)が行われる。
図6では、ハッチングされた保留表示部b1の保留球が、特別保留表示に変化した例を示している。ここで、保留アイコンの青色、緑色、赤色、デンジャー柄の表示は、この順に、当選期待度が高いことを意味しており、特にデンジャー柄の保留アイコンの表示は、大当り当選期待度が極めて高い表示となるプレミアム的な保留アイコンとされている。
In this embodiment, if the pre-announcement lottery is won, a "hold display change type" pre-announcement effect (also referred to as "hold change announcement") is performed, in which the hold icon that is the target of the pre-announcement among the hold icons in the hold display units a1 to d1 and a2 to d2 may change from, for example, the white of the normal hold display (normal hold display mode) to the hold display with blue, green, red, danger pattern (or special colors or patterns such as rainbow) of the announcement display (special hold display mode).
Figure 6 shows an example where the reserved ball in the hatched reserved display section b1 changes to a special reserved display. Here, the blue, green, red, and danger pattern of the reserved icons indicate increasing probability of winning, in that order. In particular, the danger pattern reserved icon is considered a premium reserved icon that indicates an extremely high probability of winning the jackpot.

(演出手段)
遊技機1における各種の演出は、遊技機1に配設された演出手段により現出される。この演出手段は、視覚、聴覚、触覚など、人間の知覚に訴えることにより演出効果を発揮し得る刺激伝達手段であれば良く、装飾ランプ16やLED装置などの光発生手段(光表示装置16a:光演出手段)、スピーカ17などの音響発生装置(音響発生装置17a:音演出手段)、液晶表示装置20などの演出表示装置(表示手段)、操作者の体に接触圧を伝える加圧装置、遊技者の体に風圧を与える風圧装置、その動作により視覚的演出効果を発揮する可動体役物50などは、その代表例である。ここで、演出表示装置は、画像表示装置と同じく視覚に訴える表示装置であるが、画像によらないもの(例えば7セグメント表示器)も含む点で画像表示装置と異なる。画像表示装置と称する場合は主として画像表示により演出を現出するタイプを指し、7セグメント表示器のように画像以外により演出を現出するものは、上記演出表示装置の概念の中に含まれる。
(Direction means)
Various effects in the gaming machine 1 are produced by effect means installed in the gaming machine 1. These effect means can be any stimulus transmission means that can produce an effect by appealing to human senses such as sight, hearing, and touch. Typical examples include light generating means such as decorative lamps 16 and LED devices (light display device 16a: light effect means), sound generating devices such as speakers 17 (sound generating device 17a: sound effect means), effect display devices such as liquid crystal display devices 20 (display means), pressure devices that transmit contact pressure to the operator's body, air pressure devices that apply air pressure to the player's body, and movable parts 50 that produce a visual effect through their operation. Here, effect display devices are display devices that appeal to the sense of sight, just like image display devices, but they differ from image display devices in that they also include devices that do not rely on images (for example, 7-segment displays). When referred to as image display devices, it mainly refers to types that produce effects by displaying images, and devices that produce effects using means other than images, such as 7-segment displays, are included in the above concept of effect display devices.

<4.主制御基板の処理>
続いて、本実施形態の主制御基板40が行う処理について説明する。主制御基板40の処理は、主に、メイン処理(主制御側メイン処理:図7)と、CTCからの定時割込みで起動されるタイマ割込み処理(主制御側タイマ割込み処理:図9)とを含んで構成される。
<4. Processing of the main control board>
Next, the processing performed by the main control board 40 of this embodiment will be described. The processing of the main control board 40 mainly consists of a main processing (main control side main processing: Figure 7) and a timer interrupt processing (main control side timer interrupt processing: Figure 9) that is started by a regular interrupt from the CTC.

[4.1 主制御側メイン処理]
図7は、主制御側メイン処理を示したフローチャートである。
主制御側メイン処理が開始されるのは、停電状態や電源異常等からの復旧時に電源基板200からのシステムリセット信号によるシステムリセットが生起した場合や、制御プログラムが暴走したことによりウォッチドッグタイマ(WDT)が発揮されてCPU40aが強制的にリセット(WDTリセット)される場合等がある。何れの場合でも、主制御側メイン処理が開始されると、ステップS101でCPU40aは、CPU40aを含む各部のレジスタの値を初期設定する等の遊技動作開始に必要な初期設定処理を実行する。
[4.1 Main Control Side Main Processing]
Figure 7 is a flowchart showing the main processing on the primary control side.
The main control side processing starts when a system reset occurs due to a system reset signal from the power supply board 200 during recovery from a power outage or power supply abnormality, or when the control program malfunctions, causing the watchdog timer (WDT) to activate and the CPU 40a to be forcibly reset (WDT reset). In either case, once the main control side processing starts, in step S101 the CPU 40a performs initial setup processing necessary for starting game operation, such as initializing the values of registers in each part, including the CPU 40a.

ステップS101の初期設定処理が完了すると、CPU40aはステップS102で、バックアップフラグがON状態か否か(バックアップフラグ=5AHがON状態)を判定する。
遊技機1において、電源遮断時には、主制御側タイマ割込み処理における後述する電源チェック・バックアップ処理(ステップS201、図9参照)により、RAM40cの記憶情報についてバックアップのための処理が行われる。電源遮断時に適正にバックアップ処理が行われた場合には、バックアップフラグがON状態とされる。このためステップS102ではバックアップフラグを確認して、バックアップ復帰可能であるか否かの判定を行う。
Once the initial setup process in step S101 is complete, in step S102 the CPU 40a determines whether the backup flag is in the ON state or not (backup flag = 5AH is in the ON state).
In the gaming machine 1, when the power is cut off, the power check and backup process (step S201, see Figure 9) described later in the main control timer interrupt processing is used to back up the stored information in RAM 40c. If the backup process is performed correctly when the power is cut off, the backup flag is set to the ON state. Therefore, in step S102, the backup flag is checked to determine whether or not backup restoration is possible.

ステップS102において、バックアップフラグがONでないと判定した場合、CPU40aはステップS103に進み、バックアップフラグOFF時の対応処理を行い、ステップS108に処理を進める。なお、ステップS103では、バックアップフラグがOFFであった場合の処理として予め定められた所定処理(例えば、RAM40cに必要情報を記憶させる処理等)を行う。 In step S102, if it is determined that the backup flag is not ON, the CPU 40a proceeds to step S103, performs the corresponding processing for when the backup flag is OFF, and then proceeds to step S108. In step S103, a predetermined process (for example, storing necessary information in RAM 40c) is performed for when the backup flag is OFF.

一方ステップS102において、バックアップフラグがONであると判定した場合、CPU40aはステップS104で、RAMクリア条件(RAMクリア処理への移行条件)が成立しているか否かを判定する。具体的には、RAMクリアスイッチ34がONの状態であるか否かを判定する。
RAMクリア条件が成立していると判定した場合、CPU40aはステップS105のRAMクリア処理を実行し、ステップS108に処理を進める。
ステップS105のRAMクリア処理は、RAM40cにおけるワーク領域を含む所定領域(使用領域)内の値を初期化する処理である。
On the other hand, if step S102 determines that the backup flag is ON, the CPU 40a determines in step S104 whether the RAM clear condition (condition for transitioning to the RAM clear process) is met. Specifically, it determines whether the RAM clear switch 34 is in the ON state.
If the CPU 40a determines that the RAM clear condition is met, it executes the RAM clear process in step S105 and proceeds to step S108.
The RAM clearing process in step S105 is a process that initializes the values in a predetermined area (used area) including the work area in the RAM 40c.

ステップS104において、RAMクリア条件が成立していないと判定した場合、CPU40aはステップS106に進んでバックアップ復帰時のコマンド送信処理として、バックアップ復帰時に対応した所定の演出制御コマンドを演出制御基板41に送信する処理を行う。 If, in step S104, the CPU 40a determines that the RAM clear condition is not met, it proceeds to step S106 and performs a command transmission process for backup restoration, sending a predetermined performance control command corresponding to the backup restoration to the performance control board 41.

ステップS106に続くステップS107でCPU40aは、バックアップ復帰処理を行う。バックアップ復帰処理は、電源遮断時にバックアップされたRAM40cの記憶内容に基づいて、電源投入後に電源遮断前の動作に復帰させる処理となる。具体的に、CPU40aは、電源遮断前におけるスタックポインタを復帰し、電源遮断時の処理状態から遊技動作を開始するための処理を行う。
また、バックアップ復帰処理では、バックアップ復帰した場合に対応した情報表示指示を行うための停電復帰表示コマンド(OB03H)が後述するステップS110のメインループ前処理において演出制御基板41に送信されるようにするべく、停電復帰表示コマンドの下位バイトデータをレジスタに記憶する処理を実行する。
In step S107, following step S106, the CPU 40a performs a backup restore process. The backup restore process restores the operation to what it was before the power was cut off, based on the contents of the RAM 40c that were backed up when the power was cut off. Specifically, the CPU 40a restores the stack pointer from before the power was cut off and performs the process to start the game operation from the processing state at the time of the power cut off.
Furthermore, in the backup restoration process, in order to ensure that a power outage restoration display command (OB03H) for displaying information corresponding to the case of backup restoration is sent to the performance control board 41 in the main loop preprocessing of step S110 described later, the lower byte data of the power outage restoration display command is stored in a register.

ステップS107のバックアップ復帰処理を実行したことに応じ、CPU40aはステップS108に処理を進める。上述のように、先のステップ103の処理を行った場合、ステップS105の処理を行った場合もCPU40aはステップS108に処理を進める。 In response to the execution of the backup restoration process in step S107, the CPU 40a proceeds to step S108. As described above, if the process in step 103 or step S105 is performed, the CPU 40a also proceeds to step S108.

ステップS108でCPU40aは、例えば4ms等の所定時間毎に定期的にタイマ割込みを発生させるためのCTCの設定を行う。
このステップS108の設定処理が行われることで、以降、割込みコントローラへの割込み要求信号が定期的に出力され、主制御側タイマ割込み処理が実行される。
In step S108, the CPU 40a sets up the CTC to periodically generate timer interrupts at predetermined intervals, such as 4ms.
Once the setting process in step S108 is completed, interrupt request signals are periodically output to the interrupt controller, and the main control side timer interrupt processing is executed.

ステップS108に続くステップS109でCPU40aは、遊技開始を指示するための演出制御コマンドを演出制御基板41に送信する処理を行い、次いで、ステップS110に処理を進めてメインループ前処理を実行する。
メインループ前処理では、可動体役物50のイニシャライズ(原点復帰)指示を行うためのコマンド、特図1、特図2の保留球数を示すコマンドの送信処理、内部機能レジスタの設定処理、性能表示モニタ点灯用タイマを5sにセットする処理、払出制御基板42に対する発射許可信号をONとする処理などが実行される。
そして、ステップS111でCPU40aは、メインループ処理を実行する。
In step S109, following step S108, the CPU 40a sends a performance control command to the performance control board 41 to instruct the start of the game, and then proceeds to step S110 to execute the main loop preprocessing.
In the main loop pre-processing, commands are executed to initiate initialization (return to origin) of the movable mechanism 50, to send commands indicating the number of balls held in special figure 1 and special figure 2, to set the internal function register, to set the timer for lighting the performance display monitor to 5s, and to turn on the firing permission signal to the payout control board 42.
Then, in step S111, the CPU 40a executes the main loop processing.

(メインループ処理)
図8は、ステップS111のメインループ処理を示したフローチャートである。
図8のメインループ処理において、CPU40aは、ステップS121で割込み禁止状態に設定し、続くステップS122で乱数更新処理を実行する。この乱数更新処理では、特別図柄変動表示ゲームや普通図柄変動表示ゲームに使用される各種乱数(インクリメント処理によって所定数値範囲を循環している大当り抽選に係る乱数(特別図柄判定用乱数)や、普図当り抽選に係る乱数(普図当り判定用乱数)の初期値(スタート値)変更のために使用する乱数(特別図柄判定用初期値乱数、普図当り判定用初期値乱数)や、変動パターンの選択に利用される変動パターン用乱数を更新する。
(Main loop processing)
Figure 8 is a flowchart showing the main loop processing in step S111.
In the main loop processing shown in Figure 8, the CPU 40a sets itself to an interrupt-disabled state in step S121, and then executes a random number update process in the following step S122. This random number update process updates various random numbers used in the special symbol variation display game and the normal symbol variation display game (random numbers used to change the initial value (start value) of random numbers related to the jackpot lottery (random numbers for special symbol determination) that cycle through a predetermined numerical range by an increment process, and random numbers used to change the initial value (start value) of random numbers related to the normal symbol win lottery (random numbers for normal symbol win determination), as well as random numbers used to change the variation pattern used for selecting the variation pattern.

本実施形態のRAM40cには、大当り抽選に係る図柄抽選、普図当り抽選及び変動パターン抽選などに利用される各種の乱数カウンタとして、特別図柄判定用乱数カウンタ初期値の生成用カウンタ、特別図柄判定用乱数カウンタ、普図当り判定用乱数カウンタ初期値の生成用カウンタ、普図当り判定用乱数カウンタ、変動パターン用乱数カウンタ等が設けられている。これらのカウンタは、ソフトウェア的に乱数を生成する乱数生成手段としての役割を果たす。ステップS122の乱数更新処理では、上述の特別図柄判定用乱数カウンタや普図当り判定用乱数カウンタの初期値を生成する2つの初期値生成用カウンタ、変動パターン用乱数カウンタ等を更新して、上記各種のソフト乱数を生成する。例えば、仮に、変動パターン用乱数カウンタとして取り得る数値範囲が「0~9999」とすると、RAM40cの変動パターン用乱数の値を生成するためのカウント値記憶領域から値を取得し、取得した値に「1」を加算してから元のカウント値記憶領域に格納する。このとき、取得した値に「1」を加算した結果が「10000」であれば「0」を元の乱数カウンタ記憶領域に格納する。他の初期値生成用乱数カウンタも同様に更新する。 In this embodiment, the RAM 40c is equipped with various random number counters used for symbol lottery, regular symbol win lottery, and variable pattern lottery related to the jackpot lottery, such as a counter for generating the initial value of the special symbol determination random number counter, a special symbol determination random number counter, a counter for generating the initial value of the regular symbol win determination random number counter, a regular symbol win determination random number counter, and a variable pattern random number counter. These counters serve as random number generation means for generating random numbers in software. In the random number update process of step S122, the above-mentioned two initial value generation counters that generate the initial values of the special symbol determination random number counter and the regular symbol win determination random number counter, the variable pattern random number counter, etc. are updated to generate the above-mentioned various software random numbers. For example, if the numerical range that can be taken as the variable pattern random number counter is "0 to 9999", a value is obtained from the count value storage area for generating the variable pattern random number value of the RAM 40c, "1" is added to the obtained value, and then it is stored in the original count value storage area. At this point, if adding "1" to the acquired value results in "10000", then "0" is stored in the original random number counter memory. Other random number counters used for initial value generation are updated similarly.

ステップS122の乱数更新処理を終えると、CPU40aはステップS123で全レジスタの値を退避する処理を行った上で、ステップS124で性能表示モニタ集計除算処理を行う。
この性能表示モニタ集計除算処理は、上記した性能情報としての値(ここでは、例えば「通常時比率情報」としての値とする)を演算する処理である。通常時比率情報の値は、総払出個数と総アウト球数とを用いて算出されるものであるが、CPU40aは、総払出個数については、入賞口(第1始動口23、第2始動口24、一般入賞口31、第1大入賞口27、第2大入賞口28)に入賞した遊技球の数をカウントした結果に基づき算出し、総アウト球数については、遊技領域19から排出された遊技球の数をカウントすることで求める。
入賞球数のカウント、及びアウト球数のカウントは、主制御側タイマ割込み処理における後述する入力管理処理(図9のステップS204を参照)で行われる。CPU40aは、このようにタイマ割込み処理側で行う入賞球数のカウント、及びアウト球数のカウントのそれぞれによるカウント値に基づき、ステップS124において通常時比率情報としての値を演算する。上記のように、演算した通常時比率情報としての値は、RAM40cの所定領域(計測情報格納領域)に格納される。
なお、このように算出された通常時比率情報の値は、主制御側タイマ割込み処理における後述する性能表示モニタ表示処理(図9のステップS214を参照)によって性能表示器35に表示される。
After completing the random number update process in step S122, the CPU 40a performs the process of saving the values of all registers in step S123, and then performs the performance display monitor aggregate division process in step S124.
This performance display monitor aggregation division process is a process that calculates the values of the performance information described above (here, for example, the values of "normal ratio information"). The value of the normal ratio information is calculated using the total number of balls dispensed and the total number of balls that go out. The CPU 40a calculates the total number of balls dispensed based on the result of counting the number of game balls that entered the prize winning slots (first starting slot 23, second starting slot 24, general prize winning slot 31, first large prize winning slot 27, second large prize winning slot 28), and the total number of balls that go out is obtained by counting the number of game balls that were ejected from the game area 19.
The count of winning balls and the count of out balls are performed in the input management process described later in the main control side timer interrupt processing (see step S204 in Figure 9). Based on the count values obtained from the count of winning balls and the count of out balls performed on the timer interrupt processing side, the CPU 40a calculates a value as normal ratio information in step S124. As described above, the calculated value as normal ratio information is stored in a predetermined area (measurement information storage area) of the RAM 40c.
The normal ratio information values calculated in this manner are displayed on the performance display unit 35 by the performance display monitor display process (see step S214 in Figure 9), which will be described later in the main control timer interrupt processing.

ステップS125でCPU40aは、全レジスタ復帰処理を行い、さらに続くステップS126で割込み許可状態に設定した上で、ステップS121に戻る。 In step S125, the CPU 40a performs a full register reset process, and then in the subsequent step S126, it sets the system to an interrupt-enabled state before returning to step S121.

このようにステップS111のメインループ処理では、ステップS121~S126の処理が無限ループ状に繰り返される。CPU40aは、間欠的に実行されるタイマ割込み処理を行っている間を除いて、これらステップS121~S126の処理を繰り返し実行することになる。
In this way, in the main loop processing of step S111, the processes of steps S121 to S126 are repeated in an infinite loop. The CPU 40a will repeatedly execute these processes of steps S121 to S126, except when it is performing timer interrupt processing which is executed intermittently.

[4.2 主制御側タイマ割込み処理]
図9のフローチャートを参照して、主制御側タイマ割込処理について説明する。
主制御側タイマ割込処理は、CTCからの一定時間(4ms程度)ごとの割込みで起動され、主制御側メイン処理実行中に割り込んで実行される。
[4.2 Main Control Timer Interrupt Processing]
The main control side timer interrupt processing will be explained with reference to the flowchart in Figure 9.
The main control timer interrupt processing is triggered by an interrupt from the CTC at regular intervals (approximately 4ms) and is executed by interrupting the execution of the main control main processing.

図9に示すように、CPU40aは、タイマ割込みが生じると、ステップS201の電源チェック・バックアップ処理を実行する。この電源チェック・バックアップ処理では、主に、電源基板から供給されている電源レベルを監視し、電断が生じる等の異常が発生した場合、電源復帰時に支障なく遊技を復帰できるように、電断時における所定の遊技情報をRAM40cに格納するバックアップ処理等が行われる。 As shown in Figure 9, when a timer interrupt occurs, the CPU 40a executes the power check/backup process in step S201. This power check/backup process primarily monitors the power level supplied from the power supply board. If an abnormality such as a power outage occurs, backup processing is performed, such as storing predetermined game information in the RAM 40c, to ensure that gameplay can be resumed without problems when power is restored.

ステップS201の電源チェック・バックアップ処理を終えると、CPU40aはステップS202で入力データ作成処理を実行する。具体的には、各種センサやスイッチから出力される入力情報(ON/OFF信号や、立ち上がり状態(ONエッジ、OFFエッジ))に基づき、入力データ作成する。
ここでの入力情報とは、例えば第1始動口検出センサ23a、第2始動口検出センサ24a、普通図柄ゲート検出センサ26a、第1大入賞口検出センサ27a、第2大入賞口検出センサ28a、一般入賞口検出センサ31a、OUT監視センサ32aなどの検出センサから出力される検出信号のON/OFF情報(入賞検出情報)や、RAMクリアスイッチ34等の各種スイッチから出力されるスイッチ信号のON/OFF情報(操作情報)や、払出制御基板42からの状態信号(前扉開放センサ48や満杯検出センサ47のON/OFF情報)、電波センサ、磁気センサ等である。これにより、アウト口や各入賞口において遊技球が検出されたか否かが割込みごとに監視される。
After completing the power check and backup process in step S201, the CPU 40a executes the input data creation process in step S202. Specifically, it creates input data based on input information (ON/OFF signals and rising edge states (ON edge, OFF edge)) output from various sensors and switches.
The input information here includes, for example, ON/OFF information (winning detection information) of detection signals output from detection sensors such as the first start gate detection sensor 23a, the second start gate detection sensor 24a, the normal pattern gate detection sensor 26a, the first large prize gate detection sensor 27a, the second large prize gate detection sensor 28a, the general prize gate detection sensor 31a, and the OUT monitoring sensor 32a; ON/OFF information (operation information) of switch signals output from various switches such as the RAM clear switch 34; status signals from the payout control board 42 (ON/OFF information of the front door open sensor 48 and the full detection sensor 47); radio wave sensors; magnetic sensors; etc. This allows monitoring of whether or not a game ball has been detected at the out gate or each prize gate with each interrupt.

ステップS202の入力データ作成処理を終えると、CPU40aはステップS203で、遊技動作制御に用いられるタイマを管理するタイマ管理処理を実行する。ここでは、遊技機1の遊技動作制御に用いる各種タイマの値について更新(減算処理)が行われる。 After completing the input data creation process in step S202, the CPU 40a executes a timer management process in step S203 to manage the timers used for game operation control. Here, the values of various timers used for game operation control of the gaming machine 1 are updated (subtracted).

次いで、CPU40aはステップS204で、入力管理処理を行う。この入力管理処理では、入力データ作成処理(S202)で作成された入力データに基づき、入賞カウンタやOUT球監視カウンタの値などを更新する。「入賞カウンタ」とは、入賞口ごとに対応して設けられ、入賞した遊技球数(入賞球数)を計数するカウンタである。またOUT球監視カウンタは、遊技領域19から排出される遊技球(アウト球)を計数するカウンタである。 Next, in step S204, the CPU 40a performs input management processing. In this input management processing, based on the input data created in the input data creation process (S202), the values of the prize counter and the OUT ball monitoring counter are updated. The "prize counter" is a counter provided for each prize slot that counts the number of game balls that have entered the slot (prize ball count). The OUT ball monitoring counter is a counter that counts the game balls (out balls) discharged from the game area 19.

ステップS205でCPU40aは、エラー管理処理を実行する。このエラー管理処理では、各種センサ類に係る入力データや払出制御基板42からの状態信号に基づき、エラー発生の有無の監視を行う。
エラーが発生した場合には、CPU40aはエラー処理として、エラーコマンドの送信が必要なエラー種別である場合には当該するコマンドを演出制御基板41に送信する。演出制御基板41がこのエラーコマンドを受けると、エラー種別に応じたエラー報知を実行する。また、CPU40aは発生中のエラーが解消された場合、エラー解除コマンドを演出制御基板41に送信する。演出制御基板41がこのエラー解除コマンドを受けると、実行中のエラー報知を終了させる。
In step S205, the CPU 40a executes error management processing. This error management processing monitors whether or not an error has occurred based on input data from various sensors and status signals from the dispensing control board 42.
If an error occurs, the CPU 40a performs error handling by sending an error command to the performance control board 41 if the error type requires the transmission of an error command. Upon receiving this error command, the performance control board 41 executes an error notification according to the type of error. Furthermore, if the error that was occurring is resolved, the CPU 40a sends an error clear command to the performance control board 41. Upon receiving this error clear command, the performance control board 41 terminates the ongoing error notification.

次いで、CPU40aはステップS206で、各変動表示ゲームに係る乱数を定期的に更新するタイマ割込み内乱数管理処理を実行する。ここでは、乱数カウンタのカウント値をランダムなものとするために、特別図柄判定用乱数や普図当り判定用乱数などに対し、乱数の更新(割込み毎に+1加算)と、乱数カウンタが一周するごとに、乱数カウンタのスタート値を変更する処理を行う。なお大当り判定用乱数は、乱数生成回路で生成されるので、ここで更新されることはない。 Next, in step S206, the CPU 40a executes a timer interrupt-based random number management process that periodically updates the random numbers related to each variable display game. Here, in order to make the random number counter's count value random, it updates the random numbers (adding +1 with each interrupt) for special symbol determination and regular symbol hit determination, and changes the random number counter's starting value each time the random number counter completes a cycle. Note that the random numbers for jackpot determination are generated by the random number generation circuit and are therefore not updated here.

ステップS207でCPU40aは、賞球管理処理を実行する。この賞球管理処理では、上記の入賞カウンタの確認を行い、入賞がある場合には、賞球数を指定する払出制御コマンドを払出制御基板42に送信する。払出制御基板42は、払出制御コマンドを受信した場合、これに含まれる賞球数情報に基づき遊技球払出装置46を制御し、指定された賞球数分の払い出し動作を実行させる。 In step S207, the CPU 40a executes the prize ball management process. This process checks the prize ball counter and, if there are prizes, sends a payout control command specifying the number of prize balls to the payout control board 42. Upon receiving the payout control command, the payout control board 42 controls the game ball payout device 46 based on the prize ball count information contained therein, and performs the payout operation for the specified number of prize balls.

次いで、ステップS300でCPU40aは、普通図柄管理処理を実行する。この普通図柄管理処理では、普通図柄変動表示ゲームを実行させるために必要な処理を行う。
なお、ステップS300の普通図柄管理処理の詳細については後述する。
Next, in step S300, the CPU 40a executes the normal symbol management process. This normal symbol management process performs the necessary processing to run the normal symbol variation display game.
Details of the normal symbol management process in step S300 will be described later.

さらに、ステップS208でCPU40aは、普通電動役物管理処理を実行する。この普通電動役物管理処理では、普電開放遊技を実行させるために必要な普通電動役物の動作制御に係る処理を行う。 Furthermore, in step S208, the CPU 40a executes a standard electric mechanism management process. This standard electric mechanism management process performs the necessary operations control for the standard electric mechanism required to execute the standard electric release game.

次いで、ステップS400でCPU40aは、特別図柄管理処理を実行する。この特別図柄管理処理では、主に、特別図柄変動表示ゲームにおける大当り抽選を行い、その抽選結果に基づいて、特別図柄の変動パターン(先読み変動パターン、及び変動開始時の変動パターン)の決定等、特別図柄変動表示ゲームを実行させるために必要な処理を行う。
なお、ステップS400の特別図柄管理処理の詳細については後述する。
Next, in step S400, the CPU 40a executes special symbol management processing. In this special symbol management processing, the CPU mainly performs a jackpot lottery for the special symbol variation display game, and based on the lottery results, performs processing necessary to execute the special symbol variation display game, such as determining the variation pattern of the special symbols (pre-read variation pattern and variation pattern at the start of variation).
Details of the special symbol management process in step S400 will be described later.

次いで、ステップS209でCPU40aは、特別電動役物管理処理を実行する。この特別電動役物管理処理では、大当り遊技を実行させるために必要な特別電動役物の動作制御に係る処理を行う。 Next, in step S209, the CPU 40a executes special electric mechanism management processing. This special electric mechanism management processing performs processing related to the operation control of the special electric mechanism necessary to execute the jackpot game.

上記ステップS209までの遊技進行のための処理を終えると、CPU40aはステップS210で、外部端子管理処理を行う。この外部端子管理処理では、枠用外部集中端子基板43を通して、遊技機1の動作状態情報をホールコンピュータHCや島ランプなどの外部装置に対して出力する。動作状態情報には、例えば、大当り遊技発生情報、図柄変動表示ゲーム実行開始情報、入賞数・賞球数情報、エラー情報などの遊技情報がある。 After completing the processing for game progression up to step S209, the CPU 40a performs external terminal management processing in step S210. In this external terminal management processing, the operating status information of the gaming machine 1 is output to external devices such as the hall computer HC and island lamps via the frame's external centralized terminal board 43. This operating status information includes, for example, game information such as jackpot occurrence information, symbol variation display game execution start information, number of winnings/prize balls information, and error information.

次いで、ステップS211でCPU40aは、LED管理処理を実行する。このLED管理処理では、特別図柄表示装置22a、22b、複合表示装置22c、22dなどのLED表示器に対する制御信号(ダイナミック点灯データ)の出力処理を行う。普通図柄管理処理(ステップS300)、特別図柄管理処理(ステップS400)などで作成された表示用データに基づく制御信号は、このLED管理処理で対応する表示装置又は表示器に出力され、表示制御が行われる。これにより、特別図柄表示装置22a、22bにおける特別図柄や複合表示装置22dにおける普通図柄の一連の変動表示動作(変動表示及び停止表示)等が実現される。 Next, in step S211, the CPU 40a executes LED management processing. This LED management processing outputs control signals (dynamic lighting data) to LED displays such as the special pattern display devices 22a and 22b, and the composite display devices 22c and 22d. The control signals based on the display data created in the normal pattern management processing (step S300) and the special pattern management processing (step S400) are output to the corresponding display devices or indicators in this LED management processing, and display control is performed. This enables a series of variable display operations (variable display and stop display) for the special patterns in the special pattern display devices 22a and 22b, and the normal patterns in the composite display device 22d.

ステップS211に続くステップS212でCPU40aは、ソレノイド管理処理を実行する。ここでは、前述した普通電動役物25を動作させる普通電動役物ソレノイド25a、第1大入賞口27を開閉する第1特別電動役物29を動作させる第1特別電動役物ソレノイド29a、第2大入賞口28を開閉する第2特別電動役物30を動作させる第2特別電動役物ソレノイド30a等、遊技機1が備える所定のソレノイドに対する制御信号(制御データ)を出力する処理を行う。 In step S212, following step S211, the CPU 40a executes solenoid management processing. Here, it outputs control signals (control data) for predetermined solenoids provided by the gaming machine 1, such as the ordinary electric mechanism solenoid 25a that operates the ordinary electric mechanism 25, the first special electric mechanism solenoid 29a that operates the first special electric mechanism 29 that opens and closes the first large prize opening 27, and the second special electric mechanism solenoid 30a that operates the second special electric mechanism 30 that opens and closes the second large prize opening 28.

ステップS212に続くステップS213でCPU40aは、全レジスタの値を退避させた上で、ステップS214の性能表示モニタ表示処理を行う。すなわち、性能表示器35に上記した通常時比率情報としての値を表示させるための処理である。
そして、通常時比率情報の値は全状態アウト球数が所定規定値に達するごとに演算し直されるものであり、性能表示器35は、現在の通常時比率情報と前回の通常時比率情報(直近の演算し直しタイミングにおいて演算終了とされた通常時比率情報)とを表示可能とされている。このため、この場合のステップS214の表示処理では、性能表示器35にこれら二種の通常時比率情報としての値を表示させる処理を行う。
なお、現在の通常時比率情報の値は、上記したメインループ処理(図8)におけるステップS124の処理で算出される値であり、前回の通常時比率情報の値は、RAM40cの所定領域に保存され、CPU40aは保存値を読み出して性能表示器35に表示させる。
In step S213, following step S212, the CPU 40a saves the values of all registers and then performs the performance display monitor display processing in step S214. That is, it processes the performance display unit 35 to display the values described above as normal ratio information.
The normal ratio information value is recalculated each time the total number of outs reaches a predetermined value, and the performance indicator 35 is capable of displaying the current normal ratio information and the previous normal ratio information (the normal ratio information that was calculated to be finished at the most recent recalculation timing). Therefore, in the display process of step S214 in this case, the performance indicator 35 is made to display these two types of normal ratio information values.
The current normal ratio information value is calculated in step S124 of the main loop processing (Figure 8) described above, while the previous normal ratio information value is stored in a predetermined area of RAM 40c, and the CPU 40a reads the stored value and displays it on the performance indicator 35.

ステップS214に続くステップS215でCPU40aは、全レジスタの値を復帰させ、ステップS216でWDTのカウント値をクリアし、主制御側タイマ割込み処理を終了する。 In step S215, following step S214, the CPU 40a restores the values of all registers, and in step S216, it clears the WDT count value and terminates the main control timer interrupt processing.

以上のタイマ割込み処理が終了すると、CPU40aは次のタイマ割込みが発生するまでの間、メインループ処理(S111)を実行する。
Once the timer interrupt processing described above is complete, the CPU 40a executes the main loop processing (S111) until the next timer interrupt occurs.

(普通図柄管理処理)
図10は、普通図柄管理処理を示すフローチャートである。
図10に示すように、ステップS301でCPU40aは、普通図柄ゲート検出センサ26aからの検出信号に基づき、普通図柄ゲート26への遊技球の通過を検出したか否かを判定する。
(Normal pattern management processing)
Figure 10 is a flowchart showing the normal pattern management process.
As shown in Figure 10, in step S301, the CPU 40a determines whether or not it has detected the passage of a game ball through the normal pattern gate 26 based on the detection signal from the normal pattern gate detection sensor 26a.

普通図柄ゲート26への遊技球の通過を検出したと判定した場合、ステップS302でCPU40aは、普図保留球数が4以上であるか否か判定する。すなわち、普図保留球数が最大保留記憶数(ここでは、上限4個)以上であるか否かを判定する。ただし、普通図柄ゲート26への遊技球の通過を検出しなかった場合(ステップS301:N)、及び、普図保留球数が4個であると判定した場合は、ステップS302~ステップS304をパスしてステップS305に進む。 If the CPU 40a determines that a game ball has passed through the regular symbol gate 26, in step S302, it determines whether the number of regular symbol reserved balls is 4 or more. That is, it determines whether the number of regular symbol reserved balls is equal to or greater than the maximum number of reserved balls (in this case, the upper limit is 4). However, if the CPU 40a does not detect the passage of a game ball through the regular symbol gate 26 (step S301:N), or if it determines that the number of regular symbol reserved balls is 4, it skips steps S302 to S304 and proceeds to step S305.

一方、普図保留球数が4以上でないと判定した場合(4未満の場合)、CPU40aは、ステップS303で普図保留球数に1を加算し、ステップS304で今回発生した普図保留球に係る普図当り判定用乱数をRAM40cの普図保留記憶エリアに格納する。 On the other hand, if the CPU 40a determines that the number of reserved balls is not 4 or more (i.e., less than 4), in step S303, it adds 1 to the number of reserved balls, and in step S304, it stores the random number used for determining a winning combination related to the reserved balls generated in the current round in the reserved ball storage area of the RAM 40c.

ステップS305でCPU40aは、普図当りフラグの状態を判定する。この「普図当りフラグ」とは、普電開放遊技中であるか否かを指定するためのフラグであり、当該フラグがON状態(例えば5AH)である場合には普電開放遊技中である旨を示し、当該フラグがOFF状態(例えば00H)である場合には普電開放遊技中ではない旨を示す。 In step S305, the CPU 40a determines the state of the "normal power win flag." This "normal power win flag" is a flag that specifies whether or not a normal power-open game is in progress. If the flag is ON (e.g., 5AH), it indicates that a normal power-open game is in progress; if the flag is OFF (e.g., 00H), it indicates that a normal power-open game is not in progress.

普図当りフラグがOFF状態(≠5AH)の場合、すなわち普電開放遊技中でない場合、ステップS306でCPU40aは、普通図柄動作ステータス(00H~02H)に応じて普通図柄の変動表示動作に関する処理を分岐させる普通図柄動作ステータス判定処理を実行する。 If the normal symbol win flag is OFF (≠ 5AH), i.e., if normal power release game is not in progress, in step S306, the CPU 40a executes a normal symbol operation status determination process that branches the processing related to the variation display operation of the normal symbols according to the normal symbol operation status (00H to 02H).

ステップS306の普通図柄動作ステータス判定処理では、普通図柄動作ステータスが「変動開始時(00H)」「変動中(01H)」「確認時間中(02H)」の何れかであるかに応じて、それぞれ対応する処理を実行する。なお「普通図柄動作ステータス」とは、普通図柄の挙動を示す値であり、その値は処理状態に応じて変更され、RAM40cの普通図柄動作ステータス格納領域に格納される。 In step S306, the normal symbol operation status determination process executes the corresponding process depending on whether the normal symbol operation status is "at the start of variation (00H)", "during variation (01H)", or "during confirmation time (02H)". The "normal symbol operation status" is a value indicating the behavior of the normal symbols, and this value is changed according to the processing state and stored in the normal symbol operation status storage area of RAM 40c.

具体的に、CPU40aは、普通図柄動作ステータスが「変動開始時(00H)」である場合、ステップS307で普図保留球数がゼロか否かを判定し、普図保留球数がゼロであると判定した場合には、ステップS308~ステップS313の処理をパスし、ステップS320に進む。 Specifically, if the normal symbol operation status is "Start of variation (00H)", the CPU 40a determines in step S307 whether the number of normal symbol reserved balls is zero. If it determines that the number of normal symbol reserved balls is zero, it skips steps S308 to S313 and proceeds to step S320.

一方、普図保留球数がゼロでないと判定した場合、ステップS308でCPU40aは、普図保留球数を1減算し、図11に示す普図当り判定テーブルを参照して、普図保留記憶エリアに格納されている普図当り判定用乱数(保留データ)のうちの最も先に記憶された普図当り判定用乱数に基づく普図当り抽選を行う。 On the other hand, if it is determined that the number of reserved balls is not zero, in step S308, the CPU 40a subtracts 1 from the number of reserved balls and, referring to the reserved ball win determination table shown in Figure 11, performs a reserved ball win lottery based on the random number for reserved ball win determination (reserved data) stored first in the reserved ball storage area.

図11は、普図当り判定テーブルの一例を説明する図である。
ここで、ROM40bの所定の領域には、図11に示すような普図当り判定テーブルが記憶されている。普図当り判定テーブルには、低確率状態と高確率状態との判定基準値THが示されている。
本実施形態における普図当り抽選では、普図当り判定用乱数がとり得る値の範囲(0~250)内において判定基準値THを定め、普図当り判定用乱数と判定基準値THの大小関係を比較した結果に基づき、普図当り又ははずれの判定を行う。一例として、普図当り判定用乱数の値が「0~判定基準値TH」の範囲内である場合に普図当りの判定結果を、それ以外の場合にはずれの判定結果を得る手法を採っている。
図11に示す例では、低確率状態及び高確率状態の両方とも判定基準値THが250に設定されている。したがって、本実施形態では、低確率状態及び高確率状態のいずれの場合であっても、普図当り抽選で必ず普図当りに当選する。
Figure 11 is a diagram illustrating an example of a normal hit determination table.
Here, a predetermined area of ROM 40b stores a normal win determination table as shown in Figure 11. The normal win determination table shows the determination criteria value TH for low probability state and high probability state.
In the lottery for winning the regular number in this embodiment, a judgment criterion value TH is determined within the range of possible values (0 to 250) for the random number used to determine whether to win the regular number. Based on the comparison of the relative magnitudes of the random number used to determine whether to win the regular number and the judgment criterion value TH, a determination of whether to win or lose the regular number is made. As an example, a method is employed in which a determination result of winning the regular number is obtained when the value of the random number used to determine whether to win the regular number is within the range of "0 to the judgment criterion value TH", and a determination result of losing is obtained otherwise.
In the example shown in Figure 11, the judgment criterion value TH is set to 250 in both the low probability state and the high probability state. Therefore, in this embodiment, regardless of whether it is the low probability state or the high probability state, a regular win is guaranteed in the regular win lottery.

図12は、普通図柄変動表示ゲームに関する当り種別、変動時間、確定時間の一例を説明する図である。
ステップS310でCPU40aは、図12に示すように、普図当り抽選の抽選結果、及び、設定されている遊技状態に基づいて当り種別が決定され、決定された当り種別に対応する停止図柄を作成する停止図柄作成処理を行う。ここでは、上記したように、低確率状態及び高確率状態のいずれの場合であっても普図当り抽選で必ず普図当りに当選し、普図当りに当選した場合、図12に示すように、当り種別として「当り1」が決定され、「当り1」に対応する停止図柄が作成される。
Figure 12 is a diagram illustrating an example of the type of win, the variation time, and the confirmation time for a regular symbol variation display game.
In step S310, as shown in Figure 12, the CPU 40a determines the type of win based on the result of the regular win lottery and the set game state, and performs a stop symbol creation process to create a stop symbol corresponding to the determined type of win. Here, as described above, regardless of whether it is a low probability state or a high probability state, a regular win is always won in the regular win lottery, and when a regular win is won, as shown in Figure 12, "Win 1" is determined as the type of win, and a stop symbol corresponding to "Win 1" is created.

ステップS311でCPU40aは、遊技状態に基づく変動時間(図12参照)を普通図柄役物タイマに格納する。ここでは、低確率状態では132msが格納され、高確率状態では128msが格納されることになる。 In step S311, the CPU 40a stores the variation time (see Figure 12) based on the game state in the regular symbol timer. Here, 132ms is stored in the low probability state, and 128ms is stored in the high probability state.

ステップS312でCPU40aは、RAM40cの普図保留記憶エリアに格納されている保留データをシフトする。ここでは、普図保留n記憶エリア(n=2、3、4)に格納されている保留データを、それぞれ‘n-1’に対応する普図保留記憶エリアに格納する。 In step S312, the CPU 40a shifts the reserved data stored in the general data reserve storage area of the RAM 40c. Here, the reserved data stored in the general data reserve n storage area (n = 2, 3, 4) is stored in the general data reserve storage area corresponding to 'n-1'.

ステップS313でCPU40aは、変動開始時の各種設定を行い、ステップS320に進む。ここでは、例えば、普通図柄動作ステータスを「変動中(01H)」にし、保留4記憶エリアをクリアして空き領域を設け、普図変動中フラグをON状態にする。 In step S313, the CPU 40a performs various settings for the start of the variation and proceeds to step S320. Here, for example, the normal symbol operation status is set to "Variing (01H)", the four reserved memory areas are cleared to create free space, and the normal symbol variation flag is set to the ON state.

普通図柄動作ステータスが「変動中(01H)」である場合、CPU40aは、ステップS314で普通図柄役物タイマがゼロか否かを判定し、普通図柄役物タイマがゼロでないと判定した場合、ステップS315をパスしてステップS320に進む。 If the normal symbol operation status is "Variing (01H)", the CPU 40a determines in step S314 whether the normal symbol timer is zero or not. If it determines that the normal symbol timer is not zero, it skips step S315 and proceeds to step S320.

一方、普通図柄役物タイマがゼロであると判定した場合、ステップS315でCPU40aは、変動停止時の各種設定を行い、ステップS320に進む。ここでは、例えば、普通図柄動作ステータスを「確認時間中(02H)」にし、図12に示すような遊技状態に基づいた確定時間(500ms)を普通図柄役物タイマに格納し、普図変動中フラグをOFF状態にする。 On the other hand, if the CPU 40a determines that the normal symbol timer is zero, in step S315, the CPU 40a performs various settings for when the reel stops moving and proceeds to step S320. Here, for example, the normal symbol operation status is set to "Confirmation Time (02H)," a confirmation time (500ms) based on the game state as shown in Figure 12 is stored in the normal symbol timer, and the normal symbol reel movement flag is turned OFF.

普通図柄動作ステータスが「確認時間中(02H)」である場合、CPU40aは、ステップS316で普通図柄役物タイマがゼロか否かを判定し、普通図柄役物タイマがゼロでないと判定した場合、ステップS317~ステップS319をパスしてステップS320に進む。 If the normal symbol operation status is "Confirmation in progress (02H)", the CPU 40a determines in step S316 whether the normal symbol timer is zero or not. If it determines that the normal symbol timer is not zero, it skips steps S317 to S319 and proceeds to step S320.

一方、普通図柄役物タイマがゼロであると判定した場合、ステップS317でCPU40aは、普通図柄動作ステータスを「変動開始時(00H)」にする。ステップS318でCPU40aは、ステップS309の普図当り抽選において普図当りに当選したか否かを判定し、普図当りに当選していないと判定した場合にはステップS319をパスしてステップS320に進む。 On the other hand, if the CPU 40a determines that the regular symbol timer is zero, in step S317, the CPU 40a sets the regular symbol operation status to "Start of variation (00H)". In step S318, the CPU 40a determines whether or not a regular symbol win was achieved in the regular symbol win lottery in step S309. If it determines that a regular symbol win was not achieved, it skips step S319 and proceeds to step S320.

一方、普図当りに当選していたと判定した場合、ステップS319でCPU40aは、普図当り時の各種設定を行いステップS320に進む。ここでは、普図当りフラグをON状態(5AH)にする。 On the other hand, if it is determined that a regular win has occurred, in step S319 the CPU 40a performs various settings for a regular win and proceeds to step S320. Here, the regular win flag is set to the ON state (5AH).

ステップS320でCPU40aは、普通図柄表示データを更新し、普通図柄管理処理を終了する。この普通図柄表示データ更新処理では、普通図柄が変動中であるか否かを判定し、変動中であれば、普通図柄変動中の7セグ表示用データを作成し、普通図柄が変動中でなければ、普通図柄停止表示中の7セグ表示用データを作成する。ここで作成した普通図柄の表示データは、図9のLED管理処理(ステップS211)によって複合表示装置22dに出力される。
In step S320, the CPU 40a updates the normal symbol display data and terminates the normal symbol management process. In this normal symbol display data update process, it is determined whether or not the normal symbol is changing. If it is changing, data for the 7-segment display of the changing normal symbol is created. If the normal symbol is not changing, data for the 7-segment display of the stopped normal symbol is created. The normal symbol display data created here is output to the composite display device 22d by the LED management process (step S211) shown in Figure 9.

(特別図柄管理処理)
図13は、特別図柄管理処理(ステップS400)を示したフローチャートである。図13に示すように、CPU40aは、ステップS401で特図1(第1始動口23)についての特図1始動口チェック処理を行い、続くステップS402で特図2(第2始動口24)についての特図2始動口チェック処理を行う。
なお、これら始動口チェック処理の詳細については後述する。
(Special pattern management processing)
Figure 13 is a flowchart showing the special pattern management process (step S400). As shown in Figure 13, in step S401, the CPU 40a performs a special pattern 1 start port check process for special pattern 1 (first start port 23), and in the following step S402, it performs a special pattern 2 start port check process for special pattern 2 (second start port 24).
Details of these starter port check procedures will be described later.

ステップS401、S402の始動口チェック処理を終えると、ステップS403でCPU40aは、条件装置作動フラグの状態を判定する。この「条件装置作動フラグ」とは、大当り遊技中であるか否かを指定するためのフラグであり、当該フラグがON状態(例えば5AH)である場合には大当り遊技中である旨を示し、当該フラグがOFF状態(例えば00H)である場合には大当り遊技中ではない旨を示す。なお、条件装置作動フラグは、大当り抽選において大当りに当選した場合における特別図柄確認中処理(ステップS407)でON状態に設定され、後述する大当り終了処理(ステップS650)でOFF状態に設定される。 After completing the start-up check process in steps S401 and S402, in step S403, the CPU 40a determines the state of the condition device activation flag. This "condition device activation flag" is a flag that specifies whether or not a jackpot game is in progress. When the flag is ON (e.g., 5AH), it indicates that a jackpot game is in progress; when the flag is OFF (e.g., 00H), it indicates that a jackpot game is not in progress. The condition device activation flag is set to ON during the special symbol confirmation process (step S407) when a jackpot is won in the jackpot lottery, and is set to OFF during the jackpot termination process (step S650), which will be described later.

条件装置作動フラグがOFF状態(≠5AH)であると判定した場合、すなわち大当り遊技中でないと判定した場合、ステップS404でCPU40aは、特別図柄動作ステータス(00H~03H)に応じて特別図柄の変動表示動作に関する処理を分岐させる特別図柄動作ステータス分岐処理を実行する。 If the condition device activation flag is determined to be OFF (≠ 5AH), that is, if it is determined that a jackpot game is not in progress, in step S404, the CPU 40a executes a special symbol operation status branching process that branches the processing related to the variation display operation of the special symbols according to the special symbol operation status (00H to 03H).

ステップS404の特別図柄動作ステータス分岐処理では、特別図柄動作ステータスが「待機中(00H、01H)」「変動中(02H)」「確認中(03H)」の何れであるかに応じて、それぞれ対応する処理を実行する。なお「特別図柄動作ステータス」とは、特別図柄の挙動を示す値であり、その値は処理状態に応じて変更され、RAM40cの特別図柄動作ステータス格納領域に格納される。 In step S404, the special symbol operation status branching process executes the corresponding process depending on whether the special symbol operation status is "Waiting (00H, 01H)", "Variing (02H)", or "Checking (03H)". The "special symbol operation status" is a value indicating the behavior of the special symbol, and this value changes according to the processing state and is stored in the special symbol operation status storage area of RAM 40c.

具体的に、CPU40aは、特別図柄動作ステータスが「待機中(00H、01H)」である場合には特別図柄変動開始処理(ステップS405)を、「変動中(02H)」である場合には特別図柄変動中処理(ステップS406)を、「確認中(03H)」である場合には特別図柄確認時間中処理(ステップS407)をそれぞれ実行する。ここで、上記「待機中」とは、特別図柄が次回変動のための待機状態である旨を意味し、上記「変動中」とは特別図柄が変動(変動表示)中である旨を意味し、上記「確認中」とは特別図柄の変動が終了して停止(確定)表示中(特別図柄確認時間中)である旨を意味する。 Specifically, the CPU 40a executes the special symbol variation start process (step S405) if the special symbol operation status is "waiting (00H, 01H)", the special symbol variation in progress process (step S406) if it is "varying (02H)", and the special symbol confirmation time process (step S407) if it is "confirming (03H)". Here, "waiting" means that the special symbol is in a waiting state for the next variation, "varying" means that the special symbol is changing (displaying variation), and "confirming" means that the variation of the special symbol has finished and is stopped (confirmed) and displayed (special symbol confirmation time).

上記のステップS405、S406、S407の処理により、特別図柄の変動開始及び変動停止を1セットする変動表示動作が実現されることになる。
なお、ステップS405の処理の詳細については後述する。
The processes described in steps S405, S406, and S407 above result in a variable display operation that sets the start and stop of the variable movement of the special symbol.
Details of the process in step S405 will be described later.

ステップS405~S407の何れかの処理を終えると、ステップS408でCPU40aは、特別図柄表示データ更新処理を実行し、特別図柄管理処理を終了する。この特別図柄表示データ更新処理では、特別図柄が変動中であるか否かを判定し、変動中であれば、特別図柄変動中の7セグ表示用データを作成し、特別図柄が変動中でなければ、特別図柄停止表示中の7セグ表示用データを作成する。ここで作成した特別図柄の表示データは、図9のLED管理処理(ステップS211)によって特別図柄表示装置22a、22bに出力される。 After completing any of the processes in steps S405 to S407, in step S408, the CPU 40a executes a special symbol display data update process and terminates the special symbol management process. This special symbol display data update process determines whether the special symbol is currently changing. If it is, it creates data for the 7-segment display of the changing special symbol; if it is not changing, it creates data for the 7-segment display of the stopped special symbol. The special symbol display data created here is output to the special symbol display devices 22a and 22b by the LED management process (step S211) shown in Figure 9.

また、ステップS403で大当り遊技中と判定した場合(=5AH)、CPU40aはステップS405~S407の特別図柄の変動表示動作に関する処理を行わずに、そのままステップS408の特別図柄表示データ更新処理を行う。すなわち、大当り遊技中である場合には、特別図柄の変動表示動作は行われない(特別図柄表示装置の特別図柄の表示状態は、大当り後に確定表示されたままの状態が保持される)。
Furthermore, if it is determined in step S403 that a jackpot is in progress (= 5AH), the CPU 40a does not perform the processing related to the display of the special symbols in steps S405 to S407, but instead proceeds directly to the special symbol display data update process in step S408. In other words, if a jackpot is in progress, the display of the special symbols is not performed (the display state of the special symbols on the special symbol display device remains the same as when the jackpot was confirmed).

(特図1始動口チェック処理)
図14は、特図1始動口チェック処理(ステップS401)を示したフローチャートである。
この特図1始動口チェック処理は、所定の始動条件の成立に基づいて実行される入賞時処理としての役割を果たす。特図1始動口チェック処理では、特別図柄1の特別図柄変動表示ゲーム1を実行させるための開始前処理(特別図柄1の入賞時処理)として、第1始動口23の入賞発生に起因した特別図柄1の保留球数の加算処理、各種乱数の記憶処理(保留記憶処理)、保留加算コマンドの送信処理等が実行される。
なお、特図2始動口チェック処理(ステップS402)も、特図1始動口チェック処理と同じく、所定の始動条件の成立に基づいて実行される入賞時処理としての役割を果たし、特別図柄2の特別図柄変動表示ゲーム2を実行させるための開始前処理(特別図柄2の入賞時処理)として、第2始動口24の入賞発生に起因した特別図柄2の保留球数の加算処理、各種乱数の記憶処理、及び保留加算コマンドの送信処理等が実行される。従って、特図1始動口チェック処理と特図2始動口チェック処理とは実質的に同一の処理内容となっている。以下では、特図1始動口チェック処理を中心に説明し、特図2始動口チェック処理についての詳細は、重複記載を避けるために省略する。
(Special Figure 1: Start port check process)
Figure 14 is a flowchart showing the start port check process (step S401) in Specifications 1.
This special symbol 1 start gate check process serves as a prize-winning process that is executed based on the fulfillment of predetermined start conditions. In the special symbol 1 start gate check process, as a pre-start process (prize-winning process for special symbol 1) for executing the special symbol variation display game 1 of special symbol 1, the following are executed: an addition of the number of reserved balls for special symbol 1 due to the prize-winning of the first start gate 23, storage of various random numbers (reserved ball storage process), and transmission of a reserved ball addition command.
Furthermore, the Special Symbol 2 Start-Up Check Process (Step S402), like the Special Symbol 1 Start-Up Check Process, serves as a prize-winning process executed based on the fulfillment of predetermined starting conditions. As a pre-start process (prize-winning process for Special Symbol 2) for executing the Special Symbol 2 Special Symbol Variation Display Game 2, it performs processes such as adding the number of reserved balls for Special Symbol 2 due to the prize-winning of the second start-up opening 24, storing various random numbers, and sending the reserved ball addition command. Therefore, the Special Symbol 1 Start-Up Check Process and the Special Symbol 2 Start-Up Check Process are substantially identical in content. Below, we will focus on explaining the Special Symbol 1 Start-Up Check Process, and details of the Special Symbol 2 Start-Up Check Process will be omitted to avoid redundant descriptions.

図14に示すように、ステップS401-1でCPU40aは、第1始動口検出センサ23aからの検出信号に基づき、第1始動口23への遊技球の入賞を検出したか否かを判定する。そして、第1始動口23への入賞を検出したと判定した場合、ステップS401-2でCPU40aは、特別図柄1の保留球(以下、「特図1保留球」と称する)の数が4以上であるか否か判定する。すなわち、特図1保留球数が最大保留記憶数(ここでは、上限4個)以上であるか否かを判定する。ただし、第1始動口23の入賞検出がないと判定した場合、特図1始動口チェック処理を終了する。 As shown in Figure 14, in step S401-1, the CPU 40a determines whether or not it has detected a game ball entering the first start port 23 based on the detection signal from the first start port detection sensor 23a. If it determines that a game ball has entered the first start port 23, in step S401-2, the CPU 40a determines whether or not the number of reserved balls for special symbol 1 (hereinafter referred to as "special symbol 1 reserved balls") is four or more. That is, it determines whether or not the number of special symbol 1 reserved balls is equal to or greater than the maximum number of reserved balls (here, the upper limit is four). However, if it determines that no game ball has entered the first start port 23, the special symbol 1 start port check process ends.

ステップS401-2で特図1保留球数が4以上であると判定した場合、つまり第1始動口23の入賞を検出したが特図1保留球数が4以上であると判定した場合、CPU40aは後述のステップS401-11に進み、一方、特図1保留球数が4以上でないと判定した場合(4未満の場合)、ステップS401-3で特図1保留球数に1を加算する。 If step S401-2 determines that the number of reserved balls in Special Feature 1 is 4 or more, that is, if entry into the first starting opening 23 is detected but the number of reserved balls in Special Feature 1 is determined to be 4 or more, the CPU 40a proceeds to step S401-11 described below. On the other hand, if it determines that the number of reserved balls in Special Feature 1 is not 4 or more (i.e., less than 4), then in step S401-3, 1 is added to the number of reserved balls in Special Feature 1.

ステップS401-4でCPU40aは、今回発生した特図1保留球に係る特別図柄変動表示ゲーム1に利用される各種乱数を取得する。具体的には、各種の乱数カウンタから、大当り判定用乱数、特別図柄判定用乱数、変動パターン用乱数を取得し、その取得した乱数をRAM40cの特図保留記憶エリアに格納する。 In step S401-4, the CPU 40a acquires various random numbers to be used in the special symbol variation display game 1 related to the special symbol 1 reserved ball that occurred this time. Specifically, it acquires random numbers for jackpot determination, special symbol determination, and variation pattern from various random number counters, and stores these acquired random numbers in the special symbol reserved ball storage area of the RAM 40c.

ステップS401-5でCPU40aは、保留加算コマンドを作成するための入賞コマンドデータ(保留加算コマンドの下位バイト側(EVENT)に相当するデータ)として、先読み判定を禁止する先読み禁止データ(EVENT:「01H」)を取得する。
次いで、ステップS401-6でCPU40aは、「特図1先読み禁止条件」が成立しているか否かを判定する。特図1先読み禁止条件とは、特図1保留球を対象とした先読み判定を禁止する条件である。
In step S401-5, the CPU 40a obtains pre-reading prohibition data (EVENT: "01H") to prohibit pre-reading judgment, which is used as winning command data (data corresponding to the lower byte side (EVENT) of the hold-add command) for creating a hold-add command.
Next, in step S401-6, the CPU 40a determines whether the "Special Figure 1 Pre-read Prohibition Condition" is met. The Special Figure 1 Pre-read Prohibition Condition is a condition that prohibits pre-reading judgments targeting the Special Figure 1 held balls.

特図1先読み禁止条件が成立している場合、CPU40aは先読み判定に関する先読み判定処理(ステップS401-9)を実行せずに、ステップS401-11に進む。この場合、先読み禁止データ(EVENT:「01H」)を持つ保留加算コマンドが先読み禁止を指定するものとなり、今回の特図1保留球を対象とした先読み判定が禁止され、その結果、先読み予告演出も実行されないことになる。換言すれば、先読み禁止データは、先読み判定処理(ステップS401-9)を実行していない旨を指定するものと言える。 If the condition for prohibiting pre-reading in Special Feature 1 is met, the CPU 40a proceeds to step S401-11 without executing the pre-reading judgment process (step S401-9) related to the pre-reading judgment. In this case, the hold addition command with pre-reading prohibition data (EVENT: "01H") specifies pre-reading prohibition, prohibiting the pre-reading judgment targeting the current Special Feature 1 hold balls, and as a result, the pre-reading notification effect is not executed. In other words, the pre-reading prohibition data indicates that the pre-reading judgment process (step S401-9) has not been executed.

ここで、遊技状態によらず特図1及び特図2の先読み判定を行うのではなく、現在の遊技状態に基づいて、先読み禁止か否かを判定するようになっている。その理由は次の通りである。
右打ち有利となる時短状態である場合には、第2始動口24への入賞が頻繁に発生するが、左打ち有利となる非時短状態である場合には、第2始動口24への入賞がほぼ発生せずに第1始動口23への入賞が頻繁に発生することを考慮し、遊技状態によらず特図1及び特図2の先読み判定を闇雲に行うのではなく、時短状態である場合には特図1側の先読み判定を禁止して特別図柄2側の先読み判定を許容し、非時短状態である場合には特図2側の先読み判定を禁止して特図1側の先読み判定を許容するようになっている。
Here, instead of making a pre-reading judgment for Special Feature 1 and Special Feature 2 regardless of the game state, the system determines whether or not pre-reading is prohibited based on the current game state. The reason for this is as follows.
When the game is in a time-saving state where right-handed play is advantageous, entries into the second starting opening 24 occur frequently. However, when the game is not in a time-saving state where left-handed play is advantageous, entries into the second starting opening 24 rarely occur, and entries into the first starting opening 23 occur frequently. Considering this, instead of blindly performing pre-read judgments for special symbols 1 and 2 regardless of the game state, when the game is in a time-saving state, pre-read judgments for special symbol 1 are prohibited and pre-read judgments for special symbol 2 are permitted, and when the game is not in a time-saving state, pre-read judgments for special symbol 2 are prohibited and pre-read judgments for special symbol 1 are permitted.

ステップS401-6において、先読み禁止条件が成立していないと判定した場合、ステップS401-7でCPU40aは、先読み判定処理を実行する。この先読み判定処理では、変動開始時に実行される大当り抽選結果を先読み判定する。従って、大当り抽選結果を先読み判定する‘先読み当否判定’と、図柄抽選結果を先読み判定する‘先読み図柄判定’と、変動開始時の変動パターンを先読み判定する‘先読み変動パターン判定’とに関する一連の処理が含まれる。 If, in step S401-6, it is determined that the pre-reading prohibition condition is not met, then in step S401-7, the CPU 40a executes a pre-reading determination process. This pre-reading determination process pre-determines the jackpot lottery result executed at the start of the variation. Therefore, it includes a series of processes related to 'pre-reading win/loss determination' (pre-reading the jackpot lottery result), 'pre-reading symbol determination' (pre-reading the symbol lottery result), and 'pre-reading variation pattern determination' (pre-reading the variation pattern at the start of the variation).

具体的に、ステップS401-7においてCPU40aは、RAM40c(特図保留記憶エリア)に格納される大当り判定用乱数値を取得し、大当り判定用乱数値と大当り判定テーブル(図17参照)とに基づいて、今回の保留球を対象とした大当り抽選(少なくとも大当り、はずれの別を決定する先読み当否判定)を行い、その結果(「先読み当否結果」と称する)を取得する。 Specifically, in step S401-7, the CPU 40a obtains a random value for jackpot determination stored in the RAM 40c (special symbol hold memory area), and based on the random value and the jackpot determination table (see Figure 17), performs a jackpot lottery for the current hold ball (at least a pre-read win/loss determination to determine whether it is a jackpot or a loss), and obtains the result (referred to as the "pre-read win/loss result").

ここで、本実施形態では、先読み当否結果はCPU40a内蔵の所定の汎用レジスタに取り込んだまま、RAM40cに格納しない。これは、先読み当否判定結果が、この後の先読み図柄判定の処理で直ちに利用され、それ以降このデータが必要とされることがなく、RAM40cに記憶する必要が無いためである。 In this embodiment, the look-ahead success/failure result is stored in a predetermined general-purpose register built into the CPU 40a and not in the RAM 40c. This is because the look-ahead success/failure determination result is immediately used in the subsequent look-ahead symbol determination process, and this data is not needed thereafter, thus eliminating the need to store it in the RAM 40c.

また、ステップS401-7でCPU40aは、上記した先読み図柄判定の処理として、先読み当否結果(少なくとも大当り、はずれの別)と保留種別(特図1、2の別)とに応じた図柄テーブル(図20参照)を用いた図柄抽選を行う。具体的にCPU40aは、先のステップS401-4で取得した特別図柄判定用乱数と図柄テーブルとに基づき、今回の保留球を対象とした図柄抽選を行い、その結果(「先読み図柄結果」と称する)を取得する。 Furthermore, in step S401-7, the CPU 40a performs a symbol lottery using a symbol table (see Figure 20) corresponding to the pre-read symbol determination process described above, specifically the pre-read win/loss result (at least whether it's a big win or a miss) and the type of reserved ball (whether it's Special Symbol 1 or 2). Specifically, the CPU 40a performs a symbol lottery for the current reserved ball based on the random number for special symbol determination obtained in step S401-4 and the symbol table, and obtains the result (referred to as the "pre-read symbol result").

CPU40aは、先読み図柄結果を、上述した先読み当否判定のときと同様にCPU40a内蔵の所定の汎用レジスタに取り込んだまま、RAM40cに格納しない。これは、先読み図柄結果が、この後の先読み変動パターン判定で直ちに利用され、それ以降このデータが必要とされることがなく、RAM40cに記憶する必要が無いためである。 The CPU 40a does not store the pre-read symbol result in RAM 40c, but instead stores it in a predetermined general-purpose register built into the CPU 40a, similar to the pre-read win/fail determination described above. This is because the pre-read symbol result is immediately used in the subsequent pre-read variation pattern determination, and this data is not needed thereafter, thus eliminating the need to store it in RAM 40c.

上記の先読み図柄判定を終えると、CPU40aは先読み変動パターン判定を実行する。この先読み変動パターン判定では、上記の先読み図柄結果(「4R1」「10R」「4R2」「はずれ1」「はずれ2」「はずれ3」の何れか)と、該先読み図柄結果に応じた変動パターンを選択するための変動パターンテーブルと、ステップS401-4で取得した変動パターン用乱数とを利用した変動パターンの抽選を行い、先読み変動パターン決定する。すなわち、今回の保留球が変動表示動作に供されるときに実行される変動パターン(変動開始時の変動パターン)を先読み判定する。 After completing the above pre-read symbol determination, the CPU 40a performs a pre-read variation pattern determination. This pre-read variation pattern determination uses the above pre-read symbol result (one of "4R1", "10R", "4R2", "Miss 1", "Miss 2", or "Miss 3"), a variation pattern table for selecting a variation pattern corresponding to the pre-read symbol result, and a random number for the variation pattern obtained in step S401-4 to determine the pre-read variation pattern. In other words, it pre-determines the variation pattern to be executed when the current held ball is used for the variation display operation (the variation pattern at the start of the variation).

上記の変動パターンテーブルは、特別図柄変動開始処理(図13)で行われる変動パターンの抽選においても利用される。
上記の変動パターンテーブルの具体例、及び該テーブルを用いた変動パターンの抽選処理については、変動開始時の処理の説明時に改めて説明する。
The above variation pattern table is also used in the lottery for variation patterns performed during the special symbol variation start process (Figure 13).
A concrete example of the above variation pattern table, and the process of drawing variation patterns using this table, will be explained again when describing the process at the start of variation.

なお、先読み変動パターン判定結果(入賞コマンドデータ(EVENT))は、以下で説明するステップS401-8の保留加算コマンド作成処理で直ちに利用され、その後、このデータが必要とされることはない。従って、CPU40aは、先読み変動パターン判定の結果をRAM40cに格納することなくレジスタに取り込んだまま、ステップS401-7の処理を終えるようになっている。 Furthermore, the result of the pre-read fluctuation pattern determination (winning command data (EVENT)) is immediately used in the hold-add command creation process in step S401-8, which will be explained below, and this data is not needed thereafter. Therefore, the CPU 40a completes the process in step S401-7 without storing the result of the pre-read fluctuation pattern determination in the RAM 40c, instead keeping it in the register.

ステップS401-8でCPU40aは、先読み判定結果に応じた保留加算コマンドの下位バイト側のデータを作成する。具体的には、先読み変動パターンの種類を表すデータを、保留加算コマンドの下位バイト側の入賞コマンドデータ(EVENT)として作成する。
なお、EVENTのデータについては、ステップS401-5で設定された「01H」が、本処理にて先読み変動パターンに対応する値(先読み変動パターン判定処理で得られた値)に更新されることになる。
In step S401-8, the CPU 40a creates the lower byte data of the hold-add command according to the look-ahead judgment result. Specifically, it creates data representing the type of look-ahead variation pattern as the winning command data (EVENT) on the lower byte side of the hold-add command.
Furthermore, regarding the EVENT data, the value "01H" set in step S401-5 will be updated in this process to a value corresponding to the look-ahead variation pattern (a value obtained in the look-ahead variation pattern determination process).

ステップS401-9でCPU40aは、保留球数に応じた保留加算コマンドの上位バイト側のデータを作成する。すなわち、現在の保留球数と、上述した先読み図柄結果(特別図柄の種別)とを表すデータを保留加算コマンドの上位バイト側の入賞コマンドデータ(MODE)として作成する。
該MODEのデータについては、特図1の保留1個~特図1の保留4個、特図2の保留1個~特図2の保留4個を識別可能に設定される。
In step S401-9, the CPU 40a creates the upper-byte data for the hold-add command according to the number of hold-add balls. That is, it creates data representing the current number of hold-add balls and the pre-read symbol result (type of special symbol) as the winning command data (MODE) for the upper-byte of the hold-add command.
The data for this MODE is set to allow identification of reserved items 1 through 4 in Special Figure 1, and reserved items 1 through 4 in Special Figure 2.

ステップS401-10でCPU40aは、保留加算コマンドの送信処理を行う。すなわち、ステップS401-8、ステップS401-9で作成した入賞コマンドデータをそれぞれEVENT、MODEとして含む保留加算コマンドを作成し、演出制御基板41に送信する。 In step S401-10, the CPU 40a performs the transmission process for the hold-add command. Specifically, it creates a hold-add command that includes the winning command data created in steps S401-8 and S401-9 as EVENT and MODE, respectively, and transmits it to the performance control board 41.

ここで、先読み禁止条件である場合(S401-6でYes)、CPU40aは上述した先読み禁止データ(下位バイト=01H)を更新せずにそのまま維持し、先読み禁止データを持つ保留加算コマンドを送信する。
また、オーバーフロー時(最大保留記憶数に達しているときに、新たな入賞が発生した場合)は、オーバーフロー指定の保留加算コマンドが送信されるようになっている(ステップS401-2のYesのルート)。
If the look-ahead prohibition condition is met (Yes in S401-6), the CPU 40a maintains the above-mentioned look-ahead prohibition data (lower byte = 01H) without updating it and sends a hold-add command containing the look-ahead prohibition data.
Furthermore, in the event of an overflow (when the maximum number of reserved balls has been reached and a new winning combination occurs), an overflow-specified reserved ball addition command is sent (the Yes route in step S401-2).

なお、保留加算コマンドは、主制御基板40から演出制御基板41に送られた後は、演出制御基板41側において今回の保留球に係る「先読み予告演出」を現出する際に利用されるだけであり、図12に示す特別図柄変動開始処理において特に利用されるものではない。従って、CPU40aは保留加算コマンドもRAM40cに格納することなく、ステップS401の特図1始動口チェック処理を抜けて、続いてステップS402の特図2始動口チェック処理を行うことになる。
Furthermore, after the hold-add command is sent from the main control board 40 to the performance control board 41, it is only used on the performance control board 41 when displaying the "pre-announcement performance" related to the current hold-add balls, and is not used in particular in the special symbol variation start process shown in Figure 12. Therefore, the CPU 40a does not store the hold-add command in the RAM 40c, and proceeds to the special symbol 1 start-up check process in step S401, and then proceeds to the special symbol 2 start-up check process in step S402.

(特別図柄変動開始処理)
図15は、変動開始時の処理である特別図柄変動開始処理(ステップS405)を示したフローチャートである。
図15に示すように、ステップS405-1でCPU40aは、特図2の保留球数(特図2保留球数)がゼロか否かを判定し、特図2保留球数がゼロでない場合には、ステップS405-6に進み、今回の変動表示に供する特図2保留球を対象とした変動開始時の処理(ステップS405-6~S405-14)を行う。
(Special symbol variation start process)
Figure 15 is a flowchart showing the special symbol variation start process (step S405), which is the process that takes place when the variation begins.
As shown in Figure 15, in step S405-1, the CPU 40a determines whether the number of reserved balls in Special Figure 2 (number of reserved balls in Special Figure 2) is zero or not. If the number of reserved balls in Special Figure 2 is not zero, the CPU proceeds to step S405-6 and performs the processing at the start of the variation (steps S405-6 to S405-14) for the reserved balls in Special Figure 2 to be used for the variation display.

一方、特図2保留球数がゼロであると判定した場合、ステップS405-2でCPU40aは、特図1の保留球数(特図1保留球数)がゼロか否かを判定し、特図1保留球数がゼロでないと判定した場合には、ステップS405-6の処理に進み、今回の変動表示に供する特図1保留球を対象とした特別図柄の変動開始に係る処理(ステップS405-6~S405-14)を行う。
上記のステップS405-1とS405-2の処理により、特図1保留球と特図2保留球のどちらを優先的に変動表示動作に供するか(どちらの保留球を優先的に消化していくか)の「優先変動順位」が定まる。本実施形態では、特図1保留球と特図2保留球の双方に保留球が存在する場合、特図2保留球が優先的に消化される。つまり、特別図柄変動表示ゲーム1よりも特別図柄変動表示ゲーム2の方が優先的に実行される。なお、上述の優先変動タイプに限らず、入賞した順番通りに保留球を消化していく構成としてもよい。
On the other hand, if it is determined that the number of reserved balls in Special Feature 2 is zero, in step S405-2 the CPU 40a determines whether the number of reserved balls in Special Feature 1 (number of reserved balls in Special Feature 1) is zero or not. If it is determined that the number of reserved balls in Special Feature 1 is not zero, the CPU 40a proceeds to step S405-6 and performs the processing related to the start of the variation of the special symbols targeting the reserved balls in Special Feature 1 to be used for the variation display (steps S405-6 to S405-14).
The processing in steps S405-1 and S405-2 above determines the "priority variation order," which determines which of the reserved balls in Special Symbol 1 and Special Symbol 2 will be used preferentially for the variation display operation (which reserved balls will be consumed first). In this embodiment, if there are reserved balls in both Special Symbol 1 and Special Symbol 2, the reserved balls in Special Symbol 2 will be consumed preferentially. In other words, Special Symbol Variation Display Game 2 is executed preferentially over Special Symbol Variation Display Game 1. Note that the priority variation type is not limited to the above, and a configuration in which the reserved balls are consumed in the order in which they were won is also possible.

なお、特図2保留球数と特図1保留球数の双方の保留球数がゼロである場合、「保留球なし」の状態となる。この「保留球なし」の状態は、特別図柄が待機中であり、且つ保留記憶無しの状態となった場合であり、この状態に突入したことを演出制御基板41側に知らせて、液晶表示装置20に対し、客待ち待機用のデモ画面表示(客待ちデモ画面)に切り替え制御させる。そこで、「保留球なし」になった場合は、ステップS405-3に進み、CPU40aは、特別図柄動作ステータスが「保留球なし」の状態を示す「待機中(00H)」であるか否かを判定する。 Furthermore, if the number of reserved balls for both Special Symbol 2 and Special Symbol 1 is zero, the state becomes "No reserved balls." This "No reserved balls" state occurs when the special symbols are in standby mode and there is no reserved ball memory. The performance control board 41 is notified of this state, and the liquid crystal display device 20 is instructed to switch to displaying a demo screen for customer waiting (customer waiting demo screen). Therefore, if the state becomes "No reserved balls," the process proceeds to step S405-3, where the CPU 40a determines whether the special symbol operation status is "Standby (00H)," indicating the "No reserved balls" state.

ステップS405-3において特別図柄動作ステータスが「待機中(00H)」でないと判定した場合、すなわち、特別図柄動作ステータスが「待機中(01H)」であると判定した場合には、ステップS405-4でCPU40aは、特別図柄動作ステータスを「待機中(00H)」に切り替える(特別図柄動作ステータスに00Hを格納する)。そして、ステップS405-5でCPU40aは、演出制御コマンドとして、客待ちデモ画面を表示させるための「デモ表示コマンド」を演出制御基板41に送信し、特別図柄変動開始処理を終了する。
以後、ステップS405-3の判定処理が実行されるときに「待機中(00H)」であれば、CPU40aは、再度、デモ表示コマンドを送信することなく特別図柄変動開始処理を終了する。
If in step S405-3 the CPU 40a determines that the special symbol operation status is not "standby (00H)", that is, if the CPU 40a determines that the special symbol operation status is "standby (01H)", then in step S405-4 the CPU 40a switches the special symbol operation status to "standby (00H)" (stores 00H in the special symbol operation status). Then, in step S405-5 the CPU 40a sends a "demo display command" to the performance control board 41 as a performance control command to display the customer waiting demo screen, and ends the special symbol variation start process.
Thereafter, if the determination process in step S405-3 is executed and the result is "Waiting (00H)", the CPU 40a terminates the special symbol variation start process without sending the demo display command again.

ステップS405-1で特図2保留球数がゼロでないと判定した場合、及び、ステップS405-2で特図1保留球数がゼロでないと判定した場合(特図2保留球数がゼロである一方、特図1保留球数がゼロでない場合)のそれぞれにおいて、CPU40aは、今回の変動表示に供する保留球を対象とした特別図柄の変動開始時に係る処理(ステップS405-6~S405-14)を行う。
ここで、以下に説明するステップS405-6~S405-14の処理については、上記のステップS405-1の判定で‘No’であった場合は特図2保留球を対象とした処理、上記のステップS405-2の判定で‘No’であった場合は特図1保留球を対象とした処理となるが、処理の仕方は同じであるため、重複記載を避けるために特に必要が無い限り、特図1保留球を対象とした処理であるか、特図2保留球を対象とする処理であるかの区別はせずに説明していく。
In step S405-1, if it is determined that the number of reserved balls for Special Symbol 2 is not zero, and in step S405-2, if it is determined that the number of reserved balls for Special Symbol 1 is not zero (i.e., the number of reserved balls for Special Symbol 2 is zero, while the number of reserved balls for Special Symbol 1 is not zero), the CPU 40a performs the processing related to the start of the variation of the special symbols (steps S405-6 to S405-14) for the reserved balls to be used for the variation display this time.
Here, regarding the processing in steps S405-6 to S405-14 described below, if the result of the determination in step S405-1 is 'No', the processing will target the reserved balls of Special Feature 2, and if the result of the determination in step S405-2 is 'No', the processing will target the reserved balls of Special Feature 1. However, since the method of processing is the same, to avoid redundant descriptions, unless it is particularly necessary, we will not distinguish whether the processing targets the reserved balls of Special Feature 1 or Special Feature 2.

ステップS405-6でCPU40aは、保留球数を1減算し(今回の変動表示動作に供する特別図柄側に係る保留球数-1)、続くステップS405-7で減算後の保留球数情報を含む「保留減算コマンド」を演出制御基板41に送信する。この保留減算コマンドにより、演出制御基板41側は、今回の保留球数消化後の残余保留球数を把握し、現在表示中の保留表示をシフト表示させる。 In step S405-6, the CPU 40a subtracts 1 from the number of reserved balls (the number of reserved balls related to the special symbol used for the current variable display operation minus 1), and in the following step S405-7, it sends a "reserved ball subtraction command" containing the information of the reduced number of reserved balls to the performance control board 41. This reserved ball subtraction command allows the performance control board 41 to determine the remaining number of reserved balls after the current number of reserved balls have been consumed, and it shifts the currently displayed reserved ball display accordingly.

ステップS405-8でCPU40aは、特別図柄作動確認データを設定する。この特別図柄作動確認データは、今回の変動開始側の特別図柄を指定する情報であり、例えば、特別図柄1が変動開始側であるならば「00H(特図1変動開始指定)」を、特別図柄2が変動開始側であるならば「01H(特図2変動開始指定)」を、RAM40cの所定領域(特別図柄作動確認データ格納領域)に格納する。 In step S405-8, the CPU 40a sets special symbol operation confirmation data. This special symbol operation confirmation data specifies the special symbol that will initiate the variation. For example, if special symbol 1 is the one initiating the variation, "00H (special symbol 1 variation start specification)" is stored in the designated area of the RAM 40c (special symbol operation confirmation data storage area). If special symbol 2 is the one initiating the variation, "01H (special symbol 2 variation start specification)" is stored in the designated area of the RAM 40c.

ステップS405-9でCPU40aは、RAM40cの特図保留記憶エリアに格納されている保留データをシフトし、続くステップS405-10で保留4記憶エリアをクリアする。このステップS405-9~S405-10の処理では、保留記憶数n=1に対応する保留記憶エリア(保留1記憶エリア)に格納されている保留データ(大当り判定用乱数、特別図柄判定用乱数、及び変動パターン用乱数)を読み出し、RAM40cの判定用乱数記憶エリアに格納すると共に、保留n記憶エリア(n=2、3、4)に対応する保留記憶エリア(保留2記憶エリア、保留3記憶エリア、保留4記憶エリア)に格納されている保留データを、それぞれ‘n-1’に対応する保留記憶エリアに格納し(ステップS405-9)、保留4記憶エリアをクリアして空き領域を設ける(ステップS405-10)。 In step S405-9, the CPU 40a shifts the reserved data stored in the special symbol reserved memory area of the RAM 40c, and in the following step S405-10, clears the reserved 4 memory area. In the processing of steps S405-9 to S405-10, the reserved data (random numbers for jackpot determination, random numbers for special symbol determination, and random numbers for variation patterns) stored in the reserved memory area corresponding to reserved memory number n=1 (reserved 1 memory area) is read and stored in the random number determination memory area of the RAM 40c. Simultaneously, the reserved data stored in the reserved memory areas corresponding to reserved n memory areas (reserved 2 memory area, reserved 3 memory area, reserved 4 memory area) (reserved 4 memory area), corresponding to n=2, 3, and 4, is stored in the reserved memory area corresponding to 'n-1' (step S405-9), and the reserved 4 memory area is cleared to create free space (step S405-10).

ステップS405-11でCPU40aは、変動回数残指定コマンド、遊技状態コマンドを送信する処理を行う。ここでは、CPU40aは、時短状態の時短回数をカウントする「時短回数カウンタ」がゼロであるか否かを判定し、時短回数がゼロでない場合は、時短回数を含む「変動回数残指定コマンド」を演出制御基板41に送信する。この「変動回数残指定コマンド」により、演出制御基板41は、時短回数を把握して報知する処理を実行可能とされる。
また、CPU40aは、現在の遊技状態を指定する遊技状態コマンドを演出制御基板41に送信する処理も行う。
In step S405-11, the CPU 40a performs the process of sending a command to specify the remaining number of spins and a game status command. Here, the CPU 40a determines whether the "shortened spins counter," which counts the number of shortened spins in the shortened spin state, is zero or not. If the shortened spins are not zero, it sends a "command to specify the remaining number of spins" including the shortened spins to the performance control board 41. This "command to specify the remaining number of spins" enables the performance control board 41 to perform the process of determining and notifying the number of shortened spins.
Furthermore, the CPU 40a also performs the process of sending a game state command, which specifies the current game state, to the performance control board 41.

ステップS411でCPU40aは、大当り抽選を行う大当り乱数判定処理を実行する。
なお、大当り乱数判定処理の詳細については後述する。
In step S411, the CPU 40a executes a jackpot random number determination process to perform a jackpot lottery.
Details regarding the process for determining the winning random number will be described later.

ステップS412でCPU40aは、図柄抽選を行う図柄抽選処理を実行する。
なお、図柄抽選処理の詳細については後述する。
In Step S412, the CPU 40a executes a pattern drawing process to determine the patterns.
Details regarding the pattern selection process will be explained later.

ステップS413でCPU40aは、変動パターン抽選を行う変動パターン抽選処理を実行する。
なお、本実施形態における変動パターン抽選処理の詳細については後述する。
In step S413, the CPU 40a executes a variable pattern lottery process to perform a variable pattern lottery.
Details of the variation pattern lottery process in this embodiment will be described later.

ここで、上記したように、変動開始時における大当り抽選や図柄抽選の抽選結果をRAM40cに格納するものとしているが、その理由は、これらの抽選結果は、特別図柄管理処理(ステップS400)のみで利用されるものではなく、後々の特別電動役物管理処理(ステップS209)等においても利用されるデータだからである。
この点、抽選結果をRAM40cに格納しない先読み判定時の処理とは異なる。
As mentioned above, the results of the jackpot lottery and symbol lottery at the start of the variation are stored in RAM 40c. The reason for this is that these lottery results are not only used in the special symbol management process (step S400), but are also used in subsequent processes such as the special electric mechanism management process (step S209).
In this respect, it differs from the pre-read determination process, where the lottery result is not stored in RAM 40c.

なお、図示による説明は省略するが、大当り抽選結果が大当たりである場合に、CPU40aは、ステップS413に続いて、遊技状態を移行させるための設定処理として、大当り遊技後の遊技状態を指定するための必要な設定処理を行う(遊技状態移行準備処理)。 Although a diagrammatic explanation is omitted, if the jackpot lottery result is a jackpot, the CPU 40a, following step S413, performs the necessary setting processing to specify the game state after the jackpot game as a setting process for transitioning the game state (game state transition preparation processing).

ステップS405-12でCPU40aは、変動表示中である旨を指定する特別図柄N変動中フラグ(N=1、2)に5AH(ON状態)を格納する。「特別図柄N変動中フラグ」とは、特別図柄1、2のうち対象とする何れかの特別図柄が変動中であるかを示すフラグで、当該フラグがON状態(=5AH)である場合には対象の特別図柄が変動中である旨を示し、当該フラグがOFF状態(=00H)である場合には対象の特別図柄が停止中である旨を示す。
なお、特別図柄1変動中フラグ(N=1)は特別図柄1に対応し、特別図柄2変動中フラグ(N=2)は特別図柄2に対応するものである。
In step S405-12, the CPU 40a stores 5AH (ON state) in the special symbol N variation flag (N=1, 2), which indicates that variation is in progress. The "special symbol N variation flag" is a flag that indicates whether either of the target special symbols 1 or 2 is in variation. When the flag is in the ON state (=5AH), it indicates that the target special symbol is in variation, and when the flag is in the OFF state (=00H), it indicates that the target special symbol is stopped.
Furthermore, the flag during the variation of special symbol 1 (N=1) corresponds to special symbol 1, and the flag during the variation of special symbol 2 (N=2) corresponds to special symbol 2.

ステップS405-13でCPU40aは、変動開始時のコマンド送信処理を実行する。このコマンド送信処理では、ステップS413の変動パターン抽選で選択された変動パターンを演出制御基板41に通知すべく、演出制御コマンドとして、変動パターンを特定可能な変動パターン情報を含む「変動パターン指定コマンド」を作成し、演出制御基板41に送信する。
また、コマンド送信処理では、ステップS412における図柄抽選結果に基づき、装飾図柄指定コマンドを作成し、演出制御基板41に送信する。装飾図柄指定コマンドは、保留種別を指定する上位バイト(MODE)と、特別図柄の種別を指定する下位バイト(EVENT)の2バイトで構成される。従って、この装飾図柄指定コマンドには、保留種別と特別図柄の種別(図柄抽選結果)とに関する情報が含まれる。この装飾図柄指定コマンドは、特別図柄の種別に関する情報が含まれることから、演出制御基板41において、主として、リーチ状態を形成する際の装飾図柄の組合せ(リーチ図柄を構成要素とする図柄種)や、最終的に停止表示させる装飾図柄(装飾停止図柄)の組合せや、図柄変動表示ゲームにおいて当選種別に対応する予告演出などを決定する際に利用される。
In step S405-13, the CPU 40a executes a command transmission process at the start of the variation. In this command transmission process, in order to notify the performance control board 41 of the variation pattern selected in the variation pattern lottery in step S413, a "variation pattern specification command" is created as a performance control command, which includes variation pattern information that can identify the variation pattern, and is sent to the performance control board 41.
Furthermore, in the command transmission process, a decorative symbol specification command is created based on the symbol lottery result in step S412 and transmitted to the performance control board 41. The decorative symbol specification command consists of two bytes: an upper byte (MODE) that specifies the type of hold and a lower byte (EVENT) that specifies the type of special symbol. Therefore, this decorative symbol specification command contains information about the type of hold and the type of special symbol (symbol lottery result). Because this decorative symbol specification command contains information about the type of special symbol, it is mainly used by the performance control board 41 to determine the combination of decorative symbols that form a reach state (symbol types that make up the reach symbols), the combination of decorative symbols that are ultimately stopped and displayed (decorative stop symbols), and the予告演出 (preview effect) corresponding to the winning type in the symbol variation display game.

ステップS405-14でCPU40aは、変動開始時設定処理を実行し、特別図柄変動開始処理を終了する。ここでは、特別図柄動作ステータスを「変動中(02H)」に切り替え(特別図柄動作ステータスに02Hを格納)、判定用乱数記憶エリアをクリアする処理を行う。
In step S405-14, CPU 40a executes the setting process at the start of the variation and terminates the special symbol variation start process. Here, the special symbol operation status is switched to "Variing (02H)" (02H is stored in the special symbol operation status), and the random number storage area for judgment is cleared.

(大当り乱数判定処理)
図16は、大当り乱数判定処理(ステップS411)を示したフローチャートであり、図17は、大当り判定テーブルの一例を示した図であり、図18は、大当り乱数判定手法を説明する図である。
(Random number determination process for big wins)
Figure 16 is a flowchart showing the jackpot random number determination process (step S411), Figure 17 is a diagram showing an example of a jackpot determination table, and Figure 18 is a diagram explaining the jackpot random number determination method.

図16に示すように、ステップS411-1でCPU40aは、保留種別(特図1、特図2)に応じた大当り判定テーブルを選択する。
ここで、ROM40bの所定の領域(アドレス)には、図16に示すような大当り判定テーブルが記憶されている。大当たり判定テーブルは、保留種別(特図1、特図2)ごとに設けられているが、本実施形態では、保留種別によらず同一の値が設定されている。
大当り判定テーブルには、低確率状態と高確率状態とでの判定基準値THが示されている。
本実施形態における大当り乱数判定では、大当り判定用乱数がとり得る値の範囲内において判定基準値THを定め、大当り判定用乱数と判定基準値THの大小関係を比較した結果に基づき、大当りの当否判定(大当り抽選)を行う。一例として、大当り判定用乱数の値が「0~判定基準値TH」の範囲内である場合に大当りの判定結果を、それ以外の場合にはずれの判定結果を得る手法を採っている。
As shown in Figure 16, in step S411-1, the CPU 40a selects a jackpot determination table corresponding to the hold type (Special Figure 1, Special Figure 2).
Here, a jackpot determination table, as shown in Figure 16, is stored in a predetermined area (address) of ROM 40b. A jackpot determination table is provided for each type of hold (Special Figure 1, Special Figure 2), but in this embodiment, the same value is set regardless of the type of hold.
The jackpot determination table shows the determination criteria value TH for both the low probability state and the high probability state.
In this embodiment, the jackpot random number determination is performed by setting a judgment criterion value TH within the range of possible values for the jackpot determination random number, and then determining whether or not to win the jackpot (jackpot lottery) based on the result of comparing the magnitude relationship between the jackpot determination random number and the judgment criterion value TH. As an example, a method is employed in which a jackpot is determined if the value of the jackpot determination random number is within the range of "0 to judgment criterion value TH", and a loss is determined otherwise.

そして、判定基準値THとしては、低確率状態の判定に用いる判定基準値TH1(205)と、高確率状態の判定に用いる判定基準値TH2(658)の2種が設定される。
図17及び図18に示すように、高確率状態の判定基準値TH2は低確率状態の判定基準値TH1よりも値が大きくされ、これにより高確率状態の判定でより大当りの当選確率が高まるようにされている。
Furthermore, two types of judgment criteria values TH are set: judgment criterion value TH1 (205) used to determine a low probability state, and judgment criterion value TH2 (658) used to determine a high probability state.
As shown in Figures 17 and 18, the criterion value TH2 for determining a high-probability state is set to be larger than the criterion value TH1 for determining a low-probability state, thereby increasing the probability of winning a jackpot when determining a high-probability state.

なお、上記では、大当り乱数判定における大当りの判定下限値を「0」とする例、すなわち、大当り判定用乱数が「0」~「判定基準値TH」の範囲内であれば大当りの判定結果を得る場合を例示したが、判定下限値は「0」よりも大きな数値とすることもできる。 The above example illustrates a scenario where the lower limit for determining a jackpot is set to "0," meaning that a jackpot is determined if the random number used for jackpot determination falls within the range of "0" to "Judgment Criterion Value TH." However, the lower limit can also be set to a value greater than "0."

ステップS411-2でCPU40aは、大当り判定用乱数が判定下限値未満であるか否かを判定する。判定下限値は、上記のように大当りの判定下限値(大当りとの判定結果が得られる数値範囲の下限値)であり、例えば「0」である。
大当り判定用乱数が判定下限値未満であれば、はずれであることが確定されるため、以下で説明するステップS411-3~S411-7の処理はパスして大当り乱数判定処理を終了する。
なお、判定下限値=0である場合、大当り判定用乱数が0未満の値をとることは通常はあり得ないため、ステップS411-2の処理を設けることは必須ではない。ステップS411-2の処理は、判定下限値を0よりも大きな値とする場合に有効なものである。
In step S411-2, the CPU 40a determines whether the random number used for determining a jackpot is less than the lower limit of the determination. The lower limit of the determination is the lower limit of the jackpot determination (the lower limit of the numerical range from which a jackpot determination result can be obtained), as described above, and is, for example, "0".
If the random number used for determining a jackpot is below the lower limit of the determination, it is determined that it is a miss, so the processes in steps S411-3 to S411-7 described below are skipped and the jackpot random number determination process ends.
Note that if the lower limit of judgment is 0, it is usually impossible for the random number used for determining a jackpot to take a value less than 0, so the process in step S411-2 is not essential. The process in step S411-2 is effective when the lower limit of judgment is set to a value greater than 0.

ステップS411-2において大当り判定用乱数が判定下限値未満でなければ、ステップS411-3でCPU40aは、現在の遊技状態が高確率状態であるか否かを判定する。 If the random number used for determining a jackpot in step S411-2 is not below the lower limit of the determination, then in step S411-3, the CPU 40a determines whether the current game state is a high-probability state.

高確率状態でないと判定した場合、ステップS411-4でCPU40aは、大当り判定テーブルにおける低確率状態の判定基準値TH1を取得する。
一方、高確率状態であると判定した場合、ステップS411-5でCPU40aは、大当り判定テーブルにおける高確率時の判定基準値TH2を取得する。
If it is determined that the state is not high probability, in step S411-4 the CPU 40a obtains the low probability state determination criterion value TH1 in the jackpot determination table.
On the other hand, if it is determined that the state is high probability, in step S411-5 the CPU 40a obtains the judgment criterion value TH2 for high probability in the jackpot judgment table.

ステップS411-6でCPU40aは、判定基準値TH1又は判定基準値TH2に基づいて、大当り判定用乱数が判定基準値TH未満であるか否かを判定する。
大当り判定用乱数が判定基準値TH未満であると判定した場合、ステップS411-7でCPU40aは、大当り判定フラグを5AHに更新した上で大当り乱数判定処理を終了し、大当り判定用乱数が判定基準値TH未満でないと判定した場合、ステップS411-6をパスして大当り乱数判定処理を終了する。
In step S411-6, the CPU 40a determines whether the random number for determining a jackpot is less than the determination criterion value TH, based on the determination criterion value TH1 or the determination criterion value TH2.
If the random number used for determining a jackpot is determined to be less than the judgment criterion value TH, in step S411-7 the CPU 40a updates the jackpot determination flag to 5AH and then terminates the jackpot random number determination process. If the random number used for determining a jackpot is determined to be not less than the judgment criterion value TH, step S411-6 is skipped and the jackpot random number determination process is terminated.

なお、ステップS411-2で大当り判定用乱数が判定下限値未満と判定された場合、及び、ステップS411-6で大当り判定用乱数が判定基準値TH未満でないと判定された場合、大当り判定フラグとしては大当り(=5AH)でない、具体的にははずれ(=00H)である旨を表す値に更新されるべきであるが、ステップS411の大当り乱数判定処理においては、大当り判定フラグをはずれである旨を表す00Hに更新する処理は行われず、ステップS407の特別図柄確認時間中処理で行われる。
Furthermore, if the random number used for determining the jackpot is determined to be less than the lower limit of the determination in step S411-2, and if the random number used for determining the jackpot is determined to be not less than the determination criterion value TH in step S411-6, the jackpot determination flag should be updated to a value indicating that it is not a jackpot (=5AH), specifically a miss (=00H). However, in the jackpot random number determination process in step S411, the process of updating the jackpot determination flag to 00H, which indicates a miss, is not performed, but is performed during the special symbol confirmation time process in step S407.

(図柄抽選処理)
図19は、図柄抽選処理(ステップS412)を示したフローチャートであり、図20は、図柄テーブルの一例を示した図である。
(Pattern selection process)
Figure 19 is a flowchart showing the pattern selection process (step S412), and Figure 20 is a diagram showing an example of a pattern table.

図20に示すように、図柄テーブルは、大当り抽選結果ごとに設けられている。図柄テーブルでは、大当り抽選結果ごとに特別図柄の種別(大当り種別、はずれ種別)の選択率が設定されている。
ここで、図柄テーブル内において、抽選対象の特別図柄の種別ごとに格納された数値は、特別図柄判定用乱数が0~199の200通りの数値をとり得ることを前提とした場合における選択率の振り分け値(振り分けを表す値)を表している。
大当り用の図柄テーブルによれば、特図1で大当りに当選した場合、大当り種別として「大当り1」が200/200の選択率、すなわち、必ず決定される。
また、特図2で大当りに当選した場合、大当り種別として「大当り1」が140/200」の選択率で決定され、大当り種別として「大当り2」が60/200の選択率で決定される。
As shown in Figure 20, a symbol table is provided for each jackpot lottery result. In the symbol table, the selection rate for each type of special symbol (jackpot type, losing type) is set for each jackpot lottery result.
Here, within the pattern table, the numerical values stored for each type of special pattern subject to the draw represent the distribution values (values representing the distribution) of the selection rate, assuming that the random number used to determine the special pattern can take on 200 different values between 0 and 199.
According to the winning symbol table, if a jackpot is won with Special Symbol 1, the jackpot type will always be "Jackpot 1" with a selection rate of 200/200.
Furthermore, if a jackpot is won in Special Feature 2, the jackpot type will be determined as "Jackpot 1" with a selection rate of 140/200, and the jackpot type will be determined as "Jackpot 2" with a selection rate of 60/200.

また、はずれ用の図柄テーブルによれば、特図1ではずれが決定された場合、はずれ種別として「はずれ1」が180/200の選択率で決定され、はずれ種別として「はずれ2」が16/200の選択率で決定され、はずれ種別として「はずれ3」が4/200の選択率で決定される。
また、特図2ではずれが決定された場合、はずれ種別として「はずれ1」が180/200の選択率で決定され、はずれ種別として「はずれ2」が10/200の選択率で決定され、はずれ種別として「はずれ3」が10/200の選択率で決定される。
Furthermore, according to the losing symbol table, if a losing result is determined in Special Symbol 1, the losing type will be "Losing 1" with a selection rate of 180/200, "Losing 2" with a selection rate of 16/200, and "Losing 3" with a selection rate of 4/200.
Furthermore, if a miss is determined in Special Figure 2, the type of miss will be determined as "Miss 1" with a selection rate of 180/200, "Miss 2" with a selection rate of 10/200, and "Miss 3" with a selection rate of 10/200.

ステップS412-1でCPU40aは、保留種別(特図1、特図2)に対応した図柄テーブルを選択する。 In step S412-1, the CPU 40a selects a symbol table corresponding to the hold type (Special Symbol 1, Special Symbol 2).

ステップS412-2でCPU40aは、特別図柄判定用乱数、大当り判定フラグを取得する。ステップS412-3でCPU40aは、大当り判定フラグ(大当り/はずれ)に対応した図柄テーブルを参照し、特別図柄判定用乱数に基づいて、特別図柄の種別(大当り種別、はずれ種別)を抽選により決定する。 In step S412-2, the CPU 40a obtains a random number for special symbol determination and a jackpot determination flag. In step S412-3, the CPU 40a refers to the symbol table corresponding to the jackpot determination flag (jackpot/miss) and, based on the random number for special symbol determination, determines the type of special symbol (jackpot type, miss type) by lottery.

ステップS412-4でCPU40aは、ステップS412-3で決定した特別図柄の種別に対応する特別図柄判定データをRAM40cの所定領域に格納し、特別停止図柄作成処理を終了する。
In step S412-4, the CPU 40a stores special symbol determination data corresponding to the type of special symbol determined in step S412-3 in a predetermined area of the RAM 40c, and terminates the special stop symbol creation process.

(変動パターン抽選処理)
図21は、変動パターン抽選処理(ステップS413)を示したフローチャートである。
ステップS413-1でCPU40aは、大当りか否かを判定する。すなわち、大当り判定フラグに基づき、大当り(=5AH)であるか否かを判定する。
(Variable pattern lottery process)
Figure 21 is a flowchart showing the variable pattern lottery process (step S413).
In step S413-1, the CPU 40a determines whether or not it is a jackpot. That is, it determines whether or not it is a jackpot (= 5AH) based on the jackpot determination flag.

ステップS413-1において大当りでない(はずれである)と判定した場合、ステップS413-2でCPU40aは、はずれ変動パターンテーブルを選択した上で、ステップS413-4の変動パターン選択処理に進む。
一方、ステップS413-1において大当りと判定した場合、ステップS413-3でCPU40aは、大当り変動パターンテーブルを選択した上で、ステップS413-4の変動パターン選択処理に進む。
If it is determined in step S413-1 that it is not a jackpot (i.e., a loss), then in step S413-2 the CPU 40a selects a loss variation pattern table and proceeds to the variation pattern selection process in step S413-4.
On the other hand, if it is determined in step S413-1 that it is a jackpot, in step S413-3 the CPU 40a selects a jackpot variation pattern table and then proceeds to the variation pattern selection process in step S413-4.

ステップS413-4でCPU40aは、上記ステップS413-2又はステップS413-3で選択した変動パターンテーブルを参照し、変動パターン用乱数に基づいて変動パターンを決定し、変動パターン抽選処理を終了する。 In step S413-4, the CPU 40a refers to the variation pattern table selected in step S413-2 or step S413-3, determines the variation pattern based on the random number for the variation pattern, and terminates the variation pattern lottery process.

図22は、変動パターン抽選テーブルの一例を示した図である。
変動パターンテーブルは、ROM40bに記憶されている。なお、図22では、時短状態で用いられる変動パターンテーブルを図示しているが、実際には、非時短状態で用いられる変動パターンテーブルも設けられている。
Figure 22 shows an example of a variable pattern lottery table.
The variation pattern table is stored in ROM 40b. Note that while Figure 22 illustrates the variation pattern table used in the time-saving mode, a variation pattern table used in the non-time-saving mode is also provided.

図22に示すように、はずれ時の変動パターン抽選においては、抽選候補の変動パターン(抽選により選択され得る変動パターン)が「通常変動1s」「通常変動12s1」「通常変動12s2」「スーパーリーチ1」「スーパーリーチ2」「スーパーリーチ3」「スーパーリーチ4」の7種とされる。
また、大当り用の変動パターン抽選においては、抽選候補の変動パターンが「スーパーリーチ1」「スーパーリーチ2」「スーパーリーチ3」「スーパーリーチ4」の4種とされる。
As shown in Figure 22, in the lottery for the variation pattern when a loss occurs, there are seven types of variation patterns that can be selected by lottery: "Normal Variation 1s", "Normal Variation 12s1", "Normal Variation 12s2", "Super Reach 1", "Super Reach 2", "Super Reach 3", and "Super Reach 4".
Furthermore, in the lottery for the winning spin pattern, there are four types of spin patterns that can be selected: "Super Reach 1,""Super Reach 2,""Super Reach 3," and "Super Reach 4."

ここで、上記した変動パターンのうち、特に「通常変動1s」「通常変動12s1」「通常変動12s2」は、大当り時に選択されないいわば「はずれ」に対応した変動パターンに属する(以下「はずれ変動パターン」と称することもある)。 Here, among the variation patterns described above, "Normal Variation 1s," "Normal Variation 12s1," and "Normal Variation 12s2" belong to the variation patterns that correspond to "misses," so to speak, that are not selected during a jackpot (these may also be referred to as "miss variation patterns" below).

本実施形態では、はずれ時の変動パターン抽選は、特図1、2に関わらず、はずれ種別(はずれ1、2、3)ごとに異なる変動パターンテーブルを用いて行われる。
ここで、上記したように、「はずれ1」「はずれ2」「はずれ3」の各はずれ種別については、図柄抽選による選択率が異なるものとされ、「はずれ1」が最も選択率が高く、「はずれ2」「はずれ3」は「はずれ1」よりも選択率が低くされている。つまり、大当り抽選結果が「はずれ」であれば、殆どの場合、はずれ種別として「はずれ1」が選択されることになる。
In this embodiment, the random selection of the variation pattern when a loss occurs is performed using a different variation pattern table for each type of loss (loss 1, 2, or 3), regardless of Figures 1 and 2.
As mentioned above, each of the "Miss 1,""Miss2," and "Miss 3" types of misses has a different selection rate in the symbol lottery, with "Miss 1" having the highest selection rate, and "Miss 2" and "Miss 3" having lower selection rates than "Miss 1." In other words, if the jackpot lottery result is "Miss," in most cases "Miss 1" will be selected as the type of miss.

特図2についての変動パターン抽選として、はずれ種別が「はずれ1」の場合における変動パターン抽選については、保留球数に応じた抽選を行う。このため、特図2用の変動パターンテーブルのうち、はずれ種別が「はずれ1」の場合に用いられる変動パターンテーブルとしては、保留球数ごとに異なるテーブルが用意されている。 For the variation pattern lottery in Special Feature 2, when the losing type is "Loss 1," the lottery is conducted according to the number of reserved balls. Therefore, for the variation pattern tables used in Special Feature 2 when the losing type is "Loss 1," different tables are prepared for each number of reserved balls.

ここで、変動パターンテーブル内において、抽選対象の変動パターンごとに格納された数値は、変動パターン判定用乱数が0~9999の1000通りの数値をとり得ることを前提とした場合における選択確率の振り分け値(振り分けを表す値)を表している。例えば、特図1用の変動パターンテーブルにおいて、「はずれ1」且つ「保留球数=0」のテーブルでは「通常変動1s」に対する格納値=「10000」とされているが、これは、「通常変動1s」の当選確率が「10000/10000」であることを意味している。
テーブルの格納値として上記の振り分け値を示したのはあくまで説明の便宜を図るためであり、実際における変動パターンテーブルには、上記の大当り乱数判定で用いたような判定基準値が格納されることになる。例えば、上記の「はずれ1」且つ「保留球数=0」のテーブルについて言えば、実際の格納値(判定基準値)として例えば「9999」が格納され、その場合、変動パターン用乱数が9999以下であれば「通常変動1s」が選択される。
Here, within the variation pattern table, the numerical values stored for each variation pattern subject to the lottery represent the distribution values (values representing the distribution) of the selection probability, assuming that the random number used for determining the variation pattern can take on 1000 different values from 0 to 9999. For example, in the variation pattern table for Special Feature 1, the stored value for "Normal Variation 1s" in the table for "Miss 1" and "Number of Reserved Balls = 0" is "10000," which means that the winning probability for "Normal Variation 1s" is "10000/10000."
The distribution values shown above as the stored values in the table are merely for explanatory purposes; in reality, the variation pattern table will store judgment criteria values, such as those used in the jackpot random number determination described above. For example, in the case of the table above with "Miss 1" and "Number of Reserved Balls = 0", the actual stored value (judgment criteria value) would be, for example, "9999". In that case, if the random number for the variation pattern is 9999 or less, "Normal Variation 1s" will be selected.

図22に示した振り分け値を参照して分かるように、「はずれ1」の場合に対応した特図2の変動パターン抽選においては、「通常変動」のみが選ばれるようにしている。
また、「はずれ1」の場合に対応した特図2の変動パターン抽選においては、保留球数が多いほど、変動時間の短い通常変動パターンが選択されるようにしている。
As can be seen by referring to the distribution values shown in Figure 22, in the special pattern lottery corresponding to the case of "miss 1", only "normal variation" is selected.
Furthermore, in the special feature 2 variation pattern lottery corresponding to the case of "miss 1," the more balls held, the more likely it is that a normal variation pattern with a shorter variation time will be selected.

<5.演出制御基板の処理>
続いて、本実施形態の演出制御基板41のCPU41aが行う処理について説明する。CPU41aの処理は、主に、メイン処理(演出制御側メイン処理:図23)と、定時割込みで起動されるタイマ割込み処理(演出制御側タイマ割込み処理:図24)とを含んで構成される。
<5. Processing of the Performance Control Board>
Next, the processing performed by the CPU 41a of the performance control board 41 of this embodiment will be described. The processing of the CPU 41a mainly consists of a main process (performance control side main process: Figure 23) and a timer interrupt process (performance control side timer interrupt process: Figure 24) that is started by a scheduled interrupt.

[5.1 演出制御側メイン処理]
図23は、演出制御側メイン処理を示したフローチャートである。
まず、ステップS501でCPU41aは、遊技動作開始前における必要な初期設定処理を行う。ここでは、初期設定処理として、たとえば、コマンド受信割込み設定、可動体役物50の原点復帰処理、CTCの初期設定、タイマ割込みの許可、マイクロコンピュータの各部を含めてCPU内部のレジスタ値の初期設定などを行う。
[5.1 Main Processing for Performance Control]
Figure 23 is a flowchart showing the main processing on the performance control side.
First, in step S501, the CPU 41a performs necessary initial setup processing before the start of game operation. This initial setup processing includes, for example, setting command reception interrupts, returning the movable mechanism 50 to its home position, initializing the CTC, enabling timer interrupts, and initializing the register values inside the CPU, including various parts of the microcomputer.

上記初期設定処理を終えると、所定時間ごと(16ms)にステップS504~S511のメインループ処理を行い、それ以外ではステップS503の演出用ソフト乱数更新処理を繰り返し行う。 After completing the initial setup process described above, the main loop process from steps S504 to S511 is performed at predetermined intervals (16 ms). Otherwise, the random number generation process for the animation software in step S503 is repeatedly performed.

ステップS502でCPU41aは、メインループ更新カウンタを参照して、メインループ処理の実行契機となるメインループ更新周期(カウンタ値>15)が到来したかを判定する。メインループ更新カウンタは、1ms毎に実行される後述の演出制御側タイマ割込み処理中でインクリメントされるカウンタである。本実施形態では、16msごとにメインループ処理を行うようになっており、ステップS502の判定処理にて、メインループ更新カウンタ値を判定し、その値が「15」より大きい場合には(ステップS502でYes)、メインループ処理の実行タイミングが到来したとして、ステップS504~S511の処理を実行し、それ以外の場合には、メインループ更新周期が到来するまで(ステップS502でNo)、ステップS503で、演出シナリオを決定するための抽選に利用する各種演出抽選用のソフト乱数の更新を行う。 In step S502, the CPU 41a refers to the main loop update counter to determine if the main loop update cycle (counter value > 15), which triggers the execution of the main loop process, has arrived. The main loop update counter is a counter incremented during the timer interrupt processing on the performance control side, which is executed every 1ms (described later). In this embodiment, the main loop process is performed every 16ms. The determination process in step S502 checks the main loop update counter value. If the value is greater than "15" (Yes in step S502), the timing for executing the main loop process has arrived, and the processes in steps S504 to S511 are executed. Otherwise, until the main loop update cycle arrives (No in step S502), the software random numbers used for various performance lotteries to determine the performance scenario are updated in step S503.

メインループ更新周期が到来した場合(ステップS502でYes)、ステップS504でCPU41aは、メインループ更新カウンタをクリアし、ステップS505でデモ・節電モード処理を実行する。デモ・節電モード処理では、客待ち前演出(デモ開始待ち表示)、客待ち演出(デモ表示)、及び節電モードに必要な設定処理を実行する。 If the main loop update cycle is reached (Yes in step S502), in step S504, the CPU 41a clears the main loop update counter, and in step S505, executes the demo/power-saving mode processing. The demo/power-saving mode processing executes the pre-customer waiting animation (demo start waiting display), the customer waiting animation (demo display), and the necessary setting processes for power-saving mode.

ステップS506でCPU41aは、演出スイッチ入力処理を実行する。演出スイッチ入力処理では、前述した操作部14(演出ボタン14a、十字キー14b及び決定ボタン14c等)の操作状態を監視し、操作を検出した場合には、その操作に応じた演出制御処理を実行する。 In step S506, the CPU 41a executes the performance switch input processing. During the performance switch input processing, the CPU monitors the operation status of the aforementioned operation unit 14 (performance buttons 14a, directional pad 14b, and confirmation button 14c, etc.), and if an operation is detected, it executes performance control processing corresponding to that operation.

ステップS507でCPU41aは、コマンド解析処理を行う。コマンド解析処理では、コマンド受信バッファに演出制御コマンドが格納されているかを監視し、演出制御コマンドが格納されていればこのコマンドを読み出し、読み出した演出制御コマンドに対応した演出処理を実行する。なお、主制御基板40から演出制御コマンドが送信されると、RWMのコマンド受信バッファに格納される。 In step S507, the CPU 41a performs command analysis. During command analysis, it monitors whether a performance control command is stored in the command reception buffer. If a performance control command is found, it reads the command and executes the performance processing corresponding to the read command. When a performance control command is transmitted from the main control board 40, it is stored in the RWM's command reception buffer.

例えば、変動パターン指定コマンドと装飾図柄指定コマンドとが受信され、それらが受信バッファに格納されている場合、コマンド解析処理において、そのコマンドに含まれる情報に基づいて演出シナリオを決定し、その演出シナリオのデータ(演出シナリオデータ)をRWMのシナリオ設定領域に格納する。なお、演出シナリオには、1又は複数種類の演出を、どのようなタイミングで、どれだけの演出時間幅をもって出現させるかについてのタイムスケジュールが規定されている。 For example, when a variable pattern specification command and a decorative pattern specification command are received and stored in the receive buffer, the command analysis process determines the performance scenario based on the information contained in the commands, and stores the data of that performance scenario (performance scenario data) in the RWM's scenario setting area. The performance scenario specifies a time schedule for when and for how long one or more types of performances should appear.

ステップS508でCPU41aは、シナリオ更新処理を実行する。このシナリオ更新処理では、演出シナリオの実行に必要なタイマの値を更新し、当該タイマ値に基づいて演出シナリオを進行する処理を実行する。上記タイマの代表的なものは、演出の発生タイミングに関するタイムスケジュールを管理する演出シナリオタイマである。例えば、特別図柄が変動表示されている変動期間内と実質的に同一期間内である、装飾図柄が変動表示されている変動期間内において、その時間軸上で、どのような演出を、どれだけの時間幅をもって、どのような演出手段で現出させるかについての時間的なスケジュールがこのタイマにより管理される。
この演出シナリオタイマは、後述のLED駆動データ更新処理(ステップS510)や可動体役物動作更新処理(ステップS603)においても利用される。
In step S508, the CPU 41a executes a scenario update process. This scenario update process updates the timer values necessary for executing the performance scenario and executes a process to advance the performance scenario based on those timer values. A typical example of such a timer is the performance scenario timer, which manages the time schedule related to the timing of performance occurrences. For example, within the period when decorative symbols are displayed in a variation display, which is essentially the same period as the period when special symbols are displayed in a variation display, this timer manages the time schedule of what kind of performance to present, for what duration, and by what means, on that time axis.
This production scenario timer is also used in the LED drive data update process (step S510) and the movable part operation update process (step S603), which will be described later.

ステップS509でCPU41aは、サウンド出力処理を行う。サウンド出力処理では、演出シナリオデータと演出シナリオタイマとに基づき、フレーズやボリュームなどのデータを前述した音源ICに出力し、スピーカ17から音演出を現出させる。これにより、演出シナリオに沿った音演出が実現される。 In step S509, the CPU 41a performs sound output processing. In this sound output processing, based on the performance scenario data and the performance scenario timer, data such as phrases and volume are output to the aforementioned sound source IC, causing the sound effects to be produced from the speaker 17. This realizes sound effects that conform to the performance scenario.

ステップS510でCPU41aは、LED駆動データ更新処理を実行する。LED駆動データ更新処理では、演出シナリオデータと演出シナリオタイマとに基づき、光表示装置16aを点灯表示させるための制御信号(LEDデータ)を作成する。 In step S510, the CPU 41a executes the LED drive data update process. In this process, based on the performance scenario data and the performance scenario timer, a control signal (LED data) is created to illuminate the light display device 16a.

ステップS511でCPU41aは、LED出力処理を実行する。このLED出力処理では、LED駆動データ更新処理で作成された制御信号(LEDデータ)をランプドライバ部26bに出力し、ランプドライバ部26bを通じて光表示装置16aを点灯表示させる。
In step S511, the CPU 41a executes LED output processing. In this LED output processing, the control signal (LED data) created in the LED drive data update processing is output to the lamp driver unit 26b, and the light display device 16a is lit up via the lamp driver unit 26b.

[5.2 演出制御側タイマ割込み処理]
図24は、演出制御側タイマ割込み処理を示したフローチャートである。演出制御側タイマ割込み処理は、CTCからの一定時間(1ms)ごとの割込みで起動され、演出制御側メイン処理実行中に割り込んで実行される。
[5.2 Timer interrupt processing on the performance control side]
Figure 24 is a flowchart showing the timer interrupt processing on the performance control side. The timer interrupt processing on the performance control side is triggered by an interrupt from the CTC at regular intervals (1 ms) and is executed by interrupting the execution of the main processing on the performance control side.

ステップS601でCPU41aは、レジスタの内容をスタック領域に退避させた後、ステップS602でボタン入力状態更新処理を実行する。このボタン入力状態更新処理では、操作部14からの操作検出信号の入力状態を監視し、操作検出信号を受信したことを確認した場合、その検出情報をRWMの所定領域に格納する。 In step S601, the CPU 41a saves the contents of the registers to the stack area, and then in step S602, it executes a button input state update process. This button input state update process monitors the input state of the operation detection signal from the operation unit 14, and if it confirms that an operation detection signal has been received, it stores the detection information in a predetermined area of the RWM.

ステップS603でCPU41aは、可動体役物動作更新処理を実行する。この可動体役物動作更新処理では、演出シナリオデータと演出シナリオタイマとに基づき、可動体役物50の動作を制御するための処理を行う。
なお、このステップS603の可動体役物動作更新処理として実行すべき処理の内容については後に改めて説明する。
In step S603, the CPU 41a executes a movable mechanism operation update process. This movable mechanism operation update process performs processing to control the operation of the movable mechanism 50 based on the performance scenario data and the performance scenario timer.
The details of the process to be performed as the movable mechanism operation update process in step S603 will be explained in more detail later.

ステップS604でCPU41aは、SOL・MOT出力処理を行う。このSOL・MOT出力処理では、可動体役物動作更新処理での処理結果に基づき、モータ駆動制御部51に対して制御データを出力する処理を行う。
これにより、演出シナリオに沿った可動体役物50による可動物演出が実現される。
なお、このステップS604の出力処理の詳細についても後に改めて説明する。
In step S604, the CPU 41a performs SOL/MOT output processing. In this SOL/MOT output processing, control data is output to the motor drive control unit 51 based on the processing results of the movable body mechanism operation update processing.
This enables the creation of movable action sequences using the movable prop 50 in accordance with the production scenario.
The details of the output processing in step S604 will be explained in more detail later.

ステップS605でCPU41aは、LCDコマンド送信処理を行う。このLCDコマンド送信処理では、シナリオ更新処理(ステップS508)で作成されたLCDコマンドがある場合には、前述したVDPに対してLCDコマンドを送信し、画像表示制御を実行させる。これにより、演出シナリオに沿った画像が表示される。 In step S605, the CPU 41a performs LCD command transmission processing. If an LCD command created in the scenario update processing (step S508) exists, this LCD command is sent to the aforementioned VDP to execute image display control. This results in the display of an image according to the performance scenario.

ステップS606でCPU41aは、RTC情報取得処理を実行する。このRTC情報取得処理では、RTCにより計時される日時情報(RTC情報)を取得する。このRTC情報は、RTC情報に基づく演出を現出する際に利用される。 In step S606, the CPU 41a executes an RTC information acquisition process. This RTC information acquisition process acquires date and time information (RTC information) measured by the RTC. This RTC information is used when displaying effects based on the RTC information.

ステップS607でCPU41aは、メインループ更新カウンタをインクリメントする。このメインループ更新カウンタは、上記の演出制御側メイン処理中のステップS503でリセットされ、ここでインクリメントされる。 In step S607, the CPU 41a increments the main loop update counter. This main loop update counter is reset in step S503 during the main processing on the performance control side described above, and then incremented again.

ステップS608でCPU41aは、退避していたレジスタの内容を復帰し、タイマ割込み処理を終了して、次のタイマ割込みが発生するまで演出制御側メイン処理を実行する。
In step S608, the CPU 41a restores the contents of the saved registers, terminates the timer interrupt processing, and executes the main processing on the performance control side until the next timer interrupt occurs.

<6.実施形態としての可動体役物制御>
[6.1 実施形態としての制御手法の概要]
図25及び図26を参照して、実施形態としての可動体役物制御に関し、その手法概要を説明する。
<6. Control of movable parts as an embodiment>
[6.1 Overview of Control Method as an Embodiment]
Referring to Figures 25 and 26, an overview of the method for controlling a movable component as an embodiment will be described.

先ずは比較として、図25に、従来の可動体役物制御系の構成概要を示す。
ここでは、説明上の例として、可動体役物50が可動体役物50x、50yの二つである場合を前提とした構成を示している。また、ここでは、従来構成において演出制御基板41に相当する制御部のことを演出制御基板41’として示している。
First, for comparison, Figure 25 shows an overview of the configuration of a conventional movable mechanism control system.
Here, for illustrative purposes, we show a configuration assuming that the movable mechanism 50 consists of two movable mechanisms, 50x and 50y. Furthermore, here, the control unit corresponding to the conventional performance control board 41 is referred to as the performance control board 41'.

従来の可動体役物制御系は、演出制御基板41’が、各モータドライバ(52x、52y)を直接的に制御する構成が採られている。
従来の演出制御基板41’(CPU41a)は、前述した1ms周期の演出側タイマ割込み処理において、モータドライバ52x、52yに制御信号を出力する処理を行っている。すなわち、各役物モータ(役物モータ53x、53y)の動作を、1ms周期の時間粒度で制御するようにされているものである。
Conventional movable mechanism control systems employ a configuration in which the performance control board 41' directly controls each motor driver (52x, 52y).
The conventional performance control board 41' (CPU 41a) outputs control signals to the motor drivers 52x and 52y in the aforementioned 1ms period performance-side timer interrupt processing. In other words, it controls the operation of each special effect motor (special effect motor 53x, 53y) with a time granularity of 1ms period.

また、可動体役物50の動作制御としては、前述した位置センサ群55(位置センサ55x、55y)を用いた制御が行われる場合もあるが、従来では、図示のように位置センサ55x、55yによる検出信号は、パラシリ(パラレル/シリアル)変換部57を介して演出制御基板41’に入力するものとされている。
演出制御基板41’のCPU41aは、このように位置センサ55x、55yから入力される検出信号に基づき、演出制御側タイマ割込み処理により1ms周期で可動体役物50が目標位置に到達したかを判定し、可動体役物50が目標位置に到達したと判定されたことに応じて、モータドライバ52x、52yに対して役物モータ53x、53yを停止させる制御信号を出力するようにされている。
Furthermore, the operation of the movable mechanism 50 may be controlled using the aforementioned position sensor group 55 (position sensors 55x, 55y). Conventionally, as shown in the figure, the detection signals from the position sensors 55x, 55y are input to the performance control board 41' via the parallel/serial conversion unit 57.
The CPU 41a of the performance control board 41' determines, based on the detection signals input from the position sensors 55x and 55y, whether the movable prop 50 has reached the target position at a 1ms interval via a timer interrupt process on the performance control side. If it is determined that the movable prop 50 has reached the target position, it outputs a control signal to the motor drivers 52x and 52y to stop the prop motors 53x and 53y.

ここで、上記のように従来構成では、演出制御基板41’のCPU41aが1msの周期で役物モータ53x、53yの動作を指示する制御信号をモータドライバ52x、52yに出力するようにされている。
このような動作を実現するため、従来構成においては、演出制御基板41’の処理負担が増大傾向となり、また、開発者に1msごとの制御データを作成させることを強いるものとなっていた。つまりその分、可動体役物制御を実現する上での開発者の作業負担の増大を招くものとなっていた。
In the conventional configuration described above, the CPU 41a of the performance control board 41' outputs control signals to the motor drivers 52x and 52y that instruct the operation of the gimmick motors 53x and 53y at a period of 1ms.
In order to achieve such operation, the processing load on the performance control board 41' tended to increase in the conventional configuration, and developers were forced to create control data every 1ms. In other words, this led to an increased workload for developers in realizing the control of movable parts.

また、上記のような従来構成では、役物モータ53x、53yの時間方向の制御分解能がタイマ割込み処理の周期、具体的には1msの周期に規制されるものとなる。このことで、可動体役物50を滑らかに動かすことが困難とされていた。 Furthermore, in the conventional configuration described above, the time-direction control resolution of the mechanism motors 53x and 53y is limited to the timer interrupt processing period, specifically a 1ms period. This made it difficult to smoothly move the movable mechanism 50.

また、従来構成では、位置センサ55x、55yの検出信号に基づく可動体役物の動作制御を演出制御基板41’のCPU41aが実行するものとされているため、演出制御基板41’においては、制御信号をモータドライバ52x、52yに出力するための通信系と、位置センサ55x、55yの検出信号を入力するための通信系の計2系統の通信系を要するものとされていた。 Furthermore, in the conventional configuration, the CPU 41a of the performance control board 41' is responsible for controlling the operation of the movable parts based on the detection signals from the position sensors 55x and 55y. Therefore, the performance control board 41' required two communication systems: one for outputting control signals to the motor drivers 52x and 52y, and another for inputting the detection signals from the position sensors 55x and 55y.

そこで、本実施形態では、可動体役物制御系の構成として、図26に示すようなモータ駆動制御部51を用いた構成を採用する。
詳細は後述するが、モータ駆動制御部51は、例えばLSI(Large Scale Integration:大規模集積回路)により構成され、外部から可動体役物50の一連動作を指定する制御コマンドCdが入力されたことに応じて、該一連動作を実現するために必要なモータドライバ52x、52yの制御信号を生成・出力する機能を有している。
Therefore, in this embodiment, a configuration using a motor drive control unit 51 as shown in Figure 26 is adopted as the configuration of the movable part control system.
As will be described in more detail later, the motor drive control unit 51 is configured, for example, by an LSI (Large Scale Integration) and has the function of generating and outputting control signals for the motor drivers 52x and 52y necessary to realize a series of operations of the movable component 50, in response to a control command Cd input from an external source specifying the series of operations of the movable component 50.

ここで言う一連動作とは、例えば可動体役物50の動き出しから停止までの動作や、可動体役物50を往復運動させる場合における可動体役物50の一方向への移動の開始から終了までの動作等、可動体役物50の或る一連性をもった動作を意味するものである。この一連動作としては、少なくとも、タイマ割込みの1周期分の期間よりも長い期間における可動体役物50の動作であればよい。 The term "sequential operation" here refers to a series of operations of the movable component 50, such as the operation from the start to the stop of the movable component 50's movement, or, in the case of reciprocating motion of the movable component 50, the operation from the start to the end of its movement in one direction. This series of operations only needs to be longer than the duration of one timer interrupt cycle.

なお、以下の説明において、モータドライバ52x、52yに入力する制御信号のことを「ドライバ制御信号」と表記する。 In the following explanation, the control signals input to the motor drivers 52x and 52y will be referred to as "driver control signals."

本実施形態における演出制御基板41(CPU41a)は、前述した演出シナリオデータと演出シナリオタイマとに基づき、実行すべき可動体役物50の動作パターンが特定されたことに応じて、該動作パターンに対応する制御コマンドCdをモータ駆動制御部51に出力する。
モータ駆動制御部51は、演出制御基板41から入力された制御コマンドCdに応じたドライバ制御信号を生成し、モータドライバ52x、52yに出力する。
In this embodiment, the performance control board 41 (CPU 41a) outputs a control command Cd corresponding to the operation pattern of the movable mechanism 50 to be executed, based on the performance scenario data and performance scenario timer described above, to the motor drive control unit 51.
The motor drive control unit 51 generates a driver control signal corresponding to the control command Cd input from the performance control board 41 and outputs it to the motor drivers 52x and 52y.

上記のような構成により、本実施形態の遊技機1では、可動体役物50の一連動作を実現するにあたり、演出制御基板41のCPU41aが従来のように1ms周期でモータドライバ52x、52yにドライバ制御信号を出力する必要がなくなるため、可動体役物制御を実現する上での演出制御基板41の処理負担軽減を図ることができると共に、開発者負担の軽減を図ることができる。
後述するように、本実施形態の場合において開発者は、実現したい可動体役物50の動作パターンについて、その動作パターンを構成する区分動作ごとに動作定義を行ったデータを作成すれば済み、従来のように1msごとの制御データを作成する場合と比較して作業負担の大幅な軽減を図ることができる。
With the above configuration, in the gaming machine 1 of this embodiment, in order to realize a series of operations of the movable mechanism 50, the CPU 41a of the performance control board 41 no longer needs to output driver control signals to the motor drivers 52x and 52y at a 1ms cycle as in the conventional method. This reduces the processing load on the performance control board 41 in realizing the control of the movable mechanism, and also reduces the burden on developers.
As will be described later, in this embodiment, the developer only needs to create data defining the operation for each segment of the operation that constitutes the desired operation pattern of the movable mechanism 50. This significantly reduces the workload compared to the conventional method of creating control data every 1ms.

また、本実施形態の遊技機1によれば、従来のように役物モータ53x、53yの時間方向の制御分解能がタイマ割込み処理の周期(1ms周期)に規制されることはなくなるので、可動体役物50を滑らかに動かすことが可能となる。具体的に本実施形態では、後述するマイクロステップ駆動モードを利用可能となることで、可動体役物50を滑らかに動かすことが可能となる。
これにより、可動体役物50を用いた演出について、演出効果の向上を図ることができる。
Furthermore, according to the gaming machine 1 of this embodiment, the time-direction control resolution of the mechanism motors 53x and 53y is no longer restricted by the timer interrupt processing period (1 ms period) as in the conventional method, making it possible to move the movable mechanism 50 smoothly. Specifically, in this embodiment, the movable mechanism 50 can be moved smoothly by making the microstep drive mode, which will be described later, available.
This makes it possible to improve the effectiveness of the effects when using the movable prop 50.

さらに、本実施形態では、モータ駆動制御部51は、位置センサ55x、55y等、可動体役物50に対して設けられた位置センサによる検出信号の入力に対応しており、外部からの制御コマンドCdに応じて、対象の可動体役物50をセンサ位置まで移動させるためのモータ制御信号を生成・出力する機能を有している。
このため、可動体役物50をセンサ位置まで移動させるという役物動作を実現するにあたり、従来のように位置センサ55x、55yの検出信号を演出制御基板41に入力する必要がなくなる。
Furthermore, in this embodiment, the motor drive control unit 51 responds to the input of detection signals from position sensors 55x, 55y, etc., provided on the movable component 50, and has the function of generating and outputting a motor control signal to move the target movable component 50 to the sensor position in response to an external control command Cd.
Therefore, in order to realize the mechanism operation of moving the movable mechanism 50 to the sensor position, it is no longer necessary to input the detection signals of the position sensors 55x and 55y to the performance control board 41 as in the conventional method.

本実施形態において、可動体役物50をセンサ位置まで移動させるという動作を実現するにあたっては、その他の一連動作を実現する場合と同様に、演出制御基板41からモータ駆動制御部51に対して対応する制御コマンドCdを送信すればよい。
このため、本実施形態によれば、上記のような可動体役物50をセンサ位置まで移動させるという動作を含む、可動体役物50の各種の一連動作を実現するにあたり、演出制御基板41とモータ駆動制御部51との間に一つ通信系を設ければ済み、必要な通信系の数を従来よりも削減することができる。
In this embodiment, in order to realize the operation of moving the movable prop 50 to the sensor position, the corresponding control command Cd can be transmitted from the performance control board 41 to the motor drive control unit 51, just as in the case of realizing other series of operations.
Therefore, according to this embodiment, in order to realize a series of operations of the movable mechanism 50, including the operation of moving the movable mechanism 50 to the sensor position, it is sufficient to have one communication system between the performance control board 41 and the motor drive control unit 51, thus reducing the number of communication systems required compared to conventional methods.

[6.2 モータ駆動制御部について]
図27は、モータ駆動制御部51の概略内部構成例を示したブロック図である。
本実施形態におけるモータ駆動制御部51は、モータドライバ群52として設けられた複数のモータドライバを同時並行的に制御することが可能とされており、具体的に、本例におけるモータ駆動制御部51は、四つのモータドライバを同時並行的に制御することが可能とされている。換言すれば、本例におけるモータ駆動制御部51は、モータドライバの制御系として四つの制御系を有するものである。
[6.2 Regarding the motor drive control unit]
Figure 27 is a block diagram showing an example of the schematic internal configuration of the motor drive control unit 51.
In this embodiment, the motor drive control unit 51 is capable of simultaneously controlling multiple motor drivers provided as a motor driver group 52. Specifically, the motor drive control unit 51 in this example is capable of simultaneously controlling four motor drivers. In other words, the motor drive control unit 51 in this example has four control systems as control systems for the motor drivers.

本実施形態では、モータ駆動制御部51が有するモータドライバの制御系を「軸」と表現するものとし、四つの制御系をそれぞれ「X軸」「Y軸」「Z軸」「U軸」と表記する。 In this embodiment, the control system of the motor driver in the motor drive control unit 51 is referred to as an "axis," and the four control systems are denoted as the "X-axis," "Y-axis," "Z-axis," and "U-axis," respectively.

図中では、モータ駆動制御部51が有するこれらX軸、Y軸、Z軸、U軸の四つの制御系のうち、代表してX軸の制御系の構成のみを「X軸用回路」として示している。他のY軸、Z軸、U軸の制御系(図中、「Y軸用回路」「Z軸用回路」「U軸用回路」)の構成については、X軸用回路の構成と同様となることから図示は省略する。 In the diagram, of the four control systems for the X, Y, Z, and U axes possessed by the motor drive control unit 51, only the configuration of the X-axis control system is shown as the "X-axis circuit." The configurations of the other Y-axis, Z-axis, and U-axis control systems (referred to as "Y-axis circuit," "Z-axis circuit," and "U-axis circuit" in the diagram) are the same as the configuration of the X-axis circuit and are therefore omitted from the diagram.

図示のようにモータ駆動制御部51は、I/F(インターフェース)部71を有する。I/F部71は、外部装置、特に本実施形態では演出制御基板41との間で所定のデータ通信規格に従ったデータ通信を行うための通信インターフェース部である。
このI/F部71は、X軸用回路、Y軸用回路、Z軸用回路、及びU軸用回路に対して共通に設けられた通信インターフェース部とされる。換言すれば、モータ駆動制御部51の外部装置は、I/F部71を介して、これらX軸用回路、Y軸用回路、Z軸用回路、U軸用回路と個別に通信を行うことが可能とされる。
なお、I/F部71としては、例えばI2C(Inter-Integrated Circuit)バス通信やSPI(Serial Peripheral Interface)バス通信に対応したものを用いることが考えられる。
As shown in the figure, the motor drive control unit 51 has an I/F (interface) unit 71. The I/F unit 71 is a communication interface unit for performing data communication with an external device, particularly the performance control board 41 in this embodiment, in accordance with a predetermined data communication standard.
This I/F unit 71 is a communication interface unit provided in common for the X-axis circuit, Y-axis circuit, Z-axis circuit, and U-axis circuit. In other words, external devices of the motor drive control unit 51 can communicate individually with these X-axis circuit, Y-axis circuit, Z-axis circuit, and U-axis circuit via the I/F unit 71.
Furthermore, the I/F section 71 could, for example, be one that supports I2C (Inter-Integrated Circuit) bus communication or SPI (Serial Peripheral Interface) bus communication.

図示のようにX軸用回路は、コマンド・レジスタ制御回路72、レジスタ部73、プリレジスタ部74、スタート・ストップ制御回路75、加減速パルス発生回路76、倍率分周回路77、出力形態変換回路78、残量パルス数カウンタ79、カレントアップダウン制御回路80、及び汎用入出力制御回路81を有する。
また、X軸用回路は、モータドライバに対する制御信号を出力するための端子として、パルス信号出力端子OUTxと回転方向出力端子DIRxとを有している。本実施形態では、モータドライバには、役物モータの駆動パルスの周期を示すパルス信号と、役物モータの回転方向(CW/CCW)を示す回転方向指示信号とを出力するものとされており、パルス信号出力端子OUTxは、上記のパルス信号を出力するための端子とされ、回転方向出力端子DIRxは上記の回転方向指示信号を出力するための端子とされる。
ここで、以下、パルス信号出力端子OUTより出力する上記のパルス信号を「OUT信号」、回転方向出力端子DIRより出力する上記の回転方向指示信号を「DIR信号」と表記する。
As shown in the figure, the X-axis circuit includes a command register control circuit 72, a register section 73, a pre-register section 74, a start/stop control circuit 75, an acceleration/deceleration pulse generation circuit 76, a multiplier/frequency divider circuit 77, an output format conversion circuit 78, a remaining pulse count counter 79, a current up/down control circuit 80, and a general-purpose input/output control circuit 81.
Furthermore, the X-axis circuit has a pulse signal output terminal OUTx and a rotation direction output terminal DIRx as terminals for outputting control signals to the motor driver. In this embodiment, the motor driver is configured to output a pulse signal indicating the period of the drive pulse of the special-purpose motor and a rotation direction indicator signal indicating the rotation direction (CW/CCW) of the special-purpose motor. The pulse signal output terminal OUTx is a terminal for outputting the pulse signal, and the rotation direction output terminal DIRx is a terminal for outputting the rotation direction indicator signal.
Hereafter, the pulse signal output from the pulse signal output terminal OUT will be referred to as the "OUT signal," and the rotation direction indicator signal output from the rotation direction output terminal DIR will be referred to as the "DIR signal."

さらに、X軸用回路は、図中に「P0x」「P1x」「P2x」「P3x」と示す、複数の汎用入出力端子を有している。これら汎用入出力端子は、何れの信号を入力又は出力するかを選択設定可能な端子である。汎用入出力端子ごとに何れの信号を入力又は出力するかの設定は、後述するレジスタ部73における設定用レジスタの設定により行うことが可能とされている。 Furthermore, the X-axis circuit has multiple general-purpose input/output terminals, indicated as "P0x," "P1x," "P2x," and "P3x" in the diagram. These general-purpose input/output terminals allow for the selection of which signals are input or output. The setting of which signals are input or output for each general-purpose input/output terminal can be performed by configuring the setting registers in the register section 73, which will be described later.

ここで、上記したパルス信号出力端子OUT、回転方向出力端子DIR、及び複数の汎用入出力端子Pは、軸ごとに設けられるものであり、符号末尾に軸ごとのアルファベットを付すことで各軸の端子を区別することとする。具体的に、Y軸用回路、Z軸用回路、U軸用回路におけるパルス信号出力端子OUT、回転方向出力端子DIRについてはそれぞれ符号を「OUTy」「DIRy」「OUTz」「DIRz」「OUTu」「DIRu」と表記し、また、Y軸用回路、Z軸用回路、U軸用回路における汎用入出力端子P0、P1、P2、P3についてはそれぞれ「P0y」「P1y」「P2y」「P3y」「P0z」「P1z」「P2z」「P3z」「P0u」「P1u」「P2u」「P3u」と表記する。 Here, the pulse signal output terminal OUT, the rotation direction output terminal DIR, and the multiple general-purpose input/output terminals P are provided for each axis, and the terminals for each axis are distinguished by adding an alphabet letter for each axis to the end of their designation. Specifically, the pulse signal output terminal OUT and the rotation direction output terminal DIR in the Y-axis, Z-axis, and U-axis circuits are denoted as "OUTy," "DIRy," "OUTz," "DIRz," "OUTu," and "DIRu," respectively. Furthermore, the general-purpose input/output terminals P0, P1, P2, and P3 in the Y-axis, Z-axis, and U-axis circuits are denoted as "P0y," "P1y," "P2y," "P3y," "P0z," "P1z," "P2z," "P3z," "P0u," "P1u," "P2u," and "P3u," respectively.

X軸用回路において、コマンド・レジスタ制御回路72は、I/F部71を介して入力された外部装置(演出制御基板41)からの指示に基づき、レジスタ部73に設けられた複数のレジスタや、プリレジスタ部74に設けられた複数のプリレジスタを対象とした各種の制御コマンドCdやステータス情報の書き込み、及び読み出しを行うことが可能とされる。 In the X-axis circuit, the command register control circuit 72 is capable of writing and reading various control commands Cd and status information to multiple registers provided in the register section 73 and multiple pre-registers provided in the pre-register section 74, based on instructions from an external device (performance control board 41) input via the I/F section 71.

ここで、プリレジスタ部73におけるプリレジスタの役割やプリレジスタを用いた制御については後に改めて説明する。 The role of the pre-register in the pre-register section 73 and the control using the pre-register will be explained in more detail later.

レジスタ部73には、制御コマンドCdを格納するレジスタとして、下記の各種レジスタが設けられる。
・RFLレジスタ:役物モータのFL速度(初速度、停止速度)を指定する制御コマンドCd(以下「RFLコマンド」と表記する)を格納するレジスタ
・RFHレジスタ:役物モータのFH速度(動作速度)を指定する制御コマンドCd(以下「RFHコマンド」と表記する)を格納するレジスタ
・RMVレジスタ:後述する位置決め動作モード時において役物モータを停止させる出力パルス数(可動体役物50の目標移動量)を指定する制御コマンドCd(以下「RMVコマンド」と表記する)を格納するレジスタ
・RMGレジスタ:役物モータの速度倍率を指定する制御コマンドCd(以下「RMGコマンド」と表記する)を格納するレジスタ
・RDPレジスタ:スローダウンポイント(減速を開始する残量パルス数を定める値)を指定する制御コマンドCd(以下「RDPコマンド」と表記する)を格納するレジスタ
・RURレジスタ:役物モータの加速レート(値が大きいほど加速時間が延び、緩やかな加速となる)を指定する制御コマンドCd(以下「RURコマンド」と表記する)を格納するレジスタ
・RDR:役物モータの減速レート(値が大きいほど減速時間が延び、緩やかな減速となる)を指定する制御コマンドCd(以下「RDRコマンド」と表記する)を格納するレジスタ
The register section 73 is provided with the following registers to store the control command Cd.
・RFL Register: A register that stores the control command Cd (hereinafter referred to as "RFL command") which specifies the FL speed (initial speed, stopping speed) of the mechanism motor. ・RFH Register: A register that stores the control command Cd (hereinafter referred to as "RFH command") which specifies the FH speed (operating speed) of the mechanism motor. ・RMV Register: A register that stores the control command Cd (hereinafter referred to as "RMV command") which specifies the number of output pulses (target movement amount of the movable mechanism 50) to stop the mechanism motor during the positioning operation mode described later. ・RMG Register: A register that stores the control command Cd (hereinafter referred to as "RMG command") which specifies the speed multiplier of the mechanism motor. ・RDP Register: A register that stores the control command Cd (hereinafter referred to as "RDP command") which specifies the slowdown point (a value that determines the number of remaining pulses to start deceleration). ・RUR Register: A register that stores the control command Cd (hereinafter referred to as "RUR command") which specifies the acceleration rate of the mechanism motor (the larger the value, the longer the acceleration time and the gentler the acceleration). - RDR: A register that stores the control command Cd (hereinafter referred to as "RDR command") which specifies the deceleration rate of the special effect motor (the larger the value, the longer the deceleration time and the gentler the deceleration).

演出制御基板41等の外部装置は、レジスタ書き込みコマンドの発行により、コマンド・レジスタ制御回路72に対し、上記の各種レジスタへの対応する制御コマンドCdの書き込みを指示することができる。すなわち、上記のような役物モータ制御に係る各種の制御コマンドCdをそれぞれ対応するレジスタに書き込むよう指示することができる。 External devices such as the performance control board 41 can instruct the command/register control circuit 72 to write the corresponding control commands Cd to the various registers by issuing a register write command. In other words, it can instruct the circuit to write the various control commands Cd related to the control of the special effects motors to their respective registers.

また、レジスタ部73には、役物モータ制御に係る値を格納するためのレジスタとして、下記のレジスタも設けられる。
・RPLS:残量パルス数が格納されるレジスタ。位置決め動作モード時において、上述のRMVレジスタに格納された出力パルス数が初期値としてセットされ、その後は、後述する残量パルス数カウンタ79によりデクリメントされる。
Furthermore, the register section 73 is also provided with the following registers for storing values related to the control of the special effect motor.
・RPLS: A register that stores the remaining pulse count. In positioning operation mode, the output pulse count stored in the RMV register mentioned above is set as the initial value, and thereafter it is decremented by the remaining pulse count counter 79 described later.

また、レジスタ部73には、上記で例示したレジスタ以外にも、環境設定や動作モード設定等を行うための設定用レジスタ、及びモータ駆動制御部51の動作状態を示す値を格納するためのステータスレジスタも設けられている。 Furthermore, in addition to the registers exemplified above, the register section 73 also includes setting registers for configuring the environment and operating mode, and a status register for storing values indicating the operating status of the motor drive control unit 51.

本実施形態におけるモータ駆動制御部51は、役物モータの駆動制御モードとして、上述した位置決め動作モードと、センサ入力停止モードとの切り替えを行うことが可能とされている。
位置決め動作モードは、役物モータ群53における対象とする役物モータの駆動パルス数が予め定めた出力パルス数に到達したことに応じて該役物モータを停止させるモードである。これは、対象とする可動体役物50を所定の目標移動量だけ移動させるモードであると換言できる。
センサ入力停止モードは、位置センサ群55における対象とする位置センサの検出信号に基づき、対象とする可動体役物50が該位置センサの位置に到達したと判定されたことに応じて対象とする役物モータを停止させるモードである。
In this embodiment, the motor drive control unit 51 is capable of switching between the positioning operation mode described above and the sensor input stop mode as the drive control mode for the special feature motor.
The positioning operation mode is a mode in which the motor of the target component in the component motor group 53 is stopped when the number of drive pulses of that component motor reaches a predetermined number of output pulses. This can be rephrased as a mode in which the target movable component 50 is moved by a predetermined target amount.
The sensor input stop mode is a mode in which the motor of the target movable object 50 is stopped when it is determined that the target movable object 50 has reached the position of the target position sensor based on the detection signal of the target position sensor in the position sensor group 55.

位置決め動作モード、センサ入力停止モードの切り替え設定は、レジスタ部73における所定の設定用レジスタに対する制御コマンドCdの設定により実現される。
具体的に、位置決め動作モード、センサ入力停止モードの切り替え設定は、レジスタ部73において動作モード設定用のレジスタとして設けられたRMDレジスタに対する制御コマンドCdの設定により行うことができる。
本例では、RMDレジスタに対する制御コマンドCd(以下「RMDコマンド」と表記する)によっては、位置決め動作モード、センサ入力停止モードの指定のみでなく、役物モータの回転方向(CW/CCW)も指定可能とされる。
また、本例のRMDコマンドは、センサ入力停止モードの指定時に、何れの汎用入出力端子をセンサ信号入力端子として使用するかの指定も行うことが可能とされている。具体的に、本例のモータ駆動制御部51は、センサ入力停止モード時において位置センサによる検出信号を入力する端子を、汎用入出力端子P0~P3のうちから選択する仕様とされており、上記のRMDコマンドにより、センサ入力停止モードの指定時に何れの汎用入出力端子をセンサ信号入力端子として使用するかを指定するようにされている。
Switching between the positioning operation mode and the sensor input stop mode is achieved by setting a control command Cd to a predetermined setting register in the register unit 73.
Specifically, the switching between the positioning operation mode and the sensor input stop mode can be performed by setting a control command Cd to the RMD register, which is provided in the register unit 73 as a register for setting the operation mode.
In this example, depending on the control command Cd (hereinafter referred to as "RMD command") applied to the RMD register, it is possible to specify not only the positioning operation mode and the sensor input stop mode, but also the rotation direction (CW/CCW) of the component motor.
Furthermore, the RMD command in this example also allows specifying which general-purpose input/output terminal to use as the sensor signal input terminal when specifying the sensor input stop mode. Specifically, the motor drive control unit 51 in this example is designed to select the terminal to input the detection signal from the position sensor from among the general-purpose input/output terminals P0 to P3 when the sensor input stop mode is selected, and the above RMD command is used to specify which general-purpose input/output terminal to use as the sensor signal input terminal when specifying the sensor input stop mode.

コマンド・レジスタ制御回路72は、レジスタ部73に格納された役物モータ制御に係る制御コマンドCdに基づき、スタート・ストップ制御回路75、加減速パルス発生回路76、及び倍率分周回路77を制御することで、制御コマンドCdの指示に従った可動体役物50の動作を実現するためのドライバ制御信号(上述したOUT信号、及びDIR信号)を生成・出力させる。 The command register control circuit 72 controls the start/stop control circuit 75, the acceleration/deceleration pulse generation circuit 76, and the multiplier/frequency divider circuit 77 based on the control command Cd related to the control of the mechanism motor stored in the register unit 73. This controls the circuit to generate and output driver control signals (the OUT signal and DIR signal mentioned above) for realizing the operation of the movable mechanism 50 according to the instructions of the control command Cd.

スタート・ストップ制御回路75は、コマンド・レジスタ制御回路72からの指示に基づき、加減速パルス発生回路76によるパルス生成・出力動作を制御する。加減速パルス発生回路76は、OUT信号の基となるパルス信号を生成・出力する回路である。具体的には、例えば役物モータを正回転(CW)させる場合には例えば正極性によるパルス信号を、また役物モータを逆回転(CCW)させる場合には例えば負極性によるパルス信号を生成する等、役物モータの回転方向に応じた極性によるパルス信号を生成・出力する。 The start/stop control circuit 75 controls the pulse generation and output operation of the acceleration/deceleration pulse generation circuit 76 based on instructions from the command register control circuit 72. The acceleration/deceleration pulse generation circuit 76 is a circuit that generates and outputs pulse signals that form the basis of the OUT signal. Specifically, for example, when the motor rotates in the forward direction (CW), it generates a pulse signal with positive polarity, and when the motor rotates in the reverse direction (CCW), it generates a pulse signal with negative polarity. It generates and outputs pulse signals with polarity corresponding to the rotation direction of the motor.

コマンド・レジスタ制御回路72は、I/F部71を介して外部装置よりスタートコマンドが入力されたことに応じて、スタート・ストップ制御回路75に対してスタート指示信号を出力する。スタート・ストップ制御回路75は、このスタート指示信号に従って、加減速パルス発生回路76にパルス信号の出力を開始させる。
このように加減速パルス発生回路76にパルス信号の出力を開始させたタイミングは、役物モータの駆動が開始されるタイミングに相当するものである。
The command register control circuit 72 outputs a start instruction signal to the start/stop control circuit 75 in response to a start command input from an external device via the I/F unit 71. The start/stop control circuit 75 then causes the acceleration/deceleration pulse generation circuit 76 to start outputting pulse signals according to this start instruction signal.
The timing at which the acceleration/deceleration pulse generation circuit 76 starts outputting a pulse signal corresponds to the timing at which the motor for the special effects device starts to drive.

また、スタート・ストップ制御回路75は、コマンド・レジスタ制御回路72からの指示に基づき、加減速パルス発生回路76によるパルス信号の出力を停止させる。
ここで、加減速パルス発生回路76によるパルス信号の出力を停止させるタイミングとしては、上述した位置決め動作モード時においてOUT信号の出力パルス数が前述したRMVレジスタに設定された「出力パルス数」に達したとき、及び、上述したセンサ入力停止モード時において対象の可動体役物50が対象の位置センサの位置に到達したときを挙げることができる。
Furthermore, the start/stop control circuit 75 stops the output of pulse signals from the acceleration/deceleration pulse generation circuit 76 based on instructions from the command register control circuit 72.
Here, the timing for stopping the output of the pulse signal by the acceleration/deceleration pulse generation circuit 76 can be described as when the number of output pulses of the OUT signal reaches the "number of output pulses" set in the RMV register during the positioning operation mode described above, and when the target movable object 50 reaches the position of the target position sensor during the sensor input stop mode described above.

コマンド・レジスタ制御回路72は、センサ入力停止モード時においては、前述したRMDコマンドにより事前に指定された汎用入出力端子Pから入力される位置センサの検出信号(図中「位置決め用センサ信号」参照)に基づき、対象とする可動体役物50が該位置センサの位置に到達したか否かの判定を行う。そして、対象とする可動体役物50が該位置センサの位置に到達したと判定したことに応じて、スタート・ストップ制御回路75に対し、停止指示信号を出力する。この停止指示信号に応じ、加減速パルス発生回路76はパルス信号の出力を停止する。 In the sensor input stop mode, the command register control circuit 72 determines whether the target movable object 50 has reached the position of the position sensor based on the detection signal of the position sensor (see "Positioning Sensor Signal" in the figure) input from the general-purpose input/output terminal P specified in advance by the RMD command described above. If it determines that the target movable object 50 has reached the position of the position sensor, it outputs a stop instruction signal to the start/stop control circuit 75. In response to this stop instruction signal, the acceleration/deceleration pulse generation circuit 76 stops outputting pulse signals.

また、コマンド・レジスタ制御回路72は、位置決め動作モード時においては、残量パルス数カウンタ79によるカウント値(図中「RPLS」参照)に基づき、スタート・ストップ制御回路75に停止指示信号を出力する。
本例におけるコマンド・レジスタ制御回路72は、前述したRMVレジスタに格納された出力パルス数の値を残量パルス数カウンタ79に出力する(図中「RMV」参照)。残量パルス数カウンタ79は、後述する倍率分周回路77が出力する倍率調整済みパルス信号を入力し、該倍率調整済みパルス信号のパルスカウント値を、コマンド・レジスタ制御回路72より入力した上記の出力パルス数より減じることで、残量パルス数(つまり制御コマンドCdにより目標として定められた出力パルス数と現在の出力パルス数との差分値)をカウントする。ここで、倍率調整済みパルス信号のパルス数は、OUT信号のパルス数と同数である。すなわち、残量パルス数カウンタ79は、OUT信号を基準とした残量パルス数をカウントするものである。
Furthermore, in positioning operation mode, the command register control circuit 72 outputs a stop command signal to the start/stop control circuit 75 based on the count value (see "RPLS" in the figure) obtained by the remaining pulse count counter 79.
In this example, the command register control circuit 72 outputs the value of the number of output pulses stored in the RMV register mentioned above to the remaining pulse counter 79 (see "RMV" in the figure). The remaining pulse counter 79 receives the multiplier-adjusted pulse signal output by the multiplier divider circuit 77, which will be described later, and counts the remaining pulses (i.e., the difference between the number of output pulses set as the target by the control command Cd and the current number of output pulses) by subtracting the pulse count value of the multiplier-adjusted pulse signal from the number of output pulses input from the command register control circuit 72. Here, the number of pulses in the multiplier-adjusted pulse signal is the same as the number of pulses in the OUT signal. In other words, the remaining pulse counter 79 counts the remaining pulses with respect to the OUT signal.

コマンド・レジスタ制御回路72は、位置決め動作モード時においては、残量パルス数カウンタ79より入力される残量パルス数が0となったことに応じて、スタート・ストップ制御回路75に停止指示信号を出力する。
また、コマンド・レジスタ制御回路72は、残量パルス数の値を所定のステータスレジスタ(RPLSレジスタ)に格納する処理も行う。
In positioning operation mode, the command register control circuit 72 outputs a stop instruction signal to the start/stop control circuit 75 when the number of remaining pulses input from the remaining pulse counter 79 becomes 0.
Furthermore, the command register control circuit 72 also performs the process of storing the value of the remaining pulse count in a predetermined status register (RPLS register).

ここで、スタート・ストップ制御回路75は、コマンド・レジスタ制御回路72からのスタート指示信号、停止指示信号に基づき、図中「SRUN」と示す、役物モータの駆動制御ステータスを示す値(以下「駆動ステータス値SRUN」)を出力する。この駆動ステータス値SRUNは、役物モータの駆動制御の開始タイミングと終了タイミング(停止タイミング)とを識別するための値であり、本例では、例えば「1」(Hレベル)が駆動中を、「0」(Lレベル)が停止中を意味するものとされる。
本例におけるスタート・ストップ制御回路75は、コマンド・レジスタ制御回路72からのスタート指示信号が入力されたタイミングで駆動ステータス値SRUNを「0」から「1」に立ち上げ、また、コマンド・レジスタ制御回路72からの停止指示信号が入力されたタイミングで駆動ステータス値SRUNを「1」から「0」に立ち下げる。
Here, the start/stop control circuit 75 outputs a value indicating the drive control status of the bonus motor, indicated as "SRUN" in the figure (hereinafter referred to as "drive status value SRUN"), based on the start instruction signal and stop instruction signal from the command register control circuit 72. This drive status value SRUN is a value used to identify the start timing and end timing (stop timing) of the drive control of the bonus motor. In this example, for example, "1" (H level) means that it is driving, and "0" (L level) means that it is stopped.
In this example, the start/stop control circuit 75 raises the drive status value SRUN from "0" to "1" when a start command signal is input from the command register control circuit 72, and lowers the drive status value SRUN from "1" to "0" when a stop command signal is input from the command register control circuit 72.

コマンド・レジスタ制御回路72は、スタート・ストップ制御回路75が出力する駆動ステータス値SRUNをレジスタ部73に設けられた所定のステータスレジスタ(以下「SRUNレジスタ」と表記する)に格納する処理を行う。
これにより、演出制御基板41は、当該SRUNレジスタの値の読み出しを指示するレジスタ読み出しコマンドをコマンド・レジスタ制御回路72に対して発行することで、役物モータを駆動中であるか停止中であるかのステータス情報を問い合わせることができる。
The command register control circuit 72 stores the drive status value SRUN output by the start/stop control circuit 75 into a predetermined status register (hereinafter referred to as the "SRUN register") provided in the register section 73.
As a result, the performance control board 41 can query status information, such as whether the performance motor is running or stopped, by issuing a register read command to the command register control circuit 72, which instructs the command register to read the value of the SRUN register.

加減速パルス発生回路76は、スタート・ストップ制御回路75からの指示に基づき、コマンド・レジスタ制御回路72からの指示に基づいた周波数によるパルス信号を生成・出力する。 The acceleration/deceleration pulse generation circuit 76 generates and outputs pulse signals at a frequency determined by the command register control circuit 72, based on instructions from the start/stop control circuit 75.

加減速パルス発生回路76が生成・出力するパルス信号の周波数は、前述したRFLコマンド(FL速度)、RFHコマンド(FH速度)、RURコマンド(加速レート)、RDPコマンド(スローダウンポイント)、及びRDRコマンド(減速レート)に基づき制御される。 The frequency of the pulse signals generated and output by the acceleration/deceleration pulse generation circuit 76 is controlled based on the aforementioned RFL command (FL speed), RFH command (FH speed), RUR command (acceleration rate), RDP command (slowdown point), and RDR command (deceleration rate).

具体的に、加減速パルス発生回路76には、前述したスタートコマンドの発行に応じて、コマンド・レジスタ制御回路72よりRFLコマンドが示すFL速度、RFHコマンドが示す加速レート、RFHコマンドが示すFH速度、RDRコマンドが示す減速レートが指示される。
加減速パルス発生回路76は、スタート・ストップ制御回路75よりパルス信号の出力開始指示が為されたことに応じて、先ずはFL速度に応じた周波数によるパルス信号の出力を開始すると共に、パルス信号の周波数を、加速レートに応じた周波数上昇率により除除に上昇させていく。そして、パルス信号の周波数がFL速度に応じた周波数に達したことに応じて、パルス信号の周波数をFL速度に応じた周波数で維持する。その後、RDPコマンドが示すスローダウンポイントのタイミングとなると、コマンド・レジスタ制御回路72より、加減速パルス発生回路76に対して減速指示が与えられる。この減速指示に応じ、加減速パルス発生回路76は、パルス信号の周波数を減速レートに応じた周波数低下率により低下させる。そして、スタート・ストップ制御回路75よりパルス信号の出力停止指示が行われたことに応じて、パルス信号の出力を停止する。
Specifically, in response to the issuance of the aforementioned start command, the acceleration/deceleration pulse generation circuit 76 receives instructions from the command register control circuit 72 regarding the FL speed indicated by the RFL command, the acceleration rate indicated by the RFH command, the FH speed indicated by the RFH command, and the deceleration rate indicated by the RDR command.
In response to a pulse signal output start instruction from the start/stop control circuit 75, the acceleration/deceleration pulse generation circuit 76 first starts outputting a pulse signal at a frequency corresponding to the FL speed, and gradually increases the frequency of the pulse signal at a frequency increase rate corresponding to the acceleration rate. Then, when the pulse signal frequency reaches the frequency corresponding to the FL speed, it maintains the pulse signal frequency at the frequency corresponding to the FL speed. Subsequently, when the timing of the slowdown point indicated by the RDP command is reached, a deceleration instruction is given to the acceleration/deceleration pulse generation circuit 76 from the command register control circuit 72. In response to this deceleration instruction, the acceleration/deceleration pulse generation circuit 76 decreases the frequency of the pulse signal at a frequency decrease rate corresponding to the deceleration rate. Then, in response to a pulse signal output stop instruction from the start/stop control circuit 75, it stops outputting the pulse signal.

これにより、RFLコマンド(FL速度)、RFHコマンド(FH速度)、RURコマンド(加速レート)、RDPコマンド(スローダウンポイント)、及びRDRコマンド(減速レート)で指定された態様により、対象の役物モータの動作を制御することができる。 This allows the operation of the target mechanism motor to be controlled according to the configuration specified by the RFL command (FL speed), RFH command (FH speed), RUR command (acceleration rate), RDP command (slowdown point), and RDR command (deceleration rate).

倍率分周回路77は、加減速パルス発生回路76より出力されるパルス信号の周波数をコマンド・レジスタ制御回路72からの指示に基づいて分周する。
具体的に、コマンド・レジスタ制御回路72は、前述したRMGコマンドが示す速度倍率を倍率分周回路77に指示する。倍率分周回路77は、指示された速度倍率に応じた分周比により加減速パルス発生回路76から入力されるパルス信号の周波数を分周する。
これにより、役物モータの動作速度(回転速度)について、RMGコマンドに従った速度倍率調整を実現できる。
The frequency divider circuit 77 divides the frequency of the pulse signal output from the acceleration/deceleration pulse generation circuit 76 based on instructions from the command register control circuit 72.
Specifically, the command register control circuit 72 instructs the multiplier divider circuit 77 to use the speed multiplier indicated by the RMG command mentioned above. The multiplier divider circuit 77 divides the frequency of the pulse signal input from the acceleration/deceleration pulse generation circuit 76 by a division ratio corresponding to the instructed speed multiplier.
This allows for speed multiplier adjustment of the operating speed (rotation speed) of the mechanism motor according to the RMG command.

出力形態変換回路78は、倍率分周回路77より出力されるパルス信号に基づき、OUT信号とDIR信号とを生成する。先の説明から理解されるように本例におけるパルス信号は、役物モータの回転方向に応じた極性を有するものであり、出力形態変換回路78は、入力されるパルス信号の極性に基づきDIR信号を生成・出力し、該パルス信号を絶対値化した信号をOUT信号として生成・出力する。 The output mode conversion circuit 78 generates an OUT signal and a DIR signal based on the pulse signal output from the frequency divider circuit 77. As can be understood from the previous explanation, the pulse signal in this example has polarity corresponding to the rotation direction of the motor. The output mode conversion circuit 78 generates and outputs a DIR signal based on the polarity of the input pulse signal, and generates and outputs the absolute value of the pulse signal as the OUT signal.

汎用入出力制御回路81は、コマンド・レジスタ制御回路72からの指示に基づき、汎用入出力端子P0x~P3xについての信号入出力制御を行う。
汎用入出力端子P0x~P3xに割り当て可能な信号については、前述した駆動ステータス値SRUNや以下で説明するカレントアップダウン制御回路80が出力するカレントアップダウン信号CDWN、位置決め用センサ信号等を挙げることができる。駆動ステータス値SRUN、カレントアップダウン信号CDWNについては、外部への出力が可能とされる。また、位置決め用センサ信号は少なくとも外部からの入力が可能とされる。
ここで、本例の仕様では、カレントアップダウン信号CDWNは、汎用入出力端子P1又はP3からの出力のみが可能とされている。
The general-purpose input/output control circuit 81 controls the input and output of signals for the general-purpose input/output terminals P0x to P3x based on instructions from the command register control circuit 72.
Signals that can be assigned to the general-purpose input/output terminals P0x to P3x include the aforementioned drive status value SRUN, the current up/down signal CDWN output by the current up/down control circuit 80 described below, and positioning sensor signals. The drive status value SRUN and the current up/down signal CDWN can be output externally. In addition, at least the positioning sensor signal can be input externally.
In this example, the specifications state that the current up/down signal CDWN can only be output from the general-purpose input/output terminals P1 or P3.

カレントアップダウン制御回路80は、カレントアップ機能、及びカレントダウン機能(以下、総称する場合は「カレントアップ・ダウン機能」と表記する)を実現するための制御を行う。 The current up/down control circuit 80 performs control to realize the current up function and the current down function (hereinafter collectively referred to as "current up/down function").

ここで言うカレントアップ機能は、スタートコマンドのタイミングで直ちに役物モータの駆動パルスを出力するのではなく、駆動パルスの出力をスタートコマンドのタイミングから所定の期間ディレイさせる機能である。この機能により、役物モータに対して駆動パルスを印加する前に、モータドライバの出力電流値を駆動時の電流値(駆動時電流値)に上昇させるための猶予期間を得ることができる。
モータドライバの出力電流値が安定する前に駆動パルスを印加してしまうと役物モータが脱調する虞があるため、上記の猶予期間を設けて、脱調の防止を図るものである。また、上記の猶予期間を設けることで、メカ(可動体役物50)を励磁位置で安定させる期間を得ることができるため、この点でも役物モータの脱調防止が図られる。
以下、上記の猶予期間のことを「カレントアップ期間」と表記する。
The current-up function referred to here is a function that delays the output of the drive pulse for the bonus motor for a predetermined period from the timing of the start command, rather than immediately outputting the drive pulse at the timing of the start command. This function provides a grace period to increase the output current value of the motor driver to the current value during operation (drive current value) before applying the drive pulse to the bonus motor.
If a drive pulse is applied before the output current value of the motor driver stabilizes, there is a risk that the motor for the mechanism will lose synchronism. Therefore, the above grace period is provided to prevent this loss of synchronism. In addition, by providing the above grace period, it is possible to obtain a period of time for the mechanism (movable mechanism 50) to stabilize in the excited position, thus also preventing the motor for the mechanism from losing synchronism.
Hereafter, the above grace period will be referred to as the "current upgrade period."

カレントダウン機能は、役物モータの駆動停止タイミング(駆動パルスの印加停止タイミング)から所定期間、モータドライバの出力電流値を上記した駆動時電流値で維持させた後に、待機時の電流値(待機時電流値)に低下させる機能である。このように役物モータの駆動停止タイミングから所定期間、モータドライバの出力電流値を駆動時電流値で維持させる期間を設けることで、役物モータが確実に停止する時間を確保することができる。また、モータドライバの出力電流を駆動時電流値から待機時電流値に低下させることで、役物モータの発熱を低減できる。
以下、上記のように役物モータの駆動停止タイミングからモータドライバの出力電流値を駆動時電流値で維持させる期間のことを「カレントダウン期間」と表記する。
The current-down function maintains the motor driver's output current value at the aforementioned drive current value for a predetermined period from the timing of the motor's drive stop (the timing of the cessation of drive pulse application), and then reduces it to the standby current value. By providing a period during which the motor driver's output current value is maintained at the drive current value from the timing of the motor's drive stop, it is possible to ensure that the motor has sufficient time to stop reliably. Furthermore, by reducing the motor driver's output current from the drive current value to the standby current value, the heat generated by the motor can be reduced.
Hereafter, the period during which the motor driver's output current value is maintained at the operating current value from the moment the motor stops driving, as described above, will be referred to as the "current down period".

カレントアップダウン制御回路80は、上記のようなカレントアップ・ダウン機能を実現するためのカレントアップダウン信号CDWM信号を生成・出力する。 The current up/down control circuit 80 generates and outputs a current up/down signal (CDWM signal) to realize the current up/down function described above.

図28は、カレントアップダウン制御回路80の動作説明図である。
ここでは、カレントアップダウン信号CDWMと共に、上述した駆動ステータス値SRUNとOUT信号も併せて示している。
Figure 28 is an explanatory diagram of the operation of the current up/down control circuit 80.
Here, along with the current up/down signal CDWM, the drive status value SRUN and the OUT signal mentioned above are also shown.

図中、「CSTA」と示すタイミングは、スタートコマンドにより役物モータの駆動開始が指示されたタイミングを表す。
カレントアップダウン制御回路80は、このスタートコマンドによる駆動開始指示のタイミングから、予め指示されたカレントアップ期間が経過したことに応じて、スタート・ストップ制御回路75に対して、スタート指示許可信号を出力する。
スタートコマンドによる駆動開始指示のタイミングは、コマンド・レジスタ制御回路72からカレントアップダウン制御回路80に指示される。
In the diagram, the timing indicated as "CSTA" represents the moment when the start command instructed the motor to begin operating.
The current up/down control circuit 80 outputs a start command permission signal to the start/stop control circuit 75 when a predetermined current up period has elapsed from the timing of the drive start instruction by this start command.
The timing of the start command to initiate operation is instructed from the command register control circuit 72 to the current up/down control circuit 80.

スタート・ストップ制御回路75は、カレントアップダウン機能が有効化された状態では、コマンド・レジスタ制御回路72からのスタート指示信号のみでなく、上記のスタート指示許可信号が入力されたことに応じて、加減速パルス発生回路76によるパルス信号出力の開始指示を行う
これにより、図示のようにOUT信号は、スタートコマンドによる駆動開始指示のタイミングから所定のカレントアップ期間の経過後にパルス出力が開始される。
When the current up-down function is enabled, the start-stop control circuit 75 issues a start command to the acceleration/deceleration pulse generation circuit 76 for pulse signal output, in response not only to the start command signal from the command register control circuit 72 but also to the start command permission signal mentioned above. As a result, as shown in the figure, the OUT signal pulse output starts after a predetermined current-up period has elapsed from the timing of the drive start command.

なお、駆動停止側については、前述のように、スタート・ストップ制御回路75は、コマンド・レジスタ制御回路72からの停止指示信号が示すタイミングで加減速パルス発生回路76のパルス生成・出力動作を停止させる。 Regarding the drive stop side, as described above, the start/stop control circuit 75 stops the pulse generation and output operation of the acceleration/deceleration pulse generation circuit 76 at the timing indicated by the stop instruction signal from the command register control circuit 72.

また、カレントアップダウン制御回路80は、カレントアップダウン信号CDWNを次のように生成する。
先ず、スタートコマンドによる駆動開始指示のタイミングの到来に応じて、カレントアップダウン信号CDWNをOFFレベル(例えばLレベル)からONレベル(例えばHレベル)に変化させる。そして、その後、パルス出力の停止タイミングがコマンド・レジスタ制御回路72から指示された場合は、該パルス出力の停止タイミングから所定のカレントダウン期間が経過したことに応じて、カレントアップダウン信号CDWNをONレベルからOFFレベルに変化させる。
確認のため述べておくと、上記パルス出力の停止タイミングは、コマンド・レジスタ制御回路72からスタート・ストップ制御回路75への前述した停止指示信号の出力タイミングと同タイミングである。
Furthermore, the current up/down control circuit 80 generates the current up/down signal CDWN as follows.
First, in response to the timing of the start command, the current up-down signal CDWN is changed from the OFF level (e.g., L level) to the ON level (e.g., H level). Then, if the command register control circuit 72 instructs the timing for stopping the pulse output, the current up-down signal CDWN is changed from the ON level to the OFF level in response to the elapsed current down period from the timing of the pulse output stopping.
For clarification, the timing of the termination of the pulse output is the same as the timing of the output of the aforementioned stop instruction signal from the command register control circuit 72 to the start-stop control circuit 75.

ここで、本例では、カレントアップダウン機能のON/OFFや、カレントアップ期間、カレントダウン期間は、I/F部71を介した外部装置からの制御コマンドCdにより設定することが可能とされている。
このように制御コマンドCdにより設定されたカレントアップダウン機能のON/OFFの情報や、カレントアップ期間、カレントダウン期間の情報は、コマンド・レジスタ制御回路72からカレントアップダウン制御回路80に対して指示される。
In this example, the ON/OFF status of the current up/down function, as well as the current up period and current down period, can be set by a control command Cd from an external device via the I/F unit 71.
In this way, the ON/OFF information of the current up/down function set by the control command Cd, as well as the current up period and current down period information, are instructed from the command register control circuit 72 to the current up/down control circuit 80.

遊技機1においては、上記のように生成されるカレントアップダウン信号CDWNに基づき、カレントアップ・ダウン機能が実現されるものとなるが、このカレントアップダウン信号CDWNに基づき、カレントアップ・ダウン機能(モータドライバの出力電流値の制御)を実現するための実施形態としての具体的な手法・構成については後に改めて説明する。 In the gaming machine 1, the current up/down function is realized based on the current up/down signal CDWN generated as described above. The specific methods and configurations for implementing this current up/down function (control of the motor driver's output current value) based on this current up/down signal CDWN will be explained later.

ここで、図27を参照して説明したように、本実施形態においてコマンド・レジスタ制御回路72は、センサ入力停止モード時において、位置センサ群55のうち対象とする位置センサからの検出信号に基づき、対象とする可動体役物50が該位置センサの位置に到達したか否かの判定を行うが、本例のモータ駆動制御部51では、このような位置センサへの到達判定について、判定条件を調整可能とされている。具体的に、本例では、位置センサへの到達判定は、位置センサの検出信号がONレベルを規定時間以上維持したことに応じて位置センサに到達したとの判定結果を得るようにされているが、この際における上記の規定時間を調整可能とされているものである。この調整は、I/F部71を介した外部装置からの制御コマンドCdにより行うことが可能とされている。
本例では、上記の規定時間を例えば1.0msから2.0msの間に設定している。望ましくは、該規定時間は略1.2msである。
上記の規定時間は、短すぎる場合にはノイズに起因して実際には位置センサに到達していないにも拘わらず到達していると誤判定が行われてしまい、逆に長すぎる場合には位置センサへの到達の判定漏れが生じてしまう。従って、上記の規定時間を適切に設定することで、位置センサへの到達判定の精度向上を図ることができる。
As explained with reference to Figure 27, in this embodiment, the command register control circuit 72, when the sensor input is stopped, determines whether the target movable object 50 has reached the position of the target position sensor based on the detection signal from the target position sensor among the position sensor group 55. In this example, the motor drive control unit 51 allows adjustment of the determination conditions for determining arrival at the position sensor. Specifically, in this example, the determination of arrival at the position sensor is made when the detection signal of the position sensor maintains an ON level for a specified time or longer, and the specified time in this case can be adjusted. This adjustment can be made by a control command Cd from an external device via the I/F unit 71.
In this example, the specified time is set to, for example, between 1.0 ms and 2.0 ms. Preferably, the specified time is approximately 1.2 ms.
If the specified time is too short, noise may cause a false positive, where the system mistakenly determines that the system has reached the position sensor when it hasn't. Conversely, if the time is too long, the system may fail to detect the arrival at the position sensor. Therefore, by appropriately setting the specified time, the accuracy of the position sensor arrival detection can be improved.

[6.3 実施形態としての制御データ作成手法]
図29から図33を参照し、実施形態としての可動体役物制御を実現するために作成しておくべき制御データの例、及び制御データの作成手法について説明する。
[6.3 Control Data Creation Method as an Embodiment]
Referring to Figures 29 to 33, we will explain examples of control data that should be created to realize the control of a movable mechanism as an embodiment, and a method for creating the control data.

図29は、実施形態としての可動体役物制御を実現するために用いられる各種制御データの説明図である。
図示のように実施形態としての可動体役物制御を実現するために用いられる各種制御データとしては、役物サブシナリオデータD1、区分動作管理データD2、及び制御コマンド管理データD3の3種のデータがある。
Figure 29 is an explanatory diagram of various control data used to realize the control of movable parts as an embodiment.
As shown in the figure, the various control data used to realize the control of the movable mechanism as an embodiment include three types of data: mechanism sub-scenario data D1, segmented operation management data D2, and control command management data D3.

開発者は、これら役物サブシナリオデータD1、区分動作管理データD2、及び制御コマンド管理データD3を、コンピュータ装置100を用いて作成する。コンピュータ装置100としては、例えばパーソナルコンピュータやタブレット端末、スマートフォン等、ソフトウェア処理が可能なコンピュータ装置を用いる。 The developer creates the sub-scenario data D1, the segmented operation management data D2, and the control command management data D3 using a computer device 100. The computer device 100 can be a computer device capable of software processing, such as a personal computer, tablet terminal, or smartphone.

開発者は、作成した役物サブシナリオデータD1、区分動作管理データD2、及び制御コマンド管理データD3を、演出制御基板41におけるROM41bに記憶させる。
演出制御基板41のCPU41aは、このようにROM41bに格納された役物サブシナリオデータD1、区分動作管理データD2、及び制御コマンド管理データD3に基づき、上述したモータ駆動制御部51を制御することで、演出シナリオに沿った可動体役物50の動作を実現させる。
The developer stores the created sub-scenario data D1, segment operation management data D2, and control command management data D3 in the ROM 41b of the performance control board 41.
The CPU 41a of the performance control board 41 controls the motor drive control unit 51 described above based on the sub-scenario data D1, segment operation management data D2, and control command management data D3 stored in the ROM 41b, thereby realizing the operation of the movable mechanism 50 in accordance with the performance scenario.

図30は、役物サブシナリオデータD1のデータ構造例の説明図である。
可動体役物50を用いた演出においては、通常、可動体役物50の動作パターンとして、発現させたい動作パターンを複数種定義することになる。例えば、大当り報知時に発現させたい動作パターンや、確変報知時に発現させたい動作パターン、特定の操作を検出した場合等、遊技中におけるシーンごとに異なる動作パターンによる可動体役物50の動作を発現させたい場合等に対応して、可動体役物50の動作パターンを複数種定義しておく。
役物サブシナリオデータD1は、可動体役物50の動作をそのような動作パターンの単位で管理するデータである。
なお、動作パターンの単位は任意に定めることができ、本実施形態では、少なくとも一つの動作パターンは、後述する動作パーツを1以上含むものであればよい。
Figure 30 is an explanatory diagram illustrating an example of the data structure of the bonus sub-scenario data D1.
In performances using the movable mechanism 50, it is common practice to define multiple operation patterns for the movable mechanism 50. For example, multiple operation patterns for the movable mechanism 50 are defined to accommodate situations where different operation patterns are desired for each scene during gameplay, such as when a jackpot is announced, when a probability variation is announced, or when a specific operation is detected.
The sub-scenario data D1 for the mechanical device is data that manages the operation of the movable mechanical device 50 in units of such operation patterns.
The unit of the operation pattern can be arbitrarily defined, and in this embodiment, at least one operation pattern only needs to include one or more operation parts, as described later.

また、可動体役物50を用いる演出については、複数の可動体役物50を同時に駆動する演出も存在し得る。そのような場合、動作パターンについては、それら複数の可動体役物50の動作をまとめて一つの動作パターンとして定義することも可能である。 Furthermore, regarding the effects using the movable parts 50, there may be effects in which multiple movable parts 50 are driven simultaneously. In such cases, the operation pattern can be defined as a single operation pattern encompassing the movements of these multiple movable parts 50.

図中では、ROM41bに格納する役物サブシナリオデータD1が管理する動作パターンのうち、一部の動作パターンについての管理データのみを抽出して示している。具体的には、「B0_合体」「B02_ギミック」「B03_△○×□チャンスアイテム使用時」の三つの動作パターンのデータのみを示している。 The diagram shows only the management data for some of the operation patterns managed by the sub-scenario data D1 stored in ROM41b. Specifically, it shows data for only three operation patterns: "B0_Combination," "B02_Gimmick," and "B03_△○×□Chance Item Use."

役物サブシナリオデータD1において、動作パターンごとの管理データには、その動作パターン内に含まれる「区分動作」ごとに、「区分動作」の識別情報が格納されている。例えば、「B0_合体」の動作パターンは、区分動作として「励磁ON」「B01_No1」「B01_No1_wait」「B01_No2」の四つを含むものと定義されており、図中に示すようにこの「B0_合体」の管理データには、これら区分動作の識別情報として「励磁ON」「B01_No1」「B01_No1_wait」「B01_No2」が格納されている。
また、「B02_ギミック」の動作パターンは区分動作として「励磁ON」「B02_No1」「B02_No1_wait」「B02_No2~3」の四つを含むものと定義され、この「B02_ギミック」の管理データにはこれら区分動作の識別情報として「励磁ON」「B02_No1」「B02_No1_wait」「B02_No2~3」が格納されている。
In the special feature sub-scenario data D1, the management data for each operation pattern stores identification information for each "sectional operation" included within that operation pattern. For example, the operation pattern "B0_Combine" is defined as including four sectional operations: "Excitation ON", "B01_No1", "B01_No1_wait", and "B01_No2". As shown in the figure, the management data for "B0_Combine" stores "Excitation ON", "B01_No1", "B01_No1_wait", and "B01_No2" as identification information for these sectional operations.
Furthermore, the operation pattern of "B02_Gimmick" is defined as including four distinct operations: "Excitation ON,""B02_No1,""B02_No1_wait," and "B02_No2~3." The management data for "B02_Gimmick" stores "Excitation ON,""B02_No1,""B02_No1_wait," and "B02_No2~3" as identification information for these distinct operations.

また、動作パターンごとの管理データには、区分動作ごとに「動作種別」の情報が対応づけられている。この動作種別の情報は、CPU41aが実行すべき動作種別を記述したものであり、図中に示すように動作種別=動作呼び出しが記述されている場合、CPU41aは、当該動作種別の情報に対応づけられた区分動作の識別情報に基づき、区分動作管理データD2より該当する区分動作のデータを呼び出すことになる。 Furthermore, the management data for each operation pattern is associated with "operation type" information for each category operation. This operation type information describes the operation type that the CPU 41a should execute. As shown in the diagram, when operation type = operation call is described, the CPU 41a will retrieve the corresponding category operation data from the category operation management data D2 based on the category operation identification information associated with that operation type information.

図31は、区分動作管理データD2のデータ構造例の説明図である。
区分動作管理データD2は、区分動作ごとに、その区分動作の実現に用いられる情報を管理するデータである。
図中では、全区分動作のうち、図30で例示した「B01_No1」「B01_No1_wait」「B01_No2」の三つの区分動作についての管理データのみを抽出して示している。
Figure 31 is an explanatory diagram illustrating an example of the data structure of the segmented operation management data D2.
The segmented operation management data D2 is data that manages the information used to realize each segmented operation.
In the diagram, only the management data for the three category operations "B01_No1", "B01_No1_wait", and "B01_No2", which are exemplified in Figure 30, is extracted and shown from all category operations.

区分動作管理データD2において、区分動作ごとの管理データには、その区分動作に含まれる「動作種別」の情報が格納される。この動作種別には、「駆動制御部動作」、「駆動制御部動作終了待ち」、「待機」の何れかの情報が格納され得る。駆動制御部動作は、モータ駆動制御部51の動作、具体的には、前述した制御コマンドCd(RFLコマンドやRFHコマンド、RMVコマンド、RMGコマンド、RDPコマンド、RURコマンド、RDRコマンド、スタートコマンド等)を発行して実行させるモータ駆動制御部51の動作を意味するものであり、駆動制御部動作終了待ちは、このような制御コマンドCdに応じてモータ駆動制御部51が実行した動作の終了待ちを意味するものである。 In the segmented operation management data D2, the management data for each segmented operation stores information about the "operation type" included in that segmented operation. This operation type may store information such as "drive control unit operation," "waiting for drive control unit operation completion," or "standby." The drive control unit operation refers to the operation of the motor drive control unit 51, specifically the operation of the motor drive control unit 51 that issues and executes the aforementioned control commands Cd (such as RFL, RFH, RMV, RMG, RDP, RUR, RDR, and start commands). Waiting for drive control unit operation completion refers to waiting for the completion of the operation executed by the motor drive control unit 51 in response to such control commands Cd.

そして、区分動作ごとの管理データにおいては、動作種別の情報ごとに、「ステップ」の情報が対応づけられている。ここで、「ステップ」に記述される値の単位は、1タイマ割込み分の時間(本例では1ms)である。
また、動作種別の情報のうち、「駆動制御部動作」の動作種別に対しては、「パーツ名」の情報が対応づけられている。
Furthermore, in the management data for each type of operation, "step" information is associated with each type of operation. Here, the unit of the value described in "step" is the time of one timer interrupt (1 ms in this example).
Furthermore, among the information on operation types, the "drive control unit operation" operation type is associated with the "part name" information.

図示の例において、「B01_No1」の管理データでは、先頭行が動作種別=駆動制御部動作の行とされ、2行目及び3行目が動作種別=駆動制御部動作終了待ちの行とされており、先頭の動作種別=駆動制御部動作の行に対しては、「ステップ」の情報として「1」が、パーツ名として「[C44_201_XY_TAMA_B01]{球}TY106_変動前△○×□玉ギミック予告_合体No1_正転XY軸データ」の名称情報が記述されている。また、2行目及び3行目の動作種別=駆動制御部動作終了待ちの行に対しては「ステップ」の情報として「1000」が記述されている。 In the illustrated example, the management data for "B01_No.1" has the first row as the operation type = drive control unit operation row, and the second and third rows as operation type = drive control unit operation completion waiting rows. For the first row, operation type = drive control unit operation, the "step" information is "1", and the part name information is "[C44_201_XY_TAMA_B01]{ball}TY106_pre-variation△○×□ball gimmick予告_combination No.1_forward rotation XY axis data". Furthermore, for the second and third rows, operation type = drive control unit operation completion waiting rows, the "step" information is "1000".

また、「B01_No1_wait」の管理データは、待機動作であるため、動作種別=待機の行のみを有する。図示のように「ステップ」の値としては「2500」が記述されている。 Furthermore, the management data for "B01_No1_wait" only contains rows where the operation type is "wait," as it represents a waiting operation. As shown in the diagram, the value for "step" is "2500."

また、「B01_No2」の管理データでは、先頭行が動作種別=駆動制御部動作の行とされ、2行目及び3行目が動作種別=駆動制御部動作終了待ちの行とされており、先頭の動作種別=駆動制御部動作の行に対しては「ステップ」の情報として「1」が、パーツ名として「[C44_201_XY_TAMA_B01]{球}TY106_変動前△○×□玉ギミック予告_合体No2_センサまで逆転XY軸データ」の名称情報が記述されている。また、2行目及び3行目の動作種別=駆動制御部動作終了待ちの行に対しては「ステップ」の情報として「1000」が記述されている。 Furthermore, in the management data for "B01_No2," the first row is designated as the operation type = drive control unit operation row, and the second and third rows are designated as operation type = drive control unit operation completion waiting rows. For the first row, operation type = drive control unit operation, the "step" information is "1," and the part name information is described as "[C44_201_XY_TAMA_B01]{ball}TY106_pre-variation△○×□ball gimmick予告_combination No2_reverse XY axis data up to sensor." Also, for the second and third rows, operation type = drive control unit operation completion waiting rows, the "step" information is described as "1000."

ここで、「B01_No1」と「B01_No2」の管理データにおいて、駆動制御部動作終了待ちの行が2行設けられているのは、これら「B01_No1」「B01_No2」の区分動作を含む「B0_合体」の動作パターンが、X軸とY軸の二つの可動体役物50の動作により実現される動作パターンとして定義されたものであることによる。
この場合、可動体役物50の動作は、モータ駆動制御部51におけるX軸用回路、Y軸用回路のそれぞれに対応する制御コマンドCdを送信して制御することになるため、これらX軸用回路、Y軸用回路それぞれの役物モータの駆動終了タイミングを個別に監視可能となるように、駆動制御部動作終了待ちの行が2行設けて、軸ごとの動作待ち時間(「ステップ」の値)を定めることができるようにしている。
Here, in the management data for "B01_No1" and "B01_No2", there are two rows indicating a wait for the drive control unit operation to finish. This is because the operation pattern of "B0_Combined", which includes the separate operations of "B01_No1" and "B01_No2", is defined as an operation pattern realized by the operation of two movable parts 50 on the X and Y axes.
In this case, the operation of the movable mechanism 50 is controlled by sending control commands Cd corresponding to the X-axis circuit and the Y-axis circuit in the motor drive control unit 51. Therefore, two rows are provided for waiting for the drive control unit operation to finish, so that the timing of the end of operation of the mechanism motors for each of the X-axis and Y-axis circuits can be individually monitored, and the operation waiting time ("step" value) for each axis can be determined.

区分動作ごとの管理データにおいて、動作種別=駆動制御部動作の行については、CPU41aは、「パーツ名」に記述された名称情報に基づき、制御コマンド管理データD3から該名称情報が対応づけられたソースコードを読み出し、該ソースコードに従ってモータ駆動制御部51に対し対応する制御コマンドCdを送信する処理を行う。
上記した「B01_No1」、「B01_No2」の管理データのように、「パーツ名」として複数軸のモータ制御動作に対応する名称情報が記述されている場合、制御コマンド管理データD3には、該名称情報に対応づけて、それら軸ごとの制御コマンドCdを送信するためのソースコードが記述されており、該ソースコードに従ってモータ駆動制御部51に対し対応する制御コマンドCdを送信することで、軸ごとに、定義された役物モータの駆動制御(つまり可動体役物50の動作)が実現される。
In the management data for each operation category, for the row where the operation type is drive control unit operation, the CPU 41a reads the source code associated with the name information described in "part name" from the control command management data D3, and sends the corresponding control command Cd to the motor drive control unit 51 according to the source code.
As with the management data "B01_No1" and "B01_No2" described above, if name information corresponding to the motor control operation of multiple axes is described as "part name", the control command management data D3 contains source code for sending control commands Cd for each axis in association with the name information. By sending the corresponding control command Cd to the motor drive control unit 51 according to the source code, the drive control of the defined feature motor (i.e., the operation of the movable feature 50) is realized for each axis.

また、CPU41aは、動作種別=駆動制御部動作終了待ちの行については、「ステップ」に記述された値に応じた動作終了確認処理を行う。具体的には、動作種別=駆動制御部動作の行の「パーツ名」の情報に従って制御コマンドCd(前述したスタートコマンドを含む)の送信を行った場合は、動作種別=駆動制御部動作終了待ちの行における「ステップ」の値で指定された時間内にモータ駆動制御部51のステータスが駆動停止のステータスに変化したかを判定する。
ここで、「B01_No1」や「B01_No2」のように動作種別=駆動制御部動作終了待ちの行が複数ある場合、CPU41aは、それらの行の「ステップ」の値に基づき、軸ごとの上記確認処理を行う。具体的には、軸ごとに前述した駆動ステータス値SRUNの問合せを行い、「ステップ」の値で指定された時間内に該駆動ステータス値SRUNが駆動停止を示す値に変化したか否かを判定する。
このとき、軸ごとに何れの行の「ステップ」の値を参照するかは予め定義しておく。例えば、複数の動作種別=駆動制御部動作終了待ちの行のうち、最も行番号が若い行から順にX軸、Y軸、Z軸、U軸を割り当てる等が考えられる。
Furthermore, for the line with operation type = waiting for drive control unit operation to finish, the CPU 41a performs operation completion confirmation processing according to the value described in "step". Specifically, if a control command Cd (including the start command mentioned above) is sent according to the "part name" information in the line with operation type = drive control unit operation, the CPU 41a determines whether the status of the motor drive control unit 51 has changed to a drive stop status within the time specified by the value of "step" in the line with operation type = waiting for drive control unit operation to finish.
If there are multiple rows with operation type = waiting for drive control unit operation to finish, such as "B01_No1" and "B01_No2", the CPU 41a performs the above confirmation process for each axis based on the "step" value of those rows. Specifically, it queries the aforementioned drive status value SRUN for each axis and determines whether the drive status value SRUN has changed to a value indicating drive stop within the time specified by the "step" value.
At this time, it is necessary to pre-define which row's "step" value is referenced for each axis. For example, among the rows of multiple operation types = rows waiting for the drive control unit operation to finish, the X axis, Y axis, Z axis, and U axis can be assigned in order from the row with the lowest row number.

ここで、本実施形態では、上記の確認処理の結果、「ステップ」の値で指定された時間内にモータ駆動制御部51のステータスが駆動停止に変化しなかった場合にはフェールセーフ処理を行うが、これについては後に改めて説明する。 In this embodiment, if the status of the motor drive control unit 51 does not change to "drive stopped" within the time specified by the "step" value as a result of the above verification process, a fail-safe process is performed. This will be explained in more detail later.

また、CPU41aは、動作種別=待機の行については、「ステップ」の値が示す待機時間だけ待機する処理を行う。 Furthermore, for rows where the operation type is "wait," CPU 41a performs a process that waits for the duration indicated by the "step" value.

なお、図中に示す区分動作ごとの管理データにおいて、動作種別の情報に対応づけられた情報のうち「励磁」と「速度」は、本例では開発者の管理のために記述された情報とされ、可動体役物50の制御処理の過程においてCPU41aが参照する情報とはされていない。 Furthermore, in the management data for each operation category shown in the diagram, the information associated with the operation type, specifically "excitation" and "speed," is described in this example for the developer's management purposes and is not referenced by the CPU 41a during the control processing of the movable mechanism 50.

ここで、上記説明から理解されるように、可動体役物50の動作は、動作パターンの単位で大別することができ、さらに、各動作パターンは、区分動作の単位で区分することができる。そして、動作パターンを構成する区分動作には、「B01_No1」や「B01_No2」のように、モータ駆動制御部51に対して制御コマンドCdを指示することで実現される一連の役物モータ動作(つまりは可動体役物50の動作)として定義された動作がある。
本実施形態では、「B01_No1」や「B01_No2」の区分動作のように、動作パターンを構成する区分動作であって、モータ駆動制御部51に対して制御コマンドCdを指示することで実現される一連の可動体役物50の動作ことを「動作パーツ」と呼ぶこととする。
この場合、区分動作管理データD2における「パーツ名」に記述される情報は、「動作パーツ」の識別情報であると換言することができる。
As can be understood from the above explanation, the operation of the movable mechanism 50 can be broadly classified into units of operation patterns, and each operation pattern can be further divided into units of segmented operations. Among the segmented operations that constitute the operation patterns are operations defined as a series of mechanism motor operations (i.e., operations of the movable mechanism 50) that are realized by issuing a control command Cd to the motor drive control unit 51, such as "B01_No1" and "B01_No2".
In this embodiment, a series of operations of the movable body parts 50 that constitute an operation pattern, such as the segmented operations of "B01_No1" and "B01_No2", and are realized by instructing the motor drive control unit 51 with a control command Cd, will be referred to as "operation parts".
In this case, the information described in "Part Name" in the segmented operation management data D2 can be rephrased as identification information for the "operating part".

図32は、制御コマンド管理データD3のデータ構造例の説明図である。
制御コマンド管理データD3は、動作パーツごとに、モータ駆動制御部51に送信すべき制御コマンドCdを管理するデータである。
図32では、定義された動作パーツのうち一部の動作パーツについての制御コマンド管理データのみを抽出して例示している。具体的には、「B01_No1」におけるパーツ名=「[C44_201_XY_TAMA_B01]{球}TY106_変動前△○×□玉ギミック予告_合体No1_正転XY軸データ」の動作パーツと、「B01_No2」におけるパーツ名=「[C44_201_XY_TAMA_B01]{球}TY106_変動前△○×□玉ギミック予告_合体No2_センサまで逆転XY軸データ」の動作パーツと、動作パターン「B02_大ギミック」の区分動作「B02_No1」におけるパーツ名=「[C44_201_X_TAMA_B02]{球}TY106_変動前△○×□玉大ギミック予告_No1_正転X軸データ」の動作パーツについての制御コマンド管理データのみを抽出している。
Figure 32 is an explanatory diagram illustrating an example of the data structure of control command management data D3.
The control command management data D3 is data that manages the control commands Cd to be sent to the motor drive control unit 51 for each operating part.
Figure 32 shows an example of control command management data extracted for only some of the defined operating parts. Specifically, only the control command management data for the operating parts of the part name = "[C44_201_XY_TAMA_B01]{Ball}TY106_Pre-change △○×□Ball Gimmick予告_Combination No.1_Forward Rotation XY Axis Data" in "B01_No.1", the operating parts of the part name = "[C44_201_XY_TAMA_B01]{Ball}TY106_Pre-change △○×□Ball Gimmick予告_Combination No.2_Reverse XY Axis Data to Sensor" in "B01_No.2", and the operating parts of the part name = "[C44_201_X_TAMA_B02]{Ball}TY106_Pre-change △○×□Ball Large Gimmick予告_No.1_Forward Rotation X Axis Data" in the operation pattern "B02_Large Gimmick" are extracted.

制御コマンド管理データD3において、動作パーツごとの管理データには、その動作パーツの「パーツ名」の情報が記述される。これによりCPU41aは、図31に示した区分動作ごとの管理データに記述された「パーツ名」の情報を基に、制御コマンド管理データD3から該当する動作パーツの管理データを特定することができる。 In the control command management data D3, the management data for each operating part contains information about the "part name" of that operating part. This allows the CPU 41a to identify the management data for the corresponding operating part from the control command management data D3, based on the "part name" information described in the management data for each operation category shown in Figure 31.

制御コマンド管理データD3において、動作パーツごとの制御コマンド管理データには、当該動作パーツとしての可動体役物50の動作を実現するための制御コマンドCdを含むソースコードが記述されており、CPU41aは、該ソースコードに従った処理を行うことで、モータ駆動制御部51に対し、当該動作パーツとしての可動体役物50の動作を実現するための制御コマンドCdを送信することができる。 In the control command management data D3, the control command management data for each operating part contains source code including a control command Cd for realizing the operation of the movable part 50. The CPU 41a performs processing according to this source code, thereby transmitting the control command Cd for realizing the operation of the movable part 50 to the motor drive control unit 51.

図33は、動作パーツを定義するための作業画面Gsの例を示している。
本実施形態において開発者は、図29に示したコンピュータ装置100にインストールされた動作パーツ定義のためのアプリケーションプログラム(以下「動作パーツ定義アプリ」と表記する)を用いて動作パーツの定義を行う。
図33は、この動作パーツ定義アプリにより表示される作業画面Gsを例示したものである。
Figure 33 shows an example of a work screen Gs for defining working parts.
In this embodiment, the developer defines the operating parts using an application program for defining operating parts (hereinafter referred to as the "operating parts definition app") installed on the computer device 100 shown in Figure 29.
Figure 33 shows an example of the work screen Gs displayed by this operation part definition application.

作業画面Gsにおいては、図中の左側に示すようなフローチャート状のUI(User Interface)を用いて可動体役物50の動作パターンごとの動作定義を行うことが可能とされている。
フローチャートに用いることができるボックスには、図中に例示するボックスFS1、FS2、FS3の3種がある。ボックスFS1は、動作定義対象の軸について、位置センサの使用の有無を定めるためのボックスである。
またボックスFS2は、動作パーツとしての動作を定義するためのボックスである。
ボックスFS3は、前述した「B01_No1_wait」のような待機動作を定義するためのボックスである。
On the work screen Gs, it is possible to define the operation of each operation pattern of the movable component 50 using a flowchart-like UI (User Interface) as shown on the left side of the figure.
There are three types of boxes that can be used in a flowchart: boxes FS1, FS2, and FS3, which are illustrated in the diagram. Box FS1 is used to determine whether or not a position sensor is used for the axis whose operation is being defined.
Furthermore, box FS2 is a box used to define the operation of the moving parts.
Box FS3 is a box used to define a waiting operation, such as the aforementioned "B01_No1_wait".

フローチャートにおけるボックスFS2を選択すると、画面右側に示される定義用領域Adにおいて、動作パーツの動作定義を行うことができる。
図示のように定義用領域Adには対象軸選択領域Ar1、設定入力領域Ar2が設けられている。定義用領域Adには、操作部p1、p2、p3が設けられ、これら操作部p1、p2、p3により、それぞれ役物モータの回転方向、前述した動作モード(位置決め動作モード/センサ入力停止モード)、加減速制御モード(例えば、直線加減速制御モード/S字制御モード)の選択設定を行うことができる。
図33では、操作部p2により動作モードとして位置決め動作モードが選択された場合の定義用領域Adの表示例を示している。
When box FS2 is selected in the flowchart, the operation of the operating part can be defined in the definition area Ad shown on the right side of the screen.
As shown in the figure, the definition area Ad is provided with a target axis selection area Ar1 and a setting input area Ar2. The definition area Ad is also provided with operation units p1, p2, and p3, which allow selection and setting of the rotation direction of the motor, the aforementioned operation mode (positioning operation mode/sensor input stop mode), and acceleration/deceleration control mode (for example, linear acceleration/deceleration control mode/S-curve control mode), respectively.
Figure 33 shows an example of the display of the definition area Ad when the positioning operation mode is selected as the operation mode by the operation unit p2.

対象軸選択領域Ar1には、X軸~U軸のうち何れの軸の動作について定義を行うかを選択するための操作部が設けられる。前述のように、動作パーツについては複数軸の動作を定義可能であり、一つのボックスFS2を選択した後、対象軸選択領域Ar1において軸の選択操作を行うことで、軸ごとに、以下で説明する設定入力領域Ar2への入力操作による動作定義を行うことが可能とされる。 The target axis selection area Ar1 is provided with an operation section for selecting which of the X-axis to U-axis's movements to define. As mentioned above, multiple axis movements can be defined for the movement part. After selecting one box FS2, the axis selection operation is performed in the target axis selection area Ar1, allowing for the definition of movement for each axis through input operations to the setting input area Ar2, as described below.

設定入力領域Ar2には、FL速度入力ボックスb2、加速期間入力ボックスb3、HL速度入力ボックスb4、出力パルス数入力ボックスb5、及び減速期間入力ボックスb6が設けられている。
FL速度入力ボックスb2は、前述したFL速度(初速度、停止速度)を入力するためのボックスであり、加速期間入力ボックスb3は、加速期間、すなわち初速度から前述したHL速度(動作速度)への遷移期間を入力するためのボックスである。HL速度入力ボックスb4はHL速度の入力ボックスである。
また、出力パルス数入力ボックスb5は、前述した出力パルス数(可動体役物50の目標移動量)を入力するためのボックスであり、減速期間入力ボックスb6は、減速期間、すなわちHL速度からFL速度(停止速度)への遷移期間を入力するためのボックスである。
The setting input area Ar2 is provided with an FL speed input box b2, an acceleration period input box b3, an HL speed input box b4, an output pulse count input box b5, and a deceleration period input box b6.
The FL speed input box b2 is for inputting the FL speed (initial speed, stopping speed) as described above, and the acceleration period input box b3 is for inputting the acceleration period, that is, the transition period from the initial speed to the HL speed (operating speed) as described above. The HL speed input box b4 is for inputting the HL speed.
Furthermore, the output pulse count input box b5 is a box for inputting the output pulse count (target movement amount of the movable mechanism 50) as described above, and the deceleration period input box b6 is a box for inputting the deceleration period, that is, the transition period from HL speed to FL speed (stopping speed).

これらFL速度入力ボックスb2、加速期間入力ボックスb3、HL速度入力ボックスb4、出力パルス数入力ボックスb5、減速期間入力ボックスb6に対する入力操作によってFL速度、加速期間、HL速度、出力パルス数、減速期間を指定することで、位置決め動作モードによる所定の役物モータ動作(可動体役物50の動作)を定義することができる。
なお、図示は省略したが、センサ入力停止モードが選択された場合、設定入力領域Ar2には、少なくともFL速度、加速期間、及びHL速度の指定の受け付けを可能とするUIが表示されればよい。
By inputting to the FL speed input box b2, acceleration period input box b3, HL speed input box b4, output pulse count input box b5, and deceleration period input box b6, the FL speed, acceleration period, HL speed, output pulse count, and deceleration period can be specified, thereby defining a predetermined motor operation for the movable part (operation of the movable part 50) according to the positioning operation mode.
Although not shown in the diagram, when the sensor input stop mode is selected, the setting input area Ar2 should display a UI that allows the user to specify at least the FL speed, acceleration period, and HL speed.

ここで、定義用領域Adには、コメント入力ボックスb7が設けられている。
本例では、このコメント入力ボックスb7に対する入力により、前述した「パーツ名」の指定を行うことが可能とされている。すなわち、このコメント入力ボックスb7に入力されたテキスト情報が、設定入力領域Ar2への入力操作で定義された動作パーツに対する「パーツ名」の情報として対応づけられるものである。
Here, the definition area A is provided with a comment input box b7.
In this example, it is possible to specify the "part name" mentioned above by entering information into this comment input box b7. In other words, the text information entered into this comment input box b7 is associated with the "part name" information for the operating part defined by the input operation in the setting input area Ar2.

なお、定義用領域Adにおいて、実行ボタンBtは、開発環境においてコンピュータ装置100とモータ駆動制御部51(役物モータが接続された状態のモータドライバが接続された状態)とを接続している場合において、定義した動作パーツに対応する制御コマンドCdをモータ駆動制御部51に出力する指示を行うためのボタンである。この実行ボタンBtが設けられることで、開発者は、可動体役物50の実際の動作を確認しながら動作パーツの定義作業を行うことができる。 Furthermore, in the definition area Ad, the execution button Bt is a button used to instruct the motor drive control unit 51 to output a control command Cd corresponding to the defined operating part, when the computer device 100 and the motor drive control unit 51 (with the motor driver connected to the mechanism motor) are connected in the development environment. The provision of this execution button Bt allows developers to define the operating parts while confirming the actual operation of the movable mechanism 50.

また、定義用領域Adにおいて、ラベル名入力ボックスb1は、作業画面Gsにフローチャートが表示中の動作パターンに対するラベル名を入力するためのボックスである。
また、メッセージ入力b8は、定義した動作パーツについて開発者が管理用のメッセージを残したい場合に該メッセージを入力するためのボックスとされる。
Furthermore, in the definition area Ad, the label name input box b1 is a box for inputting the label name for the operation pattern for which the flowchart is displayed on the work screen Gs.
Furthermore, message input b8 is a box for developers to enter messages if they wish to leave management messages regarding the defined operational parts.

動作パーツ定義アプリは、上記のような作業画面Gsを通じて定義された動作パーツについて、先の図32で説明した制御コマンド管理データD3を生成する機能を有している。動作パーツ定義アプリは、上記した定義用領域Adに対する操作により指定されたFL速度や加速期間、HL速度等の値に基づいて、動作パーツごとに、定義動作を実現するために必要な例えばRFLコマンド、RFHコマンド、RURコマンド等の制御コマンドCdを生成することができる。なお、位置決め動作モードでは、スローダウンポイントを示すRDPコマンドを発行することになるが、スローダウンポイント(減速を開始する残量パルス数)は、出力パルス数(b5)と減速期間(b6)が指定されれば、自ずと求まるものである(減速時は、HL速度からFL速度に落とすように定められているため)。 The motion part definition application has the function of generating control command management data D3, as explained in Figure 32 above, for motion parts defined through the work screen Gs described above. Based on the values such as FL speed, acceleration period, and HL speed specified by the operation on the definition area Ad described above, the motion part definition application can generate control commands Cd, such as RFL commands, RFH commands, and RUR commands, necessary to realize the defined operation for each motion part. In positioning operation mode, an RDP command indicating the slowdown point will be issued. The slowdown point (the number of remaining pulses at which deceleration begins) is automatically determined if the number of output pulses (b5) and the deceleration period (b6) are specified (because during deceleration, the speed is set to decrease from HL speed to FL speed).

動作パーツ定義アプリは、上記のように動作パーツごとに必要な制御コマンドCdを生成した上で、動作パーツごとに、制御コマンドCdの送信処理をCPU41aに実行させるためのソースコードを生成する。そして、生成した動作パーツごとのソースコードに対し、それぞれ上述したコメント入力ボックスb7に入力されたパーツ名の情報を対応づけることで、制御コマンド管理データD3を生成する。
開発者は、このような動作パーツ定義アプリの機能により生成された制御コマンド管理データD3を演出制御基板41のROM41bに記憶させる。
The operating part definition application generates the necessary control command Cd for each operating part as described above, and then generates source code for each operating part to execute the control command Cd transmission process on the CPU 41a. Then, by associating the information of the part name entered in the comment input box b7 described above with the generated source code for each operating part, it generates control command management data D3.
The developer stores the control command management data D3 generated by the functions of this operational part definition application in the ROM 41b of the performance control board 41.

上記のような動作パーツ定義アプリの機能により、実施形態としての可動体役物制御を実現するために必要な開発者の作業負担を大幅に低減することができる。
The functionality of the motion part definition application described above significantly reduces the workload on developers required to implement the control of movable parts as an embodiment of the application.

[6.4 実施形態としての可動体役物制御処理]
(6.4.1 処理フロー)
続いて、CPU41aが実行する実施形態としての可動体役物制御に係る処理について説明する。
可動体役物50の制御は、主に、図24に示した演出制御側タイマ割込み処理におけるステップS603の可動体役物動作更新処理と、ステップS604のSOL・MOT出力処理とにより実現される。
[6.4 Control Processing of Movable Parts as an Embodiment]
(6.4.1 Processing Flow)
Next, we will describe the process related to the control of movable parts as an embodiment executed by the CPU 41a.
The control of the movable mechanism 50 is mainly achieved by the movable mechanism operation update process in step S603 and the SOL/MOT output process in step S604 in the timer interrupt processing on the performance control side shown in Figure 24.

図24におけるステップS603の可動体役物動作更新処理では、CPU41aは、演出シナリオの進行に伴い、図30に示した役物サブシナリオデータD1から一の動作パターンを選択する。役物サブシナリオデータD1からの一の動作パターンの選択は、図示は省略した演出シナリオデータ(メインシナリオデータ)と前述した演出シナリオタイマとに基づき行われるものである。 In step S603 of Figure 24, during the movable mechanism operation update process, the CPU 41a selects an operation pattern from the mechanism sub-scenario data D1 shown in Figure 30 as the performance scenario progresses. The selection of an operation pattern from the mechanism sub-scenario data D1 is based on the performance scenario data (main scenario data), which is not shown in the illustration, and the aforementioned performance scenario timer.

ステップS603において、役物サブシナリオデータD1から一の動作パターンを選択した場合、CPU41aは、選択した動作パターンの管理データ中における先頭行の区分動作(つまり一つ目の区分動作)の識別情報(「励磁ON」「B01_No1」等)に基づいて、区分動作管理データD2(図31参照)における区分動作ごとの管理データのうちから、該識別情報が示す区分動作の管理データを特定する。
そして、特定した区分動作の管理データにおける先頭行の記述に従った処理を行う。例えば、先頭行が「動作種別」=「駆動制御部動作」の行であれば、該行における「パーツ名」に記述された名称情報(「[C44_201_XY_TAMA_B01]{球}TY106_変動前△○×□玉ギミック予告_合体No1_正転XY軸データ」等)を取得する。
ステップS603において、役物サブシナリオデータD1から動作パターンを選択したタイマ割込みタイミングの次のタイマ割込みタイミングでは、CPU41aは、区分動作管理データD2における対象行の「動作種別」の情報に応じた処理を行う。
「動作種別」=「駆動制御部動作」の行であれば、該行における「パーツ名」に記述された名称情報を取得する処理を行う。
また、「動作種別」=「駆動制御部動作終了待ち」の行であれば、該行の「ステップ」に記述された値を、「停止予定時間タイマ」にセットする。この停止予定時間タイマは、1タイマ割込みごとにデクリメントされるタイマであり、「0」が停止予定時間の到来を表すものとなる。後述する図34のステップS706で、この停止予定時間タイマが0より小さいか否かを判定することで、停止予定時間を経過したか否かの判定(つまり、前述した動作終了確認処理)が行われる。
ここで、前述のように動作パーツについては複数軸の動作が定義されることがあり、その場合には、区分動作管理データD2において「動作種別」=「駆動制御部動作終了待ち」の行が連続して設けられる。このように「動作種別」=「駆動制御部動作終了待ち」の行が連続して設けられいる場合、ステップS603の処理としてCPU41aは、それら連続した行それぞれの「ステップ」の値に基づき、対応する軸についての停止予定時間タイマの値をセットする。
In step S603, if a certain operation pattern is selected from the bonus sub-scenario data D1, the CPU 41a identifies the management data for the segmental operation indicated by the identification information ("Excitation ON", "B01_No1", etc.) of the segmental operation in the management data of the selected operation pattern, from among the management data for each segmental operation in the segmental operation management data D2 (see Figure 31).
Then, processing is performed according to the description in the first row of the management data for the identified category of operation. For example, if the first row is "Operation Type" = "Drive Control Unit Operation", the name information described in "Part Name" in that row (e.g., "[C44_201_XY_TAMA_B01]{Ball}TY106_Pre-Variation△○×□Ball Gimmick Announcement_Combination No.1_Forward Rotation XY Axis Data") is obtained.
In step S603, at the timer interrupt timing following the timer interrupt timing in which an operation pattern was selected from the special feature sub-scenario data D1, the CPU 41a performs processing according to the "operation type" information of the target row in the segmented operation management data D2.
If the row is "Operation Type" = "Drive Control Unit Operation", then the process of obtaining the name information described in "Part Name" in that row is performed.
Furthermore, if the row is "Operation Type" = "Waiting for Drive Control Unit Operation to Complete", the value described in the "Step" of that row is set to the "Scheduled Stop Time Timer". This scheduled stop time timer is a timer that is decremented with each timer interrupt, and "0" represents the arrival of the scheduled stop time. In step S706 of Figure 34, which will be described later, it is determined whether or not this scheduled stop time timer is less than 0, thereby determining whether or not the scheduled stop time has elapsed (i.e., the operation completion confirmation process described above).
Here, as mentioned above, the operation of a moving part may be defined as having multiple axes of operation. In that case, consecutive rows of "Operation Type" = "Waiting for Drive Control Unit Operation to Complete" are provided in the segmented operation management data D2. When consecutive rows of "Operation Type" = "Waiting for Drive Control Unit Operation to Complete" are provided in this way, as the processing in step S603, the CPU 41a sets the value of the scheduled stop time timer for the corresponding axis based on the "Step" value of each of those consecutive rows.

また、CPU41aは、選択した一の動作パターンにおける一つ目の区分動作についてての処理が完了し、2個目以降の区分動作についての処理を開始する場合には、ステップS603の処理として、以下の処理を行う。
すなわち、特定した区分動作が「B01_No1_wait」のような待機動作としての区分動作であって、該区分動作の管理データが「動作種別」=「待機」の行のみであった場合、CPU41aは、ステップS603の処理として、該行の「ステップ」の値が示す待機時間が経過したか否かを毎割込みタイミング判定する処理を行う。そして、待機時間が経過したと判定した割込みタイミングのステップS603でCPU41aは、選択中の一の動作パターンにおける次の区分動作について、区分動作管理データD2を用いた処理を開始する。すなわち、ここで説明している2個目以降の区分動作についての処理を開始する。
Furthermore, when the CPU 41a has completed processing for the first segment of the selected operation pattern and is ready to start processing for the second and subsequent segment operations, it performs the following processing as step S603.
In other words, if the identified segmented operation is a standby operation such as "B01_No1_wait", and the management data for that segmented operation consists only of rows where "operation type" = "standby", then the CPU 41a performs a check at each interrupt timing to determine whether the waiting time indicated by the "step" value of that row has elapsed, as the processing for step S603. Then, at step S603 of the interrupt timing in which it is determined that the waiting time has elapsed, the CPU 41a starts processing for the next segmented operation in the selected operation pattern using the segmented operation management data D2. In other words, it starts processing for the second and subsequent segmented operations described here.

また、特定した区分動作が「B01_No2」のような動作パーツとしての区分動作であった場合、CPU41aは、上記により説明した一つ目の区分動作についての処理と同様の処理を行う。つまり、「パーツ名」に記述された名称情報を取得する処理、及び「動作種別」=「駆動制御部動作終了待ち」の行における「ステップ」の値を停止予定時間タイマにセットする処理を行う。 Furthermore, if the identified segmented operation is a segmented operation of an operating part, such as "B01_No.2", the CPU 41a performs the same processing as described above for the first segmented operation. That is, it performs the process of acquiring the name information described in "Part Name," and the process of setting the value of "Step" in the row where "Operation Type" = "Waiting for Drive Control Unit Operation to Complete" to the scheduled stop time timer.

CPU41aは、役物サブシナリオデータD1から選択した一の動作パターンに含まれる全ての区分動作について、上記したような区分動作管理データD2に基づく処理を完了した場合は、ステップS603の処理として、演出シナリオデータと演出シナリオタイマとに基づき新たに動作パターンが選択されたか否かを毎割込みタイミング判定する処理を行う。このような毎割込みタイミングの判定を行った結果、新たに動作パターンが選択されたと判定した場合、CPU41aは、以降のタイマ割込みタイミングでのステップS603の処理として、該新たに選択された動作パターンについて、区分動作管理データD2に基づき、上記により説明した処理と同様の処理を行う。 If the CPU 41a has completed processing based on the segmental operation management data D2 as described above for all segmental operations included in an operation pattern selected from the sub-scenario data D1, then as the process in step S603, it performs a check at each interrupt timing to determine whether a new operation pattern has been selected based on the performance scenario data and the performance scenario timer. If, as a result of this check at each interrupt timing, it is determined that a new operation pattern has been selected, then as the process in step S603 at subsequent timer interrupt timings, the CPU 41a performs the same processing as described above for the newly selected operation pattern based on the segmental operation management data D2.

図34は、演出制御側タイマ割込み処理におけるステップS604のSOL・MOT出力処理を示したフローチャートである。
この図34に示す処理は、選択中の区分動作が「B01_No1_wait」のような待機動作である場合には実行されず、選択中の区分動作が「B01_No1」や「B01_No2」のような動作パーツとしての動作である場合に対応して実行されるものである。
また、動作パーツが複数の軸の動作を定義したものである場合、図34に示す処理は、軸ごとに実行される。
Figure 34 is a flowchart showing the SOL/MOT output processing in step S604 of the timer interrupt processing on the performance control side.
The process shown in Figure 34 is not executed when the selected segment operation is a waiting operation such as "B01_No1_wait", but is executed in response to when the selected segment operation is an operation as an action part such as "B01_No1" or "B01_No2".
Furthermore, if the moving part defines the movement of multiple axes, the process shown in Figure 34 is executed for each axis.

ステップS604のSOL・MOT出力処理において、CPU41aは、先ずステップS701で、駆動状態レジスタの値を取得する処理を行う。すなわち、モータ駆動制御部51に対して、対象軸についての駆動ステータス値SRUNの問合せを行い、該駆動ステータス値SRUNを取得するものである。 In the SOL/MOT output processing of step S604, the CPU 41a first performs the process of acquiring the value of the drive status register in step S701. That is, it queries the motor drive control unit 51 for the drive status value SRUN for the target axis and acquires the drive status value SRUN.

ステップS701に続くステップS702でCPU41aは、駆動停止状態か否かを判定する。すなわち、本例の場合、取得した駆動ステータス値SRUNが「0」であるか否かを判定する。 In step S702, following step S701, the CPU 41a determines whether the drive is stopped or not. That is, in this example, it determines whether the acquired drive status value SRUN is "0".

ステップS702において、駆動停止状態であると判定した場合、CPU41aはステップS703に進んでレジスタ初期化処理、すなわちモータ駆動制御部51における対象軸のレジスタを初期化する指示をモータ駆動制御部51に対して行い、続くステップS704で受信・送信許可処理を行う。すなわち、モータ駆動制御部51からのデータ受信及びモータ駆動制御部51へのデータ送信を許可する処理を行う。 In step S702, if it is determined that the drive has stopped, the CPU 41a proceeds to step S703 to perform register initialization processing, that is, it instructs the motor drive control unit 51 to initialize the register of the target axis in the motor drive control unit 51. In the following step S704, it performs reception and transmission permission processing. That is, it performs processing to permit data reception from the motor drive control unit 51 and data transmission to the motor drive control unit 51.

そして、ステップS704に続くステップS705でCPU41aは、制御コマンド送信処理を行う。先の説明から理解されるように、選択中の区分動作が動作パーツとしての動作であり、且つモータ駆動制御部51が駆動停止状態(ステップS702:Yes)にある、つまり、該動作パーツとしての動作の開始直前の状態では、ステップS603の可動体役物動作更新処理において、区分動作管理データD2から、該動作パーツに対応する名称情報が特定されている。
ステップS705の制御コマンド送信処理では、このように特定された名称情報に基づき、制御コマンド管理データD3から該当するソースコードを特定し、特定したソースコードに従って、該動作パーツとしての動作を実現するための制御コマンドCdをモータ駆動制御部51に対して送信する処理を行う。
Then, in step S705 following step S704, the CPU 41a performs control command transmission processing. As can be understood from the above explanation, when the selected segment operation is an operation as an operating part, and the motor drive control unit 51 is in a drive-stopped state (step S702: Yes), that is, in the state immediately before the start of the operation as an operating part, the name information corresponding to the operating part is identified from the segment operation management data D2 in the movable body part operation update processing of step S603.
In the control command transmission process of step S705, based on the identified name information, the corresponding source code is identified from the control command management data D3, and a control command Cd for realizing the operation of the operating part is transmitted to the motor drive control unit 51 according to the identified source code.

CPU41aは、ステップS705の制御コマンド送信処理を実行したことに応じて、ステップS708に処理を進めて、受信・送信禁止処理、すなわちモータ駆動制御部51からのデータ受信及びモータ駆動制御部51へのデータ送信を禁止する処理を行い、ステップS604のSOL・MOT出力処理を終える。 In response to executing the control command transmission process in step S705, the CPU 41a proceeds to step S708, performing a receive/transmission prohibition process, that is, a process to prohibit data reception from the motor drive control unit 51 and data transmission to the motor drive control unit 51, and then completes the SOL/MOT output process in step S604.

また、CPU41aは、先のステップS702で駆動停止状態ではないと判定した場合は、ステップS706に処理を進めて停止予定時間を経過したか否かを判定する。具体的には、前述した停止予定時間タイマの値が「0」よりも小さいか否かを判定する。 Furthermore, if the CPU 41a determines in step S702 that the drive is not stopped, it proceeds to step S706 to determine whether the scheduled stop time has elapsed. Specifically, it determines whether the value of the scheduled stop time timer mentioned above is less than "0".

ステップS706において、停止予定時間を経過していないと判定した場合、CPU41aはステップS604のSOL・MOT出力処理を終える。 If, in step S706, it is determined that the scheduled stop time has not elapsed, the CPU 41a completes the SOL/MOT output processing in step S604.

一方、ステップS706において、停止予定時間を経過したと判定した場合、CPU41aはステップS707に進み、シナリオ終了処理を実行する。すなわち、実行中のサブシナリオ(動作パターン)に定義された可動体役物50の動作を強制停止する処理を行う。
これにより、モータ駆動制御部51に何らかの異常が生じて、実行中の動作が予定時間内に終了しなかった場合に対応して、フェールセーフ処理として、動作の強制停止を実現することができる。
本実施形態で用いるモータ駆動制御部51はフェールセーフ機能を有さないため、CPU41aの処理によりタイムアウト監視してフェールセーフを実現するというものである。
On the other hand, if the CPU 41a determines in step S706 that the scheduled stop time has elapsed, it proceeds to step S707 and executes the scenario termination process. That is, it performs a process to forcibly stop the operation of the movable mechanism 50 defined in the currently executing sub-scenario (operation pattern).
This allows for a fail-safe process to be implemented to forcibly stop the operation if any abnormality occurs in the motor drive control unit 51 and the operation being performed does not finish within the scheduled time.
Since the motor drive control unit 51 used in this embodiment does not have a fail-safe function, fail-safe operation is achieved by monitoring for timeouts through processing by the CPU 41a.

CPU41aは、ステップS707のシナリオ終了処理を行った場合は、先に説明したステップS708の受信・送信禁止処理を行い、ステップS604のSOL・MOT出力処理を終える。 If CPU 41a has completed the scenario termination process in step S707, it performs the receive/transmit disable process in step S708, as described earlier, and then completes the SOL/MOT output process in step S604.

なお、センサ入力停止モードによる動作が定義された動作パーツについては、図31で例示したような動作種別=駆動制御部動作終了待ちの行を設けず、ステップS706の判定処理を行わないことも考えられる。 Furthermore, for operating parts defined to operate in a sensor input stop mode, it is also possible to omit the operation type line (waiting for drive control unit operation completion) as exemplified in Figure 31, and omit the determination process in step S706.

ここで、上記のように本実施形態では、選択中の区分動作が動作パーツとしての動作である場合には、ステップS701及びS702の処理により、タイマ割込みごとに、モータ駆動制御部51に駆動制御ステータスの問合せ処理を行って、動作パーツとしての役物動作が完了したか否かを判定するものとしている。そして、ステップS705の処理により、動作パーツとしての役物動作が完了したと判定されてから、次の役物動作についての制御コマンド出力処理を行うようにされている。 In this embodiment, as described above, if the selected operation is an operation of an operating part, the motor drive control unit 51 is inquired about the drive control status for each timer interrupt in steps S701 and S702 to determine whether the operation of the operating part has been completed. Then, in step S705, after it is determined that the operation of the operating part has been completed, the control command output process for the next operating part is performed.

これにより、動作パーツとしての動作が完了する前に誤って次の制御コマンドCdが出力されてしまうこと防止を図ることができ、適切な役物動作制御を実現することができる。
This prevents the next control command Cd from being output incorrectly before the operation of the moving part is complete, thereby enabling proper control of the mechanism's operation.

(6.4.2 マイクロステップ駆動について)
前述のように、従来の役物モータ制御では、CPU41aがモータドライバに1ms周期で制御データを出力する方式であったため、動作速度的に、マイクロステップ駆動を実現することが実質的にできなかった。
本実施形態では、従来のようにCPU41aがモータドライバに直接的に制御データを出力するという構成は採らず、また、モータ駆動制御部51及びモータドライバ群52として、マイクロステップ駆動に対応したものを用いることで、役物モータをマイクロステップ駆動モードにより駆動すること(つまり可動体役物50をより滑らかに動かすこと)が可能とされている。
(6.4.2 Microstepping Drive)
As mentioned above, in conventional motor control systems, the CPU 41a outputs control data to the motor driver at a 1ms cycle, making it practically impossible to achieve microstepping in terms of operating speed.
In this embodiment, unlike conventional configurations in which the CPU 41a directly outputs control data to the motor driver, the motor drive control unit 51 and motor driver group 52 are configured to support microstepping, making it possible to drive the mechanism motor in microstepping mode (i.e., to move the movable mechanism 50 more smoothly).

ただし、役物モータをマイクロステップ駆動した場合には、モータ動作(回転)が何れの励磁相状態(電気角)で終了したかが不定となり、基準励磁相(基準ステップ位置)間の中途半端な励磁相状態でモータ動作が終了する場合もあり得る。その状態で停止励磁をかけてしまうと、モータを適切に停止保持できない虞がある。
具体的に、停止励磁は、駆動モードを2相励磁駆動モードに切り替えて行うものとされるが、マイクロステップ駆動終了時の電気角は、必ずしも2相励磁駆動モードにおける何れかの電気角に一致するとは限らず、マイクロステップ駆動終了時の電気角が2相励磁駆動モードにおける電気角に一致しない状態で停止励磁が行われると、停止の際に役物モータが大きく空転し、それに起因して可動体役物50にも大きな滑りが生じてしまう虞がある。
However, when a motor is driven using microstepping, it becomes uncertain which excitation phase state (electrical angle) the motor operation (rotation) ended in, and the motor operation may end in an intermediate excitation phase state between the reference excitation phases (reference step positions). If stop excitation is applied in that state, there is a risk that the motor may not be able to stop and hold properly.
Specifically, stop excitation is performed by switching the drive mode to a two-phase excitation drive mode. However, the electrical angle at the end of microstep driving does not necessarily coincide with any of the electrical angles in the two-phase excitation drive mode. If stop excitation is performed when the electrical angle at the end of microstep driving does not coincide with the electrical angle in the two-phase excitation drive mode, the motor of the mechanism may spin freely when stopping, which may cause significant slippage in the movable mechanism 50.

そこで、本実施形態では、役物モータ53をマイクロステップ駆動モードにより駆動させた後に停止させる際等、駆動モードをマイクロステップ駆動モードから2相励磁駆動モードに切り替える際に、役物モータの空転量が抑制されるように電気角の制御を行うという手法を採る。 Therefore, in this embodiment, when switching the drive mode from the microstep drive mode to the two-phase excitation drive mode, such as when stopping the motor 53 after driving it in microstep drive mode, a method is adopted in which the amount of idle rotation of the motor is controlled so as to suppress the amount of idle rotation of the motor.

以下、具体例を説明していく。
図35及び図36は、マイクロステップ駆動モードから2相励磁駆動モードへの切り替え時における電気角制御についての説明図であり、図35A及び図36Aではマイクロステップ駆動モード時の電気角を、図35B及び図36Bでは2相励磁駆動モード時の電気角をそれぞれ横軸=A相電流(%)、縦軸=B相電流(%)としたグラフ上に示している。
The following are some specific examples.
Figures 35 and 36 are explanatory diagrams regarding electrical angle control when switching from microstep drive mode to two-phase excitation drive mode. In Figures 35A and 36A, the electrical angle in microstep drive mode is shown on a graph, while in Figures 35B and 36B, the electrical angle in two-phase excitation drive mode is shown on a graph with the horizontal axis = A-phase current (%) and the vertical axis = B-phase current (%).

確認のため述べておくと、本例では、マイクロステップ駆動モードは2W1-2相励磁駆動モードであり、各A図に示すように、使用する電気角が22.5(360÷16)度ごとに定められている。以下では、マイクロステップ駆動モード時に使用する16個の電気角を、電気角=45度を基準として、電気角の増大側にそれぞれaからpと示すものとする。
一方、各B図に示す2相励磁駆動モード時は、使用する電気角は45度、135度、225度、315度の4個である。以下、2相励磁駆動モード時に使用する4個の電気角を、電気角=45度を基準として、電気角の増大側にそれぞれAからDと示すものとする。
For clarification, in this example, the microstep drive mode is the 2W1-2 phase excitation drive mode, and as shown in Figure A, the electrical angles used are defined in increments of 22.5 (360 ÷ 16) degrees. In the following, the 16 electrical angles used in the microstep drive mode will be denoted as a through p, with an electrical angle of 45 degrees as the baseline, and increasing from there.
On the other hand, in the two-phase excitation drive mode shown in each Figure B, there are four electrical angles used: 45 degrees, 135 degrees, 225 degrees, and 315 degrees. Hereafter, the four electrical angles used in the two-phase excitation drive mode will be denoted as A through D, with an electrical angle of 45 degrees as the reference point, and increasing from there.

マイクロステップ駆動モードでは、使用する電気角が2相励磁駆動モードよりも多数とされることで、役物モータの滑らかな駆動が可能とされている。 In microstep drive mode, the number of electrical angles used is greater than in two-phase excitation drive mode, enabling smoother operation of the motor for the mechanical parts.

ここで、図35は、回転方向=CW時における電気角の制御について示している。図中では、黒太矢印により回転方向=CW時における電気角の変化方向を示しており、該矢印が示すように、回転方向=CW時には、電気角は増大方向に変化していく。 Here, Figure 35 illustrates the control of the electrical angle when the rotation direction is CW (clockwise). In the figure, the thick black arrows indicate the direction of change in the electrical angle when the rotation direction is CW. As indicated by these arrows, the electrical angle increases when the rotation direction is CW.

本実施形態では、役物モータの回転方向がCWである場合におけるマイクロステップ駆動モードから2相励磁駆動モードへの切り替え時には、電気角を次のように制御する。
すなわち、マイクロステップ駆動モードから2相励磁駆動モードへの切り替え直前の電気角が電気角aからdの範囲(45度から112.5度の範囲=以下「第一範囲Rg1」と表記する)内であった場合には、電気角をB(135度:以下「第一電気角Ag1」と表記)に変化させる。
また、該切り替え直前の電気角が電気角eからhの範囲(135度から202.5度の範囲=以下「第二範囲Rg2」と表記する)内であった場合には、電気角をC(225度:以下「第二電気角Ag2」と表記)に変化させ、また、該切り替え直前の電気角が電気角iからlの範囲(225度から292.5度の範囲=以下「第三範囲Rg3」と表記する)内であった場合には、電気角をD(315度:以下「第三電気角Ag3」と表記)に変化させ、さらに、該切り替え直前の電気角が電気角mからpの範囲(315度から22.5度の範囲=以下「第四範囲Rg4」と表記する)内であった場合には、電気角をC(45度:以下「第四電気角Ag4」と表記)に変化させる。
In this embodiment, when switching from the microstep drive mode to the two-phase excitation drive mode when the rotation direction of the motor is CW, the electrical angle is controlled as follows.
In other words, if the electrical angle immediately before switching from the microstep drive mode to the two-phase excitation drive mode is within the range of electrical angles a to d (45 degrees to 112.5 degrees = hereinafter referred to as "first range Rg1"), the electrical angle is changed to B (135 degrees: hereinafter referred to as "first electrical angle Ag1").
Furthermore, if the electrical angle immediately before the switch is within the range of electrical angle e to h (135 degrees to 202.5 degrees = hereinafter referred to as "second range Rg2"), the electrical angle is changed to C (225 degrees: hereinafter referred to as "second electrical angle Ag2"). Also, if the electrical angle immediately before the switch is within the range of electrical angle i to l (225 degrees to 292.5 degrees = hereinafter referred to as "third range Rg3"), the electrical angle is changed to D (315 degrees: hereinafter referred to as "third electrical angle Ag3"). Moreover, if the electrical angle immediately before the switch is within the range of electrical angle m to p (315 degrees to 22.5 degrees = hereinafter referred to as "fourth range Rg4"), the electrical angle is changed to C (45 degrees: hereinafter referred to as "fourth electrical angle Ag4").

ここで、マイクロステップ駆動モードから2相励磁モードへの切り替え時に電気角を特定電気角に変化させるとは、2相励磁駆動モードによる駆動を該特定電気角から開始することを意味する。換言すれば、該特定電気角に対応するA相電流の値、B相電流の値の組み合わせで、2相励磁駆動モードによる駆動を開始するものである。例えば、2相励磁モードへの切り替え時に電気角Bに変化させるということは、「A相電流=-100%、B相電流=100%」の値の組み合わせによる駆動電流の出力で2相励磁駆動モードによる駆動を開始することを意味し、また、2相励磁モードへの切り替え時に電気角Cに変化させるということは、「A相電流=-100%、B相電流=-100%」の値の組み合わせによる駆動電流の出力で2相励磁駆動モードによる駆動を開始することを意味する。 Here, changing the electrical angle to a specific electrical angle when switching from microstep drive mode to two-phase excitation mode means starting the drive using the two-phase excitation drive mode from that specific electrical angle. In other words, the drive using the two-phase excitation drive mode is started with a combination of A-phase current and B-phase current values corresponding to that specific electrical angle. For example, changing the electrical angle to B when switching to two-phase excitation mode means starting the drive using the two-phase excitation drive mode with an output drive current of the combination of "A-phase current = -100% and B-phase current = 100%". Similarly, changing the electrical angle to C when switching to two-phase excitation mode means starting the drive using the two-phase excitation drive mode with an output drive current of the combination of "A-phase current = -100% and B-phase current = -100%".

図35で説明したような電気角制御を行うことで、2相励磁駆動モードへの切り替え直前における電気角がどのような電気角であったとしても、電気角の変化量が90度以内に抑えられる。
従って、マイクロステップ駆動モードから2相励磁駆動モードへの切り替え時における役物モータの空転量の抑制を図ることができ、可動体役物50の位置制御精度向上を図ることができる。
By performing electrical angle control as explained in Figure 35, the change in electrical angle can be kept within 90 degrees, regardless of the electrical angle immediately before switching to the two-phase excitation drive mode.
Therefore, the amount of idle rotation of the motor during switching from the microstep drive mode to the two-phase excitation drive mode can be suppressed, and the position control accuracy of the movable mechanism 50 can be improved.

ここで、本例では、上記のようなマイクロステップ駆動モードから2相励磁モードへの切り替え時における電気角制御は、モータドライバ群52におけるモータドライバが、前述したモータ駆動制御部51からの駆動モード切り替え指示に応じて自立的に行う(つまり、モータ駆動制御部51からの具体的な電気角の指示に依らずに行う)ものとされている。
具体的に、本例におけるモータドライバは、モータ駆動制御部51から駆動モードをマイクロステップ駆動モードから2相励磁駆動モードに切り替える指示が行われたことに応じて、役物モータの回転方向(CW/CCW)と、切り替え直前の電気角とに基づき、電気角の制御を行う。すなわち、上述のように、回転方向がCWの場合には、切り替え直前の電気角が第一範囲Rg1内であれば電気角=第一電気角Ag1(B)に制御し、また、切り替え直前の電気角が第二範囲Rg2内であれば電気角=第二電気角Ag2(C)に制御し、切り替え直前の電気角が第一範囲Rg3内であれば電気角=第三電気角Ag3(D)に制御し、切り替え直前の電気角が第一範囲Rg4内であれば電気角=第四電気角Ag4(A)に制御する。
なお、回転方向(CW/CCW)は、モータ駆動制御部51が前述した回転方向出力端子DIR(図27参照)より出力するDIR信号(回転方向指示信号)により識別可能である。
In this example, the electrical angle control during the switch from the microstep drive mode to the two-phase excitation mode is performed autonomously by the motor driver in the motor driver group 52 in response to the drive mode switching instruction from the motor drive control unit 51 (i.e., it is performed without relying on a specific electrical angle instruction from the motor drive control unit 51).
Specifically, in this example, the motor driver controls the electrical angle based on the rotation direction (CW/CCW) of the motor and the electrical angle immediately before the switch, in response to an instruction from the motor drive control unit 51 to switch the drive mode from microstep drive mode to two-phase excitation drive mode. That is, as described above, when the rotation direction is CW, if the electrical angle immediately before the switch is within the first range Rg1, the electrical angle is controlled to be the first electrical angle Ag1 (B), if the electrical angle immediately before the switch is within the second range Rg2, the electrical angle is controlled to be the second electrical angle Ag2 (C), if the electrical angle immediately before the switch is within the first range Rg3, the electrical angle is controlled to be the third electrical angle Ag3 (D), and if the electrical angle immediately before the switch is within the first range Rg4, the electrical angle is controlled to be the fourth electrical angle Ag4 (A).
The rotation direction (CW/CCW) can be identified by the DIR signal (rotation direction indicator signal) output by the motor drive control unit 51 from the rotation direction output terminal DIR (see Figure 27) mentioned above.

また、モータドライバは、回転方向がCCWの場合には、マイクロステップ駆動モードから2相励磁モードへの切り替え時に、図36に示すように電気角を変化させる。
すなわち、回転方向がCCWの場合には、切り替え直前の電気角が第一範囲Rg1内であれば電気角=第三電気角Ag3(D)に制御し、また、切り替え直前の電気角が第四範囲Rg4内であれば電気角=第二電気角Ag2(C)に制御し、切り替え直前の電気角が第三範囲Rg3内であれば電気角=第一電気角Ag1(B)に制御し、切り替え直前の電気角が第二範囲Rg2内であれば電気角=第四電気角Ag4(A)に制御する。
Furthermore, when the motor driver is rotating in a CCW direction, it changes the electrical angle as shown in Figure 36 when switching from the microstep drive mode to the two-phase excitation mode.
In other words, when the rotation direction is CCW, if the electrical angle immediately before switching is within the first range Rg1, the electrical angle is controlled to be the third electrical angle Ag3 (D); if the electrical angle immediately before switching is within the fourth range Rg4, the electrical angle is controlled to be the second electrical angle Ag2 (C); if the electrical angle immediately before switching is within the third range Rg3, the electrical angle is controlled to be the first electrical angle Ag1 (B); and if the electrical angle immediately before switching is within the second range Rg2, the electrical angle is controlled to be the fourth electrical angle Ag4 (A).

上記のような電気角の制御により、回転方向=CCWのときは、2相励磁駆動モードへの切り替え時に、電気角が最小で90度、最大で157.5度変化することになる。 Through the control of the electrical angle as described above, when the rotation direction is CCW, the electrical angle will change by a minimum of 90 degrees and a maximum of 157.5 degrees when switching to the two-phase excitation drive mode.

上記説明から理解されるように、本実施形態では、役物モータの回転方向が順方向の場合と逆方向の場合とで、第一励磁モード(マイクロステップ駆動モード)から第二励磁モード(2相励磁駆動モード)への切り替えが行われた際の電気角の変化量が異なるものとなっている。このとき、電気角の変化量は、順方向<逆方向である。
また、本実施形態では、モータドライバの制御上の1ステップあたりの電気角の変化量は、第一励磁モード<第二励磁モードである。
As can be understood from the above explanation, in this embodiment, the amount of change in the electrical angle when switching from the first excitation mode (microstep drive mode) to the second excitation mode (two-phase excitation drive mode) differs depending on whether the rotation direction of the motor is forward or reverse. In this case, the amount of change in the electrical angle is forward < reverse.
Furthermore, in this embodiment, the amount of change in the electrical angle per step in the motor driver's control is such that the first excitation mode < the second excitation mode.

ここで、本例の遊技機1では、下方向への駆動で演出位置に移動される可動体役物50yの駆動について、原点位置への戻り側(つまり上方向への駆動)に回転方向=CWを割り当てるようにしている。
仮に、原点位置への戻り側に回転方向=CCWを割り当てた場合には、可動体役物50yの原点位置での停止時に、電気角変化量が大きくなって(最大で157.5度の変化)可動体役物50yがずれ落ちてしまう虞がある。
これに対し、可動体役物50yの上側への駆動に回転方向=CWを割り当てるものとすれば、可動体役物50yの原点位置での停止時の電気角変化量は90度以内に抑えられるので、ずれ落ちの抑制を図ることができ、好適である。
In this example, in the gaming machine 1, the rotation direction = CW is assigned to the return to the origin position (i.e., the upward drive) when driving the movable mechanism 50y, which is moved to the performance position by a downward drive.
If the rotation direction = CCW is assigned to the return to the origin position, there is a risk that when the movable part 50y stops at the origin position, the amount of change in the electrical angle will be large (up to a maximum change of 157.5 degrees), causing the movable part 50y to slip down.
In contrast, if the rotational direction = CW is assigned to the upward drive of the movable component 50y, the change in electrical angle when the movable component 50y stops at its origin position can be kept within 90 degrees, thus suppressing slippage and making it preferable.

なお、可動体役物50の自重に限らず、何らかの外力(例えば、人力やバネの付勢力等)が可動体役物50に加えられる可能性はあるので、可動体役物50の移動可能な方向に対して可動余地があり、その状況で2相励磁駆動モードにより停止動作を実行したい場合には、上下方向以外の方向に移動可能な可動体役物50の駆動について、同様に回転方向=CWを割り当てることが考えられる。 Furthermore, since external forces (such as human force or spring biasing force) may be applied to the movable component 50, not just its own weight, if there is room for movement in the direction the movable component 50 can move, and a stopping operation is desired using the two-phase excitation drive mode in that situation, it is conceivable to similarly assign the rotation direction (CW) to the drive of the movable component 50 that can move in directions other than vertical.

ここで、2相励磁駆動モードへの切り替え時における電気角制御については、例えば、駆動モード切り替え直前の電気角に拘わらず、2相励磁駆動モードにおける第一電気角Ag1から第四電気角Ag4の何れか一つの電気角に制御するということも考えられるが、その場合には、駆動モード切り替え時の電気角の変化量が最大で360度となる。
そのような場合と比較すれば、図36に示したようなCCW時の電気角制御によっても、2相励磁駆動モードへの切り替え時のモータ空転量は抑えることができ、役物モータ53の位置制御精度向上を図ることができる。
Here, regarding the electrical angle control when switching to the two-phase excitation drive mode, it is conceivable to control it to one of the electrical angles from the first electrical angle Ag1 to the fourth electrical angle Ag4 in the two-phase excitation drive mode, regardless of the electrical angle immediately before the drive mode switch. However, in that case, the maximum change in electrical angle when switching drive modes would be 360 degrees.
Compared to such cases, the amount of motor idle when switching to the two-phase excitation drive mode can be suppressed even with the electrical angle control during CCW as shown in Figure 36, thereby improving the position control accuracy of the bonus motor 53.

図37は、モータドライバ52yの概略構成例を示している。なお、図37に示す構成は、モータドライバ群52における他のモータドライバにも適用可能である。
モータドライバ52yには、モータ駆動制御部51からの駆動モードの指定を受け付けるためのDMODE0端子、DMODE1端子、DMODE2端子の計三つの端子が設けられる。駆動モードの切り替え指示は、DMODE0、DMODE1、DMODE2の三つの値の組み合わせにより行われるが、詳細については後に改めて説明する。
Figure 37 shows a schematic example of the motor driver 52y configuration. Note that the configuration shown in Figure 37 is also applicable to other motor drivers in the motor driver group 52.
The motor driver 52y is provided with three terminals: DMODE0, DMODE1, and DMODE2, for receiving drive mode specifications from the motor drive control unit 51. The drive mode switching instruction is made by a combination of the three values DMODE0, DMODE1, and DMODE2, but the details will be explained later.

また、モータドライバ52yには、モータ駆動制御部51からの前述したDIR信号による回転方向指示を受け付けるためのCW/CCW端子、OUT信号(役物モータ53の駆動パルスの周期を示すパルス信号)を受け付けるためのCLK端子、ENABLE信号の入力端子であるENABLE端子が設けられている。なお、ENABLE信号については後述する。 Furthermore, the motor driver 52y is equipped with a CW/CCW terminal for receiving the rotation direction indication via the DIR signal from the motor drive control unit 51, a CLK terminal for receiving the OUT signal (a pulse signal indicating the period of the drive pulse of the component motor 53), and an ENABLE terminal, which is the input terminal for the ENABLE signal. The ENABLE signal will be described later.

さらに、モータドライバ52yには、役物モータに対する駆動電流を出力するための端子としてMOTyA+端子、MOTyA-端子、MOTyB+端子、MOTyB-端子の四つの端子が設けられている。MOTyA+端子及びMOTyA-端子は、前述したA相電流を出力するための端子であり、MOTyB+端子及びMOTyB-端子は、前述したB相電流を出力するための端子である。 Furthermore, the motor driver 52y is provided with four terminals for outputting drive current to the component motor: MOTYA+, MOTYA-, MOTYB+, and MOTYB-. The MOTYA+ and MOTYA- terminals are for outputting the aforementioned A-phase current, while the MOTYB+ and MOTYB- terminals are for outputting the aforementioned B-phase current.

図示のようにモータドライバ52yは、デコード部521、モータ制御回路522、A相電流出力回路523A、及びB相電流出力回路523Bを備えている。
デコード部521は、上述したDMODE0端子からDMODE2端子、CW/CCW端子、CLK端子、及びENABLE端子からの入力信号をデコードし、モータ制御回路522に出力する。
As shown in the figure, the motor driver 52y includes a decoding unit 521, a motor control circuit 522, an A-phase current output circuit 523A, and a B-phase current output circuit 523B.
The decoding unit 521 decodes the input signals from the DMODE0 terminal to the DMODE2 terminal, the CW/CCW terminal, the CLK terminal, and the ENABLE terminal as described above, and outputs them to the motor control circuit 522.

A相電流出力回路523A、B相電流出力回路523Bは、モータ制御回路522の制御に基づき、A相電流、B相電流を生成し、それぞれMOTyA+端子及びMOTyA-端子、MOTyB+端子及びMOTyB-端子を介して対応する役物モータに出力する。 The A-phase current output circuit 523A and the B-phase current output circuit 523B generate A-phase current and B-phase current based on the control of the motor control circuit 522, and output them to the corresponding component motors via the MOTyA+ terminal and MOTyA- terminal, and the MOTyB+ terminal and MOTyB- terminal, respectively.

モータ制御回路522は、デコード部521によりデコードされた各信号に基づき、A相電流出力回路523A、B相電流出力回路523BによるA相電流の生成動作、B相電流の生成動作を制御することで、上記したCW/CCW端子、CLK端子等の各入力端子からの入力信号に従った役物モータの動作を実現するためのA相電流、B相電流をそれぞれ生成させる。 The motor control circuit 522 controls the generation of A-phase current and B-phase current by the A-phase current output circuit 523A and B-phase current output circuit 523B based on the signals decoded by the decoding unit 521. This generates the A-phase and B-phase currents necessary to operate the motor according to the input signals from the CW/CCW terminals, CLK terminals, and other input terminals.

モータ制御回路522は、電気角検出部522aを有している。電気角検出部522aは、制御中の電気角を検出する。マイクロステップ駆動モード、2相励磁駆動モードの何れにおいても、役物モータを回転させるための電気角の制御は電気角検出部522aが行っている。電気角検出部522aは、モータ制御回路522が自身で制御している電気角を検出する機能をブロック化して示したものである。 The motor control circuit 522 has an electrical angle detection unit 522a. The electrical angle detection unit 522a detects the electrical angle during control. In both the microstep drive mode and the two-phase excitation drive mode, the electrical angle control unit 522a controls the electrical angle necessary to rotate the motor. The electrical angle detection unit 522a is a block representation of the function of the motor control circuit 522 that detects the electrical angle it controls.

本例では、先の図35や図36で説明した駆動モード切り替え時の電気角制御は、モータドライバ52yにおけるモータ制御回路522が実行する。 In this example, the electrical angle control during drive mode switching, as explained in Figures 35 and 36, is performed by the motor control circuit 522 in the motor driver 52y.

図38は、実施形態としての電気角制御を実現するためにモータ制御回路522が実行する処理手順の例を示したフローチャートである。
図38において、モータ制御回路522は先ずステップS1001で、第一励磁モードから第二励磁モードへの切り替え指示があったか否かを判定する。具体的に本例では、マイクロステップ駆動モードから2相励磁駆動モードへの切り替え指示があったか否かを判定するものである。
なお、本例において、駆動モードの識別は、後に説明するようにDMODE0端子からDMODE2端子への入力信号のH/Lの組み合わせによって可能とされている。
Figure 38 is a flowchart showing an example of the processing procedure executed by the motor control circuit 522 to realize electrical angle control as an embodiment.
In Figure 38, the motor control circuit 522 first determines in step S1001 whether or not there has been an instruction to switch from the first excitation mode to the second excitation mode. Specifically in this example, it determines whether or not there has been an instruction to switch from the microstep drive mode to the two-phase excitation drive mode.
In this example, the drive mode can be identified by the combination of H/L input signals from the DMODE0 terminal to the DMODE2 terminal, as will be explained later.

ステップS1001において、第一励磁モードから第二励磁モードへの切り替え指示がないと判定した場合、モータ制御回路522は図38に示す一連の処理を終える。 If, in step S1001, it is determined that there is no instruction to switch from the first excitation mode to the second excitation mode, the motor control circuit 522 completes the series of processes shown in Figure 38.

一方ステップS1001において、第一励磁モードから第二励磁モードへの切り替え指示があったと判定した場合、モータ制御回路522はステップS1002に進み、回転方向がCW/CCWの何れであるかを判定する。 On the other hand, if step S1001 determines that there is an instruction to switch from the first excitation mode to the second excitation mode, the motor control circuit 522 proceeds to step S1002 and determines whether the rotation direction is CW or CCW.

回転方向がCWであれば、モータ制御回路522はステップS1003に進み、切り替え直前の電気角が前述した第一範囲Rg1から第四範囲Rg4の何れに属するかに応じて処理を分岐する。 If the rotation direction is CW, the motor control circuit 522 proceeds to step S1003 and branches the processing according to which of the aforementioned first range Rg1 to fourth range Rg4 the electrical angle immediately before switching belongs to.

すなわち、モータ制御回路522は、切り替え直前の電気角が第一範囲Rg1内であれば、ステップS1004で電気角を第一電気角Ag1(B)に制御し、図38に示す一連の処理を終える。
また、モータ制御回路522は、切り替え直前の電気角が第二範囲Rg2内であればステップS1005で電気角を第二電気角Ag2(C)に制御して図38に示す一連の処理を終え、切り替え直前の電気角が第三範囲Rg3内であれば電気角を第三電気角Ag3(D)に制御して図38に示す一連の処理を終え、さらに、切り替え直前の電気角が第四範囲Rg4内であれば電気角を第四電気角Ag4(A)に制御して図38に示す一連の処理を終える。
In other words, if the electrical angle immediately before switching is within the first range Rg1, the motor control circuit 522 controls the electrical angle to the first electrical angle Ag1(B) in step S1004, and completes the series of processes shown in Figure 38.
Furthermore, if the electrical angle immediately before switching is within the second range Rg2, the motor control circuit 522 controls the electrical angle to the second electrical angle Ag2(C) in step S1005 and completes the series of processes shown in Figure 38. If the electrical angle immediately before switching is within the third range Rg3, it controls the electrical angle to the third electrical angle Ag3(D) and completes the series of processes shown in Figure 38. In addition, if the electrical angle immediately before switching is within the fourth range Rg4, it controls the electrical angle to the fourth electrical angle Ag4(A) and completes the series of processes shown in Figure 38.

また、モータ制御回路522は、先のステップS1002で回転方向がCCWであると判定した場合には、ステップS1008に処理を進めて切り替え直前の電気角が第一範囲Rg1から第四範囲Rg4の何れに属するかに応じて処理を分岐する。 Furthermore, if the motor control circuit 522 determines in step S1002 that the rotation direction is CCW, it proceeds to step S1008 and branches the process depending on which of the four ranges (first range Rg1 to fourth range Rg4) the electrical angle immediately before switching belongs to.

すなわち、モータ制御回路522は、ステップS1008で切り替え直前の電気角が第一範囲Rg1内と判定した場合は、ステップS1009で電気角を第三電気角Ag3(D)に制御し、図38に示す一連の処理を終える。
また、モータ制御回路522は、ステップS1008で切り替え直前の電気角が第四範囲Rg4内と判定した場合は、ステップS1010で電気角を第二電気角Ag2(C)に制御して図38に示す一連の処理を終え、ステップS1008で切り替え直前の電気角が第三範囲Rg3内と判定した場合はステップS1011で電気角を第一電気角Ag1(B)に制御して図38に示す一連の処理を終え、さらに、ステップS1008で切り替え直前の電気角が第二範囲Rg2内と判定した場合はステップS1012で電気角を第四電気角Ag4(A)に制御して図38に示す一連の処理を終える。
In other words, if the motor control circuit 522 determines in step S1008 that the electrical angle immediately before switching is within the first range Rg1, it controls the electrical angle to the third electrical angle Ag3(D) in step S1009, and completes the series of processes shown in Figure 38.
Furthermore, if the motor control circuit 522 determines in step S1008 that the electrical angle immediately before switching is within the fourth range Rg4, it controls the electrical angle to the second electrical angle Ag2(C) in step S1010 and completes the series of processes shown in Figure 38. If the motor control circuit 522 determines in step S1008 that the electrical angle immediately before switching is within the third range Rg3, it controls the electrical angle to the first electrical angle Ag1(B) in step S1011 and completes the series of processes shown in Figure 38. Moreover, if the motor control circuit 522 determines in step S1008 that the electrical angle immediately before switching is within the second range Rg2, it controls the electrical angle to the fourth electrical angle Ag4(A) in step S1012 and completes the series of processes shown in Figure 38.

(6.4.3 プリレジスタの使用について)
先の図27に示したように、本実施形態におけるモータ駆動制御部51は、プリレジスタ部74を有している。
プリレジスタ部74におけるプリレジスタは、レジスタ部73におけるレジスタにセットした制御コマンドCdに従った動作の実行後に続きの動作を実行させたい場合に、該続きの動作を実現するための制御コマンドCdを予めセットしておくことを可能とするために設けられたレジスタである。
プリレジスタに制御コマンドCdをプリセットしておけば、レジスタ部73にセットした制御コマンドCdに従った動作の終了後に、プリレジスタにセットした制御コマンドCdがレジスタ部73のレジスタにスライドされ、次の動作が開始されるものとなる。
(6.4.3 Regarding the use of pre-registers)
As shown in Figure 27 above, the motor drive control unit 51 in this embodiment has a pre-resistor unit 74.
The pre-registers in the pre-register section 74 are registers provided to allow pre-setting of control commands Cd to realize subsequent operations when it is desired to execute a subsequent operation after the execution of an operation according to a control command Cd set in the registers in the register section 73.
If a control command Cd is pre-set in the pre-register, after the operation according to the control command Cd set in the register section 73 is completed, the control command Cd set in the pre-register will be slid into the register of the register section 73, and the next operation will begin.

このようなプリレジスタを用いることで、CPU41aのタイマ割込み周期(本例では1ms周期)に依存せず、すなわち1msの空白を生じさせずに、モータ駆動制御部51に次の役物モータ動作の制御を開始させることができる。 By using such pre-registers, the motor drive control unit 51 can initiate control of the next motor operation without depending on the timer interrupt period of the CPU 41a (1ms period in this example), that is, without creating a 1ms gap.

ただし、本実施形態で用いるモータ駆動制御部51はフェールセーフ機能を有さないため、プリレジスタを使用した場合は、レジスタ部73にセットした直前動作がエラーとなったとしても、次の役物モータ動作の制御が実行されてしまうという不都合がある。 However, since the motor drive control unit 51 used in this embodiment does not have a fail-safe function, when a pre-register is used, there is a drawback in that even if the immediately preceding operation set in the register unit 73 results in an error, the control for the next motor operation will still be executed.

そこで、本実施形態では、基本的には、プリレジスタを使用しない(つまりレジスタ部73のみを使用する)役物モータ動作制御とし、一部の一連動作についてのみ、プリレジスタを使用する役物モータ動作制御を採用する。 Therefore, in this embodiment, the motor operation control for the special feature basically does not use a pre-register (i.e., only the register unit 73 is used), and the motor operation control for the special feature does use a pre-register only for a certain series of operations.

具体的には、例えば、位置センサまで到達したら減速するという一連動作等、役物モータの回転速度を途中で変化させる一連動作についてのみ、プリレジスタを使用する役物モータ動作制御を採用する。
仮に、速度変化前の動作に対応する制御コマンドCdと速度変化後の動作に対応した制御コマンドCdとを時分割でレジスタ部73にセットする手法を採った場合には、速度変化の際に1msの空白が生じるものとなって、役物モータが脱調してしまう虞がある。このため、「センサ到達までの動作」「センサ到達後の減速の動作」をそれぞれレジスタ部73、プリレジスタ部74にセットする。
この場合、前述した停止予定時間タイマについては、これら「センサ到達までの動作」と「センサ到達後の減速の動作」との合計時間に相当する値をセットするものとし、後者の動作の終了予定タイミングをタイマ割込み処理(ステップS702)で確認するようにする。
Specifically, pre-register-based motor operation control is employed only for a series of operations that change the rotation speed of the motor midway, such as a series of operations that decelerate once it reaches the position sensor.
If a method were adopted in which control commands Cd corresponding to the operation before the speed change and control commands Cd corresponding to the operation after the speed change were set in the register unit 73 using time division, a 1ms gap would occur when the speed changes, which could cause the motor to lose synchronism. For this reason, the "operation until the sensor is reached" and the "deceleration operation after the sensor is reached" are set in the register unit 73 and the pre-register unit 74, respectively.
In this case, the aforementioned scheduled stop time timer will be set to a value equivalent to the total time of the "operation until the sensor is reached" and the "deceleration operation after the sensor is reached," and the scheduled end time of the latter operation will be confirmed by timer interrupt processing (step S702).

ここで、プリレジスタを使用する場合、図31に示した区分動作管理データD2において、動作種別=駆動制御部動作の行を連続して設け、それらの行に対応する動作を定義したパーツ名の情報を記述するようにしておく。
CPU41aは、このように動作種別=駆動制御部動作の行が連続している場合には、一方の行(例えば先行行)のパーツ名から特定される制御コマンドCdをレジスタ部73にセットする指示をモータ駆動制御部51に対して行い、他方の行(例えば後行行)のパーツ名から特定される制御コマンドCdをプリレジスタ部74にセットする指示をモータ駆動制御部51に対して行う。
When using pre-registers, in the segmented operation management data D2 shown in Figure 31, rows for operation type = drive control unit operation are provided consecutively, and information about the part name that defines the operation corresponding to those rows is described.
When the rows of operation types = drive control unit operations are consecutive in this manner, the CPU 41a instructs the motor drive control unit 51 to set the control command Cd identified from the part name of one row (for example, the preceding row) in the register unit 73, and instructs the motor drive control unit 51 to set the control command Cd identified from the part name of the other row (for example, the following row) in the pre-register unit 74.

また、プリレジスタの使用法としては、以下のような例も考えられる。
ここでは、可動体役物50の一連動作として、1)原点まで移動(位置センサまで移動)、2)原点内押し込み(位置決め動作)、3)停止励磁(例えば、100ms等の所定時間)を想定する。
この場合、1)の動作の開始時に、1)の動作分の制御コマンドCdをレジスタに、また2)の動作分の制御コマンドCdをプリレジスタ部47に書き込む。これにより、1)の動作の終了後に自動的にプリレジスタのデータがレジスタに書き込まれて1)及び2)の連続動作が実現される。
このとき、3)の動作については初期時に登録することはできないので、プリレジスタのデータがレジスタ部73に書き込まれたことを監視し、プリレジスタ部74に空きが生じてから3)の動作分の制御コマンドCdをプリレジスタ部74に書き込む等の対応制御を行うことが考えられる。
Furthermore, the following are some possible uses of pre-registers.
Here, the sequence of operations for the movable component 50 is assumed to be: 1) movement to the origin (movement to the position sensor), 2) pushing in within the origin (positioning operation), and 3) stopping excitation (for example, for a predetermined time such as 100 ms).
In this case, at the start of operation 1), the control command Cd for operation 1) is written to the register, and the control command Cd for operation 2) is written to the pre-register section 47. As a result, after the completion of operation 1), the data from the pre-register is automatically written to the register, enabling the continuous operation of 1) and 2).
In this case, since operation 3) cannot be registered at the initial stage, it is conceivable to monitor that the data in the pre-register has been written to the register section 73, and then, once the pre-register section 74 becomes available, perform corresponding control such as writing the control command Cd for operation 3) to the pre-register section 74.

[6.5 実施形態としての電流値切り替え、及び起動時のモータ誤動作対策]
図39は、モータ駆動制御部51の周辺回路の構成例を示した回路・ブロック図である。
ここでは、モータ駆動制御部51の周辺回路構成の例と共に、演出制御基板41も併せて示している。
また、図39では、モータ駆動制御部51の周辺回路構成について、X軸の回路構成のみを抽出して示している。
[6.5 Current value switching as an embodiment, and measures to prevent motor malfunction during startup]
Figure 39 is a circuit block diagram showing an example of the configuration of the peripheral circuits of the motor drive control unit 51.
Here, an example of the peripheral circuit configuration of the motor drive control unit 51 is shown, along with the performance control board 41.
Furthermore, Figure 39 shows only the X-axis circuit configuration of the peripheral circuit configuration of the motor drive control unit 51.

ここでは、モータ駆動制御部51が有する端子のうちX軸のOUT信号(OUTx信号)の出力端子であるパルス信号出力端子OUTx、X軸のDIR信号(DIRx信号)の出力端子である回転方向出力端子DIRx、及びX軸の汎用入出力端子P0、P1、P2、P3である汎用入出力端子P0x、P1x、P2x、P3xを示している。 Here, we show the pulse signal output terminal OUTx, which is the output terminal for the X-axis OUT signal (OUTx signal), the rotation direction output terminal DIRx, which is the output terminal for the X-axis DIR signal (DIRx signal), and the general-purpose input/output terminals P0x, P1x, P2x, and P3x, which are the general-purpose input/output terminals P0, P1, P2, and P3 of the X-axis.

また、図中、モータドライバ52x、役物モータ53xは、それぞれモータドライバ群52におけるX軸のモータドライバ、役物モータ群53におけるX軸の役物モータを表しており、位置センサ55xは位置センサ群55における可動体役物50xに対して設けられた位置センサを表している。 Furthermore, in the figure, the motor driver 52x and the mechanism motor 53x represent the X-axis motor driver in the motor driver group 52 and the X-axis mechanism motor in the mechanism motor group 53, respectively, and the position sensor 55x represents the position sensor provided for the movable mechanism 50x in the position sensor group 55.

本例のモータ駆動制御部51では、汎用入出力端子P0が位置決め用センサ信号の入力端子として選択されており、図示のように位置センサ55xによる検出信号は、バッファ91xを介して汎用入出力端子P0xに入力される。 In this example, the motor drive control unit 51 has the general-purpose input/output terminal P0 selected as the input terminal for the positioning sensor signal. As shown in the figure, the detection signal from the position sensor 55x is input to the general-purpose input/output terminal P0x via the buffer 91x.

モータドライバ52xは、モータ駆動制御部51からのOUTx信号が入力されるクロック(CLK)端子と、DIRx信号が入力される回転方向(CW/CCW)入力端子とを有している。
また、モータドライバ52xは、役物モータ53xに対する駆動電流(モータ駆動電流)の出力端子として、A相及びB相それぞれ正負2極性分の計四つの出力端子を有している。
また、モータドライバ52xは、ENABLE信号が入力されるENABLE端子と、基準電圧Vrefの入力端子であるVref端子とを有している。
The motor driver 52x has a clock (CLK) terminal to which the OUTx signal from the motor drive control unit 51 is input, and a rotation direction (CW/CCW) input terminal to which the DIRx signal is input.
Furthermore, the motor driver 52x has a total of four output terminals, each with two polarities (positive and negative) for the A phase and B phase, which serve as output terminals for the drive current (motor drive current) to the bonus motor 53x.
Furthermore, the motor driver 52x has an ENABLE terminal to which an ENABLE signal is input, and a Vref terminal which is an input terminal for a reference voltage Vref.

モータドライバ52xは、ENABLE信号がONの状態において、Vref端子に入力される基準電圧Vrefに応じた電流値によるモータ駆動電流を役物モータ53xに出力するように構成されている。このとき、モータ駆動電流としては、回転方向入力端子に入力されるDIRx信号に応じた極性による電流を出力する。また、モータドライバ52xは、クロック端子にOUTx信号が入力された場合は、該OUTx信号の周期に応じた周期のパルス波形を有するモータ駆動電流を出力する。 The motor driver 52x is configured to output a motor drive current to the component motor 53x with a current value corresponding to the reference voltage Vref input to the Vref terminal when the ENABLE signal is ON. At this time, the motor drive current output has a polarity corresponding to the DIRx signal input to the rotation direction input terminal. Furthermore, when the OUTx signal is input to the clock terminal, the motor driver 52x outputs a motor drive current having a pulse waveform with a period corresponding to the period of the OUTx signal.

ここで、後述するモータドライバ52yとしても、モータドライバ52xと同様の端子を有し、入力されるENEBLE信号、基準電圧Vref、DIR信号、及びOUT信号に応じてモータドライバ52xと同様にモータ駆動電流を出力する。 Here, the motor driver 52y, described later, has the same terminals as the motor driver 52x and outputs motor drive current in the same way as the motor driver 52x in response to the input ENEBLE signal, reference voltage Vref, DIR signal, and OUT signal.

また、本実施形態において、モータドライバ群52における各モータドライバは、役物モータの駆動モードとして少なくとも2相励磁駆動モードとマイクロステップ駆動モードとの間の切り替えが可能に構成されており、図示のようにモータドライバ52xは、駆動モード切り替えの指示を受け付けるための駆動モード端子として、DMODE0端子、DMODE1端子、及びDMODE2端子の三つの端子を有している。 Furthermore, in this embodiment, each motor driver in the motor driver group 52 is configured to switch between at least a two-phase excitation drive mode and a microstep drive mode as the drive mode for the special-purpose motor. As shown in the figure, the motor driver 52x has three terminals, DMODE0, DMODE1, and DMODE2, as drive mode terminals for receiving instructions to switch drive modes.

図40は、駆動モード端子への入力値と駆動モードとの対応関係を示した図である。
この図から分かるように、本例におけるモータドライバ52xは、DMODE0端子=Lレベル、DMODE1端子=Lレベル、DMODE2端子=Hレベルの入力に応じて自身の駆動モードを2相励磁駆動モードに設定し、DMODE0端子=Hレベル、DMODE1端子=Lレベル、DMODE2端子=Hレベルの入力に応じて自身の駆動モードをマイクロステップ駆動モードである2W1-2相励磁駆動モードに設定する。
Figure 40 shows the correspondence between the input value to the drive mode terminal and the drive mode.
As can be seen from this figure, in this example, the motor driver 52x sets its drive mode to the two-phase excitation drive mode in response to inputs of DMODE0 terminal = L level, DMODE1 terminal = L level, and DMODE2 terminal = H level, and sets its drive mode to the microstep drive mode, which is the 2W1-2 phase excitation drive mode, in response to inputs of DMODE0 terminal = H level, DMODE1 terminal = L level, and DMODE2 terminal = H level.

図39において、図示のようにDMODE1端子への入力信号はLレベルで固定され、またDMODE2端子への入力信号はHレベルで固定されている。従って、本例におけるモータドライバ52xにおいては、DMODE0端子への入力信号レベルをLレベルとHレベルとの間で切り替えることで、2相励磁駆動モードとマイクロステップ駆動モードとの切り替えを行うことが可能とされる。 In Figure 39, as shown, the input signal to the DMODE1 terminal is fixed at a low level, and the input signal to the DMODE2 terminal is fixed at a high level. Therefore, in this example, the motor driver 52x can switch between two-phase excitation drive mode and microstep drive mode by switching the input signal level to the DMODE0 terminal between a low level and a high level.

モータ駆動制御部51は、演出制御基板41からの制御コマンドCdにより役物モータの駆動モードが指定された場合には、指定された駆動モードを設定させるための駆動モード制御信号をモータドライバに対して出力する。具体的に、本例のモータ駆動制御部51(コマンド・レジスタ制御回路72)は、演出制御基板41からの制御コマンドCdにより2相励磁駆動モードが指示された場合はLレベルによる駆動モード制御信号を生成・出力し、マイクロステップ駆動モードが指示された場合はHレベルによる駆動モード制御信号を生成・出力する。
本例のモータ駆動制御部51においては、この駆動モード制御信号を、前述した汎用入出力端子P0~P3のうちの何れかより出力するようにされている。具体的に、本例のモータ駆動制御部51は、汎用入出力端子P1が駆動モード制御信号の出力端子となるように設定が為されている。
When the motor drive control unit 51 receives a control command Cd from the performance control board 41 to specify the drive mode of the special effect motor, it outputs a drive mode control signal to the motor driver to set the specified drive mode. Specifically, in this example, the motor drive control unit 51 (command register control circuit 72) generates and outputs a drive mode control signal at the L level when the two-phase excitation drive mode is instructed by the control command Cd from the performance control board 41, and generates and outputs a drive mode control signal at the H level when the microstep drive mode is instructed.
In the motor drive control unit 51 of this example, the drive mode control signal is output from one of the general-purpose input/output terminals P0 to P3 mentioned above. Specifically, in the motor drive control unit 51 of this example, the general-purpose input/output terminal P1 is set to be the output terminal for the drive mode control signal.

図示のようにモータドライバ52xにおけるDMODE0端子には、モータ駆動制御部51の汎用入出力端子P1xより上記の駆動モード制御信号が入力される。これにより、制御コマンドCdによる駆動モードの指示に応じて、モータドライバ52xが適切に2相励磁駆動モード/マイクロステップ駆動モードの切り替えを行うことが可能とされている。 As shown in the figure, the DMODE0 terminal of the motor driver 52x receives the above-mentioned drive mode control signal from the general-purpose input/output terminal P1x of the motor drive control unit 51. This allows the motor driver 52x to appropriately switch between two-phase excitation drive mode and microstep drive mode in response to the drive mode instruction by the control command Cd.

ここで、先の図25で説明した従来の遊技機においては、モータドライバ52x、52yとして、レジスタ設定によりモータ駆動電流値を所定段階(例えば、16段階等)で切り替えるように構成されたドライバが用いられていた。このため、演出制御基板41’のCPU41aは、該ドライバのレジスタ設定を行うことでモータ駆動電流値を弱電流(前述した待機時電流値:例えば、100mA程度)と強電流(前述した駆動時電流値:例えば、470mA程度)との間で切り替えるようにされていた。
確認のため述べておくと、モータ駆動電流についての上記弱電流と強電流の切り替えは、役物モータの駆動開始タイミング(弱電流→強電流)と、駆動終了タイミング(強電流→弱電流)とで行われるべきものである。
In the conventional gaming machine described in Figure 25 above, motor drivers 52x and 52y were used, configured to switch the motor drive current value in predetermined steps (for example, 16 steps) by register settings. Therefore, the CPU 41a of the performance control board 41' was configured to switch the motor drive current value between a weak current (the standby current value mentioned above: for example, about 100 mA) and a strong current (the drive current value mentioned above: for example, about 470 mA) by setting the registers of the driver.
To clarify, the switching between the weak and strong currents for the motor drive current should occur at the start timing of the motor's operation (weak current → strong current) and the end timing of its operation (strong current → weak current).

本実施形態の遊技機1では、モータドライバ52x(モータドライバ52yも同様)として、上記のようなレジスタ設定による電流値切り替え機能を有していないドライバを採用しており、上記のような従来手法に代わる新たなモータ駆動電流値の切り替え手法を採ることを要する。 In the gaming machine 1 of this embodiment, the motor driver 52x (and similarly the motor driver 52y) employs a driver that does not have the current value switching function by register setting as described above. Therefore, it is necessary to adopt a new motor drive current value switching method that replaces the conventional method described above.

本実施形態では、モータドライバ52xに設けられたVref端子を用いてモータ駆動電流値の切り替えを実現する構成を採る。具体的には、図中の切替回路92xを用いてモータ駆動電流値の切り替えを実現する。 In this embodiment, the motor drive current value is switched using the Vref terminal provided on the motor driver 52x. Specifically, the motor drive current value is switched using the switching circuit 92x shown in the figure.

図示のように切替回路92xに対しては、モータ駆動制御部51における汎用入出力端子P3xの出力信号を入力している。前述のように、本実施形態では汎用入出力端子P3はカレントアップダウン信号CDWNの出力に割り当てられているので、該カレントアップダウン信号CDWNが切替回路92xの入力信号として与えられる。 As shown in the figure, the output signal of the general-purpose input/output terminal P3x in the motor drive control unit 51 is input to the switching circuit 92x. As described above, in this embodiment, the general-purpose input/output terminal P3 is assigned to the output of the current up/down signal CDWN, so the current up/down signal CDWN is provided as the input signal to the switching circuit 92x.

切替回路92xは、所定レベルの電源電圧(本例ではDC5Vの電源電圧)を入力電圧とする可変分圧回路として構成されたものであり、図示のように抵抗R1、抵抗R2、抵抗R3、及びスイッチング素子Q1を有して構成されている。
この場合、スイッチング素子Q1にはNPN型のバイポーラトランジスタが用いられ、スイッチング素子Q1のコレクタは抵抗R1を介してDC5V電源に接続され、エミッタは抵抗R2を介して接地されている。また、DC5V電源に対しては、抵抗R1と並列に抵抗R3が接続され、この抵抗R3における、DC5V電源との接続点とは逆側の端部が、スイッチング素子Q1のエミッタと抵抗R2との接続点に対して接続されている。
スイッチング素子Q1のベースは、モータ駆動制御部51の汎用入出力端子P3xと接続される。これにより、カレントアップダウン信号CDWNがスイッチング素子Q1のON/OFF制御信号として与えられる。
切替回路92xにおいては、抵抗R3と抵抗R2との接続点が分圧出力点となり、この分圧出力点が、モータドライバ52xにおけるVref端子に接続されている。すなわち、切替回路92xにより分圧出力される電圧がモータドライバ52xの基準電圧Vrefとして与えられるものである。
The switching circuit 92x is configured as a variable voltage divider circuit that takes a predetermined level of power supply voltage (in this example, a DC 5V power supply voltage) as the input voltage, and is configured to include resistors R1, R2, R3, and a switching element Q1, as shown in the figure.
In this case, an NPN bipolar transistor is used as the switching element Q1. The collector of the switching element Q1 is connected to a 5V DC power supply via resistor R1, and the emitter is grounded via resistor R2. In addition, resistor R3 is connected in parallel with resistor R1 to the 5V DC power supply, and the end of resistor R3 opposite to the connection point with the 5V DC power supply is connected to the connection point between the emitter of the switching element Q1 and resistor R2.
The base of the switching element Q1 is connected to the general-purpose input/output terminal P3x of the motor drive control unit 51. As a result, the current up/down signal CDWN is supplied as the ON/OFF control signal for the switching element Q1.
In the switching circuit 92x, the connection point between resistor R3 and resistor R2 becomes the voltage divider output point, and this voltage divider output point is connected to the Vref terminal of the motor driver 52x. In other words, the voltage output by the switching circuit 92x is provided as the reference voltage Vref of the motor driver 52x.

上記構成による切替回路92xでは、カレントアップダウン信号CDWNがLレベル(OFFレベル)である場合には、スイッチング素子Q1がOFFとされる。このため、分圧出力点の電圧Vdは「Vd=R3/(R3+R2)×5V」と表される。
一方、カレントアップダウン信号CDWNがHレベル(ONレベル)である場合には、スイッチング素子Q1がONとされるため、分圧出力点の電圧は、R1とR3の合成抵抗値とR2とに基づく電圧となる。ここで、R1とR3の合成抵抗値は「R1×R3/(R1+R3)」である。この合成抵抗値をR0とすると、カレントアップダウン信号CDWNがHレベルである場合の電圧Vdは「R0/(R0+R2)×5V」と表される。このとき、R3>R0であるため、電圧Vdは、カレントアップダウン信号CDWNのLレベル→Hレベルの切り替えに対しては値が上昇し、Hレベル→Lレベルの切り替えに対しては値が低下する。
In the switching circuit 92x with the above configuration, when the current up/down signal CDWN is at an L level (OFF level), the switching element Q1 is turned OFF. Therefore, the voltage Vd at the voltage divider output point is expressed as "Vd = R3 / (R3 + R2) × 5V".
On the other hand, when the current up/down signal CDWN is at the H level (ON level), the switching element Q1 is turned ON, and the voltage at the voltage divider output point is a voltage based on the combined resistance of R1 and R3 and R2. Here, the combined resistance of R1 and R3 is "R1 × R3 / (R1 + R3)". If this combined resistance is R0, the voltage Vd when the current up/down signal CDWN is at the H level can be expressed as "R0 / (R0 + R2) × 5V". In this case, since R3 > R0, the voltage Vd increases when the current up/down signal CDWN switches from L level to H level, and decreases when it switches from H level to L level.

前述のように、モータドライバ52xはVref端子に入力される基準電圧Vrefに応じた電流値によるモータ駆動電流を役物モータ53xに出力するように構成されているので、上記のような切替回路92xの動作により、モータドライバ52xは、カレントアップダウン信号CDWNがLレベルの場合にはモータ駆動電流として弱電流を出力し、カレントアップダウン信号CDWNがHレベルの場合にはモータ駆動電流として強電流を出力することができる。 As described above, the motor driver 52x is configured to output a motor drive current to the component motor 53x that corresponds to a current value corresponding to the reference voltage Vref input to the Vref terminal. Therefore, through the operation of the switching circuit 92x as described above, the motor driver 52x can output a weak current as the motor drive current when the current up/down signal CDWN is at a low level, and a strong current as the motor drive current when the current up/down signal CDWN is at a high level.

上記のように本実施形態では、モータ駆動電流の弱電流/強電流の切り替えが、モータ駆動制御部51による切替回路92xの制御により行われるものとなる。すなわち、弱電流/強電流の切り替えを実現するにあたり、従来のように演出制御基板41’のCPU41aがモータドライバに対して直接的に駆動電流値の切り替え指示を行う必要がなくなる。
従って、可動体役物50の制御に係るCPU41aの処理負担軽減、及び該制御に係るソフトウェア作成作業の負担軽減を図ることができる。
As described above, in this embodiment, the switching between weak and strong motor drive currents is performed by the motor drive control unit 51 controlling the switching circuit 92x. In other words, in order to achieve the switching between weak and strong currents, it is no longer necessary for the CPU 41a of the performance control board 41' to directly instruct the motor driver to switch the drive current value, as in the conventional method.
Therefore, the processing load on the CPU 41a related to the control of the movable mechanism 50 can be reduced, and the burden of software creation work related to said control can also be reduced.

図41に、カレントアップダウン信号CDWNに応じたモータ駆動電流値の切り替えの様子を例示する。
先の図28を参照して説明したように、演出制御基板41からのスタートコマンドにより役物モータ53xの駆動開始が指示されたタイミング(CSTA)で、カレントアップダウン信号CDWNがOFFレベル(Lレベル)からONレベル(Hレベル)に変化する。上記した切替回路92xの動作により、このようなカレントアップダウン信号CDWNのOFFレベル→ONレベルの変化に応じて、モータドライバ52xから役物モータ53xに対するモータ駆動電流の電流値が弱電流としての電流値から強電流としての電流値に徐々に変化していく。このとき、カレントアップ期間が設けられることで、モータ駆動電流値を強電流(駆動時電流値)に上昇させるための十分な期間が確保される点は前述した通りである。
Figure 41 illustrates how the motor drive current value is switched in response to the current up/down signal CDWN.
As explained with reference to Figure 28 above, at the timing (CSTA) when the start command from the performance control board 41 instructs the start of driving the gimmick motor 53x, the current up-down signal CDWN changes from the OFF level (L level) to the ON level (H level). Due to the operation of the switching circuit 92x described above, in response to this change from the OFF level to the ON level of the current up-down signal CDWN, the current value of the motor drive current supplied from the motor driver 52x to the gimmick motor 53x gradually changes from a weak current to a strong current. As mentioned above, the current up period ensures a sufficient period to increase the motor drive current value to a strong current (driving current value).

また、カレントアップダウン信号CDWNは、OUTx信号のパルス出力の停止タイミングから所定のカレントダウン期間が経過したことに応じてONレベルからOFFレベルに変化する。このようなカレントアップダウン信号CDWNのONレベル→OFFレベルの変化に対しては、上記した切替回路92xの動作により、モータドライバ52xから役物モータ53xに対するモータ駆動電流の電流値が強電流としての電流値から弱電流としての電流値に徐々に低下していく。
なお、カレントダウン期間が設けられることで、役物モータ53xが確実に停止する時間を確保することができる点は前述した通りである。
Furthermore, the current up/down signal CDWN changes from the ON level to the OFF level depending on the timing of the OUTx signal pulse output stopping and a predetermined current down period has elapsed. In response to this change from the ON level to the OFF level of the current up/down signal CDWN, the operation of the switching circuit 92x described above causes the motor drive current value from the motor driver 52x to the component motor 53x to gradually decrease from a high current value to a low current value.
As mentioned earlier, the current down period ensures that there is sufficient time for the motor 53x to stop completely.

ここで、上記では、弱電流/強電流の切り替えのために切替回路92xに入力する信号としてカレントアップダウン信号CDWNを用いる例としたが、該信号については、役物モータの駆動の開始タイミングと終了タイミングでそれぞれ値が反転する信号であれば、他の信号を用いることもできる。
ここで言う「開始タイミング」「終了タイミング」における「タイミング」は、厳密な「時点」のみを指すものではなく、或る程度の時間幅を持つ概念である。
In the above example, a current up/down signal CDWN was used as the signal input to the switching circuit 92x for switching between weak and strong current. However, other signals can be used as long as their values are reversed at the start and end timings of the motor's operation.
In this context, "timing" in "start timing" and "end timing" does not refer only to a precise "point in time," but rather to a concept that encompasses a certain period of time.

図39において、ENABLE制御回路93xは、モータドライバ52xに入力するENABLE信号のレベルを制御する。 In Figure 39, the ENABLE control circuit 93x controls the level of the ENABLE signal input to the motor driver 52x.

ここで、仮に、モータ駆動制御部51がモータドライバ52xのENABLE信号をON/OFF制御する構成とした場合には、モータ駆動制御部51の起動時においてENABLE信号のレベルが不定となり、役物モータ53xの誤動作を招来する虞がある。
そこで、本実施形態では、ENABLE制御回路93xを設けてその対策を行うものとしている。
Here, if the motor drive control unit 51 is configured to control the ENABLE signal of the motor driver 52x by turning it ON/OFF, the level of the ENABLE signal will be undefined when the motor drive control unit 51 is started, which may cause the bonus motor 53x to malfunction.
Therefore, in this embodiment, an ENABLE control circuit 93x is provided to address this issue.

図示のようにENABLE制御回路93xは、抵抗R4、抵抗R5、抵抗R6、及びスイッチング素子Q2を有して構成されている。本例では、スイッチング素子Q2にはN型のFET(電解効果トランジスタ)が用いられる。
スイッチング素子Q2のゲートは、モータ駆動制御部51の汎用入出力端子P2xに接続されている。また、スイッチング素子Q2のゲートは、抵抗R4を介して所定レベルの電源電圧(本例ではDC5V)に接続されている。
スイッチング素子Q2のドレインは、抵抗R5を介して所定レベルの電源電圧(本例ではDC5V)に接続され、ソースは接地されている。
スイッチング素子Q2のドレインと抵抗R5との接続点は、抵抗R6を介してモータドライバ52xにおけるENABLE端子と接続されている。
As shown in the figure, the ENABLE control circuit 93x is configured with resistors R4, R5, R6, and a switching element Q2. In this example, an N-type FET (FET) is used for the switching element Q2.
The gate of the switching element Q2 is connected to the general-purpose input/output terminal P2x of the motor drive control unit 51. The gate of the switching element Q2 is also connected to a predetermined level of power supply voltage (DC 5V in this example) via resistor R4.
The drain of the switching element Q2 is connected to a predetermined level of power supply voltage (DC 5V in this example) via resistor R5, and its source is grounded.
The connection point between the drain of the switching element Q2 and the resistor R5 is connected to the ENABLE terminal of the motor driver 52x via resistor R6.

本実施形態において、モータ駆動制御部51は、制御コマンドCdによって、汎用入出力端子P0~P3の信号割り当てとしてHレベル固定出力、又はLレベル(接地)固定出力を設定することが可能とされている。
本例では、モータ駆動制御部51の起動時において、演出制御基板41が制御コマンドCdによってX軸用回路のコマンド・レジスタ制御回路72に対して汎用入出力端子P2xをLレベル固定出力に設定する処理を行うものとされている。これにより、モータ駆動制御部51は、起動に応じて汎用入出力端子P2xをLレベルで固定(接地)するようにされている。
In this embodiment, the motor drive control unit 51 can set the signal assignment for the general-purpose input/output terminals P0 to P3 to either a fixed H level output or a fixed L level (ground) output using a control command Cd.
In this example, when the motor drive control unit 51 is started, the performance control board 41 uses a control command Cd to set the general-purpose input/output terminal P2x to a fixed L level output in the command register control circuit 72 of the X-axis circuit. As a result, the motor drive control unit 51 fixes (grounds) the general-purpose input/output terminal P2x to an L level when it is started.

モータ駆動制御部51が起動開始前の状態、又はモータ駆動制御部51の起動開始直後の状態であって、汎用入出力端子P2xの信号レベルがLレベル(接地レベル)となっていない状態においては、ENABLE制御回路93xでは、スイッチング素子Q2のゲートが電源電圧に接続されていることで、スイッチング素子Q2がON状態とされている。このため、ENABLE信号としてはLレベル(OFFレベル)の信号が出力される。
一方、モータ駆動制御部51の起動に伴い汎用入出力端子P2xの信号レベルがLレベルとなった場合、ENABLE制御回路93xでは、スイッチング素子Q2がOFFとされ、これに伴いENABLE信号としてはHレベル(ONレベル)の信号が出力される。
When the motor drive control unit 51 is in a state before startup, or immediately after startup, and the signal level of the general-purpose input/output terminal P2x is not at an L level (ground level), the ENABLE control circuit 93x has the gate of the switching element Q2 connected to the power supply voltage, so the switching element Q2 is in the ON state. Therefore, an L level (OFF level) signal is output as the ENABLE signal.
On the other hand, when the motor drive control unit 51 is started up and the signal level of the general-purpose input/output terminal P2x becomes L level, the ENABLE control circuit 93x turns off the switching element Q2, and consequently outputs an H level (ON level) signal as the ENABLE signal.

このようにして、モータ駆動制御部51が起動する前にENABLE信号がONとされてしまうことの防止が図られる。すなわち、モータ駆動制御部51の起動時においてENABLE信号のレベルが不定となることに起因して役物モータ53xの誤動作を招来してしまうことの防止を図ることができる。
In this way, it is possible to prevent the ENABLE signal from being turned ON before the motor drive control unit 51 is started. In other words, it is possible to prevent malfunctions of the bonus motor 53x caused by an undefined level of the ENABLE signal when the motor drive control unit 51 is started.

[6.6 起動時の役物落下対策]
先の図3及び図4を参照して説明したように、本実施形態では、Y軸の可動体役物50yは、遮蔽位置から下方に向けて駆動される可動体役物50とされている。換言すれば、遮蔽位置よりも下方に可動域を有する可動体役物50とされている。
[6.6 Measures to prevent parts from falling during startup]
As explained with reference to Figures 3 and 4 above, in this embodiment, the movable component 50y of the Y-axis is a movable component 50 that is driven downward from the shielding position. In other words, it is a movable component 50 that has a range of motion below the shielding position.

このように可動域が遮蔽位置よりも下方にある可動体役物50については、モータ駆動制御部51の起動前の最後に行われた役物モータの駆動がマイクロステップ駆動モードによるものであった場合に、その後のモータ駆動制御部51の起動によって、自重により落下してしまう虞がある。具体的に、この場合におけるモータ駆動制御部51の起動時には、ENABLE信号がONとされることで、モータドライバから役物モータに対して弱電流によるモータ駆動電流が出力されるが、起動前の最後の駆動モードがマイクロステップ駆動モードであると、モータ動作が何れの励磁相状態で終了したかが不定となり、基準励磁相(基準ステップ位置)間の中途半端な励磁相状態でモータ動作が終了していた場合には、弱電流によるモータ駆動電流が印加されても十分な停止保持力を得ることができず、その結果、可動体役物50が自重により落下してしまう虞がある。 In the case of the movable mechanism 50, whose range of motion is below the shielding position, if the last drive of the mechanism motor before the motor drive control unit 51 was started was in microstep drive mode, there is a risk that the mechanism may fall due to its own weight when the motor drive control unit 51 is started. Specifically, when the motor drive control unit 51 is started in this case, the ENABLE signal is turned ON, and a weak motor drive current is output from the motor driver to the mechanism motor. However, if the last drive mode before startup was in microstep drive mode, it becomes uncertain which excitation phase state the motor operation ended in. If the motor operation ended in an intermediate excitation phase state between the reference excitation phases (reference step positions), even if a weak motor drive current is applied, sufficient stopping force cannot be obtained, and as a result, there is a risk that the movable mechanism 50 may fall due to its own weight.

そこで、本実施形態では、Y軸のモータ制御系において、図42に示すような起動時モード制御回路94を設けている。
なお、図42を参照して分かるように、本例では、Y軸のモータ制御系においても、位置センサ(55y)の検出信号をバッファ91(91y)を介して汎用入出力端子P0(P0y)に入力するものとしている。
また、前述した切替回路92xと同様の回路構成による切替回路92yを設けて、汎用入出力端子P3xから出力するカレントアップダウン信号CDWNに応じたモータ駆動電流値の切り替え(弱電流/強電流の切り替え)を実現するものとしている。
さらに、ENABLE制御回路93xと同様の回路構成によるENABLE制御回路93yを設けることでX軸の場合と同様に起動時における役物モータ53yの誤動作防止を図っている。
Therefore, in this embodiment, a startup mode control circuit 94, as shown in Figure 42, is provided in the Y-axis motor control system.
As can be seen by referring to Figure 42, in this example, the Y-axis motor control system also inputs the detection signal from the position sensor (55y) to the general-purpose input/output terminal P0 (P0y) via buffer 91 (91y).
Furthermore, a switching circuit 92y with the same circuit configuration as the aforementioned switching circuit 92x is provided to enable switching of the motor drive current value (switching between weak current and strong current) in accordance with the current up/down signal CDWN output from the general-purpose input/output terminal P3x.
Furthermore, by providing an ENABLE control circuit 93y with a circuit configuration similar to that of the ENABLE control circuit 93x, malfunction of the mechanism motor 53y during startup is prevented, as in the case of the X-axis.

図示のように起動時モード制御回路94は、ENABLE制御回路92(92x及び92y)と同様の回路構成を有するものである。起動時モード制御回路94におけるスイッチング素子Q2のゲートには、モータ駆動制御部51の汎用入出力端子P1yが接続されている。
本例において、モータ駆動制御部51では、Y軸についても、汎用入出力端子P1は上述した駆動モード制御信号の出力が割り当てられている。従って、モータ駆動制御部51が起動した場合には、汎用入出力端子P1yから起動時モード制御回路94におけるスイッチング素子Q2のゲートに対して駆動モード制御信号が出力される。ただし、Y軸の駆動モード制御信号については、2相励磁駆動モード=Hレベル、マイクロステップ駆動モード=Lレベルであるとする。
As shown in the figure, the startup mode control circuit 94 has the same circuit configuration as the ENABLE control circuit 92 (92x and 92y). The gate of the switching element Q2 in the startup mode control circuit 94 is connected to the general-purpose input/output terminal P1y of the motor drive control unit 51.
In this example, the motor drive control unit 51 also assigns the output of the drive mode control signal described above to the general-purpose input/output terminal P1 for the Y-axis. Therefore, when the motor drive control unit 51 is started, the drive mode control signal is output from the general-purpose input/output terminal P1y to the gate of the switching element Q2 in the startup mode control circuit 94. However, for the Y-axis drive mode control signal, it is assumed that the two-phase excitation drive mode is at the H level and the microstep drive mode is at the L level.

また、起動時モード制御回路94において、スイッチング素子Q2のドレインと抵抗R5との接続点は、抵抗R6を介してモータドライバ52yのDMODE0端子に接続されている。 Furthermore, in the startup mode control circuit 94, the connection point between the drain of the switching element Q2 and the resistor R5 is connected to the DMODE0 terminal of the motor driver 52y via resistor R6.

本例において、最後に行われた役物モータ53yの駆動がマイクロステップ駆動モードによるものであった場合、モータ駆動制御部51の起動に応じてはLレベルの駆動モード制御信号が出力されるが、駆動モード制御信号についても、モータ駆動制御部51の起動開始直後の期間ではそのレベルが不定となる。 In this example, if the last drive of the bonus motor 53y was performed using microstepping mode, a drive mode control signal at an L level is output in response to the activation of the motor drive control unit 51. However, the level of this drive mode control signal is undefined during the period immediately following the activation of the motor drive control unit 51.

起動時モード制御回路94において、モータ駆動制御部51が起動開始前の状態、又はモータ駆動制御部51の起動開始直後の状態であって、汎用入出力端子P1yの信号レベルがLレベル(接地レベル)となっていない状態では、スイッチング素子Q2のゲートが電源電圧に接続されていることで、スイッチング素子Q2がON状態とされるため、DMODE0端子への出力信号はLレベル(OFFレベル)となる。先の図40より、このようにDMODE0端子への入力信号レベルがLレベルであれば、モータドライバ52yには駆動モードとして2相励磁駆動モードが指示されることになる。
従って、モータ駆動制御部51の起動時に可動体役物50yが自重により落下してしまうことの防止を図ることができる。
In the startup mode control circuit 94, when the motor drive control unit 51 is in a state before startup, or immediately after startup, and the signal level of the general-purpose input/output terminal P1y is not at an L level (ground level), the gate of the switching element Q2 is connected to the power supply voltage, so the switching element Q2 is turned ON, and the output signal to the DMODE0 terminal is at an L level (OFF level). As shown in Figure 40 above, if the input signal level to the DMODE0 terminal is at an L level, the motor driver 52y will be instructed to use the two-phase excitation drive mode as the drive mode.
Therefore, it is possible to prevent the movable component 50y from falling due to its own weight when the motor drive control unit 51 is started.

ここで、汎用入出力端子P1yから出力される駆動モード制御信号が2相励磁駆動モードの場合に対応したHレベルである場合、起動時モード制御回路94においてはスイッチング素子Q2がONとされて、DMODE0端子にはLレベルの信号が入力される。従って、モータドライバ52yには2相励磁駆動モードが指示される。
一方、汎用入出力端子P1yから出力される駆動モード制御信号がマイクロステップ駆動モードの場合に対応したLレベルである場合、起動時モード制御回路94ではスイッチング素子Q2がOFFとされて、DMODE0端子にはHレベルの信号が入力されることになり、モータドライバ52yにはマイクロステップ駆動モードが指示される。
このように、モータ駆動制御部51の起動後には、駆動モード制御信号に従った適切な駆動モードがモータドライバ52yに指示される。
Here, if the drive mode control signal output from the general-purpose input/output terminal P1y is at an H level corresponding to the two-phase excitation drive mode, the switching element Q2 is turned ON in the startup mode control circuit 94, and an L level signal is input to the DMODE0 terminal. Therefore, the two-phase excitation drive mode is instructed to the motor driver 52y.
On the other hand, if the drive mode control signal output from the general-purpose input/output terminal P1y is at an L level corresponding to the microstep drive mode, the switching element Q2 in the startup mode control circuit 94 is turned OFF, and an H level signal is input to the DMODE0 terminal, instructing the motor driver 52y to enter the microstep drive mode.
Thus, after the motor drive control unit 51 is started, the motor driver 52y is instructed to select an appropriate drive mode according to the drive mode control signal.

[6.7 バックラッシ対策について]
実施形態の遊技機1において、役物モータ群53における役物モータによる可動体役物50の駆動は、例えば図43に例示するような複数のギヤGrを有する動力伝達機構58を介して行われる。この場合、役物モータからの動力は、複数のギヤGrを介して可動体役物50に伝達されることになるが、一般に、この種の動力伝達機構100では、ギヤGr間の噛合部Pbにバックラッシ(又はバックラッシュ:以下「バックラッシBL」と表記)と呼ばれる隙間が設けられている(図中、噛合部Pbの拡大図を参照)。
確認のため述べておくと、バックラッシBLは、一対のギヤGrが噛み合って運動している際に、運動方向に意図的に設けられた隙間(遊び)のことを意味する。
[6.7 Regarding measures to prevent backlash]
In the gaming machine 1 of this embodiment, the drive of the movable mechanism 50 by the mechanism motors in the mechanism motor group 53 is performed via a power transmission mechanism 58 having a plurality of gears Gr, as illustrated in Figure 43. In this case, power from the mechanism motors is transmitted to the movable mechanism 50 via the plurality of gears Gr. Generally, in this type of power transmission mechanism 100, a gap called backlash (or backlash: hereinafter referred to as "backlash BL") is provided in the meshing portion Pb between the gears Gr (see the enlarged view of the meshing portion Pb in the figure).
To clarify, backlash BL refers to the intentional gap (play) in the direction of motion when a pair of gears Gr are meshed together and moving.

このようなバックラッシBLとしての遊びが設けられていると、役物モータの駆動開始から可動体役物50側に実際に動力伝達が為されるまでの間のタイムラグが生じることになる。
役物モータの駆動開始時におけるバックラッシBLの量が一定であれば、上記のタイムラグとしても一定となるため、可動体役物50の動作遅れ量も一定となるが、実際において、駆動開始時におけるバックラッシBLの量は不定であるため、可動体役物50の動作遅れ量にばらつきが生じてしまい、可動体役物50の位置制御精度が低下し、演出の精度が低下する虞がある。
ここでは、このようなバックラッシBLに起因した演出の精度低下に対する対策手法を提案する。
When such backlash BL is provided, a time lag occurs between the start of the motor's operation and the actual transmission of power to the movable mechanism 50.
If the amount of backlash BL at the start of the motor's operation is constant, the above-mentioned time lag will also be constant, and the amount of delay in the operation of the movable mechanism 50 will also be constant. However, in reality, the amount of backlash BL at the start of operation is indeterminate, which causes variations in the amount of delay in the operation of the movable mechanism 50, potentially reducing the accuracy of the position control of the movable mechanism 50 and thus reducing the accuracy of the performance.
This paper proposes countermeasures to address the decrease in performance accuracy caused by backlash (BL) in this type of image processing.

以下、バックラッシBLの量は「バックラッシ量」と表記する。図43では、説明上の一例として、動力伝達機構58が有するギヤGrの数が二つとされる場合を例示したため、バックラッシ量はそれら二つのギヤGr間の一つの噛合部PbにおけるバックラッシBLの量であったが、図44に例示するように、動力伝達機構58としては3以上のギヤGrを有して構成される場合もある。この場合、バックラッシ量は、それら3以上のギヤGrの各ギヤGr間における2以上の噛合部PbそれぞれのバックラッシBLの量の合計値となる。 Hereafter, the amount of backlash BL will be referred to as "backlash amount." In Figure 43, as an example for explanatory purposes, the power transmission mechanism 58 is shown as having two gears Gr. Therefore, the backlash amount was the amount of backlash BL at one meshing portion Pb between those two gears Gr. However, as illustrated in Figure 44, the power transmission mechanism 58 may also be configured with three or more gears Gr. In this case, the backlash amount is the sum of the backlash BL amounts at two or more meshing portions Pb between each of those three or more gears Gr.

先ずは、図45を参照して、バックラッシBLに起因した可動体役物50の位置制御精度の低下について具体的に考察してみる。
図45は、原点位置にある可動体役物50が動作位置(位置センサ55による検出位置)まで駆動される際の可動体役物50の動きを横軸=距離、縦軸=速度としたグラフにより示している。
図中、太実線は、役物モータの駆動開始時におけるバックラッシ量が最小であった場合における可動体役物50の動きを示しており、太破線は同バックラッシ量が最大であった場合における可動体役物50の動きを示している。
First, let's refer to Figure 45 and specifically consider the decrease in position control accuracy of the movable component 50 caused by backlash BL.
Figure 45 shows the movement of the movable component 50 when it is driven from the origin position to the operating position (the position detected by the position sensor 55) using a graph with the horizontal axis representing distance and the vertical axis representing velocity.
In the figure, the thick solid line shows the movement of the movable mechanism 50 when the amount of backlash at the start of the mechanism motor is minimum, and the thick dashed line shows the movement of the movable mechanism 50 when the amount of backlash is maximum.

ここでは、役物モータの駆動手法として、駆動開始から一定期間、回転速度を所定の目標速度にまで上昇させ、その後、目標のタイミングまで該目標速度を維持し、さらにその後、位置センサ群55における対応する位置センサによる可動体役物50の検出に応じて、停止励磁が行われることを想定している。 Here, the driving method for the mechanism motor is assumed to involve increasing the rotational speed to a predetermined target speed for a certain period from the start of driving, maintaining that target speed until a target timing, and then, in response to the detection of the movable mechanism 50 by the corresponding position sensor in the position sensor group 55, stopping the excitation is performed.

バックラッシ量最小時と比較して、バックラッシ量最大時における可動体役物50の初速が速いのは、バックラッシBLに起因した役物モータの空転期間がバックラッシ量最小時よりも長いためである。
このように初速が速いことに起因して、バックラッシ量最大時における可動体役物50の最高速到達点(速度が上記の目標速度に達する位置)は、バックラッシ量最小時よりも手前となる。すなわち、役物モータの駆動開始時点でのバックラッシ量が異なると、可動体役物50が所定の目標速度に達するまでの時間に差が生じるものである。
The reason the initial velocity of the movable mechanism 50 is faster when the backlash amount is at its maximum compared to when the backlash amount is at its minimum is that the idle period of the mechanism motor caused by backlash BL is longer than when the backlash amount is at its minimum.
As a result of this high initial velocity, the point at which the movable mechanism 50 reaches its highest speed (the position where the speed reaches the target speed mentioned above) when the backlash is at its maximum is earlier than when the backlash is at its minimum. In other words, if the amount of backlash at the start of the mechanism motor's operation is different, a difference will occur in the time it takes for the movable mechanism 50 to reach the predetermined target speed.

なお、ここでは所定の目標速度に達するタイミングについて着目したが、上記のように可動体役物50が目標速度に達するまでの時間に差が生じるということは、可動体役物50が所定位置に達するまでの時間にも差が生じるということを意味する。 While this discussion focused on the timing of reaching the predetermined target speed, the fact that there is a difference in the time it takes for the movable component 50 to reach the target speed, as described above, means that there is also a difference in the time it takes for the movable component 50 to reach its predetermined position.

図45Bでは、駆動開始時のバックラッシ量の差のみでなく、駆動開始時における可動体役物50の位置の差も加味した可動体役物50の動きの差を図45Aと同様のグラフにより示している。
具体的に、図45Bでは、駆動開始時に可動体役物50が原点位置に位置し且つバックラッシ量が最小であった場合の可動体役物50の動きを太実線により示し、駆動開始時に可動体役物50が原点位置よりも奥まった位置に位置し且つバックラッシ量が最大であった場合の可動体役物50の動きを太破線により示している。
可動体役物50の初期位置が奥まっている分、可動体役物50が所定の目標速度に達するまでの時間差は、図45Aの場合よりも大きくなる。
Figure 45B shows the difference in the movement of the movable component 50, taking into account not only the difference in the amount of backlash at the start of the drive, but also the difference in the position of the movable component 50 at the start of the drive, using a graph similar to that of Figure 45A.
Specifically, in Figure 45B, the movement of the movable mechanism 50 when it is located at the origin position and the amount of backlash is minimal at the start of operation is shown by a thick solid line, and the movement of the movable mechanism 50 when it is located further back than the origin position and the amount of backlash is maximum at the start of operation is shown by a thick dashed line.
Because the initial position of the movable mechanism 50 is set further back, the time difference until the movable mechanism 50 reaches a predetermined target speed is greater than in the case of Figure 45A.

ここで、本実施形態の遊技機1では、可動体役物50を用いた演出として、液晶表示装置20の表示画像との間で同期性を有する演出が行われるものとする。
本実施形態では、このような前提において、バックラッシ対策として、遊技機1を次のように構成するという対策を講じる。
すなわち、動力伝達機構58におけるバックラッシ量(ギヤGrの遊び量)が最大である状態から可動体役物50が駆動された場合と、バックラッシ量が最小である状態から可動体役物50が駆動された場合とで、可動体役物50が所定の目標速度に達するまでの時間差(以下「時間差Dt」と表記する)が、液晶表示装置20に表示される画像の1フレーム期間未満となるように遊技機1を構成する、というものである。
In this embodiment, the gaming machine 1 uses the movable mechanism 50 to perform effects that are synchronized with the display image on the liquid crystal display device 20.
In this embodiment, under these circumstances, measures are taken to prevent backlash by configuring the gaming machine 1 as follows.
In other words, the game machine 1 is configured such that the time difference (hereinafter referred to as "time difference Dt") until the movable mechanism 50 reaches a predetermined target speed is less than the duration of one frame of the image displayed on the liquid crystal display device 20, when the movable mechanism 50 is driven from a state where the amount of backlash (the amount of play in the gear Gr) in the power transmission mechanism 58 is at its maximum, and when the movable mechanism 50 is driven from a state where the amount of backlash is at its minimum.

上記のように遊技機1を構成することで、図46Aに示すように、バックラッシ量最小時、最大時それぞれの可動体役物50の目標速度到達タイミングが同一フレーム画像の表示期間内にあるようにすることが可能となり、バックラッシに起因した可動物演出の遅れを目立ち難くすることが可能となる。
従って、画像と同期させた可動物演出を行う場合において、演出の精度低下防止を図ることができる。
By configuring the gaming machine 1 as described above, as shown in Figure 46A, it becomes possible to ensure that the timing at which the movable mechanism 50 reaches its target speed when the backlash is at its minimum and maximum levels falls within the display period of the same frame image, thereby making the delay in the animation of the movable parts caused by backlash less noticeable.
Therefore, when performing motion-controlled animations synchronized with images, it is possible to prevent a decrease in the accuracy of the animations.

ここで、上記のようにバックラッシ量が最大である状態から可動体役物50が駆動された場合とバックラッシ量が最小である状態から可動体役物50が駆動された場合とで、可動体役物50が所定の目標速度に達するまでの時間差が1フレーム期間未満となるようにすることについて、「可動体役物50が所定の目標速度に達するまでの時間差」は、「可動体役物50が所定の目標『位置』に達するまでの時間差」と換言できるものである。 Here, regarding the requirement that the time difference until the movable mechanism 50 reaches a predetermined target speed is less than one frame period when the movable mechanism 50 is driven from a state where the backlash amount is maximum and when the movable mechanism 50 is driven from a state where the backlash amount is minimum, the "time difference until the movable mechanism 50 reaches a predetermined target speed" can be rephrased as "the time difference until the movable mechanism 50 reaches a predetermined target 'position'."

なお、図46Bに示すように、可動体役物50の初期位置の差を加味した場合にも、時間差Dtが1フレーム期間未満となるようにすることも考えられる。
具体的には、可動体役物50が原点位置に位置し且つバックラッシ量が最小であった状態から可動体役物50が駆動された場合と、可動体役物50が原点位置から奥まった位置に位置し且つバックラッシ量が最大であった状態から可動体役物50が駆動された場合とで、可動体役物50が所定の目標速度に達するまでの時間差が1フレーム期間未満となるようにする、というものである。
これにより、可動体役物50の初期位置に差が生じることも考慮して、画像と同期させた可動物演出を行う場合における演出の精度低下防止を図ることができる。
Furthermore, as shown in Figure 46B, it is also possible to ensure that the time difference Dt is less than one frame period even when taking into account the difference in the initial position of the movable mechanism 50.
Specifically, the goal is to ensure that the time difference between when the movable mechanism 50 is driven from a state where it is at the origin position and the amount of backlash is minimal, and when the movable mechanism 50 is driven from a state where it is located further back from the origin position and the amount of backlash is maximum, is less than one frame.
This makes it possible to prevent a decrease in the accuracy of the animation when performing an animation synchronized with an image, even if there is a difference in the initial position of the movable mechanism 50.

ただし、可動体役物50が奥まった位置になってしまうということは不具合の可能性もあるため、そのような場合には時間差Dtが1フレーム期間以上となるように構成することも考えられる。 However, since the movable mechanism 50 being in a recessed position could potentially be a malfunction, it may be considered to configure the system so that the time difference Dt is one frame or longer in such cases.

なお、上記のように時間差Dtを1フレーム期間未満とするための具体的な手法としては、バックラッシ量の調整(最大バックラッシ量の調整)や、フレーム期間長(フレームレート)の調整等を挙げることができる。 Furthermore, specific methods for reducing the time difference Dt to less than one frame duration, as described above, include adjusting the amount of backlash (adjusting the maximum backlash) and adjusting the frame duration (frame rate).

ここで、上記では、可動体役物50の動力源がモータとされる例を挙げたが、上記により説明したバックラッシ対策手法について、可動体役物50の動力源の種類は特に問わない。すなわち、上記により説明したバックラッシ対策手法は、可動体役物50の動力源が例えばソレノイド等のモータ以外のアクチュエータである場合にも好適に適用できるものである。 Here, the example given above assumes that the power source of the movable component 50 is a motor. However, the backlash prevention method described above is not particularly limited by the type of power source of the movable component 50. In other words, the backlash prevention method described above can be suitably applied even when the power source of the movable component 50 is an actuator other than a motor, such as a solenoid.

また、動力伝達機構58について、上記では、円形ギヤの組み合わせによる伝達機構を例示したが、動力伝達機構58としては、例えばラックアンドピニオン機構のような、運動方向の変換機能を有する伝達機構の形態も採り得る。すなわち、動力伝達機構58におけるギヤ(歯車)Grとしては、平歯車のような円形以外のギヤも含まれ得るものである。 Furthermore, regarding the power transmission mechanism 58, while the above example illustrates a transmission mechanism using a combination of circular gears, the power transmission mechanism 58 can also take the form of a transmission mechanism that has a function of converting the direction of motion, such as a rack and pinion mechanism. In other words, the gears (gears) Gr in the power transmission mechanism 58 may include gears other than circular ones, such as spur gears.

ここで、図46Aに示した例において、可動体役物50が目標速度に達した際のn+1番目のフレーム画像に可動体役物50に対する視覚エフェクトを付与するための表示オブジェクト(以下「エフェクトオブジェクトObe」と表記)が含まれる場合は、バックラッシ量が最小である状態から可動体役物50が駆動された場合とバックラッシ量が最大である状態から可動体役物50が駆動された場合の双方で、エフェクトオブジェクトObeと可動体役物50との位置整合性が確保されるようにすることが考えられる。 In the example shown in Figure 46A, if the (n+1)th frame image when the movable mechanism 50 reaches the target speed includes a display object (hereinafter referred to as "effect object Obe") for applying a visual effect to the movable mechanism 50, it is conceivable to ensure positional consistency between the effect object Obe and the movable mechanism 50 in both cases: when the movable mechanism 50 is driven from a state with minimal backlash and when the movable mechanism 50 is driven from a state with maximum backlash.

図47及び図48を参照して具体例を説明する。
ここでは、可動体役物50yを例に説明を行うが、可動体役物50xについても同様の手法を採ることができる。なお、図47及び図48において、白抜き矢印が示す方向は、可動体役物50の原点位置からの駆動方向を表す。
Specific examples will be explained with reference to Figures 47 and 48.
Here, we will explain using the movable component 50y as an example, but the same method can be used for the movable component 50x. In Figures 47 and 48, the direction indicated by the white arrow represents the driving direction from the origin position of the movable component 50.

図47では、可動体役物50yの存在を強調するためのエフェクトオブジェクトObeが表示される例を示している。具体的に、この場合のエフェクトオブジェクトObeは、可動体役物50yの周囲を覆う領域を有することで、可動体役物50yの存在を強調する表示オブジェクトとされる。
この場合は、バックラッシ量が最小である状態から駆動された可動体役物50y(図中実線で示す)と、バックラッシ量が最大である状態から駆動された可動体役物50y(図中破線で示す)の双方が、エフェクトオブジェクトObeの表示領域内に位置されるようにする。つまりこの場合、エフェクトオブジェクトObeと可動体役物50との位置整合性が確保されるようにするとは、このように双方の場合の可動体役物50がエフェクトオブジェクトObeの表示領域内に位置されるようにすることを意味する。
Figure 47 shows an example where an effect object Obe is displayed to emphasize the presence of the movable mechanism 50y. Specifically, in this case, the effect object Obe is a display object that emphasizes the presence of the movable mechanism 50y by having an area that surrounds the movable mechanism 50y.
In this case, both the movable component 50y driven from a state with minimal backlash (shown by a solid line in the figure) and the movable component 50y driven from a state with maximum backlash (shown by a dashed line in the figure) are positioned within the display area of the effect object Obe. In other words, ensuring positional consistency between the effect object Obe and the movable component 50 in this case means that the movable component 50 in both cases is positioned within the display area of the effect object Obe.

図48は、可動体役物50yを装飾するためのエフェクトオブジェクトObeが表示される例を示している。具体的に、この場合のエフェクトオブジェクトObeは、例えば剣型とされた可動体役物50yの刃部分の周囲を覆う例えば炎を模した表示オブジェクトとされ、目標速度に達した際の可動体役物50yの周囲を覆うべき内側領域Ari(例えば、青い炎部)と、内側領域Ariの外周を覆う外側領域Aro(例えば、赤い炎部)とを有している。
この場合は、バックラッシ量が最小である状態から駆動された可動体役物50y(図中実線で示す)の一部(刃部)と、バックラッシ量が最大である状態から駆動された可動体役物50y(図中破線で示す)の一部(刃部)の双方が、エフェクトオブジェクトObeにおける内側領域Ariの表示領域内に位置されるようにする。つまりこの場合、エフェクトオブジェクトObeと可動体役物50との位置整合性が確保されるようにするとは、このように双方の場合の可動体役物50の刃部がエフェクトオブジェクトObeの内側領域Ariの表示領域内に位置されるようにすることを意味する。
Figure 48 shows an example in which an effect object Obe is displayed to decorate a movable gimmick 50y. Specifically, the effect object Obe in this case is a display object that resembles a flame, for example, which surrounds the blade portion of the movable gimmick 50y, which is shaped like a sword, and has an inner region Ari (for example, a blue flame portion) that should surround the movable gimmick 50y when it reaches a target speed, and an outer region Aro (for example, a red flame portion) that surrounds the outer periphery of the inner region Ari.
In this case, both a portion (the blade) of the movable component 50y (shown by a solid line in the figure) driven from a state with minimal backlash, and a portion (the blade) of the movable component 50y (shown by a dashed line in the figure) driven from a state with maximum backlash, are positioned within the display area of the inner region Ari of the effect object Obe. In other words, ensuring positional consistency between the effect object Obe and the movable component 50 in this case means that the blades of the movable component 50 in both cases are positioned within the display area of the inner region Ari of the effect object Obe.

これら図47及び図48の例より、エフェクトオブジェクトObeが可動体役物50の少なくとも一部を覆うべきものとされる場合、エフェクトオブジェクトObeと可動体役物50との位置整合性が確保されるようにするとは、バックラッシ量が最小である状態から駆動された場合、バックラッシ量が最大である状態から駆動された場合の双方の場合における可動体役物50の少なくとも一部(エフェクトの対象部分)が、エフェクトオブジェクトObeの少なくとも一部(可動体役物50のエフェクト対象部分を覆うべき部分)の表示領域内に位置されるようにすることを意味する。 As shown in the examples in Figures 47 and 48, when the effect object Obe is intended to cover at least a portion of the movable mechanism 50, ensuring positional alignment between the effect object Obe and the movable mechanism 50 means that at least a portion of the movable mechanism 50 (the portion targeted by the effect) is positioned within the display area of at least a portion of the effect object Obe (the portion of the movable mechanism 50 that should cover the portion targeted by the effect), both when driven from a state with minimal backlash and when driven from a state with maximum backlash.

ここで、可動体役物50が目標速度(最高速度)に達した際にレインボー柄等の所定の表示オブジェクトを表示する場合には、バックラッシ量が最大である状態から可動体役物50が駆動された場合とバックラッシ量が最小である状態から可動体役物50が駆動された場合の何れにおいても、該表示オブジェクトの視認性が低下しない位置(可動体役物50のずれに影響をうけにくい位置)に該表示オブジェクトを表示することが望ましい。
例えば、前後者の何れの場合であっても可動体役物50と表示オブジェクトが重ならない位置に表示オブジェクトを表示するようにしてもよい。また、可動体役物50と表示オブジェクトが一部重なってもよいが、表示オブジェクトの大部分が可動体役物50と重ならない位置に表示オブジェクトを表示することが望ましい。特に、レインボー柄等の所定の表示オブジェクトを表示する場合には、レインボー柄であることを認識可能とするために、可動体役物50と重ならない部分の表示オブジェクトにおいて、レインボー柄を示す所定色(例えば7色)の全てが表示可能となるように構成することが望ましい。また、レインボー柄について動作アニメーションを伴うグラデーション表現で表示する場合には、少なくとも可動体役物50と重ならない部分の表示オブジェクトにおいて、所定色(例えば7色)の全てが表示されるグラデーション表現で表示することが望ましい。
In this case, when the movable mechanism 50 reaches the target speed (maximum speed) and displays a predetermined display object such as a rainbow pattern, it is desirable to display the display object in a position where the visibility of the display object does not decrease (a position less affected by the displacement of the movable mechanism 50), regardless of whether the movable mechanism 50 is driven from a state where the amount of backlash is maximum or from a state where the amount of backlash is minimum.
For example, in either case, the display object may be displayed in a position where it does not overlap with the movable mechanism 50. Alternatively, the movable mechanism 50 and the display object may partially overlap, but it is desirable to display the display object in a position where most of it does not overlap with the movable mechanism 50. In particular, when displaying a predetermined display object such as a rainbow pattern, it is desirable to configure the display object so that all predetermined colors (e.g., 7 colors) representing the rainbow pattern can be displayed in the portion of the display object that does not overlap with the movable mechanism 50, in order to make it recognizable as a rainbow pattern. Furthermore, when displaying a rainbow pattern with a gradient expression accompanied by motion animation, it is desirable to display it with a gradient expression in which all predetermined colors (e.g., 7 colors) are displayed in at least the portion of the display object that does not overlap with the movable mechanism 50.

また、可動体役物50に装飾用LEDが搭載されている場合には、可動体役物50の装飾用LEDをレインボー点灯させるように構成してもよく、その際点灯させるタイミングについてはn+1番目のフレーム期間から開始するように構成してもよい。また、n+2番目のフレーム画像に切り替わった際など、n+1番目のフレーム期間よりも後のフレーム期間から可動体役物50の装飾用LEDをレインボー点灯させるように構成してもよい。 Furthermore, if the movable mechanism 50 is equipped with decorative LEDs, the decorative LEDs of the movable mechanism 50 may be configured to light up in a rainbow pattern, and the timing of this lighting may be configured to start from the (n+1)th frame period. Alternatively, the decorative LEDs of the movable mechanism 50 may be configured to light up in a rainbow pattern from a frame period later than the (n+1)th frame period, such as when switching to the (n+2)th frame image.

また、敢えて、バックラッシ量が最大である状態から可動体役物50が駆動された場合とバックラッシ量が最小である状態から可動体役物50が駆動された場合とで、可動体役物50とエフェクトオブジェクトObeが重なる場合と重ならない場合とが生じるように構成してもよい。このように構成することにより、バックラッシ量に応じた演出表現を実現することができるので、同様の演出であっても飽きを感じさせにくくすることができるといった演出効果を奏することが可能となる。 Furthermore, the system may be configured such that the movable mechanism 50 and the effect object Obe overlap or do not overlap depending on whether the movable mechanism 50 is driven from a state where the backlash is at its maximum or at its minimum. This configuration allows for visual effects that vary depending on the amount of backlash, thus preventing viewers from becoming bored with the same visual effects.

n番目フレームで表示する画面とn+1番目フレームで表示する画面とn+2番目フレームで表示する画面に関して、表示する表示画像を異ならせるように構成してもよいし、共通の表示画像を表示するようにしてもよい。例えば、n番目とn+1番目とn+2番目とで全て共通の背景画像(白背景画像、黒背景画像など)を表示するように構成してもよい。また、n番目とn+1番目が共通で、n+2番目は異なる表示画像を表示するように構成してもよい。また、n+1番目とn+2番目が共通で、n番目は異なる表示画像を表示するように構成してもよい。また、異なる表示画像を表示する場合、例えば、n番目よりもn+1番目および/またはn+2番目のほうが、より高明度な画像(例えば、白色エフェクト画像)を含むように構成してもよい。また、n+1番目よりもn+2番目のほうが、より高明度な画像(例えば、白色エフェクト画像)を含むように構成してもよい。また、n番目では含まれない文字画像をn+1番目および/またはn+2番目では表示するように構成してもよい。 The display images for the nth frame, the (n+1)th frame, and the (n+2)th frame may be configured to be different, or they may be configured to display a common display image. For example, the nth, (n+1), and (n+2)th frames may all be configured to display a common background image (white background image, black background image, etc.). Alternatively, the nth and (n+1)th frames may be configured to display a common display image, while the (n+2)th frame displays a different display image. Furthermore, the (n+1)th and (n+2)th frames may be configured to display a common display image, while the nth frame displays a different display image. When displaying different display images, for example, the (n+1)th and/or (n+2)th frames may be configured to include images with higher brightness (e.g., white effect images) than the nth frame. Also, the (n+2)th frame may be configured to include images with higher brightness (e.g., white effect images) than the (n+1)th frame. Additionally, text images not included in the nth frame may be displayed in the (n+1)th and/or (n+2)th frames.

n番目とn+1番目のフレームの切り替わりタイミングには重ならないタイミングで目標速度(最高速度)に達することが望ましいが、n番目とn+1番目のフレームの切り替わりタイミングで目標速度(最高速度)に達するように構成してもよい。 Ideally, the target speed (maximum speed) should be reached at a timing that does not overlap with the transition between the nth and (n+1)th frames. However, it is also acceptable to configure the system to reach the target speed (maximum speed) at the transition timing between the nth and (n+1)th frames.

また、可動体役物50が目標速度(最高速度)に達した際に例えば「全速全開」等の所定の表示オブジェクトを表示する場合において、バックラッシ量が最小である状態から駆動された場合、バックラッシ量が最大である状態から駆動された場合の双方で確実に最高速度に達しているn+2番目のフレーム期間(図46参照)において、該表示オブジェクトの表示を開始するように構成してもよい。
この場合、n+1番目のフレーム期間では、暗転画像(黒背景画像)や明転画像(白背景画像)等をメインに表示しておくことで、n+2番目のフレーム画像に切り替わった際に遊技者によりインパクトを与えることができるようにすることも考えられる。
Furthermore, when the movable mechanism 50 reaches a target speed (maximum speed) and displays a predetermined display object such as "Full Speed, Full Throttle," the display of the display object may be configured to start in the (n+2)th frame period (see Figure 46) when the maximum speed is reliably reached, whether the mechanism is driven from a state where the amount of backlash is minimum or from a state where the amount of backlash is maximum.
In this case, during the (n+1)th frame period, it might be possible to display a dark image (black background image) or a bright image (white background image) as the main image, so that when the image switches to the (n+2)th frame image, it will have a greater impact on the player.

また、上記では、原点位置から目標位置への移動について言及したが、目標位置から原点位置への移動に関しても、同様に目標速度に達した際の可動体役物50と所定の表示物(上記した装飾用LEDを含む)との整合性が確保されるようにしたり、また敢えてバックラッシ量が最大である状態から可動体役物50が駆動された場合とバックラッシ量が最小である状態から可動体役物50が駆動された場合とで可動体役物50とエフェクトオブジェクトObeが重なる場合と重ならない場合とが生じるようにしたりすることが考えられる。
また、可動体役物50の目標位置として複数の目標位置が定められている場合であって、可動体役物50をそれら目標位置間で移動させる場合にも同様に、目標速度に達した際の可動体役物50と所定の表示オブジェクトとの位置整合性が確保されるように構成することが考えられる。
Furthermore, while the above mentions movement from the origin position to the target position, it is also conceivable to ensure consistency between the movable mechanism 50 and the predetermined display object (including the decorative LEDs mentioned above) when the target speed is reached, when moving from the target position to the origin position, or to intentionally create situations where the movable mechanism 50 and the effect object Obe overlap or do not overlap depending on whether the movable mechanism 50 is driven from a state where the backlash amount is maximum or from a state where the backlash amount is minimum.
Furthermore, if multiple target positions are defined as the target positions for the movable mechanism 50, and the movable mechanism 50 is moved between these target positions, it is conceivable that the system be configured in such a way that positional consistency between the movable mechanism 50 and the predetermined display object is ensured when the target speed is reached.

また、エフェクトオブジェクトObeの中心点を可動体役物50の背後とすべき場合においては、バックラッシ量最大時と最小時の双方で、可動体役物50の背後を中心としてエフェクトオブジェクトObeを表示するように構成することが考えられる。 Furthermore, when the center point of the effect object Obe should be behind the movable prop 50, it is conceivable to configure the effect object Obe to display with its center behind the movable prop 50 in both the maximum and minimum backlash conditions.

また、エフェクトオブジェクトObeを可動体役物50の動作に同期して移動表示する場合は、可動体役物50の移動速度とエフェクトオブジェクトObeの移動速度とを一致させるために、可動体役物50が目標速度に達したタイミング以降のタイミングでエフェクトオブジェクトObeの表示を開始することが考えられる。 Furthermore, when displaying the effect object Obe in synchronization with the movement of the movable prop 50, it is conceivable to start displaying the effect object Obe after the movable prop 50 reaches its target speed, in order to match the movement speed of the movable prop 50 with the movement speed of the effect object Obe.

なお、上記では目標速度(最高速度)に達した際の演出画像を例に挙げたが、これに限らず可動体の初動時における演出画像等についても、バックラッシ量が最小である状態から可動体役物50が駆動された場合とバックラッシ量が最大である状態から可動体役物50が駆動された場合の双方で、可動体役物50が実動作を行ったタイミングから演出画像が更新されるように構成することもできる。 Furthermore, while the above example uses the visual effect image displayed when the target speed (maximum speed) is reached, the system is not limited to this example. It is also possible to configure the system so that the visual effect image is updated from the moment the movable part 50 actually performs its action, whether the movable part 50 is driven from a state where the backlash is minimal or from a state where the backlash is maximum.

また、本実施形態では、バックラッシ対策として、遊技機1を次のように構成するという対策も講じている。
すなわち、バックラッシ量が最大である状態から可動体役物50が駆動されて所定時間後に可動体役物50の中心点が到達する位置を第一位置とし、バックラッシ量が最小である状態から可動体役物50が駆動されて所定時間後に可動体役物50の中心点が到達する位置を第二位置としたときに、第一位置が、第二位置に位置する可動体役物50と重なる位置となるように遊技機1を構成する、というものである。
Furthermore, in this embodiment, measures are taken to prevent backlash by configuring the gaming machine 1 as follows.
In other words, the first position is defined as the position to which the center point of the movable mechanism 50 reaches after a predetermined time when the movable mechanism 50 is driven from a state where the amount of backlash is maximum, and the second position is defined as the position to which the center point of the movable mechanism 50 reaches after a predetermined time when the movable mechanism 50 is driven from a state where the amount of backlash is minimum. The game machine 1 is configured such that the first position coincides with the position of the movable mechanism 50 located at the second position.

図49を参照し具体例を説明する。
以下の説明でも、可動体役物50yについての例を説明するが、可動体役物50xについても同様の手法を採ることができる。この場合も図中の白抜き矢印は、可動体役物50の原点位置からの駆動方向を表す。
Refer to Figure 49 for a specific example.
The following explanation will use an example involving the movable component 50y, but the same method can be used for the movable component 50x. In this case as well, the white arrows in the diagram represent the driving direction from the origin position of the movable component 50.

図中では、バックラッシ量が最大である状態から駆動された可動体役物50yを実線で示し、バックラッシ量が最小である状態から駆動された可動体役物50yを破線で示している。図中「Ps1」として示す位置が上記の「第一位置」を表し、「Ps2」として示す位置は上記の「第二位置」を表している。
図示のように本実施形態では、第一位置Ps1が、第二位置Ps2に位置する可動体役物50yと重なる位置となるように遊技機1を構成する。
In the diagram, the movable component 50y driven from the state with the maximum backlash is shown by a solid line, and the movable component 50y driven from the state with the minimum backlash is shown by a dashed line. The position indicated as "Ps1" in the diagram represents the "first position" described above, and the position indicated as "Ps2" represents the "second position" described above.
As shown in the figure, in this embodiment, the gaming machine 1 is configured such that the first position Ps1 is in a position that overlaps with the movable mechanism 50y located at the second position Ps2.

上記構成によれば、バックラッシBLに起因して可動体役物50の位置誤差が最大に生じた場合であっても、その誤差量対し、可動物の大きさが十分に大きなものとなるため、位置誤差が知覚され難くなる。具体的に、上記構成によれば、可動体役物50の位置誤差は、可動体役物50の運動方向における幅の半値よりも小さいものとなるため、位置誤差は知覚され難くなる。
従って、バックラッシに起因した可動物演出の遅れを目立ち難くすることができ、演出の精度低下防止を図ることができる。
According to the above configuration, even when the positional error of the movable part 50 is at its maximum due to backlash BL, the size of the movable part is sufficiently large relative to the amount of error, making the positional error difficult to perceive. Specifically, according to the above configuration, the positional error of the movable part 50 is smaller than half the width of the movable part 50 in the direction of movement, making the positional error difficult to perceive.
Therefore, delays in the animation of movable parts caused by backlash can be made less noticeable, and a decrease in the accuracy of the animation can be prevented.

なお、演出の精度低下防止を図る上で、上記のように第一位置Ps1が第二位置Ps2に位置する可動体役物50yと重なる位置となるようにすることは必須ではない。
例えば、図50に示すように、第一位置Ps1と第二位置Ps2との誤差Dpsが、可動体役物50の幅Wemよりも小さくなるように遊技機1を構成することが考えられる。
このような構成によっても、バックラッシに起因した可動物演出の遅れを目立ち難くすることができ、演出の精度低下防止を図ることができる。
Furthermore, in order to prevent a decrease in the accuracy of the performance, it is not essential to ensure that the first position Ps1 overlaps with the movable mechanism 50y located at the second position Ps2, as described above.
For example, as shown in Figure 50, the game machine 1 can be configured such that the error Dps between the first position Ps1 and the second position Ps2 is smaller than the width Wem of the movable mechanism 50.
This configuration also makes delays in the animation of movable parts caused by backlash less noticeable, thus preventing a decrease in the accuracy of the animation.

図49や図50で説明した遊技機1の構成とするためには、動力伝達機構100におけるバックラッシ量の調整(最大バックラッシ量の調整)等を行うことが考えられる。 To achieve the configuration of the gaming machine 1 as described in Figures 49 and 50, it is conceivable to adjust the amount of backlash in the power transmission mechanism 100 (adjusting the maximum amount of backlash), etc.

ここで、バックラッシ量が最大の状態から駆動された場合は、バックラッシ量が最小の状態から駆動された場合よりも可動体役物50が距離的に手前で最高速度に達するが、この場合でも、可動体役物50の全容を遊技者が認識可能となるように遊技機1を構成することが考えられる。例えば、可動体役物50の前側にセンターケース等の障害物がある場合には、少なくとも該障害物を回避した位置まで移動するように構成することが考えられる。
また、合体役物であれば、合体後のキャラクタが認識可能な程度の可動進行度となるように遊技機1を構成することが考えられる。
In this case, if the machine is driven from the state of maximum backlash, the movable mechanism 50 will reach its maximum speed at a shorter distance than if it were driven from the state of minimum backlash. However, even in this case, it is conceivable to configure the game machine 1 so that the entire movable mechanism 50 can be recognized by the player. For example, if there is an obstacle such as a center case in front of the movable mechanism 50, it is conceivable to configure it to move at least to a position that avoids the obstacle.
Furthermore, if it is a combined character, it is conceivable to configure the game machine 1 so that the combined character has a degree of movement that allows it to be recognized.

[6.8 その他構成例]
本実施形態で用いるモータ駆動制御部51は、異常の発生等に応じたセルフリセット機能を有している。
しかしながら、モータ駆動制御部51は、仕様上、セルフリセットした旨を外部に通知する機能を有してない。
[6.8 Other Configuration Examples]
The motor drive control unit 51 used in this embodiment has a self-reset function that responds to the occurrence of an abnormality or the like.
However, the motor drive control unit 51 does not, by design, have a function to notify the outside that a self-reset has occurred.

そこで、ここでは、演出制御基板41がモータ駆動制御部51のセルフリセットを検知するための手法を提案する。
図51は、具体的な手法についての説明図であり、演出制御基板41とモータ駆動制御部51と示している。
先ず、本例では、モータ駆動制御部51における何れかの汎用入出力端子Pを、本例における監視用信号の出力端子として予め定めておく。図中では、この監視用信号の出力端子を、U軸用回路における汎用入出力端子P1uに定めた例を示している。
図示のように監視用信号の出力端子としての汎用入出力端子P1uは、抵抗R7を介して所定レベルの電源電圧に対して接続しておく。
Therefore, this paper proposes a method for the performance control board 41 to detect the self-reset of the motor drive control unit 51.
Figure 51 is an explanatory diagram of a specific method, showing the performance control board 41 and the motor drive control unit 51.
First, in this example, one of the general-purpose input/output terminals P in the motor drive control unit 51 is predetermined as the output terminal for the monitoring signal in this example. In the figure, an example is shown in which this output terminal for the monitoring signal is determined to be the general-purpose input/output terminal P1u in the U-axis circuit.
As shown in the figure, the general-purpose input/output terminal P1u, which serves as the output terminal for the monitoring signal, is connected to a predetermined level of power supply voltage via resistor R7.

この場合、演出制御基板41のCPU41aは、モータ駆動制御部51が起動した際の初期設定処理として、汎用入出力端子P1uの出力設定を行う。具体的には、制御コマンドCdを用いて、汎用入出力端子P1uをLレベル固定出力の端子に割り当てる処理を行う。 In this case, the CPU 41a of the performance control board 41 performs the output setting of the general-purpose input/output terminal P1u as an initial setup process when the motor drive control unit 51 is started. Specifically, it uses the control command Cd to assign the general-purpose input/output terminal P1u to a terminal with a fixed L level output.

その後、CPU41aは、例えば演出制御側タイマ割込み処理等により、周期的に、モータ駆動制御部51に汎用入出力端子P1uの出力値の問合せを行う。
このとき、モータ駆動制御部51がONの状態(非リセット状態)であれば、汎用入出力端子P1uの出力値として「Lレベル」が確認される。
一方、モータ駆動制御部51がリセット状態となると、汎用入出力端子P1uの出力値は抵抗R7に接続された電源電圧によりプルアップされて、「Hレベル」となる。
Subsequently, the CPU 41a periodically queries the motor drive control unit 51 for the output value of the general-purpose input/output terminal P1u, for example, through a timer interrupt processing on the performance control side.
At this time, if the motor drive control unit 51 is in the ON state (non-reset state), an "L level" is confirmed as the output value of the general-purpose input/output terminal P1u.
On the other hand, when the motor drive control unit 51 is reset, the output value of the general-purpose input/output terminal P1u is pulled up by the power supply voltage connected to the resistor R7, becoming "H level".

従って、CPU41aは、汎用入出力端子P1uの出力値についての周期的な問合せを行い、問合せごとに、該出力値が「Hレベル」であるか否かの判定を行うことで、モータ駆動制御部51のセルフリセットを検知することができる。 Therefore, the CPU 41a periodically queries the output value of the general-purpose input/output terminal P1u, and by determining whether the output value is at the "H level" with each query, it can detect the self-reset of the motor drive control unit 51.

ここで、モータ駆動制御部51がセルフリセットしたときには、可動体役物50の位置が不定となるので、CPU41aが役物モータの原点復帰の処理を呼び出して実行することが考えられる。 Here, when the motor drive control unit 51 self-resets, the position of the movable mechanism 50 becomes undefined. Therefore, it is conceivable that the CPU 41a would call and execute the process for returning the mechanism motor to its home position.

一方で、説明は省略したが、本実施形態においてCPU41aは、変動開始時、及び客待ち開始時において、役物モータの原点復帰の処理を呼び出して実行するようにされている。 On the other hand, although not explained in detail, in this embodiment, the CPU 41a is configured to call and execute the process of returning the mechanism motor to its home position at the start of the variation and at the start of the customer waiting period.

しかしながら、このように変動開始時と客待ち開始時に原点復帰の処理を行うことを前提とすると、モータ駆動制御部51のセルフリセットに応じて原点復帰の処理を呼び出す仕様とした場合には、原点復帰の回数が徒に増加してしまう。 However, assuming that the home position return process is performed at the start of the change and at the start of customer waiting, if the system is designed to call the home position return process in response to the self-reset of the motor drive control unit 51, the number of home position returns will increase unnecessarily.

そこで、モータ駆動制御部51のセルフリセットが検知されたとしても、原点復帰の処理を呼び出さないようにすることが考えられる。
これにより、原点復帰の回数を削減でき、CPU41aの処理負担軽減を図ることができる。
確認のため述べておくと、この場合、原点復帰の処理は、モータ駆動制御部51のセルフリセット後における変動開始時や客待ち開始時に実行されるものとなるため、実質的な問題は生じない。
Therefore, even if a self-reset of the motor drive control unit 51 is detected, it is conceivable to prevent the process of returning to the home position from being called.
This reduces the number of times the origin is returned, thereby easing the processing load on the CPU 41a.
To clarify, in this case, the process of returning to the home position is executed when the change starts or when waiting for a customer begins after the motor drive control unit 51 self-resets, so no practical problems arise.

<7.変形例>
以上、本発明に係る実施形態について説明したが、本発明はこれまでに説明した具体例に限定されるものではなく、多様な変形例としての構成を採り得る。
例えば、可動体役物50を目標位置まで駆動して停止させる一連の制御について、上記では、図52に示す制御パターンPt0のように、駆動開始タイミング(CSTA)よりも前の初期状態が無励磁(モータ駆動電流=0)の状態とされ、該無励磁の状態から2W1-2相励磁(マイクロステップ駆動モード)での駆動を行い、停止時に2相励磁駆動モードに切り替え、停止後に無励磁に切り替えるという例のみを言及した。
このような制御パターンについては、可動体役物50の演出パターンに応じて適宜切り替えるように構成することもできる。
<7. Variant Example>
Although embodiments of the present invention have been described above, the present invention is not limited to the specific examples described herein, and can take various modified configurations.
For example, regarding a series of controls to drive the movable component 50 to a target position and stop it, the above only mentions an example where, as shown in the control pattern Pt0 in Figure 52, the initial state prior to the drive start timing (CSTA) is a state of no excitation (motor drive current = 0), and from this no-excitation state, the drive is performed in 2W1-2 phase excitation (microstep drive mode), the drive switches to 2 phase excitation mode when stopping, and switches back to no excitation after stopping.
Such control patterns can also be configured to be switched as appropriate according to the performance pattern of the movable mechanism 50.

具体例として、図52では、制御パターンPt1~Pt6の6例を示している。
図示のように制御パターンPt1は、初期状態から停止後期間まで2相励磁を維持するパターンである。この場合、初期状態や停止後期間は、非無励磁の状態(例えば、モータ駆動電流=弱電流)となる。
制御パターンPt2は、初期状態=2相励(例えば、モータ駆動電流=弱電流)、駆動開始タイミング以降のカレントアップ期間=2相励磁、カレントアップ期間後、カレントダウン期間までの期間=2W1-2相励磁、停止後期間=無励磁とするパターンである。
制御パターンPt3は、上記の制御パターンPt2について、停止後期間を無励磁ではなく2相励磁駆動モードとするパターンである。
制御パターンPt4は、初期状態=無励磁、駆動開始タイミング以降のカレントダウン期間までの期間=2相励磁、停止後期間=無励磁とするパターンである。
制御パターンPt5は、上記制御パターンPt4について、停止後期間も2相励磁を維持するパターンである。
制御パターンPt6は、初期状態=2相励(例えば、モータ駆動電流=弱電流)、駆動開始タイミング以降のカレントアップ期間=2相励磁、カレントアップ期間後、カレントダウン期間直前までの期間=2W1-2相励磁、カレントダウン期間=2相励磁、停止後期間=無励磁とするパターンである。
As a concrete example, Figure 52 shows six examples of control patterns Pt1 to Pt6.
As shown in the figure, control pattern Pt1 is a pattern that maintains two-phase excitation from the initial state to the post-stop period. In this case, the initial state and the post-stop period are in a non-excited state (for example, motor drive current = weak current).
Control pattern Pt2 is a pattern in which the initial state = 2-phase excitation (for example, motor drive current = weak current), the current-up period after the start timing = 2-phase excitation, the period after the current-up period until the current-down period = 2W1-2 phase excitation, and the period after stopping = no excitation.
Control pattern Pt3 is a variation of control pattern Pt2 described above, in which the period after stopping is in a two-phase excited drive mode instead of an unexcited mode.
Control pattern Pt4 is a pattern in which the initial state is unexcited, the period from the start of operation until the current down period is two-phase excited, and the period after stopping is unexcited.
Control pattern Pt5 is a pattern that maintains two-phase excitation even after the shutdown period, in addition to the control pattern Pt4 described above.
Control pattern Pt6 is a pattern in which the initial state = 2-phase excitation (for example, motor drive current = weak current), the current-up period after the start timing = 2-phase excitation, the period after the current-up period until just before the current-down period = 2W1-2 phase excitation, the current-down period = 2-phase excitation, and the period after stopping = no excitation.

ここで、制御パターンPt6は、停止時にマイクロステップ駆動モードから2相励磁駆動モードへの切り替えを伴う。このような制御パターンにおいては、制御パターンPt0の場合と同様に、図35~図38を参照して説明した切り替え時の電気角制御を行うことができる。 Here, control pattern Pt6 involves switching from microstep drive mode to two-phase excitation drive mode when stopping. In this control pattern, as with control pattern Pt0, electrical angle control during the switchover can be performed as described with reference to Figures 35 to 38.

なお、図52に示す2W1-2励磁の期間については、1-2相励磁とすることも考えられる。 Furthermore, regarding the 2W1-2 excitation period shown in Figure 52, it is also possible to consider using 1-2 phase excitation.

また、可動体役物50が複数ある場合には、可動体役物50間で異なる制御パターンを採用することもできる。 Furthermore, if there are multiple movable parts 50, different control patterns can be adopted for each movable part 50.

また、先の説明では、カレントアップ期間について、モータ駆動制御部51の機能で設定されるカレントアップ期間についてのみ説明したが、このようなモータ駆動制御部51の機能で設定されるカレントアップ期間に続けて、制御コマンドCdを用いた指示により、所定の励磁期間(例えば、30ms等)を設けるようにすることもできる。
これにより、モータ駆動制御部51の機能で設定されるカレントアップ期間のみでは不十分である場合に対応して、適切なカレントアップ期間を設定することが可能となり、役物モータの動作安定性向上を図ることができる。
なお、カレントダウン期間についても、同様に制御コマンドCdを用いた指示により延長を行う構成とすることが考えられる。
Furthermore, in the previous explanation, we only described the current-up period set by the motor drive control unit 51. However, in addition to the current-up period set by the motor drive control unit 51, a predetermined excitation period (for example, 30 ms) can also be set by using the control command Cd.
This makes it possible to set an appropriate current-up period in response to cases where the current-up period set by the motor drive control unit 51 is insufficient, thereby improving the operational stability of the motor.
Furthermore, it is conceivable that the current down period could also be extended by using the control command Cd.

ここで、上記では、本発明を弾球遊技機に適用した例を説明したが、本発明は、可動体役物を駆動するためのモータ制御を行う遊技機であれば、回胴遊技機等の他の遊技機に対しても好適に適用することができる。 While the above description illustrates the application of the present invention to a pinball game machine, the present invention can also be suitably applied to other game machines, such as reel games, as long as they perform motor control for driving movable components.

また、上記では、可動体役物50として可動体役物50x及び50yの二つが設けられる例としたが、可動体役物50の個数は二つに限定されるものではなく、少なくとも1以上であればよい。 Furthermore, while the above example shows two movable parts 50, 50x and 50y, the number of movable parts 50 is not limited to two; at least one is sufficient.

また、上記では、モータ駆動制御部51が対応可能なドライバ数が四つとされた例を挙げたが、モータ駆動制御部51としては少なくとも1以上のドライバ接続に対応した構成が採られればよい。
Furthermore, although the above example shows that the motor drive control unit 51 can handle four drivers, the motor drive control unit 51 only needs to be configured to support at least one driver connection.

<8.実施形態のまとめ>
上記で説明したように、実施形態としての第一の遊技機(遊技機1)は、演出用の可動物(可動体役物50)と、可動物の動力源として設けられたアクチュエータ(役物モータ)と、アクチュエータからの動力を複数のギヤを介して可動物に伝達する伝達機構(動力伝達機構58)と、画像の表示を行う表示手段(液晶表示装置20)と、を備え、伝達機構におけるギヤの遊び量が最大である状態から可動物が駆動された場合と、遊び量が最小である状態から可動体が駆動された場合とで、可動体が所定の目標速度又は目標位置に達するまでの時間差が表示手段に表示される画像の1フレーム期間未満となるように構成されたものである(図46参照)。
これにより、画像と同期させた可動物演出を行う場合において、バックラッシに起因した可動物演出の遅れを目立ち難くすることが可能となる。
従って、演出の精度低下防止を図ることができる。
<8. Summary of Embodiments>
As described above, the first gaming machine (gaming machine 1) as an embodiment comprises a movable object for performance (movable object 50), an actuator (object motor) provided as a power source for the movable object, a transmission mechanism (power transmission mechanism 58) that transmits power from the actuator to the movable object via a plurality of gears, and a display means (liquid crystal display device 20) that displays an image. The configuration is such that the time difference until the movable object reaches a predetermined target speed or target position is less than the duration of one frame of the image displayed on the display means, whether the movable object is driven from a state where the amount of play in the gears of the transmission mechanism is at its maximum or from a state where the amount of play is at its minimum (see Figure 46).
This makes it possible to make delays in the animation caused by backlash less noticeable when performing animations synchronized with images.
Therefore, it is possible to prevent a decline in the precision of the production.

実施形態としての第二の遊技機(遊技機1)は、演出用の可動物(可動体役物50)と、可動物の動力源として設けられたアクチュエータ(役物モータ)と、アクチュエータからの動力を複数のギヤを介して前記可動物に伝達する伝達機構(動力伝達機構58)と、を備え、伝達機構におけるギヤの遊び量が最大である状態から可動物が駆動されて所定時間後に可動体の中心点が到達する位置を第一位置とし、遊び量が最小である状態から可動体が駆動されて所定時間後に可動体の中心点が到達する位置を第二位置としたときに、第一位置が、第二位置に位置する可動体と重なる位置とされたものである(図49参照)。
これにより、バックラッシに起因して可動物の位置誤差が最大に生じた場合であっても、その誤差量対し、可動物の大きさが十分に大きなものとなるため、位置誤差が知覚され難くなる。
従って、バックラッシに起因した可動物演出の遅れを目立ち難くすることができ、演出の精度低下防止を図ることができる。
The second gaming machine (gaming machine 1) as an embodiment includes a movable object for performance (movable object 50), an actuator (object motor) provided as a power source for the movable object, and a transmission mechanism (power transmission mechanism 58) that transmits power from the actuator to the movable object via a plurality of gears. The first position is defined as the position to which the center point of the movable object reaches after a predetermined time when the movable object is driven from a state in which the amount of play in the gears of the transmission mechanism is at its maximum, and the second position is defined as the position to which the center point of the movable object reaches after a predetermined time when the movable object is driven from a state in which the amount of play is at its minimum. The first position is defined as the position that overlaps with the movable object located at the second position (see Figure 49).
As a result, even when the positional error of the movable object is at its maximum due to backlash, the size of the movable object is sufficiently large relative to the amount of error, making the positional error difficult to perceive.
Therefore, delays in the performance of movable parts caused by backlash can be made less noticeable, and a decrease in the accuracy of the performance can be prevented.

実施形態としての第三の遊技機(遊技機1)は、演出用の可動物(可動体役物50)と、可動物の動力源として設けられたモータ(役物モータ)と、モータを駆動するドライバ(モータドライバ)と、ドライバに対してモータの駆動態様を指示する信号である駆動制御信号を出力する駆動制御手段(モータ駆動制御部51)と、を備え、ドライバは、駆動制御手段からの指示に基づき、モータの励磁モード(駆動モード)として少なくとも第一励磁モードと第二励磁モードとの間の切り替えを行うことが可能に構成され、第一励磁モードから第二励磁モードへの切り替えに伴いドライバが制御する電気角が最大で90度変化するように構成されたものである。
モータのドライバとしては、励磁モード切り替えの際の電気角の変化量が、一方のモータ回転方向においては最大で90度以内に収まるが、他方の回転方向においては最大で90度を超える程の大きな変化量となってしまうものがある。励磁モード切り替え時の電気角の変化量が過大であると、励磁モード切り替えの際に可動物が滑ってしまう虞がある。上記構成によれば、励磁モード切り替え時の電気角の変化量が最大で90度以内に収まるため、励磁モード切り替え時の可動物の滑り抑制を図ることが可能となる。
従って、可動物の位置制御精度の向上を図ることができる。
A third gaming machine (gaming machine 1) as an embodiment comprises a movable object for performance (movable object 50), a motor (object motor) provided as a power source for the movable object, a driver (motor driver) that drives the motor, and a drive control means (motor drive control unit 51) that outputs a drive control signal, which is a signal that instructs the driver on the driving mode of the motor. The driver is configured to be able to switch between at least a first excitation mode and a second excitation mode as the excitation mode (driving mode) of the motor based on instructions from the drive control means, and the electrical angle controlled by the driver is configured to change by up to 90 degrees when switching from the first excitation mode to the second excitation mode.
Some motor drivers exhibit a significant change in the electrical angle during excitation mode switching; while the change is limited to a maximum of 90 degrees in one motor rotation direction, it can exceed 90 degrees in the other. Excessive changes in the electrical angle during excitation mode switching can cause the movable part to slip during the switching process. The above configuration ensures that the change in the electrical angle during excitation mode switching is limited to a maximum of 90 degrees, thereby suppressing slippage of the movable part during excitation mode switching.
Therefore, it is possible to improve the accuracy of position control for movable objects.

1 遊技機
20 液晶表示装置
41 演出制御基板
41a CPU
41b ROM
50,50x,50y 可動体役物
51 モータ駆動制御部
52 モータドライバ群
52x,52y モータドライバ
53 役物モータ群
53x,53y 役物モータ
54 原点スイッチ群
55 位置センサ群
55x,55y 位置センサ
56 ハンドルセンサ
Cd 制御コマンド
71 I/F部
72 コマンド・レジスタ制御回路
73 レジスタ部
74 プリレジスタ部
75 スタート・ストップ制御回路
76 加減速パルス発生回路
77 倍率分周回路
78 出力形態変換回路
79 残量パルス数カウンタ
80 カレントアップダウン制御回路
81 汎用入出力制御回路
OUT パルス信号出力端子
DIR 回転方向出力端子
P0~P4 汎用入出力端子
D1 役物サブシナリオデータ
D2 区分動作管理データ
D3 制御コマンド管理データ
Gs 作業画面
Ad 定義用領域
Ar1 対象軸選択領域
Ar2 設定入力領域
b2 FL速度入力ボックス
b3 加速期間入力ボックス
b4 HL速度入力ボックス
b5 出力パルス数入力ボックス
b6 減速期間入力ボックス
p1,p2,p3 操作部
91x,91y バッファ
92x,92y 切替回路
93x,93y ENABLE制御回路
94 起動時モード制御回路
58 動力伝達機構
Rg1~Rg4 第一範囲~第四範囲
Ag1~Ag4 第一電気角~第四電気角
521 デコード部
522 モータ制御回路
522a 電気角検出部
523A A相電流出力回路
523B B相電流出力回路
Gr ギヤ
Pb 噛合部
BL バックラッシ
Wem 幅
Dps 誤差
1. Gaming machine 20. Liquid crystal display device 41. Performance control board 41a. CPU.
41b ROM
50, 50x, 50y Movable mechanism 51 Motor drive control unit 52 Motor driver group 52x, 52y Motor driver 53 Mechanism motor group 53x, 53y Mechanism motor 54 Origin switch group 55 Position sensor group 55x, 55y Position sensor 56 Handle sensor Cd Control command 71 I/F unit 72 Command register control circuit 73 Register unit 74 Pre-register unit 75 Start/stop control circuit 76 Acceleration/deceleration pulse generation circuit 77 Magnification frequency divider circuit 78 Output form conversion circuit 79 Remaining pulse count counter 80 Current up/down control circuit 81 General-purpose input/output control circuit OUT Pulse signal output terminal DIR Rotation direction output terminals P0-P4 General-purpose input/output terminal D1 Mechanism sub-scenario data D2 Classification operation management data D3 Control command management data Gs Work screen Ad Definition area Ar1 Target axis selection area Ar2 Setting input area b2 FL speed input box b3 Acceleration period input box b4 HL speed input box b5 Output pulse count input box b6 Deceleration period input boxes p1, p2, p3 Operation section 91x, 91y Buffer 92x, 92y Switching circuit 93x, 93y ENABLE control circuit 94 Startup mode control circuit 58 Power transmission mechanism Rg1 to Rg4 First range to fourth range Ag1 to Ag4 First electrical angle to fourth electrical angle 521 Decode section 522 Motor control circuit 522a Electrical angle detection section 523A A-phase current output circuit 523B B-phase current output circuit Gr Gear Pb Meshing section BL Backlash Wem Width Dps Error

Claims (1)

演出用の可動物と、
前記可動物の動力源として設けられたモータと、
前記モータを駆動するドライバと、
ドライバに対してモータの駆動態様を指示する信号である駆動制御信号を出力する駆動制御手段と、を備え、
前記ドライバは、前記駆動制御手段からの指示に基づき、前記モータの励磁モードとして少なくとも第一励磁モードと第二励磁モードとの間の切り替えを行うことが可能に構成され、
前記第一励磁モードから前記第二励磁モードへの切り替えに伴い前記ドライバが制御する電気角が最大で90度変化するように構成された
遊技機。
Movable objects for performance,
A motor is provided as the power source for the aforementioned movable object,
A driver that drives the motor,
The system includes a drive control means that outputs a drive control signal, which is a signal that instructs the driver on the motor's driving mode,
The driver is configured to switch between at least a first excitation mode and a second excitation mode as the excitation mode of the motor, based on instructions from the drive control means.
A gaming machine configured such that the electrical angle controlled by the driver changes by up to 90 degrees when switching from the first excitation mode to the second excitation mode.
JP2023210163A 2023-12-13 2023-12-13 Gaming machine Active JP7922012B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023210163A JP7922012B2 (en) 2023-12-13 2023-12-13 Gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023210163A JP7922012B2 (en) 2023-12-13 2023-12-13 Gaming machine

Publications (2)

Publication Number Publication Date
JP2025094544A JP2025094544A (en) 2025-06-25
JP7922012B2 true JP7922012B2 (en) 2026-09-15

Family

ID=96140021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023210163A Active JP7922012B2 (en) 2023-12-13 2023-12-13 Gaming machine

Country Status (1)

Country Link
JP (1) JP7922012B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019201708A (en) 2018-05-21 2019-11-28 株式会社サンセイアールアンドディ Game machine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019201708A (en) 2018-05-21 2019-11-28 株式会社サンセイアールアンドディ Game machine

Also Published As

Publication number Publication date
JP2025094544A (en) 2025-06-25

Similar Documents

Publication Publication Date Title
JP7350395B2 (en) gaming machine
JP7668852B2 (en) Gaming Machines
JP6533637B2 (en) Gaming machine
JP2002113209A (en) Gaming machine and its production method
JP7365074B2 (en) gaming machine
JP5312636B2 (en) Amusement stand
JP7921992B2 (en) Gaming machine
JP7917492B2 (en) Gaming machine
JP2013090766A (en) Game machine
JP7912840B2 (en) Gaming machine
JP2026022051A (en) Gaming machine
JP2026022050A (en) Gaming machine
JP2026022052A (en) Gaming machine
JP2026022049A (en) Gaming machine
JP2025094542A (en) Gaming Machines
JP2025094544A (en) Gaming Machines
JP2025094543A (en) Gaming Machines
JP2024154785A (en) Gaming Machines
JP2024154783A (en) Gaming Machines
JP2024154786A (en) Gaming Machines
JP5444091B2 (en) Game machine
JP7384462B2 (en) gaming machine
JP7914753B2 (en) Gaming machine
JP7868961B2 (en) Gaming machine
JP7851708B2 (en) Gaming machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20260227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20260310

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20260818

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260903

R150 Certificate of patent or registration of utility model

Ref document number: 7922012

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150