JP5778653B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5778653B2
JP5778653B2 JP2012265942A JP2012265942A JP5778653B2 JP 5778653 B2 JP5778653 B2 JP 5778653B2 JP 2012265942 A JP2012265942 A JP 2012265942A JP 2012265942 A JP2012265942 A JP 2012265942A JP 5778653 B2 JP5778653 B2 JP 5778653B2
Authority
JP
Japan
Prior art keywords
effect
state
movable body
motor
origin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012265942A
Other languages
Japanese (ja)
Other versions
JP2013063302A (en
Inventor
真一 岸本
真一 岸本
Original Assignee
株式会社藤商事
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 株式会社藤商事 filed Critical 株式会社藤商事
Priority to JP2012265942A priority Critical patent/JP5778653B2/en
Publication of JP2013063302A publication Critical patent/JP2013063302A/en
Application granted granted Critical
Publication of JP5778653B2 publication Critical patent/JP5778653B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Display Devices Of Pinball Game Machines (AREA)
  • Pinball Game Machines (AREA)

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 can appropriately drive an effect movable body.

パチンコ機などの弾球遊技機は、遊技盤に設けた図柄始動口と、複数の表示図柄による一連の図柄変動態様を表示する図柄表示部と、開閉板が開閉される大入賞口などを備えて構成されている。そして、図柄始動口に設けられた検出スイッチが遊技球の通過を検出すると入賞状態となり、遊技球が賞球として払出された後、図柄表示部では表示図柄が所定時間変動される。その後、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.

また、最終結果が確定する以前に、キャラクタが出現したり、演出可動体が回転を開始して、大当り状態の招来を予告する予告演出も実行されている。演出可動体は、例えば、大当り状態に至る可能性が高い演出動作時に、所定方向に所定角度だけ回転して、予め決定されている信頼性をもって抽選結果を予告している(特許文献1〜3)。   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 at a predetermined angle in a predetermined direction at the time of an effect operation that is likely to reach a big hit state, and notifies the lottery result with a predetermined reliability (Patent Documents 1 to 3). ).

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

しかしながら、演出可動体の重量や演出内容に応じて、使用するモータの種類や駆動方式を種々変更する必要があるので、設計変更の容易な回路構成や制御構成が必要となる。また、演出可動体の重量に拘らず、円滑かつ迅速に昇降できる構成が必要であり、且つ、異常時からの復帰も容易な構成が望まれる。   However, since it is necessary to variously change the type and driving method of the motor to be used in accordance with the weight of the effect movable body and the contents of the effect, a circuit configuration and a control configuration that allow easy design changes are required. In addition, a configuration that can smoothly and quickly be raised and lowered regardless of the weight of the effect movable body is required, and a configuration that can easily be restored from an abnormal time is desired.

本発明は、上記の問題点に鑑みてなされたものであって、演出可動体を適切に駆動できる構成を有する遊技機を提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object thereof is to provide a gaming machine having a configuration capable of appropriately driving a production movable body.

上記の目的を達成するため、本発明は、所定のスイッチ信号に起因する抽選処理を実行して、これに当選すると遊技者に有利な遊技状態に移行可能に制御する主制御手段と、主制御手段からの制御コマンドに基づいて、必要時には演出可動体の可動演出を実行するサブ制御手段と、を有して構成された遊技機であって、前記演出可動体は、センサが第1状態を示す原点領域と、前記センサが第2状態を示す他の演出領域とを往復運動可能な一対の可動体で保持され、一対の可動体は、同期回転可能な一対の駆動モータによって一体的に移動するよう構成され、サブ制御手段のCPUがリセットされたことに基づき、演出可動体を、動作許可状態(ER=0)に設定すると共に、CPUを割込み許可状態に設定する設定処理と、前記設定処理による設定動作に基づき実行されるタイマ割込み動作において、前記センサが第2状態であるか否かを判定し、第2状態であれば、演出可動体を原点領域に回収するべく、一方の駆動モータの時計方向又は反時計方向への連続駆動を開始する一方、他方の駆動モータを、その反対方向に同期して連続駆動を開始する原点検出処理と、原点検出処理による所定回数のタイマ割込み動作による連続駆動にも拘らず、前記センサが第1状態に変化しない場合、この異常を記憶して一対の駆動モータを自由回転可能な非駆動状態に維持すると共に、演出可動体を動作禁止状態(ER=1)に設定する停止処理と、を設け、動作禁止状態(ER=1)が維持される限り、演出可動体による可動演出が回避される一方、所定のタイミングで実行される回復動作に成功すると、演出可動体が動作許可状態(ER=0)に設定されることで、前記原点検出処理が再実行可能に構成されている。 In order to achieve the above object, the present invention executes a lottery process caused by a predetermined switch signal, and main control means for controlling so as to be able to shift to a gaming state advantageous to a player when winning is performed, and main control And a sub-control means for executing a movable effect of the effect movable body based on a control command from the means, wherein the effect movable body has a sensor in a first state. And a pair of movable bodies that can reciprocate between the origin area and the other effect areas where the sensor indicates the second state, and the pair of movable bodies are moved together by a pair of synchronously rotatable drive motors. And a setting process for setting the rendering movable body in the operation-permitted state (ER = 0) and setting the CPU in the interrupt-permitted state based on the resetting of the CPU of the sub-control means. To processing In the timer interrupt operation which is executed based on the setting operation that the sensor is equal to or in the second state, if the second state, in order to recover the presentation movable body to the origin region, one drive motor of one to start continuous drive in the clockwise direction or counterclockwise direction, the other drive motor, and the origin detection process to start the continuous driven in synchronism in the opposite direction, by the timer interrupt operation of a predetermined number of times by the origin detection process If the sensor does not change to the first state in spite of continuous driving , this abnormality is stored and the pair of driving motors are maintained in a non-driving state in which the pair of driving motors can freely rotate , and the effect movable body is in an operation prohibited state (ER = a stop process of setting to 1), the provided, as long as the operation disabled state (ER = 1) is maintained, while the movable effects by directing the movable body is avoided, recovery movement which is executed at a predetermined timing Successful, by directing the movable member is set to the operation permission state (ER = 0), the processing for detecting the home position is configured to be re-executed.

好適には、前記サブ制御部は、演出動作を実行するCPUのリセット時、及び演出可動体の演出動作の終了時に、演出可動体を原点領域に回収するべく、一対の駆動モータを回転させる回収処理と、演出可動体の演出動作時に、演出可動体を原点領域から演出位置に移動させるべく、一対の駆動モータを回転させる演出開始処理と、前記回収処理に拘らず原点領域に回収できない場合に機能して、一対の駆動モータを回転させるリトライ処理と、を有して構成され、前記リトライ処理では、演出可動体を演出位置に移動させるべく一対の駆動モータを第1回転させた後に、反対方向に第2回転させる。ここで、前記リトライ処理における一対の駆動モータの第1回転は、演出開始処理における駆動モータの回転速度より遅く設定されているのが好ましい。   Preferably, the sub-control unit collects the pair of drive motors so as to collect the effect movable body in the origin region at the time of resetting the CPU that executes the effect operation and at the end of the effect operation of the effect movable body. When the process and the effect movable body effect operation, the effect start process for rotating the pair of drive motors to move the effect movable body from the origin area to the effect position and when the collection cannot be recovered in the origin area regardless of the recovery process And a retry process for rotating the pair of drive motors. In the retry process, after the first pair of drive motors are rotated to move the effect movable body to the effect position, the opposite process is performed. Make a second rotation in the direction. Here, it is preferable that the first rotation of the pair of drive motors in the retry process is set slower than the rotation speed of the drive motor in the effect start process.

前記一対の駆動モータは、前記回収処理、及び、前記演出開始処理において、実質的に同一タイミングで駆動データを受けているのが好ましく、また、前記一対の駆動モータは、前記リトライ処理において、実質的に異なるタイミングで駆動データを受けているのが好ましい。なお、本発明の遊技機は、典型的には弾球遊技機又は回胴式遊技機である。   The pair of drive motors preferably receive drive data at substantially the same timing in the collection process and the effect start process, and the pair of drive motors substantially in the retry process. It is preferable to receive drive data at different timings. 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, a gaming machine having a configuration capable of appropriately driving the effect movable body can be realized.

実施例に示すパチンコ機の斜視図である。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 raising / lowering motor and an origin switch. 演出可動体AMUの構成を説明する図面である。It is drawing explaining the structure of production movable body AMU. 演出制御部の処理を説明するフローチャートである。It is a flowchart explaining the process of an effect control part. モータ処理を概略的に説明するフローチャートである。It is a flowchart explaining a motor process roughly. 昇降モータの歩進処理を説明するフローチャートである。It is a flowchart explaining the stepping process of a raising / lowering motor. 原点検出処理を説明するフローチャートである。It is a flowchart explaining an origin detection process. リトライ処理を説明するフローチャートである。It is a flowchart explaining a retry process. 演出開始処理を説明するフローチャートである。It is a flowchart explaining an effect start process. 演出回転処理を説明するフローチャートである。It is a flowchart explaining an effect rotation process. 歩進処理の変形例を説明するフローチャートである。It is a flowchart explaining the modification of step process. 本発明の変形例を説明する図面である。It is drawing explaining the modification of this invention.

以下、実施例に基づいて本発明を詳細に説明する。図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は、一体的に昇降する左右の可動体MV1,MV2に保持されて構成されている。なお、通常時には、演出可動体AMUは、可動体MV1,MV2に吊り上げられて原点位置で待機している。   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 is configured to be held by the left and right movable bodies MV1, MV2 that move up and down integrally. In the normal state, the effect movable body AMU is lifted by the movable bodies MV1 and MV2 and stands by at the origin position.

遊技領域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’と共に、ドライバ回路45A,45Bに対して、二種類の駆動データΦ1〜Φ4,Φ1’〜Φ4’が時間順次に出力されている。二種類の駆動データΦ1〜Φ4,Φ1’〜Φ4’は、各々ステッピングモータで構成された同一特性の昇降モータMO1,MO2に、同一タイミングで供給される。ここで、駆動データΦ1〜Φ4と駆動データΦ1’〜Φ4’は、互いに位相が相違しており、一方の昇降モータMO1が正回転するときには、他方の昇降モータMO2は逆回転するよう制御される。   The one-chip microcomputer 40 includes a parallel input / output port PIO. From the parallel port PIO, two types of drive data Φ1 to Φ4 and Φ1 ′ to Φ4 ′ are sequentially output to the driver circuits 45A and 45B together with the control command CMD ′ and the strobe signal STB ′. . The two types of drive data Φ1 to Φ4, Φ1 ′ to Φ4 ′ are supplied at the same timing to the lift motors MO1 and MO2 having the same characteristics, each formed of a stepping motor. Here, the drive data Φ1 to Φ4 and the drive data Φ1 ′ to Φ4 ′ are different in phase from each other, and when one lift motor MO1 rotates forward, the other lift motor MO2 is controlled to rotate reversely. .

また、各昇降モータMO1に関連して、原点スイッチORGが設けられており、そのスイッチ信号(原点検出信号)SNは、パラレルポートPIOに入力されている。原点スイッチORGは、演出可動体AMUを原点領域に回収する共に、正確に、原点位置に静止するために使用される。   Further, an origin switch ORG is provided in association with each lifting motor MO1, and the switch signal (origin detection signal) SN is input to the parallel port PIO. The origin switch ORG is used for collecting the effect movable body AMU in the origin area and accurately stopping at the origin position.

ウォッチドッグタイマ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を使用する予告動作時には、同一特性の昇降モータMO1,MO2を同期回転させて演出可動体AMUを降下させた後、回転モータRO(図6)が動作して演出可動体AMUの演出動作が実行される。   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. At the time of the advance notice operation using the production movable body AMU, the elevator motors MO1 and MO2 having the same characteristics are synchronously rotated to lower the production movable body AMU, and then the rotary motor RO (FIG. 6) is operated to produce the production movable body. An AMU rendering operation is executed.

このような演出動作に同期した図柄演出を実現するため、演出制御部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を保持して昇降する可動体MV1,MV2と、可動体MV1,MV2を昇降させる昇降モータMO1,MO2について図5及び図6に基づいて説明する。   Next, the movable bodies MV1 and MV2 that move up and down while holding the effect movable body AMU, and the lift motors MO1 and MO2 that move up and down the movable bodies MV1 and MV2, will be described with reference to FIGS.

図5(b)に示す通り、実施例の昇降モータMO1,MO2は、各々、二相励磁される同一特性のステッピングモータMOで構成され、各ドライバ回路45A,45Bは、ダーリントン接続されたトランジスタTrとダンパーダイオードDpとを有して構成されている。そして、この実施例では、昇降モータMO1,MO2が、360/245°ピッチで回転しており、昇降モータMO1,MO2が245ステップの駆動パルスΦ1〜Φ4,Φ1’〜Φ4’を受けて一回転するよう構成されている。   As shown in FIG. 5B, each of the lifting motors MO1 and MO2 of the embodiment is composed of a stepping motor MO having the same characteristic that is two-phase excited, and each of the driver circuits 45A and 45B is a transistor Tr connected in Darlington connection. And a damper diode Dp. In this embodiment, the elevating motors MO1 and MO2 are rotated at a 360/245 ° pitch, and the elevating motors MO1 and MO2 receive the 245-step drive pulses Φ1 to Φ4, Φ1 ′ to Φ4 ′, and rotate once. It is configured to

駆動パルスΦ1〜Φ4,Φ1’〜Φ4’は、例えば、4ビット長の駆動データ0101,1001,1010,0110を、ドライバ回路45A、45Bに出力することで生成され、出力する駆動データを変化させることで昇降モータMO1,MO2が単位ステップ角(360/245°)ごとに歩進する。なお、駆動データが変化しない場合には昇降モータMO1,MO2が拘束状態で停止する。一方、非駆動データ(0000)をドライバ回路45A,45Bに出力すると、昇降モータMO1,MO2は自由回転可能な非拘束状態となる。   The drive pulses Φ1 to Φ4, Φ1 ′ to Φ4 ′ are generated, for example, by outputting drive data 0101, 1001, 1010, and 0110 having a 4-bit length to the driver circuits 45A and 45B, and changing the output drive data. Thus, the elevating motors MO1 and MO2 advance at every unit step angle (360/245 °). When the drive data does not change, the lifting motors MO1 and MO2 are stopped in a restrained state. On the other hand, when the non-driving data (0000) is output to the driver circuits 45A and 45B, the elevating motors MO1 and MO2 are in an unconstrained state that allows free rotation.

このような昇降モータMO1,MO2の回転軸には、円形歯車(ピニオン)が装着され、可動体MV1,MV2(図6参照)の外面に形成されたラックにピニオンが歯合している。そして、昇降モータMO1が時計方向(反時計方向)に回転する場合には、昇降モータMO2が反時計方向(時計方向)に同期回転することで、可動体MV1.MV2が昇降モータMO1,MO2に駆動されて一体的に昇降する。なお、演出可動体AMUは、可動体MV1,MV2に保持された状態で、回転モータROによって適宜に回転される。また、左右の可動体MV1,MV2の運動経路の終端には、それ以上の上昇を阻止するストッパ機構(メカロック)が配置されている(図6)。   Circular shafts (pinions) are mounted on the rotation shafts of the elevating motors MO1 and MO2, and the pinions mesh with racks formed on the outer surfaces of the movable bodies MV1 and MV2 (see FIG. 6). When the elevating motor MO1 rotates clockwise (counterclockwise), the elevating motor MO2 rotates synchronously counterclockwise (clockwise), so that the movable body MV1. The MV2 is driven by the lifting motors MO1 and MO2 and moves up and down integrally. The effect movable body AMU is appropriately rotated by the rotary motor RO while being held by the movable bodies MV1 and MV2. Further, a stopper mechanism (mechanical lock) for preventing further upward movement is disposed at the end of the movement path of the left and right movable bodies MV1, MV2 (FIG. 6).

図6に示す通り、左側の可動体MV1の基端には、遮光片SHが配置される一方、遮光片SHの移動経路には、フォトインタラプタPHが配置されている。そして、フォトインタラプタPHと遮光片SHとで原点スイッチORGを構成している。すなわち、原点スイッチORGは、発光部と受光部とを有するフォトインタラプタPHと、発光部から放射された検査光を遮断する遮光片SHとで構成されている。なお、発光部はフォトダイオードで構成され、受光部はフォトトランジスタで構成されている(図5(a)参照)。   As shown in FIG. 6, the light shielding piece SH is disposed at the base end of the left movable body MV1, and the photointerrupter PH is disposed in the movement path of the light shielding piece SH. The photo interrupter PH and the light shielding piece SH constitute an origin switch ORG. That is, the origin switch ORG is composed of 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. 5A).

そのため、原点検出信号SNは、フォトトランジスタの出力として、通常時はLレベル(OFFレベル)であるが、遮光片SHによる遮光状態ではHレベル(ONレベル)となる。ここで、原点検出信号SNは、可動体MV1の移動速度Vと、フォトインタラプタPHや遮光片SHの上下幅とに対応して、所定の時間だけHレベルとなる。そこで、この実施例では、遮光片SHが、フォトインタラプタPHの検査光を遮蔽状態に維持する領域をもって原点領域と定義する。   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. Here, the origin detection signal SN becomes the H level for a predetermined time corresponding to the moving speed V of the movable body MV1 and the vertical width of the photo interrupter PH and the light shielding piece SH. 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.

ところで、本実施例では、可動体MV1,MV2の可動範囲は、可動体MV1の原点位置(原点領域中の基準位置)から、図6に破線で示す下限位置までであり(移動距離L)、原点位置と下限位置は、各々、各ステッピングモータ(昇降モータMO1,MO2)に供給される駆動データΦ1〜Φ4,Φ1’〜Φ4’のステップ数で規定されている。   By the way, in the present embodiment, the movable range of the movable bodies MV1 and MV2 is from the origin position (reference position in the origin area) of the movable body MV1 to the lower limit position indicated by the broken line in FIG. 6 (movement distance L). The origin position and the lower limit position are respectively defined by the number of steps of drive data Φ1 to Φ4, Φ1 ′ to Φ4 ′ supplied to each stepping motor (lifting motors MO1 and MO2).

具体的には、原点位置は、上昇中の可動体MV1の遮光片SHが、フォトインタラプタPHの検査光を遮光してから、更に原点領域中をNステップ上昇した位置、つまり、ステッピングモータMO1がNステップ更に反時計方向に歩進した位置であると規定している。一方、下限位置は、原点位置からMステップ降下した位置、つまり、ステッピングモータMO1が原点位置から時計方向にMステップ歩進した位置であると規定している。   Specifically, the origin position is a position where the light-shielding piece SH of the moving movable body MV1 has shielded the inspection light from the photointerrupter PH and then further raised N steps in the origin area, that is, the stepping motor MO1 It is defined that the position has advanced N steps further counterclockwise. On the other hand, the lower limit position is defined as a position that is lowered M steps from the origin position, that is, a position where the stepping motor MO1 has advanced M steps clockwise from the origin position.

ここで、昇降モータMO1が、単位時間τを要して1ステップ角だけ回転して、ラックが単位距離UN移動すると仮定すると、図6に示す最大移動距離Lは、L=UN*Mであり、移動時間はτ*Mである。なお、以下の説明では、原点位置を規定するステップ数Nを第1基準値とし、下限位置を規定するステップ数Mを第2基準値ということがある。   Here, assuming that the elevating motor MO1 rotates by one step angle over a unit time τ and the rack moves a unit distance UN, the maximum movement distance L shown in FIG. 6 is L = UN * M. The travel time is τ * M. In the following description, the step number N that defines the origin position may be referred to as a first reference value, and the step number M that defines the lower limit position may be referred to as a second reference value.

図7〜図12は、主として、演出可動体AMUの動作内容を説明するフローチャートであり、図7は、演出制御部22の全体的な動作を説明するフローチャートである。なお、演出制御部22は、主制御部21から受ける制御コマンドに基づいて必要時に演出可動体AMUを動作させる。   7 to 12 are mainly flowcharts for explaining the operation content of the effect movable body AMU, and FIG. 7 is a flowchart for explaining the overall operation of the effect control unit 22. The production control unit 22 operates the production movable body AMU when necessary based on a control command received from the main control unit 21.

図7に示す通り、演出制御部22は、CPUがリセットされて開始されるメイン処理(a)と、ストローブ信号STBによって起動される受信割込み処理(b)と、10mS毎に起動される第1タイマ割込み処理(c)と、2mS毎に起動される第2タイマ割込み処理(d)と、を含んで構成されている。   As shown in FIG. 7, the effect 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.

図7(d)に示す通り、第2タイマ割込み処理では、電飾ランプを駆動するランプ演出処理(ST67)と、必要に応じて演出可動体AMUを駆動する演出モータ処理(ST68)とが2mS毎に実行される。   As shown in FIG. 7 (d), 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.

図7(a)に示す通り、メイン処理(CPUリセット処理)では、ワンチップマイコン40内部の初期設定を実行した後(ST46)、バックアップ判定処理を実行する(ST47)。バックアップ判定処理とは、バックアップ処理(ST63)において保存されたデータの正当性を判定する処理である。バックアップ処理(ST63)において保存されるデータは、特に限定されないが、例えば、(1) RAM領域の所定データに対するチェックサム演算のサム値、(2) RAM領域に離散的に保存された特定データ、(3) RAM領域の所定データを別の領域に保存したバックアップデータなどを例示することができる。   As shown in FIG. 7A, 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)。   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リセット信号がアクティブレベルとなる異常リセット時もある。   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 may not be possible to detect legitimate data 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が、ホットスタートしたか、コールドスタートしたかに拘わらず、昇降モータMOiのモータ動作フラグFGの値を1に設定する(ST52)。ここで、2つの昇降モータMO1,MO2を総称してMOiという(以下同じ)。また、昇降モータMOiの異常状態を示す異常フラグERを正常レベルの0に初期設定すると共に、動作モードMDを0に初期設定する。後述するように、モータ動作フラグFGが1に設定されると、その後の演出モータ処理(ST68)において、演出可動体AMUが原点位置に復帰するべく駆動される。   Next, the effect control unit 22 sets the value of the motor operation flag FG of the elevating motor MOi to 1 regardless of whether it is hot-started or cold-started (ST52). Here, the two lift motors MO1 and MO2 are collectively referred to as MOi (hereinafter the same). Further, the abnormality flag ER indicating the abnormal state of the lifting motor MOi is initialized to a normal level of 0, and the 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.

ステップ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.

図7(c)に示す通り、10mS間隔でタイマ割込みが生じる毎に、割込みフラグがセットされるので(ST66)、メイン処理のステップST56の処理では、割込みフラグがONになるのを繰り返しチェックする。そして、割込みフラグがONとなると、これをOFFにリセットした後に、タイマ更新処理を実行する(ST57)。タイマ更新処理で更新されるタイマには、後述する異常報知タイマや、クリア報知タイマが含まれており、各タイマは、ゼロになるまでデクリメント(−1)処理によって更新される。   As shown in FIG. 7C, since an interrupt flag is set every time a timer interrupt occurs at an interval of 10 ms (ST66), 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.

続いて、受信割込み処理(図7(b))で受信された制御コマンド(受信コマンド)について、コマンド解析処理が実行される(ST58)。ここで、変動パターンコマンドを受信した場合には、演出抽選によって特定された演出コマンドを画像制御部23に送信する。また、演出コマンドによって特定される演出動作を開始するべく必要な準備処理を実行する。   Subsequently, command analysis processing is executed for the control command (reception command) received in the reception interrupt processing (FIG. 7B) (ST58). Here, when the variation pattern command is received, the effect command specified by the effect lottery is transmitted to the image control unit 23. Also, preparation processing necessary to start the production operation specified by the production command is executed.

そして、開始される演出動作に演出可動体AMUが含まれている場合には、モータ動作フラグFG=0、且つ、リトライフラグRT=0であって、昇降モータMOiが異常状態(モータエラー)でないことを条件に(ER=0)、昇降モータMOiのモータ動作フラグFGを2に設定する。その結果、その後の演出モータ処理(ST68)では、演出可動体AMUを下限位置まで降下させる演出開始処理(図8のSS6)が実行される。なお、モータエラーとは、リトライ処理(図8のSS4)を経ても昇降モータMOiが回転しない異常、或いは、演出開始処理(図8のSS6)において、昇降モータMOiが正常に機能しない異常を意味し、何れの場合にも異常フラグER=1とされる。そして、この場合には、演出可動体AMUを使用したモータ演出はスキップされる。   When the effect moving 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 lift motor MOi is not in an abnormal state (motor error). Under these conditions (ER = 0), the motor operation flag FG of the elevating motor MOi is set to 2. As a result, in the subsequent effect motor process (ST68), an effect start process (SS6 in FIG. 8) for lowering the effect movable body AMU to the lower limit position is executed. The motor error means an abnormality in which the elevating motor MOi does not rotate even after the retry process (SS4 in FIG. 8) or an abnormality in which the elevating motor MOi does not function normally in the effect start process (SS6 in FIG. 8). In either case, the abnormality flag ER = 1 is set. In this case, the motor effect using the effect movable body AMU is skipped.

このようなコマンド解析処理(ST58)が終われば、次にエラー処理を実行し(ST59)、次に、必要に応じて、チャンスボタン11についての入力処理が実行される(ST60)。また、ランプ演出(ST67)や演出モータ処理(ST68)や音声演出(ST62)についての演出シナリオを作成又は更新する(ST61)。   When such command analysis processing (ST58) is completed, error processing is executed next (ST59), and then 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).

次に、作成または更新された演出シナリオに基づいた音声演出が実行され(ST62)、バックアップ処理(ST63)を実行した後にステップST54の処理に移行する。なお、バックアップ処理としては、例えば、チェックサム演算だけでなく、特定データを離散的に保存する処理や、ワーク領域の全データのバックアップ保存する処理などが例示される。なお、バックアップ処理に続いてウォッチドッグタイマWDTのクリア処理も実行される。   Next, an audio effect based on the created or updated effect scenario is executed (ST62), and after the backup process (ST63) is executed, the process proceeds to step ST54. 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. Note that a clear process of the watchdog timer WDT is also executed following the backup process.

続いて、2mS毎に実行される演出モータ処理(図7(d)のST68)について、図8〜図12に基づいて詳細に説明する。   Next, the effect motor process (ST68 in FIG. 7D) executed every 2 mS will be described in detail based on FIGS.

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

一方、異常フラグER=0であれば、リトライフラグRTの値を判定する(SS2)。リトライフラグRTは、原点検出処理(SS5)や演出開始処理(SS6)において、演出可動体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 the origin detection process (SS5) and the effect start process (SS6) when the effect movable body AMU cannot return to the origin region. 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は、0〜3に推移し、FG=0では昇降モータMOiが拘束状態で停止を維持する初期動作が実行され、FG=1では昇降モータMOiを原点領域に回収する原点検出処理が実行され、FG=2では昇降モータMOiを降下させる演出開始処理が実行され、FG=3では、回転モータROが回転する演出回転処理が実行される。   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). The motor operation flag FG transitions from 0 to 3, and when FG = 0, an initial operation is performed in which the lifting motor MOi is stopped in a restrained state, and when FG = 1, an origin detection process for collecting the lifting motor MOi in the origin region When FG = 2, an effect start process for lowering the lift motor MOi is executed, and when FG = 3, an effect rotation process for rotating the rotary motor RO is executed.

ここで、原点検出処理(SS5)は、(1) 演出制御部のCPUリセット時、(2) 変動演出開始時、(3) 大当り遊技開始時、(4) 客待ちデモ演出開始時、(5) 演出回転終了時に実行され、必要に応じて、変動演出終了時にも実行される。そして、原点検出処理(SS5)の実行に先立って、モータ動作フラグFG=1、異常フラグER=0に初期設定される。   Here, the origin detection process (SS5) is performed when (1) the CPU of the effect control unit is reset, (2) when the variable effect starts, (3) when the big hit game starts, (4) when the customer waiting demonstration effect starts, (5 ) This is executed at the end of the effect rotation, and is also executed at the end of the variable effect if necessary. Prior to the execution of the origin detection process (SS5), the motor operation flag FG = 1 and the abnormality flag ER = 0 are initially set.

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

一方、演出開始処理(SS6)は、リトライフラグRT=0、モータ動作フラグFG=2、及び、異常フラグER=0であることを条件に開始され、演出可動体AMUが下限位置まで降下される。そして、下限位置に達すると、モータ動作フラグFG=3とされる。一方、演出開始処理が正常に継続できない場合には、異常フラグER=1として処理を終える。そして、異常フラグER=1となったことによって、その後の演出回転処理(SS7)は、異常が復旧されない限り禁止される。   On the other hand, the production start process (SS6) is started on the condition that the retry flag RT = 0, the motor operation flag FG = 2, and the abnormality flag ER = 0, and the production movable body AMU is lowered to the lower limit position. . When the lower limit position is reached, the motor operation flag FG = 3 is set. On the other hand, when the effect start process cannot be normally continued, the process ends with the abnormality flag ER = 1. Then, since the abnormality flag ER = 1, the subsequent effect rotation process (SS7) is prohibited unless the abnormality is recovered.

演出開始処理(SS6)が正常に終わると、モータ動作フラグFG=3の状態で、演出可動体AMUが適宜に回転し、全ての演出動作が終われば、モータ動作フラグFG=1とされる。その結果、その後は、原点検出処理(SS6)が実行されて、演出可動体AMUが原点領域に回収される。   When the effect start processing (SS6) ends normally, the effect movable body AMU rotates appropriately with the motor operation flag FG = 3, and when all the effect operations are completed, the motor operation flag FG = 1 is set. As a result, the origin detection process (SS6) is subsequently performed, and the effect movable body AMU is collected in the origin area.

以上、演出モータ処理の概要を説明したので、その具体的な処理内容を以下に説明する。なお、プログラムで使用する変数を整理すると、図8の下欄に示す通りである。すなわち、計数カウンタCNTは、昇降モータMOの回転ステップ数を規定し、方向フラグDRは、昇降モータMOの順逆の回転方向を規定し、動作モードフラグ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 number of rotation steps of the lifting motor MO, the direction flag DR defines the forward and reverse rotation directions of the lifting motor MO, and the operation mode flag MD manages the progress of the control operation.

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

図10〜図13に示す演出モータ処理の説明に先立って、昇降モータMOiを1ステップ角毎に歩進させる歩進処理(図9(a))から説明する。なお、この歩進処理は、図10〜図13の各部において繰り返し使用されるサブルーチンであり、リングカウンタとして機能するポインタPTに基づいて、第1制御テーブルTBL1(図9(b))と、第2制御テーブルTBL2(図9(c))をアクセスして実行される。   Prior to the description of the effect motor process shown in FIGS. 10 to 13, a step process (FIG. 9A) that causes the lift motor MOi to step by one step angle will be described. This step process is a subroutine that is repeatedly used in each part of FIGS. 10 to 13, and based on the pointer PT functioning as a ring counter, the first control table TBL 1 (FIG. 9B) and the first 2 Control table TBL2 (FIG. 9C) is accessed and executed.

ここで、第1制御テーブルTBL1(図9(b))は、昇降モータMO1を歩進させる駆動データΦ1〜Φ4を規定し、第2制御テーブルTBL2(図9(c))は、昇降モータMO2を歩進させる駆動データΦ1’〜Φ4’を規定している。そして、ポインタPTが順方向に順次更新されると、昇降モータMO1が時計方向に回転する一方で、昇降モータMO2が反時計方向に回転し、可動体MV1,MV2が同期して降下する。一方、ポインタPTが逆方向に順次更新されると、昇降モータMO1が反時計方向に回転する一方で、昇降モータMO2が時計方向に回転し、可動体MV1,MV2が同期して上昇する。なお、ポインタPTの更新方向は、方向フラグDRによって規定される。   Here, the first control table TBL1 (FIG. 9B) defines drive data Φ1 to Φ4 for stepping up the lift motor MO1, and the second control table TBL2 (FIG. 9C) is a lift motor MO2. Drive data .PHI.1 'to .PHI.4' are defined. When the pointer PT is sequentially updated in the forward direction, the elevating motor MO1 rotates in the clockwise direction, while the elevating motor MO2 rotates in the counterclockwise direction, and the movable bodies MV1 and MV2 descend in synchronization. On the other hand, when the pointer PT is sequentially updated in the reverse direction, the elevating motor MO1 rotates counterclockwise, while the elevating motor MO2 rotates clockwise, and the movable bodies MV1 and MV2 rise synchronously. Note that the update direction of the pointer PT is defined by the direction flag DR.

図9に示す通り、歩進処理では、昇降モータMOが4mS毎に1ステップ駆動されて、単位角度(360/245°)回転するので、245ステップで昇降モータが一回転する。また、演出モータ処理(図7のST68)は、2mS間隔で起動される割込み処理で実行されるので、昇降モータMOは、タイマ割込み2回(4mS間隔)で1ステップ駆動されることになる。   As shown in FIG. 9, in the stepping process, the lifting motor MO is driven one step every 4 mS and rotates by a unit angle (360/245 °), so the lifting motor rotates once in 245 steps. Further, the effect motor process (ST68 in FIG. 7) is executed by an interrupt process activated at an interval of 2 mS, so that the lifting motor MO is driven by one step with two timer interrupts (an interval of 4 mS).

以上の処理を実現するため、図9に示す歩進処理では、先ず、回数カウンタNUMをインクリメントして、回数カウンタNUMが2に一致するか否かを判定する(ST1〜ST2)。そして、ステップST2の判定で、回数カウンタNUMがMUN<2の場合には、そのまま処理を終える。一方、回数カウンタNUMがMUN=2であれば、NUM=0の戻した後に(ST3)、計数カウンタCNTをデクリメントする(ST4)。先に説明した通り、計数カウンタCNTは昇降モータMOの駆動ステップ数を規定しており、計数カウンタCNT>0の場合だけ昇降モータが所定方向に駆動される。   In order to implement the above processing, in the stepping process shown in FIG. 9, first, the number counter NUM is incremented to determine whether or not the number counter NUM matches 2 (ST1 to ST2). If it is determined in step ST2 that the number counter NUM is MUN <2, the process is finished as it is. On the other hand, if the number counter NUM is MUN = 2, after returning NUM = 0 (ST3), the count counter CNT is decremented (ST4). As described above, the count counter CNT defines the number of drive steps of the lift motor MO, and the lift motor is driven in a predetermined direction only when the count counter CNT> 0.

計数カウンタCNTのデクリメント処理が終われば、次に、方向フラグDRの値を判定し(ST5)、方向フラグDR=1であって順方向回転(降下回転)を意味する場合には、ポインタPTをインクリメントし(ST6)、インクリメント後のポインタPTが、上限値(=3)を超える場合には、PT=0とする(ST7〜ST8)。   When the decrement processing of the count counter CNT is completed, the value of the direction flag DR is next determined (ST5). If the direction flag DR = 1 and it means forward rotation (downward rotation), the pointer PT is set. Increment (ST6), and if the incremented pointer PT exceeds the upper limit (= 3), PT = 0 is set (ST7 to ST8).

一方、方向フラグDR=0であって逆方向回転(上昇回転)を意味する場合には、ポインタPTをデクリメントし(ST9)、デクリメント後のポインタPTが、下限値(=0)を超える場合には、PT=3とする(ST10〜ST11)。   On the other hand, when the direction flag DR = 0 and means reverse rotation (upward rotation), the pointer PT is decremented (ST9), and the pointer PT after decrementing exceeds the lower limit value (= 0). Is PT = 3 (ST10 to ST11).

以上のようにしてポインタPTが更新されれば、更新後のポインタPTに基づいて、第1制御テーブルTBL1の駆動データΦ1〜Φ4を特定し、その駆動データΦ1〜Φ4を第1ドライバ回路45Aに出力する(ST12)。また、更新後のポインタPTに基づいて、第2制御テーブルTBL2の駆動データΦ1’〜Φ4’を特定し、その駆動データΦ1’〜Φ4’を第2ドライバ回路45Bに出力する(ST12)。このような処理によって、2つの昇降モータMO1,MO2が互いに逆方向に1ステップだけ歩進して、可動体MV1,MV2が単位距離UNだけ上昇又は降下する。   If the pointer PT is updated as described above, the drive data Φ1 to Φ4 of the first control table TBL1 are specified based on the updated pointer PT, and the drive data Φ1 to Φ4 are supplied to the first driver circuit 45A. Output (ST12). Further, the drive data Φ1 ′ to Φ4 ′ of the second control table TBL2 are specified based on the updated pointer PT, and the drive data Φ1 ′ to Φ4 ′ are output to the second driver circuit 45B (ST12). By such processing, the two elevating motors MO1 and MO2 advance by one step in the opposite directions, and the movable bodies MV1 and MV2 are raised or lowered by the unit distance UN.

先に説明した通り、この実施例では、同一特性の昇降モータMO1,MO2を使用するので、二種類の駆動データΦ1〜Φ4,Φ1’〜Φ4’を使用するとはいっても、各制御テーブルTBL1,TBL2には、共通のデータが、その記載欄だけを相違して格納されている。言い換えると、一方の制御テーブルTBL1の記載欄が、0行目データ→1行目データ→2行目データ→・・・・N行目データの順番であるのに対して、他方の制御テーブルTBL2では、データの記載順が逆になっている。   As described above, in this embodiment, the lift motors MO1 and MO2 having the same characteristics are used. Therefore, although two types of drive data Φ1 to Φ4 and Φ1 ′ to Φ4 ′ are used, the control tables TBL1, In TBL2, common data is stored with different description columns only. In other words, the description column of one control table TBL1 is the order of 0th row data → 1st row data → 2nd row data →... Nth row data, whereas the other control table TBL2 Then, the data description order is reversed.

そして、他方の制御テーブルTBL2は、一方の制御テーブルTBL1に対して、N行目データ→・・・→2行目データ→1行目データ→0行目データ→N行目データ→N−1行目データ→・・・の記載順であれば、制御テーブルTBL2は、制御テーブルTBL1の最終行のデータから開始させる必要はなく、要するに、開始行のデータは何でも良い。   The other control table TBL2 is different from the one control table TBL1 in the Nth row data →... → the second row data → the first row data → the zeroth row data → the Nth row data → N−1. In the order of description of the line data →..., The control table TBL2 does not need to start from the data of the last line of the control table TBL1, in short, the data of the start line may be anything.

また、本実施例では、このような2つの制御テーブルTBL1,TBL2を、単一のポインタPTでアクセスして、出力する駆動データΦ1〜Φ4,Φ1’〜Φ4’の位相を相違させ、同一特性の昇降モータMO1,MO2を一体回転させている。そのため、2つの昇降モータの特性が同一である限り、2相モータを2相励磁する実施例の構成から、2相モータの1相励磁や1−2相励磁への設計変更や、或いは、4相モータや5相モータへの設計変更が容易であり、設計変更時のバグ発生を防止できる。   In this embodiment, the two control tables TBL1 and TBL2 are accessed by a single pointer PT, and the phases of the drive data Φ1 to Φ4 and Φ1 ′ to Φ4 ′ to be output are made different to each other. The lift motors MO1 and MO2 are integrally rotated. Therefore, as long as the characteristics of the two lifting motors are the same, the configuration of the embodiment in which the two-phase motor is excited in two phases is changed to the design change from the two-phase motor to one-phase excitation or 1-2-phase excitation, or 4 It is easy to change the design to a phase motor or a five-phase motor, and bugs can be prevented from occurring when the design is changed.

なお、同一特性の昇降モータMOiを使用する限り、必ずしも2つの制御テーブルTBL1,TBL2を設ける必要はない。例えば、図9の破線で示すように、0→1→2→3→0と巡回するポインタPTに対して、3→2→1→0→3と逆方向に巡回するポインタPT’を使用すれば、単一の制御テーブルTBL1で足りる。この場合には、昇降モータとして、特に、4相モータや5相モータを使用する場合に、制御テーブルTBL1が占有するメモリ容量を抑制することができる。   Note that the two control tables TBL1, TBL2 are not necessarily provided as long as the lifting motor MOi having the same characteristics is used. For example, as shown by a broken line in FIG. 9, a pointer PT ′ that circulates in the reverse direction of 3 → 2 → 1 → 0 → 3 is used for a pointer PT that circulates from 0 → 1 → 2 → 3 → 0. For example, a single control table TBL1 is sufficient. In this case, the memory capacity occupied by the control table TBL1 can be suppressed particularly when a four-phase motor or a five-phase motor is used as the lifting motor.

図10〜図12の処理は、図9に示す歩進処理を使用して実現されている。図10に示す原点検出処理では、最初に、フォトインタラプタPHからの検出信号SNが取得され記憶される(SS10)。次に、動作モードMDを判定し(SS11)、初期状態のままでMD=0であれば、検出信号SNのレベルが判定される(SS12)。   The process of FIGS. 10-12 is implement | achieved using the step process shown in FIG. In the origin detection process shown in FIG. 10, 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).

図6に関して説明した通り、検出信号SNは、可動体MV1が原点領域に位置しているか否かを示している。したがって、検出信号SN=Hであって、可動体MV1が原点領域に位置している場合には、モータ動作フラグFGを初期状態のFG=0に戻して処理を正常終了させる(SS13)。この場合、可動体MV1は、正確な原点位置には位置しない可能性もあるが、演出可動体AMUは、少なくとも、遊技者の目に触れない位置に収容されている。   As described with reference to FIG. 6, the detection signal SN indicates whether or not the movable body MV1 is located in the origin region. Therefore, when the detection signal SN = H and the movable body MV1 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, there is a possibility that the movable body MV1 is not located at an accurate origin position, but the effect movable body AMU is accommodated at least at a position where it cannot be touched by the player.

一方、ステップSS12の判定時に検出信号SN=Lであって、可動体MV1が原点領域外に位置している場合には、計数カウンタCNTの値を、第2基準値Mより適宜に大きい値M+AAに初期設定する(SS14)。なお、第2基準値Mは、最大移動距離Lに対応するステップ数であり(図6参照)、計数カウンタCNTを、第2基準値Mより大きい値に初期設定するのは、原点検出処理(SS5)は、演出回転処理(SS7)の完了後にも実行されるためである。   On the other hand, when the detection signal SN = L at the time of determination in step SS12 and the movable body MV1 is located outside the origin region, the value of the count counter CNT is set to a value M + AA that is appropriately larger than the second reference value M. (SS14). The second reference value M is the number of steps corresponding to the maximum movement distance L (see FIG. 6), and the initial setting of the count counter CNT to a value larger than the second reference value M is the origin detection process ( This is because SS5) is executed even after the effect rotation process (SS7) is completed.

また、ステップSS14の処理では、方向フラグDRを0に設定して、昇降モータMO1を半時計方向(上昇方向)に回転させることを規定し、動作モードMDを1とする(SS14)。以上の処理は、次回以降のタイマ割込みによって、可動体MV1を原点領域に戻すための処理である。   In the process of step SS14, the direction flag DR is set to 0 to define that the elevating motor MO1 is rotated counterclockwise (upward direction), and the operation mode MD is set to 1 (SS14). The above process is a process for returning the movable body MV1 to the origin region by the next timer interruption.

動作モードMD=1となったことにより、次回以降のタイマ割込みでは、ステップSS11→SS15→SS16の経路を経て、検出信号SNがHレベルとなったか否かが判定される(SS16)。そして、未だ、可動体MV1が原点領域に戻っておらず、検出信号SN=Lであれば、図9に示す歩進処理を実行する(SS18)。なお、歩進処理では、所定時間毎に、駆動データをDR方向に1ステップ進め、これに対応して計数カウンタCNTがデクリメントされる。   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 movable body MV1 has not yet returned to the origin region and the detection signal SN = L, the stepping process shown in FIG. 9 is executed (SS18). In the stepping process, the drive data is advanced by one step in the DR direction every predetermined time, and the count counter CNT is decremented accordingly.

このようにして、ステップSS18の処理を繰り返して可動体MV1を歩進させていると、やがて、可動体MV1が原点領域に戻り、検出信号SN=Hとなる筈である。そこで、その場合には、計数カウンタCNTを、第1基準値Nに、新たに初期設定する(SS19)。先に説明した通り、第1基準値Nは、上昇する可動体MV1の基端が、原点領域に突入してから原点位置に達するまでのステップ数である。   Thus, if the process of step SS18 is repeated and the movable body MV1 is stepped forward, the movable body MV1 will eventually return to the origin region and the detection signal SN = H should be obtained. Therefore, in that case, the count counter CNT is newly initialized to the first reference value N (SS19). As described above, the first reference value N is the number of steps until the base end of the rising movable body MV1 enters the origin region and reaches the origin position.

また、方向フラグDRを0に維持して、動作モードMDを2とする(SS19)。以上の処理は、次回以降のタイマ割込みによって、原点領域に突入した可動体MV1を、正確に原点位置に戻すための処理である。   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 movable body MV1 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).

これは、昇降モータMOiについて相当数の駆動動作を実行したにも拘らず、可動体MV1が原点領域に戻れない異常が検出されたことになる。そこで、次回のタイマ割込みでは、モータ動作フラグFG=1を維持した状態で、リトライ処理(SS4)が実行される(図11参照)。   This means that an abnormality has been detected in which the movable body MV1 cannot return to the origin region even though a considerable number of drive operations have been performed for the lift motor MOi. 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)。   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).

続いて、図11に基づいてリトライ処理について説明する。リトライ処理(SS4)は、原点検出処理(SS5)や演出開始処理(SS6)において、リトライフラグRT=1に設定されることに起因して開始される。そして、その開始時には動作モードMD=0に設定されている。なお、リトライフラグRTは、演出可動体AMUが原点領域に解消できない場合にRT=1とされる(SS20,SS51)。   Next, the retry process will be described with reference to FIG. The retry process (SS4) is started because the retry flag RT = 1 is set in the origin detection process (SS5) and the effect start process (SS6). At the start, the operation mode MD = 0 is set. The retry flag RT is set to RT = 1 when the effect movable body AMU cannot be eliminated in the origin area (SS20, SS51).

リトライ処理(SS4)では、図11に示す通り、最初に動作モードMDが判定され(SS24)、動作モードMD=0であれば、計数カウンタCNTが適宜な値XXに初期設定され、方向フラグDR=1にされた上で、動作モードがMD=1とされる(SS25)。方向フラグDR=1は、回転方向が順方向(降下方向)であることを意味するが、これは、上昇させることができなかった演出可動体AMUを、反対方向に駆動するためである。   In the retry process (SS4), as shown in FIG. 11, the operation mode MD is first determined (SS24). If the operation mode MD = 0, the count counter CNT is initialized to an appropriate value XX, and the direction flag DR Then, the operation mode is set to MD = 1 (SS25). The direction flag DR = 1 means that the rotation direction is the forward direction (downward direction), which is to drive the effect movable body AMU that could not be raised in the opposite direction.

動作モード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 a stepping process for decrementing the count counter CNT is executed correspondingly (SS28).

このような処理を繰り返していると、やがて、計数カウンタCNT=0となるので、その場合には、計数カウンタCNTの値を、第2基準値より適宜に大きな値M+AAに、新たに初期設定する(SS29)。また、方向フラグDR=0、動作モードMD=2とする(SS29)。したがって、次回のタイマ割込み処理では、可動体MV1が原点領域に向けて逆方向(上昇方向)に回転することになる。これは、降下方向に所定ステップ数(=XX)だけ駆動した後に(SS25〜SS28)、それまでと逆方向に駆動することで、昇降モータMOiの異常を解消させるためである。   If such a process is repeated, the count counter CNT eventually becomes 0. In this case, the value of the count counter CNT is newly initialized to a value M + AA that is appropriately larger than the second reference value. (SS29). Further, the direction flag DR = 0 and the operation mode MD = 2 are set (SS29). Therefore, in the next timer interruption process, the movable body MV1 rotates in the reverse direction (upward direction) toward the origin region. This is because after driving by a predetermined number of steps (= XX) in the descending direction (SS25 to SS28), by driving in the opposite direction, the abnormality of the lifting motor MOi is eliminated.

動作モードMD=2とされたことにより、次回のタイマ割込みでは、ステップSS24→SS26→SS30→SS31の経路を経て、検出信号SNが取得され(SS31)、そのレベルが判定される(SS32)。そして、検出信号SN=Hであって、可動体MV1が原点領域に突入した場合には、原点位置まで更に移動させるべく、計数カウンタCNTを第1基準値Nに初期設定する(SS35)。また、方向フラグDRを0に維持して、動作モードMDを3とする(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 movable body MV1 enters the origin area, the count counter CNT is initialized to the first reference value N so as to move further to the origin position (SS35). Further, the direction flag DR is maintained at 0, and the operation mode MD is set to 3 (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となるまで、昇降モータMOiは非駆動状態となり、可動体MV1は停止状態を維持する(SS8)。なお、変動演出開始時などに実行される原点検出処理(SS5)では、その開始時に、異常フラグER=0、モータ動作フラグFG=1とされるので、リトライ処理(SS4)が再実行される。   As a result, thereafter, the lifting motor MOi is not driven and the movable body MV1 remains stopped until the abnormality flag becomes ER = 0 (SS8). 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)が再実行される。なお、リトライ処理に成功していることから、直ちに、原点検出処理を正常終了する(図10の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. 10).

一方、再度のリトライ処理にも失敗した場合には、再度、異常フラグER=1となり(SS36)、再度の原点検出処理まで昇降モータMOiは非駆動状態となる(図8のSS8参照)。この実施例では、異常フラグER=1の状態では、昇降モータMOiが非駆動状態とされ、しかも、変動演出開始時や、客待ちデモ演出開始時に、繰り返しリトライ処理が実行されるので昇降モータMOiの異常が自動的に復旧される可能性が低くない。   On the other hand, if the retry process fails again, the abnormality flag ER = 1 again (SS36), and the lift motor MOi is not driven until the origin detection process is performed again (see SS8 in FIG. 8). In this embodiment, in the state of the abnormality flag ER = 1, the lifting motor MOi is in a non-driven state, and since the retry process is repeatedly executed at the start of the fluctuation effect or the demonstration of waiting for the customer, the lifting motor MOi. The possibility that the abnormality will be automatically recovered is not low.

以上、ステップ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).

続いて、図12に示す演出開始処理(SS6)について説明する。演出開始処理は、主制御部21から初期動作コマンドを受けて開始されるが、この状態で異常フラグER=1であれば、直ちに処理を終える(SS40)。   Next, the effect start process (SS6) shown in FIG. 12 will be described. The effect start process is started upon receiving an initial operation command from the main control unit 21. If the abnormality flag ER = 1 in this state, the process is immediately ended (SS40).

一方、異常フラグER=0であれば、検出信号SNの取得(SS41)、動作モードMDの判定(SS42)、検出信号SNのレベル判定(SS43)の処理を実行する。そして、検出信号SN=Hであれば、可動体MV1の基端が原点領域に位置することになるので、計数カウンタCNTを第2基準値Mに初期設定し、方向フラグDR=1、動作モードMD=2に初期設定して処理を終える(SS44)。なお、第2基準値Mは、可動体MV1を原点位置から下限位置まで移動させるためのステップ数である(図6参照)。   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 base end of the movable body MV1 is located in the origin region, so the count counter CNT is initially set to the second reference value M, the direction flag DR = 1, the operation mode The initial setting is set to MD = 2, and the process ends (SS44). The second reference value M is the number of steps for moving the movable body MV1 from the origin position to the lower limit position (see FIG. 6).

一方、動作モードMD≠0または検出信号SN=Hの場合には、ステップSS45以下の処理を実行する。ステップSS45〜SS51(SS50を除く)の処理は、原点検出処理におけるステップSS14〜SS20(SS19を除く)の処理と実質的に同じである。すなわち、ステップSS45〜SS51の処理によって、原点領域外に位置した演出可動体AMU(可動体MV1の基端)は、上昇されて原点領域に回収される。   On the other hand, when the operation mode MD ≠ 0 or the detection signal SN = H, the process after step SS45 is executed. The process of steps SS45 to SS51 (except for SS50) is substantially the same as the process of steps SS14 to SS20 (except for SS19) in the origin detection process. That is, the effect movable body AMU (base end of the movable body MV1) positioned outside the origin area is raised and collected in the origin area by the processing of steps SS45 to SS51.

そして、可動体MV1の基端が原点領域に突入した後は、計数カウンタCNTをM−Nに初期設定し、方向フラグDR=1、動作モードMD=2に初期設定する(SS50)。これは、演出可動体AMUを下限位置に移動させるための初期処理であり、第2基準値Mより第1基準値Nだけ少ないステップ数が計数カウンタCNTに初期設定される。   Then, after the base end of the movable body MV1 enters the origin region, the count counter CNT is initialized to MN, and the direction flag DR = 1 and the operation mode MD = 2 are initialized (SS50). This is an initial process for moving the effect movable body AMU to the lower limit position, and a number of steps smaller than the second reference value M by the first reference value N is initially set in the count counter CNT.

ステップSS50やステップSS44の処理によって動作モードMD=2に設定された後のタイマ割込みでは、ステップSS40〜42→SS46→SS52の経路を経て、計数カウンタCNTの値が判定される(SS52)。そして、計数カウンタCNT≠0であれば、所定時間毎に駆動データをDR方向に進め、これに対応して、計数カウンタCNTをデクリメントする(SS53)。   In the timer interruption after the operation mode MD = 2 is set by the processing of step SS50 or step SS44, the value of the count counter CNT is determined through the path of steps SS40 to 42 → SS46 → SS52 (SS52). 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 accordingly (SS53).

そして、計数カウンタCNT=0となったタイミングで、動作モードMD=0とすると共に、モータ動作フラグFG=3として、演出開始処理を終了させる(SS54)。   Then, at the timing when the count counter CNT = 0, the operation mode MD = 0 and the motor operation flag FG = 3, and the effect start process is ended (SS54).

図13は、図12の演出開始処理を終えた後の演出回転処理(SS7)の処理概要を示している。演出回転処理(SS7)は、動作モードMD=3の状態で2mS毎に起動されて、回転モータROによって演出可動体AMUが適宜に回転される(SS60)。そして、可動演出が完了すれば、動作モードMD=0、モータ動作フラグFG=1に設定して処理を終える(SS62)。その結果、その後は、原点検出処理(SS5)が実行されて演出可動体AMUが原点領域に回収される。   FIG. 13 shows a process outline of the effect rotation process (SS7) after the effect start process of FIG. 12 is finished. The effect rotation process (SS7) is started every 2 mS in the state of the operation mode MD = 3, and the effect movable body AMU is appropriately rotated by the rotation motor RO (SS60). When the movable effect is completed, the operation mode MD = 0 and the motor operation flag FG = 1 are set, and the process ends (SS62). As a result, the origin detection process (SS5) is executed thereafter, and the effect movable body AMU is collected in the origin area.

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

例えば、上記の実施例では、リトライ処理(SS4)における昇降モータMOiの回転速度を、その他の処理時の場合と同一としたが、回転速度を低下させてリトライ処理(SS4)を実行するのが好ましい。例えば、回転速度を1/4にするには、図9(a)の歩進処理におけるステップST2の判定を、回数カウンタNUMと2との対比に代えて、回数カウンタNUMを8と対比させれば良い。このような構成は、特に、ステップSS28の初期段階の処理として実行するべきである。また、ステップSS28の全処理や、ステップSS34の初期段階の処理として実行しても良い。   For example, in the above-described embodiment, the rotation speed of the lifting motor MOi in the retry process (SS4) is the same as in the other processes, but the retry process (SS4) is executed by reducing the rotation speed. preferable. For example, in order to reduce the rotation speed to ¼, the number counter NUM can be compared with 8 instead of the comparison between the number counter NUM and 2 in the determination of step ST2 in the stepping process of FIG. It ’s fine. Such a configuration should be executed as an initial stage process of step SS28. Alternatively, it may be executed as the entire process of step SS28 or the initial stage process of step SS34.

また、実施例では、リトライ処理(SS4)においても、2つの昇降モータMOiを同一タイミングで駆動したが、各々の駆動タイミングをずらすのも好適である。図14は、このような変形例を説明するフローチャートであり、ステップSS28の初期段階の処理として採用される。なお、ステップSS28の全処理や、ステップSS34の初期段階の処理として実行しても良い。   In the embodiment, in the retry process (SS4), the two lifting motors MOi are driven at the same timing, but it is also preferable to shift the drive timings. FIG. 14 is a flowchart for explaining such a modification, which is employed as an initial stage process of step SS28. In addition, you may perform as all the processes of step SS28, and the process of the initial stage of step SS34.

図14の変形例では、1〜9の範囲で循環する回数カウンタNUMが5に一致すると、ポインタPTが更新されて(ST23)、必要に応じてポインタPTを初期設定した後(ST24〜ST25)、昇降モータMO1を駆動する一方で、昇降モータMO2を非駆動状態とする(ST26)。そのため、昇降モータMO2は自由回転状態となり、昇降モータMO1だけが駆動回転される。   In the modified example of FIG. 14, when the number counter NUM that circulates in the range of 1 to 9 matches 5, the pointer PT is updated (ST23), and the pointer PT is initialized as necessary (ST24 to ST25). The elevator motor MO1 is driven while the elevator motor MO2 is not driven (ST26). Therefore, the lifting motor MO2 is in a freely rotating state, and only the lifting motor MO1 is driven to rotate.

但し、その後、8mS後には、回数カウンタNUMが9に一致するので(ST27)、今度は、昇降モータMO2を駆動する一方で、昇降モータMO1を非駆動状態とする(ST28)。そして、計数カウンタCNTをデクリメントすると共に、回数カウンタNUMを1に初期設定する(ST29〜ST30)。   However, after 8 mS, the number counter NUM coincides with 9 (ST27), so that the lift motor MO2 is driven while the lift motor MO1 is not driven (ST28). Then, the count counter CNT is decremented, and the number counter NUM is initialized to 1 (ST29 to ST30).

上記の構成を採るため、この変形例では、左右の昇降モータMOiの駆動タイミングが8mS間隔で微妙に切り替わり、しかも、低速駆動されるので効果的にリトライ処理を成功させることができる。なお、8mSは、一例を挙げたに過ぎず、適宜に増減される。   Since the above configuration is adopted, in this modified example, the drive timing of the left and right lifting motors MOi is slightly switched at intervals of 8 mS and is driven at a low speed, so that the retry process can be effectively completed. Note that 8 mS is merely an example, and may be increased or decreased as appropriate.

なお、上記の変形例に限らず、演出制御部22において演出可動体AMUを回転駆動する構成に代えて、演出インタフェイス基板や主制御基板において回転駆動してもよいのは勿論である。また、可動演出を実行する遊技機は、弾球遊技機に限定されないのは勿論であり、スロットマシン(回胴式遊技機)などにも本発明は好適に適用可能である。   It should be noted that the present invention is not limited to the above-described modification, and it is needless to say that the effect control unit 22 may be driven to rotate on the effect interface board or the main control board instead of the structure in which the effect movable body AMU is rotated. In addition, the game machine that executes the movable effect is not limited to the ball game machine, and the present invention can be suitably applied to a slot machine (rotating game machine).

また、実施例の演出可動体AMUは、往復運動可能な一対の可動体MV1,MV2で一体的に保持されているが、必ずしも、このような構成に限定されない。例えば、2つの演出可動体AMU1、AMU2を各々往復運動可能に保持する2つの可動体MV1,MV2を設け、各可動体MV1,MV2を一対の駆動モータで駆動しても良い。この場合にも、一群の駆動データを記憶する単一の制御テーブルの読み出し順序を互いに逆順にするか、2つの制御テーブルに駆動データを逆順に記憶させることで本発明を実現できる。   In addition, the production movable body AMU of the embodiment is integrally held by a pair of movable bodies MV1 and MV2 that can reciprocate, but is not necessarily limited to such a configuration. For example, two movable bodies MV1 and MV2 that hold the two rendering movable bodies AMU1 and AMU2 so as to be reciprocally movable may be provided, and each movable body MV1 and MV2 may be driven by a pair of drive motors. Also in this case, the present invention can be realized by reversing the reading order of a single control table storing a group of driving data in reverse order or storing the driving data in two control tables in reverse order.

GM 遊技機
21 主制御部
22 サブ制御部
AMU 演出可動体
MVi 一対の可動体
MOi 一対の駆動モータ
GM gaming machine 21 main control unit 22 sub control unit AMU production movable body MVi pair of movable bodies MOi pair of drive motors

Claims (1)

所定のスイッチ信号に起因する抽選処理を実行して、これに当選すると遊技者に有利な遊技状態に移行可能に制御する主制御手段と、主制御手段からの制御コマンドに基づいて、必要時には演出可動体の可動演出を実行するサブ制御手段と、を有して構成された遊技機であって、
前記演出可動体は、センサが第1状態を示す原点領域と、前記センサが第2状態を示す他の演出領域とを往復運動可能な一対の可動体で保持され、一対の可動体は、同期回転可能な一対の駆動モータによって一体的に移動するよう構成され、
サブ制御手段のCPUがリセットされたことに基づき、演出可動体を、動作許可状態に設定すると共に、CPUを割込み許可状態に設定する設定処理と、
前記設定処理による設定動作に基づき実行されるタイマ割込み動作において、前記センサが第2状態であるか否かを判定し、第2状態であれば、演出可動体を原点領域に回収するべく、一方の駆動モータの時計方向又は反時計方向への連続駆動を開始する一方、他方の駆動モータを、その反対方向に同期して連続駆動を開始する原点検出処理と、
原点検出処理による所定回数のタイマ割込み動作による連続駆動にも拘らず、前記センサが第1状態に変化しない場合、この異常を記憶して一対の駆動モータを自由回転可能な非駆動状態に維持すると共に、演出可動体を動作禁止状態に設定する停止処理と、を設け、
動作禁止状態が維持される限り、演出可動体による可動演出が回避される一方、所定のタイミングで実行される回復動作に成功すると、演出可動体が動作許可状態に設定されることで、前記原点検出処理が再実行可能に構成されていることを特徴とする遊技機。
A lottery process caused by a predetermined switch signal is executed, and if this is won, the main control means for controlling the game state to be advantageous to the player, and the control command from the main control means produces the effect when necessary. A sub-control means for performing a movable effect of a movable body, and a gaming machine configured to include:
The effect movable body is held by a pair of movable bodies capable of reciprocating between an origin region where the sensor indicates the first state and another effect region where the sensor indicates the second state, and the pair of movable bodies are synchronized. It is configured to move integrally with a pair of rotatable drive motors,
Based on the fact that the CPU of the sub-control means has been reset, the setting movable body is set to the operation-permitted state and the CPU is set to the interrupt-permitted state.
In the timer interrupt operation executed based on the setting operation by the setting process, it is determined whether or not the sensor is in the second state. If the sensor is in the second state, while starting the continuous driving in the clockwise or counterclockwise direction of the driving motor and the other drive motor, and the origin detection process to start the continuous driven in synchronism in the opposite direction,
When the sensor does not change to the first state in spite of continuous driving by the timer interruption operation of the predetermined number of times by the origin detection processing , this abnormality is stored and the pair of driving motors are maintained in a non-driving state capable of free rotation. And a stop process for setting the effect movable body to the operation prohibited state ,
As long as the operation prohibition state is maintained, the movable production by the production movable body is avoided, and when the recovery operation executed at a predetermined timing is successful, the production movable body is set in the operation permitted state, thereby causing the origin. A gaming machine characterized in that the detection process is configured to be re-executable .
JP2012265942A 2012-12-05 2012-12-05 Game machine Active JP5778653B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012265942A JP5778653B2 (en) 2012-12-05 2012-12-05 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012265942A JP5778653B2 (en) 2012-12-05 2012-12-05 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010255676A Division JP5156819B2 (en) 2010-11-16 2010-11-16 Game machine

Publications (2)

Publication Number Publication Date
JP2013063302A JP2013063302A (en) 2013-04-11
JP5778653B2 true JP5778653B2 (en) 2015-09-16

Family

ID=48187363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012265942A Active JP5778653B2 (en) 2012-12-05 2012-12-05 Game machine

Country Status (1)

Country Link
JP (1) JP5778653B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6199362B2 (en) * 2015-11-16 2017-09-20 京楽産業.株式会社 Game machine
JP6197225B1 (en) * 2016-10-11 2017-09-20 株式会社サンセイアールアンドディ Game machine

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10301614A (en) * 1997-04-28 1998-11-13 Fanuc Ltd Numeric controller
JP3731846B2 (en) * 1998-03-19 2006-01-05 日立工機株式会社 Control method of link arm mechanism
JP4798723B2 (en) * 2005-02-10 2011-10-19 株式会社大一商会 Game machine
JP4869731B2 (en) * 2006-02-20 2012-02-08 株式会社大一商会 Pachinko machine
JP2008012194A (en) * 2006-07-07 2008-01-24 Newgin Corp Game machine
JP5090397B2 (en) * 2009-03-31 2012-12-05 株式会社サンセイアールアンドディ Game machine
JP4990319B2 (en) * 2009-04-23 2012-08-01 株式会社藤商事 Game machine

Also Published As

Publication number Publication date
JP2013063302A (en) 2013-04-11

Similar Documents

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

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140318

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150403

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150616

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150709

R150 Certificate of patent or registration of utility model

Ref document number: 5778653

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