JP2014208201A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2014208201A
JP2014208201A JP2014107700A JP2014107700A JP2014208201A JP 2014208201 A JP2014208201 A JP 2014208201A JP 2014107700 A JP2014107700 A JP 2014107700A JP 2014107700 A JP2014107700 A JP 2014107700A JP 2014208201 A JP2014208201 A JP 2014208201A
Authority
JP
Japan
Prior art keywords
control unit
effect
origin
abnormality
power supply
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
JP2014107700A
Other languages
Japanese (ja)
Other versions
JP5766849B2 (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 JP2014107700A priority Critical patent/JP5766849B2/en
Publication of JP2014208201A publication Critical patent/JP2014208201A/en
Application granted granted Critical
Publication of JP5766849B2 publication Critical patent/JP5766849B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F7/00Indoor games using small moving playing bodies, e.g. balls, discs or blocks
    • A63F7/02Indoor games using small moving playing bodies, e.g. balls, discs or blocks using falling playing bodies or playing bodies running on an inclined surface, e.g. pinball games

Abstract

PROBLEM TO BE SOLVED: To provide a game machine that appropriately controls a movable performance body and appropriately operates under abnormal conditions as well.SOLUTION: A sub control unit for controlling a movable performance body AMU performs an initial drive to the movable performance body that is not located at an origin region during resetting of a CPU in order to retrieve it to the origin region (SS10 to SS18). When a given output is not obtained from an origin detecting switch ORG even after the initial drive is finished, the movable performance body is irregularly driven (SS24 to SS34). When a given output is not obtained from the origin detecting switch ORG even after the irregular drive is finished, abnormality information is stored (SS36), and subsequent movable performance is prohibited (ST98). The abnormality information is notified to a game player on condition that the CPU of a main control unit has been reset (ST74).

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

しかし、昨今の遊技機では、その消費電力が益々増加しているので、交流電源が不安定な場合や、制御回路周辺のノイズレベルが高い場合には、遊技動作中にCPUが突然リセットされる可能性があり、このような異常時にも、演出可動体が不自然な位置に放置されてしまうことがない構成が望まれる。   However, in recent gaming machines, the power consumption is increasing, so if the AC power supply is unstable or the noise level around the control circuit is high, the CPU is suddenly reset during the game operation. There is a possibility, and there is a demand for a configuration in which the effect movable body is not left in an unnatural position even in such an abnormality.

また、演出可動体が正常に動作しない場合にも適切に動作する遊技機が望まれる。すなわち、演出可動体は、単に、遊技者を盛り上げる可動演出を実行しているに過ぎないので、異常検出時に過敏に反応したのでは遊技者に無用の不信感を与える。一方、検出された異常を放置して、その後の可動演出が永続的に実行されないのでは、折角の予告演出が無駄になり遊技動作が貧弱化される。   Also, a gaming machine that operates properly even when the production movable body does not operate normally is desired. In other words, the effect movable body is merely executing a movable effect that excites the player, and if it reacts sensitively when an abnormality is detected, it gives unnecessary distrust to the player. On the other hand, if the detected abnormality is left unattended and the subsequent movable effect is not executed permanently, the notice effect at the corner is wasted and the gaming operation is poor.

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

上記の目的を達成するため、本発明は、所定のスイッチ信号に起因する抽選処理を実行し、その抽選結果に対応した演出動作を経た上で、抽選結果が当選状態であれば、遊技者に有利な遊技状態に移行させる遊技機において、抽選処理を実行して遊技動作を中心的に制御する主制御部と、主制御部が出力する制御コマンドに基づいて、演出可動体を使用する可動演出を含んだ演出動作を制御するサブ制御部と、を設け、演出可動体は、原点検出スイッチが第一出力を示す原点領域と、原点検出スイッチが第二出力を示す演出領域と、に区分される軌道上を移動可能に構成され、サブ制御部は、そのCPUの電源リセット時を含んだ適宜なタイミングで起動され、原点検出スイッチの出力に基づき、原点領域に位置しないと判定される演出可動体を、原点領域に回収するべく初期駆動する第一回収手段と、初期駆動の途中で、原点検出スイッチから第一出力が得られると、その後の終了駆動を経て演出可動体を停止させる第一停止手段と、初期駆動を終えても、原点検出スイッチから第一出力が得られない異常を検出する第一異常検出手段と、第一異常検出手段の異常検出に基づいて、演出可動体を変則駆動する変則駆動手段と、変則駆動の途中で、原点検出スイッチから第一出力が得られると、その後の終了駆動を経て演出可動体を停止させる第二停止手段と、変則駆動を終えても、原点検出スイッチから第一出力が得られない異常を検出すると、記憶部に異常情報を記憶する第一記憶手段と、記憶部に異常情報が記憶されている限り、その後の可動演出を禁止する演出禁止手段と、を有して構成され、記憶部に記憶されている異常情報は、主制御部の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, In a gaming machine that shifts to an advantageous gaming state, a main control unit that mainly controls a game operation by executing a lottery process, and a movable effect that uses an effect movable body based on a control command output by the main control unit A sub-control unit that controls the production operation including the production movable body, and the production movable body is divided into an origin region in which the origin detection switch indicates the first output and an production region in which the origin detection switch shows the second output. The sub-control unit is activated at an appropriate timing including when the power of the CPU is reset, and based on the output of the origin detection switch, it is determined that it is not located in the origin area. First recovery means for initial driving to recover to the origin area, and first stop for stopping the effect movable body after subsequent end driving when the first output is obtained from the origin detection switch during the initial driving. A first abnormality detecting means for detecting an abnormality in which the first output cannot be obtained from the origin detection switch even after the initial driving is completed, and the effect movable body is irregularly driven based on the abnormality detection of the first abnormality detecting means An irregular drive means, a second stop means for stopping the effect movable body after the end drive when the first output is obtained from the origin detection switch in the middle of the irregular drive, and the origin drive even after finishing the irregular drive. When detecting an abnormality in which the first output cannot be obtained from the detection switch, the first storage means for storing the abnormality information in the storage unit and the production prohibition for prohibiting the subsequent movable effect as long as the abnormality information is stored in the storage unit Means and It is configured to have a, abnormality information stored in the storage unit, on condition that the main control unit of the CPU has been reset and is configured to be informed to the player.

第一回収手段は、例えば、実施例の原点検出処理におけるステップSS10〜SS12、ステップSS14〜SS18の処理によって実現される。第一停止手段は、例えば、実施例の原点検出処理におけるステップSS19、ステップSS21〜SS23の処理によって実現される。   The first recovery unit is realized, for example, by the processes of steps SS10 to SS12 and steps SS14 to SS18 in the origin detection process of the embodiment. The first stop means is realized by, for example, the processes of Step SS19 and Steps SS21 to SS23 in the origin detection process of the embodiment.

第一異常検出手段は、例えば、実施例の原点検出処理におけるステップSS17の処理によって実現される。変則駆動手段は、例えば、実施例の原点検出処理におけるステップSS20、及び、リトライ処理におけるステップSS24〜SS34の処理によって実現される。   The first abnormality detection means is realized, for example, by the process of step SS17 in the origin detection process of the embodiment. The irregular drive means is realized, for example, by the process of step SS20 in the origin detection process of the embodiment and the processes of steps SS24 to SS34 in the retry process.

第二停止手段は、例えば、実施例のリトライ処理におけるステップSS35、ステップSS37〜SS39の処理によって実現される。第一記憶手段は、例えば、実施例のリトライ処理におけるステップSS36の処理によって実現される。演出禁止手段は、例えば、実施例のコマンド解析処理におけるステップST98の処理によって実現される。   The second stopping unit is realized by, for example, the processes of Step SS35 and Steps SS37 to SS39 in the retry process of the embodiment. The first storage unit is realized, for example, by the process of step SS36 in the retry process of the embodiment. The effect prohibiting means is realized, for example, by the process of step ST98 in the command analysis process of the embodiment.

本発明では、サブ制御部のCPUの電源リセット時には、第一回収手段が起動して演出可動体が原点領域に回収されるので、不自然な位置に演出可動体が放置される異常が回避される。また、本発明では、初期駆動によって演出可動体が原点領域に回収できない異常時には、変則駆動が継続されるので、この変則駆動によって、異常事態を自動的に解消させることができる。そして、変則駆動によって異常事態が復旧されない場合には、その後の可動演出が禁止されるので、演出可動体による異常な演出動作を回避できる。   In the present invention, when the power of the CPU of the sub-control unit is reset, the first collection means is activated and the effect movable body is collected in the origin area, so that the abnormality that the effect movable object is left in an unnatural position is avoided. The Further, in the present invention, since the irregular driving is continued when the production movable body cannot be recovered in the origin area by the initial driving, the abnormal driving can be automatically resolved by the irregular driving. Then, when the abnormal situation is not recovered by the irregular drive, the subsequent movable effect is prohibited, so that an abnormal effect operation by the effect movable body can be avoided.

一方、電源投入時のように、主制御部のCPUがリセットされた場合には、異常情報が報知される。そして、本発明では、サブ制御部のCPUの電源リセット時に、第一回収手段を起動させるので、電源投入時には、必ず演出可動体の異常を判定できることになり、検出された異常も適切に報知される。   On the other hand, when the CPU of the main control unit is reset as when the power is turned on, the abnormality information is notified. In the present invention, since the first recovery means is activated when the CPU of the sub-control unit is reset, the abnormality of the effect movable body can always be determined when the power is turned on, and the detected abnormality is appropriately notified. The

変則駆動手段による変速駆動は、特に限定されないが、演出可動体を演出領域に向けて駆動する順方向駆動と、その後に原点領域に向けて駆動する逆方向駆動と、を有して構成されるのが好適である。順方向駆動と逆方向駆動とは複数回繰り返されても良く、また、駆動トルクを高めるべく、移動速度を通常時より低減しても良い。   The speed change drive by the irregular drive means is not particularly limited, and is configured to include a forward drive for driving the effect movable body toward the effect region and a reverse drive for driving toward the origin region thereafter. Is preferred. The forward driving and the reverse driving may be repeated a plurality of times, and the moving speed may be reduced from the normal time in order to increase the driving torque.

好ましくは、主制御部のCPUがリセットされると初期動作コマンドを出力するよう構成され、初期動作コマンドを受けたサブ制御部は、記憶部に異常情報が記憶されている場合には、報知動作を開始するよう構成されるべきである。主制御部のCPUは、電源投入時以外にも異常リセットされる可能性があるが、何れの場合にも、異常報知されることで、係員による適切な対処が可能となる。   Preferably, the CPU is configured to output an initial operation command when the CPU of the main control unit is reset, and the sub control unit that receives the initial operation command performs a notification operation when abnormality information is stored in the storage unit Should be configured to start. The CPU of the main control unit may be reset abnormally at times other than when the power is turned on, but in any case, an abnormality is notified so that the staff can take appropriate measures.

また、主制御部のCPUがリセットされると初期動作コマンドを出力するよう構成され、初期動作コマンドを受けたサブ制御部は、演出可動体が原点領域に位置しないと判定され、且つ、記憶部に異常情報が記憶されていない場合には、第一回収手段を起動させ、その後は、必要に応じて、第一停止手段、第一異常検出手段、変則駆動手段、第二停止手段、第一記憶手段、演出禁止手段の全部又は一部を起動させるよう構成されるのが好適である。   Further, when the CPU of the main control unit is reset, an initial operation command is output, and the sub-control unit that has received the initial operation command determines that the effect movable body is not located in the origin region, and the storage unit If no abnormality information is stored in the first recovery means, the first recovery means is activated, and thereafter, the first stop means, the first abnormality detection means, the irregular drive means, the second stop means, the first It is preferable that all or a part of the storage means and the effect prohibiting means are activated.

この発明では、電源投入時のように、主制御部のCPUがリセットされた場合には、必ず、演出可動体が原点領域に回収されるので、営業開始時に演出可動体が不自然な状態で露出するような異常を回避できる。   In this invention, when the CPU of the main control unit is reset, such as when the power is turned on, the effect movable body is always recovered to the origin area, so that the effect movable body is in an unnatural state at the start of business. Abnormal exposures can be avoided.

また、本発明は、主制御部のCPUがリセットされると初期動作コマンドを出力するよう構成され、初期動作コマンドを受けたサブ制御部は、演出可動体が原点領域に位置すると判定されて第一回収手段の起動が回避されたか、或いは、第一回収手段が起動されて第一停止手段又は第二停止手段を経て演出可動体が原点領域に回収された後は、演出可動体を原点領域から演出領域に移行させるべく離脱駆動する離脱手段を機能させるよう構成するのが好適である。   In addition, the present invention is configured to output an initial operation command when the CPU of the main control unit is reset, and the sub-control unit that has received the initial operation command determines that the effect movable body is located in the origin region. After the activation of one recovery means is avoided or after the first recovery means is activated and the effect movable body is recovered to the origin area via the first stop means or the second stop means, the effect movable body is moved to the origin area. It is preferable that the detaching means for detaching to function in order to shift to the effect area is made to function.

このような構成を採ることで、電源投入時には、必ず、演出可動体の動作試験が実行されることになり、原点領域に位置して正常に動作しない演出可動体の異常を検出することができる。   By adopting such a configuration, when the power is turned on, an operation test of the effect movable body is always executed, and an abnormality of the effect movable body that is located in the origin region and does not operate normally can be detected. .

すなわち、上記の発明では、離脱手段による離脱駆動の途中で、原点検出スイッチから第二出力が得られると、同一方向への更なる駆動を経て、最終的に演出可動体を原点領域に回収する第二回収手段と、離脱駆動を終えても、原点検出スイッチから第二出力が得られない異常を検出すると、追加する駆動を経ることなく記憶部に異常情報を記憶する第二記憶手段と、記憶部に記憶されている異常情報に基づき、遊技者に異常報知する異常報知手段と、を更に設けることで、適切に異常報知することができる。なお、上記の構成では、記憶部に記憶された異常情報に基づき、その後の可動演出は、演出禁止手段によって禁止されるよう構成するのが好適である。   That is, in the above invention, when the second output is obtained from the origin detection switch in the middle of the separation drive by the separation means, the directing movable body is finally recovered in the origin region through further driving in the same direction. A second storage unit that stores abnormality information in the storage unit without passing through an additional drive when detecting an abnormality in which the second output cannot be obtained from the origin detection switch even after the disengagement drive is completed; By further providing abnormality notifying means for notifying the player of an abnormality based on the abnormality information stored in the storage unit, the abnormality can be appropriately notified. In the above configuration, it is preferable that the subsequent movable effect is prohibited by the effect prohibiting unit based on the abnormality information stored in the storage unit.

なお、何れの発明でも、原点領域及び演出領域は、円環状又は直線状の軌道上に形成されているのが典型的であり、また、外部から受ける交流電圧を整流して得られる直流電圧を、主制御部及びサブ制御部に供給する電源部を設け、サブ制御部のCPUは、直流電圧に基づいて電源部で生成される電源リセット信号によって電源リセットされる一方、主制御部のCPUは、電源部から供給される直流電圧に基づいて主制御部で生成される電源リセット信号によって電源リセットされるよう構成するのが好ましい。後者の場合、好ましくは、直流電圧がキャパシタンス素子によって維持される構成を採ることで、遮断された交流電圧が素早く復帰する瞬停時には、何れの電源リセット信号も生成されないよう構成するべきである。   In any of the inventions, the origin region and the production region are typically formed on an annular or linear track, and a DC voltage obtained by rectifying an AC voltage received from the outside is used. The main control unit and the sub control unit are provided with a power supply unit, and the sub control unit CPU is reset by a power reset signal generated by the power supply unit based on the DC voltage, while the main control unit CPU is The power supply is preferably reset by a power supply reset signal generated by the main control unit based on the DC voltage supplied from the power supply unit. In the latter case, preferably, a configuration in which the DC voltage is maintained by the capacitance element should be configured so that no power reset signal is generated at the momentary power failure when the interrupted AC voltage quickly recovers.

また、何れの発明でも、サブ制御部及び/又は主制御部のCPUは、所定時間以上クリアパルスを受けないと、強制的にリセットされるよう構成するのが好ましい。なお、本発明の遊技機は、典型的には弾球遊技機又は回胴式遊技機である。   In any of the inventions, it is preferable that the CPU of the sub-control unit and / or the main control unit is configured to be forcibly reset if it does not receive a clear pulse for a predetermined time or longer. 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 operates properly even when the production 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. 電源基板の回路構成を示す回路図である。It is a circuit diagram which shows the circuit structure of a power supply board. 主制御部と払出制御部のリセット回路の回路図である。It is a circuit diagram of the reset circuit of a main control part and a payout control part. 電源監視部とリセット回路の動作を示すタイムチャートである。It is a time chart which shows operation | movement of a power supply monitoring part and a reset circuit.

以下、実施例に基づいて本発明を詳細に説明する。図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 / 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 its circumference, 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 | presentation 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 (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) for outputting 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の演出位置には戻らない。しかし、(1) 比較的稀にしか演出可動体AMUの演出動作が実行されないこと、(2) 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, (1) The production operation of the production movable body AMU is executed relatively rarely, and (2) The CPU is rarely reset abnormally, so the origin return operation is executed at the hot start. There is no particular problem.

むしろ、バックアップ判定処理(ST47)は、完璧ではないところ、CPUの異常リセット時に、誤ってホットスタートさせたために演出可動体AMUが回収できない事態が発生すると、不自然な位置に停止した演出可動体AMUが遊技者に不快感を与えてしまうおそれがある。この点を言い換えると、本実施例の構成を採れば、簡易なバックアップ判定処理(ST47)に対応して、バックアップ処理(ST63)についても簡易化することができ、極めて稀にしか発生しないCPU異常リセット時のために、10mS毎に過重な処理を繰り返す無駄を排除できる。   Rather, the backup determination process (ST47) is not perfect. However, when a situation occurs in which the effect movable body AMU cannot be recovered due to an erroneous hot start at the time of an abnormal reset of the CPU, the effect movable object stopped at an unnatural position. There is a risk that the AMU may cause discomfort to the player. In other words, if the configuration of this embodiment is adopted, the backup process (ST63) can be simplified corresponding to the simple backup determination process (ST47), and the CPU abnormality that occurs very rarely. It is possible to eliminate the waste of repeating excessive processing every 10 mS for resetting.

また、遊技機の開発段階における動作実験では、CPUのリセット時に、必ず、原点検出処理が実行される構成が非常に有効であり、この点についは更に後述する。もっとも、破線に示すように、コールドスタート時に限り、ステップST52の処理を実行することが、特に禁止されるものではない。   Further, in an operation experiment in the development stage of a gaming machine, a configuration in which the origin detection process is always executed when the CPU is reset is very effective, which 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とされる。そして、この場合には、演出可動体AMUを回転させるモータ演出はスキップされる。   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. In this case, the motor effect for rotating the effect movable body AMU is skipped.

また、本実施例では、変動パターンコマンドの受信時に、モータ動作フラグ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). 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. The situation where it is not output does not occur.

なお、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.

続いて、電源基板20の回路構成について説明する。図21は、電源基板20の電源回路を示す回路図である。この電源回路は、演出インタフェイス基板27に供給される直流電圧を生成する第二電源部SDと、主制御部21と払出制御部24に供給される直流電圧を生成する第一電源部FRと、電源投入と電源遮断とを監視する電源監視部MNTと、過大な交流電圧を受けるとグランドラインを遮断する電源遮断部CUTと、を有して構成されている。なお、払出制御部24に供給される他の直流電圧(DC32V)や、演出インタフェイス基板27に供給される他の直流電圧(DC32V,DC15V)については、図示を省略している。   Next, the circuit configuration of the power supply substrate 20 will be described. FIG. 21 is a circuit diagram showing a power supply circuit of the power supply board 20. This power supply circuit includes a second power supply unit SD that generates a DC voltage supplied to the production interface board 27, and a first power supply unit FR that generates a DC voltage supplied to the main control unit 21 and the payout control unit 24. A power monitoring unit MNT that monitors power-on and power-off, and a power-cut-off unit CUT that cuts off the ground line when an excessive AC voltage is received. Note that illustration of other DC voltages (DC 32 V) supplied to the payout control unit 24 and other DC voltages (DC 32 V, DC 15 V) supplied to the production interface board 27 is omitted.

<第二電源部SD>
第二電源部SDは、ダイオードD1〜D4による全波整流回路と、平滑コンデンサC1と、直流電圧VB(12V)を生成するDC−DCコンバータと、直流電圧Vcc(5V)を生成するDC−DCコンバータと、平滑コンデンサC2,C3とを有して構成されている。2つのDC−DCコンバータは、何れもチョッパ型であり、平滑コンデンサC1を共通的に受けて動作している。第二電源部SDで生成された直流電圧は、演出インタフェイス基板27に伝送された後、適宜に降圧されて、演出インタフェイス基板27と、演出制御基板22と、画像制御基板23とで使用される。
<Second power supply unit SD>
The second power supply unit SD includes a full-wave rectifier circuit including diodes D1 to D4, a smoothing capacitor C1, a DC-DC converter that generates a DC voltage VB (12V), and a DC-DC that generates a DC voltage Vcc (5V). The converter includes smoothing capacitors C2 and C3. Each of the two DC-DC converters is a chopper type, and operates in common with the smoothing capacitor C1. The direct-current voltage generated by the second power supply unit SD is transmitted to the effect interface board 27 and then stepped down as appropriate to be used by the effect interface board 27, the effect control board 22, and the image control board 23. Is done.

<第一電源部FR>
第一電源部FRは、ダイオードD1,D2,D5,D6による全波整流回路と、平滑コンデンサC4と、直流電圧VB(12V)を生成するDC−DCコンバータと、直流電圧Vcc(5V)を生成するDC−DCコンバータと、平滑コンデンサC5,C6と、ダイオードD7及びコンデンサCbとで構成された蓄電部BKとを有して構成されている。この2つのDC−DCコンバータも、チョッパ型であり、平滑コンデンサC4を共通的に受けて動作している。また、蓄電部BKで生成された直流電圧は、主制御部21と払出制御部24のワンチップマイコンの内蔵RAMのデータを保持するバックアップ電源BAKとなる。
<First power supply FR>
The first power supply unit FR generates a full-wave rectifier circuit using diodes D1, D2, D5, and D6, a smoothing capacitor C4, a DC-DC converter that generates a DC voltage VB (12V), and a DC voltage Vcc (5V). The power storage unit BK is configured by a DC-DC converter, smoothing capacitors C5 and C6, a diode D7, and a capacitor Cb. These two DC-DC converters are also of a chopper type and operate in common with the smoothing capacitor C4. The DC voltage generated by the power storage unit BK serves as a backup power supply BAK that holds data in the built-in RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 24.

第一電源部FRで生成された直流電圧VBと直流電圧Vccは、主制御部21と払出制御部24だけに供給されており、演出インタフェイス基板27に伝送される直流電圧とは配線上で区別されている。そのため、主制御部21や払出制御部24が、他のサブ制御部22,23と電源ラインを経由して接続されることがなく、高周波ノイズなどの伝送が阻止される。   The DC voltage VB and the DC voltage Vcc generated by the first power supply unit FR are supplied only to the main control unit 21 and the payout control unit 24, and the DC voltage transmitted to the effect interface board 27 is on the wiring. It is distinguished. Therefore, the main control unit 21 and the payout control unit 24 are not connected to the other sub-control units 22 and 23 via the power line, and transmission of high-frequency noise and the like is prevented.

なお、主制御部21や払出制御部24での総電流は、最大でも、電源電圧VBラインで600mAを超えることがなく、また、電源電圧Vccラインでも300mAを超えることがないので、各電源電圧VB,Vccの給電ラインの電圧降下は、全く問題にならない。   The total current in the main control unit 21 and the payout control unit 24 does not exceed 600 mA on the power supply voltage VB line and does not exceed 300 mA on the power supply voltage Vcc line. The voltage drop of the VB and Vcc power supply lines is not a problem at all.

<電源遮断部CUT>
電源遮断部CUTは、交流電圧AC24Vから所定レベルの直流電圧を生成する整流部51と、交流電源ラインLN1,LN2の過電圧時にON動作する交流監視部52と、交流監視部52のON動作に対応してOFF動作するスイッチ回路53と、を有して構成されている。
<Power cutoff unit CUT>
The power cut-off unit CUT corresponds to the rectifying unit 51 that generates a DC voltage of a predetermined level from the AC voltage AC24V, the AC monitoring unit 52 that is turned on when the AC power supply lines LN1 and LN2 are overvoltage, and the AC monitoring unit 52 that is turned on. And a switch circuit 53 that performs an OFF operation.

整流部51は、交流電源ラインLN2から交流電圧を受けるダイオードD12と、電流制限抵抗R1と、コンデンサC8及びツェナーダイオードZD2の並列回路と、が直列に接続されて構成されている。そして、正常時には、コンデンサC8の両端電圧は、ツェナーダイオードZD2の降伏電圧に一定化されている。   The rectifier 51 includes a diode D12 that receives an AC voltage from the AC power supply line LN2, a current limiting resistor R1, and a parallel circuit of a capacitor C8 and a Zener diode ZD2, which are connected in series. During normal operation, the voltage across the capacitor C8 is constant at the breakdown voltage of the Zener diode ZD2.

スイッチ回路53は、大電流容量のMOSトランジスタQ2と、コンデンサC8に並列接続されたバイアス抵抗R5と、を有して構成されている。ここで、トランジスタQ2は、コンデンサC8の両端電圧が所定レベルである限り、ON状態であって、遊技機の全回路のグランドラインとフレームグランドFGとを接続状態にしている。   The switch circuit 53 includes a MOS transistor Q2 having a large current capacity and a bias resistor R5 connected in parallel to the capacitor C8. Here, the transistor Q2 is in an ON state as long as the voltage across the capacitor C8 is at a predetermined level, and connects the ground line of all the circuits of the gaming machine and the frame ground FG.

交流監視部52は、交流電源ラインLN1,LN2に接続された2つのダイオードD8,D9と、ダイオードD8,D9の接続点に接続されたツェナーダイオードZD1と、バイアス抵抗R2,R3及びコンデンサC7の並列回路と、バイアス抵抗R3の両端電圧が上昇するとON動作するトランジスタQ1と、トランジスタQ1の電流制限抵抗R4とを有して構成されている。   The AC monitoring unit 52 includes two diodes D8 and D9 connected to the AC power supply lines LN1 and LN2, a Zener diode ZD1 connected to the connection point of the diodes D8 and D9, a bias resistor R2 and R3, and a capacitor C7 in parallel. The circuit includes a transistor Q1 that is turned on when the voltage across the bias resistor R3 increases, and a current limiting resistor R4 of the transistor Q1.

ツェナーダイオードZD1は、通常は、OFF状態であるが、交流電源ラインLN1,LN2に過大な交流電圧(例えばAC100V)が加わると、降伏状態となる。この降伏状態では、バイアス抵抗R3の両端電圧が上昇してトランジスタQ1がON動作することでコンデンサC8の両端電圧が降下する。   Zener diode ZD1 is normally in an OFF state, but when an excessive AC voltage (for example, AC 100V) is applied to AC power supply lines LN1 and LN2, it enters a breakdown state. In this breakdown state, the voltage at both ends of the bias resistor R3 increases and the transistor Q1 is turned on, so that the voltage at both ends of the capacitor C8 decreases.

すると、それまでON状態であったトランジスタQ2がOFF遷移することで、回路グランドとフレームグランドFGとが非接続となって、全ての遊技機の全ての電源電圧が遮断状態となる。電源遮断部CUTの動作内容は、以上の通りであり、交流電源ラインLN1,LN2の両端電圧が限界値を超えると、全ての遊技機の全ての電源電圧を一気に遮断する機能を果たしている。   Then, the transistor Q2 that has been in the ON state until then is turned OFF, whereby the circuit ground and the frame ground FG are disconnected, and all the power supply voltages of all the gaming machines are cut off. The operation content of the power cut-off unit CUT is as described above. When the voltage across the AC power supply lines LN1 and LN2 exceeds the limit value, the power cut-off unit CUT functions to cut off all the power supply voltages of all the gaming machines at once.

<電源監視部MNT>
次に、電源監視部MNTについて説明する。電源監視部MNTは、交流電源ラインLN1,LN2の電圧レベルを監視する給電監視部54と、電源電圧Vccを受けて比較基準電圧Voを出力する比較電圧部55と、給電監視部54と比較電圧部55の出力電圧を対比して電源異常を検出する異常検出部56と、システムリセット信号SYSを生成する電源リセット部57と、を有して構成されている。
<Power supply monitoring unit MNT>
Next, the power supply monitoring unit MNT will be described. The power supply monitoring unit MNT includes a power supply monitoring unit 54 that monitors the voltage levels of the AC power supply lines LN1 and LN2, a comparison voltage unit 55 that receives the power supply voltage Vcc and outputs a comparison reference voltage Vo, and a power supply monitoring unit 54. An abnormality detection unit 56 that detects a power supply abnormality by comparing output voltages of the unit 55 and a power supply reset unit 57 that generates a system reset signal SYS are configured.

[給電監視部54]
給電監視部54は、交流電源ラインLN1,LN2に接続された2つのダイオードD10,D11と、ダイオードD10,D11の接続点に接続された抵抗R6及びツェナーダイオードZD3の直列回路と、ツェナーダイオードZD3に並列接続されたダイオードD13及び平滑コンデンサC9の直列回路と、平滑コンデンサC9に並列接続された抵抗R7,R8の直列回路と、抵抗R8を短絡させるコンパレータA3と、を有して構成されている。
[Power supply monitoring unit 54]
The power supply monitoring unit 54 includes two diodes D10 and D11 connected to the AC power supply lines LN1 and LN2, a series circuit of a resistor R6 and a Zener diode ZD3 connected to a connection point of the diodes D10 and D11, and a Zener diode ZD3. A series circuit of a diode D13 and a smoothing capacitor C9 connected in parallel, a series circuit of resistors R7 and R8 connected in parallel to the smoothing capacitor C9, and a comparator A3 that short-circuits the resistor R8 are configured.

この実施例では、ツェナーダイオードZD3の降伏電圧が5.1V程度であり、ツェナーダイオードZD3は、電流制限抵抗R6を通して、交流電圧AC24Vを受けている。そのため、交流入力電源の給電状態であれば、平滑コンデンサC9の両端電圧は、4.5V程度の一定値となる。また、2つの抵抗R7,R8は、その抵抗値がR8>>R7に設定されているので、抵抗R8の両端電圧Vsは、正常レベルの交流電圧AC24Vに対応して約4.5Vとなる。但し、コンパレータA3の出力がLレベルであると、これに対応して、抵抗R8の両端電圧Vsは、ほぼ0Vとなる。なお、抵抗R7は、Lレベル出力時のコンパレータA3に対する電流制限抵抗として機能する。   In this embodiment, the breakdown voltage of the Zener diode ZD3 is about 5.1V, and the Zener diode ZD3 receives the AC voltage AC24V through the current limiting resistor R6. For this reason, when the AC input power supply is in a power supply state, the voltage across the smoothing capacitor C9 is a constant value of about 4.5V. Since the resistance values of the two resistors R7 and R8 are set to R8 >> R7, the both-ends voltage Vs of the resistor R8 is about 4.5V corresponding to the normal level AC voltage AC24V. However, if the output of the comparator A3 is at L level, the voltage Vs across the resistor R8 is substantially 0V correspondingly. The resistor R7 functions as a current limiting resistor for the comparator A3 when the L level is output.

コンパレータA3は、他のコンパレータA1〜A4と共に、QUADコンパレータ(NJM2901)で構成されている。このQUADコンパレータには、4つのコンパレータA1〜A4が内蔵されているが、何れのコンパレータA1〜A4も、オープンコレクタタイプとなっている(図23(i)参照)。   The comparator A3 is composed of a QUAD comparator (NJM2901) together with other comparators A1 to A4. The QUAD comparator includes four comparators A1 to A4, but any of the comparators A1 to A4 is an open collector type (see FIG. 23 (i)).

そして、コンパレータA3のマイナス端子には、比較電圧部55の出力電圧Voが供給され、プラス端子には、定常状態では2.8V程度の比較電圧V1が供給されている。この比較電圧V1は、第一電源部FRが生成した二種類の電源電圧Vcc,VBを抵抗で分圧して生成されている。   The output voltage Vo of the comparison voltage unit 55 is supplied to the minus terminal of the comparator A3, and the comparison voltage V1 of about 2.8V is supplied to the plus terminal in the steady state. The comparison voltage V1 is generated by dividing the two types of power supply voltages Vcc and VB generated by the first power supply unit FR with resistors.

後述するように、電源投入時には、比較電圧部55の出力電圧Voは、レベル上昇中の電源電圧Vccに対応したレベルとなる(Vo=Vcc−Vf−Δ)。なお、VfとΔは、ダイオードD14,D15と、抵抗R9における電圧降下である。   As will be described later, when the power is turned on, the output voltage Vo of the comparison voltage unit 55 becomes a level corresponding to the power supply voltage Vcc whose level is rising (Vo = Vcc−Vf−Δ). Vf and Δ are voltage drops in the diodes D14 and D15 and the resistor R9.

一方、比較電圧V1は、電源電圧Vcc,VBを分圧して生成されるので、電源投入直後は、比較電圧部55の出力電圧Voより低い。そのため、電源投入直後の過渡状態では、コンパレータA3の出力がLレベルとなって抵抗R8を短絡させ、その結果、給電監視部54の出力電圧Vsがほぼ0Vとなる。   On the other hand, since the comparison voltage V1 is generated by dividing the power supply voltages Vcc and VB, immediately after the power is turned on, it is lower than the output voltage Vo of the comparison voltage unit 55. Therefore, in a transient state immediately after the power is turned on, the output of the comparator A3 becomes L level to short-circuit the resistor R8. As a result, the output voltage Vs of the power supply monitoring unit 54 becomes almost 0V.

一方、電源電圧Vcc,VBが所定レベルに達した定常状態では、比較電圧V1が、2.8V程度となる一方、比較電圧部55の出力電圧Voは2.5V程度に一定化される。つまり、コンパレータA3は、[プラス入力への入力電圧]>[マイナス端子への入力電圧]の大小関係となるが、コンパレータA3の出力部がオープンコレクタであり(図23(i)参照)、図21に示す通り、その出力端子がプルアップされていないので、コンパレータA3の出力部は開放状態となって他の回路に影響を与えない。   On the other hand, in a steady state in which the power supply voltages Vcc and VB have reached a predetermined level, the comparison voltage V1 is about 2.8V, while the output voltage Vo of the comparison voltage unit 55 is kept constant at about 2.5V. That is, the comparator A3 has a magnitude relationship of [input voltage to plus input]> [input voltage to minus terminal], but the output part of the comparator A3 is an open collector (see FIG. 23 (i)). Since the output terminal is not pulled up as shown in FIG. 21, the output part of the comparator A3 is opened and does not affect other circuits.

以上説明した給電監視部54の動作を整理すると以下の通りである。   The operation of the power supply monitoring unit 54 described above is organized as follows.

(1)交流電圧AC24Vが投入された電源投入直後は、抵抗R8がコンパレータA3の出力部によって短絡されるので、抵抗R8の両端電圧Vsがほぼ0Vとなる。   (1) Immediately after the power is turned on when the AC voltage AC24V is turned on, the resistor R8 is short-circuited by the output part of the comparator A3, so that the voltage Vs across the resistor R8 becomes approximately 0V.

(2)その後、電源電圧Vccが正常レベル近くまで増加すると、コンパレータA3の出力部が開放状態となるので、抵抗R8の両端電圧Vsは、ツェナーダイオードZD3の両端電圧に対応してほぼ4.5Vとなる。   (2) Thereafter, when the power supply voltage Vcc increases to near the normal level, the output part of the comparator A3 is opened, so that the voltage Vs across the resistor R8 is approximately 4.5 V corresponding to the voltage across the Zener diode ZD3. It becomes.

(3)交流電圧AC24Vが遮断状態となると、抵抗R8の両端電圧Vsは、素早く0Vまで降下する。しかし、交流電圧AC24Vが遮断されても、しばらくは、電源電圧Vcc,VBが所定レベルを維持するので、コンパレータA3の出力部は、そのまま開放状態を維持する。   (3) When the AC voltage AC24V is cut off, the voltage Vs across the resistor R8 quickly drops to 0V. However, even if the AC voltage AC24V is cut off, the power supply voltages Vcc and VB maintain a predetermined level for a while, so that the output unit of the comparator A3 maintains the open state as it is.

[比較電圧部55]
比較電圧部55は、第一電源部FRと第二電源部SDとで別々に生成された2つの電源電圧Vcc,Vccを各アノード端子に受けるダイオードD14,D15と、ダイオードD14,D15の各カソード端子に接続される電流制限抵抗R9と、電圧生成部GNと、が直列に接続されて構成されている。この実施例では、電圧生成部GNとして、シャントレギュレータ(HA17431:RENESAS)を使用している。
[Comparison voltage unit 55]
The comparison voltage unit 55 includes diodes D14 and D15 that receive two power supply voltages Vcc and Vcc generated separately by the first power supply unit FR and the second power supply unit SD at respective anode terminals, and cathodes of the diodes D14 and D15. A current limiting resistor R9 connected to the terminal and the voltage generator GN are connected in series. In this embodiment, a shunt regulator (HA17431: RENESAS) is used as the voltage generator GN.

このシャントレギュレータは、アノード端子Aとカソード端子Kと比較端子REFとを有するが、アノード端子Aとカソード端子Kとを接続した図示の状態では、ツェナーダイオードと同等に機能して、降伏動作時には、アノード・カソード端子間に一定の基準電圧Vo(2.5V)を出力する(図23(h)参照)。一方、非降伏動作時には、内部回路がOFF動作して、アノード・カソード端子間が開放状態となる。   This shunt regulator has an anode terminal A, a cathode terminal K, and a comparison terminal REF. In the state shown in the figure, in which the anode terminal A and the cathode terminal K are connected, the shunt regulator functions in the same manner as a Zener diode. A constant reference voltage Vo (2.5 V) is output between the anode and cathode terminals (see FIG. 23 (h)). On the other hand, during the non-breakdown operation, the internal circuit is turned OFF, and the anode and cathode terminals are opened.

したがって、電源投入時、電源電圧Vccが所定レベルに達するまでは、比較電圧部55(電圧生成部GN)の出力電圧Voは、レベル上昇中の電源電圧Vccに対応して、Vo=Vcc−Vf−Δとなる。一方、電源電圧Vccが所定レベルに達すると、比較電圧部55の出力電圧Voは、一定の比較基準電圧(2.5V)となる。   Therefore, when the power is turned on, until the power supply voltage Vcc reaches a predetermined level, the output voltage Vo of the comparison voltage unit 55 (voltage generation unit GN) corresponds to the power supply voltage Vcc whose level is rising, Vo = Vcc−Vf. −Δ. On the other hand, when the power supply voltage Vcc reaches a predetermined level, the output voltage Vo of the comparison voltage unit 55 becomes a constant comparison reference voltage (2.5 V).

[異常検出部56]
異常検出部56は、主制御部21への電源異常信号ABN1を生成するコンパレータA1と、払出制御部24への電源異常信号ABN2を生成するコンパレータA2と、各コンパレータA1,A2のプルアップ抵抗R10,R11と、各コンパレータA1,A2の入力端子間に接続されたコンデンサCsとを有して構成されている。各コンパレータA1,A2のマイナス端子には、比較電圧部55の出力電圧Voが供給され、プラス端子には、抵抗R8の両端電圧Vsが供給されている。なお、コンパレータA1,A2は、先に説明したQUADコンパレータ(NJM2901)に内蔵されている。
[Abnormality detection unit 56]
The abnormality detection unit 56 includes a comparator A1 that generates a power supply abnormality signal ABN1 to the main control unit 21, a comparator A2 that generates a power supply abnormality signal ABN2 to the payout control unit 24, and pull-up resistors R10 of the comparators A1 and A2. , R11 and a capacitor Cs connected between the input terminals of the comparators A1, A2. The output voltage Vo of the comparison voltage unit 55 is supplied to the minus terminals of the comparators A1 and A2, and the voltage Vs across the resistor R8 is supplied to the plus terminal. The comparators A1 and A2 are built in the QUAD comparator (NJM2901) described above.

図示を省略しているが、コンパレータA1,A2から出力される電源異常信号ABN1、ABN2は、主制御部21と払出制御部24の入力ポートに供給されている。そして、各入力ポートの入力端子とグランド間には、適宜なコンデンサを接続されており、各入力ポートが、適宜な抵抗を経由して電源異常信号を受けることで耐ノイズ性を確保している。また、適宜なソフトウェア処理(図8のST30〜ST31)によって、スパイクノイズの影響を排除している。   Although not shown, power supply abnormality signals ABN1 and ABN2 output from the comparators A1 and A2 are supplied to input ports of the main control unit 21 and the payout control unit 24. An appropriate capacitor is connected between the input terminal of each input port and the ground, and each input port receives a power supply abnormality signal via an appropriate resistor to ensure noise resistance. . Further, the influence of spike noise is eliminated by appropriate software processing (ST30 to ST31 in FIG. 8).

給電監視部54が前記した(1)〜(3)の通りに動作するので、これに対応して異常検出部56は、以下の通りに動作する。   Since the power supply monitoring unit 54 operates as described above in (1) to (3), the abnormality detection unit 56 operates as follows in response to this.

(1)交流電圧AC24Vが投入された電源投入直後は、抵抗R8の両端電圧Vsがほぼ0Vであり、一方、比較電圧部55の出力電圧Voは、レベル上昇中の電源電圧Vccに対応して、Vcc−Vf−Δとなる。そのため、コンパレータA1,A2が出力する電源異常信号ABN1,ABN2は、レベル変動することなく、Lレベルを安定的に維持する。図23(c)のタイミングT0〜T1は、この電源投入時の安定したLレベル状態を示している。   (1) Immediately after the power is turned on when the AC voltage AC24V is turned on, the voltage Vs across the resistor R8 is almost 0V, while the output voltage Vo of the comparison voltage unit 55 corresponds to the power supply voltage Vcc whose level is rising. Vcc−Vf−Δ. Therefore, the power supply abnormality signals ABN1 and ABN2 output from the comparators A1 and A2 stably maintain the L level without changing the level. Timings T0 to T1 in FIG. 23C indicate a stable L level state when the power is turned on.

(2)その後、レベル上昇中の電源電圧Vccが所定レベルを超えた後は、比較電圧部55の出力電圧Voは、2.5Vを維持する。また、電源電圧Vccが正常レベル近くまで増加すると、コンパレータA3の出力部が開放状態となるので、抵抗R8の両端電圧Vsは、ツェナーダイオードZD3の両端電圧に対応してほぼ4.5Vとなる。   (2) Thereafter, after the power supply voltage Vcc whose level is rising exceeds a predetermined level, the output voltage Vo of the comparison voltage unit 55 is maintained at 2.5V. Further, when the power supply voltage Vcc increases to near the normal level, the output part of the comparator A3 is opened, so that the voltage Vs across the resistor R8 becomes approximately 4.5V corresponding to the voltage across the Zener diode ZD3.

そのため、コンパレータA1,A2が出力する電源異常信号ABN1,ABN2がHレベルに遷移して、その後は、正常状態を示すHレベルを定常的に維持する。図23(c)のタイミングT1以降は、正常レベルの電源異常信号ABN1,ABN2を示している。   Therefore, the power supply abnormality signals ABN1 and ABN2 output from the comparators A1 and A2 transition to the H level, and thereafter the H level indicating the normal state is constantly maintained. After timing T1 in FIG. 23 (c), power supply abnormality signals ABN1, ABN2 at normal levels are shown.

(3)その後、何らかの理由で交流電圧AC24Vが遮断状態となると、抵抗R8の両端電圧Vsは、素早く0Vまで降下する。しかし、電源電圧Vcc,VBは、しばらく所定レベルを維持するので、コンパレータA3や比較電圧部55は、それまでの動作を維持する。   (3) Thereafter, when the AC voltage AC24V is cut off for some reason, the voltage Vs across the resistor R8 quickly drops to 0V. However, since the power supply voltages Vcc and VB maintain a predetermined level for a while, the comparator A3 and the comparison voltage unit 55 maintain the operations up to that time.

したがって、図23(a)のタイミングT7において、交流電圧AC24Vが遮断状態になると、コンパレータA1,A2が出力する電源異常信号ABN1,ABN2は、直ちに、HレベルからLレベルに遷移して異常事態の発生を示す。なお、主制御部21と払出制御部24では、この電源異常信号ABN1,ABN2を定時的にチェックしており、電源異常信号ABN1,ABN2がLレベルに遷移したことを確認すると、直ちにバックアップ処理を開始するようになっている。   Therefore, when the AC voltage AC24V is cut off at the timing T7 in FIG. 23A, the power supply abnormality signals ABN1 and ABN2 output from the comparators A1 and A2 immediately transition from the H level to the L level to cause an abnormal situation. Indicates occurrence. The main control unit 21 and the payout control unit 24 regularly check the power supply abnormality signals ABN1 and ABN2, and immediately confirm that the power supply abnormality signals ABN1 and ABN2 have transitioned to the L level. It is supposed to start.

[電源リセット部57]
次に、コンパレータA4で構成された電源リセット部57について説明する。図示の通り、コンパレータA4の出力端子には、プルアップ抵抗R12が接続され、出力端子とプラス端子との間には、抵抗RfとコンデンサCfの直列回路が接続されている。また、コンパレータA4のマイナス端子には、比較電圧部55の出力電圧Voが供給され、プラス端子には、定常状態では2.95V程度の比較電圧V2が供給されている。この比較電圧V2は、第二電源部SDが生成した二種類の電源電圧Vcc,VBを抵抗で分圧して生成されている。
[Power reset unit 57]
Next, the power reset unit 57 composed of the comparator A4 will be described. As illustrated, a pull-up resistor R12 is connected to the output terminal of the comparator A4, and a series circuit of a resistor Rf and a capacitor Cf is connected between the output terminal and the plus terminal. Further, the output voltage Vo of the comparison voltage unit 55 is supplied to the minus terminal of the comparator A4, and the comparison voltage V2 of about 2.95V is supplied to the plus terminal in the steady state. The comparison voltage V2 is generated by dividing the two types of power supply voltages Vcc and VB generated by the second power supply unit SD with resistors.

電源リセット部57は、上記の通りに構成されているので、以下の通りに動作する。   Since the power reset unit 57 is configured as described above, it operates as follows.

(1)交流電圧AC24Vが投入された電源投入直後は、比較電圧部55の出力電圧Voは、レベル上昇中の電源電圧Vccに対応して、Vcc−Vf−Δとなる。一方、比較電圧V2は、第二電源部SDの電源電圧Vcc,VBを分圧して生成されるので、レベル上昇中の出力電圧Voより低い。そのため、このような過渡状態では、コンパレータA4から出力されるシステムリセット信号SYSがLレベルとなる(図23(a)参照)。   (1) Immediately after the power is turned on when the AC voltage AC24V is turned on, the output voltage Vo of the comparison voltage unit 55 becomes Vcc−Vf−Δ corresponding to the power supply voltage Vcc whose level is rising. On the other hand, since the comparison voltage V2 is generated by dividing the power supply voltages Vcc and VB of the second power supply unit SD, it is lower than the output voltage Vo during the level increase. Therefore, in such a transient state, the system reset signal SYS output from the comparator A4 becomes L level (see FIG. 23A).

(2)その後、レベル上昇中の電源電圧Vccが所定レベルに達した後は、比較電圧部55の出力電圧Voは、2.5Vを維持する。また、電源電圧Vcc,VBが正常レベル近くまで増加すると、比較電圧V2が定常値2.95Vに近づく。そのため、コンパレータA4から出力されるシステムリセット信号SYSは、適宜なタイミングで、LレベルからHレベルに遷移する。   (2) Thereafter, after the power supply voltage Vcc whose level is rising reaches a predetermined level, the output voltage Vo of the comparison voltage unit 55 is maintained at 2.5V. Further, when the power supply voltages Vcc and VB increase to near the normal level, the comparison voltage V2 approaches the steady value 2.95V. Therefore, the system reset signal SYS output from the comparator A4 transitions from the L level to the H level at an appropriate timing.

このようにして生成されたシステムリセット信号SYSは、演出インタフェイス基板27を経由して、演出制御部22と画像制御部23に伝送されるが、各制御部22,制御部23に設けられた遅延回路を経由してCPUやその他のICを電源リセットしている。なお、抵抗RfとコンデンサCfの直列回路も、遷移動作を遅延させる機能を発揮する。   The system reset signal SYS generated in this way is transmitted to the effect control unit 22 and the image control unit 23 via the effect interface board 27, and is provided in each control unit 22 and control unit 23. The power of the CPU and other ICs is reset via the delay circuit. Note that the series circuit of the resistor Rf and the capacitor Cf also exhibits a function of delaying the transition operation.

図22(a)は、主制御部21と払出制御部24に配置されたリセット回路RSTを示す回路図である。この実施例では、電源電圧監視用IC1(MB3771富士通マイクロエレクトロニクス)と、ウォッチドッグタイマ機能付き電源電圧監視用IC2(MB3773富士通マイクロエレクトロニクス)とを活用してリセット回路RSTを構成している。   FIG. 22A is a circuit diagram showing the reset circuit RST arranged in the main control unit 21 and the payout control unit 24. In this embodiment, the reset circuit RST is configured by utilizing the power supply voltage monitoring IC 1 (MB3771 Fujitsu Microelectronics) and the power supply voltage monitoring IC2 with a watchdog timer function (MB3773 Fujitsu Microelectronics).

図22(b)の等価回路を示す通り、電源電圧監視用IC1は、2つのコンパレータCompA,CompBを内蔵して構成されている。そして、2つのコンパレータCompA,CompBのプラス端子は、内蔵回路によって1.24V程度に設定される。   As shown in the equivalent circuit of FIG. 22B, the power supply voltage monitoring IC 1 includes two comparators CompA and CompB. The plus terminals of the two comparators CompA and CompB are set to about 1.24V by the built-in circuit.

また、実施例の回路構成では、Vsa端子がコンデンサC11を経由してグランドに接続されているので、コンパレータCompAのマイナス端子の電位は、内蔵された抵抗で分圧されて1.4V程度となる。一方、Vsb端子には、外付けの分圧抵抗R20、R21によって電源電圧VBが分圧して供給されているので、Vsb端子の電位は、VB*R21/(R20+R21)である。なお、抵抗R21には、電圧安定用のコンデンサC12が並列接続されている。また、Ct端子には遅延コンデンサC10が接続されている。   In the circuit configuration of the embodiment, since the Vsa terminal is connected to the ground via the capacitor C11, the potential of the negative terminal of the comparator CompA is divided by the built-in resistor and becomes about 1.4V. . On the other hand, since the power supply voltage VB is divided and supplied to the Vsb terminal by external voltage dividing resistors R20 and R21, the potential of the Vsb terminal is VB * R21 / (R20 + R21). A voltage stabilizing capacitor C12 is connected in parallel to the resistor R21. A delay capacitor C10 is connected to the Ct terminal.

電源電圧監視用IC1は、図22(b)の内部回路を有しているので、電源投入後、電源電圧Vccが所定レベルまで上昇すると(図23(d)のタイミングT2参照)、内蔵された定電流源によって、遅延コンデンサC10の充電が開始される。そして、遅延コンデンサC10が所定レベルまで充電されるまでの間は(図23(e)のT3参照)、リセット端子から出力される基礎リセット信号RS1がLレベルに維持される。なお、このリセットホールド時間Tpo[S]は、外付けコンデンサC10の容量に対応してTpo[S]=105*C10[F]となっている。   Since the power supply voltage monitoring IC 1 has the internal circuit of FIG. 22B, when the power supply voltage Vcc rises to a predetermined level after the power is turned on (see timing T2 of FIG. 23D), it is built in. Charging of the delay capacitor C10 is started by the constant current source. Until the delay capacitor C10 is charged to a predetermined level (see T3 in FIG. 23E), the basic reset signal RS1 output from the reset terminal is maintained at the L level. The reset hold time Tpo [S] is Tpo [S] = 105 * C10 [F] corresponding to the capacitance of the external capacitor C10.

このようにして、タイミングT3でHレベルとなった基礎リセット信号RS1は、電源電圧Vcc,VBが降下しない限り、そのレベルを維持する。しかし、Vsb端子の電位は、VB*R21/(R20+R21)であって、このVsb端子において電源電圧VBのレベルを監視している。同様に、Vsa端子の電位は、内蔵抵抗40kΩ、100kΩに対応して、Vcc*40/(40+1001)であって、このVsa端子において電源電圧Vccのレベルを監視している。   In this way, the basic reset signal RS1 that has become H level at the timing T3 maintains that level unless the power supply voltages Vcc and VB drop. However, the potential of the Vsb terminal is VB * R21 / (R20 + R21), and the level of the power supply voltage VB is monitored at this Vsb terminal. Similarly, the potential of the Vsa terminal is Vcc * 40 / (40 + 1001) corresponding to the built-in resistors 40 kΩ and 100 kΩ, and the level of the power supply voltage Vcc is monitored at this Vsa terminal.

そのため、交流入力AC24Vの遮断や、電源部FR,SDの故障などによって、電源電圧Vcc,VBの双方又は一方の電圧レベルが降下すると(図23(d)のタイミングT8参照)、内蔵コンパレータCompA,CompBのいずれかの出力端子がHレベルに遷移する。すると、内蔵されたフリップフロップがセットされて、リセット端子から出力される基礎リセット信号RS1が、直ちにLレベルに降下する(図23(e)のタイミングT8参照)。   For this reason, when the voltage level of both or one of the power supply voltages Vcc and VB drops due to the interruption of the AC input AC24V or the failure of the power supply units FR and SD (see timing T8 in FIG. 23 (d)), the built-in comparators CompA, Any output terminal of CompB transitions to the H level. Then, the built-in flip-flop is set, and the basic reset signal RS1 output from the reset terminal immediately falls to the L level (see timing T8 in FIG. 23E).

ところで、本実施例では、Vsa端子とグランド間には、コンデンサC11が接続され、Vsb端子とグランド間には、コンデンサC12が接続されている。図22(b)の等価回路から明らかな通り、これらのコンデンサC11,C12は、内部回路の動作を遅延させる機能を果しており、電源電圧Vcc,VBが短時間だけ、例えば4V以下に低下して回復する瞬停状態や瞬断状態では、基礎リセット信号RS1が出力されることはない。   By the way, in this embodiment, a capacitor C11 is connected between the Vsa terminal and the ground, and a capacitor C12 is connected between the Vsb terminal and the ground. As is apparent from the equivalent circuit of FIG. 22B, these capacitors C11 and C12 have a function of delaying the operation of the internal circuit, and the power supply voltages Vcc and VB are reduced to, for example, 4 V or less for a short time. The basic reset signal RS1 is not output in the instantaneous power failure state or the instantaneous power interruption state.

本実施例では、Cll=C12=1000pF程度に設定されており、これに対応して、直流電圧(5V,12V)のレベル降下が、40μS以内に回復する瞬断状態や瞬停状態では、電源電圧監視用IC1が反応しないよう構成されている。したがって、電源基板20から供給される電源電圧Vcc,VBの給電ラインの何れかに、パルス幅40μS以内のスパイクノイズが重畳しても、基礎リセット信号RS1が異常に出力されることはない。   In this embodiment, Cll = C12 = 1000 pF is set, and in response to this, in the instantaneous interruption state or instantaneous interruption state where the level drop of the DC voltage (5V, 12V) recovers within 40 μS, The voltage monitoring IC 1 is configured not to react. Therefore, even if spike noise within a pulse width of 40 μS is superimposed on any of the power supply lines of the power supply voltages Vcc and VB supplied from the power supply substrate 20, the basic reset signal RS1 is not abnormally output.

上記の通りに動作する電源電圧監視用IC1に対応して、基礎リセット信号RS1は、2つのNOTゲートG1,G2を経由して、I/Oリセット信号として主制御部21や払出制御部24に搭載されたデータ入出力用ICのリセット端子に供給される。好ましくは、ラッチ機能を有するデータ入出力用ICに基礎リセット信号(I/Oリセット信号)RS1が供給される。そのため、電源投入時にランダムにラッチされたデータ入出力用IC(例えば、SN74273、SN74LV8155など)のデータが、基礎リセット信号RS1によって確実にクリアされる。   Corresponding to the power supply voltage monitoring IC 1 operating as described above, the basic reset signal RS1 is sent to the main control unit 21 and the payout control unit 24 as an I / O reset signal via the two NOT gates G1 and G2. It is supplied to the reset terminal of the mounted data input / output IC. Preferably, a basic reset signal (I / O reset signal) RS1 is supplied to a data input / output IC having a latch function. Therefore, the data of the data input / output ICs (for example, SN74273, SN74LV8155, etc.) latched at random when the power is turned on is surely cleared by the basic reset signal RS1.

またNOTゲートG1を経由した基礎リセット信号RS1バーは、ウォッチドッグタイマ機能付き電源電圧監視用IC2に供給されている。図示の通り、電源電圧監視用IC2は、CPUリセット信号RS2を出力するが、電源電圧監視用IC2のCt端子には、遅延コンデンサC15が接続され、CK端子には、ワンチップマイコンからクリアパルスが供給されるよう構成されている。   The basic reset signal RS1 bar via the NOT gate G1 is supplied to the power supply voltage monitoring IC 2 with a watchdog timer function. As shown in the figure, the power supply voltage monitoring IC 2 outputs a CPU reset signal RS2, but a delay capacitor C15 is connected to the Ct terminal of the power supply voltage monitoring IC 2, and a clear pulse is sent from the one-chip microcomputer to the CK terminal. Configured to be supplied.

また、電源電圧監視用IC2のVs端子は、コンデンサC14を経由してグランドに接続され、コンデンサC14には、トランジスタQ3のコレクタ端子とエミッタ端子とが並列接続されている。そして、トランジスタQ3のベース端子には、バイアス抵抗R23,R24によって分圧された基礎リセット信号RS1バーが供給されている。   The Vs terminal of the power supply voltage monitoring IC 2 is connected to the ground via the capacitor C14, and the collector terminal and the emitter terminal of the transistor Q3 are connected in parallel to the capacitor C14. The base reset signal RS1 bar divided by the bias resistors R23 and R24 is supplied to the base terminal of the transistor Q3.

コンテンサC14は、内部回路の動作を遅延させる遅延素子である。電源電圧監視用IC1の場合と同様、コンデンサC14の静電容量を適宜に設定することで、電源電圧Vccの瞬断状態や瞬停状態では、電源電圧監視用IC2が反応しないよう構成することができる。   The contentor C14 is a delay element that delays the operation of the internal circuit. As in the case of the power supply voltage monitoring IC1, by appropriately setting the capacitance of the capacitor C14, the power supply voltage monitoring IC2 may be configured not to react in the power supply voltage Vcc instantaneously interrupted state or instantaneously stopped state. it can.

電源電圧監視用IC2は、図22(c)の内部回路を有しており、Vs端子が開放状態であれば、Vs端子の電位は、内蔵抵抗によって1.4V程度に設定されている。また、このVs端子は、内蔵されたコンパレータCompSのマイナス端子に接続され、コンパレータCompSのプラス端子には、内蔵回路によって1.24V程度の電圧が供給されている。   The power supply voltage monitoring IC 2 has the internal circuit of FIG. 22C, and when the Vs terminal is in an open state, the potential of the Vs terminal is set to about 1.4 V by a built-in resistor. The Vs terminal is connected to the minus terminal of the built-in comparator CompS, and a voltage of about 1.24 V is supplied to the plus terminal of the comparator CompS by the built-in circuit.

以下、電源電圧監視用IC2の動作を説明すると、電源投入後、タイミングT3(図23(f)参照)に至るまでの期間は、基礎リセット信号RS1バーがHレベルであるので、トランジスタQ3がON状態である。そのため、電源電圧監視用IC2のVs端子の電位が0Vであって、コンパレータCompSの出力がHレベルとなる。   Hereinafter, the operation of the power supply voltage monitoring IC 2 will be described. Since the basic reset signal RS1 bar is at the H level during the period after the power is turned on until the timing T3 (see FIG. 23F), the transistor Q3 is turned on. State. Therefore, the potential of the Vs terminal of the power supply voltage monitoring IC 2 is 0 V, and the output of the comparator CompS becomes H level.

ところが、タイミングT3において、基礎リセット信号RS1バーがLレベルに遷移してトランジスタQ3がOFF状態となると、コンパレータCompSの出力がLレベルに遷移することで、内蔵されたフリップフロップがリセット状態となり、遅延コンデンサC15への充電動作が開始される。そして、遅延コンデンサC15が所定レベルまで充電された後(図23(g)のタイミングT4参照)、CPUリセット信号RS2がLレベルからHレベルに遷移する。   However, when the basic reset signal RS1 bar transits to L level and the transistor Q3 enters the OFF state at timing T3, the output of the comparator CompS transits to L level, so that the built-in flip-flop enters the reset state and delays. The charging operation to the capacitor C15 is started. Then, after the delay capacitor C15 is charged to a predetermined level (see timing T4 in FIG. 23 (g)), the CPU reset signal RS2 changes from the L level to the H level.

CPUリセット信号RS2がLレベルの間は、ワンチップマイコンのリセット端子がLレベルに維持されるので、CPUコアその他は確実にリセット状態となる。なお、リセットホールド時間Tpr[mS]は、外付けコンデンサC15の容量に対応して、Tpr[mS]=1000*C15[μF]となっている。   While the CPU reset signal RS2 is at the L level, the reset terminal of the one-chip microcomputer is maintained at the L level, so that the CPU core and others are surely reset. The reset hold time Tpr [mS] is Tpr [mS] = 1000 * C15 [μF] corresponding to the capacitance of the external capacitor C15.

この電源電圧監視用IC2では、CPUリセット信号RS2がHレベルに遷移して、ワンチップマイコンが動作開始するタイミングに合わせ、電源電圧監視用IC2に内蔵されたウォッチドッグタイマ回路が動作を開始するよう構成されている。   In this power supply voltage monitoring IC 2, the watchdog timer circuit built in the power supply voltage monitoring IC 2 starts to operate at the timing when the CPU reset signal RS 2 transitions to the H level and the one-chip microcomputer starts operating. It is configured.

そのため、その後は、ウォッチドッグタイマ機能が発揮される。具体的に確認すると、ワンチップマイコンの動作開始に合わせて、電源電圧監視用IC2では、遅延コンデンサC15の放電動作が開始され、ワンチップマイコンがクリアパルスを供給する毎に、遅延コンデンサC15の放電動作が充電動作に切り替わる。   Therefore, after that, the watchdog timer function is exhibited. Specifically, when the operation of the one-chip microcomputer is started, the power supply voltage monitoring IC 2 starts the discharge operation of the delay capacitor C15. Every time the one-chip microcomputer supplies a clear pulse, the discharge of the delay capacitor C15 is started. The operation switches to the charging operation.

しかし、プログラム暴走などのトラブルが発生すると(図23(g)のタイミングT5参照)、遅延コンデンサC15の放電動作が継続されることになり、Ct端子の電位が0.4V程度まで降下すると、CPUリセット信号RS2が強制的にLレベルに遷移される。その後、CPUリセット信号RS2は、Lレベルに維持されるが、所定の維持時間Twrの経過後、CPUリセット信号RS2がHレベルに復帰すると、CPUは、電源投入状態と同様の初期処理プログラムの実行を開始する。なお、継続時間Twr[mS]は、遅延コンデンサC15の容量に対応して、Twr[mS]=20*C15[μF]となっている。   However, when trouble such as program runaway occurs (see timing T5 in FIG. 23 (g)), the discharging operation of the delay capacitor C15 is continued, and when the potential of the Ct terminal drops to about 0.4V, the CPU The reset signal RS2 is forcibly transitioned to the L level. Thereafter, the CPU reset signal RS2 is maintained at the L level. However, when the CPU reset signal RS2 returns to the H level after the elapse of the predetermined maintenance time Twr, the CPU executes an initial processing program similar to that in the power-on state. To start. The duration Twr [mS] is Twr [mS] = 20 * C15 [μF] corresponding to the capacity of the delay capacitor C15.

次に、電源遮断時における電源電圧監視用IC2の動作を説明する。電源電圧Vccが所定レベル(4.2V)まで降下すると、CPUリセット信号RS2がLレベルに遷移する(図23(g)のタイミングT8)。そして、その後は、ウォッチドッグタイマ回路の動作が禁止される。   Next, the operation of the power supply voltage monitoring IC 2 when the power is shut off will be described. When the power supply voltage Vcc drops to a predetermined level (4.2 V), the CPU reset signal RS2 changes to the L level (timing T8 in FIG. 23 (g)). Thereafter, the operation of the watchdog timer circuit is prohibited.

ところで、本実施例では、ワンチップマイコンに内蔵されたウォッチドッグタイマ回路を活用せず、あえて、外付けの専用IC2を使用している。それは、CPUが暴走するような異常時には、ワンチップマイコンの内蔵回路にも、何らかの異常が発生している可能性を否定できないため、万全の安全対策を採ったことによる。   By the way, in this embodiment, the watchdog timer circuit built in the one-chip microcomputer is not utilized, and an external dedicated IC 2 is used. This is because when the CPU runs out of control, it is impossible to deny the possibility that some kind of abnormality has occurred in the built-in circuit of the one-chip microcomputer.

また、本実施例では、電源電圧監視用IC1と電源電圧監視用IC2とを重複して配置し、電源電圧監視用IC2から出力される電源リセット信号(CPUリセット信号)RS2を、ワンチップマイコンだけに供給し、電源電圧監視用IC1から出力される電源リセット信号(基礎リセット信号)RS1を、ワンチップマイコン以外のデータ入出力用ICだけに供給している。また、電源電圧監視用IC2のウォッチドッグタイマ機能によって生成されたCPUリセット信号RS2は、ワンチップマイコンだけに供給されているが、このような構成を採る理由は以下の通りである。   Further, in this embodiment, the power supply voltage monitoring IC 1 and the power supply voltage monitoring IC 2 are arranged in an overlapping manner, and the power supply reset signal (CPU reset signal) RS2 output from the power supply voltage monitoring IC 2 is used only for the one-chip microcomputer. The power supply reset signal (basic reset signal) RS1 output from the power supply voltage monitoring IC 1 is supplied only to the data input / output IC other than the one-chip microcomputer. The CPU reset signal RS2 generated by the watchdog timer function of the power supply voltage monitoring IC 2 is supplied only to the one-chip microcomputer. The reason for adopting such a configuration is as follows.

先ず、本実施例の弾球遊技機は、電源バックアップ機能を有しているので、電源投入時に、電源遮断前(前日や停電前)の遊技を再開することもある。そのため、電源投入時には、特に、ラッチ機能を有するデータ入出力用ICを確実にリセット状態にする必要がある。但し、リセットホールド時間は、短くて足りるので、電源電圧監視用IC1を利用して電源リセット信号(基礎リセット信号)RS1を生成している。   First, since the ball game machine of the present embodiment has a power backup function, the game before the power interruption (before the previous day or before a power failure) may be resumed when the power is turned on. Therefore, when the power is turned on, in particular, it is necessary to reliably reset the data input / output IC having a latch function. However, since the reset hold time is short enough, the power supply reset signal (basic reset signal) RS1 is generated using the power supply voltage monitoring IC1.

一方、ワンチップマイコンについては、電源電圧Vcc,VBが安定した後、十分なリセットホールド時間が必要である。また、前記した理由から、ウォッチドッグタイマ回路を外付けするのが好ましく、このウォッチドッグタイマによるCPUリセット信号RS2についても、所望のリセットホールド時間が必要となる。そこで、本実施例では、電源電圧監視用IC1と電源電圧監視用IC2とを直列的に接続して、最適なリセットホールド時間(=Tpo+Tpr)を有する電源リセット信号(CPUリセット信号)RS2を生成すると共に、電源電圧監視用IC2を利用して、異常発生時のCPUリセット信号RS2を生成している。リセットホールド時間は、CPUリセット後の初期処理時間なども考慮して、主制御部20と払出制御部24とで各々最適値に設定される。したがって、例えば、払出制御部24の初期処理動作中に、制御コマンドが送信されることはない。もっとも、初期処理時間において、主制御部20の方が、払出制御部より明らかに長い場合には、リセットホールド時間を同一に設定したので足りる。   On the other hand, for the one-chip microcomputer, a sufficient reset hold time is required after the power supply voltages Vcc and VB are stabilized. For the reason described above, it is preferable to provide a watchdog timer circuit externally, and a desired reset hold time is required for the CPU reset signal RS2 by the watchdog timer. Therefore, in this embodiment, the power supply voltage monitoring IC 1 and the power supply voltage monitoring IC 2 are connected in series to generate a power reset signal (CPU reset signal) RS2 having an optimal reset hold time (= Tpo + Tpr). At the same time, the CPU reset signal RS2 when an abnormality occurs is generated using the power supply voltage monitoring IC2. The reset hold time is set to an optimum value in the main control unit 20 and the payout control unit 24 in consideration of the initial processing time after the CPU reset. Therefore, for example, the control command is not transmitted during the initial processing operation of the payout control unit 24. However, if the main control unit 20 is clearly longer than the payout control unit in the initial processing time, it is sufficient that the reset hold time is set to be the same.

なお、プログラム暴走などによる異常発生時には、基礎リセット信号RS1が発生されることはないので、データ入出力用ICはリセットされない。しかし、電源投入時とは異なり、異常リセット時に、データ入出力用ICにランダムなデータがラッチされることはなく、また、異常リセット時には、RAMクリア処理が実行され、遊技動作が再開されることはないので、データ入出力用ICをリセットしないことに何の問題も生じない。   When an abnormality occurs due to program runaway or the like, the basic reset signal RS1 is not generated, so the data input / output IC is not reset. However, unlike when the power is turned on, random data is not latched in the data input / output IC at the time of abnormal reset, and at the time of abnormal reset, the RAM clear process is executed and the game operation is resumed. There is no problem in not resetting the data input / output IC.

一方、電源電庄(VB,Vcc)の瞬断状態が短時間とはいうものの、コンデンサCll,C12で吸収できない程度に継続した場合には、電源電圧監視用1Clから、基礎リセット信号RSlが出力される。そして、この基礎リセット信号RS1は、トランジスタQ3を短時間だけON動作させる。しかし、トランジスタQ3のON抵抗を適宜な値に設定すると共に、トランジスタQ3に並列接続されるコンデンサC14を適度な静電容量に設定することで、CPUリセット信号RS2の出力を回避することもできる。   On the other hand, if the power supply voltage (VB, Vcc) is momentarily interrupted for a short time, but continues to such an extent that it cannot be absorbed by the capacitors Cll, C12, the basic reset signal RSl is output from the power supply voltage monitoring 1Cl. Is done. The basic reset signal RS1 turns on the transistor Q3 for a short time. However, by setting the ON resistance of the transistor Q3 to an appropriate value and setting the capacitor C14 connected in parallel to the transistor Q3 to an appropriate capacitance, it is possible to avoid the output of the CPU reset signal RS2.

このような場合、データ入出力用ICだけがリセットされることになるが、このリセット動作は、特に、図柄始動口などのスイッチ信号を生成するために使用される電源電圧VB(12V)が、瞬停状態に陥った場合に、データ入出力用ICだけがクリアされる点で効果的である。   In such a case, only the data input / output IC is reset. In particular, this reset operation is performed when the power supply voltage VB (12 V) used for generating a switch signal such as a symbol start port is This is effective in that only the data input / output IC is cleared when the instantaneous power failure state occurs.

以上、本発明の実施例について具体的に説明したが、具体的な記載内容は特に本発明を限定するものではない。   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.

GM 遊技機
21 主制御部
22 サブ制御部
20 電源部
AMU 演出可動体
ORG 原点領域
SS10〜SS18 第一回収手段
SS21〜SS23 第一停止手段
SS17 第一異常検出手段
SS24〜SS34 変則駆動手段
SS37〜SS39 第二停止手段
SS36 第一記憶手段
ST98 演出禁止手段
GM gaming machine 21 main control unit 22 sub control unit 20 power supply unit AMU production movable body ORG origin region SS10-SS18 first recovery means SS21-SS23 first stop means SS17 first abnormality detection means SS24-SS34 irregular drive means SS37-SS39 Second stop means SS36 First storage means ST98 Production prohibition means

上記の目的を達成するため、本発明は、所定のスイッチ信号に起因する抽選処理を実行し、その抽選結果に対応した演出動作を実行する遊技機において、抽選処理を実行して遊技動作を中心的に制御する主制御手段と、主制御手段が出力する制御コマンドに基づいて、演出可動体を使用する可動演出を含んだ演出動作を制御するサブ制御手段と、を設け、演出可動体は、原点検出スイッチが第一出力を示す原点領域と、原点検出スイッチが第二出力を示す演出領域と、に区分される軌道上を移動可能に構成され、サブ制御手段は、適宜な演出動作の開始時を含んだ判定タイミングに起動され、記憶部に異常情報が記憶されているか否かに拘わらず、原点領域に位置しない演出可動体を原点領域に回収するべく初期駆動する回収手段と、初期駆動の途中で、原点検出スイッチから第一出力が得られることに基づいて演出可動体を停止させる停止手段と、初期駆動を終えても、原点検出スイッチから第一出力が得られない異常を検出した後、前記記憶部に異常情報を記憶する記憶手段と、を有して構成され、前記停止手段は、原点検出スイッチから第一出力が得られた後、所定の追加駆動を経た上で演出可動体を停止させるよう構成されているIn order to achieve the above object, the present invention executes a lottery process caused by a predetermined switch signal, and performs a lottery process in a gaming machine that executes an effect operation corresponding to the lottery result. Main control means for automatically controlling, and sub-control means for controlling the production operation including the movable production using the production movable body based on the control command output by the main control means , The origin control switch is configured to be movable on a trajectory divided into an origin area where the first output shows the first output and an effect area where the origin detection switch shows the second output, and the sub-control means starts the appropriate presentation operation. It is activated determination timing including the time, the abnormality information in the storage unit regardless of whether it is stored, and a recovery means for initial drive in order to recover the presentation movable body is not located at the origin region the origin region, the initial ejection In the middle of, and stop means for the first output stops the presentation movable body based particular obtained from the origin detection switch, even after the initial drive, detects an abnormality which does not first output is obtained from the origin detection switch And storage means for storing abnormality information in the storage unit, and the stop means is movable after a predetermined additional drive after a first output is obtained from the origin detection switch. Configured to stop the body .

Claims (11)

所定のスイッチ信号に起因する抽選処理を実行し、その抽選結果に対応した演出動作を経た上で、抽選結果が当選状態であれば、遊技者に有利な遊技状態に移行させる遊技機において、
抽選処理を実行して遊技動作を中心的に制御する主制御部と、主制御部が出力する制御コマンドに基づいて、演出可動体を使用する可動演出を含んだ演出動作を制御するサブ制御部と、を設け、演出可動体は、原点検出スイッチが第一出力を示す原点領域と、原点検出スイッチが第二出力を示す演出領域と、に区分される軌道上を移動可能に構成され、サブ制御部は、
そのCPUの電源リセット時を含んだ適宜なタイミングで起動され、原点検出スイッチの出力に基づき、原点領域に位置しないと判定される演出可動体を、原点領域に回収するべく初期駆動する第一回収手段と、
初期駆動の途中で、原点検出スイッチから第一出力が得られると、その後の終了駆動を経て演出可動体を停止させる第一停止手段と、
初期駆動を終えても、原点検出スイッチから第一出力が得られない異常を検出する第一異常検出手段と、
第一異常検出手段の異常検出に基づいて、演出可動体を変則駆動する変則駆動手段と、
変則駆動の途中で、原点検出スイッチから第一出力が得られると、その後の終了駆動を経て演出可動体を停止させる第二停止手段と、
変則駆動を終えても、原点検出スイッチから第一出力が得られない異常を検出すると、記憶部に異常情報を記憶する第一記憶手段と、
記憶部に異常情報が記憶されている限り、その後の可動演出を禁止する演出禁止手段と、を有して構成され、
記憶部に記憶されている異常情報は、主制御部のCPUがリセットされたことを条件に、遊技者に報知されるよう構成されていることを特徴とする遊技機。
In a gaming machine that 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, the gaming machine shifts to a gaming state advantageous to the player,
A main control unit that executes a lottery process to centrally control game operations, and a sub-control unit that controls a production operation including a movable production using a production movable body based on a control command output by the main control unit And the effect movable body is configured to be movable on a trajectory divided into an origin region where the origin detection switch indicates the first output and an effect region where the origin detection switch indicates the second output. The control unit
The first recovery that is activated at an appropriate timing including when the power of the CPU is reset and that is initially driven to recover the effect movable body that is determined not to be located in the origin area based on the output of the origin detection switch to the origin area Means,
During the initial drive, when the first output is obtained from the origin detection switch, the first stop means for stopping the effect movable body through the subsequent end drive,
First abnormality detection means for detecting an abnormality in which the first output cannot be obtained from the origin detection switch even after the initial drive is completed;
Based on the abnormality detection of the first abnormality detection means, an irregular drive means for irregularly driving the effect movable body,
During the irregular drive, when the first output is obtained from the origin detection switch, the second stop means for stopping the effect movable body through the subsequent end drive,
A first storage means for storing abnormality information in the storage unit when detecting an abnormality in which the first output cannot be obtained from the origin detection switch even after finishing the irregular drive;
As long as abnormality information is stored in the storage unit, the production prohibiting means for prohibiting the subsequent movable production,
An abnormality information stored in the storage unit is configured to be notified to the player on condition that the CPU of the main control unit is reset.
変則駆動手段による変速駆動では、演出可動体を演出領域に向けて駆動する順方向駆動と、その後に原点領域に向けて駆動する逆方向駆動と、を有して構成されている請求項1に記載の遊技機。   The variable speed drive by the irregular drive means is configured to have a forward direction drive for driving the effect movable body toward the effect region and a reverse direction drive for driving toward the origin region thereafter. The gaming machine described. 主制御部のCPUがリセットされると初期動作コマンドを出力するよう構成され、
初期動作コマンドを受けたサブ制御部は、
記憶部に異常情報が記憶されている場合には、報知動作を開始するよう構成されている請求項1又は2に記載の遊技機。
It is configured to output an initial operation command when the CPU of the main control unit is reset,
The sub control unit that received the initial operation command
The gaming machine according to claim 1 or 2, configured to start a notification operation when abnormality information is stored in the storage unit.
主制御部のCPUがリセットされると初期動作コマンドを出力するよう構成され、
初期動作コマンドを受けたサブ制御部は、
演出可動体が原点領域に位置しないと判定され、且つ、記憶部に異常情報が記憶されていない場合には、第一回収手段を起動させ、
その後は、必要に応じて、第一停止手段、第一異常検出手段、変則駆動手段、第二停止手段、第一記憶手段、演出禁止手段の全部又は一部を起動させるよう構成されている請求項1〜3の何れかに記載の遊技機。
It is configured to output an initial operation command when the CPU of the main control unit is reset,
The sub control unit that received the initial operation command
When it is determined that the effect movable body is not located in the origin area and the abnormality information is not stored in the storage unit, the first collection unit is activated,
After that, the first stop means, the first abnormality detection means, the anomalous drive means, the second stop means, the first storage means, and the production prohibition means are configured to activate all or a part as required. Item 4. The gaming machine according to any one of Items 1 to 3.
主制御部のCPUがリセットされると初期動作コマンドを出力するよう構成され、
初期動作コマンドを受けたサブ制御部は、
演出可動体が原点領域に位置すると判定されて第一回収手段の起動が回避されたか、或いは、第一回収手段が起動されて第一停止手段又は第二停止手段を経て演出可動体が原点領域に回収された後は、
演出可動体を原点領域から演出領域に移行させるべく離脱駆動する離脱手段を機能させ
るよう構成されている請求項1又は2に記載の遊技機。
It is configured to output an initial operation command when the CPU of the main control unit is reset,
The sub control unit that received the initial operation command
It is determined that the effect movable body is located in the origin area and the activation of the first recovery means is avoided, or the first recovery means is activated and the effect movable body is moved to the origin area via the first stop means or the second stop means. After being collected in
The gaming machine according to claim 1 or 2, wherein a detaching means for detaching and driving the effect movable body to move from the origin area to the effect area is made to function.
離脱手段による離脱駆動の途中で、原点検出スイッチから第二出力が得られると、同一方向への更なる駆動を経て、最終的に演出可動体を原点領域に回収する第二回収手段と、
離脱駆動を終えても、原点検出スイッチから第二出力が得られない異常を検出すると、追加する駆動を経ることなく記憶部に異常情報を記憶する第二記憶手段と、
記憶部に記憶されている異常情報に基づき、遊技者に異常報知する異常報知手段と、を更に設けた請求項5に記載の遊技機。
When the second output is obtained from the origin detection switch in the middle of the detachment drive by the detachment means, through the further drive in the same direction, finally the second collection means for collecting the effect movable body to the origin area,
A second storage means for storing abnormality information in the storage unit without passing through an additional drive when detecting an abnormality in which the second output cannot be obtained from the origin detection switch even after the detachment driving is completed;
The gaming machine according to claim 5, further comprising abnormality notifying means for notifying a player of abnormality based on abnormality information stored in the storage unit.
記憶部に記憶された異常情報に基づき、その後の可動演出は、演出禁止手段によって禁止されるよう構成されている請求項6に記載の遊技機。   The gaming machine according to claim 6, wherein the subsequent movable effect is prohibited by the effect prohibiting unit based on the abnormality information stored in the storage unit. 原点領域及び演出領域は、円環状又は直線状の軌道上に形成されている請求項1〜7の何れかに記載の遊技機。   The gaming machine according to any one of claims 1 to 7, wherein the origin area and the effect area are formed on an annular or linear track. 外部から受ける交流電圧を整流して得られる直流電圧を、主制御部及びサブ制御部に供給する電源部を設け、
サブ制御部のCPUは、直流電圧に基づいて電源部で生成される電源リセット信号によって電源リセットされる一方、
主制御部のCPUは、電源部から供給される直流電圧に基づいて主制御部で生成される電源リセット信号によって電源リセットされるよう構成されている請求項1〜8の何れかに記載の遊技機。
A power supply unit is provided for supplying a DC voltage obtained by rectifying an AC voltage received from the outside to the main control unit and the sub-control unit,
While the CPU of the sub-control unit is reset by a power reset signal generated by the power supply unit based on the DC voltage,
The game according to any one of claims 1 to 8, wherein the CPU of the main control unit is configured to be reset in power by a power reset signal generated by the main control unit based on a DC voltage supplied from the power supply unit. Machine.
直流電圧がキャパシタンス素子によって維持される構成を採ることで、遮断された交流電圧が素早く復帰する瞬停時には、何れの電源リセット信号も生成されないよう構成されている請求項9に記載の遊技機。   The gaming machine according to claim 9, wherein any power supply reset signal is not generated during a momentary power failure in which the interrupted AC voltage quickly recovers by adopting a configuration in which the DC voltage is maintained by the capacitance element. サブ制御部及び/又は主制御部のCPUは、所定時間以上クリアパルスを受けないと、強制的にリセットされるよう構成されている請求項1〜7の何れかに記載の遊技機。   The gaming machine according to any one of claims 1 to 7, wherein the CPU of the sub-control unit and / or the main control unit is configured to be forcibly reset if no clear pulse is received for a predetermined time or longer.
JP2014107700A 2014-05-26 2014-05-26 Game machine Active JP5766849B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014107700A JP5766849B2 (en) 2014-05-26 2014-05-26 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014107700A JP5766849B2 (en) 2014-05-26 2014-05-26 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012205550A Division JP5563035B2 (en) 2012-09-19 2012-09-19 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015120808A Division JP6189366B2 (en) 2015-06-16 2015-06-16 Game machine

Publications (2)

Publication Number Publication Date
JP2014208201A true JP2014208201A (en) 2014-11-06
JP5766849B2 JP5766849B2 (en) 2015-08-19

Family

ID=51902882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014107700A Active JP5766849B2 (en) 2014-05-26 2014-05-26 Game machine

Country Status (1)

Country Link
JP (1) JP5766849B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61208512A (en) * 1985-03-13 1986-09-16 Mitsubishi Electric Corp Robot
JPH07316812A (en) * 1994-05-17 1995-12-05 Nissin Electric Co Ltd Method for positioning holder
JP2006187520A (en) * 2005-01-07 2006-07-20 Fujishoji Co Ltd Game machine
JP2007089848A (en) * 2005-09-29 2007-04-12 Ace Denken:Kk Game machine
JP2008012194A (en) * 2006-07-07 2008-01-24 Newgin Corp Game machine
JP2009011570A (en) * 2007-07-04 2009-01-22 Abilit Corp Game machine
JP2009106546A (en) * 2007-10-30 2009-05-21 Toyomaru Industry Co Ltd Game machine
JP2009165527A (en) * 2008-01-11 2009-07-30 Olympia:Kk Pachinko game machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61208512A (en) * 1985-03-13 1986-09-16 Mitsubishi Electric Corp Robot
JPH07316812A (en) * 1994-05-17 1995-12-05 Nissin Electric Co Ltd Method for positioning holder
JP2006187520A (en) * 2005-01-07 2006-07-20 Fujishoji Co Ltd Game machine
JP2007089848A (en) * 2005-09-29 2007-04-12 Ace Denken:Kk Game machine
JP2008012194A (en) * 2006-07-07 2008-01-24 Newgin Corp Game machine
JP2009011570A (en) * 2007-07-04 2009-01-22 Abilit Corp Game machine
JP2009106546A (en) * 2007-10-30 2009-05-21 Toyomaru Industry Co Ltd Game machine
JP2009165527A (en) * 2008-01-11 2009-07-30 Olympia:Kk Pachinko game machine

Also Published As

Publication number Publication date
JP5766849B2 (en) 2015-08-19

Similar Documents

Publication Publication Date Title
JP5096523B2 (en) Game machine
JP5084871B2 (en) Game machine
JP2011234875A (en) Game machine
JP5208165B2 (en) Game machine
JP5868361B2 (en) Game machine
JP5543281B2 (en) Game machine
JP5199309B2 (en) Game machine
JP5571449B2 (en) Game machine
JP6029635B2 (en) Game machine
JP5889964B2 (en) Game machine
JP5356314B2 (en) Game machine
JP5599233B2 (en) Game machine
JP6031129B2 (en) Game machine
JP5889963B2 (en) Game machine
JP5684299B2 (en) Game machine
JP6121011B2 (en) Game machine
JP6268156B2 (en) Game machine
JP6189366B2 (en) Game machine
JP6121012B2 (en) Game machine
JP5766849B2 (en) Game machine
JP5766846B2 (en) Game machine
JP5563035B2 (en) Game machine
JP2017006749A (en) Game machine
JP2014223511A (en) Game machine
JP5647216B2 (en) Game machine

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150520

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150526

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150617

R150 Certificate of patent or registration of utility model

Ref document number: 5766849

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