JP6308254B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP6308254B2
JP6308254B2 JP2016153003A JP2016153003A JP6308254B2 JP 6308254 B2 JP6308254 B2 JP 6308254B2 JP 2016153003 A JP2016153003 A JP 2016153003A JP 2016153003 A JP2016153003 A JP 2016153003A JP 6308254 B2 JP6308254 B2 JP 6308254B2
Authority
JP
Japan
Prior art keywords
offset
detection
value
signal
magnetic sensor
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
JP2016153003A
Other languages
Japanese (ja)
Other versions
JP2016185470A (en
Inventor
敏章 大森
敏章 大森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Bussan Co Ltd
Original Assignee
Sanyo Bussan 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 Sanyo Bussan Co Ltd filed Critical Sanyo Bussan Co Ltd
Publication of JP2016185470A publication Critical patent/JP2016185470A/en
Application granted granted Critical
Publication of JP6308254B2 publication Critical patent/JP6308254B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は遊技機に関するものである。   The present invention relates to a gaming machine.

遊技機の一種としてパチンコ機がある。パチンコ機においては、例えば遊技領域に発射された遊技球が作動口に入球することに基づき、当たり抽選が行われる。当該抽選において当たり状態の発生に当選すると、例えば所定の表示装置において変動表示される図柄が予め定められた特定の組み合わせで停止表示された後、遊技領域に設けられた可変入球装置の開閉が実行される。そして、可変入球装置への入球数に応じた遊技球が払い出されるといった特典が遊技者に付与される(例えば特許文献1参照)。   One type of gaming machine is a pachinko machine. In a pachinko machine, a winning lottery is performed based on, for example, a game ball launched into a game area entering a working port. When the winning state is won in the lottery, for example, the symbols that are variably displayed on a predetermined display device are stopped and displayed in a predetermined combination, and then the variable pitching device provided in the game area is opened and closed. Executed. Then, a privilege is given to the player such that a game ball corresponding to the number of balls entered into the variable pitching device is paid out (see, for example, Patent Document 1).

特開2004−756号公報JP 2004-756 A

ここで、パチンコ機には不正行為に対応した特定事象の発生を検知する検知センサが設けられている。例えば、磁石を用いて遊技球を作動口等の遊技者に有利な場所へ誘導させる不正行為が行われることがあり、当該不正行為を抑制するために、磁気を検知する磁気センサを設け、当該磁気センサが磁気を検知した場合には報知を行う。しかし、パチンコ機内部に設けられた各種装置の通常の動作によっても磁気は発生し得る。また、パチンコ機が設けられた周辺の環境等によっても磁場は変化し得る。したがって、このような状況下では、上記不正行為に基づく磁気を検知するにあたり、磁気センサの誤検知につながりかねない。   Here, the pachinko machine is provided with a detection sensor that detects the occurrence of a specific event corresponding to an illegal act. For example, a fraudulent act that uses a magnet to guide a game ball to a place advantageous to a player such as an operating port may be performed, and in order to suppress the fraudulent act, a magnetic sensor that detects magnetism is provided, When the magnetic sensor detects magnetism, a notification is given. However, magnetism can also be generated by normal operations of various devices provided inside the pachinko machine. Further, the magnetic field can change depending on the surrounding environment where the pachinko machine is provided. Therefore, in such a situation, in detecting magnetism based on the above fraudulent acts, it may lead to erroneous detection of the magnetic sensor.

なお、以上の課題は、磁気を検知する磁気センサに限定されることなく、例えば電波や振動を検知する検知センサにおいても同様である。更に、パチンコ機に限定されることはなく、検知センサが用いられている他の遊技機においても同様である。   The above problems are not limited to magnetic sensors that detect magnetism, and the same applies to, for example, detection sensors that detect radio waves and vibrations. Furthermore, it is not limited to a pachinko machine, and the same applies to other gaming machines in which a detection sensor is used.

本発明は、以上例示した事情等に鑑みてなされたものであり、不正行為に対応した特定事象の発生を好適に検知することが可能な遊技機を提供することを目的とする。   The present invention has been made in view of the circumstances exemplified above, and an object thereof is to provide a gaming machine capable of suitably detecting the occurrence of a specific event corresponding to an illegal act.

本発明は、
特定事象が発生した場合に検知値が変動し、基準値に対する当該検知値の変化量が所定値に達したことに基づいて特定出力を行う検知手段と、
前記特定出力を前記検知手段が行ったことに基づいて、対応処理を実行する対応処理実行手段と、
を備え、
前記検知手段は、前記基準値と前記検知値との相対関係を変更可能に構成されており、
調整条件が成立しているか否かを判定する判定手段と、
当該判定手段により前記調整条件が成立していると判定された場合に、前記検知手段に対して調整を行う調整手段と、
を備え、
前記検知手段は、前記調整手段が前記調整を行った場合に前記相対関係の変更がなされるものであり、
遊技機本体に対して開状態と閉状態とのそれぞれに切替可能に支持され、前記検知手段が搭載されている又は前記検知手段の検知範囲に含まれる扉体を備え、
前記調整条件は、電源が投入されたことを少なくとも一の条件に成立する第1調整条件と、前記扉体が前記閉状態であることを少なくとも一の条件に成立する第2調整条件とがあり
前記検知手段は、前記調整手段によって前記基準値の変更がなされた後、前記扉体が前記開状態とされ更に前記閉状態となった場合、前記基準値の変更を行わないようにする手段を備え、
前記扉体が前記開状態とされることで操作可能となる位置に、当該遊技機の電入状態と電断状態との切り替えを可能とする操作手段が設けられていることを特徴とする。
The present invention
A detection unit that performs a specific output based on a detection value that fluctuates when a specific event occurs and a change amount of the detection value relative to a reference value reaches a predetermined value;
A corresponding process executing means for executing a corresponding process based on the fact that the detection means has performed the specific output;
With
The detection means is configured to be able to change the relative relationship between the reference value and the detection value,
Determining means for determining whether or not the adjustment condition is satisfied;
An adjustment unit that adjusts the detection unit when the determination unit determines that the adjustment condition is satisfied;
With
The detecting means is one in which the relative relationship is changed when the adjusting means performs the adjustment.
The game machine main body is supported so as to be switchable between an open state and a closed state, and includes a door body on which the detection means is mounted or included in the detection range of the detection means,
The adjustment conditions include a first adjustment condition that is satisfied under at least one condition that power is turned on, and a second adjustment condition that is satisfied under at least one condition that the door body is in the closed state. ,
The detecting means is means for preventing the reference value from being changed when the door body is in the open state and further in the closed state after the reference value is changed by the adjusting means. Prepared,
An operation means is provided at a position at which the game machine can be operated when the door is in the open state, so that the game machine can be switched between a power-on state and a power-off state.

本発明によれば、不正行為に対応した特定事象の発生を好適に検知することが可能な遊技機を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the game machine which can detect suitably generation | occurrence | production of the specific event corresponding to a fraudulent act can be provided.

パチンコ機を示す正面図である。It is a front view which shows a pachinko machine. パチンコ機の主要な構成を展開して示す斜視図である。It is a perspective view which expands and shows the main structures of a pachinko machine. パチンコ機の主要な構成を展開して示す斜視図である。It is a perspective view which expands and shows the main structures of a pachinko machine. 遊技盤の構成を示す正面図である。It is a front view which shows the structure of a game board. 磁気センサユニットと遊技盤との関係を示す説明図である。It is explanatory drawing which shows the relationship between a magnetic sensor unit and a game board. 裏パックユニットの構成を示す正面図である。It is a front view which shows the structure of a back pack unit. パチンコ機の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of a pachinko machine. 遊技制御に用いる各種カウンタの概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the various counters used for game control. 主制御基板のMPUによるメイン処理を示すフローチャートである。It is a flowchart which shows the main process by MPU of a main control board. 主制御基板のMPUによるタイマ割込み処理を示すフローチャートである。It is a flowchart which shows the timer interruption process by MPU of a main control board. 磁気センサモジュールのMPUによる立ち上げ処理を示すフローチャートである。It is a flowchart which shows the starting process by MPU of a magnetic sensor module. (a),(b)磁気センサモジュールの検知感度を説明するための説明図である。(A), (b) It is explanatory drawing for demonstrating the detection sensitivity of a magnetic sensor module. 磁気センサモジュールのオフセット処理を説明するための説明図である。It is explanatory drawing for demonstrating the offset process of a magnetic sensor module. 磁気センサモジュールのMPUによる第1オフセット処理を示すフローチャートである。It is a flowchart which shows the 1st offset process by MPU of a magnetic sensor module. 磁気センサモジュールのMPUによる通常処理を示すフローチャートである。It is a flowchart which shows the normal process by MPU of a magnetic sensor module. 磁気センサモジュールのMPUによる磁気検知処理を示すフローチャートである。It is a flowchart which shows the magnetic detection process by MPU of a magnetic sensor module. 磁気センサモジュールのMPUによる第2オフセット処理を示すフローチャートである。It is a flowchart which shows the 2nd offset process by MPU of a magnetic sensor module. (a),(b)磁気センサモジュールの検知対象とする領域を説明するための説明図である。(A), (b) It is explanatory drawing for demonstrating the area | region made into the detection target of a magnetic sensor module. 主制御基板のMPUによるセンサ確認処理を示すフローチャートである。It is a flowchart which shows the sensor confirmation process by MPU of a main control board. 主制御基板のMPUによる検知状態信号読み込み処理を示すフローチャートである。It is a flowchart which shows the detection state signal reading process by MPU of a main control board. 主制御基板のMPUによるセンサ補正処理を示すフローチャートである。It is a flowchart which shows the sensor correction process by MPU of a main control board. 主制御基板のMPUによる磁気検知用処理を示すフローチャートである。It is a flowchart which shows the process for the magnetic detection by MPU of a main control board. 磁気センサモジュールがオフセット処理を実行するタイミングをパチンコ機の電源と内枠との関係から説明するためのタイミングチャートである。It is a timing chart for demonstrating the timing which a magnetic sensor module performs an offset process from the relationship between the power supply and inner frame of a pachinko machine. 第2の実施形態における、磁気センサモジュールのMPUによる立ち上げ処理を示すフローチャートである。It is a flowchart which shows the starting process by MPU of a magnetic sensor module in 2nd Embodiment. 第2の実施形態における、主制御基板のMPUによるセンサ確認処理を示すフローチャートである。It is a flowchart which shows the sensor confirmation process by MPU of the main control board in 2nd Embodiment. 第2の実施形態における、主制御基板のMPUによる成否信号読み込み処理を示すフローチャートである。It is a flowchart which shows the success / failure signal reading process by MPU of the main control board in 2nd Embodiment. 第2の実施形態における、主制御基板のMPUによるセンサ補正処理を示すフローチャートである。It is a flowchart which shows the sensor correction process by MPU of the main control board in 2nd Embodiment. 第2の実施形態における、磁気センサモジュールがオフセット処理を実行するタイミングをパチンコ機の電源と内枠との関係から説明するためのタイミングチャートである。It is a timing chart for demonstrating the timing which the magnetic sensor module in 2nd Embodiment performs an offset process from the relationship between the power supply and inner frame of a pachinko machine. 第3の実施形態における、主制御基板のMPUによるセンサ確認処理を示すフローチャートである。It is a flowchart which shows the sensor confirmation process by MPU of the main control board in 3rd Embodiment. (a)第4の実施形態における、磁気センサモジュールの電気的構成を示すブロック図であり、(b)感度係数を説明するための説明図である。(A) It is a block diagram which shows the electrical constitution of the magnetic sensor module in 4th Embodiment, (b) It is explanatory drawing for demonstrating a sensitivity coefficient. 第4の実施形態における、磁気センサモジュールのMPUによる第2オフセット処理を示すフローチャートである。It is a flowchart which shows the 2nd offset process by MPU of a magnetic sensor module in 4th Embodiment. 第4の実施形態における、磁気センサモジュールのMPUによる調整用検知処理を示すフローチャートである。It is a flowchart which shows the detection process for adjustment by MPU of a magnetic sensor module in 4th Embodiment. 第5の実施形態における、磁気センサモジュールのMPUによる立ち上げ処理を示すフローチャートである。It is a flowchart which shows the starting process by MPU of a magnetic sensor module in 5th Embodiment. 第5の実施形態における、磁気センサモジュールのMPUによる第1調整用検知処理を示すフローチャートである。It is a flowchart which shows the detection process for the 1st adjustment by MPU of a magnetic sensor module in 5th Embodiment. 第5の実施形態における、磁気センサモジュールのMPUによる通常処理を示すフローチャートである。It is a flowchart which shows the normal process by MPU of a magnetic sensor module in 5th Embodiment. 第5の実施形態における、磁気センサモジュールのMPUによる第2調整用検知処理を示すフローチャートである。It is a flowchart which shows the detection process for 2nd adjustment by MPU of a magnetic sensor module in 5th Embodiment.

<第1の実施形態>
以下、遊技機の一種であるパチンコ遊技機(以下、「パチンコ機」という)の第1の実施形態を、図面に基づいて詳細に説明する。図1はパチンコ機10の正面図、図2及び図3はパチンコ機10の主要な構成を展開して示す斜視図である。なお、図2では便宜上パチンコ機10の遊技領域内の構成を省略している。
<First Embodiment>
Hereinafter, a first embodiment of a pachinko gaming machine (hereinafter referred to as “pachinko machine”), which is a type of gaming machine, will be described in detail with reference to the drawings. FIG. 1 is a front view of the pachinko machine 10, and FIGS. 2 and 3 are perspective views showing an unfolded main configuration of the pachinko machine 10. In FIG. 2, the configuration in the game area of the pachinko machine 10 is omitted for convenience.

パチンコ機10は、当該パチンコ機10の外殻を形成する外枠11と、この外枠11に対して前方に回動可能に取り付けられた遊技機本体12とを有する。パチンコ機10は、外枠11を島設備に取り付け固定することにより、遊技ホールに設置される。   The pachinko machine 10 includes an outer frame 11 that forms an outer shell of the pachinko machine 10, and a gaming machine main body 12 that is attached to the outer frame 11 so as to be rotatable forward. The pachinko machine 10 is installed in the game hall by attaching and fixing the outer frame 11 to the island facility.

遊技機本体12は、ベース体としての内枠13と、その内枠13の前方に配置される前扉枠14と、内枠13の後方に配置される裏パックユニット15とを備えている。遊技機本体12のうち内枠13が外枠11に対して回動可能に支持されている。   The gaming machine main body 12 includes an inner frame 13 as a base body, a front door frame 14 disposed in front of the inner frame 13, and a back pack unit 15 disposed behind the inner frame 13. The inner frame 13 of the gaming machine main body 12 is supported so as to be rotatable with respect to the outer frame 11.

内枠13には、図2に示すように、前扉枠14が回動可能に支持されており、正面視で左側を回動基端側とし右側を回動先端側として前方へ回動可能とされている。また、内枠13には、図2に示すように、裏パックユニット15が回動可能に支持されており、正面視で左側を回動基端側とし右側を回動先端側として後方へ回動可能とされている。   As shown in FIG. 2, the front door frame 14 is rotatably supported on the inner frame 13, and can be rotated forward with the left side as a rotation base end side and the right side as a rotation front end side in a front view. It is said that. Further, as shown in FIG. 2, the back pack unit 15 is rotatably supported on the inner frame 13, and when viewed from the front, the left side is the rotation base end side and the right side is the rotation front end side. It is possible to move.

なお、遊技機本体12には、図3に示すように、その回動先端部に施錠装置16が設けられており、遊技機本体12を外枠11に対して開放不能に施錠状態とする機能を有しているとともに、前扉枠14を内枠13に対して開放不能に施錠状態とする機能を有している。これらの各施錠状態は、パチンコ機10前面にて露出させて設けられたシリンダ錠17に対して解錠キーを用いて解錠操作を行うことにより、それぞれ解除される。   As shown in FIG. 3, the gaming machine main body 12 is provided with a locking device 16 at its rotating tip, and the gaming machine main body 12 is locked to the outer frame 11 so that it cannot be opened. And has a function of locking the front door frame 14 to the inner frame 13 so that the front door frame 14 cannot be opened. Each of these locked states is released by performing an unlocking operation using the unlocking key on the cylinder lock 17 that is exposed on the front surface of the pachinko machine 10.

次に、遊技機本体12の前面側の構成について説明する。   Next, the configuration of the front side of the gaming machine body 12 will be described.

内枠13は、外形が外枠11とほぼ同一形状をなす樹脂ベース20を主体に構成されている。樹脂ベース20の上部には、図2に示すように、前扉枠14が開放されているか否か(又は閉鎖されているか否か)を検知する前扉枠開放スイッチ(前面体開放検知手段)14aが設けられている。前扉枠開放スイッチ14aは、樹脂ベース20の前面から出没可能なピンを有しており、内枠13に対して前扉枠14を閉じた状態ではピンが押し込まれて前扉枠14の閉鎖が検知され、内枠13に対して前扉枠14を開いた状態ではピンが突出位置に戻って前扉枠14の開放が検知されるようになっている。   The inner frame 13 is mainly composed of a resin base 20 whose outer shape is substantially the same as that of the outer frame 11. As shown in FIG. 2, a front door frame opening switch (front body opening detecting means) that detects whether or not the front door frame 14 is opened (or closed) is disposed on the upper portion of the resin base 20. 14a is provided. The front door frame opening switch 14 a has a pin that can be projected and retracted from the front surface of the resin base 20. When the front door frame 14 is closed with respect to the inner frame 13, the pin is pushed in and the front door frame 14 is closed. When the front door frame 14 is opened with respect to the inner frame 13, the pin returns to the protruding position and the opening of the front door frame 14 is detected.

ちなみに、前扉枠開放スイッチ14aは、前扉枠14が開放状態の場合に後述する主制御装置122に対して前扉枠開放信号としてHIレベル信号を出力し、前扉枠14が閉鎖状態の場合にはLOWレベル信号を出力する。ただし、信号の出力態様はこれに限定されることはなく、HIレベル信号とLOWレベル信号との関係が逆であってもよい。   Incidentally, the front door frame opening switch 14a outputs a HI level signal as a front door frame opening signal to the main controller 122 described later when the front door frame 14 is in the open state, and the front door frame 14 is in the closed state. In this case, a LOW level signal is output. However, the output mode of the signal is not limited to this, and the relationship between the HI level signal and the LOW level signal may be reversed.

図1に示すように、前扉枠14は内枠13の前面側全体を覆うようにして設けられている。前扉枠14には後述する遊技領域のほぼ全域を前方から視認することができるようにした窓部21が形成されている。窓部21は、略楕円形状をなし、透明性を有するガラス22が嵌め込まれている。窓部21の周囲には、各種ランプ等の発光手段が設けられている。例えば、窓部21の周縁に沿ってLED等の発光手段を内蔵した環状ランプ部23が設けられている。環状ランプ部23では、大当たり時や所定のリーチ時等における遊技状態の変化に応じて点灯や点滅が行われる。また、環状ランプ部23の中央であってパチンコ機10の最上部には所定のエラー時に点灯するエラーランプ部24が設けられ、更にその左右側方には賞球払出中に点灯する賞球ランプ部25が設けられている。また、左右の賞球ランプ部25に近接した位置には、遊技状態に応じた効果音などが出力されるスピーカ部26が設けられている。   As shown in FIG. 1, the front door frame 14 is provided so as to cover the entire front side of the inner frame 13. A window portion 21 is formed on the front door frame 14 so that almost the entire gaming area described later can be viewed from the front. The window portion 21 has a substantially oval shape and is fitted with a transparent glass 22. Around the window portion 21, light emitting means such as various lamps are provided. For example, an annular lamp portion 23 incorporating a light emitting means such as an LED is provided along the periphery of the window portion 21. The annular lamp unit 23 is turned on or flashed according to a change in the gaming state at the time of a big hit or a predetermined reach. In addition, an error lamp portion 24 that is turned on at the time of a predetermined error is provided at the center of the annular lamp portion 23 and at the top of the pachinko machine 10, and a prize ball lamp that is turned on while the prize ball is being paid out on the left and right sides thereof. A portion 25 is provided. In addition, a speaker unit 26 is provided at a position close to the left and right prize ball lamp units 25 to output a sound effect corresponding to the gaming state.

前扉枠14における窓部21の下方には、手前側へ膨出した上側膨出部31と下側膨出部32とが上下に並設されている。上側膨出部31内側には上方に開口した上皿33が設けられており、下側膨出部32内側には同じく上方に開口した下皿34が設けられている。上皿33は、後述する払出装置より払い出された遊技球を一旦貯留し、一列に整列させながら遊技球発射機構側へ導くための機能を有する。また、下皿34は、上皿33内にて余剰となった遊技球を貯留する機能を有する。   Below the window portion 21 in the front door frame 14, an upper bulging portion 31 and a lower bulging portion 32 that bulge to the near side are provided side by side. An upper pan 33 that opens upward is provided inside the upper bulging portion 31, and a lower pan 34 that also opens upward is provided inside the lower bulging portion 32. The upper plate 33 has a function of temporarily storing game balls paid out from a payout device described later and guiding them to the game ball launching mechanism side while aligning them in a row. In addition, the lower tray 34 has a function of storing game balls that become surplus in the upper tray 33.

下側膨出部32の右方には、手前側へ突出するようにして遊技球発射ハンドル41が設けられている。遊技球発射ハンドル41が操作されることにより、内枠13の下方に搭載された遊技球発射機構40から遊技球が発射される。遊技球発射機構40には駆動部として図示しない発射ソレノイド及び球送り装置が設けられており、遊技球発射ハンドル41が操作されることに基づいて、当該発射ソレノイド及び球送り装置が駆動状態となり0.6sec毎に遊技球が発射される。   A game ball launching handle 41 is provided on the right side of the lower bulging portion 32 so as to protrude toward the front side. By operating the game ball launch handle 41, a game ball is launched from the game ball launch mechanism 40 mounted below the inner frame 13. The game ball launching mechanism 40 is provided with a launch solenoid and a ball feed device (not shown) as drive units, and when the game ball launch handle 41 is operated, the launch solenoid and the ball feed device are in a driving state. A game ball is fired every 6 seconds.

内枠13には遊技盤50が着脱可能に取り付けられている。遊技盤50は合板よりなり、遊技盤50の前面が内枠13の前面側に露出した状態となっている。   A game board 50 is detachably attached to the inner frame 13. The game board 50 is made of plywood, and the front surface of the game board 50 is exposed to the front side of the inner frame 13.

ここで、遊技盤50の構成を図4に基づいて説明する。図4は、遊技盤50の正面図である。   Here, the structure of the game board 50 is demonstrated based on FIG. FIG. 4 is a front view of the game board 50.

遊技盤50には、内レール部51と外レール部52とが取り付けられており、これらレール部51、52によって囲まれた遊技領域Zが形成されている。これら内レール部51と外レール部52とにより誘導レールが構成され、後述する遊技球発射機構40から発射された遊技球は遊技領域Zの上部に案内されるようになっている。   An inner rail portion 51 and an outer rail portion 52 are attached to the game board 50, and a game area Z surrounded by the rail portions 51 and 52 is formed. The inner rail portion 51 and the outer rail portion 52 constitute a guide rail, and a game ball launched from a game ball launching mechanism 40 described later is guided to the upper part of the game area Z.

遊技領域Zには、ルータ加工が施されることによって前後方向に貫通する大小複数の開口部が形成されている。各開口部には一般入賞口53,可変入賞装置54,作動口55,スルーゲート56及び可変表示ユニット57等がそれぞれ設けられている。一般入賞口53は、左右にそれぞれ2個ずつ合計4個設けられており、それぞれ所定の間隔を隔てた位置に配置されている。一般入賞口53、可変入賞装置54及び作動口55に遊技球が入ると、それが遊技盤50に配設された検知センサにより検知され、その検知結果に基づいて所定数の賞球の払い出しが実行される。特に、作動口55への入賞をトリガとして、予め定めた特別遊技状態(以下、大当たりという)に当選か否かの内部抽選が行われる。   In the game area Z, a plurality of large and small openings penetrating in the front-rear direction are formed by performing router processing. Each opening is provided with a general winning port 53, a variable winning device 54, an operating port 55, a through gate 56, a variable display unit 57, and the like. A total of four general winning ports 53 are provided on the left and right, respectively, and are arranged at positions spaced apart from each other by a predetermined distance. When a game ball enters the general winning port 53, the variable winning device 54, and the operation port 55, it is detected by a detection sensor disposed on the game board 50, and a predetermined number of award balls are paid out based on the detection result. Executed. In particular, an internal lottery is performed as to whether or not a predetermined special gaming state (hereinafter referred to as a jackpot) is won by using a winning at the operation port 55 as a trigger.

その他に、遊技盤50の最下部にはアウト口58が設けられており、各種入賞口等に入らなかった遊技球はアウト口58を通って遊技領域Zから排出される。また、遊技盤50には、遊技球の落下方向を適宜分散、調整等するために多数の釘59が植設されていると共に、風車等の各種部材(役物)が配設されている。   In addition, an out port 58 is provided at the lowermost part of the game board 50, and game balls that have not entered various winning ports etc. are discharged from the game area Z through the out port 58. In addition, the game board 50 is provided with a large number of nails 59 in order to appropriately disperse and adjust the falling direction of the game balls, and various members (instruments) such as a windmill.

可変表示ユニット57には、作動口55への入賞をトリガとして図柄を可変表示する図柄表示装置61が設けられている。また、可変表示ユニット57には、図柄表示装置61を囲むようにしてセンターフレーム62が配設されている。センターフレーム62の上部には、第1特定ランプ部63及び第2特定ランプ部64が設けられている。また、センターフレーム62の上部及び下部にはそれぞれ保留ランプ部65,66が設けられている。下側の保留ランプ部65は、図柄表示装置61及び第1特定ランプ部63に対応しており、遊技球が作動口55を通過した回数は最大4回まで保留され保留ランプ部65の点灯によってその保留個数が表示されるようになっている。上側の保留ランプ部66は、第2特定ランプ部64に対応しており、遊技球がスルーゲート56を通過した回数は最大4回まで保留され保留ランプ部66の点灯によってその保留個数が表示されるようになっている。   The variable display unit 57 is provided with a symbol display device 61 that variably displays symbols with a winning at the operation port 55 as a trigger. The variable display unit 57 is provided with a center frame 62 so as to surround the symbol display device 61. A first specific lamp portion 63 and a second specific lamp portion 64 are provided on the upper portion of the center frame 62. Reserving lamp portions 65 and 66 are provided at the upper and lower portions of the center frame 62, respectively. The lower holding lamp unit 65 corresponds to the symbol display device 61 and the first specific lamp unit 63, and the number of times that the game ball has passed through the operation port 55 is held up to four times, and the holding lamp unit 65 is turned on. The number of reserved items is displayed. The upper holding lamp section 66 corresponds to the second specific lamp section 64, and the number of times that the game ball has passed through the through gate 56 is held up to four times, and the number of the holding balls is displayed by turning on the holding lamp section 66. It has become so.

図柄表示装置61は、液晶ディスプレイを備えた液晶表示装置として構成されており、後述する表示制御装置により表示内容が制御される。図柄表示装置61には、例えば左、中及び右に並べて図柄が表示され、これらの図柄が上下方向にスクロールされるようにして変動表示されるようになっている。そして、予め設定されている有効ライン上に所定の組合せの図柄が停止表示された場合には、大当たりとして可変入賞装置54が開放される。   The symbol display device 61 is configured as a liquid crystal display device including a liquid crystal display, and display contents are controlled by a display control device described later. On the symbol display device 61, for example, symbols are displayed side by side on the left, middle, and right, and these symbols are variably displayed as they are scrolled up and down. When a predetermined combination of symbols is stopped and displayed on a preset active line, the variable winning device 54 is opened as a big hit.

第1特定ランプ部63では、作動口55への入賞をトリガとして所定の順序で発光色の切り替えが行われ、予め定められた色で停止表示された場合には大当たりが発生する。また、第2特定ランプ部64では、遊技球のスルーゲート56の通過をトリガとして所定の順序で発光色の切り替えが行われ、予め定められた色で停止表示された場合には作動口55に付随する電動役物が所定時間だけ開放状態となる。   In the first specific lamp unit 63, the emission color is switched in a predetermined order using a winning at the operation port 55 as a trigger, and if the display is stopped in a predetermined color, a big hit occurs. Further, in the second specific lamp section 64, the emission color is switched in a predetermined order triggered by the passage of the game ball through the through gate 56, and when the stop color is displayed in a predetermined color, the operation port 55 is displayed. The accompanying electric accessory is opened for a predetermined time.

可変入賞装置54は、通常は遊技球が入賞できない又は入賞しにくい閉状態になっており、大当たりの際に遊技球が入賞しやすい所定の開放状態に切り替えられるようになっている。可変入賞装置54の開放態様としては、所定時間(例えば30秒間)の経過又は所定個数(例えば10個)の入賞を1ラウンドとして、複数ラウンド(例えば15ラウンド)を上限として可変入賞装置54が繰り返し開放されるものが一般的である。   The variable winning device 54 is normally in a closed state in which a game ball cannot be won or is difficult to win, and is switched to a predetermined open state in which a game ball is easy to win in the case of a big hit. As an opening mode of the variable winning device 54, the variable winning device 54 is repeated with a predetermined time (for example, 30 seconds) or a predetermined number (for example, 10) of winnings as one round and a plurality of rounds (for example, 15 rounds) as an upper limit. What is opened is common.

ここで、遊技盤50には、磁気検知手段として磁気センサモジュール81が設けられている。磁気センサモジュール81について、図5を用いて説明する。図5は、遊技盤50と磁気センサモジュール81との位置関係を示す説明図である。なお、図5においては、磁気センサモジュール81が磁気を検知可能な領域を二点鎖線にて示している。   Here, the game board 50 is provided with a magnetic sensor module 81 as magnetic detection means. The magnetic sensor module 81 will be described with reference to FIG. FIG. 5 is an explanatory diagram showing the positional relationship between the game board 50 and the magnetic sensor module 81. In FIG. 5, a region where the magnetic sensor module 81 can detect magnetism is indicated by a two-dot chain line.

磁気センサモジュール81は、作動口55の周辺における遊技盤50の背面側に設置されている。上記のとおり大当たり当選か否かの内部抽選は作動口55への入賞をトリガとして行われるため、ガラス22の前方において作動口55周辺に磁石を近付け、不正に作動口55へと遊技球を誘導させようとする行為が想定される。これに対して、磁気センサモジュール81が設けられていることにより、上記磁石を用いた不正行為が行われた場合には、それを検知することが可能となっている。   The magnetic sensor module 81 is installed on the back side of the game board 50 around the operation port 55. As described above, the internal lottery to determine whether or not the jackpot is won is triggered by winning the operating port 55. Therefore, a magnet is brought near the operating port 55 in front of the glass 22 to illegally guide the game ball to the operating port 55. An act to be attempted is assumed. On the other hand, the provision of the magnetic sensor module 81 makes it possible to detect an unauthorized act using the magnet.

更に、図5において二点鎖線にて示すように、磁気センサモジュール81が磁気を検知可能な領域には、作動口55の他に、一般入賞口53、スルーゲート56及び可変入賞装置54が含まれている。上記のとおり、作動口55だけでなく、一般入賞口53及び可変入賞装置54へ遊技球が入球したことに基づいても、所定数の賞球の払い出しが実行されるため、一般入賞口53又は可変入賞装置54に対しても磁石を用いて不正に遊技球を誘導させようとする行為が想定される。また、上記のとおり、スルーゲート56への入賞をトリガとして、作動口55に設けられた電動役物が開放状態となるか否かの抽選が行われるため、スルーゲート56に対しても磁石を用いて不正に遊技球を誘導させようとする行為が想定される。そこで、磁気センサモジュール81を、その検知領域に一般入賞口53、可変入賞装置54、作動口55及びスルーゲート56を含むように設置することにより、上記磁石を用いた不正行為が行われた場合には、それを検知することが可能となっている。   Further, as indicated by a two-dot chain line in FIG. 5, the region where the magnetic sensor module 81 can detect magnetism includes the general winning port 53, the through gate 56 and the variable winning device 54 in addition to the operation port 55. It is. As described above, the payout of a predetermined number of prize balls is executed not only based on the operation opening 55 but also on the general winning opening 53 and the variable winning device 54, so that the general winning opening 53 is executed. Alternatively, an act of illegally guiding the game ball using the magnet to the variable winning device 54 is assumed. In addition, as described above, with the winning of the through gate 56 as a trigger, a lottery is performed as to whether or not the electric accessory provided in the operating port 55 is in an open state. It is assumed that the player attempts to illegally guide the game ball. Therefore, when an illegal act using the magnet is performed by installing the magnetic sensor module 81 so that the detection area includes the general winning port 53, the variable winning device 54, the operating port 55, and the through gate 56. It is possible to detect it.

そして、磁気センサモジュール81は後述する主制御装置と電気的に接続されており、磁気センサモジュール81の検知結果は主制御装置に入力される。主制御装置は磁気センサモジュール81の検知結果に基づいて磁石を用いた不正行為を特定した場合には、磁気を検知した旨の報知を行うための処理を実行する。   The magnetic sensor module 81 is electrically connected to a main controller described later, and the detection result of the magnetic sensor module 81 is input to the main controller. When the main controller identifies an illegal act using a magnet based on the detection result of the magnetic sensor module 81, the main controller executes a process for notifying that magnetism has been detected.

次に、遊技機本体12の背面側の構成について説明する。   Next, the configuration on the back side of the gaming machine main body 12 will be described.

図3に示すように、内枠13(具体的には、遊技盤50)の背面には、遊技の主たる制御を司る主制御装置122と、音声やランプ表示及び図示しない表示制御装置の制御を司る音声ランプ制御装置113と、が搭載されている。   As shown in FIG. 3, on the back surface of the inner frame 13 (specifically, the game board 50), a main control device 122 that controls the main control of the game, a voice and lamp display, and a display control device (not shown) are controlled. An audio lamp control device 113 is mounted.

なお、主制御装置122の基板ボックス(図示略)に対して、その開放の痕跡を残すための痕跡手段を付与する又はその開放の痕跡を残すための痕跡構造を設けてもよい。当該痕跡手段としては、基板ボックスを構成する複数のケース体を分離不能に結合するとともにその分離に際して所定部位の破壊を要する結合部(カシメ部)の構成や、引き剥がしに際して粘着層が接着対象に残ることで剥がされたことの痕跡を残す封印シールを複数のケース体間の境界を跨ぐようにして貼り付ける構成が考えられる。また、痕跡構造としては、基板ボックスを構成する複数のケース体間の境界に対して接着剤を塗布する構成が考えられる。   In addition, you may provide the trace structure for giving the trace means for leaving the trace of the open | release to the board | substrate box (not shown) of the main controller 122, or leaving the trace of the open. As the trace means, a plurality of case bodies constituting the substrate box are unseparably coupled, and a configuration of a coupling portion (caulking portion) that requires destruction of a predetermined part at the time of separation or an adhesive layer to be bonded at the time of peeling The structure which sticks the seal seal | sticker which leaves the trace of having been peeled by remaining so that it may straddle the boundary between several case bodies can be considered. Moreover, as a trace structure, the structure which apply | coats an adhesive agent with respect to the boundary between the some case bodies which comprise a board | substrate box can be considered.

主制御装置122や音声ランプ制御装置113を含めて内枠13の背面側を覆うようにして裏パックユニット15が設置されている。   The back pack unit 15 is installed so as to cover the back side of the inner frame 13 including the main control device 122 and the sound lamp control device 113.

ここで、裏パックユニット15についてより詳細に図6を参照して説明する。図6は裏パックユニット15の正面図である。   Here, the back pack unit 15 will be described in more detail with reference to FIG. FIG. 6 is a front view of the back pack unit 15.

裏パックユニット15は、裏パック131を備えており、当該裏パック131に対して、払出機構部132及び制御装置集合ユニット133が取り付けられている。裏パック131は透明性を有する合成樹脂により成形されており、払出機構部132などが取り付けられるベース部141と、パチンコ機10後方に突出し略直方体形状をなす保護カバー部142とを有する。保護カバー部142は左右側面及び上面が閉鎖され且つ下面のみが開放された形状をなし、少なくとも可変表示ユニット57を囲むのに十分な大きさを有する。   The back pack unit 15 includes a back pack 131, and a payout mechanism part 132 and a control device assembly unit 133 are attached to the back pack 131. The back pack 131 is formed of a synthetic resin having transparency, and includes a base portion 141 to which the payout mechanism portion 132 and the like are attached, and a protective cover portion 142 that protrudes rearward from the pachinko machine 10 and has a substantially rectangular parallelepiped shape. The protective cover portion 142 has a shape in which the left and right side surfaces and the upper surface are closed and only the lower surface is opened, and has a size sufficient to surround at least the variable display unit 57.

ベース部141には、その右上部に外部端子板143が設けられている。外部端子板143には各種の出力端子が設けられており、これらの出力端子を通じて遊技ホール側の管理制御装置に対して各種信号が出力される。   The base portion 141 is provided with an external terminal plate 143 at the upper right portion thereof. The external terminal plate 143 is provided with various output terminals, and various signals are output to the management control device on the game hall side through these output terminals.

外部端子板143よりも外側には、内枠13が開放されているか否か(又は閉鎖されているか否か)を検知する内枠開放スイッチ13aが設けられている。外枠11に対して内枠13を閉じた状態では当該内枠開放スイッチ13aの金属接点が閉じて内枠13の閉鎖が検知され、外枠11に対して内枠13を開いた状態では金属接点が開いて内枠13の開放が検知されるようになっている。   An inner frame opening switch 13a for detecting whether the inner frame 13 is opened (or closed) is provided outside the external terminal plate 143. When the inner frame 13 is closed with respect to the outer frame 11, the metal contact of the inner frame opening switch 13a is closed and the closing of the inner frame 13 is detected. When the inner frame 13 is opened with respect to the outer frame 11, the metal contact is detected. The contact is opened and the opening of the inner frame 13 is detected.

ちなみに、内枠開放スイッチ13aは、内枠13が開放状態の場合に主制御装置122に対して内枠開放信号としてHIレベル信号を出力し、内枠13が閉鎖状態の場合にはLOWレベル信号を出力する。ただし、信号の出力態様はこれに限定されることはなく、HIレベル信号とLOWレベル信号との関係が逆であってもよい。   Incidentally, the inner frame opening switch 13a outputs a HI level signal as an inner frame opening signal to the main controller 122 when the inner frame 13 is in an open state, and a LOW level signal when the inner frame 13 is in a closed state. Is output. However, the output mode of the signal is not limited to this, and the relationship between the HI level signal and the LOW level signal may be reversed.

ベース部141には、保護カバー部142を迂回するようにして払出機構部132が配設されている。すなわち、裏パック131の最上部には上方に開口したタンク151が設けられており、タンク151には遊技ホールの島設備から供給される遊技球が逐次補給される。タンク151の下方には、下流側に向けて緩やかに傾斜するタンクレール152が連結され、タンクレール152の下流側には上下方向に延びるケースレール153が連結されている。ケースレール153の最下流部には払出装置154が設けられている。払出装置154より払い出された遊技球は、当該払出装置154の下流側に設けられた図示しない払出通路を通じて、裏パック131のベース部141に設けられた遊技球分配部155に供給される。   The base portion 141 is provided with a payout mechanism portion 132 so as to bypass the protective cover portion 142. That is, a tank 151 opened upward is provided at the uppermost portion of the back pack 131, and the game balls supplied from the island facilities of the game hall are sequentially replenished to the tank 151. A tank rail 152 that is gently inclined toward the downstream side is connected to the lower side of the tank 151, and a case rail 153 that extends in the vertical direction is connected to the downstream side of the tank rail 152. A payout device 154 is provided at the most downstream portion of the case rail 153. The game balls paid out from the payout device 154 are supplied to the game ball distribution portion 155 provided in the base portion 141 of the back pack 131 through a payout passage (not shown) provided on the downstream side of the payout device 154.

遊技球分配部155は、払出装置154より払い出された遊技球を上皿33、下皿34又はベース部141の下端部に設けられ、遊技ホールの島設備等へ遊技球を導く排出通路(図示略)の何れかに振り分けるための機能を有している。   The game ball distribution unit 155 is provided with a game ball paid out from the payout device 154 at the lower end of the upper plate 33, the lower plate 34, or the base unit 141, and guides the game ball to an island facility of the game hall ( (Not shown).

払出機構部132には、裏パック基板156が設置されている。裏パック基板156には、例えば交流24ボルトの主電源が供給され、電源スイッチ156aの切替操作により電源ON又は電源OFFとされるようになっている。   A backpack substrate 156 is installed in the payout mechanism portion 132. The back pack substrate 156 is supplied with, for example, a main power of AC 24 volts, and is turned on or off by a switching operation of the power switch 156a.

ベース部141の下端部には、制御装置集合ユニット133が取り付けられている。制御装置集合ユニット133は、横長形状をなす取付台161を有し、取付台161に払出制御装置162と電源及び発射制御装置163とが搭載されている。これら払出制御装置162と電源及び発射制御装置163とは、払出制御装置162がパチンコ機10後方となるように前後に重ねて配置されている。   A control device assembly unit 133 is attached to the lower end portion of the base portion 141. The control device collective unit 133 has a horizontally long mounting base 161, and a payout control device 162 and a power supply and launch control device 163 are mounted on the mounting base 161. The payout control device 162 and the power supply / launch control device 163 are arranged so as to overlap each other so that the payout control device 162 is behind the pachinko machine 10.

払出制御装置162は、基板ボックス164内に払出制御基板が収容されており、主制御装置122からの信号に応じて所定の遊技球を払い出すように払出装置154を制御するように構成されている。   The payout control device 162 contains a payout control board in the board box 164, and is configured to control the payout device 154 so as to pay out a predetermined game ball in accordance with a signal from the main control device 122. Yes.

電源及び発射制御装置163は、基板ボックス165内に電源及び発射制御基板が収容されており、当該基板により、各種制御装置等で要する所定の電力が生成されて出力され、更に遊技者による遊技球発射ハンドル41の操作に伴う遊技球の打ち出しの制御が行われる。また、電源及び発射制御装置163にはRAM消去スイッチ166が設けられている。本パチンコ機10は各種データの記憶保持機能を有しており、万一停電が発生した際でも停電時の状態を保持し、停電からの復帰の際には停電時の状態に復帰できるようになっている。したがって、例えば遊技ホールの営業終了の場合のように通常手順で電源を遮断すると遮断前の状態が記憶保持されるが、RAM消去スイッチ166を押しながら電源を投入すると、RAMデータが初期化されるようになっている。   The power source and launch control device 163 includes a power source and launch control board housed in a board box 165, and the board generates and outputs predetermined power required by various control devices and the like. Control of the launch of the game ball accompanying the operation of the firing handle 41 is performed. Further, the power and launch control device 163 is provided with a RAM erase switch 166. This pachinko machine 10 has a function to store and store various data so that even if a power failure occurs, it maintains the state at the time of the power failure, and can be restored to the state at the time of the power failure at the time of recovery from the power failure. It has become. Therefore, for example, when the power supply is shut down by a normal procedure as in the case of the game hall being closed, the state before the power shut-off is stored, but when the power is turned on while pressing the RAM erase switch 166, the RAM data is initialized. It is like that.

なお、RAM消去スイッチ166は、電源及び発射制御装置163に設けられている構成に限られず、例えば、主制御装置122に設けられている構成としてもよい。   Note that the RAM erasure switch 166 is not limited to the configuration provided in the power supply and launch control device 163, and may be configured in the main control device 122, for example.

<パチンコ機10の電気的構成>
次に、パチンコ機10の電気的構成について、図7のブロック図に基づいて説明する。図7では、電力の供給ラインを二重線矢印で示し、信号ラインを実線矢印で示す。
<Electric configuration of pachinko machine 10>
Next, the electrical configuration of the pachinko machine 10 will be described based on the block diagram of FIG. In FIG. 7, the power supply line is indicated by a double line arrow, and the signal line is indicated by a solid line arrow.

主制御装置122には、主制御基板201と電断監視基板(停電監視基板)202とが設けられている。   The main control device 122 is provided with a main control board 201 and a power interruption monitoring board (power failure monitoring board) 202.

主制御基板201には、MPU211が搭載されている。MPU211には、当該MPU211により実行される各種の制御プログラムや固定値データを記憶したROM(不揮発性記憶手段)212と、そのROM212内に記憶される制御プログラムの実行に際して各種のデータ等を一時的に記憶するためのメモリであるRAM(揮発性記憶手段)213と、割込回路やタイマ回路、データ入出力回路などの各種回路が内蔵されている。なお、MPU211、ROM212及びRAM213の一部又は全部をそれぞれ別のチップとして設けてもよい。   An MPU 211 is mounted on the main control board 201. The MPU 211 temporarily stores various control programs executed by the MPU 211 and a ROM (non-volatile storage means) 212 storing fixed value data, and various data when the control program stored in the ROM 212 is executed. A RAM (volatile storage means) 213, which is a memory for storing data, and various circuits such as an interrupt circuit, a timer circuit, and a data input / output circuit are incorporated. Note that some or all of the MPU 211, the ROM 212, and the RAM 213 may be provided as separate chips.

RAM213は、パチンコ機10の電源の遮断後においても電源及び発射制御装置163から記憶保持用電力が供給されて情報が記憶保持される構成となっている。   The RAM 213 is configured to store and hold information even when the power of the pachinko machine 10 is shut off, by storing and holding power from the power and launch control device 163.

MPU211には入出力ポートが設けられており、MPU211において入出力が適宜変更されるようになっている。なお、入力ポートと出力ポートとをそれぞれ個別に有する構成としてもよい。   The MPU 211 is provided with an input / output port, and the input / output is appropriately changed in the MPU 211. In addition, it is good also as a structure which has an input port and an output port separately.

MPU211の入力側には、電断監視基板202、払出制御装置162及びその他センサ群などが接続されている。この場合に、電断監視基板202には電源及び発射制御装置163が接続されており、MPU211には電断監視基板202を介して電源及び発射制御装置163から動作電力として直流+12V及びロジック用の直流+5Vが供給される。また、電源及び発射制御装置163には、内枠開放スイッチ13a及び前扉枠開放スイッチ14aが接続されており、内枠開放信号及び前扉枠開放信号が電断監視基板202を介してMPU211に入力される。   On the input side of the MPU 211, the power interruption monitoring board 202, the payout control device 162, and other sensors are connected. In this case, a power supply and launch control device 163 is connected to the power failure monitoring board 202, and the MPU 211 is connected to the + 12V DC and logic for operating power from the power supply and launch control device 163 via the power failure monitoring board 202. DC + 5V is supplied. Further, the power supply and launch control device 163 is connected to the inner frame opening switch 13a and the front door frame opening switch 14a, and the inner frame opening signal and the front door frame opening signal are sent to the MPU 211 via the power interruption monitoring board 202. Entered.

センサ群の一部として、作動口55及び可変入賞装置54などといった入球部に設けられた複数の検知センサが接続されており、主制御装置122のMPU211において入球部の入球判定が行われる。また、MPU211では、入球部のうち、作動口55への入球に基づいて大当たり発生判定を実行する。   As a part of the sensor group, a plurality of detection sensors provided in the ball entering portion such as the operation port 55 and the variable prize winning device 54 are connected, and the MPU 211 of the main control device 122 performs the ball entering determination of the ball entering portion. Is called. Further, the MPU 211 executes the jackpot occurrence determination based on the entrance to the operation port 55 in the entrance portion.

ここで、MPU211にて大当たり発生判定を行う上での電気的な構成について図8を用いて説明する。   Here, an electrical configuration for determining the occurrence of a jackpot in the MPU 211 will be described with reference to FIG.

MPU211は遊技に際し各種カウンタ情報を用いて、大当たり抽選、第1特定ランプ部63の発光色の設定や、図柄表示装置61の図柄表示の設定などを行うこととしており、具体的には、大当たりの抽選に使用する大当たり乱数カウンタC1と、確変大当たりや通常大当たり等の大当たり種別を判定する際に使用する大当たり種別カウンタC2と、図柄表示装置61が外れ変動する際のリーチ抽選に使用するリーチ乱数カウンタC3と、大当たり乱数カウンタC1の初期値設定に使用する乱数初期値カウンタCINIと、第1特定ランプ部63に表示される色の切り替えを行う期間及び図柄表示装置61における図柄の変動表示時間を決定する変動種別カウンタCSとを用いることとしている。   The MPU 211 uses various counter information during the game to perform jackpot lottery, setting of the emission color of the first specific lamp unit 63, setting of symbol display of the symbol display device 61, and the like. The jackpot random number counter C1 used for the lottery, the jackpot type counter C2 used when determining the jackpot type such as the probability variation jackpot or the normal jackpot, and the reach random number counter used for the reach lottery when the symbol display device 61 is moved out and fluctuates. C3, the random number initial value counter CINI used for setting the initial value of the jackpot random number counter C1, the period for switching the color displayed on the first specific lamp unit 63, and the symbol variable display time in the symbol display device 61 are determined. The fluctuation type counter CS to be used is used.

カウンタC1〜C3,CINI,CSは、その更新の都度前回値に1が加算され、最大値に達した後0に戻るループカウンタとなっている。各カウンタは短時間間隔で更新され、その更新値がRAM213の抽選カウンタ用バッファ213aに適宜格納される。RAM213には、1つの実行エリアと4つの保留エリア(保留第1〜第4エリア)とからなる保留球格納エリア213bが設けられており、これらの各エリアには、作動口55への遊技球の入球履歴に合わせて、大当たり乱数カウンタC1、大当たり種別カウンタC2及びリーチ乱数カウンタC3の各値が時系列的に格納されるようになっている。   Each of the counters C1 to C3, CINI, and CS is a loop counter that adds 1 to the previous value every time it is updated and returns to 0 after reaching the maximum value. Each counter is updated at short time intervals, and the updated value is appropriately stored in the lottery counter buffer 213a of the RAM 213. The RAM 213 is provided with a holding ball storage area 213b composed of one execution area and four holding areas (holding first to fourth areas). In each of these areas, a game ball to the operation port 55 is provided. Each of the values of the jackpot random number counter C1, the jackpot type counter C2 and the reach random number counter C3 are stored in time series in accordance with the ball entry history.

各カウンタについて詳しくは、大当たり乱数カウンタC1は、例えば0〜676の範囲内で順に1ずつ加算され、最大値(つまり676)に達した後0に戻る構成となっている。特に大当たり乱数カウンタC1が1周した場合、その時点の乱数初期値カウンタCINIの値が当該大当たり乱数カウンタC1の初期値として読み込まれる。なお、乱数初期値カウンタCINIは、大当たり乱数カウンタC1と同様のループカウンタである(値=0〜676)。大当たり乱数カウンタC1は定期的に更新され、遊技球が作動口55に入球したタイミングでRAM213の保留球格納エリア213bに格納される。   For details of each counter, the jackpot random number counter C1 is configured such that, for example, 1 is sequentially added within a range of 0 to 676, and after reaching the maximum value (that is, 676), it returns to 0. In particular, when the jackpot random number counter C1 makes one round, the value of the random number initial value counter CINI at that time is read as the initial value of the jackpot random number counter C1. The random number initial value counter CINI is a loop counter similar to the big hit random number counter C1 (value = 0 to 676). The jackpot random number counter C1 is periodically updated and stored in the reserved ball storage area 213b of the RAM 213 at the timing when the game ball enters the operation port 55.

大当たり種別カウンタC2は、0〜49の範囲内で順に1ずつ加算され、最大値(つまり49)に達した後0に戻る構成となっている。そして、本実施の形態では、大当たり種別カウンタC2によって、大当たりが終了した後に、確変状態とするか通常状態とするかを決定することとしている。大当たり種別カウンタC2は定期的に更新され、遊技球が作動口55に入球したタイミングでRAM213の保留球格納エリア213bに格納される。   The jackpot type counter C2 is incremented by 1 within a range of 0 to 49, and reaches a maximum value (that is, 49) and then returns to 0. In the present embodiment, the jackpot type counter C2 determines whether the probability change state or the normal state is set after the jackpot is finished. The jackpot type counter C2 is periodically updated and stored in the reserved ball storage area 213b of the RAM 213 at the timing when the game ball enters the operation port 55.

リーチ乱数カウンタC3は、例えば0〜238の範囲内で順に1ずつ加算され、最大値(つまり238)に達した後0に戻る構成となっている。リーチ乱数カウンタC3は定期的に更新され、遊技球が作動口55に入球したタイミングでRAM213の保留球格納エリア213bに格納される。   For example, the reach random number counter C3 is incremented one by one within a range of 0 to 238, for example, and reaches a maximum value (that is, 238) and then returns to 0. The reach random number counter C3 is periodically updated and stored in the reserved ball storage area 213b of the RAM 213 at the timing when the game ball enters the operation port 55.

変動種別カウンタCSは、例えば0〜240の範囲内で順に1ずつ加算され、最大値(つまり240)に達した後0に戻る構成となっている。変動種別カウンタCSによって、第1特定ランプ部63に表示される色の切り替えを行う期間としての切替表示時間が決定される。この切替表示時間は、図柄表示装置61の図柄の変動表示時間に相当する。変動種別カウンタCSは、後述する通常処理が1回実行される毎に1回更新され、当該通常処理内の残余時間内でも繰り返し更新される。そして、第1特定ランプ部63に表示される色の切り替え開始時及び図柄表示装置61による図柄の変動開始時における変動パターン決定に際して変動種別カウンタCSのバッファ値が取得される。   For example, the variation type counter CS is incremented one by one within a range of 0 to 240, for example, and reaches a maximum value (that is, 240) and then returns to 0. The switching display time as a period for switching the color displayed on the first specific lamp unit 63 is determined by the variation type counter CS. This switching display time corresponds to the symbol variation display time of the symbol display device 61. The variation type counter CS is updated once every time a normal process to be described later is executed once, and is repeatedly updated even within the remaining time in the normal process. Then, the buffer value of the variation type counter CS is acquired at the time of starting the switching of the color displayed on the first specific lamp unit 63 and determining the variation pattern at the time of starting the variation of the symbol by the symbol display device 61.

なお、1遊技回の開始に際しては、主制御基板201のMPU211にて、保留球格納エリア213bに格納されている各カウンタC1〜C3,CSの値を用いて大当たり抽選や第1特定ランプ部63に表示される色の切り替え時間が決定されるが、ここで決定された抽選結果の情報や切り替え時間の情報は遊技回用コマンドとして音声ランプ制御装置113に送信される。音声ランプ制御装置113では、当該遊技回用コマンドに基づいて、図柄表示装置61における変動パターンやリーチ発生の有無といった該当する遊技回の演出内容を決定する。   At the start of one game round, the MPU 211 of the main control board 201 uses the values of the counters C1 to C3 and CS stored in the reserved ball storage area 213b to perform a big hit lottery or the first specific lamp unit 63. The switching time of the color displayed on the screen is determined, but the information on the lottery result and the switching time determined here are transmitted to the sound lamp control device 113 as a game turn command. The sound lamp control device 113 determines the effect contents of the corresponding game times, such as the fluctuation pattern in the symbol display device 61 and the presence / absence of reach, based on the game times command.

また、上記各カウンタ以外にも、作動口55に設けられている電動役物を開放状態とするか否かの抽選に用いられる第2特定ランプ乱数カウンタが設けられており、スルーゲート56への入賞が発生したタイミングでその時点での第2特定ランプ乱数カウンタの値が取得され、その取得した値に基づいて電動役物を開放状態とするか否かの抽選が実行される。   In addition to the counters described above, a second specific lamp random number counter used for lottery for determining whether or not to open the electric accessory provided in the operation port 55 is provided. The value of the second specific lamp random number counter at that time is acquired at the timing when a winning occurs, and a lottery is performed as to whether or not to open the electric accessory based on the acquired value.

図7の説明に戻り、MPU211の出力側には、電断監視基板202、払出制御装置162及び音声ランプ制御装置113が接続されている。払出制御装置162には、賞球コマンドなどといった各種コマンドが出力される。主制御基板201から音声ランプ制御装置113には遊技回用の各種コマンドが出力される。   Returning to the description of FIG. 7, the power interruption monitoring board 202, the payout control device 162, and the sound lamp control device 113 are connected to the output side of the MPU 211. Various commands such as a prize ball command are output to the payout control device 162. Various commands for game times are output from the main control board 201 to the sound lamp control device 113.

電断監視基板202は、主制御基板201と電源及び発射制御装置163とを中継し、また電源及び発射制御装置163から出力される最大電圧である直流+24Vの電圧を監視する。そして、この電圧が+22V以上の場合には、主制御基板201に対し非電断信号(第1情報)としてのHIレベル信号を出力(送信)し、この電圧が+22V未満になると電源遮断の発生と判断し、主制御基板201に対して停電信号(第2情報)としてのLOWレベル信号を出力(送信)する。主制御基板201では、このLOWレベル信号の入力を所定の態様で確認することにより、その確認結果に基づいて後述する電断時処理(停電時処理)を実行する。   The power interruption monitoring board 202 relays between the main control board 201 and the power supply and launch control device 163, and monitors the voltage of DC + 24V that is the maximum voltage output from the power supply and launch control device 163. When this voltage is + 22V or more, a HI level signal as a non-interruptible signal (first information) is output (transmitted) to the main control board 201, and when this voltage becomes less than + 22V, the power is cut off. And a LOW level signal as a power failure signal (second information) is output (transmitted) to the main control board 201. The main control board 201 confirms the input of the LOW level signal in a predetermined manner, and executes a power interruption process (power failure process) to be described later based on the confirmation result.

払出制御装置162は、主制御基板201から入力される賞球コマンド等に基づいて、所定の遊技球を払い出すように払出装置154を制御するものである。   The payout control device 162 controls the payout device 154 to pay out a predetermined game ball based on a prize ball command or the like input from the main control board 201.

電源及び発射制御装置163は、例えば、裏パック基板156を介して遊技ホール等における商用電源(外部電源)に接続されている。そして、その商用電源から供給される外部電力に基づいて主制御装置122や払出制御装置162等各々に必要な動作電力を生成するとともに、その生成した動作電力を二重線矢印で示す経路を通じて供給する。その概要としては、電源及び発射制御装置163は、裏パック基板156を介して供給される交流24ボルト電源を取り込み、各種センサやモータ等を駆動するための直流+12V電圧、ロジック用の直流+5V電圧などを生成し、これら直流+12V電圧、直流+5V電圧を主制御装置122や払出制御装置162等に対して供給する。   The power supply and launch control device 163 is connected to, for example, a commercial power supply (external power supply) in a game hall or the like via the back pack substrate 156. Based on the external power supplied from the commercial power supply, the operating power required for each of the main controller 122, the payout controller 162, etc. is generated, and the generated operating power is supplied through the path indicated by the double line arrow. To do. As its outline, the power supply and launch control device 163 takes in the AC 24 volt power supplied via the back pack substrate 156, and drives the various sensors, motors, etc. DC + 12V voltage, logic DC + 5V voltage Are generated, and these DC + 12V voltage and DC + 5V voltage are supplied to the main controller 122, the payout controller 162, and the like.

また、電源及び発射制御装置163の出力側には、遊技球発射機構40が接続されている。そして、遊技者による遊技球発射ハンドル41の操作にしたがって遊技球発射機構40の発射制御を実行する。遊技球発射機構40は所定の発射条件が整っている場合に駆動される。   A game ball launching mechanism 40 is connected to the output side of the power source and launch control device 163. Then, according to the operation of the game ball launch handle 41 by the player, the launch control of the game ball launch mechanism 40 is executed. The game ball launching mechanism 40 is driven when predetermined launch conditions are met.

また、電源及び発射制御装置163には、電断時用電源部が搭載されており、パチンコ機10の電源がOFF状態の場合や商用電源における電断発生時といった電源遮断状態(外部電源からの電力供給が遮断されている場合)では、電断時用電源部から主制御基板201のRAM213に対して記憶保持用電力が供給される。よって、かかる状況であっても、RAM213に記憶された情報が消去されることなく記憶保持される。   In addition, the power supply and launch control device 163 is equipped with a power supply unit for power interruption. When the power of the pachinko machine 10 is in an OFF state or when a power interruption occurs in a commercial power supply (from an external power supply) In the case where the power supply is interrupted), the storage holding power is supplied from the power interruption power supply unit to the RAM 213 of the main control board 201. Therefore, even in such a situation, the information stored in the RAM 213 is stored and held without being erased.

音声ランプ制御装置113は、主制御基板201から出力される各種コマンドに基づいて、各種ランプ部23、24、25、スピーカ部26、及び表示制御装置214を制御する。表示制御装置214は、音声ランプ制御装置113から入力される表示コマンドに基づいて図柄表示装置61を制御する。   The sound lamp control device 113 controls the various lamp units 23, 24, 25, the speaker unit 26, and the display control device 214 based on various commands output from the main control board 201. The display control device 214 controls the symbol display device 61 based on the display command input from the sound lamp control device 113.

ここで、主制御基板201の入力側及び出力側には磁気センサモジュール81が電気的に接続されている。磁気センサモジュール81は、磁気センサ221と、当該磁気センサ221での磁気の検知情報を処理する演算装置である1チップマイコンとしてのMPU222と、を備えている。磁気センサ221とMPU222とは電気的に接続されている。磁気センサ221は3軸のMI素子(磁気インピーダンス素子)からなり、リードスイッチタイプやホール素子を用いた磁気センサよりも高感度で広範囲に磁気を検知することが可能であり、また、いずれの方向から磁気が印加されたかを特定することが可能となっている。   Here, the magnetic sensor module 81 is electrically connected to the input side and the output side of the main control board 201. The magnetic sensor module 81 includes a magnetic sensor 221 and an MPU 222 as a one-chip microcomputer that is an arithmetic device that processes magnetic detection information in the magnetic sensor 221. The magnetic sensor 221 and the MPU 222 are electrically connected. The magnetic sensor 221 includes a triaxial MI element (magnetic impedance element), and can detect magnetism in a wide range with higher sensitivity than a magnetic sensor using a reed switch type or a Hall element, and in any direction. It is possible to specify whether magnetism has been applied.

MPU222は、MPU222により実行される制御プログラムや固定値データ等を記憶したROM223と、ワークメモリ等として使用されるRAM224とを備えている。磁気センサ221に磁気が印加されると磁気センサ221のインピーダンスが変化し、MPU222は、当該インピーダンスの変化量を解析し、磁気の検知値として算出する。そして、当該検知値に基づいて磁気検知状態とするか否かの所定の処理を実行後、磁気検知状態とする場合には、主制御装置122のMPU211に対して磁気検知状態信号としてのHIレベル信号を出力し、磁気検知状態としない場合には、LOWレベル信号を出力する。ただし、信号の出力態様はこれに限定されることはなく、HIレベル信号とLOWレベル信号との関係が逆であってもよい。なお、MPU222の上記処理については、後に詳細に説明する。   The MPU 222 includes a ROM 223 that stores a control program executed by the MPU 222, fixed value data, and the like, and a RAM 224 that is used as a work memory or the like. When magnetism is applied to the magnetic sensor 221, the impedance of the magnetic sensor 221 changes, and the MPU 222 analyzes the amount of change in the impedance and calculates it as a magnetic detection value. Then, after executing a predetermined process for determining whether or not to set the magnetic detection state based on the detection value, when the magnetic detection state is set, the HI level as the magnetic detection state signal is sent to the MPU 211 of the main controller 122. When a signal is output and the magnetic detection state is not set, a LOW level signal is output. However, the output mode of the signal is not limited to this, and the relationship between the HI level signal and the LOW level signal may be reversed. The above processing of the MPU 222 will be described in detail later.

また、MPU222は、主制御基板201からの信号に基づいて、磁気の検知値を校正するオフセット処理を実行する機能を有している。かかる処理の詳細も後述するが、主制御基板201のMPU211は、磁気センサモジュール81がオフセット処理を実行すべき状態の場合には、オフセット信号としての出力態様をLOWレベル信号からHIレベル信号に切り替えて出力し、オフセット処理を実行すべき状態でない場合にはHIレベル信号からLOWレベル信号に切り替えて出力する。ただし、信号の出力態様はこれに限定されることはなく、HIレベル信号とLOWレベル信号との関係が逆であってもよい。   The MPU 222 has a function of executing an offset process for calibrating the magnetic detection value based on a signal from the main control board 201. Although details of this processing will be described later, the MPU 211 of the main control board 201 switches the output mode as the offset signal from the LOW level signal to the HI level signal when the magnetic sensor module 81 is to execute the offset processing. If the offset processing is not to be executed, the HI level signal is switched to the LOW level signal and output. However, the output mode of the signal is not limited to this, and the relationship between the HI level signal and the LOW level signal may be reversed.

<主制御基板201のMPU211における処理構成>
次に、主制御基板201のMPU211により実行される各制御処理を説明する。かかるMPU211の処理としては大別して、電源投入に伴い起動されるメイン処理と、定期的に起動されるタイマ割込み処理とがある。
<Processing Configuration in MPU 211 of Main Control Board 201>
Next, each control process executed by the MPU 211 of the main control board 201 will be described. The processing of the MPU 211 is roughly classified into main processing that is activated when the power is turned on and timer interrupt processing that is periodically activated.

<メイン処理>
まず、電源投入時のリセットに伴い起動されるメイン処理について、図9のフローチャートを用いて説明する。
<Main processing>
First, the main process that is started upon reset at power-on will be described with reference to the flowchart of FIG.

まずステップS101では、電源投入ウェイト処理を実行する。当該電源投入ウェイト処理では、例えばメイン処理が起動されてから1secが経過するまで次の処理に進行することなく待機する。続くステップS102では、RAM213のアクセスを許可するとともに、ステップS103にてMPU211の内部機能レジスタの設定を行う。   First, in step S101, power-on wait processing is executed. In the power-on wait process, for example, the process waits without progressing to the next process until 1 sec elapses after the main process is activated. In the subsequent step S102, access to the RAM 213 is permitted, and the internal function register of the MPU 211 is set in step S103.

その後、ステップS104では、電源及び発射制御装置163に設けたRAM消去スイッチ166がオンされているか否かを判定し、続くステップS105ではRAM213に停電フラグに「1」がセットされているか否かを判定する。また、ステップS106ではRAM判定値を算出し、続くステップS107では、そのRAM判定値が電源遮断時に保存したRAM判定値と一致するか否か、すなわち記憶保持されたデータの有効性を判定する。RAM判定値は、例えばRAM213の作業領域アドレスにおけるチェックサム値である。なお、RAM213の所定のエリアに書き込まれたキーワードが正しく保存されているか否かにより記憶保持されたデータの有効性を判断することも可能である。   Thereafter, in step S104, it is determined whether or not the RAM erase switch 166 provided in the power supply and launch control device 163 is turned on. In subsequent step S105, it is determined whether or not the power failure flag is set to “1” in the RAM 213. judge. In step S106, a RAM determination value is calculated. In subsequent step S107, it is determined whether or not the RAM determination value matches the RAM determination value stored when the power is turned off, that is, the validity of the stored data. The RAM determination value is a checksum value at a work area address in the RAM 213, for example. It is also possible to determine the validity of data stored and held based on whether or not the keywords written in a predetermined area of the RAM 213 are correctly stored.

本パチンコ機10では、例えばホールの営業開始時など、電源投入時にRAMデータを初期化する場合にはRAM消去スイッチ166を押しながら電源が投入される。したがって、RAM消去スイッチ166が押されていれば、ステップS108の処理に移行する。また、電源遮断の発生情報が設定されていない場合や、RAM判定値(チェックサム値等)により記憶保持されたデータの異常が確認された場合も同様にステップS108の処理に移行する。ステップS108では、RAM213の初期化として当該RAM213をクリアする。その後、ステップS109に進む。   In the pachinko machine 10, for example, when RAM data is initialized when the power is turned on, such as when the hall starts business, the power is turned on while the RAM erase switch 166 is pressed. Therefore, if the RAM erase switch 166 is pressed, the process proceeds to step S108. Similarly, when the information on occurrence of power shut-off is not set, or when abnormality of data stored and held is confirmed by the RAM determination value (checksum value or the like), the process proceeds to step S108. In step S108, the RAM 213 is cleared as initialization of the RAM 213. Thereafter, the process proceeds to step S109.

一方、RAM消去スイッチが押されていない場合には、停電フラグに「1」がセットされていること、及びチェックサムが正常であることを条件に、ステップS108の処理を実行することなくステップS109に進む。   On the other hand, if the RAM erase switch has not been pressed, step S109 is executed without executing step S108 on condition that the power failure flag is set to “1” and the checksum is normal. Proceed to

ステップS109では、電源投入設定処理を実行する。電源投入設定処理では、停電フラグの初期化といったRAM213の所定のエリアを初期値に設定するとともに、各制御装置に電源投入時処理を実行させるためのコマンドを送信する。具体的には、音声ランプ制御装置113に対しては、現状の遊技状態を認識させるために現状の遊技状態に対応したコマンドを送信し、払出制御装置162に対しては、払出装置154の初期駆動テストを実行させるためのコマンドを送信する。なお、電源及び発射制御装置163における電源投入時処理は、電源及び発射制御装置163が主制御装置122よりも商用電源の上流側に配置されている関係上、主制御装置122からのコマンドを契機とせずに、電源スイッチ156aの切替操作又は島設備からの電源供給がOFFからONへとなることに基づいて実行される。電源及び発射制御装置163の電源投入時処理では、遊技球発射機構40における発射ソレノイドや球送り装置の初期駆動テストを実行する。またステップS109では、タイマ割込み処理の発生を許可するために割込み許可の設定を行う。   In step S109, a power-on setting process is executed. In the power-on setting process, a predetermined area of the RAM 213 such as initialization of a power failure flag is set to an initial value, and a command for causing each control device to execute a process at power-on is transmitted. Specifically, a command corresponding to the current gaming state is transmitted to the sound lamp control device 113 in order to recognize the current gaming state, and the initial state of the paying device 154 is transmitted to the payout control device 162. Send a command to execute the driving test. Note that the power-on process in the power source and launch control device 163 is triggered by a command from the main control device 122 because the power source and launch control device 163 is disposed upstream of the main control device 122 from the commercial power source. Instead, the switching operation of the power switch 156a or the power supply from the island facility is changed from OFF to ON. In the power-on process of the power supply and launch control device 163, an initial drive test of the launch solenoid and the ball feeder in the game ball launch mechanism 40 is executed. In step S109, an interrupt permission is set to permit the generation of the timer interrupt process.

続くステップS110では、磁気センサモジュール81が正常に起動したか否かを確認するセンサ確認処理を実行する。かかる処理については、後に詳細に説明する。   In subsequent step S110, a sensor confirmation process for confirming whether or not the magnetic sensor module 81 has been normally activated is executed. Such processing will be described in detail later.

その後、ステップS111〜ステップS114の残余処理に進む。つまり、MPU211はタイマ割込み処理を定期的に実行する構成であるが、1のタイマ割込み処理と次のタイマ割込み処理との間に残余時間が生じることとなる。この残余時間は各タイマ割込み処理の処理完了時間に応じて変動することとなるが、かかる不規則な時間を利用してステップS111〜ステップS114の残余処理を繰り返し実行する。この点、当該ステップS111〜ステップS114の残余処理は、非定期的に実行される非定期処理であると言える。   Thereafter, the process proceeds to the remaining processes in steps S111 to S114. In other words, the MPU 211 is configured to periodically execute the timer interrupt process, but a remaining time is generated between one timer interrupt process and the next timer interrupt process. The remaining time varies depending on the processing completion time of each timer interrupt process, but the remaining processes in steps S111 to S114 are repeatedly executed using such irregular time. In this regard, it can be said that the remaining processes in steps S111 to S114 are non-periodic processes that are performed irregularly.

残余処理では、まずステップS111にて、タイマ割込み処理の発生を禁止するために割込み禁止の設定を行う。続くステップS112では、乱数初期値カウンタCINIの更新を行う乱数初期値更新処理を実行するとともに、ステップS113にて変動種別カウンタCSの更新を行う変動用カウンタ更新処理を実行する。これらの更新処理では、RAM213の対応するカウンタから現状の数値情報を読み出し、その読み出した数値情報を1加算する処理を実行した後に、読み出し元のカウンタに上書きする処理を実行する。この場合、カウンタ値が最大値に達した際それぞれ「0」にクリアする。その後、ステップS114にて、タイマ割込み処理の発生を禁止している状態から許可する状態へ切り替える割込み許可の設定を行う。ステップS114の処理を実行したら、ステップS111に戻り、ステップS111〜ステップS114の処理を繰り返す。   In the remaining process, first, in step S111, an interrupt prohibition setting is performed to prohibit the generation of the timer interrupt process. In the subsequent step S112, a random number initial value update process for updating the random number initial value counter CINI is executed, and a change counter update process for updating the change type counter CS is executed in step S113. In these update processes, the current numerical information is read from the corresponding counter in the RAM 213, the process of adding 1 to the read numerical information is executed, and then the process of overwriting the read-out counter is executed. In this case, each counter value is cleared to “0” when it reaches the maximum value. Thereafter, in step S114, an interrupt permission setting for switching from a state in which the generation of the timer interrupt process is prohibited to a state in which the timer interrupt process is permitted is performed. If the process of step S114 is performed, it will return to step S111 and will repeat the process of step S111-step S114.

ここで、上記のように残余処理では、割込み禁止の処理及び割込み許可の処理に挟まれるようにして乱数初期値更新処理及び変動用カウンタ更新処理が設定されているのみであるため、後述するタイマ割込み処理が開始されるタイミングは常にステップS111の直前となる。そうすると、タイマ割込み処理が終了した後は常にステップS111から開始すればよいこととなり、タイマ割込み処理後の戻りアドレスが一義的なものとなる。よって、タイマ割込み処理の開始に際して現状の戻りアドレスを記憶する必要はなく、タイマ割込み処理の開始に際しての処理負荷が軽減される。   Here, as described above, in the remaining process, only the initial random number value update process and the variation counter update process are set so as to be sandwiched between the interrupt disable process and the interrupt enable process. The timing at which the interrupt process is started is always immediately before step S111. Then, after the timer interrupt process is completed, it is only necessary to start from step S111, and the return address after the timer interrupt process is unambiguous. Therefore, it is not necessary to store the current return address at the start of the timer interrupt process, and the processing load at the start of the timer interrupt process is reduced.

また、MPU211において所定のデータの演算を行っている途中でタイマ割込み処理が発生することもないため、タイマ割込み処理の開始に際してMPU211のレジスタにその時点で格納されているデータのRAM213への退避処理を実行する必要がなく、同様にタイマ割込み処理の終了に際してMPU211のレジスタへのデータの復帰処理を実行する必要がない。よって、タイマ割込み処理の開始に際しての処理負荷が軽減されるとともに、タイマ割込み処理の終了に際しての処理負荷も軽減される。   In addition, since the timer interrupt process does not occur during the calculation of predetermined data in the MPU 211, when the timer interrupt process is started, the data stored in the register of the MPU 211 at that time is saved in the RAM 213. Similarly, it is not necessary to execute the process of restoring the data to the register of the MPU 211 when the timer interrupt process ends. Therefore, the processing load at the start of the timer interrupt process is reduced, and the processing load at the end of the timer interrupt process is also reduced.

また、乱数初期値カウンタCINIの更新途中や変動種別カウンタCSの更新途中でタイマ割込み処理が開始されることがないため、これらの更新途中であるにも関わらず、タイマ割込み処理にてこれらカウンタの数値情報が取得されたり、さらなる更新処理が実行されてしまうことを防止できる。   In addition, since timer interrupt processing is not started during the update of the random number initial value counter CINI or during the update of the variation type counter CS, these counters are not updated during the timer interrupt processing. It is possible to prevent numerical information from being acquired and further update processing from being executed.

<タイマ割込み処理>
次に、図10のフローチャートを参照しながらタイマ割込み処理を説明する。
<Timer interrupt processing>
Next, timer interrupt processing will be described with reference to the flowchart of FIG.

ここで、MPU211にてタイマ割込み処理を定期的に実行するためのハード構成について説明する。主制御基板201には所定周期でパルス信号を出力するパルス信号出力手段としてクロック回路が設けられており、更に当該クロック回路とMPU211との間の信号経路の途中位置に存在するように分周回路が設けられている。   Here, a hardware configuration for periodically executing timer interrupt processing in the MPU 211 will be described. The main control board 201 is provided with a clock circuit as pulse signal output means for outputting a pulse signal at a predetermined cycle, and further, a frequency dividing circuit so as to exist in the middle of a signal path between the clock circuit and the MPU 211. Is provided.

分周回路は、クロック回路からのパルス信号の周期を変更する周波数変更手段として機能し、タイマ割込み処理の起動タイミングをMPU211にて特定するためのパルス信号を出力するように構成されている。つまり、分周回路からMPU211に対して特定周期である4msec周期の間隔でパルス信号が供給されるようになっている。MPU211では、かかるパルス信号の立ち上がり又は立下りといった特定の信号形態の発生を確認する処理を実行し、特定の信号形態の発生を確認したことを少なくとも一の条件としてタイマ割込み処理を起動して実行する。   The frequency dividing circuit functions as frequency changing means for changing the cycle of the pulse signal from the clock circuit, and is configured to output a pulse signal for specifying the start timing of the timer interrupt processing by the MPU 211. That is, the pulse signal is supplied from the frequency dividing circuit to the MPU 211 at intervals of a specific cycle of 4 msec. The MPU 211 executes a process for confirming the occurrence of a specific signal form such as the rise or fall of the pulse signal, and starts and executes the timer interrupt process with at least one condition that the occurrence of the specific signal form is confirmed. To do.

この場合、タイマ割込み処理の起動が禁止されている状況において上記特定の信号形態の発生を確認した場合には、その割込みが禁止されている状態から割込みが許可された状態となった場合にタイマ割込み処理が起動される。つまり、MPU211における処理の実行状況によっては前回のタイマ割込み処理が開始されてから4.1msec経過後に次のタイマ割込み処理が開始される場合が生じ、このような事象が発生した場合には次のタイマ割込み処理は直前のタイマ割込み処理が開始されてから3.9msec経過後に開始されることとなる。   In this case, when the occurrence of the specific signal form is confirmed in the situation where the start of timer interrupt processing is prohibited, the timer is changed when the interrupt is permitted from the state where the interrupt is prohibited. Interrupt processing is started. In other words, depending on the execution status of the process in the MPU 211, there is a case where the next timer interrupt process starts after 4.1 msec from the start of the previous timer interrupt process. The timer interrupt process is started after 3.9 msec from the start of the immediately preceding timer interrupt process.

ただし、上記分周回路からのパルス信号の出力はMPU211における処理の経過内容に関係なく4msecといった特定周期で行われるため、基本的にはタイマ割込み処理は特定周期で起動される。また、MPU211の処理構成は、所定のタイミングにおけるタイマ割込み処理が前回のタイマ割込み処理が起動されてから特定周期を超える期間が経過した後に起動されたとしても、当該所定のタイミングの次のタイミングにおけるタイマ割込み処理にてその特定周期を超えた分が吸収されて、更に次のタイミングにおけるタイマ割込み処理ではパルス信号の入力を確認したタイミングで起動されるように設定されている。   However, since the output of the pulse signal from the frequency divider circuit is performed at a specific cycle of 4 msec regardless of the progress of the processing in the MPU 211, the timer interrupt processing is basically started at a specific cycle. The processing configuration of the MPU 211 is such that the timer interrupt process at a predetermined timing is started after a period exceeding a specific period since the previous timer interrupt process was started. The timer interrupt processing is set so that the portion exceeding the specific period is absorbed, and the timer interrupt processing at the next timing is started at the timing when the input of the pulse signal is confirmed.

さて、タイマ割込み処理では、まずステップS201にて、停電情報記憶処理を実行する。停電情報記憶処理では、停電監視回路203から電源遮断の発生に対応した停電信号を受信しているか否かを監視し、停電の発生を特定した場合には停電時処理を実行する。   In the timer interrupt process, first, a power failure information storage process is executed in step S201. In the power failure information storage process, it is monitored whether or not a power failure signal corresponding to the occurrence of power interruption is received from the power failure monitoring circuit 203, and when the occurrence of a power failure is specified, the power failure process is executed.

続くステップS202では、磁気センサモジュール81に磁気の検知値の校正を行わせるセンサ補正処理を実行する。かかる処理については、後に詳細に説明する。   In the subsequent step S202, a sensor correction process for causing the magnetic sensor module 81 to calibrate the magnetic detection value is executed. Such processing will be described in detail later.

続くステップS203では、抽選用乱数更新処理を実行する。抽選用乱数更新処理では、大当たり乱数カウンタC1、大当たり種別カウンタC2、リーチ乱数カウンタC3及び電動役物開放カウンタC4の更新を実行する。具体的には、大当たり乱数カウンタC1、大当たり種別カウンタC2、リーチ乱数カウンタC3及び電動役物開放カウンタC4から現状の数値情報を順次読み出し、それら読み出した数値情報をそれぞれ1加算する処理を実行した後に、読み出し元のカウンタに上書きする処理を実行する。この場合、カウンタ値が最大値に達した際それぞれ「0」にクリアする。   In a succeeding step S203, a lottery random number update process is executed. In the lottery random number update process, the big hit random number counter C1, the big hit type counter C2, the reach random number counter C3, and the electric accessory release counter C4 are updated. Specifically, after executing the process of sequentially reading the current numerical information from the jackpot random number counter C1, the jackpot type counter C2, the reach random number counter C3, and the electric accessory release counter C4, and adding 1 to each of the read numerical information Then, a process of overwriting the reading source counter is executed. In this case, each counter value is cleared to “0” when it reaches the maximum value.

その後、ステップS204ではステップS112と同様に乱数初期値更新処理を実行するとともに、ステップS205にてステップS113と同様に変動用カウンタ更新処理を実行する。続くステップS206では、遊技停止判定処理を実行する。遊技停止判定処理では、遊技の進行を停止すべき状況であるか否かを監視し、遊技の進行を停止すべき状況であれば遊技を進行させるための処理の実行を停止する。   Thereafter, in step S204, the random number initial value updating process is executed in the same manner as in step S112, and in step S205, the variation counter updating process is executed in the same manner as in step S113. In a succeeding step S206, a game stop determination process is executed. In the game stop determination process, it is monitored whether or not the progress of the game is to be stopped. If the progress of the game is to be stopped, the execution of the process for progressing the game is stopped.

その後、ステップS207では遊技の進行を停止している状態であるか否かを判定し、遊技の進行を停止していない状態であることを条件に、ステップS208以降の処理を実行する。   Thereafter, in step S207, it is determined whether or not the progress of the game is stopped, and the processing after step S208 is executed on the condition that the progress of the game is not stopped.

ステップS208では、ポート出力処理を実行する。ポート出力処理では、前回のタイマ割込み処理において出力情報の設定が行われている場合に、その出力情報に対応した出力を各種駆動部に行うための処理を実行する。続くステップS209では、読み込み処理を実行する。読み込み処理では、停電信号及び入賞信号以外の、内枠開放スイッチ13aからの内枠開放信号、前扉枠開放スイッチ14aからの前扉枠開放信号、磁気センサモジュール81からの検知状態信号といった、各種信号の読み込みを実行し、その読み込んだ情報を今後の処理にて利用するために記憶する。なお、磁気センサモジュール81からの検知状態信号の読み込み処理については、後に詳細に説明する。   In step S208, port output processing is executed. In the port output process, when output information has been set in the previous timer interrupt process, a process for performing output corresponding to the output information to various drive units is executed. In subsequent step S209, a reading process is executed. In the reading process, various signals such as an inner frame opening signal from the inner frame opening switch 13a, a front door frame opening signal from the front door frame opening switch 14a, and a detection state signal from the magnetic sensor module 81 other than the power failure signal and the winning signal. Reads the signal and stores the read information for use in future processing. The reading process of the detection state signal from the magnetic sensor module 81 will be described in detail later.

続くステップS210では、各入賞検知センサから受信している信号を読み込むとともに、その読み込んだ情報に対応した処理を行うための入賞検知処理を実行する。また、ステップS211では、RAM213に設けられている所定のタイマカウンタの数値情報をまとめて更新するためのタイマ更新処理を実行する。   In the subsequent step S210, a signal received from each winning detection sensor is read, and a winning detection process for performing processing corresponding to the read information is executed. In step S211, timer update processing for updating the numerical information of predetermined timer counters provided in the RAM 213 collectively is executed.

続くステップS212では、不正用の監視対象として設定されている所定の事象が発生しているか否かを監視する不正検知処理を実行する。かかる処理において、不正目的で磁気が印加された場合の磁気検知用処理が実行される。磁気検知用処理の内容については、後に詳細に説明する。   In subsequent step S212, a fraud detection process for monitoring whether or not a predetermined event set as a fraud monitoring target has occurred is executed. In such processing, magnetic detection processing is performed when magnetism is applied for an unauthorized purpose. The contents of the magnetic detection process will be described later in detail.

続くステップS213では、遊技球の発射制御を実行する発射制御処理を実行する。かかる処理では、遊技球を発射させることが可能である場合に、遊技球発射機構40の発射ソレノイドや球送り装置を駆動制御し、遊技球発射ハンドル41の操作量に基づく発射強度で遊技球を発射させる。   In the subsequent step S213, a launch control process for executing launch control of the game ball is executed. In this process, when it is possible to launch a game ball, the launch solenoid and the ball feeding device of the game ball launch mechanism 40 are driven and controlled, and the game ball is launched with a launch intensity based on the operation amount of the game ball launch handle 41. Let it fire.

ステップS214では、入力状態監視処理として、ステップS209の読み込み処理にて読み込んだ情報に基づいて、各入賞検知センサの断線確認や、遊技機本体12や前扉枠14の開放確認を行う。   In step S214, as input state monitoring processing, disconnection confirmation of each winning detection sensor and opening confirmation of the gaming machine main body 12 and the front door frame 14 are performed based on the information read in the reading processing in step S209.

続くステップS215では、遊技回の実行制御及び開閉実行モードの実行制御を行うための特図特電制御処理を実行する。当該特図特電制御処理では、保留球格納エリア213bに記憶されている保留情報の数が上限数未満である状況で作動口55への入賞が発生した場合に、その時点における大当たり乱数カウンタC1、大当たり種別カウンタC2及びリーチ乱数カウンタC3の各数値情報を保留情報として、保留球格納エリア213bに時系列的に格納してゆく処理を実行する。また、特図特電制御処理では、遊技回中及び開閉実行モード中ではなく且つ保留情報が記憶されていることを条件に、その保留情報が大当たり当選に対応しているか否かを判定する当否判定処理、及び大当たり当選に対応している場合にはその保留情報がいずれの大当たり結果に対応しているのかを判定する振分判定処理を実行する。また、特図特電制御処理では、当否判定処理及び振分判定処理だけでなく、その保留情報が大当たり当選に対応していない場合には、その保留情報がリーチ発生に対応しているか否かを判定するリーチ判定処理を実行するとともに、その時点における変動種別カウンタCSの数値情報を利用して遊技回の継続時間を選択する継続時間の選択処理を実行する。そして、それら各処理の結果に応じた継続時間の情報を含む変動用コマンドと、遊技結果の情報を含む種別コマンドとを、音声ランプ制御装置113に送信するとともに、第1特定ランプ部63における発光色の切り替えを開始させる。これにより、1遊技回が開始された状態となり、第1特定ランプ部63及び図柄表示装置61にて遊技回用の演出が開始される。   In the subsequent step S215, special figure special electric control processing for performing execution control of game times and execution control of the opening / closing execution mode is executed. In the special figure special power control process, when a winning to the operation port 55 occurs in a situation where the number of pieces of holding information stored in the holding ball storage area 213b is less than the upper limit number, a big hit random number counter C1 at that time, A process of storing each piece of numerical information of the big hit type counter C2 and the reach random number counter C3 as holding information in the holding ball storage area 213b in time series is executed. Also, in the special figure special electric control process, whether or not the hold information corresponds to the big win is determined on the condition that the hold information is not stored during the game rotation and the opening / closing execution mode and is stored. If it corresponds to the process and the jackpot winning, a distribution determination process for determining which jackpot result the hold information corresponds to is executed. In addition, in the special figure special power control process, not only the success / failure determination process and the distribution determination process, but if the hold information does not correspond to the big win, whether the hold information corresponds to the occurrence of reach. A reach determination process is performed, and a duration selection process for selecting the duration of the game times using the numerical information of the variation type counter CS at that time is executed. Then, the variation command including the duration information corresponding to the result of each process and the type command including the game result information are transmitted to the sound lamp control device 113 and the first specific lamp unit 63 emits light. Start switching colors. As a result, one game round is started, and an effect for game round is started on the first specific lamp unit 63 and the symbol display device 61.

なお、大当たり当選である場合、及び大当たり非当選であってリーチ判定処理の処理結果がリーチ発生に対応した結果である場合には、変動種別カウンタCSの数値情報を利用して、遊技回の継続時間としてリーチ表示の発生に対応した継続時間が決定されることにより、音声ランプ制御装置113側では変動用コマンドからリーチ表示の種類を特定することが可能となる。   If the jackpot is won, or if the jackpot is not won and the result of the reach determination process is a result corresponding to the occurrence of reach, the game information is continued using the numerical information of the variation type counter CS. By determining the duration corresponding to the occurrence of the reach display as the time, the voice lamp control device 113 can identify the type of reach display from the change command.

また、特図特電制御処理では、1遊技回の実行中にはその遊技回の終了タイミングであるか否かを判定し、終了タイミングである場合には遊技結果に対応した表示を行った状態で、その遊技回を終了させる処理を実行する。この場合、遊技回を終了させるべきことを示す最終停止コマンドを音声ランプ制御装置113に送信する。また、特図特電制御処理では、遊技回の結果が開閉実行モードへの移行に対応した結果である場合には、当該開閉実行モードを開始させるための処理を実行する。この開始に際しては、開閉実行モードが開始されることを示すオープニングコマンドを音声ランプ制御装置113に送信する。また、特図特電制御処理では、各ラウンド遊技を開始させるための処理及び各ラウンド遊技を終了させるための処理を実行する。これら各処理に際して、ラウンド遊技が開始されることを示す開放コマンドを音声ランプ制御装置113に送信するとともに、ラウンド遊技が終了されることを示す閉鎖コマンドを音声ランプ制御装置113に送信する。また、開閉実行モードにおいて、可変入賞装置54を所定期間の間隔で開閉させるために、可変入賞装置54の駆動部を駆動制御する。また、特図特電制御処理では、開閉実行モードを終了させる場合にそのことを示すエンディングコマンドを音声ランプ制御装置113に送信するとともに、開閉実行モード後の当否抽選モードやサポートモードを設定するための処理を実行する。   Also, in the special figure special electric control process, during the execution of one game round, it is determined whether or not it is the end timing of the game round. If it is the end timing, the display corresponding to the game result is performed. Then, the process of ending the game round is executed. In this case, a final stop command indicating that the game round should be ended is transmitted to the sound lamp control device 113. Further, in the special figure special electric control process, when the result of the game times is a result corresponding to the transition to the opening / closing execution mode, a process for starting the opening / closing execution mode is executed. At the start, an opening command indicating that the opening / closing execution mode is started is transmitted to the sound lamp control device 113. In the special figure special electric control process, a process for starting each round game and a process for ending each round game are executed. In each of these processes, an open command indicating that the round game is started is transmitted to the sound lamp control device 113, and a close command indicating that the round game is ended is transmitted to the sound lamp control device 113. Further, in the opening / closing execution mode, the drive unit of the variable winning device 54 is driven and controlled in order to open and close the variable winning device 54 at intervals of a predetermined period. Further, in the special figure special electric control process, when the opening / closing execution mode is ended, an ending command indicating that is transmitted to the sound lamp control device 113, and the success / failure lottery mode and the support mode after the opening / closing execution mode are set. Execute the process.

タイマ割込み処理においてステップS215の特図特電制御処理を実行した後は、ステップS216にて普図普電制御処理を実行する。普図普電制御処理では、スルーゲート56への入賞が発生している場合に電動役物開放カウンタC4の数値情報を取得するための処理を実行するとともに、当該数値情報が記憶されている場合にその数値情報について開放判定を行い、更にその開放判定を契機として普図用の演出を行うための処理を実行する。また、開放判定の結果に基づいて、作動口55の電動役物を開閉させるべく、当該電動役物の駆動部を駆動制御する。   After executing the special figure special electric control process of step S215 in the timer interruption process, the normal figure normal electric control process is executed in step S216. In the ordinary power transmission control process, when winning to the through gate 56 occurs, a process for obtaining numerical information of the electric accessory release counter C4 is executed and the numerical information is stored. Then, the numerical value information is determined to be released, and further, the opening determination is used as a trigger to execute a process for producing a general-purpose effect. Further, based on the result of the open determination, the drive unit of the electric accessory is controlled to be opened and closed to open and close the electric accessory of the operation port 55.

続くステップS217では、直前のステップS215及びステップS216の処理結果に基づいて、第1特定ランプ部63の表示内容を更新させるための出力情報の設定を行うとともに、第2特定ランプ部64の表示内容を更新させるための出力情報の設定を行う。   In the subsequent step S217, the output information for updating the display content of the first specific lamp unit 63 is set based on the processing results of the immediately preceding steps S215 and S216, and the display content of the second specific lamp unit 64 is set. Set the output information to update.

続くステップS218では、遊技回及び開閉実行モードの両方が実行されていない状況において図柄表示装置61の表示内容を待機表示用のものとするためのデモ表示用処理を実行するとともに、ステップS219では、払出制御装置162から受信したコマンド及び信号の内容を確認し、その確認結果に対応した処理を行うための払出状態受信処理を実行する。また、ステップS220では、賞球コマンドを出力対象として設定するための払出出力処理を実行する。   In the subsequent step S218, a demonstration display process is executed to make the display content of the symbol display device 61 for standby display in a situation where both the game times and the opening / closing execution mode are not executed. In step S219, The contents of the command and signal received from the payout control device 162 are confirmed, and a payout state reception process for performing a process corresponding to the confirmation result is executed. In step S220, a payout output process for setting a prize ball command as an output target is executed.

続くステップS221では、今回のタイマ割込み処理にて実行された各種処理の処理結果に応じた外部信号の出力の開始及び終了を制御するように外部情報設定処理を実行する。また、ステップS222では、試射試験情報を編集するための処理を実行する。   In subsequent step S221, external information setting processing is executed so as to control the start and end of output of an external signal in accordance with the processing results of various processing executed in the current timer interrupt processing. In step S222, processing for editing the test test information is executed.

ステップS207にて肯定判定をした場合、又はステップS208〜ステップS222の処理を実行した後は、ステップS223に進む。ステップS223では、割込み終了宣言の設定を実行する。MPU211では、一度タイマ割込み処理が起動された場合、次のタイマ割込み処理が起動されるための条件の1つとして割込み終了宣言の設定を行うことが定められており、ステップS223では、次のタイマ割込み処理の実行を可能とするために割込み終了宣言の設定を行う。また、ステップS224では、割込み許可の設定を行う。MPU211では、タイマ割込み処理が一旦起動されると、割込み禁止の状態に設定されるため、ステップS224では、次のタイマ割込み処理の実行を可能とするために割込み許可の設定を行う。その後、本タイマ割込み処理を終了する。   When an affirmative determination is made in step S207, or after the processing of steps S208 to S222 is executed, the process proceeds to step S223. In step S223, an interrupt end declaration is set. In the MPU 211, once the timer interrupt process is started, it is determined that an interrupt end declaration is set as one of the conditions for starting the next timer interrupt process. In step S223, the next timer interrupt process is set. Set interrupt termination declaration to enable execution of interrupt processing. In step S224, interrupt permission is set. In the MPU 211, once the timer interrupt processing is started, the interrupt is disabled. Therefore, in step S224, interrupt permission is set to enable execution of the next timer interrupt processing. Thereafter, the timer interrupt process is terminated.

<磁気検知に関する処理>
次に、磁気検知に関する各処理について説明する。まず、磁気センサモジュール81のMPU222において実行される処理について説明する。MPU222の処理としては大別して、電源投入に伴い起動される立ち上げ処理と、当該立ち上げ処理の終了後に開始され周期的(例えば20msec毎)に起動される通常処理とがある。
<Processing related to magnetic detection>
Next, each process related to magnetic detection will be described. First, processing executed in the MPU 222 of the magnetic sensor module 81 will be described. The processing of the MPU 222 is roughly divided into a startup process that is started when the power is turned on, and a normal process that is started after the startup process ends and periodically (for example, every 20 msec).

先ず、電源投入に伴い起動される立ち上げ処理について、図11のフローチャートを参照して説明する。   First, the start-up process started when the power is turned on will be described with reference to the flowchart of FIG.

パチンコ機10の電源が投入されると、ステップS301にて各入力端子の読み込み処理を実行する。磁気センサモジュール81の入力端子としては、主制御基板201から出力されるオフセット信号を受信するオフセット端子のほか、検知距離設定端子が設けられている。ステップS301では、主制御基板201から当該検知距離設定端子に入力される信号を基に、磁気センサ221にて磁気を検知する領域をどれくらいの広さに設定するかを決定する。   When the power of the pachinko machine 10 is turned on, read processing of each input terminal is executed in step S301. As an input terminal of the magnetic sensor module 81, a detection distance setting terminal is provided in addition to an offset terminal that receives an offset signal output from the main control board 201. In step S301, based on a signal input from the main control board 201 to the detection distance setting terminal, it is determined how wide the area where the magnetic sensor 221 detects magnetism is set.

ここで、ステップS301にて設定する検知領域の広さと検知感度との関係について図12を参照して説明する。図12(a)は、検知領域を説明するための標準磁石HG(表面磁束430mT)と磁気センサモジュール81との位置関係を説明するための説明図であり、図12(b)は標準磁石HGが図12(a)における位置に配置される場合の磁気センサモジュール81での検知値を示す図である。   Here, the relationship between the width of the detection region set in step S301 and the detection sensitivity will be described with reference to FIG. 12A is an explanatory diagram for explaining the positional relationship between the standard magnet HG (surface magnetic flux 430 mT) for explaining the detection region and the magnetic sensor module 81, and FIG. 12B is a diagram showing the standard magnet HG. FIG. 13 is a diagram showing detected values in the magnetic sensor module 81 when arranged at the position in FIG.

既に説明したとおり、磁気センサモジュール81は、磁気センサ221におけるインピーダンスの変化量を検知値(結束密度)として算出する構成としている。図12(b)に示すように、磁気センサモジュール81にて検知される検知値は、磁気センサモジュール81と標準磁石HGとの距離の二乗に反比例する。また、磁気センサモジュール81は、検知領域の広さを示す感度レベルが複数レベル(本実施形態では、4つのレベル)設定されており、上記ステップS301では、主制御基板201からの信号を基に当該複数レベルの感度レベル1〜4のうち1の感度レベルに設定する。これら複数の感度レベル1〜4は、それぞれ閾値が設定されており、MPU222は当該各閾値よりも低い場合には磁気検知状態としない。そして、各閾値は、感度レベル1が最も低く、感度レベル4が最も高くなるようになっており、感度レベル1、感度レベル2、感度レベル3、感度レベル4の順に閾値が高くなるように設定されている。換言すれば、感度レベル1は最も検知感度が高く、感度レベル4は最も検知感度が低いといえる。   As already described, the magnetic sensor module 81 is configured to calculate the amount of change in impedance in the magnetic sensor 221 as a detected value (binding density). As shown in FIG. 12B, the detection value detected by the magnetic sensor module 81 is inversely proportional to the square of the distance between the magnetic sensor module 81 and the standard magnet HG. In the magnetic sensor module 81, a plurality of sensitivity levels (four levels in the present embodiment) indicating the width of the detection region are set, and in step S301, based on the signal from the main control board 201. The sensitivity level is set to one of the sensitivity levels 1 to 4 of the plurality of levels. A threshold value is set for each of the plurality of sensitivity levels 1 to 4, and the MPU 222 does not enter a magnetic detection state when it is lower than each threshold value. Each threshold value is set so that the sensitivity level 1 is the lowest and the sensitivity level 4 is the highest, and the threshold value increases in the order of sensitivity level 1, sensitivity level 2, sensitivity level 3, and sensitivity level 4. Has been. In other words, it can be said that sensitivity level 1 has the highest detection sensitivity and sensitivity level 4 has the lowest detection sensitivity.

具体的には、標準磁石HGが図12(a)におけるAの位置に配置される場合は、標準磁石HGの磁気によって磁気センサ221のインピーダンスの変化は生じているものの、その変化量は感度レベル1の閾値よりも小さく、いずれの感度レベルに設定されている場合であっても磁気検知状態としない。標準磁石HGがBの位置に配置される場合には、インピーダンスの変化量は感度レベル1の閾値よりは大きく、感度レベル2の閾値よりは小さい。したがって、感度レベル1に設定されている場合には磁気検知状態とし、感度レベル2〜4に設定されている場合には磁気の磁気検知状態としない。標準磁石HGがCの位置に配置される場合には、インピーダンスの変化量は感度レベル2の閾値よりは大きく、感度レベル3の閾値よりは小さい。したがって、感度レベル1〜2に設定されている場合には磁気検知状態とし、感度レベル3〜4に設定されている場合には磁気検知状態とする。標準磁石HGがDの位置に配置される場合には、インピーダンスの変化量は感度レベル3の閾値よりは大きく、感度レベル4の閾値よりは小さい。したがって、感度レベル1〜3に設定されている場合には磁気検知状態とし、感度レベル4に設定されている場合には磁気検知状態とする。そして、標準磁石HGがEの位置に配置される場合には、インピーダンスの変化量はいずれの感度レベル1〜4の閾値よりも大きくなり、いずれの感度レベル1〜4に設定されている場合であっても磁気検知状態とする。   Specifically, when the standard magnet HG is arranged at the position A in FIG. 12A, the impedance of the magnetic sensor 221 is changed by the magnetism of the standard magnet HG, but the amount of change is the sensitivity level. Even if it is smaller than the threshold value of 1 and set to any sensitivity level, the magnetic detection state is not set. When the standard magnet HG is disposed at the position B, the impedance change amount is larger than the sensitivity level 1 threshold and smaller than the sensitivity level 2 threshold. Therefore, when the sensitivity level is set to 1, the magnetic detection state is set, and when the sensitivity level is set to 2 to 4, the magnetic detection state is not set. When the standard magnet HG is disposed at the position C, the amount of change in impedance is larger than the threshold of sensitivity level 2 and smaller than the threshold of sensitivity level 3. Accordingly, when the sensitivity level is set to 1-2, the magnetic detection state is set, and when the sensitivity level is set to 3-4, the magnetic detection state is set. When the standard magnet HG is arranged at the position D, the amount of change in impedance is larger than the threshold of sensitivity level 3 and smaller than the threshold of sensitivity level 4. Therefore, when the sensitivity level is set to 1 to 3, the magnetic detection state is set, and when the sensitivity level 4 is set, the magnetic detection state is set. And when the standard magnet HG is arrange | positioned in the position of E, the variation | change_quantity of an impedance becomes larger than the threshold value of any sensitivity level 1-4, and when it is set to any sensitivity level 1-4. Even if there is a magnetic detection state.

各感度レベル1〜4の閾値について具体的には、表面磁束430mTの標準磁石が磁気センサモジュール81の磁気センサ221から20cm離間させた位置に配置される場合のインピーダンスの変化量が感度レベル1の閾値に相当し、順に感度レベル2では17cm、感度レベル3では15cm、感度レベル4では12cmとなっている。ただし、これら各閾値や感度レベルの数は任意である。   Specifically, with respect to the threshold values of the sensitivity levels 1 to 4, the amount of change in impedance when the standard magnet having the surface magnetic flux of 430 mT is arranged at a position separated from the magnetic sensor 221 of the magnetic sensor module 81 by 20 cm is the sensitivity level 1. This corresponds to a threshold value, which is 17 cm at sensitivity level 2, 15 cm at sensitivity level 3, and 12 cm at sensitivity level 4. However, the number of each of these threshold values and sensitivity levels is arbitrary.

なお、上記各感度レベル1〜4における閾値との関係から、磁気センサモジュール81における磁気の検知とは、インピーダンスの変化量が設定された感度レベルの閾値以上であることを示す。   In addition, from the relationship with the threshold value in each of the sensitivity levels 1 to 4, the magnetism detection in the magnetic sensor module 81 indicates that the amount of change in impedance is equal to or greater than the threshold value of the set sensitivity level.

感度レベルの設定についてより詳細には、内枠13の背面には感度レベル設定スイッチ(図示略)が設けられており、遊技ホールの管理者等は当該感度レベル設定スイッチを操作することによって感度レベルを設定することが可能となっている。感度レベル設定スイッチは、1〜4のメモリにあわせて調節することが可能に構成されており、例えば、感度レベルを1から4に変更する場合には、合わせるメモリを1から4にすることで感度レベルを変更することが可能となっている。なお、感度レベルの変更に関する構成についてはこれに限定されず、例えば、操作の回数によって感度レベルを設定できる構成や、磁気センサモジュール81にスイッチが設けられている構成であってもよい。磁気センサモジュール81にスイッチを設ける構成とすると、主制御装置122が磁気センサモジュール81に感度レベルの設定値を指示する信号(検知感度設定信号)を出力する構成を省略することができる。   More specifically, the sensitivity level setting switch is provided with a sensitivity level setting switch (not shown) on the back surface of the inner frame 13, and the game hall manager or the like operates the sensitivity level setting switch to operate the sensitivity level. Can be set. The sensitivity level setting switch can be adjusted according to the memories 1 to 4. For example, when the sensitivity level is changed from 1 to 4, the memory to be adjusted is changed from 1 to 4. The sensitivity level can be changed. The configuration relating to the change of the sensitivity level is not limited to this, and for example, a configuration in which the sensitivity level can be set by the number of operations, or a configuration in which a switch is provided in the magnetic sensor module 81 may be used. When the magnetic sensor module 81 is provided with a switch, a configuration in which the main controller 122 outputs a signal (detection sensitivity setting signal) instructing the magnetic sensor module 81 to set a sensitivity level can be omitted.

磁気センサモジュール81の立ち上げ処理(図11)の説明に戻り、ステップS301では、主制御基板201からの信号を基に、磁気センサ221の検知領域の広さとして上記の各感度レベル1〜4のうち感度レベル1に設定する。つまり、本パチンコ機10では、磁気センサ221の検知領域の広さを最も広い領域となるように設定している。これにより、磁石による不正行為を広範囲で特定することが可能となる。詳細な説明は省略するが、いずれの感度レベルに設定するかは遊技ホールのホール管理者が変更可能であり、主制御基板201から磁気センサモジュール81の検知距離設定端子に出力される信号の設定を変更することで、上記感度レベルを変更することができる。例えば、高架下等の遊技ホールにおいては、電車の通過により磁場が大きく変化することが想定され、このような場合は、感度レベルを下げることで磁気センサモジュール81の誤検知を抑制できるようになっている。   Returning to the description of the start-up process of the magnetic sensor module 81 (FIG. 11), in step S301, based on the signal from the main control board 201, each of the sensitivity levels 1 to 4 described above as the width of the detection area of the magnetic sensor 221. Among these, sensitivity level 1 is set. That is, in the pachinko machine 10, the size of the detection area of the magnetic sensor 221 is set to be the widest area. Thereby, it becomes possible to specify the illegal act by a magnet in a wide range. Although detailed explanation is omitted, the sensitivity level to be set can be changed by the hall manager of the game hall, and the setting of the signal output from the main control board 201 to the detection distance setting terminal of the magnetic sensor module 81 The sensitivity level can be changed by changing. For example, in a game hall under an overpass or the like, it is assumed that the magnetic field changes greatly due to passage of a train. In such a case, erroneous detection of the magnetic sensor module 81 can be suppressed by lowering the sensitivity level. ing.

ステップS301の処理を実行した後は、ステップS302にて第1オフセット処理を実行する。ここで、第1オフセット処理について図13及び図14を参照して説明する。図13は、磁気センサモジュール81のオフセット処理を説明するための説明図であり、図14は第1オフセット処理を示すフローチャートである。   After executing the process of step S301, the first offset process is executed in step S302. Here, the first offset processing will be described with reference to FIGS. 13 and 14. FIG. 13 is an explanatory diagram for explaining the offset processing of the magnetic sensor module 81, and FIG. 14 is a flowchart showing the first offset processing.

先ず簡単に、オフセット処理の内容について説明する。   First, the contents of the offset process will be briefly described.

オフセット処理は、磁気センサ221が現状検知している磁気の検知値を0値として校正する処理である。具体的には、図13に示すように、感度レベル1〜4のいずれかの感度レベル(x)に設定されている場合において、閾値以上の磁気をTaのタイミングからTbのタイミングまでの所定期間(本実施形態では、300msec)計測し、その積算値を所定期間で割った数値を検知値の0値に更新する処理である。   The offset process is a process of calibrating the detected value of magnetism currently detected by the magnetic sensor 221 as a zero value. Specifically, as shown in FIG. 13, when the sensitivity level (x) is set to any one of the sensitivity levels 1 to 4, a predetermined period from the Ta timing to the Tb timing for the magnetism above the threshold value. (In this embodiment, 300 msec) is a process of measuring, and updating a numerical value obtained by dividing the integrated value by a predetermined period to the 0 value of the detected value.

ちなみにオフセット処理では、MPU222におけるROM223に記憶された所定の基準値以上の磁気が検出された場合と、オフセット処理中に検知値の最高値Hと最低値Lとの幅が所定値以上となった場合と、はエラー処理として検知値にエラー値(マイナス値)を入力する。具体的には、強力な磁気(例えば、標準磁石HGが10cm以内に配置された場合に相当する磁気)が検知された場合と、オフセット処理中に内枠13の開閉が行われた場合等により検知値にぶれが生じた場合(例えば、磁気センサ221から10cm離間させて配置された標準磁石HGが、20cm離間する方向に移動する際に相当する検知値のぶれが生じた場合)、はエラー処理を実行する。   By the way, in the offset process, when the magnetism more than the predetermined reference value stored in the ROM 223 in the MPU 222 is detected, the width between the maximum value H and the minimum value L of the detected value becomes the predetermined value or more during the offset process. In the case, an error value (minus value) is input as a detection value as error processing. Specifically, depending on when strong magnetism (for example, magnetism corresponding to the case where the standard magnet HG is disposed within 10 cm) is detected, or when the inner frame 13 is opened and closed during the offset process, etc. If the detected value fluctuates (for example, if the corresponding detected value fluctuates when the standard magnet HG placed 10 cm away from the magnetic sensor 221 moves in the direction of 20 cm away), an error occurs. Execute the process.

また、図13に示すように、オフセット処理前とオフセット処理後における、感度レベル(x)の閾値Tは変化しない。したがって、オフセット処理を実行することにより感度レベル(x)を再設定する等の処理が必要なく、簡素な処理とすることが可能となっている。   Further, as shown in FIG. 13, the threshold value T of the sensitivity level (x) does not change before and after the offset process. Therefore, processing such as resetting the sensitivity level (x) by executing the offset processing is not necessary, and the processing can be simplified.

さて、磁気センサモジュール81の立ち上げ処理(図11)におけるステップS302の第1オフセット処理について説明すると、先ず、ステップS401では、磁気センサモジュール81の磁気センサ221における現状のインピーダンスから磁気の検知値を算出し、当該検知値を積算する処理を実行する。具体的には、RAM224に設けられた検知値積算エリアに現状の検知値を積算する処理を実行する。当該積算処理に際して、積算する検知値がROM212に記憶された上記所定の基準値以上の値の場合には、積算を行わずエラー処理として検知値にエラー値を入力する。この場合、後述する当該オフセット処理が正常に実行できたか否かを判定する処理(ステップS303)にてエラー判定となる。   Now, the first offset process in step S302 in the startup process (FIG. 11) of the magnetic sensor module 81 will be described. First, in step S401, the magnetism detection value is calculated from the current impedance in the magnetic sensor 221 of the magnetic sensor module 81. A process of calculating and integrating the detected values is executed. Specifically, a process of integrating the current detection value in the detection value integration area provided in the RAM 224 is executed. In the integration process, if the detected value to be integrated is equal to or greater than the predetermined reference value stored in the ROM 212, the error value is input to the detected value as error processing without performing integration. In this case, an error determination is made in a process (step S303) for determining whether or not the offset process described later has been normally executed.

続くステップS402では、第1オフセット処理の終了タイミングか否かを判定する。本パチンコ機10において、第1オフセット処理の終了タイミングは、第1オフセット処理を開始してから300msecが経過したタイミングとなっている。なお、当該タイミングの判定にはソフト乱数が用いられる。ただし、クロック回路等を用いて判定してもよい。   In a succeeding step S402, it is determined whether or not it is the end timing of the first offset process. In the pachinko machine 10, the end timing of the first offset process is a timing when 300 msec has elapsed since the start of the first offset process. A soft random number is used for the determination of the timing. However, the determination may be made using a clock circuit or the like.

ステップS402にて終了タイミングでない場合には、ステップS401に戻り、検知値の積算処理を繰り返す。また、ステップS401の積算処理に際しては、積算する検知値の数値情報として最高値及び最低値がそれぞれ記憶される。そして、記憶されている最高値を超える数値情報又は最低値を下回る数値情報を積算する場合には、当該最高値又は最低値を更新する処理が実行される。   If it is not the end timing in step S402, the process returns to step S401 to repeat the detection value integration process. In addition, in the integration process of step S401, the maximum value and the minimum value are stored as numerical information of the detection values to be integrated. And when integrating the numerical information exceeding the stored maximum value or the numerical information below the minimum value, a process of updating the maximum value or the minimum value is executed.

ステップS402にて肯定判定することで、ステップS403に進む。ステップS403では、上記RAM224の検知値積算エリアの数値情報を平均化する処理を実行する。また、当該平均化処理に際して、上記記憶された最高値と最低値の幅が算出され、当該幅が上記所定値以上となった場合には、平均化処理を行わずエラー処理として、検知値にエラー値が入力される。この場合、後述する当該オフセット処理が正常に実行できたか否かを判定する処理(ステップS303)にてエラー判定となる。   By making an affirmative determination in step S402, the process proceeds to step S403. In step S403, a process of averaging numerical information in the detection value integration area of the RAM 224 is executed. Also, during the averaging process, the width of the stored maximum value and the minimum value is calculated, and when the width exceeds the predetermined value, the averaging process is not performed and the detected value is set as an error process. An error value is entered. In this case, an error determination is made in a process (step S303) for determining whether or not the offset process described later has been normally executed.

続くステップS404では、ステップS403の処理結果をRAM224に設けられた0値情報記憶エリアに上書きする処理を実行し、本第1オフセット処理を終了する。但し、ステップS404では、上記ステップS401又はステップS403の処理にて検知値にエラー値が入力されている場合には上記上書き処理を実行せずに、本第1オフセット処理を終了する。   In the subsequent step S404, a process of overwriting the 0-value information storage area provided in the RAM 224 with the process result of step S403 is executed, and the first offset process is terminated. However, in step S404, if an error value is input as the detection value in the process in step S401 or step S403, the first offset process is terminated without executing the overwriting process.

立ち上げ処理(図11)の説明に戻り、ステップS302にてオフセット処理を実行した後は、続くステップS303にて、ステップS302の第1オフセット処理が正常に実行できたか否かを判定する。この場合、検知値を確認し、ステップS401又はステップS403にてエラー値が入力されているか否かを判定することで、当該オフセット処理の成否結果を判定できる。   Returning to the description of the start-up process (FIG. 11), after the offset process is executed in step S302, it is determined in step S303 whether the first offset process of step S302 has been normally executed. In this case, the success / failure result of the offset process can be determined by checking the detection value and determining whether an error value is input in step S401 or step S403.

ステップS303にて肯定判定した場合には、本立ち上げ処理を終了する。一方、上記ステップS303で、オフセット処理が正常に実行できていないと判定した場合、すなわち、検知値にエラー値が入力されている場合には、ステップS304に進む。ステップS304では、RAM224の初期化処理としてRAM224の各記憶領域をクリアし、続くステップS303にて、検知状態信号をHIレベル信号に設定する。当該検知状態信号は、初期設定としてLOWレベル信号に設定されている。そして、ステップS302に戻り再度第1オフセット処理を実行する。つまり、第1オフセット処理に成功するまでは、本立ち上げ処理は終了せず、後述する通常処理が開始されない。また、立ち上げ処理が終了する際には、検知状態信号は必ずLOWレベル信号となっている。   If a positive determination is made in step S303, the start-up process is terminated. On the other hand, if it is determined in step S303 that the offset process cannot be normally executed, that is, if an error value is input as the detection value, the process proceeds to step S304. In step S304, each storage area of the RAM 224 is cleared as initialization processing of the RAM 224, and in a subsequent step S303, the detection state signal is set to the HI level signal. The detection state signal is set to a LOW level signal as an initial setting. Then, the process returns to step S302 and the first offset process is executed again. That is, until the first offset process is successful, the start-up process does not end and the normal process described later is not started. In addition, when the start-up process ends, the detection state signal is always a LOW level signal.

詳細は後述するが、主制御装置122は検知状態信号を確認することで、第1オフセット処理に成功したか否かを特定することができる。当該第1オフセット処理がエラーであった場合には、音声ランプ制御装置113及び表示制御装置214を通じて所定の報知が行われる。これにより、ホール管理者は磁気センサモジュール81が正常に起動していないことを認識することが可能となり、エラーの原因となった磁石を取り除く等、所定の処置を行うことができる。   Although details will be described later, the main control device 122 can identify whether or not the first offset processing is successful by confirming the detection state signal. If the first offset process is an error, a predetermined notification is given through the sound lamp control device 113 and the display control device 214. As a result, the hall manager can recognize that the magnetic sensor module 81 is not normally activated, and can perform predetermined measures such as removing the magnet that caused the error.

また、ホール管理者によりエラーの原因となった磁石を取り除く等の所定の処置が行われずに再度オフセット処理が正常に実行できなかった場合には、ステップS302→ステップS303→ステップS304→ステップS305→ステップS302をループすることになる。一方、エラーの原因が検知値のぶれ幅が所定値を超えたことによるものである場合には、再度のオフセット処理では立ち上げ処理を終了する側に進む可能性が高く、例えば、エラーとなった場合に電源を再度投入する必要がある構成と比較して、効率よく立ち上げ処理を実行することが可能となっている。   Further, when the offset process cannot be normally executed again without performing a predetermined measure such as removing the magnet causing the error by the hall manager, step S302 → step S303 → step S304 → step S305 → Step S302 is looped. On the other hand, if the cause of the error is that the fluctuation range of the detected value exceeds a predetermined value, the offset process is likely to proceed to the end of the start-up process, for example, an error occurs. In this case, it is possible to execute the start-up process more efficiently than in a configuration where the power needs to be turned on again.

次に、立ち上げ処理の終了後に開始され、周期的に起動される通常処理について、図15のフローチャートを参照して説明する。   Next, the normal process started after the start-up process and started periodically will be described with reference to the flowchart of FIG.

通常処理では、先ずステップS501にて磁気検知処理を実行する。ここで、ステップS501の磁気検知処理について、図16のフローチャートを参照して説明する。   In the normal process, first, a magnetic detection process is executed in step S501. Here, the magnetic detection processing in step S501 will be described with reference to the flowchart in FIG.

磁気検知処理では、まずステップS601にて、磁気を検知しているか否かを判定する。具体的には、インピーダンスの変化量が設定された感度レベルの閾値以上であるか否かを判定する。磁気を検知している場合には、続くステップS602にて、方位フィルタ処理を実行する。かかる処理は、磁気センサ221が検知した磁気の方位を特定し、検知対象とする方位のみを抽出する処理である。より具体的には、3軸の磁気センサ221の検知値を解析し、パチンコ機10の前方から印加された磁気のみを抽出する処理を実行する。続くステップS603では、ステップS602の処理結果、検知した磁気は前方から印加されたものか否かを判定する。前方から印加された磁気である場合には、ステップS604にて、RAM224に設けられた検知カウンタKの数値情報を、1加算するように更新する処理を実行する。検知カウンタKは、前方から印加された磁気を検知した回数を、MPU222が特定するためのカウンタである。続くステップS605では、ステップS604の処理結果、検知カウンタKの数値情報が3であるか否かを判定する。検知カウンタKの数値情報が3である場合、ステップS606にて磁気検知状態として検知状態信号をHIレベル信号に設定し、本磁気検知処理を終了する。これにより主制御装置122のMPU211は、磁気センサモジュール81が磁気検知状態であることを特定することが可能となる。ステップS605にて、検知カウンタKの数値情報が3でない場合には、そのまま本磁気検知処理を終了する。   In the magnetic detection process, first, in step S601, it is determined whether or not magnetism is detected. Specifically, it is determined whether or not the amount of change in impedance is greater than or equal to a set sensitivity level threshold. If magnetism is detected, orientation filter processing is executed in the subsequent step S602. This process is a process for specifying the magnetic direction detected by the magnetic sensor 221 and extracting only the direction to be detected. More specifically, the detection value of the three-axis magnetic sensor 221 is analyzed, and only the magnetism applied from the front of the pachinko machine 10 is extracted. In subsequent step S603, it is determined whether or not the detected magnetism is applied from the front as a result of the process in step S602. If the magnetism is applied from the front, in step S604, a process of updating the numerical information of the detection counter K provided in the RAM 224 so as to add 1 is executed. The detection counter K is a counter for the MPU 222 to specify the number of times the magnetism applied from the front is detected. In a succeeding step S605, it is determined whether or not the numerical value information of the detection counter K is 3 as a result of the process in the step S604. If the numerical information of the detection counter K is 3, the detection state signal is set to the HI level signal as the magnetic detection state in step S606, and the magnetic detection process is terminated. As a result, the MPU 211 of the main control device 122 can specify that the magnetic sensor module 81 is in a magnetic detection state. If the numerical information of the detection counter K is not 3 in step S605, the magnetic detection process is terminated as it is.

ステップS601又はステップS603にて否定判定した場合、ステップS607にて検知カウンタKの数値情報を0に更新する処理を実行する。続くステップS608では磁気検知状態を解除する処理として、検知状態信号をLOWレベル信号に設定し、本磁気検知処理を終了する。これにより主制御装置122のMPU211は、磁気センサモジュール81が磁気検知状態ではないことを特定することが可能となる。   If a negative determination is made in step S601 or step S603, a process of updating the numerical information of the detection counter K to 0 is executed in step S607. In subsequent step S608, as a process for canceling the magnetic detection state, the detection state signal is set to a LOW level signal, and the magnetic detection process is terminated. Thereby, the MPU 211 of the main controller 122 can specify that the magnetic sensor module 81 is not in the magnetic detection state.

つまり磁気検知処理では、3回の処理回にて連続して磁気を検知した場合に磁気検知状態に設定する構成となっている。磁気検知処理が含まれる通常処理は、上記のとおり周期的(20msec毎)に起動されるところ、本構成は、60msec以上連続して磁気が印加された場合、又は磁気検知処理の処理タイミングと3回連続で同期して磁気が印加された場合に磁気検知状態に設定することになる。これに対して、例えば、遊技球発射機構40における発射ソレノイド等が駆動して発せられる磁気は、1駆動回において上記60msecよりも短い。また、当該発射ソレノイド等は、上述の如く0.6sec周期で駆動して遊技球を発射させる構成であるところ、磁気検知処理の処理タイミングと3回連続で同期することはない。一方、遊技球を作動口55等に誘導させ得る不正の磁気は、遊技球の重量や流下スピードを考慮すると60msec以上連続して印加されるものであることが想定される。したがって、各駆動部から発せられた磁気を検知した場合であっても、すぐには磁気検知状態とせず、好適に不正に印加される磁気と区別することが可能となっている。   That is, the magnetic detection process is configured to set the magnetic detection state when magnetism is continuously detected in three processing times. The normal process including the magnetic detection process is started periodically (every 20 msec) as described above. In this configuration, when magnetism is continuously applied for 60 msec or more, or the processing timing of the magnetic detection process and 3 When the magnetism is applied continuously and synchronously, the magnetic detection state is set. On the other hand, for example, the magnetism generated by driving a launching solenoid or the like in the game ball launching mechanism 40 is shorter than 60 msec in one driving cycle. The launch solenoid or the like is configured to fire a game ball by driving at a period of 0.6 sec as described above, but does not synchronize with the processing timing of the magnetic detection process three times in succession. On the other hand, the improper magnetism that can guide the game ball to the operation port 55 or the like is assumed to be continuously applied for 60 msec or more in consideration of the weight of the game ball and the flow speed. Therefore, even when magnetism emitted from each drive unit is detected, the magnetism detection state is not immediately set, and it is possible to distinguish from magnetism that is improperly applied improperly.

通常処理(図14)の説明に戻り、ステップS501にて磁気検知処理を実行した後は、ステップS502にて、オフセット信号の読み込み処理を実行する。具体的には、主制御基板201からのオフセット信号の出力態様がLOWレベル信号である場合にはその情報(例えば「0」)をRAM224に記憶し、HIレベル信号である場合にはその情報(例えば「1」)をRAM224に記憶する処理を実行する。続くステップS503では、ステップS502の処理結果、オフセット信号がLOWレベル信号からHIレベル信号に切り替えが行われたか否かを判定する。具体的には、前回の処理回で記憶された上記オフセット信号の出力態様を示す情報と今回の処理回で記憶された上記オフセット信号の出力態様を示す情報とを比較し、オフセット信号の出力態様がLOWレベル信号からHIレベル信号に変化したか否かを判定する。   Returning to the description of the normal process (FIG. 14), after the magnetic detection process is executed in step S501, an offset signal reading process is executed in step S502. Specifically, when the output mode of the offset signal from the main control board 201 is a LOW level signal, the information (for example, “0”) is stored in the RAM 224, and when it is a HI level signal, the information ( For example, “1”) is stored in the RAM 224. In subsequent step S503, it is determined whether or not the offset signal has been switched from the LOW level signal to the HI level signal as a result of the processing in step S502. Specifically, the information indicating the output mode of the offset signal stored in the previous processing time is compared with the information indicating the output mode of the offset signal stored in the current processing time, and the output mode of the offset signal Is changed from the LOW level signal to the HI level signal.

ステップS503にて肯定判定した場合、ステップS504にてRAM224に設けられたオフセット中フラグに「1」をセットする処理を実行する。当該オフセット中フラグは、MPU222が後述する第2オフセット処理(ステップS507)中であることを特定するためのフラグである。続くステップS505では、RAM224に設けられたセンサ用オフセットカウンタSTを「0」にクリアする処理を実行する。当該センサ用オフセットカウンタSTは、第2オフセット処理の実行期間を計測するためのカウンタである。   When an affirmative determination is made in step S503, a process of setting “1” to an in-offset flag provided in the RAM 224 is executed in step S504. The in-offset flag is a flag for specifying that the MPU 222 is in a second offset process (step S507) described later. In the subsequent step S505, a process of clearing the sensor offset counter ST provided in the RAM 224 to “0” is executed. The sensor offset counter ST is a counter for measuring the execution period of the second offset process.

ステップS503にて否定判定した後、又はステップS505の処理を実行した後は、ステップS506に進む。ステップS506では、上記オフセット中フラグに「1」がセットされているか否かを判定する。オフセット中フラグに「1」がセットされていない場合には、そのまま本通常処理を終了する。オフセット中フラグに「1」がセットされている場合には、ステップS507にて、第2オフセット処理を実行した後に、本通常処理を終了する。   After making a negative determination in step S503, or after executing the process of step S505, the process proceeds to step S506. In step S506, it is determined whether “1” is set in the offset flag. If “1” is not set in the in-offset flag, the normal processing is terminated as it is. If “1” is set in the in-offset flag, the second offset process is executed in step S507, and then the normal process ends.

ここで、ステップS507の第2オフセット処理について、図17のフローチャートを参照して説明する。   Here, the second offset process of step S507 will be described with reference to the flowchart of FIG.

先ず、ステップS701では、第1オフセット処理(図14)におけるステップS401と同様に、現状の磁気の検知値を積算する処理を実行する。続くステップS702では、上記センサ用オフセットカウンタSTに「1」を加算する処理を実行する。   First, in step S701, similarly to step S401 in the first offset process (FIG. 14), a process of integrating the current magnetism detection values is executed. In the subsequent step S702, a process of adding “1” to the sensor offset counter ST is executed.

ステップS702の処理を行った後は、ステップS703にて、ステップS702の処理の結果、センサ用オフセットカウンタSTの数値情報が「15」であるか否かを判定する。センサ用オフセットカウンタSTの数値情報が「15」でない場合には、そのまま本第2オフセット処理を終了する。センサ用オフセットカウンタSTの数値情報が「15」である場合には、ステップS704に進む。   After performing the process of step S702, it is determined in step S703 whether or not the numerical information of the sensor offset counter ST is “15” as a result of the process of step S702. If the numerical information of the sensor offset counter ST is not “15”, the second offset process is terminated as it is. If the numerical information of the sensor offset counter ST is “15”, the process proceeds to step S704.

ステップS704では、第1オフセット処理(図14)におけるステップS403の処理と同様に、オフセット処理中の検知値の平均化処理を実行する。続くステップS705では、オフセット中フラグを「0」にクリアする処理を実行する。そして、ステップS706にて、立ち上げ処理(図11)におけるステップS303の処理と同様に、今回のオフセット処理(第2オフセット処理)に成功したか否かを判定する。第2オフセット処理が成功であった場合には、ステップS707にて、第1オフセット処理におけるステップS404の処理と同様に、0値の上書き処理を実行する。その後、検知状態信号をLOWレベル信号に設定し、本第2オフセット処理を終了する。ステップS706にて否定判定した場合、すなわち第2オフセット処理がエラーであった場合には、ステップS709にて検知状態信号をHIレベル信号に設定し、本第2オフセット処理を終了する。   In step S704, the detection value averaging process during the offset process is executed in the same manner as the process of step S403 in the first offset process (FIG. 14). In a succeeding step S705, a process of clearing the offset flag to “0” is executed. Then, in step S706, it is determined whether or not the current offset process (second offset process) has succeeded, similar to the process in step S303 in the startup process (FIG. 11). If the second offset process is successful, in step S707, a zero value overwrite process is executed in the same manner as in step S404 in the first offset process. Thereafter, the detection state signal is set to a LOW level signal, and the second offset process is terminated. If a negative determination is made in step S706, that is, if the second offset process is an error, the detection state signal is set to the HI level signal in step S709, and the second offset process ends.

すなわち、磁気センサモジュール81は、立ち上げ処理において第1オフセット処理を実行し、通常処理においてオフセット信号の切り替えを条件に第2オフセット処理を実行する構成としている。   That is, the magnetic sensor module 81 is configured to execute the first offset process in the start-up process and execute the second offset process in the normal process on the condition that the offset signal is switched.

立ち上げ処理にて実行する第1オフセット処理は、磁気センサモジュール81の電源投入時、すなわちパチンコ機10の電源投入時に実行する構成としているところ、パチンコ機10の電源は、パチンコ機10が通常駆動する状態で投入されるとは限られない。上記のとおり、パチンコ機10は島設備に並列させて遊技ホールに設置され、島設備の電源を投入することで当該島設備に設置された複数台のパチンコ機10の電源を同時に投入することが可能となっている。この場合、例えば、パチンコ機10の内枠13を閉鎖状態として電源が投入される場合もあれば、パチンコ機10の内部点検等のため、内枠13を開放状態として電源が投入される場合もある。また、島設備の電源を投入することでパチンコ機10の電源を投入する場合に限られず、個々のパチンコ機10を手動で電源投入する場合であっても、上述の如く電源スイッチ156aが内枠13を開放させた状態で操作可能な位置に設けられていることから、当該手動で電源投入する場合は必然的に内枠13が開放状態となっている。   The first offset process executed in the start-up process is executed when the magnetic sensor module 81 is turned on, that is, when the pachinko machine 10 is turned on. The power of the pachinko machine 10 is normally driven by the pachinko machine 10. It is not always the case that it is thrown in. As described above, the pachinko machine 10 is installed in the game hall in parallel with the island equipment, and by turning on the power of the island equipment, it is possible to simultaneously turn on the power of a plurality of pachinko machines 10 installed in the island equipment. It is possible. In this case, for example, the power may be turned on with the inner frame 13 of the pachinko machine 10 closed, or the power may be turned on with the inner frame 13 open for internal inspection of the pachinko machine 10 or the like. is there. Further, the power switch 156a is not limited to the case where the power of the pachinko machine 10 is turned on by turning on the power of the island facility. Since it is provided at a position where it can be operated with 13 open, the inner frame 13 is necessarily open when the power is manually turned on.

ここで磁気センサモジュール81における検知領域とパチンコ機10が島設備に取り付けられる態様との関係について、図18を用いて説明する。図18(a)は、磁気センサモジュール81の検知領域を説明するためのパチンコ機10を上方から見た図であり、図18(b)は、パチンコ機10が島設備に取り付けられる様子について説明するためのホール島設備を上方から見た図である。   Here, the relationship between the detection area in the magnetic sensor module 81 and the mode in which the pachinko machine 10 is attached to the island facility will be described with reference to FIG. FIG. 18A is a view of the pachinko machine 10 for explaining the detection area of the magnetic sensor module 81 as viewed from above, and FIG. 18B illustrates how the pachinko machine 10 is attached to the island facility. It is the figure which looked at the hall island equipment for doing from the upper part.

図18(a)に示すように、磁気センサモジュール81は、磁気センサ221が前方を向くように遊技盤50の背面と当接させて設けられている。   As shown in FIG. 18A, the magnetic sensor module 81 is provided in contact with the back surface of the game board 50 so that the magnetic sensor 221 faces forward.

不正目的で磁気を印加する行為としては、パチンコ機10の前方から印加する行為が想定されるところ、磁気センサモジュール81が検知対象とする領域はこれらパチンコ機10の前方が含まれるように設定されている。これに対して、既に説明したとおり、遊技盤50の後方には主制御装置122、電源及び発射制御装置163、音声ランプ制御装置113、表示制御装置214及び払出制御装置162等といった電気的に制御される各種制御装置や各種駆動部が設けられている(図3参照)。そして、磁気センサモジュール81では、方位フィルタ処理(ステップS602)にて後方に配置される各種制御装置や各種駆動部を検知対象から除外している。したがって、これら各種制御装置や各種駆動部から発生する磁気を検知対象とせず、好適に不正目的で印加される磁気を検知することが可能となっている。   As an act of applying magnetism for an unauthorized purpose, an act of applying magnetism from the front of the pachinko machine 10 is assumed. However, the area to be detected by the magnetic sensor module 81 is set to include the front of the pachinko machine 10. ing. In contrast, as described above, behind the game board 50, the main control device 122, the power and launch control device 163, the sound lamp control device 113, the display control device 214, the payout control device 162, and the like are electrically controlled. Various control devices and various drive units are provided (see FIG. 3). And in the magnetic sensor module 81, the various control apparatuses and various drive parts which are arrange | positioned back are excluded from the detection object by the azimuth | direction filter process (step S602). Therefore, the magnetism generated from these various control devices and various drive units is not targeted for detection, and it is possible to suitably detect the magnetism applied for illegal purposes.

一方、図18(b)に示すように、パチンコ機10は、一般的に遊技ホールにおいて島設備に並列させて設置される。また、既に説明したとおり、磁気センサモジュール81、上記各種制御装置及び各種駆動部が取り付けられた内枠13は、外枠11に対して前方へ回動可能とされている(図2参照)。この場合、並列させたパチンコ機10の内枠13をそれぞれ開放させると、一のパチンコ機10における内枠13の背面が、他のパチンコ機10の内枠13の前方に位置する。上述の如く、内枠13の背面には各種制御装置が取り付けられ、また、磁気センサモジュール81は内枠13の前方を検知対象とする領域としているところ、上記他のパチンコ機10の磁気センサモジュール81の検知対象とする領域内に、上記一のパチンコ機10の各種制御装置及び各種駆動部が含まれることになる。   On the other hand, as shown in FIG. 18B, the pachinko machine 10 is generally installed in parallel with island facilities in a game hall. In addition, as already described, the inner frame 13 to which the magnetic sensor module 81, the various control devices, and the various drive units are attached can be rotated forward with respect to the outer frame 11 (see FIG. 2). In this case, when the inner frames 13 of the pachinko machines 10 arranged in parallel are opened, the back surface of the inner frame 13 in one pachinko machine 10 is positioned in front of the inner frames 13 of the other pachinko machines 10. As described above, various control devices are attached to the back surface of the inner frame 13, and the magnetic sensor module 81 is set as a detection target area in front of the inner frame 13, and the magnetic sensor module of the other pachinko machine 10. The various control devices and various drive units of the one pachinko machine 10 are included in the area to be detected 81.

したがって、内枠13が開放状態となっている場合にパチンコ機10の電源が投入されると、磁気センサモジュール81における電源投入時の第1オフセット処理も、内枠13を開放させた状態で行われることになる。この場合、上記のとおり、磁気センサモジュール81の検知対象とする領域内に、他のパチンコ機10の各種制御装置及び各種駆動部が含まれるため、これら各種制御装置及び各種駆動部から発生する磁気を加味して検知値の基準となる0値の校正が行われることになってしまう。   Accordingly, when the power of the pachinko machine 10 is turned on when the inner frame 13 is in the open state, the first offset processing at the time of turning on the power in the magnetic sensor module 81 is also performed with the inner frame 13 opened. It will be. In this case, as described above, since various control devices and various drive units of the other pachinko machine 10 are included in the detection target area of the magnetic sensor module 81, magnetism generated from these various control devices and various drive units. In consideration of this, calibration of 0 value, which is a reference for the detection value, is performed.

特に、パチンコ機10の電源投入時には、各種制御装置では各種駆動部の初期駆動テストを実行し、当該初期駆動テストによっても磁気は発生する。また、電源投入に伴い各種制御装置へ電圧が印加されていない状態から電圧が印加される状態に変化することで磁場が変化する。内枠13が開放状態となっている場合にパチンコ機10の電源が投入された場合、第1オフセット処理は、これら電源投入に伴う磁気や磁場の変化も加味してしまうことになり、好ましくない。   In particular, when the pachinko machine 10 is powered on, various control devices execute initial drive tests of various drive units, and magnetism is also generated by the initial drive test. Further, the magnetic field changes by changing from a state in which no voltage is applied to the various control devices to a state in which a voltage is applied as the power is turned on. When the power of the pachinko machine 10 is turned on when the inner frame 13 is in an open state, the first offset processing is not preferable because it also takes into account changes in magnetism and magnetic fields accompanying the power on. .

一方、磁気センサモジュール81を電源投入時に第1オフセット処理を実行しない構成とすると、上記の各不具合を解消するためには、電源投入時の各駆動部の初期駆動テストの終了後であって、内枠13が閉鎖状態である場合にオフセット処理を実行する構成とする必要がある。しかしこの場合、内枠13が閉鎖状態であるか否かは、内枠開放スイッチ13aのON状態かOFF状態かという物理的な状態変位により判断する構成としているところ、例えば不正治具を用いて当該内枠開放スイッチ13aをOFF状態に保持する行為が懸念される。更に、磁気センサモジュール81に磁気を印加させつつ当該不正治具が取り外されると、このタイミングでオフセット処理が行われることから、磁気の検知の基準となる0値がプラス側にずれることになる。つまり、磁気が印加されている状態が0値となり、当該状態を磁気検知状態とすることができない。また、感度レベルの閾値もずれることから、更に磁気が印加された場合であっても当該閾値を超えない範囲では磁気検知状態とすることができない。したがって、磁石等を用いて遊技球を誘導する不正行為を好適に抑制できず、当該不正行為を抑制するためには電源投入時にオフセット処理を実行する必要があるといえる。   On the other hand, when the magnetic sensor module 81 is configured not to execute the first offset process when the power is turned on, in order to solve the above problems, after the initial drive test of each drive unit at the time of power-on, When the inner frame 13 is in the closed state, the offset process needs to be executed. However, in this case, whether or not the inner frame 13 is in a closed state is determined by a physical state displacement such as whether the inner frame opening switch 13a is in an ON state or an OFF state. There is concern about the act of holding the inner frame opening switch 13a in the OFF state. Further, when the incorrect jig is removed while applying magnetism to the magnetic sensor module 81, the offset process is performed at this timing, so that the zero value serving as a reference for detecting magnetism is shifted to the plus side. In other words, the state in which magnetism is applied is a zero value, and the state cannot be set as a magnetic detection state. In addition, since the threshold of the sensitivity level is also shifted, even if magnetism is further applied, the magnetic detection state cannot be set in a range not exceeding the threshold. Therefore, it can be said that an illegal act of guiding a game ball using a magnet or the like cannot be suitably suppressed, and it is necessary to execute an offset process when the power is turned on in order to suppress the illegal act.

そこで、本パチンコ機10では、磁気センサモジュール81の電源投入時の立ち上げ処理内で第1オフセット処理を実行する構成としたうえで、主制御装置122が、磁気センサモジュール81に再度オフセット処理(第2オフセット処理)を実行させるべくオフセット信号を所定のタイミングでHIレベル信号に切り替える構成としている。以下、主制御装置122のMPU211がオフセット信号を切り替えるための処理について説明する。   Therefore, in the pachinko machine 10, the first offset process is executed in the startup process when the magnetic sensor module 81 is turned on, and the main controller 122 again performs the offset process ( The offset signal is switched to the HI level signal at a predetermined timing to execute the second offset process. Hereinafter, processing for switching the offset signal by the MPU 211 of the main controller 122 will be described.

まず、パチンコ機10の電源投入時に実行されるメイン処理(図9)におけるセンサ確認処理(ステップS110)について、図19のフローチャートを参照して説明する。   First, the sensor confirmation process (step S110) in the main process (FIG. 9) executed when the pachinko machine 10 is turned on will be described with reference to the flowchart of FIG.

ステップS801では、磁気センサモジュール81の検知距離設定端子に対して検知感度設定信号を送信する。磁気センサモジュール81は、当該信号を受信することにより立ち上げ処理(図11)におけるステップS301にて検知感度を設定する。本信号はLOWレベル信号とHIレベル信号とのパルス信号により構成されており、各検知感度において異なるパルス信号となるように周期が設定されている。ステップS801では、感度レベル1〜4のうちの最も感度が高い感度レベル1を示すパルス信号を送信する。これにより、磁気センサモジュール81の検知範囲が最も広範囲となる。   In step S801, a detection sensitivity setting signal is transmitted to the detection distance setting terminal of the magnetic sensor module 81. The magnetic sensor module 81 sets the detection sensitivity in step S301 in the start-up process (FIG. 11) by receiving the signal. This signal is composed of a pulse signal of a LOW level signal and an HI level signal, and the cycle is set so as to be a different pulse signal for each detection sensitivity. In step S801, a pulse signal indicating sensitivity level 1 having the highest sensitivity among sensitivity levels 1 to 4 is transmitted. Thereby, the detection range of the magnetic sensor module 81 becomes the widest range.

続くステップS802では、所定期間待機する。具体的には、磁気センサモジュール81の立ち上げ処理における第1オフセット処理の1処理回分よりも長く2処理回分よりも短い期間に相当する期間(本実施形態では、400msec)待機する。   In the subsequent step S802, the process waits for a predetermined period. Specifically, it waits for a period (400 msec in this embodiment) corresponding to a period longer than one process of the first offset process in the startup process of the magnetic sensor module 81 and shorter than two processes.

続くステップS803では、磁気センサモジュール81からの検知状態信号がHIレベル信号であるか否かを判定することで、磁気センサモジュール81における最初の第1オフセット処理が成功したか否かを特定する。最初の第1オフセット処理が成功であった場合、ステップS804にてRAM213の各種フラグ格納エリア213cに設けられた起動確認フラグに「1」をセットする処理を実行する。起動確認フラグは、磁気センサモジュール81における第1オフセット処理がエラーとなっていない状態であることをMPU211が特定するためのフラグである。   In subsequent step S803, it is determined whether or not the first first offset process in the magnetic sensor module 81 has succeeded by determining whether or not the detection state signal from the magnetic sensor module 81 is a HI level signal. If the first first offset process is successful, a process of setting “1” to the activation confirmation flag provided in the various flag storage areas 213c of the RAM 213 is executed in step S804. The activation confirmation flag is a flag for the MPU 211 to specify that the first offset process in the magnetic sensor module 81 is not in error.

最初の第1オフセット処理がエラーであった場合(ステップS803:YES)、ステップS805にて、RAM213の各種フラグ格納エリア213cに設けられたエラーフラグに「1」をセットする処理を実行する。エラーフラグは、磁気センサモジュール81における第1オフセット処理又は第2オフセット処理がエラーとなったことをMPU211が特定するためのフラグである。   If the first first offset process is an error (step S803: YES), in step S805, a process of setting “1” to the error flag provided in the various flag storage areas 213c of the RAM 213 is executed. The error flag is a flag for the MPU 211 to specify that the first offset process or the second offset process in the magnetic sensor module 81 has an error.

ステップS804又はステップS805の処理を実行した後は、本センサ確認処理を終了する。   After executing the process of step S804 or step S805, the sensor confirmation process is terminated.

既に説明したとおり、磁気センサモジュール81側の立ち上げ処理(図11)では、第1オフセット処理(ステップS302)が成功しない場合には、再度オフセット処理を実行し、当該オフセット処理が成功するまで当該オフセット処理を繰り返す構成としている。これに対して、主制御装置122側では、上記第1オフセット処理が成功しない場合、すなわち検知状態信号がHIレベル信号である場合も、その後の処理が進行される構成としている。   As already described, in the start-up process on the magnetic sensor module 81 side (FIG. 11), if the first offset process (step S302) is not successful, the offset process is executed again, and the process is continued until the offset process is successful. The offset process is repeated. On the other hand, the main control device 122 is configured such that the subsequent processing proceeds even when the first offset processing is not successful, that is, when the detection state signal is the HI level signal.

例えば、主制御装置122側のメイン処理でも磁気センサモジュール81が正常に起動するまで待機する構成とすると、タイマ割込み処理における発射制御処理(ステップS213)や外部情報設定処理(ステップS221)のように遊技の進行に関する処理が、磁気センサモジュール81が正常に起動するまで実行できない構成となる。この場合、例えば遊技球の試射試験を行う場合等においては、磁気センサモジュール81とは関係のない制御にもかかわらず、磁気センサモジュール81が正常に起動していないと当該試験を行うことができないため、非効率的となる。更に、磁気センサモジュール81の第1オフセット処理がエラーとなった場合に、他の制御装置(音声ランプ制御装置113や表示制御装置214)を制御して、当該エラーとなった情報を報知することが困難となる。そこで本パチンコ機10では、磁気センサモジュール81による最初の第1オフセット処理がエラーであった場合も、主制御装置122側ではその後の処理を進行させる構成とし、上記不具合の発生を抑制している。   For example, assuming that the main sensor 122 waits until the magnetic sensor module 81 starts normally even in the main process on the main controller 122 side, as in the firing control process (step S213) and the external information setting process (step S221) in the timer interrupt process. The process relating to the progress of the game is configured not to be executed until the magnetic sensor module 81 is normally activated. In this case, for example, in the case of performing a test shot test of a game ball, the test cannot be performed unless the magnetic sensor module 81 is normally activated in spite of control not related to the magnetic sensor module 81. Therefore, it becomes inefficient. Further, when an error occurs in the first offset processing of the magnetic sensor module 81, other control devices (the audio lamp control device 113 and the display control device 214) are controlled to notify the information in which the error has occurred. It becomes difficult. Therefore, in this pachinko machine 10, even if the first first offset processing by the magnetic sensor module 81 is an error, the main control device 122 is configured to proceed with the subsequent processing, thereby suppressing the occurrence of the above-described problems. .

ここで、第1オフセット処理及び第2オフセット処理の処理結果は、磁気検知状態か否かを示す検知状態信号を利用して送信される構成としていることから、当該処理結果を送信するために検知状態信号の出力態様を切り替えると、磁気検知状態の情報との混同が懸念される。そこで、以下に説明するように、当該検知状態信号の読み込みに関する処理に特徴ある工夫が施されている。   Here, since the processing results of the first offset processing and the second offset processing are transmitted using a detection state signal indicating whether or not the magnetic detection state is detected, detection is performed in order to transmit the processing results. When the output mode of the state signal is switched, there is a concern about confusion with information on the magnetic detection state. Therefore, as will be described below, a characteristic feature is applied to the processing related to reading of the detection state signal.

磁気センサモジュール81からの検知状態信号は、上記センサ確認処理を終了した後は、タイマ割込み処理(図10)の読み込み処理(ステップS209)にて読み込まれる。ここで、読み込み処理にて実行される検知状態信号読み込み処理について、図20のフローチャートを参照して説明する。   The detection state signal from the magnetic sensor module 81 is read in the reading process (step S209) of the timer interrupt process (FIG. 10) after the sensor confirmation process is completed. Here, the detection state signal reading process executed in the reading process will be described with reference to the flowchart of FIG.

先ずステップS901では、磁気センサモジュール81からの検知状態信号がHIレベル信号であるか否かを判定する。検知状態信号がLOWレベル信号である場合(ステップS901:NO)、ステップS902にて、上記起動確認フラグに「1」がセットされているか否かを判定する。検知状態信号がLOWレベル信号であって、起動確認フラグに「1」がセットされている場合、磁気センサモジュール81は正常に起動しており、いずれのオフセット処理もエラーとなっておらず、且つ磁気検知状態でもないため、そのまま本検知状態信号読み込み処理を終了する。   First, in step S901, it is determined whether or not the detection state signal from the magnetic sensor module 81 is a HI level signal. When the detection state signal is a LOW level signal (step S901: NO), it is determined in step S902 whether or not “1” is set in the activation confirmation flag. If the detection state signal is a LOW level signal and the activation confirmation flag is set to “1”, the magnetic sensor module 81 has been activated normally, and no offset processing has caused an error, and Since it is not in the magnetic detection state, the detection state signal reading process is terminated as it is.

起動確認フラグに「1」がセットされていない場合(ステップS902:NO)、検知状態信号がLOWレベル信号であって、上記センサ確認処理(図19)では起動確認フラグに「1」がセットされていない場合であり、初回の第1オフセット処理はエラーとなったものの、その後の第1オフセット処理に成功したことを意味する。この場合、ステップS903にて起動確認フラグに「1」をセットし、続くステップS904にて起動確認コマンドを音声ランプ制御装置113への送信対象として設定して、本検知状態信号読み込み処理を終了する。当該起動確認コマンドは、タイマ割込み処理(図10)の外部情報設定処理(ステップS221)にて、音声ランプ制御装置113に送信される。また音声ランプ制御装置113は表示制御装置214に起動確認コマンドをそのまま送信する。起動確認コマンドを受信した音声ランプ制御装置113及び表示制御装置214の処理については後述する。   When “1” is not set in the activation confirmation flag (step S902: NO), the detection state signal is a LOW level signal, and “1” is set in the activation confirmation flag in the sensor confirmation process (FIG. 19). This means that the first offset process for the first time has resulted in an error, but the subsequent first offset process has succeeded. In this case, the activation confirmation flag is set to “1” in step S903, the activation confirmation command is set as a transmission target to the audio lamp control device 113 in the subsequent step S904, and the detection state signal reading process is terminated. . The activation confirmation command is transmitted to the sound lamp control device 113 in the external information setting process (step S221) of the timer interrupt process (FIG. 10). In addition, the sound lamp control device 113 transmits the activation confirmation command to the display control device 214 as it is. The processing of the sound lamp control device 113 and the display control device 214 that have received the activation confirmation command will be described later.

ステップS901にて、検知状態信号がHIレベル信号である場合、ステップS905に進む。ステップS905では、起動確認フラグに「1」がセットされているか否かを判定する。検知状態信号がHIレベル信号であって、起動確認フラグに「1」がセットされていない場合、磁気センサモジュール81では第1オフセット処理がエラーとなっている状態を示し、この場合、そのまま本検知状態信号読み込み処理を終了する。   If the detection state signal is a HI level signal in step S901, the process proceeds to step S905. In step S905, it is determined whether or not “1” is set in the activation confirmation flag. When the detection state signal is a HI level signal and “1” is not set in the activation confirmation flag, the magnetic sensor module 81 indicates a state in which the first offset process is in error. The status signal reading process ends.

ステップS905にて、起動確認フラグに「1」がセットされている場合、磁気センサモジュール81では第1オフセット処理に成功しており、通常処理(図15)における磁気検知処理(ステップS501)及び第2オフセット処理(ステップS507)のいずれかで検知状態信号がHIレベル信号に切り替えられたことを意味する。この場合、続くステップS906にて、主制御装置122側からオフセット信号をHIレベル信号で出力しているか否かを判定する。   If “1” is set in the activation confirmation flag in step S905, the magnetic sensor module 81 has succeeded in the first offset processing, and the magnetic detection processing (step S501) and the first processing in the normal processing (FIG. 15). This means that the detection state signal has been switched to the HI level signal in one of the two offset processes (step S507). In this case, in subsequent step S906, it is determined whether or not the offset signal is output as the HI level signal from the main controller 122 side.

かかるオフセット信号の切り替えについての処理は後述するが、主制御装置122の初期設定としてはLOWレベル信号に設定されており、HIレベル信号には、磁気センサモジュール81に対して第2オフセット処理を実行させる際に切り替えられる。オフセット信号をHIレベル信号で出力している場合には、ステップS907にてエラーフラグに「1」をセットする処理を実行し、本検知状態信号読み込み処理を終了する。また、オフセット信号をHIレベル信号で出力していない場合には、ステップS908にてRAM213の各種フラグ格納エリア213cに設けられた再オフセットフラグに「1」が格納されているか否かを判定する。再オフセットフラグは、第2オフセット処理がエラーとなったことを主制御装置122のMPU211が特定してから、再度第2オフセット処理を実行させるまでの状態であることをMPU211が特定するためのフラグである。再オフセットフラグに「1」がセットされている場合、そのまま本検知状態信号読み込み処理を終了する。   Although the processing for switching the offset signal will be described later, the initial setting of the main controller 122 is set to the LOW level signal, and the second offset processing is executed for the magnetic sensor module 81 for the HI level signal. It is switched when making it. If the offset signal is output as a HI level signal, a process of setting “1” to the error flag is executed in step S907, and the detection state signal reading process is terminated. If the offset signal is not output as a HI level signal, it is determined in step S908 whether or not “1” is stored in the re-offset flag provided in the various flag storage areas 213c of the RAM 213. The re-offset flag is a flag for the MPU 211 to specify that the MPU 211 is in a state from when the MPU 211 of the main control device 122 specifies that the second offset process has an error until the second offset process is executed again. It is. If the re-offset flag is set to “1”, the detection state signal reading process is terminated as it is.

ステップS908にて、再オフセットフラグに「1」がセットされていない場合、いずれのオフセット処理もエラーとなっておらず、検知状態信号がHIレベル信号となっていることから、磁気センサモジュール81では磁気検知状態として検知状態信号をHIレベル信号に切り替えたことを意味する。この場合、ステップS909にてRAM213の各種フラグ格納エリア213cに設けられた検知状態フラグに「1」をセットする処理を実行して、本検知状態信号読み込み処理を終了する。当該検知状態フラグは、後述する磁気検知用処理(図22)で参照される。   In step S908, when “1” is not set in the re-offset flag, no error occurs in any offset processing, and the detection state signal is the HI level signal. It means that the detection state signal is switched to the HI level signal as the magnetic detection state. In this case, in step S909, a process of setting “1” to the detection state flag provided in the various flag storage areas 213c of the RAM 213 is executed, and the detection state signal reading process ends. The detection state flag is referred to in a magnetic detection process (FIG. 22) described later.

次に、所定周期で実行されるタイマ割込み処理(図10)におけるセンサ補正処理(ステップS202)について、図21のフローチャートを参照して説明する。   Next, the sensor correction process (step S202) in the timer interrupt process (FIG. 10) executed at a predetermined cycle will be described with reference to the flowchart of FIG.

センサ補正処理では、まずステップS1001にて、オフセット信号をHIレベル信号で出力しているか否かを判定する。オフセット信号をLOWレベル信号で出力している場合、続くステップS1002にて、起動確認フラグに「1」がセットされているか否かを判定する。起動確認フラグに「1」がセットされていない場合、磁気センサモジュール81では第1オフセット処理がエラーとなっている状態を示し、この場合、ステップS1003にて、エラーフラグに「1」がセットされているか否かを判定する。エラーフラグに「1」がセットされている場合、続くステップS1004にて、エラーフラグを「0」にクリアする処理を実行し、ステップS1005にて第1エラーコマンドを音声ランプ制御装置113への送信対象として設定して、本センサ補正処理を終了する。   In the sensor correction process, first, in step S1001, it is determined whether an offset signal is output as a HI level signal. If the offset signal is output as a LOW level signal, it is determined in subsequent step S1002 whether or not the activation confirmation flag is set to “1”. When “1” is not set in the activation confirmation flag, the magnetic sensor module 81 indicates that the first offset process is in error. In this case, “1” is set in the error flag in step S1003. It is determined whether or not. If “1” is set in the error flag, a process of clearing the error flag to “0” is executed in the subsequent step S1004, and the first error command is transmitted to the sound lamp control device 113 in step S1005. This is set as a target, and this sensor correction process is terminated.

当該第1エラーコマンドは、タイマ割込み処理(図10)の外部情報設定処理(ステップS221)にて、音声ランプ制御装置113に送信される。第1エラーコマンドを受信した音声ランプ制御装置113は、エラーランプ部24及びスピーカ部26を制御して、第1オフセット処理が正常に行われなかったことを教示する第1エラー報知を実行する。また表示制御装置214に第1エラーコマンドをそのまま送信する。表示制御装置214では、図柄表示装置61を制御して第1エラー報知として第1オフセット処理が正常に行われなかったことを教示する内容を表示させる。これにより、遊技ホールの管理者は、磁気センサモジュール81において立ち上げ処理の第1オフセット処理が正常に行われず磁気センサモジュール81が正常に起動していないことを認識することができる。当該第1エラー報知は、音声ランプ制御装置113及び表示制御装置214において、上述した起動確認コマンドを受信するまで実行される。そして、起動確認コマンドを受信することで、エラーランプ部24、スピーカ部26及び図柄表示装置61にて、当該エラーが解除されたことを教示するための報知が行われる。また、当該第1エラー報知が繰り返し実行される場合、すなわち所定の措置を行っても、第1オフセット処理がエラーとなる場合には、パチンコ機10の電源を再度入れなおす必要がある。   The first error command is transmitted to the sound lamp control device 113 in the external information setting process (step S221) of the timer interrupt process (FIG. 10). The audio lamp control device 113 that has received the first error command controls the error lamp unit 24 and the speaker unit 26 to execute a first error notification that teaches that the first offset process has not been performed normally. Further, the first error command is transmitted to the display control device 214 as it is. The display control device 214 controls the symbol display device 61 to display the content indicating that the first offset processing has not been normally performed as the first error notification. Thereby, the manager of the game hall can recognize that the first offset process of the start-up process is not normally performed in the magnetic sensor module 81 and the magnetic sensor module 81 is not normally activated. The first error notification is executed in the sound lamp control device 113 and the display control device 214 until the above-described activation confirmation command is received. Then, by receiving the activation confirmation command, the error lamp unit 24, the speaker unit 26, and the symbol display device 61 make a notification for teaching that the error has been canceled. In addition, when the first error notification is repeatedly executed, that is, when the first offset process results in an error even if a predetermined measure is taken, the pachinko machine 10 needs to be turned on again.

つまり、磁気センサモジュール81の第1オフセット処理がエラーとなった場合に第1エラー報知が開始され、その後第1オフセット処理に成功した場合に第1エラー報知が終了する。また、ステップS1004にてエラーフラグをクリアすることから、一度第1エラーコマンドを送信した後は、再び第1エラーコマンドを送信することはなく、既に第1エラー報知が開始されているのに繰り返し第1エラーコマンドを送信してしまう不都合を抑制している。   That is, the first error notification is started when the first offset processing of the magnetic sensor module 81 results in an error, and the first error notification is ended when the first offset processing is succeeded thereafter. In addition, since the error flag is cleared in step S1004, after the first error command is transmitted once, the first error command is not transmitted again, and the first error notification is already started. The inconvenience of transmitting the first error command is suppressed.

ステップS1002にて起動確認フラグに「1」がセットされ磁気センサモジュール81の第1オフセット処理がエラーとなっていない場合、又はステップS1003にてエラーフラグに「1」がセットされておらず上記第1オフセット処理がエラーとなってもその後の第1オフセット処理で成功している場合、はステップS1006に進む。ステップS1006では、RAM213の各種フラグ格納エリア213cに設けられた調整済みフラグに「1」がセットされているか否かを判定する。調整済みフラグは、磁気センサモジュール81に第2オフセット処理を実行させたことMPU211が特定するためのフラグである。調整済みフラグに「1」がセットされている場合には、そのまま本センサ補正処理を終了する。調整済みフラグに「1」がセットされていない場合には、ステップS1007にて内枠開放信号を確認し、内枠13が開放状態であるか否かを判定する。開放状態である場合には、そのまま本センサ補正処理を終了する。   If “1” is set in the activation confirmation flag in step S1002 and the first offset process of the magnetic sensor module 81 is not an error, or “1” is not set in the error flag in step S1003 and the first If one offset process results in an error but succeeds in the subsequent first offset process, the process proceeds to step S1006. In step S1006, it is determined whether or not “1” is set in the adjusted flag provided in the various flag storage areas 213c of the RAM 213. The adjusted flag is a flag for the MPU 211 to specify that the magnetic sensor module 81 has executed the second offset process. If “1” is set in the adjusted flag, the present sensor correction process is terminated. If “1” is not set in the adjusted flag, an inner frame release signal is confirmed in step S1007 to determine whether or not the inner frame 13 is in an open state. If the sensor is in the open state, the present sensor correction process is terminated.

ステップS1007にて内枠13が閉鎖状態であると判定した場合、ステップS1008にてRAM213の各種カウンタエリア213dに設けられたオフセットカウンタOTに「100」をセットする処理を実行する。当該オフセットカウンタOTは、磁気センサモジュール81が第2オフセット処理中であることをMPU211が特定するためのカウンタであり、タイマ割込み処理(図10)が1処理回実行される度にステップS211のタイマ更新処理にて1減算処理されるカウンタである。ステップS1008にて入力した数値情報は400msecに相当し、磁気センサモジュール81がオフセット処理に要する期間(300msec)よりも長く設定されている。   If it is determined in step S1007 that the inner frame 13 is in the closed state, a process of setting “100” to the offset counter OT provided in the various counter areas 213d of the RAM 213 is executed in step S1008. The offset counter OT is a counter for the MPU 211 to specify that the magnetic sensor module 81 is in the second offset process, and the timer in step S211 is executed every time the timer interrupt process (FIG. 10) is executed once. This is a counter that is subtracted by 1 in the update process. The numerical information input in step S1008 corresponds to 400 msec, and is set longer than the period (300 msec) required for the magnetic sensor module 81 for the offset process.

続くステップS1009では、調整済みフラグに「1」をセットする処理を実行する。これにより、第2オフセット処理を実行させたことをMPU211が特定することが可能となる。続くステップS1010では、再オフセットフラグを確認し、「1」がセットされている場合には「0」にクリアし、セットされていない場合にはその状態を維持する処理を実行する。そして、ステップS1011にてオフセット信号をHIレベル信号に設定し、本センサ補正処理を終了する。既に説明したとおり、磁気センサモジュール81側では、オフセット信号の切り替え(LOW→HI)を特定することで、第2オフセット処理を開始する。   In a succeeding step S1009, a process of setting “1” in the adjusted flag is executed. As a result, the MPU 211 can specify that the second offset process has been executed. In subsequent step S1010, the re-offset flag is confirmed. If “1” is set, it is cleared to “0”, and if it is not set, processing for maintaining the state is executed. In step S1011, the offset signal is set to the HI level signal, and this sensor correction process is terminated. As already described, the second offset process is started on the magnetic sensor module 81 side by specifying the offset signal switching (LOW → HI).

ステップS1001にて、オフセット信号をHIレベル信号で出力中の場合、ステップS1012に進む。ステップS1012では、オフセットカウンタOTの数値情報が「0」であるか否かを判定する。「0」でない場合には、そのまま本センサ補正処理を終了する。   In step S1001, when the offset signal is being output as the HI level signal, the process proceeds to step S1012. In step S1012, it is determined whether or not the numerical information of the offset counter OT is “0”. If it is not “0”, the sensor correction process is terminated as it is.

オフセットカウンタOTの数値情報が「0」である場合、ステップS1013にてエラーフラグに「1」がセットされているか否かを判定する。エラーフラグに「1」がセットされている場合、ステップS1014にて、当該エラーフラグを「0」にクリアするとともに、ステップS1015にて調整済みフラグを「0」にクリアする処理を実行する。そして、ステップS1016にて、再オフセットフラグに「1」をセットする処理を実行し、続くステップS1017にて、第2エラーコマンドを音声ランプ制御装置113への送信対象として設定する。当該第2エラーコマンドは、タイマ割込み処理(図10)の外部情報設定処理(ステップS221)にて、音声ランプ制御装置113に送信される。第2エラーコマンドを受信した音声ランプ制御装置113は、エラーランプ部24及びスピーカ部26を制御して、第2オフセット処理が正常に行われなかったことを教示する第2エラー報知を実行する。また表示制御装置214に第2エラーコマンドをそのまま送信する。表示制御装置214では、図柄表示装置61を制御して第2エラー報知として第2オフセット処理が正常に行われなかったことを教示する内容を表示させる。これにより、遊技ホールの管理者は、第2オフセット処理が正常に行われなかったことを認識することができる。当該第2エラー報知は、エラーランプ部24、スピーカ部26及び図柄表示装置61において所定期間継続されて実行される。つまり、当該所定期間の経過後は、再び第2エラーコマンドを送信しない限り第2エラー報知は実行されない。また、当該第2エラー報知が繰り返し実行される場合、すなわち所定の措置を行っても、第2オフセット処理がエラーとなる場合には、パチンコ機10の電源を再度入れなおす必要がある。   If the numerical information of the offset counter OT is “0”, it is determined whether or not “1” is set in the error flag in step S1013. If “1” is set in the error flag, the error flag is cleared to “0” in step S1014, and the adjusted flag is cleared to “0” in step S1015. Then, in step S1016, processing for setting the re-offset flag to “1” is executed, and in the subsequent step S1017, the second error command is set as a transmission target to the sound lamp control device 113. The second error command is transmitted to the sound lamp control device 113 in the external information setting process (step S221) of the timer interrupt process (FIG. 10). The audio lamp control device 113 that has received the second error command controls the error lamp unit 24 and the speaker unit 26 to execute a second error notification that teaches that the second offset process has not been performed normally. Further, the second error command is transmitted to the display control device 214 as it is. The display control device 214 controls the symbol display device 61 to display a content indicating that the second offset process has not been normally performed as a second error notification. Thereby, the manager of the game hall can recognize that the second offset process has not been performed normally. The second error notification is continuously executed for a predetermined period in the error lamp unit 24, the speaker unit 26, and the symbol display device 61. That is, after the predetermined period has elapsed, the second error notification is not executed unless the second error command is transmitted again. Further, if the second error notification is repeatedly executed, that is, if the second offset process results in an error even if a predetermined measure is taken, the pachinko machine 10 needs to be turned on again.

ここで、上記第1エラーコマンドを受信したことに基づく第1エラー報知と、第2エラーコマンドを受信したことに基づく第2エラー報知と、では、エラーランプ部24及びスピーカ部26の制御態様及び図柄表示装置61の表示内容の少なくともいずれかが異なるように設定されている。具体的には、第1エラー報知よりも第2エラー報知のほうが、よりホール管理者の注意を引くように派手な報知内容となっている。   Here, in the first error notification based on the reception of the first error command and the second error notification based on the reception of the second error command, the control mode of the error lamp unit 24 and the speaker unit 26 and At least one of the display contents of the symbol display device 61 is set to be different. Specifically, the second error notification is more flashy notification content to attract more attention from the hall manager than the first error notification.

これは、第1エラー報知及び第2エラー報知のいずれもが、磁気センサモジュール81の各オフセット処理がエラーとなったことを報知するものであるものの、第1エラー報知は、磁気センサモジュール81の立ち上げ処理内で自動的に行われる第1オフセット処理(ステップS302)に対応するものであり、第2エラー報知は、主制御装置122からの指示により行われる第2オフセット処理(ステップS404)に対応するものであり、オフセット処理の契機となる条件が異なることによるものである。   Although both of the first error notification and the second error notification notify that each offset process of the magnetic sensor module 81 has an error, the first error notification indicates that the magnetic sensor module 81 This corresponds to the first offset process (step S302) automatically performed in the start-up process, and the second error notification is sent to the second offset process (step S404) performed in accordance with an instruction from the main controller 122. This is due to the fact that the conditions that trigger the offset process are different.

第1オフセット処理は、例えば内枠13を開放させた状態で電源投入がなされた場合、隣接する他のパチンコ機10から発生する磁気や磁場の変化を加味される関係上、当該第1オフセット処理がエラーとなることは通常にも起り得る。これに対して主制御装置122からの指示による第2オフセット処理は、内枠13が閉鎖された状態で実行されるものであることから上記隣接するパチンコ機10は関係なくなり、当該第2オフセット処理がエラーとなった場合は、例えば、前方から強力な磁気が印加された場合等、不正行為に基づくエラーである可能性が高い。特に、第2オフセット処理は、電源投入時に実行される上記第1オフセット処理が成功したことが一の開始条件となっていることから、上記前方から印加された強力な磁気は、電源投入時には印加されていなかったものといえ、上記不正行為の可能性はより高くなる。したがって、第1エラー報知よりも第2エラー報知を派手に行うことで、上記不正行為が行われた場合であってもホール管理者が早急に対処できるようになっている。   For example, when the power is turned on with the inner frame 13 opened, the first offset process is performed in consideration of the change in magnetism or magnetic field generated from another adjacent pachinko machine 10. It is normal for an error to occur. On the other hand, the second offset process in accordance with the instruction from the main control device 122 is executed with the inner frame 13 closed, so the adjacent pachinko machine 10 is irrelevant, and the second offset process is performed. Is an error based on fraud, such as when strong magnetism is applied from the front. In particular, since the second offset process has one starting condition that the first offset process executed at the time of power-on is successful, the strong magnetism applied from the front is applied at the time of power-on. Although it was not done, the possibility of the above fraud is higher. Therefore, by performing the second error notification rather than the first error notification, the hall manager can quickly cope with the case where the illegal act is performed.

なお、これらエラー報知を行う場合、外部端子板143を介してホールコンピュータにエラー情報を出力する構成としてもよい。   In addition, when performing these error alerting | reporting, it is good also as a structure which outputs error information to a hall computer via the external terminal board 143. FIG.

センサ補正処理(図21)の説明に戻り、ステップS1013にてエラーフラグに「1」がセットされていない場合、又はステップS1017の処理を実行した後は、ステップS1018にて、オフセット信号をLOWレベル信号に設定し、本センサ補正処理を終了する。   Returning to the description of the sensor correction process (FIG. 21), if the error flag is not set to “1” in step S1013, or after executing the process of step S1017, the offset signal is set to the LOW level in step S1018. The signal is set and the sensor correction process is terminated.

したがって、パチンコ機10では、電源投入時に磁気センサモジュール81は自身の立ち上げ処理(図11)にて第1オフセット処理を実行し、その後、内枠13が閉鎖状態であることを一の条件に主制御装置122からの指示で第2オフセット処理を実行する構成としている。これにより、内枠13が開放された状態で電源投入がなされた場合であっても、内枠13が閉鎖された状態で再度オフセット処理が実行され、好適に不正目的で印加される磁気を検出することが可能となっている。   Therefore, in the pachinko machine 10, when the power is turned on, the magnetic sensor module 81 executes the first offset process in its own startup process (FIG. 11), and then the inner frame 13 is in a closed state as one condition. The second offset process is executed in accordance with an instruction from the main controller 122. As a result, even when the power is turned on with the inner frame 13 opened, the offset process is executed again with the inner frame 13 closed, and the magnetism applied for improper purposes is preferably detected. It is possible to do.

また、磁気センサモジュール81に対して第2オフセット処理を実行させる場合には、調整済みフラグに「1」をセットする。そして、当該第2オフセット処理がエラーとなった場合には、調整済みフラグをクリアする。したがって、第2オフセット処理が成功となった後は、内枠13が開閉されてもオフセット処理を実行させない。仮に、内枠13の開閉作業の度にオフセット処理を実行させる構成とすると、オフセット処理に伴う磁気センサ221の劣化を招くばかりでなく、ホール営業中においてもオフセット処理が行われることになるため、ホール管理者の目を盗んでオフセット処理中に磁気を印加する不正行為が懸念される。これに対して、本構成によれば、これらの不都合を解消することが可能となる。   When the magnetic sensor module 81 is to execute the second offset process, “1” is set to the adjusted flag. If the second offset process results in an error, the adjusted flag is cleared. Therefore, after the second offset process is successful, the offset process is not executed even if the inner frame 13 is opened and closed. If the offset process is executed every time the inner frame 13 is opened / closed, the magnetic sensor 221 is not only deteriorated due to the offset process, but also the offset process is performed during the hall operation. There is concern about fraudulent acts of stealing the eyes of the hall manager and applying magnetism during offset processing. On the other hand, according to the present configuration, it is possible to eliminate these disadvantages.

上記のように、磁気センサモジュール81がオフセット処理を複数回に亘って実行する構成とする場合、これらオフセット処理の成否結果に基づいて主制御装置122側で所定の処理(音声ランプ制御装置113及び表示制御装置214に各エラー報知を実行させる処理)を実行するためには、各オフセット処理の終了タイミング、及び当該オフセット処理の処理結果をそれぞれ特定する必要がある。そこで、本実施形態では、磁気検知状態であることを示す検知状態信号に加えて主制御装置122から送信するオフセット信号を利用して、終了タイミングの情報と処理結果の情報とをそれぞれ特定するが可能な構成となっている。   As described above, when the magnetic sensor module 81 is configured to execute the offset processing a plurality of times, predetermined processing (the audio lamp control device 113 and the sound lamp control device 113 and the like) is performed on the main control device 122 side based on the success / failure result of the offset processing. In order to execute the process of causing the display control device 214 to execute each error notification, it is necessary to specify the end timing of each offset process and the processing result of the offset process. Therefore, in the present embodiment, the end timing information and the processing result information are specified by using the offset signal transmitted from the main controller 122 in addition to the detection state signal indicating the magnetic detection state. It has a possible configuration.

次に、検知状態信号読み込み処理(図20)において、検知状態フラグに「1」がセットされた場合における、主制御装置122のMPU211の処理について、図22を参照して説明する。図22は、タイマ割込み処理(図10)における不正検知処理(ステップS212)にて実行される磁気検知用処理を示すフローチャートである。なお、不正検知処理においては、磁気検知用処理の他、入賞検知センサ54aに遊技球の入賞を誤検知させようとする行為を検知する不正入賞用処理や、電波を用いて遊技球の入賞を不正に発生させようとする行為を検知する電波検知用処理が含まれている。   Next, the processing of the MPU 211 of the main controller 122 when the detection state flag is set to “1” in the detection state signal reading processing (FIG. 20) will be described with reference to FIG. FIG. 22 is a flowchart showing the magnetic detection process executed in the fraud detection process (step S212) in the timer interrupt process (FIG. 10). In the fraud detection process, in addition to the magnetic detection process, the illegal detection process for detecting an act of erroneously detecting the winning of the game ball by the winning detection sensor 54a or the winning of the game ball using radio waves is performed. It includes radio wave detection processing that detects actions that are attempted to occur fraudulently.

磁気検知用処理では、まずステップS1101にて、検知状態フラグに「1」がセットされているか否かを確認することで、磁気センサモジュール81が磁気検知状態となっているか否かを特定する。磁気センサモジュール81が磁気検知状態でない場合は、ステップS1102にて、RAM213の各種カウンタエリア213dに設けられた磁気検知用カウンタを「0」にクリアして、本磁気検知用処理を終了する。磁気検知用カウンタは、磁気センサモジュール81が磁気検知状態となったことをMPU211が特定した回数を示すカウンタである。   In the magnetic detection process, first, in step S1101, it is determined whether or not the magnetic sensor module 81 is in a magnetic detection state by confirming whether or not “1” is set in the detection state flag. If the magnetic sensor module 81 is not in the magnetic detection state, the magnetic detection counter provided in the various counter areas 213d of the RAM 213 is cleared to “0” in step S1102, and the magnetic detection process is terminated. The magnetic detection counter is a counter that indicates the number of times the MPU 211 has specified that the magnetic sensor module 81 has entered the magnetic detection state.

磁気センサモジュール81が磁気検知状態である場合には、続くステップS1003にて、上記磁気検知用カウンタを1加算する処理を実行する。続くステップS1004では、その加算後の数値情報が「2」であるか否かを判定する。つまり、磁気センサモジュール81が磁気検知状態となったことを主制御装置122側のMPU211でも複数回に亘って確認したか否かを判定する。磁気検知カウンタの数値情報が「2」でない場合には、そのまま本磁気検知用処理を終了する。   If the magnetic sensor module 81 is in the magnetic detection state, in the subsequent step S1003, a process of adding 1 to the magnetic detection counter is executed. In a succeeding step S1004, it is determined whether or not the numerical information after the addition is “2”. That is, it is determined whether or not the MPU 211 on the main controller 122 side confirms that the magnetic sensor module 81 is in a magnetic detection state a plurality of times. If the numerical information of the magnetism detection counter is not “2”, the magnetism detection process is terminated as it is.

ステップS1004にて肯定判定をした場合には、ステップS1005にて、磁気検知コマンドを音声ランプ制御装置113への送信対象に設定する。磁気検知コマンドは、磁気を印加する不正行為の発生をMPU211にて特定したことをサブ側の制御装置である音声ランプ制御装置113に認識させるためのコマンドである。当該磁気検知コマンドは、タイマ割込み処理(図10)における外部情報設定処理(ステップS221)にて音声ランプ制御装置113に送信される。   If an affirmative determination is made in step S1004, the magnetic detection command is set as a transmission target to the audio lamp control device 113 in step S1005. The magnetic detection command is a command for causing the audio lamp control device 113, which is the sub-side control device, to recognize that the MPU 211 has identified the occurrence of an illegal act of applying magnetism. The magnetic detection command is transmitted to the sound lamp control device 113 in the external information setting process (step S221) in the timer interrupt process (FIG. 10).

磁気検知コマンドを受信した音声ランプ制御装置113は、磁気を印加する不正行為の特定に対応した報知を、エラーランプ部24及びスピーカ部26を通じて実行する。また、磁気検知コマンドの受信に対応した報知系のコマンドを表示制御装置214に送信する。表示制御装置214は、磁石を用いた不正行為の特定に対応した報知を、図柄表示装置61を通じて実行する。これにより、ホール管理者は当該不正行為を特定することが可能となる。   The voice lamp control device 113 that has received the magnetism detection command performs notification through the error lamp unit 24 and the speaker unit 26 in response to the specification of the fraud that applies magnetism. In addition, a notification-type command corresponding to reception of the magnetic detection command is transmitted to the display control device 214. The display control device 214 performs notification corresponding to the identification of fraud using a magnet through the symbol display device 61. As a result, the hall manager can specify the fraud.

ステップS1105の処理を実行した後は、ステップS1106に進む。ステップS1106では、磁気を印加する不正行為の発生を特定したことを遊技ホールの管理コンピュータに認識させるために異常用の外部出力開始処理を実行する。なお、外部端子板143に対する出力設定は、タイマ割込み処理(図10)の外部情報設定処理(ステップS221)にて実行される。ステップS1106の処理を実行した後は、本磁気検知用処理を終了する。   After executing the process of step S1105, the process proceeds to step S1106. In step S1106, an abnormal external output start process is executed in order for the gaming hall management computer to recognize that the occurrence of an illegal act of applying magnetism has been identified. The output setting for the external terminal board 143 is executed in the external information setting process (step S221) of the timer interrupt process (FIG. 10). After executing the process of step S1106, the magnetic detection process is terminated.

したがって、本パチンコ機10では磁気センサモジュール81側で複数回に亘って磁気の確認処理を実行する構成に加えて、主制御装置122側でも複数回に亘って確認処理を実行する構成としており、磁気の誤検知を抑制可能となっている。   Therefore, in this pachinko machine 10, in addition to the configuration in which the magnetic sensor module 81 performs the magnetic confirmation process a plurality of times, the main controller 122 also performs the confirmation process a plurality of times. Magnetic false detection can be suppressed.

次に、磁気センサモジュール81がオフセット処理を実行するタイミングについて図23を参照して説明する。図23は、磁気センサモジュール81のオフセット処理の実行タイミングを、パチンコ機10の電源と内枠13の状態との関係から説明するためのタイミングチャートであり、図23(a)は、内枠13の開閉状態を示し、図23(b)はパチンコ機10の電源の状態を示し、図23(c)は磁気センサモジュール81がオフセット処理を実行する様子を示し、図23(d)はRAM213の起動確認フラグを示し、図23(e)はRAM213のエラーフラグを示し、図23(f)はRAM213の調整済みフラグを示し、図23(g)はRAM213の再オフセットフラグを示し、図23(h)は主制御装置122からのオフセット信号の状態を示し、図23(i)は磁気センサモジュール81からの検知状態信号の状態を示している。   Next, the timing at which the magnetic sensor module 81 executes the offset process will be described with reference to FIG. FIG. 23 is a timing chart for explaining the execution timing of the offset process of the magnetic sensor module 81 from the relationship between the power supply of the pachinko machine 10 and the state of the inner frame 13. 23 (b) shows the power supply state of the pachinko machine 10, FIG. 23 (c) shows how the magnetic sensor module 81 performs the offset process, and FIG. 23 (d) shows the RAM 213. FIG. 23 (e) shows the error flag of the RAM 213, FIG. 23 (f) shows the adjusted flag of the RAM 213, FIG. 23 (g) shows the re-offset flag of the RAM 213, and FIG. h) shows the state of the offset signal from the main controller 122, and FIG. 23 (i) shows the state of the detection state signal from the magnetic sensor module 81.

まず、磁気センサモジュール81における第1オフセット処理と、主制御装置122からの指示に基づく第2オフセット処理と、がいずれも正常に実行できた場合について説明する。   First, a case will be described in which both the first offset process in the magnetic sensor module 81 and the second offset process based on an instruction from the main controller 122 have been successfully executed.

t1のタイミングでパチンコ機10の電源が投入されると、図23(c)に示すように、磁気センサモジュール81では、立ち上げ処理(図11)により第1オフセット処理が実行される。既に説明したとおり、当該第1オフセット処理は主制御装置122側からの指示により実行されるものではなく、磁気センサモジュール81自身の処理により自動的に実行される。したがって、図23(h)に示すように、主制御装置122が出力するオフセット信号はLOWレベル信号のままである。   When the power of the pachinko machine 10 is turned on at the timing t1, in the magnetic sensor module 81, as shown in FIG. 23C, the first offset process is executed by the startup process (FIG. 11). As already described, the first offset process is not executed by an instruction from the main controller 122 but is automatically executed by the process of the magnetic sensor module 81 itself. Therefore, as shown in FIG. 23 (h), the offset signal output from the main controller 122 remains the LOW level signal.

t2のタイミングで上記第1オフセット処理が終了し、当該第1オフセット処理が成功であった場合(ステップS303:YES)、主制御装置122側においては、当該検知状態信号がLOWレベル信号であることを確認して、図23(d)に示すように、起動確認フラグに「1」がセットされる(ステップS804)。磁気センサモジュール81側においては、上記オフセット処理に成功したことにより、立ち上げ処理(図11)を終了し、通常処理(図15)が開始されて磁気検知処理(ステップS501)等を実行することが可能となる。ただし、t1のタイミングで実行された第1オフセット処理は、内枠13が開放された状態で実行されているため、隣接して設けられた他のパチンコ機10から発生する磁気や磁場の変化を加味した調整となっている可能性が高い。   When the first offset process is completed at the timing t2 and the first offset process is successful (step S303: YES), on the main controller 122 side, the detection state signal is a LOW level signal. Then, as shown in FIG. 23 (d), “1” is set in the activation confirmation flag (step S804). On the magnetic sensor module 81 side, the start-up process (FIG. 11) is terminated and the normal process (FIG. 15) is started and the magnetic detection process (step S501) and the like are executed due to the success of the offset process. Is possible. However, since the first offset process executed at the timing of t1 is executed with the inner frame 13 opened, the change in magnetism or magnetic field generated from another pachinko machine 10 provided adjacent to the first frame is detected. There is a high possibility that the adjustment has been taken into account.

そこで、t3のタイミングで、内枠13が閉鎖されると、主制御装置122側においては、図23(h)に示すように、オフセット信号がLOWレベル信号からHIレベル信号に切り替えられる。またこの場合、図23(f)に示すように、調整済みフラグに「1」がセットされる。オフセット信号がLOWレベル信号からHIレベル信号に切り替わったことにより(ステップS503:YES)、磁気センサモジュール81においては、図21(c)に示すように、第2オフセット処理が実行される(ステップS507)。   Therefore, when the inner frame 13 is closed at the timing t3, on the main controller 122 side, the offset signal is switched from the LOW level signal to the HI level signal as shown in FIG. In this case, as shown in FIG. 23F, “1” is set in the adjusted flag. When the offset signal is switched from the LOW level signal to the HI level signal (step S503: YES), the magnetic sensor module 81 executes the second offset process as shown in FIG. 21C (step S507). ).

t4のタイミングで第2オフセット処理が終了し、当該第2オフセット処理が成功(ステップS706:YES)であった場合、磁気センサモジュール81側においては、検知状態信号がLOWレベル信号に設定される(ステップS708)。主制御装置122側においては、既にタイマ割込み処理(図10)が周期的に実行されており、t5のタイミングでオフセットカウンタOTの数値情報が「0」であることで、第2オフセット処理が終了したことを特定することが可能となる。この場合、図23(e)に示すようにエラーフラグは「0」のままであることから、調整済みフラグはクリアされず、オフセット信号がLOWレベル信号に切り替えられる。また、図23(g)に示すように、再オフセットフラグも「0」のままである。   When the second offset process ends at the timing t4 and the second offset process is successful (step S706: YES), the detection state signal is set to the LOW level signal on the magnetic sensor module 81 side ( Step S708). On the main controller 122 side, the timer interrupt process (FIG. 10) has already been executed periodically, and the second offset process is completed when the numerical information of the offset counter OT is “0” at the timing t5. It becomes possible to specify what has been done. In this case, since the error flag remains “0” as shown in FIG. 23E, the adjusted flag is not cleared and the offset signal is switched to the LOW level signal. Further, as shown in FIG. 23G, the re-offset flag remains “0”.

その後、t6のタイミングで内枠13が開放され、t7のタイミングで閉鎖されても、既に調整済みフラグに「1」がセットされていることから、再度のオフセット信号の切り替えは行われず、磁気センサモジュール81はオフセット処理を実行しない。   Thereafter, even if the inner frame 13 is opened at the timing of t6 and closed at the timing of t7, since the adjusted flag is already set to “1”, the offset signal is not switched again, and the magnetic sensor Module 81 does not perform offset processing.

そして、t8のタイミングで、磁気が印加された場合には、図23(i)に示すように、磁気センサモジュール81側では検知状態信号がHIレベル信号に切り替えられ、主制御装置122側では、起動確認フラグに「1」がセットされていること(ステップS905:YES)、オフセット信号をLOWレベル信号で出力していること(ステップS906)、及び再セットフラグに「1」がセットされていないこと(ステップS908:NO)を条件に、検知状態フラグに「1」がセットされ、磁気検知用処理(図22)にて磁気センサモジュール81が磁気検知状態となった場合の処理が実行される。   When magnetism is applied at the timing of t8, as shown in FIG. 23 (i), the detection state signal is switched to the HI level signal on the magnetic sensor module 81 side, and on the main controller 122 side, The start confirmation flag is set to “1” (step S905: YES), the offset signal is output as a LOW level signal (step S906), and the reset flag is not set to “1”. (Step S908: NO), the detection state flag is set to “1”, and the processing when the magnetic sensor module 81 is in the magnetic detection state in the magnetic detection processing (FIG. 22) is executed. .

次に、磁気センサモジュール81の立ち上げ処理における第1オフセット処理がエラーとなった場合について説明する。   Next, a case where the first offset process in the startup process of the magnetic sensor module 81 results in an error will be described.

t9のタイミングでパチンコ機10の電源が投入されると、上記と同様に磁気センサモジュール81では第1オフセット処理が開始される。例えば、当該オフセット処理において、強力な磁気が検知された場合、t10のタイミングで当該第1オフセット処理が終了すると、図23(i)に示すように、検知状態信号がHIレベル信号に切り替えられる。この場合、主制御装置122側では、センサ確認処理(図19)においてエラーフラグに「1」がセットされる(ステップS805)。主制御装置122では、センサ確認処理(図17)及びメイン処理(図9)を終了することができ、タイマ割り込み処理(10)が開始され、他の制御が実行可能となる。そして、起動確認フラグに「1」がセットされておらず、エラーフラグに「1」がセットされていることにより、t11のタイミングで実行されるタイマ割込み処理のセンサ補正処理(図19)にて、第1エラーコマンドが設定され(ステップS1005)、音声ランプ制御装置113及び表示制御装置214による第1エラー報知が実行される。これにより、ホール管理者は、当該エラーを認識することが可能となり、エラーの原因となった上記強力な磁気を取り除く等の措置をとることが可能となる。また、第1エラーコマンドの設定に際して、エラーフラグは「0」にクリアされる。したがって、一のエラーに対して第1エラーコマンドが複数送信されることはない。   When the power of the pachinko machine 10 is turned on at the timing t9, the first offset processing is started in the magnetic sensor module 81 as described above. For example, when strong magnetism is detected in the offset processing, when the first offset processing ends at the timing of t10, the detection state signal is switched to the HI level signal as shown in FIG. In this case, on the main controller 122 side, “1” is set in the error flag in the sensor confirmation process (FIG. 19) (step S805). In the main controller 122, the sensor confirmation process (FIG. 17) and the main process (FIG. 9) can be ended, the timer interrupt process (10) is started, and other control can be executed. Then, since “1” is not set in the activation confirmation flag and “1” is set in the error flag, in the sensor correction process (FIG. 19) of the timer interrupt process executed at the timing of t11. The first error command is set (step S1005), and the first error notification is executed by the sound lamp control device 113 and the display control device 214. As a result, the hall manager can recognize the error, and can take measures such as removing the strong magnetism that caused the error. Further, when setting the first error command, the error flag is cleared to “0”. Therefore, a plurality of first error commands are not transmitted for one error.

t9のタイミングで開始した第1オフセット処理がエラーであったため、磁気センサモジュール81では、立ち上げ処理(図11)において第1オフセット処理がt12のタイミングで再度開始される。今回の第1オフセット処理も、磁気センサモジュール81が主制御装置122からの指示によらず実行するため、主制御装置122から出力されるオフセット信号はLOW信号のままである。なお、図では理解の容易のためt10のタイミングの第1オフセット処理の終了タイミングとt12のタイミングの第1オフセット処理の開始タイミングを分けて記載しているが、実際にはt10のタイミングで第1オフセット処理がエラーとなると連続して再度の第1オフセット処理が開始される。   Since the first offset process started at the timing t9 is an error, in the magnetic sensor module 81, the first offset process is started again at the timing t12 in the start-up process (FIG. 11). Since the magnetic sensor module 81 also executes the first offset processing this time regardless of an instruction from the main controller 122, the offset signal output from the main controller 122 remains the LOW signal. In the figure, the end timing of the first offset process at the timing of t10 and the start timing of the first offset process at the timing of t12 are shown separately for easy understanding. However, in actuality, the first offset process is illustrated at the timing of t10. When the offset process becomes an error, the first offset process is started again continuously.

当該第1オフセット処理中であるt13のタイミングで、例えば内枠13が閉鎖(図23(a)参照)されたとすると、磁気センサモジュール81における検知値のぶれ幅が大きくなり、当該オフセット処理は再びエラーとなる。したがって、t14のタイミングで当該オフセット処理が終了しても検知状態信号はHIレベル信号のままである。主制御装置122側では、検知状態信号がHIレベル信号であっても、起動確認フラグに「1」がセットされていないため、エラーフラグは「0」のままであり、検知状態フラグも「0」のままである。   If, for example, the inner frame 13 is closed (see FIG. 23A) at the timing of t13 during the first offset process, the fluctuation width of the detected value in the magnetic sensor module 81 becomes large, and the offset process is performed again. An error occurs. Therefore, even if the offset process ends at the timing t14, the detection state signal remains the HI level signal. On the main controller 122 side, even if the detection state signal is an HI level signal, “1” is not set in the activation confirmation flag, so the error flag remains “0” and the detection state flag is also “0”. "".

t12のタイミングで開始した第1オフセット処理が再びエラーであったため、更にt15のタイミングで第1オフセット処理が開始される。この場合も、主制御装置122から出力されるオフセット信号はLOW信号のままである。なお、上記同様に、図では理解の容易のためt14のタイミングの第1オフセット処理の終了タイミングとt15のタイミングの第1オフセット処理の開始タイミングを分けて記載している。   Since the first offset process started at the timing t12 is an error again, the first offset process is further started at the timing t15. Also in this case, the offset signal output from the main controller 122 remains the LOW signal. Similarly to the above, in the drawing, the end timing of the first offset process at the timing t14 and the start timing of the first offset process at the timing t15 are shown separately for easy understanding.

t16のタイミングで、上記第1オフセット処理が終了し、当該第1オフセット処理が成功であった場合、磁気センサモジュール81からの検知状態信号は、LOWレベル信号に切り替えられる。この場合、主制御装置122側では、起動確認フラグに「1」がセットされる。   When the first offset process ends at the timing of t16 and the first offset process is successful, the detection state signal from the magnetic sensor module 81 is switched to the LOW level signal. In this case, “1” is set to the activation confirmation flag on the main control device 122 side.

そして、t17のタイミングで実行されるセンサ補正処理にて、調整済みフラグに「1」がセットされるとともに、オフセット信号がLOWレベル信号からHIレベル信号に切り替えられる。その結果、磁気センサモジュール81側では、上記オフセット信号の切り替えが行われたことにより、第2オフセット処理が実行される。   In the sensor correction process executed at the timing of t17, “1” is set to the adjusted flag, and the offset signal is switched from the LOW level signal to the HI level signal. As a result, the second offset process is executed on the magnetic sensor module 81 side by switching the offset signal.

t18のタイミングで第2オフセット処理が終了し、当該第2オフセット処理が成功であった場合、既に説明したとおり、主制御装置122側では、t19のタイミングで、オフセットカウンタOTの数値情報が「0」となることにより当該第2オフセット処理が終了したことを特定することができ、エラーフラグが「0」であることにより第2オフセット処理の処理結果を特定することができ、オフセット信号がLOWレベル信号に切り替えられる。   When the second offset process is completed at the timing t18 and the second offset process is successful, the numerical information of the offset counter OT is “0” at the timing t19 on the main controller 122 side as described above. ", It can be determined that the second offset processing has been completed, and the error flag is" 0 ", the processing result of the second offset processing can be specified, and the offset signal is at the LOW level. Switch to signal.

次に、主制御装置122側からの指示に基づく第2オフセット処理がエラーとなった場合について説明する。なお以下の説明では、パチンコ機10の電源が既にONとなっており、主制御装置122側ではタイマ割込み処理が開始され、磁気センサモジュール81側では通常処理が開始されている状況から説明する。   Next, a case where the second offset process based on an instruction from the main control device 122 has an error will be described. In the following description, a description will be given from a situation in which the power of the pachinko machine 10 is already ON, timer interrupt processing is started on the main controller 122 side, and normal processing is started on the magnetic sensor module 81 side.

t20のタイミングで、内枠13が閉鎖されると、主制御装置122からのオフセット信号がLOWレベル信号からHIレベル信号に切り替えられる。そして、当該オフセット信号の切り替えに基づいて、磁気センサモジュール81側では第2オフセット処理が開始される。   When the inner frame 13 is closed at the timing t20, the offset signal from the main controller 122 is switched from the LOW level signal to the HI level signal. Then, based on the switching of the offset signal, the second offset process is started on the magnetic sensor module 81 side.

例えば、当該オフセット処理において、強力な磁気を印加する不正行為が行われた場合、t21のタイミングで当該オフセット処理が終了すると検知状態信号がHIレベル信号に切り替えられる。この場合、検知状態信号がHIレベル信号であり(ステップS901:YES)、起動確認フラグに「1」がセットされており(ステップS905:YES)、オフセット信号をHIレベル信号で出力中である(ステップS906:YES)であることから、エラーフラグに「1」がセットされる(ステップS907)。   For example, when an improper act of applying strong magnetism is performed in the offset process, the detection state signal is switched to the HI level signal when the offset process ends at the timing t21. In this case, the detection state signal is the HI level signal (step S901: YES), the activation confirmation flag is set to “1” (step S905: YES), and the offset signal is being output as the HI level signal ( Step S906: YES), “1” is set in the error flag (Step S907).

オフセットカウンタOTの数値情報が「0」となるt22のタイミングで実行されるセンサ補正処理では、エラーフラグ及び調整済みフラグがクリア(ステップS1014、ステップS1015)され、図23(g)に示すように、再オフセットフラグに「1」がセットされる(ステップS1016)。さらに、第2エラーコマンドが設定され(ステップS1017)、音声ランプ制御装置113及び表示制御装置214による第2エラー報知が実行される。これにより、ホール管理者は、上記不正行為を認識することが可能となり、不正行為に対する適切な措置をとることが可能となる。そして、オフセット信号がLOWレベル信号に切り替えられる。   In the sensor correction process executed at the timing t22 when the numerical information of the offset counter OT becomes “0”, the error flag and the adjusted flag are cleared (step S1014, step S1015), as shown in FIG. The re-offset flag is set to “1” (step S1016). Further, the second error command is set (step S1017), and the second error notification is executed by the sound lamp control device 113 and the display control device 214. As a result, the hall manager can recognize the fraud and can take appropriate measures against the fraud. Then, the offset signal is switched to the LOW level signal.

次のセンサ補正処理の処理回であるt23のタイミングで、調整済みフラグに「1」がセットされるとともに、再オフセットフラグがクリアされる。そして、オフセット信号がLOWレベル信号からHIレベル信号に切り替えられる。その結果、磁気センサモジュール81では再度第2オフセット処理が開始される。t24のタイミングで当該第2オフセット処理が終了し、当該第2オフセット処理が成功であった場合、磁気センサモジュール81からの検知状態信号はLOWレベル信号に切り替えられる。そして、t25のタイミングでオフセットカウンタOTの数値情報が「0」となることで、主制御装置122からのオフセット信号はLOWレベル信号に切り替えられる。   At the timing t23, which is the next sensor correction process, “1” is set in the adjusted flag, and the re-offset flag is cleared. Then, the offset signal is switched from the LOW level signal to the HI level signal. As a result, the magnetic sensor module 81 starts the second offset process again. When the second offset process ends at the timing t24 and the second offset process is successful, the detection state signal from the magnetic sensor module 81 is switched to the LOW level signal. Then, when the numerical information of the offset counter OT becomes “0” at the timing of t25, the offset signal from the main controller 122 is switched to the LOW level signal.

以上詳述した本実施形態によれば、以下の優れた効果を奏する。   According to the embodiment described in detail above, the following excellent effects are obtained.

磁気センサモジュール81は、電源投入後、主制御装置122側の初期駆動が終了した後のタイミングで、内枠13が閉鎖状態であることを契機に第2オフセット処理を実行する構成とした。これにより、パチンコ機10の電源投入時に生じる磁場の変化や、電源投入に伴う各制御装置の初期駆動テストにより発生する磁気を加味しない検知値で、その後の周辺の磁気を検知することが可能となる。   The magnetic sensor module 81 is configured to execute the second offset process when the inner frame 13 is in a closed state at a timing after the initial drive on the main controller 122 side is completed after the power is turned on. As a result, it is possible to detect the surrounding magnetism with a detection value that does not take into account the change in the magnetic field that occurs when the pachinko machine 10 is turned on, or the magnetism generated by the initial drive test of each control device accompanying the power on. Become.

一般的にパチンコ機10は、ホール島設備に対して並列させて設置され、設置された複数のパチンコ機10をいずれも内枠13を開放させた状態とすると、一のパチンコ機10おける内枠13の前方に、他のパチンコ機10の内枠13の背面が配置されることになる。すなわち、内枠13を開放させた状態でオフセット処理を実行すると、一のパチンコ機10の磁気センサモジュール81は、他のパチンコ機10の内枠13に設けられた各制御装置から発生する磁気も加味して検知値の校正を行ってしまうことになる。これらの磁気は、パチンコ機10が通常駆動する状態においては検知し得ない磁気である。したがって、内枠13が閉鎖状態であることを第2オフセット処理の実行条件とすることで、これらの通常検知し得ない磁気を加味せずに検知値の校正を行うことが可能となる。   In general, the pachinko machine 10 is installed in parallel with the Hall Island facility, and when the plurality of installed pachinko machines 10 are in a state in which the inner frame 13 is opened, the inner frame in one pachinko machine 10 is provided. The back surface of the inner frame 13 of the other pachinko machine 10 is arranged in front of 13. That is, when the offset process is executed with the inner frame 13 opened, the magnetic sensor module 81 of one pachinko machine 10 also generates magnetism generated from each control device provided in the inner frame 13 of the other pachinko machine 10. In consideration of this, the detected value will be calibrated. These magnetisms cannot be detected when the pachinko machine 10 is normally driven. Therefore, by making the execution condition of the second offset process that the inner frame 13 is in the closed state, it is possible to calibrate the detection value without taking into account the magnetism that cannot be normally detected.

ここで、上記のように電源投入後であって内枠13が閉鎖状態である状況にてオフセット処理を実行する構成において、当該状況にのみオフセット処理を実行する構成とすることも可能である。このような構成のほうが磁気センサモジュール81の構成の簡素化という観点からすると好ましくも思える。しかし当該構成とすると、例えば、内枠開放スイッチ13aに対して不正治具を取り付け主制御装置122に内枠13が開放状態と判断させ、磁気センサモジュール81にオフセット処理を行わせないようにする不正行為が懸念される。上述の電源投入時に発生する磁気や他のパチンコ機10からの磁気と比較して、不正に印加される磁気は遊技球を開口部へ誘導し得る磁気であることから強力な磁気といえる。そこで、本実施形態では、電源投入時に仮の校正値を算出すべく自動的にオフセット処理を実行する構成とすることで、上記のような優れた効果を奏しつつも、オフセット処理を実行させない不正行為を抑制することが可能となる。   Here, in the configuration in which the offset process is executed in a situation where the inner frame 13 is in the closed state after the power is turned on as described above, a configuration in which the offset process is executed only in the situation may be adopted. Such a configuration seems to be preferable from the viewpoint of simplifying the configuration of the magnetic sensor module 81. However, with this configuration, for example, a fraudulent jig is attached to the inner frame opening switch 13a so that the main control device 122 determines that the inner frame 13 is in an open state and prevents the magnetic sensor module 81 from performing an offset process. There is concern about cheating. Compared with the magnetism generated when the power is turned on and the magnetism from other pachinko machines 10, the improperly applied magnetism can be said to be strong magnetism because it is a magnetism that can guide the game ball to the opening. Therefore, in this embodiment, the configuration is such that the offset process is automatically executed to calculate a temporary calibration value when the power is turned on. It becomes possible to suppress the act.

磁気センサモジュール81は、磁気が前方から印加された場合に、磁気検知状態とする構成とした。具体的には、磁気検知処理(図15)にて印加される磁気の方位を特定する方位フィルタ処理(ステップS502)を実行し、磁気センサ221に対して前方から印加される磁気のみを抽出して検知対象とする構成とした。磁気センサモジュール81は遊技盤50に設けられており、不正に印加される磁気は遊技盤50の前方から印加されることが想定される一方で、遊技盤50の背面には各種駆動部や各種制御装置が設けられている。したがって、これら各種駆動部や各種制御装置に基づく磁気を検知対象とせずに不正に印加される磁気のみ検知対象とすることが可能となる。   The magnetic sensor module 81 is configured to be in a magnetic detection state when magnetism is applied from the front. Specifically, the direction filter process (step S502) for specifying the direction of the magnetism applied in the magnetism detection process (FIG. 15) is executed, and only the magnetism applied from the front to the magnetic sensor 221 is extracted. To be detected. The magnetic sensor module 81 is provided in the game board 50, and the improperly applied magnetism is assumed to be applied from the front of the game board 50. On the back of the game board 50, various drive units and various kinds are provided. A control device is provided. Therefore, it is possible to set only the magnetism applied illegally without setting the magnetism based on these various drive units and various control devices as the detection target.

磁気センサモジュール81は、周期的(20msec)に磁気検知処理を実行し、複数所理回(3回)に亘って磁気を検知した場合に磁気検知状態とする構成とした。パチンコ機10の各種駆動部にて発生する磁気は、当該磁気検知処理の周期よりも短い期間で収束することが想定されるため、仮に磁気検知処理の一処理回にて検知されても、次の処理回では検知されない。更に、各種駆動部のうちの遊技球発射機構40は発射ソレノイドや球送り装置が周期的に駆動状態となることで遊技球が発射される構成としているところ、上記磁気検知処理の周期は発射ソレノイドや球送り装置の周期よりも短く、その周期が複数回に亘って同期することはない。これにより、これら発射ソレノイドや球送り装置により発生する磁気を検知対象とせずに不正に印加される磁気のみを検知対象とすることが可能となる。   The magnetic sensor module 81 is configured to execute a magnetic detection process periodically (20 msec) and to enter a magnetic detection state when magnetism is detected over a plurality of times (three times). Since it is assumed that the magnetism generated in the various drive units of the pachinko machine 10 converges in a period shorter than the period of the magnetism detection process, even if it is detected in one process of the magnetism detection process, It is not detected in the processing times. Furthermore, the game ball launching mechanism 40 of the various drive units is configured such that a game ball is launched by periodically launching a launch solenoid or a ball feeder, and the period of the magnetic detection process is the launch solenoid. Or shorter than the cycle of the ball feeder, and the cycle does not synchronize a plurality of times. Thereby, it becomes possible to make only the magnetism improperly applied to the detection object without making the magnetism generated by these launching solenoids and the ball feeding device the detection object.

磁気センサモジュール81で実行する第2オフセット処理の処理結果を、主制御装置122側へ検知状態信号を用いて送信する構成とした。上記のように、第2オフセット処理を主制御装置122側の初期駆動後に実行する場合、主制御装置122が通常駆動状態、すなわちタイマ割込み処理が開始されている状態で、第2オフセット処理が行われることになる。つまり、当該第2オフセット処理の処理結果に基づいて所定の処理(第2エラー報知)を実行するためには、タイマ割込み処理内で当該処理結果を受信する必要がある。一方で、送受信の端子や接続ラインの数が極端に増加することは好ましくない。したがって、上記処理結果の情報と、磁気検知状態の情報と、を同じ信号で出力する構成とすることで、構成の簡素化を図りつつ、処理結果に基づく所定の処理を実行することが可能となる。   The processing result of the second offset processing executed by the magnetic sensor module 81 is configured to be transmitted to the main control device 122 side using the detection state signal. As described above, when the second offset process is executed after the initial drive on the main controller 122 side, the second offset process is performed while the main controller 122 is in the normal drive state, that is, the timer interrupt process is started. It will be. That is, in order to execute a predetermined process (second error notification) based on the process result of the second offset process, it is necessary to receive the process result within the timer interrupt process. On the other hand, it is not preferable that the number of transmission / reception terminals and connection lines increase extremely. Therefore, by adopting a configuration in which the processing result information and the magnetic detection state information are output as the same signal, it is possible to execute a predetermined process based on the processing result while simplifying the configuration. Become.

この場合、主制御装置122側で、上記処理結果の情報と、磁気検知状態の情報と、の混同が懸念される。そこで、本実施形態では、磁気センサモジュール81に対して第2オフセット処理を実行させるために用いるオフセット信号の出力態様の情報から、上記処理結果の情報と、磁気検知状態の情報と、を区別することが可能となっている。したがって、上記各効果を奏するために用いた出力信号(オフセット信号)を、上記処理結果の情報と磁気検知状態の情報とを区別するために用いることで、構成の簡素化を図りつつ上記懸念される混同を抑制している。   In this case, there is a concern about the confusion between the processing result information and the magnetic detection state information on the main controller 122 side. Therefore, in the present embodiment, the information on the processing result and the information on the magnetic detection state are distinguished from the information on the output mode of the offset signal used for causing the magnetic sensor module 81 to execute the second offset processing. It is possible. Therefore, the use of the output signal (offset signal) used to achieve each of the effects described above is used to distinguish the information on the processing result from the information on the magnetic detection state. Confusion.

各オフセット処理は所定期間に亘って実行される構成であり、当該期間において所定の基準値を超える磁気が検知された場合には各オフセット処理はエラーとなり対応するエラー報知を実行する構成とした。各オフセット処理は磁気センサモジュール81周辺の磁気を0値として校正する処理であるのに対して、不正に印加される磁気は例えば遊技球を誘導する程度の磁気強度であることが想定され、各オフセット処理中に不正に磁気が印加された場合には当該オフセット処理がエラーとなる可能性が高い。そして、当該オフセット処理がエラーとなると上記のようにエラー報知が実行される。したがって、各オフセット処理を実行している期間においても実質的に不正に印加される磁気を監視している状態といえ、不正に印加される磁気を好適に検知することが可能となっている。   Each offset process is configured to be executed over a predetermined period, and when magnetism exceeding a predetermined reference value is detected in the period, each offset process becomes an error and a corresponding error notification is executed. Each offset process is a process of calibrating the magnetism around the magnetic sensor module 81 as 0 value, whereas the improperly applied magnetism is assumed to have a magnetic intensity that induces a game ball, for example. If magnetism is improperly applied during the offset process, there is a high possibility that the offset process will cause an error. When the offset process results in an error, error notification is executed as described above. Therefore, even in a period in which each offset process is executed, it can be said that the magnetism applied improperly is monitored, and the improperly applied magnetism can be suitably detected.

磁気センサモジュール81は、内枠13が閉鎖状態である状況にて第2オフセット処理を実行した後、その後内枠13の開閉作業が行われても第2オフセット処理を実行しない構成とした。上記のように各オフセット処理中も不正に印加される磁気を監視している状態であるとはいえ、正規の磁気検知処理(図16)が行われている期間ではない。したがって、オフセット処理の処理回数を減らし、磁気検知処理を実行している期間を長くして、不正に印加される磁気を好適に検知することを可能としている。   The magnetic sensor module 81 has a configuration in which, after the second offset process is performed in a state where the inner frame 13 is in the closed state, the second offset process is not performed even if the opening / closing operation of the inner frame 13 is performed thereafter. Although it is in the state where the improperly applied magnetism is monitored during each offset process as described above, it is not a period during which the regular magnetism detection process (FIG. 16) is performed. Therefore, the number of offset processes can be reduced, and the period during which the magnetism detection process is executed can be lengthened to appropriately detect improperly applied magnetism.

磁気センサ221とMPU222とからなり、磁気センサ221の検知情報に基づいてMPU222が各処理を実行する構成とした。したがって、磁気検知センサの検知情報に基づいて主制御装置122が各処理を実行する構成と比較して、主制御装置122の処理負荷を低減することが可能となる。   The MPU 222 includes a magnetic sensor 221 and an MPU 222, and the MPU 222 executes each process based on detection information of the magnetic sensor 221. Therefore, it is possible to reduce the processing load of the main control device 122 as compared with the configuration in which the main control device 122 executes each process based on the detection information of the magnetic detection sensor.

<第2の実施形態>
本実施形態では、磁気センサモジュール81の各オフセット処理の処理結果を送信する構成が、上記第1の実施形態と異なっている。以下、異なる構成について図24〜図28を参照して説明する。
<Second Embodiment>
In this embodiment, the structure which transmits the process result of each offset process of the magnetic sensor module 81 differs from the said 1st Embodiment. Hereinafter, different configurations will be described with reference to FIGS.

上記第1の実施形態では、各オフセット処理の処理結果を、検知状態信号を用いて送信する構成としていたが、本実施形態では、磁気センサモジュール81に設けられた他の出力端子を用いて送信する構成とする。具体的には、磁気センサモジュール81には、検知状態信号を出力する出力端子とは別に、各オフセット処理の成否結果を出力するための出力端子が設けられており、当該出力端子も主制御基板201と電気的に接続されている。そして、当該出力端子から、各オフセット処理の成否結果を示す成否信号として、オフセット成功信号とエラー信号とを送信する。オフセット成功信号とエラー信号とは、いずれもLOWレベル信号とHIレベル信号との切り替えを短時間で繰り返すことで構成されるパルス信号からなり、当該パルス信号の周期を異ならせることで、いずれの成否信号であるかが特定可能となっている。   In the first embodiment, the processing result of each offset processing is transmitted using the detection state signal. However, in the present embodiment, transmission is performed using another output terminal provided in the magnetic sensor module 81. The configuration is as follows. Specifically, the magnetic sensor module 81 is provided with an output terminal for outputting the success / failure result of each offset process, in addition to the output terminal for outputting the detection state signal, and the output terminal is also provided as the main control board. 201 is electrically connected. Then, an offset success signal and an error signal are transmitted from the output terminal as a success / failure signal indicating the success / failure result of each offset process. Each of the successful offset signal and the error signal is a pulse signal configured by repeating switching between the LOW level signal and the HI level signal in a short time, and any success or failure can be achieved by changing the period of the pulse signal. Whether it is a signal can be specified.

まず、本実施形態における磁気センサモジュール81側の処理について説明する。図24は、本実施形態における立ち上げ処理を示すフローチャートである。   First, processing on the magnetic sensor module 81 side in the present embodiment will be described. FIG. 24 is a flowchart showing start-up processing in the present embodiment.

本実施形態における立ち上げ処理では、第1の実施形態におけるステップS301〜ステップS303と同様に、ステップS1201〜ステップS1203にて、端子読み込み処理、第1オフセット処理、及び当該第1オフセット処理の成否結果を判定する処理を実行する。ステップS1203にて、第1オフセット処理に成功したと判定した場合には、続くステップS1204にて、上記の成否信号のうちのオフセット成功信号を主制御装置122に送信し、本立ち上げ処理を終了する。   In the start-up process in the present embodiment, the terminal reading process, the first offset process, and the success / failure results of the first offset process in steps S1201 to S1203, as in steps S301 to S303 in the first embodiment. Execute the process of determining. If it is determined in step S1203 that the first offset process has succeeded, in step S1204, the successful offset signal is transmitted to the main controller 122, and the start-up process is terminated. To do.

ステップS1203にて第1オフセット処理がエラーであった場合には、ステップS1205に進み、上記の成否信号のうちのエラー信号を主制御装置122に送信する。そして、ステップS1206にてRAM224のクリアを実行し、ステップS1203に戻り、再び第1オフセット処理を実行する。   If the first offset process is an error in step S1203, the process proceeds to step S1205, and the error signal of the success / failure signals is transmitted to the main controller 122. In step S1206, the RAM 224 is cleared, the process returns to step S1203, and the first offset process is executed again.

また、図示はしないが、本実施形態における通常処理の第2オフセット処理(図17)では、ステップS708で上記オフセット成功信号を送信し、ステップS709でエラー信号を送信する構成とする。   Although not shown, in the second offset process (FIG. 17) of the normal process in the present embodiment, the offset success signal is transmitted in step S708, and the error signal is transmitted in step S709.

次に、主制御装置122側の処理について説明する。図25は、本実施形態におけるセンサ確認処理を示すフローチャートである。   Next, processing on the main control device 122 side will be described. FIG. 25 is a flowchart showing sensor confirmation processing in the present embodiment.

本実施形態におけるセンサ確認処理では、第1の実施形態におけるステップS801の処理と同様に、ステップS1301にて検知感度設定信号を送信する。続くステップS1302では、上記成否信号として、オフセット成功信号又はエラー信号を受信したか否かを判定する。そしていずれの成否信号も受信していない場合には、そのまま待機する。したがって、ステップS1302では、磁気センサモジュール81の第1オフセット処理が1回終了するまで待機することになる。   In the sensor confirmation process in the present embodiment, a detection sensitivity setting signal is transmitted in step S1301, similarly to the process in step S801 in the first embodiment. In the subsequent step S1302, it is determined whether or not an offset success signal or an error signal has been received as the success / failure signal. If no success / failure signal is received, the process waits as it is. Therefore, in step S1302, the process waits until the first offset process of the magnetic sensor module 81 is completed once.

ステップS1302で肯定判定することで、ステップS1303に進む。ステップS1303では、RAM213の各種フラグ格納エリア213cに設けられた成否受信フラグに「1」をセットする処理を実行する。成否受信フラグは、オフセット成功信号及びエラー信号の成否信号を受信したことをMPU211が特定するためのフラグである。   By making an affirmative determination in step S1302, the process proceeds to step S1303. In step S1303, a process of setting “1” to the success / failure reception flag provided in the various flag storage areas 213c of the RAM 213 is executed. The success / failure reception flag is a flag for the MPU 211 to specify that the success / failure signal of the offset success signal and the error signal has been received.

続くステップS1304では、ステップS1302で受信した信号の周期を確認することで、エラー信号であったか否かを判定する。磁気センサモジュール81からの成否信号がエラー信号であった場合、磁気センサモジュール81において第1オフセット処理が正常に実行されなかったことを意味する。この場合、ステップS1305にて、RAM213のエラーフラグに「1」をセットする処理を実行する。   In subsequent step S1304, it is determined whether or not the signal is an error signal by confirming the cycle of the signal received in step S1302. If the success / failure signal from the magnetic sensor module 81 is an error signal, it means that the first offset processing has not been normally executed in the magnetic sensor module 81. In this case, in step S1305, processing for setting “1” in the error flag of the RAM 213 is executed.

ステップS1304にて否定判定した場合、又はステップS1305の処理を実行した後は、本センサ確認処理を終了する。   When a negative determination is made in step S1304, or after the process of step S1305 is executed, the sensor confirmation process is terminated.

次に、タイマ割込み処理(図10)の読み込み処理(ステップS209)にて実行される、成否信号読み込み処理について図26のフローチャートを参照して説明する。   Next, the success / failure signal read process executed in the read process (step S209) of the timer interrupt process (FIG. 10) will be described with reference to the flowchart of FIG.

まずステップS1401では、磁気センサモジュール81からの成否信号として、オフセット成功信号又はエラー信号を受信しているか否かを判定する。いずれの信号も受信していない場合には、そのまま本成否信号読み込み処理を終了する。   First, in step S1401, it is determined whether an offset success signal or an error signal is received as a success / failure signal from the magnetic sensor module 81. If no signal is received, the success / failure signal reading process is terminated.

いずれかの信号を受信している場合、続くステップS1402にて上記成否受信フラグを確認し、「1」がセットされている場合にはその状態を維持し、セットされていない場合には「1」をセットする処理を実行する。続くステップS1403では、ステップS1401で受信した成否信号がエラー信号であったか否かを判定する。エラー信号でない場合、ステップS1404にて上記エラーフラグを確認し、「1」がセットされている場合には「0」にクリアする処理を実行し、セットされていない場合にはその状態を維持して、本成否信号読み込み処理を終了する。一方、ステップS1403にてエラー信号であった場合には、ステップS1405にてエラーフラグを確認し、「1」がセットされている場合にはその状態を維持し、セットされていない場合には「1」をセットする処理を実行して、本成否信号読み込み処理を終了する。   If any signal is received, the success / failure reception flag is confirmed in the subsequent step S1402. If "1" is set, the state is maintained, and if not set, "1" is maintained. ”Is set. In a succeeding step S1403, it is determined whether or not the success / failure signal received in the step S1401 is an error signal. If it is not an error signal, the error flag is checked in step S1404. If “1” is set, a process of clearing it to “0” is executed. If it is not set, the state is maintained. Then, the success / failure signal reading process is terminated. On the other hand, if it is an error signal in step S1403, the error flag is confirmed in step S1405. If “1” is set, the state is maintained, and if it is not set, “ 1 "is executed, and the success / failure signal reading process is terminated.

したがって、成否信号読み込み処理では、オフセット成功信号を受信した場合には、成否受信フラグに「1」をセットするとともに、エラーフラグを「0」にクリアし、エラー信号を受信した場合には、同じく成否受信フラグに「1」をセットする一方で、エラーフラグにも「1」をセットする処理を実行する。これにより、磁気センサモジュール81がオフセット処理を実行した場合に、当該オフセット処理が終了したこと、及び当該オフセット処理の成否結果を、主制御装置122のMPU211が特定することが可能となっている。   Therefore, in the success / failure signal reading process, when the successful offset signal is received, the success / failure reception flag is set to “1”, the error flag is cleared to “0”, and when the error signal is received, While the success / failure reception flag is set to “1”, the error flag is also set to “1”. Thereby, when the magnetic sensor module 81 performs the offset process, the MPU 211 of the main control device 122 can specify that the offset process is completed and the success / failure result of the offset process.

なお、図示はしないが、本実施形態における検知状態信号読み込み処理では、上記のとおりオフセット処理の処理結果を成否信号として出力する構成としている関係上、HIレベル信号の検知状態信号を読み込んだことを条件に、他の処理を実行せずに検知状態フラグに「1」をセットする。   Although not shown, in the detection state signal reading process in the present embodiment, the detection result signal of the HI level signal is read because the offset processing result is output as a success / failure signal as described above. As a condition, “1” is set to the detection state flag without performing other processing.

次に、本実施形態におけるセンサ補正処理について、図27のフローチャートを参照して説明する。   Next, sensor correction processing in the present embodiment will be described with reference to the flowchart of FIG.

本実施形態におけるセンサ補正処理では、まず、ステップS1501にて、第1の実施形態のステップS1001の処理と同様に、オフセット信号をHIレベル信号で出力しているか否かを判定する。オフセット信号がHIレベル信号でない場合、続くステップS1502にて、最後に受信した成否信号がエラー信号であるか否かを判定する。具体的には、成否受信フラグに「1」がセットされていて且つエラーフラグにも「1」がセットされているか否かを判定することで、エラー信号の後にオフセット成功信号を受信していないことが特定できる。この場合、磁気センサモジュール81の第1オフセット処理がエラーとなっている状態であり、続くステップS1503では、第1エラーコマンドを音声ランプ制御装置113への送信対象として設定する。当該第1エラーコマンドを設定することで、第1の実施形態と同様に、エラーランプ部24、スピーカ部26及び図柄表示装置61にて第1エラー報知が実行される。但し、本実施形態における第1エラー報知は、エラーランプ部24、スピーカ部26及び図柄表示装置61において所定期間実行した場合に終了する構成としている。   In the sensor correction process in the present embodiment, first, in step S1501, it is determined whether or not the offset signal is output as a HI level signal, as in the process in step S1001 of the first embodiment. If the offset signal is not a HI level signal, it is determined in subsequent step S1502 whether the last received success / failure signal is an error signal. Specifically, by determining whether the success / failure reception flag is set to “1” and the error flag is also set to “1”, the offset success signal is not received after the error signal. Can be identified. In this case, the first offset process of the magnetic sensor module 81 is in an error state, and in the subsequent step S1503, the first error command is set as a transmission target to the sound lamp control device 113. By setting the first error command, the first error notification is executed by the error lamp unit 24, the speaker unit 26, and the symbol display device 61 as in the first embodiment. However, the first error notification in the present embodiment is configured to end when the error lamp unit 24, the speaker unit 26, and the symbol display device 61 are executed for a predetermined period.

ステップS1503の処理を実行した後は、ステップS1504にて、成否受信フラグを「0」にクリアする処理を実行し、本センサ補正処理を終了する。   After executing the process of step S1503, in step S1504, a process of clearing the success / failure reception flag to “0” is executed, and this sensor correction process is terminated.

ステップS1502にて否定判定した場合、すなわち、成否受信フラグ及びエラーフラグの少なくとも一方が「0」である場合、ステップS1505に進み、エラーフラグに「1」がセットされているか否かを判定する。ステップS1505にてエラーフラグに「1」がセットされている場合とは、第1オフセット処理に失敗した場合であって既に前回の処理回においてステップS1503及びステップS1504の処理を実行している状態であり、この場合、そのまま本センサ補正処理を終了する。   If a negative determination is made in step S1502, that is, if at least one of the success / failure reception flag and the error flag is “0”, the process proceeds to step S1505 to determine whether or not “1” is set in the error flag. The case where “1” is set in the error flag in step S1505 is a case where the first offset processing has failed and the processing in steps S1503 and S1504 has already been executed in the previous processing round. In this case, the present sensor correction process is terminated as it is.

ステップS1505にてエラーフラグに「1」がセットされていない場合、すなわち、磁気センサモジュール81において第1オフセット処理に成功している状態の場合、ステップS1506にて、成否受信フラグを確認し、「0」である場合にはその状態を維持し、「1」がセットされている場合には「0」にクリアする処理を実行する。   If “1” is not set in the error flag in step S1505, that is, if the first offset process is successful in the magnetic sensor module 81, the success / failure reception flag is confirmed in step S1506. When it is “0”, the state is maintained, and when “1” is set, a process of clearing to “0” is executed.

続くステップS1507では、RAM213の各種フラグ格納エリア213cに設けられた調整済みフラグに「1」がセットされているか否かを判定する。調整済みフラグに「1」がセットされている場合には、そのまま本センサ補正処理を終了する。調整済みフラグに「1」がセットされていない場合には、ステップS1508にて内枠開放信号を確認し、内枠13が開放状態であるか否かを判定する。開放状態である場合には、そのまま本センサ補正処理を終了する。   In a succeeding step S1507, it is determined whether or not “1” is set to the adjusted flag provided in the various flag storage areas 213c of the RAM 213. If “1” is set in the adjusted flag, the present sensor correction process is terminated. If “1” is not set in the adjusted flag, an inner frame release signal is confirmed in step S1508, and it is determined whether or not the inner frame 13 is in an open state. If the sensor is in the open state, the present sensor correction process is terminated.

ステップS1508にて内枠13が閉鎖状態であると判定した場合、ステップS1509にてオフセット信号をHIレベル状態に設定し、本センサ補正処理を終了する。   If it is determined in step S1508 that the inner frame 13 is in the closed state, the offset signal is set to the HI level state in step S1509, and this sensor correction process is terminated.

ステップS1501にて肯定判定した場合、すなわちオフセット信号をHIレベル信号で出力中である場合には、ステップS1510に進む。ステップS1510では、成否受信フラグに「1」がセットされているか否かを判定する。成否受信フラグに「1」がセットされていない場合には、そのまま本センサ補正処理を終了する。   If an affirmative determination is made in step S1501, that is, if the offset signal is being output as a HI level signal, the process proceeds to step S1510. In step S1510, it is determined whether or not “1” is set in the success / failure reception flag. If “1” is not set in the success / failure reception flag, the present sensor correction process is terminated as it is.

ステップS1510にて成否受信フラグに「1」がセットされている場合、磁気センサモジュール側では第2オフセット処理が終了していることを意味し、この場合ステップS1511に進む。ステップS1511では、エラーフラグに「1」がセットされているか否かを判定することで、上記再度のオフセット処理に成功したか否かを特定する。第2オフセット処理がエラーであった場合(ステップS1511:YES)、ステップS1512にて、第2エラーコマンドを音声ランプ制御装置113への送信対象として設定する。当該第2エラーコマンドを設定することで、第1の実施形態と同様に、エラーランプ部24、スピーカ部26及び図柄表示装置61にて第2エラー報知が実行される。   If “1” is set in the success / failure reception flag in step S1510, it means that the second offset process has been completed on the magnetic sensor module side, and in this case, the process proceeds to step S1511. In step S1511, it is determined whether or not the above-described offset processing has succeeded by determining whether or not “1” is set in the error flag. If the second offset process is an error (step S1511: YES), the second error command is set as a transmission target to the sound lamp control device 113 in step S1512. By setting the second error command, the second error notification is executed by the error lamp unit 24, the speaker unit 26, and the symbol display device 61 as in the first embodiment.

ステップS1512又はステップS1513の処理を実行した後は、ステップS1514に進み、成否受信フラグ及びエラーフラグを「0」にクリアする処理を実行する。その後、ステップS1515にて、オフセット信号をLOWレベル信号に設定し、本センサ補正処理を終了する。   After executing the process of step S1512 or step S1513, the process proceeds to step S1514, and a process of clearing the success / failure reception flag and the error flag to “0” is executed. Thereafter, in step S1515, the offset signal is set to a LOW level signal, and this sensor correction process is terminated.

次に、本実施形態における、磁気センサモジュール81がオフセット処理を実行するタイミングについて図28を参照して説明する。図28は、磁気センサモジュール81のオフセット処理の実行タイミングを、パチンコ機10の電源と内枠13の状態との関係から説明するためのタイミングチャートであり、図28(a)は、内枠13の開閉状態を示し、図28(b)はパチンコ機10の電源の状態を示し、図28(c)は磁気センサモジュール81がオフセット処理を実行する様子を示し、図28(d)はRAM213の成否受信フラグを示し、図28(e)はRAM213のエラーフラグを示し、図28(f)はRAM213の調整済みフラグを示し、図28(g)は主制御基板201からのオフセット信号の状態を示している。   Next, the timing at which the magnetic sensor module 81 performs the offset process in the present embodiment will be described with reference to FIG. FIG. 28 is a timing chart for explaining the execution timing of the offset processing of the magnetic sensor module 81 from the relationship between the power supply of the pachinko machine 10 and the state of the inner frame 13. 28 (b) shows the power supply state of the pachinko machine 10, FIG. 28 (c) shows how the magnetic sensor module 81 executes the offset process, and FIG. 28 (d) shows the RAM 213. FIG. 28 (e) shows the error flag of the RAM 213, FIG. 28 (f) shows the adjusted flag of the RAM 213, and FIG. 28 (g) shows the state of the offset signal from the main control board 201. Show.

まず、磁気センサモジュール81における第1オフセット処理と、主制御装置122からの指示に基づく第2オフセット処理と、がいずれも正常に実行できた場合について説明する。   First, a case will be described in which both the first offset process in the magnetic sensor module 81 and the second offset process based on an instruction from the main controller 122 have been successfully executed.

t1のタイミングでパチンコ機10の電源が投入されると、図28(c)に示すように、磁気センサモジュール81は、第1オフセット処理を実行する。既に説明したとおり、当該オフセット処理は主制御装置122側からの指示により実行されるものではなく、磁気センサモジュール81自身が自動的に実行する。したがって、図28(g)に示すように、主制御装置122が出力するオフセット信号はLOWレベル信号のままである。   When the power of the pachinko machine 10 is turned on at the timing t1, as shown in FIG. 28 (c), the magnetic sensor module 81 executes the first offset process. As already described, the offset process is not executed by an instruction from the main controller 122, but is automatically executed by the magnetic sensor module 81 itself. Therefore, as shown in FIG. 28 (g), the offset signal output from the main controller 122 remains the LOW level signal.

t2のタイミングで第1オフセット処理が終了し、当該第1オフセット処理が成功であった場合、磁気センサモジュール81からは、成否信号としてオフセット成功信号が送信される(ステップS1204)。主制御装置122側においては、オフセット成功信号を受信したことに基づいて、図28(d)に示すように、成否受信フラグに「1」がセットされる(ステップS1303)。磁気センサモジュール81側においては、第1オフセット処理に成功したことにより立ち上げ処理(図24)を終了し、通常処理が開始されて磁気検知処理等を実行することが可能となる。ただし、本実施形態においても、t1のタイミングで実行された第1オフセット処理は、内枠13が開放された状態で実行されているため、隣接して設けられた他のパチンコ機10から発生する磁気や磁場の変化を加味した調整となっている可能性が高い。   When the first offset process ends at the timing t2, and the first offset process is successful, the magnetic sensor module 81 transmits an offset success signal as a success / failure signal (step S1204). On the main control device 122 side, as shown in FIG. 28 (d), “1” is set to the success / failure reception flag based on the reception of the offset success signal (step S1303). On the magnetic sensor module 81 side, when the first offset process is successful, the start-up process (FIG. 24) is terminated, and the normal process is started, so that the magnetic detection process and the like can be executed. However, also in the present embodiment, the first offset process executed at the timing t1 is executed with the inner frame 13 opened, and thus occurs from another pachinko machine 10 provided adjacently. There is a high possibility that the adjustment takes account of changes in magnetism and magnetic field.

そこで、t3のタイミングで、内枠13が閉鎖されると、主制御装置122側においては、図28(d)に示すように、成否受信フラグが「0」にクリアされるとともに、図28(g)に示すように、オフセット信号がLOWレベル信号からHIレベル信号に切り替えられる。その結果、磁気センサモジュール81においては、上記オフセット信号が切り替えられることにより、図28(c)に示すように、第2オフセット処理が実行される。   Therefore, when the inner frame 13 is closed at the timing of t3, on the main controller 122 side, as shown in FIG. 28 (d), the success / failure reception flag is cleared to “0”, and FIG. As shown in g), the offset signal is switched from the LOW level signal to the HI level signal. As a result, in the magnetic sensor module 81, the second offset process is executed as shown in FIG. 28C by switching the offset signal.

t4のタイミングで上記第2オフセット処理が終了し、当該第2オフセット処理が成功であった場合、磁気センサモジュール81からは、成否信号としてオフセット成功信号が送信される。主制御装置122側においては、既にタイマ割込み処理(図10)が周期的に実行されており、オフセット成功信号を受信したことに基づいて、成否信号読み込み処理(図26)にて成否受信フラグに「1」がセットされる(ステップS1402)。その後、t5のタイミングで、図28(f)に示すように、調整済みフラグに「1」がセットされ(ステップS1513)、成否受信フラグが「0」にクリアされる(ステップS1514)。そして、図28(g)に示すように、オフセット信号がLOWレベル信号に切り替えられる(ステップS1515)。   When the second offset process ends at the timing t4 and the second offset process is successful, the magnetic sensor module 81 transmits an offset success signal as a success / failure signal. On the main controller 122 side, the timer interrupt process (FIG. 10) has already been executed periodically, and the success / failure reception flag is set in the success / failure signal read process (FIG. 26) based on the reception of the offset success signal. “1” is set (step S1402). Thereafter, at the timing of t5, as shown in FIG. 28 (f), the adjusted flag is set to “1” (step S1513), and the success / failure reception flag is cleared to “0” (step S1514). Then, as shown in FIG. 28 (g), the offset signal is switched to the LOW level signal (step S1515).

その後、t6のタイミングで内枠13が開放され、t7のタイミングで閉鎖されても、既に調整済みフラグに「1」がセットされていることから、再度のオフセット信号の切り替えは行われず、磁気センサモジュール81はオフセット処理を実行しない。   Thereafter, even if the inner frame 13 is opened at the timing of t6 and closed at the timing of t7, since the adjusted flag is already set to “1”, the offset signal is not switched again, and the magnetic sensor Module 81 does not perform offset processing.

次に、磁気センサモジュール81の立ち上げ処理におけるオフセット処理がエラーとなった場合について説明する。   Next, a case where the offset process in the startup process of the magnetic sensor module 81 results in an error will be described.

t8のタイミングでパチンコ機10の電源が投入されると、上記同様に第1オフセット処理が開始される。例えば、当該第1オフセット処理において、強力な磁気が検知された場合、t9のタイミングで当該第1オフセット処理が終了するとエラー信号が送信される。この場合、主制御装置122側では、成否受信フラグに「1」がセットされるとともに、図28(e)に示すように、エラーフラグにも「1」がセットされる。主制御装置122側では、これら各フラグをセットした後センサ確認処理(図25)を終了することができ、タイマ割り込み処理(10)が開始されて、他の制御が実行可能となる。そして、成否受信フラグ及びエラーフラグに「1」がセットされていることにより、t10のタイミングで実行されるセンサ補正処理(図27)にて、第1エラーコマンドが設定され(ステップS1503)、音声ランプ制御装置113及び表示制御装置214による第1エラー報知が実行される。これにより、ホール管理者は、当該エラーを認識することが可能となり、エラーの原因となった上記強力な磁気を取り除く等の措置をとることが可能となる。また、第1エラーコマンドが設定される場合、成否受信フラグは「0」にクリアされる。したがって、一のエラーに対して第1エラーコマンドが複数送信されることはない。   When the power of the pachinko machine 10 is turned on at timing t8, the first offset process is started in the same manner as described above. For example, when strong magnetism is detected in the first offset processing, an error signal is transmitted when the first offset processing ends at the timing t9. In this case, on the main controller 122 side, “1” is set to the success / failure reception flag, and “1” is also set to the error flag as shown in FIG. On the main control device 122 side, the sensor confirmation processing (FIG. 25) can be ended after these flags are set, and the timer interrupt processing (10) is started so that other control can be executed. Since “1” is set in the success / failure reception flag and the error flag, the first error command is set (step S1503) in the sensor correction process (FIG. 27) executed at the timing t10. The first error notification is executed by the lamp control device 113 and the display control device 214. As a result, the hall manager can recognize the error, and can take measures such as removing the strong magnetism that caused the error. When the first error command is set, the success / failure reception flag is cleared to “0”. Therefore, a plurality of first error commands are not transmitted for one error.

t8のタイミングで開始した第1オフセット処理がエラーであったため、t11のタイミングで再度第1オフセット処理が開始される。この場合の第1オフセット処理も、磁気センサモジュール81が主制御装置122からの指示によらず実行するため、主制御装置122から出力されるオフセット信号はLOW信号のままである(図28(g)参照)。なお、本実施形態においても第1オフセット処理がエラーであった場合には連続的に再度第1オフセット処理が開始される構成としているが、図では理解の容易のため、第1オフセット処理の終了タイミングと再度の第1オフセット処理の開始タイミングを分けて記載している。   Since the first offset process started at the timing t8 is an error, the first offset process is started again at the timing t11. The first offset processing in this case is also executed by the magnetic sensor module 81 regardless of an instruction from the main control device 122, so that the offset signal output from the main control device 122 remains the LOW signal (FIG. 28 (g )reference). In the present embodiment, when the first offset process is an error, the first offset process is continuously started again. However, in the drawing, for the sake of easy understanding, the first offset process is ended. The timing and the start timing of the first offset process are described separately.

当該第1オフセット処理中であるt12のタイミングで、例えば内枠13が閉鎖(図28(a)参照)されたとすると、磁気センサモジュール81における検知値のぶれ幅が大きくなり、当該第1オフセット処理は再びエラーとなる。そして、t13のタイミングで当該第1オフセット処理が終了するとエラー信号が送信される。主制御装置122側では、既にタイマ割込み処理が開始されているため、当該オフセット成功信号の読み込みは、成否信号読み込み処理(図26)にて行われる。この場合、図28(d)及び図28(e)に示すように、成否受信フラグには「1」がセットされ、エラーフラグは「1」がセットされた状態で維持される。そして、t14のタイミングで、第1エラーコマンドが再び設定され、第1エラー報知が実行される。この場合、成否受信フラグは「0」にクリアされる。   If, for example, the inner frame 13 is closed (see FIG. 28A) at the timing t12 during the first offset process, the fluctuation width of the detected value in the magnetic sensor module 81 becomes large, and the first offset process is performed. Again becomes an error. Then, when the first offset process ends at the timing of t13, an error signal is transmitted. Since the timer interrupt process has already been started on the main controller 122 side, the offset success signal is read in the success / failure signal read process (FIG. 26). In this case, as shown in FIGS. 28D and 28E, the success / failure reception flag is set to “1”, and the error flag is maintained in a state where “1” is set. Then, at the timing t14, the first error command is set again, and the first error notification is executed. In this case, the success / failure reception flag is cleared to “0”.

t11のタイミングで開始した第1オフセット処理が再びエラーであったため、更にt15のタイミングで第1オフセット処理が開始される。この場合も、主制御装置122から出力されるオフセット信号はLOW信号のままである(図28(g)参照)。なお、上記同様に、図では理解の容易のため、第1オフセット処理の終了タイミングと再度の第1オフセット処理の開始タイミングを分けて記載している。   Since the first offset process started at the timing t11 is an error again, the first offset process is further started at the timing t15. Also in this case, the offset signal output from the main controller 122 remains the LOW signal (see FIG. 28 (g)). Similarly to the above, in the figure, for easy understanding, the end timing of the first offset process and the start timing of the first offset process are described separately.

t16のタイミングで、第1オフセット処理が終了し、当該第1オフセット処理が成功であった場合、磁気センサモジュール81からはオフセット成功信号が送信される。この場合、主制御装置122側では、図28(d)及び図28(e)に示すように、成否受信フラグには「1」がセットされ、エラーフラグは「0」にクリアされる。   When the first offset process ends at the timing of t16 and the first offset process is successful, the magnetic sensor module 81 transmits an offset success signal. In this case, on the main controller 122 side, as shown in FIGS. 28D and 28E, the success / failure reception flag is set to “1” and the error flag is cleared to “0”.

そして、t17のタイミングで、成否受信フラグが「0」にクリアされるとともに、オフセット信号がLOWレベル信号からHIレベル信号に切り替えられる。その結果、磁気センサモジュール81側では、上記オフセット信号の切り替えが行われたことにより、第2オフセット処理が開始される。   At time t17, the success / failure reception flag is cleared to “0”, and the offset signal is switched from the LOW level signal to the HI level signal. As a result, on the magnetic sensor module 81 side, the second offset process is started by switching the offset signal.

t18のタイミングで第2オフセット処理が終了し、当該第2オフセット処理が成功であった場合、既に説明したとおり、主制御装置122側では、成否受信フラグに「1」がセットされる。そして、t19のタイミングで、調整済みフラグに「1」されるとともに、成否受信フラグが「0」にクリアされ、オフセット信号がLOWレベル信号に切り替えられる。   When the second offset process ends at the timing of t18 and the second offset process is successful, “1” is set to the success / failure reception flag on the main control device 122 side as described above. At the timing t19, the adjusted flag is set to “1”, the success / failure reception flag is cleared to “0”, and the offset signal is switched to the LOW level signal.

次に、主制御装置122側からの指示に基づくオフセット処理がエラーとなった場合について説明する。なお以下の説明では、パチンコ機10の電源が既にONとなっており、主制御装置122側ではタイマ割込み処理が開始され、磁気センサモジュール81側では通常処理が開始されている状況から説明する。   Next, a case where an offset process based on an instruction from the main controller 122 side results in an error will be described. In the following description, a description will be given from a situation in which the power of the pachinko machine 10 is already ON, timer interrupt processing is started on the main controller 122 side, and normal processing is started on the magnetic sensor module 81 side.

t20のタイミングで、内枠13が閉鎖されると、主制御装置122からのオフセット信号がLOWレベル信号からHIレベル信号に切り替えられる。そして、当該オフセット信号の切り替えに基づいて、磁気センサモジュール81側ではオフセット処理が開始される。   When the inner frame 13 is closed at the timing t20, the offset signal from the main controller 122 is switched from the LOW level signal to the HI level signal. Then, based on the switching of the offset signal, offset processing is started on the magnetic sensor module 81 side.

例えば、当該オフセット処理において、強力な磁気を印加する不正行為が行われた場合、t21のタイミングで当該オフセット処理が終了するとエラー信号が送信される。この場合、主制御装置122側では、成否受信フラグに「1」がセットされるとともに、エラーフラグにも「1」がセットされる。   For example, in the offset process, when an illegal act of applying strong magnetism is performed, an error signal is transmitted when the offset process ends at the timing t21. In this case, on the main controller 122 side, “1” is set to the success / failure reception flag, and “1” is also set to the error flag.

オフセット信号をHIレベル信号で出力中(ステップS1501:YES)であって、成否受信フラグ及びエラーフラグに「1」がセットされていることから、t22のタイミングで実行されるセンサ補正処理(図25)にて、第2エラーコマンドが設定され(ステップS1512)、音声ランプ制御装置113及び表示制御装置214による第2エラー報知が実行される。これにより、ホール管理者は、上記不正行為を認識することが可能となり、不正行為に対する適切な措置をとることが可能となる。また、この場合、成否受信フラグは「0」にクリアされる(ステップS1514)。したがって、一のエラーに対して第2エラーコマンドが複数送信されることはない。更に、エラーフラグも「0」にクリアされるとともに、オフセット信号がLOWレベル信号に切り替えられる。したがって、次のセンサ補正処理の処理回にて磁気センサモジュール81にオフセット処理を行わせるための処理を実行することができる(ステップS1501:YES、ステップS1505:YES)
t23のタイミングで、再びオフセット信号がLOWレベル信号からHIレベル信号に切り替えられると、磁気センサモジュール81では再度第2オフセット処理が開始される。t24のタイミングで当該第2オフセット処理が終了し、当該第2オフセット処理が成功であった場合、磁気センサモジュール81からはオフセット成功信号が送信される。主制御装置122側では、成否受信フラグは「1」がセットされ、エラーフラグは「0」にクリアされる。
Since the offset signal is being output as the HI level signal (step S1501: YES) and the success / failure reception flag and the error flag are set to “1”, the sensor correction process executed at the timing t22 (FIG. 25). ), The second error command is set (step S1512), and the second error notification is executed by the sound lamp control device 113 and the display control device 214. As a result, the hall manager can recognize the fraud and can take appropriate measures against the fraud. In this case, the success / failure reception flag is cleared to “0” (step S1514). Therefore, a plurality of second error commands are not transmitted for one error. Further, the error flag is cleared to “0” and the offset signal is switched to the LOW level signal. Therefore, it is possible to execute processing for causing the magnetic sensor module 81 to perform offset processing in the next sensor correction processing (step S1501: YES, step S1505: YES).
When the offset signal is switched from the LOW level signal to the HI level signal again at the timing of t23, the magnetic sensor module 81 starts the second offset process again. When the second offset process is completed at the timing t24 and the second offset process is successful, the magnetic sensor module 81 transmits an offset success signal. On the main controller 122 side, the success / failure reception flag is set to “1”, and the error flag is cleared to “0”.

そして、t25のタイミングで実行されるセンサ補正処理にて、調整済みフラグに「1」がセットされるとともに、オフセット信号がLOWレベル信号に切り替えられる。   Then, in the sensor correction process executed at the timing of t25, “1” is set to the adjusted flag, and the offset signal is switched to the LOW level signal.

以上詳述した本実施形態によれば、以下の優れた効果を奏する。   According to the embodiment described in detail above, the following excellent effects are obtained.

磁気センサモジュール81における各オフセット処理の処理結果を送信する場合に、磁気検知状態の情報を示す検知状態信号とは別途設けた成否信号により、当該処理結果を送信する構成とした。これにより、主制御装置122側からの指示により第2オフセット処理を実行している間も、パチンコ機10に磁気が印加される不正行為を磁気検知処理で検知することが可能となる。したがって、不正行為により印加される磁気を好適に検知することができる。   When the processing result of each offset process in the magnetic sensor module 81 is transmitted, the processing result is transmitted by a success / failure signal provided separately from the detection state signal indicating the magnetic detection state information. Thereby, even while the second offset process is being executed in accordance with an instruction from the main control device 122 side, it is possible to detect an illegal act in which magnetism is applied to the pachinko machine 10 by the magnetic detection process. Therefore, it is possible to suitably detect the magnetism applied by the illegal act.

特に、本実施形態では、成否信号として別途送信する構成としたことで、各オフセット処理の処理結果だけでなく、各オフセット処理の終了タイミングも主制御装置122側で特定することが可能となっている。第1の実施形態では、タイマカウンタ(オフセットカウンタOT)を用いて、当該終了タイミングを特定していたが、主制御装置122と磁気センサモジュール81との処理タイミングの相違によって、主制御装置122が特定した終了タイミングと、実際にオフセット処理が終了したタイミングと、がずれる場合があり、当該ずれによる誤動作を抑制するために、主制御装置122側のタイマカウンタは実際のオフセット処理の処理期間よりも長くカウントする構成としていた。これに対して、本実施形態によれば、実際のオフセット処理の終了タイミングで成否信号が送信され、当該成否信号を受信することで主制御装置122は終了タイミングを特定することが可能となることから、実際の終了タイミングにより近いタイミングとして特定することが可能となる。これにより、オフセット処理の処理結果に応じた処理(各エラー報知)を、迅速に実行することができ、ホール管理者により早く認識させることが可能となる。   In particular, in the present embodiment, since it is configured to separately transmit as a success / failure signal, not only the processing result of each offset process but also the end timing of each offset process can be specified on the main controller 122 side. Yes. In the first embodiment, the end timing is specified by using the timer counter (offset counter OT). However, the main control device 122 is controlled by the difference in processing timing between the main control device 122 and the magnetic sensor module 81. There is a case where the specified end timing and the timing at which the offset process is actually ended may be different from each other. In order to suppress malfunction due to the deviation, the timer counter on the main control device 122 side is longer than the processing period of the actual offset process. It was configured to count for a long time. On the other hand, according to the present embodiment, the success / failure signal is transmitted at the actual end timing of the offset processing, and the main control device 122 can specify the end timing by receiving the success / failure signal. Therefore, it is possible to specify the timing closer to the actual end timing. Thereby, the process (each error notification) according to the process result of the offset process can be quickly executed, and the hall manager can be recognized early.

<第3の実施形態>
本実施形態では、磁気センサモジュール81のオフセット処理を実行するタイミングが、上記第1,第2の実施形態と異なっている。以下、相違する構成について図29を参照して説明する。図29は、本実施形態におけるセンサ確認処理を示すフローチャートである。なお以下の説明では、第1の実施形態をベースにして相違点のみを説明する。
<Third Embodiment>
In the present embodiment, the timing for executing the offset process of the magnetic sensor module 81 is different from those in the first and second embodiments. Hereinafter, a different configuration will be described with reference to FIG. FIG. 29 is a flowchart showing the sensor confirmation processing in the present embodiment. In the following description, only the differences will be described based on the first embodiment.

ここでまず、本実施形態では、磁気センサモジュール81は、立ち上げ処理において第1オフセット処理を実行しない構成としている。つまり、第1オフセット処理を実行せずに第2オフセット処理のみ実行する構成となる。また、第1オフセット処理を実行しない構成であることから、本実施形態における検知状態信号読み込み処理(図20)では、ステップS901にて否定判定した場合はそのまま本処理を終了する構成とする。更に本実施形態におけるセンサ補正処理(図21)では、ステップS1001にて否定判定した場合には、ステップS1006に進む構成とする。   First, in the present embodiment, the magnetic sensor module 81 is configured not to execute the first offset process in the start-up process. That is, only the second offset process is executed without executing the first offset process. Further, since the first offset process is not executed, the detection state signal reading process (FIG. 20) in the present embodiment is configured to end the process as it is when a negative determination is made in step S901. Further, in the sensor correction process (FIG. 21) in the present embodiment, if a negative determination is made in step S1001, the process proceeds to step S1006.

さて、本実施形態におけるセンサ確認処理では、まずステップS1601にて検知感度設定信号を送信し、続くステップS1602にて、内枠13が開放状態か否かを判定する。内枠13が開放状態の場合には、そのまま本センサ確認処理を終了する。この場合、センサ補正処理(図21)にて、調整済みフラグに1がセットされていないこと(ステップS1006:NO)、及び内枠13が閉鎖状態であること(ステップS1007:NO)を条件にオフセット処理を実行させる。ステップS1602にて、内枠13が閉鎖状態の場合には、ステップS1603にて、第1待機処理を実行する。第1待機処理は、メイン処理(図10)のステップS109における電源投入設定処理に基づく各制御装置の初期駆動テストが実行される間待機する処理であり、具体的には10sec待機する。ステップS1603の処理の後は、ステップS1604にてオフセット信号をLOWレベル信号からHIレベル信号に切り替える。   In the sensor confirmation process in the present embodiment, first, a detection sensitivity setting signal is transmitted in step S1601, and in the subsequent step S1602, it is determined whether or not the inner frame 13 is in an open state. When the inner frame 13 is in the open state, the present sensor confirmation process is terminated as it is. In this case, in the sensor correction process (FIG. 21), 1 is not set in the adjusted flag (step S1006: NO), and the inner frame 13 is in the closed state (step S1007: NO). Perform offset processing. If the inner frame 13 is in the closed state in step S1602, the first standby process is executed in step S1603. The first standby process is a process that waits while the initial drive test of each control device is executed based on the power-on setting process in step S109 of the main process (FIG. 10), and specifically waits for 10 seconds. After the processing in step S1603, the offset signal is switched from the LOW level signal to the HI level signal in step S1604.

続くステップS1605では、第2待機処理を実行する。当該第2待機処理は、第1の実施形態におけるステップS802の処理に相当する。ステップS1606〜ステップS1608の処理は、第1の実施形態におけるステップS803〜ステップS805の処理と同様である。但し、ステップS1607では、調整済みフラグに「1」をセットする処理を実行する。ステップS1607又はステップS1608の処理を実行後、本センサ確認処理を終了する。   In a succeeding step S1605, a second standby process is executed. The second standby process corresponds to the process of step S802 in the first embodiment. The processing from step S1606 to step S1608 is the same as the processing from step S803 to step S805 in the first embodiment. However, in step S1607, a process of setting “1” in the adjusted flag is executed. After executing the process of step S1607 or step S1608, the sensor confirmation process is terminated.

すなわち本実施形態では、内枠13が開放された状態でパチンコ機10の電源が投入された場合には、その後内枠13が閉鎖されたタイミングで磁気センサモジュール81にオフセット処理を実行させ、内枠13が閉鎖された状態でパチンコ機10の電源が投入された場合には、各制御装置の初期駆動テストの実行後に磁気センサモジュール81にオフセット処理を実行させる構成となる。   That is, in the present embodiment, when the power of the pachinko machine 10 is turned on with the inner frame 13 opened, the magnetic sensor module 81 executes an offset process at the timing when the inner frame 13 is closed. When the power of the pachinko machine 10 is turned on with the frame 13 closed, the magnetic sensor module 81 is configured to execute an offset process after the initial drive test of each control device.

以上詳述した本実施形態によれば、磁気センサモジュール81がオフセット処理を行う回数を減らすことが可能となる。既に説明したとおり、オフセット処理中は正規の磁気検知処理を実行している期間ではないため、オフセット処理の回数を減らすことで実質的に磁気検知処理を実行できる期間を長くすることが可能となる。これにより、不正に印加される磁気を好適に検知することができる。   According to the present embodiment described in detail above, the number of times that the magnetic sensor module 81 performs the offset process can be reduced. As already described, since the normal magnetic detection process is not performed during the offset process, it is possible to substantially extend the period during which the magnetic detection process can be performed by reducing the number of offset processes. . Thereby, the improperly applied magnetism can be suitably detected.

ただし、本実施形態の場合には、内枠開放スイッチ13aを不正治具により常にOFF状態(開放状態)とさせることで、磁気センサモジュール81のオフセット処理を実行させない不正行為を抑制できない。したがって、本実施形態の場合には、内枠開放スイッチ13aに対する不正行為を抑制するように、所定の対策を講じることが望ましい。所定の対策としては、例えば、不正治具が挿入されにくく又は挿入できなくする遮蔽部を設ける等の物理的な対策や、主制御装置122や磁気センサモジュール81自信が内枠13の開閉状態(位置)を判断できるようにするソフト的な対策が考えられる。   However, in the case of the present embodiment, it is not possible to suppress an illegal act that does not execute the offset process of the magnetic sensor module 81 by always turning the inner frame opening switch 13a to the OFF state (open state) by an unauthorized jig. Therefore, in the case of the present embodiment, it is desirable to take a predetermined measure so as to suppress an illegal act against the inner frame opening switch 13a. As a predetermined countermeasure, for example, a physical countermeasure such as providing a shielding portion that makes it difficult or impossible to insert an unauthorized jig, and the main controller 122 and the magnetic sensor module 81 are confident that the inner frame 13 is opened or closed ( A software measure that makes it possible to determine (position) can be considered.

<第4の実施形態>
本実施形態では、磁気センサモジュール81が磁気を検知した場合の検知値に関する構成が上記第1〜第3の実施形態と異なっている。以下、異なる構成について説明する。
<Fourth Embodiment>
In the present embodiment, the configuration relating to the detection value when the magnetic sensor module 81 detects magnetism is different from those in the first to third embodiments. Hereinafter, different configurations will be described.

上記のように第1〜第3の実施形態では、磁気検知状態となるまでに要する0値からの変化量としての閾値により感度レベルが定められていた。これに対して本実施形態では、磁気センサ221における磁気の検知値(インピーダンスの変化量)を増幅させる(振幅を変更する)機能により感度レベルを設定する。   As described above, in the first to third embodiments, the sensitivity level is determined by the threshold value as the amount of change from the zero value required to enter the magnetic detection state. In contrast, in the present embodiment, the sensitivity level is set by a function of amplifying (changing the amplitude) the magnetic detection value (impedance change amount) in the magnetic sensor 221.

先ず、磁気センサモジュール81の磁気センサ221について、図30(a)のブロック図を参照して詳細に説明する。   First, the magnetic sensor 221 of the magnetic sensor module 81 will be described in detail with reference to the block diagram of FIG.

本実施形態における磁気センサ221は、印加される磁気に基づいてインピーダンスの変化が生じるセンサ部225と、当該インピーダンスの変化量を増幅させる増幅部226と、からなる。センサ部225についてより詳細には、MI素子(磁気インピーダンス素子)からなるアモルファスワイヤ(図示略)に、パルス振幅回路(図示略)が接続されている。そして、当該パルス振幅回路からパルス電流がアモルファスワイヤへ出力されている状況において、アモルファスワイヤに対して磁気が印加されると、アモルファスワイヤのインピーダンスが変化する。さらに、本センサ部225ではアモルファスワイヤに対してピックアップコイル(図示略)が巻かれており、上記インピーダンスの変化によってピックアップコイルに誘起電圧が発生する。上記の増幅部226はオペアンプにより構成され、センサ部225におけるピックアップコイルに接続されている。そして、増幅部226はピックアップコイルに生じる誘起電圧を1〜N(Nは自然数)の係数(感度係数G)に従って増幅する機能を有している。すなわち、本実施形態では、磁気センサ221により検知される磁気の検知値は増幅部226によって1〜N倍に増幅される。   The magnetic sensor 221 according to the present embodiment includes a sensor unit 225 that generates a change in impedance based on applied magnetism, and an amplification unit 226 that amplifies the amount of change in the impedance. More specifically, the sensor unit 225 has a pulse amplitude circuit (not shown) connected to an amorphous wire (not shown) made of an MI element (magnetic impedance element). In a situation where a pulse current is output from the pulse amplitude circuit to the amorphous wire, when the magnetism is applied to the amorphous wire, the impedance of the amorphous wire changes. Further, in the sensor unit 225, a pickup coil (not shown) is wound around the amorphous wire, and an induced voltage is generated in the pickup coil due to the change in the impedance. The amplifying unit 226 includes an operational amplifier and is connected to a pickup coil in the sensor unit 225. The amplifying unit 226 has a function of amplifying the induced voltage generated in the pickup coil according to a coefficient (sensitivity coefficient G) of 1 to N (N is a natural number). That is, in this embodiment, the magnetic detection value detected by the magnetic sensor 221 is amplified by 1 to N times by the amplifying unit 226.

上記のように増幅部226により増幅される検知値とオフセット処理との関係について図30(b)を参照して説明する。図30(b)は、感度係数Gと検知値の関係を説明するための説明図である。なお、図30(b)においては、検知値の比較のため、各係数における検知値を重ねて表示している。   The relationship between the detection value amplified by the amplification unit 226 and the offset process as described above will be described with reference to FIG. FIG. 30B is an explanatory diagram for explaining the relationship between the sensitivity coefficient G and the detected value. In FIG. 30B, the detection values for the respective coefficients are displayed in an overlapping manner for comparison of the detection values.

既に説明したように、オフセット処理はTaからTbのタイミングにおいて検知値を監視してその平均値を0値として変更する処理であり、検知値の基準となる0値と、磁気検知状態とするか否かの判断基準となる閾値と、を周囲の磁気のレベルにあわせて移動する処理といえる。そして、増幅部226により検知値を増幅する際の係数(感度係数G)の決定はこのオフセット処理の後に実行される(図で示す調整用検知処理が、感度係数Gを決定する処理に相当する)。調整用検知処理については、後に詳細に説明するが、この処理では、所定期間に亘って検知値が閾値を越えるか否かを監視して感度係数Gを決定する。上記のようにオフセット処理では0値と閾値とを周囲の磁気のレベルにあわせて移動するものの、検知値の振幅によってはオフセット処理後の閾値と検知値との差が異なり得る。閾値と検知値との差が異なると、同じ強度の磁気が印加されても閾値を越えることもあれば超えないこともある。そこで、本実施形態では、オフセット処理後において磁気の検知値の振幅を感度係数Gによって調整する構成としている。   As already described, the offset process is a process of monitoring the detection value at the timing from Ta to Tb and changing the average value to 0 value. Whether the detection value is set to 0 value and the magnetic detection state. It can be said that the threshold value, which is a criterion for determining whether or not, is moved according to the surrounding magnetic level. Then, the determination of the coefficient (sensitivity coefficient G) when the detection value is amplified by the amplifying unit 226 is executed after this offset process (the detection process for adjustment shown in the figure corresponds to the process of determining the sensitivity coefficient G). ). The adjustment detection process will be described in detail later. In this process, the sensitivity coefficient G is determined by monitoring whether or not the detection value exceeds the threshold over a predetermined period. As described above, in the offset process, the zero value and the threshold value are moved in accordance with the surrounding magnetic level, but the difference between the threshold value after the offset process and the detected value may differ depending on the amplitude of the detected value. If the difference between the threshold value and the detection value is different, the threshold value may be exceeded or not exceeded even when magnetism of the same intensity is applied. Therefore, in the present embodiment, the amplitude of the magnetic detection value is adjusted by the sensitivity coefficient G after the offset processing.

ここで、本実施形態では、第1〜第3の実施形態とは異なり、閾値は予め定められた固定の値となっている。そしてその値は、第1〜第3の実施形態における閾値(感度レベル1〜4の閾値)よりも大きく設定されている。より具体的には、遊技ホールにて想定される磁気の最大値よりも大きい値(本実施形態では想定される磁気の最大値の5倍)としている。この遊技ホールにて想定される磁気とは、不正に印加される磁気は含まず、例えば地磁気や各種制御装置等による磁気であり、遊技ホールでの設置状態における内的要因である。なお、閾値を想定される磁気の最大値よりも大きい値に設定した作用については後に詳細に説明する。   Here, in the present embodiment, unlike the first to third embodiments, the threshold value is a predetermined fixed value. And the value is set larger than the threshold value (threshold value of sensitivity levels 1 to 4) in the first to third embodiments. More specifically, the value is larger than the maximum value of magnetism assumed in the game hall (in this embodiment, five times the maximum value of magnetism assumed). The magnetism assumed in the game hall does not include improperly applied magnetism, but is, for example, magnetism caused by geomagnetism or various control devices, and is an internal factor in the installation state in the game hall. The effect of setting the threshold value to a value larger than the assumed maximum value of magnetism will be described in detail later.

上記の調整用検知処理は、磁気センサモジュール81の第2オフセット処理内で実行される。ここで、本実施形態における第2オフセット処理について、図31のフローチャートを参照して説明する。   The adjustment detection process is executed in the second offset process of the magnetic sensor module 81. Here, the second offset processing in the present embodiment will be described with reference to the flowchart of FIG.

本実施形態における第2オフセット処理では、上記ステップS701〜ステップS707の処理と同様にステップS1701〜ステップS1707の処理を実行し、その後にステップS1708にて調整用検知処理を実行する。すなわち、調整用検知処理は、第2オフセット処理に成功(ステップS1706:YES)した場合であって、0値の上書き処理(ステップS1707)が行われた後に実行され、第2オフセット処理がエラーであった場合には実行されない。既に説明したとおり、0値の上書き処理では、0値とともに閾値も更新される。したがって、調整用検知処理は、0値及び閾値の更新後に実行される。   In the second offset process in the present embodiment, the processes in steps S1701 to S1707 are executed in the same manner as the processes in steps S701 to S707, and then the adjustment detection process is executed in step S1708. That is, the adjustment detection process is executed after the second offset process is successful (step S1706: YES), and is executed after the zero value overwriting process (step S1707) is performed, and the second offset process is an error. If there is, it will not be executed. As already described, in the zero value overwriting process, the threshold value is updated together with the zero value. Therefore, the adjustment detection process is executed after updating the zero value and the threshold value.

ここでステップS1708にて実行される調整用検知処理について、図32のフローチャートを参照して説明する。   Here, the detection process for adjustment executed in step S1708 will be described with reference to the flowchart of FIG.

先ずステップS1801にてRAM224に設けられた感度係数Gの数値情報を「1」に設定する処理を実行する。上記のように感度係数Gは検知値の増幅に用いられるものであり、例えば感度係数Gが「2」である場合には、増幅部226により検知値が2倍に増幅される。   First, in step S1801, processing for setting the numerical information of the sensitivity coefficient G provided in the RAM 224 to “1” is executed. As described above, the sensitivity coefficient G is used for amplification of the detection value. For example, when the sensitivity coefficient G is “2”, the detection value is amplified by the amplification unit 226 twice.

続くステップS1802では検知値の監視を行い、ステップS1803にて監視の終了タイミングであるか否かを判定し、終了タイミングではない場合にはステップS1802に戻る。つまり、ステップS1802及びステップS1803では、図30(b)に示すように、所定期間(TbからTcまでの期間)に亘って磁気の検知値を監視することになる。なお、本実施形態では所定期間として100msecが設定されている。   In subsequent step S1802, the detection value is monitored. In step S1803, it is determined whether or not it is the monitoring end timing. If it is not the end timing, the process returns to step S1802. That is, in step S1802 and step S1803, as shown in FIG. 30B, the magnetism detection value is monitored over a predetermined period (period from Tb to Tc). In the present embodiment, 100 msec is set as the predetermined period.

ステップS1803にて終了タイミングである場合には、ステップS1804に進む。ステップS1804では、ステップS1802にて監視した磁気の検知値が、閾値以上となったか否かを確認する。   If it is the end timing in step S1803, the process proceeds to step S1804. In step S1804, it is confirmed whether or not the magnetism detection value monitored in step S1802 is equal to or greater than a threshold value.

ステップS1804にて否定判定した場合、ステップS1805にて、感度係数Gが予め定められた所定値(本実施形態では20)であるか否かを判定し、所定値ではない場合には、ステップS1806にて感度係数Gに「1」を加算してからステップS1802に戻り、再度所定期間に亘って磁気の検知値の監視を行う。   If a negative determination is made in step S1804, it is determined in step S1805 whether or not the sensitivity coefficient G is a predetermined value (20 in the present embodiment). If not, step S1806 is determined. After adding "1" to the sensitivity coefficient G, the process returns to step S1802, and the magnetism detection value is again monitored over a predetermined period.

ステップS1805の所定値は、通常であれば当該所定値に従って検知値を増幅することで閾値を越えるに十分な値として設定されている。より具体的には、遊技ホールにて想定される磁気の最小の検知値を、当該所定値に従って増幅した場合に閾値を越えるように設定されている。つまり、通常であればステップS1805にて感度係数Gが所定値に達する前に、ステップS1802にて閾値以上の検知値となり、ステップS1804にて肯定判定する(ステップS1805へ進まない)。   The predetermined value in step S1805 is normally set as a value sufficient to exceed the threshold value by amplifying the detection value according to the predetermined value. More specifically, the threshold value is set so as to exceed the threshold when the minimum detection value of magnetism assumed in the game hall is amplified according to the predetermined value. That is, if it is normal, before the sensitivity coefficient G reaches a predetermined value in step S1805, the detected value is equal to or greater than the threshold value in step S1802, and an affirmative determination is made in step S1804 (does not proceed to step S1805).

ステップS1804にて肯定判定した場合は、ステップS1807にて、感度係数Gが「4」以下であるか否かを判定する。上記のように、本実施形態における閾値は、遊技ホールにて想定される磁気の最大値の5倍としており、通常であれば感度係数Gが「4」以下であるのにもかかわらず、ステップS1804で肯定判定(ステップS1802にて閾値以上の検知値)とはならない。ステップS1807にて感度係数Gが「4」よりも大きい場合には、ステップS1808にて感度係数Gから予め設定された数値(設定値)を減算する処理を実行し、ステップS1809に進む。ステップS1809では、上記ステップS1808にて減算された感度係数GをRAM224に設けられた感度係数記憶エリアに記憶させる処理を実行して、本調整用検知処理を終了する。   If an affirmative determination is made in step S1804, it is determined in step S1807 whether or not the sensitivity coefficient G is “4” or less. As described above, the threshold value in the present embodiment is set to five times the maximum value of magnetism assumed in the game hall. Normally, although the sensitivity coefficient G is “4” or less, the step is performed. In S1804, an affirmative determination (detected value equal to or greater than the threshold value in Step S1802) is not made. If the sensitivity coefficient G is larger than “4” in step S1807, a process of subtracting a preset numerical value (set value) from the sensitivity coefficient G is executed in step S1808, and the process proceeds to step S1809. In step S1809, a process of storing the sensitivity coefficient G subtracted in step S1808 in the sensitivity coefficient storage area provided in the RAM 224 is executed, and the adjustment detection process ends.

上記のステップS1808にて感度係数Gから減算する数値を大きくすると、閾値と検知値との幅は大きくなり、減算する数値を小さくすると、閾値と検知値との幅は小さくなる。同じ強度の磁気が印加された場合、閾値と検知値との幅が大きくなると閾値を超えにくくなり、閾値と検知値との幅が小さくなると閾値を越えやすくなる。つまり、上記のステップS1808にて感度係数Gから減算する数値は、感度レベルを示すものといえる。すなわち、本実施形態において感度レベルとは、上記第1〜第3の実施形態のように0値と閾値とにより規定されるものではなく、ステップS1808において感度係数から減算する数値によって定められる閾値と検知値との幅により規定される。この感度係数Gから減算する数値は、遊技ホールの管理者等が設定可能となっている。より詳細には、上記減算する数値を「1〜4」まで設定可能となっている。この設定には、第1の実施形態で示した感度レベル設定スイッチが用いられる。本実施形態では、感度レベルを下げたい場合には、感度レベル設定スイッチを操作することで、ステップS1808にて感度係数Gから減算する数値を大きくし、感度レベルを上げたい場合には、減算する数値を小さくする。この設定された減算する数値の情報は、主制御装置122側のセンサ確認処理(図19)のステップS801にて磁気センサモジュール81へ送信される。磁気センサモジュール81側では立ち上げ処理(図11)のステップS301の端子読み込み処理にて当該情報を読み取り、ステップS1808にて減算する数値を設定する。   When the numerical value to be subtracted from the sensitivity coefficient G in step S1808 is increased, the width between the threshold value and the detected value is increased. When the numerical value to be subtracted is decreased, the width between the threshold value and the detected value is decreased. When magnetism of the same strength is applied, it becomes difficult to exceed the threshold when the width between the threshold and the detection value increases, and the threshold is easily exceeded when the width between the threshold and the detection value decreases. That is, it can be said that the numerical value subtracted from the sensitivity coefficient G in step S1808 indicates the sensitivity level. That is, in this embodiment, the sensitivity level is not defined by the 0 value and the threshold as in the first to third embodiments, but is a threshold defined by the numerical value subtracted from the sensitivity coefficient in step S1808. It is defined by the width of the detected value. A numerical value to be subtracted from the sensitivity coefficient G can be set by a game hall manager or the like. More specifically, the numerical value to be subtracted can be set to “1-4”. For this setting, the sensitivity level setting switch shown in the first embodiment is used. In the present embodiment, if the sensitivity level is to be lowered, the sensitivity level setting switch is operated to increase the value to be subtracted from the sensitivity coefficient G in step S1808, and if the sensitivity level is to be increased, the sensitivity level is subtracted. Decrease the value. The set numerical value information to be subtracted is transmitted to the magnetic sensor module 81 in step S801 of the sensor confirmation process (FIG. 19) on the main controller 122 side. On the magnetic sensor module 81 side, the information is read in the terminal reading process in step S301 of the start-up process (FIG. 11), and a numerical value to be subtracted is set in step S1808.

ステップS1805にて感度係数Gが「20」である場合、又はステップS1807にて感度係数Gが「4」以下である場合には、ステップS1810に進む。上記のようにステップS1805にて感度係数Gが「20」である場合とは、通常であれば既に検知値が閾値を越えるはず(ステップS1804:YES)であり、磁気センサ221自身の故障や磁気センサ221の周囲に遮蔽物等が存在する等、何らかの要因で磁気センサモジュール81が磁気を検知することができない状態であることが考えられる。また、ステップS1807にて感度係数Gが「4」以下である場合とは、遊技ホールの磁気(ノイズ)が想定よりも大きい場合が考えられる。そこでステップS1810では、正常に磁気を検知できる状態ではないとして、RAM224に設けられたエラーフラグに「1」をセットして、本調整用検知処理を終了する。   If the sensitivity coefficient G is “20” in step S1805, or if the sensitivity coefficient G is “4” or less in step S1807, the process proceeds to step S1810. As described above, the case where the sensitivity coefficient G is “20” in step S1805 means that the detection value should already exceed the threshold value (step S1804: YES) if it is normal. It is conceivable that the magnetic sensor module 81 is unable to detect magnetism due to some factor, such as a shield or the like around the sensor 221. Further, the case where the sensitivity coefficient G is “4” or less in step S1807 may be a case where the magnetism (noise) of the game hall is larger than expected. In step S1810, assuming that the magnetism cannot be normally detected, “1” is set in the error flag provided in the RAM 224, and the adjustment detection process is terminated.

既に説明した通り、本実施形態における閾値は遊技ホールにて想定される磁気の最大値よりも大きい値に設定されている。仮に、遊技ホールにて想定される磁気の範囲内に閾値を設定すると、感度係数Gを上下する処理を用意しておく必要が生じる。そこで、本実施形態のように閾値を設定することで、上記ステップS1802〜ステップS1806にて感度係数Gを上げてゆくだけでよく、簡易な処理構成で感度係数Gを決定することができる。   As already described, the threshold in this embodiment is set to a value larger than the maximum value of magnetism assumed in the game hall. If a threshold value is set within the range of magnetism assumed in the game hall, it is necessary to prepare a process for raising and lowering the sensitivity coefficient G. Therefore, setting the threshold as in the present embodiment requires only increasing the sensitivity coefficient G in steps S1802 to S1806, and the sensitivity coefficient G can be determined with a simple processing configuration.

第2オフセット処理(図31)の説明に戻り、ステップS1708の処理を実行した後は、ステップS1709にて上記エラーフラグに「1」がセットされているか否かを判定する。エラーフラグに「1」がセットされていない場合には、ステップS1710にて検知状態信号をLOWレベル信号に設定して、第2オフセット処理を終了する。一方、エラーフラグに「1」がセットされている場合には、ステップS1711にて検知状態信号をHIレベル信号に設定して、第2オフセット処理を終了する。   Returning to the description of the second offset process (FIG. 31), after the process of step S1708 is executed, it is determined in step S1709 whether or not “1” is set in the error flag. If “1” is not set in the error flag, the detection state signal is set to the LOW level signal in step S1710, and the second offset processing is ended. On the other hand, if “1” is set in the error flag, the detection state signal is set to the HI level signal in step S1711 and the second offset processing is ended.

したがって本実施形態では、オフセット処理がエラーであった場合に加え、調整用検知処理がエラーであった場合にも第2エラー報知が行われる。これにより、遊技ホールの管理者等は第2エラー報知に基づいて所定の処置を行うことができる。調整用検知処理がエラーの場合とは、上記のように、磁気センサモジュール81が磁気を検知できない場合か、ノイズが想定よりも大きい場合である。前者の場合、磁気センサモジュール81の周囲に磁気を遮蔽する部材の有無を確認する処置や、磁気センサモジュール81自体を交換する処置が考えられる。また後者の場合、ノイズの原因を追究(例えば、周囲に電磁波を出力する機器が取り付けられていないか等)し、当該原因を取り除く処置や、磁気センサモジュール81の取り付け位置を再設計する処置が考えられる。このような処置を行う余地を残すことで、磁気センサモジュール81自体の故障や周囲の環境等によって磁気を検知できない状況であるのにもかかわらず、磁気センサモジュール81側で磁気検知処理が行われてしまうことを抑制することが可能となる。   Therefore, in the present embodiment, the second error notification is performed not only when the offset process is an error but also when the adjustment detection process is an error. Thereby, the administrator of the game hall and the like can perform a predetermined treatment based on the second error notification. The case where the adjustment detection process is an error is a case where the magnetic sensor module 81 cannot detect magnetism or a case where noise is larger than expected, as described above. In the former case, a treatment for confirming the presence or absence of a member that shields magnetism around the magnetic sensor module 81 or a treatment for replacing the magnetic sensor module 81 itself can be considered. In the latter case, the cause of the noise is investigated (for example, whether or not a device that outputs electromagnetic waves is attached to the surroundings), and the cause of the cause is removed, or the attachment position of the magnetic sensor module 81 is redesigned. Conceivable. By leaving room for such treatment, magnetic detection processing is performed on the magnetic sensor module 81 side despite the fact that magnetism cannot be detected due to the failure of the magnetic sensor module 81 itself or the surrounding environment. It becomes possible to suppress that.

なお、調整用検知処理にてエラーとなった場合と、オフセット処理にてエラーとなった場合とで、異なる報知が行われる構成としてもよい。この場合、遊技ホールの管理者は、エラーの原因がいずれの処理であったかを特定することができ、対処もスムーズに行うことが可能となる。またこれらの場合、遊技ホールの管理コンピュータに認識させるための情報を出力する構成としてもよい。   In addition, it is good also as a structure by which different alerting | reporting is performed by the case where it becomes an error in the detection process for adjustment, and the case where it becomes an error by offset processing. In this case, the manager of the game hall can identify which process is the cause of the error, and can deal with it smoothly. Further, in these cases, information for making the management computer of the game hall recognize may be used.

図による説明は省略するが、第2オフセット処理内で調整用検知処理を行う構成とした関係上、主制御装置122側において第2オフセット処理が終了したことを把握する構成は、調整用検知処理も含めて終了したことを把握する構成となっている。具体的には、センサ補正処理(図21)におけるステップS1008では、オフセットカウンタOTに「600」をセットする構成としている。これにより、磁気センサモジュール81に対してオフセット処理を指示(ステップS1011)してから、第2オフセット処理が終了したことを把握(ステップS1012にてオフセットカウンタOTが「0」であることを確認)するまでの期間は2400msecとなり、調整用検知処理も含めて第2オフセット処理が行われる期間(400〜2300msec)よりも長くなる。   Although not shown in the figure, the configuration for detecting that the second offset processing has been completed on the main controller 122 side is the adjustment detection processing because the adjustment detection processing is performed in the second offset processing. It is the structure which grasps that it was also completed including. Specifically, in step S1008 in the sensor correction process (FIG. 21), “600” is set in the offset counter OT. Thereby, after instructing the magnetic sensor module 81 to perform the offset process (step S1011), it is grasped that the second offset process is completed (in step S1012, it is confirmed that the offset counter OT is “0”). The period until this is 2400 msec, which is longer than the period during which the second offset process is performed (400 to 2300 msec) including the adjustment detection process.

以上詳述した本実施形態によれば、以下の優れた効果を奏する。   According to the embodiment described in detail above, the following excellent effects are obtained.

磁気センサモジュール81において検知値の振幅(感度係数G)を増幅部226により調整可能とした。上記のようにオフセット処理によって0値と閾値とが変更されるものの、検知値の振幅によっては変更後の閾値と検知値の差が異なることから、このように検知値の振幅を変更可能とすることで、より正確に感度レベルを調整することが可能となる。   In the magnetic sensor module 81, the amplitude (sensitivity coefficient G) of the detected value can be adjusted by the amplifying unit 226. Although the 0 value and the threshold value are changed by the offset processing as described above, the difference between the changed threshold value and the detected value differs depending on the detected value amplitude, and thus the detected value amplitude can be changed in this way. Thus, the sensitivity level can be adjusted more accurately.

検知値の振幅を変更する構成として、閾値を、想定される磁気(内的要因)よりも大きな値に設定した。これにより、調整用検知処理では感度係数Gを上げてゆくだけでよいため、簡素な処理構成で感度係数Gを決定することができる。   As a configuration for changing the amplitude of the detected value, the threshold value is set to a value larger than the assumed magnetism (internal factor). Thereby, since only the sensitivity coefficient G needs to be increased in the adjustment detection process, the sensitivity coefficient G can be determined with a simple processing configuration.

感度係数Gの決定に際しては、閾値を越える検知値が検知された場合よりも予め定められた数値だけ下げた係数となるようにした。そして、当該予め定められた数値を遊技ホールの管理者等が変更可能とした。調整用検知処理は、閾値と検知値との幅を決定する処理といえるため、その幅の基準となる上記数値は感度レベルを示すものといえる。したがって、本実施形態では当該数値を変更可能とすることで、磁気センサモジュール81の感度レベルを変更することができる。   In determining the sensitivity coefficient G, the coefficient is lowered by a predetermined numerical value compared to the case where a detection value exceeding the threshold is detected. The predetermined numerical value can be changed by a game hall manager or the like. Since the detection process for adjustment can be said to be a process for determining the width between the threshold value and the detection value, it can be said that the numerical value serving as the reference for the width indicates the sensitivity level. Therefore, in this embodiment, the sensitivity level of the magnetic sensor module 81 can be changed by making the numerical value changeable.

調整用検知処理を第2オフセット処理において0値及び閾値の更新後に実行する構成とした。これは、0値と閾値とを利用して磁気検知状態とするか否かの処理を行う構成においては、ノイズの強弱は0値と閾値(特に閾値)との関係によって判断されるものであるからである。仮に0値及び閾値の更新前にノイズの強弱を判断して感度係数Gを決定したとすると、更新された後の0値や閾値では、先にしたノイズの強弱の判断が覆される可能性もある。具体的には、例えば、0値及び閾値の更新前においてノイズが閾値を越えないぎりぎりのレベルで感度係数Gを決定したとしても、0値及び閾値はプラス側に更新されるため、当然にして閾値とノイズとの差は更新前に比べて大きくなってしまう。そこで、本実施形態のように更新後に調整用検知処理を実行する構成とすることで、ノイズと閾値との関係が崩れることがなく、その後の磁気検知処理において不正目的で印加される磁気を好適に特定することが可能となる。   The adjustment detection process is executed after the zero value and the threshold value are updated in the second offset process. In the configuration in which the process of determining whether to enter the magnetic detection state using the 0 value and the threshold value, the strength of the noise is determined by the relationship between the 0 value and the threshold value (particularly the threshold value). Because. If the sensitivity coefficient G is determined by determining the noise level before updating the 0 value and the threshold value, the previous determination of the noise level may be overturned by the updated 0 value or threshold value. There is also. Specifically, for example, even if the sensitivity coefficient G is determined at a level where the noise does not exceed the threshold before the 0 value and the threshold are updated, the 0 value and the threshold are updated to the plus side. The difference between the threshold and noise becomes larger than before the update. Therefore, by adopting a configuration in which the adjustment detection process is executed after the update as in the present embodiment, the relationship between the noise and the threshold is not disrupted, and magnetism applied for illegal purposes in the subsequent magnetic detection process is preferable. It becomes possible to specify.

<第5の実施形態>
本実施形態においては、オフセット処理の代わりに上記第4の実施形態で示した調整用検知処理が行われる。以下、具体的な構成を説明する。
<Fifth Embodiment>
In the present embodiment, the adjustment detection process shown in the fourth embodiment is performed instead of the offset process. A specific configuration will be described below.

先ず、本実施形態における磁気センサモジュール81の立ち上げ処理について、図33のフローチャートを参照して説明する。   First, the startup process of the magnetic sensor module 81 in the present embodiment will be described with reference to the flowchart of FIG.

本実施形態における立ち上げ処理では、先ずステップS301と同様にステップS1901にて端子読み込み処理を実行する。端子読み込み処理では、上記のように主制御装置122からの検知感度設定信号をもとに調整用検知処理において感度係数Gから減算する数値を設定する。続くステップS1902では、第1調整用検知処理を実行する。   In the start-up process according to the present embodiment, first, a terminal reading process is executed in step S1901 as in step S301. In the terminal reading process, a numerical value to be subtracted from the sensitivity coefficient G in the adjustment detection process is set based on the detection sensitivity setting signal from the main controller 122 as described above. In a succeeding step S1902, the first adjustment detection process is executed.

ここで第1調整用検知処理について、図34のフローチャートを参照して説明する。   Here, the first adjustment detection process will be described with reference to the flowchart of FIG.

第1調整用検知処理は、上記の調整用検知処理(図32)と概ね同様の処理である。第1の相違点としては、上記ステップS1802とステップS1803との間に、監視中の検知値がエラーの対象となるものであるか否かの判定処理が挿入されている点である。具体的には、ステップS1801及びステップS1802の処理と同様に、ステップS2001及びステップS2002の処理を実行した後、ステップS2003にてエラーの対象となるものであるか否かを判定する。エラーの対象となる場合とは、監視中の検知値が閾値を大幅に超えた場合と、監視中の検知値の最高値と最低値とのぶれ幅が所定値以上である場合と、である。すなわち、上記の第1〜第4の実施形態で示したオフセット処理の処理中に強力な磁気が印加された場合や、処理中に内枠13が開閉動作された場合に相当する。エラーの対象となるものではない場合には、ステップS2004に進み、終了タイミングであるか否かの判定を行い、終了タイミングでない場合にはステップS2002に戻る。   The first adjustment detection process is substantially the same as the adjustment detection process (FIG. 32). The first difference is that a determination process is performed between step S1802 and step S1803 to determine whether the detected value being monitored is an error target. Specifically, similar to the processing in step S1801 and step S1802, after executing the processing in step S2001 and step S2002, it is determined in step S2003 whether or not the target of the error. The case of being an error target is when the detected value being monitored greatly exceeds the threshold, and when the fluctuation width between the highest and lowest detected values being monitored is greater than or equal to a predetermined value. . That is, this corresponds to a case where strong magnetism is applied during the offset processing shown in the first to fourth embodiments, or a case where the inner frame 13 is opened and closed during the processing. If it is not an error target, the process proceeds to step S2004, where it is determined whether it is the end timing, and if it is not the end timing, the process returns to step S2002.

ステップS2004にて終了タイミングである場合には、ステップS1804〜1809の処理と同様に、ステップS2005〜ステップS2010の処理を実行して、第1調整用検知処理を終了する。但し、本実施形態ではステップS2006にて判定する所定値を「40」としており、上記第4の実施形態のものよりも大きく設定している。また、ステップS2008では「8」以下であるか否かを判定し、これも上記第4の実施形態のものよりも大きくなっている。これは、本実施形態では閾値を上記第4の実施形態のものよりも大きく設定していることに起因する。第4の実施形態では、調整用検知処理をオフセット処理後に行う構成としており、オフセット処理によってある程度は調整用検知処理の検知値が閾値を下回るようになっているため、閾値を想定される磁気の最大値よりも大きい値としているもののそれほど大きく設定する必要性が生じなかった。これに対して本実施形態では、オフセット処理を行わずに調整用検知処理を行う構成としているため、予め第4の実施形態の閾値よりも大きい値(具体的には想定される磁気の最大値の10倍)に設定し、調整用検知処理にて検知値が閾値を下回るようにしている。このように閾値を大きく設定している関係上、上記のようにステップS2006にて磁気センサ221の故障等か否かを判定する数値と、ステップS2008にてノイズレベルが想定よりも大きいと判断する数値と、を第4の実施形態よりも大きく設定している。以上が調整用検知処理(図32)との第2の相違点である。   If it is the end timing in step S2004, the processing of steps S2005 to S2010 is executed in the same manner as the processing of steps S1804 to 1809, and the first adjustment detection processing is ended. However, in the present embodiment, the predetermined value determined in step S2006 is “40”, which is set to be larger than that in the fourth embodiment. In step S2008, it is determined whether or not it is “8” or less, which is also larger than that of the fourth embodiment. This is due to the fact that in this embodiment, the threshold is set larger than that in the fourth embodiment. In the fourth embodiment, the adjustment detection process is performed after the offset process, and the detection value of the adjustment detection process is less than the threshold value to some extent by the offset process. Although the value is larger than the maximum value, it is not necessary to set the value so large. On the other hand, in the present embodiment, since the adjustment detection process is performed without performing the offset process, a value larger than the threshold value of the fourth embodiment in advance (specifically, the maximum value of magnetism assumed). The detection value is set to be lower than the threshold value in the adjustment detection process. Since the threshold value is set to be large as described above, the numerical value for determining whether or not the magnetic sensor 221 has failed or the like in step S2006 as described above, and the noise level is determined to be higher than expected in step S2008. Numerical values are set larger than those in the fourth embodiment. The above is the second difference from the adjustment detection process (FIG. 32).

第1調整用検知処理(図34)の説明に戻り、ステップS2003にてエラーの対象となる場合、ステップS2006にて感度係数Gが「40」である場合、又はステップS2008にて感度係数Gが「8」以下である場合には、ステップS2010に進み、エラー値として検知値にマイナス値を入力し、第1調整用検知処理を終了する。   Returning to the description of the first adjustment detection process (FIG. 34), when an error is detected in step S2003, the sensitivity coefficient G is “40” in step S2006, or the sensitivity coefficient G is determined in step S2008. If it is “8” or less, the process advances to step S2010 to input a negative value to the detection value as an error value, and the first adjustment detection process ends.

立ち上げ処理(図33)の説明に戻り、ステップS1902にて第1調整用検知処理を実行した後は、ステップS1903にて第1調整用検知処理に成功したか否かを判定する。具体的には、検知値にマイナス値が入力されているか否かを確認することで、第1調整用検知処理に成功したか否かを判定することができる。ステップS1903にて第1調整用検知処理に成功している場合には、そのまま立ち上げ処理を終了する。成功していない場合にはステップS304及びステップS305と同様に、ステップS1904にてRAM224のクリアを実行して、続くステップS1905にて検知状態信号をHIレベル信号に設定してからステップS1902に戻り、再度第1調整用検知処理を実行する。   Returning to the description of the startup process (FIG. 33), after the first adjustment detection process is executed in step S1902, it is determined in step S1903 whether the first adjustment detection process is successful. Specifically, it is possible to determine whether or not the first adjustment detection process is successful by confirming whether or not a negative value is input as the detection value. If the first adjustment detection process has succeeded in step S1903, the start-up process ends. If not successful, as in steps S304 and S305, the RAM 224 is cleared in step S1904, the detection state signal is set to the HI level signal in step S1905, and the process returns to step S1902. The first adjustment detection process is executed again.

次に、本実施形態における磁気センサモジュール81の通常処理について、図35のフローチャートを参照して説明する。   Next, normal processing of the magnetic sensor module 81 in the present embodiment will be described with reference to the flowchart of FIG.

本実施形態における通常処理では、先ずステップS501と同様にステップS2101にて磁気検知処理を実行する。続くステップS2102では、調整信号の読み込み処理を実行する。本実施形態においては、主制御装置122はオフセット信号の代わりに調整信号を磁気センサモジュール81に対して送信する構成としている。具体的には、センサ補正処理(図21)におけるステップS1011では調整信号をHIレベル信号に設定し、また、ステップS1018では調整信号をLOWレベル信号に設定する構成としている。さらに、ステップS906及びステップS1001では調整信号をHIレベル信号で出力中か否かを判定する構成としている。   In the normal process in the present embodiment, first, the magnetic detection process is executed in step S2101 as in step S501. In a succeeding step S2102, an adjustment signal reading process is executed. In this embodiment, the main controller 122 is configured to transmit an adjustment signal to the magnetic sensor module 81 instead of the offset signal. Specifically, in step S1011 in the sensor correction process (FIG. 21), the adjustment signal is set to the HI level signal, and in step S1018, the adjustment signal is set to the LOW level signal. Further, in steps S906 and S1001, it is determined whether or not the adjustment signal is being output as a HI level signal.

続くステップS2103では、調整信号がLOWレベル信号からHIレベル信号に切り替えられたか否かを判定し、切り替えられた場合にはステップS2104にてRAM224に設けられた調整中フラグに「1」をセットする。調整中フラグは、上記のオフセット中フラグに対応するものである。   In the following step S2103, it is determined whether or not the adjustment signal has been switched from the LOW level signal to the HI level signal. If switched, “1” is set to the adjustment in-progress flag provided in the RAM 224 in step S2104. . The in-adjustment flag corresponds to the above-described offset flag.

ステップS2103にて否定判定した場合、又はステップS2104の処理を実行した後は、ステップS2105に進む。ステップS2105では、上記の調整中フラグに「1」がセットされているか否かを判定し、セットされている場合にはステップS2106にて第2調整用検知処理を実行した後に、通常処理を終了する。ステップS2105にて調整中フラグに「1」がセットされていなければ、そのまま通常処理を終了する。   If a negative determination is made in step S2103, or after the process of step S2104 is executed, the process proceeds to step S2105. In step S2105, it is determined whether or not “1” is set in the adjustment in progress flag. If it is set, the second adjustment detection process is executed in step S2106, and then the normal process ends. To do. If “1” is not set in the adjustment-in-progress flag in step S2105, the normal process is terminated as it is.

ここで、ステップS2106にて実行される第2調整用検知処理について図36のフローチャートを参照して説明する。   Here, the second adjustment detection process executed in step S2106 will be described with reference to the flowchart of FIG.

第2調整用検知処理は、上記の第1調整用検知処理(図34)と概ね同様の処理である。相違点としては、上記のようにエラーの対象となる場合には、第2調整用検知処理の終了を待たずに検知状態信号をHIレベル信号に設定する点と、エラーとならずに終了する場合には検知状態信号をLOWレベル信号に設定する点である。   The second adjustment detection process is substantially the same process as the first adjustment detection process (FIG. 34). As a difference, when an error is caused as described above, the detection state signal is set to the HI level signal without waiting for the end of the second adjustment detection process, and the process ends without an error. In this case, the detection state signal is set to a LOW level signal.

具体的には、ステップS2001〜ステップS2010と同様にステップS2201〜ステップS2210の処理が行われる。ステップS2210にて感度係数Gを記憶した後は、ステップS2211にて検知状態信号をLOWレベル信号に設定し、第2調整用検知処理を終了する。また、ステップS2203にてエラーの対象となっている場合、ステップS2206にて感度係数Gが「40」である場合、又はステップS2208にて感度係数Gが「8」以下である場合には、ステップS2212にて検知状態信号をHIレベル信号に設定し、第2調整用検知処理を終了する。   Specifically, the processing of step S2201 to step S2210 is performed similarly to step S2001 to step S2010. After the sensitivity coefficient G is stored in step S2210, the detection state signal is set to a LOW level signal in step S2211, and the second adjustment detection process ends. Also, if an error is detected in step S2203, if the sensitivity coefficient G is “40” in step S2206, or if the sensitivity coefficient G is “8” or less in step S2208, step In S2212, the detection state signal is set to the HI level signal, and the second adjustment detection process ends.

主制御装置122側の処理の他の変更点としては、センサ確認処理(図19)におけるステップS802の待機処理では、第1調整用検知処理が終了するまで待機し、具体的には4000msec待機する。したがって、上記第4の実施形態よりも電源投入時の処理期間は長期間となる。   As another change of the process on the main controller 122 side, in the standby process of step S802 in the sensor confirmation process (FIG. 19), the process waits until the first adjustment detection process is completed, specifically, 4000 msec. . Therefore, the processing period when the power is turned on is longer than that in the fourth embodiment.

これに対して、センサ補正処理(図21)におけるステップS1008では、オフセットカウンタOTに「10」をセットし、当該オフセットカウンタOTが「0」となるまでに要する期間が上記第1の実施形態よりも短い期間となるように設定する。これは、調整信号がLOWレベル信号からHIレベル信号に切り替えられたことを、磁気センサモジュール81が特定可能な最低限の期間である20msecに対応する数値である。そして、主制御装置122では調整信号をLOWレベル信号で出力中にHIレベル信号の検知状態信号を受信した場合には、検知状態信号読み込み処理(図20)にて検知状態フラグに「1」をセットし(ステップS901:YES、ステップS906:NO)、磁気検知用処理(図22)にて磁気が検知された場合と同様の処理を行う。これは、本実施形態では、上記のように第2調整用検知処理においてエラーの対象となる場合には、当該第2調整用検知処理の終了を待たずに検知状態信号がHIレベル信号に設定される構成としているため、この場合には直ちに報知を行うことが好ましい。また、第2調整用検知処理の前に第1調整用検知処理を行っているため、第2調整用検知処理でのエラーは不正目的で磁気が印加された可能性が高い。そこで上記のような構成とすることで、第1調整用検知処理の処理期間は長くなるものの、第2調整用検知処理にてエラーとなった場合には遊技ホールの管理者は直ちにそれを特定することが可能となる。   On the other hand, in step S1008 in the sensor correction process (FIG. 21), “10” is set in the offset counter OT, and the period required until the offset counter OT becomes “0” is longer than that in the first embodiment. Also set to be a short period. This is a numerical value corresponding to 20 msec which is the minimum period in which the magnetic sensor module 81 can specify that the adjustment signal has been switched from the LOW level signal to the HI level signal. When the main controller 122 receives the detection state signal of the HI level signal while outputting the adjustment signal as the LOW level signal, the detection state flag is set to “1” in the detection state signal reading process (FIG. 20). It sets (step S901: YES, step S906: NO), and performs the same processing as when magnetism is detected in the magnetism detection processing (FIG. 22). In the present embodiment, in the case where an error is detected in the second adjustment detection process as described above, the detection state signal is set to the HI level signal without waiting for the end of the second adjustment detection process. In this case, it is preferable to notify immediately. In addition, since the first adjustment detection process is performed before the second adjustment detection process, an error in the second adjustment detection process is highly likely to have been applied with magnetism for illegal purposes. Therefore, with the configuration as described above, the processing period of the first adjustment detection process becomes longer, but if an error occurs in the second adjustment detection process, the game hall manager immediately identifies it. It becomes possible to do.

なお、磁気検知用処理にて磁気が検知された場合と、第2調整用検知処理にてエラーとなった場合とで、異なる報知が行われるようにしてもよい。   Note that different notifications may be performed when magnetism is detected in the magnetic detection process and when an error occurs in the second adjustment detection process.

以上詳述した本実施形態によれば、以下の優れた効果を奏する。   According to the embodiment described in detail above, the following excellent effects are obtained.

上記第1の実施形態において、オフセット処理の代わりに調整用検知処理を実行する構成とした。具体的には、第2調整用検知処理の契機となる調整信号は、主制御装置122側のセンサ補正処理にて内枠13が閉鎖状態であることを条件にLOWレベル信号からHIレベル信号に切り替えられる。したがって、上記第1の実施形態における第2オフセット処理と同様に、本実施形態における第2調整用検知処理も、主制御装置122側の初期駆動が終了した後のタイミングであって、内枠13が閉鎖状態であることを条件に実行される。このような構成とすることで、他のパチンコ機10に設けられた各制御装置等から発生する磁気を加味せずに、感度係数Gを決定することができる。   In the first embodiment, the adjustment detection process is executed instead of the offset process. Specifically, the adjustment signal that triggers the second adjustment detection process is changed from the LOW level signal to the HI level signal on the condition that the inner frame 13 is closed in the sensor correction process on the main controller 122 side. Can be switched. Therefore, similarly to the second offset process in the first embodiment, the second adjustment detection process in the present embodiment is the timing after the initial drive on the main controller 122 side is completed, and the inner frame 13 Is executed on the condition that is closed. By setting it as such a structure, the sensitivity coefficient G can be determined, without taking into consideration the magnetism which generate | occur | produces from each control apparatus etc. which were provided in the other pachinko machine 10.

調整用検知処理は、閾値との関係で磁気の検知値の振幅を周囲の磁気の強さ(ノイズのレベル)にあわせる処理である。一方、オフセット処理は、周囲の磁気の強さにあわせて閾値と0値とを変更する処理である。したがって、オフセット処理の代わりに調整用検知処理を実行する構成としても、少なくとも周囲の磁気を加味してその後の磁気検知処理を行ってしまう不都合を回避することができる。   The adjustment detection process is a process for adjusting the amplitude of the magnetic detection value to the surrounding magnetic strength (noise level) in relation to the threshold value. On the other hand, the offset process is a process of changing the threshold value and the zero value according to the strength of the surrounding magnetism. Therefore, even when the adjustment detection process is executed instead of the offset process, it is possible to avoid the inconvenience of performing the subsequent magnetic detection process in consideration of at least the surrounding magnetism.

予め定められた閾値を第4の実施形態のものよりも大きく設定した。より具体的には、第4の実施形態では遊技ホールにて想定される磁気の最大値よりも大きく設定し、本実施形態では、その第4の実施形態における閾値よりも更に大きく設定している。したがってオフセット処理を行わない構成としても、調整用検知処理における検知値を監視する処理で、いきなり閾値を越えてしまう不都合を回避することができる。これにより、調整用検知処理では感度係数Gを上げてゆくだけでよく、簡素な処理構成で感度係数Gを決定することが可能となる。   A predetermined threshold value was set larger than that in the fourth embodiment. More specifically, in the fourth embodiment, it is set larger than the maximum value of magnetism assumed in the game hall, and in this embodiment, it is set larger than the threshold value in the fourth embodiment. . Therefore, even when the offset process is not performed, the process of monitoring the detection value in the adjustment detection process can avoid the inconvenience of suddenly exceeding the threshold value. Thereby, it is only necessary to increase the sensitivity coefficient G in the adjustment detection process, and the sensitivity coefficient G can be determined with a simple processing configuration.

またオフセット処理は、例えば周囲の磁気が閾値に対して微弱であった場合には、磁気センサモジュール81の検出限界(下限)付近で0値の設定が行われるため、安定した設定が行われない可能性もある。その点、調整用検知処理では、検知値の振幅を周囲の磁気の強さにあわせて設定するため、周囲の磁気が微弱であった場合にも安定して磁気センサモジュール81側の設定を行うことが可能となる。この点において、オフセット処理の代わりに調整用検知処理を行う利点がある。   In addition, in the offset process, for example, when the surrounding magnetism is weak with respect to the threshold value, the zero value is set near the detection limit (lower limit) of the magnetic sensor module 81, so that the stable setting is not performed. There is a possibility. In this regard, in the adjustment detection process, the amplitude of the detection value is set in accordance with the strength of the surrounding magnetism. Therefore, even when the surrounding magnetism is weak, the setting on the magnetic sensor module 81 side is stably performed. It becomes possible. In this respect, there is an advantage that the adjustment detection process is performed instead of the offset process.

但し、調整用検知処理は、増幅部226により感度係数Gを設定する構成であり、オフセット処理はソフト的な処理によって磁気センサモジュール81の設定を行う構成であるため、磁気センサモジュール81の構成の簡素化という観点からすると、オフセット処理により磁気センサモジュール81の設定を行う構成が適している。   However, the detection processing for adjustment is a configuration in which the sensitivity coefficient G is set by the amplification unit 226, and the offset processing is a configuration in which the magnetic sensor module 81 is set by software processing. From the viewpoint of simplification, a configuration in which the magnetic sensor module 81 is set by offset processing is suitable.

また、上記のように閾値を第4の実施形態よりも大きくしている関係から、調整用検知処理において検知値が閾値を越えるか否かを監視する処理の処理回数が第4の実施形態よりも多くなり、処理にかかる時間も長くなる。この点において、第4の実施形態のようにオフセット処理と調整用検知処理とを行う構成のほうが優れている。   In addition, since the threshold value is larger than that in the fourth embodiment as described above, the number of processing times for monitoring whether or not the detection value exceeds the threshold value in the adjustment detection processing is larger than that in the fourth embodiment. And the processing time becomes longer. In this respect, the configuration that performs the offset process and the adjustment detection process as in the fourth embodiment is superior.

<他の実施形態>
なお、上述した各実施形態の記載内容に限定されず例えば次のように実施してもよい。ちなみに、以下の各構成を個別に上記各実施形態に対して適用してもよく、一部又は全部を組み合わせて上記各実施形態に対して適用してもよい。
<Other embodiments>
In addition, it is not limited to the description content of each embodiment mentioned above, For example, you may implement as follows. Incidentally, each of the following configurations may be individually applied to each of the above embodiments, or a part or all of them may be combined and applied to each of the above embodiments.

(1)上記各実施形態においては、主制御装置122が磁気センサモジュール81に対してオフセット処理(調整用検知処理)を実行させた後は、内枠13が開閉動作されても再度オフセット処理(調整用検知処理)を実行させない構成としたが、再度実行させる構成としてもよい。本構成とすると、遊技ホールの営業中にもオフセット処理(調整用検知処理)を実行することになり、よりパチンコ機10が通常駆動する状態に近い状態でオフセット処理(調整用検知処理)を実行させることができる。ただしこの場合、上記のとおり、オフセット処理(調整用検知処理)中に不正に磁気を印加して不正な値で検知値を校正させる又は感度係数Gを決定させる行為が懸念される。しかしこの場合であっても、オフセット処理(調整用検知処理)中に所定の数値以上の磁気を検知した場合には磁気センサモジュール81はエラー値を入力する構成としていることから、少なくとも上記懸念される行為は抑制可能である。   (1) In each of the embodiments described above, after the main controller 122 causes the magnetic sensor module 81 to perform the offset process (adjustment detection process), the offset process (the offset process again) even if the inner frame 13 is opened and closed The adjustment detection process is not executed, but may be executed again. With this configuration, offset processing (adjustment detection processing) is executed even while the game hall is in operation, and offset processing (adjustment detection processing) is executed in a state closer to the state in which the pachinko machine 10 is normally driven. Can be made. However, in this case, as described above, there is a concern about the act of improperly applying magnetism during the offset process (adjustment detection process) to calibrate the detection value with an incorrect value or to determine the sensitivity coefficient G. However, even in this case, the magnetic sensor module 81 is configured to input an error value when the magnetism of a predetermined value or more is detected during the offset process (adjustment detection process). Can be suppressed.

(2)上記各実施形態において、磁気センサモジュール81にオフセット処理(調整用検知処理)を実行させるタイミングは、上記のものに限定されない。電源投入時に発生する磁気や磁場の変化を調整の対象外とする観点からすると、パチンコ機10の電源投入時の各制御装置に初期駆動が終了した後にオフセット処理(調整用検知処理)を実行させる構成であればよい。例えば、電源投入後に定期的に実行されるタイマ割込み処理(図10)の処理回数が所定の回数となった場合にオフセット処理(調整用検知処理)を実行させてもよく、電源投入後の所定期間をカウントするタイマカウンタを設け当該タイマカウンタが所定値になった場合にオフセット処理(調整用検知処理)を実行させる構成としてもよく、電断監視基板202の監視する電圧値が所定値となった場合にオフセット処理(調整用検知処理)を実行させる構成としてもよい。   (2) In each of the above embodiments, the timing at which the magnetic sensor module 81 executes the offset process (adjustment detection process) is not limited to the above. From the viewpoint of excluding changes in magnetism and magnetic field generated at power-on, each control device at power-on of the pachinko machine 10 is caused to execute an offset process (adjustment detection process) after the initial drive is completed. Any configuration may be used. For example, the offset process (adjustment detection process) may be executed when the number of times of the timer interrupt process (FIG. 10) periodically executed after power-on reaches a predetermined number. A timer counter that counts the period may be provided, and an offset process (adjustment detection process) may be executed when the timer counter reaches a predetermined value. The voltage value monitored by the power interruption monitoring board 202 becomes a predetermined value. In such a case, an offset process (adjustment detection process) may be executed.

更に、この観点からすると、磁気センサモジュール81への電力供給経路上に、クロック回路等を設け、パチンコ機10の電源投入後、所定期間経過後に磁気センサモジュール81に電力が供給される構成としてもよい。この場合、各制御装置の初期駆動後に磁気センサモジュール81に電源が投入される構成とするとよい。   Further, from this point of view, a configuration may be adopted in which a clock circuit or the like is provided on the power supply path to the magnetic sensor module 81 so that power is supplied to the magnetic sensor module 81 after a predetermined period of time has elapsed after the pachinko machine 10 is turned on. Good. In this case, the magnetic sensor module 81 may be turned on after the initial drive of each control device.

また、各種制御装置の初期駆動後として、タイマ割込み処理の各処理を実行するタイミング、例えば、遊技球の発射がなされたタイミングでオフセット処理(調整用検知処理)を実行させる構成であってもよく、払出装置154からの賞球の払い出しが行われたタイミングでオフセット処理(調整用検知処理)を実行させる構成であってもよく、各制御装置に接続されたいずれかの駆動部が駆動状態となったタイミングでオフセット処理(調整用検知処理)を実行させる構成であってもよい。   Further, after the initial driving of the various control devices, the offset processing (adjustment detection processing) may be executed at the timing when each processing of the timer interrupt processing is executed, for example, when the game ball is fired. The offset processing (adjustment detection processing) may be executed at the timing when the prize ball is paid out from the payout device 154, and any one of the drive units connected to each control device is in the drive state. The offset processing (adjustment detection processing) may be executed at the timing.

(3)磁気センサモジュール81は、内枠開放スイッチ13aから電源及び発射制御装置163を介して主制御装置122の主制御基板201に接続される構成として、主制御基板201からのオフセット信号(調整信号)を基にオフセット処理(調整用検知処理)を実行する構成としたが、他の制御装置を介して内枠開放スイッチ13aと接続される構成としてもよく、内枠開放スイッチ13aと直接接続される構成としてもよい。他の制御装置を介して内枠開放スイッチ13aと接続される構成の場合、当該他の制御装置から磁気センサモジュール81にオフセット信号(調整信号)が出力される構成とするとよく、内枠開放スイッチ13aと直接接続される構成の場合、磁気センサモジュール81のMPU222に内枠開放スイッチ13aからの内枠開放信号のHI/LOWを識別する処理を付加して、オフセット処理(調整用検知処理)を実行すべきタイミングを自身が判断する構成とするとよい。   (3) The magnetic sensor module 81 is configured to be connected to the main control board 201 of the main control apparatus 122 from the inner frame opening switch 13a via the power supply and launch control apparatus 163, and the offset signal from the main control board 201 (adjustment) The offset processing (adjustment detection processing) is executed based on the signal). However, the offset processing (adjustment detection processing) may be connected to the inner frame opening switch 13a via another control device, or directly connected to the inner frame opening switch 13a. It is good also as a structure to be made. In the case of a configuration connected to the inner frame opening switch 13a via another control device, an offset signal (adjustment signal) may be output from the other control device to the magnetic sensor module 81. In the case of a configuration directly connected to 13a, the MPU 222 of the magnetic sensor module 81 is added with a process for identifying HI / LOW of the inner frame release signal from the inner frame release switch 13a, and an offset process (adjustment detection process) is performed. It may be configured to determine the timing to be executed by itself.

(4)各オフセット処理において、第5の実施形態のように、検知値の積算処理にて所定の基準値以上の磁気が検知された場合、及び平均化処理にて所定の幅以上のぶれ幅である場合、に検知値にエラー値を入力するとともに、主制御装置122側へ当該エラーの情報を出力する構成としてもよい。具体的には、検知値にエラー値を入力する際に、第1,第3及び第4の実施形態では、検知状態信号をHIレベル信号に設定し、第2の実施形態では、エラー信号を出力する構成としてもよい。これにより、オフセット処理中に不正に磁気が印加された場合の報知(各エラー報知)をより早く実行することができ、ホール管理者はより早急に当該不正行為を特定することが可能となる。   (4) In each offset process, as in the fifth embodiment, when a magnetism of a predetermined reference value or more is detected in the detection value integration process, and the blur width of a predetermined width or more in the averaging process In this case, an error value may be input to the detected value and the error information may be output to the main control device 122 side. Specifically, when an error value is input to the detection value, the detection state signal is set to the HI level signal in the first, third, and fourth embodiments, and the error signal is set to the second embodiment. It is good also as a structure to output. Thereby, notification (each error notification) when magnetism is improperly applied during the offset processing can be executed earlier, and the hall manager can identify the fraudulent act more quickly.

(5)磁気センサモジュール81のオフセット処理(第2調整用検知処理)中に内枠13の開放がなされた場合には、エラーとする構成としてもよい。より具体的には、タイマ割込み処理(図10)の読み込み処理(ステップS209)にて、オフセット信号(調整信号)をHIレベル信号で出力している場合に内枠開放信号がHIレベル信号となった場合に、エラーフラグに「1」をセットする処理を加えるとよい。既に説明したとおり、オフセット処理(第2調整用検知処理)中の検知値のぶれ幅が所定値以上となった場合にエラーとする構成としているが、当該所定値は絶対的な値なのに対して、内枠13が開閉されることによる検知値のぶれは相対的なものであるため、オフセット処理(第2調整用検知処理)中に内枠13が開放されてもエラーとならない場合も想定される。例えば、オフセット処理(第2調整用検知処理)中に内枠13に不正治具を挿入できる程度開放させて磁気を印加して当該オフセット処理(第2調整用検知処理)による0値をプラス側にずらす(第2調整用検知処理の場合には感度係数Gを低くする)不正行為が考えられる。これに対して、本構成によれば、オフセット処理(第2調整用検知処理)中に内枠13が開放された場合にはエラーとなりエラー報知が実行されるため、オフセット処理(第2調整用検知処理)中の検知値のぶれ幅が所定値未満であっても上記不正行為を特定することが可能となる。   (5) If the inner frame 13 is opened during the offset process (second adjustment detection process) of the magnetic sensor module 81, an error may be generated. More specifically, when the offset signal (adjustment signal) is output as the HI level signal in the reading process (step S209) of the timer interrupt process (FIG. 10), the inner frame release signal becomes the HI level signal. In such a case, a process of setting “1” to the error flag may be added. As already described, an error occurs when the fluctuation width of the detected value during the offset process (second adjustment detection process) exceeds a predetermined value, but the predetermined value is an absolute value. Since the fluctuation of the detection value due to the opening and closing of the inner frame 13 is relative, it may be assumed that no error occurs even if the inner frame 13 is opened during the offset process (second adjustment detection process). The For example, during offset processing (second adjustment detection processing), the inner frame 13 is opened to the extent that an illegal jig can be inserted, and magnetism is applied to set the zero value by the offset processing (second adjustment detection processing) to the plus side. An illegal act of shifting to (in the case of the second adjustment detection process, lowering the sensitivity coefficient G) is conceivable. On the other hand, according to this configuration, if the inner frame 13 is released during the offset process (second adjustment detection process), an error occurs and error notification is executed. Even if the fluctuation range of the detected value during the detection process) is less than the predetermined value, it is possible to specify the fraud.

(6)磁気センサモジュール81の磁気センサ221は、MI素子からなるものに限定されず、ホール素子やMR素子等であってもよく、少なくともMPU222が磁気の検知値を校正することが可能又は磁気センサ221の検知値の振幅を変更可能なように接続されるものであればよい。   (6) The magnetic sensor 221 of the magnetic sensor module 81 is not limited to an MI element, and may be a Hall element, an MR element, or the like, and at least the MPU 222 can calibrate the magnetic detection value or magnetic. What is necessary is just to be connected so that the amplitude of the detection value of the sensor 221 can be changed.

また、スイッチングタイプの磁気検知センサを用いる場合には、当該磁気検知センサを主制御装置122に接続し、磁気を検知した場合に接触するスイッチ同士の接触面の大きさ等から電流の抵抗値を算出して磁気の検知値とするとよい。これにより、スイッチングタイプの磁気検知センサであっても磁気の検知値を校正することが可能となる。   Also, when using a switching type magnetic detection sensor, connect the magnetic detection sensor to the main control device 122, and when the magnetism is detected, the resistance value of the current is determined from the size of the contact surface between the switches that contact each other. It is good to calculate and use as a magnetism detection value. Thereby, even if it is a switching type magnetic detection sensor, it becomes possible to calibrate the magnetic detection value.

さらに、第4,第5の実施形態のように増幅部226により検知値を増幅させる構成に限定されず、例えば、センサ部225へ出力される電圧やパルス振幅等の変更により検知値を増幅させる構成としてもよい。   Furthermore, the configuration is not limited to the configuration in which the detection value is amplified by the amplification unit 226 as in the fourth and fifth embodiments. For example, the detection value is amplified by changing the voltage output to the sensor unit 225, the pulse amplitude, or the like. It is good also as a structure.

(7)磁気センサモジュール81は、遊技球発射機構40における遊技球の発射周期よりも短い期間である60msec間に複数回(3回)磁気を検知した場合に磁気検知状態とする構成としたが、遊技球の発射周期(0.6sec)よりも短ければ当該期間は60msecに限定されず、これよりも長くても短くてもよい。   (7) The magnetic sensor module 81 is configured to be in a magnetic detection state when magnetism is detected a plurality of times (three times) during 60 msec, which is a period shorter than the game ball launch cycle in the game ball launch mechanism 40. The period is not limited to 60 msec as long as it is shorter than the game ball firing cycle (0.6 sec), and may be longer or shorter.

また、他の駆動部の駆動周期よりも短い期間に設定してもよい。例えば、可変入賞装置54を開閉駆動する駆動周期として開閉実行モードのラウンド周期よりも短い期間としてもよく、払出装置154が遊技球を払い出す周期よりも短い期間としてもよい。   Moreover, you may set to a period shorter than the drive period of another drive part. For example, the drive cycle for opening and closing the variable winning device 54 may be a period shorter than the round cycle of the opening / closing execution mode, or may be a period shorter than the cycle in which the payout device 154 pays out game balls.

これら設定した期間内において磁気検知状態とする検知回数は、複数回であれば3回に限定されるものではないことは、言うまでもない。   It goes without saying that the number of times of detection in the magnetic detection state within these set periods is not limited to three as long as it is a plurality of times.

(8)磁気センサモジュール81は、方位フィルタ処理(図15におけるステップS507)にて、前方から印加された磁気のみ抽出する処理を実行する構成としたが、後方から印加された磁気を抽出する構成としてもよく、上方又は下方から印加された磁気を抽出する構成としてもよく、これら各方位の磁気を組み合わせて又は全部抽出する構成としてもよい。前方以外から印加される磁気を検知対象とすることで、不正に印加される磁気以外も検知対象に含まれることになり得るものの、不正に印加される磁気は前方からのみとは限られないため不正対策としては強力なものとなる。また抽出する方位を増やすことで、磁気センサモジュール81をパチンコ機10に設置する際の取り付け方向に自由度が増し、設置作業の簡素化を図ることも可能である。   (8) The magnetic sensor module 81 is configured to execute only the magnetism applied from the front in the azimuth filter processing (step S507 in FIG. 15), but the configuration is to extract the magnetism applied from the rear. Alternatively, the configuration may be such that magnetism applied from above or below is extracted, or the configuration may be such that the magnetism in each direction is combined or extracted entirely. By setting magnetism applied from other than the front as the detection target, it is possible that other than improperly applied magnetism may be included in the detection target, but illegally applied magnetism is not limited to the front. It is a powerful anti-fraud measure. Further, by increasing the orientation to be extracted, the degree of freedom in the mounting direction when the magnetic sensor module 81 is installed in the pachinko machine 10 is increased, and the installation work can be simplified.

また、これら各方位の磁気の検知値の閾値をそれぞれ異ならせる構成としてもよい。この場合、特に後方からの磁気の検知値の閾値を前方からの磁気の検知値の閾値よりも大きくすることで、各制御装置から発生する磁気を検知対象としない構成とすることも可能である。   Moreover, it is good also as a structure from which the threshold value of the magnetism detection value of each of these directions differs, respectively. In this case, the magnetism generated from each control device can be configured not to be detected by setting the threshold value of the magnetism detection value from the rear to be larger than the threshold value of the magnetism detection value from the front. .

(9)磁気センサモジュール81を3軸の磁気センサ221からなる構成として、方位フィルタ処理により後方からの磁気を検知対象としない構成としたが、アルミ等の透磁率の低い部材で磁気センサモジュール81後方を覆い、後方からの磁気を遮蔽する構成としてもよい。   (9) The magnetic sensor module 81 is composed of the three-axis magnetic sensor 221 and is configured not to detect magnetism from the rear by azimuth filtering, but the magnetic sensor module 81 is made of a member having low permeability such as aluminum. It is good also as a structure which covers back and shields the magnetism from back.

(10)磁気センサモジュール81の取り付け位置は、上記のものに限定されない。例えば、前扉枠14に設けてもよく、遊技機本体12側に設けられていてもよい。また、磁気センサモジュール81は、内枠13が閉鎖状態である場合に第2オフセット処理(第2調整用検知処理)を実行する構成としたが、前扉枠14が閉鎖状態である場合に第2オフセット処理(第2調整用検知処理)を実行する構成としてもよく、いずれの枠13,14も閉鎖している場合に第2オフセット処理(第2調整用検知処理)を実行する構成としてもよい。これらの場合、第2オフセット処理(第2調整用検知処理)によって0値(感度係数G)を遊技機の通常状態に合わせるためには、少なくとも磁気センサモジュール81が内枠13又は前扉枠14に設けられる構成か、遊技機本体12において内枠13又は前扉枠14が検知範囲に含まれる位置に設けられる構成であればよい。遊技機本体12側に設けられている場合であっても、内枠13や前扉枠14を開放状態とした場合に、これら枠13,14に設けられた金属板を有する電気機器の位置変化により磁場の変化が生じるため、内枠13を閉鎖状態として第2オフセット処理(第2調整用検知処理)を実行することにより当該磁場の変化を加味せずに0値(感度係数G)を設定することができる。   (10) The mounting position of the magnetic sensor module 81 is not limited to the above. For example, it may be provided on the front door frame 14 or may be provided on the gaming machine main body 12 side. Further, the magnetic sensor module 81 is configured to execute the second offset process (second adjustment detection process) when the inner frame 13 is in the closed state. However, when the front door frame 14 is in the closed state, the magnetic sensor module 81 It is good also as a structure which performs 2 offset process (2nd adjustment detection process), and also when it is the structure which performs a 2nd offset process (2nd adjustment detection process) when both the frames 13 and 14 are closed. Good. In these cases, at least the magnetic sensor module 81 has the inner frame 13 or the front door frame 14 in order to adjust the 0 value (sensitivity coefficient G) to the normal state of the gaming machine by the second offset processing (second adjustment detection processing). Or a configuration in which the inner frame 13 or the front door frame 14 is provided at a position included in the detection range in the gaming machine main body 12. Even if it is provided on the gaming machine main body 12 side, when the inner frame 13 or the front door frame 14 is opened, the position change of the electric device having the metal plate provided on these frames 13 and 14 As a result of this, a change in the magnetic field occurs, and the second offset process (second adjustment detection process) is executed with the inner frame 13 in the closed state, thereby setting a zero value (sensitivity coefficient G) without taking the change in the magnetic field into account. can do.

(11)センサ確認処理(図17)はメイン処理において実行される構成としたが、これに限られず、例えばタイマ割込み処理において実行する構成としてもよいし、タイマ割込み処理におけるセンサ補正処理において実行する構成としてもよい。ただし、メイン処理で実行する構成の方が、遊技が行われる前段階で磁気センサモジュール81の確認を行うことから、磁気センサモジュール81に異常がある状態で遊技が行われることがなく、この点において優れている。   (11) The sensor confirmation process (FIG. 17) is configured to be executed in the main process. However, the present invention is not limited to this. For example, the sensor confirmation process may be performed in the timer interrupt process, or may be performed in the sensor correction process in the timer interrupt process. It is good also as a structure. However, since the configuration executed in the main process confirms the magnetic sensor module 81 before the game is performed, the game is not performed when the magnetic sensor module 81 is abnormal. Is excellent.

(12)検知状態信号は主制御装置122に入力される構成としたが、これに限られず、例えば音声ランプ制御装置113に入力される構成であってもよく、払出制御装置162に入力される構成であってもよい。また、検知状態信号が外部端子板143を介して直接遊技ホールの管理制御装置に向けて出力される構成としてもよい。   (12) The detection state signal is input to the main control device 122. However, the present invention is not limited to this. For example, the detection state signal may be input to the sound lamp control device 113 and input to the payout control device 162. It may be a configuration. Alternatively, the detection state signal may be directly output to the management control device of the game hall via the external terminal board 143.

(13)主制御基板201は電断監視基板202を介して電源及び発射制御装置163から動作電力が供給されている構成としたが、これに限られず、電断監視基板202を省略する構成としてもよい。この場合、電圧を監視する回路を主制御基板201に設ける必要がある。   (13) The main control board 201 is configured to be supplied with operating power from the power supply and launch control device 163 via the power interruption monitoring board 202. However, the configuration is not limited to this, and the power interruption monitoring board 202 is omitted. Also good. In this case, it is necessary to provide a circuit for monitoring the voltage on the main control board 201.

(14)各オフセット処理において、所定期間に亘って検知値の積算を行いその平均値を0値としたが、例えば、検知値の最高値と最低値とを平均化して0値とする構成としてもよい。この場合、処理の簡素化を図れるとともに、0値の更新後において周囲の磁気による検知値の最高値が閾値を越える不都合を低減することができる。   (14) In each offset process, the detected values are integrated over a predetermined period and the average value is set to 0 value. For example, the maximum value and the minimum value of the detected values are averaged to be 0 value. Also good. In this case, it is possible to simplify the process, and it is possible to reduce the inconvenience that the maximum value of the detected value due to the surrounding magnetism exceeds the threshold value after the 0 value is updated.

(15)調整用検知処理において、閾値を想定される磁気よりも大きい値に設定し感度係数Gを上げてゆく構成としたが、閾値を想定される磁気よりも小さい値に設定し感度係数Gを下げてゆく構成としてもよい。この場合、例えば第4の実施形態では、ステップS1801にて感度係数Gを「20」として設定し、ステップS1802にて検知値の最高値が閾値を下回るか否かを監視する構成とする。そして、ステップS1804にて検知値の最高値が閾値を下回った場合に肯定判定し、下回らない場合には、ステップS1805にて感度係数Gが「4」であるか否かを判定する。「4」でなければステップS1806にて感度係数Gから「1」を減算し、ステップS1802に戻る。また、ステップS1804にて肯定判定した場合には、ステップS1807にて感度係数Gが「20」であるか否かを判定する。「20」ではない場合にはステップS1807にて、感度係数Gから設定値を減算した後に、ステップS1809にて当該減算後の感度係数GをRAM224に記憶し、調整用検知処理を終了する。ステップS1805にて「4」である場合、又はステップS1807にて「20」である場合にはステップS1810にてエラーフラグに「1」をセットしてから、調整用検知処理を終了する。この場合、上記の閾値を通常であれば感度係数Gが「4」で検知値が下回るように設定することで、ノイズが大きい場合の異常とすることができる。また、検知値の最高値が閾値を下回ることを監視する構成としていることから、上記ステップS1807にて減算する設定値を、「4」→「3」、「3」→「2」、「2」→「1」、「1」→「0」と変更するとよい。   (15) In the adjustment detection process, the threshold is set to a value larger than the assumed magnetism and the sensitivity coefficient G is increased. However, the threshold is set to a value smaller than the assumed magnetism and the sensitivity coefficient G is set. It is good also as a structure which lowers. In this case, for example, in the fourth embodiment, the sensitivity coefficient G is set to “20” in step S1801, and it is configured to monitor whether or not the maximum detected value falls below the threshold value in step S1802. In step S1804, an affirmative determination is made when the maximum detected value falls below the threshold value. If not, it is determined in step S1805 whether the sensitivity coefficient G is “4”. If it is not “4”, “1” is subtracted from the sensitivity coefficient G in step S1806, and the process returns to step S1802. If the determination in step S1804 is affirmative, it is determined in step S1807 whether or not the sensitivity coefficient G is “20”. If it is not “20”, after subtracting the set value from the sensitivity coefficient G in step S1807, the sensitivity coefficient G after the subtraction is stored in the RAM 224 in step S1809, and the adjustment detection process is terminated. If “4” in step S1805 or “20” in step S1807, “1” is set in the error flag in step S1810, and then the adjustment detection process is terminated. In this case, if the above threshold value is set to be normal, the sensitivity coefficient G is set to “4” and the detected value is lower, so that it is possible to make an abnormality when the noise is large. Further, since it is configured to monitor that the maximum detected value is below the threshold value, the set values to be subtracted in step S1807 are “4” → “3”, “3” → “2”, “2”. “→” 1 ”,“ 1 ”→“ 0 ”.

また第5の実施形態では、上記のように変更した構成における閾値よりも小さい(例えば2分の1)として、各調整用検知処理を上記の構成に対応させて変更する。この場合、感度係数Gが十分大きいのにもかかわらず閾値を下回ってしまう異常(磁気センサ221の故障等)の判定用の処理として、閾値を上記のように2分の1とするならば、ステップS2001(ステップS2201)にて入力する感度係数G、及びステップS2006(ステップS2206)にて監視する感度係数Gを、それぞれ「10」として、上記「20」の2分の1にするとよい。   Further, in the fifth embodiment, each adjustment detection process is changed in correspondence with the above-described configuration as being smaller than the threshold value in the configuration changed as described above (for example, half). In this case, as a process for determining an abnormality (such as a failure of the magnetic sensor 221) that falls below the threshold value even though the sensitivity coefficient G is sufficiently large, if the threshold value is halved as described above, The sensitivity coefficient G input in step S2001 (step S2201) and the sensitivity coefficient G monitored in step S2006 (step S2206) may be set to “10”, which is half of the above “20”.

(16)調整用検知処理において、感度係数Gを「1」よりも小さい値に変更可能としてもよい。この場合、例えば感度係数Gが「0.5」の場合には、感度係数Gが「1」の場合と比較して検知値が2分の1となる。上記(15)の構成に本構成を付加することで、例えばノイズが想定外に大きい場合等、検知値の最高値が設定した閾値を下回らない場合に有効である。   (16) In the detection process for adjustment, the sensitivity coefficient G may be changed to a value smaller than “1”. In this case, for example, when the sensitivity coefficient G is “0.5”, the detection value is halved compared to the case where the sensitivity coefficient G is “1”. Adding this configuration to the configuration (15) is effective when the maximum detection value does not fall below the set threshold, for example, when noise is unexpectedly large.

(17)調整用検知処理において、周囲の磁気のレベルと閾値との関係により感度係数Gを上げるか下げるかを決定する構成としてもよい。この場合、閾値を想定される磁気よりも大きく(小さく)設定する必要がなく、検知値を監視する処理の繰り返し回数を少なくすることができる。例えば、閾値を遊技ホールにて想定される磁気の平均値付近に設定し、調整用検知処理を行う前(例えばステップS1801の前)に、感度係数Gを所定値(例えば「10」)として検知値と閾値との比較を行う。そしてこの比較の結果に基づいて、感度係数Gを上げるか下げるかを決定するとよい。感度係数Gを上げる場合には上記第4,第5の実施形態にて示した処理を行い、感度係数Gを下げる場合には上記(15)で示した処理を行うとよい。   (17) The adjustment detection process may be configured to determine whether to increase or decrease the sensitivity coefficient G according to the relationship between the surrounding magnetic level and the threshold value. In this case, it is not necessary to set the threshold value to be larger (smaller) than the assumed magnetism, and the number of repetitions of the process for monitoring the detection value can be reduced. For example, the threshold value is set near the average value of magnetism assumed in the game hall, and the sensitivity coefficient G is detected as a predetermined value (for example, “10”) before performing the adjustment detection process (for example, before step S1801). The value is compared with the threshold value. Then, based on the result of this comparison, it may be determined whether to increase or decrease the sensitivity coefficient G. When the sensitivity coefficient G is increased, the process shown in the fourth and fifth embodiments is performed. When the sensitivity coefficient G is decreased, the process described in (15) is preferably performed.

(18)調整用検知処理において、ステップS1807、ステップS2008及びステップS2208にて感度係数Gが所定の値(第4の実施形態では「4」であり、第5の実施形態では「8」)以下の場合にはエラーとする構成としたが、当該所定の値の感度係数Gから、検知値が閾値を越えることを監視する処理を開始する構成としてもよい。この場合、当該所定の値の感度係数Gで検知値が閾値を越えた場合には、エラーとする構成とすると、監視に関する処理の回数を削減することができる。但しこの場合、初回の監視に関する処理と、それ以降(感度係数Gを上げてから)の監視に関する処理と、を別処理とする必要があり、処理構成の複雑化が生じ得る。   (18) In the adjustment detection process, the sensitivity coefficient G is a predetermined value (“4” in the fourth embodiment, “8” in the fifth embodiment) or less in step S1807, step S2008, and step S2208. In this case, an error is set, but a process of monitoring whether the detected value exceeds the threshold may be started from the sensitivity coefficient G of the predetermined value. In this case, if the detected value exceeds the threshold with the sensitivity coefficient G of the predetermined value, the number of times of monitoring-related processing can be reduced by adopting an error configuration. However, in this case, it is necessary to separate the process related to the initial monitoring and the process related to the subsequent monitoring (after increasing the sensitivity coefficient G), which may complicate the processing configuration.

(19)調整用検知処理において、感度係数Gを変更する構成としたが、周囲の磁気の強弱によって閾値を変更する構成としてもよい。具体的には、所定期間に亘って磁気の検知値を監視し、閾値を越えない場合には閾値を下げて再び磁気の検知値の監視を行う。そして、閾値を越える検知値となった時点の閾値よりも所定量だけ大きい閾値を実際の閾値として設定する構成とするとよい。この場合、感度レベル設定スイッチにより上記所定量を設定可能な構成とするとよい。このような構成とすることで、検知値を増幅させる機能(増幅部226)を備える必要がなく、ソフト的な処理で周囲の磁気の強弱にあわせて磁気センサモジュール81側の設定を変更することが可能となる。   (19) In the adjustment detection process, the sensitivity coefficient G is changed. However, the threshold value may be changed depending on the strength of surrounding magnetism. Specifically, the magnetism detection value is monitored over a predetermined period. If the threshold value is not exceeded, the threshold value is lowered and the magnetism detection value is monitored again. A threshold value that is larger by a predetermined amount than the threshold value at the time when the detected value exceeds the threshold value may be set as the actual threshold value. In this case, the predetermined amount may be set by a sensitivity level setting switch. By adopting such a configuration, it is not necessary to provide a function (amplifying unit 226) for amplifying the detection value, and the setting on the magnetic sensor module 81 side can be changed according to the strength of surrounding magnetism by software processing. Is possible.

(20)調整用検知処理において、所定期間に亘って検知値を監視する構成としたが、例えば所定期間によらずに感度係数Gを徐々に上げてゆく構成としてもよい。この場合、調整用検知処理において所定期間に亘る検知値の監視が繰り返し行われないため、調整用検知処理が行われる期間を短くすることができる。但しこの場合、周囲の磁気の変化の最高値や最低値を対象として感度係数Gを決定してしまう可能性も生じる。これら最高値や最低値で感度係数Gが決定されると、その後の磁気の検知値が大きくなり過ぎたり小さくなり過ぎたりし、不正に印加される磁気を好適に特定することが難しくなる。したがって、上記のように所定期間に亘って監視する構成とすることで、このような不都合を回避することができる。   (20) In the adjustment detection process, the detection value is monitored over a predetermined period. However, for example, the sensitivity coefficient G may be gradually increased regardless of the predetermined period. In this case, since the detection value is not repeatedly monitored over a predetermined period in the adjustment detection process, the period during which the adjustment detection process is performed can be shortened. However, in this case, there is a possibility that the sensitivity coefficient G is determined with respect to the maximum value and the minimum value of the surrounding magnetic change. If the sensitivity coefficient G is determined based on these maximum and minimum values, the subsequent magnetism detection value becomes too large or too small, and it is difficult to appropriately specify the improperly applied magnetism. Therefore, such inconvenience can be avoided by adopting a configuration in which monitoring is performed over a predetermined period as described above.

(21)磁気センサモジュール81の感度レベルを、感度レベル設定スイッチにより遊技ホールの管理者等が設定可能な構成としたが、主制御装置122又は磁気センサモジュール81の処理内で感度レベルを設定可能な構成としてもよい。この観点からすると、上記の第4,第5の実施形態は、調整用検知処理を行うことで設定されている閾値に対して周囲の磁気の検知値の振幅を調整することができるので、遊技ホールの管理者等が閾値(感度レベル)を変更しなくても周囲の磁気の強弱に対応させて磁気センサモジュール81側の設定を変更することが可能な構成といえる。   (21) The sensitivity level of the magnetic sensor module 81 can be set by a game hall manager or the like using a sensitivity level setting switch. However, the sensitivity level can be set within the processing of the main controller 122 or the magnetic sensor module 81. It is good also as a simple structure. From this point of view, in the fourth and fifth embodiments, the amplitude of the detected value of the surrounding magnetism can be adjusted with respect to the threshold value set by performing the adjustment detection process. It can be said that the setting of the magnetic sensor module 81 can be changed according to the strength of the surrounding magnetism, even if the manager of the hall does not change the threshold value (sensitivity level).

(22)主制御装置122又は磁気センサモジュール81が、第2オフセット処理(第2調整用検知処理)の結果をRAM213又はRAM224に記憶する機能を備えていてもよい。この記憶した結果を、RAM213又はRAM224のクリアが行われるまで保持される構成とすることで、日々の電源投入時にはオフセット処理(調整用検知処理)を省略することができる。より具体的には、磁気センサモジュール81側で上記結果を記憶する場合には、電源投入時の立ち上げ処理にてRAM224に上記結果が記憶されていることを条件に当該結果に基づいて0値及び閾値(感度係数G)を設定し、オフセット処理(調整用検知処理)を行わない構成とする。そして、このように設定した場合には第2オフセット処理(第2調整用検知処理)も行わない構成とするとよい。   (22) The main controller 122 or the magnetic sensor module 81 may have a function of storing the result of the second offset processing (second adjustment detection processing) in the RAM 213 or the RAM 224. By setting the stored result until the RAM 213 or RAM 224 is cleared, the offset process (adjustment detection process) can be omitted when the power is turned on daily. More specifically, when the result is stored on the magnetic sensor module 81 side, a zero value is obtained based on the result on the condition that the result is stored in the RAM 224 in the start-up process at power-on. The threshold value (sensitivity coefficient G) is set, and the offset process (adjustment detection process) is not performed. And when it sets in this way, it is good to set it as the structure which does not perform a 2nd offset process (detection process for 2nd adjustment).

また、主制御装置122側で上記結果を記憶する場合には、磁気センサモジュール81側の第2オフセット処理(第2調整用検知処理)後に磁気センサモジュール81が当該結果を主制御装置122へ特定させるための信号を送信し、当該信号に基づいて主制御装置122はRAM213に上記結果を記憶する。そして、主制御装置122は電源投入時のメイン処理にて当該結果が記憶されている場合に磁気センサモジュール81へ当該結果に基づいて0値や閾値(感度係数G)を設定させる信号を送信する。磁気センサモジュール81側の立ち上げ処理では主制御装置122側からの上記設定させる信号を受信した場合に当該信号に基づいて0値及び閾値(感度係数G)を設定し、オフセット処理(調整用検知処理)を行わない構成とする。そして、このように設定した場合には第2オフセット処理(第2調整用検知処理)も行わない構成とするとよい。   When the result is stored on the main controller 122 side, the magnetic sensor module 81 specifies the result to the main controller 122 after the second offset process (second adjustment detection process) on the magnetic sensor module 81 side. The main control device 122 stores the result in the RAM 213 based on the signal. Then, when the result is stored in the main process when the power is turned on, main controller 122 transmits a signal that causes magnetic sensor module 81 to set a zero value or a threshold (sensitivity coefficient G) based on the result. . In the start-up process on the magnetic sensor module 81 side, when a signal to be set is received from the main controller 122 side, a zero value and a threshold value (sensitivity coefficient G) are set based on the signal, and an offset process (detection for adjustment) The processing is not performed. And when it sets in this way, it is good to set it as the structure which does not perform a 2nd offset process (detection process for 2nd adjustment).

一般的にパチンコ機10は、遊技ホールの島設備に設置された後は頻繁には移動されない。つまり一度島設備に設置されると、その後はパチンコ機10の周囲の地磁気等の変動は大きくないことが想定される。このように周囲の地磁気等の変動が大きくないと想定される場合には、一度決定した0値及び閾値(感度係数G)を繰り返し使用し、オフセット処理(調整用検知処理)を省略する構成とすることで、日々の電源投入時の立ち上げをスムーズに実行することが可能となる。また、0値及び閾値(感度係数G)を変更したい場合には、RAM213又はRAM224のクリアを実行すればよいので、例えば、異常に磁気検知状態となる等の症状が生じた場合や、パチンコ機10の設置箇所を移動した場合等は、RAM213又はRAM224のクリアを実行して再度0値及び閾値(感度係数G)を決定させればよい。   In general, the pachinko machine 10 is not moved frequently after being installed in the island facilities of the game hall. That is, once installed in the island facility, it is assumed that the fluctuation of the geomagnetism around the pachinko machine 10 is not large thereafter. Thus, when it is assumed that fluctuations in the surrounding geomagnetism or the like are not large, the zero value and the threshold value (sensitivity coefficient G) once determined are repeatedly used, and the offset process (adjustment detection process) is omitted. By doing so, it is possible to smoothly perform startup at the time of daily power-on. Further, when it is desired to change the 0 value and the threshold value (sensitivity coefficient G), the RAM 213 or the RAM 224 may be cleared. For example, when a symptom such as an abnormal magnetic detection state occurs, a pachinko machine For example, when 10 installation locations are moved, the RAM 213 or the RAM 224 may be cleared to determine the 0 value and the threshold value (sensitivity coefficient G) again.

これらの場合、主制御装置122側で記憶する構成のほうが、磁気センサモジュール81の構成の簡素化を図ることが可能となる。仮に、磁気センサモジュール81のRAM224を長期間記憶可能な構成とすると、電断時におけるRAM224のバックアップ電源を確保すべく、磁気センサモジュール81に大容量のコンデンサ等を搭載する必要が生じる。これに対して、主制御装置122側では、一般的に電断時におけるバックアップ電源としてのコンデンサ等が既に搭載されており、既に搭載されている主制御装置122側のコンデンサ等を利用して上記結果を記憶しておく構成とすることで、パチンコ機10全体として更なる部材(コンデンサ)の追加を低減することが可能となる。   In these cases, the configuration stored on the main control device 122 side can simplify the configuration of the magnetic sensor module 81. If the RAM 224 of the magnetic sensor module 81 can be stored for a long period of time, a large-capacity capacitor or the like needs to be mounted on the magnetic sensor module 81 in order to secure a backup power source for the RAM 224 at the time of power interruption. On the other hand, generally, a capacitor or the like as a backup power source at the time of power interruption is already mounted on the main control device 122 side, and the above-described capacitor or the like on the main control device 122 side already installed is used. By setting it as the structure which memorize | stores a result, it becomes possible to reduce the addition of the further member (capacitor) as the pachinko machine 10 whole.

(23)磁気を検知する磁気センサモジュール81以外にも、他の特定事象を検知する検知手段に対しても本発明を適用できる。他の特定事象を検知する検知手段としては、例えば、電波を検知する電波検知手段や、開口部への遊技球の入球を検知する入球検知手段、振動を検知する振動検知手段等が考えられる。   (23) In addition to the magnetic sensor module 81 for detecting magnetism, the present invention can be applied to detection means for detecting other specific events. Examples of detection means for detecting other specific events include radio wave detection means for detecting radio waves, entrance detection means for detecting the entry of game balls into the opening, and vibration detection means for detecting vibrations. It is done.

(24)上記実施形態とは異なる他のタイプのパチンコ機等、例えば特別装置の特定領域に遊技球が入ると電動役物が所定回数開放するパチンコ機や、特別装置の特定領域に遊技球が入ると権利が発生して大当たりとなるパチンコ機、他の役物を備えたパチンコ機、アレンジボール機、雀球等の遊技機にも本発明を適用できる。   (24) Other types of pachinko machines different from the above embodiment, for example, a pachinko machine in which an electric accessory is released a predetermined number of times when a game ball enters a specific area of a special device, or a game ball in a specific area of a special device The present invention can also be applied to a pachinko machine that generates a big hit when entering, a pachinko machine equipped with other objects, an arrangement ball machine, a sparrow ball, and the like.

また、弾球式でない遊技機、例えば、複数種の図柄が周方向に付された複数のリールを備え、メダルの投入及びスタートレバーの操作によりリールの回転を開始し、ストップスイッチが操作される又は所定期間が経過することでリールが停止した後に、表示窓から視認できる有効ライン上に特定図柄又は特定図柄の組合せが成立していた場合にはメダルの払い出し等といった特典を遊技者に付与するスロットマシンにも、本発明を適用できる。   Also, a non-ball-type gaming machine, for example, a plurality of reels with a plurality of types of symbols attached in the circumferential direction, starts rotation of the reel by inserting a medal and operating a start lever, and a stop switch is operated. Or, if a specific symbol or a combination of specific symbols is established on an active line visible from the display window after the reel has stopped after a predetermined period of time, a privilege such as paying out medals is given to the player The present invention can also be applied to a slot machine.

また、取込装置を備え、貯留部に貯留されている所定数の遊技球が取込装置により取り込まれた後にスタートレバーが操作されることによりリールの回転を開始する、パチンコ機とスロットマシンとが融合された遊技機にも、本発明を適用できる。   Also, a pachinko machine and a slot machine that have a take-in device and start rotation of the reel by operating a start lever after a predetermined number of game balls stored in the storage unit are taken in by the take-in device The present invention can also be applied to a gaming machine in which is integrated.

これらの遊技機の場合であっても、当該遊技機に用いられる各種検知手段における検知値と0値との相対関係を調整条件(例えば上記各実施形態のように電源投入時の立ち上げ処理後であって扉体が閉鎖していること)が成立した場合に調整することで、周囲の環境によって上記各種検知手段が誤検知となることを抑制することができる。   Even in the case of these gaming machines, the relative relationship between the detection value and the zero value in various detection means used in the gaming machine is adjusted (for example, after the startup process at the time of power-on as in each of the above embodiments) By adjusting when the door body is closed), it is possible to prevent the various detection means from being erroneously detected due to the surrounding environment.

<上記各実施形態から抽出される発明群について>
以下、上述した各実施形態から抽出される発明群の特徴について、必要に応じて効果等を示しつつ説明する。なお以下においては、理解の容易のため、上記各実施形態において対応する構成を括弧書き等で適宜示すが、この括弧書き等で示した具体的構成に限定されるものではない。
<Invention Group Extracted from Each Embodiment>
Hereinafter, the characteristics of the invention group extracted from each of the above-described embodiments will be described while showing effects and the like as necessary. In the following, for easy understanding, the corresponding configuration in each of the above embodiments is appropriately shown in parentheses, but is not limited to the specific configuration shown in parentheses.

以下の特徴は、「遊技機の一種としてパチンコ機がある。パチンコ機においては、例えば遊技領域に発射された遊技球が作動口に入球することに基づき、当たり抽選が行われる。当該抽選において当たり状態の発生に当選すると、例えば所定の表示装置において変動表示される図柄が予め定められた特定の組み合わせで停止表示された後、遊技領域に設けられた可変入球装置の開閉が実行される。そして、可変入球装置への入球数に応じた遊技球が払い出されるといった特典が遊技者に付与される。ここで、パチンコ機には不正行為に対応した特定事象の発生を検知する検知センサが設けられている。例えば、磁石を用いて遊技球を作動口等の遊技者に有利な場所へ誘導させる不正行為が行われることがあり、当該不正行為を抑制するために、磁気を検知する磁気センサを設け、当該磁気センサが磁気を検知した場合には報知を行う。しかし、パチンコ機内部に設けられた各種装置の通常の動作によっても磁気は発生し得る。また、パチンコ機が設けられた周辺の環境等によっても磁場は変化し得る。したがって、このような状況下では、上記不正行為に基づく磁気を検知するにあたり、磁気センサの誤検知につながりかねない。なお、以上の課題は、磁気を検知する磁気センサに限定されることなく、例えば電波や振動を検知する検知センサにおいても同様である。更に、パチンコ機に限定されることはなく、検知センサが用いられている他の遊技機においても同様である。」という技術背景及び課題等を解決するためになされたものである。   The following features are: “There is a pachinko machine as a kind of gaming machine. In the pachinko machine, a winning lottery is performed based on, for example, a game ball launched into the game area entering the operation port. When the winning state is won, for example, symbols that are variably displayed on a predetermined display device are stopped and displayed in a predetermined combination, and then the variable pitching device provided in the game area is opened and closed. Then, the player is given a privilege that the game balls are paid out according to the number of balls entered into the variable pitching device, where the pachinko machine detects the occurrence of a specific event corresponding to the fraudulent act. For example, a fraudulent act that uses a magnet to guide a game ball to a place that is advantageous to the player, such as an operating port, may be performed. A magnetic sensor for detecting magnetism is provided, and a notification is given when the magnetic sensor detects magnetism, but magnetism can also be generated by normal operations of various devices provided in the pachinko machine. The magnetic field can also change depending on the surrounding environment where the machine is provided, etc. Therefore, in such a situation, in detecting the magnetism based on the fraudulent act, it may lead to erroneous detection of the magnetic sensor. The problem is not limited to a magnetic sensor that detects magnetism, but also applies to, for example, a detection sensor that detects radio waves and vibrations, and is not limited to a pachinko machine. The same applies to the other gaming machines that are used. "This is to solve the technical background and problems.

<特徴A群>
特徴A1.特定事象(例えば磁気)が発生した場合に検知値が変動し、基準値(0値)に対する当該検知値の変化量が所定値(閾値)に達したことに基づいて特定出力(検知状態信号をHIレベル信号に切替える)を行う検知手段(磁気センサモジュール81)と、
前記特定出力を前記検知手段が行ったことに基づいて、対応処理(主制御装置122のMPU211におけるステップS1105及びステップS1106の処理)を実行する対応処理実行手段(主制御装置122のMPU211における磁気検知用処理を実行する機能)と、
を備え、
前記検知手段は、前記基準値を前記検知値に応じて変更する変更手段(磁気センサモジュール81のMPU222における第2オフセット処理を実行する機能)を備え、
調整条件が成立しているか否かを判定する判定手段(主制御装置122のMPU211におけるセンサ補正処理を実行する機能)と、
当該判定手段により前記調整条件が成立していると判定された場合に、前記検知手段に対して前記基準値の調整指令(オフセット信号をHIレベル信号に切替える)を行う指令手段(主制御装置122のMPU211におけるステップS1011、ステップS1509又はステップS1604の処理を実行する機能)と、
を備え、
前記変更手段は、前記指令手段が前記調整指令を行った場合に前記基準値を前記検知値に応じて変更するものであることを特徴とする遊技機。
<Feature A group>
Feature A1. The detection value fluctuates when a specific event (for example, magnetism) occurs, and the specific output (detection state signal is output based on the amount of change in the detection value with respect to the reference value (0 value) reaching a predetermined value (threshold value). Detecting means (magnetic sensor module 81) for performing switching to the HI level signal;
Corresponding process execution means (magnetic detection in MPU 211 of main control unit 122) that executes corresponding processing (steps S1105 and S1106 in MPU 211 of main control unit 122) based on the detection unit performing the specific output. Function to execute processing)
With
The detection means includes a change means (a function of executing a second offset process in the MPU 222 of the magnetic sensor module 81) that changes the reference value according to the detection value.
Determination means for determining whether or not the adjustment condition is satisfied (function for executing sensor correction processing in the MPU 211 of the main control device 122);
When the determination means determines that the adjustment condition is satisfied, the command means (main control device 122) performs an adjustment command for the reference value (switches the offset signal to the HI level signal) to the detection means. In step S1011, step S1509 or step S1604 in the MPU 211)
With
The game machine according to claim 1, wherein the changing means changes the reference value according to the detected value when the command means issues the adjustment command.

特徴A1によれば、検知手段は特定出力を行う基準となる基準値を、調整条件が成立したことにより変更できる。当該検知手段は、基準値に対する変化量が所定量に達した場合に特定出力を行う構成であることから、変更した基準値によっては検知値が同じ量変化しても所定値に達する場合もあれば、所定値に達しない場合もある。したがって、当該基準値は、不正行為の発生の可能性が高い遊技者により遊技が行われる遊技機の通常状態を基準として変更すべきである。例えば、電源投入時の起動処理により基準値の変更を実行する構成とすると、上記通常状態とは異なる状態で基準値の変更がなされたことになる。この場合、当該基準値を用いると所定値に達せず特定出力が行われない可能性もあり、特定事象の発生を好適に検知できない。そこで本遊技機では、判定手段により調整条件が成立していると判定された場合に、検知手段に対して調整指令がなされ検知手段の基準値が変更させる構成としているため、電源投入タイミングとは関係なく、調整条件を例えば上記通常状態とすることで通常状態での基準値の変更を行うことが可能となり、不正行為に対応する特定事象の発生を好適に検知することができる。   According to the feature A1, the detection unit can change the reference value that is a reference for performing the specific output when the adjustment condition is satisfied. Since the detection means is configured to perform specific output when the amount of change with respect to the reference value reaches a predetermined amount, depending on the changed reference value, the detection value may reach the predetermined value even if the detection value changes by the same amount. For example, the predetermined value may not be reached. Therefore, the reference value should be changed on the basis of the normal state of the gaming machine in which a game is played by a player who has a high possibility of fraud. For example, if the reference value is changed by the startup process when the power is turned on, the reference value is changed in a state different from the normal state. In this case, if the reference value is used, the predetermined value may not be reached and the specific output may not be performed, and the occurrence of the specific event cannot be suitably detected. Therefore, in this gaming machine, when the determination unit determines that the adjustment condition is satisfied, an adjustment command is issued to the detection unit and the reference value of the detection unit is changed. Regardless, by setting the adjustment condition to the normal state, for example, it is possible to change the reference value in the normal state, and it is possible to suitably detect the occurrence of a specific event corresponding to an illegal act.

特に、変更手段が基準値を変更する構成とすると、検知値の振幅を変更する構成と比較して簡易な構成で上記の効果を奏することができる。具体的には、検知値の振幅を変更するには、検知手段において検知値を変化させるための構成(例えばオペアンプなど)が必要となる。これに対して基準値を変更する構成としては、検知値の変化量を監視する手段(例えばMPU222)のソフト的な変更で行えるため簡易な構成とすることができる。   In particular, when the changing means is configured to change the reference value, the above-described effects can be achieved with a simple configuration as compared with the configuration in which the amplitude of the detected value is changed. Specifically, in order to change the amplitude of the detection value, a configuration (for example, an operational amplifier) for changing the detection value in the detection unit is required. On the other hand, the configuration for changing the reference value can be a simple configuration because it can be performed by a software change of a means (for example, MPU 222) for monitoring the amount of change in the detected value.

特徴A2.遊技機の状態を監視可能であり、その監視結果に応じた処理(例えばタイマ割込み処理)を実行可能な制御手段(主制御装置122)を備え、
前記判定手段及び前記指令手段は、当該制御手段が備えていることを特徴とする特徴A1に記載の遊技機。
Feature A2. It is possible to monitor the state of the gaming machine, and includes control means (main control device 122) capable of executing processing (for example, timer interrupt processing) according to the monitoring result,
The game machine according to Feature A1, wherein the determination unit and the command unit are provided in the control unit.

特徴A2によれば、遊技機の状態を監視しその監視結果に応じた処理を実行する制御手段が、調整条件が成立しているか否かを判定し、調整指令を行う。したがって、遊技機の状態に合わせて、例えば遊技機が通常状態となった場合に検知手段における基準値の変更を行うことで、特徴A1で述べたように基準値のずれが生じず、不正目的に対応する特定事象の発生を好適に検知することが可能となる。   According to the feature A2, the control unit that monitors the state of the gaming machine and executes processing according to the monitoring result determines whether or not the adjustment condition is satisfied, and issues an adjustment command. Therefore, in accordance with the state of the gaming machine, for example, by changing the reference value in the detection means when the gaming machine is in a normal state, the reference value is not shifted as described in the feature A1, and the illegal purpose It is possible to suitably detect the occurrence of a specific event corresponding to.

特徴A3.前記調整条件は、当該遊技機の所定の構成体(例えば内枠13)が遊技者により遊技が行われる場合の通常状態(例えば閉鎖状態)となった場合に成立するものであることを特徴とする特徴A1又は特徴A2に記載の遊技機。   Feature A3. The adjustment condition is established when a predetermined component (for example, the inner frame 13) of the gaming machine is in a normal state (for example, a closed state) when a game is played by the player. The gaming machine according to feature A1 or feature A2.

特徴A3によれば、所定の構成体が遊技者により遊技が行われる通常状態となった場合に、変更手段によって基準値の変更がなされる。したがって、当該変更された基準値を用いることで、遊技者により遊技が行われる状況での基準値とずれが生じず、特定事象の発生を好適に検知することが可能となる。   According to the feature A3, the reference value is changed by the changing means when the predetermined component is in a normal state in which a game is played by the player. Therefore, by using the changed reference value, it is possible to suitably detect the occurrence of the specific event without causing a deviation from the reference value in the situation where the game is played by the player.

特徴A4.遊技機本体に対して開状態と閉状態とのそれぞれに切替可能に支持され、前記検知手段が搭載されている又は前記検知手段の検知範囲に含まれる扉体(内枠13)を備え、
前記調整条件は、当該扉体が閉状態であることを少なくとも一の条件に成立するものであることを特徴とする特徴A1乃至A3のいずれか1に記載の遊技機。
Feature A4. The game machine main body includes a door body (inner frame 13) that is supported so as to be switchable between an open state and a closed state, and that includes the detection means or is included in the detection range of the detection means.
The gaming machine according to any one of features A1 to A3, wherein the adjustment condition is established under at least one condition that the door is in a closed state.

特徴A4によれば、少なくとも扉体が閉状態である場合に調整条件が成立し、基準値の変更がなされる。例えば、扉体を開状態とする際には特定事象として振動が発生し得る。また、扉体には一般的に金属板や電気機器が搭載されており、扉体を開状態とすると、遊技機の通常状態で検知される電波や磁気の検知値が異なり得る。したがって、本構成のように、扉体が閉状態として基準値の変更を行うことで、基準値のずれを抑制し、特定事象の発生を好適に検知することが可能となる。   According to the feature A4, the adjustment condition is satisfied at least when the door is in the closed state, and the reference value is changed. For example, when the door is opened, vibration may occur as a specific event. In addition, a metal plate or an electric device is generally mounted on the door body. When the door body is in an open state, the detection values of radio waves and magnetism detected in the normal state of the gaming machine may be different. Therefore, as in this configuration, by changing the reference value with the door closed, it is possible to suppress the deviation of the reference value and to suitably detect the occurrence of the specific event.

特徴A5.前記変更手段は、前記調整指令によって前記基準値を変更した後は、その後に前記扉体が開状態とされ更に前記閉状態となった場合には前記基準値の変更を行わない構成であることを特徴とする特徴A4に記載の遊技機。   Feature A5. The changing means is configured such that after changing the reference value by the adjustment command, the reference value is not changed when the door body is opened and then closed. A gaming machine according to Feature A4, characterized by

特徴A5によれば、扉体が閉状態の際に基準値の変更がなされた後は、その後に扉体を開状態として再度閉状態としても基準値の変更がなされない。例えば、遊技機においては、遊技中に点検等のため扉体を開閉作業が行われる場合があり、当該点検の際も基準値の変更をする構成とすると、基準値の変更を行う頻度が多くなる。したがって、相対的に特定事象の発生を検知する期間が短くなり、好ましくない。これに対して本構成のように、基準値を変更した後に再度扉体が開閉されても基準値の変更を行わない構成とすることで、特定事象の発生を検知する期間を相対的に長くし、不正行為に対応する特定事象の発生を好適に検知することが可能となる。   According to the feature A5, after the reference value is changed when the door is closed, the reference value is not changed even if the door is opened and then closed again. For example, in gaming machines, there are cases where the door body is opened and closed for inspection, etc. during gaming, and if the reference value is changed during the inspection, the reference value is frequently changed. Become. Therefore, the period for detecting the occurrence of the specific event is relatively short, which is not preferable. On the other hand, as in this configuration, the reference value is not changed even if the door is opened and closed again after changing the reference value, so that the period for detecting the occurrence of the specific event is relatively long. Thus, it is possible to preferably detect the occurrence of the specific event corresponding to the fraud.

特徴A6.前記検知手段は、前記扉体に設けられており、
さらに当該扉体の背面には、当該遊技機の電源を電入状態及び電断状態に切替可能な切換手段が設けられていることを特徴とする特徴A4又は特徴A5に記載の遊技機。
Feature A6. The detection means is provided on the door body,
Further, the gaming machine according to Feature A4 or Feature A5, wherein a switching means capable of switching the power source of the gaming machine between the power-on state and the power-off state is provided on the back surface of the door body.

特徴A6によれば、切替手段が扉体の背面に設けられていることから、当該切換手段により遊技機の電源を電断状態から電入状態に切替えるためには、扉体を開状態とする必要が生じる。一般的に遊技機は、島設備に対して並列させて設置され、このように並列させた各遊技機の扉体をそれぞれ開状態とすると、一の遊技機の扉体と他の遊技機の扉体との距離が短くなる。この状況においては、検知手段は当該扉体に設けられていることから、一の遊技機の扉体に設けられた検知手段と、他の遊技機の扉体との距離が近くなる。また、一般的に扉体には遊技の進行に必要な駆動装置等が搭載されており、当該駆動装置からも特定事象は発生し得る。つまり、このような他の遊技機の扉体との距離が近い状態で基準値の変更がなされると、他の遊技機の駆動装置等からの特定事象も加味してしまい、ずれが生じる可能性がある。これに対して、本構成によれば、特徴A4に記載したとおり、扉体が閉状態であることが調整条件の一条件となっているため、切換手段により電源の投入がなされた場合であっても、扉体が閉状態となってから基準値の変更がなされ、上記懸念される基準値のずれを抑制し、不正目的に対応する特定事象の発生を好適に検知することが可能となる。   According to the feature A6, since the switching means is provided on the back surface of the door body, in order to switch the power supply of the gaming machine from the power-off state to the power-on state by the switching means, the door body is opened. Need arises. Generally, gaming machines are installed in parallel with island facilities, and when the doors of each gaming machine arranged in parallel are opened, the doors of one gaming machine and other gaming machines The distance to the door is shortened. In this situation, since the detection means is provided on the door body, the distance between the detection means provided on the door body of one gaming machine and the door body of the other gaming machine is reduced. In general, the door is equipped with a drive device or the like necessary for the progress of the game, and a specific event can also occur from the drive device. In other words, if the reference value is changed in a state where the distance from the door body of such other gaming machine is close, a specific event from the driving device of the other gaming machine may be taken into account and a deviation may occur. There is sex. On the other hand, according to this configuration, as described in the feature A4, the door is in the closed state, which is a condition for the adjustment condition. Therefore, the power is turned on by the switching unit. However, the reference value is changed after the door body is closed, and it is possible to suppress the deviation of the concerned reference value and to appropriately detect the occurrence of the specific event corresponding to the unauthorized purpose. .

特徴A7.前記変更手段による前記基準値を変更するための調整処理は、所定期間に亘って実行されるものであり、
前記検知手段は、当該所定期間においても前記特定事象の発生を前記対応処理実行手段が特定可能とする出力を実行するものであることを特徴とする特徴A1乃至A6のいずれか1に記載の遊技機。
Feature A7. The adjustment process for changing the reference value by the changing means is performed over a predetermined period,
The game according to any one of features A1 to A6, wherein the detection means executes an output that enables the corresponding process execution means to specify the occurrence of the specific event even during the predetermined period. Machine.

特徴A7によれば、変更手段が基準値を変更している所定期間中も、特定事象の発生を対応処理実行手段が特定することができ、当該所定期間中においても不正目的に対応する特定事象の発生した場合の処置を実行することができる。   According to feature A7, the response processing execution unit can specify the occurrence of the specific event even during the predetermined period in which the changing unit is changing the reference value, and the specific event corresponding to the fraudulent purpose can be specified even during the predetermined period. It is possible to carry out treatment in the case of occurrence of

特徴A8.前記変更手段は前記調整指令により前記基準値の変更のための調整を開始し、当該調整が完了しなかった場合には前記検知手段からその旨の情報が出力される構成であり、
前記指令手段は、当該その旨の情報を受けた場合には、前記判定手段により前記調整条件が成立していると再度判定された場合に、前記検知手段に対して前記調整指令を再度行う構成であることを特徴とする特徴A1乃至A7のいずれか1に記載の遊技機。
Feature A8. The changing means is configured to start adjustment for changing the reference value according to the adjustment command, and when the adjustment is not completed, information to that effect is output from the detecting means,
When the instruction means receives the information to that effect, the instruction means again performs the adjustment instruction to the detection means when the determination means determines again that the adjustment condition is satisfied. The gaming machine according to any one of features A1 to A7, wherein:

特徴A8によれば、調整指令による基準値の変更の調整が完了しなかった場合には、再度調整条件が成立した場合に基準値の変更の調整を開始することができる。例えば、基準値の変更の調整が完了しなかった場合に再び自動的に当該調整が開始される構成とすると、調整条件が成立していない状態で調整が開始される可能性がある。この場合、調整条件が成立していないため、既に述べたとおり、基準値がずれる不都合が懸念される。これに対して本構成によれば、再度調整条件が成立した場合に調整が開始されるため、上記懸念される不都合の発生を抑制することができる。   According to the feature A8, when the adjustment of the reference value change by the adjustment command is not completed, the adjustment of the reference value change can be started when the adjustment condition is satisfied again. For example, when the adjustment for changing the reference value is not completed, the adjustment may be automatically started again in a state where the adjustment condition is not satisfied. In this case, since the adjustment condition is not satisfied, there is a concern that the reference value may be shifted as described above. On the other hand, according to this configuration, since the adjustment is started when the adjustment condition is satisfied again, it is possible to suppress the occurrence of the inconvenience described above.

特徴A9.前記変更手段は、動作電源が供給された場合には、前記調整指令に基づかず前記基準値の変更を行う構成であることを特徴とする特徴A1乃至A8のいずれか1に記載の遊技機。   Feature A9. The gaming machine according to any one of features A1 to A8, wherein the changing means is configured to change the reference value without being based on the adjustment command when operating power is supplied.

特徴A9によれば、変更手段は動作電源が供給された場合及び調整指令を受けた場合に基準値の変更を行う。例えば、調整指令を受けた場合のみ基準値の変更がなされる構成とすると、調整条件が成立しないようにして意図するタイミングで調整条件を成立させる不正行為が想定される。この場合、基準値の調整中に特定事象を発生させ基準値をずらして変更させると、その後に特定事象を発生させても特定出力がなされず、当該不正行為が特定されない可能性がある。不正行為に対応する特定事象は、遊技機周囲の環境による特定事象よりも検知値の変動が大きいことが想定されるところ、本構成によれば、調整条件を成立させない不正行為がなされた場合であっても、少なくとも動作電源が供給された場合に基準値の変更がなされるため、当該変更された基準値を用いて、少なくとも不正行為に対応する特定事象を特定することが可能となる。   According to the feature A9, the changing means changes the reference value when operating power is supplied and when an adjustment command is received. For example, if the reference value is changed only when an adjustment command is received, an illegal act is assumed in which the adjustment condition is satisfied at an intended timing so that the adjustment condition is not satisfied. In this case, if a specific event is generated during the adjustment of the reference value and the reference value is shifted and changed, the specific output is not generated even if the specific event is subsequently generated, and the illegal act may not be specified. The specific event corresponding to the fraudulent act is assumed to have a larger fluctuation in the detected value than the specific event due to the environment around the gaming machine. According to this configuration, when a fraudulent act that does not satisfy the adjustment condition is performed Even in such a case, since the reference value is changed at least when operating power is supplied, it is possible to specify at least a specific event corresponding to an illegal act using the changed reference value.

特徴A10.動作電源が供給された場合に初期駆動を実行する駆動手段(例えば遊技球発射機構40)を備え、
前記変更手段は、当該駆動手段による前記初期駆動が行われた後に、前記調整指令により前記基準値の変更を行うものである構成であることを特徴とする特徴A1乃至A9のいずれか1に記載の遊技機。
Feature A10. Drive means (for example, game ball launching mechanism 40) that performs initial drive when operating power is supplied,
The change unit is configured to change the reference value by the adjustment command after the initial drive by the drive unit is performed. Any one of features A1 to A9, wherein: Game machines.

特徴A10によれば、駆動手段の初期駆動により発生する特定事象を加味しないで基準値の変更を行うことが可能となる。当該初期駆動による特定事象は電源投入時特有のものであることから、当該特定事象を加味して基準値を変更すると、不正目的に対応する特定事象の発生を検知すべき状態と基準値のずれが生じることになる。これに対して本構成によれば、不正目的に対応する特定事象の発生を検知すべき状態で基準値の変更を行うことができ、好適に不正行為を特定することが可能となる。   According to the feature A10, it is possible to change the reference value without taking into account a specific event generated by the initial driving of the driving unit. Since the specific event due to the initial drive is specific when the power is turned on, if the reference value is changed in consideration of the specific event, the difference between the state where the occurrence of the specific event corresponding to the unauthorized purpose should be detected and the reference value Will occur. On the other hand, according to this configuration, the reference value can be changed in a state where the occurrence of the specific event corresponding to the fraudulent purpose should be detected, and it is possible to suitably identify the fraud.

特徴A11.前記指令手段は、前記検知手段が前記特定出力を行うことが可能な状況で前記判定手段により前記調整条件が成立していると判定された場合に前記調整指令を行う構成であり、
前記検知手段は、前記基準値を変更した場合にその調整結果を前記対応処理実行手段に対して出力する構成であり、
前記対応処理実行手段は、前記特定出力と、前記調整結果の出力とを区別することが可能な構成であることを特徴とする特徴A1乃至A10のいずれか1に記載の遊技機。
Feature A11. The command unit is configured to issue the adjustment command when the determination unit determines that the adjustment condition is satisfied in a situation where the detection unit can perform the specific output.
The detection unit is configured to output an adjustment result to the corresponding process execution unit when the reference value is changed,
The gaming machine according to any one of features A1 to A10, wherein the response processing execution unit is configured to be able to distinguish between the specific output and the output of the adjustment result.

特徴A11によれば、特定事象の発生に対応する特定出力と、調整結果の情報に対応する出力と、が区別されるため、対応処理実行手段は、特定事象の発生を特定しつつ基準値の調整結果を特定することができる。したがって、不正行為に対応する特定事象の発生を特定すべきタイミングと、基準値の変更を行ったタイミングと、が重なる場合であっても、それぞれの情報に基づいて別々の対応処理を実行することが可能となる。   According to the feature A11, since the specific output corresponding to the occurrence of the specific event is distinguished from the output corresponding to the information of the adjustment result, the response processing execution unit specifies the occurrence of the specific event while specifying the occurrence of the specific event. The adjustment result can be specified. Therefore, even if the timing at which the occurrence of a specific event corresponding to fraud is to be identified and the timing at which the reference value is changed overlap, separate response processing should be performed based on the respective information Is possible.

各情報に対応した処理とは、不正行為を特定した場合には、例えば、遊技機に設けられた報知手段による報知を行うための処理や、遊技の進行に関する制御を停止させる処理が考えられ、基準値の調整結果を特定した場合には、例えば、調整結果によって再度調整を行わせる処理や、調整結果を報知する処理が考えられる。   The process corresponding to each information may be, for example, a process for performing notification by a notification means provided in a gaming machine or a process for stopping control related to the progress of a game when an illegal act is specified. When the adjustment result of the reference value is specified, for example, a process for performing the adjustment again based on the adjustment result or a process for notifying the adjustment result can be considered.

特徴A12.前記検知手段は、前記特定事象として磁気を検知するものであることを特徴とする特徴A1乃至A11のいずれか1に記載の遊技機。   Feature A12. The gaming machine according to any one of features A1 to A11, wherein the detection means detects magnetism as the specific event.

特徴A12によれば、不正に印加される磁気を検知して、上述の優れた効果を奏することができる。   According to the feature A12, the magnetism improperly applied can be detected, and the above-described excellent effect can be achieved.

一般的に遊技機には、遊技球が入球可能な開口部が設けられており、開口部に遊技球が入球することに基づいて特典が付与される。また、所定の開口部に遊技球が入球すると、遊技者にとって有利な有利状態に移行させるか否かの判定が行われる。したがって、磁気を用いて遊技球をこれら開口部に誘導する不正行為が懸念される。そこで、検知手段が磁気を検知することで、当該不正行為を抑制することが可能となる。   In general, a gaming machine is provided with an opening through which a game ball can enter, and a privilege is given based on the game ball entering the opening. Further, when a game ball enters a predetermined opening, it is determined whether or not to shift to an advantageous state advantageous to the player. Therefore, there is a concern about an unauthorized act of guiding the game ball to these openings using magnetism. Therefore, the detection means can detect the magnetism to suppress the illegal act.

一方、遊技機には各種駆動装置が搭載されており、これら各種駆動装置が駆動することによっても磁気は発生する。また、遊技ホールの環境によっては、例えば高架下の遊技ホールなどは地磁気が検知手段の検知値に影響を及ぼし得る。これら駆動装置により発生する磁気や遊技ホールの環境による地磁気は、遊技の進行中も検知手段により検知され得る磁気といえる。したがって、これらの磁気を加味して基準値を変更することで、遊技の進行中も検知手段により検知され得る磁気を除外して、好適に不正行為に対応する磁気を検知することが可能となる。   On the other hand, game machines are equipped with various drive devices, and magnetism is also generated when these drive devices are driven. Further, depending on the environment of the game hall, for example, in a game hall under an overhead, the geomagnetism can affect the detection value of the detection means. The magnetism generated by these driving devices and the geomagnetism due to the environment of the game hall can be said to be magnetism that can be detected by the detection means while the game is in progress. Therefore, by changing the reference value in consideration of these magnetisms, it is possible to suitably detect the magnetism corresponding to the fraudulent act while excluding the magnetism that can be detected by the detection means even during the game. .

しかし、遊技機の電源投入時には立ち上げ処理として各種駆動装置の初期駆動が行われ、当該初期駆動によっても磁気が発生する。更に電源投入時には、各種駆動装置に対して電圧が印加されることにより磁場が変化する。これらの磁気の発生や磁場の変化は、不正目的で印加される磁気とは異なり、電源投入時特有のものといえる。したがって、電源投入時の起動処理で基準値を変更すると、これら電源投入時特有の磁気や磁場の変化を加味して基準値がずれてしまう。これに対して、特徴A1で述べたとおり、調整条件が成立した場合に検知手段に基準値を変更させることで、電源投入時特有の磁気を排除し、誤検知を抑制しつつ不正目的で印加される磁気を好適に検知することが可能となる。   However, when the gaming machine is turned on, various driving devices are initially driven as a startup process, and magnetism is also generated by the initial driving. Further, when the power is turned on, the magnetic field is changed by applying voltages to the various driving devices. Unlike the magnetism applied for illegal purposes, the generation of the magnetism and the change of the magnetic field can be said to be peculiar when the power is turned on. Therefore, if the reference value is changed in the start-up process when the power is turned on, the reference value is shifted in consideration of the magnetism and magnetic field change peculiar to the power-on. On the other hand, as described in the feature A1, when the adjustment condition is satisfied, the detection means changes the reference value, thereby eliminating magnetism peculiar to power-on and applying it for an illegal purpose while suppressing false detection. It is possible to suitably detect the magnetism.

特徴A13.特定事象(例えば磁気)が発生した場合に検知値が変動し、基準値(0値)に対する当該検知値の変化量が所定値(閾値)に達したことに基づいて特定出力(検知状態信号をHIレベル信号に切替える)を行う検知手段(磁気センサモジュール81)と、
前記特定出力を前記検知手段が行ったことに基づいて、対応処理(主制御装置122のMPU211におけるステップS1105及びステップS1106の処理)を実行する対応処理実行手段(主制御装置122のMPU211における磁気検知用処理を実行する機能)と、
を備え、
前記検知手段は、前記基準値と前記検知値との相対関係(0値及び閾値により規定される感度、又は検知値の振幅により規定される感度)を変更する変更手段(磁気センサモジュール81のMPU222における第2オフセット処理又は第2調整用検知処理を実行する機能)を備え、
調整条件が成立しているか否かを判定する判定手段(主制御装置122のMPU211におけるセンサ補正処理を実行する機能)と、
当該判定手段により前記調整条件が成立していると判定された場合に、前記検知手段に対して調整指令(オフセット信号又は調整信号をHIレベル信号に切替える)を行う指令手段(主制御装置122のMPU211におけるステップS1011、ステップS1509又はステップS1604の処理を実行する機能)と、
を備え、
前記変更手段は、前記指令手段が前記調整指令を行った場合に前記相対関係の変更を行うものであることを特徴とする遊技機。
Feature A13. The detection value fluctuates when a specific event (for example, magnetism) occurs, and the specific output (detection state signal is output based on the amount of change in the detection value with respect to the reference value (0 value) reaching a predetermined value (threshold value). Detecting means (magnetic sensor module 81) for performing switching to the HI level signal;
Corresponding process execution means (magnetic detection in MPU 211 of main control unit 122) that executes corresponding processing (steps S1105 and S1106 in MPU 211 of main control unit 122) based on the detection unit performing the specific output. Function to execute processing)
With
The detecting means is a changing means (MPU 222 of the magnetic sensor module 81) for changing a relative relationship between the reference value and the detected value (sensitivity specified by 0 value and threshold, or sensitivity specified by amplitude of the detected value). A function of executing the second offset process or the second adjustment detection process in FIG.
Determination means for determining whether or not the adjustment condition is satisfied (function for executing sensor correction processing in the MPU 211 of the main control device 122);
When the determination unit determines that the adjustment condition is satisfied, the command unit (of the main controller 122) performs an adjustment command (switches the offset signal or the adjustment signal to the HI level signal) to the detection unit. The function of executing the processing of step S1011, step S1509 or step S1604 in the MPU 211);
With
The gaming machine according to claim 1, wherein the changing means changes the relative relationship when the command means issues the adjustment command.

特徴A13によれば、検知手段は特定出力を行う基準となる基準値と検知値との相対関係を、調整条件が成立したことにより変更できる。当該検知手段は、基準値に対する検知値の変化量が所定量に達した場合に特定出力を行う構成であることから、変更した相対関係によっては所定値に達する場合もあれば、所定値に達しない場合もある。したがって、当該相対関係の変更は、不正行為の発生の可能性が高い遊技者により遊技が行われる遊技機の通常状態を基準として行うべきである。例えば、電源投入時の起動処理により相対関係の変更を行う構成とすると、上記通常状態とは異なる状態で相対関係の変更がなされたことになる。この場合、当該相対関係を用いると検知値が所定値に達せず特定出力が行われない可能性もあり、特定事象の発生を好適に検知できない。そこで本遊技機では、判定手段により調整条件が成立していると判定された場合に、検知手段に対して調整指令がなされ検知手段の基準値と検知値との相対関係を変更させる構成としているため、電源投入タイミングとは関係なく、調整条件を例えば上記通常状態とすることで通常状態で相対関係の変更を行うことが可能となり、不正行為に対応する特定事象の発生を好適に検知することができる。   According to the feature A13, the detection unit can change the relative relationship between the reference value serving as a reference for performing the specific output and the detection value when the adjustment condition is satisfied. Since the detection means is configured to perform a specific output when the amount of change in the detection value with respect to the reference value reaches a predetermined amount, depending on the changed relative relationship, the predetermined value may or may not reach the predetermined value. Sometimes not. Therefore, the relative relationship should be changed on the basis of the normal state of the gaming machine in which a game is played by a player who has a high possibility of fraud. For example, if the configuration is such that the relative relationship is changed by the startup process when the power is turned on, the relative relationship has been changed in a state different from the normal state. In this case, if the relative relationship is used, the detection value may not reach the predetermined value and the specific output may not be performed, and the occurrence of the specific event cannot be suitably detected. Therefore, in this gaming machine, when the determination unit determines that the adjustment condition is satisfied, an adjustment command is issued to the detection unit, and the relative relationship between the reference value of the detection unit and the detection value is changed. Therefore, regardless of the power-on timing, it is possible to change the relative relationship in the normal state by setting the adjustment condition to the normal state, for example, and preferably detect the occurrence of a specific event corresponding to an illegal act Can do.

上記特徴A13に対して、上記特徴A1乃至A12のいずれかにおいて限定した構成を適用してもよい。   The configuration limited in any of the features A1 to A12 may be applied to the feature A13.

<特徴B群>
特徴B1.特定事象(例えば磁気)が発生した場合に検知値が変動し、基準値(0値)に対する当該検知値の変化量が所定値(閾値)に達したことに基づいて特定出力(検知状態信号をHIレベル信号に切替える)を行う検知手段(磁気センサモジュール81)と、
前記特定出力を前記検知手段が行ったことに基づいて、対応処理(主制御装置122のMPU211におけるステップS1105及びステップS1106の処理)を実行する対応処理実行手段(主制御装置122のMPU211における磁気検知用処理を実行する機能)と、
を備え、
前記検知手段は、前記検知値の振幅(感度係数G)を前記所定値に応じて変更する変更手段(磁気センサモジュール81のMPU222における第2調整用検知処理を実行する機能)を備え、
調整条件が成立しているか否かを判定する判定手段(主制御装置122のMPU211におけるセンサ補正処理を実行する機能)と、
当該判定手段により前記調整条件が成立していると判定された場合に、前記検知手段に対して前記振幅の調整指令(調整信号をHIレベル信号に切替える)を行う指令手段(主制御装置122のMPU211におけるステップS1011、ステップS1509又はステップS1604の処理を実行する機能)と、
を備え、
前記変更手段は、前記指令手段が前記調整指令を行った場合に前記所定値に応じて前記検知値の振幅を変更するものであることを特徴とする遊技機。
<Feature B group>
Feature B1. The detection value fluctuates when a specific event (for example, magnetism) occurs, and the specific output (detection state signal is output based on the amount of change in the detection value with respect to the reference value (0 value) reaching a predetermined value (threshold value). Detecting means (magnetic sensor module 81) for performing switching to the HI level signal;
Corresponding process execution means (magnetic detection in MPU 211 of main control unit 122) that executes corresponding processing (steps S1105 and S1106 in MPU 211 of main control unit 122) based on the detection unit performing the specific output. Function to execute processing)
With
The detection means includes a change means (a function of executing a second adjustment detection process in the MPU 222 of the magnetic sensor module 81) that changes the amplitude (sensitivity coefficient G) of the detection value according to the predetermined value.
Determination means for determining whether or not the adjustment condition is satisfied (function for executing sensor correction processing in the MPU 211 of the main control device 122);
When the determination means determines that the adjustment condition is satisfied, command means (for controlling the main control device 122) performs an amplitude adjustment command (switches the adjustment signal to the HI level signal) to the detection means. The function of executing the processing of step S1011, step S1509 or step S1604 in the MPU 211);
With
The game machine according to claim 1, wherein the changing means changes the amplitude of the detected value in accordance with the predetermined value when the command means issues the adjustment command.

特徴B1によれば、検知手段は特定出力を行う基準となる検知値の振幅を、調整条件が成立したことにより変更できる。当該検知手段は、基準値に対する変化量が所定量に達した場合に特定出力を行う構成であることから、所定値に応じて検知値の振幅を変更した場合には、同じ強度の特定事象でも検知値の変化量が変化し所定値に達する場合もあれば、所定値に達しない場合もある。したがって、当該検知値の振幅は、不正行為の発生の可能性が高い遊技者により遊技が行われる遊技機の通常状態を基準として変更すべきである。例えば、電源投入時の起動処理により検知値の振幅の変更を実行する構成とすると、上記通常状態とは異なる状態で検知値の振幅の変更がなされたことになる。この場合、当該振幅を用いると所定値に達せず特定出力が行われない可能性もあり、特定事象の発生を好適に検知できない。そこで本遊技機では、判定手段により調整条件が成立していると判定された場合に、検知手段に対して調整指令がなされ検知手段の検知値の振幅を変更させる構成としているため、電源投入タイミングとは関係なく、調整条件を例えば上記通常状態とすることで通常状態での検知値の振幅の変更を行うことが可能となり、不正行為に対応する特定事象の発生を好適に検知することができる。   According to the feature B1, the detection unit can change the amplitude of the detection value serving as a reference for performing the specific output when the adjustment condition is satisfied. Since the detection means is configured to perform a specific output when the amount of change with respect to the reference value reaches a predetermined amount, even when the amplitude of the detection value is changed according to the predetermined value, even a specific event having the same intensity is used. The amount of change in the detected value may change and reach a predetermined value, or may not reach the predetermined value. Therefore, the amplitude of the detected value should be changed on the basis of the normal state of the gaming machine in which a game is played by a player who has a high possibility of fraud. For example, if the configuration is such that the amplitude of the detected value is changed by the startup process when the power is turned on, the amplitude of the detected value is changed in a state different from the normal state. In this case, if the amplitude is used, the predetermined value may not be reached and the specific output may not be performed, and the occurrence of the specific event cannot be suitably detected. Therefore, in this gaming machine, when the determination unit determines that the adjustment condition is satisfied, the adjustment command is issued to the detection unit and the amplitude of the detection value of the detection unit is changed. Regardless of the adjustment condition, for example, by setting the adjustment condition to the normal state, it is possible to change the amplitude of the detection value in the normal state, and it is possible to suitably detect the occurrence of the specific event corresponding to the fraudulent act. .

特に、変更手段が検知値の振幅を変更する構成とすると、基準値を変更する構成と比較して遊技機の周囲で発生する特定事象の強弱の影響を低減することができる。具体的には、基準値を変更する構成とすると、遊技機の周囲で発生する特定事象が検知手段の検知限界付近である場合には検知値が安定せず基準値を好適に変更できない等の不都合が懸念される。これに対して、検知値の振幅を変更することで、検知手段の検知限界の幅を広げることになり、上記懸念される不都合を回避することができる。   In particular, if the changing means is configured to change the amplitude of the detected value, the influence of the strength of a specific event occurring around the gaming machine can be reduced as compared with a configuration in which the reference value is changed. Specifically, when the reference value is changed, if the specific event that occurs around the gaming machine is near the detection limit of the detection means, the detection value is not stable and the reference value cannot be suitably changed. There are concerns about inconvenience. On the other hand, by changing the amplitude of the detection value, the width of the detection limit of the detection means is widened, and the above-mentioned inconvenience can be avoided.

特徴B2.前記変更手段は、前記基準値を前記検知値に応じて変更する手段(磁気センサモジュール81のMPU222における第2オフセット処理を実行する機能)を備え、
前記変更手段は、前記基準値を前記検知値に応じて変更した後に、前記検知値の振幅を変更するものであることを特徴とする特徴B1に記載の遊技機。
Feature B2. The changing means includes means for changing the reference value according to the detected value (function of executing a second offset process in the MPU 222 of the magnetic sensor module 81),
The game machine according to Feature B1, wherein the changing means changes the amplitude of the detected value after changing the reference value according to the detected value.

特徴B2によれば、調整指令によって基準値が検知値に応じて変更された後に、検知値の振幅が変更される。検知値の振幅を変更する際に検知値が所定値に対してかけ離れている場合、振幅の変更を繰り返し行う必要が生じてしまう等の不都合が懸念される。したがって、基準値を変更してから振幅を変更する構成とすることで、上記懸念される不都合を回避して振幅の変更を好適に行うことができる。   According to the feature B2, the amplitude of the detected value is changed after the reference value is changed according to the detected value by the adjustment command. If the detected value is far from the predetermined value when the amplitude of the detected value is changed, there is a concern that the amplitude needs to be changed repeatedly. Therefore, by adopting a configuration in which the amplitude is changed after changing the reference value, it is possible to suitably change the amplitude while avoiding the above-mentioned inconvenience.

特徴B3.前記変更手段は、前記検知値の振幅を変更した後に、当該変更した振幅に基づく検知値が前記所定値との関係で所定の条件(閾値を検知値が越える、又は検知値が閾値を下回る)を満たした場合には当該振幅に基づいて最終的な振幅を決定し、前記変更した振幅に基づく検知値が前記所定値との関係で前記所定の条件を満たさない場合には前記振幅を更に変更して当該変更した振幅に基づく検知値が前記所定値との関係で前記所定の条件を満たすか否かを確認する構成であることを特徴とする特徴B2に記載の遊技機。   Feature B3. The change means changes the amplitude of the detection value, and then the detection value based on the changed amplitude has a predetermined condition in relation to the predetermined value (the detection value exceeds the threshold or the detection value falls below the threshold) Is satisfied, the final amplitude is determined based on the amplitude, and if the detected value based on the changed amplitude does not satisfy the predetermined condition in relation to the predetermined value, the amplitude is further changed. The gaming machine according to feature B2, wherein the gaming machine is configured to confirm whether or not a detection value based on the changed amplitude satisfies the predetermined condition in relation to the predetermined value.

特徴B3によれば、振幅の変更を段階的に行う。このような振幅の変更が段階的になされる構成において、特徴B2に記載したように、振幅の変更前に基準値の変更がなされているため、変更後の振幅に基づく検知値が所定値との関係で所定の条件を満たす可能性が高く、比較的スムーズに振幅を変更するための処理を終了することができる。したがって、振幅を変更するための処理中に特定事象の発生を特定することが困難である場合であっても、上記のように処理がスムーズに進行するため、特定事象の発生を特定容易な期間を相対的に長くし、不正行為に対応する特定事象の発生を好適に検知することが可能となる。   According to the feature B3, the amplitude is changed stepwise. In such a configuration in which the amplitude is changed stepwise, as described in the feature B2, the reference value is changed before the amplitude is changed. Therefore, the detection value based on the amplitude after the change is a predetermined value. Therefore, it is highly possible that the predetermined condition is satisfied, and the process for changing the amplitude can be completed relatively smoothly. Therefore, even if it is difficult to specify the occurrence of a specific event during the process for changing the amplitude, the process proceeds smoothly as described above, so that the occurrence of the specific event can be easily specified. It is possible to appropriately detect the occurrence of a specific event corresponding to an illegal act.

特徴B4.前記所定値は、遊技場での設置状態における内的要因(地磁気や各種制御装置等による磁気)により変化し得る前記検知値の範囲よりも大きい又は小さい値に設定されていることを特徴とする特徴B1乃至B3のいずれか1に記載の遊技機。   Feature B4. The predetermined value is set to a value that is larger or smaller than the range of the detected value that can be changed by an internal factor in the state of installation in the game hall (magnetism or magnetism by various control devices). The gaming machine according to any one of features B1 to B3.

特徴B4によれば、所定値に対応させて検知値の振幅を変更する際に、振幅を大きくするか小さくするかの一方の処理のみで行えるため、簡易な処理構成で変更することができる。   According to the feature B4, when the amplitude of the detection value is changed in correspondence with the predetermined value, it can be performed with only one process of increasing or decreasing the amplitude, and thus can be changed with a simple processing configuration.

上記特徴B1乃至B4のいずれか1に対して、上記特徴A1乃至A13のいずれかにおいて限定した構成を適用してもよい。   The configuration limited in any of the features A1 to A13 may be applied to any one of the features B1 to B4.

以下に、以上の各特徴を適用し得る遊技機の基本構成を示す。   The basic configuration of the gaming machine to which the above features can be applied is shown below.

パチンコ遊技機:遊技者が操作する操作手段(遊技球発射ハンドル41)と、その操作手段の操作に基づいて遊技球を発射する遊技球発射手段(遊技球発射機構40)と、その発射された遊技球を所定の遊技領域(遊技領域Z)に導く球通路(内レール部51及び外レール部52からなる誘導レール)と、遊技領域内に配置された各遊技部品とを備え、それら各遊技部品のうち所定の通過部(一般入賞口53等)を遊技球が通過した場合に遊技者に特典を付与する遊技機。   Pachinko gaming machine: operation means (game ball launching handle 41) operated by the player, game ball launching means (game ball launching mechanism 40) for launching a game ball based on the operation of the operation means, and the fired A ball path (guide rail composed of an inner rail portion 51 and an outer rail portion 52) for guiding a game ball to a predetermined game area (game area Z) and game components arranged in the game area are provided. A gaming machine that gives a privilege to a player when a game ball passes through a predetermined passing portion (general winning port 53, etc.) of the parts.

スロットマシン等の回胴式遊技機:複数の図柄からなる図柄列を変動表示した後に図柄列を最終停止表示する可変表示手段を備え、始動用操作手段の操作に起因して図柄の変動が開始され、停止用操作手段の操作に起因して又は所定時間経過することにより図柄の変動が停止され、その停止時の最終停止図柄が特定図柄であることを必要条件として遊技者に有利な特別遊技状態(ボーナスゲーム等)を発生させるようにした遊技機。   Slot machine, etc .: A variable display means that displays a symbol sequence consisting of a plurality of symbols in a variable manner and then stops and displays the symbol sequence. Special game advantageous to the player on the condition that the change of the symbol is stopped due to the operation of the operation means for stoppage or when a predetermined time elapses and the final stop symbol at the time of stoppage is a specific symbol A gaming machine that generates a state (bonus game, etc.).

球使用ベルト式遊技機:複数の図柄からなる図柄列を変動表示した後に図柄列を最終停止表示する可変表示手段を備え、始動用操作手段の操作に起因して図柄の変動が開始され、停止用操作手段の操作に起因して又は所定時間経過することにより図柄の変動が停止され、その停止時の最終停止図柄が特定図柄であることを必要条件として遊技者に有利な特別遊技状態(ボーナスゲーム等)を発生させるようにし、更に、球受皿を設けてその球受皿から遊技球を取り込む投入処理を行う投入装置と、前記球受皿に遊技球の払出を行う払出装置とを備え、投入装置により遊技球が投入されることにより前記始動用操作手段の操作が有効となるように構成した遊技機。   Ball-use belt-type game machine: Equipped with variable display means that displays the symbol sequence consisting of multiple symbols in a variably displayed state, and then stops and displays the symbol sequence. The special game state (bonus) that is advantageous to the player on the condition that the change of the symbol is stopped due to the operation of the operating means or when the predetermined time elapses, and the final stop symbol at the time of the stop is a specific symbol A throwing device that performs a throwing process for taking in a game ball from the ball tray and a payout device for paying out the game ball to the ball tray, A gaming machine configured such that the operation of the starting operation means is made effective when a game ball is inserted by.

10…遊技機としてのパチンコ機、13…内枠、40…遊技球発射機構、81…磁気センサモジュール、122…主制御装置、201…主制御基板、211…MPU、221…磁気センサ、222…MPU。   DESCRIPTION OF SYMBOLS 10 ... Pachinko machine as a gaming machine, 13 ... Inner frame, 40 ... Game ball launching mechanism, 81 ... Magnetic sensor module, 122 ... Main controller, 201 ... Main control board, 211 ... MPU, 221 ... Magnetic sensor, 222 ... MPU.

Claims (2)

特定事象が発生した場合に検知値が変動し、基準値に対する当該検知値の変化量が所定値に達したことに基づいて特定出力を行う検知手段と、
前記特定出力を前記検知手段が行ったことに基づいて、対応処理を実行する対応処理実行手段と、
を備え、
前記検知手段は、前記基準値と前記検知値との相対関係を変更可能に構成されており、
調整条件が成立しているか否かを判定する判定手段と、
当該判定手段により前記調整条件が成立していると判定された場合に、前記検知手段に対して調整を行う調整手段と、
を備え、
前記検知手段は、前記調整手段が前記調整を行った場合に前記相対関係の変更がなされるものであり、
遊技機本体に対して開状態と閉状態とのそれぞれに切替可能に支持され、前記検知手段が搭載されている又は前記検知手段の検知範囲に含まれる扉体を備え、
前記調整条件は、電源が投入されたことを少なくとも一の条件に成立する第1調整条件と、前記扉体が前記閉状態であることを少なくとも一の条件に成立する第2調整条件とがあり
前記検知手段は、前記調整手段によって前記基準値の変更がなされた後、前記扉体が前記開状態とされ更に前記閉状態となった場合、前記基準値の変更を行わないようにする手段を備え、
前記扉体が前記開状態とされることで操作可能となる位置に、当該遊技機の電入状態と電断状態との切り替えを可能とする操作手段が設けられていることを特徴とする遊技機。
A detection unit that performs a specific output based on a detection value that fluctuates when a specific event occurs and a change amount of the detection value relative to a reference value reaches a predetermined value;
A corresponding process executing means for executing a corresponding process based on the fact that the detection means has performed the specific output;
With
The detection means is configured to be able to change the relative relationship between the reference value and the detection value,
Determining means for determining whether or not the adjustment condition is satisfied;
An adjustment unit that adjusts the detection unit when the determination unit determines that the adjustment condition is satisfied;
With
The detecting means is one in which the relative relationship is changed when the adjusting means performs the adjustment.
The game machine main body is supported so as to be switchable between an open state and a closed state, and includes a door body on which the detection means is mounted or included in the detection range of the detection means,
The adjustment conditions include a first adjustment condition that is satisfied under at least one condition that power is turned on, and a second adjustment condition that is satisfied under at least one condition that the door body is in the closed state. ,
The detecting means is means for preventing the reference value from being changed when the door body is in the open state and further in the closed state after the reference value is changed by the adjusting means. Prepared,
A game characterized in that operation means that enables switching between the power-on state and the power-off state of the gaming machine is provided at a position where the door body can be operated by being in the open state. Machine.
パチンコ機、スロットマシン又は球使用回胴式遊技機である請求項1に記載の遊技機。   The gaming machine according to claim 1, wherein the gaming machine is a pachinko machine, a slot machine, or a ball-cylinder spinning machine.
JP2016153003A 2012-03-08 2016-08-03 Game machine Active JP6308254B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012052191 2012-03-08
JP2012052191 2012-03-08

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012109682A Division JP5983011B2 (en) 2012-03-08 2012-05-11 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018004935A Division JP6504277B2 (en) 2012-03-08 2018-01-16 Gaming machine

Publications (2)

Publication Number Publication Date
JP2016185470A JP2016185470A (en) 2016-10-27
JP6308254B2 true JP6308254B2 (en) 2018-04-11

Family

ID=49586180

Family Applications (5)

Application Number Title Priority Date Filing Date
JP2012109682A Expired - Fee Related JP5983011B2 (en) 2012-03-08 2012-05-11 Game machine
JP2016153003A Active JP6308254B2 (en) 2012-03-08 2016-08-03 Game machine
JP2018004935A Active JP6504277B2 (en) 2012-03-08 2018-01-16 Gaming machine
JP2019058588A Pending JP2019088996A (en) 2012-03-08 2019-03-26 Game machine
JP2020169278A Withdrawn JP2021003612A (en) 2012-03-08 2020-10-06 Game machine

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2012109682A Expired - Fee Related JP5983011B2 (en) 2012-03-08 2012-05-11 Game machine

Family Applications After (3)

Application Number Title Priority Date Filing Date
JP2018004935A Active JP6504277B2 (en) 2012-03-08 2018-01-16 Gaming machine
JP2019058588A Pending JP2019088996A (en) 2012-03-08 2019-03-26 Game machine
JP2020169278A Withdrawn JP2021003612A (en) 2012-03-08 2020-10-06 Game machine

Country Status (1)

Country Link
JP (5) JP5983011B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018051410A (en) * 2012-03-08 2018-04-05 株式会社三洋物産 Game machine

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6109541B2 (en) * 2012-11-20 2017-04-05 株式会社ニューギン Game machine
JP6337284B2 (en) * 2014-10-14 2018-06-06 株式会社大一商会 Game machine
JP6337285B2 (en) * 2014-11-14 2018-06-06 株式会社大一商会 Game machine
JP6482895B2 (en) * 2015-02-19 2019-03-13 株式会社藤商事 Game machine
JP6445999B2 (en) * 2016-05-17 2018-12-26 株式会社ニューギン Game machine
JP6446000B2 (en) * 2016-05-17 2018-12-26 株式会社ニューギン Game machine
JP6445998B2 (en) * 2016-05-17 2018-12-26 株式会社ニューギン Game machine
JP6743726B2 (en) * 2017-02-28 2020-08-19 オムロン株式会社 Magnet detection device and game machine
JP2019076542A (en) * 2017-10-26 2019-05-23 株式会社三共 Game machine
JP6842175B2 (en) * 2018-03-20 2021-03-17 株式会社ソフイア Game machine
JP2019162304A (en) * 2018-03-20 2019-09-26 株式会社ソフイア Game machine
JP2018103019A (en) * 2018-04-05 2018-07-05 株式会社大一商会 Game machine
JP2018103018A (en) * 2018-04-05 2018-07-05 株式会社大一商会 Game machine
JP6771061B2 (en) * 2019-03-27 2020-10-21 株式会社ニューギン Game machine
JP6740413B2 (en) * 2019-03-27 2020-08-12 株式会社ニューギン Amusement machine
JP6780049B2 (en) * 2019-03-27 2020-11-04 株式会社ニューギン Game machine
JP6740412B2 (en) * 2019-03-27 2020-08-12 株式会社ニューギン Amusement machine
JP7136481B2 (en) * 2020-03-24 2022-09-13 株式会社大一商会 game machine
JP7136480B2 (en) * 2020-03-24 2022-09-13 株式会社大一商会 game machine

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4599601B2 (en) * 2004-12-10 2010-12-15 株式会社大一商会 Game machine
JP2008142126A (en) * 2006-12-06 2008-06-26 Samii Kk Game machine
JP4067050B1 (en) * 2007-02-16 2008-03-26 ネット株式会社 Game machine
JP4589353B2 (en) * 2007-03-29 2010-12-01 株式会社藤商事 Bullet ball machine
JP5195203B2 (en) * 2008-09-16 2013-05-08 オムロン株式会社 Magnet detecting device and magnet detecting method for gaming machine
JP5420232B2 (en) * 2008-12-05 2014-02-19 株式会社三共 Game machine and magnet detection sensor device
JP2010200904A (en) * 2009-03-02 2010-09-16 Fujishoji Co Ltd Pinball game machine
JP5391835B2 (en) * 2009-05-27 2014-01-15 オムロン株式会社 Magnet detection apparatus and magnet detection method
JP5356320B2 (en) * 2010-06-24 2013-12-04 日立オートモティブシステムズ株式会社 Brushless motor drive device
JP5671257B2 (en) * 2010-05-26 2015-02-18 株式会社ソフイア Game machine
JP5983011B2 (en) * 2012-03-08 2016-08-31 株式会社三洋物産 Game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018051410A (en) * 2012-03-08 2018-04-05 株式会社三洋物産 Game machine

Also Published As

Publication number Publication date
JP2019088996A (en) 2019-06-13
JP2021003612A (en) 2021-01-14
JP5983011B2 (en) 2016-08-31
JP2013212347A (en) 2013-10-17
JP2016185470A (en) 2016-10-27
JP6504277B2 (en) 2019-04-24
JP2018051410A (en) 2018-04-05

Similar Documents

Publication Publication Date Title
JP6308254B2 (en) Game machine
JP5169105B2 (en) Game machine
JP2019058823A (en) Game machine
JP5796657B2 (en) Game machine
JP6229257B2 (en) Game machine
JP2009072330A (en) Game machine
JP6447556B2 (en) Game machine
JP6436611B2 (en) Game machine
JP5786841B2 (en) Game machine
JP2018030023A (en) Game machine
JP5971135B2 (en) Game machine
JP6365596B2 (en) Game machine
JP6123227B2 (en) Game machine
JP6273668B2 (en) Game machine
JP6036957B2 (en) Game machine
JP7392803B2 (en) gaming machine
JP6251950B2 (en) Game machine
JP5998850B2 (en) Game machine
JP2018149396A (en) Game machine
JP2015186695A (en) Game machine
JP2016221071A (en) Pachinko game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20170801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170928

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20171017

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180116

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20180118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180226

R150 Certificate of patent or registration of utility model

Ref document number: 6308254

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