JP2013240676A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2013240676A
JP2013240676A JP2013151554A JP2013151554A JP2013240676A JP 2013240676 A JP2013240676 A JP 2013240676A JP 2013151554 A JP2013151554 A JP 2013151554A JP 2013151554 A JP2013151554 A JP 2013151554A JP 2013240676 A JP2013240676 A JP 2013240676A
Authority
JP
Japan
Prior art keywords
abnormality notification
predetermined
value
gaming machine
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013151554A
Other languages
Japanese (ja)
Other versions
JP5661876B2 (en
Inventor
Yuzuru Yatsugi
譲 矢次
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Shoji Co Ltd
Original Assignee
Fuji Shoji Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Shoji Co Ltd filed Critical Fuji Shoji Co Ltd
Priority to JP2013151554A priority Critical patent/JP5661876B2/en
Publication of JP2013240676A publication Critical patent/JP2013240676A/en
Application granted granted Critical
Publication of JP5661876B2 publication Critical patent/JP5661876B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a game machine for performing desired security operation without posing a problem to original performance control operation.SOLUTION: A monitoring means for determining an occurrence of an abnormal state on the basis of output from a monitor sensor every prescribed time has: first processing (ST84, ST85) which returns a result of measurement to an initial state when no abnormality is recognized and updates the result of measurement when abnormality is recognized; second processing (ST86) which performs initial setting of an abnormality notification time to a prescribed timer when the result of measurement satisfies a prescribed condition; third processing (ST87 to ST90) which maintains an operation value of a prescribed flag until an abnormality notification time has elapsed and returns the prescribed flag to the initial value after the abnormality notification time has elapsed; and fourth processing (ST92, ST93) for starting or finishing the abnormal notification operation as a value of the prescribed flag changes.

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 ensures an error notification operation.

パチンコ機などの弾球遊技機は、遊技盤に設けた図柄始動口と、複数の表示図柄による一連の図柄変動態様を表示する図柄表示部と、開閉板が開閉される大入賞口などを備えて構成されている。そして、図柄始動口に設けられた検出スイッチが遊技球の通過を検出すると入賞状態となり、遊技球が賞球として払出された後、図柄表示部では表示時間変動される。その後、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 passing of the game ball, the winning state is entered, and after the game ball is paid out as a prize ball, the display time is changed 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.

特開2005−304632号公報JP 2005-304632 A

ところで、大当り抽選の当選値は、遊技機の制御プログラムを解析すれば判明するので、例えば、任意に当選状態を発生可能な違法プログラムを実行させようとする違法行為も懸念されるところである。   By the way, since the winning value of the big win lottery can be determined by analyzing the control program of the gaming machine, for example, there is a concern about an illegal act of trying to execute an illegal program that can arbitrarily generate a winning state.

そこで、従来から各種の違法対策が提案されているが(例えば、特許文献1)、セキュリティレベルを上げて過敏に反応する構成を採ると、ノイズなどによって不合理な報知動作が実行されてしまうおそれがあり、万一このような誤動作が生じると遊技客とのトラブルが生じかねない。   Therefore, various illegal countermeasures have been conventionally proposed (for example, Patent Document 1), but if a configuration is adopted in which the security level is raised and the reaction is sensitive, an unreasonable notification operation may be performed due to noise or the like. If such a malfunction occurs, a trouble with the player may occur.

また、セキュリティのために複雑な構成を採ると、違法対策としては有効でも、セキュリティ処理のために本来の遊技動作に支障を与えることになる。すなわち、大当り抽選処理などの主要な動作は、8ビットCPUで実行すべきことが義務付けられているので、万に一つの可能性のために複雑煩雑なセキュリティ処理を実行したのでは、本来の遊技動作に支障を与えてしまい複雑高度な遊技制御を実現できない。   Further, if a complicated configuration is adopted for security, even if it is effective as a countermeasure against illegality, the original game operation is hindered for security processing. That is, main operations such as the big hit lottery process are obliged to be executed by the 8-bit CPU. Therefore, if complicated security processing is executed for one possibility, the original game Operation is hindered and complex and advanced game control cannot be realized.

本発明は、上記の問題点に鑑みてなされたものであって、本来の演出制御動作に支障を与えない適切なセキュリティ動作を実現できる遊技機を提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a gaming machine capable of realizing an appropriate security operation that does not interfere with the original performance control operation.

上記の目的を達成するため、本発明は、所定の遊技動作の発生を示す検出信号に起因して抽選処理を実行し、遊技者に有利な遊技状態を発生させるか否かを決定する遊技機であって、適所に配置された監視センサの出力に基づいて異常事態の発生を所定時間毎に判定する監視手段と、電源遮断後もRAMの記憶内容を維持するバックアップ手段と、バックアップ手段によって維持されたRAMの記憶内容に基づいて、電源投入後に電源遮断前の動作を再開可能なバックアップ復帰手段と、を設けて構成され、前記監視手段は、異常事態の発生が認められないと計測結果を初期状態に戻す一方、異常事態の発生が認められると計測結果を更新する第一手段と、第一手段の計測結果が所定条件を満たすと、異常報知動作における異常報知時間を所定タイマに初期設定する第二手段と、異常報知時間が経過するまで所定フラグを動作値に維持し、第二手段によって初期設定された所定タイマを更新すると共に、異常報知時間が経過すると所定フラグを初期値に戻す第三手段と、所定フラグの値が変化したことに対応して異常報知動作を開始又は終了させる第四手段と、を有して構成され、異常事態が継続する限り、第一手段が計測結果を更新し続けることに対応して、第二手段は、所定条件を満たす限り異常報知時間の初期設定動作を繰り返すよう構成されている。   In order to achieve the above object, the present invention executes a lottery process based on a detection signal indicating the occurrence of a predetermined gaming operation, and determines whether or not to generate a gaming state advantageous to the player The monitoring means for determining the occurrence of an abnormal situation every predetermined time based on the output of the monitoring sensor arranged at an appropriate position, the backup means for maintaining the stored contents of the RAM even after the power is shut off, and the backup means Backup recovery means capable of resuming the operation before turning off the power after the power is turned on, based on the stored contents of the RAM, and the monitoring means gives a measurement result when no abnormal situation is recognized. While returning to the initial state, if the occurrence of an abnormal situation is recognized, the first means for updating the measurement result, and if the measurement result of the first means satisfies a predetermined condition, the abnormality notification time in the abnormality notification operation is determined. The second means for initial setting of the timer, the predetermined flag is maintained at the operating value until the abnormality notification time elapses, the predetermined timer initialized by the second means is updated, and when the abnormality notification time elapses, the predetermined flag is set. The third means for returning to the initial value and the fourth means for starting or ending the abnormality notification operation in response to the change of the value of the predetermined flag are configured, and as long as the abnormal situation continues, the first means In response to the means continuing to update the measurement result, the second means is configured to repeat the initial setting operation of the abnormality notification time as long as a predetermined condition is satisfied.

本発明では、第一手段ないし第四手段を組合せることで簡易に異常事態の発生を検出し報知するので、本来の遊技動作に支障を与えることがない。そして、異常事態が消滅するまで、異常報知動作を継続することができる。   In the present invention, since the occurrence of an abnormal situation is easily detected and notified by combining the first means to the fourth means, the original game operation is not hindered. Then, the abnormality notification operation can be continued until the abnormal situation disappears.

本発明において、所定条件を満たす場合に、第二手段が異常報知時間の初期設定動作を繰り返す時間周期は、異常報知時間より短く設定されるのが好適である。バックアップ復帰手段は、所定フラグを初期値に戻した状態で、電源遮断前の動作を再開するよう構成されていること、及び/又は、第一手段による計測結果を初期値に戻した状態で、電源遮断前の動作を再開するよう構成されているのが好適である。   In the present invention, when the predetermined condition is satisfied, it is preferable that the time period in which the second means repeats the initial setting operation of the abnormality notification time is set shorter than the abnormality notification time. The backup return means is configured to resume the operation before power shutdown with the predetermined flag returned to the initial value, and / or with the measurement result by the first means returned to the initial value, It is preferable that the operation before power-off is resumed.

また、バックアップ復帰手段は、その時の所定フラグが動作値である場合には、異常報知動作を開始するよう構成するのも好適である。監視センサには、静磁界を検出する磁気センサ、放射磁界を検出する電波センサ、又は、遊技媒体が所定位置に停滞していることを示す検出スイッチが含まれているのが好適である。なお、本発明の遊技機は、典型的には弾球遊技機又は回胴式遊技機である。   Further, it is also preferable that the backup recovery means is configured to start the abnormality notification operation when the predetermined flag at that time is an operation value. The monitoring sensor preferably includes a magnetic sensor that detects a static magnetic field, a radio wave sensor that detects a radiated magnetic field, or a detection switch that indicates that the game medium is stagnant at a predetermined position. 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 desired security operation can be realized without hindering the original performance control operation.

実施例に示すパチンコ機の斜視図である。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 circuit diagram which shows the internal circuit of a one-chip microcomputer. 主制御部のメイン処理を説明するフローチャートである。It is a flowchart explaining the main process of a main control part. 主制御部のタイマ割込み処理などを説明するフローチャートである。It is a flowchart explaining the timer interruption process of a main control part. タイマ割込み処理の一部を詳細に説明するフローチャートである。It is a flowchart explaining a part of timer interruption process in detail.

以下、本発明の実施例について詳細に説明する。図1は、本実施例のパチンコ機GMを示す斜視図である。このパチンコ機GMは、島構造体に着脱可能に装着される矩形枠状の木製外枠1と、外枠1に固着されたヒンジ2を介して開閉可能に枢着される前枠3とで構成されている。この前枠3には、遊技盤5が、裏側からではなく表側から着脱自在に装着され、その前側には、ガラス扉6と前面板7とが夫々開閉自在に枢着されている。   Examples of the present invention will be described in detail below. 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 rather than 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字状に配置されている。前面板7には発射用の遊技球を貯留する上皿8が装着され、前枠3の下部には、上皿8から溢れ出し又は抜き取った遊技球を貯留する下皿9と、発射ハンドル10とが設けられている。発射ハンドル10は発射モータと連動しており、発射ハンドル10の回動角度に応じて動作する打撃槌によって遊技球が発射される。   On the outer periphery of the glass door 6, an electric lamp such as an LED lamp is arranged in a substantially C shape. An upper plate 8 for storing game balls for launch is mounted on the front plate 7, and a lower plate 9 for storing game balls overflowing from or extracted from the upper plate 8 and a launch handle 10 are mounted at the bottom of the front frame 3. And 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が環状に設けられ、その内側の遊技領域5aの略中央には、液晶カラーディスプレイDISPが配置されている。また、遊技領域5aの適所には、図柄始動口15、大入賞口16、複数個の普通入賞口17(大入賞口16の左右に4つ)、通過口であるゲート18が配設されている。これらの入賞口15〜18は、それぞれ内部に検出スイッチを有しており、遊技球の通過を検出できるようになっている。   As shown in FIG. 2, the game board 5 is provided with a guide rail 13 formed of a metal outer rail and an inner rail in an annular shape, and a liquid crystal color display DISP is provided at the approximate center of the game area 5a inside. Has been placed. In addition, at a suitable place in the game area 5a, a symbol start opening 15, a big winning opening 16, a plurality of normal winning openings 17 (four on the right and left of the large winning opening 16), and a gate 18 serving as a passing opening are arranged. Yes. 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 liquid crystal display DISP is a device that variably displays a specific symbol related to a 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は、左右1対の開閉爪15aを備えた電動式チューリップで開閉されるよう例えば構成され、普通図柄表示部19の変動後の停止図柄が当り図柄を表示した場合には、開閉爪15aが所定時間だけ、若しくは、所定個数の遊技球を検出するまで開放されるようになっている。   For example, 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 15a. When the stop symbol after the fluctuation of the normal symbol display unit 19 displays a winning symbol, the symbol start port 15 is opened and closed. The claw 15a is opened only for a predetermined time or until a predetermined number of game balls are detected.

図柄始動口15に遊技球が入賞すると、特別図柄表示部Da〜Dcの表示図柄が所定時間だけ変動し、図柄始動口15への遊技球の入賞タイミングに応じた抽選結果に基づいて決定される停止図柄で停止する。なお、特別図柄表示部Da〜Dc及びその周りでは、一連の図柄演出の間に、予告演出が実行される場合がある。   When a game ball wins the symbol start port 15, the display symbols of the special symbol display portions Da to Dc change for a predetermined time and are determined based on the lottery result corresponding to the winning timing of the game ball to the symbol start port 15. Stop at the stop symbol. In addition, in special symbol display parts Da-Dc and the circumference | surroundings, a notice effect may be performed between a series of symbol effects.

大入賞口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 of the special symbols, a privilege that the game after the end of the special game is in a high probability state is given.

図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を受けて各種の直流電圧やシステムリセット信号(電源リセット信号)SYSなどを出力する電源基板20と、遊技制御動作を中心統括的に担う主制御基板21と、主制御基板21から受けた制御コマンドCMDに基づいてランプ演出及び音声演出を実行する演出制御基板22と、演出制御基板22から受けた制御コマンドCMD’に基づいて表示装置DISPを駆動する画像制御基板23と、主制御基板21から受けた制御コマンドCMD”に基づいて払出モータMを制御して遊技球を払い出す払出制御基板24と、遊技者の操作に応答して遊技球を発射させる発射制御基板25と、を中心に構成されている。   As shown in the figure, this pachinko machine GM is provided with a power supply board 20 that receives AC 24V and outputs various DC voltages, system reset signals (power reset signals) SYS, and the like, and a main control board 21 that plays a central role in game control operations. And an effect control board 22 that executes a lamp effect and a sound effect based on the control command CMD received from the main control board 21, and an image that drives the display device DISP based on the control command CMD ′ received from the effect control board 22. The control board 23, 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 ball, and the game ball is fired in response to the player's operation. The launch control board 25 is mainly configured.

但し、この実施例では、主制御基板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. 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 28. Is transmitted to the payout control board 24 via.

これら主制御基板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 the 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に接続されている。そして、主基板中継基板28は、電源基板20から受けたシステムリセット信号SYS、RAMクリア信号DEL、電源異常信号ABN、バックアップ電源BAK、DC12V、DC32Vを、そのまま主制御部21に出力している。同様に、電源中継基板30も、電源基板20から受けたシステムリセット信号SYSや、交流及び直流の電源電圧を、そのまま演出インターフェイス基板27に出力している。なお、演出インターフェイス基板27は、受けたシステムリセット信号SYSを、そのまま演出制御部22と画像制御部23に出力している。   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 main board relay board 28 outputs the system reset signal SYS, the RAM clear signal DEL, the power supply abnormality signal ABN, the backup power supplies BAK, DC12V, and DC32V received from the power supply board 20 to the main controller 21 as they are. Similarly, the power supply relay board 30 also outputs the system reset signal SYS received from the power supply board 20 and the AC and DC power supply voltages to the effect interface board 27 as they are. The effect interface board 27 outputs the received system reset signal SYS to the effect control unit 22 and the image control unit 23 as they are.

一方、払出制御基板24は、中継基板を介することなく、電源基板20に直結されており、主制御部21が受けると同様の、システムリセット信号SYS、RAMクリア信号DEL、電源異常信号ABN、バックアップ電源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 the system reset signal SYS, the RAM clear signal DEL, the power supply abnormality signal ABN, the backup, which are received by the main control unit 21. The power supply BAK is directly received together with other power supply voltages.

ここで、電源基板20が出力するシステムリセット信号SYSは、電源基板20に交流電源24Vが投入されたことを示す電源リセット信号であり、この電源リセット信号によって各制御部21〜24のワンチップマイコンその他のIC素子が電源リセットされるようになっている。   Here, 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 is turned on to the power supply board 20, and the one-chip microcomputers of the respective control units 21 to 24 by this power supply reset signal. The other IC elements are reset in power supply.

主制御部21及び払出制御部24が、電源基板20から受けるRAMクリア信号DELは、各制御部21,24のワンチップマイコンの内蔵RAMの全領域を初期設定するか否かを決定する信号であって、係員が操作する初期化スイッチSWのON/OFF状態に対応した値を有している。   The RAM clear signal DEL received from the power supply board 20 by the main control unit 21 and the payout control unit 24 is a signal that determines whether or not to initialize all areas of the built-in RAM of the one-chip microcomputer of each control unit 21 and 24. Therefore, it has a value corresponding to the ON / OFF state of the initialization switch SW operated by the attendant.

主制御部21及び払出制御部24が、電源基板20から受ける電源異常信号ABNは、交流電源24Vが降下し始めたことを示す信号であり、この電源異常信号ABNを受けることによって、各制御部21、24では、停電や営業終了に先立って、必要な終了処理を開始するようになっている。また、バックアップ電源BAKは、営業終了や停電により交流電源24Vが遮断された後も、主制御部21と払出制御部24のワンチップマイコンの内蔵RAMのデータを保持するDC5Vの直流電源である。したがって、主制御部21と払出制御部25は、電源遮断前の遊技動作を電源投入後に再開できることになる(電源バックアップ機能)。このパチンコ機では少なくとも数日は、各ワンチップマイコンのRAMの記憶内容が保持されるよう設計されている。   The power supply abnormality signal ABN received from the power supply board 20 by the main control unit 21 and the payout control unit 24 is a signal indicating that the AC power supply 24V has started to drop. By receiving this power supply abnormality signal ABN, each control unit In 21 and 24, necessary end processing is started 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 25 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.

一方、演出制御部22と画像制御部23には、上記した電源バックアップ機能が設けられていない。しかし、先に説明した通り、演出制御部22と画像制御部23には、電源中継基板30と演出インターフェイス基板27を経由して、システムリセット信号SYSが共通して供給されており、他の制御部21,24と、ほぼ同期したタイミングで電源リセット動作が実現される。   On the other hand, the effect control unit 22 and the image control unit 23 are not provided with the power supply backup function described above. However, as described above, the system reset signal SYS is commonly supplied to the effect control unit 22 and the image control unit 23 via the power relay board 30 and the effect interface board 27, and other controls are performed. The power supply reset operation is realized at a timing substantially synchronized with the units 21 and 24.

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

また、主制御部21は、遊技盤中継基板29を経由して、遊技盤5の各遊技部品に接続されている。そして、遊技盤上の各入賞口15〜18に内蔵された検出スイッチの検出スイッチ信号を受ける一方、電動チューリップなどのソレノイド類を駆動している。検出スイッチ信号には、図柄始動口15から主制御部21に伝送される入賞スイッチ信号SGも含まれている。   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 detection switch signal of the detection switch built in each winning opening 15-18 on a game board, solenoids, such as an electric tulip, are driven. The detection switch signal includes a winning switch signal SG transmitted from the symbol start port 15 to the main control unit 21.

また、この遊技機には、遊技盤の適所にと電波センサSE0と、磁気センサSE1〜SE5とが配置されており、各センサからの検出スイッチ信号も主制御部21に伝送される。磁気センサSEiは、例えば、遊技球の移動を誘導するべく違法使用される可能性のある永久磁石の静磁界を検出する監視センサあり、この実施例では、図柄始動口15への遊技球の移動経路に対応して、遊技盤上の4箇所に配置される。そして、磁束密度0.3〜0.5mT程度の静磁界を検出すると、それまでLレベルであった検出スイッチ信号がHレベルに遷移するよう構成されている。   Further, in this gaming machine, a radio wave sensor SE0 and magnetic sensors SE1 to SE5 are arranged at appropriate positions on the game board, and detection switch signals from the respective sensors are also transmitted to the main control unit 21. The magnetic sensor SEi is, for example, a monitoring sensor that detects a static magnetic field of a permanent magnet that may be illegally used to guide the movement of the game ball. In this embodiment, the movement of the game ball to the symbol start port 15 Corresponding to the route, it is arranged at four places on the game board. When a static magnetic field having a magnetic flux density of about 0.3 to 0.5 mT is detected, the detection switch signal that has been at the L level until then is shifted to the H level.

一方、電波センサSE0は、例えば、各入賞口15〜18に内蔵された検出スイッチをON動作させるべく放射される誘導磁界(放射磁界)を検出する監視センサであり、異常レベルの誘導磁界を検出すると、それまでLレベルであった検出スイッチ信号が、Hレベルに遷移するよう構成されている。なお、この実施例では、遊技盤の適所に一個の電波センサが配置されている。   On the other hand, the radio wave sensor SE0 is, for example, a monitoring sensor that detects an induced magnetic field (radiated magnetic field) that is radiated to turn on the detection switches built in the winning holes 15 to 18, and detects an induced magnetic field at an abnormal level. Then, the detection switch signal that has been at the L level so far is configured to transition to the H level. In this embodiment, one radio wave sensor is arranged at an appropriate position on the game board.

図4は、主制御部21のワンチップマイコン21Aの内部構成の一部を図示したものである。ここでは、遊技盤中継基板29を経由して、磁気センサや電波センサからの検出スイッチ信号、及び、図柄始動口15や普通入賞口17の検出スイッチから検出スイッチ信号を受ける部分も含めて図示している。なお、この実施例では、普通入賞口17からの検出スイッチ信号については、そのON時間の異常も判定しており、この意味では、普通入賞口17に配置された検出スイッチは、監視センサとして機能している。   FIG. 4 illustrates a part of the internal configuration of the one-chip microcomputer 21 </ b> A of the main control unit 21. Here, the detection switch signal from the magnetic sensor or the radio wave sensor and the detection switch signal from the detection switch of the symbol start opening 15 or the normal winning opening 17 are also shown via the game board relay board 29. ing. In this embodiment, the detection switch signal from the normal winning opening 17 is also determined to be abnormal in ON time. In this sense, the detection switch arranged at the normal winning opening 17 functions as a monitoring sensor. doing.

図示の通り、ワンチップマイコン21Aは、Z80CPU(Zilog社)相当のCPUと、Z80CTC(counter timer circuit )相当のカウンタタイマ回路CTCと、ROM及びRAMのメモリ回路と、ウォッチドッグタイマWDTと、乱数生成回路GNRと、入力ポートINPとを内蔵している。   As shown, the one-chip microcomputer 21A includes a CPU equivalent to Z80CPU (Zilog), a counter timer circuit CTC equivalent to Z80CTC (counter timer circuit), a ROM and RAM memory circuit, a watchdog timer WDT, and a random number generator. A circuit GNR and an input port INP are incorporated.

図柄始動口15からの入賞スイッチ信号SGは、バッファ回路BUFを経由して、ワンチップマイコン21Aの乱数生成回路GNRと、入力ポートINPに重複して供給されている。また、普通入賞口17からの検出スイッチ信号も、電圧レベル変換用のバッファ回路BUFと通常のバッファ回路APを経由して入力ポートINPに供給されている。なお、図示していないが、入力ポートINPには、大入賞口16やゲート18の検出スイッチからの検出スイッチ信号も合わせて供給されている。   The winning switch signal SG from the symbol start port 15 is supplied redundantly to the random number generation circuit GNR of the one-chip microcomputer 21A and the input port INP via the buffer circuit BUF. The detection switch signal from the normal winning opening 17 is also supplied to the input port INP via the voltage level conversion buffer circuit BUF and the normal buffer circuit AP. Although not shown, a detection switch signal is also supplied to the input port INP from the detection port 16 and the detection switch of the gate 18 together.

バッファ回路BUFは、オープンコレクタ型の出力部を有し、入力側が12Vにプルアップされ、出力側が5Vにプルアップされている。そして、遊技球が図柄始動口15などの入賞口を通過すると、バッファ回路BUFは、正論理のON信号として入賞スイッチ信号SGを出力する。なお、入賞口17の入口に、大径の不正遊技球を停止させた状態で、強力な電磁波を放射して不正な入賞スイッチ信号SGを生成する違法も懸念されるので、遊技球が入賞口17を通過し終わるまでの通過時間もソフトウェア処理によって管理している。   The buffer circuit BUF has an open collector type output section, and the input side is pulled up to 12V and the output side is pulled up to 5V. When the game ball passes through a winning opening such as the symbol start opening 15, the buffer circuit BUF outputs a winning switch signal SG as a positive logic ON signal. In addition, there is a concern about illegality that generates an illegal winning switch signal SG by emitting strong electromagnetic waves in a state where a large-diameter illegal gaming ball is stopped at the entrance of the winning opening 17, so The passage time until the passage through 17 is also managed by software processing.

電波センサSE0や、磁気センサSE1〜SE5からの検出スイッチ信号SN0〜SN5は、プルアップ抵抗RLでプルアップされた状態で、入力抵抗Ri及び入力コンデンサCiによるRCフィルタ回路に供給されている。そして、シュミットトリガ型のインバータ回路INVを経由して入力ポートINPに供給されている。先に説明した通り、各センサSE0〜SE5は、異常検出時にHレベルの検出スイッチ信号を出力するので、入力ポートINPには、異常検出時にLレベルの検出スイッチ信号SN0〜SN5が供給されることになる。   The detection switch signals SN0 to SN5 from the radio wave sensor SE0 and the magnetic sensors SE1 to SE5 are supplied to an RC filter circuit including an input resistor Ri and an input capacitor Ci in a state pulled up by a pullup resistor RL. And it is supplied to the input port INP via the Schmitt trigger type inverter circuit INV. As described above, each of the sensors SE0 to SE5 outputs an H level detection switch signal when an abnormality is detected. Therefore, the L level detection switch signals SN0 to SN5 are supplied to the input port INP when an abnormality is detected. become.

乱数生成回路GNRは、図柄始動口15の入賞スイッチ信号SGがON状態になったことを検出して検出内容を保持するラッチレジスタと、計数クロックΦを受けて高速度で更新されるカウンタと、入賞スイッチ信号がON状態となった瞬間のカウンタ値を乱数値として保持する乱数値レジスタとを有している。   The random number generation circuit GNR includes a latch register that detects that the winning switch signal SG of the symbol start port 15 is turned on and holds the detected content, a counter that receives the count clock Φ and is updated at a high speed, And a random value register that holds a counter value at the moment when the winning switch signal is turned ON as a random value.

そして、CPUは、入力ポートINPからの入力データに基づき、入賞スイッチ信号SGがON状態となったことを把握すると、乱数生成回路GNRの乱数値レジスタから乱数値を取得し、これを当選値とを比較する抽選処理(図6の特別図柄処理ST37)を実行するよう構成されている。   When the CPU grasps that the winning switch signal SG is in the ON state based on the input data from the input port INP, the CPU obtains a random value from the random value register of the random number generation circuit GNR, and uses this as the winning value. The lottery process (the special symbol process ST37 in FIG. 6) is executed.

続いて、主制御部21のワンチップマイコン21Aによって実現される遊技動作を説明する。図5〜図7は、主制御部21の制御プログラムを示すフローチャートであり、電源電圧の復旧や投入に基づいて起動されるシステムリセット処理(図5)と、所定時間毎(4mS)に起動されるマスク可能なタイマ割込み処理(図6(a))とを有して構成されている。   Subsequently, a gaming operation realized by the one-chip microcomputer 21A of the main control unit 21 will be described. FIGS. 5 to 7 are flowcharts showing the control program of the main control unit 21. The system reset process (FIG. 5) is started based on the restoration or input of the power supply voltage, and is started every predetermined time (4 mS). And maskable timer interrupt processing (FIG. 6A).

以下、図5を参照しつつ、システムリセット処理プログラム(メイン処理)について説明する。メイン処理が開始されるのは、停電状態からの復旧時のように初期化スイッチSWがOFF状態で電源がON状態になる場合と、遊技ホールの開店時のように、初期化スイッチSWがON操作されて電源がON状態になる場合とがある。なお、ウォッチドッグタイマWDTが起動してCPUが強制的にリセットされる場合もある。   Hereinafter, the system reset processing program (main processing) will be described with reference to FIG. The main process is started when the initialization switch SW is turned off and the power is turned on, such as when recovering from a power failure, and when the game hall is opened, the initialization switch SW is turned on. There is a case where the power source is turned on by being operated. In some cases, the watchdog timer WDT is activated and the CPU is forcibly reset.

何れの場合でも、Z80CPUは、DI命令を実行して、自らを割込み禁止状態に設定して(ST1)、ワンチップマイコン21A各部の初期設定をする(ST2)。   In any case, the Z80 CPU executes the DI command, sets itself to the interrupt disabled state (ST1), and initializes each part of the one-chip microcomputer 21A (ST2).

次に、不図示の入力ポートからRAMクリア信号DELを取得して、これを適宜なレジスタに保存する(ST3)。このように、本実施例では、CPUリセット後、RAMクリア信号DELが速やかに取得されるので、係員が、初期化スイッチSWを素早くON→OFF操作をした場合でもRAMクリア信号DELを読み落すことがない。なお、RAMクリア信号DELは、ワンチップマイコン21Aの内蔵RAMの全領域を初期設定するか否かを決定する信号であって、係員が操作する初期化スイッチSWのON/OFF状態に対応した値を有している。   Next, a RAM clear signal DEL is obtained from an input port (not shown) and stored in an appropriate register (ST3). As described above, in this embodiment, after the CPU is reset, the RAM clear signal DEL is quickly acquired. Therefore, even if the clerk performs the ON / OFF operation of the initialization switch SW quickly, the RAM clear signal DEL is read out. There is no. The RAM clear signal DEL is a signal for determining whether or not to initialize all the areas of the built-in RAM of the one-chip microcomputer 21A, and is a value corresponding to the ON / OFF state of the initialization switch SW operated by the staff. have.

次に、ウォッチドッグタイマWDTの起動を抑制するべく、ウォッチドッグタイマWDTにクリア信号を供給しつつ(ST4)、所定の待機時間を消費する(ST5)。これは、下流側のサブ制御部22,23が、制御動作を確実に開始するまでの時間を確保するためである。   Next, in order to suppress activation of the watchdog timer WDT, a clear signal is supplied to the watchdog timer WDT (ST4) and a predetermined waiting time is consumed (ST5). This is to secure time until the sub-control units 22 and 23 on the downstream side reliably start the control operation.

このような時間消費処理が終われば、次に、電源異常信号ABNのレベルを判定して、正常レベルになるまで待機する(ST6)。これは電源遮断時などに、ステップST51の処理の後に、ウォッチドッグタイマWDTによるCPUリセットが生じる可能性を考慮したものである。すなわち、本実施例では、ステップST6の判定処理が存在するので、電源遮断時に、CPUがリセットされても、バックアップフラグBFLやその他のRAMデータが改変されることはない。   When such time consumption processing is completed, next, the level of the power supply abnormality signal ABN is determined, and it waits until it reaches a normal level (ST6). This considers the possibility of a CPU reset caused by the watchdog timer WDT after the process of step ST51, such as when the power is shut off. That is, in the present embodiment, since the determination process of step ST6 exists, even if the CPU is reset when the power is turned off, the backup flag BFL and other RAM data are not altered.

ステップST6の処理によって、電源異常信号ABNが正常レベルであると判定されると、次に、内蔵RAMを書込み可能状態に設定した上で、表示装置DISPに客待ちデモ画面を表示するべく、下流側のサブ制御部に待機画面用の制御コマンドを送信する(ST7)。ステップST7の処理の結果、電源遮断時にステップST49の処理で禁止された内蔵RAMへの書込み動作が、可能となる。なお、この実施例では、RAMへの書込み動作(Write )が、適宜に禁止/許可されるが、読み込み動作(Read)は、常に許可されている。   If it is determined in step ST6 that the power supply abnormality signal ABN is at a normal level, the built-in RAM is set to a writable state, and the downstream waiting screen is displayed on the display device DISP to display the customer waiting demo screen. The control command for the standby screen is transmitted to the side sub-control unit (ST7). As a result of the process of step ST7, the write operation to the built-in RAM prohibited by the process of step ST49 is enabled when the power is shut off. In this embodiment, the write operation (Write) to the RAM is appropriately prohibited / permitted, but the read operation (Read) is always permitted.

次に、ウォッチドッグタイマWDTにクリア信号を供給しつつ(ST8)、電源投入信号がON状態になるのを待機する(ST9)。電源投入信号は、初期処理を終えた払出制御部23が出力する信号であり、ステップST9の処理によって、払出制御部23が定常動作を開始したことが確認される。   Next, while supplying a clear signal to the watchdog timer WDT (ST8), it waits for the power-on signal to be turned on (ST9). The power-on signal is a signal output by the payout control unit 23 that has completed the initial processing, and it is confirmed by the processing in step ST9 that the payout control unit 23 has started a steady operation.

続いて、ステップST3の処理で取得され、適宜なレジスタに保存されているRAMクリア信号DELのレベルを判定する(ST10)。そして、RAMクリア信号DELがON状態であると、内蔵RAMの全領域をゼロクリアする(ST13)。その結果、図6(b)のステップST47の処理でセットされたバックアップフラグBFLの値は、他のチェックサム値などと共にゼロとなる。   Subsequently, the level of the RAM clear signal DEL acquired in the process of step ST3 and stored in an appropriate register is determined (ST10). If the RAM clear signal DEL is in the ON state, the entire area of the built-in RAM is cleared to zero (ST13). As a result, the value of the backup flag BFL set in the process of step ST47 in FIG. 6B becomes zero together with other checksum values.

次に、RAM領域がゼロクリアされたことを報知するための電源投入コマンドを出力する(ST14)。RAM領域がゼロクリアされたことは、遊技ホールを一元管理するホールコンピュータにも通知されるが、その通知時間を管理する報知タイマも適宜な値(例えば、30秒)に初期設定される(ST15)。   Next, a power-on command for notifying that the RAM area has been cleared to zero is output (ST14). The fact that the RAM area has been cleared to zero is also notified to the hall computer that centrally manages the gaming holes, but the notification timer that manages the notification time is also initialized to an appropriate value (for example, 30 seconds) (ST15). .

そして、タイマ割込み動作(図6(a))を起動する割込み信号INTを出力するCTCを初期設定する(ST17)。次に、CPUを割込み禁止状態にセットした状態で(ST18)、各種のカウンタついて更新処理を実行し(ST19)、その後、CPUを割込み許可状態に戻してステップST18に戻る。なお、ステップST19で更新されるカウンタには、外れ図柄用カウンタが含まれているが、この外れ図柄用カウンタは、図6(a)の特別図柄処理(ST37)における大当り抽選処理の結果が外れ状態となった場合に、どのような態様の外れゲームを演出するかを決定するためのカウンタである。   Then, the CTC that outputs the interrupt signal INT for starting the timer interrupt operation (FIG. 6A) is initialized (ST17). Next, with the CPU set to the interrupt disabled state (ST18), update processing is executed for various counters (ST19), and then the CPU is returned to the interrupt enabled state and the process returns to step ST18. The counter updated in step ST19 includes an out symbol counter, but this out symbol counter is out of the result of the big hit lottery process in the special symbol processing (ST37) of FIG. 6 (a). It is a counter for deciding what kind of out-of-game to produce when it becomes a state.

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

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

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

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

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

一方、ステップST12の判定において、チェックサム演算によるチェックサム値と、SUM番地の記憶値とが一致する場合には、バックアップ復帰処理を実行した上で(ST16)、ステップST17の処理に移行して電源遮断前の遊技動作を再開する。バックアップ復帰処理では、表示装置に電源復帰画面を表示するための電源復帰画面用の制御コマンドと、その他復帰動作用の制御コマンドを各サブ制御部22〜24に送信する。   On the other hand, if it is determined in step ST12 that the checksum value obtained by the checksum operation matches the stored value at the SUM address, the backup restoration process is executed (ST16), and the process proceeds to step ST17. Resuming the game operation before turning off the power. In the backup recovery process, the control command for the power recovery screen for displaying the power recovery screen on the display device and the control command for the other recovery operation are transmitted to each of the sub-control units 22-24.

次に、電波エラー、磁気エラー、入賞口エラーに関するエラー検出タイマER1〜ER6を全てクリアし(ST22)、また、異常報知動作を管理する異常報知フラグALM1〜ALM3を全てクリアする(ST23)。このように、本実施例では、RAMクリア処理を回避して電源遮断前に遊技動作を再開する場合にも、異常報知動作に関するRAMのバックアップデータをクリアする。これは、電源遮断前に開始された異常報知動作を継続させるためであるが、この点については更に後述する。   Next, all error detection timers ER1 to ER6 related to radio wave error, magnetic error, and prize opening error are cleared (ST22), and all abnormality notification flags ALM1 to ALM3 for managing the abnormality notification operation are cleared (ST23). As described above, in this embodiment, even when the RAM clear process is avoided and the game operation is restarted before the power is cut off, the RAM backup data related to the abnormality notification operation is cleared. This is for continuing the abnormality notification operation started before the power is shut off, which will be described later.

続いて、上記したメイン処理を中断させて、4mS毎に開始されるタイマ割込み処理プログラム(図6(a))を説明する。タイマ割込みが生じると、CPUのレジスタを保存することなく、直ちに電源監視処理が実行される(ST30)。これは、タイマ割込み処理が起動されるタイミングが、ステップST20の直後に固定されているためである。   Next, a timer interrupt processing program (FIG. 6 (a)) started every 4 ms with the main process described above being interrupted will be described. When the timer interrupt occurs, the power supply monitoring process is immediately executed without saving the CPU register (ST30). This is because the timing at which the timer interrupt process is started is fixed immediately after step ST20.

電源監視処理(ST30)では、電源基板20から供給されている電源異常信号ABNのレベルを判定するが、具体的な処理内容については後述する。電源監視処理(ST30)が終わると、ウォッチドッグタイマWDTにクリアパルスを出力すると共に、普通図柄処理(ST36)における抽選動作で使用される当り用カウンタRGの値を更新する(ST31)。なお、特別図柄処理(ST37)における抽選動作で使用される大当り判定用の乱数値RNDについては、図4の乱数生成回路GNRで生成されるので、ステップST31の処理で更新されることはない。   In the power supply monitoring process (ST30), the level of the power supply abnormality signal ABN supplied from the power supply board 20 is determined, and specific processing contents will be described later. When the power supply monitoring process (ST30) ends, a clear pulse is output to the watchdog timer WDT, and the value of the winning counter RG used in the lottery operation in the normal symbol process (ST36) is updated (ST31). Note that the jackpot determination random number value RND used in the lottery operation in the special symbol process (ST37) is generated by the random number generation circuit GNR of FIG. 4 and is not updated in the process of step ST31.

当り乱数更新処理(ST31)が終わると、各遊技動作の時間を管理しているタイマについて、タイマ減算処理が行なわれる(ST32)。ここで減算されるタイマは、主として、電動チューリップや大入賞口の開放時間やその他の遊技演出時間を管理するために使用される。   When the winning random number update process (ST31) ends, a timer subtraction process is performed for the timer that manages the time of each gaming operation (ST32). The timer to be subtracted here is mainly used for managing the opening time of the electric tulip and the special winning opening and other game effect times.

続いて、図柄始動口15や大入賞口16の入賞検出スイッチを含む各種スイッチ類のON/OFF信号が入力され、ワーク領域にON/OFF信号レベルや、その立上り状態が記憶される(ST33)。   Subsequently, ON / OFF signals of various switches including a winning detection switch of the symbol start opening 15 and the big winning opening 16 are inputted, and the ON / OFF signal level and its rising state are stored in the work area (ST33). .

次に、エラー管理処理が行われる(ST24)。エラー管理処理は、遊技球の補給が停止したり、遊技球が詰まっていないかなど、機器内部に異常が生じていないかの判定を含んでいる。また、電波センサSE0や磁気センサSEiなどの監視センサが異常反応していないかの異常監視処理も含んでいる。   Next, error management processing is performed (ST24). The error management process includes a determination as to whether an abnormality has occurred inside the device, such as whether or not the supply of game balls has stopped or the game balls are clogged. Also included is an abnormality monitoring process for monitoring sensors such as the radio wave sensor SE0 and the magnetic sensor SEi for abnormal reaction.

図7は、エラー管理処理の要部である異常監視処理を示すフローチャートである。先ず、ワンチップマイコン21Aの入力ポートINP(図4)からセンサSE0〜SE5の検出スイッチ信号SNiを取得する(ST80)。先に説明した通り、本実施例で取得されるセンサ信号SNiは、電波センサSE0からの検出スイッチ信号SN0と、5個の磁気センサSE1〜SE5からの検出スイッチ信号SN1〜SN5との合計6種類である。   FIG. 7 is a flowchart showing an abnormality monitoring process which is a main part of the error management process. First, the detection switch signal SNi of the sensors SE0 to SE5 is acquired from the input port INP (FIG. 4) of the one-chip microcomputer 21A (ST80). As described above, the sensor signals SNi acquired in the present embodiment are a total of six types of detection switch signals SN0 from the radio wave sensor SE0 and detection switch signals SN1 to SN5 from the five magnetic sensors SE1 to SE5. It is.

次に、異常レベルを示す検出スイッチ信号SNiに対応して、エラーフラグの該当ビットをON状態に設定する(ST81)。具体的には、電波センサSE0からの検出スイッチ信号SN0がON状態(この実施例ではLレベル)であれば、該当1ビット(電波エラービット)を1にセットする。また、検出スイッチ信号SN1〜SN5の何れか一つ以上がON状態であれば、該当1ビット(磁気エラービット)を1にセットする。すなわち、5個の磁気センサSE1〜SE5の何れかの検出スイッチ信号SNiが異常レベルであれば、磁気スイッチ用のエラービットを1に設定する。   Next, the corresponding bit of the error flag is set to the ON state corresponding to the detection switch signal SNi indicating the abnormal level (ST81). Specifically, if the detection switch signal SN0 from the radio wave sensor SE0 is in an ON state (L level in this embodiment), the corresponding 1 bit (radio wave error bit) is set to 1. Further, if any one or more of the detection switch signals SN1 to SN5 is ON, the corresponding 1 bit (magnetic error bit) is set to 1. That is, if the detection switch signal SNi of any of the five magnetic sensors SE1 to SE5 is at an abnormal level, the error bit for the magnetic switch is set to 1.

また、ステップST81の処理では、4個の普通入賞口17の何れかに遊技球が入賞した場合に、その検出スイッチ信号SG1〜SG4のON時間が、何れかの普通入賞口17において上限時間を超えた場合にも、エラーフラグの該当1ビット(入賞エラービット)が1にセットされる。これは、大径の不正遊技球を、普通入賞口17に入口に停止させて実行される不正遊技に対処するためである。   Further, in the process of step ST81, when a game ball wins one of the four normal winning holes 17, the ON time of the detection switch signals SG1 to SG4 is set to the upper limit time at any of the normal winning holes 17. Even if it exceeds, the corresponding 1 bit (winning error bit) of the error flag is set to 1. This is to cope with an illegal game executed by stopping the large-diameter illegal game ball at the entrance to the normal winning opening 17.

以上のように、ステップST81の処理では、エラーフラグの3ビットを使用して異常事態の発生が記憶される。そこで、次に、3ビットのエラービットが判定され(ST82)、エラービットが全て0であれば、全てのエラー検出タイマER1〜ER6をゼロクリアする(ST83)。   As described above, in the process of step ST81, the occurrence of an abnormal situation is stored using 3 bits of the error flag. Then, next, 3 error bits are judged (ST82), and if all error bits are 0, all error detection timers ER1 to ER6 are cleared to zero (ST83).

エラー検出タイマER1〜ER6は、ノイズなどの影響で、異常事態を誤検出している可能性を考慮して設けられており、基準時間(例えば、100mS)継続して異常事態を検出することを確認するために使用される。そして、本実施例では、電波エラー確認用のエラー検出タイマER1と、磁気エラー確認用のエラー検出タイマER2と、入賞口エラー確認用のエラー検出タイマER3〜ER6の合計6個が用意されている。   The error detection timers ER1 to ER6 are provided in consideration of a possibility that an abnormal situation is erroneously detected due to the influence of noise or the like, and detect an abnormal situation continuously for a reference time (for example, 100 mS). Used to confirm. In the present embodiment, a total of six error detection timers ER1 for checking radio wave errors, error detection timers ER2 for checking magnetic errors, and error detection timers ER3 to ER6 for checking winning prize errors are prepared. .

したがって、ステップST82の処理において、何れかのエラービットが1であると判定される場合には、該当するエラー検出タイマER1〜ER6をインクリメント(+1)する(ST84)。すなわち、電波エラービットや磁気エラービットが1であれば、これに対応して、エラー検出タイマER1,ER2をインクリメントする。一方、入賞口エラービットが1であれば、入賞口エラーが検出された普通入賞口に対応するエラー検出タイマER3〜ER6をインクリメントする。   Therefore, if it is determined in step ST82 that any of the error bits is 1, the corresponding error detection timers ER1 to ER6 are incremented (+1) (ST84). That is, if the radio wave error bit or the magnetic error bit is 1, the error detection timers ER1 and ER2 are incremented accordingly. On the other hand, if the winning opening error bit is 1, the error detection timers ER3 to ER6 corresponding to the normal winning opening where the winning opening error is detected are incremented.

次に、基準値THに達したエラー検出タイマER1〜ER6が存在するかが判定される(ST85)。この実施例では、基準時間=100mS、タイマ割込み周期=4mSであるので、基準値TH=25であり、タイマ割込み処理において、連続して25回以上、同一の異常状態を検出したか否かが問題となる。なお、25回の途中で異常状態が回復するとエラー検出タイマが0クリアされるので(ST83)、このクリア動作によってノイズなどによる異常事態の誤検出が排除される。   Next, it is determined whether there are any error detection timers ER1 to ER6 that have reached the reference value TH (ST85). In this embodiment, since the reference time = 100 mS and the timer interrupt cycle = 4 mS, the reference value TH = 25, and whether or not the same abnormal state is detected 25 times or more continuously in the timer interrupt process. It becomes a problem. Since the error detection timer is cleared to 0 when the abnormal state recovers in the middle of 25 times (ST83), erroneous detection of an abnormal situation due to noise or the like is eliminated by this clearing operation.

ステップST85の判定によって、基準値THを超えたエラー検出タイマが検出されると、該当する異常報知タイマTM1〜TM3が初期設定される。初期設定値は、特に限定されないが、30秒程度の異常報知時間を担保する初期値とされる。なお、異常報知タイマとしては、電波エラー、磁気エラー、入賞口エラーに対応して3種類TM1〜TM3が用意されている。したがって、4個の普通入賞口17のうち、何れかの普通入賞口17で異常が検出され、その異常が当該普通入賞口において100mS以上継続した場合には、入賞口エラー用の単一の異常報知タイマTM3が初期設定されることになる。   If an error detection timer exceeding the reference value TH is detected by the determination in step ST85, the corresponding abnormality notification timers TM1 to TM3 are initialized. The initial set value is not particularly limited, but is an initial value that guarantees an abnormality notification time of about 30 seconds. Note that three types of abnormality notification timers TM1 to TM3 are prepared corresponding to radio wave errors, magnetic errors, and prize opening errors. Therefore, if an abnormality is detected at any one of the four normal winning openings 17 and the abnormality continues for 100 mS or more at the normal winning opening, a single abnormality for a winning opening error is detected. The notification timer TM3 is initialized.

次に、3つの異常報知フラグALM1〜ALM3を各々の保存領域OLD1〜OLD3に保存した上で、異常報知タイマTM1〜TM3の値に対応する設定処理を実行する(ST87〜ST90)。ここで、異常報知フラグALM1〜AML3は、異常報知タイマTM1〜TM3に対応して3種類が用意されおり、異常報知動作中か否かを示している。   Next, after storing the three abnormality notification flags ALM1 to ALM3 in the respective storage areas OLD1 to OLD3, setting processing corresponding to the values of the abnormality notification timers TM1 to TM3 is executed (ST87 to ST90). Here, three types of abnormality notification flags ALM1 to AML3 are prepared corresponding to the abnormality notification timers TM1 to TM3, and indicate whether the abnormality notification operation is being performed.

そして、0である異常報知タイマTM1〜TM3に対応して、異常報知フラグALM1〜ALM3が0とされる(ST88)。一方、0でない異常報知タイマTM1〜TM3に対応して、異常報知フラグALM1〜ALM3が1に設定され(ST89)、1である異常報知フラグALM1〜ALM3に対応する異常報知タイマTM1〜TM3の値がデクリメントされる(ST90)。   Then, the abnormality notification flags ALM1 to ALM3 are set to 0 corresponding to the abnormality notification timers TM1 to TM3 which are 0 (ST88). On the other hand, the abnormality notification flags ALM1 to ALM3 are set to 1 corresponding to the abnormality notification timers TM1 to TM3 which are not 0 (ST89), and the values of the abnormality notification timers TM1 to TM3 corresponding to the abnormality notification flags ALM1 to ALM3 which are 1 are set. Is decremented (ST90).

続いて、異常報知フラグALM1〜ALM3が、今回のタイマ割込みにおいて変化したか否かが判定される(ST91)。具体的には、ステップST87の処理で保存領域OLD1〜OLD3に保存した異常報知フラグALM1〜ALM3の値と、その後に更新された異常報知フラグALM1〜ALM3の値とが比較される。   Subsequently, it is determined whether or not abnormality notification flags ALM1 to ALM3 have changed in the current timer interrupt (ST91). Specifically, the values of the abnormality notification flags ALM1 to ALM3 stored in the storage areas OLD1 to OLD3 in the process of step ST87 are compared with the values of the abnormality notification flags ALM1 to ALM3 updated thereafter.

そして、0から1に変化した異常報知フラグALMiが検出される場合には、対応するエラー報知コマンドが下流側サブ制御部に伝送される(ST93)。すなわち、異常報知動作を開始するべく、異常内容(電波エラー、磁気エラー、又は入賞口エラー)を特定したエラー報知コマンドが送信される。   If the abnormality notification flag ALMi changed from 0 to 1 is detected, the corresponding error notification command is transmitted to the downstream sub-control unit (ST93). That is, in order to start the abnormality notification operation, an error notification command specifying the abnormality content (a radio wave error, a magnetic error, or a prize opening error) is transmitted.

このように、本実施例では、異常報知動作中に繰返しエラー報知コマンドを送信するのではなく、異常報知動作の開始時に限って一回だけエラー報知コマンドが送信されるので、主制御部21やサブ制御部22,23におけるコマンド送受信用の制御負担が軽減される。   As described above, in this embodiment, the error notification command is transmitted only once at the start of the abnormality notification operation, instead of repeatedly transmitting the error notification command during the abnormality notification operation. The control burden for command transmission / reception in the sub-control units 22 and 23 is reduced.

一方、ステップST91の判定において、1から0に変化した異常報知フラグALMiが検出される場合には、対応するエラー解除コマンドがサブ制御部に伝送される(ST92)。すなわち、所定の報知時間が経過したので、エラー報知動作を解除するべく、報知解除すべきエラー内容(電波エラー、磁気エラー、又は入賞口エラー)を特定したエラー解除コマンドが送信される。なお、変化した異常報知フラグALM1〜ALM3が存在しない場合には何もしないで異常監視用のサブルーチン処理を終える。   On the other hand, when the abnormality notification flag ALMi changed from 1 to 0 is detected in the determination of step ST91, a corresponding error release command is transmitted to the sub-control unit (ST92). That is, since a predetermined notification time has elapsed, an error cancel command specifying an error content to be canceled (radio wave error, magnetic error, or prize opening error) is transmitted to cancel the error notification operation. If the changed abnormality notification flags ALM1 to ALM3 do not exist, the abnormality monitoring subroutine process is terminated without doing anything.

以上の通り、本実施例では、異常報知フラグALM1〜ALM3の変化に対応して異常報知動作を開始し、異常報知動作を終了するので、主制御部21やサブ制御部22,23におけるコマンド送受信用の制御負担が軽減される。また、ステップST85の処理では、エラー検出タイマERiの値が基準値TH以上である場合には、何回でも異常報知タイマTMiが初期設定されるので、異常事態が消滅されない限り、異常報知動作が終了することはない。すなわち、各エラー検出タイマERiは、一旦、基準値THに達した後も、異常事態が解消されない限り、インクリメント処理が繰り返されるので(ST80〜ST84)、異常報知タイマTMiの値が4mS毎に初期設定されることで、異常報知タイマTMiが0になることがなく、したがって、異常報知フラグALMiが0に戻ることがない。   As described above, in this embodiment, the abnormality notification operation is started in response to the change of the abnormality notification flags ALM1 to ALM3, and the abnormality notification operation is ended. Therefore, the command transmission / reception in the main control unit 21 and the sub control units 22 and 23 is performed. Control burden is reduced. Further, in the process of step ST85, if the value of the error detection timer ERI is equal to or greater than the reference value TH, the abnormality notification timer TMi is initialized any number of times, so that the abnormality notification operation is performed as long as the abnormal situation does not disappear. It never ends. That is, each error detection timer ERI is incremented repeatedly after reaching the reference value TH as long as the abnormal situation is not resolved (ST80 to ST84), so that the value of the abnormality notification timer TMi is initialized every 4 ms. By being set, the abnormality notification timer TMi does not become 0, and therefore the abnormality notification flag ALMi does not return to 0.

ところで、エラー検出タイマERiの計数値がオーバフローしてゼロに戻っても、その後、100mS後に、再度、異常報知タイマTMiが初期設定され、この時まで異常報知動作(継続時間は30秒)が継続されているので何の問題も生じない。なお、異常報知タイマTMiが初期設定処理は、異常報知動作の継続時間より短い周期で実行すれば足りる。そして、この意味では、ステップST84の判定条件は、エラー検出タイマERiが8ビット長程度である限り、エラー検出タイマERi≧THである必要は必ずしもなく、例えば、エラー検出タイマERi=THの判定条件でも良く、この場合には、8ビット長のエラー検出タイマERiに対して、256*4mS≒1秒毎に異常報知タイマTMiが繰り返し初期設定される。   By the way, even if the count value of the error detection timer ERi overflows and returns to zero, the abnormality notification timer TMi is initialized again after 100 ms, and the abnormality notification operation (the duration is 30 seconds) continues until this time. No problems occur. Note that it is sufficient that the abnormality notification timer TMi performs the initial setting process at a cycle shorter than the duration of the abnormality notification operation. In this sense, the determination condition in step ST84 is not necessarily limited to the error detection timer ERi ≧ TH as long as the error detection timer ERi is about 8 bits long. For example, the determination condition of the error detection timer ERi = TH In this case, the abnormality notification timer TMi is repeatedly initialized every 256 * 4 mS≈1 second with respect to the 8-bit long error detection timer ERi.

但し、本実施例では、異常報知フラグALMiが、0から1に変化したタイミングでしかエラー報知コマンドが送信されないので(ST93)、このことによる弊害も懸念される。例えば、異常報知フラグALMiが0から1に変化した直後に、違法行為による意図的な電源遮断が生じた場合を想定する。このような場合、例え、主制御部21において電源遮断前の制御動作が再開されても、異常報知フラグALMiの値がALMi=1を維持する限り、エラー報知コマンドが再送されないので異常報知動作が実行されないおそれがある。すなわち、異常報知タイマTMiの値が、例え4mS毎に繰り返し初期設定されたところで、異常報知フラグALMi=1が維持される限り、エラー報知コマンドが送信されないので、違法行為を放任してしまうとも懸念される。   However, in this embodiment, since the error notification command is transmitted only at the timing when the abnormality notification flag ALMi changes from 0 to 1 (ST93), there is a concern about the adverse effects caused by this. For example, a case is assumed in which an intentional power interruption due to an illegal action occurs immediately after the abnormality notification flag ALMi changes from 0 to 1. In such a case, for example, even if the main controller 21 resumes the control operation before the power interruption, as long as the value of the abnormality notification flag ALMi is maintained at ALMi = 1, the error notification command is not retransmitted, so the abnormality notification operation is performed. May not be executed. That is, when the value of the abnormality notification timer TMi is repeatedly initialized every 4 ms, for example, the error notification command is not transmitted as long as the abnormality notification flag ALMi = 1 is maintained. Is done.

しかし、本実施例では、バックアップ復帰処理において、エラー検出タイマERiと、異常報知フラグとを画一的にゼロクリアしているので(ST22〜ST23)、上記の弊害は全く生じない。すなわち、電源復帰後も異常事態が継続している場合には、改めて、エラー検出タイマERiのインクリメント処理が実行され(ST84)、100mS後にエラー検出タイマの値が基準値THを超えると、エラー報知コマンドが送信され(ST93)、所定の異常報知動作が開始される。そして、開始された異常報知動作は、異常事態が解消されない限り継続される。   However, in this embodiment, since the error detection timer ERi and the abnormality notification flag are uniformly cleared to zero in the backup recovery process (ST22 to ST23), the above-described adverse effects do not occur at all. That is, if the abnormal situation continues even after the power is restored, the error detection timer ERi is incremented again (ST84). If the error detection timer value exceeds the reference value TH after 100 mS, an error notification is issued. A command is transmitted (ST93), and a predetermined abnormality notification operation is started. Then, the started abnormality notification operation is continued unless the abnormal situation is resolved.

以上、エラー管理処理(ST34)について説明したので、図6に戻ってその後の処理を説明する。上記のような、エラー管理処理が終われば、次に、払出制御部24から受けた賞球計数信号に基づく管理処理を実行した後(ST35)、普通図柄処理を行う(ST36)。普通図柄処理とは、電動チューリップなど、普通電動役物を作動させるか否かの判定を意味する。具体的には、ステップST33のスイッチ入力結果によって遊技球がゲートを通過していると判定された場合に、乱数更新処理(ST31)で更新された当り用カウンタRGを、当り当選値と対比して行われる。そして、対比結果が当選状態であれば当り中の動作モードに変更する。また、当り中となれば、電動チューリップなど、普通電動役物の作動に向けた処理を行う。   The error management process (ST34) has been described above, and the subsequent process will be described with reference to FIG. When the error management process as described above is completed, the management process based on the winning ball count signal received from the payout control unit 24 is executed (ST35), and then the normal symbol process is performed (ST36). The normal symbol processing means determination as to whether or not to operate an ordinary electric accessory such as an electric tulip. Specifically, when it is determined that the game ball is passing the gate based on the switch input result in step ST33, the winning counter RG updated in the random number updating process (ST31) is compared with the winning winning value. Done. If the comparison result is a winning state, the operation mode is changed to the winning operation mode. In addition, if it is a hit, processing for the operation of a normal electric accessory such as an electric tulip is performed.

続いて、特別図柄処理を行う(ST37)。特別図柄処理とは、大入賞口16など特別電動役物を作動させるか否かの判定である。具体的には、入賞スイッチ信号SGが立上ったと判定される場合には、乱数生成回路GNRの乱数レジスタに格納されている乱数値RNDに使用して大当り抽選処理を実行する。そして、図示省略しているが、抽選結果が当選状態であれば大当り中の動作モードに変更する。また、大当り中となれば、大入賞口など種特別電動役物の作動に向けた処理を行う。   Subsequently, special symbol processing is performed (ST37). The special symbol process is a determination as to whether or not to operate a special electric accessory such as the special winning opening 16. Specifically, when it is determined that the winning switch signal SG has risen, the big hit lottery process is executed using the random number value RND stored in the random number register of the random number generation circuit GNR. Although not shown in the drawing, if the lottery result is a winning state, the operation mode is changed to a big hit operation mode. In addition, if it is a big hit, processing for the operation of special electric accessories such as a big prize opening is performed.

このような特別図柄処理(ST37)の後、主制御部21で管理するLEDについて点灯動作を進行させると共に(ST38)、電動チューリップや大入賞口などの開閉動作を実現するソレノイド駆動処理を実行した後(ST39)、CPUを割込み許可状態EIに戻してタイマ割込みを終える(ST40)。その結果、割込み処理ルーチンからメイン処理の無限ループ処理(図5)に戻り、ステップST19の処理が実行される。   After such special symbol processing (ST37), the lighting operation of the LEDs managed by the main control unit 21 is advanced (ST38), and the solenoid driving processing for realizing the opening / closing operation of the electric tulip or the big prize opening is executed. After (ST39), the CPU is returned to the interrupt permission state EI and the timer interrupt is finished (ST40). As a result, the process returns from the interrupt process routine to the infinite loop process (FIG. 5) of the main process, and the process of step ST19 is executed.

続いて、図6(b)に示す電源監視処理(ST30)について念のため説明する。電源監視処理(ST30)では、先ず、電源基板20から供給される電源異常信号ABNを、入力ポート(不図示)を通して取得し(ST41)、それが異常レベルでないか判定する(ST42)。そして、異常レベルでない場合には、異常回数カウンタとバックアップフラグBFLをゼロクリアして処理を終える(ST43)。   Next, the power supply monitoring process (ST30) shown in FIG. In the power supply monitoring process (ST30), first, a power supply abnormality signal ABN supplied from the power supply board 20 is acquired through an input port (not shown) (ST41), and it is determined whether or not it is an abnormal level (ST42). If it is not an abnormal level, the abnormal number counter and the backup flag BFL are cleared to zero and the process is terminated (ST43).

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

そして、ステップST45の判定の結果、異常回数カウンタの計数値が上限値MAXに一致した場合には、異常回数カウンタをゼロクリアした後(ST46)、バックアップフラグBFLに5AHを設定する(ST47)。次に、メインルーチンのステップST12の場合と、全く同じ演算を、全く同じ作業領域(ワークエリア)に対して実行し、その演算結果を記憶する(ST48)。なお、実行される演算は、典型的には8ビット加算演算である。   As a result of the determination in step ST45, if the count value of the abnormal number counter coincides with the upper limit value MAX, the abnormal number counter is cleared to zero (ST46), and then 5AH is set in the backup flag BFL (ST47). Next, the same calculation as in step ST12 of the main routine is performed on the same work area (work area), and the calculation result is stored (ST48). The operation to be executed is typically an 8-bit addition operation.

そして、その後はワンチップマイコン21Aの内蔵RAMを書込み禁止状態に設定すると共に(ST49)、全ての出力ポートの出力データをクリアする(ST50)。その結果、同種の電源監視処理を主制御部21より遅れて開始する払出制御部24に対して、不合理なデータが送信させることが防止される。以上のバックアップ処理が終われば、CTCに対する設定処理によって割込み信号INTの生成を禁止すると共に、無限ループ処理を繰り返しつつ直流電源電圧が降下するのを待つ(ST51)。なお、このタイミングでは、CPUは、もともと割込み禁止状態であるが(ST40参照)、電源電圧の降下による誤動作の可能性を、可能な限り排除する趣旨から、本実施例では、CTCからの割込み信号INTの出力も禁止している。   Thereafter, the built-in RAM of the one-chip microcomputer 21A is set in a write-inhibited state (ST49), and the output data of all output ports is cleared (ST50). As a result, unreasonable data is prevented from being transmitted to the payout control unit 24 that starts the same type of power supply monitoring process later than the main control unit 21. When the above backup process is completed, the generation of the interrupt signal INT is prohibited by the setting process for the CTC, and the DC power supply voltage is lowered while repeating the infinite loop process (ST51). At this timing, the CPU is originally in an interrupt disabled state (see ST40). However, in this embodiment, an interrupt signal from the CTC is used to eliminate as much as possible the possibility of malfunction due to a drop in power supply voltage. INT output is also prohibited.

以上、本発明の実施例を具体的に説明したが、具体的な記載内容は何ら本発明を限定するものではなく、各種の改変が可能である。例えば、実施例の説明では、バックアップ復帰処理(ST16)において、全てのエラー検出タイマER1〜ER6をクリアしたが、電源遮断前のタイマ値を維持しても良い。この場合には、例えば、エラー検出タイマERiの値が80mSのタイミングで電源が遮断すると、電源復帰後に同じ異常事態が継続していると、20mS後に異常報知動作が開始される。   Although the embodiments of the present invention have been specifically described above, the specific description content is not intended to limit the present invention, and various modifications can be made. For example, in the description of the embodiment, all the error detection timers ER1 to ER6 are cleared in the backup recovery process (ST16), but the timer value before power-off may be maintained. In this case, for example, if the power is shut off at the timing when the value of the error detection timer ERI is 80 mS, if the same abnormal situation continues after the power is restored, the abnormality notification operation is started after 20 mS.

また、実施例では、バックアップ復帰処理(ST16)において、異常報知フラグALM1〜ALM3をクリアしたが、異常報知フラグALMiの値を判定して、異常報知フラグALMi=1である場合には、この異常報知フラグALMiに対応する異常報知動作を直ちに開始しても良い。但し、この場合には、異常報知フラグの判定やコマンド送信用の処理が別途必要となり、プログラム処理が煩雑化する上に、限られたROM領域を消費してしまう。   In the embodiment, in the backup recovery process (ST16), the abnormality notification flags ALM1 to ALM3 are cleared. If the abnormality notification flag ALMi is determined and the abnormality notification flag ALMi = 1, the abnormality notification flag ALMi = 1. The abnormality notification operation corresponding to the notification flag ALMi may be started immediately. In this case, however, an abnormality notification flag determination and command transmission processing are separately required, complicating the program processing and consuming a limited ROM area.

GM 遊技機
SEi 監視センサ
ST84,ST85 第一手段
ST86 第二手段
ST87〜ST90 第三手段
ST92,ST93 第四手段
GM gaming machine SEi monitoring sensor ST84, ST85 first means ST86 second means ST87-ST90 third means ST92, ST93 fourth means

上記の目的を達成するため、本発明は、所定の遊技動作の発生を示す検出信号に起因して抽選処理を実行する制御手段を設け、抽選処理の結果に基づいて遊技者に有利な遊技状態を発生させるか否かを決定する遊技機であって、適所に配置された監視センサの出力に基づいて異常事態の発生を判定する監視手段を有する主制御手段と、主制御手段から受ける制御コマンドに基づいて異常報知動作を開始又は終了するサブ制御手段と、電源遮断後もRAMの記憶内容を維持するバックアップ手段と、バックアップ手段によって維持されたRAMの記憶内容に基づいて、電源投入後に電源遮断前の動作を再開可能なバックアップ復帰手段と、を設けて構成され、前記監視手段は、異常報知動作が実行されているか否かに拘わらず、異常事態の発生を繰り返し判定する第一手段と、第一手段が判定する異常事態の継続時間が基準値(TH)を超えると、目標値に至るまで所定時間毎に更新される報知タイマ(TMi)を開始値に設定する第二手段と報知タイマ(TMi)が目標値に一致しない限り、異常報知フラグ(ALMi)を正常値とは異なる異常値に設定する第三手段と、異常報知フラグ(ALMi)を判定して、正常値から異常値に変化したと判定されると異常報知動作を開始させる第四手段と、を有して構成され、前記バックアップ復帰手段は、異常報知フラグ(ALMi)を正常値に設定して電源遮断前の動作を再開するよう構成されている。 In order to achieve the above object, the present invention provides a control means for executing a lottery process based on a detection signal indicating the occurrence of a predetermined game operation, and a gaming state advantageous to the player based on the result of the lottery process A main control means having a monitoring means for determining the occurrence of an abnormal situation based on the output of a monitoring sensor arranged at an appropriate position, and a control command received from the main control means Sub-control means for starting or ending the abnormality notification operation based on the power supply, backup means for maintaining the stored contents of the RAM even after power-off, and power-off after power-on based on the stored contents of the RAM maintained by the backup means is configured to provide a a backup restoration means capable resumes operation before, the monitoring means, whether or not abnormality notifying operation is being performed, the occurrence of the abnormal state A first means repeatedly determines, when the duration of the abnormal situation in which the first means determines exceeds a reference value (TH), the start value a notification timer (TMi), which is updated every predetermined time until the target value As long as the second means for setting , the notification timer (TMi) do not match the target value, the third means for setting the abnormality notification flag (ALMi) to an abnormal value different from the normal value, and the abnormality notification flag (ALMi) are determined. And a fourth means for starting an abnormality notification operation when it is determined that the normal value has changed to an abnormal value, and the backup recovery means sets the abnormality notification flag (ALMi) to a normal value. It is configured to set and restart the operation before power off .

本発明では、第一手段ないし第四手段を組合せることで簡易に異常事態の発生を検出し報知するので、本来の遊技動作に支障を与えることがない。そして、異常事態が消滅するまで、異常報知動作を継続することができる。また、バックアップ復帰手段は、異常報知フラグ(ALMi)を正常値に設定して電源遮断前の動作を再開するので、段落0088に記載した問題も生じない。 In the present invention, since the occurrence of an abnormal situation is easily detected and notified by combining the first means to the fourth means, the original game operation is not hindered. Then, the abnormality notification operation can be continued until the abnormal situation disappears. Further, since the backup recovery unit sets the abnormality notification flag (ALMi) to a normal value and restarts the operation before power-off, the problem described in paragraph 0088 does not occur.

監視センサには、静磁界を検出する磁気センサ、放射磁界を検出する電波センサ、又は、遊技媒体が所定位置に停滞していることを示す検出スイッチが含まれているのが好適である。なお、本発明の遊技機は、典型的には弾球遊技機又は回胴式遊技機である。   The monitoring sensor preferably includes a magnetic sensor that detects a static magnetic field, a radio wave sensor that detects a radiated magnetic field, or a detection switch that indicates that the game medium is stagnant at a predetermined position. Note that the gaming machine of the present invention is typically a bullet ball game machine or a revolving game machine.

Claims (7)

所定の遊技動作の発生を示す検出信号に起因して抽選処理を実行し、遊技者に有利な遊技状態を発生させるか否かを決定する遊技機であって、
適所に配置された監視センサの出力に基づいて異常事態の発生を所定時間毎に判定する監視手段と、電源遮断後もRAMの記憶内容を維持するバックアップ手段と、バックアップ手段によって維持されたRAMの記憶内容に基づいて、電源投入後に電源遮断前の動作を再開可能なバックアップ復帰手段と、を設けて構成され、
前記監視手段は、
異常事態の発生が認められないと計測結果を初期状態に戻す一方、異常事態の発生が認められると計測結果を更新する第一手段と、
第一手段の計測結果が所定条件を満たすと、異常報知動作における異常報知時間を所定タイマに初期設定する第二手段と、
異常報知時間が経過するまで所定フラグを動作値に維持し、第二手段によって初期設定された所定タイマを更新すると共に、異常報知時間が経過すると所定フラグを初期値に戻す第三手段と、
所定フラグの値が変化したことに対応して異常報知動作を開始又は終了させる第四手段と、を有して構成され、
異常事態が継続する限り、第一手段が計測結果を更新し続けることに対応して、第二手段は、所定条件を満たす限り異常報知時間の初期設定動作を繰り返すよう構成されていることを特徴とする遊技機。
A gaming machine that executes a lottery process due to a detection signal indicating the occurrence of a predetermined gaming action and determines whether or not to generate a gaming state advantageous to the player,
Monitoring means for determining the occurrence of an abnormal situation every predetermined time based on the output of the monitoring sensor arranged at an appropriate position, backup means for maintaining the stored contents of the RAM even after power-off, and the RAM maintained by the backup means Backup recovery means capable of resuming the operation before turning off the power after turning on the power based on the stored contents,
The monitoring means includes
If the occurrence of an abnormal situation is not recognized, the measurement result is returned to the initial state, while the occurrence of the abnormal situation is recognized, the first means for updating the measurement result,
When the measurement result of the first means satisfies the predetermined condition, the second means for initially setting the abnormality notification time in the abnormality notification operation to a predetermined timer;
A third means for maintaining the predetermined flag at the operating value until the abnormality notification time elapses, updating the predetermined timer initially set by the second means, and returning the predetermined flag to the initial value when the abnormality notification time elapses;
And a fourth means for starting or ending the abnormality notification operation in response to a change in the value of the predetermined flag,
Corresponding to the fact that the first means continues to update the measurement result as long as the abnormal situation continues, the second means is configured to repeat the initial setting operation of the abnormality notification time as long as a predetermined condition is satisfied. A gaming machine.
所定条件を満たす場合に、第二手段が異常報知時間の初期設定動作を繰り返す時間周期は、異常報知時間より短く設定されている請求項1に記載の遊技機。   2. The gaming machine according to claim 1, wherein when the predetermined condition is satisfied, the time period in which the second means repeats the initial setting operation of the abnormality notification time is set shorter than the abnormality notification time. 前記バックアップ復帰手段は、所定フラグを初期値に戻した状態で、電源遮断前の動作を再開するよう構成されている請求項1又は2に記載の遊技機。   The gaming machine according to claim 1, wherein the backup recovery unit is configured to restart the operation before power-off in a state where the predetermined flag is returned to the initial value. 前記バックアップ復帰手段は、第一手段による計測結果を初期値に戻した状態で、電源遮断前の動作を再開するよう構成されている請求項1〜3の何れかに記載の遊技機。   The gaming machine according to any one of claims 1 to 3, wherein the backup recovery unit is configured to restart the operation before power-off in a state where the measurement result of the first unit is returned to the initial value. 前記バックアップ復帰手段は、その時の所定フラグが動作値である場合には、異常報知動作を開始するよう構成されている請求項1又は2に記載の遊技機。   The gaming machine according to claim 1 or 2, wherein the backup recovery means is configured to start an abnormality notification operation when a predetermined flag at that time is an operation value. 前記監視センサには、静磁界を検出する磁気センサと、放射磁界を検出する電波センサとが含まれている請求項1〜5の何れかに記載の遊技機。   The gaming machine according to claim 1, wherein the monitoring sensor includes a magnetic sensor that detects a static magnetic field and a radio wave sensor that detects a radiated magnetic field. 前記監視センサには、遊技媒体が所定位置に停滞していることを示す検出スイッチが含まれている請求項1〜6の何れかに記載の遊技機。   The gaming machine according to claim 1, wherein the monitoring sensor includes a detection switch indicating that the game medium is stagnated at a predetermined position.
JP2013151554A 2013-07-22 2013-07-22 Game machine Active JP5661876B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013151554A JP5661876B2 (en) 2013-07-22 2013-07-22 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013151554A JP5661876B2 (en) 2013-07-22 2013-07-22 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011128922A Division JP5341140B2 (en) 2011-06-09 2011-06-09 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014238320A Division JP6010091B2 (en) 2014-11-26 2014-11-26 Game machine

Publications (2)

Publication Number Publication Date
JP2013240676A true JP2013240676A (en) 2013-12-05
JP5661876B2 JP5661876B2 (en) 2015-01-28

Family

ID=49842142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013151554A Active JP5661876B2 (en) 2013-07-22 2013-07-22 Game machine

Country Status (1)

Country Link
JP (1) JP5661876B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019024576A (en) * 2017-07-25 2019-02-21 株式会社三共 Game machine
JP2019024578A (en) * 2017-07-25 2019-02-21 株式会社三共 Game machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008054914A (en) * 2006-08-31 2008-03-13 Sophia Co Ltd Game machine
JP2008067940A (en) * 2006-09-14 2008-03-27 Taiyo Elec Co Ltd Game machine
JP2010137045A (en) * 2008-11-17 2010-06-24 Sanyo Product Co Ltd Game machine
JP5341140B2 (en) * 2011-06-09 2013-11-13 株式会社藤商事 Game machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008054914A (en) * 2006-08-31 2008-03-13 Sophia Co Ltd Game machine
JP2008067940A (en) * 2006-09-14 2008-03-27 Taiyo Elec Co Ltd Game machine
JP2010137045A (en) * 2008-11-17 2010-06-24 Sanyo Product Co Ltd Game machine
JP5341140B2 (en) * 2011-06-09 2013-11-13 株式会社藤商事 Game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019024576A (en) * 2017-07-25 2019-02-21 株式会社三共 Game machine
JP2019024578A (en) * 2017-07-25 2019-02-21 株式会社三共 Game machine
JP7034622B2 (en) 2017-07-25 2022-03-14 株式会社三共 Pachinko machine

Also Published As

Publication number Publication date
JP5661876B2 (en) 2015-01-28

Similar Documents

Publication Publication Date Title
JP5341140B2 (en) Game machine
JP4907608B2 (en) Game machine
JP4726842B2 (en) Game machine
JP4789862B2 (en) Game machine
JP4764442B2 (en) Game machine
JP5009247B2 (en) Game machine
JP4712649B2 (en) Game machine
JP4587997B2 (en) Game machine
JP5851125B2 (en) Game machine
JP5231603B2 (en) Game machine
JP5661876B2 (en) Game machine
JP6010091B2 (en) Game machine
JP4712650B2 (en) Game machine
JP5661906B2 (en) Game machine
JP5475024B2 (en) Game machine
JP5497843B2 (en) Game machine
JP5009425B2 (en) Game machine
JP4904411B2 (en) Game machine
JP5009424B2 (en) Game machine
JP4904428B2 (en) Game machine
JP5450713B2 (en) Game machine
JP4987105B2 (en) Game machine
JP5876090B2 (en) Game machine
JP2017060855A (en) Game machine
JP2015037659A (en) Game machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140416

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20140422

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140620

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141203

R150 Certificate of patent or registration of utility model

Ref document number: 5661876

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250