JP2001204947A - Pachinko game machine - Google Patents

Pachinko game machine

Info

Publication number
JP2001204947A
JP2001204947A JP2000015168A JP2000015168A JP2001204947A JP 2001204947 A JP2001204947 A JP 2001204947A JP 2000015168 A JP2000015168 A JP 2000015168A JP 2000015168 A JP2000015168 A JP 2000015168A JP 2001204947 A JP2001204947 A JP 2001204947A
Authority
JP
Japan
Prior art keywords
terminal
power supply
control device
input
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000015168A
Other languages
Japanese (ja)
Other versions
JP3725751B2 (en
Inventor
Kishio Sugijima
紀志男 杉島
Masamichi Horiki
正道 堀木
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.)
Sansei R&D Co Ltd
Original Assignee
Sansei R&D Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sansei R&D Co Ltd filed Critical Sansei R&D Co Ltd
Priority to JP2000015168A priority Critical patent/JP3725751B2/en
Publication of JP2001204947A publication Critical patent/JP2001204947A/en
Application granted granted Critical
Publication of JP3725751B2 publication Critical patent/JP3725751B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a pachinko game machine, which judges whether or not power is shut off, and when it is not, avoids a trouble that a game controller remains stopped to prevent playing games in spite of power recovery. SOLUTION: A controller 1 receives a voltage reduction signal outputted by a power voltage monitoring circuit IC2 at the NM1 terminal and input terminal thereof. The pachinko game machine comprises a processing means which monitors the presence or absence of the voltage reduction signal through an input port at NMI interrupt operation in response to the voltage reduction signal inputted to the NMI terminal to stop the controller 1 judging that power is off when the voltage reduction signal is received for a predetermined period of time while finish the NMI interruption and perform the normal operation of the controller 1 judging that the power is not off when the voltage reduction signal is not received for the predetermined period of time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、制御装置に供給さ
れる作動電源(電源電圧)が何らかの原因によって電源
断となった場合に備え、電源電圧低下を監視し、所定の
電圧以下となると強制割込み(NMI割込み)を発生さ
せ、この割込み内で電源断状態になるまでにRAMへの
書込みを禁止し、制御装置を休止状態にする処理手段を
備えたパチンコ遊技機に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention monitors a power supply voltage drop in case the operating power supply (power supply voltage) supplied to a control device is cut off for some reason, and forcibly acts when the power supply voltage falls below a predetermined voltage. The present invention relates to a pachinko game machine having a processing means for generating an interrupt (NMI interrupt), prohibiting writing to a RAM until the power is turned off within the interrupt, and putting the control device into a sleep state.

【0002】[0002]

【従来の技術】パチンコ遊技機に搭載される遊技制御C
PUに供給される作動電源(電源電圧)が何らかの原因
によって電源断となった場合に備え、電源電圧低下を監
視し、所定の電圧以下となると強制割込み(NMI割込
み)を発生させ、この割込み内で電源断状態になるまで
に所定の処理[RAMへの書込みを禁止し、遊技制御C
PUを休止(HALT)状態にする処理]を実行するよ
うにしている。
2. Description of the Related Art Game control C mounted on a pachinko machine
In preparation for a case where the operating power supply (power supply voltage) supplied to the PU is cut off for some reason, a power supply voltage drop is monitored, and when the power supply voltage falls below a predetermined voltage, a forced interrupt (NMI interrupt) is generated. Until the power is turned off, the predetermined process [writing to the RAM is prohibited and the game control C
Putting PU into Halt State].

【0003】電源電圧低下を監視する場合、ノイズや瞬
間的な電圧低下(以下、瞬低という)の発生によっても
強制割込み(NMI割込み)が発生する場合があり、こ
の場合は、RAMへの書込みを禁止し、遊技制御CPU
を休止(HALT)状態にする処理を行うと、作動電源
が正常に復帰しているにも拘らず、遊技制御CPUは休
止したままとなって遊技を行うことができない。
[0003] When monitoring a power supply voltage drop, a forced interrupt (NMI interrupt) may occur due to the occurrence of noise or a momentary voltage drop (hereinafter referred to as an instantaneous voltage drop). In this case, writing to the RAM is performed. Prohibit game control CPU
Is performed, the game control CPU remains in a paused state and cannot play a game, even though the operating power supply has returned to normal.

【0004】[0004]

【発明が解決しようとする課題】本発明の目的は、電源
断であるか、電源断でないか、即ち、ノイズや瞬間的な
電圧低下の発生であるかを判別し、電源断でない場合、
作動電源が正常に復帰しているにも拘らず、遊技制御に
関わる制御装置が休止したままとなって遊技できないと
いう不具合を回避することができるパチンコ遊技機を提
供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to determine whether power is off or not, that is, whether noise or a momentary voltage drop occurs.
It is an object of the present invention to provide a pachinko gaming machine capable of avoiding a problem that a control device relating to game control remains inactive and a game cannot be performed even though an operation power supply has returned to normal.

【0005】[0005]

【課題を解決するための手段】本発明のパチンコ遊技機
は、制御装置と電源電圧の低下に応じて電圧低下信号を
出力する電源電圧監視回路とを備えたものであって、上
記課題を解決するために、前記電源電圧監視回路の出力
端子を前記制御装置のNMI端子及び入力ポートに接続
して前記電源電圧監視回路から出力された電圧低下信号
を前記制御装置のNMI端子及び入力端子に入力すると
共に、前記制御装置に、前記電圧低下信号の前記NMI
端子への入力に応じたNMI割込みにおいて、前記電圧
低下信号の有無を前記入力ポートを通じて監視し、前記
電圧低下信号が所定の時間に亘って入力されている場合
には電源断であるとして前記制御装置を休止状態とする
一方、前記電圧低下信号が所定の時間に亘って入力され
ていない場合には、電源断でないとして前記NMI割込
みを終えて前記制御装置の正常状態の処理を行う処理手
段を設けたことを特徴とする。
SUMMARY OF THE INVENTION A pachinko gaming machine according to the present invention comprises a control device and a power supply voltage monitoring circuit for outputting a voltage drop signal in response to a drop in power supply voltage. The power supply voltage monitoring circuit has an output terminal connected to an NMI terminal and an input port of the control device, and a voltage drop signal output from the power supply voltage monitoring circuit is input to an NMI terminal and an input terminal of the control device. And providing the control device with the NMI of the voltage drop signal.
In an NMI interrupt in response to an input to a terminal, the presence or absence of the voltage drop signal is monitored through the input port, and if the voltage drop signal has been input for a predetermined period of time, the power is turned off and the control is performed. While the apparatus is in the sleep state, if the voltage drop signal has not been input for a predetermined time, it is determined that the power supply is not interrupted, the NMI interrupt is terminated, and processing means for processing the normal state of the control apparatus is provided. It is characterized by having been provided.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は、本実施形態のパチンコ遊
技機に配備された制御系統の一部を示すブロック図であ
る。図1に示す制御装置1、電源電圧監視IC2及び電
源電圧監視IC3は、図示していない1つの制御基板上
に搭載されているものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a part of a control system provided in the pachinko gaming machine of the present embodiment. The control device 1, the power supply voltage monitoring IC 2 and the power supply voltage monitoring IC 3 shown in FIG. 1 are mounted on one control board (not shown).

【0007】制御装置1は、CPUと、該CPUが行う
各制御プログラムを格納したROMと、随時データの読
み出し並びに書込みが可能であるRAMと、外部装置と
の制御信号やデータの送受を行うための内蔵のI/Oポ
ート及び内部バス(データバスを含む)等を1チップ内
に配備したマイクロコントローラにより構成されてい
る。なお、制御装置1の具体的な内部構成については図
示を省略する。
[0007] The control device 1 is for transmitting and receiving control signals and data to and from an external device, including a CPU, a ROM storing control programs executed by the CPU, a RAM from which data can be read and written at any time. And a microcontroller provided with an internal I / O port, an internal bus (including a data bus), and the like in a single chip. The illustration of the specific internal configuration of the control device 1 is omitted.

【0008】電源電圧監視IC2及び電源電圧監視IC
3は、例えば、電源断により作動電圧が低下すると、電
圧低下信号(リセット信号)をRESET端子から出力
するものである。電源電圧監視IC2の電圧入力端子V
SDには、図示していない電源回路において生成された
DC12Vが入力されている。また、電源電圧監視IC
3の電圧入力端子VSDには、同じく電源回路において
生成されたDC5Vが入力されている。
Power supply voltage monitoring IC 2 and power supply voltage monitoring IC
Reference numeral 3 is a signal for outputting a voltage reduction signal (reset signal) from the RESET terminal when the operating voltage is reduced due to, for example, power-off. Voltage input terminal V of power supply voltage monitoring IC2
A DC of 12 V generated by a power supply circuit (not shown) is input to SD. Power supply voltage monitoring IC
The voltage input terminal VSD of No. 3 is supplied with DC 5 V similarly generated in the power supply circuit.

【0009】電源電圧監視IC2のRESET端子から
出力される電圧低下信号1は、信号ラインL1及び信号
ラインL2を通じて制御装置1の内蔵I/OポートのP
B0端子に入力される。また、前記電圧低下信号1は、
信号ラインL1及び信号ラインL3を通じて制御装置1
のXNMI端子(ノンマスカブル割込み端子)にも入力
される。
The voltage drop signal 1 output from the RESET terminal of the power supply voltage monitoring IC 2 is supplied to the P / P of the built-in I / O port of the control device 1 through the signal lines L1 and L2.
It is input to the B0 terminal. The voltage drop signal 1 is
Control device 1 through signal line L1 and signal line L3
XNMI terminal (non-maskable interrupt terminal).

【0010】電源電圧監視IC3のRESET端子から
出力される電圧低下信号2は、信号ラインL4を通じて
制御装置1のXSRST端子(システムリセット端子)
に入力されるよう構成されている。なお、図1におい
て、電圧低下信号1及び電圧低下信号2は、ローレベル
でアクティブである。XNMI端子及びXSRST端子
の先頭文字「X」は、その信号が負論理であることを表
している。
The voltage drop signal 2 output from the RESET terminal of the power supply voltage monitoring IC 3 is supplied to the XSRST terminal (system reset terminal) of the control device 1 through the signal line L4.
It is configured to be input to. In FIG. 1, the voltage drop signal 1 and the voltage drop signal 2 are active at a low level. The first character “X” at the XNMI terminal and the XSRST terminal indicates that the signal is negative logic.

【0011】以上のように構成された実施形態の制御装
置1における電源電圧監視IC2のRESET端子から
出力される電圧低下信号1に応じたNMI割込み処理に
ついて説明する。なお、電源電圧監視IC2のRESE
T端子から出力される電圧低下信号1が、電源断による
ものであるか、電源断ではないものによるものか、即
ち、ノイズや瞬間的な電圧低下の発生によるものである
かの判別は、PB0端子の入力状態を所定の時間監視す
ることにより判別する。
An NMI interrupt process according to the voltage drop signal 1 output from the RESET terminal of the power supply voltage monitoring IC 2 in the control device 1 of the embodiment configured as described above will be described. Note that the RESE of the power supply voltage monitoring IC 2
It is determined whether the voltage drop signal 1 output from the T terminal is due to power-off or not due to power-off, that is, whether noise or an instantaneous voltage drop occurs. The determination is made by monitoring the input state of the terminal for a predetermined time.

【0012】なお、図2は、電源断となった場合の制御
装置1のPB0端子、XNMI端子及びXSRST端子
のレベル状態を示すタイムチャートである。また、図3
は、ノイズや瞬間的な電圧低下が発生した場合の制御装
置1のPB0端子、XNMI端子及びXSRST端子の
レベル状態を示すタイムチャートである。
FIG. 2 is a time chart showing the level states of the PB0 terminal, the XNMI terminal, and the XSRST terminal of the control device 1 when the power is turned off. FIG.
6 is a time chart showing the level states of the PB0 terminal, the XNMI terminal, and the XSRST terminal of the control device 1 when noise or a momentary voltage drop occurs.

【0013】まず、電源断である場合について説明す
る。なお、電源電圧信号1は、ローレベルでアクティブ
であり、電圧低下信号2はローレベルでアクティブであ
るので、電源断発生以前では電源電圧信号1及び電圧低
下信号2はハイレベルとなっている。
First, the case where the power is turned off will be described. Since the power supply voltage signal 1 is active at the low level and the voltage drop signal 2 is active at the low level, the power supply voltage signal 1 and the voltage drop signal 2 are at the high level before the power failure occurs.

【0014】電源断が発生した時(電源電圧の低下が発
生した場合)、まず、電源電圧監視IC2の電圧入力端
子VSDに与えられている電圧が12VからGNDレベ
ル(グランドレベル)に向けて降下していく。電圧入力
端子VSDに与えられている電圧が12Vスレショルド
レベルを下回った時点で、電源電圧監視IC2のRES
ET端子の出力がハイレベルからローレベルとなる。即
ち、電源電圧監視IC2から電圧低下信号1が出力され
る。
When the power supply is cut off (when the power supply voltage drops), first, the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 2 drops from 12 V to the GND level (ground level). I will do it. When the voltage applied to the voltage input terminal VSD falls below the 12V threshold level, the RES of the power supply voltage monitoring IC 2
The output of the ET terminal changes from high level to low level. That is, the power supply voltage monitoring IC 2 outputs the voltage drop signal 1.

【0015】該電圧低下信号1は、制御装置1のPB0
端子とXNMI端子に入力される。制御装置1では、X
NMI端子にローレベルが入力されるとNMI割込みが
発生し、NMI割込み処理が起動する。
The voltage drop signal 1 is output from PB0 of the control device 1.
Terminal and the XNMI terminal. In the control device 1, X
When a low level is input to the NMI terminal, an NMI interrupt occurs, and NMI interrupt processing is started.

【0016】また、電源電圧監視IC2のRESET端
子から電圧低下信号1が出力された後、今度は電源電圧
監視IC3の電圧入力端子VSDに与えられている電圧
が5VからGNDレベル(グランドレベル)に向けて降
下し始める。そして、電圧入力端子VSDに与えられて
いる電圧が5Vスレショルドレベルを下回った時点で、
電源電圧監視IC3のRESET端子の出力がハイレベ
ルからローレベルとなる。即ち、電源電圧監視IC3か
ら電圧低下信号2が出力される。なお、電源電圧監視I
C3のRESET端子から電圧低下信号2が出力される
時点で、電源電圧監視IC2の電圧入力端子VSDに与
えられている電圧がGNDレベル(グランドレベル)に
まで降下した状態となる。
After the voltage drop signal 1 is output from the RESET terminal of the power supply voltage monitoring IC 2, the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 3 is changed from 5 V to the GND level (ground level). Start descent towards. Then, when the voltage applied to the voltage input terminal VSD falls below the 5V threshold level,
The output of the RESET terminal of the power supply voltage monitoring IC 3 changes from the high level to the low level. That is, the power supply voltage monitoring IC 3 outputs the voltage drop signal 2. The power supply voltage monitoring I
When the voltage drop signal 2 is output from the RESET terminal of C3, the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 2 is reduced to the GND level (ground level).

【0017】電源電圧監視IC3から出力された電圧低
下信号2は、制御装置1のXSRST端子に入力され
る。制御装置1では、XSRST端子にローレベルが入
力されるとシステムリセットが行われる。
The voltage drop signal 2 output from the power supply voltage monitoring IC 3 is input to the XSRST terminal of the control device 1. In the control device 1, when a low level is input to the XSRST terminal, a system reset is performed.

【0018】制御装置1は、電圧低下信号1がPB0端
子とXNMI端子に入力された時点でNMI割込み処理
を起動し、この時点から電圧低下信号2がXSRST端
子に入力されるまでの時間T1に、NMI割込み処理に
おいてRAMへの書込みを禁止し、この時点から所定時
間に亘ってPB0端子の入力状態を監視し、PB0端子
の入力状態がハイレベルであるか否かを判別するが、電
源断である場合はPB0端子の入力がローレベルのまま
であるから制御装置1を休止(HALT)状態にする。
The control device 1 activates the NMI interrupt processing when the voltage drop signal 1 is input to the PB0 terminal and the XNMI terminal, and starts the time T1 from this time until the voltage drop signal 2 is input to the XSRST terminal. , The writing to the RAM is prohibited in the NMI interrupt processing, the input state of the PB0 terminal is monitored for a predetermined time from this point, and it is determined whether or not the input state of the PB0 terminal is at a high level. In this case, since the input of the PB0 terminal remains at the low level, the control device 1 is set to the HALT state.

【0019】次に、電源断でない場合、即ち、ノイズや
瞬間的な電圧低下の発生によって電圧低下が起こる場合
について説明する。図3に示すように、ノイズや瞬間的
な電圧低下の発生による電圧低下である場合にも、電源
電圧監視IC2の電圧入力端子VSDに与えられている
電圧が12VからGNDレベル(グランドレベル)に向
けて降下していく。しかし、電源電圧監視IC2の電圧
入力端子VSDに与えられている電圧がGNDレベル
(グランドレベル)にまで降下した状態とはならず、1
2Vスレショルドレベル以下のある電圧を最低電圧とし
て再び上昇し、正常電圧12Vに戻る。
Next, a case where the power is not cut off, that is, a case where a voltage drop occurs due to noise or a momentary voltage drop will be described. As shown in FIG. 3, even when the voltage drop is caused by the occurrence of noise or a momentary voltage drop, the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 2 is changed from 12 V to the GND level (ground level). Descend toward it. However, the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 2 does not fall to the GND level (ground level), and
A certain voltage equal to or lower than the 2V threshold level rises again as the minimum voltage, and returns to the normal voltage of 12V.

【0020】電源電圧監視IC2の電圧入力端子VSD
に与えられている電圧が12Vスレショルドレベルを下
回った時点で、電源電圧監視IC2のRESET端子の
出力がハイレベルからローレベルとなり、電源電圧監視
IC2から電圧低下信号1が出力される。そして、電圧
低下信号1は、制御装置1のPB0端子とXNMI端子
に入力される。したがって、制御装置1では、XNMI
端子にローレベルが入力されるとNMI割込みが発生
し、NMI割込み処理が起動する。制御装置1は、NM
I割込み処理においてRAMへの書込みを禁止する。ま
た、電源電圧監視IC2のRESET端子から電圧低下
信号1が出力された後、今度は電源電圧監視IC3の電
圧入力端子VSDに与えられている電圧が5VからGN
Dレベル(グランドレベル)に向けて降下し始める。
The voltage input terminal VSD of the power supply voltage monitoring IC 2
At the time when the voltage supplied to the power supply voltage monitoring IC2 falls below the 12V threshold level, the output of the RESET terminal of the power supply voltage monitoring IC2 changes from the high level to the low level, and the voltage drop signal 1 is output from the power supply voltage monitoring IC2. Then, the voltage drop signal 1 is input to the PB0 terminal and the XNMI terminal of the control device 1. Therefore, in the control device 1, the XNMI
When a low level is input to the terminal, an NMI interrupt occurs, and NMI interrupt processing starts. The control device 1 is an NM
In I interrupt processing, writing to RAM is prohibited. After the voltage drop signal 1 is output from the RESET terminal of the power supply voltage monitoring IC 2, the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 3 is changed from 5 V to GN.
Start descending toward D level (ground level).

【0021】その後、電源電圧監視IC2の電圧入力端
子VSDに与えられている電圧が12Vスレショルドレ
ベル以下のある電圧(最低電圧)に降下した時点で再び
上昇に転じ、電圧入力端子VSDに与えられている電圧
が12Vスレショルドレベルを上回った時点で、電源電
圧監視IC2のRESET端子の出力がローレベルから
ハイレベルとなり、電源電圧監視IC2からの電圧低下
信号1の出力がオフとなる。この時点で制御装置1のP
B0端子の入力がローレベルからハイレベルとなる。そ
して、電圧入力端子VSDに与えられている電圧がさら
に上昇して正常電圧12Vに戻る。
Thereafter, when the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 2 drops to a certain voltage (minimum voltage) below the 12V threshold level, it starts rising again and is applied to the voltage input terminal VSD. When the voltage exceeds the 12V threshold level, the output of the RESET terminal of the power supply voltage monitoring IC 2 changes from the low level to the high level, and the output of the voltage drop signal 1 from the power supply voltage monitoring IC 2 turns off. At this point, the P
The input of the B0 terminal changes from a low level to a high level. Then, the voltage applied to the voltage input terminal VSD further increases and returns to the normal voltage of 12V.

【0022】制御装置1は、NMI割込み処理におい
て、RAMへの書込みを禁止し、この時点から所定時間
に亘ってPB0端子の入力状態を監視し、PB0端子の
入力状態がハイレベルであるか否かを判別する。電源断
ではない場合は、PB0端子の入力がローレベルからハ
イレベルに転じるから、正規の電源断ではないと判別す
ることができる。この場合は、RAMへの書込みを許可
し、NMI割込み処理を終えて正常状態の処理を行うこ
ととなる。
In the NMI interrupt processing, the control device 1 inhibits writing to the RAM, monitors the input state of the PB0 terminal for a predetermined time from this point, and determines whether the input state of the PB0 terminal is at a high level. Is determined. When the power is not turned off, the input to the PB0 terminal changes from the low level to the high level, so that it can be determined that the power is not properly turned off. In this case, the writing to the RAM is permitted, and the normal state processing is performed after the NMI interrupt processing.

【0023】一方、電源電圧監視IC3の電圧入力端子
VSDに与えられている電圧が5Vから降下し始める
が、電圧入力端子VSDに与えられている電圧が正常電
圧12Vに戻る時点で、電源電圧監視IC3の電圧入力
端子VSDに与えられている電圧が上昇に転じる。電源
断でない場合には、電源電圧監視IC3の電圧入力端子
VSDに与えられている電圧は、5Vスレショルドレベ
ルにまで降下することはない。従って、電源電圧監視I
C3のRESET端子の出力がハイレベルのまま維持さ
れる。そして、電源電圧監視IC3の電圧入力端子VS
Dに与えられている電圧がさらに上昇して正常電圧5V
に戻る。
On the other hand, the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 3 starts dropping from 5 V, but when the voltage applied to the voltage input terminal VSD returns to the normal voltage of 12 V, the power supply voltage monitoring The voltage applied to the voltage input terminal VSD of the IC 3 starts to increase. When the power is not turned off, the voltage applied to the voltage input terminal VSD of the power supply voltage monitoring IC 3 does not drop to the 5 V threshold level. Therefore, the power supply voltage monitoring I
The output of the RESET terminal of C3 is maintained at a high level. Then, the voltage input terminal VS of the power supply voltage monitoring IC 3
The voltage applied to D further rises and the normal voltage 5V
Return to

【0024】以上に述べた電圧低下信号1に応じた制御
装置1の動作をフローチャートに沿って説明する。図4
は、制御装置1が行うNMI割込み処理のフローチャー
トである。先に述べたように電源断の場合、ノイズある
いは瞬間的な電圧降下が発生した場合の両方の場合、電
源電圧監視IC2から電圧低下信号1が出力され、制御
装置1のPB0端子とXNMI端子に入力されるから、
制御装置1では、XNMI端子にローレベルが入力され
てNMI割込みが発生し、NMI割込み処理が起動す
る。
The operation of the control device 1 in response to the above-described voltage drop signal 1 will be described with reference to a flowchart. FIG.
5 is a flowchart of an NMI interrupt process performed by the control device 1. As described above, the voltage drop signal 1 is output from the power supply voltage monitoring IC 2 when the power is turned off, when noise or a momentary voltage drop occurs, and the PB0 terminal and the XNMI terminal of the control device 1 are connected to the PB0 terminal and the XNMI terminal. Is entered,
In the control device 1, a low level is input to the XNMI terminal to generate an NMI interrupt, and the NMI interrupt process is started.

【0025】NMI割込み処理を開始すると、制御装置
1は、レジスタの待避を行う。すなわち、レジスタの現
在の状態(内容)をRAMの所定エリアに書き込む(ス
テップS01)。次いで、電源断フラグをセットし(ス
テップS02)、RAMへの書込みを禁止する(ステッ
プS03)。
When the NMI interrupt process is started, the control device 1 saves the register. That is, the current state (contents) of the register is written in a predetermined area of the RAM (step S01). Next, a power-off flag is set (step S02), and writing to the RAM is prohibited (step S03).

【0026】次に、制御装置1は、ループカウンタとし
てのレジスタにカウント値(所定値)をセットする(ス
テップS04)。この所定値は、図3の時間T1に相当
する。次いで、制御装置1は、PB0端子の入力状態が
ハイレベルであるか否か、即ち、電圧低下信号1の入力
がオフとなっているか否かを判別する(ステップS0
5)。
Next, the control device 1 sets a count value (predetermined value) in a register as a loop counter (step S04). This predetermined value corresponds to time T1 in FIG. Next, the control device 1 determines whether or not the input state of the PB0 terminal is at a high level, that is, whether or not the input of the voltage drop signal 1 is off (step S0).
5).

【0027】制御装置1は、PB0端子の入力状態がハ
イレベルでない場合には、レジスタにセットしたカウン
ト値を1つ減じ(ステップS06)、減じたカウント値
が0より大きいか否かを判別する(ステップS07)。
制御装置1は、カウント値が0より大きい場合にはステ
ップS05に戻り、以下、レジスタのカウント値が0に
達するまでの間、ステップS05、ステップS06及び
ステップS07を繰り返し行う。従って、制御装置1
は、RAMへの書込みを禁止した時点から所定時間に亘
って(図2の時間T1に相当する時間)、電圧低下信号
1の入力があるかないかを判別する。
If the input state of the PB0 terminal is not at the high level, the control device 1 decrements the count value set in the register by one (step S06), and determines whether or not the reduced count value is greater than zero. (Step S07).
When the count value is greater than 0, the control device 1 returns to step S05, and thereafter repeats steps S05, S06, and S07 until the register count value reaches 0. Therefore, the control device 1
Determines whether there is an input of the voltage drop signal 1 for a predetermined time (time corresponding to the time T1 in FIG. 2) from the point in time when writing to the RAM is prohibited.

【0028】前述のように、電源断による電圧低下であ
る場合には、電源電圧監視IC2からの電圧低下信号1
の出力が維持されており、PB0端子の入力がローレベ
ルままであって変化しない(図2参照)。従って、電源
断による電圧低下である場合にはステップS05の判別
結果が常に偽となる。従って、レジスタのカウント値が
0に達することとなる。制御装置1はレジスタのカウン
ト値が0に達すると、ステップS07を偽と判別し、無
条件ループを行って待機状態となる(休止状態となる)
(ステップS11)。
As described above, in the case where the voltage drop is caused by the power cutoff, the voltage drop signal 1 from the power supply voltage monitoring IC 2
Is maintained, and the input of the PB0 terminal remains at the low level and does not change (see FIG. 2). Therefore, in the case of a voltage drop due to power-off, the determination result in step S05 is always false. Therefore, the count value of the register reaches 0. When the count value of the register reaches 0, the control device 1 determines that step S07 is false, performs an unconditional loop, and enters a standby state (becomes a pause state).
(Step S11).

【0029】なお、この後、前述のように電源電圧監視
IC3から電圧低下信号2が出力されて制御装置1のX
SRST端子に入力される。制御装置1では、XSRS
T端子にローレベルが入力されると、システムリセット
を行う。
After that, the voltage drop signal 2 is output from the power supply voltage monitoring IC 3 and the X
It is input to the SRST terminal. In the control device 1, XSRS
When a low level is input to the T terminal, a system reset is performed.

【0030】一方、電源断でない場合、すなわち、ノイ
ズや瞬間的な電圧低下の発生による電圧低下である場合
には、XNMI端子への電圧低下信号1の入力時点から
時間T2だけ経過した時点では、電圧入力端子VSDに
与えられている電圧が上昇に転じて12Vスレショルド
レベルを上回り、応じて電源電圧監視IC2からの電圧
低下信号1の出力がオフとなってPB0端子の入力がロ
ーレベルに転じる(図3参照)。
On the other hand, when the power supply is not cut off, that is, when the voltage drop is caused by the occurrence of noise or an instantaneous voltage drop, when the time T2 elapses from the time when the voltage drop signal 1 is input to the XNMI terminal, The voltage applied to the voltage input terminal VSD starts to rise and exceeds the 12V threshold level, and accordingly, the output of the voltage drop signal 1 from the power supply voltage monitoring IC 2 turns off and the input of the PB0 terminal turns to low level ( (See FIG. 3).

【0031】従って、ノイズや瞬間的な電圧低下の発生
による電圧低下である場合には、ステップS05、ステ
ップS06及びステップS07を繰り返し行う間にステ
ップS05の判別結果が真となる。制御装置1は、ステ
ップS08に移行し、RAMへの書込みを許可し(ステ
ップS08)、電源断フラグをクリアし(ステップS0
9)、RAMの所定エリアに書き込んだレジスタの内容
をレジスタにロードして復帰させ(ステップS10)、
図示していないメインルーチンに戻り、正常状態の処理
を行うこととなる。
Therefore, if the voltage drop is caused by the occurrence of noise or an instantaneous voltage drop, the result of the determination in step S05 becomes true while steps S05, S06 and S07 are repeated. The control device 1 proceeds to step S08, permits writing to the RAM (step S08), and clears the power-off flag (step S0).
9), the contents of the register written in a predetermined area of the RAM are loaded into the register and restored (step S10),
Returning to the main routine (not shown), the normal state processing is performed.

【0032】以上に述べたように、実施形態の制御装置
1は、電源電圧の低下に応じてNMI割込みを発生さ
せ、NMI割込み処理内でRAMへの書込みを禁止し、
この時点から所定の時間に亘ってPB0端子の入力状態
を監視し、PB0端子の入力がローレベルのまま変化し
ない場合には、電源断であるして制御装置1を休止(H
ALT)状態にする一方、PB0端子の入力がローレベ
ルからハイレベルに転じた場合には、電源断ではないと
し、すなわち、ノイズや瞬間的な電圧低下が発生である
とし、RAMの書込みを許可して正常状態の処理を行う
ので、ノイズや瞬間的な電圧低下の発生である場合にお
いて、作動電源が正常に復帰しているにも拘らず、遊技
制御用の制御装置1が休止したままとなって遊技できな
いという不具合を回避することができる。
As described above, the control device 1 according to the embodiment generates an NMI interrupt in response to a decrease in the power supply voltage, prohibits writing to the RAM in the NMI interrupt processing,
From this point, the input state of the PB0 terminal is monitored for a predetermined time. If the input of the PB0 terminal remains at the low level and does not change, the power is cut off and the control device 1 is suspended (H
(ALT) state while the input of the PB0 terminal changes from the low level to the high level, it is determined that the power is not turned off, that is, noise or an instantaneous voltage drop occurs, and RAM writing is permitted. In the case where noise or a momentary voltage drop occurs, the control device 1 for game control remains inactive even though the operating power supply has returned to normal. It is possible to avoid a problem that the player cannot play the game.

【0033】なお、実施形態における制御装置1は、パ
チンコ遊技機に配備される制御装置であればよく種別は
問わないものである。即ち、制御装置1は、例えば、パ
チンコ遊技を総括的に制御する遊技制御用のメイン制御
装置としてもよく、また、賞品球の払出制御を行うため
の払出制御装置としてもよい。
The type of the control device 1 in the embodiment is not limited as long as it is a control device provided in a pachinko game machine. That is, the control device 1 may be, for example, a main control device for game control that comprehensively controls a pachinko game, or may be a payout control device for performing payout control of a prize ball.

【0034】[0034]

【発明の効果】本発明のパチンコ遊技機によれば、電源
電圧の低下が発生した場合に、電圧低下信号のNMI端
子への入力に応じたNMI割込みにおいて、電圧低下信
号の有無を入力ポートを通じて監視し、電圧低下信号が
所定の時間に亘って入力されている場合には電源断であ
るとして制御装置を休止状態とする一方、電圧低下信号
が所定の時間に亘って入力されていない場合には、電源
断でないとしてNMI割込みを終えて制御装置の正常状
態の処理を行うので、ノイズや瞬間的な電圧低下の発生
である場合において、作動電源が正常に復帰しているに
も拘らず、遊技制御に関わる制御装置1が休止したまま
となって遊技できないという不具合を回避することがで
きる。
According to the pachinko gaming machine of the present invention, when the power supply voltage drops, the presence or absence of the voltage drop signal is determined through the input port in the NMI interrupt corresponding to the input of the voltage drop signal to the NMI terminal. The monitoring is performed, and if the voltage drop signal is input for a predetermined period of time, the power supply is cut off and the control device is set to a halt state, while if the voltage drop signal is not input for a predetermined time, Performs the processing of the normal state of the control device after terminating the NMI interrupt as the power supply is not interrupted. Therefore, in the case of the occurrence of noise or a momentary voltage drop, despite the fact that the operating power supply has returned to normal, It is possible to avoid a problem that the control device 1 relating to the game control is stopped and cannot play a game.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本実施形態のパチンコ遊技機に配備された制御
系統の一部を示すブロック図
FIG. 1 is a block diagram showing a part of a control system provided in a pachinko gaming machine according to an embodiment.

【図2】電源断となった場合の制御装置のPB0端子、
XNMI端子及びXSRST端子のレベル状態を示すタ
イムチャート
FIG. 2 shows a PB0 terminal of the control device when the power is turned off;
Time chart showing the level states of the XNMI terminal and the XSRST terminal

【図3】ノイズや瞬間的な電圧低下が発生した場合の制
御装置のPB0端子、XNMI端子及びXSRST端子
のレベル状態を示すタイムチャート
FIG. 3 is a time chart showing the level states of the PB0 terminal, the XNMI terminal, and the XSRST terminal of the control device when noise or a momentary voltage drop occurs;

【図4】実施形態における制御装置が行うNMI割込み
処理のフローチャート
FIG. 4 is a flowchart of an NMI interrupt process performed by the control device according to the embodiment;

【符号の説明】[Explanation of symbols]

1 制御装置 2 電源電圧監視IC 3 電源電圧監視IC L1 信号ライン L2 信号ライン L3 信号ライン L4 信号ライン DESCRIPTION OF SYMBOLS 1 Control apparatus 2 Power supply voltage monitoring IC 3 Power supply voltage monitoring IC L1 signal line L2 signal line L3 signal line L4 signal line

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C088 BC58 CA08 CA16 3E044 AA05 CC10 DB12 DD06  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2C088 BC58 CA08 CA16 3E044 AA05 CC10 DB12 DD06

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 制御装置と電源電圧の低下に応じて電圧
低下信号を出力する電源電圧監視回路とを備えたパチン
コ遊技機において、前記電源電圧監視回路の出力端子を
前記制御装置のNMI端子及び入力ポートに接続して前
記電源電圧監視回路から出力された電圧低下信号を前記
制御装置のNMI端子及び入力端子に入力すると共に、
前記制御装置に、前記電圧低下信号の前記NMI端子へ
の入力に応じたNMI割込みにおいて、前記電圧低下信
号の有無を前記入力ポートを通じて監視し、前記電圧低
下信号が所定の時間に亘って入力されている場合には電
源断であるとして前記制御装置を休止状態とする一方、
前記電圧低下信号が所定の時間に亘って入力されていな
い場合には、電源断でないとして前記NMI割込みを終
えて前記制御装置の正常状態の処理を行う処理手段を設
けたことを特徴とするパチンコ遊技機。
1. A pachinko game machine comprising a control device and a power supply voltage monitoring circuit for outputting a voltage drop signal in response to a drop in power supply voltage, wherein an output terminal of the power supply voltage monitoring circuit is connected to an NMI terminal of the control device and A voltage drop signal connected to an input port and output from the power supply voltage monitoring circuit is input to an NMI terminal and an input terminal of the control device,
In the NMI interrupt in response to the input of the voltage drop signal to the NMI terminal, the control device monitors the presence or absence of the voltage drop signal through the input port, and the voltage drop signal is input for a predetermined time. While the power supply is turned off and the control device is put into a sleep state,
A pachinko machine, wherein when the voltage drop signal has not been input for a predetermined period of time, processing means for terminating the NMI interrupt and processing the control device in a normal state is provided, assuming that power is not cut off. Gaming machine.
JP2000015168A 2000-01-25 2000-01-25 Pachinko machine Expired - Lifetime JP3725751B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000015168A JP3725751B2 (en) 2000-01-25 2000-01-25 Pachinko machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000015168A JP3725751B2 (en) 2000-01-25 2000-01-25 Pachinko machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005116911A Division JP2005205241A (en) 2005-04-14 2005-04-14 Pachinko game machine

Publications (2)

Publication Number Publication Date
JP2001204947A true JP2001204947A (en) 2001-07-31
JP3725751B2 JP3725751B2 (en) 2005-12-14

Family

ID=18542504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000015168A Expired - Lifetime JP3725751B2 (en) 2000-01-25 2000-01-25 Pachinko machine

Country Status (1)

Country Link
JP (1) JP3725751B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002058804A (en) * 2000-08-21 2002-02-26 Takeya Co Ltd Game machine
JP5219176B1 (en) * 2012-06-29 2013-06-26 サミー株式会社 Pachinko machine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6663187B2 (en) * 2014-08-28 2020-03-11 株式会社三共 Gaming machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002058804A (en) * 2000-08-21 2002-02-26 Takeya Co Ltd Game machine
JP4665297B2 (en) * 2000-08-21 2011-04-06 株式会社竹屋 Game machine
JP5219176B1 (en) * 2012-06-29 2013-06-26 サミー株式会社 Pachinko machine

Also Published As

Publication number Publication date
JP3725751B2 (en) 2005-12-14

Similar Documents

Publication Publication Date Title
US7809961B2 (en) Standby mode for power management
US8055889B2 (en) BIOS management device and method for managing BIOS setting value
JP2004337246A (en) Game machine
JP2006223658A (en) Game machine
JP2001104610A5 (en)
JP2001087527A5 (en)
JP4855735B2 (en) Game machine
JP2004057718A (en) Game machine
JP2004337245A (en) Game machine
JP2001204947A (en) Pachinko game machine
JP2002085656A (en) Game machine
JP2001046602A (en) Game machine and controller for game machine
JP2009000241A (en) Game machine
JP2007236980A (en) Game machine
JP2005205241A (en) Pachinko game machine
JP4023767B2 (en) Game machine
JP4317959B2 (en) Game machine
JP2008023224A (en) Game machine
JP2001190802A (en) Game machine
JP4744591B2 (en) Game machine
JP2023094037A (en) game machine
JP2009061344A (en) Game machine
JP2009061345A (en) Game machine
JP2009061347A (en) Game machine
JP2023094041A (en) game machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050215

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050414

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050922

R150 Certificate of patent or registration of utility model

Ref document number: 3725751

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080930

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090930

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090930

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100930

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100930

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110930

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120930

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120930

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130930

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130930

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140930

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term