JP2014028168A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2014028168A
JP2014028168A JP2013174212A JP2013174212A JP2014028168A JP 2014028168 A JP2014028168 A JP 2014028168A JP 2013174212 A JP2013174212 A JP 2013174212A JP 2013174212 A JP2013174212 A JP 2013174212A JP 2014028168 A JP2014028168 A JP 2014028168A
Authority
JP
Japan
Prior art keywords
control unit
movable body
effect
abnormality
origin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013174212A
Other languages
Japanese (ja)
Other versions
JP5868359B2 (en
Inventor
Yuzuru Yatsugi
譲 矢次
Tamotsu Uchiyama
内山  保
Tetsuo Ogata
哲央 尾形
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Shoji Co Ltd
Original Assignee
Fuji Shoji Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Shoji Co Ltd filed Critical Fuji Shoji Co Ltd
Priority to JP2013174212A priority Critical patent/JP5868359B2/en
Publication of JP2014028168A publication Critical patent/JP2014028168A/en
Application granted granted Critical
Publication of JP5868359B2 publication Critical patent/JP5868359B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a game machine for properly continuing a control operation even during abnormality of a performance movable body.SOLUTION: A performance control part 22 for executing a performance control operation includes: recovery means (SS5) for driving a performance movable body AMU toward an original point area regardless of the value of an abnormal flag ER during resetting of a CPU and during a proper break of a control operation; normality stop means (SS23, SS9) for maintaining the performance movable body AMU in a non-driven state by setting an abnormality flag in a resetting state during a normal time when the performance movable body is recovered to the original point area; abnormality stop means (SS36, SS9) for maintaining the performance movable body AMU in a non-driven state by setting the abnormality flag ER in a setting state during an abnormal time when not recovered to the original point area; and avoiding means (ST98) for avoiding execution of movable performance if the abnormality flag ER is in the setting state when starting movable performance of the performance movable body to be executed on the basis of a control command from a main control part 21.

Description

本発明は、遊技動作に起因する抽選処理によって大当り状態を発生させる遊技機に関し、特に、電源異常時などのトラブルを解消した遊技機に関する。   The present invention relates to a gaming machine that generates a big hit state by a lottery process caused by a gaming operation, and more particularly, to a gaming machine that solves a trouble such as a power failure.

パチンコ機などの弾球遊技機は、遊技盤に設けた図柄始動口と、複数の表示図柄による一連の図柄変動態様を表示する図柄表示部と、開閉板が開閉される大入賞口などを備えて構成されている。そして、図柄始動口に設けられた検出スイッチが遊技球の通過を検出すると入賞状態となり、遊技球が賞球として払出された後、図柄表示部では表示図柄が所定時間変動される。その後、7−7−7などの所定の態様で図柄が停止すると大当り状態となり、大入賞口が繰返し開放されて、遊技者に有利な遊技状態を発生させている。   A ball game machine such as a pachinko machine has a symbol start opening provided on the game board, a symbol display section for displaying a series of symbol variation patterns by a plurality of display symbols, and a big winning opening for opening and closing the opening and closing plate. Configured. When the detection switch provided at the symbol start port detects the passage of the game ball, the winning state is entered, and after the game ball is paid out as a prize ball, the display symbol is changed for a predetermined time in the symbol display section. Thereafter, when the symbol is stopped in a predetermined manner such as 7-7-7, a big hit state is established, and the big winning opening is repeatedly opened to generate a gaming state advantageous to the player.

このような遊技状態を発生させるか否かは、図柄始動口に遊技球が入賞したことを条件に実行される大当り抽選で決定されており、上記の図柄変動動作は、この抽選結果を踏まえたものとなっている。   Whether or not to generate such a game state is determined by a jackpot lottery executed on the condition that a game ball has won at the symbol start opening, and the above symbol variation operation is based on this lottery result. It has become a thing.

例えば、抽選結果が当選状態である場合には、リーチアクションなどと称される演出動作を20秒前後実行し、その後、特別図柄を整列させている。一方、ハズレ状態の場合にも、同様のリーチアクションが実行されることがあり、この場合には、遊技者は、大当り状態になることを強く念じつつ演出動作の推移を注視することになる。   For example, when the lottery result is in a winning state, an effect operation called reach action or the like is executed for about 20 seconds, and then the special symbols are aligned. On the other hand, a similar reach action may be executed even in the case of a lost state. In this case, the player pays close attention to the big hit state and pays close attention to the transition of the performance operation.

また、最終結果が確定する以前に、キャラクタが出現したり、演出可動体が回転を開始して、大当り状態の招来を予告する予告演出も実行されている。演出可動体は、例えば、大当り状態に至る可能性が高い演出動作時に、所定方向に所定角度だけ回転して、予め決定されている信頼性をもって抽選結果を予告している。   Further, before the final result is finalized, a notice effect is also executed in which a character appears or the effect movable body starts to rotate, and a big hit state is invited. The effect movable body, for example, rotates for a predetermined angle in a predetermined direction during an effect operation that is likely to reach a big hit state, and notifies the lottery result with a predetermined reliability.

特開2009−000411号公報JP 2009-000411 A 特開2008−259920号公報JP 2008-259920 A 特開2008−245679号公報JP 2008-245679 A

しかし、昨今の遊技機では、その消費電力が益々増加しているので、例えば、電源設備の容量不足など基づき、交流電源が不安定な場合や、制御回路周辺のノイズレベルが高い場合には、遊技動作中に異常動作が生じることがあった。   However, in recent gaming machines, the power consumption is increasing, so for example, when the AC power supply is unstable or the noise level around the control circuit is high due to insufficient capacity of the power supply equipment, Abnormal operation may occur during game operation.

本発明は、上記の問題点に鑑みてなされたものであって、演出可動体の異常時にも適切に制御動作を継続する遊技機を提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object thereof is to provide a gaming machine that appropriately continues a control operation even when an effect movable body is abnormal.

上記の目的を達成するため、本発明は、所定のスイッチ信号に起因する抽選処理を実行し、その抽選結果に対応した演出動作を経た上で、抽選結果が当選状態であれば、遊技者に有利な遊技状態に移行させる遊技機であって、前記抽選処理を実行して遊技動作を中心的に制御する主制御部と、主制御部が出力する制御コマンドに基づいて演出動作を制御するサブ制御部と、交流電源に基づいて生成された直流電圧を、主制御部及びサブ制御部に供給する電源部と、を有して構成され、前記演出動作には、演出可動体が移動する可動演出が含まれており、前記サブ制御部には、CPUがリセットされた直後の初期動作時、及び、その後に実行される制御動作の適宜な区切り時に、異常フラグの値に拘らず、演出可動体を原点領域に向かって駆動する回収手段と、回収手段の動作によって演出可動体が原点領域に回収される正常時には、異常フラグをリセット状態にして、演出可動体を非駆動状態に維持する正常停止手段と、回収手段の動作に拘らず演出可動体が原点領域に回収されない異常時には、異常フラグをセット状態にして、演出可動体を非駆動状態に維持する異常停止手段と、主制御部からの制御コマンドに基づき実行される演出可動体の可動演出の開始時に、異常フラグの値を判定して、異常フラグがセット状態であれば可動演出の実行を回避する回避手段と、が設けられている。   In order to achieve the above object, the present invention executes a lottery process caused by a predetermined switch signal, and after performing an effect operation corresponding to the lottery result, if the lottery result is a winning state, A gaming machine for shifting to an advantageous gaming state, wherein a main control unit that executes the lottery process to centrally control a gaming operation, and a sub-control that controls an effect operation based on a control command output by the main control unit A control unit and a power supply unit that supplies a DC voltage generated based on an AC power source to the main control unit and the sub-control unit. An effect is included, and the sub-control unit can move the effect regardless of the value of the abnormality flag during the initial operation immediately after the CPU is reset and when the control operation to be executed thereafter is appropriately separated. Drive body towards origin area Recovery means, normal stop means for resetting the abnormal flag and maintaining the effect movable body in a non-driven state when the effect movable body is recovered to the origin region by the operation of the recovery means, and operation of the recovery means Regardless of whether or not the effect movable body is not recovered in the origin area, it is executed based on an abnormal stop means for setting the abnormality flag to maintain the effect movable body in a non-driven state and a control command from the main control unit. There is provided avoiding means for determining the value of the abnormality flag at the start of the movable effect of the effect movable body and avoiding the execution of the movable effect if the abnormality flag is set.

本発明によれば、回収手段が機能したにも拘らず演出可動体が原点領域に回収されない異常時には、異常停止手段によって、演出可動体が非駆動状態に維持されるので、その後の遊技機の振動などに伴って自然復旧することが期待できる。そして、このような自然復旧時には、その後に機能するする回収手段によって、演出可動体が原点領域に回収される。   According to the present invention, the effect movable body is maintained in the non-driven state by the abnormal stopping means at the time of an abnormality in which the effect movable body is not recovered to the origin area even though the recovery means has functioned. Natural recovery can be expected with vibration. Then, at the time of such natural restoration, the effect movable body is recovered to the origin region by the recovery means that functions thereafter.

なお、異常停止手段が演出可動体を非駆動状態に維持するとは、演出可動体の励磁コイルなどに駆動信号を供給しないことを意味し、典型的には、モータの励磁コイルに駆動信号が供給されず、モータが非拘束状態(自由回転状態)になることを意味する。また、本発明では、異常停止手段が機能すると異常フラグがセット状態となって、それ以降の可動演出が回避されるので、演出可動体の異常な動作を遊技者に晒すことがない。   Note that the abnormal stopping means maintaining the rendering movable body in the non-driven state means that a drive signal is not supplied to the exciting coil of the rendering movable body, and typically a drive signal is supplied to the excitation coil of the motor. This means that the motor is in an unrestrained state (free rotation state). Further, in the present invention, when the abnormal stop means functions, the abnormality flag is set and the subsequent movable effect is avoided, so that the abnormal operation of the effect movable body is not exposed to the player.

異常フラグは、正常停止手段が機能するとリセット状態となるが、必ずしも、演出可動体が原点領域に回収されたことを条件に、異常フラグをリセットする必要はない。すなわち、例えば、実施例の動作ように、回収手段の動作開始時に、異常フラグを画一的にリセットしておき、異常停止手段が機能すると異常フラグをセットしたのでも良い。逆に、回収手段の動作開始時に、異常フラグを画一的にセットしておき、正常停止手段が機能すると異常フラグをリセットしたのでも良い。なお、リセットは、必ずしも、異常フラグをゼロにすることを意味しない。   The abnormality flag is reset when the normal stop means functions, but it is not always necessary to reset the abnormality flag on the condition that the effect movable body has been collected in the origin region. That is, for example, as in the embodiment, the abnormality flag may be uniformly reset at the start of the operation of the collecting unit, and the abnormality flag may be set when the abnormality stopping unit functions. Conversely, the abnormality flag may be set uniformly at the start of the operation of the collecting means, and the abnormality flag may be reset when the normal stop means functions. Note that reset does not necessarily mean that the abnormality flag is set to zero.

異常停止手段は、好ましくは、異常発生を報知することなく演出可動体を非駆動状態に維持する。そのため、異常発生状態が多く発生しても、遊技者に不信感を与えることがない。また、異常発生が報知されないので、演出可動体の原点領域に回収処理を繰り返し、失敗を繰り返しても弊害がない。   The abnormality stopping means preferably maintains the effect movable body in the non-driven state without notifying the occurrence of abnormality. Therefore, even if many abnormal occurrence states occur, the player is not distrusted. Further, since the occurrence of abnormality is not notified, there is no problem even if the collection process is repeated in the origin area of the effect movable body and the failure is repeated.

前記回収手段は、表示装置において実行される一連の図柄変動動作の終了時、及び/又は、非遊技状態に実行されるデモ演出中に、機能するよう構成されているのが好ましい。異常フラグがセット状態であっても、デモ演出時などに回収処理を実行して演出可動体を原点領域に回収できれば、その後の可動演出を回避する必要がなくなる。なお、デモ演出は、典型的には、遊技客が遊技を終了して非遊技状態となってから所定時間後に開始される。   The collection means is preferably configured to function at the end of a series of symbol variation operations executed in the display device and / or during a demonstration performance executed in a non-game state. Even if the abnormality flag is in the set state, it is not necessary to avoid the subsequent movable effect if the effect movable body can be recovered in the origin area by executing the collection process at the time of the demonstration effect. The demonstration effect is typically started after a predetermined time from when the player ends the game and enters a non-game state.

本発明は、好ましくは、前記主制御部のCPUがリセットされると、サブ制御部に対して、演出可動体を初期動作させるための制御コマンドを出力するよう構成され、前記サブ制御部は、前記制御コマンドに対応して実行される演出可動体の初期動作が、正常に終了されない場合には、異常フラグをセット状態にして異常発生を報知するよう構成されている。主制御部のCPUリセットは、典型的には、遊技ホールの開店前である遊技機への電源投入又は復帰時であるので、報知処理を実行しても遊技者に不信感を与えることなく係員による適切な対応が可能となる。なお、演出可動体を初期動作は、主制御部のウォッチドッグタイマの起動時や、主制御部のCPUリセット端子に重畳されたノイズによるCPUリセット時に実行するのも好適である。   The present invention is preferably configured to output a control command for initial operation of the effect movable body to the sub-control unit when the CPU of the main control unit is reset, When the initial operation of the effect movable body executed in response to the control command is not normally completed, the abnormality flag is set to notify the occurrence of the abnormality. Since the CPU reset of the main control unit is typically at the time of powering on or returning to the gaming machine before the opening of the game hall, even if the notification process is executed, the clerk does not give distrust to the player. Appropriate response is possible. The initial operation of the effect movable body is also preferably executed when the watchdog timer of the main control unit is activated or when the CPU is reset due to noise superimposed on the CPU reset terminal of the main control unit.

前記原点領域は、好ましくは、原点スイッチによって特定される原点位置を包含する所定範囲に設定されている。この所定範囲は、遊技者から演出可動体が隠蔽される領域であるのが好適である。また、演出可動体は、典型的には、ステッピングモータによって往復移動又は回転移動させるよう構成されている。   The origin area is preferably set to a predetermined range including the origin position specified by the origin switch. The predetermined range is preferably an area where the effect movable body is concealed from the player. The effect movable body is typically configured to reciprocate or rotate by a stepping motor.

サブ制御部のCPUは、好ましくは、遊技機への電源投入又は復帰時だけでなく、サブ制御部に配置されたウォッチドッグタイマの起動時にも、リセットされるよう構成されている。ウォッチドッグタイマの起動は、プログラムの暴走などによって生じるので、このようなタイミングで演出可動体を回収することで、不自然な位置に演出可動体が停止し続ける異常を解消することができる。   The CPU of the sub-control unit is preferably configured to be reset not only when power is turned on or returned to the gaming machine but also when a watchdog timer arranged in the sub-control unit is activated. Since the start of the watchdog timer occurs due to a program runaway or the like, by collecting the effect movable body at such timing, it is possible to eliminate the abnormality in which the effect movable body continues to stop at an unnatural position.

前記電源部は、好ましくは、遊技機への電源投入又は復帰時に、直流電圧に基づいて生成したリセット信号をサブ制御部のCPUに供給している。このような構成を採ると、直流電圧が維持される交流電源の瞬停時に、むやみに演出可動体が移動することがない。   The power supply section preferably supplies a reset signal generated based on the DC voltage to the CPU of the sub-control section when the game machine is turned on or restored. When such a configuration is adopted, the effect movable body does not move unnecessarily at the momentary power interruption of the AC power source in which the DC voltage is maintained.

また、前記回収手段は、演出可動体が原点領域に回収されない場合に、リトライ処理を一回又は複数回実行するよう構成され、リトライ処理では、演出可動体を原点領域から遠ざかる方向に駆動した後に、原点領域への回収を図っているのが好適である。なお、本発明の遊技機は、典型的には弾球遊技機又は回胴式遊技機である。   Further, the collection means is configured to execute a retry process once or a plurality of times when the effect movable body is not collected in the origin area, and in the retry process, after the effect movable body is driven in a direction away from the origin area. It is preferable to collect the original area. Note that the gaming machine of the present invention is typically a bullet ball game machine or a revolving game machine.

上記した通り、本発明によれば、演出可動体の異常時にも適切に制御動作を継続する遊技機を実現することができる。   As described above, according to the present invention, it is possible to realize a gaming machine that appropriately continues the control operation even when the effect movable body is abnormal.

実施例に示すパチンコ機の斜視図である。It is a perspective view of the pachinko machine shown in an example. 図1のパチンコ機の遊技盤を図示した正面図である。It is the front view which illustrated the game board of the pachinko machine of FIG. 図1のパチンコ機の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the pachinko machine of FIG. 演出制御部の回路構成を示すブロック図である。It is a block diagram showing a circuit configuration of an effect control unit. 回転モータと原点スイッチの構成と動作を説明する図面である。It is drawing explaining the structure and operation | movement of a rotation motor and an origin switch. 昇降モータと原点スイッチの構成と動作を説明する図面である。It is drawing explaining the structure and operation | movement of a raising / lowering motor and an origin switch. 主制御部のメイン処理を説明するフローチャートである。It is a flowchart explaining the main process of a main control part. 主制御部の電断処理を説明するフローチャートである。It is a flowchart explaining the power interruption process of a main control part. 演出制御部の処理を説明するフローチャートである。It is a flowchart explaining the process of an effect control part. 演出制御部のコマンド解析処理を説明するフローチャートである。It is a flowchart explaining the command analysis process of an effect control part. モータ処理を説明するフローチャートである。It is a flowchart explaining a motor process. 原点検出処理を説明するフローチャートである。It is a flowchart explaining an origin detection process. リトライ処理を説明するフローチャートである。It is a flowchart explaining a retry process. 初期動作処理の前半を説明するフローチャートである。It is a flowchart explaining the first half of an initial operation process. 初期動作処理の後半を説明するフローチャートである。It is a flowchart explaining the second half of the initial operation process. 昇降モータについて、初期動作処理の後半を説明するフローチャートである。It is a flowchart explaining the latter half of an initial stage operation process about a raising / lowering motor. 画像制御部のメイン処理を説明するフローチャートである。It is a flowchart explaining the main process of an image control part. 画像制御部のコマンド解析処理を説明するフローチャートである。It is a flowchart explaining the command analysis process of an image control part. 遊技機の電源投入時の動作を説明するタイムチャートである。It is a time chart explaining operation | movement at the time of power activation of a game machine. 遊技機の電源投入時の動作を説明するタイムチャートである。It is a time chart explaining operation | movement at the time of power activation of a game machine.

以下、実施例に基づいて本発明を詳細に説明する。図1は、本実施例のパチンコ機GMを示す斜視図である。このパチンコ機GMは、島構造体に着脱可能に装着される矩形枠状の木製外枠1と、外枠1に固着されたヒンジ2を介して開閉可能に枢着される前枠3とで構成されている。この前枠3には、遊技盤5が、裏側からではなく、表側から着脱自在に装着され、その前側には、ガラス扉6と前面板7とが夫々開閉自在に枢着されている。   Hereinafter, the present invention will be described in detail based on examples. FIG. 1 is a perspective view showing a pachinko machine GM of the present embodiment. This pachinko machine GM includes a rectangular frame-shaped wooden outer frame 1 that is detachably mounted on an island structure, and a front frame 3 that is pivotably mounted via a hinge 2 fixed to the outer frame 1. It is configured. A game board 5 is detachably attached to the front frame 3 from the front side, not from the back side, and a glass door 6 and a front plate 7 are pivotally attached to the front side so as to be openable and closable.

ガラス扉6の外周には、LEDランプなどによる電飾ランプが、略C字状に配置されている。一方、ガラス扉6の下側には、スピーカが配置されている。   On the outer periphery of the glass door 6, an electric lamp such as an LED lamp is arranged in a substantially C shape. On the other hand, a speaker is disposed below the glass door 6.

前面板7には、発射用の遊技球を貯留する上皿8が装着され、前枠3の下部には、上皿8から溢れ出し又は抜き取った遊技球を貯留する下皿9と、発射ハンドル10とが設けられている。発射ハンドル10は発射モータと連動しており、発射ハンドル10の回動角度に応じて動作する打撃槌によって遊技球が発射される。   The front plate 7 is provided with an upper plate 8 for storing game balls for launching, and a lower plate 9 for storing game balls overflowing or extracted from the upper plate 8 and a launch handle at the lower part of the front frame 3. 10 are provided. The launch handle 10 is interlocked with the launch motor, and a game ball is launched by a striking rod that operates according to the rotation angle of the launch handle 10.

上皿8の外周面には、チャンスボタン11が設けられている。このチャンスボタン11は、遊技者の左手で操作できる位置に設けられており、遊技者は、発射ハンドル10から右手を離すことなくチャンスボタン11を操作できる。このチャンスボタン11は、通常時には機能していないが、ゲーム状態がボタンチャンス状態となると内蔵ランプが点灯されて操作可能となる。なお、ボタンチャンス状態は、必要に応じて設けられるゲーム状態である。   A chance button 11 is provided on the outer peripheral surface of the upper plate 8. The chance button 11 is provided at a position where it can be operated with the left hand of the player, and the player can operate the chance button 11 without releasing the right hand from the firing handle 10. The chance button 11 does not function normally, but when the game state becomes the button chance state, the built-in lamp is turned on and can be operated. The button chance state is a game state provided as necessary.

上皿8の右部には、カード式球貸し機に対する球貸し操作用の操作パネル12が設けられ、カード残額を3桁の数字で表示する度数表示部と、所定金額分の遊技球の球貸しを指示する球貸しスイッチと、ゲーム終了時にカードの返却を指令する返却スイッチとが設けられている。   On the right side of the upper plate 8, an operation panel 12 for ball lending operation with respect to the card-type ball lending machine is provided, a frequency display unit for displaying the remaining amount of the card with a three-digit number, and a ball of game balls for a predetermined amount A ball lending switch for instructing lending and a return switch for instructing to return the card at the end of the game are provided.

図2に示すように、遊技盤5の表面には、金属製の外レールと内レールとからなるガイドレール13が環状に設けられ、その略中央には、背面側に延びる中央開口HOが設けられている。そして、中央開口HOの奥底には、液晶カラーディスプレイで構成された表示装置DISPが配置されている。   As shown in FIG. 2, a guide rail 13 made of a metal outer rail and an inner rail is provided in an annular shape on the surface of the game board 5, and a central opening HO extending toward the back side is provided in the approximate center. It has been. A display device DISP composed of a liquid crystal color display is arranged at the bottom of the central opening HO.

また、表示装置DISPの前面に形成される空間には、演出可動体AMUが昇降自在に配置されている。演出可動体AMUは、昇降機構ALVに保持されて昇降される固定部材FIXと、固定部材FIXに支持されて回転する回転部材ROTとで構成されている。なお、通常時には、演出可動体AMUは、昇降機構ALVに吊り上げられた原点領域で待機している。   In addition, an effect movable body AMU is disposed so as to be movable up and down in a space formed in front of the display device DISP. The effect movable body AMU includes a fixed member FIX that is held up and down by being held by the lifting mechanism ALV, and a rotating member ROT that is supported and rotated by the fixed member FIX. In the normal state, the effect movable body AMU stands by in the origin area suspended by the lifting mechanism ALV.

遊技領域5aの適所には、図柄始動口15、大入賞口16、普通入賞口17、ゲート18が配設されている。これらの入賞口15〜18は、それぞれ内部に検出スイッチを有しており、遊技球の通過を検出できるようになっている。   A symbol starting port 15, a big winning port 16, a normal winning port 17, and a gate 18 are arranged at appropriate positions in the game area 5a. Each of these winning openings 15 to 18 has a detection switch inside, and can detect the passage of a game ball.

表示装置DISPは、大当り状態に係わる特定図柄を変動表示すると共に背景画像や各種のキャラクタなどをアニメーション的に表示する装置である。この表示装置DISPは、中央部に特別図柄表示部Da〜Dcと右上部に普通図柄表示部19を有している。そして、特別図柄表示部Da〜Dcでは、大当り状態の招来を期待させるリーチ演出が実行されたり、特別図柄表示部Da〜Dc及びその周りでは、当否結果を不確定に報知する予告演出などが実行される。   The display device DISP is a device that variably displays a specific symbol related to the big hit state and displays a background image and various characters in an animated manner. This display device DISP has a special symbol display part Da to Dc in the center and a normal symbol display part 19 in the upper right part. And, in the special symbol display parts Da to Dc, a reach effect is executed that expects a big hit state to be invited, or in the special symbol display parts Da to Dc and the surroundings, a notice effect that informs the result of the success or failure is executed Is done.

普通図柄表示部19は普通図柄を表示するものであり、ゲート18を通過した遊技球が検出されると、普通図柄が所定時間だけ変動し、遊技球のゲート18の通過時点において抽出された抽選用乱数値により決定される停止図柄を表示して停止するようになっている。   The normal symbol display unit 19 displays a normal symbol. When a game ball that has passed through the gate 18 is detected, the normal symbol fluctuates for a predetermined time, and the lottery extracted at the time when the game ball passes through the gate 18 is extracted. The stop symbol determined by the random number for use is displayed and stopped.

図柄始動口15は、左右一対の開閉爪を備えた電動式チューリップで開閉されるように構成され、普通図柄表示部19の変動後の停止図柄が当り図柄を表示した場合には、開閉爪が所定時間だけ、若しくは、所定個数の遊技球を検出するまで開放されるようになっている。   The symbol start opening 15 is configured to be opened and closed by an electric tulip having a pair of left and right opening and closing claws, and when the stop symbol after the fluctuation of the normal symbol display unit 19 hits and the symbol is displayed, the opening and closing claws are displayed. It is opened only for a predetermined time or until a predetermined number of game balls are detected.

図柄始動口15に遊技球が入賞すると、特別図柄表示部Da〜Dcの表示図柄が所定時間だけ変動し、図柄始動口15への遊技球の入賞タイミングに応じた抽選結果に基づいて決定される停止図柄で停止する。なお、特別図柄表示部Da〜Dc及びその周りでは、一連の図柄演出の間に、予告演出が実行される場合がある。また、予告演出の一種として、演出可動体AMUが中央開口HOの位置に降下してくることがある。そして、降下した演出可動体AMUは、時計方向又は反時計方向に回転した後、元の位置に上昇する。   When a game ball wins the symbol start port 15, the display symbols of the special symbol display portions Da to Dc change for a predetermined time and are determined based on the lottery result corresponding to the winning timing of the game ball to the symbol start port 15. Stop at the stop symbol. In addition, in special symbol display parts Da-Dc and the circumference | surroundings, a notice effect may be performed between a series of symbol effects. In addition, as a kind of notice effect, the effect movable body AMU may descend to the position of the central opening HO. Then, the lowered effect movable body AMU is rotated clockwise or counterclockwise and then raised to the original position.

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

大入賞口16の開閉板16aが開放された後、所定時間が経過し、又は所定数(例えば10個)の遊技球が入賞すると開閉板16aが閉じる。このような動作は、最大で例えば15回まで特別遊技が継続され、遊技者に有利な状態に制御される。なお、特別図柄表示部Da〜Dcの変動後の停止図柄が特別図柄のうちの特定図柄であった場合には、特別遊技の終了後のゲームが高確率状態(確変状態)となるという特典が付与される。   After the opening / closing plate 16a of the big prize opening 16 is opened, the opening / closing plate 16a is closed when a predetermined time elapses or when a predetermined number (for example, 10) of game balls wins. In such an operation, the special game is continued up to 15 times, for example, and is controlled in a state advantageous to the player. In addition, when the stop symbol after the change of the special symbol display parts Da to Dc is a specific symbol among the special symbols, there is a privilege that the game after the end of the special game becomes a high probability state (probability variation state). Is granted.

図3は、上記した各動作を実現するパチンコ機GMの全体回路構成を示すブロック図である。図中の一点破線は、主に、直流電圧ラインを示している。   FIG. 3 is a block diagram showing an overall circuit configuration of the pachinko machine GM that realizes the above-described operations. A dashed line in the figure mainly indicates a DC voltage line.

図示の通り、このパチンコ機GMは、AC24Vを受けて各種の直流電圧や、電源異常信号ABN1、ABN2やシステムリセット信号(電源リセット信号)SYSなどを出力する電源基板20と、遊技制御動作を中心統括的に担う主制御基板21と、主制御基板21から受けた制御コマンドCMDに基づいてランプ演出及び音声演出を実行する演出制御基板22と、演出制御基板22から受けた制御コマンドCMD’に基づいて表示装置DISPを駆動する画像制御基板23と、主制御基板21から受けた制御コマンドCMD”に基づいて払出モータMを制御して遊技球を払い出す払出制御基板24と、遊技者の操作に応答して遊技球を発射させる発射制御基板25と、を中心に構成されている。   As shown in the figure, this pachinko machine GM mainly receives a 24V AC and outputs various DC voltages, power supply abnormality signals ABN1, ABN2, a system reset signal (power reset signal) SYS, and the like, and a game control operation. Based on the main control board 21 that performs overall control, the effect control board 22 that executes the lamp effect and the sound effect based on the control command CMD received from the main control board 21, and the control command CMD ′ received from the effect control board 22 The image control board 23 for driving the display device DISP, the payout control board 24 for controlling the payout motor M based on the control command CMD "received from the main control board 21, and paying out the game balls. It is mainly composed of a launch control board 25 that responds and launches a game ball.

但し、この実施例では、主制御基板21が出力する制御コマンドCMDは、コマンド中継基板26と演出インタフェイス基板27を経由して、演出制御基板22に伝送される。また、演出制御基板22が出力する制御コマンドCMD’は、演出インタフェイス基板27を経由して、画像制御基板23に伝送され、主制御基板21が出力する制御コマンドCMD”は、主基板中継基板28を経由して、払出制御基板24に伝送される。   However, in this embodiment, the control command CMD output from the main control board 21 is transmitted to the effect control board 22 via the command relay board 26 and the effect interface board 27. Further, the control command CMD ′ output from the effect control board 22 is transmitted to the image control board 23 via the effect interface board 27, and the control command CMD ″ output from the main control board 21 is the main board relay board. It is transmitted to the payout control board 24 via 28.

これら主制御基板21、演出制御基板22、画像制御基板23、及び払出制御基板24には、ワンチップマイコンを備えるコンピュータ回路がそれぞれ搭載されている。そこで、これらの制御基板21〜24に搭載された回路、及びその回路によって実現される動作を機能的に総称して、本明細書では、主制御部21、演出制御部22、画像制御部23、及び払出制御部24と言うことがある。なお、演出制御部22、画像制御部23、及び払出制御部24の全部又は一部がサブ制御部である。   The main control board 21, the effect control board 22, the image control board 23, and the payout control board 24 are each equipped with a computer circuit including a one-chip microcomputer. Thus, the circuits mounted on the control boards 21 to 24 and the operations realized by the circuits are collectively referred to as a function. In this specification, the main control unit 21, the effect control unit 22, and the image control unit 23 are used. , And the payout control unit 24. All or part of the effect control unit 22, the image control unit 23, and the payout control unit 24 is a sub-control unit.

ところで、このパチンコ機GMは、図3の破線で囲む枠側部材GM1と、遊技盤5の背面に固定された盤側部材GM2とに大別されている。枠側部材GM1には、ガラス扉6や前面板7が枢着された前枠3と、その外側の木製外枠1とが含まれており、機種の変更に拘わらず、長期間にわたって遊技ホールに固定的に設置される。一方、盤側部材GM2は、機種変更に対応して交換され、新たな盤側部材GM2が、元の盤側部材の代わりに枠側部材GM1に取り付けられる。なお、枠側部材1を除く全てが、盤側部材GM2である。   By the way, the pachinko machine GM is roughly divided into a frame side member GM1 surrounded by a broken line in FIG. 3 and a board side member GM2 fixed to the back of the game board 5. The frame side member GM1 includes a front frame 3 on which a glass door 6 and a front plate 7 are pivotally attached, and a wooden outer frame 1 on the outside thereof. Is fixedly installed. On the other hand, the board side member GM2 is replaced in response to the model change, and a new board side member GM2 is attached to the frame side member GM1 instead of the original board side member. All except the frame side member 1 is the panel side member GM2.

図3の破線枠に示す通り、枠側部材GM1には、電源基板20と、払出制御基板24と、発射制御基板25と、枠中継基板32とが含まれており、これらの回路基板が、前枠3の適所に各々固定されている。一方、遊技盤5の背面には、主制御基板21、演出制御基板22、画像制御基板23が、表示装置DISPやその他の回路基板と共に固定されている。そして、枠側部材GM1と盤側部材GM2とは、一箇所に集中配置された接続コネクタC1〜C4によって電気的に接続されている。   As shown in the broken line frame in FIG. 3, the frame-side member GM1 includes a power supply board 20, a payout control board 24, a launch control board 25, and a frame relay board 32, and these circuit boards are Each is fixed in place on the front frame 3. On the other hand, on the back of the game board 5, a main control board 21, an effect control board 22, and an image control board 23 are fixed together with the display device DISP and other circuit boards. And the frame side member GM1 and the board | substrate side member GM2 are electrically connected by the connection connectors C1-C4 concentratedly arranged in one place.

電源基板20は、接続コネクタC2を通して、主基板中継基板28に接続され、接続コネクタC3を通して、電源中継基板30に接続されている。電源基板20には、交流電源の投入と遮断とを監視する電源監視部MNTが設けられている。電源監視部MNTは、交流電源が投入されたことを検知すると、所定時間だけシステムリセット信号SYSをLレベルに維持した後に、これをHレベルに遷移させる。   The power supply board 20 is connected to the main board relay board 28 through the connection connector C2, and is connected to the power supply relay board 30 through the connection connector C3. The power supply board 20 is provided with a power supply monitoring unit MNT that monitors whether AC power is turned on or off. When power supply monitoring unit MNT detects that AC power is turned on, it maintains system reset signal SYS at L level for a predetermined time, and then transitions it to H level.

また、電源監視部MNTは、交流電源の遮断を検知すると、電源異常信号ABN1,ABN2を、直ちにLレベルに遷移させる。なお、電源異常信号ABN1,ABN2は、電源投入後に速やかにHレベルとなる。   Further, when power supply monitoring unit MNT detects the interruption of the AC power supply, power supply abnormality signals ABN1 and ABN2 are immediately shifted to the L level. The power supply abnormality signals ABN1 and ABN2 quickly become H level after the power is turned on.

ところで、本実施例のシステムリセット信号は、交流電源に基づく直流電源によって生成されている。そのため、交流電源の投入(通常は電源スイッチのON)を検知してHレベルに増加した後は、直流電源電圧が異常レベルまで低下しない限り、Hレベルを維持する。したがって、直流電源電圧が維持された状態で、交流電源が瞬停状態となっても、システムリセット信号SYSがCPUをリセットすることはない。なお、電源異常信号ABN1,ABN2は、交流電源の瞬停状態でも出力される。   Incidentally, the system reset signal of this embodiment is generated by a DC power supply based on an AC power supply. For this reason, after detecting the turning-on of the AC power supply (usually turning on the power switch) and increasing it to the H level, the H level is maintained unless the DC power supply voltage drops to an abnormal level. Therefore, even if the AC power supply is in an instantaneous power interruption state while the DC power supply voltage is maintained, the system reset signal SYS does not reset the CPU. The power supply abnormality signals ABN1 and ABN2 are also output even when the AC power supply is instantaneously stopped.

主基板中継基板28は、電源基板20から出力される電源異常信号ABN1、バックアップ電源BAK、及びDC5V,DC12V,DC32Vを、そのまま主制御部21に出力している。一方、電源中継基板30は、電源基板20から受けたシステムリセット信号SYSや、交流及び直流の電源電圧を、そのまま演出インタフェイス基板27に出力している。なお、演出インタフェイス基板27は、受けたシステムリセット信号SYSを、そのまま演出制御部22と画像制御部23に出力している。   The main board relay board 28 outputs the power abnormality signal ABN1, the backup power supply BAK, and DC5V, DC12V, and DC32V output from the power board 20 to the main control unit 21 as they are. On the other hand, the power relay board 30 outputs the system reset signal SYS received from the power board 20 and the AC and DC power supply voltages to the effect interface board 27 as they are. The production interface board 27 outputs the received system reset signal SYS to the production control unit 22 and the image control unit 23 as they are.

一方、払出制御基板24は、中継基板を介することなく、電源基板20に直結されており、主制御部21が受けると同様の電源異常信号ABN2や、バックアップ電源BAKを、その他の電源電圧と共に直接的に受けている。   On the other hand, the payout control board 24 is directly connected to the power supply board 20 without going through the relay board, and directly receives the same power abnormality signal ABN2 and backup power supply BAK as the main control unit 21 receives together with other power supply voltages. Is receiving.

電源基板20が出力するシステムリセット信号SYSは、電源基板20に交流電源24Vが投入されたことを示す電源リセット信号であり、この電源リセット信号によって演出制御部22と画像制御部23のワンチップマイコンは、その他のIC素子と共に電源リセットされるようになっている。   The system reset signal SYS output from the power supply board 20 is a power supply reset signal indicating that the AC power supply 24V has been turned on to the power supply board 20, and the one-chip microcomputer of the effect control unit 22 and the image control unit 23 by this power supply reset signal. The power is reset together with other IC elements.

但し、このシステムリセット信号SYSは、主制御部21と払出制御部24には、供給されておらず、各々の回路基板21,24のリセット回路RSTにおいて電源リセット信号(CPUリセット信号)が生成されている。そのため、例えば、接続コネクタC2がガタついたり、或いは、配線ケーブルにノイズが重畳しても、主制御部21や払出制御部24のCPUが異常リセットされるおそれはない。なお、演出制御部22と画像制御部23は、主制御部21からの制御コマンドに基づいて、従属的に演出動作を実行することから、回路構成の複雑化を回避するために、電源基板20から出力されるシステムリセット信号SYSを利用している。   However, the system reset signal SYS is not supplied to the main control unit 21 and the payout control unit 24, and a power reset signal (CPU reset signal) is generated in the reset circuit RST of each of the circuit boards 21 and 24. ing. Therefore, for example, even if the connection connector C2 is rattled or noise is superimposed on the wiring cable, there is no possibility that the CPU of the main control unit 21 or the payout control unit 24 is abnormally reset. The effect control unit 22 and the image control unit 23 execute the effect operation in a dependent manner based on the control command from the main control unit 21, so that the power supply board 20 is avoided in order to avoid complication of the circuit configuration. The system reset signal SYS output from is used.

ところで、主制御部21や払出制御部24に設けられたリセット回路RSTは、各々ウォッチドッグタイマを内蔵しており、各制御部21,24のCPUから、定時的なクリアパルスを受けない限り、各CPUは強制的にリセットされる。   By the way, the reset circuits RST provided in the main control unit 21 and the payout control unit 24 each have a built-in watchdog timer, and unless a regular clear pulse is received from the CPUs of the control units 21 and 24, Each CPU is forcibly reset.

また、この実施例では、RAMクリア信号CLRは、主制御部21で生成されて主制御部21と払出制御部24のワンチップマイコンに伝送されている。ここで、RAMクリア信号CLRは、各制御部21,24のワンチップマイコンの内蔵RAMの全領域を初期設定するか否かを決定する信号であって、係員が操作する初期化スイッチSWのON/OFF状態に対応した値を有している。   In this embodiment, the RAM clear signal CLR is generated by the main control unit 21 and transmitted to the one-chip microcomputer of the main control unit 21 and the payout control unit 24. Here, the RAM clear signal CLR is a signal for deciding whether or not to initialize all the areas of the built-in RAM of the one-chip microcomputer of each control unit 21 and 24. The initialization switch SW operated by the attendant is turned on. It has a value corresponding to the / OFF state.

主制御部21及び払出制御部24は、電源基板20から電源異常信号ABN1,ABN2を受けることによって、停電や営業終了に先立って、必要な終了処理を開始するようになっている。また、バックアップ電源BAKは、営業終了や停電により交流電源24Vが遮断された後も、主制御部21と払出制御部24のワンチップマイコンの内蔵RAMのデータを保持するDC5Vの直流電源である。したがって、主制御部21と払出制御部24は、電源遮断前の遊技動作を電源投入後に再開できることになる(電源バックアップ機能)。このパチンコ機では少なくとも数日は、各ワンチップマイコンのRAMの記憶内容が保持されるよう設計されている。   The main control unit 21 and the payout control unit 24 receive the power supply abnormality signals ABN1 and ABN2 from the power supply board 20 to start necessary end processing prior to a power failure or business end. The backup power supply BAK is a DC5V DC power source that retains data in the RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 24 even after the AC power supply 24V is shut off due to business termination or power failure. Therefore, the main control unit 21 and the payout control unit 24 can resume the game operation before power-off after power-on (power backup function). This pachinko machine is designed to retain the stored contents of the RAM of each one-chip microcomputer for at least several days.

図3に示す通り、主制御部21は、主基板中継基板28を経由して、払出制御部24に制御コマンドCMD”を送信する一方、払出制御部24からは、遊技球の払出動作を示す賞球計数信号や、払出動作の異常に係わるステイタス信号CONや、動作開始信号BGNを受信している。ステイタス信号CONには、例えば、補給切れ信号、払出不足エラー信号、下皿満杯信号が含まれる。動作開始信号BGNは、電源投入後、払出制御部24の初期動作が完了したことを主制御部21に通知する信号である。   As shown in FIG. 3, the main control unit 21 transmits a control command CMD ″ to the payout control unit 24 via the main board relay board 28, while the payout control unit 24 indicates a game ball payout operation. A prize ball counting signal, a status signal CON relating to an abnormality in the payout operation, and an operation start signal BGN are received, and the status signal CON includes, for example, a replenishment signal, a payout shortage error signal, and a lower plate full signal. The operation start signal BGN is a signal for notifying the main control unit 21 that the initial operation of the payout control unit 24 has been completed after the power is turned on.

また、主制御部21は、遊技盤中継基板29を経由して、遊技盤5の各遊技部品に接続されている。そして、遊技盤上の各入賞口16〜18に内蔵された検出スイッチのスイッチ信号を受ける一方、電動チューリップなどのソレノイド類を駆動している。ソレノイド類や検出スイッチは、主制御部21から給電された電源電圧VB(12V)で動作するよう構成されている。そして、図柄始動口15への入賞状態などを示す各スイッチ信号は、電源電圧VB(12V)と電源電圧Vcc(5V)とで動作するインタフェイスICで、TTLレベルのスイッチ信号に変換された上で、主制御部21に伝送される。   The main control unit 21 is connected to each game component of the game board 5 via the game board relay board 29. And while receiving the switch signal of the detection switch built in each winning opening 16-18 on a game board, solenoids, such as an electric tulip, are driven. The solenoids and the detection switch are configured to operate with a power supply voltage VB (12 V) supplied from the main control unit 21. Each switch signal indicating a winning state to the symbol starting port 15 is converted to a TTL level switch signal by an interface IC that operates with the power supply voltage VB (12 V) and the power supply voltage Vcc (5 V). Then, the data is transmitted to the main control unit 21.

図4に示すように、演出制御部22は、音声演出・ランプ演出・演出可動体による予告演出・データ転送などの処理を実行するワンチップマイコン40と、ワンチップマイコン40の制御プログラムなどを記憶するEPROM41と、ワンチップマイコン40からの指示に基づいて音声信号を再生して出力する音声再生出力回路42と、再生される音声信号の元データである圧縮音声データを記憶する音声用メモリ43と、ウォッチドッグタイマWDTとを備えて構成されている。   As shown in FIG. 4, the effect control unit 22 stores a one-chip microcomputer 40 that executes processing such as a sound effect, a lamp effect, a notice effect by an effect movable body, and data transfer, a control program for the one-chip microcomputer 40, and the like. EPROM 41 to be played, an audio reproduction output circuit 42 for reproducing and outputting an audio signal based on an instruction from the one-chip microcomputer 40, and an audio memory 43 for storing compressed audio data which is original data of the audio signal to be reproduced And a watchdog timer WDT.

ワンチップマイコン40には、パラレル入出力ポートPIOが内蔵されている。そして、パラレルポートPIOからは、制御コマンドCMD’及びストローブ信号STB’と共に、演出可動体AMUを機能させる駆動データΦ1〜Φ4も出力されている。演出可動体AMUは、昇降機構ALVを構成する昇降モータMOによって昇降され、固定部材FIXに配置された回転モータMTによって回転駆動される。なお、昇降モータMOや回転モータMTは、ステッピングモータで構成されており、各々、ドライバ回路45A,45Bを経由して駆動される。また、回転モータMTや昇降モータMOに関連して、原点スイッチORGが設けられており、そのスイッチ信号(原点検出信号)SNは、パラレルポートPIOに入力されている。   The one-chip microcomputer 40 includes a parallel input / output port PIO. The parallel port PIO also outputs drive data Φ1 to Φ4 for causing the effect movable body AMU to function together with the control command CMD ′ and the strobe signal STB ′. The effect movable body AMU is moved up and down by a lifting motor MO that constitutes the lifting mechanism ALV, and is driven to rotate by a rotary motor MT disposed on the fixed member FIX. The elevating motor MO and the rotating motor MT are composed of stepping motors and are driven via driver circuits 45A and 45B, respectively. Further, an origin switch ORG is provided in relation to the rotary motor MT and the lift motor MO, and the switch signal (origin detection signal) SN is input to the parallel port PIO.

ウォッチドッグタイマWDTは、ワンチップマイコン40から定期的に供給されるクリアパルスでリセットされるが、プログラムの暴走などによって、このクリアパルスが途絶えると、リセット信号RESETを出力するようになっている。その結果、ワンチップマイコン40は、初期状態に強制的にリセットされ、プログラムの暴走状態などが解消される。   The watchdog timer WDT is reset by a clear pulse periodically supplied from the one-chip microcomputer 40. When the clear pulse is interrupted due to a program runaway or the like, a reset signal RESET is output. As a result, the one-chip microcomputer 40 is forcibly reset to the initial state, and the program runaway state is solved.

図4に示す通り、演出制御基板22のワンチップマイコン40には、主制御基板21から出力された制御コマンドCMDとストローブ信号(割込み信号)STBとが、演出インタフェイス基板27のバッファ48を経由して供給されている。割込み信号STBは、ワンチップマイコンの割込み端子INTに供給されている。そして、ストローブ信号STBによって起動される受信割込み処理によって、演出制御部22は、制御コマンドCMDを取得することになる。   As shown in FIG. 4, the control command CMD and the strobe signal (interrupt signal) STB output from the main control board 21 are sent to the one-chip microcomputer 40 of the effect control board 22 via the buffer 48 of the effect interface board 27. Is supplied. The interrupt signal STB is supplied to the interrupt terminal INT of the one-chip microcomputer. Then, the effect control unit 22 acquires the control command CMD by the reception interrupt process activated by the strobe signal STB.

演出制御部22が取得する制御コマンドCMDには、(1) 異常報知その他の報知用制御コマンドなどの他に、(2) 図柄始動口への入賞に起因する各種演出動作の概要を特定する制御コマンド(変動パターンコマンド)が含まれている。ここで、変動パターンコマンドで特定される演出動作の概要には、演出開始から演出終了までの演出総時間と、大当り抽選における当否結果とが含まれている。なお、これらに加えて、リーチ演出や予告演出の有無などを含めて変動パターンコマンドで特定しても良いが、この場合でも、演出内容の具体的な内容は特定されていない。   The control command CMD acquired by the effect control unit 22 includes (1) an abnormality notification and other notification control commands, and (2) a control for specifying an outline of various effect operations resulting from winning at the symbol start opening. Commands (variation pattern commands) are included. Here, the outline of the production operation specified by the variation pattern command includes the production total time from the production start to the production end, and the result of winning or failing in the big hit lottery. In addition to these, the change pattern command including the presence or absence of the reach effect or the notice effect may be specified, but even in this case, the specific content of the effect content is not specified.

そのため、演出制御部22では、変動パターンコマンドCMDを取得すると、これに続いて演出抽選を行い、取得した変動パターンコマンドで特定される演出概要を更に具体化している。   Therefore, when the effect control unit 22 acquires the variation pattern command CMD, the effect lottery is subsequently performed, and the effect outline specified by the acquired variation pattern command is further specified.

例えば、リーチ演出や予告演出について、その具体的な内容が決定される。そして、決定された具体的な遊技内容にしたがい、LED群などの点滅によるランプ演出や、スピーカによる音声演出の準備動作を行うと共に、画像制御部23に対して、ランプやスピーカによる演出動作に同期した図柄演出に関する制御コマンドCMD’を出力する。また、演出可動体AMUを使用する予告動作時には、昇降モータMOを回転させた後、回転モータMTを回転させる。   For example, the specific contents of the reach effect and the notice effect are determined. Then, in accordance with the determined specific game content, a lamp effect by blinking the LED group and a sound effect preparation operation by the speaker are performed, and the image control unit 23 is synchronized with the effect operation by the lamp and the speaker. The control command CMD ′ related to the rendered symbol effect is output. Further, during the advance notice operation using the effect movable body AMU, the rotary motor MT is rotated after the elevating motor MO is rotated.

なお、昇降モータMOを回転させるタイミングでは、回転モータMTへの駆動制御も開始され、回転モータMTは、自由回転可能な非駆動状態から、静止姿勢を維持する駆動状態に変化する。したがって、仮に、演出可動体AMUを迅速に昇降させても、停止時に、演出可動体AMUの水平姿勢が崩れるおそれはない。   At the timing of rotating the lifting motor MO, drive control to the rotary motor MT is also started, and the rotary motor MT changes from a non-drive state in which free rotation is possible to a drive state in which a stationary posture is maintained. Therefore, even if the effect movable body AMU is moved up and down quickly, there is no possibility that the horizontal posture of the effect movable object AMU is broken when stopped.

このような演出動作に同期した図柄演出を実現するため、演出制御部22は、画像制御部23に対するストローブ信号(割込み信号)STB’と共に、制御コマンドCMD’を演出インタフェイス基板27に向けて出力する。なお、演出制御部22は、表示装置に関連する報知用制御コマンドや、その他の制御コマンドを受信した場合は、その制御コマンドを、そのまま割込み信号STB’と共に演出インタフェイス基板27に向けて出力する。   In order to realize such a symbol effect synchronized with the effect operation, the effect control unit 22 outputs a control command CMD ′ to the effect interface board 27 together with a strobe signal (interrupt signal) STB ′ for the image control unit 23. To do. When the notification control command related to the display device or other control commands is received, the effect control unit 22 outputs the control command to the effect interface board 27 together with the interrupt signal STB ′. .

上記した演出制御基板22の構成に対応して、演出インタフェイス基板27は、8ビット長の制御コマンドCMD’と1ビット長の割込み信号STB’を受けるよう構成されている。そして、これらのデータCMD’,STB’は、バッファ回路46を経由して、そのまま画像制御基板23に出力される。また、演出インタフェイス基板27は、演出制御部22から出力されるランプ駆動用の信号を受け、これを、ランプ接続基板34を経由してLEDランプ群に供給する。その結果、主制御部21が出力した制御コマンドCMDに対応するランプ演出が実現される。   Corresponding to the configuration of the effect control board 22, the effect interface board 27 is configured to receive an 8-bit control command CMD 'and a 1-bit interrupt signal STB'. These data CMD ′ and STB ′ are output to the image control board 23 via the buffer circuit 46 as they are. The effect interface board 27 receives a lamp driving signal output from the effect control unit 22 and supplies the signal to the LED lamp group via the lamp connection board 34. As a result, a lamp effect corresponding to the control command CMD output from the main control unit 21 is realized.

また、画像制御部23は、演出インタフェイス基板27を経由して制御コマンドを受信して画像制御動作を実行するワンチップマイコンと、ワンチップマイコンの指示に基づき表示装置DISPを駆動するVDPと、グラフィックROMと、制御用ROMと、ワンチップマイコンを強制リセットさせるウォッチドッグタイマWDTとを有して構成されている。   The image control unit 23 receives a control command via the effect interface board 27 and executes an image control operation, a VDP that drives the display device DISP based on an instruction of the one-chip microcomputer, It has a graphic ROM, a control ROM, and a watchdog timer WDT that forcibly resets the one-chip microcomputer.

なお、システムリセット信号SYSは、演出インタフェイス基板27を経由して、演出制御部22と画像制御部23のワンチップマイコンの内蔵CPUのリセット端子RESETに供給されており、交流電源の投入時には、各CPUが電源リセットされる。   The system reset signal SYS is supplied via the effect interface board 27 to the reset terminal RESET of the built-in CPU of the one-chip microcomputer of the effect control unit 22 and the image control unit 23. Each CPU is reset.

続いて、演出可動体AMUを回転させる回転モータMTについて説明する。図5に示す通り、実施例の演出可動体AMUは、演出制御基板22に搭載されたドライバ回路45Bと回転モータMTとによって駆動されている。更に説明すると、図示の演出可動体AMUは、定常状態では一方向に回転する回転モータMTと、ギアG1,G2を経由して回転駆動される回転部材ROTと、を有して構成されている(図5(a)参照)。   Next, the rotation motor MT that rotates the effect movable body AMU will be described. As shown in FIG. 5, the effect movable body AMU of the embodiment is driven by a driver circuit 45 </ b> B and a rotary motor MT mounted on the effect control board 22. More specifically, the illustrated effect movable body AMU includes a rotation motor MT that rotates in one direction in a steady state and a rotation member ROT that is rotationally driven via gears G1 and G2. (See FIG. 5 (a)).

図5(b)に示す通り、回転モータMTは、例えば、二相励磁されるステッピングモータで構成され、ドライバ回路45Bは、ダーリントン接続されたトランジスタTrとダンパーダイオードDpとを有して構成されている。なお、この実施例では、回転モータMTにギア結合された回転部材ROTが、360/245°ピッチで回転しており、回転モータMTが245ステップの駆動パルスΦ1〜Φ4を受けると、回転部材ROTが一回転する。   As shown in FIG. 5B, the rotary motor MT is configured by, for example, a two-phase excited stepping motor, and the driver circuit 45B is configured by including a Darlington-connected transistor Tr and a damper diode Dp. Yes. In this embodiment, the rotating member ROT geared to the rotating motor MT rotates at a 360/245 ° pitch, and when the rotating motor MT receives the driving pulses Φ1 to Φ4 of 245 steps, the rotating member ROT. Rotates once.

駆動パルスΦ1〜Φ4は、例えば、4ビット長の駆動データ0101,1001,1010,0110を、ドライバ回路45Bに出力することで生成され、出力する駆動データを変化させることで回転モータMTが1ステップ角ごとに歩進する。なお、駆動データが変化しない場合には回転モータMTが拘束状態で停止する。一方、非駆動データ(0000)をドライバ回路45Bに出力すると、回転モータMTは自由回転可能な非拘束状態となる。   The drive pulses Φ1 to Φ4 are generated, for example, by outputting 4-bit drive data 0101, 1001, 1010, 0110 to the driver circuit 45B, and changing the output drive data causes the rotary motor MT to perform one step. Step through every corner. When the drive data does not change, the rotary motor MT stops in a restrained state. On the other hand, when the non-drive data (0000) is output to the driver circuit 45B, the rotary motor MT is in an unconstrained state in which it can freely rotate.

演出可動体AMUには、回転部材ROTが、原点位置に達したことを検出する原点スイッチORGが配置されている。そのため、演出可動体AMUに対して、回転モータMTの回転トルクが不足気味となっても、演出可動体AMUを正確に一回転させることができる。すなわち、回転モータMTの回転トルクが不十分であると、245ステップの駆動パルスΦ1〜Φ4では、演出可動体AMUを正確に一回転させることができない可能性があるが、原点スイッチORGを設けることで、回転角度360°を駆動パルスのステップ数で制御する必要がなくなる。例えば、ギア結合で回転速度を増速させる場合には、回転トルクが減少するので、原点スイッチORGを設けた意義は大きい。   In the effect movable body AMU, an origin switch ORG that detects that the rotating member ROT has reached the origin position is arranged. Therefore, even if the rotational torque of the rotary motor MT becomes insufficient with respect to the effect movable body AMU, the effect movable body AMU can be rotated exactly once. That is, if the rotational torque of the rotary motor MT is insufficient, there is a possibility that the effect movable body AMU cannot be rotated exactly once with the driving pulses Φ1 to Φ4 of 245 steps, but the origin switch ORG is provided. Therefore, it is not necessary to control the rotation angle 360 ° with the number of steps of the drive pulse. For example, when the rotational speed is increased by gear coupling, the rotational torque is reduced, so that the origin switch ORG is significant.

原点スイッチORGは、具体的には、発光部と受光部とを有するフォトインタラプタPHと、発光部から放射された検査光を遮断する遮光片SHとで構成されている。なお、発光部はフォトダイオードで構成され、受光部はフォトトランジスタで構成されている(図5(c)参照)。そのため、原点検出信号SNは、フォトトランジスタの出力として、通常時はLレベル(OFFレベル)であるが、遮光片SHによる遮光状態ではHレベル(ONレベル)となる。   Specifically, the origin switch ORG includes a photo interrupter PH having a light emitting part and a light receiving part, and a light shielding piece SH that blocks inspection light emitted from the light emitting part. Note that the light emitting unit is configured by a photodiode, and the light receiving unit is configured by a phototransistor (see FIG. 5C). Therefore, the origin detection signal SN is normally at the L level (OFF level) as the output of the phototransistor, but is at the H level (ON level) in the light shielding state by the light shielding piece SH.

原点検出信号SNは、回転部材ROTの回転速度Vと、フォトインタラプタPHや遮光片SHの周方向幅とに対応して、所定の時間(N1+N2)だけHレベルとなる(図5(d)参照)。そこで、この実施例では、遮光片SHが、フォトインタラプタPHの検査光を遮蔽状態に維持する領域をもって原点領域と定義する。そして、定速度Vで順方向に回転する遮光片SHが、フォトインタラプタPHの検査光を遮蔽し始めてから順方向基準時間N1だけ経過した位置を原点位置と定義する。逆に、定速度で逆方向に回転する遮光片SHが、フォトインタラプタPHの検査光を遮蔽し始めてから逆方向基準時間N2だけ経過した位置も原点位置となる。   The origin detection signal SN becomes H level for a predetermined time (N1 + N2) corresponding to the rotational speed V of the rotating member ROT and the circumferential width of the photo interrupter PH and the light shielding piece SH (see FIG. 5D). ). Therefore, in this embodiment, the light shielding piece SH is defined as an origin region having a region that maintains the inspection light of the photo interrupter PH in a shielded state. Then, a position where the forward reference time N1 has elapsed since the light shielding piece SH rotating in the forward direction at the constant speed V starts to shield the inspection light of the photo interrupter PH is defined as the origin position. On the contrary, the position where the light shielding piece SH rotating in the reverse direction at a constant speed starts to shield the inspection light from the photointerrupter PH for the reverse reference time N2 also becomes the origin position.

したがって、遮光片SHが原点領域に存在する総時間は、定速度Vで回転する演出可動体AMUではN1+N2となる。また、図5(d)に示す通り、演出可動体AMUが定速度Vで回転する場合には、原点を経過してから再び原点に達するまでの周回時間はMとなる。なお、周回時間Mは、ステップ角θ(=360°/245)と、駆動パルスΦ1〜Φ4が更新される時間間隔τ(回転部材ROTがステップ角θだけ歩進する時間)とに対応して、245*τとなる。また、順方向基準時間N1と逆方向基準時間N2の間に歩進する回転角度は、各々、N1/τ*θと、N2/τ*θとなる。   Therefore, the total time that the light shielding piece SH exists in the origin region is N1 + N2 in the effect movable body AMU that rotates at the constant speed V. Further, as shown in FIG. 5D, when the effect movable body AMU rotates at a constant speed V, the lap time from the passage of the origin to the arrival of the origin again becomes M. The lap time M corresponds to the step angle θ (= 360 ° / 245) and the time interval τ at which the drive pulses Φ1 to Φ4 are updated (the time during which the rotating member ROT advances by the step angle θ). 245 * τ. Further, the rotation angles that advance between the forward reference time N1 and the backward reference time N2 are N1 / τ * θ and N2 / τ * θ, respectively.

以上の通り、図5では、演出可動体AMUが回転する場合を例示したが、必ずしも、このような実施態様に限定されず、例えば、昇降モータMOのように、ラック及びピニオンによって演出可動体AMUを往復運動させるのも好適である。この場合には、ピニオンを回転させると、ピニオンに歯合したラックが移動して、可動部材MVが演出可動体AMUと共に移動する。   As described above, FIG. 5 illustrates the case where the production movable body AMU rotates. However, the production movable body AMU is not necessarily limited to such an embodiment. For example, the production movable body AMU is configured by a rack and a pinion, such as the lifting motor MO. It is also preferable to reciprocate. In this case, when the pinion is rotated, the rack meshed with the pinion moves, and the movable member MV moves together with the effect movable body AMU.

図6は、可動部材MVと昇降モータMOとの関係を説明する図面である。可動部材MVの左端には、遮光片SHが配置され、可動部材MVの運動経路の両端には、それ以上の移動を阻止するストッパ機構(メカロック)が配置されている。また、左側のメカロックに近接して、フォトインタラプタPHが配置され、ここに遮光片SHが進入すると検査光が遮光されるよう構成されている。   FIG. 6 is a diagram illustrating the relationship between the movable member MV and the lifting motor MO. A light shielding piece SH is disposed at the left end of the movable member MV, and stopper mechanisms (mechanical locks) that prevent further movement are disposed at both ends of the movement path of the movable member MV. Further, a photo interrupter PH is arranged in the vicinity of the left mechanical lock, and the inspection light is shielded when the light shielding piece SH enters here.

以上の構成から明らかなように、可動部材MVの可動範囲は、可動部材MVの左端が左側メカロックに当接される位置から、可動部材MVの右端が右側メカロックに当接される位置までである。なお、便宜上、以下の説明では、図6の左側を原点側とし、図6の右側を終点側(或いは、MAX側)とする。そして、終点側への移動を順方向とし、原点側への移動を逆方向とする。   As is apparent from the above configuration, the movable range of the movable member MV is from the position where the left end of the movable member MV is in contact with the left mechanical lock to the position where the right end of the movable member MV is in contact with the right mechanical lock. . For convenience, in the following description, the left side in FIG. 6 is the origin side, and the right side in FIG. 6 is the end point side (or the MAX side). The movement toward the end point is defined as the forward direction, and the movement toward the origin is defined as the reverse direction.

この実施例でも、遮光片SHが、フォトインタラプタPHの検査光を遮蔽状態に維持する領域を原点領域とし、定速度Vで逆方向に移動する遮光片SHが、フォトインタラプタPHの検査光を遮蔽し始めてから基準時間Nだけ経過した位置を原点位置と定義する。   Also in this embodiment, the light shielding piece SH that moves in the reverse direction at a constant speed V shields the inspection light of the photointerrupter PH, with the area where the light shielding piece SH maintains the inspection light of the photointerrupter PH in the shielding state as the origin area. The position where the reference time N has elapsed since the start of the operation is defined as the origin position.

図6(c)には、可動部材MVの左端の可動範囲(最大移動距離L)を破線の矢印で示しており、原点検出信号SNは、可動部材MVの左端の位置に対応して、図6(b)のように変化する。図6(a)に示す通り、可動部材MVが定速度Vで移動する場合には、可動部材MVの左端が、原点側メカロックを離れてから、可動部材MVの右端が終点側メカロックに当接されるまでの移動時間はMとなる。   In FIG. 6C, the movable range (maximum movement distance L) of the left end of the movable member MV is indicated by a dashed arrow, and the origin detection signal SN corresponds to the position of the left end of the movable member MV. It changes like 6 (b). As shown in FIG. 6A, when the movable member MV moves at a constant speed V, the left end of the movable member MV leaves the origin-side mechanical lock, and then the right end of the movable member MV contacts the end-side mechanical lock. The moving time until it is done is M.

なお、昇降モータMOが、単位時間τを要して1ステップ角だけ回転すると、ラックが、単位距離UNだけ移動すると仮定すると、図6(c)に示す最大移動距離Lに対応して、移動時間Mは、M=τ*L/UNとなる(L=UN*M/τ)。また、この基準時間Nの間に、昇降モータMOに供給される駆動パルスΦ1〜Φ4のステップ数はN/τであり、可動部材MVの移動距離はUN*N/τである。   Assuming that the lifting motor MO rotates by one step angle over a unit time τ, the rack moves corresponding to the maximum moving distance L shown in FIG. 6C, assuming that the rack moves by the unit distance UN. The time M is M = τ * L / UN (L = UN * M / τ). Further, during this reference time N, the number of steps of the drive pulses Φ1 to Φ4 supplied to the lifting motor MO is N / τ, and the moving distance of the movable member MV is UN * N / τ.

図7〜図18は、図3に示す遊技機GMの各部の動作内容を説明するフローチャートである。図7〜図8は、主制御部21の動作、図9〜図17は、演出制御部22の動作、図18〜19は、画像制御部23の動作を示している。なお、以下の説明では、殆ど昇降モータMOには言及しないが、回転モータMTについての説明は、原則として、そのまま昇降モータMOにも妥当する。   7 to 18 are flowcharts for explaining the operation contents of each part of the gaming machine GM shown in FIG. 7 to 8 show the operation of the main control unit 21, FIGS. 9 to 17 show the operation of the effect control unit 22, and FIGS. 18 to 19 show the operation of the image control unit 23. In the following description, the lift motor MO is hardly mentioned, but the description of the rotary motor MT is applicable to the lift motor MO as it is in principle.

先ず、主制御部21について概略的に説明すると、主制御部21は、CPUリセットによって開始されるメイン処理(図7)と、所定時間毎に起動されて制御動作を中心的に実行するタイマ割込み処理(不図示)とを含んで構成されている。なお、これらの処理を実現するワンチップマイコンには、Z80CPU(Zilog社)相当品が内蔵されている。   First, the main control unit 21 will be schematically described. The main control unit 21 includes a main process (FIG. 7) that is started by a CPU reset, and a timer interrupt that is started every predetermined time and that mainly executes control operations. Processing (not shown). Note that a Z80 CPU (Zilog) equivalent product is built in the one-chip microcomputer that realizes these processes.

図7に示すメイン処理(CPUリセット処理)が開始されるのは、停電状態からの復旧時のように初期化スイッチSWがOFF状態で電源がON状態になる場合と、遊技ホールの開店時のように、初期化スイッチSWがON操作されて電源がON状態になる場合とがある。また、リセット回路RSTに内蔵されたウォッチドッグタイマが起動したり、或いは、リセット端子にノイズが重畳することで、CPUが強制的にリセットされる場合も図7のメイン処理が開始される。   The main process (CPU reset process) shown in FIG. 7 is started when the initialization switch SW is turned off and the power is turned on, such as when recovering from a power failure, and when the game hall is opened. As described above, the initialization switch SW may be turned on to turn on the power. The main process of FIG. 7 is also started when the watchdog timer built in the reset circuit RST is activated or when the CPU is forcibly reset due to noise superimposed on the reset terminal.

なお、図7の破線は、演出制御部22と画像制御部23の動作内容を略記しており、演出制御部22では、CPUリセットに対応して、回転モータMTの原点検出処理(図11のSS5)が実行され、画像制御部23では、CPUリセットに対応して、表示装置DISPに初期画面が表示される。   In addition, the broken line of FIG. 7 has abbreviated the operation | movement content of the production | generation control part 22 and the image control part 23, and the production | generation control part 22 respond | corresponds to CPU reset, and the origin detection process (FIG. 11 of FIG. 11) SS5) is executed, and the image controller 23 displays the initial screen on the display device DISP in response to the CPU reset.

主制御部21では、CPUリセットに対応して、CPUが割込み禁止状態に設定され、CPUのスタックポインタが初期値に設定される(ST1)。また、ワンチップマイコン各部が初期設定される(ST1)。これらの処理において内蔵RAMのワークエリアが使用されることはなく、例えば、ROMに記憶されている制御パラメータがCPUのレジスタに読み出されて適所に書き込まれるだけである。なお、このようなワークエリアを使用しない動作は、ステップST6の処理まで継続される。   In the main control unit 21, in response to the CPU reset, the CPU is set to an interrupt disabled state, and the CPU stack pointer is set to an initial value (ST1). Each part of the one-chip microcomputer is initialized (ST1). In these processes, the work area of the built-in RAM is not used. For example, the control parameter stored in the ROM is simply read into the CPU register and written in place. Note that such an operation not using the work area is continued until the process of step ST6.

次に、入力ポートからRAMクリア信号CLRが取得され、そのレベルがCPUのレジスタに記憶される(ST2)。RAMクリア信号CLRは、電源投入時の係員による初期化スイッチSWのON/OFF操作状態を示している。そのため、RAMクリア信号CLRの取得タイミングが遅れると、係員がスイッチから手を離すことで、ON操作を見逃すことになるが、本実施例では、電源リセット後に速やかにRAMクリア信号CLRを取得するので、そのような事態は生じない。   Next, the RAM clear signal CLR is acquired from the input port, and the level is stored in the CPU register (ST2). The RAM clear signal CLR indicates the ON / OFF operation state of the initialization switch SW by a staff member when the power is turned on. Therefore, when the acquisition timing of the RAM clear signal CLR is delayed, the clerk releases the switch and misses the ON operation. However, in this embodiment, the RAM clear signal CLR is acquired promptly after the power is reset. Such a situation does not occur.

ステップST2の処理が終われば、次に、リセット回路RSTのウォッチドッグタイマにクリアパルスを出力しつつ、所定の待機時間を消費する(ST3,ST4)。この時間消費処理によって、主制御部21からの制御コマンドを受信すべき制御部22,23の準備動作が確実に完了する。   When the process of step ST2 is completed, a predetermined standby time is consumed while outputting a clear pulse to the watchdog timer of the reset circuit RST (ST3, ST4). By this time consumption processing, the preparation operation of the control units 22 and 23 that should receive the control command from the main control unit 21 is reliably completed.

続いて、電源基板20から出力されている電源異常信号ABN1を取得し、これが正常レベルに変化するまで、同一の処理を繰返す(ST5〜ST6)。これは、電源遮断時に、図8のST40の処理を終えた後でも、電源電圧Vccが降下し切らない場合もあることを考慮したものである。すなわち、図8の電断処理を終えて、無限ループ処理を繰返しているタイミングで、ウォッチドッグタイマ機能が発揮されてCPUがリセットされても、その後の処理は、ステップST7以降に進むことはない。   Subsequently, the power supply abnormality signal ABN1 output from the power supply board 20 is acquired, and the same processing is repeated until it changes to a normal level (ST5 to ST6). This takes into consideration that the power supply voltage Vcc may not drop completely even after the processing of ST40 in FIG. That is, even if the watchdog timer function is exhibited and the CPU is reset at the timing when the power interruption process of FIG. 8 is completed and the infinite loop process is repeated, the subsequent process does not proceed to step ST7 and subsequent steps. .

このような待機処理(ST5〜ST6)を設けないと、ステップST7以降に進行した定常処理によってRAMのデータ(チェックサム演算の基礎データや、ST33でセットされるバックアップフラグBFL)が書き換えられ、しかも、そのデータが電源遮断後も保存される。このような場合、翌日の判定において、バックアップフラグBFL=0となるか、或いは、前日にバックアップされたチェックサム値(ST36)と、翌日の電源投入後に算出するチェックサム値に不一致となるので、せっかくのバックアップ処理(ST36)が無駄になる。   If such a standby process (ST5 to ST6) is not provided, the RAM data (the basic data of the checksum calculation and the backup flag BFL set in ST33) is rewritten by the steady process that has progressed after step ST7. The data is saved even after the power is turned off. In such a case, in the next day determination, the backup flag BFL = 0 or the checksum value backed up on the previous day (ST36) does not match the checksum value calculated after powering on the next day. Precious backup processing (ST36) is wasted.

また、ステップST5〜ST6の処理は、電源スイッチを素早くOFF→ON操作する場合も含め、交流電源が一瞬だけ遮断される瞬停状態でも有効に機能する。すなわち、瞬停状態であっても、電源異常信号ABN1,ABN2は主制御部21と払出制御部24に供給されるので、主制御部21では、図8の電源監視処理が開始される。そして、電源異常信号ABN1のパルス幅によっては、ステップST25〜ST31の処理を終えてバックアップ処理に移行する可能性もある。しかし、仮に、このような事態が生じても、その後、ウォッチドッグタイマ機能によってCPUがリセットされるので、その時には、ステップST5〜ST6の処理を通過することで、それまでの遊技動作を再開される。   Further, the processes in steps ST5 to ST6 function effectively even in a momentary power interruption state in which the AC power supply is interrupted for a moment, including the case where the power switch is quickly turned OFF → ON. That is, even in the instantaneous power failure state, the power supply abnormality signals ABN1 and ABN2 are supplied to the main control unit 21 and the payout control unit 24, so the main control unit 21 starts the power supply monitoring process of FIG. Depending on the pulse width of the power supply abnormality signal ABN1, there is a possibility that the processing of steps ST25 to ST31 is completed and the processing proceeds to backup processing. However, even if such a situation occurs, the CPU is then reset by the watchdog timer function. At that time, the game operation up to that point is resumed by passing the processing of steps ST5 to ST6. The

このような場合も含め、ステップST6の処理で、電源異常信号ABN1が正常レベル(H)であると判定されれば、内蔵RAMの書換え動作が許可される(ST7)。先に説明した通り、ステップST1〜ST6の処理では、内蔵RAMのワークエリアが使用されることはない。   Even in such a case, if it is determined in step ST6 that the power supply abnormality signal ABN1 is at the normal level (H), the rewriting operation of the built-in RAM is permitted (ST7). As described above, the work area of the built-in RAM is not used in the processing of steps ST1 to ST6.

次に、CPUは、演出制御部22に対して、初期動作コマンドを送信する(ST8)。この初期動作コマンドは、演出可動体AMUによる可動演出を正常に実行するための制御コマンドであるが、ステップST3〜ST4の時間消費処理を経ているので、このタイミングでは、演出制御部22の受信準備は確実に完了している。   Next, the CPU transmits an initial operation command to the effect control unit 22 (ST8). This initial operation command is a control command for normally executing the movable effect by the effect movable body AMU, but has undergone the time consumption processing of steps ST3 to ST4, so at this timing, the preparation control unit 22 is ready for reception. Is definitely complete.

破線で示すように、初期動作コマンドを受けた演出制御部22では、回転モータMTの初期動作処理が実行される。また、演出制御部22から転送される初期コマンドを受けた画像制御部23では、表示装置DISPに、例えば「PLEASE WAIT」と表示する。   As indicated by the broken line, the effect control unit 22 that has received the initial operation command executes an initial operation process of the rotary motor MT. In addition, the image control unit 23 that has received the initial command transferred from the effect control unit 22 displays, for example, “PLEASE WAIT” on the display device DISP.

ステップST8の処理に続いて、ウォッチドッグタイマにクリアパルスを送信した上で、払出制御部24から受けている電源投入信号のレベルを判定する(ST9,ST10)。本実施例では、主制御部21と払出制御部24とが、独立して電源リセット動作を実行するため、ステップST3〜ST4の待機時間を越えて、払出制御部24の立上り動作が遅れる可能性もある。   Following the process of step ST8, after transmitting a clear pulse to the watchdog timer, the level of the power-on signal received from the payout control unit 24 is determined (ST9, ST10). In the present embodiment, since the main control unit 21 and the payout control unit 24 independently perform the power supply reset operation, the rising operation of the payout control unit 24 may be delayed beyond the standby time of steps ST3 to ST4. There is also.

しかし、そのような場合でも、ステップST10の判定処理を経ることで、払出制御部24の立上り動作遅れを吸収することができる。また、万一、何らかのトラブルによって払出制御部24が正常に機能していない異常時には、ステップST9〜ST10の処理を繰り返すだけで遊技動作を開始しないので、例えば、賞球が得られないなどの異常事態が発生せず、遊技者に不信感を与えるおそれはない。   However, even in such a case, the rising operation delay of the payout control unit 24 can be absorbed through the determination process of step ST10. Also, in the unlikely event that the payout control unit 24 is not functioning normally due to some trouble, the game operation is not started simply by repeating the processing of steps ST9 to ST10. No situation occurs and there is no risk of distrust to the player.

一方、ステップST10の判定によって、払出制御部24が正常に動作していることが確認されたら、ステップST2の処理で先行取得したRAMクリア信号のレベルを判定する(ST11)。ここで、RAMクリア信号がON状態であったと仮定すると、内蔵RAMの全領域をゼロクリアする(ST18)。したがって、図8のステップST33の処理でセットされたバックアップフラグBFLの値は、他のチェックサム値などと共にゼロとなる。   On the other hand, if it is confirmed by the determination in step ST10 that the payout control unit 24 is operating normally, the level of the RAM clear signal acquired in advance in the process of step ST2 is determined (ST11). Here, assuming that the RAM clear signal is in the ON state, the entire area of the built-in RAM is cleared to zero (ST18). Therefore, the value of the backup flag BFL set in the process of step ST33 in FIG. 8 becomes zero together with other checksum values.

次に、RAM領域がゼロクリアされたことを報知するためのRAMクリアコマンドを、演出制御部22に出力し(ST18)、報知タイマを初期設定する(ST20)。報知タイマは、RAM領域がゼロクリアされたことをホールコンピュータに通知する通知時間(例えば30秒)を管理するものである。この十分な通知時間によって、例えば、不正行為によってCPUが異常リセットされた異常事態が生じても、その事態をホールコンピュータが確実に把握することができる。なお、不正遊技者は、意図的に、RAMクリア処理(ST18)を実行させることで、大当り状態を招来させるか否かの抽選処理で使用される乱数値を初期値に戻そうとすることがある。   Next, a RAM clear command for notifying that the RAM area has been cleared to zero is output to the effect control unit 22 (ST18), and a notification timer is initialized (ST20). The notification timer manages a notification time (for example, 30 seconds) for notifying the hall computer that the RAM area has been cleared to zero. With this sufficient notification time, for example, even if an abnormal situation occurs in which the CPU is abnormally reset due to an illegal act, the hall computer can reliably grasp the situation. It should be noted that the illegal player may intentionally execute the RAM clear process (ST18) to return the random value used in the lottery process for determining whether or not to invite the big hit state to the initial value. is there.

ステップST11の判定処理に戻って説明を続けると、CPUがウォッチドッグタイマによって強制的にリセットされた場合や、停電状態からの復旧時には、RAMクリア信号はOFF状態である。そして、このような場合には、ステップST11の判定に続いて、バックアップフラグBFLの内容が判定される(ST12)。バックアップフラグBFLとは、図8の電断処理の動作が実行されたことを示すデータであり、この実施例では、電源遮断時のステップST33の処理でバックアップフラグBFLがONレベル(5AH)とされ、電源復帰後のステップST28の処理でゼロクリアされる。   Returning to the determination process of step ST11, the description will be continued. When the CPU is forcibly reset by the watchdog timer or when the CPU is restored from the power failure state, the RAM clear signal is in the OFF state. In such a case, following the determination in step ST11, the contents of the backup flag BFL are determined (ST12). The backup flag BFL is data indicating that the operation of the power interruption process of FIG. 8 has been executed. In this embodiment, the backup flag BFL is set to the ON level (5AH) in the process of step ST33 when the power is shut off. Then, it is cleared to zero in the process of step ST28 after the power is restored.

電源投入時や、停電状態からの復旧時である場合には、バックアップフラグBFLの内容が5AHの筈である。但し、何らかの理由でプログラムが暴走状態となり、ウォッチドッグタイマによるCPUリセット動作が生じたような場合には、バックアップフラグBFL=00Hである。したがって、BFL≠5AH(通常はBFL=00H)となる場合には、ステップST12からステップST18の処理に移行させて遊技機の動作を初期状態に戻す。   When the power is turned on or when recovering from a power failure, the content of the backup flag BFL is 5AH. However, if the program goes into a runaway state for some reason and a CPU reset operation is caused by the watchdog timer, the backup flag BFL = 00H. Therefore, when BFL ≠ 5AH (normally BFL = 00H), the process proceeds from step ST12 to step ST18 to return the operation of the gaming machine to the initial state.

一方、バックアップフラグBFL=5AHであれば、チェックサム値を算出するためのチェックサム演算を実行する(ST13)。ここで、チェックサム演算とは、内蔵RAMのワーク領域を対象とする8ビット加算演算である。そして、チェックサム値が算出されたら、この演算結果を、RAMのSUM番地の記憶値と比較する(ST14)。   On the other hand, if backup flag BFL = 5AH, checksum calculation for calculating the checksum value is executed (ST13). Here, the checksum operation is an 8-bit addition operation for the work area of the built-in RAM. When the checksum value is calculated, the calculation result is compared with the stored value at the SUM address in the RAM (ST14).

SUM番地には、電源降下時に実行される電断処理(図8)において、同じチェックサム演算によるチェックサム値が記憶されている(ST36)。そして、記憶された演算結果は、内蔵RAMの他のデータと共に、バックアップ電源によって維持されている。したがって、本来は、ステップST14の判定によって両者が一致する筈である。   In the SUM address, the checksum value by the same checksum calculation is stored in the power interruption process (FIG. 8) executed when the power is turned off (ST36). The stored calculation results are maintained by a backup power source together with other data in the built-in RAM. Therefore, the two should be matched by the determination in step ST14.

しかし、電源降下時にチェックサム演算(ST36)が実行できなかった場合や、実行できても、その後、メイン処理のチェックサム演算(ST13)の実行時までの間に、ワーク領域のデータが破損している場合もあり、このような場合にはステップST14の判定結果は不一致となる。判定結果の不一致によりデータ破損が検出された場合には、ステップST18の処理に移行させてRAMクリア処理を実行し、遊技機の動作を初期状態に戻す。一方、ステップST14の判定において、チェックサム演算(ST13)によるチェックサム値と、SUM番地の記憶値とが一致する場合には、ステップST15の処理に移行する。   However, if the checksum calculation (ST36) cannot be executed when the power is turned off, or if it can be executed, the data in the work area will be damaged after that until the checksum calculation (ST13) of the main process is executed. In such a case, the determination result in step ST14 is inconsistent. If data corruption is detected due to a discrepancy in the determination results, the process proceeds to step ST18, RAM clear processing is executed, and the operation of the gaming machine is returned to the initial state. On the other hand, if it is determined in step ST14 that the checksum value obtained by the checksum calculation (ST13) matches the stored value at the SUM address, the process proceeds to step ST15.

そして、バックアップ復帰コマンド、記憶数表示コマンド、及び遊技状態表示コマンドを、この順番に演出制御部22に送信する(ST15〜ST16)。また、電源遮断時の遊技機が非遊技状態であった場合には、これに対応して、デモコマンドを演出制御部に送信する(ST17)。これらの制御コマンドを受信したことによって、サブ制御部側では、バックアップ復帰した主制御部21で再開される遊技状態に対応した動作を開始することができる。   Then, the backup return command, the stored number display command, and the game state display command are transmitted to the effect control unit 22 in this order (ST15 to ST16). If the gaming machine at the time of power-off is in a non-gaming state, a demo command is transmitted to the effect control unit accordingly (ST17). By receiving these control commands, the sub-control unit can start the operation corresponding to the gaming state resumed by the main control unit 21 that has been restored to backup.

なお、記憶数表示コマンドは、特別図柄や普通図柄に関する演出動作の開始保留数を意味し、図柄始動口17やゲート18に、連続的に通過した遊技球の個数を示している。また、遊技状態表示コマンドは、再開される遊技状態を示すもので、例えば、バックアップ復帰される遊技状態が、確変状態か否かなどが特定される。   Note that the stored number display command means the number of start suspensions of effect operations related to special symbols and normal symbols, and indicates the number of game balls that have passed through the symbol start port 17 and the gate 18 continuously. The game state display command indicates a game state to be resumed. For example, it is specified whether or not the game state to be backed up is a probability change state.

このようにしてバックアップ復帰又はRAMクリアに関する一連の処理(ST15〜ST17,ST18〜ST20)が終わると、タイマ割込み動作(不図示)を起動する割込み信号を出力するCTC(Counter Timer Circuit )を初期設定する(ST21)。そして、CPUを割込み禁止状態にセットした状態で(ST25)、各種のカウンタついて更新処理を実行し(ST23)、その後、CPUを割込み許可状態に戻してステップST22に戻る。   When a series of processing (ST15 to ST17, ST18 to ST20) related to backup recovery or RAM clear is completed in this way, CTC (Counter Timer Circuit) that outputs an interrupt signal for starting a timer interrupt operation (not shown) is initialized. (ST21). Then, with the CPU set to the interrupt disabled state (ST25), update processing is executed for various counters (ST23), and then the CPU is returned to the interrupt enabled state and returns to step ST22.

ところで、破線で示すように、バックアップ復帰コマンドを受けた演出制御部22では、ランプを消灯させると共に、音声出力を無音状態とする。また、演出制御部22から転送されるバックアップ復帰コマンドを受けた画像制御部23では、表示装置DISPに、例えば「停電から復帰しました。遊技を再開して下さい。」と表示する。   By the way, as shown by the broken line, the production control unit 22 that has received the backup return command turns off the lamp and makes the sound output silent. The image control unit 23 that has received the backup return command transferred from the effect control unit 22 displays, for example, “Recovered from power failure. Please restart the game” on the display device DISP.

一方、RAMクリアコマンドを受けた演出制御部22では、ランプを全点灯状態にすると共に、所定時間(30秒間)、RAMクリア音を発生させる。後述するように、本実施例では、他のエラーが生じていても、RAMクリア音の出力が必ず所定時間だけ継続されるので防犯機能が高い。なお、演出制御部22から転送されるRAMクリアコマンドを受けた画像制御部23では、表示装置DISPに、所定の態様(例えば7・3・1)で、特別図柄を表示する。   On the other hand, the effect control unit 22 that has received the RAM clear command turns on the lamps and generates a RAM clear sound for a predetermined time (30 seconds). As will be described later, in this embodiment, even if other errors occur, the crime prevention function is high because the output of the RAM clear sound is always continued for a predetermined time. The image control unit 23 that has received the RAM clear command transferred from the effect control unit 22 displays a special symbol in a predetermined manner (for example, 7.3.1) on the display device DISP.

以上、CPUリセット処理(メイン処理)について説明したが、タイマ割込み処理は、上記したメイン処理を中断させて、2mS毎に定時的に実行される。タイマ割込み処理では、毎回、ウォッチドッグタイマのクリア処理と、図8に示す電断処理とを含んだ制御処理が実行される。   Although the CPU reset process (main process) has been described above, the timer interrupt process is periodically executed every 2 mS with the main process interrupted. In the timer interrupt process, a control process including a watchdog timer clear process and a power interruption process shown in FIG. 8 is executed each time.

電断処理では、先ず、電源基板20から供給される電源異常信号ABN1を、入力ポートを通して繰り返し取得する(ST25)。そして、電源異常信号ABN1のレベルが2回連続して一致することを条件に(ST26)、そのレベルを判定する(ST37)。ここで、電源異常信号ABN1が異常レベルでない場合には、異常回数カウンタとバックアップフラグBFLをゼロクリアして処理を終える(ST28、ST29)。   In the power interruption process, first, the power supply abnormality signal ABN1 supplied from the power supply board 20 is repeatedly acquired through the input port (ST25). Then, on the condition that the level of the power supply abnormality signal ABN1 coincides twice continuously (ST26), the level is determined (ST37). Here, when the power supply abnormality signal ABN1 is not at an abnormal level, the abnormality number counter and the backup flag BFL are cleared to zero and the processing is terminated (ST28, ST29).

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

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

ところで、ステップST31の判定の結果、異常回数カウンタの計数値が上限値MAXに一致した場合には、異常回数カウンタをゼロクリアした後(ST32)、バックアップフラグBFLをONレベル(=5AH)に設定する(ST33)。次に、主制御部21がバックアップ動作を実行することを示すために、演出制御部22に対して、電断コマンドを送信する(ST34〜ST35)。   By the way, as a result of the determination in step ST31, when the count value of the abnormal number counter coincides with the upper limit value MAX, the abnormal number counter is cleared to zero (ST32), and then the backup flag BFL is set to the ON level (= 5AH). (ST33). Next, in order to indicate that the main control unit 21 performs a backup operation, an electric power interruption command is transmitted to the effect control unit 22 (ST34 to ST35).

電断コマンドは、各16ビット長の電断Aコマンドと電断Bコマンドとで構成されており、この順番で、8ビット毎に連続的に送信される。このような構成を採るのは、ノイズなどの影響で、電断状況が演出制御部22に誤報されることを防止するためである。   The power interruption command is composed of a power interruption A command and a power interruption B command each having a 16-bit length, and is transmitted continuously every 8 bits in this order. The reason for adopting such a configuration is to prevent the power interruption situation from being erroneously reported to the effect control unit 22 due to the influence of noise or the like.

電断コマンドの送信が終われば、次に、メイン処理のステップST13の処理と同じ演算を、同じ作業領域(ワークエリア)に対して実行し、その演算結果を記憶する(ST36)。   When the transmission of the power interruption command is completed, the same calculation as the process of step ST13 of the main process is executed for the same work area (work area), and the calculation result is stored (ST36).

そして、その後は、RAMアクセス禁止状態に設定すると共に(ST37)、全ての出力ポートの出力データをクリアする(ST38)。以上のバックアップ処理が終われば、CTCに対する設定処理によって割込み信号INTの生成を禁止すると共に、CPUを割込み禁止に設定して、無限ループ処理を繰り返しつつ直流電源電圧が降下するのを待つ(ST39〜ST40)。なお、電断処理は、タイマ割込み処理中に実行されるので、CPUは、もともと割込み禁止状態である場合もあるが、電源電圧の降下による誤動作を排除する趣旨から、本実施例では、再度、CPUを割込み禁止設定すると共に、CTCからの割込み信号INTの出力も禁止している。   Thereafter, the RAM access prohibited state is set (ST37), and the output data of all output ports is cleared (ST38). When the above backup process is completed, the generation of the interrupt signal INT is prohibited by the setting process for the CTC, and the CPU is set to the interrupt disabled state, and the DC power supply voltage is lowered while repeating the infinite loop process (ST39 to ST39). ST40). Since the power interruption process is executed during the timer interrupt process, the CPU may originally be in an interrupt disabled state, but in the present embodiment, again, in order to eliminate a malfunction due to a drop in power supply voltage, The CPU is set to disable interrupts, and output of the interrupt signal INT from the CTC is also prohibited.

ところで、図8の電断処理は、交流電源の遮断後、タイマ割込み周期である2mS以内に迅速に開始され、速やかに終了される。一方、電源電圧Vccが所定レベルまで降下するのは、電源回路などに配置された平滑コンデンサの影響でかなり遅れる。   By the way, the power-off process of FIG. 8 is started rapidly within 2 mS which is a timer interruption period after the AC power supply is cut off, and is quickly ended. On the other hand, the drop in power supply voltage Vcc to a predetermined level is considerably delayed due to the influence of a smoothing capacitor arranged in a power supply circuit or the like.

そして、電源電圧Vccが所定レベルまで降下しない限り、主制御部21のウォッチドッグタイマは機能し続ける。そのため、電断処理が開始され、全ての処理が終わった後、無限ループ処理中に、ウォッチドッグタイマによってCPUが異常リセットされる可能性もある。   As long as the power supply voltage Vcc does not drop to a predetermined level, the watchdog timer of the main control unit 21 continues to function. Therefore, there is a possibility that the CPU is abnormally reset by the watchdog timer during the infinite loop process after the power interruption process is started and all processes are completed.

しかし、前記した通り、本実施例では、ステップST5〜ST6の待機処理を設けているので、バックアップ処理が無駄になることはない。なお、電源監視処理の全処理時間は、クリアパルスの出力周期(2mS)より短く設定されており、電源監視処理を終えるまでにウォッチドッグタイマが起動することはない。   However, as described above, in this embodiment, the standby process of steps ST5 to ST6 is provided, so that the backup process is not wasted. Note that the total processing time of the power monitoring process is set to be shorter than the clear pulse output cycle (2 mS), and the watchdog timer is not started until the power monitoring process is completed.

ところで、主制御部21のウォッチドッグタイマが、最後にクリアパルスを受けてから、CPUにリセット信号を出力するまでの経過時間τ1は、演出制御部22や画像制御部23のウォッチドッグタイマが、最後にクリアパルスを受けてから、CPUにリセット信号を出力するまでの経過時間τ2、τ3より小さく設定されている。具体的には、各制御部の定時処理の実行間隔(2mS,10mS)に対応して、τ1≒5*τ2、τ1≒5*τ3に設定されている。   By the way, the elapsed time τ1 from when the watchdog timer of the main control unit 21 finally receives the clear pulse until the reset signal is output to the CPU is determined by the watchdog timer of the effect control unit 22 or the image control unit 23. The elapsed time τ2, τ3 from when the clear pulse is last received until the reset signal is output to the CPU is set. Specifically, τ1≈5 * τ2 and τ1≈5 * τ3 are set corresponding to the execution interval (2 mS, 10 mS) of the scheduled processing of each control unit.

そのため、主制御部21のウォッチドッグタイマは、サブ制御部22,23のウォッチドッグタイマより格段に早く起動するが、本実施例では、後述する特有の構成(定時処理に戻る構成)を採ることで、主制御部21から送信された制御コマンドが、サブ制御部22,23で読み落されることがない(この点は、具体的に後述する)。   For this reason, the watchdog timer of the main control unit 21 starts much earlier than the watchdog timers of the sub-control units 22 and 23, but in this embodiment, a specific configuration (configuration returning to the regular processing) described later is adopted. Thus, the control command transmitted from the main control unit 21 is not missed by the sub-control units 22 and 23 (this will be specifically described later).

続いて、主制御部21から受ける制御コマンドに基づいて演出動作を実行する演出制御部22の動作について説明する。図9に示す通り、演出制御部22は、CPUがリセットされて開始されるメイン処理(a)と、ストローブ信号STBによって起動される受信割込み処理(b)と、10mS毎に起動される第1タイマ割込み処理(c)と、2mS毎に起動される第2タイマ割込み処理(d)と、を含んで構成されている。   Next, the operation of the effect control unit 22 that executes the effect operation based on the control command received from the main control unit 21 will be described. As shown in FIG. 9, the production control unit 22 includes a main process (a) that is started when the CPU is reset, a reception interrupt process (b) that is activated by the strobe signal STB, and a first process that is activated every 10 mS. The timer interrupt process (c) and the second timer interrupt process (d) activated every 2 mS are included.

図9(d)に示す通り、第2タイマ割込み処理では、電飾ランプを駆動するランプ演出処理(ST67)と、必要に応じて演出可動体AMUを駆動する演出モータ処理(ST68)とが2mS毎に実行される。なお、図9(e)には、CPUリセット処理(メイン処理)で実行されるエラー処理の要部が図示されている。   As shown in FIG. 9D, in the second timer interrupt process, the lamp effect process (ST67) for driving the illumination lamp and the effect motor process (ST68) for driving the effect movable body AMU as required are 2 mS. It is executed every time. FIG. 9E shows a main part of error processing executed in CPU reset processing (main processing).

図9(a)に示す通り、メイン処理(CPUリセット処理)では、ワンチップマイコン40内部の初期設定を実行した後(ST46)、バックアップ判定処理を実行する(ST47)。バックアップ判定処理とは、バックアップ処理(ST63)において保存されたデータの正当性を判定する処理である。バックアップ処理(ST63)において保存されるデータは、特に限定されないが、例えば、(1) RAM領域の所定データに対するチェックサム演算のサム値、(2) RAM領域に離散的に保存された特定データ、(3) RAM領域の所定データを別の領域に保存したバックアップデータなどを例示することができる。   As shown in FIG. 9A, in the main process (CPU reset process), the initial setting in the one-chip microcomputer 40 is executed (ST46), and then the backup determination process is executed (ST47). The backup determination process is a process for determining the validity of the data stored in the backup process (ST63). Data stored in the backup process (ST63) is not particularly limited. For example, (1) a checksum operation sum value for predetermined data in the RAM area, (2) specific data discretely stored in the RAM area, (3) Backup data in which predetermined data in the RAM area is stored in another area can be exemplified.

また、バックアップ判定処理では、動作状態を示す重要な動作フラグに不合理性がないかも判定される。動作フラグに不合理性とは、例えば、変動演出中であることを示す動作フラグと、大当り動作中であることを示す動作フラグとが共にセット状態となっているような場合である。この遊技機では、変動演出を終えてから、大当り動作に移行するので、2つの動作フラグが共にセット状態であるはずがなく、もし、このような事態が検出されれば、他の保存データに正当性が認められても、正常ではないと判定する。   In the backup determination process, it is also determined whether an important operation flag indicating the operation state is irrational. The irrationality in the operation flag is, for example, a case where both the operation flag indicating that the variation effect is being performed and the operation flag indicating that the jackpot operation is being set. In this gaming machine, after the variation effect is finished, the game shifts to a big hit operation, so the two operation flags cannot be set at the same time. If such a situation is detected, other saved data is stored. Even if legitimacy is recognized, it judges that it is not normal.

このような場合も含め、ステップST48の判定において、正当性が確認できない場合には、RAMの全領域を初期化することで、演出制御部22をコールドスタートさせてステップST52の処理に移行させる(ST51)。   Even in such a case, if the validity cannot be confirmed in the determination of step ST48, the entire area of the RAM is initialized, and the effect control unit 22 is cold-started to shift to the process of step ST52 ( ST51).

ところで、主制御部21や払出制御部24と異なり、演出制御部22にはバックアップ電源が設けられていないので、バックアップ判定処理(ST47)において、正当データが検出できる可能性がないとも思われる。しかし、CPUがリセットされるのは、電源投入に対応する電源リセット時だけでなく、ノイズやウォッチドッグタイマによってCPUリセット信号がアクティブレベルとなる異常リセット時もある。   By the way, unlike the main control unit 21 and the payout control unit 24, the production control unit 22 is not provided with a backup power supply, and therefore, it seems that there is no possibility that legitimate data can be detected in the backup determination process (ST47). However, the CPU is reset not only at the time of power reset corresponding to power-on, but also at the time of abnormal reset when the CPU reset signal becomes an active level due to noise or a watchdog timer.

そこで、本実施例では、CPUの異常リセット時に、可能な限り、それまでの遊技動作を継続して、演出制御部22の動作をホットスタートさせるべく、バックアップ判定処理(ST47〜ST48)を設けている。   Therefore, in this embodiment, a backup determination process (ST47 to ST48) is provided in order to continue the game operation up to that time and to hot start the operation of the effect control unit 22 as much as possible when the CPU is reset abnormally. Yes.

但し、バックアップ判定処理(ST47)では全てのデータを判定する訳ではないので、CPUが繰り返し異常リセットされる場合には、演出制御部22の動作を初期状態に戻すべきである。そこで、異常リセット回数をカウントするべく異常カウンタをインクリメント(+1)処理し(ST49)、異常カウンタの値が所定値(例えば2)を超えた場合には、コールドスタートさせるべくステップST51のRAMクリア処理に移行させている(ST50)。   However, since not all data are determined in the backup determination process (ST47), the operation of the effect control unit 22 should be returned to the initial state when the CPU is repeatedly abnormally reset. Therefore, the abnormal counter is incremented (+1) to count the number of abnormal resets (ST49), and if the value of the abnormal counter exceeds a predetermined value (for example, 2), the RAM clear process in step ST51 to perform a cold start. (ST50).

以上の通り、CPUが異常リセットされた場合でも、バックアップ判定(ST47)で正当判定され、且つ、異常リセット回数が所定値以下であれば、演出制御部22がホットスタートされて、それまでの遊技動作が継続される。   As described above, even when the CPU is abnormally reset, if the backup determination (ST47) makes a correct determination and the number of abnormal resets is equal to or less than the predetermined value, the effect control unit 22 is hot-started, and the game up to that point Operation continues.

続いて、演出制御部22が、ホットスタートしたか、コールドスタートしたかに拘わらず、回転モータMTのモータ動作フラグFGの値を1に設定する(ST52)。また、回転モータMTの異常状態を示す異常フラグERを正常レベルの0に初期設定すると共に、動作モードMDを0に初期設定する。後述するように、モータ動作フラグFGが1に設定されると、その後の演出モータ処理(ST68)において、演出可動体AMUが原点位置に復帰するべく駆動される。   Subsequently, the effect control unit 22 sets the value of the motor operation flag FG of the rotary motor MT to 1 regardless of whether it is hot-started or cold-started (ST52). In addition, an abnormality flag ER indicating an abnormal state of the rotary motor MT is initialized to a normal level of 0, and an operation mode MD is initialized to 0. As will be described later, when the motor operation flag FG is set to 1, in the subsequent effect motor processing (ST68), the effect movable body AMU is driven to return to the origin position.

なお、原点位置への復帰処理は、コールドスタート時に限らず、ホットスタート時においても実行され、演出可動体AMUの演出位置には戻らない。しかし、比較的稀にしか演出可動体AMUの演出動作が実行されないこと、及び、CPUが異常リセットされることが極めて稀であることから、ホットスタート時に原点復帰動作を実行することに特段の問題は生じない。   Note that the return processing to the origin position is not limited to a cold start but is also performed during a hot start and does not return to the effect position of the effect movable body AMU. However, since the production operation of the production movable body AMU is executed relatively rarely, and the CPU is rarely reset abnormally, there is a special problem in performing the origin return operation at the hot start. Does not occur.

逆に、遊技機の開発段階における動作実験では、CPUのリセット時に、必ず、原点検出処理が実行される構成が非常に有効であり、この点についは更に後述する。もっとも、破線に示すように、コールドスタート時に限り、ステップST52の処理を実行することが、特に禁止されるものではない。   On the contrary, in the operation experiment in the game machine development stage, a configuration in which the origin detection process is always executed when the CPU is reset is very effective, and this point will be described later. However, as indicated by the broken line, it is not particularly prohibited to execute the process of step ST52 only during a cold start.

ステップST52の処理が終われば、音声再生出力回路(音声再生IC)42について、必要な初期設定を実行する(ST53)。その後、ワンチップマイコン40のCPUを割込み許可状態に設定した後(ST54)、乱数値を更新しつつ(ST55)10mS間隔のタイマ割込みを待機する(ST56)。なお、更新される乱数値は、演出動作をランダム化するために演出抽選処理において使用される。   When the process of step ST52 is completed, necessary initial settings are executed for the audio reproduction output circuit (audio reproduction IC) 42 (ST53). Thereafter, the CPU of the one-chip microcomputer 40 is set to the interrupt permitting state (ST54), and the random number value is updated (ST55) to wait for a timer interrupt at an interval of 10 mS (ST56). Note that the updated random value is used in the effect lottery process in order to randomize the effect operation.

図9(c)に示す通り、10mS間隔でタイマ割込みが生じる毎に、割込みフラグがセットされるので(ST66)、メイン処理のステップST56の処理では、割込みフラグがONになるのを繰り返しチェックする。そして、割込みフラグがONとなると、これをOFFにリセットした後に、タイマ更新処理を実行する(ST57)。タイマ更新処理で更新されるタイマには、後述する異常報知タイマや、クリア報知タイマが含まれており、各タイマは、ゼロになるまでデクリメント(−1)処理によって更新される。   As shown in FIG. 9C, an interrupt flag is set every time a timer interrupt occurs at an interval of 10 mS (ST66). Therefore, in the process of step ST56 of the main process, it is repeatedly checked that the interrupt flag is turned ON. . When the interrupt flag is turned ON, the timer update process is executed after resetting it to OFF (ST57). The timers updated in the timer update process include an abnormality notification timer and a clear notification timer, which will be described later, and each timer is updated by a decrement (-1) process until it reaches zero.

続いて、受信割込み処理(図9(b))で受信された制御コマンド(受信コマンド)について、コマンド解析処理が実行される(ST58)。なお、受信コマンドには、変動パターンコマンドの他に、初期動作コマンド、RAMクリアコマンド、バックアップ復帰コマンド、電断Aコマンド、電断Bコマンドなどが含まれている。   Subsequently, command analysis processing is executed for the control command (reception command) received in the reception interrupt processing (FIG. 9B) (ST58). The received command includes an initial operation command, a RAM clear command, a backup return command, a power interruption A command, a power interruption B command, etc. in addition to the variation pattern command.

図10は、コマンド解析処理の要部を示すフローチャートである。先ず、新規に受信した制御コマンドが、電断Bコマンドであるか否かを判定する(ST80)。先に説明した通り、主制御部21は、電断Aコマンドと電断Bコマンドをこの順番で連続的に送信するので、演出制御部22が、電断Bコマンドを受けた場合には、先行して電断Aコマンドを受けている筈である。   FIG. 10 is a flowchart showing the main part of the command analysis process. First, it is determined whether or not the newly received control command is a power interruption B command (ST80). As described above, the main control unit 21 continuously transmits the power interruption A command and the power interruption B command in this order. Therefore, when the effect control unit 22 receives the power interruption B command, And should have received a power interruption A command.

しかし、ノイズによる制御コマンドの誤送などの可能性もあるので、次に、既に電断Aコマンドを受信済みであるか否かを判定する(ST81)。そして、もし、電断コマンドAを受信していない場合には、電断Aコマンドを読み落したか、電断Bコマンドが誤送された等の通信異常であると考えられるので、電断Bコマンドを廃棄して、メイン処理に戻る(ST87)。   However, since there is a possibility that the control command is erroneously transmitted due to noise, it is next determined whether or not the power interruption A command has already been received (ST81). If the power interruption command A is not received, it is considered that there is a communication abnormality such as reading out the power interruption A command or erroneous transmission of the power interruption B command. The command is discarded and the process returns to the main process (ST87).

このように本実施例では、2つの電断コマンドを正常に受信しない限り、電断処理を進行させず、演出制御部22での遊技制御が継続されるので、ノイズなどの影響で遊技動作が不合理に中断される異常が回避される。なお、正常に送信された電断コマンドを読み落す可能性もあるが、せいぜい、実行中の遊技制御が電断時に突然消滅するだけであって、特段の問題は生じない。   As described above, in this embodiment, unless the two power interruption commands are normally received, the power interruption process is not performed and the game control in the effect control unit 22 is continued. Abnormal interruptions are avoided. In addition, there is a possibility that the normally transmitted power-off command may be missed, but at best, the game control being executed only disappears suddenly at the time of power-off, and no particular problem occurs.

ところで、ステップST81の処理において、電断Aコマンドを受信済みであると判定される場合には、画像制御部23に、電断Aコマンドと電断Bコマンドを、この順番で送信する(ST82〜ST83)。   By the way, when it is determined in step ST81 that the power interruption A command has been received, the power interruption A command and the power interruption B command are transmitted to the image control unit 23 in this order (ST82 to ST82). ST83).

次に、全てのランプを消灯状態とすると共に、回転モータMTや昇降モータMOの動作を停止する(ST84)。このとき、演出可動体AMUが原点領域外に位置する場合には、これを原点領域に復帰させる。そのため、電源遮断後に、演出可動体AMUの露出状態が継続されるとがなく見栄えが良い。また、電源復帰後に実行される原点検出処理を素早く終えることができる。   Next, all the lamps are turned off, and the operations of the rotary motor MT and the lift motor MO are stopped (ST84). At this time, if the effect movable body AMU is located outside the origin area, it is returned to the origin area. Therefore, after the power supply is cut off, the exposed state of the effect movable body AMU is not continued and the appearance is good. In addition, the origin detection process executed after the power is restored can be completed quickly.

また、本実施例では、ランプやモータについて最初に停止制御を実行するので、電源電圧の降下速度を抑制して、以降の処理を確実に完結させることができる。   In this embodiment, the stop control is first executed for the lamp and the motor, so that the rate of power supply voltage drop can be suppressed and the subsequent processing can be completed with certainty.

続いて、チャンスボタン11の操作を無効化すると共に、音声演出を停止して無音状態にして、電源電圧降下時に遊技機が異常動作しないよう図っている(ST85)。次に、ステップST51の処理と同様に、RAMクリア処理を実行した上で(ST86)、サブルーチン処理(ST58)を終える。その結果、その後は、演出動作を中止した状態で、ステップST54〜ST63の定時処理を実行しつつ直流電源が遮断されるのを待つ。   Subsequently, the operation of the chance button 11 is invalidated, and the sound effect is stopped and silenced so that the gaming machine does not operate abnormally when the power supply voltage drops (ST85). Next, in the same manner as the process of step ST51, after executing the RAM clear process (ST86), the subroutine process (ST58) is ended. As a result, after that, in the state where the production operation is stopped, the routine waits for the DC power supply to be cut off while executing the scheduled processing of steps ST54 to ST63.

主制御部21が電断コマンドを送信したにも拘らず、演出制御部22の直流電源が遮断されないことは、通常では、考えられない。しかし、(1) 交流電源が遮断されると直ちに電源異常信号ABN1が出力されること、(2) 比較的大容量のコンデンサによって直流電源の電圧値が維持され、しかも、電力消費量が大きい処理が直ちに停止状態となることから(ST84)、例えば、交流電源が瞬停状態であったような場合には、演出制御部22の直流電源が正常に維持されることもある。   Although the main control unit 21 has transmitted the power interruption command, it is not normally considered that the direct current power source of the effect control unit 22 is not cut off. However, (1) When the AC power supply is cut off, the power supply abnormality signal ABN1 is output immediately. (2) The voltage value of the DC power supply is maintained by a relatively large capacitor, and the power consumption is large. Is immediately stopped (ST84). For example, when the AC power supply is in an instantaneous power interruption state, the direct current power supply of the effect control unit 22 may be maintained normally.

そして、このような場合、本実施例の演出制御部22では、コールドスタート状態でステップST54〜ST63の定時処理が実行されているので(画像制御部23も同様の構成を採る)、主制御部21が送信する初期動作コマンドを読み落すおそれが無い。   In such a case, in the production control unit 22 of the present embodiment, the regular processing of steps ST54 to ST63 is executed in the cold start state (the image control unit 23 also has the same configuration), so the main control unit There is no possibility that the initial operation command transmitted by 21 will be missed.

このことを説明するため、本実施例の構成とは異なり、例えば、ステップST86の処理の後に、主制御部21における図8と同様の無限ループ処理に移行させる場合を想定する。このような構成を、演出制御部22にも採用した場合、もし、演出制御部22の直流電源が維持されても、ウォッチドッグタイマWDTが起動して、CPUがリセットされるので、特段の問題が生じないとも考えられる。   In order to explain this, unlike the configuration of the present embodiment, for example, a case is assumed in which, after the process of step ST86, the main control unit 21 shifts to an infinite loop process similar to FIG. If such a configuration is also adopted in the production control unit 22, even if the direct current power supply of the production control unit 22 is maintained, the watchdog timer WDT is activated and the CPU is reset, so that there is a special problem. It is thought that does not occur.

しかし、ウォッチドッグタイマが、最後にクリアパルスを受けてから、CPUにリセット信号を出力するまでの経過時間τ1〜τ3は、各制御部21〜23における定時処理の実行間隔(2mS,10mS)に対応させるのが好ましく、例えば、τ1≒5*τ2、τ1≒5*τ3に設定される。そのため、主制御部21が電断コマンドを送信したものの、主制御部21及びサブ制御部22,23の直流電源が維持されたような場合には、主制御部21だけが素早くCPUリセットされるために、主制御部21が送信する初期動作コマンドを、演出制御部22が受信できない場合がある。   However, the elapsed time τ1 to τ3 from when the watchdog timer finally receives the clear pulse until the reset signal is output to the CPU is set to the execution interval (2 mS, 10 mS) of the scheduled processing in each of the control units 21 to 23. For example, τ1≈5 * τ2 and τ1≈5 * τ3 are set. For this reason, when the main control unit 21 transmits a power interruption command but the DC power supply of the main control unit 21 and the sub control units 22 and 23 is maintained, only the main control unit 21 is quickly reset by the CPU. Therefore, the effect control unit 22 may not be able to receive the initial operation command transmitted by the main control unit 21.

しかし、本実施例では、演出制御部22及び画像制御部23では、電断コマンドの受信後、無限ループ処理を実行することなく、定時処理(ST54〜ST63、SE7〜SE14)に戻るので、初期動作コマンドを読み落すおそれがない。   However, in the present embodiment, the production control unit 22 and the image control unit 23 return to the scheduled processing (ST54 to ST63, SE7 to SE14) without executing the infinite loop processing after receiving the power interruption command. There is no risk of missing operation commands.

なお、交流電源が瞬停状態で、演出制御部22や画像制御部23の直流電源が正常に維持される事態は、遊技機の開発段階における動作実験で、少なからず生じるので、上記の構成は有効である。   In addition, since the situation where the direct current power supply of the production control unit 22 and the image control unit 23 is normally maintained when the alternating current power supply is instantaneously stopped occurs in an operation experiment at the development stage of the gaming machine, the above configuration is It is valid.

この点を具体的に説明すると、この種の遊技機は一般にライフサイクルが短いので(数ヶ月)、次々と新機種を開発する必要があり、演出内容の動作確認などを急ぐ必要がある。そのため、交流電源を遮断しても、直流電源が数秒間は維持される点が大きな弊害となることがある。すなわち、一般の遊技機では、遊技機の演出動作を初期状態に戻すべく、交流電源用の電源スイッチのOFF→ON操作をしても、その操作間隔を相当長く確保しない限り、演出可動体AMUが原点位置に戻らず、表示装置DISPの表示画面が残るなどの事態が生じ、この点が動作確認実験などの大きな障害となる。   Specifically, this type of gaming machine generally has a short life cycle (several months), so it is necessary to develop new models one after another, and it is necessary to urgently check the operation of the production contents. For this reason, even if the AC power supply is shut off, the fact that the DC power supply is maintained for several seconds may be a serious problem. That is, in a general gaming machine, even if the power switch for the AC power source is turned OFF → ON in order to return the production operation of the gaming machine to the initial state, unless the operation interval is secured for a long time, the production movable body AMU Does not return to the origin position and the display screen of the display device DISP remains, which becomes a major obstacle in an operation confirmation experiment.

しかし、本実施例では、主制御部21の電断時には、サブ制御部22,23のRAMがクリアされて制御動作が初期状態に戻り(図10ST86、図18のSE23)、しかも、演出可動体AMUが原点領域に戻るので(ST84)、交流電源の電源スイッチを迅速にOFF→ON操作しても、下流側の制御部22,23を確実に初期状態に戻すことができ、演出動作の動作実験を迅速に繰り返すことができる。   However, in this embodiment, when the main control unit 21 is cut off, the RAMs of the sub-control units 22 and 23 are cleared and the control operation returns to the initial state (ST86 in FIG. 10, SE23 in FIG. 18), and the effect movable body Since the AMU returns to the origin region (ST84), even if the power switch of the AC power supply is quickly turned OFF → ON, the downstream control units 22 and 23 can be reliably returned to the initial state, and the operation of the rendering operation Experiments can be repeated quickly.

以上、図10のコマンド解析処理のうち、電断処理(ST81〜ST86)について説明したが、新規に受信した制御コマンドが初期動作コマンドであった場合には、その初期動作コマンドを、下流側の画像制御部23に転送する(ST89)。次に、回転モータMTを初期動作させるために、モータ動作フラグFGを2に設定するなど、所定の初期動作に向けたフラグ設定処理を実行する(ST90)。   As described above, the power interruption process (ST81 to ST86) in the command analysis process of FIG. 10 has been described. If the newly received control command is the initial operation command, the initial operation command is changed to the downstream side. The image is transferred to the image controller 23 (ST89). Next, in order to perform the initial operation of the rotary motor MT, a flag setting process for a predetermined initial operation, such as setting the motor operation flag FG to 2, is executed (ST90).

ところで、このタイミングでは、ステップST52のフラグ設定処理(FG=1)に起因して開始される原点検出処理が完了していない可能性もある。しかし、そのような場合であっても、モータ動作フラグFGが2に設定されることで(ST90)、実行中の回転モータMTの原点検出処理が中断されて初期動作処理が開始される。但し、移行された初期動作処理において、原点検出処理と同様の処理が実行されるので何の問題も生じない。なお、モータ動作フラグFGが2に設定された状態で、異常フラグER=1であって回転モータMTが異常状態であった場合には、FG=2の状態で、異常報知動作が開始される(異常報知動作については後述する)。   By the way, at this timing, there is a possibility that the origin detection process started due to the flag setting process (FG = 1) in step ST52 is not completed. However, even in such a case, when the motor operation flag FG is set to 2 (ST90), the origin detection process of the rotating motor MT being executed is interrupted and the initial operation process is started. However, since the same process as the origin detection process is executed in the shifted initial operation process, no problem occurs. When the motor operation flag FG is set to 2 and the abnormality flag ER = 1 and the rotation motor MT is in an abnormal state, the abnormality notification operation is started in the state of FG = 2. (Abnormality notification operation will be described later).

一方、新規に受信した制御コマンドがRAMクリアコマンドであった場合には、そのRAMクリアコマンドを、画像制御部23に転送する(ST92)。次に、クリア報知タイマを所定値(例えば30秒)に初期設定するなど、RAMクリア処理を実行するためのフラグ設定処理を実行する(ST93)。RAMクリア処理は、図7の破線で示す通りであり、ステップST67の処理によって電飾ランプが全て点灯され、ステップST62の音声演出処理によって、警報音としてRAMクリア音が出力される。   On the other hand, if the newly received control command is a RAM clear command, the RAM clear command is transferred to the image control unit 23 (ST92). Next, a flag setting process for executing a RAM clear process, such as initial setting of a clear notification timer to a predetermined value (for example, 30 seconds), is executed (ST93). The RAM clear process is as shown by the broken line in FIG. 7, and all the illumination lamps are turned on by the process of step ST67, and the RAM clear sound is output as an alarm sound by the sound effect process of step ST62.

また、新規に受信した制御コマンドがバックアップ復帰コマンドであった場合には、そのバックアップ復帰コマンドを、画像制御部23に転送する(ST95)。その後、演出制御部22では、電源投入時の動作状態(ランプ消灯、無音)が継続される。   If the newly received control command is a backup restoration command, the backup restoration command is transferred to the image control unit 23 (ST95). Thereafter, the effect control unit 22 continues the operation state at the time of power-on (lamp extinguishing, silence).

一方、遊技客が遊技動作を開始した後は、変動パターンコマンドを受信することもある。その場合には、演出抽選によって特定された演出コマンドを画像制御部23に送信する(ST97)。また、演出コマンドによって特定される演出動作を開始するべく必要なフラグ設定処理を実行する(ST98)。   On the other hand, after the player starts the game operation, the variation pattern command may be received. In that case, the effect command specified by the effect lottery is transmitted to the image control unit 23 (ST97). Further, a flag setting process necessary to start the production operation specified by the production command is executed (ST98).

そして、開始される演出動作に演出可動体AMUが含まれている場合には、モータ動作フラグFG=0、且つ、リトライフラグRT=0であって、回転モータMTが異常状態(モータエラー)でないことを条件に(ER=0)、回転モータMTのモータ動作フラグFGを3に設定する(ST98)。その結果、その後の演出モータ処理(ST68)では、演出可動体AMUを回転させるモータ演出が実行される。なお、モータエラーとは、リトライ処理(図11のSS4)を経ても回転モータMTが回転しない異常、或いは、モータ演出処理(図11のSS7)において、回転モータMTが正常に機能しない異常を意味し、何れの場合にも異常フラグER=1とされる。   If the effect movable body AMU is included in the effect operation to be started, the motor operation flag FG = 0 and the retry flag RT = 0, and the rotation motor MT is not in an abnormal state (motor error). Under these conditions (ER = 0), the motor operation flag FG of the rotary motor MT is set to 3 (ST98). As a result, in the subsequent effect motor processing (ST68), a motor effect that rotates the effect movable body AMU is executed. The motor error means an abnormality in which the rotating motor MT does not rotate even after the retry process (SS4 in FIG. 11), or an abnormality in which the rotating motor MT does not function normally in the motor effect process (SS7 in FIG. 11). In either case, the abnormality flag ER = 1 is set.

また、本実施例では、変動パターンコマンドの受信時に、モータ動作フラグFG=1であって原点検出動作中である場合や、リトライフラグRT=1であってリトライ動作中である場合には、モータ演出動作をスキップする。したがって、画像制御部23における図柄演出と、演出制御部22におけるモータ演出とが同期しない不備が未然防止される。   In this embodiment, when the variation pattern command is received, if the motor operation flag FG = 1 and the origin detection operation is being performed, or if the retry flag RT = 1 and the retry operation is being performed, the motor The production operation is skipped. Therefore, the deficiency that the symbol effect in the image control unit 23 and the motor effect in the effect control unit 22 are not synchronized is prevented.

ところで、図10には記載していないが、タイマ更新処理(ST57)とコマンド解析処理(ST58)とが協働することで、ステップST52の処理でモータ動作フラグFGが1に設定された後も、必要に応じて、回転モータMTのモータ動作フラグFGが1に設定される。具体的に説明すると、FG=1から初期状態(FG=0)に戻されたモータ動作フラグFGは、変動パターンコマンドに基づいて実行される変動演出の開始時や、変動演出終了後の大当りゲームの開始時や、遊技客が遊技を終了してから所定時間後に実行される客待ちデモ開始時には、改めてFG=1に設定される。   By the way, although not shown in FIG. 10, the timer update process (ST57) and the command analysis process (ST58) cooperate, so that the motor operation flag FG is set to 1 in the process of step ST52. If necessary, the motor operation flag FG of the rotary motor MT is set to 1. More specifically, the motor operation flag FG returned from FG = 1 to the initial state (FG = 0) is a jackpot game at the start of the variation effect executed based on the variation pattern command or after the end of the variation effect. FG = 1 is set again at the beginning of the game, or at the start of a customer waiting demonstration that is executed a predetermined time after the player finishes the game.

また、このモータ動作フラグFGの設定処理に合わせて、異常フラグERが、正常状態を示す0に初期設定される。これは、「変動演出の開始時」、「大当りゲームの開始時」、又は「客待ちデモ開始時」において、改めて、原点検出処理(SS5)を実行することで、回転モータMTの異常解消を図るためである。   In accordance with the setting process of the motor operation flag FG, the abnormality flag ER is initialized to 0 indicating a normal state. This is because the origin detection process (SS5) is executed again at “at the start of the fluctuating effect”, “at the start of the big hit game”, or “at the start of the customer waiting demonstration”, thereby eliminating the abnormality of the rotary motor MT. This is for the purpose of illustration.

すなわち、異常フラグER=1の状態では、回転モータMTの駆動が禁止されるものの(図11のSS1)、回転モータMTは非駆動状態となる(図11のSS9)。このことによって、回転モータMTは、拘束状態から自由回転状態(非拘束状態)に移行するので、遊技球の払出に伴う振動などによって、異常状態が自然復旧する可能性もある。そこで、再度の原点検出処理(SS5)によって、回転モータMTの原点位置への復帰を図っている。なお、再度の原点検出処理(SS5)でも、異常が認められる場合には、リトライ処理に移行し、それでも異常が解消しない場合には、異常フラグER=1とする。   That is, in the state where the abnormality flag ER = 1, the rotation motor MT is prohibited from being driven (SS1 in FIG. 11), but the rotation motor MT is in the non-drive state (SS9 in FIG. 11). As a result, the rotary motor MT shifts from the restrained state to the free rotating state (unconstrained state), so that the abnormal state may naturally recover due to vibration accompanying the payout of the game ball. Therefore, the return to the origin position of the rotary motor MT is attempted by the origin detection process (SS5) again. In addition, even if the origin detection process (SS5) is performed again, if an abnormality is recognized, the process proceeds to a retry process, and if the abnormality is still not resolved, the abnormality flag ER = 1 is set.

何れにしても、図10に示すコマンド解析処理(ST58)が終われば、次にエラー処理が実行される(ST59)。図9(e)は、回転モータMTのモータエラーに関するエラー処理を示している。先に説明した通り、モータエラーとは、異常フラグER=1の状態であって、リトライ処理(SS4)を経ても回転モータMTが回転しないか、モータ演出処理(SS7)において、回転モータMTが正常に機能しなかった異常を意味する。   In any case, when the command analysis processing (ST58) shown in FIG. 10 is completed, error processing is executed next (ST59). FIG. 9E shows error processing relating to a motor error of the rotary motor MT. As described above, the motor error is a state in which the abnormality flag ER = 1 and the rotation motor MT does not rotate even after the retry process (SS4), or in the motor effect process (SS7) It means an abnormality that did not function properly.

本実施例では、回転モータMTの駆動処理は、モータ動作フラグFGに基づき、原点検出処理(FG=1)、初期動作処理(FG=2)、モータ演出処理(FG=3)に大別されるが(図11参照)、この何れの処理においても回転モータMTの異常が発生する可能性がある。   In this embodiment, the driving process of the rotary motor MT is roughly divided into an origin detection process (FG = 1), an initial operation process (FG = 2), and a motor effect process (FG = 3) based on the motor operation flag FG. However (see FIG. 11), any of these processes may cause an abnormality in the rotary motor MT.

しかし、本実施例では、モータの異常事態が検出されても、原則として、異常フラグERが1に設定されるだけであって、主制御部21から初期設定コマンド(図7のST8参照)を受信しない限り、その異常状態を報知しないよう構成されている。なお、主制御部21は、CPUリセット時に限り、初期設定コマンドを送信するので、異常状態の報知は、主制御部のCPUリセット時に限られる。   However, in this embodiment, even if an abnormal situation of the motor is detected, in principle, the abnormality flag ER is only set to 1, and an initial setting command (see ST8 in FIG. 7) is sent from the main control unit 21. Unless it is received, the abnormal state is not notified. The main control unit 21 transmits an initial setting command only when the CPU is reset, so that the notification of the abnormal state is limited only when the CPU of the main control unit is reset.

このような構成を採るのは、(1) 演出可動体AMUは、予告動作として稀にしか動作せず、遊技球の払出モータなどに比較すると、その重要度が低いこと、(2) したがって、直ちに異常報知して係員を急行させなければならないほどの緊急性がないこと、(3) 無闇に異常報知すると遊技中の遊技者を白けさせ不信感を与えること、(4) 回転モータMTが回転不能であっても、その後、遊技球の払出などに伴う振動に基づいて、自然復旧することもあること、などの理由に基づく。   The reason for adopting such a configuration is that (1) the production movable body AMU is rarely operated as a notice operation, and its importance is low compared to a game ball payout motor, etc. (2) Therefore, There is no urgency to notify the abnormality immediately and dispatch the staff, (3) If the abnormality is reported in darkness, the player who is playing will be whitened and distrustful, (4) The rotating motor MT will rotate Even if it is impossible, it is based on the reason that, after that, it may be restored naturally based on vibrations associated with the payout of game balls.

このように、本実施例では、回転モータMTの異常報知は、主制御部21のCPUがリセット(典型的には電源リセット)された時に限られるので、電源投入時に検出されたモータエラーの異常報知が、その後に実行される他の報知動作によって消滅することがない。例えば、電源投入時に検出されたモータエラーを直ちに音声報知すると、その後に受けたRAMクリアコマンドによる音声報知によって、モータエラーの音声報知が消滅して、係員が回転モータMTの異常を見落とすおそれがある。   As described above, in this embodiment, the abnormality notification of the rotary motor MT is limited to when the CPU of the main control unit 21 is reset (typically, power reset), and therefore the motor error detected when the power is turned on. The notification does not disappear due to another notification operation executed thereafter. For example, if a motor error detected at the time of power-on is immediately notified by voice, the voice notification by the RAM clear command received after that causes the motor error voice notification to disappear and the attendant may overlook the abnormality of the rotary motor MT. .

一方、RAMクリア処理(ST18)が不正遊技者に悪用される可能性があることは、図7に関して説明した通りであり、したがって、RAMクリアの音声報知を消滅させて、モータエラーを音声報知することは、セキュリティ上、非常に不適切であって採用できない。   On the other hand, the fact that the RAM clear process (ST18) may be abused by an unauthorized player is as described with reference to FIG. 7, and therefore the RAM clear voice notification is extinguished and the motor error is notified by voice. This is very inappropriate for security and cannot be adopted.

以上のような異常報知動作を実現するため、エラー処理(ST59)では、図9(e)に示す通り、最初に、異常フラグERの値を判定する(ST69)。そして、異常フラグがER=1であれば、その時のモータ動作フラグFGの値が2であるか否かを判定する(ST70)。そして、モータ動作フラグFG≠2であれば、モータエラーの発生(ER=1)に拘らず、他のエラー処理にスキップさせる。   In order to realize the abnormality notification operation as described above, in the error process (ST59), as shown in FIG. 9 (e), first, the value of the abnormality flag ER is determined (ST69). If the abnormality flag is ER = 1, it is determined whether or not the value of the motor operation flag FG at that time is 2 (ST70). If the motor operation flag FG ≠ 2, then the other error processing is skipped regardless of the occurrence of a motor error (ER = 1).

このような動作手順を採るのは、主制御部21から初期設定コマンドを受信した後でないと、回転モータMTのモータエラーを異常報知しないためである。なお、モータ動作フラグFGは、主制御部21から初期設定コマンドを受信すると、自動的にFG=2とされ(図10のST90)、異常フラグER=0であることを条件に(SS40)、図14〜図15に示す初期動作処理の実行が開始される。   The reason why such an operation procedure is adopted is that the motor error of the rotary motor MT is not notified abnormally only after the initial setting command is received from the main control unit 21. The motor operation flag FG is automatically set to FG = 2 when receiving an initial setting command from the main control unit 21 (ST90 in FIG. 10), on condition that the abnormality flag ER = 0 (SS40), The execution of the initial operation process shown in FIGS. 14 to 15 is started.

したがって、ステップST70の処理で、モータ動作フラグFG=2と判定される場合とは、図14〜図15の初期動作処理においてモータエラーが発生したか、或いは、それ以前の電源投入後に実行される原点検出処理(図13)において、既に、モータエラーが発生していたかの何れかである。   Therefore, the case where it is determined in step ST70 that the motor operation flag FG = 2 is executed when a motor error has occurred in the initial operation processing of FIGS. 14 to 15 or after the previous power-on. In the origin detection process (FIG. 13), either a motor error has already occurred.

そして、何れの場合であっても、モータ動作フラグFG=2であれば、ステップST70の処理に続いて、モータエラーに関する報知開始コマンドを画像制御部23に送信済みであるか否かが判定される(ST71)。そして、未だ送信していない場合には、異常報知時間(例えば60秒)を管理する異常報知タイマを初期設定し(ST76)、報知開始コマンドを画像制御部23に送信する(ST77)。なお、報知開始コマンドを受けた画像制御部23では、表示装置DISPに表示中の画像に重ねて、例えば「役物エラー」と表示する。   In any case, if the motor operation flag FG = 2, it is determined whether or not a notification start command related to a motor error has been transmitted to the image control unit 23 following the processing of step ST70. (ST71). If not yet transmitted, an abnormality notification timer for managing the abnormality notification time (for example, 60 seconds) is initialized (ST76), and a notification start command is transmitted to the image control unit 23 (ST77). In response to the notification start command, the image control unit 23 displays, for example, “servant error” superimposed on the image being displayed on the display device DISP.

このようにして異常報知動作が開始された後は、次回以降のエラー処理(ST59)では、ステップST71の判定に続いて、クリア報知タイマの値が判定される(ST72)。クリア報知タイマは、RAMクリアコマンドを受けた後に実行されるクリア報知時間(=30秒)を管理するものであり、図10のST93の処理で初期設定されている。   After the abnormality notification operation is started in this way, in the error processing (ST59) after the next time, the value of the clear notification timer is determined following the determination in step ST71 (ST72). The clear notification timer manages the clear notification time (= 30 seconds) executed after receiving the RAM clear command, and is initially set in the process of ST93 in FIG.

そして、クリア報知時間が満了するまでは、演出制御部22におけるモータエラーの異常報知処理(音声報知)を開始しない。それは、不正遊技なども考慮して、RAMクリアの音声報知を優先して、確実に、異常報知時間(30秒)だけ、RAMクリア報知を継続させるためである。そして、クリア報知時間が満了すれば、異常報知タイマが満了するまで、モータエラーに関する音声報知を実行し(ST74)、異常報知タイマが満了すれば、モータエラーの音声報知を終了して、モータ動作フラグFGを初期状態の0に戻す(ST75)。但し、異常フラグERは1のままである。   Then, until the clear notification time expires, the motor control abnormality notification process (voice notification) in the effect control unit 22 is not started. This is because the RAM clear notification is surely continued for the abnormality notification time (30 seconds) with priority given to the RAM clear voice notification in consideration of illegal games and the like. If the clear notification time expires, the voice notification regarding the motor error is executed until the abnormality notification timer expires (ST74). If the abnormality notification timer expires, the voice notification of the motor error is terminated and the motor operation is completed. The flag FG is returned to 0 in the initial state (ST75). However, the abnormality flag ER remains at 1.

このように、モータエラーの音声報知が終了することは、モータエラーが解消されたことを意味しない。しかし、モータエラーの音声報知は、遊技ホールの開店前に実行されるので、遊技機に急行した係員がモータ異常を解消させた上で、遊技機の電源スイッチをOFF→ON操作をすれば足りると解される。   Thus, the completion of the voice notification of the motor error does not mean that the motor error has been eliminated. However, since the voice notification of the motor error is executed before the opening of the game hall, it is sufficient for the staff who rushed to the gaming machine to solve the motor abnormality and to turn off the power switch of the gaming machine. It is understood.

一方、モータエラー状態を放置したとしても、異常フラグER=1であるので、回転モータMTは自由回転状態に維持され、しかも「変動演出の開始時」、「変動演出の終了時」、「大当りゲームの開始時」、又は「客待ちデモ開始時」において、改めて、原点検出処理(SS5)が実行されるので、回転モータMTの異常が自然解消される可能性もある。なお、最悪でも、演出可動体AMUによる予告動作が実行されないだけであって、特段の弊害はない。   On the other hand, even if the motor error state is left unattended, since the abnormality flag ER = 1, the rotary motor MT is maintained in the free rotation state, and the “variation effect start”, “variation effect end”, “big hit” Since the origin detection process (SS5) is executed again at the time of the “game start” or “at the start of the customer waiting demonstration”, the abnormality of the rotary motor MT may be naturally resolved. In the worst case, only the notice operation by the effect movable body AMU is not executed, and there is no particular adverse effect.

以上のようなエラー処理(ST59)が終われば、次に、必要に応じて、チャンスボタン11についての入力処理が実行される(ST60)。また、ランプ演出(ST67)や演出モータ処理(ST68)や音声演出(ST62)についての演出シナリオを作成又は更新する(ST61)。次に、作成または更新された演出シナリオに基づいた音声演出が実行される(ST62)。なお、音声演出には、異常報知タイマに基づくモータエラーの音声報知動作や、クリア報知タイマに基づくRAMクリアの音声報知動作も含まれている。但し、図9(e)のステップST72〜ST73に示す通り、RAMクリアの音声報知が優先されるため、2つの音声報知動作が重複する場合には、モータエラーの異常報知音が出力されない。しかし、異常報知タイマの初期値は、クリア報知タイマの初期値より十分大きく設定されているので(実施例では2倍)、事実上、何の問題も生じない。   When the error processing (ST59) as described above is completed, next, input processing for the chance button 11 is executed as necessary (ST60). Further, an effect scenario for the lamp effect (ST67), the effect motor process (ST68) and the sound effect (ST62) is created or updated (ST61). Next, an audio effect based on the created or updated effect scenario is executed (ST62). The audio effects include a motor error audio notification operation based on the abnormality notification timer and a RAM clear audio notification operation based on the clear notification timer. However, as shown in steps ST72 to ST73 of FIG. 9 (e), the RAM clear voice notification has priority, and therefore, when two voice notification operations overlap, a motor error abnormality notification sound is not output. However, since the initial value of the abnormality notification timer is set to be sufficiently larger than the initial value of the clear notification timer (twice in the embodiment), virtually no problem occurs.

異常報知処理も含む音声演出(ST62)が終われば、バックアップ処理(ST63)を実行した後にステップST54の処理に移行する。なお、バックアップ処理としては、例えば、チェックサム演算だけでなく、特定データを離散的に保存する処理や、ワーク領域の全データのバックアップ保存する処理などが例示される。   When the sound effect (ST62) including the abnormality notification process is completed, the process proceeds to the process of step ST54 after the backup process (ST63) is executed. Examples of the backup processing include not only checksum calculation but also processing for storing specific data discretely, processing for storing all data in the work area, and the like.

また、バックアップ処理に続いてウォッチドッグタイマWDTのクリア処理も実行される。このように、演出制御部22では、ウォッチドッグタイマWDTが10mS間隔でクリアされるので、ウォッチドッグタイマWDTが最後にクリアパルスを受けてから、CPUにリセット信号を出力するまでの経過時間τ2は、10mSより十分に長い。   Following the backup process, a clear process of the watchdog timer WDT is also executed. In this way, in the effect control unit 22, the watchdog timer WDT is cleared at 10 mS intervals, so the elapsed time τ2 from when the watchdog timer WDT last receives a clear pulse until the reset signal is output to the CPU is It is sufficiently longer than 10 mS.

続いて、2mS毎に実行される演出モータ処理(図9(d)のST68)について、図11〜図17に基づいて説明する。   Subsequently, the effect motor process (ST68 in FIG. 9D) executed every 2 mS will be described with reference to FIGS.

図11に示す通り、演出モータ処理では、最初に異常フラグERの値が判定され(SS1)、もし異常フラグER=1であれば、非駆動データをドライバ回路45Bに出力して処理を終える(SS9)。非駆動データは、この実施例では、4ビット長の0000であり、回転モータMTは、自由回転可能な非拘束状態で停止状態を維持する。   As shown in FIG. 11, in the production motor process, the value of the abnormality flag ER is first determined (SS1). If the abnormality flag ER = 1, the non-driving data is output to the driver circuit 45B and the process ends ( SS9). In this embodiment, the non-driving data is 0000 having a 4-bit length, and the rotary motor MT maintains a stopped state in an unconstrained state where free rotation is possible.

一方、異常フラグER=0であれば、リトライフラグRTの値を判定する(SS2)。リトライフラグRTは、原点検出処理(SS5)や初期動作処理(SS6)などにおいて、例えば、回転モータMTの空回転によって、演出可動体AMUが原点領域に戻れない異常時にRT=1とされる。そして、リトライフラグRT=1の状態で実行されるリトライ処理(SS4)でも異常が改善されない場合には、異常フラグERを1にセットして異常終了する。一方、異常が改善されて正常終了する場合には、リトライフラグRT=0となる。   On the other hand, if the abnormality flag ER = 0, the value of the retry flag RT is determined (SS2). The retry flag RT is set to RT = 1 in an origin detection process (SS5), an initial operation process (SS6), or the like when, for example, the effect movable body AMU cannot return to the origin area due to idling of the rotation motor MT. If the abnormality is not improved even by the retry process (SS4) executed in the state of the retry flag RT = 1, the abnormality flag ER is set to 1 and the process ends abnormally. On the other hand, when the abnormality is improved and the process ends normally, the retry flag RT = 0.

そのため、ステップSS2の処理において、リトライフラグRT=0と判定される場合には、次に、モータ動作フラグFGの値が判定される(SS3)。先に説明した通り、モータ動作フラグFGは、原点検出処理が実行されるFG=1、初期動作処理が実行されるFG=2、モータ演出処理が実行されるFG=3に大別される。   Therefore, if it is determined in step SS2 that the retry flag RT = 0, then the value of the motor operation flag FG is determined (SS3). As described above, the motor operation flag FG is roughly classified into FG = 1 where the origin detection process is executed, FG = 2 where the initial operation process is executed, and FG = 3 where the motor effect process is executed.

ここで、原点検出処理(SS5)は、(1) 演出制御部のCPUリセット時、(2) 変動演出開始時、(3) 変動演出終了時、(4) 大当り遊技開始時、(5) 客待ちデモ演出開始時などに実行される。そして、原点検出処理(SS5)の実行に先立って、モータ動作フラグFG=1、異常フラグER=0に初期設定される(例えば、図9のST52)。   Here, the origin detection process (SS5) is (1) when the CPU of the effect control unit is reset, (2) when the variable effect starts, (3) when the variable effect ends, (4) when the big hit game starts, (5) It is executed at the start of a waiting demonstration. Prior to the origin detection process (SS5), the motor operation flag FG = 1 and the abnormality flag ER = 0 are initialized (for example, ST52 in FIG. 9).

そして、原点検出処理(SS5)では、詳細を図12に示す通り、演出可動体AMUが、もともと原点領域に位置していたか、或いは、原点領域の外側から原点位置まで移動すると正常終了して、モータ動作フラグFG=0とする。一方、原点検出処理(SS5)において正常な動作が継続できない異常時には、リトライフラグRT=1に設定して異常終了する。なお、その後の演出モータ処理では、リトライ処理(SS4)が実行される。   Then, in the origin detection process (SS5), as shown in detail in FIG. 12, if the effect movable body AMU was originally located in the origin area or moved from the outside of the origin area to the origin position, it ended normally. The motor operation flag FG = 0. On the other hand, if the normal operation cannot be continued in the origin detection process (SS5), the retry flag RT = 1 is set and the process ends abnormally. In the subsequent effect motor process, a retry process (SS4) is executed.

一方、図10のステップST90の処理によって、モータ動作フラグFG=2に設定される初期動作処理(SS6)では、その開始タイミングで異常フラグがER=0であることを条件に実行が開始される(図14のSS40参照)。この初期動作処理では、演出可動体AMUが原点位置まで移動すると正常終了して、モータ動作フラグFG=0となる。逆に、正常な動作が継続できない場合には、モータ動作フラグFG=2を維持した状態で、リトライフラグRT=1として、リトライ処理(SS4)に移行する。   On the other hand, in the initial operation process (SS6) in which the motor operation flag FG = 2 is set by the process in step ST90 in FIG. 10, the execution is started on the condition that the abnormality flag is ER = 0 at the start timing. (See SS40 in FIG. 14). In this initial operation process, when the effect movable body AMU moves to the origin position, the normal operation ends and the motor operation flag FG = 0 is set. Conversely, if normal operation cannot be continued, the motor operation flag FG = 2 is maintained, the retry flag RT = 1 is set, and the process proceeds to the retry process (SS4).

なお、モータ動作フラグFG=2に設定されたタイミングで、異常フラグER=1である場合には、図9のステップST71〜ST77に示す通り、モータエラーの異常報知処理が開始される。   If the abnormality flag ER = 1 at the timing when the motor operation flag FG = 2 is set, a motor error abnormality notification process is started as shown in steps ST71 to ST77 in FIG.

図10のステップST98の処理に関して説明した通り、モータ演出処理(SS7)は、リトライフラグRT=0、モータ動作フラグFG=0、及び、異常フラグER=0であることを条件に開始され、演出可動体AMUの可動演出が実行される。そして可動演出が正常に終了するとモータ動作フラグFG=0とされる。   As described with respect to the process of step ST98 in FIG. 10, the motor effect process (SS7) is started on the condition that the retry flag RT = 0, the motor operation flag FG = 0, and the abnormality flag ER = 0. A movable effect of the movable body AMU is executed. When the movable effect ends normally, the motor operation flag FG = 0 is set.

一方、可動演出が正常に継続できない場合には、異常フラグER=1として処理を終える。そして、異常フラグER=1となったことによって、その後のモータ演出は、異常が復旧されない限り禁止される。   On the other hand, if the movable effect cannot be continued normally, the process is terminated with the abnormality flag ER = 1. Then, since the abnormality flag ER = 1, the subsequent motor performance is prohibited unless the abnormality is recovered.

しかし、前記の通り、(1) 演出制御部のCPUリセット時だけでなく、(2) 変動演出開始時や、(3) 変動演出終了時や、(4) 大当り遊技開始時や、(5) 客待ちデモ演出開始時には原点検出処理が実行され、原点検出処理において、正常動作が継続できない場合にはリトライ処理に移行するので、回転モータの異常が自動復旧される可能性は低くない。   However, as described above, (1) not only when the CPU of the effect control unit is reset, but also (2) when the variable effect starts, (3) when the variable effect ends, (4) when the big hit game starts, (5) The origin detection process is executed at the start of the customer waiting demonstration effect, and if the normal operation cannot be continued in the origin detection process, the process proceeds to the retry process, so that the possibility that the abnormality of the rotary motor is automatically recovered is not low.

以上、演出モータ処理の概要を説明したので、その具体的な処理内容を以下に説明する。なお、プログラムで使用する変数を整理すると、図11の下欄に示す通りである。すなわち、計数カウンタCNTは回転モータMTの回転角度を規定し、方向フラグDRは、回転モータMTの順逆の回転方向を規定し、動作モードフラグMDは、制御動作の進行を管理する。   The outline of the rendering motor process has been described above, and the specific processing content will be described below. The variables used in the program are summarized as shown in the lower column of FIG. That is, the count counter CNT defines the rotation angle of the rotation motor MT, the direction flag DR defines the forward and reverse rotation directions of the rotation motor MT, and the operation mode flag MD manages the progress of the control operation.

図9(d)及び図11から明らかな通り、異常フラグER=0、且つ、リトライフラグRT=0の状態では、ステップSS3以下の処理が、2mS毎に繰り返し実行される。なお、原点検出処理(SS5)、初期動作処理(SS6)、モータ演出処理(SS7)は、モータ動作フラグFG(=1〜3)の値に対応して開始されるが、開始タイミングでは、何れの場合にも、動作モードMD=0となっている。   As is clear from FIG. 9D and FIG. 11, in the state of the abnormality flag ER = 0 and the retry flag RT = 0, the process after step SS3 is repeatedly executed every 2 mS. The origin detection process (SS5), the initial operation process (SS6), and the motor effect process (SS7) are started corresponding to the value of the motor operation flag FG (= 1 to 3). In this case, the operation mode MD = 0.

先ず、図12に基づいて、原点検出処理(SS5)について説明する。最初に、フォトインタラプタPHからの検出信号SNが取得され記憶される(SS10)。次に、動作モードMDを判定し(SS11)、初期状態のままでMD=0であれば、検出信号SNのレベルが判定される(SS12)。   First, the origin detection process (SS5) will be described with reference to FIG. First, the detection signal SN from the photo interrupter PH is acquired and stored (SS10). Next, the operation mode MD is determined (SS11). If MD = 0 in the initial state, the level of the detection signal SN is determined (SS12).

図5に関して説明した通り、検出信号SNは、回転部材ROTが原点領域に位置しているか否かを示している。したがって、検出信号SN=Hであって、回転部材ROTが原点領域に位置している場合には、モータ動作フラグFGを初期状態のFG=0に戻して処理を正常終了させる(SS13)。この場合、回転部材ROTは、正確な原点位置には位置しない可能性もあるが、演出可動体AMUは、少なくとも、遊技者の目に触れない位置に収容されている。   As described with reference to FIG. 5, the detection signal SN indicates whether or not the rotating member ROT is located in the origin region. Therefore, when the detection signal SN = H and the rotating member ROT is located in the origin region, the motor operation flag FG is returned to the initial state FG = 0 and the process is normally terminated (SS13). In this case, the rotating member ROT may not be located at the correct origin position, but the effect movable body AMU is accommodated at least at a position where the player does not touch the eyes.

一方、検出信号SN=Lであって、回転部材ROTが原点領域外に位置している場合には、計数カウンタCNTの値を、十分な余裕をもって、周回時間Mの2倍に対応する値に初期設定する(SS14)。先に説明した通り、周回時間Mは、回転部材ROTが定速度Vで回転する場合において、原点を経過してから再び原点に達するまでの経過時間であり、本実施例では、タイマ割込み時間間隔τに対応して245*τとなっている。したがって、計数カウンタCNTは、回転部材ROTが2回転する時間に対応する490に初期設定される。   On the other hand, when the detection signal SN = L and the rotating member ROT is located outside the origin region, the value of the count counter CNT is set to a value corresponding to twice the circulation time M with a sufficient margin. Initial setting is made (SS14). As described above, the lap time M is the elapsed time from when the rotating member ROT rotates at the constant speed V until it reaches the origin again, and in this embodiment, the timer interruption time interval. 245 * τ corresponding to τ. Therefore, the count counter CNT is initialized to 490 corresponding to the time for which the rotating member ROT rotates twice.

また、方向フラグDRを0に設定して逆方向(図5では半時計方向)に回転させることを規定し、動作モードMDを1とする(SS14)。以上の処理は、次回以降のタイマ割込みによって、回転部材ROTを原点領域に戻すための処理である。なお、計数カウンタCNTの初期値は、必ずしも490である必要はなく、1周分(=245)より適宜に大きい値であれば足りる。   In addition, the direction flag DR is set to 0 to specify that the direction is rotated in the reverse direction (counterclockwise in FIG. 5) and the operation mode MD is set to 1 (SS14). The above process is a process for returning the rotating member ROT to the origin region by the next timer interruption. Note that the initial value of the count counter CNT does not necessarily need to be 490, and may be a value that is appropriately larger than one round (= 245).

動作モードMD=1となったことにより、次回以降のタイマ割込みでは、ステップSS11→SS15→SS16の経路を経て、検出信号SNがHレベルとなったか否かが判定される(SS16)。そして、未だ、回転部材ROTが原点領域に戻っておらず、検出信号SN=Lであれば、所定時間毎に、駆動データをDR方向に1ステップ進め、これに対応して計数カウンタCNTをデクリメントする(SS18)。なお、更新された駆動データは、図11のステップSS8の処理で回転モータMTに供給されることで、回転部材ROTが回転駆動される。   Since the operation mode MD = 1, in the next timer interruption, it is determined whether or not the detection signal SN has become the H level through the path of step SS11 → SS15 → SS16 (SS16). If the rotating member ROT has not yet returned to the origin region and the detection signal SN = L, the drive data is advanced by one step in the DR direction every predetermined time, and the count counter CNT is decremented correspondingly. (SS18). Note that the updated drive data is supplied to the rotary motor MT in the process of step SS8 in FIG. 11, whereby the rotary member ROT is driven to rotate.

ところで、本実施例の駆動データは、4ビット長の0101,1001,1010,0110であり、その更新タイミングは、回転部材ROTの回転速度Vに基づいて決定される。仮に、2回のタイマ割込み処理(=4mS)毎に駆動データを更新するのであれば、本実施例の構成では、4mS*245=0.98秒間で、回転部材ROTが一回転することになる。   By the way, the drive data of the present embodiment is 4-bit length 0101, 1001, 1010, 0110, and the update timing is determined based on the rotation speed V of the rotating member ROT. If the drive data is updated every two timer interruption processes (= 4 mS), in the configuration of this embodiment, the rotating member ROT rotates once in 4 mS * 245 = 0.98 seconds. .

このようにして、ステップSS18の処理を繰り返して回転部材ROTを歩進させていると、やがて、回転部材ROTが原点領域に戻り、検出信号SN=Hとなる筈である。そこで、その場合には、計数カウンタCNTを、逆方向基準時間N2に対応する値(N2/τ)に、新たに初期設定する(SS19)。先に説明した通り、逆方向基準時間N2は、定速度Vで回転する回転部材ROTが、原点領域に戻ってから原点位置に達するまでの経過時間である。   Thus, if the process of step SS18 is repeated and the rotary member ROT is stepped forward, the rotary member ROT will eventually return to the origin region and the detection signal SN = H. Therefore, in that case, the count counter CNT is newly initialized to a value (N2 / τ) corresponding to the backward reference time N2 (SS19). As described above, the reverse reference time N2 is an elapsed time from when the rotating member ROT rotating at the constant speed V returns to the origin area to the origin position.

また、方向フラグDRを0に維持して、動作モードMDを2とする(SS19)。以上の処理は、次回以降のタイマ割込みによって、原点領域に突入した回転部材ROTを、正確に原点位置に戻すための処理である。   Further, the direction flag DR is maintained at 0, and the operation mode MD is set to 2 (SS19). The above process is a process for accurately returning the rotating member ROT that has entered the origin area to the origin position by the next timer interruption.

一方、検出信号SN=Lである場合には、ステップSS17〜SS18の処理を更に繰り返すことになる。そして、検出信号SN=Lが維持されて、ステップSS14で初期設定された計数カウンタCNTが0に達した場合には、リトライフラグRT=1に設定すると共に、動作モードMD=0として処理を終える(SS20)。   On the other hand, when the detection signal SN = L, the processes in steps SS17 to SS18 are further repeated. When the detection signal SN = L is maintained and the count counter CNT initialized in step SS14 reaches 0, the retry flag RT = 1 is set and the processing is ended with the operation mode MD = 0. (SS20).

これは、回転モータMTについて2回転分の駆動動作を実行したにも拘らず、回転部材ROTが原点領域に戻れない異常が検出されたことになる。そこで、次回のタイマ割込みでは、モータ動作フラグFG=1を維持した状態で、リトライ処理(SS4)が実行される(図11参照)。   This means that an abnormality has been detected in which the rotating member ROT cannot return to the origin region even though the driving operation for two rotations has been executed for the rotating motor MT. Therefore, in the next timer interrupt, the retry process (SS4) is executed with the motor operation flag FG = 1 maintained (see FIG. 11).

一方、ステップSS19の処理が実行された後のタイマ割込みでは、ステップSS11→SS15→SS21の経路を経て、計数カウンタCNTの値が判定される(SS21)。そして、計数カウンタCNT≠0であれば、所定時間毎に駆動データをDR方向に進め、これに対応して、計数カウンタCNTをデクリメントする(SS22)。   On the other hand, in the timer interruption after the process of step SS19 is executed, the value of the count counter CNT is determined through the path of step SS11 → SS15 → SS21 (SS21). If the count counter CNT ≠ 0, the drive data is advanced in the DR direction every predetermined time, and the count counter CNT is decremented correspondingly (SS22).

そして、計数カウンタCNT=0となったタイミングで、動作モードMD=0とすると共に、モータ動作フラグFG=0として、原点検出処理を正常終了させる(SS23)。なお、この実施例の構成では、回転部材ROTが正確に原点位置に達したか否かの判断はできないが、回転部材ROTが原点領域に収容されれば、それで足りると解される。   Then, at the timing when the count counter CNT = 0, the operation mode MD = 0 and the motor operation flag FG = 0 are set, and the origin detection process is normally terminated (SS23). In the configuration of this embodiment, it cannot be determined whether or not the rotating member ROT has reached the origin position accurately, but it is understood that it is sufficient if the rotating member ROT is accommodated in the origin region.

続いて、図13に基づいてリトライ処理について説明する。リトライ処理(SS4)は、原点検出処理(SS5)、初期動作処理(SS6)又はモータ処理(SS7)において、リトライフラグRT=1に設定されることに起因して開始される。そして、その開始時には動作モードMD=0に設定されている。   Next, the retry process will be described with reference to FIG. The retry process (SS4) is started when the retry flag RT = 1 is set in the origin detection process (SS5), the initial operation process (SS6), or the motor process (SS7). At the start, the operation mode MD = 0 is set.

そこで、リトライ処理(SS4)では、図13に示す通り、最初に動作モードMDが判定され(SS24)、動作モードMD=0であれば、計数カウンタCNTが適宜な値XXに初期設定され、方向フラグDR=1にされた上で、動作モードがMD=1とされる(SS25)。方向フラグDR=1は、回転方向が順方向であることを意味し、通常は、原点領域から離れる方向を意味する。   Therefore, in the retry process (SS4), as shown in FIG. 13, the operation mode MD is first determined (SS24), and if the operation mode MD = 0, the count counter CNT is initialized to an appropriate value XX, and the direction After setting the flag DR = 1, the operation mode is set to MD = 1 (SS25). The direction flag DR = 1 means that the rotation direction is the forward direction, and usually means a direction away from the origin region.

動作モードMD=1とされたことにより、次回のタイマ割込みでは、ステップSS24→SS26→SS27の経路を経て、計数カウンタCNTの値が判定される(SS27)。そして、計数カウンタCNT≠0であれば、所定時間毎に駆動データを1ステップ進めて、これに対応して計数カウンタCNTをデクリメントする(SS28)。   Since the operation mode MD is set to 1, the value of the count counter CNT is determined in the next timer interruption through the path of step SS24 → SS26 → SS27 (SS27). If the count counter CNT ≠ 0, the drive data is advanced by one step every predetermined time, and the count counter CNT is decremented correspondingly (SS28).

このような処理を繰り返していると、やがて、計数カウンタCNT=0となるので、その場合には、計数カウンタCNTの値を、周回時間Mの2倍に対応する値に、新たに初期設定する(SS29)。また、方向フラグDR=0、動作モードMD=2とする(SS29)。したがって、次回のタイマ割込み処理では、回転部材ROTが原点領域に向けて逆方向に回転することになる。これは、順方向に所定回数(=XX)だけ駆動した後に(SS25〜SS28)、それまでと逆方向に駆動して往復運動をさせることで、回転モータMTの異常を解消させるためである。   If such processing is repeated, the count counter CNT will eventually become 0. In this case, the value of the count counter CNT is newly initialized to a value corresponding to twice the circulation time M. (SS29). Further, the direction flag DR = 0 and the operation mode MD = 2 are set (SS29). Therefore, in the next timer interruption process, the rotating member ROT rotates in the reverse direction toward the origin region. This is because after driving a predetermined number of times (= XX) in the forward direction (SS25 to SS28), the reciprocating motion is performed in the reverse direction so far, thereby eliminating the abnormality of the rotary motor MT.

動作モードMD=2とされたことにより、次回のタイマ割込みでは、ステップSS24→SS26→SS30→SS31の経路を経て、検出信号SNが取得され(SS31)、そのレベルが判定される(SS32)。そして、検出信号SN=Hであって、回転部材ROTが原点領域に突入した場合には、原点位置まで更に移動させるべく、計数カウンタCNTに、逆方向基準時間N2に対応する値(N2/τ)に、新たに初期設定する(SS35)。また、方向フラグDRを0に維持して、動作モードMDを2とする(SS35)。   By setting the operation mode MD = 2, in the next timer interruption, the detection signal SN is acquired through the path of step SS24 → SS26 → SS30 → SS31 (SS31), and its level is determined (SS32). When the detection signal SN = H and the rotating member ROT enters the origin region, the count counter CNT has a value corresponding to the reverse reference time N2 (N2 / τ) to further move to the origin position. ) Is newly initialized (SS35). Further, the direction flag DR is maintained at 0, and the operation mode MD is set to 2 (SS35).

一方、検出信号SN=Hでない場合には、計数カウンタCNTの値を判定し(SS33)、計数カウンタCNT≠0であれば、所定時間毎に駆動データをDR方向に1ステップ進め、これに対応して計数カウンタCNTをデクリメントする(SS34)。   On the other hand, if the detection signal SN is not H, the value of the count counter CNT is determined (SS33). If the count counter CNT ≠ 0, the drive data is advanced by one step in the DR direction every predetermined time, and this is dealt with. The count counter CNT is decremented (SS34).

そして、このような歩進動作を繰り返しても検出信号SN=Lが維持される場合には、もはや修復不能と判断して、リトライフラグRT=1の状態のまま、異常フラグER=1に設定して処理を終える(SS36)。   If the detection signal SN = L is maintained even if the stepping operation is repeated, it is determined that the restoration is no longer possible and the abnormality flag ER = 1 is set while the retry flag RT = 1 is maintained. Then, the process is finished (SS36).

その結果、これ以降は、異常フラグがER=0となるまで、回転モータMTは非駆動状態となり、回転部材ROTは停止状態を維持する。なお、変動演出開始時などに実行される原点検出処理(SS5)では、その開始時に、異常フラグER=0、モータ動作フラグFG=1とされるので、リトライ処理(SS4)が再実行される。   As a result, thereafter, until the abnormality flag becomes ER = 0, the rotary motor MT is in a non-driven state, and the rotary member ROT is maintained in a stopped state. Note that in the origin detection process (SS5) executed at the start of the fluctuating effect, the abnormality flag ER = 0 and the motor operation flag FG = 1 are set at the start, so the retry process (SS4) is executed again. .

そして、リトライ処理に成功すると、リトライフラグRT=0となった後に(SS39)、原点検出処理(SS5)が再実行される。なお、リトライ処理に成功していることから、直ちに、原点検出処理を正常終了する(図12のSS10〜SS13参照)。   If the retry process is successful, the origin detection process (SS5) is re-executed after the retry flag RT = 0 (SS39). Since the retry process is successful, the origin detection process is immediately terminated normally (see SS10 to SS13 in FIG. 12).

一方、再度のリトライ処理にも失敗した場合には、再度、異常フラグER=1となり(SS36)、再度の原点検出処理まで回転モータMTは非駆動状態となる(図11のSS9参照)。この実施例では、異常フラグER=1の状態では、回転モータMTが非駆動状態とされ、しかも、変動演出開始時や、客待ちデモ演出開始時に、繰り返しリトライ処理が実行されるので回転モータMTの異常が自動的に復旧される可能性が低くない。なお、リトライ処理に失敗しても、異常報知動作を実行しないので遊技者に不信感を与えることもない。   On the other hand, if the retry process fails again, the abnormality flag ER = 1 again (SS36), and the rotary motor MT is not driven until the origin detection process is performed again (see SS9 in FIG. 11). In this embodiment, when the abnormality flag ER = 1, the rotary motor MT is in a non-driven state, and the retry process is repeatedly executed at the start of the fluctuation effect or at the start of the customer waiting demonstration effect. The possibility that the abnormality will be automatically recovered is not low. Note that even if the retry process fails, the abnormality notification operation is not executed, so that the player is not distrusted.

以上、ステップSS36の処理に関連する事項を詳細に説明したが、ステップSS35の処理が実行された後は、ステップSS24→SS26→SS30→SS37の経路を経て、計数カウンタCNTの値が判定され(SS37)、計数カウンタCNT≠0であれば、所定時間毎に駆動データをDR方向に1ステップ進め、これに対応して計数カウンタCNTをデクリメントする(SS38)。   The items related to the process of step SS36 have been described in detail above. However, after the process of step SS35 is executed, the value of the count counter CNT is determined through the path of step SS24 → SS26 → SS30 → SS37 ( SS37) If the count counter CNT ≠ 0, the drive data is advanced by one step in the DR direction every predetermined time, and the count counter CNT is decremented correspondingly (SS38).

そして、計数カウンタCNT=0となれば、リトライフラグRT=0、動作モードMD=0として、リトライ処理を正常終了させる(SS39)。   When the count counter CNT = 0, the retry flag RT = 0 and the operation mode MD = 0 are set, and the retry process is normally terminated (SS39).

続いて、図14〜図15に示す初期動作処理(SS6)について説明する。初期動作処理は、主制御部21から初期動作コマンドを受けて開始されるが(図10のST90)、この状態で異常フラグER=1であれば、直ちに処理を終える(SS40)。このような事態は、原点検出処理において、モータエラーが生じた場合に発生するが、その後は、図9(e)のステップST71以下の処理によって、所定時間継続する異常報知動作が実行される。   Next, the initial operation process (SS6) shown in FIGS. 14 to 15 will be described. The initial operation process is started upon receiving an initial operation command from the main control unit 21 (ST90 in FIG. 10). If the abnormality flag ER = 1 in this state, the process is immediately terminated (SS40). Such a situation occurs when a motor error occurs in the origin detection process, but thereafter, an abnormality notification operation that continues for a predetermined time is executed by the process after step ST71 in FIG. 9E.

一方、異常フラグER=0であれば、検出信号SNの取得(SS41)、動作モードMDの判定(SS42)、検出信号SNのレベル判定(SS43)の処理を実行する。そして、検出信号SN=Hであれば、回転部材ROTが原点領域に位置することになるので、計数カウンタCNTを回転部材ROTの2回転分の値(=2*M/τ)に初期設定し、方向フラグDR=1、動作モードMD=3に初期設定して処理を終える。   On the other hand, if the abnormality flag ER = 0, the process of obtaining the detection signal SN (SS41), determining the operation mode MD (SS42), and determining the level of the detection signal SN (SS43) is executed. If the detection signal SN = H, the rotating member ROT is positioned in the origin region, so the count counter CNT is initialized to a value corresponding to two rotations of the rotating member ROT (= 2 * M / τ). The direction flag DR = 1 and the operation mode MD = 3 are initially set, and the process is completed.

一方、動作モードMD≠0または検出信号SN=Hの場合には、ステップSS42以下の処理を実行する。ステップSS42〜SS53の処理は、原点検出処理におけるステップSS11〜SS22(SS13を除く)の処理と実質的に同じである。したがって、原点領域外に位置する回転部材ROTを逆回転させて、原点領域に突入させ、その後も、逆方向基準時間N2だけ逆回転させて、回転部材ROTを原点位置に復帰させることになる。   On the other hand, if the operation mode MD ≠ 0 or the detection signal SN = H, the process from step SS42 is executed. The process of steps SS42 to SS53 is substantially the same as the process of steps SS11 to SS22 (except for SS13) in the origin detection process. Accordingly, the rotating member ROT located outside the origin area is reversely rotated to enter the origin area, and thereafter, the rotating member ROT is reversely rotated by the reverse reference time N2 to return the rotating member ROT to the origin position.

図15は、図14の処理を終えた後の処理内容を示している。先ず動作モードMDが判定され、動作モードMD=3であれば、検出信号SNが判定される(SS56〜SS57)。動作モードMD=3となるのは、初期動作処理(SS6)の開始時から回転部材ROTが、既に原点領域に位置した場合(SS43→SS54)と、原点検出処理(SS5)と同様の処理を経て、回転部材ROTが原点位置に復帰した場合(SS52→SS54)の何れかである。   FIG. 15 shows the processing content after the processing of FIG. 14 is finished. First, the operation mode MD is determined. If the operation mode MD = 3, the detection signal SN is determined (SS56 to SS57). The operation mode MD = 3 is the same as the origin detection process (SS5) when the rotating member ROT is already located in the origin area (SS43 → SS54) from the start of the initial operation process (SS6). Then, the rotation member ROT is returned to the origin position (SS52 → SS54).

そして、何れの場合も、ステップSS54の処理によって順方向の回転動作が規定されている(DR=1)。そこで、動作モードMD=3ある場合には、検出信号SNを判定して、原点領域に位置した回転部材ROTが、原点領域外に脱出したか否かを確認する(SS57)。そして、原点領域外に脱出した場合(検出信号SN=L)であれば、更に、順回転を継続するべく、計数カウンタCNTを回転部材ROTの2回転分の値(=2*M/τ)に初期設定し、方向フラグDR=1、動作モードMD=4に初期設定する(SS60)。   In either case, the forward rotation operation is defined by the process of step SS54 (DR = 1). Therefore, when the operation mode MD = 3, the detection signal SN is determined, and it is confirmed whether or not the rotating member ROT located in the origin area has escaped outside the origin area (SS57). If it has escaped outside the origin area (detection signal SN = L), the count counter CNT is further set to a value corresponding to two rotations of the rotating member ROT (= 2 * M / τ) in order to continue the forward rotation. To the direction flag DR = 1 and the operation mode MD = 4 (SS60).

一方、未だ、回転部材ROTが、原点領域内に位置する場合(検出信号SN=H)には、計数カウンタCNT≠0である限り、計数カウンタをデクリメントしつつ、回転部材ROTの順回転を継続させる(SS59)。   On the other hand, when the rotating member ROT is still located in the origin area (detection signal SN = H), the forward rotation of the rotating member ROT is continued while the count counter is decremented as long as the count counter CNT ≠ 0. (SS59).

そして、この動作を幾ら続けても、検出信号SN=Lとならない場合には、計数カウンタCNT=0となったタイミングで、モータ動作フラグFG=2のままで、異常フラグER=1として処理を終える(SS61)。この状態は、原点領域に位置する回転部材ROTを如何に駆動しても、原点領域から脱出できない異常を意味する。なお、この異常時には、改めて、リトライ処理に移行させることはない。但し、回転部材ROTが原点領域に位置することから、通常の場合、演出可動体AMUは、遊技者から隠蔽されるので特に問題は生じない。   If the detection signal SN does not become L even after this operation continues, the processing is performed with the motor operation flag FG = 2 and the abnormality flag ER = 1 at the timing when the count counter CNT = 0. Finish (SS61). This state means an abnormality in which the rotating member ROT located in the origin area cannot be escaped from the origin area no matter how it is driven. In the case of this abnormality, the process is not shifted to retry processing. However, since the rotating member ROT is located in the origin region, the effect movable body AMU is normally hidden from the player, so that no particular problem occurs.

何れにしても、異常フラグER=1となったことにより、その後は、回転モータMTが非駆動状態で停止する。そして、モータ動作フラグFG=2が維持されることから、図9(e)のステップST71以降の異常報知動作が開始される。   In any case, since the abnormality flag ER = 1, the rotation motor MT stops in a non-driven state thereafter. Then, since the motor operation flag FG = 2 is maintained, the abnormality notification operation after step ST71 in FIG. 9E is started.

一方、ステップSS60の処理が実行された後は、ステップSS41→SS45→SS51→SS56の→SS62→SS63の経路を経て、検出信号SNが判定される(SS63)。そして、検出信号SN=Hである場合は、回転部材ROTが原点領域外から原点領域に再突入したことを意味する。   On the other hand, after the process of step SS60 is executed, the detection signal SN is determined through the path of step SS41 → SS45 → SS51 → SS56 → SS62 → SS63 (SS63). When the detection signal SN = H, it means that the rotating member ROT has re-entered the origin area from outside the origin area.

そこで、計数カウンタCNTを、順方向基準時間N1に対応する値(N1/τ)に、新たに初期設定する(SS66)。また、方向フラグDRを1に維持して、動作モードMDを5とする(SS66)。   Therefore, the count counter CNT is newly initialized to a value (N1 / τ) corresponding to the forward reference time N1 (SS66). Further, the direction flag DR is maintained at 1, and the operation mode MD is set to 5 (SS66).

一方、検出信号SN=Hでない場合には、計数カウンタCNTの値を判定し(SS64)、計数カウンタCNT≠0であれば、所定時間毎に駆動データをDR方向に1ステップ進め、これに対応して計数カウンタCNTをデクリメントする(SS65)。   On the other hand, if the detection signal SN is not H, the value of the count counter CNT is determined (SS64). If the count counter CNT ≠ 0, the drive data is advanced one step in the DR direction every predetermined time, and this is dealt with. The count counter CNT is decremented (SS65).

そして、このような歩進動作を繰り返しても検出信号SN=Lが維持される場合には、モータ動作フラグFG=2の状態のまま、異常フラグER=1に設定して処理を終える(SS67)。   If the detection signal SN = L is maintained even after repeating the stepping operation, the abnormality flag ER = 1 is set while the motor operation flag FG = 2 is maintained, and the process ends (SS67). ).

この状態は、原点領域外に脱出した回転部材ROTを如何に駆動しても、原点領域に再突入できない異常を意味する。この異常時においても、リトライ処理に移行させることはない。しかし、(1) 初期動作処理(SS6)は、主制御部のCPUリセット時(殆ど遊技ホールの開店時)に限り実行されること、(2) モータ動作フラグFG=2、且つ、異常フラグER=1の条件から、異常報知動作が開始されることから(図9(e)参照)、事実上の弊害はない。すなわち、異常報知動作に対応して遊技ホールの係員が適切な措置を採ると考えられる。   This state means an abnormality in which the rotating member ROT that has escaped out of the origin area cannot be re-entered into the origin area no matter how it is driven. Even in the case of this abnormality, the process is not shifted to the retry process. However, (1) the initial operation process (SS6) is executed only when the CPU of the main control unit is reset (mostly when the game hall is opened), (2) the motor operation flag FG = 2 and the abnormality flag ER Since the abnormality notification operation is started from the condition of = 1 (see FIG. 9E), there is no practical adverse effect. That is, it is considered that an attendant of the game hall takes appropriate measures in response to the abnormality notification operation.

ところで、ステップSS66の処理が実行された後は、ステップSS41→SS45→SS51→SS56→SS62→SS68の経路を経て、計数カウンタCNTの値が判定される(SS68)。そして、計数カウンタCNT≠0であれば、それまでの順方向回転が継続され(SS69)、計数カウンタCNT=0となったタイミングで、動作モードMD=0、モータ動作フラグFG=0に戻して処理を終える(SS70)。この状態では、回転部材ROTが原点位置に位置することになる。   By the way, after the process of step SS66 is executed, the value of the count counter CNT is determined through the path of step SS41 → SS45 → SS51 → SS56 → SS62 → SS68 (SS68). If the count counter CNT ≠ 0, the forward rotation until then is continued (SS69), and the operation mode MD = 0 and the motor operation flag FG = 0 are returned at the timing when the count counter CNT = 0. The process ends (SS70). In this state, the rotating member ROT is located at the origin position.

以上、図12〜図15では、回転部材ROTを正逆回転させる回転モータMTについて説明した。しかし、可動部材MVを往復運動させる昇降モータMOなどの場合であっても基本的動作は同じである。すなわち、図12〜図14の動作については、回転モータMTにおける順方向基準時間N1と逆方向基準時間N2を全て基準時間Nに読み替える程度である。   The rotation motor MT that rotates the rotating member ROT in the forward and reverse directions has been described above with reference to FIGS. However, the basic operation is the same even in the case of a lifting motor MO that reciprocates the movable member MV. That is, in the operations of FIGS. 12 to 14, the forward reference time N1 and the reverse reference time N2 in the rotary motor MT are all read as the reference time N.

しかし、初期動作処理については、その後半部分の動作に特徴があるので、以下、図16に基づいてラック&ピニオン機構を駆動する昇降モータMOに関して説明する。   However, since the initial operation process is characterized in the operation of the latter half, the following description will be made on the lifting motor MO that drives the rack and pinion mechanism based on FIG.

初期動作処理(SS6)では、可動部材MVを原点領域に収容するべく、昇降モータMOが、図14と同様に制御される。そして、この収容動作が成功した後は、図16の動作に移行して、動作モードMD=3の状態で検出信号SN=Lとなるのを待つ(SP56〜SP59)。この処理は、原点領域に収容された可動部材MVが順方向に移動して、可動部材MVの左端が、原点領域から原点領域外に脱出したか否かの判定を意味する。   In the initial operation process (SS6), the lifting motor MO is controlled in the same manner as in FIG. 14 in order to accommodate the movable member MV in the origin region. Then, after the accommodating operation is successful, the process proceeds to the operation of FIG. 16 and waits for the detection signal SN = L in the state of the operation mode MD = 3 (SP56 to SP59). This process means determination of whether or not the movable member MV accommodated in the origin area has moved in the forward direction and the left end of the movable member MV has escaped from the origin area to the outside of the origin area.

そして、脱出に成功した場合には、計数カウンタCNTを、時間(M−N)に対応する値(M−N)/τに初期設定する(SP60)。なお、Mは、可動部材MVの左端が、原点側メカロックを離れてから、可動部材MVの右端が終点側メカロックに当接されるまでの可動範囲Lを移動するに要する移動時間であり、Nは、原点領域に突入して可動部材MVの左端が、原点位置に達するまでに要する基準時間である。   When the escape is successful, the count counter CNT is initialized to a value (MN) / τ corresponding to time (MN) (SP60). M is a movement time required for moving the movable range L from the time when the left end of the movable member MV leaves the origin-side mechanical lock until the right end of the movable member MV comes into contact with the end-point mechanical lock. Is the reference time required for the left end of the movable member MV to reach the origin position after entering the origin area.

また、ステップSP60では、方向フラグDR=1として、動作モードMD=4とする。図6に示す通り、移動時間(M−N)は、原点領域を脱出した可動部材MVの右端が、終点側のMAX位置に達するまでの経過時間を意味する。したがって、動作モードMD=4に移行した状態では、計数カウンタCNTの値を判定しつつ、可動部材MVの右端がMAX位置に達するのを待つ(SP63〜SP64)。   In step SP60, the direction flag DR = 1 and the operation mode MD = 4. As shown in FIG. 6, the movement time (MN) means an elapsed time until the right end of the movable member MV that has escaped from the origin region reaches the MAX position on the end point side. Therefore, in the state in which the operation mode MD has shifted to 4, while waiting for the right end of the movable member MV to reach the MAX position while determining the value of the count counter CNT (SP63 to SP64).

そして、可動部材MVの右端がMAX位置に達した場合には、計数カウンタCNTを2*Mの時間に対応する値に初期設定すると共に、方向フラグDR=0、動作モードMD=5とする(SP65)。これは、MAX位置に達した可動部材MVを原点方向に戻すための初期動作である。   When the right end of the movable member MV reaches the MAX position, the counter CNT is initialized to a value corresponding to the time of 2 * M, and the direction flag DR = 0 and the operation mode MD = 5 ( SP65). This is an initial operation for returning the movable member MV that has reached the MAX position to the origin direction.

その後は、可動部材MVの左端が原点領域に再突入するのを待ち、もし、再突入したら、計数カウンタCNTを基準時間Nに対応する値に初期設定すると共に、方向フラグDR=0を維持して、動作モードMD=6とする(SP71)。これは、原点領域に再突入した可動部材MVの左端を原点位置に戻すための初期動作である。そして、その後は、計数カウンタCNT=0となったタイミングで初期動作を終える(SP75)。   Thereafter, it waits for the left end of the movable member MV to re-enter the origin region. If re-entry, the counter CNT is initialized to a value corresponding to the reference time N and the direction flag DR = 0 is maintained. Thus, the operation mode MD is set to 6 (SP71). This is an initial operation for returning the left end of the movable member MV that has re-entered the origin area to the origin position. Thereafter, the initial operation ends at the timing when the count counter CNT = 0 (SP75).

一方、検出信号SN=Lの状態で、計数カウンタCNT=0となった場合には、異常フラグER=1として処理を終える。この状態は、可動部材MVを原点領域に回収できなかった異常であるが、その後に開始される異常報知処理に呼応して係員による修復が期待される。   On the other hand, when the count counter CNT = 0 in the state of the detection signal SN = L, the processing is terminated with the abnormality flag ER = 1. This state is an abnormality in which the movable member MV could not be collected in the origin region, but a repair by an attendant is expected in response to an abnormality notification process started thereafter.

ところで、図16に示すステップSP56〜ST59の処理を繰り返しても、可動部材MVの左端が、原点領域から原点領域外に脱出できない場合もある。具体的には、検出信号SN=Hの状態が継続して、計数カウンタCNT=0となる可能性もある。そこで、このような異常時には、計数カウンタCNTを2*Mに対応する値に初期設定すると共に、方向フラグDR=0、動作モードMD=7とする(SP61)。   By the way, even if the processes of steps SP56 to ST59 shown in FIG. 16 are repeated, the left end of the movable member MV may not escape from the origin area to the outside of the origin area. Specifically, there is a possibility that the state of the detection signal SN = H continues and the count counter CNT = 0. Therefore, when such an abnormality occurs, the count counter CNT is initialized to a value corresponding to 2 * M, and the direction flag DR = 0 and the operation mode MD = 7 are set (SP61).

これは、原点領域から脱出できない可動部材MVを可能な限り、原点側に移動させて、遊技者から演出可動体を確実に隠すための初期動作である。そして、その後は、計数カウンタ=0となるまで、逆方向に可動部材MVを駆動して、異常フラグER=1に設定して処理を終える(SP78)。この場合にも、その後に開始される異常報知処理に基づく、係員による異常修復作業が期待できる。   This is an initial operation for moving the movable member MV that cannot escape from the origin region to the origin side as much as possible, so as to reliably hide the effect movable body from the player. Thereafter, the movable member MV is driven in the reverse direction until the count counter = 0, the abnormal flag ER = 1 is set, and the process ends (SP78). Also in this case, an abnormality repair work by a staff member based on the abnormality notification process started thereafter can be expected.

以上、演出制御部22について詳細に説明したので、次に、画像制御部23の動作について説明する。画像制御部23は、CPUがリセットされて開始されるメイン処理(図17)と、ストローブ信号STBによって起動される受信割込み処理(不図示)と、10mS毎に起動されるタイマ割込み処理(不図示)と、を含んで構成されている。   Since the production control unit 22 has been described in detail above, the operation of the image control unit 23 will be described next. The image control unit 23 includes a main process (FIG. 17) that is started when the CPU is reset, a reception interrupt process (not shown) that is activated by a strobe signal STB, and a timer interrupt process (not shown) that is activated every 10 mS. ) And.

図17に示す通り、画像制御部23のメイン処理は、図9に示す演出制御部22のメイン処理に類似している。すなわち、ステップSE1〜SE6の処理は、演出制御部22におけるステップST46〜ST51の処理と実質的に同じである。また、ステップSE7〜SE14の処理が10mS間隔で繰り返し実行される点でも同じである。また、画像制御部23のウォッチドッグタイマWDTにも、10mS間隔でクリアパルスが供給される。   As shown in FIG. 17, the main process of the image control unit 23 is similar to the main process of the effect control unit 22 shown in FIG. That is, the processing of steps SE1 to SE6 is substantially the same as the processing of steps ST46 to ST51 in the effect control unit 22. The same is true in that the processing in steps SE7 to SE14 is repeatedly executed at intervals of 10 mS. The clear pulse is also supplied to the watch dog timer WDT of the image control unit 23 at intervals of 10 mS.

但し、画像制御部23は、演出制御部22が送信又は転送した制御コマンドを受信して画像制御動作を実行するので、図9のステップST52に対応する処理は存在しない。そのため、ホットスタート又はコールドスタートした後は、CPUを割込み許可にセットして(SE7)、乱数値を更新しつつ10mSの時間が経過するのを待つ(SE6)。そして、10mS毎に、タイマ更新(SE10)、コマンド解析(SE11)、エラー処理(SE12)、演出シナリオ更新(SE13)、バックアップ処理(SE14)の各処理を実行する。   However, since the image control unit 23 receives the control command transmitted or transferred by the effect control unit 22 and executes the image control operation, there is no process corresponding to step ST52 in FIG. Therefore, after hot start or cold start, the CPU is set to interrupt permission (SE7) and waits for 10 mS to elapse while updating the random number value (SE6). Then, every 10 mS, timer update (SE10), command analysis (SE11), error process (SE12), effect scenario update (SE13), and backup process (SE14) are executed.

図18は、コマンド解析処理(SE11)の要部を示すフローチャートである。受信割込み処理において電断コマンドを受信した場合(SE20)には、既に電源Aコマンドを受信しているかを判定する(SE21)。これは、図10のステップST82〜ST83の送信処理に対応したものであり、正常時には、先行して電断Aコマンドを受信している筈である。ところが、電断コマンドAを受信していない場合には、通信異常などであると判定して処理を終える(SE24)。この処理は、図10のコマンド解析処理の場合と同じである。   FIG. 18 is a flowchart showing a main part of the command analysis process (SE11). When the power interruption command is received in the reception interrupt process (SE20), it is determined whether the power A command has already been received (SE21). This corresponds to the transmission processing in steps ST82 to ST83 in FIG. 10, and when the operation is normal, the power interruption A command should be received in advance. However, if the power interruption command A has not been received, it is determined that there is a communication abnormality or the like, and the process ends (SE24). This process is the same as the command analysis process of FIG.

一方、電断Aコマンドを既に受けている場合には、主制御部21が電断処理を実行したと判断して、その後の直流電源の遮断に備えて、液晶画面を黒画面化する(SE22)。次に、RAMクリア処理を実行して(SE23)、ステップSE7〜SE14の定時処理に戻る。   On the other hand, if the power interruption A command has already been received, it is determined that the main control unit 21 has executed the power interruption process, and the liquid crystal screen is made black in preparation for the subsequent interruption of the DC power supply (SE22). ). Next, a RAM clear process is executed (SE23), and the process returns to the regular process in steps SE7 to SE14.

その後、電源電圧が遮断されると予想されるが、交流電源の瞬停などによって、直流電源が維持された場合にも、ウォッチドッグタイマを起動させるまでもなく、RAMクリア状態で定時処理を実行している。そのため、表示装置に過去の画面が再表示されることはなく、遊技機開発時などにおいて、電源スイッチを素早くOFF→ON操作しても、動作実験に支障を与えない。また、CPUリセットされた主制御部21から送信され、演出制御部22から転送される初期コマンドを読み落すこともない。また、主制御部21において、ウォッチドッグタイマ起動までの待機時間τ1を最適に設定できる点でも、電断時にサブ制御部では無限ループ処理を実行しない構成は有効である。   After that, it is expected that the power supply voltage will be cut off, but even if the DC power supply is maintained due to an AC power supply interruption, etc., even if the watchdog timer is not started, the scheduled processing is executed in the RAM clear state doing. For this reason, past screens are not re-displayed on the display device, and even if the power switch is quickly turned OFF and ON during the development of a gaming machine or the like, the operation experiment is not hindered. In addition, the initial command transmitted from the main control unit 21 reset by the CPU and transferred from the effect control unit 22 is not missed. In addition, the configuration in which the infinite loop process is not executed in the sub-control unit at the time of power interruption is also effective in that the main control unit 21 can optimally set the standby time τ1 until the watchdog timer is activated.

ところで、受信割込み処理においてモータエラーについての報知開始コマンドを受けた場合には、画像制御部23においても、報知タイマを60秒に初期設定する。これは、演出制御部22がモータエラーについての報知終了コマンドを送信しないことに対応する処理である。   By the way, when the notification start command about the motor error is received in the reception interrupt process, the image control unit 23 also initializes the notification timer to 60 seconds. This is a process corresponding to the fact that the effect control unit 22 does not transmit a notification end command about a motor error.

そして、報知開始コマンドの受信に対応して、「役物エラー」などの報知画面を表示させるための初期設定がされ(SE27)、その後、報知画面を維持しつつタイマ更新処理(SE10)を繰り返し、報知タイマが0になれば、報知画面が自動消滅させる。なお、報知画面は文字表示であり、それまでの画面に重ね書きされるので、他の表示画面が消滅することはない。   Corresponding to the reception of the notification start command, initial setting for displaying a notification screen such as “objects error” is performed (SE27), and then the timer update process (SE10) is repeated while maintaining the notification screen. When the notification timer reaches 0, the notification screen is automatically extinguished. In addition, since the notification screen is a character display and is overwritten on the previous screen, other display screens will not disappear.

本実施例では、演出制御部22が報知開始コマンドを送信するのは、主制御部21のCPUリセット時に限られるので、実際には、RAMクリア状態か、バックアップ復帰状態かを示す画面に、報知画面が重複表示されることになる。   In this embodiment, the production control unit 22 transmits the notification start command only when the CPU of the main control unit 21 is reset, so in fact, the notification is displayed on the screen indicating whether the RAM is cleared or the backup is restored. The screen will be displayed in duplicate.

なお、演出制御部22から初期動作コマンドを受信した場合には、「PLEASE WAIT」と画面表示するための初期設定がされ(SE29)、RAMクリアコマンドやバックアップ復帰コマンドを受けた場合には、「7」「3」「1」の演出図柄や、「停電から復帰しました。遊技を開始してください。」との報知画面を表示するための初期設定がされる(SE31,SE33)。また、演出コマンドを受けた場合には、対応する画像演出を開始するための初期設定を行う(SE35)。   When an initial operation command is received from the production control unit 22, an initial setting for displaying the screen as “PLEASE WAIT” is made (SE29). When a RAM clear command or a backup return command is received, “ Initial settings are made to display the effect symbols of “7”, “3”, and “1” and the notification screen “Return from power failure. Please start playing” (SE31, SE33). When an effect command is received, initial setting for starting the corresponding image effect is performed (SE35).

図19は、遊技機の電源投入時について、上記した主制御部21、演出制御部22、及び画像制御部23の動作を図示したものである。電源投入時(T0)には、主制御部21のリセット回路RSTが出力するリセット信号に基づいてCPUがリセットされて、図7の動作が開始される。   FIG. 19 illustrates the operations of the main control unit 21, the effect control unit 22, and the image control unit 23 when the gaming machine is turned on. When the power is turned on (T0), the CPU is reset based on the reset signal output from the reset circuit RST of the main controller 21, and the operation of FIG. 7 is started.

また、電源基板20から供給されるシステムリセット信号SYS(図3、図4)に基づいて、演出制御部22と画像制御部23のCPUが、各々、リセットされて、図9(a)と図17に示す動作が開始される。その結果、画像制御部23では、ステップSE1→SE2→SE3→SE6の経路を経てRAMクリア処理が実行された後、表示装置DISPには、「POWER ON」と表示される。   Further, the CPUs of the effect control unit 22 and the image control unit 23 are reset based on the system reset signal SYS (FIGS. 3 and 4) supplied from the power supply board 20, respectively, and FIG. 9A and FIG. The operation shown in 17 is started. As a result, in the image control unit 23, after the RAM clear process is executed through the path of step SE1, SE2, SE3, and SE6, “POWER ON” is displayed on the display device DISP.

一方、主制御部21は、タイミングT1で、初期動作コマンドを送信し(図7のST8)、初期動作コマンドを受けた演出制御部22は、これを画像制御部に転送すると共に、演出可動体AMUを駆動する初期動作を開始する(図10のST88〜ST90)。また、初期動作コマンドを受けた画像制御部23では、表示装置DISPには、「PLEASE WAIT」と表示する。   On the other hand, the main control unit 21 transmits an initial operation command at a timing T1 (ST8 in FIG. 7). Upon receiving the initial operation command, the effect control unit 22 transfers this to the image control unit, and the effect movable body An initial operation for driving the AMU is started (ST88 to ST90 in FIG. 10). The image control unit 23 that has received the initial operation command displays “PLEASE WAIT” on the display device DISP.

その後、主制御部21では、タイミングT2で、RAMクリアコマンド(ST19)か、バックアップ復帰コマンド(ST15)を送信する。そして、制御コマンドを受信した演出制御部22は、これを画像制御部に転送すると共に、制御コマンドに応じた動作を開始する。例えば、RAMクリアコマンドを受けた場合には、30秒に初期設定されたクリア制御タイマに基づいて、30秒間、RAMクリア音を出力すると共に、電飾ランプを全点灯状態に維持する。なお、回転モータMTの初期動作が継続されている場合には、その動作に影響を与えない。   Thereafter, the main control unit 21 transmits a RAM clear command (ST19) or a backup return command (ST15) at timing T2. And the presentation control part 22 which received the control command transfers this to an image control part, and starts the operation | movement according to a control command. For example, when a RAM clear command is received, a RAM clear sound is output for 30 seconds based on a clear control timer that is initially set to 30 seconds, and the illumination lamp is maintained in a fully lit state. Note that when the initial operation of the rotary motor MT is continued, the operation is not affected.

また、画像制御部23は、演出制御部22から転送された制御コマンドに基づいて動作を開始する。具体的には、前記した適宜な画面表示を開始する。   Further, the image control unit 23 starts an operation based on the control command transferred from the effect control unit 22. Specifically, the appropriate screen display described above is started.

ところで、演出可動体AMUの動作にトラブル(モータエラー)が生じた場合には、図20に示す動作が実行される。例えば、図20(a)は、原点検出処理の動作中に初期動作コマンドを受けた場合を示している。このような場合には、モータ動作フラグFG=1からFG=2に書き換えられるので(図10のST90)、実行中の原点検出処理(SS5)を放棄して、初期動作処理(SS6)が開始される(タイミングT1)。   Incidentally, when a trouble (motor error) occurs in the operation of the effect movable body AMU, the operation shown in FIG. 20 is executed. For example, FIG. 20A shows a case where an initial operation command is received during the operation of origin detection processing. In such a case, since the motor operation flag FG = 1 is rewritten from FG = 2 (ST90 in FIG. 10), the origin detection process (SS5) being executed is abandoned and the initial operation process (SS6) is started. (Timing T1).

その後、演出制御部22が、RAMクリアコマンドを受けた場合には(タイミングT2)、演出制御部22は、初期動作処理(SS6)に並行して、RAMクリア報知音を30秒間継続して出力する。なお、このRAMクリア報知時間中、全ての電飾ランプが点灯状態となる。   Thereafter, when the effect control unit 22 receives the RAM clear command (timing T2), the effect control unit 22 continuously outputs the RAM clear notification sound for 30 seconds in parallel with the initial operation process (SS6). To do. During the RAM clear notification time, all the illumination lamps are turned on.

ここで、初期動作処理(SS6)が正常に進行せず、リトライ処理(SS4)に移行し、タイミングT3でモータエラー状態となったと仮定する。すると、演出制御部22は、モータエラーの報知時間(例えば60秒)を確保して(ST76)、画像制御部23に報知開始コマンドを送信する(図9のST77)。そして、モータエラーの報知動作を開始するが、RAMクリア報知が優先されるので(ST72)、30秒間のRAMクリア報知が終わった後に、モータエラーの報知音が出力される。   Here, it is assumed that the initial operation process (SS6) does not proceed normally, the process shifts to the retry process (SS4), and a motor error state occurs at timing T3. Then, the effect control unit 22 secures a motor error notification time (for example, 60 seconds) (ST76), and transmits a notification start command to the image control unit 23 (ST77 in FIG. 9). Then, although a motor error notification operation is started, since the RAM clear notification is given priority (ST72), after the 30-second RAM clear notification ends, a motor error notification sound is output.

一方、報知開始コマンドを受信した画像制御部23では、そのときの表示画面に重ねて「役物エラー」と文字表示する。したがって、報知ランプ、報知音、及び報知画面を使用したRAMクリア報知が、その後に生じたモータエラーによって消滅することはない。   On the other hand, the image control unit 23 that has received the notification start command displays a character “Error” on the display screen at that time. Therefore, the RAM clear notification using the notification lamp, the notification sound, and the notification screen will not disappear due to a motor error that occurs thereafter.

次に、図20(b)は、原点検出処理(SS5)の動作中に、モータエラーが発生した場合を示している。このような場合には、異常フラグER=1の状態で、原点検出処理が終わる(図13のSS36)。そして、演出制御部22が初期動作コマンドを受けると(タイミングT1)、モータ動作フラグFG=2となってモータエラーの報知音の発生と共に、報知時間の管理が開始される(ST76)。また、画像制御部に対して、報知開始コマンドが送信される(ST77)。   Next, FIG. 20B shows a case where a motor error has occurred during the operation of the origin detection process (SS5). In such a case, the origin detection process ends with the abnormality flag ER = 1 (SS36 in FIG. 13). Then, when the production control unit 22 receives the initial operation command (timing T1), the motor operation flag FG = 2 is set, and notification time management is started together with the generation of a motor error notification sound (ST76). Further, a notification start command is transmitted to the image control unit (ST77).

その後、演出制御部22が、タイミングT2でRAMクリアコマンドを受けると、これを画像制御部23に転送すると共に、電飾ランプの点灯と共に、RAMクリア音の出力を開始する。RAMクリア音は、モータエラーの報知音に代えて出力されるが、本実施例では、モータエラーの報知時間がRAMクリア音の報知時間より十分長く設定されているので、モータエラーの報知音が出力されない事態は生じない。   After that, when the effect control unit 22 receives the RAM clear command at the timing T2, it transfers this to the image control unit 23 and starts outputting the RAM clear sound as the illumination lamp is turned on. The RAM clear sound is output instead of the motor error notification sound. However, in this embodiment, the motor error notification time is set sufficiently longer than the RAM clear sound notification time. There will be no situation of no output.

なお、RAMクリアコマンドの転送を受けた画像制御部23では、「役物エラー」などの文字表示に重ねて適宜な画面を表示することは前述した通りである。そして、画像制御部23及び演出制御部22では、各々の異常報知タイマを更新しつつ、報知動作を継続し、報知時間満了時にモータエラーの報知動作を終了させる。   In addition, as described above, the image control unit 23 that has received the transfer of the RAM clear command displays an appropriate screen so as to overlap the character display such as “object error”. Then, the image control unit 23 and the effect control unit 22 continue the notification operation while updating each abnormality notification timer, and terminate the motor error notification operation when the notification time expires.

このように、本実施例では、異常報知時間が、個々の制御部22,23において管理されるので、上流側からの停止コマンドに基づいて、報知動作を終了させる場合のようなトラブルが生じない。例えば、モータエラーの報知動作中に、演出制御部22が異常リセットされてコールドスタートしても「役物エラー」などの文字表示が消滅せずに表示され続けることはあり得ない。   In this way, in this embodiment, the abnormality notification time is managed in each of the control units 22 and 23, so that there is no trouble as in the case of terminating the notification operation based on the stop command from the upstream side. . For example, during the motor error notification operation, even if the effect control unit 22 is abnormally reset and cold-started, the character display such as “object error” cannot continue to be displayed without disappearing.

この点は、演出制御部が出力するRAMクリア音などについても同様である。例えば、電源投入後、主制御部21がRAMクリアコマンドを送信した直後に、交流電源が遮断されて直ぐ復旧したような場合でもトラブルが生じない。このような場合、演出制御部や画像制御部の直流電源は正常に維持されることもあるが、RAMクリア音や電飾ランプは、クリア報知タイマの満了時に自動的に消滅する。したがって、RAMクリア動作が維持されてモータエラーの報知音を出力できないトラブルも生じない。   The same applies to the RAM clear sound output from the effect control unit. For example, no trouble occurs even when the AC power supply is cut off immediately after the main control unit 21 transmits a RAM clear command after the power is turned on. In such a case, the direct current power supply of the effect control unit and the image control unit may be maintained normally, but the RAM clear sound and the illumination lamp automatically disappear when the clear notification timer expires. Therefore, the trouble that the RAM clear operation is maintained and the motor error notification sound cannot be output does not occur.

なお、上記した交流電源の瞬停は、交流電源が不安定である場合だけでなく、遊技機の開発段階において、動作確認実験のために、素早く電源スイッチをOFF→ON操作した場合に生じる。   Note that the above-described momentary power interruption of the AC power supply occurs not only when the AC power supply is unstable, but also when the power switch is quickly turned on and off for an operation confirmation experiment in the development stage of the gaming machine.

ところで、本実施例のシステムリセット信号SYSは、電源基板20において、直流電源によって生成されている。そのため、交流電源の瞬停が生じても、電源基板において、直流電源が維持されている限り、交流電源の復旧時にシステムリセット信号SYSが発生しない。したがって、演出制御部22や画像制御部23のCPUは、交流電源の瞬停では、電源リセットされないので、本実施例の種々の構成は特に有効である。   By the way, the system reset signal SYS of the present embodiment is generated by the DC power supply in the power supply board 20. Therefore, even if the AC power supply is momentarily stopped, the system reset signal SYS is not generated when the AC power supply is restored as long as the DC power supply is maintained on the power supply board. Therefore, the CPUs of the effect control unit 22 and the image control unit 23 are not reset when the AC power supply is instantaneously stopped, and thus various configurations of the present embodiment are particularly effective.

以上、本発明の実施例について具体的に説明したが、具体的な記載内容は特に本発明を限定するものではない。   As mentioned above, although the Example of this invention was described concretely, the concrete description content does not specifically limit this invention.

すなわち、上記の実施例では、演出制御部22や画像制御部23は、電断コマンドの受信時に、RAMクリア処理(ST86,SE23)を実行したが、必ずしも、このような構成に限定されない。例えば、RAMクリア処理の実行に代えて、例えば、(1) 制御プログラムの先頭アドレスにジャンプするとか(図9の(1)参照)、或いは、(2) ステップST51(図9の(2)参照)や、ステップSE6(図17)の処理にジャンプさせても良い。   That is, in the above-described embodiment, the effect control unit 22 and the image control unit 23 execute the RAM clear process (ST86, SE23) when receiving the power interruption command, but the configuration is not necessarily limited thereto. For example, instead of executing the RAM clear process, for example, (1) jump to the start address of the control program (see (1) in FIG. 9) or (2) step ST51 (see (2) in FIG. 9) ) Or step SE6 (FIG. 17).

もっとも、後者の場合には、スタック領域への戻り番地の記憶データを残らないよう、ジャンプ命令に先行して、スタックポインタSPの値を変更しておく必要がある。なお、前者の場合には、ステップST46や、ステップSE1の初期設定処理においてスタックポインタSPが初期設定されるので、スタックポインタの値の変更処理は不要である。   However, in the latter case, it is necessary to change the value of the stack pointer SP prior to the jump instruction so as not to leave the data stored at the return address to the stack area. In the former case, the stack pointer SP is initialized in the initial setting process in step ST46 or step SE1, so that the process of changing the value of the stack pointer is not necessary.

また、図10のステップST84では原点復帰処理を実行したが、これに代えて、定時処理(ST54〜ST63)に戻った段階で原点検出処理(SS5)を実行するべく、ステップST86の処理の後に、モータ動作フラグFGをFG=1に設定してサブルーチン処理を終えても良い。   In step ST84 of FIG. 10, the origin return process is executed. Instead, after the process of step ST86, the origin detection process (SS5) is executed when returning to the regular process (ST54 to ST63). Alternatively, the motor operation flag FG may be set to FG = 1 to end the subroutine processing.

また、実施例では、演出制御部22において演出可動体AMUを回転駆動したが、この構成に代えて、演出インタフェイス基板や主制御基板において回転駆動してもよいのは勿論である。なお、可動演出を実行する遊技機は、弾球遊技機に限定されないのは勿論であり、スロットマシン(回胴式遊技機)などにも本発明は好適に適用可能である。   Further, in the embodiment, the effect movable body AMU is rotationally driven in the effect control unit 22, but, of course, instead of this configuration, it may be rotated on the effect interface board or the main control board. Of course, the gaming machine that executes the movable effect is not limited to the ball game machine, and the present invention can also be suitably applied to a slot machine (rotating game machine) and the like.

AMU 演出可動体
GM 遊技機
21 主制御部
22,23 サブ制御部
20 電源部
AMU 演出可動体
SS5 回収手段
SS23,SS9 正常停止手段
SS36,SS9 異常停止手段
ST98 回避手段
AMU production movable body GM gaming machine 21 main control unit 22, 23 sub control unit 20 power supply unit AMU production movable body SS5 recovery means SS23, SS9 normal stop means SS36, SS9 abnormal stop means ST98 avoidance means

上記の目的を達成するため、本発明は、所定のスイッチ信号に起因する抽選処理を実行して、その抽選結果に基づいて遊技動作を中心統括的に制御するメインCPUを有する主制御手段と主制御手段から出力される制御コマンドに基づいて演出動作を実行するサブCPUを有するサブ制御手段と、を有して構成され遊技機であって、前記演出動作には、通常時には原点領域に位置している演出可動体が、原点領域から離脱して実行する可動演出が含まれており、前記サブ制御手段は、サブCPUのリセットに対応して実行が開始される初期処理と、前記初期処理を終えた後、割込み許可状態のサブCPUによって所定時間間隔で繰り返し実行され、揮発性メモリの記憶内容を更新しつつ前記演出動作を進行させ、必要時には、動作制御用の制御変数の値に基づいて、演出可動体を移動させる定常処理と、を有して構成されサブCPUがリセットされたことに対応して、前記初期処理において、前記制御変数を第1状態に設定する第1手段と、第1手段によって第1状態に設定された前記制御変数に対応して、その後に開始される前記定常処理において、原点領域に位置しない演出可動体を原点領域に移動させるべく移動動作を開始する第2手段と、主制御手段から受信した制御コマンドを、前記定常処理において解析して、これに対応する処理を開始する第3手段と、を設けることで、前記移動動作を実行中であっても主制御手段からの前記制御コマンドに対応する処理が実行可能に構成されているIn order to achieve the above object, the present invention executes a lottery process caused by a predetermined switch signal, and has a main control means having a main CPU that centrally controls gaming operations based on the lottery result , a gaming machine is configured to have a sub-control unit, a with a sub CPU for executing effect operation based on the control command output from the main control unit, wherein the effect operation during normal at the origin region The staged movable body includes a movable stage that moves away from the origin area , and the sub-control unit includes an initial process that starts executing in response to a reset of the sub-CPU, and the initial stage After the processing is completed, it is repeatedly executed at predetermined time intervals by the sub CPU that is in an interrupt-permitted state, and the presentation operation is advanced while updating the storage content of the volatile memory. Based on the value of the control variable, is configured to have a constant process of moving the rendering movable body, and in response to the sub-CPU is reset, in the initial processing, the control variable to the first state In response to the first means to be set and the control variable set to the first state by the first means, the effect movable body that is not located in the origin area is moved to the origin area in the steady process started thereafter. Second movement means for starting the movement operation, and third means for analyzing the control command received from the main control means in the steady process and starting the corresponding process. Even during execution, the processing corresponding to the control command from the main control means can be executed .

Claims (10)

所定のスイッチ信号に起因する抽選処理を実行し、その抽選結果に対応した演出動作を経た上で、抽選結果が当選状態であれば、遊技者に有利な遊技状態に移行させる遊技機であって、
前記抽選処理を実行して遊技動作を中心的に制御する主制御部と、主制御部が出力する制御コマンドに基づいて演出動作を制御するサブ制御部と、交流電源に基づいて生成された直流電圧を、主制御部及びサブ制御部に供給する電源部と、を有して構成され、前記演出動作には、演出可動体が移動する可動演出が含まれており、
前記サブ制御部には、
CPUがリセットされた直後の初期動作時、及び、その後に実行される制御動作の適宜な区切り時に、異常フラグの値に拘らず、演出可動体を原点領域に向かって駆動する回収手段と、
回収手段の動作によって演出可動体が原点領域に回収される正常時には、異常フラグをリセット状態にして、演出可動体を非駆動状態に維持する正常停止手段と、
回収手段の動作に拘らず演出可動体が原点領域に回収されない異常時には、異常フラグをセット状態にして、演出可動体を非駆動状態に維持する異常停止手段と、
主制御部からの制御コマンドに基づき実行される演出可動体の可動演出の開始時に、異常フラグの値を判定して、異常フラグがセット状態であれば可動演出の実行を回避する回避手段と、
が設けられていることを特徴とする遊技機。
A gaming machine that executes a lottery process caused by a predetermined switch signal and performs a production operation corresponding to the lottery result, and if the lottery result is a winning state, the gaming machine shifts to a gaming state advantageous to the player. ,
A main control unit that executes the lottery process to centrally control the gaming operation, a sub control unit that controls the rendering operation based on a control command output by the main control unit, and a direct current generated based on an AC power source A power supply unit that supplies a voltage to the main control unit and the sub-control unit, and the production operation includes a movable production in which the production movable body moves,
In the sub-control unit,
A recovery means for driving the effect movable body toward the origin region, regardless of the value of the abnormality flag, at the initial operation immediately after the CPU is reset, and at the appropriate separation of the control operation executed thereafter;
A normal stop means for setting the abnormality flag to a reset state and maintaining the effect movable body in a non-driven state at the normal time when the effect movable body is recovered to the origin region by the operation of the collecting means;
In the event of an abnormality in which the effect movable body is not recovered to the origin region regardless of the operation of the recovery means, an abnormality stop means that sets the abnormality flag and maintains the effect movable body in a non-driven state;
Avoidance means for determining the value of the abnormality flag at the start of the movable effect of the effect movable body executed based on the control command from the main control unit, and avoiding the execution of the movable effect if the abnormality flag is set;
A gaming machine characterized by that.
異常停止手段は、異常発生を報知することなく演出可動体を非駆動状態に維持する請求項1に記載の遊技機。   The gaming machine according to claim 1, wherein the abnormality stopping means maintains the effect movable body in a non-driven state without notifying the occurrence of abnormality. 前記主制御部のCPUがリセットされると、サブ制御部に対して、演出可動体を初期動作させるための制御コマンドを出力するよう構成され、
前記サブ制御部は、前記制御コマンドに対応して実行される演出可動体の初期動作が、正常に終了されない場合には、異常フラグをセット状態にして異常発生を報知するよう構成されている請求項1又は2に記載の遊技機。
When the CPU of the main control unit is reset, the sub control unit is configured to output a control command for initial operation of the effect movable body,
The sub-control unit is configured to notify the occurrence of an abnormality by setting an abnormality flag when the initial operation of the effect movable body executed in response to the control command is not normally terminated. Item 3. A gaming machine according to item 1 or 2.
前記原点領域は、原点スイッチによって特定される原点位置を包含する所定範囲に設定されている請求項1〜3の何れかに記載の遊技機。   The gaming machine according to claim 1, wherein the origin area is set to a predetermined range including an origin position specified by an origin switch. 演出可動体は、ステッピングモータによって往復移動又は回転移動させるよう構成されている請求項1〜4の何れかに記載の遊技機。   The game machine according to any one of claims 1 to 4, wherein the effect movable body is configured to reciprocate or rotate by a stepping motor. サブ制御部のCPUは、遊技機への電源投入又は復帰時だけでなく、サブ制御部に配置されたウォッチドッグタイマの起動時にも、リセットされるよう構成されている請求項1〜5の何れかに記載の遊技機。   The CPU of the sub-control unit is configured to be reset not only at the time of powering on or returning to the gaming machine but also at the time of starting a watch dog timer arranged in the sub-control unit. The gaming machine described in Crab. 前記電源部は、遊技機への電源投入又は復帰時に、直流電圧に基づいて生成したリセット信号をサブ制御部のCPUに供給している請求項1〜6の何れかに記載の遊技機。   The gaming machine according to any one of claims 1 to 6, wherein the power supply unit supplies a reset signal generated based on a DC voltage to a CPU of the sub-control unit when power is turned on or returned to the gaming machine. 前記回収手段は、演出可動体が原点領域に回収されない場合に、リトライ処理を一回又は複数回実行するよう構成され、
リトライ処理では、演出可動体を原点領域から遠ざかる方向に駆動した後に、原点領域への回収を図っている請求項1〜7の何れかに記載の遊技機。
The collection means is configured to perform a retry process once or a plurality of times when the effect movable body is not collected in the origin area,
The gaming machine according to any one of claims 1 to 7, wherein, in the retry process, the effect movable body is driven in a direction away from the origin area, and then is collected to the origin area.
前記回収手段は、表示装置において実行される一連の図柄変動動作の終了時、及び/又
は、非遊技状態で実行されるデモ演出中に、機能するよう構成されている請求項1〜8の何れかに記載の遊技機。
The said collection | recovery means is comprised so that it may function at the time of completion | finish of a series of symbol fluctuation operation performed in a display apparatus, and / or during the demonstration performance performed in a non-game state. The gaming machine described in Crab.
前記遊技機は、弾球遊技機又は回胴式遊技機である請求項1〜9の何れかに記載の遊技機。   The gaming machine according to claim 1, wherein the gaming machine is a bullet ball gaming machine or a revolving gaming machine.
JP2013174212A 2013-08-26 2013-08-26 Game machine Active JP5868359B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013174212A JP5868359B2 (en) 2013-08-26 2013-08-26 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013174212A JP5868359B2 (en) 2013-08-26 2013-08-26 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010108566A Division JP5356310B2 (en) 2010-05-10 2010-05-10 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015251305A Division JP6268154B2 (en) 2015-12-24 2015-12-24 Game machine

Publications (2)

Publication Number Publication Date
JP2014028168A true JP2014028168A (en) 2014-02-13
JP5868359B2 JP5868359B2 (en) 2016-02-24

Family

ID=50201206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013174212A Active JP5868359B2 (en) 2013-08-26 2013-08-26 Game machine

Country Status (1)

Country Link
JP (1) JP5868359B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017148291A (en) * 2016-02-25 2017-08-31 株式会社サンセイアールアンドディ Game machine
JP2017148290A (en) * 2016-02-25 2017-08-31 株式会社サンセイアールアンドディ Game machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004254973A (en) * 2003-02-26 2004-09-16 Sankyo Kk Game machine
JP2005027749A (en) * 2003-07-08 2005-02-03 Newgin Corp Game machine
JP2007195589A (en) * 2006-01-24 2007-08-09 Daiichi Shokai Co Ltd Pachinko machine
JP2008012194A (en) * 2006-07-07 2008-01-24 Newgin Corp Game machine
JP2009106546A (en) * 2007-10-30 2009-05-21 Toyomaru Industry Co Ltd Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004254973A (en) * 2003-02-26 2004-09-16 Sankyo Kk Game machine
JP2005027749A (en) * 2003-07-08 2005-02-03 Newgin Corp Game machine
JP2007195589A (en) * 2006-01-24 2007-08-09 Daiichi Shokai Co Ltd Pachinko machine
JP2008012194A (en) * 2006-07-07 2008-01-24 Newgin Corp Game machine
JP2009106546A (en) * 2007-10-30 2009-05-21 Toyomaru Industry Co Ltd Game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017148291A (en) * 2016-02-25 2017-08-31 株式会社サンセイアールアンドディ Game machine
JP2017148290A (en) * 2016-02-25 2017-08-31 株式会社サンセイアールアンドディ Game machine

Also Published As

Publication number Publication date
JP5868359B2 (en) 2016-02-24

Similar Documents

Publication Publication Date Title
JP5587664B2 (en) Game machine
JP5356310B2 (en) Game machine
JP6268155B2 (en) Game machine
JP5587663B2 (en) Game machine
JP5356311B2 (en) Game machine
JP4995937B2 (en) Game machine
JP5490847B2 (en) Game machine
JP6029635B2 (en) Game machine
JP5744258B2 (en) Game machine
JP5172890B2 (en) Game machine
JP5868359B2 (en) Game machine
JP6341978B2 (en) Game machine
JP5932911B2 (en) Game machine
JP6047621B2 (en) Game machine
JP2017006749A (en) Game machine
JP6254212B2 (en) Game machine
JP6254213B2 (en) Game machine
JP6031129B2 (en) Game machine
JP6268154B2 (en) Game machine
JP5889963B2 (en) Game machine
JP5932912B2 (en) Game machine
JP5868360B2 (en) Game machine
JP5647216B2 (en) Game machine
JP5172891B2 (en) Game machine
JP6121011B2 (en) Game machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150526

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150722

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: 20151208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160105

R150 Certificate of patent or registration of utility model

Ref document number: 5868359

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250