JP5194548B2 - Door opening detection device and method. - Google Patents

Door opening detection device and method. Download PDF

Info

Publication number
JP5194548B2
JP5194548B2 JP2007118986A JP2007118986A JP5194548B2 JP 5194548 B2 JP5194548 B2 JP 5194548B2 JP 2007118986 A JP2007118986 A JP 2007118986A JP 2007118986 A JP2007118986 A JP 2007118986A JP 5194548 B2 JP5194548 B2 JP 5194548B2
Authority
JP
Japan
Prior art keywords
door
flip
power supply
unit
flop circuit
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
JP2007118986A
Other languages
Japanese (ja)
Other versions
JP2008272189A (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.)
Omron Corp
Original Assignee
Omron Corp
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 Omron Corp filed Critical Omron Corp
Priority to JP2007118986A priority Critical patent/JP5194548B2/en
Publication of JP2008272189A publication Critical patent/JP2008272189A/en
Application granted granted Critical
Publication of JP5194548B2 publication Critical patent/JP5194548B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、扉開放検出装置および方法に関し、特に、安価な構成により、遊技機の扉の不正な開放を確実に検出できるようにした扉開放検出装置および方法に関する。   The present invention relates to a door opening detection device and method, and more particularly, to a door opening detection device and method that can reliably detect an unauthorized opening of a gaming machine door with an inexpensive configuration.

遊技店において、閉店後の遊技機の不正改造防止が課題となっており、遊技機の電源遮断後に扉の開放を監視する機能が求められている。   In game stores, prevention of unauthorized modification of game machines after closing has become an issue, and a function of monitoring the opening of a door after the power supply of the game machine is cut off is required.

現状において、遊技機単体には扉開閉検出機能は搭載されているものの、遊技機の電源供給時しか動作しないものが一般的である。   Currently, a single gaming machine is generally equipped with a door opening / closing detection function, but only operates when power is supplied to the gaming machine.

そこで、予め充電されたコンデンサの電荷を扉が開放された際に放電することで、無電源期間中の扉開放を検出する手段が提案されている(特許文献1参照)。   In view of this, there has been proposed means for detecting the door opening during the non-power supply period by discharging the charge of the capacitor charged in advance when the door is opened (see Patent Document 1).

また、遊技店の設備として、扉開閉検出機能の開閉信号を直接ホールコンピュータに送信する構成や、カバー開閉信号をコントローラに記憶し報知・動作停止処理をする構成などが提案されている(特許文献2,3参照)。   In addition, as the equipment of the amusement store, a configuration in which an open / close signal of a door open / close detection function is directly transmitted to the hall computer, a configuration in which a cover open / close signal is stored in a controller and a notification / operation stop process is proposed (Patent Literature) 2 and 3).

また最近では、遊技機本体にバッテリと開閉検出機能を設けるようにさせ、常に開閉時刻などの履歴を記録し、履歴データをホールコンピュータと通信する構成も提案されている(特許文献4参照)。これは、製品出荷時から常時一定時間毎に開閉状態を検出、記録し、かつ監視ユニットが固有IDを持つことで不正交換を防止するものである。   Recently, there has also been proposed a configuration in which a gaming machine body is provided with a battery and an opening / closing detection function, and a history such as opening / closing time is always recorded, and history data is communicated with a hall computer (see Patent Document 4). This is to detect and record the open / closed state at regular intervals from the time of product shipment, and to prevent unauthorized replacement by having a unique ID for the monitoring unit.

特開2001−340595号公報JP 2001-340595 A 特開2001−009137号公報JP 2001-009137 A 特開2005−218597号公報JP 2005-218597 A 特開2003−159466号公報JP 2003-159466 A

しかしながら、上述した特許文献1に記載の技術においては、扉開放によりコンデンサの電荷を放電した後に、外部電源を用いてコンデンサに再充電することで容易に元の状態に復帰させることができ、扉の不正な開放があったことを示す痕跡が残らない恐れがある。   However, in the technique described in Patent Document 1 described above, after discharging the charge of the capacitor by opening the door, it can be easily restored to the original state by recharging the capacitor using an external power source. There is a risk that no trace will be left indicating that there was an unauthorized opening.

また、特許文献2に記載の技術においては、扉開閉信号をホールコンピュータに送信する場合、閉店後もホールコンピュータを稼動させておく必要があり、開閉検出機能を実現する配線が短絡されるなどにより、容易に機能が無効化される恐れがある。   In the technique described in Patent Document 2, when a door open / close signal is transmitted to the hall computer, it is necessary to keep the hall computer running even after the store is closed, and the wiring for realizing the opening / closing detection function is short-circuited. The function may be easily invalidated.

さらに、特許文献3に記載の技術においては、扉開閉信号の記憶する機構としてラッチ回路が利用されているが、外部からクリア信号が入力されることで、容易に記憶内容が変更され、元の状態に復帰させられてしまい、扉の不正な開放があったことを示す痕跡が残らない恐れがある。   Furthermore, in the technique described in Patent Document 3, a latch circuit is used as a mechanism for storing a door opening / closing signal. However, when a clear signal is input from the outside, the stored content is easily changed, and the original There is a risk that it will be returned to the state and no trace will be left indicating that the door has been opened improperly.

また、特許文献4に記載の技術においては、バッテリを用いて開閉履歴を記憶する構成であるため、複雑な処理を実行するための演算装置や、プログラムおよび履歴データを保存するための大容量の記憶機構が必要になるため高価となる恐れがある。また、処理の多くを遊技店の全体を管理する演算処理装置に頼る構成となるため、やはり、コスト高となる恐れがある。   Moreover, in the technique described in Patent Document 4, since the configuration is such that the opening / closing history is stored using a battery, an arithmetic device for executing complicated processing, a large capacity for storing programs and history data, and the like. Since a storage mechanism is required, it may be expensive. In addition, since much of the processing depends on an arithmetic processing device that manages the entire amusement store, there is a risk that the cost may increase.

本発明はこのような状況に鑑みてなされたものであり、例えば、電源の投入を停止した後、所定のデータを記憶させ、遊技機の扉の開放を検出した場合、記憶させていたデータを消去することで、安価で、かつ、確実に扉の開放を検出できるようにするものである。   The present invention has been made in view of such a situation. For example, after the power supply is stopped, predetermined data is stored, and when opening of the door of the gaming machine is detected, the stored data is stored. By erasing, it is possible to detect the opening of the door reliably and inexpensively.

本発明の一側面の扉開放検出装置は、所定のデータを記憶する記憶手段と、扉の開放を検出し、前記扉の開放が検出された場合、前記記憶手段により記憶された前記所定のデータを消去する消去手段と、前記記憶手段により記憶される前記所定のデータを記憶、または、読み出す信号線を接続、または、切断する切替手段とを含み、前記扉が設けられた装置、並びに前記記憶手段、前記消去手段、および前記切替手段に電力を供給する主電源からの電力供給が停止するとき、前記切替手段は、前記信号線を切断し、前記切替手段により前記信号線が切断された後、前記消去手段は、前記扉の開放を検出したとき、前記記憶手段により記憶された前記所定のデータを消去するThe door opening detection device according to one aspect of the present invention includes a storage unit that stores predetermined data, and the predetermined data stored by the storage unit when the opening of the door is detected by detecting the opening of the door. Including an erasing unit for erasing data and a switching unit for connecting or disconnecting a signal line for storing or reading out the predetermined data stored in the storage unit, the device provided with the door, and the storage And when the power supply from the main power source supplying power to the erasing means, the erasing means, and the switching means stops, the switching means disconnects the signal line, and after the signal line is disconnected by the switching means The erasing unit erases the predetermined data stored in the storage unit when detecting the opening of the door .

前記記憶手段は、複数ビットからなる前記所定のデータを記憶させるようにすることができ、前記消去手段には、前記扉の開放を検出させ、前記扉の開放が検出された場合、前記記憶手段により記憶された前記所定のデータを全て消去させるようにすることができる。   The storage means can store the predetermined data consisting of a plurality of bits, and the erasure means detects the opening of the door, and when the opening of the door is detected, the storage means All of the predetermined data stored by can be erased.

前記主電源がよりも低い電圧の補助電源をさらに含ませるようにすることができ、前記補助電源とダイオードとが順方向に接続されて、前記記憶手段に電力を供給し、直列に接続されている前記補助電源と前記ダイオードとに対して、並列に前記主電源が接続されるようにすることができる。   The main power supply may further include an auxiliary power supply having a lower voltage, and the auxiliary power supply and the diode are connected in the forward direction to supply power to the storage means and connected in series. The main power supply can be connected in parallel to the auxiliary power supply and the diode.

直列に接続されている前記補助電源と前記ダイオードとに対して、並列に前記主電源と前記ダイオードとは異なる他のダイオードが順方向に接続されるようにすることができる。   Other diodes different from the main power supply and the diode may be connected in the forward direction in parallel to the auxiliary power supply and the diode connected in series.

前記記憶手段により前記所定のデータが記憶されているか否かにより前記扉の開放が検出されたか否かを判定する判定手段をさらに含ませるようにすることができる。   The storage unit may further include a determination unit that determines whether the opening of the door is detected based on whether the predetermined data is stored.

前記記憶手段は、D型フリップフロップ、RS型フリップフロップ、シフトレジスタ、または不揮発性メモリとすることができる。   The storage means may be a D-type flip-flop, an RS-type flip-flop, a shift register, or a nonvolatile memory.

前記消去手段には、接点スイッチ、近接スイッチ、光学スイッチ、または磁気スイッチを含ませるようにすることができる。   The erasing means may include a contact switch, a proximity switch, an optical switch, or a magnetic switch.

本発明の一側面の扉開放検出方法は、所定のデータを記憶する記憶ステップと、扉の開放を検出し、前記扉の開放が検出された場合、前記記憶ステップの処理により記憶された前記所定のデータを消去する消去ステップと、前記記憶ステップの処理により記憶される前記所定のデータを記憶、または、読み出す信号線を接続、または、切断する切替ステップとを含み、前記扉が設けられた装置、並びに前記記憶ステップの処理、前記消去ステップの処理、および前記切替ステップの処理に係る電力を供給する主電源からの電力供給が停止するとき、前記切替ステップの処理は、前記信号線を切断し、前記切替ステップの処理により前記信号線が切断された後、前記消去ステップの処理は、前記扉の開放を検出したとき、前記記憶ステップの処理により記憶された前記所定のデータを消去するThe door opening detection method according to one aspect of the present invention includes a storage step of storing predetermined data, and the opening of the door is detected, and when the opening of the door is detected, the predetermined opening stored by the processing of the storage step. And a switching step of connecting or disconnecting a signal line for storing or reading out the predetermined data stored by the processing of the storage step, and an apparatus provided with the door , and the processing of the storage step, the process of the removing step, and when the power supply from the switching step of supplying main power to the power according to the process stops, the process of the switching step is to cut the signal line After the signal line is disconnected by the process of the switching step, the process of the erasing step is performed when the opening of the door is detected. Erasing the predetermined data stored by.

本発明の遊技機は、請求項1に記載の扉開放検出装置を含ませるようにすることができる。   The gaming machine of the present invention can include the door opening detection device according to claim 1.

本発明の一側面の扉開放検出装置および方法においては、所定のデータが記憶され、扉の開放が検出され、前記扉の開放を検出した場合、記憶された前記所定のデータが消去され、記憶される前記所定のデータが記憶、または、読み出される信号線が接続、または、切断され、電力を供給する主電源からの電力供給が停止するとき、前記信号線が切断され、前記信号線が切断された後、前記扉の開放を検出したとき、記憶された前記所定のデータが消去される。 In the door opening detection apparatus and method according to one aspect of the present invention, predetermined data is stored, door opening is detected, and when the door opening is detected, the stored predetermined data is erased and stored. The signal line for storing or reading the predetermined data is connected or disconnected, and when the power supply from the main power supply that supplies power stops , the signal line is disconnected and the signal line is disconnected Then, when the opening of the door is detected, the stored predetermined data is deleted .

本発明の一側面の扉開放検出装置における、所定のデータを記憶する記憶手段とは、例えば、フリップフロップ回路であり、扉の開放を検出し、前記扉の開放が検出された場合、前記記憶手段により記憶された前記所定のデータを消去する消去手段とは、例えば、扉開放スイッチであり、前記記憶手段により記憶される前記所定のデータを記憶、または、読み出す信号線を接続、または、切断する切替手段とは、例えば、スイッチである。 In the door opening detection device according to one aspect of the present invention, the storage means for storing predetermined data is, for example, a flip-flop circuit, and detects the opening of the door, and the storage is detected when the opening of the door is detected. the erasing means for erasing the predetermined data stored by means, for example, a door opening switch der is, storing the predetermined data stored by said memory means, or connecting the signal line to be read, or, the switching means for cutting, for example, Ru switch der.

すなわち、遊技機電源部からの電力供給が停止する直前のタイミングで、フリップフロップ回路が、所定のデータを記憶し、扉の開放が検出された場合、開放検出スイッチによりフリップフロップ回路にクリア信号を入力することで、記憶された前記所定のデータが消去される。このため、制御部の開閉検出部は、遊技機電源部から電源供給が開始されるタイミングで、フリップフロップ回路により記憶された前記所定のデータが記憶されていれば、扉の開放が検出されておらず、所定のデータが記憶されていなければ、扉の開放が検出されたものと判断する。さらに、前記主電源からの電力供給が停止している場合、スイッチがオフになることで、記憶される前記所定のデータを記憶、または、読み出す信号線が切断されるので、コネクタが引き出されて不正な信号を外部から入力しても、フリップフロップ回路で記憶している前記所定のデータを改ざんすることができない。 That is, at the timing immediately before the power supply from the gaming machine power supply is stopped, the flip-flop circuit stores predetermined data, and when the opening of the door is detected, a clear signal is sent to the flip-flop circuit by the opening detection switch. By inputting, the predetermined data stored is erased. For this reason, the opening / closing detection unit of the control unit detects the opening of the door if the predetermined data stored by the flip-flop circuit is stored at the timing when the power supply from the gaming machine power supply unit is started. If the predetermined data is not stored, it is determined that the opening of the door is detected. Furthermore, when the power supply from the main power supply is stopped, the signal line for storing or reading the predetermined data stored is disconnected by turning off the switch, so that the connector is pulled out. Even if an illegal signal is input from the outside, the predetermined data stored in the flip-flop circuit cannot be falsified.

これにより、遊技機の主電源の供給が停止してから次に主電源からの供給がなされるまでの間に、不正に扉が開放されると、フリップフロップ回路には、予め記憶されていた所定のデータが消去されることになるので、電源供給が停止している間に、何らかの理由により扉の開放が検出されたことを認識することができる。   As a result, if the door is illegally opened between the time when the main power supply of the gaming machine is stopped and the time when the main power is supplied next time, the flip-flop circuit stores it in advance. Since the predetermined data is erased, it can be recognized that the opening of the door is detected for some reason while the power supply is stopped.

結果として、主電源の投入を停止した後、予め設定されている所定のデータを記憶させ、遊技機の扉の開放が検出されると、所定のデータが消去されるので、安価で、かつ、確実に扉の開放を検出することが可能となる。   As a result, after turning off the main power supply, the predetermined data set in advance is stored, and when the opening of the door of the gaming machine is detected, the predetermined data is erased, so that it is inexpensive, and It becomes possible to reliably detect the opening of the door.

本発明によれば、安価で、かつ、確実に扉の開放を検出することが可能となる。   According to the present invention, it is possible to detect opening of a door reliably and inexpensively.

以下に本発明の実施の形態を説明するが、本発明の構成要件と、発明の詳細な説明に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、発明の詳細な説明に記載されていることを確認するためのものである。従って、発明の詳細な説明中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. Correspondences between the configuration requirements of the present invention and the embodiments described in the detailed description of the present invention are exemplified as follows. This description is to confirm that the embodiments supporting the present invention are described in the detailed description of the invention. Accordingly, although there are embodiments that are described in the detailed description of the invention but are not described here as embodiments corresponding to the constituent elements of the present invention, It does not mean that the embodiment does not correspond to the configuration requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.

すなわち、本発明の一側面の扉開放検出装置は、所定のデータを記憶する記憶手段(例えば、図1のフリップフロップ回路FF1乃至FF6)と、扉の開放を検出し、前記扉の開放が検出された場合、前記記憶手段により記憶された前記所定のデータを消去する消去手段(例えば、図1の扉開放スイッチSW1)と、前記記憶手段により記憶される前記所定のデータを記憶、または、読み出す信号線を接続、または、切断する切替手段(例えば、図7のスイッチSW21乃至SW22)とを含み、前記扉が設けられた装置、並びに前記記憶手段、前記消去手段、および前記切替手段に電力を供給する主電源からの電力供給が停止するとき、前記切替手段は、前記信号線を切断し、前記切替手段により前記信号線が切断された後、前記消去手段は、前記扉の開放を検出したとき、前記記憶手段により記憶された前記所定のデータを消去するIn other words, the door opening detection device according to one aspect of the present invention detects storage of storage means (for example, flip-flop circuits FF1 to FF6 in FIG. 1) and opening of the door, and detects the opening of the door. If it is, the erasing means (for example, the door opening switch SW1 in FIG. 1) for erasing the predetermined data stored in the storage means, and the predetermined data stored in the storage means are stored or read out. Switching means for connecting or disconnecting signal lines (for example, switches SW21 to SW22 in FIG. 7) , and power is supplied to the device provided with the door, the memory means, the erasing means, and the switching means. when power supply from the main power supply is stopped, the switching means disconnects the signal line, after the signal line is disconnected by the switching means, said erasing means When detecting the opening of the door to erase the predetermined data stored by said memory means.

前記記憶手段(例えば、図1のフリップフロップ回路FF1乃至FF6)は、複数ビットからなる前記所定のデータを記憶させるようにすることができ、前記消去手段(例えば、図1の扉開放スイッチSW1)には、前記扉の開放を検出させ、前記扉の開放が検出された場合、複数の前記記憶手段により記憶された前記所定のデータを全て消去させるようにすることができる。   The storage means (for example, the flip-flop circuits FF1 to FF6 in FIG. 1) can store the predetermined data consisting of a plurality of bits, and the erasing means (for example, the door opening switch SW1 in FIG. 1). The opening of the door is detected, and when the opening of the door is detected, all of the predetermined data stored in the plurality of storage means can be deleted.

主電源よりも低い電圧の補助電源(例えば、図1の補助電源V0)をさらに含ませるようにすることができ、前記補助電源とダイオード(例えば、図1のダイオードD1)とが順方向に接続されて、前記記憶手段に電力を供給し、直列に接続されている前記補助電源と前記ダイオードとに対して、並列に前記主電源が接続されるようにすることができる。 An auxiliary power source having a lower voltage than the main power source (for example, the auxiliary power source V 0 in FIG. 1) can be further included, and the auxiliary power source and the diode (for example, the diode D1 in FIG. 1) are forwardly connected. The main power supply can be connected in parallel to supply power to the storage means and to the auxiliary power supply and the diode connected in series.

直列に接続されている前記補助電源と前記ダイオードとに対して、並列に前記主電源と前記ダイオードとは異なる他のダイオード(例えば、図1のダイオードD2)が順方向に接続されるようにすることができる。   Other diodes (for example, diode D2 in FIG. 1) different from the main power supply and the diode are connected in parallel to the auxiliary power supply and the diode connected in series. be able to.

前記記憶手段により前記所定のデータが記憶されているか否かにより前記扉の開放が検出されたか否かを判定する判定手段(例えば、図1の開放判定部4c)をさらに含ませるようにすることができる。   Further, a determination unit (for example, an opening determination unit 4c in FIG. 1) for determining whether or not the opening of the door is detected based on whether or not the predetermined data is stored in the storage unit is included. Can do.

前記記憶手段(例えば、図1のフリップフロップ回路FF1乃至FF6)は、D型フリップフロップ、RS型フリップフロップ、シフトレジスタ、または不揮発性メモリとすることができる。   The storage means (for example, flip-flop circuits FF1 to FF6 in FIG. 1) can be a D-type flip-flop, an RS-type flip-flop, a shift register, or a nonvolatile memory.

前記消去手段(例えば、図1の扉開放スイッチSW1)は、接点スイッチ、近接スイッチ、光学スイッチ、または磁気スイッチを含ませるようにすることができる。   The erasing means (for example, the door opening switch SW1 in FIG. 1) can include a contact switch, a proximity switch, an optical switch, or a magnetic switch.

本発明の一側面の扉開放検出方法は、所定のデータを記憶する記憶ステップ(例えば、図2のステップS2)と、扉の開放を検出し、前記扉の開放が検出された場合、前記記憶ステップの処理により記憶された前記所定のデータを消去する消去ステップ(例えば、図2のステップS4)と、前記記憶ステップの処理により記憶される前記所定のデータを記憶、または、読み出す信号線を接続、または、切断する切替ステップ(例えば、図8のステップS24,S30)とを含み、前記扉が設けられた装置、並びに前記記憶ステップの処理、前記消去ステップの処理、および前記切替ステップの処理に係る電力を供給する主電源からの電力供給が停止するとき、前記切替ステップの処理は、前記信号線を切断し、前記切替ステップの処理により前記信号線が切断された後、前記消去ステップの処理は、前記扉の開放を検出したとき、前記記憶ステップの処理により記憶された前記所定のデータを消去するThe door opening detection method according to one aspect of the present invention includes a storage step (for example, step S2 in FIG. 2) for storing predetermined data, and the opening of the door is detected, and when the opening of the door is detected, the storage is performed. An erasing step (for example, step S4 in FIG. 2) for erasing the predetermined data stored by the processing of the step and a signal line for storing or reading the predetermined data stored by the processing of the storage step are connected. Or a switching step for cutting (for example, steps S24 and S30 in FIG. 8), and the apparatus provided with the door, the storage step processing, the erasing step processing, and the switching step processing. when stopping the power supply from supplying main power to power according the process of the switching step is to cut the signal line, the processing of the switching step After serial signal line is disconnected, the processing of the erase step, when it detects the opening of the door to erase the predetermined data stored by the processing of said storing step.

図1は、本発明に係る正面扉の開放を検出する扉開放検出部を備えた遊技機の一実施の形態の構成を示す図である。   FIG. 1 is a diagram illustrating a configuration of an embodiment of a gaming machine including a door opening detection unit that detects opening of a front door according to the present invention.

遊技機には、扉開放検出部1、コネクタ2,3、制御部4、遊技機電源部5、交流電源6、および、発報部7が備えられている。   The gaming machine includes a door opening detection unit 1, connectors 2 and 3, a control unit 4, a gaming machine power supply unit 5, an AC power supply 6, and a notification unit 7.

扉開放検出部1は、遊技機の主電源である遊技機電源部5より電力供給が停止する直前に制御部4より入力される所定のデータを記憶し、図示せぬ遊技機の正面扉の開放を監視する監視状態に入る。そして、扉開放検出部1は、遊技機電源部5から電力供給が開始されるまでの間に、図示せぬ遊技機の正面扉の開放を検出するとき、記憶されていた所定のデータを消去する。そして、遊技機電源部5より電源が投入されるとき、制御部4は、扉開放検出部1が、所定のデータを記憶しているか否かに基づいて、正面扉の開放の検出の有無を判定する。   The door opening detection unit 1 stores predetermined data input from the control unit 4 immediately before the supply of power from the gaming machine power supply unit 5 which is a main power source of the gaming machine is stopped, and the door opening detection unit 1 Enter the monitoring state to monitor opening. When the door opening detection unit 1 detects the opening of the front door of the gaming machine (not shown) before the power supply from the gaming machine power supply unit 5 is started, it erases the stored predetermined data. To do. Then, when the power is turned on from the gaming machine power supply unit 5, the control unit 4 determines whether the opening of the front door is detected based on whether or not the door opening detection unit 1 stores predetermined data. judge.

コネクタ2,3は、扉開放検出部1を遊技機より単独で組み付け、または取り外せるように設けられた、相互に凹凸形状からなる接続端子である。また、コネクタ2,3は、図1の上から遊技機電源部5より扉開放検出部1に供給されてくる電力供給線、扉開放検出部1より制御部4に記憶している開放検出信号を伝送する開放検出信号線、制御部4より扉開放検出部1に供給されるクロック信号を伝送するクロック信号線、データ信号を伝送するデータ信号線、および接地部分に接続されている接地線をそれぞれ接続している。   The connectors 2 and 3 are connecting terminals each having an uneven shape provided so that the door opening detection unit 1 can be assembled or removed independently from the gaming machine. Further, the connectors 2 and 3 are power supply lines supplied from the gaming machine power supply unit 5 to the door opening detection unit 1 from the top of FIG. 1, and an opening detection signal stored in the control unit 4 from the door opening detection unit 1 An open detection signal line for transmitting the signal, a clock signal line for transmitting the clock signal supplied from the control unit 4 to the door open detection unit 1, a data signal line for transmitting the data signal, and a ground line connected to the ground portion. Each is connected.

制御部4は、交流電源6からの交流電源を直流電源に変換する遊技機電源部5より供給される直流の電力により動作し、遊技機の動作の全体を管理すると共に、扉開放検出部1の動作を制御する。また、制御部4は、使用者により図示せぬ操作部が操作されてスイッチSW2がOFFにされると、電力供給が完全に停止するまでの時間に(約0.1秒程度の間に)、各種のデータを図示せぬ不揮発性のメモリに記憶させる。この際、制御部4は、クロック信号発生部4bを制御してクロック信号端子VCKよりクロック信号を発生させ扉開放検出部1に供給させると共に、リセット管理部4aを制御して、クロック信号の立ち下がりのタイミングに同期して、複数ビットのデータからなるリセット信号をデータ出力端子VDEより順次扉開放検出部1に入力させる。 The control unit 4 operates with direct current power supplied from the gaming machine power source unit 5 that converts the alternating current power source from the alternating current power source 6 into a direct current power source, manages the overall operation of the gaming machine, and opens the door opening detection unit 1. To control the operation. In addition, when the operation unit (not shown) is operated by the user and the switch SW2 is turned off, the control unit 4 performs various kinds of processing until the power supply is completely stopped (for about 0.1 second). Are stored in a non-volatile memory (not shown). At this time, the control unit 4 controls the clock signal generation unit 4b to generate a clock signal from the clock signal terminal VCK and supply it to the door opening detection unit 1, and also controls the reset management unit 4a to control the clock signal. In synchronization with the falling timing, a reset signal composed of a plurality of bits of data is sequentially input from the data output terminal V DE to the door opening detector 1.

また、制御部4は、スイッチSW2がONに操作されると、クロック信号発生部4bを制御してクロック信号端子VCKよりクロック信号を発生させ扉開放検出部1に供給させると共に、開放判定部4cを制御して、クロック信号と同期して端子VINに入力される扉開放検出部1からの複数ビットのデータからなる開放検出信号を受信させ、受信した開放検出信号がリセット信号と一致するか否かの判定に基づいて、電源供給が停止されている間に、図示せぬ遊技機の正面扉が開放されたか否か、すなわち、不正開放が検出されているか否かを判定させて、判定結果に対応して発報部7を動作させ、不正な扉の開放があったことを発報させる。 Further, when the switch SW2 is turned ON, the control unit 4 controls the clock signal generation unit 4b to generate a clock signal from the clock signal terminal VCK and supply it to the door opening detection unit 1, and the opening determination unit. 4c is controlled to receive an opening detection signal composed of a plurality of bits of data from the door opening detection unit 1 input to the terminal VIN in synchronization with the clock signal, and the received opening detection signal matches the reset signal. Based on the determination whether or not, while the power supply is stopped, whether or not the front door of the gaming machine (not shown) has been opened, that is, whether or not unauthorized opening has been detected, In response to the determination result, the reporting unit 7 is operated to report that there has been an unauthorized door opening.

遊技機電源部5は、交流電源6より供給されてくる交流電源を遊技機で使用可能な直流電源に変換し、扉開放検出部1および制御部4に供給する。遊技機で使用可能な電力の電圧としては、例えば、5Vである。以降においては、5Vであるものとして説明を進めるが、当然のことながらそれ以外の電圧でも良い。   The gaming machine power supply unit 5 converts the AC power supplied from the AC power source 6 into a DC power source that can be used in the gaming machine, and supplies it to the door opening detection unit 1 and the control unit 4. The voltage of power that can be used in the gaming machine is, for example, 5V. In the following, the description will be made assuming that the voltage is 5 V, but it goes without saying that other voltages may be used.

次に、扉開放検出部1の構成例について説明する。扉開放検出部1は、フリップフロップ回路FF1乃至FF6、ダイオードD1,D2、抵抗R1、補助電源V0、および扉開放検出スイッチSW1から構成されている。 Next, a configuration example of the door opening detection unit 1 will be described. The door opening detection unit 1 includes flip-flop circuits FF1 to FF6, diodes D1 and D2, a resistor R1, an auxiliary power source V 0 , and a door opening detection switch SW1.

フリップフロップ回路FF1乃至FF6は、いずれもD型フリップフロップ回路であり、電源端子Vcc、データ入力端子D、クロック信号入力端子CK、クリア信号端子CLR、グランド端子GND、正出力端子Q、および負出力端子Q’(図1中においては、Qの上部にバーが表記されているが、本明細書中においては、表示の都合上「Q’」と称するものとする)が設けられている。   The flip-flop circuits FF1 to FF6 are all D-type flip-flop circuits, and include a power supply terminal Vcc, a data input terminal D, a clock signal input terminal CK, a clear signal terminal CLR, a ground terminal GND, a positive output terminal Q, and a negative output. A terminal Q ′ (in FIG. 1, a bar is shown above Q, but in this specification, it is referred to as “Q ′” for convenience of display) is provided.

フリップフロップ回路FF1乃至FF6は、電源端子Vccに供給される電力により駆動し、クロック信号入力端子CKに入力されるクロック信号が立ち下がるタイミングでデータ入力端子Dに入力される信号を保持し、同一の信号を正出力端子Qより出力し、負信号を負出力端子より出力する。すなわち、クロック信号入力端子CKに入力されるクロック信号が立ち下がるタイミングで、データ入力端子DにHiの信号が入力されると、フリップフロップ回路FF1乃至FF6は、Hiの信号を保持して、正出力端子Qより同一のHiの信号を、負出力端子Q’よりHi信号の負信号であるLowを出力する。逆に、クロック信号入力端子CKに入力されるクロック信号が立ち下がるタイミングで、データ入力端子DにLowの信号が入力されると、フリップフロップ回路FF1乃至FF6は、Lowの信号を保持して、正出力端子QよりLowの信号を、負出力端子Q’よりLow信号の負信号であるHiをそれぞれ出力する。   The flip-flop circuits FF1 to FF6 are driven by the power supplied to the power supply terminal Vcc, hold the signal input to the data input terminal D at the timing when the clock signal input to the clock signal input terminal CK falls, and are the same. Are output from the positive output terminal Q, and the negative signal is output from the negative output terminal. That is, when a Hi signal is input to the data input terminal D at the timing when the clock signal input to the clock signal input terminal CK falls, the flip-flop circuits FF1 to FF6 hold the Hi signal and perform positive operations. The same Hi signal is output from the output terminal Q, and Low, which is a negative signal of the Hi signal, is output from the negative output terminal Q ′. Conversely, when a low signal is input to the data input terminal D at the timing when the clock signal input to the clock signal input terminal CK falls, the flip-flop circuits FF1 to FF6 hold the low signal, A low signal is output from the positive output terminal Q, and Hi, which is a negative signal of the low signal, is output from the negative output terminal Q ′.

また、フリップフロップ回路FF1乃至FF6は、クリア信号端子CLRにHiの信号が入力されると、クロック信号入力端子CKに入力される信号とは無関係に強制的にLowを保持して、正出力端子QよりLowの信号を、負出力端子Q’よりLow信号の負信号であるHiをそれぞれ出力する。   Further, when the Hi signal is input to the clear signal terminal CLR, the flip-flop circuits FF1 to FF6 forcibly hold Low regardless of the signal input to the clock signal input terminal CK, and the positive output terminal A low signal is output from Q, and Hi, which is a negative signal of the low signal, is output from the negative output terminal Q ′.

さらに、フリップフロップ回路FF1乃至FF6は、シリーズに接続されており、いわゆる6ビットのシフトレジスタを構成している。すなわち、フリップフロップ回路FF1乃至FF6の全てのクロック信号入力端子CKが、制御部4のクロック信号端子VCKに接続されている。また、フリップフロップ回路FF1のデータ入力端子Dが制御部4のデータ出力端子VDEに接続され、フリップフロップ回路FF1の正出力端子Qがフリップフロップ回路FF2のデータ入力端子Dに接続され、フリップフロップ回路FF2の正出力端子Qがフリップフロップ回路FF3のデータ入力端子Dに接続され、フリップフロップ回路FF3の正出力端子Qがフリップフロップ回路FF4のデータ入力端子Dに接続され、フリップフロップ回路FF4の正出力端子Qがフリップフロップ回路FF5のデータ入力端子Dに接続され、フリップフロップ回路FF4の正出力端子Qがフリップフロップ回路FF5のデータ入力端子Dに接続され、フリップフロップ回路FF5の正出力端子Qがフリップフロップ回路FF6のデータ入力端子Dに接続されている。そして、フリップフリップ回路FF6の正出力端子Qが制御部4の端子VINに接続されている。また、フリップフロップ回路FF1乃至FF6のクリア信号端子CLRは、いずれも扉開放検出スイッチSW1に接続されている。 Further, the flip-flop circuits FF1 to FF6 are connected in series and constitute a so-called 6-bit shift register. That is, all of the clock signal input terminal CK of the flip-flop circuits FF1 through FF6 is connected to the clock signal terminal V CK of the control unit 4. The data input terminal D of the flip-flop circuit FF1 is connected to the data output terminal V DE of the control unit 4, the positive output terminal Q of the flip-flop circuit FF1 is connected to the data input terminal D of the flip-flop circuit FF2, and the flip-flop The positive output terminal Q of the circuit FF2 is connected to the data input terminal D of the flip-flop circuit FF3. The positive output terminal Q of the flip-flop circuit FF3 is connected to the data input terminal D of the flip-flop circuit FF4. The output terminal Q is connected to the data input terminal D of the flip-flop circuit FF5, the positive output terminal Q of the flip-flop circuit FF4 is connected to the data input terminal D of the flip-flop circuit FF5, and the positive output terminal Q of the flip-flop circuit FF5 is Data input terminal of flip-flop circuit FF6 It is connected to. The positive output terminal Q of the flip flip circuit FF 6 is connected to the terminal V IN of the control unit 4. The clear signal terminals CLR of the flip-flop circuits FF1 to FF6 are all connected to the door opening detection switch SW1.

ダイオードD1は、補助電源V0の正端子からみてフリップフロップ回路FF1の電源端子Vccの方向に対して順方向に設けられており、遊技機電源部5より電力が供給されている場合、電力の逆流を防止する。 The diode D1, as viewed from the positive terminal of the auxiliary power supply V 0 is provided in a forward direction toward the power supply terminal Vcc of the flip-flop circuit FF1, when the power from the game machine power supply unit 5 is supplied, the power of Prevent backflow.

ダイオードD2は、遊技機電源部5からみてフリップフロップ回路FF6の電源端子Vccの方向に対して順方向に設けられており、遊技機電源部5より電力供給が停止され、かつ、補助電源V0より電力が供給されている場合、遊技機電源部5の電位は不定となり、補助電源V0より供給される電力の逆流を防止する。 The diode D2 is provided in the forward direction with respect to the direction of the power supply terminal Vcc of the flip-flop circuit FF6 when viewed from the gaming machine power supply unit 5, the power supply from the gaming machine power supply unit 5 is stopped, and the auxiliary power supply V 0 is provided. When more electric power is supplied, the potential of the gaming machine power supply unit 5 becomes indefinite, and the backflow of the electric power supplied from the auxiliary power supply V 0 is prevented.

また、補助電源V0と遊技機電源部5の出力電圧V5とは、以下の式(1)の関係が満たされる関係となっている。 Further, the output voltage V 5 of the auxiliary power supply V 0 and the gaming machine power supply unit 5, has a relationship satisfying the relationship of the following equation (1).

0−Vd1<V5−Vd2
・・・(1)
V 0 −Vd1 <V 5 −Vd2
... (1)

ここで、V0は、補助電源V0の電源電圧であり、Vd2は、ダイオードD2の順方向電圧であり、V5は、遊技機電源部5より供給される電源電圧であり、Vd1は、ダイオードD1の順方向電圧である。従って、遊技機電源部5より電力供給があるとき、各電源端子Vccには、(V5−Vd2)で示される電圧が印加され、遊技機電源部5からの電力供給がなくなると補助電源V0より(V0−Vd1)で示される電圧が印加される。 Here, V 0 is the power supply voltage of the auxiliary power supply V 0 , Vd2 is the forward voltage of the diode D2, V 5 is the power supply voltage supplied from the gaming machine power supply unit 5, and Vd1 is This is the forward voltage of the diode D1. Therefore, when from the gaming machine power supply unit 5 is powered, each power supply terminal Vcc, the voltage represented by (V 5-VD2) is applied, the auxiliary power V power supply from the gaming machine power supply unit 5 is eliminated voltage represented by from 0 (V 0 -Vd1) is applied.

抵抗R1は、一方の端部がダイオードD1,D2のカソードに接続され、他方の端部が扉開放検出スイッチSW1に接続されており、クリア信号端子CLRに入力される電圧を調整する。   The resistor R1 has one end connected to the cathodes of the diodes D1 and D2, and the other end connected to the door opening detection switch SW1, and adjusts the voltage input to the clear signal terminal CLR.

扉開放検出スイッチSW1は、接点スイッチ、近接スイッチ、光学スイッチ、または磁気スイッチなどから構成されるスイッチであり、図示せぬ遊技機の正面に設けられた扉の開放を検出するとONにされ、それ以外の場合、すなわち、扉が閉じられている通常状態においては、OFFに設定されるスイッチである。   The door opening detection switch SW1 is a switch composed of a contact switch, a proximity switch, an optical switch, a magnetic switch, etc., and is turned on when the opening of the door provided on the front of the gaming machine (not shown) is detected. In other cases, that is, in a normal state where the door is closed, the switch is set to OFF.

次に、図2のフローチャートを参照して、図1の扉開放検出部1を備えた遊技機による扉開放検出処理について説明する。   Next, with reference to the flowchart of FIG. 2, the door opening detection process by the gaming machine provided with the door opening detection unit 1 of FIG. 1 will be described.

ステップS1において、制御部4は、遊技機電源部5を介して供給されてくる自らの電源端子Vddの電圧を検出し、遊技機本体の電源を制御するスイッチSW2がOFFにされたか否かを判定する。すなわち、制御部4は、遊技機電源部5を介して供給されてくる電圧V5が5V(定格電圧)に準ずる所定の閾値Vthよりも大きいか否かを判定し、大きい場合、遊技機本体の電源がOFFにされていないとみなし、同様の処理を繰り返す。ステップS1において、例えば、図3の最上段の波形図で示されるように、時刻t1にてスイッチSW2がOFFに操作されることにより、電圧が降下し、時刻t2にて電圧V5が、所定の閾値Vthよりも小さいと判定された場合、スイッチSW2がOFFにされたものとみなし、処理はステップS2に進む。 In step S1, the control unit 4 detects the voltage of its own power supply terminal Vdd supplied via the gaming machine power supply unit 5, and determines whether or not the switch SW2 for controlling the power supply of the gaming machine body is turned off. judge. That is, the control unit 4 determines whether or not the voltage V 5 supplied via the gaming machine power supply unit 5 is larger than a predetermined threshold Vth corresponding to 5 V (rated voltage). It is assumed that the power source of is not turned off, and the same processing is repeated. In step S1, for example, as shown in the uppermost waveform diagram of FIG. 3, when the switch SW2 is turned OFF at time t1, the voltage drops, and at time t2, the voltage V 5 is predetermined. If it is determined that the threshold value Vth is smaller than the threshold value Vth, it is assumed that the switch SW2 is turned off, and the process proceeds to step S2.

尚、遊技機電源部5は、交流電源6より供給される電力を5V程度の電圧に変換して扉開放検出部1および制御部4に供給しており、変換処理に係る時間があるため、スイッチSW2がOFFにされても、図3の最上段の波形図で示されるように、緩やかに電圧が降下していく。また、図3においては、最上段の波形図が、遊技機電源部5の供給電圧V5の、2段目の波形図がフリップフロップ回路FF1のクロック信号入力端子CKに供給される印加電圧V1の、3段目の波形図がフリップフロップ回路FF1のデータ入力端子Dの印加電圧V2の、4段目の波形図がフリップフロップ回路FF6の正出力端子Qの出力電圧V3の、5段目の波形図がフリップフロップ回路FF1乃至FF6のクリア信号端子CLRに印加される印加電圧V4のそれぞれの時系列の電位変化を示している。 Note that the gaming machine power supply unit 5 converts the power supplied from the AC power supply 6 to a voltage of about 5V and supplies it to the door opening detection unit 1 and the control unit 4, and there is time for the conversion process. Even when the switch SW2 is turned off, the voltage gradually drops as shown in the uppermost waveform diagram of FIG. Further, in FIG. 3, waveform chart of the uppermost stage, the supply voltage V 5 of the gaming machine power supply unit 5, the applied voltage second-stage waveform is supplied to the clock signal input terminal CK of the flip-flop circuit FF1 V 1 , the third-stage waveform diagram is the applied voltage V 2 of the data input terminal D of the flip-flop circuit FF1, and the fourth-stage waveform diagram is the output voltage V 3 of the positive output terminal Q of the flip-flop circuit FF6, 5 waveform of stage diagram shows a potential change of each time series of the applied voltage V 4 is applied to the clear signal terminal CLR of the flip-flop circuits FF1 to FF6.

ステップS2において、制御部4は、クロック信号発生部4bを制御してクロック信号端子VCKよりクロック信号を発生させ扉開放検出部1に供給させると共に、リセット管理部4aを制御して、扉開放検出部1に対して、図3の3段目の波形図における時刻t2で示されるように、クロック信号端子VCKより発生されるクロック信号に同期して、データ出力端子VDEより複数ビットのデータからなるリセット信号を出力する。 In step S2, the control unit 4 controls the clock signal generation unit 4b to generate a clock signal from the clock signal terminal VCK and supply it to the door opening detection unit 1, and also controls the reset management unit 4a to open the door. As shown at time t2 in the third waveform diagram of FIG. 3, the detection unit 1 has a plurality of bits from the data output terminal V DE in synchronization with the clock signal generated from the clock signal terminal VCK . Outputs a reset signal consisting of data.

より詳細には、図4の最上段の波形図で示されるように、クロック信号発生部4bがクロック信号端子VCKより所定の時間間隔で順次クロック信号をフリップフロップ回路FF1乃至FF6の個数に対応する6個発生することにより、時刻t21乃至t26において立ち下がりのタイミングが検出される。 More specifically, corresponds to the uppermost as shown in the waveform diagram, the clock signal generating portion 4b number of clock signals sequentially clock signal at a predetermined time interval from the terminal V CK flip-flop circuits FF1 through FF6 of Fig. 4 As a result, the falling timing is detected at times t21 to t26.

そこで、リセット管理部4aが、例えば、時刻t21において、図4の2段目の波形図で示されるように、データ出力端子VDEよりHiの信号を出力させると、フリップフロップ回路FF1のデータ入力端子DにHiが入力される。このため、時刻t21以降においては、フリップフロップ回路FF1は、Hiを保持し、正出力端子QよりHiを出力する。このとき、フリップフロップ回路FF2乃至FF6のデータ入力端子Dには、それぞれフリップフロップ回路FF1乃至FF5の正出力端子Qより出力されるLowが入力されるので、フリップフロップ回路FF2乃至FF6は、いずれもLowを保持し、正出力端子QからはいずれもLowを出力する。このため、図4の3段目の波形図で示されるようにフリップフロップ回路FF6の正出力端子QからはLowが出力されている。 Therefore, the reset manager 4a is, for example, at time t21, as shown in the second stage of the waveform diagram of FIG. 4, when the output signal of the Hi from the data output terminal V DE, the data input of the flip-flop circuit FF1 Hi is input to the terminal D. For this reason, after time t21, the flip-flop circuit FF1 holds Hi and outputs Hi from the positive output terminal Q. At this time, Low output from the positive output terminals Q of the flip-flop circuits FF1 to FF5 is input to the data input terminals D of the flip-flop circuits FF2 to FF6, respectively. Low is held and both are output from the positive output terminal Q. For this reason, Low is output from the positive output terminal Q of the flip-flop circuit FF6 as shown in the third waveform diagram of FIG.

また、リセット管理部4aが、例えば、時刻t22において、図4の2段目の波形図で示されるように、データ出力端子VDEよりLowの信号を出力させると、フリップフロップ回路FF1のデータ入力端子DにLowが入力される。このため、時刻t22以降においては、フリップフロップ回路FF1はLowを保持し、正出力端子QよりLowの信号を出力する。このとき、フリップフロップ回路FF2のデータ入力端子Dには、フリップフロップ回路FF1が直前に保持していたHiがフリップフロップ回路FF1の正出力端子Qより出力されていたので、フリップフロップ回路FF2はHiを保持し、正出力端子QからHiを出力する。このとき、フリップフロップ回路FF3乃至FF6のデータ入力端子Dには、フリップフロップ回路FF2乃至FF5のそれぞれで直前に記憶されていたLowが正出力端子Qより入力されるので、フリップフロップ回路FF3乃至FF6は、いずれもLowを保持し、正出力端子QからはいずれもLowを出力する。このため、図4の3段目の波形図で示されるようにフリップフロップ回路FF6の正出力端子QからはLowが出力されている。 The reset manager 4a is, for example, at time t22, as shown in the waveform diagram of the second stage of FIG. 4, when the output of the Low signal from the data output terminal V DE, the data input of the flip-flop circuit FF1 Low is input to the terminal D. Therefore, after time t22, the flip-flop circuit FF1 holds Low and outputs a Low signal from the positive output terminal Q. At this time, the data input terminal D of the flip-flop circuit FF2 has been output from the positive output terminal Q of the flip-flop circuit FF1 to the Hi that was previously held by the flip-flop circuit FF1. And Hi is output from the positive output terminal Q. At this time, Low stored in the flip-flop circuits FF2 to FF5 is input from the positive output terminal Q to the data input terminals D of the flip-flop circuits FF3 to FF6. All hold Low, and both output Low from the positive output terminal Q. For this reason, Low is output from the positive output terminal Q of the flip-flop circuit FF6 as shown in the third waveform diagram of FIG.

さらに、リセット管理部4aが、例えば、時刻t23において、図4の2段目の波形図で示されるように、データ出力端子VDEよりHiの信号を出力させると、フリップフロップ回路FF1のデータ入力端子DにHiが入力される。このため、時刻t23以降においては、フリップフロップ回路FF1はHiを保持し、正出力端子QよりHiの信号を出力する。このとき、フリップフロップ回路FF2のデータ入力端子Dには、フリップフロップ回路FF1が直前に保持していたLowがフリップフロップ回路FF1の正出力端子Qより出力されていたので、フリップフロップ回路FF2はLowを保持し、正出力端子QからLowを出力する。同様に、フリップフロップ回路FF3のデータ入力端子Dには、フリップフロップ回路FF2が直前に保持していたHiがフリップフロップ回路FF1の正出力端子Qより出力されていたので、フリップフロップ回路FF3はHiを保持し、正出力端子QからHiを出力する。このとき、フリップフロップ回路FF4乃至FF6のデータ入力端子Dには、フリップフロップ回路FF3乃至FF5のそれぞれで直前に記憶されていたLowが正出力端子Qより入力されるので、フリップフロップ回路FF4乃至FF6は、いずれもLowを保持し、正出力端子QからはいずれもLowを出力する。このため、図4の3段目の波形図で示されるようにフリップフロップ回路FF6の正出力端子QからはLowが出力されている。 Further, the reset manager 4a is, for example, at time t23, as shown in the second stage of the waveform diagram of FIG. 4, when the output signal of the Hi from the data output terminal V DE, the data input of the flip-flop circuit FF1 Hi is input to the terminal D. Therefore, after time t23, the flip-flop circuit FF1 holds Hi and outputs a Hi signal from the positive output terminal Q. At this time, since the Low held by the flip-flop circuit FF1 was output from the positive output terminal Q of the flip-flop circuit FF1 to the data input terminal D of the flip-flop circuit FF2, the flip-flop circuit FF2 is Low. And Low is output from the positive output terminal Q. Similarly, the data input terminal D of the flip-flop circuit FF3 has output Hi from the positive output terminal Q of the flip-flop circuit FF1 since the Hi held by the flip-flop circuit FF2 is output immediately before. And Hi is output from the positive output terminal Q. At this time, Low stored in the flip-flop circuits FF3 to FF5 is input from the positive output terminal Q to the data input terminals D of the flip-flop circuits FF4 to FF6. All hold Low, and both output Low from the positive output terminal Q. For this reason, Low is output from the positive output terminal Q of the flip-flop circuit FF6 as shown in the third waveform diagram of FIG.

また、リセット管理部4aが、例えば、時刻t24において、図4の2段目の波形図で示されるように、データ出力端子VDEよりHiの信号を出力させると、フリップフロップ回路FF1のデータ入力端子DにHiが入力される。このため、時刻t24以降においては、フリップフロップ回路FF1はHiを保持し、正出力端子QよりHiの信号を出力する。このとき、フリップフロップ回路FF2のデータ入力端子Dには、フリップフロップ回路FF1が直前に保持していたHiがフリップフロップ回路FF1の正出力端子Qより出力されていたので、フリップフロップ回路FF2はHiを保持し、正出力端子QからHiを出力する。同様に、フリップフロップ回路FF3のデータ入力端子Dには、フリップフロップ回路FF2が直前に保持していたLowがフリップフロップ回路FF2の正出力端子Qより出力されていたので、フリップフロップ回路FF3はLowを保持し、正出力端子QからLowを出力する。フリップフロップ回路FF4のデータ入力端子Dには、フリップフロップ回路FF3が直前に保持していたHiがフリップフロップ回路FF3の正出力端子Qより出力されていたので、フリップフロップ回路FF4はHiを保持し、正出力端子QからHiを出力する。このとき、フリップフロップ回路FF5,FF6のデータ入力端子Dには、フリップフロップ回路FF4,FF5のそれぞれで直前に記憶されていたLowが正出力端子Qより入力されるので、フリップフロップ回路FF5,FF6は、いずれもLowを保持し、正出力端子QからはいずれもLowを出力する。このため、図4の3段目の波形図で示されるようにフリップフロップ回路FF6の正出力端子QからはLowが出力されている。 The reset manager 4a is, for example, at time t24, as shown in the second stage of the waveform diagram of FIG. 4, when the output signal of the Hi from the data output terminal V DE, the data input of the flip-flop circuit FF1 Hi is input to the terminal D. For this reason, after time t24, the flip-flop circuit FF1 holds Hi and outputs a Hi signal from the positive output terminal Q. At this time, the data input terminal D of the flip-flop circuit FF2 has been output from the positive output terminal Q of the flip-flop circuit FF1 to the Hi that was previously held by the flip-flop circuit FF1. And Hi is output from the positive output terminal Q. Similarly, since the Low held by the flip-flop circuit FF2 is output from the positive output terminal Q of the flip-flop circuit FF2 to the data input terminal D of the flip-flop circuit FF3, the flip-flop circuit FF3 is Low. And Low is output from the positive output terminal Q. At the data input terminal D of the flip-flop circuit FF4, Hi held in the flip-flop circuit FF3 was output from the positive output terminal Q of the flip-flop circuit FF3, so that the flip-flop circuit FF4 holds Hi. , Hi is output from the positive output terminal Q. At this time, Low stored in the flip-flop circuits FF4 and FF5 is input from the positive output terminal Q to the data input terminal D of the flip-flop circuits FF5 and FF6. All hold Low, and both output Low from the positive output terminal Q. For this reason, Low is output from the positive output terminal Q of the flip-flop circuit FF6 as shown in the third waveform diagram of FIG.

さらに、リセット管理部4aが、例えば、時刻t25において、図4の2段目の波形図で示されるように、データ出力端子VDEよりLowの信号を出力させると、フリップフロップ回路FF1のデータ入力端子DにLowが入力される。このため、時刻t25以降においては、フリップフロップ回路FF1はLowを保持し、正出力端子QよりLowの信号を出力する。このとき、フリップフロップ回路FF2のデータ入力端子Dには、フリップフロップ回路FF1が直前に保持していたHiがフリップフロップ回路FF1の正出力端子Qより出力されていたので、フリップフロップ回路FF2はHiを保持し、正出力端子QからHiを出力する。同様に、フリップフロップ回路FF3のデータ入力端子Dには、フリップフロップ回路FF2が直前に保持していたHiがフリップフロップ回路FF2の正出力端子Qより出力されていたので、フリップフロップ回路FF3はHiを保持し、正出力端子QからHiを出力する。フリップフロップ回路FF4のデータ入力端子Dには、フリップフロップ回路FF3が直前に保持していたLowがフリップフロップ回路FF3の正出力端子Qより出力されていたので、フリップフロップ回路FF4はLowを保持し、正出力端子QからLowを出力する。フリップフロップ回路FF5のデータ入力端子Dには、フリップフロップ回路FF4が直前に保持していたHiがフリップフロップ回路FF4の正出力端子Qより出力されていたので、フリップフロップ回路FF5はHiを保持し、正出力端子QからHiを出力する。このとき、フリップフロップ回路FF6のデータ入力端子Dには、フリップフロップ回路FF5で直前に記憶されていたLowが正出力端子Qより入力されるので、フリップフロップ回路FF6は、Lowを保持し、正出力端子QからはLowを出力する。このため、図4の3段目の波形図で示されるようにフリップフロップ回路FF6の正出力端子QからはLowが出力されている。 Further, the reset manager 4a is, for example, at time t25, as shown in the waveform diagram of the second stage of FIG. 4, when the output of the Low signal from the data output terminal V DE, the data input of the flip-flop circuit FF1 Low is input to the terminal D. Therefore, after time t25, the flip-flop circuit FF1 holds Low and outputs a Low signal from the positive output terminal Q. At this time, the data input terminal D of the flip-flop circuit FF2 has been output from the positive output terminal Q of the flip-flop circuit FF1 to the Hi that was previously held by the flip-flop circuit FF1. And Hi is output from the positive output terminal Q. Similarly, the data input terminal D of the flip-flop circuit FF3 has output Hi from the positive output terminal Q of the flip-flop circuit FF2 since the Hi held by the flip-flop circuit FF2 immediately before is output from the flip-flop circuit FF3. And Hi is output from the positive output terminal Q. At the data input terminal D of the flip-flop circuit FF4, Low that was held immediately before by the flip-flop circuit FF3 is output from the positive output terminal Q of the flip-flop circuit FF3, so that the flip-flop circuit FF4 holds Low. , Low is output from the positive output terminal Q. At the data input terminal D of the flip-flop circuit FF5, Hi held in the flip-flop circuit FF4 was output from the positive output terminal Q of the flip-flop circuit FF4, so that the flip-flop circuit FF5 holds Hi. , Hi is output from the positive output terminal Q. At this time, since the Low previously stored in the flip-flop circuit FF5 is input from the positive output terminal Q to the data input terminal D of the flip-flop circuit FF6, the flip-flop circuit FF6 holds Low and is positive. Low is output from the output terminal Q. For this reason, Low is output from the positive output terminal Q of the flip-flop circuit FF6 as shown in the third waveform diagram of FIG.

さらに、リセット管理部4aが、例えば、時刻t26において、図4の2段目の波形図で示されるように、データ出力端子VDEよりHiの信号を出力させると、フリップフロップ回路FF1のデータ入力端子DにHiが入力される。このため、時刻t25以降においては、フリップフロップ回路FF1はHiを保持し、正出力端子QよりHiの信号を出力する。このとき、フリップフロップ回路FF2のデータ入力端子Dには、フリップフロップ回路FF1が直前に保持していたLowがフリップフロップ回路FF1の正出力端子Qより出力されていたので、フリップフロップ回路FF2はLowを保持し、正出力端子QからLowを出力する。同様に、フリップフロップ回路FF3のデータ入力端子Dには、フリップフロップ回路FF2が直前に保持していたHiがフリップフロップ回路FF2の正出力端子Qより出力されていたので、フリップフロップ回路FF3はHiを保持し、正出力端子QからHiを出力する。フリップフロップ回路FF4のデータ入力端子Dには、フリップフロップ回路FF3が直前に保持していたHiがフリップフロップ回路FF3の正出力端子Qより出力されていたので、フリップフロップ回路FF4はHiを保持し、正出力端子QからHiを出力する。フリップフロップ回路FF5のデータ入力端子Dには、フリップフロップ回路FF4が直前に保持していたLowがフリップフロップ回路FF4の正出力端子Qより出力されていたので、フリップフロップ回路FF5はLowを保持し、正出力端子QからLowを出力する。フリップフロップ回路FF6のデータ入力端子Dには、フリップフロップ回路FF5が直前に保持していたHiがフリップフロップ回路FF5の正出力端子Qより出力されていたので、フリップフロップ回路FF6はHiを保持し、正出力端子QからHiを出力する。このため、図4の3段目の波形図、および、図3の4段目の波形図で示されるようにフリップフロップ回路FF6の正出力端子QからはHiが出力されている。 Further, when the reset management unit 4a outputs a Hi signal from the data output terminal V DE as shown in the second waveform diagram of FIG. 4 at time t26, for example, the data input of the flip-flop circuit FF1 Hi is input to the terminal D. Therefore, after time t25, the flip-flop circuit FF1 holds Hi, and outputs a Hi signal from the positive output terminal Q. At this time, since the Low held by the flip-flop circuit FF1 was output from the positive output terminal Q of the flip-flop circuit FF1 to the data input terminal D of the flip-flop circuit FF2, the flip-flop circuit FF2 is Low. And Low is output from the positive output terminal Q. Similarly, the data input terminal D of the flip-flop circuit FF3 has output Hi from the positive output terminal Q of the flip-flop circuit FF2 since the Hi held by the flip-flop circuit FF2 immediately before is output from the flip-flop circuit FF3. And Hi is output from the positive output terminal Q. At the data input terminal D of the flip-flop circuit FF4, Hi held in the flip-flop circuit FF3 was output from the positive output terminal Q of the flip-flop circuit FF3, so that the flip-flop circuit FF4 holds Hi. , Hi is output from the positive output terminal Q. At the data input terminal D of the flip-flop circuit FF5, the Low held by the flip-flop circuit FF4 was output from the positive output terminal Q of the flip-flop circuit FF4, so the flip-flop circuit FF5 held Low. , Low is output from the positive output terminal Q. At the data input terminal D of the flip-flop circuit FF6, Hi that was held immediately before by the flip-flop circuit FF5 was output from the positive output terminal Q of the flip-flop circuit FF5. Therefore, the flip-flop circuit FF6 holds Hi. , Hi is output from the positive output terminal Q. Therefore, Hi is output from the positive output terminal Q of the flip-flop circuit FF6 as shown in the third-stage waveform diagram of FIG. 4 and the fourth-stage waveform diagram of FIG.

この結果を纏めると、フリップフロップ回路FF1乃至FF6で保持されるデータを(FF1,FF2,FF3,FF4,FF5,FF6)として表現すると、時刻t21において、フリップフロップ回路FF1のデータ入力端子DにHiが入力されると、(FF1,FF2,FF3,FF4,FF5,FF6)=(Hi,Low,Low,Low,Low,Low)となり、時刻t22において、フリップフロップ回路FF1のデータ入力端子DにLowが入力されると、(FF1,FF2,FF3,FF4,FF5,FF6)=(Low,Hi,Low,Low,Low,Low)となり、時刻t23において、フリップフロップ回路FF1のデータ入力端子DにHiが入力されると、(FF1,FF2,FF3,FF4,FF5,FF6)=(Hi,Low,Hi,Low,Low,Low)となり、時刻t24において、フリップフロップ回路FF1のデータ入力端子DにHiが入力されると、(FF1,FF2,FF3,FF4,FF5,FF6)=(Hi,Hi,Low,Hi,Low,Low)となり、時刻t25において、フリップフロップ回路FF1のデータ入力端子DにLowが入力されると、(FF1,FF2,FF3,FF4,FF5,FF6)=(Low,Hi,Hi,Low,Hi,Low)となり、時刻t26において、フリップフロップ回路FF1のデータ入力端子DにHiが入力されると、(FF1,FF2,FF3,FF4,FF5,FF6)=(Hi,Low,Hi,Hi,Low,Hi)となり、フリップフロップ回路FF1乃至FF6は、クロック信号の進行に伴って、直前に保持しているデータを順次隣の回路にシフトさせながら6ビット分のデータを保持する。   To summarize the results, when the data held in the flip-flop circuits FF1 to FF6 is expressed as (FF1, FF2, FF3, FF4, FF5, FF6), the data input terminal D of the flip-flop circuit FF1 is Hi at time t21. (FF1, FF2, FF3, FF4, FF5, FF6) = (Hi, Low, Low, Low, Low, Low), and at time t22, the data input terminal D of the flip-flop circuit FF1 is set to Low. (FF1, FF2, FF3, FF4, FF5, FF6) = (Low, Hi, Low, Low, Low, Low), and at time t23, the data input terminal D of the flip-flop circuit FF1 is Hi. Is input, (FF1, FF2, FF3, FF4, FF5, FF ) = (Hi, Low, Hi, Low, Low, Low). When Hi is input to the data input terminal D of the flip-flop circuit FF1 at time t24, (FF1, FF2, FF3, FF4, FF5, FF6). ) = (Hi, Hi, Low, Hi, Low, Low). When Low is input to the data input terminal D of the flip-flop circuit FF1 at time t25, (FF1, FF2, FF3, FF4, FF5, FF6). ) = (Low, Hi, Hi, Low, Hi, Low). When Hi is input to the data input terminal D of the flip-flop circuit FF1 at time t26, (FF1, FF2, FF3, FF4, FF5, FF6). ) = (Hi, Low, Hi, Hi, Low, Hi), and the flip-flop circuits FF1 to FF6 , With the progress of the clock signal, for holding sequentially the 6-bit data while shifting the circuit next data held immediately before.

すなわち、図4の場合、リセット管理部4aがクロック信号に同期して、Hi,Low,Hi,Hi,Low,Hiの順にデータを出力することにより、フリップフロップ回路FF1はHiを、フリップフロップ回路FF2はLowを、フリップフロップ回路FF3はHiを、フリップフロップ回路FF4はHiを、フリップフロップ回路FF5はLowを、フリップフロップ回路FF6はHiをそれぞれ保持することにより、フリップフロップ回路FF1乃至FF6の6個で6ビットのデータがセットされることになる。   That is, in the case of FIG. 4, the reset management unit 4a outputs data in the order of Hi, Low, Hi, Hi, Low, and Hi in synchronization with the clock signal, so that the flip-flop circuit FF1 outputs Hi and the flip-flop circuit. The FF2 holds Low, the flip-flop circuit FF3 holds Hi, the flip-flop circuit FF4 holds Hi, the flip-flop circuit FF5 holds Low, and the flip-flop circuit FF6 holds Hi, so that the flip-flop circuits FF1 to FF6 6 In this case, 6-bit data is set.

尚、図4の左部は、図3における時刻t2近傍の時刻ta乃至tbにおける拡大波形図であり、最上段の波形図がクロック信号入力端子CKの入力電圧V1の、2段目の波形図がデータ入力端子Dの入力電圧V2の、3段目の波形図がフリップフロップ回路FF6の正出力端子Qの出力電圧V3のそれぞれの時系列の電圧変位を示している。また、図4の右部は、図3における時刻t4近傍の時刻tc乃至tdにおける拡大波形図である。 The left portion of FIG. 4 is an enlarged waveform diagram at time ta through tb of time t2 vicinity of Figure 3, the uppermost waveform diagram of the input voltage V 1 of the clock signal input terminal CK, 2-stage waveform The figure shows the input voltage V 2 at the data input terminal D, and the third-stage waveform diagram shows the time series voltage displacement of the output voltage V 3 at the positive output terminal Q of the flip-flop circuit FF6. Further, the right part of FIG. 4 is an enlarged waveform diagram at times tc to td in the vicinity of time t4 in FIG.

尚、当然のことながらフリップフロップ回路FF1乃至FF6で保持される6ビットのデータは、(FF1,FF2,FF3,FF4,FF5,FF6)=(Hi,Low,Hi,Hi,Low,Hi)に限られるものではなく、その他の組み合わせであっても良いことは言うまでもない。   Naturally, the 6-bit data held in the flip-flop circuits FF1 to FF6 is (FF1, FF2, FF3, FF4, FF5, FF6) = (Hi, Low, Hi, Hi, Low, Hi). Needless to say, other combinations may be possible.

この処理以降、遊技機電源部5より供給されてくる電源電圧V5は、さらに降下する。そして、電源電圧V5が、さらに降下すると、電源端子Vccの電圧は、補助電源V0により供給される電圧V0よりダイオードD1の電圧分だけ降下した電圧で安定する。これに対応して、フリップフロップ回路FF1は、自らの駆動電源を遊技機電源部5の電力供給から、補助電源V0の電力供給に切り替えている。 After this process, the power supply voltage V 5 supplied from the gaming machine power supply 5 further drops. When the power supply voltage V 5 further drops, the voltage at the power supply terminal Vcc is stabilized at a voltage that is lower than the voltage V 0 supplied by the auxiliary power supply V 0 by the voltage of the diode D1. Correspondingly, the flip-flop circuit FF1 is their drive power from the power supply of the gaming machine power supply unit 5 is switched to the power supply of the auxiliary power supply V 0.

ステップS3において、遊技機の正面扉が開放されて、スイッチSW1がONの状態にされたか否かが判定され、例えば、扉が開放されず、スイッチSW1がOFFの状態である場合、処理は、ステップS5に進む。   In step S3, it is determined whether or not the front door of the gaming machine is opened and the switch SW1 is turned on. For example, when the door is not opened and the switch SW1 is turned off, the process is as follows. Proceed to step S5.

ステップS5において、制御部4は、遊技機電源部5を介して供給されてくる自らの電源端子Vddの電圧を検出し、遊技機本体の電源であるスイッチSW2がONにされたか否かを判定する。すなわち、制御部4は、電源端子Vddの電圧が、遊技機電源部5を介して供給されてくる電圧V5が5V(定格電圧)に準ずる所定の閾値Vthよりも大きいか否かを判定し、小さい場合、遊技機本体の電源がOFFのままにされているとみなし、処理は、ステップS3に戻る。すなわち、電源がONにされたと判定されるまで、ステップS3乃至S5の処理が繰り返される。 In step S5, the control unit 4 detects the voltage of its own power supply terminal Vdd supplied via the gaming machine power supply unit 5, and determines whether or not the switch SW2 that is the power source of the gaming machine body is turned on. To do. That is, the control unit 4 determines whether or not the voltage at the power supply terminal Vdd is greater than a predetermined threshold value Vth in which the voltage V 5 supplied via the gaming machine power supply unit 5 is equal to 5 V (rated voltage). If it is smaller, the power source of the gaming machine main body is regarded as being kept off, and the process returns to step S3. That is, the processes in steps S3 to S5 are repeated until it is determined that the power is turned on.

そして、ステップS5において、例えば、図3の2段目の波形図で示されるように、スイッチSW2がONに操作されることにより、電圧が上昇し、時刻t3にて電圧V5が、所定の閾値Vthよりも大きくなった場合、スイッチSW2がONにされたものとみなし処理は、ステップS6に進む。 In step S5, for example, as shown in the second-stage waveform diagram of FIG. 3, the switch SW2 is turned on to increase the voltage, and at time t3, the voltage V 5 becomes a predetermined value. If it is greater than the threshold value Vth, the processing that assumes that the switch SW2 is turned on proceeds to step S6.

ステップS6において、制御部4は、例えば、図3の2段目の波形図で示されるように、時刻t4において、クロック信号発生部4bを制御して、クロック信号を発生させて、クロック信号端子VCKより6個のクロック信号を扉開放検出部1に供給する。このクロック信号に伴って、例えば、図4の右部で示されるように、クロック信号の立ち下がりのタイミングとなる時刻t31乃至t36において、データ出力端子VDE(=V2)からLowの信号が入力され続けているので、フリップフロップ回路FF1乃至FF6で保持されるデータは、時刻t31において、フリップフロップ回路FF6の正出力端子QはHiを端子VINに出力して、(FF1,FF2,FF3,FF4,FF5,FF6)=(Low,Hi,Low,Hi,Hi,Low)となり、時刻t32において、フリップフロップ回路FF6の正出力端子Qは端子VINにLowを出力して、(FF1,FF2,FF3,FF4,FF5,FF6)=(Low,Low,Hi,Low,Hi,Hi)となり、時刻t33において、フリップフロップ回路FF6の正出力端子QはHiを端子VINに出力して、(FF1,FF2,FF3,FF4,FF5,FF6)=(Low,Low,Low,Hi,Low,Hi)となり、時刻t34において、フリップフロップ回路FF6の正出力端子QはHiを端子VINに出力して、(FF1,FF2,FF3,FF4,FF5,FF6)=(Low,Low,Low,Low,Hi,Low)となり、時刻t35において、フリップフロップ回路FF6の正出力端子QはLowを端子VINに出力して、(FF1,FF2,FF3,FF4,FF5,FF6)=(Low,Low,Low,Low,Low,Hi)となり、時刻t36において、フリップフロップ回路FF6の正出力端子QはHiを端子VINに出力して、(FF1,FF2,FF3,FF4,FF5,FF6)=(Low,Low,Low,Low,Low,Low)となる。このため、制御部4は、クロック信号の進行に伴って、端子VINに出力されてくるフリップフロップ回路FF1乃至FF6により保持されていた6ビット分のデータ(Hi,Low,Hi,Hi,Low,Hi)を開放検出信号として取得する。 In step S6, for example, as shown in the second-stage waveform diagram of FIG. 3, the control unit 4 controls the clock signal generation unit 4b to generate a clock signal at time t4 to generate a clock signal terminal. V CK supplies six clock signals to the door opening detection unit 1 from. Along with this clock signal, for example, as shown in the right part of FIG. 4, a low signal is output from the data output terminal V DE (= V 2 ) at times t31 to t36, which are timings of falling of the clock signal. Since the data is continuously input, the data held in the flip-flop circuits FF1 to FF6 is output from the positive output terminal Q of the flip-flop circuit FF6 to the terminal V IN at time t31 (FF1, FF2, FF3 , FF4, FF5, FF6) = (Low, Hi, Low, Hi, Hi, Low), and at time t32, the positive output terminal Q of the flip-flop circuit FF6 outputs Low to the terminal V IN and (FF1, FF2, FF3, FF4, FF5, FF6) = (Low, Low, Hi, Low, Hi, Hi), and at time t33 The positive output terminal Q of the flip-flop circuit FF6 outputs Hi to the terminal VIN , and (FF1, FF2, FF3, FF4, FF5, FF6) = (Low, Low, Low, Hi, Low, Hi), At time t34, the positive output terminal Q of the flip-flop circuit FF6 outputs Hi to the terminal VIN , and (FF1, FF2, FF3, FF4, FF5, FF6) = (Low, Low, Low, Low, Hi, Low). At time t35, the positive output terminal Q of the flip-flop circuit FF6 outputs Low to the terminal VIN , and (FF1, FF2, FF3, FF4, FF5, FF6) = (Low, Low, Low, Low, Low, Hi), and the at time t36, the positive output terminal Q of the flip-flop circuit FF6 are outputs Hi to the terminal V iN, (FF1 FF2, FF3, FF4, FF5, FF6) = a (Low, Low, Low, Low, Low, Low). For this reason, the control unit 4 causes the 6-bit data (Hi, Low, Hi, Hi, Low) held by the flip-flop circuits FF1 to FF6 output to the terminal V IN as the clock signal advances. , Hi) is acquired as an open detection signal.

ステップS7において、制御部4は、開放判定部4cを制御して、端子VINに出力された扉開放検出部1からの開放検出信号が電源OFF直後になされたステップS2の処理でフリップフロップ回路FF1乃至FF6に保持させた正常な信号であるか否かを判定する。すなわち、ステップS2の処理により、フリップフロップ回路FF1には、(Hi,Low,Hi,Hi,Low,Hi)の信号が記憶されていたので、開放判定部4cは、端子VINに出力される扉開放検出部1からの開放検出信号が(Hi,Low,Hi,Hi,Low,Hi)のままであれば、開放検出信号は、扉の開放を検出したことを示す扉開放信号ではないので、処理は、ステップS1に戻る。 In step S7, the control unit 4 controls the opening determination unit 4c so that the opening detection signal from the door opening detection unit 1 output to the terminal V IN is the flip-flop circuit in the process of step S2 performed immediately after the power is turned off. It is determined whether the signal is a normal signal held in FF1 to FF6. That is, since the signal of (Hi, Low, Hi, Hi, Low, Hi) is stored in the flip-flop circuit FF1 by the process of step S2, the open determination unit 4c is output to the terminal V IN. If the opening detection signal from the door opening detection unit 1 remains (Hi, Low, Hi, Hi, Low, Hi), the opening detection signal is not a door opening signal indicating that the door opening has been detected. The process returns to step S1.

一方、ステップS3において、例えば、図示せぬ遊技機の正面扉が開放されて、スイッチSW1がONの状態となった場合、ステップS4において、図5の4,5段目の波形図における時刻t5で示されるように、クリア信号端子CLRへの印加電圧V4がHiとなるため、フリップフロップ回路FF1乃至FF6は、保持しているデータをLowにすることにより、フリップフロップ回路FF1乃至FF6の全体として記憶している6ビットのデータが消去され(扉の開放を検出したことを示すように、フリップフロップ回路FF1乃至FF6により全てLowの信号が保持され)、図5の4段目の波形図で示されるように、時刻t5以降において、正出力端子QよりLowの信号を出力する。 On the other hand, in step S3, for example, when the front door of the gaming machine (not shown) is opened and the switch SW1 is turned on, in step S4, time t5 in the waveform diagram of the fourth and fifth stages in FIG. As shown in FIG. 8, since the applied voltage V 4 to the clear signal terminal CLR becomes Hi, the flip-flop circuits FF1 to FF6 set the held data to Low so that the entire flip-flop circuits FF1 to FF6 6-bit data is erased (all low signals are held by the flip-flop circuits FF1 to FF6 to indicate that the opening of the door is detected), and the waveform diagram at the fourth stage in FIG. As shown by, a low signal is output from the positive output terminal Q after time t5.

この結果、ステップS6において、フリップフロップ回路FF1乃至FF6より端子VINに出力される6ビットのデータは、図6の右部の3段目の波形図で示されるように、時刻t31乃至t36のいずれにおいてもLowとなるため、開放検出信号は(Low,Low,Low,Low,Low,Low)となる。このため、ステップS7において、開放判定部4cは、扉開放検出部1からの開放検出信号は(Hi,Low,Hi,Hi,Low,Hi)とは異なり正しいデータはではないので、扉の開放が検出されたことを示す扉開放信号とみなし、処理は、ステップS8に進む。尚、図5の最上段乃至5段目の波形図、および、図6の最上段乃至3段目の波形図は、それぞれ図3,図4と同様の電圧の波形を示しているが、時刻t5において、正面扉が開放された場合の波形である。 As a result, in step S6, the 6-bit data output from the flip-flop circuits FF1 to FF6 to the terminal V IN is, as shown in the third waveform diagram on the right side of FIG. In any case, since it is Low, the open detection signal is (Low, Low, Low, Low, Low, Low). Therefore, in step S7, the opening determination unit 4c determines that the opening detection signal from the door opening detection unit 1 is not correct data unlike (Hi, Low, Hi, Hi, Low, Hi). Is detected as a door opening signal indicating that has been detected, and the process proceeds to step S8. Note that the waveform charts of the uppermost to fifth stages in FIG. 5 and the waveform charts of the uppermost to third stages in FIG. 6 show voltage waveforms similar to those in FIGS. It is a waveform when the front door is opened at t5.

ステップS8において、制御部4は、発報部7を制御して、遊技機電源部5からの電力供給が停止された後、不正に遊技機の正面扉が開放されたことが検出されたことを発報させる。   In step S8, the control unit 4 controls the reporting unit 7 to detect that the front door of the gaming machine is illegally opened after the power supply from the gaming machine power supply unit 5 is stopped. To report.

ステップS9において、制御部4は、図示せぬ操作部が操作されて発報部7の動作の停止が指示されたか否かを判定し、指示されていない場合、同様の処理を繰り返す。すなわち、発報動作の停止が指示されるまで、処理が繰り返されて、発報が継続される。そして、ステップS9において、発報動作の停止が指示された場合、制御部4は、発報動作を停止させて、処理は、ステップS1に戻り、それ以降の処理が繰り返される。   In step S <b> 9, the control unit 4 determines whether or not an operation unit (not shown) is operated to instruct to stop the operation of the reporting unit 7. If not, the same process is repeated. That is, the processing is repeated until the stop of the notification operation is instructed, and the notification is continued. In step S9, when an instruction to stop the reporting operation is given, the control unit 4 stops the reporting operation, the process returns to step S1, and the subsequent processes are repeated.

以上の処理により、遊技機電源部5からの電力供給を停止させると、扉開放検出部1のフリップフロップ回路FF1乃至FF6は、補助電源V0により駆動し、制御部4からの6ビットのデータからなるリセット信号により6ビットのデータを保持したまま、図3乃至図6で示されるように、時刻t26乃至t4で監視状態となる。そして、監視状態において、遊技機の正面扉が不正に開放されることによりスイッチSW1がONにされると、フリップフロップ回路FF1乃至FF6のクリア信号端子CLRに信号が入力されるので、フリップフロップ回路FF1乃至FF6は、保持していた6ビットのデータをクリアにする(全てLowの信号を保持する)。 By the above process, when stopping the electric power supply from the gaming machine power supply unit 5, the flip-flop circuits FF1 through FF6 of door opening detection unit 1 is driven by an auxiliary power source V 0, 6 bits of data from the control unit 4 As shown in FIG. 3 to FIG. 6, the monitoring state is entered from time t26 to t4 while holding the 6-bit data by the reset signal consisting of. In the monitoring state, when the switch SW1 is turned on by unauthorized opening of the front door of the gaming machine, a signal is input to the clear signal terminals CLR of the flip-flop circuits FF1 to FF6. The FF1 to FF6 clear the held 6-bit data (all hold low signals).

このため、スイッチSW2がONにされて、遊技機電源部5が電源を投入すると、制御部4の開放判定部4cは、扉開放検出部1のフリップフロップ回路FF6よりクロック信号に伴って、順次正出力端子Qより出力される6ビットの扉開放検出信号がリセット信号を構成する6ビットのデータであれば、正面扉の開放が検出されていないものとみなされ、逆に、扉開放検出信号がリセット信号を構成する6ビットのデータが消去されていれば、正面扉の不正な開放が検出されたものとみなされる。   For this reason, when the switch SW2 is turned on and the gaming machine power supply 5 is turned on, the opening determination unit 4c of the control unit 4 sequentially receives the clock signal from the flip-flop circuit FF6 of the door opening detection unit 1. If the 6-bit door opening detection signal output from the positive output terminal Q is 6-bit data constituting the reset signal, it is considered that the opening of the front door is not detected, and conversely, the door opening detection signal If the 6-bit data constituting the reset signal has been erased, it is considered that an unauthorized opening of the front door has been detected.

以上の処理が実現することにより、遊技店において、一日の営業が終了して、遊技機の電源がOFFにされると、直後に扉開放検出部1のフリップフロップ回路FF1乃至FF6に6ビットのデータが保持されるが、翌日の営業開始前までに不正な正面扉の開放がなされると、扉開放検出部1のフリップフロップ回路FF1乃至FF6に保持されていたデータが全てクリアされて、全てLowとなる。このため、遊技機の正面扉の不正な開放が検出されたことを示す痕跡が残る。従って、翌日、電源ONにされた直後の処理により、フリップフロップ回路FF1乃至FF6で保持されている6ビットのデータが消去されていることが認識されるので、不正な正面扉の開放の有無を簡単な回路により、確実に検出することが可能となる。   By realizing the above processing, at the game store, when the business of the day is finished and the power of the gaming machine is turned off, immediately after that, the flip-flop circuits FF1 to FF6 of the door opening detection unit 1 have 6 bits. However, if the unauthorized front door is opened before the start of business the next day, all the data held in the flip-flop circuits FF1 to FF6 of the door opening detector 1 is cleared. All become Low. For this reason, the trace which shows that the unauthorized opening | release of the front door of a gaming machine was detected remains. Accordingly, since it is recognized that the 6-bit data held in the flip-flop circuits FF1 to FF6 has been erased by the processing immediately after the power is turned on the next day, whether or not the front door is illegally opened is confirmed. A simple circuit makes it possible to detect reliably.

さらに、遊技機電源部5が駆動している期間にも監視動作を継続する場合、扉の開放が検出され、クリア信号によってフリップフロップFF1乃至FF6が保持していた6ビットのデータが消去される度に、リセット管理部4aにより6ビットのデータを保持させるようにすることで、再度監視状態に復帰させることが可能である。この動作を繰り返すことで、常に扉の開放を検出することができる。   Furthermore, when the monitoring operation is continued even while the gaming machine power supply unit 5 is driven, the opening of the door is detected, and the 6-bit data held in the flip-flops FF1 to FF6 is erased by the clear signal. Each time the 6-bit data is held by the reset management unit 4a, it is possible to return to the monitoring state again. By repeating this operation, it is always possible to detect the opening of the door.

また、仮に、不正者が、遊技機の正面扉を不正に開放した後、コネクタ2を引き抜いて、直接リセット信号を投入するようにしても、6ビットのパターンを正しく入力する必要がある。しかしながら、開放を検出していない状態に6ビットのデータをフリップフロップ回路FF1乃至FF6に保持させるのは困難であるため、不正な開放が検出されたことを示す痕跡を確実に残すことができ、不正な正面扉の開放の有無を簡単な回路により、確実に検出することが可能となる。   Further, even if an unauthorized person opens the front door of the gaming machine illegally and then pulls out the connector 2 and directly inputs a reset signal, it is necessary to correctly input a 6-bit pattern. However, since it is difficult to hold the 6-bit data in the flip-flop circuits FF1 to FF6 in a state where the opening is not detected, it is possible to reliably leave a trace indicating that an unauthorized opening has been detected, The presence or absence of unauthorized opening of the front door can be reliably detected by a simple circuit.

結果として、フリップフロップ回路を用いた簡単な扉開放検出部1により、安価で、かつ、確実に扉の開放を検出することが可能となる。   As a result, it is possible to detect the opening of the door reliably and inexpensively by the simple door opening detecting unit 1 using the flip-flop circuit.

尚、フリップフロップ回路FF1乃至FF6は、D型フリップフロップ回路以外の回路でもよく、例えば、RS型フリップフロップやシフトレジスタにより構成するようにしても良い。   Note that the flip-flop circuits FF1 to FF6 may be circuits other than the D-type flip-flop circuit, and may be configured by, for example, an RS-type flip-flop or a shift register.

以上においてはフリップフロップ回路により構成されるシフトレジスタに複数のビットのデータからなるリセット信号を入力し、扉の開放が検出された場合、全てを消去させる例について説明してきたが、万が一、リセット信号が外部に漏洩するなどした場合、コネクタ2よりクロック信号と共に入力することで、扉の開放が検出されても、不正に元のリセット信号を保持させることが可能となる恐れがある。   In the above, an example has been described in which a reset signal composed of a plurality of bits of data is input to a shift register constituted by a flip-flop circuit, and when door opening is detected, all are erased. In the case of leakage to the outside, by inputting together with the clock signal from the connector 2, it is possible that the original reset signal can be held illegally even if the opening of the door is detected.

そこで、遊技機電源部5からの電力供給が停止している間、フリップフロップ回路FF1乃至FF6がコネクタ2からの入力を受け付けない構成とすることで、フリップフロップ回路FF1乃至FF6に不正に元のリセット信号を保持させないようにするようにしてもよい。   Therefore, the flip-flop circuits FF1 to FF6 are configured not to accept the input from the connector 2 while the power supply from the gaming machine power supply unit 5 is stopped. The reset signal may not be held.

図7は、遊技機電源部5からの電力供給が停止している間、フリップフロップ回路FF1乃至FF6がコネクタ2からの入力を受け付けないようにした扉開放検出部11を備えた遊技機の構成例を示している。尚、図7において、図1と同一の機能を備えた構成については、同一の符号を付しており、その説明は適宜省略するものとする。   FIG. 7 shows a configuration of a gaming machine including a door opening detection unit 11 that prevents the flip-flop circuits FF1 to FF6 from accepting input from the connector 2 while power supply from the gaming machine power supply unit 5 is stopped. An example is shown. In FIG. 7, components having the same functions as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

図7の扉開放検出部11において、図1の扉開放検出部1と異なるのは、ダイオードD2に代えてPNP型のトランジスタTr1が設けられ、さらに、図7の下から、データ信号線、クロック信号線、および開放検出信号線のそれぞれについて、スイッチSW21乃至SW23が設けられている点である。   7 differs from the door opening detection unit 1 of FIG. 1 in that a PNP transistor Tr1 is provided instead of the diode D2, and from the bottom of FIG. The switches SW21 to SW23 are provided for each of the signal line and the open detection signal line.

トランジスタTr1のエミッタは、遊技機電源部5に接続されている。また、トランジスタTr1のコレクタは、抵抗R2およびスイッチSW21乃至SW23の制御信号端子Ctrlに接続されている。さらに、トランジスタTr1のベースは、フリップフロップ回路FF1乃至FF6の電源端子Vccに接続されている。トランジスタTr1は、遊技機電源部5からの電力供給が停止したとき、ダイオードD2と同様に逆流防止機能を備えている。スイッチSW21乃至SW23は、トランジスタTr1のコレクタからの制御信号によりONされ、電力供給が停止するとOFFする。さらに、トランジスタTr1は、遊技機電源部5からの電力供給が停止したとき、エミッタへの電力供給が停止することから、コレクタからスイッチSW21乃至SW23に対しての電力供給も停止するので、スイッチSW21乃至SW23はOFFする。このため、フリップフロップ回路FF1乃至FF6が補助電源V0で駆動するとき、スイッチSW21乃至SW23はOFFの状態となる。 The emitter of the transistor Tr1 is connected to the gaming machine power supply unit 5. The collector of the transistor Tr1 is connected to the resistor R2 and the control signal terminal Ctrl of the switches SW21 to SW23. Further, the base of the transistor Tr1 is connected to the power supply terminals Vcc of the flip-flop circuits FF1 to FF6. The transistor Tr1 has a backflow prevention function like the diode D2 when the power supply from the gaming machine power supply unit 5 is stopped. The switches SW21 to SW23 are turned on by a control signal from the collector of the transistor Tr1, and are turned off when the power supply is stopped. Furthermore, since the transistor Tr1 stops the power supply to the emitter when the power supply from the gaming machine power supply unit 5 stops, the power supply from the collector to the switches SW21 to SW23 also stops, so the switch SW21 SW23 is turned off. Therefore, when the flip-flop circuit FF1 to the FF6 is driven by the auxiliary power supply V 0, the switch SW21 or SW23 is in a state of OFF.

次に、図8のフローチャートを参照して、図7の扉開放検出部11を備えた遊技機による扉開放検出処理について説明する。尚、図8のフローチャートにおけるステップS21,S22,S25乃至S27,S30乃至S33は、図2のフローチャートにおけるステップS1乃至S9と同様であるので、その説明は省略するものとする。   Next, with reference to the flowchart of FIG. 8, the door opening detection process by the gaming machine provided with the door opening detection unit 11 of FIG. 7 will be described. Note that steps S21, S22, S25 to S27, and S30 to S33 in the flowchart of FIG. 8 are the same as steps S1 to S9 in the flowchart of FIG.

すなわち、ステップS21において、図9の最上段の波形図で示されるように、時刻t1において、スイッチSW2がOFFにされることにより、遊技機電源部5より出力される電圧V5が、時刻t2において、所定の閾値Vthよりも小さくなり、スイッチSW2がOFFにされたことが認識されると、ステップS22において、制御部4は、クロック信号発生部4bを制御してクロック信号端子VCKよりクロック信号を発生させ扉開放検出部11に供給させると共に、リセット管理部4aを制御して、扉開放検出部1に対して、図9の2段目の波形図における時刻t2で示されるように、クロック信号端子VCKより発生されるクロック信号に同期して、複数ビットのデータからなるリセット信号をデータ出力端子VDEより出力させる。これにより、フリップフロップ回路FF1乃至FF6の6個で6ビットのデータが正常時のデータとしてセットされる。 That is, in step S21, as shown in the uppermost waveform diagram of FIG. 9, when the switch SW2 is turned off at time t1, the voltage V 5 output from the gaming machine power supply unit 5 is changed to time t2. In step S22, when it is recognized that the switch SW2 is turned OFF, the control unit 4 controls the clock signal generation unit 4b to clock from the clock signal terminal VCK. A signal is generated and supplied to the door opening detection unit 11, and the reset management unit 4a is controlled to indicate to the door opening detection unit 1 at time t2 in the second waveform diagram of FIG. In synchronization with the clock signal generated from the clock signal terminal VCK , a reset signal composed of a plurality of bits of data is output from the data output terminal VDE . As a result, 6-bit data is set as normal data by 6 flip-flop circuits FF1 to FF6.

ステップS23において、遊技機電源部5より出力される電圧V5が、さらに降下すると、図9の4段目の波形図の時刻t3で示されるように、トランジスタTr1がOFFにされるため、トランジスタTr1のコレクタの電圧である電圧V6が、Lowとなり、時刻t3において、フリップフロップ回路FF1が補助電源V0で駆動する状態に切り替わる。 In step S23, when the voltage V 5 output from the gaming machine power supply 5 further drops, the transistor Tr1 is turned off as shown at time t3 in the waveform diagram of the fourth stage in FIG. The voltage V 6, which is the collector voltage of Tr1, becomes Low, and at time t3, the flip-flop circuit FF1 is switched to a state of being driven by the auxiliary power supply V 0 .

尚、図9においては、最上段の波形図が遊技機電源部5より出力される電源電圧V5を、2段目の波形図がフリップフロップ回路FF1のデータ入力端子Dの入力電圧V1を、3段目の波形図がフリップフロップ回路FF1のデータ入力端子Dの入力電圧V2を、4段目の波形図がトランジスタTr1のコレクタの電圧V6およびクリア信号端子CLRの入力電圧V4を、5段目の波形図がフリップフロップ回路FF6の正出力端子Qの出力電圧V3を、6段目の波形図が制御部4の端子VINの入力電圧VINをそれぞれ示している。 In FIG. 9, the power supply voltage V 5 to the waveform diagram of the uppermost stage is outputted from the gaming machine power supply unit 5, a waveform diagram of the second stage input voltage V 1 of the data input terminal D of the flip-flop circuit FF1 The third-stage waveform diagram shows the input voltage V 2 at the data input terminal D of the flip-flop circuit FF1, and the fourth-stage waveform diagram shows the voltage V 6 at the collector of the transistor Tr1 and the input voltage V 4 at the clear signal terminal CLR. The fifth-stage waveform diagram shows the output voltage V 3 of the positive output terminal Q of the flip-flop circuit FF6, and the sixth-stage waveform diagram shows the input voltage V IN of the terminal V IN of the control unit 4.

ステップS24において、電圧V6がLowとなったため、データ信号線、クロック信号線、および開放検出信号線のそれぞれに設けられたスイッチSW21乃至SW23は、OFF(Open)状態となる。 In step S24, since the voltage V 6 becomes Low, the data signal lines, clock signal lines, and open the switches SW21 to SW23 is provided in each of the detection signal line becomes OFF (Open) state.

また、ステップS27において、スイッチSW2がONにされると、遊技機電源部5が電力の供給を開始し、電圧V5が所定の閾値Vthを超えると遊技機の主電源がONにされたと認識されて、処理は、ステップS28に進む。 Also, recognized in step S27, the switch SW2 is turned ON, the game machine power supply unit 5 starts supplying power, the voltage V 5 main power source of the game machine exceeds a predetermined threshold value Vth is set to the ON Then, the process proceeds to step S28.

ステップS28において、トランジスタTr1がONにされるため、図9の4段目の波形図で示されるように、トランジスタTr1のコレクタの電圧である電圧V6が上昇を開始し、時刻t4においてフリップフロップ回路FF1乃至FF6が遊技機電源部5で駆動する状態に切り替わる。 In step S28, the transistor Tr1 is ON, the as shown in the waveform diagram of the fourth stage of FIG. 9, the voltage V 6 is the voltage of the collector of the transistor Tr1 starts to rise, the flip-flop at the time t4 The circuits FF1 to FF6 are switched to a state of being driven by the gaming machine power supply unit 5.

ステップS29において、電圧V6がHiとなったため、データ信号線、クロック信号線、および開放検出信号線のそれぞれに設けられたスイッチSW21乃至SW23は、ON(Close)状態となる。 In step S29, since the voltage V 6 becomes Hi, the switches SW21 to SW23 provided in each of the data signal line, the clock signal line, and the open detection signal line are in the ON (Close) state.

このため、図9の3段目の波形図で示されるように、遊技機の正面扉の開放が検出されなかった場合、5,6段目の波形図で示されるように、時刻t4において、制御部4の端子VINの入力電圧VINと、フリップフロップ回路FF6の正出力端子Qの出力電圧V3とがHiとなる。尚、ここでは、リセット信号により正常なデータとしてフリップフロップ回路FF6がHiを保持しているものとする。 Therefore, as shown in the third-stage waveform diagram of FIG. 9, when the opening of the front door of the gaming machine is not detected, as shown in the fifth and sixth-stage waveform diagrams, at time t4, The input voltage V IN of the terminal V IN of the control unit 4 and the output voltage V 3 of the positive output terminal Q of the flip-flop circuit FF6 become Hi. Here, it is assumed that the flip-flop circuit FF6 holds Hi as normal data by the reset signal.

一方、図10の4段目の波形図で示されるように、時刻t5において遊技機の正面扉の開放が検出された場合、4段目の波形図で示されるように、フリップフロップ回路FF1乃至FF6のクリア信号端子CLRの電圧V4がHiとなるので、5,6段目の波形図で示されるように、時刻t4において、制御部4の端子VINの電圧VINと、フリップフロップ回路FF1乃至FF6の正出力端子Qの出力電圧は全てLowとなる。 On the other hand, when the opening of the front door of the gaming machine is detected at time t5 as shown in the waveform diagram of the fourth stage in FIG. 10, the flip-flop circuits FF1 to FF1 through FF1 are shown in the waveform diagram of the fourth stage. Since the voltage V 4 of the clear signal terminal CLR of the FF 6 becomes Hi, the voltage V IN of the terminal V IN of the control unit 4 and the flip-flop circuit at time t 4 as shown in the waveform diagrams of the fifth and sixth stages. The output voltages of the positive output terminals Q of FF1 to FF6 are all low.

尚、図10においては、図9における各段の波形図と同様の波形図を示しているが、時刻t5において正面扉の開放が検出された場合の波形が示されている。   FIG. 10 shows a waveform diagram similar to the waveform diagram of each stage in FIG. 9, but shows a waveform when the opening of the front door is detected at time t <b> 5.

以上のように、遊技機電源部5からの電力供給がなくなり、遊技機の正面扉の扉開放検出の監視状態となったとき、スイッチSW21乃至SW23はOFFの状態となるので、コネクタ2がコネクタ3より引き出されて、直接クロック信号と正しい6ビットのデータからなるリセット信号とが入力されても、フリップフロップ回路FF1のデータ入力端子Dには入力されることがないため、フリップフロップ回路FF1乃至FF6に対して、一旦消去された正しいデータを再度記憶させることができないようにすることで不正を抑制することが可能となる。   As described above, when the power supply from the gaming machine power supply unit 5 is lost and the door opening detection state of the front door of the gaming machine is in the monitoring state, the switches SW21 to SW23 are in the OFF state. 3, even if a direct clock signal and a reset signal composed of correct 6-bit data are input, they are not input to the data input terminal D of the flip-flop circuit FF 1. It is possible to suppress fraud by preventing the correct data once erased from being stored in the FF 6 again.

以上においては、アナログスイッチにより遊技機電源部5からの電力供給が停止している間、フリップフロップ回路FF1乃至FF6がコネクタ2からの入力を受け付けないようにする例について説明してきたが、アナログスイッチ以外の手法により、遊技機電源部5からの電力供給が停止している間、フリップフロップ回路FF1乃至FF6がコネクタ2からの入力を受け付けないように構成してもよい。   In the above description, the example in which the flip-flop circuits FF1 to FF6 do not accept the input from the connector 2 while the power supply from the gaming machine power supply unit 5 is stopped by the analog switch has been described. The flip-flop circuits FF1 to FF6 may be configured not to accept the input from the connector 2 while the power supply from the gaming machine power supply unit 5 is stopped by a method other than the above.

図11は、遊技機電源部5からの電力供給が停止している間、アナログスイッチを用いずにフリップフロップ回路FF1乃至FF6がコネクタ2からの入力を受け付けないようにした扉開放検出部21を備えた遊技機の構成例を示している。尚、図11において、図1または図7と同一の機能を備えた構成については、同一の符号を付しており、その説明は適宜省略するものとする。   FIG. 11 shows the door opening detection unit 21 that prevents the flip-flop circuits FF1 to FF6 from accepting input from the connector 2 without using an analog switch while the power supply from the gaming machine power supply unit 5 is stopped. A configuration example of a gaming machine provided is shown. In FIG. 11, components having the same functions as those in FIG. 1 or FIG. 7 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

図11の扉開放検出部21において、図7の扉開放検出部11と異なるのは、アナログスイッチからなるスイッチSW21乃至SW23、およびトランジスタTr1に代えてダイオードD2,D11,D12、NPN型トランジスタTr11,Tr13,Tr15、PNP型のトランジスタTr12,Tr14、および抵抗R11乃至R19が設けられている点である。   The door opening detection unit 21 in FIG. 11 differs from the door opening detection unit 11 in FIG. 7 in that switches SW21 to SW23 formed of analog switches and diodes D2, D11, D12, NPN transistors Tr11, Tr13 and Tr15, PNP transistors Tr12 and Tr14, and resistors R11 to R19 are provided.

ダイオードD11のカソードは、フリップフロップ回路FF6の負出力端子Q’に接続されており、アノードは、抵抗R11の他方の端部およびダイオードD12のアノードに接続されている。ダイオードD12のアノードは、抵抗R11の他方の端部およびダイオードD11のアノードに接続されている。ダイオードD12のカソードは、トランジスタTr11のベースおよび抵抗R12の一方の端部に接続されている。   The cathode of the diode D11 is connected to the negative output terminal Q 'of the flip-flop circuit FF6, and the anode is connected to the other end of the resistor R11 and the anode of the diode D12. The anode of the diode D12 is connected to the other end of the resistor R11 and the anode of the diode D11. The cathode of the diode D12 is connected to the base of the transistor Tr11 and one end of the resistor R12.

トランジスタTr11のベースは、ダイオードD12のカソード、および抵抗R12の一方の端部に接続されている。トランジスタTr11のエミッタは接地されている。トランジスタTr11のコレクタはコネクタ2,3を介して、抵抗R19の他方の端部および制御部4の端子VINに接続されている。 The base of the transistor Tr11 is connected to the cathode of the diode D12 and one end of the resistor R12. The emitter of the transistor Tr11 is grounded. The collector of the transistor Tr11 is connected to the other end of the resistor R19 and the terminal V IN of the control unit 4 via connectors 2 and 3.

トランジスタTr12のエミッタは、遊技機電源部5に接続されている。また、トランジスタTr12のコレクタは、抵抗R13およびフリップフロップ回路FF1乃至FF6のクロック入力端子CKに接続されている。さらに、トランジスタTr12のベースは、抵抗R14の一方の端部に接続されている。   The emitter of the transistor Tr12 is connected to the gaming machine power supply unit 5. The collector of the transistor Tr12 is connected to the resistor R13 and the clock input terminal CK of the flip-flop circuits FF1 to FF6. Furthermore, the base of the transistor Tr12 is connected to one end of the resistor R14.

トランジスタTr13のコレクタは、抵抗R14の他方の端部に接続されている。また、トランジスタTr13のエミッタは、接地されている。さらに、トランジスタTr13のベースは、抵抗R15の他方の端部に接続されている。   The collector of the transistor Tr13 is connected to the other end of the resistor R14. The emitter of the transistor Tr13 is grounded. Further, the base of the transistor Tr13 is connected to the other end of the resistor R15.

トランジスタTr14のエミッタは、遊技機電源部5に接続されている。また、トランジスタTr14のコレクタは、抵抗R16およびフリップフロップ回路FF1のデータ入力端子Dに接続されている。さらに、トランジスタTr14のベースは、抵抗R17の一方の端部に接続されている。   The emitter of the transistor Tr14 is connected to the gaming machine power supply unit 5. The collector of the transistor Tr14 is connected to the resistor R16 and the data input terminal D of the flip-flop circuit FF1. Further, the base of the transistor Tr14 is connected to one end of the resistor R17.

トランジスタTr15のコレクタは、抵抗R17の他方の端部に接続されている。また、トランジスタTr15のエミッタは、接地されている。さらに、トランジスタTr15のベースは、抵抗R18の他方の端部に接続されている。   The collector of the transistor Tr15 is connected to the other end of the resistor R17. The emitter of the transistor Tr15 is grounded. Further, the base of the transistor Tr15 is connected to the other end of the resistor R18.

抵抗R11の一方の端部は遊技機電源部5に接続されており、他方の端部はダイオードD11,D12のアノードに接続されている。抵抗R12の一方の端部はダイオードD12のカソードおよびトランジスタTr12のベースに接続され、他方の端部は接地されている。抵抗R13の一方の端部はトランジスタTr12のコレクタおよびフリップフロップ回路FF1乃至FF6のクロック信号入力端子CKに接続されている。抵抗R14の一方の端部はトランジスタTr12のベースに接続され、他方の端部はトランジスタTr13のコレクタに接続されている。抵抗R15の一方の端部はコネクタ2,3を介して制御部4のクロック信号端子VCKに接続され、他方の端部はトランジスタTr13のベースに接続されている。抵抗R16は、一方の端部がトランジスタTr14のコレクタおよびフリップフロップ回路FF1のデータ入力端子Dに接続されており、他方の端部が接地されている。抵抗R17は、一方の端部がトランジスタTr14のベースに接続されており、他方の端部がトランジスタTr15のコレクタに接続されている。抵抗R18は、一方の端部が制御部4の端子VDEに接続されている。抵抗R19は、一方の端部が遊技機電源部5に接続され、他方の端部がトランジスタTr11のコレクタに接続されている。尚、抵抗R11乃至R19は、いずれも電圧調整用に用いられる抵抗である。 One end of the resistor R11 is connected to the gaming machine power supply unit 5, and the other end is connected to the anodes of the diodes D11 and D12. One end of the resistor R12 is connected to the cathode of the diode D12 and the base of the transistor Tr12, and the other end is grounded. One end of the resistor R13 is connected to the collector of the transistor Tr12 and the clock signal input terminal CK of the flip-flop circuits FF1 to FF6. One end of the resistor R14 is connected to the base of the transistor Tr12, and the other end is connected to the collector of the transistor Tr13. One end of the resistor R15 is connected to the clock signal terminal VCK of the control unit 4 via the connectors 2 and 3, and the other end is connected to the base of the transistor Tr13. The resistor R16 has one end connected to the collector of the transistor Tr14 and the data input terminal D of the flip-flop circuit FF1, and the other end grounded. The resistor R17 has one end connected to the base of the transistor Tr14 and the other end connected to the collector of the transistor Tr15. One end of the resistor R <b> 18 is connected to the terminal V DE of the control unit 4. The resistor R19 has one end connected to the gaming machine power supply unit 5 and the other end connected to the collector of the transistor Tr11. The resistors R11 to R19 are all resistors used for voltage adjustment.

次に、図12のフローチャートを参照して、図11の扉開放検出部21を備えた遊技機による扉開放検出処理について説明する。尚、図12のフローチャートにおけるステップS41,S46乃至S48,S52乃至S55は、図2のフローチャートにおけるステップS1,S3乃至S9と同様であるので、その説明は省略するものとする。   Next, with reference to the flowchart of FIG. 12, the door opening detection process by the gaming machine provided with the door opening detection unit 21 of FIG. 11 will be described. Note that steps S41, S46 to S48, and S52 to S55 in the flowchart of FIG. 12 are the same as steps S1, S3 to S9 in the flowchart of FIG.

すなわち、ステップS41において、スイッチSW2がOFFにされることにより、遊技機電源部5より出力される電圧V5が、所定の閾値Vthよりも小さくなり、スイッチSW2がOFFにされたことが認識されると、ステップS42において、扉開放検出部1に対して、クロック信号端子VCKより発生されるクロック信号に同期して、データ出力端子VDEより複数ビットのデータからなるリセット信号を出力する。 That is, in step S41, by the switch SW2 is turned OFF, the voltage V 5 output from the game machine power supply unit 5 becomes smaller than the predetermined threshold value Vth, it is recognized that the switch SW2 is turned OFF If that, in step S42, with respect to door opening detection unit 1, in synchronism with the clock signal generated from the clock signal terminal V CK, and outputs a reset signal consisting of a plurality of bits of data from the data output terminal V DE.

ステップS43において、抵抗R15を介して入力されるクロック信号、および、抵抗R18を介して入力されるリセット信号により、いずれもがHiの状態のとき、トランジスタTr13,Tr15のベースに電流を発生させることにより、トランジスタTr13,Tr15がONにされる。また、トランジスタTr13,Tr15がONにされることにより、抵抗R14,R17を介してトランジスタTr12,Tr14のベースに電流を発生させることによりトランジスタTr12,Tr14がONにされる。   In step S43, a current is generated in the bases of the transistors Tr13 and Tr15 when both are in a Hi state by a clock signal input through the resistor R15 and a reset signal input through the resistor R18. Thus, the transistors Tr13 and Tr15 are turned on. Further, when the transistors Tr13 and Tr15 are turned on, currents are generated in the bases of the transistors Tr12 and Tr14 via the resistors R14 and R17, thereby turning on the transistors Tr12 and Tr14.

ステップS44において、トランジスタTr12乃至Tr15がONの状態となっているとき、遊技機電源部5より供給される電力によりフリップフロップ回路FF1のデータ入力端子Dおよびクロック信号入力端子CKに、それぞれ抵抗R16,R13により調整された電圧が印加されることにより、フリップフロップ回路FF1乃至FF6は、リセット信号に対応する信号を順次保持する。   In step S44, when the transistors Tr12 to Tr15 are in the ON state, the resistors R16 and R16 are connected to the data input terminal D and the clock signal input terminal CK of the flip-flop circuit FF1 by the power supplied from the gaming machine power supply unit 5, respectively. By applying the voltage adjusted by R13, the flip-flop circuits FF1 to FF6 sequentially hold signals corresponding to the reset signal.

ステップS45において、リセット信号およびクロック信号の入力がなくなると、トランジスタTr12乃至Tr15は、OFFの状態となる。   In step S45, when the reset signal and the clock signal are not input, the transistors Tr12 to Tr15 are turned off.

尚、ステップS42乃至S45の処理は、リセット信号およびクロック信号のビット単位の処理である。すなわち、リセット信号およびクロック信号は、いずれもパルス状の信号であるので、各ビット単位の信号がHiで入力するタイミングにのみ、クロック信号に同期して、リセット信号がフリップフロップ回路FF1に順次Hiで供給されることを示すものである。従って、パターンにより、Lowが供給される場合、トランジスタTr12乃至Tr15はOFFのままである。より詳細には、リセット信号が上述したように6ビットからなるデータである場合、ステップS42乃至S45の処理が6回繰り返されて、フリップフロップ回路FF1乃至FF6に順次データが保持される。   Note that the processing in steps S42 to S45 is processing in units of bits of the reset signal and the clock signal. That is, since the reset signal and the clock signal are both pulse signals, the reset signal is sequentially sent to the flip-flop circuit FF1 in synchronization with the clock signal only at the timing when each bit unit signal is input as Hi. It is shown that it is supplied by. Therefore, when Low is supplied according to the pattern, the transistors Tr12 to Tr15 remain OFF. More specifically, when the reset signal is 6-bit data as described above, the processing in steps S42 to S45 is repeated 6 times, and the data is sequentially held in the flip-flop circuits FF1 to FF6.

このように、遊技機電源部5からの電力供給が途切れると、抵抗R11の流入電流がなくなり、フリップフロップ回路FF6の負出力端子Q’の状態に関わらずトランジスタTr11はOFFとなり、さらに、トランジスタTr12、Tr14は制御部4の端子VCK、VDEの状態およびトランジスタTr13、Tr15の駆動状態に関わらずOFFとなる。フリップフロップ回路FF6の出力信号はトランジスタTr11のコレクタで、クロック信号はトランジスタTr12のコレクタで、リセット信号はトランジスタTr14のコレクタでそれぞれ電気的に切断されるため、コネクタ2が引き出されて不正に直接リセット信号およびクロック信号が入力されても、フロップフロップ回路FF1乃至FF6のデータを変更することはないので、不正に開放検出信号が操作されない。 Thus, when the power supply from the gaming machine power supply unit 5 is interrupted, the inflow current of the resistor R11 disappears, the transistor Tr11 is turned off regardless of the state of the negative output terminal Q ′ of the flip-flop circuit FF6, and further, the transistor Tr12 Tr14 is OFF regardless of the state of the terminals V CK and V DE of the control unit 4 and the driving state of the transistors Tr13 and Tr15. The output signal of the flip-flop circuit FF6 is electrically disconnected at the collector of the transistor Tr11, the clock signal is electrically disconnected at the collector of the transistor Tr12, and the reset signal is electrically disconnected at the collector of the transistor Tr14. Even if the signal and the clock signal are input, the data of the flop-flop circuits FF1 to FF6 are not changed, and therefore the open detection signal is not manipulated illegally.

また、ステップS48において、スイッチSW2がONにされると、遊技機電源部5が電力の供給を開始し、電圧V5が所定の閾値Vthを超えると電源がONにされたと認識されて、処理は、ステップS49に進む。 Further, in step S48, the when the switch SW2 is ON, the feed was started the game machine power supply unit 5 is power, it is recognized that the voltage V 5 power exceeds a predetermined threshold value Vth is turned ON, the processing Advances to step S49.

ステップS49において、フリップフロップ回路FF6がHiの状態を記憶しているか否かが判定される。すなわち、フリップフロップ回路FF6がHiの状態を記憶しているか、または、Lowの状態を記憶しているかにより動作が異なる。   In step S49, it is determined whether or not the flip-flop circuit FF6 stores the Hi state. That is, the operation differs depending on whether the flip-flop circuit FF6 stores the Hi state or the Low state.

ステップS49において、フリップフロップ回路FF1がHiの状態を記憶している場合、ステップS50において、負出力端子Q’よりLowの信号が出力される。このため、遊技機電源部5より供給される電力は、抵抗ダイオードD11を介して負出力端子Q’に引き込まれることにより、ダイオードD12を介してトランジスタTr11のベースに供給されないので、トランジスタTr11はOFFの状態となり、制御部4の端子VINには、Hiの信号が入力される。 If the flip-flop circuit FF1 stores the Hi state in step S49, a low signal is output from the negative output terminal Q ′ in step S50. Therefore, the power supplied from the gaming machine power supply unit 5 is not supplied to the base of the transistor Tr11 via the diode D12 by being drawn into the negative output terminal Q ′ via the resistance diode D11, so that the transistor Tr11 is turned off. The Hi signal is input to the terminal V IN of the control unit 4.

一方、ステップS49において、フリップフロップ回路FF6がLowの状態を記憶している場合、ステップS51において、負出力端子Q’よりHiの信号が出力される。このため、遊技機電源部5より供給される電力は、抵抗ダイオードD12を介してトランジスタTr11のベースに供給されることになるので、トランジスタTr11はONの状態となり、制御部4の端子VDINには、接地電位であるLowの信号が入力される。 On the other hand, when the flip-flop circuit FF6 stores the Low state in Step S49, a Hi signal is output from the negative output terminal Q ′ in Step S51. For this reason, since the electric power supplied from the gaming machine power supply unit 5 is supplied to the base of the transistor Tr11 via the resistance diode D12, the transistor Tr11 is turned on, and the terminal V DIN of the control unit 4 is connected to the terminal V DIN . Is inputted with a Low signal which is a ground potential.

尚、ステップS49乃至S51の処理は、上述したステップS42乃至S45における場合と同様に、クロック信号が供給されていることが前提である。また、ステップS49におけるフリップフロップ回路FF6が記憶しているデータの判定は、上述したように正常データが6ビットのデータから構成されている場合、各ビット毎の判定がなされていることが前提である。このため、各ビット毎にステップS49乃至S51の処理が繰り返されることにより、ステップS52において、制御部4は、複数ビットからなるデータを開放検出信号として取得する。   Note that the processing in steps S49 to S51 is based on the premise that a clock signal is supplied in the same manner as in steps S42 to S45 described above. The determination of the data stored in the flip-flop circuit FF6 in step S49 is based on the premise that the determination is made for each bit when the normal data is composed of 6-bit data as described above. is there. For this reason, by repeating the process of step S49 thru | or S51 for every bit, in step S52, the control part 4 acquires the data which consist of multiple bits as an open detection signal.

以上によれば、ダイオードとトランジスタとを組み合わせるようにすることで、アナログスイッチを利用した場合と同様に、クロック信号線およびデータ信号線のONまたはOFF(回路上の接続または切断)を実現することが可能となる。結果として、遊技機電源部5からの電源供給が停止されている状態での扉の開放を検出させることが可能になると共に、コネクタ2が引き出されて直接リセット信号が入力されても、フリップフロップ回路FF1の状態を維持することが可能となるので、コネクタ2から直接リセット信号が入力されることによる不正を防止することが可能となる。   According to the above, by combining the diode and the transistor, the clock signal line and the data signal line can be turned on or off (connected or disconnected on the circuit) as in the case of using the analog switch. Is possible. As a result, it is possible to detect the opening of the door when the power supply from the gaming machine power supply unit 5 is stopped, and even if the connector 2 is pulled out and a reset signal is directly input, the flip-flop Since the state of the circuit FF1 can be maintained, it is possible to prevent fraud due to a reset signal being directly input from the connector 2.

尚、図11の扉開放検出部21を備えた遊技機による扉開放検出処理時の電位変化は、図7の扉開放検出部11を備えた遊技機による場合と同様であるので、その説明は省略する。   The potential change during the door opening detection process by the gaming machine provided with the door opening detection unit 21 of FIG. 11 is the same as that by the gaming machine provided with the door opening detection unit 11 of FIG. Omitted.

以上においてはフリップフロップ回路を用いた扉開放検出部の構成例について説明してきたが、フリップフロップ回路に限らず、複数ビットのデータをパターンとして記憶することができるものであればよく、例えば、不揮発性メモリを使用するようにしてもよい。   In the above, the configuration example of the door opening detection unit using the flip-flop circuit has been described. However, the present invention is not limited to the flip-flop circuit, and any configuration can be used as long as it can store a plurality of bits of data as a pattern. A volatile memory may be used.

図13は、不揮発性メモリを使用した扉開放検出部を備えた遊技機の構成例を示している。尚、図13においては、図1と同様の機能を備える構成については、同一の符号を付しており、その説明は、適宜省略するものとする。   FIG. 13 shows a configuration example of a gaming machine including a door opening detection unit using a nonvolatile memory. In FIG. 13, configurations having the same functions as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

すなわち、図13の扉開放検出部31においては、図1の扉開放検出部1におけるスイッチSW1、フリップフロップ回路FF1乃至FF6、ダイオードD2、および抵抗R1に代えて、スイッチSW31、記憶部41、全消去信号生成部42、およびクロック信号発生部43が設けられている。また、制御部4に代えて、制御部34が設けられている。   That is, in the door opening detection unit 31 in FIG. 13, instead of the switch SW1, the flip-flop circuits FF1 to FF6, the diode D2, and the resistor R1 in the door opening detection unit 1 in FIG. An erasing signal generator 42 and a clock signal generator 43 are provided. Further, a control unit 34 is provided instead of the control unit 4.

記憶部41は、いわゆるEEPROM(Electronically Erasable and Programmable Read Only Memory)であり、コネクタ32,33を介して制御部34のデータインプットアウトプット端子VDIOより入力される複数ビットのデータからなるリセット信号を、クロック信号端子VCKより供給されてくるクロック信号に同期して記憶する。また、記憶部41は、制御部34よりチップセレクト信号端子VCSよりチップセレクト信号が入力され、データインプットアウトプット端子VDIOよりデータ読出命令が入力されると、記憶している複数ビットのデータを制御部34のデータインプットアウトプット端子VDIOに出力する。 Storage unit 41 is a so-called EEPROM (Electronically Erasable and Programmable Read Only Memory), a reset signal consisting of a plurality of bits of data input from the data input output terminal V DIO of the control unit 34 via the connector 32, 33 The data is stored in synchronization with the clock signal supplied from the clock signal terminal VCK . The storage unit 41 receives a plurality of bits of data stored when a chip select signal is input from the control unit 34 to the chip select signal terminal V CS and a data read command is input from the data input / output terminal V DIO. Is output to the data input / output terminal V DIO of the control unit 34.

全消去信号発生部42は、クロック信号発生部43よりクロック信号が供給されてくると、クロック信号に同期して記憶部41に記憶されているデータを消去する信号を発生する。   When the clock signal is supplied from the clock signal generating unit 43, the all erasing signal generating unit 42 generates a signal for erasing the data stored in the storage unit 41 in synchronization with the clock signal.

制御部34は、基本的に制御部4と同様の機能を備えている。すなわち、制御部34は、クロック信号発生部34bを制御してクロック信号を発生させると共に、リセット管理部34aを制御して、クロック信号に同期して、複数ビットのデータからなるリセット信号を扉開放検出部31に入力する。また、制御部34は、クロック信号発生部34bを制御して扉開放検出部31に対して供給し、クロック信号に同期して、記憶部41に記憶されている情報を開放検出信号として読み出させる。また、制御部34は、開放判定部34cを制御して、読み出された開放検出信号がリセット信号として記憶させた信号と同一であるか否かにより扉の開放の有無を判定させる。   The control unit 34 basically has the same function as the control unit 4. That is, the control unit 34 controls the clock signal generation unit 34b to generate a clock signal, and also controls the reset management unit 34a to open a reset signal composed of a plurality of bits of data in synchronization with the clock signal. Input to the detector 31. Further, the control unit 34 controls the clock signal generation unit 34b to supply to the door opening detection unit 31, and reads information stored in the storage unit 41 as an opening detection signal in synchronization with the clock signal. Let In addition, the control unit 34 controls the opening determination unit 34c to determine whether or not the door is opened depending on whether or not the read opening detection signal is the same as the signal stored as the reset signal.

コネクタ32,33は、図13の上から電力供給線、クロック信号線、チップセレクト信号線、データインプットアウトプット線、および接地線をそれぞれ接続している。   The connectors 32 and 33 are connected to a power supply line, a clock signal line, a chip select signal line, a data input / output line, and a ground line from the top of FIG.

次に、図14のフローチャートを参照して、図13の扉開放検出部31を備えた遊技機による扉開放検出処理について説明する。   Next, with reference to the flowchart of FIG. 14, the door opening detection process by the gaming machine provided with the door opening detection unit 31 of FIG. 13 will be described.

ステップS61において、制御部34は、遊技機電源部5を介して供給されてくる電圧を検出し、遊技機本体の電源であるスイッチSW2がOFFにされたか否かを判定する。すなわち、制御部34は、遊技機電源部5を介して供給されてくる供給電圧Vddが所定の閾値Vthよりも大きいか否かを判定し、大きい場合、遊技機本体の電源がOFFにされていないとみなし、同様の処理を繰り返す。ステップS61において、例えば、スイッチSW2がOFFに操作されることにより、電圧が降下し、供給電圧が、所定の閾値Vthよりも小さいと判定された場合、スイッチSW2がOFFにされたものとみなし処理は、ステップS62に進む。   In step S61, the control unit 34 detects the voltage supplied via the gaming machine power supply unit 5, and determines whether or not the switch SW2 that is the power source of the gaming machine body is turned off. That is, the control unit 34 determines whether or not the supply voltage Vdd supplied via the gaming machine power supply unit 5 is larger than a predetermined threshold value Vth, and if so, the gaming machine main body is turned off. It is assumed that there is no such thing, and the same process is repeated. In step S61, for example, when the switch SW2 is turned OFF, the voltage drops, and when it is determined that the supply voltage is smaller than the predetermined threshold value Vth, it is assumed that the switch SW2 is turned OFF. Advances to step S62.

ステップS62において、制御部34は、クロック信号発生部34bを制御して、チップセレクト信号端子VCSよりチップセレクト信号を扉開放検出部31の記憶部41に供給させ、さらに、クロック信号端子VCKよりクロック信号を発生させ扉開放検出部31に供給させると共に、リセット管理部34aを制御して、データインプットアウトプット端子VDIOより順次扉開放検出部1に対して、クロック信号端子VCKより発生されるクロック信号に同期して、書込命令信号および複数ビットのデータからなるリセット信号を出力させる。この処理により、記憶部41は、チップセレクト信号に基づいて、自らのデータが入力されてくることを認識すると共に、順次クロック信号に同期して入力される複数ビットのデータからなるリセット信号を正常なデータとして記憶する。 In step S62, the control unit 34 controls the clock signal generating unit 34b, a chip select signal from the chip select signal terminal V CS is supplied to the storage unit 41 of the door opening detection unit 31, further, a clock signal terminal V CK A clock signal is generated and supplied to the door opening detection unit 31, and the reset management unit 34a is controlled to generate from the data input output terminal V DIO to the door opening detection unit 1 sequentially from the clock signal terminal VCK. In synchronization with the clock signal, a write command signal and a reset signal composed of a plurality of bits of data are output. Through this processing, the storage unit 41 recognizes that its own data is input based on the chip select signal, and normally outputs a reset signal composed of a plurality of bits of data input in synchronization with the clock signal. Memorize it as simple data.

ステップS63において、遊技機の正面扉が開放されて、スイッチSW31がONの状態にされたか否かが判定され、例えば、扉が開放されず、スイッチSW31がOFFの状態である場合、処理は、ステップS66に進む。   In step S63, it is determined whether or not the front door of the gaming machine is opened and the switch SW31 is turned on. For example, when the door is not opened and the switch SW31 is turned off, the process is as follows. Proceed to step S66.

ステップS66において、制御部34は、遊技機電源部5を介して供給されてくる電圧を検出し、遊技機本体の電源であるスイッチSW2がONにされたか否かを判定する。すなわち、制御部34は、電源端子Vddの電圧が、遊技機電源部5を介して供給されてくる電圧が所定の閾値Vthよりも大きいか否かを判定し、小さい場合、遊技機本体の主電源がOFFのままにされているとみなし、処理は、ステップS63に戻る。すなわち、スイッチSW2がONにされ、遊技機の主電源がONにされたと判定されるまで、ステップS63乃至S66の処理が繰り返される。   In step S66, the control unit 34 detects the voltage supplied via the gaming machine power supply unit 5, and determines whether or not the switch SW2 that is the power source of the gaming machine main body is turned on. That is, the control unit 34 determines whether or not the voltage of the power supply terminal Vdd is greater than a predetermined threshold Vth when the voltage supplied via the gaming machine power supply unit 5 is smaller. The processing returns to step S63, assuming that the power is kept off. That is, the processing of steps S63 to S66 is repeated until it is determined that the switch SW2 is turned on and the main power source of the gaming machine is turned on.

ステップS67において、制御部34は、クロック信号発生部34bを制御して、チップセレクト信号端子VCSよりチップセレクト信号を扉開放検出部31に入力させ、さらに、クロック信号を発生させて、クロック信号端子VCKより扉開放検出部1に供給する。これに伴って、記憶部41は、自らのデータが要求されていることを認識すると共に、記憶している複数ビットのデータからなる開放検出信号を制御部34のデータインプットアウトプット端子VDIOに出力する。これにより、制御部34は、記憶部41に記憶されていた複数ビットのデータからなる開放検出信号を取得する。 In step S67, the control unit 34 controls the clock signal generating unit 34b, it is input from the chip select signal terminal V CS a chip select signal to the door opening detection unit 31, further, generates a clock signal, a clock signal It supplies to the door opening detection part 1 from terminal VCK . Along with this, the storage unit 41 recognizes that its own data is requested, and sends a release detection signal consisting of the stored multi-bit data to the data input / output terminal V DIO of the control unit 34. Output. As a result, the control unit 34 acquires an open detection signal composed of a plurality of bits of data stored in the storage unit 41.

ステップS68において、制御部24は、開放判定部34cを制御して、入力されてきた扉開放検出部31からの開放検出信号が電源OFF直後になされたステップS62の処理で保持させた正常なデータからなる開放検出信号であるか否かを判定する。例えば、正常なデータからなる開放検出信号であった場合、開放判定部34cは、出力されてくる扉開放検出部31からの開放検出信号が、扉の開放を検出したことを示す扉開放信号ではないとみなし、処理は、ステップS61に戻る。   In step S68, the control unit 24 controls the opening determination unit 34c so that the input opening detection signal from the door opening detection unit 31 is stored in the process of step S62 performed immediately after the power is turned off. It is determined whether it is an open detection signal consisting of For example, in the case of an opening detection signal composed of normal data, the opening determination unit 34c outputs an opening detection signal from the door opening detection unit 31 as a door opening signal indicating that the door has been opened. The processing returns to step S61.

一方、ステップS63において、例えば、図示せぬ遊技機の正面扉が開放されて、スイッチSW31がONの状態となった場合、ステップS64において、クロック信号発生部43は、補助電源V0より電力供給を受けるため、クロック信号を発生して、全消去信号生成部42に供給する。 On the other hand, in step S63, for example, is open the front door of the gaming machine (not shown), when the switch SW31 is turned state ON, the in step S64, the clock signal generator 43, the power supply from the auxiliary power supply V 0 Therefore, a clock signal is generated and supplied to the all erase signal generation unit 42.

ステップS65において、全消去信号生成部42は、記憶部41に対して、クロック信号に同期して、全消去信号を生成して、記憶部41に入力する。これにより、記憶部41は、複数ビットのデータを全てLow(またはHi)にするなどして、データを消去する。   In step S <b> 65, the total erasure signal generation unit 42 generates a total erasure signal for the storage unit 41 in synchronization with the clock signal and inputs it to the storage unit 41. Thereby, the storage unit 41 erases the data by setting all the multi-bit data to Low (or Hi).

この結果、ステップS68において、記憶部41より出力されてくる複数ビットのデータからなる開放検出信号は、正常なデータからなる開放検出信号ではないので、扉の開放が検出されたことを示す扉開放信号とみなし、処理は、ステップS69に進む。   As a result, in step S68, the opening detection signal composed of a plurality of bits of data output from the storage unit 41 is not an opening detection signal composed of normal data, so that the door opening indicating that the door opening is detected. The signal is regarded as a signal, and the process proceeds to step S69.

ステップS69において、制御部34は、発報部7を制御して、遊技機電源部5からの電力供給が停止された後、不正に遊技機の正面扉が開放されたことが検出されたことを発報させる。   In step S69, the control unit 34 controls the reporting unit 7 to detect that the front door of the gaming machine is illegally opened after the power supply from the gaming machine power supply unit 5 is stopped. To report.

ステップS70において、制御部34は、図示せぬ操作部が操作されて発報部7の動作の停止が指示されたか否かを判定し、指示されていない場合、同様の処理を繰り返す。すなわち、発報動作の停止が指示されるまで、処理が繰り返されて、発報が継続される。そして、ステップS70において、発報動作の停止が指示された場合、制御部4は、発報動作を停止させて、処理は、ステップS61に戻り、それ以降の処理が繰り返される。   In step S <b> 70, the control unit 34 determines whether or not an operation unit (not shown) has been operated to instruct stop of the operation of the reporting unit 7. If not, the same process is repeated. That is, the processing is repeated until the stop of the notification operation is instructed, and the notification is continued. In step S70, when an instruction to stop the reporting operation is given, the control unit 4 stops the reporting operation, the process returns to step S61, and the subsequent processes are repeated.

以上の処理により、遊技機電源部5からの電力供給を停止させると、制御部34が、記憶部41に複数ビットのデータからなるリセット信号を入力して、正常なデータを記憶させる。そして、扉の開放が検出されなければ、再び遊技機電源部5からの電力供給が開始されると、その制御部34は、記憶部41に正常なデータが記憶されているので、正面扉の開放が検出されていないとみなす。また、正面扉が開放されて、スイッチSW1がONにされると、扉開放検出部1は、補助電源V0により駆動し、記憶部41の複数ビットからなる正常なデータが全て消去されるので、正面扉の開放が検出されたことを痕跡として残す。そして、再び遊技機電源部5からの電力供給が開始されると、その制御部34は、記憶部41に正常なデータが記憶されていないので、正面扉の開放が検出されていることを認識することができる。 When the power supply from the gaming machine power supply unit 5 is stopped by the above processing, the control unit 34 inputs a reset signal composed of a plurality of bits of data to the storage unit 41 and stores normal data. If the opening of the door is not detected, when the power supply from the gaming machine power supply unit 5 is started again, the control unit 34 stores normal data in the storage unit 41. It is assumed that no opening has been detected. Further, when the front door is opened and the switch SW1 is turned on, the door opening detection unit 1 is driven by the auxiliary power source V 0 and all normal data composed of a plurality of bits in the storage unit 41 is erased. , Leaving a trace that the opening of the front door has been detected. When the power supply from the gaming machine power supply unit 5 is started again, the control unit 34 recognizes that the opening of the front door is detected because normal data is not stored in the storage unit 41. can do.

従って、安価な構成の装置により、確実に扉の開放を検出することが可能になると共に、正面扉の開放が検出されるまでは、扉開放検出部31は、補助電源V0により駆動することがないので、消費電力を低減させることが可能となる。 Accordingly, it is possible to reliably detect the opening of the door with an inexpensive device, and the door opening detecting unit 31 is driven by the auxiliary power supply V 0 until the opening of the front door is detected. Therefore, power consumption can be reduced.

以上によれば、安価な構成の装置により、確実に扉の開放を検出することが可能となる。   According to the above, it is possible to reliably detect the opening of the door by an inexpensive device.

尚、本明細書において、処理を記述するステップは、記載された順序に沿って時系列的に行われる処理は、もちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理を含むものである。   In the present specification, the steps for describing the processing are executed in parallel or individually even if the processing is performed not in the time series, of course, the processing performed in the time series in the described order. It includes processing.

本発明を適用した扉開放検出部を備えた遊技機の一実施の形態の構成例を示す図である。It is a figure which shows the structural example of one Embodiment of the gaming machine provided with the door opening detection part to which this invention is applied. 図1の扉開放検出部を備えた遊技機による扉開放検出処理を説明するフローチャートである。It is a flowchart explaining the door opening detection process by the game machine provided with the door opening detection part of FIG. 図1の扉開放検出部を備えた遊技機による扉開放検出処理を説明する図である。It is a figure explaining the door opening detection process by the game machine provided with the door opening detection part of FIG. 図1の扉開放検出部を備えた遊技機による扉開放検出処理を説明する図である。It is a figure explaining the door opening detection process by the game machine provided with the door opening detection part of FIG. 図1の扉開放検出部を備えた遊技機による扉開放検出処理を説明する図である。It is a figure explaining the door opening detection process by the game machine provided with the door opening detection part of FIG. 図1の扉開放検出部を備えた遊技機による扉開放検出処理を説明する図である。It is a figure explaining the door opening detection process by the game machine provided with the door opening detection part of FIG. その他の扉開放検出部を備えた遊技機の実施の形態の構成例を示す図である。It is a figure which shows the structural example of embodiment of the game machine provided with the other door opening detection part. 図7の扉開放検出部を備えた遊技機による扉開放検出処理を説明するフローチャートである。It is a flowchart explaining the door opening detection process by the game machine provided with the door opening detection part of FIG. 図7の扉開放検出部を備えた遊技機による扉開放検出処理を説明する図である。It is a figure explaining the door opening detection process by the game machine provided with the door opening detection part of FIG. 図7の扉開放検出部を備えた遊技機による扉開放検出処理を説明する図である。It is a figure explaining the door opening detection process by the game machine provided with the door opening detection part of FIG. さらにその他の扉開放検出部を備えた遊技機の実施の形態の構成例を示す図である。Furthermore, it is a figure which shows the structural example of embodiment of the game machine provided with the other door opening detection part. 図11の扉開放検出部を備えた遊技機による扉開放検出処理を説明するフローチャートである。It is a flowchart explaining the door open detection process by the gaming machine provided with the door open detection part of FIG. さらにその他の扉開放検出部を備えた遊技機の実施の形態の構成例を示す図である。Furthermore, it is a figure which shows the structural example of embodiment of the game machine provided with the other door opening detection part. 図13の扉開放検出部を備えた遊技機による扉開放検出処理を説明するフローチャートである。It is a flowchart explaining the door opening detection process by the game machine provided with the door opening detection part of FIG.

符号の説明Explanation of symbols

1 扉開放検出部
4 制御部
4a リセット管理部
4b クロック信号発生部
4c 開放判定部
5 遊技機電源部
7 発報部
31 扉開放検出部
34 制御部
34a リセット管理部
34b クロック信号発生部
34c 開放判定部
41 記憶部
42 全消去信号生成部
43 クロック信号発生部
DESCRIPTION OF SYMBOLS 1 Door opening detection part 4 Control part 4a Reset management part 4b Clock signal generation part 4c Opening determination part 5 Game machine power supply part 7 Notification part 31 Door opening detection part 34 Control part 34a Reset management part 34b Clock signal generation part 34c Opening determination Unit 41 Storage unit 42 Total erasure signal generation unit 43 Clock signal generation unit

Claims (9)

所定のデータを記憶する記憶手段と、
扉の開放を検出し、前記扉の開放が検出された場合、前記記憶手段により記憶された前記所定のデータを消去する消去手段と、
前記記憶手段により記憶される前記所定のデータを記憶、または、読み出す信号線を接続、または、切断する切替手段とを含み、
前記扉が設けられた装置、並びに前記記憶手段、前記消去手段、および前記切替手段に電力を供給する主電源からの電力供給が停止するとき、前記切替手段は、前記信号線を切断し、前記切替手段により前記信号線が切断された後、前記消去手段は、前記扉の開放を検出したとき、前記記憶手段により記憶された前記所定のデータを消去する
扉開放検出装置。
Storage means for storing predetermined data;
Erasing means for detecting opening of the door and erasing the predetermined data stored by the storage means when the opening of the door is detected;
Switching means for connecting or disconnecting signal lines for storing or reading the predetermined data stored by the storage means,
The door device provided is as well the storage means, said erase means, and when said switching means supplying power from the supply mains supply electric power to the stops, the switching means disconnects the signal line, the After the signal line is cut by the switching unit, the erasing unit erases the predetermined data stored in the storage unit when detecting the opening of the door.
前記記憶手段は、複数ビットからなる前記所定のデータを記憶し、
前記消去手段は、前記扉の開放を検出し、前記扉の開放が検出された場合、前記記憶手段により記憶された前記所定のデータを全て消去する
請求項1に記載の扉開放検出装置。
The storage means stores the predetermined data consisting of a plurality of bits,
The door opening detection device according to claim 1, wherein the erasing unit detects the opening of the door, and when the opening of the door is detected, deletes all the predetermined data stored in the storage unit.
主電源よりも低い電圧の補助電源をさらに含み、
前記補助電源とダイオードとが順方向に接続されて、前記記憶手段に電力を供給し、
直列に接続されている前記補助電源と前記ダイオードとに対して、並列に前記主電源が接続されている
請求項1または2に記載の扉開放検出装置。
An auxiliary power supply having a lower voltage than the main power supply,
The auxiliary power source and the diode are connected in the forward direction to supply power to the storage means;
The door open detection device according to claim 1 or 2, wherein the main power supply is connected in parallel to the auxiliary power supply and the diode connected in series.
直列に接続されている前記補助電源と前記ダイオードとに対して、並列に前記主電源と前記ダイオードとは異なる他のダイオードが順方向に接続されている
請求項3に記載の扉開放検出装置。
The door open detection device according to claim 3, wherein the main power supply and another diode different from the diode are connected in parallel to the auxiliary power supply and the diode connected in series.
前記記憶手段により前記所定のデータが記憶されているか否かにより前記扉の開放が検出されたか否かを判定する判定手段をさらに含む
請求項1に記載の扉開放検出装置。
The door opening detection device according to claim 1, further comprising a determination unit that determines whether or not the opening of the door is detected based on whether or not the predetermined data is stored in the storage unit.
前記記憶手段は、D型フリップフロップ、RS型フリップフロップ、シフトレジスタ、または不揮発性メモリである
請求項1に記載の扉開放検出装置。
The door opening detection device according to claim 1, wherein the storage unit is a D-type flip-flop, an RS-type flip-flop, a shift register, or a nonvolatile memory.
前記消去手段は、接点スイッチ、近接スイッチ、光学スイッチ、または磁気スイッチを含む
請求項1に記載の扉開放検出装置。
The door opening detection device according to claim 1, wherein the erasing unit includes a contact switch, a proximity switch, an optical switch, or a magnetic switch.
所定のデータを記憶する記憶ステップと、
扉の開放を検出し、前記扉の開放が検出された場合、前記記憶ステップの処理により記憶された前記所定のデータを消去する消去ステップと、
前記記憶ステップの処理により記憶される前記所定のデータを記憶、または、読み出す信号線を接続、または、切断する切替ステップとを含み、
前記扉が設けられた装置、並びに前記記憶ステップの処理、前記消去ステップの処理、および前記切替ステップの処理に係る電力を供給する主電源からの電力供給が停止するとき、前記切替ステップの処理は、前記信号線を切断し、前記切替ステップの処理により前記信号線が切断された後、前記消去ステップの処理は、前記扉の開放を検出したとき、前記記憶ステップの処理により記憶された前記所定のデータを消去する
扉開放検出方法。
A storage step for storing predetermined data;
Erasing step of detecting opening of the door and erasing the predetermined data stored by the processing of the storing step when the opening of the door is detected;
A switching step of connecting or disconnecting a signal line for storing or reading the predetermined data stored by the processing of the storage step,
When the power supply from the main power supply that supplies power related to the apparatus provided with the door and the processing of the storage step, the processing of the erasing step, and the processing of the switching step is stopped , the processing of the switching step is After the signal line is cut and the signal line is cut by the process of the switching step, the process of the erasing step is performed when the opening of the door is detected and the predetermined step stored by the process of the storage step is stored. Opening detection method to erase data .
請求項1に記載の扉開放検出装置を含む遊技機。 A gaming machine comprising the door opening detection device according to claim 1.
JP2007118986A 2007-04-27 2007-04-27 Door opening detection device and method. Active JP5194548B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007118986A JP5194548B2 (en) 2007-04-27 2007-04-27 Door opening detection device and method.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007118986A JP5194548B2 (en) 2007-04-27 2007-04-27 Door opening detection device and method.

Publications (2)

Publication Number Publication Date
JP2008272189A JP2008272189A (en) 2008-11-13
JP5194548B2 true JP5194548B2 (en) 2013-05-08

Family

ID=40050929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007118986A Active JP5194548B2 (en) 2007-04-27 2007-04-27 Door opening detection device and method.

Country Status (1)

Country Link
JP (1) JP5194548B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6599511B2 (en) * 2018-05-21 2019-10-30 株式会社ユニバーサルエンターテインメント Game machine

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4359866B2 (en) * 2000-05-19 2009-11-11 奥村遊機株式會社 Pachinko machine
JP2005218597A (en) * 2004-02-05 2005-08-18 Ace Denken:Kk Fraudulence preventor for interboard game apparatus
JP4033480B2 (en) * 2005-12-15 2008-01-16 ネット株式会社 Gaming machine and door abnormality signal output device

Also Published As

Publication number Publication date
JP2008272189A (en) 2008-11-13

Similar Documents

Publication Publication Date Title
JP2005071325A (en) Memory card and nonvolatile memory consolidated microcomputer
KR100560767B1 (en) System including insertable and removable storage and control method thereof
JP2005318034A (en) Semiconductor integrated circuit device
KR101443419B1 (en) Method and circuit for preventing high voltage memory disturb
JP2007068282A (en) Power supply circuit
KR20180087920A (en) Dc-dc converter, and display device including dc-dc converter
US6404172B1 (en) Method and apparatus for providing integrated buck or boost conversion
JP5194548B2 (en) Door opening detection device and method.
KR20170141596A (en) Semiconductor device
CN111480193A (en) Display device and method for driving the same
JP4775693B2 (en) 2-wire transmitter
JP3545129B2 (en) Power supply control circuit for electronic equipment
TWI610289B (en) Display controller and operation method thereof
US7124306B2 (en) Power on/off circuit apparatus having a reset function
KR100614057B1 (en) Nonvolatile semiconductor memory device
KR20220003957A (en) Power down detection circuit and semiconductor memory device
JP5352974B2 (en) Door opening detection device and method.
JP2007317236A (en) Nonvolatile storage device
US20080093532A1 (en) Memory card having an information display function using an external light source
JP2008272190A (en) Door opening detection apparatus and method
JP2007265540A (en) Zener zap prom circuitry and its operation method
JP2009050473A (en) Door opening and closing detection apparatus and method
KR20100111010A (en) Voltage providing circuit and semiconductor device having the same
JP2655766B2 (en) Information card
JP2021140841A (en) Semiconductor storage device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120731

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130121

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5194548

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150