JP2009233356A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2009233356A
JP2009233356A JP2009165028A JP2009165028A JP2009233356A JP 2009233356 A JP2009233356 A JP 2009233356A JP 2009165028 A JP2009165028 A JP 2009165028A JP 2009165028 A JP2009165028 A JP 2009165028A JP 2009233356 A JP2009233356 A JP 2009233356A
Authority
JP
Japan
Prior art keywords
control unit
signal
output
command
prize ball
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
JP2009165028A
Other languages
Japanese (ja)
Other versions
JP2009233356A5 (en
JP4590576B2 (en
Inventor
Takaaki Ichihara
高明 市原
Masamitsu Maeda
政光 前田
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.)
Daiichi Shokai Co Ltd
Original Assignee
Daiichi Shokai 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 Daiichi Shokai Co Ltd filed Critical Daiichi Shokai Co Ltd
Priority to JP2009165028A priority Critical patent/JP4590576B2/en
Publication of JP2009233356A publication Critical patent/JP2009233356A/en
Publication of JP2009233356A5 publication Critical patent/JP2009233356A5/ja
Application granted granted Critical
Publication of JP4590576B2 publication Critical patent/JP4590576B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable the removal of noises carried by signal lines for connection between a detector and each of a plurality of controllers while enabling the individual controllers to simultaneously receive a detection signal output from the detector in a game machine with the detector and the plurality of controllers for receiving the detection signal to be output from the detector. <P>SOLUTION: The plurality of signal lines each includes filter circuits 170 and 214. The filter circuits 170 and 214 are required to make the state of input signals to the filter circuits 170 and 214 as prescribed and signals are output when the state is maintained for a prescribed period of time. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は遊技機の状態を検出する検出装置と、この検出装置から出力される検出信号を受信する複数の制御装置を備えた遊技機に関し、詳しくは、検出装置から出力された検出信号を各制御装置で正しく受信するための技術に関する。   The present invention relates to a gaming machine including a detection device that detects a state of a gaming machine and a plurality of control devices that receive detection signals output from the detection device. Specifically, the detection signals output from the detection device are The present invention relates to a technique for correctly receiving data by a control device.

例えば、パチンコ機のように高度に電装化された遊技機には、遊技機全体を制御するメイン制御装置や、各電装機器(例えば、図柄表示器、払出装置等)を制御するサブ制御装置等のように複数の制御装置が設けられる。これら制御装置は、遊技機に備え付けられた検出装置(例えば、停電検出装置等)と信号ラインにより個別に接続され、この信号ラインを介して検出信号を直接各制御装置が受信するように構成される場合がある。   For example, for a highly-equipped gaming machine such as a pachinko machine, a main control device that controls the entire gaming machine, a sub-control device that controls each electrical equipment (for example, symbol display, payout device, etc.), etc. A plurality of control devices are provided as described above. These control devices are individually connected to a detection device (for example, a power failure detection device) provided in the gaming machine by a signal line, and each control device is configured to directly receive a detection signal via this signal line. There is a case.

上述したような場合には、検出装置と各制御装置を接続する各信号ラインの構成によって検出装置から出力された検出信号が異なるタイミングで制御装置に受信される場合がある。したがって、この検出信号に基づいて各制御装置に同期した処理を行わせたい場合等においては、検出信号が各制御装置で同時に受信されることが望ましい。
一方、遊技機が設置される遊技店には多くの電気設備等が設けられてノイズが発生し易く、検出装置と制御装置を接続する信号ラインにノイズがのり易い環境に設置されることが多い。信号ラインにノイズがのった場合、検出装置が検出信号を出力していないにもかかわらず制御装置では検出装置から検出信号が出力されたものと判断することとなるため遊技機の誤動作の原因となる。したがって、信号ラインにのるノイズを除去する必要があり、そのための方法としては、一般的に信号ラインにコンデンサ等の素子で構成されるフィルタ回路を設けることが良く行われる(図18(a)参照)。
しかしながら、信号ラインにこのようなフィルタ回路を設けた場合に検出装置から検出信号が出力されると、この検出信号によってフィルタ回路のコンデンサに充電又は放電が生じる。したがって、図18(b)に示すようにフィルタ回路から出力される信号は時間経過に伴って徐々に変化することとなるが、この出力信号の時間的変化率(図18(b)に示す直線の傾き)は、コンデンサ素子によってばらつきが大きく一定とはならない。また、同一の特性を持つ素子を複数選別する作業は容易ではない。このため、出力信号を受信する各制御装置の受信素子の閾値が同一であっても、各制御装置で検出信号を受信するタイミングがずれてしまうこととなる。
In the case as described above, the detection signal output from the detection device may be received by the control device at different timings depending on the configuration of each signal line connecting the detection device and each control device. Therefore, when it is desired to perform processing synchronized with each control device based on this detection signal, it is desirable that the detection signal is received simultaneously by each control device.
On the other hand, a lot of electrical equipment is installed in a game store where gaming machines are installed, and noise is likely to be generated, and it is often installed in an environment in which noise is likely to be applied to the signal line connecting the detection device and the control device. . When noise is applied to the signal line, the control device determines that the detection signal is output from the detection device even though the detection device does not output the detection signal. It becomes. Therefore, it is necessary to remove noise on the signal line. As a method for that purpose, a filter circuit constituted by an element such as a capacitor is generally provided on the signal line (FIG. 18A). reference).
However, when such a filter circuit is provided in the signal line and a detection signal is output from the detection device, charging or discharging of the capacitor of the filter circuit is caused by this detection signal. Therefore, the signal output from the filter circuit gradually changes with time as shown in FIG. 18B, but the temporal change rate of this output signal (the straight line shown in FIG. 18B). The slope of () varies greatly depending on the capacitor element and is not constant. Also, it is not easy to select a plurality of elements having the same characteristics. For this reason, even if the threshold value of the receiving element of each control device that receives the output signal is the same, the timing at which the detection signal is received by each control device is shifted.

本発明は上述した実情に鑑みなされたものであり、その目的は、検出装置と各制御装置とを接続する信号ラインにのるノイズを除去でき、かつ、検出装置から出力された検出信号を各制御装置で同時に受信することができる遊技機を提供する。   The present invention has been made in view of the above-described circumstances, and an object of the present invention is to remove noise on a signal line connecting the detection device and each control device, and to detect each detection signal output from the detection device. Provided is a gaming machine that can be simultaneously received by a control device.

上記課題を解決するため請求項1に記載の遊技機は、検出装置と、その検出装置から出力される検出信号を受信する複数の制御装置と、前記検出装置と前記複数の制御装置のそれぞれとを接続する複数の信号ラインを備えた遊技機において、前記複数の信号ラインのそれぞれにフィルタ回路が設けられる。
そして、そのフィルタ回路が、そのフィルタ回路への入力信号の状態が所定の状態となり、その状態が所定期間維持されたときに、信号を出力するように構成されている。
In order to solve the above-described problem, a gaming machine according to claim 1 includes a detection device, a plurality of control devices that receive detection signals output from the detection device, and each of the detection device and the plurality of control devices. In the gaming machine having a plurality of signal lines connecting the two, a filter circuit is provided for each of the plurality of signal lines.
The filter circuit is configured to output a signal when the state of the input signal to the filter circuit becomes a predetermined state and the state is maintained for a predetermined period.

上記遊技機によれば、検出装置と各制御装置とを接続する各信号ラインに設けられるフィルタ回路が、そのフィルタ回路への入力信号の状態が所定の状態となり、その状態が所定期間維持されたときに、信号を出力するように構成される。したがって、ノイズ等のような瞬間的な信号が信号ラインにのった場合は、フィルタ回路への入力信号の状態は瞬間的に所定の状態(信号ONの状態)となるが、その状態が所定期間は維持されない。このため、フィルタ回路からは信号が出力されず、制御装置で信号を受信することはない。また、検出装置から出力された検出信号がフィルタ回路へ入力する場合は、フィルタ回路への入力信号の状態は所定の状態(信号がONの状態)となり、その状態が所定期間維持される。したがって、フィルタ回路から信号が出力され、この信号が制御装置で受信される

なお、上記フィルタ回路では、入力信号の状態が変化してから(所定の状態となってから)所定期間経過したときに信号を出力するように構成されており、その出力される信号はOFF状態からON状態に瞬間的に切り替わる。このため、コンデンサ等のアナログ素子を使用したフィルタ回路で生じる出力信号の時間的変化率(立上がり時間、追従性等)のばらつき等の問題はなく、各制御装置は同時にフィルタ回路から出力された信号を受信することができる。
なお、ここでいう「同時」とは、完全に同時ということではなく、各制御装置において検出信号を受信するタイミングがずれるような場合であっても、そのようなずれが無視できるような場合(各制御装置の同期が図れるような場合)には、ここでいう「同時」に含まれる。
According to the above gaming machine, in the filter circuit provided in each signal line connecting the detection device and each control device, the state of the input signal to the filter circuit becomes a predetermined state, and the state is maintained for a predetermined period. Sometimes configured to output a signal. Therefore, when an instantaneous signal such as noise is applied to the signal line, the state of the input signal to the filter circuit instantaneously becomes a predetermined state (signal ON state), but the state is predetermined. The period is not maintained. For this reason, no signal is output from the filter circuit, and the signal is not received by the control device. In addition, when the detection signal output from the detection device is input to the filter circuit, the state of the input signal to the filter circuit is a predetermined state (the signal is in an ON state), and the state is maintained for a predetermined period. Therefore, a signal is output from the filter circuit, and this signal is received by the control device.
The filter circuit is configured to output a signal when a predetermined period has elapsed after the state of the input signal changes (becomes a predetermined state), and the output signal is in an OFF state. Switches from ON to ON state instantaneously. For this reason, there are no problems such as variations in the temporal change rate (rise time, followability, etc.) of the output signal generated in the filter circuit using an analog element such as a capacitor, and each control device simultaneously outputs signals output from the filter circuit. Can be received.
The term “simultaneous” here does not mean completely simultaneous, but even when the timing of receiving the detection signal in each control device is deviated, such deviation can be ignored ( In the case where each control device can be synchronized), it is included in “simultaneous” here.

ここで、上記「検出装置」としては、遊技機に配設される検出装置であればどのようなものでも良く、例えば、遊技媒体を検出する検出装置(典型的には、パチンコ機における賞球検出センサ、入賞口センサ、始動口センサ等)や、遊技状態を検出する検出装置(典型的には、パチンコ機における枠開放センサ、停電検出装置等)がある。
ここで、請求項1に記載した遊技機の一つの好ましい態様としては、前記「検出装置」が、遊技機への通電が遮断されたことを検出する停電検出装置である遊技機である。
すなわち、各制御装置は、検出信号を受信してから短時間(情報保存用回路から電力が供給されるあいだ)に所定の処理を行わなければならず、制御装置間で別途信号を送受信することにより同期を図るという方法が採用し難いためである。
Here, the “detection device” may be any detection device provided in a gaming machine. For example, a detection device that detects a game medium (typically a prize ball in a pachinko machine). And a detection device (typically, a frame open sensor, a power failure detection device, etc. in a pachinko machine).
Here, as one preferable aspect of the gaming machine according to claim 1, the “detecting device” is a gaming machine that is a power failure detecting device that detects that power to the gaming machine is cut off.
That is, each control device must perform predetermined processing within a short period of time after receiving the detection signal (while power is supplied from the information storage circuit), and separately transmit and receive signals between the control devices. This is because it is difficult to adopt the method of synchronizing by the above.

また、上記「制御装置」としては、遊技機に配設される制御装置であればどのようなものでも良く、例えば、遊技機全体を制御するメイン制御装置、遊技機に取付けられた電装機器を制御するサブ制御装置(典型的には、パチンコ機における図柄表示器を制御する図柄制御装置、払出装置を制御する賞球制御装置等)がある。
ここで、請求項1に記載した遊技機の一つの好ましい態様としては、前記「複数の制御装置」に、遊技機全体を制御するメイン制御装置と、遊技機に取付けられた電装機器を制御するサブ制御装置の少なくとも一つが含まれており、そのサブ制御装置は、前記メイン制御装置から送信されるコマンドに基づいて前記電装装置を制御するように構成されている遊技機である。
このような構成においては、サブ制御装置は検出装置から出力された検出信号に基づいて独自に電装機器を制御(メイン制御装置から送信されたコマンドに基づくことなく電装機器を制御)する場合があり、このような場合には両制御装置に検出信号を同時に受信させる必要性が高くなるためである。すなわち、メイン制御装置は、サブ制御装置も同時に検出信号を受信しているとみなしてその後の制御(コマンドの送信等)を行うためである。
In addition, the “control device” may be any control device provided in the gaming machine, for example, a main control device that controls the entire gaming machine, and electrical equipment attached to the gaming machine. There are sub-control devices (typically, a symbol control device that controls a symbol display in a pachinko machine, a prize ball control device that controls a payout device, etc.).
Here, as one preferable aspect of the gaming machine according to claim 1, the “plurality of control devices” controls a main control device that controls the entire gaming machine and electrical equipment attached to the gaming machine. At least one of the sub-control devices is included, and the sub-control device is a gaming machine configured to control the electrical device based on a command transmitted from the main control device.
In such a configuration, the sub-control device may independently control the electrical equipment based on the detection signal output from the detection device (control the electrical equipment without being based on the command transmitted from the main control device). In such a case, it is necessary to cause both control devices to simultaneously receive detection signals. That is, the main control device assumes that the sub control device is also receiving the detection signal at the same time, and performs subsequent control (command transmission, etc.).

また、上記「フィルタ回路」は、そのフィルタ回路への入力信号の状態が所定の状態となり、その状態が所定期間維持されたときに、信号を出力するように構成されるものであればどのように構成しても良い。
このようなフィルタ回路としては、例えば、所定期間未満の入力信号を除去するノイズ除去回路(例えば、シフトレジスタ等により構成)と、そのノイズ除去回路の判断周期を規定するクロック回路を中心に構成することができる。
このような構成においては、クロック回路の周期を短くすることで各制御装置における検出信号の受信タイミングのズレを小さくし精度を上げることができる。すなわち、上述した構成を有するフィルタ回路においては、入力信号の状態が変化してから所定期間(所定数のクロック)をカウントする際に、各フィルタ回路におけるクロック信号がずれることで各フィルタ回路におけるカウント開始時期がずれ、これにより1周期分(1クロック分)だけ信号出力タイミングがずれることが避けられない。したがって、ノイズ除去回路の判断周期を規定するクロック回路の周期を短くすることで、このような不可避的なタイミングのズレを小さくし精度を上げることができる。
上述したようにフィルタ回路を構成した場合においてさらに好ましくは、各信号ラインに設けられるフィルタ回路のクロック回路を共有化、すなわち、一つのクロック回路から複数のノイズ除去回路にクロック信号を供給するような構成とすることである。このような構成によれば各信号ラインに設けられたフィルタ回路のクロック信号が共通化され、上述した「フィルタ回路毎のカウント開始時期のずれ」という問題をなくすことができる。したがって、各制御装置は同時に検出信号を受信することができる。
なお、前記クロック回路として熱に強い水晶振動子やVCO等を用いれば、高度に電装化された遊技機において特に有効である。高度に電装化された遊技機では遊技機に装備された各種電装装置から熱が発生し、クロック回路も加熱されるためである。
The “filter circuit” may be any circuit that is configured to output a signal when a state of an input signal to the filter circuit is in a predetermined state and the state is maintained for a predetermined period. You may comprise.
As such a filter circuit, for example, a noise removal circuit (for example, constituted by a shift register or the like) that removes an input signal for less than a predetermined period and a clock circuit that defines a determination cycle of the noise removal circuit are mainly configured. be able to.
In such a configuration, by shortening the cycle of the clock circuit, it is possible to reduce the deviation of the reception timing of the detection signal in each control device and improve the accuracy. In other words, in the filter circuit having the above-described configuration, when the predetermined period (predetermined number of clocks) is counted after the state of the input signal is changed, the clock signal in each filter circuit is shifted, thereby counting in each filter circuit. It is inevitable that the start timing is shifted and the signal output timing is shifted by one period (one clock). Therefore, by shortening the cycle of the clock circuit that defines the determination cycle of the noise removal circuit, such an inevitable timing shift can be reduced and the accuracy can be improved.
More preferably, when the filter circuit is configured as described above, the clock circuit of the filter circuit provided in each signal line is shared, that is, a clock signal is supplied from one clock circuit to a plurality of noise removal circuits. It is to be configured. According to such a configuration, the clock signal of the filter circuit provided in each signal line is shared, and the above-described problem of “shift in the count start timing for each filter circuit” can be eliminated. Therefore, each control apparatus can receive a detection signal simultaneously.
Note that the use of a heat-resistant crystal resonator, VCO, or the like as the clock circuit is particularly effective in a highly electronic gaming machine. This is because in highly-equipped gaming machines, heat is generated from various electrical equipment equipped in the gaming machine, and the clock circuit is also heated.

なお、請求項1に記載の遊技機においては、前記制御装置と、その制御装置への信号ラインに設けられるフィルタ回路とが一つの基板上に実装されていることが好ましい。
このような構成によれば、フィルタ回路と制御装置との間の信号ラインにノイズがのる可能性を低くすることができるとともに、フィルタ回路と制御装置が一つの基板上に実装されることで検出装置と制御装置との間の配線作業や、これらの装置の遊技機本体への取付作業等を容易化することができる。
In the gaming machine according to claim 1, it is preferable that the control device and a filter circuit provided in a signal line to the control device are mounted on a single substrate.
According to such a configuration, it is possible to reduce the possibility of noise on the signal line between the filter circuit and the control device, and the filter circuit and the control device are mounted on one substrate. Wiring work between the detection device and the control device, attaching work of these devices to the gaming machine main body, and the like can be facilitated.

本発明に係る信号伝送技術は、遊技機に配設された電装機器を制御する部分(以下、単に制御部という)の少なくとも一つと、遊技機の状態を検出する部分(以下、単に検出部という)とが、同一の基板(装置)に設けられるような場合であってもよい。
このような場合において、本発明の好ましい一つの態様に係る遊技機は、外部電源からの電力の供給が遮断されたことを検出する停電検出部と、該停電検出部から出力される停電信号を受信すると所要の情報を保存し、外部電源からの電力供給が回復すると、その保存した情報に基づいて制御を再開する複数の制御部を備えた遊技機であって、前記停電検出部から出力された検出信号が、デジタルフィルタ回路を介して前記制御部に入力するように構成される(請求項2)。
このような構成によれば、各制御部が同期して停電信号を受信することができるので、外部電源からの電力供給が回復したとき各制御部の動作がずれなく行われる。
The signal transmission technology according to the present invention includes at least one part for controlling an electrical equipment disposed in a gaming machine (hereinafter simply referred to as a control unit) and a part for detecting the state of the gaming machine (hereinafter simply referred to as a detection unit). ) May be provided on the same substrate (device).
In such a case, the gaming machine according to a preferred aspect of the present invention includes a power failure detection unit that detects that power supply from an external power source is cut off, and a power failure signal output from the power failure detection unit. When it is received, the required information is stored, and when the power supply from the external power supply is restored, the gaming machine includes a plurality of control units that resume control based on the stored information, and is output from the power failure detection unit. The detected signal is input to the control unit via a digital filter circuit.
According to such a configuration, since each control unit can receive a power failure signal in synchronization, the operation of each control unit is performed without deviation when the power supply from the external power supply is restored.

本実施の形態に係るパチンコ機の裏面側に配備される裏セット板11およびその付属物を示す背面図The rear view which shows the back set board 11 deployed on the back surface side of the pachinko machine which concerns on this Embodiment, and its attachment 図1に示すパチンコ機の制御部の構成を示すブロック図The block diagram which shows the structure of the control part of the pachinko machine shown in FIG. 電源部120の構成を説明するための図The figure for demonstrating the structure of the power supply part 120. フィルタ回路を構成するクロック回路の回路図Circuit diagram of clock circuit constituting filter circuit フィルタ回路を構成するノイズ除去回路の回路図Circuit diagram of the noise elimination circuit that composes the filter circuit ノイズ除去回路の作用を説明するためのタイミングチャート、A timing chart for explaining the operation of the noise removal circuit; ノイズ除去回路の作用を説明するためのタイミングチャートTiming chart for explaining the operation of the noise removal circuit 通常時におけるメイン制御部の処理を説明するフローチャートFlowchart explaining processing of main control unit in normal time 通常時におけるメイン制御部の処理を説明するフローチャートFlowchart explaining processing of main control unit in normal time 通常時におけるメイン制御部の処理を説明するフローチャートFlowchart explaining processing of main control unit in normal time 通常時における賞球制御部における処理のフローチャートFlow chart of processing in the prize ball control unit at normal time 通常時における賞球制御部における処理のフローチャートFlow chart of processing in the prize ball control unit at normal time 通常時における賞球制御部における処理のフローチャートFlow chart of processing in the prize ball control unit at normal time 通常時における賞球制御部における処理のフローチャートFlow chart of processing in the prize ball control unit at normal time 電源遮断時におけるメイン制御部の処理を説明するフローチャートFlowchart explaining processing of main control unit at power-off 電源遮断時における賞球制御部の処理のフローチャートFlow chart of processing of prize ball control unit at power-off 通電回復時におけるメイン制御部及び賞球制御部における処理のフローチャートFlow chart of processing in main control unit and prize ball control unit when power is restored コンデンサ素子を使用したフィルタ回路の例を示す図The figure which shows the example of the filter circuit which uses the capacitor element

本発明をパチンコ機に適用した一実施の形態(具体的には、停電検出部からメイン制御部と、払出装置(遊技者に賞球を払出す装置)を制御する賞球制御部に向かって停電信号を送信する場合)について図1乃至図17を用いて説明する。ここで、図1は本実施の形態に係るパチンコ機の裏面側に配備される裏セット板11およびその付属物(払出装置30等)を示す背面図であり、図2は本実施の形態に係るパチンコ機の制御部の構成を示すブロック図であり、図3は電源部120の構成を説明するための図面であり、図4は本実施の形態に係るフィルタ回路の一部を構成するクロック回路の回路図を示し、図5は本実施の形態に係るフィルタ回路の一部を構成するノイズ除去回路の回路図を示し、図6、図7は図5に示すノイズ除去回路の作用を説明するための図であり、図8〜10はメイン制
御部における処理のフローチャートであり、図11〜14は賞球制御部における処理のフローチャートであり、図15はメイン制御部における電源遮断時の処理のフローチャートであり、図16は賞球制御部における電源遮断時の処理のフローチャートであり、図17は通電回復時におけるメイン制御部及び賞球制御部における処理のフローチャートである。
An embodiment in which the present invention is applied to a pachinko machine (specifically, from a power failure detection unit to a main control unit and a prize ball control unit that controls a payout device (a device for paying a prize ball to a player)) A case where a power failure signal is transmitted) will be described with reference to FIGS. Here, FIG. 1 is a rear view showing the back set plate 11 and its accessories (dispensing device 30 and the like) provided on the back side of the pachinko machine according to the present embodiment, and FIG. 2 shows the present embodiment. FIG. 3 is a block diagram illustrating a configuration of a control unit of the pachinko machine, FIG. 3 is a diagram for explaining a configuration of the power supply unit 120, and FIG. 4 is a clock configuring a part of the filter circuit according to the present embodiment. FIG. 5 shows a circuit diagram of a noise removal circuit that constitutes a part of the filter circuit according to the present embodiment, and FIGS. 6 and 7 explain the operation of the noise removal circuit shown in FIG. 8 to 10 are flowcharts of processing in the main control unit, FIGS. 11 to 14 are flowcharts of processing in the prize ball control unit, and FIG. 15 is processing in the main control unit when power is shut off. In the flowchart Ri, Figure 16 is a flowchart of processing at power shutdown in prize balls controller, FIG. 17 is a flowchart of processing in the main control unit and Shodama controller when energized recovery.

まず、パチンコ機10に設けられる払出装置30について説明する。
図1に示すように、払出装置30は、パチンコ機10の裏面側に取付けられた裏セット板11に配設されている。この裏セット板11には、払出装置30の他に、パチンコ球を多数貯留するための球貯留タンク13、この球貯留タンク13に貯留されたパチンコ球を払出装置30に誘導する誘導レール14が設けられている。なお、上記誘導レール14は、図示していないが内外に2つの球通路が並列に形成されている。
First, the dispensing device 30 provided in the pachinko machine 10 will be described.
As shown in FIG. 1, the payout device 30 is disposed on a back set plate 11 attached to the back side of the pachinko machine 10. In addition to the payout device 30, the back set plate 11 includes a ball storage tank 13 for storing a large number of pachinko balls, and a guide rail 14 for guiding the pachinko balls stored in the ball storage tank 13 to the payout device 30. Is provided. The guide rail 14 has two spherical passages formed in parallel inside and outside, although not shown.

払出装置30は、図1に示すように、誘導レール14に連通する上部球誘導路31aと、この上部球誘導路31aの下流側開口部近くに設けられた回転球受け体34と、この回転球受け体34の下方に配置される二つの下部球誘導路31bとを有している。これら上部球誘導路31a、回転球受け体34および下部球誘導路31bも、誘導レール14が2列に形成されていることに応じて、それぞれ内外に1対相互に隣接して設けられている。
上記回転球受け体34は、一つのパチンコ球を一時的に受け得る凹部(球受け部)34aがいくつも形成され(図では6カ所)、この球受け部34aに上部球誘導路31aを通行してきたパチンコ球が一球ずつ受け入れられる。この回転球受け体34は、モータ25(図示せず:ただし、図2に表示)により回転駆動される。このため、モータ25が回転することによって、球受け部34aに受け入れられたパチンコ球を一球ずつ規則的に下部球誘導路31bに落入させることができる。なお、既に述べたように回転球受け体34は2列(内外)に形成されているため、内外それぞれの回転球受け体34からパチンコ球が下部誘導路31bに排出される。この内と外の2つの回転球受け体34からパチンコ球が排出されるタイミングは、両回転球受け体34よりパチンコ球が同時に排出されないように調整されている。すなわち、内と外に設けた回転球受け体34が所定の角度だけ位相がずれて設けられることで、パチンコ球の排出タイミングがずれるように構成されている。
回転球受け体34から排出されたパチンコ球が落入する下部球誘導路31bの上流側部分は、賞球用球誘導路32aと貸し球用球誘導路32bとの二つに分かれている。そして、回転球受け体34の回転方向に応じて球受け部34aから排出・落下するパチンコ球が賞球用球誘導路32aに落入するか或いは貸し球用球誘導路32bに落入するかが決定される。
As shown in FIG. 1, the payout device 30 includes an upper sphere guide path 31a communicating with the guide rail 14, a rotating sphere receiver 34 provided near the downstream opening of the upper sphere guide path 31a, and the rotation It has two lower sphere guide paths 31b arranged below the ball receiver 34. The upper sphere guide path 31a, the rotating sphere receiving body 34, and the lower sphere guide path 31b are also provided adjacent to each other in pairs in and out, according to the fact that the guide rails 14 are formed in two rows. .
The rotating ball receiver 34 is formed with a number of concave portions (ball receiving portions) 34a (six locations in the figure) that can temporarily receive one pachinko ball, and the upper ball guiding path 31a passes through the ball receiving portion 34a. Pachinko balls that have been received are accepted one by one. The rotating ball receiver 34 is rotationally driven by a motor 25 (not shown: shown in FIG. 2). For this reason, when the motor 25 rotates, the pachinko balls received by the ball receiving portion 34a can be regularly dropped into the lower ball guide path 31b one by one. Since the rotating ball receivers 34 are formed in two rows (inside and outside) as already described, the pachinko balls are discharged from the inner and outer rotating ball receivers 34 to the lower guide path 31b. The timing at which pachinko balls are discharged from the two inner and outer rotating ball receivers 34 is adjusted so that the pachinko balls are not discharged from both rotating ball receivers 34 at the same time. That is, it is configured such that the discharge timing of the pachinko balls is shifted by providing the rotating ball receivers 34 provided inside and outside with a predetermined angle shifted from each other.
The upstream side portion of the lower ball guiding path 31b into which the pachinko balls discharged from the rotating ball receiving body 34 fall is divided into two, a winning ball guiding path 32a and a lending ball guiding path 32b. Whether the pachinko ball discharged / dropped from the ball receiving portion 34a according to the rotation direction of the rotating ball receiving body 34 falls into the winning ball guiding path 32a or into the lending ball guiding path 32b. Is determined.

かかる構成の結果、球貯留タンク13に貯留するパチンコ球は、球貯留タンク13の底部から誘導レール14および上部球誘導路31aを通って回転球受け体34に至る。そして、モータ25が回転駆動されることによって回転球受け体34が回転し、その結果、パチンコ球は1球ずつ下部球誘導路31b(賞球用球誘導路32a又は貸し球用球誘導路32b)に送出(落入)される。すなわち、遊技者に賞球を払出すときは回転球受け体34が反時計回りに回転することで、回転球受け体34から排出されたパチンコ球は賞球用球誘導路32aに落入する。一方、パチンコ球を貸し球として払い出すときは回転球受け体34が時計回りに回転することで、回転球受け体34から排出されたパチンコ球は貸し球用球誘導路32bに落入する。そして、これら賞球用球誘導路32a、貸し球用誘導路32bに落入したパチンコ球は払出用球誘導路35に流れ、パチンコ機10の前面に設けられた図示しない上皿に排出される。   As a result of this configuration, pachinko balls stored in the ball storage tank 13 reach the rotating ball receiver 34 from the bottom of the ball storage tank 13 through the guide rail 14 and the upper ball guide path 31a. When the motor 25 is driven to rotate, the rotating ball receiver 34 rotates. As a result, the pachinko balls are one ball at a time in the lower ball guiding path 31b (the winning ball guiding path 32a or the lending ball guiding path 32b). ). That is, when paying out a prize ball to the player, the rotating ball receiver 34 rotates counterclockwise, so that the pachinko balls discharged from the rotating ball receiver 34 fall into the award ball guiding path 32a. . On the other hand, when the pachinko balls are paid out as rental balls, the rotating ball receiver 34 rotates clockwise, so that the pachinko balls discharged from the rotating ball receiver 34 fall into the rental ball guiding path 32b. The pachinko balls that have fallen into the award ball guiding path 32a and the lending ball guiding path 32b flow into the payout ball guiding path 35 and are discharged to an upper plate (not shown) provided on the front surface of the pachinko machine 10. .

また、払出装置30には、上述した回転球受け体34に隣接してフォト検出器(フォトカプラ)より成る回転検出センサ29が備えられており、これによって回転球受け体34の回転を検出する。すなわち、回転球受け体34には回転球受け体34と一体となって回転する図示しない円盤状の位置検出板が付設されており、この位置検出板の周縁部には、上記複数の球受け部34aそれぞれに対応する複数のスリットが一定の間隔(角度)をあけて設けられている。また、上記回転検出センサ29は、位置検出板が回転する際において位置検出板のスリットの通過を検出し得る所定の位置に配設される。したがって、位置検出板のスリットの一つが回転検出センサ29の検出位置を通過する度に、回転検出センサ29がオンとなり、回転検出信号が後述する賞球制御部200に出力される。つまり、球受け部34aから一球のパチンコ球が排出され得る回転角度(即ち上記6カ所の球受け部34aを有する本実施形態に係る回転球受け体34では60度)の回転毎に一回の回転検出信号が賞球制御部200に出力される。なお、かかるフォト検出器の機構自体は従来のパチンコ機(例えば特開平9−155035号公報参照)に装備されるものと同様であればよく、本発明を特徴付けるものでもないのでこれ以上の詳細な説明は省略する。   Further, the dispensing device 30 is provided with a rotation detection sensor 29 including a photo detector (photo coupler) adjacent to the above-described rotating ball receiver 34, thereby detecting the rotation of the rotating ball receiver 34. . That is, the rotating ball receiver 34 is provided with a disk-shaped position detection plate (not shown) that rotates integrally with the rotating ball receiver 34, and the plurality of ball receivers are provided at the periphery of the position detection plate. A plurality of slits corresponding to each of the portions 34a are provided at a constant interval (angle). The rotation detection sensor 29 is disposed at a predetermined position where the passage of the slit of the position detection plate can be detected when the position detection plate rotates. Therefore, every time one of the slits of the position detection plate passes the detection position of the rotation detection sensor 29, the rotation detection sensor 29 is turned on, and a rotation detection signal is output to the prize ball control unit 200 described later. That is, once for each rotation of the rotation angle at which one pachinko ball can be discharged from the ball receiving portion 34a (that is, 60 degrees in the rotating ball receiving body 34 according to the present embodiment having the six ball receiving portions 34a). The rotation detection signal is output to the winning ball control unit 200. The mechanism of the photo detector itself may be the same as that provided in a conventional pachinko machine (see, for example, Japanese Patent Laid-Open No. 9-1555035), and does not characterize the present invention. Description is omitted.

さらに、払出装置30には、賞球用球誘導路32aには、当該誘導路を通行するパチンコ球を検出する賞球検出センサ27(典型的には近接スイッチ)が設けられている。この賞球検出センサ27は、内と外に2列に設けられた賞球用球誘導路32aのそれぞれに設けられている。そして、当該賞球用球誘導路32aをパチンコ球が通行した際に、賞球検出信号を後述するメイン制御部100及び賞球制御部200に出力する。
同様に、貸し球用球誘導路32bにも、当該誘導路を通行するパチンコ球を検出する貸し球検出センサ28(典型的には近接スイッチ)が設けられている。この貸し球検出センサ28も、内と外に2列に設けられた貸し球用球誘導路32bのそれぞれに設けられている。そして、貸し球用球誘導路32bをパチンコ球が通行した際に、貸し球検出信号を後述するメイン制御部100及び賞球制御部200に出力する。
Further, the payout device 30 is provided with a prize ball detection sensor 27 (typically a proximity switch) for detecting a pachinko ball passing through the guidance path on the prize ball guiding path 32a. The prize ball detection sensor 27 is provided in each of the ball guidance paths 32a for prize balls provided in two rows inside and outside. When a pachinko ball passes through the prize ball guiding path 32a, a prize ball detection signal is output to the main control unit 100 and the prize ball control unit 200 described later.
Similarly, a lending ball detection sensor 28 (typically a proximity switch) that detects a pachinko ball passing through the lancing path is also provided in the lending ball guiding path 32b. This lending ball detection sensor 28 is also provided in each of lending ball ball guiding paths 32b provided in two rows inside and outside. When a pachinko ball passes through the lending ball guiding path 32b, a lending ball detection signal is output to the main control unit 100 and the prize ball control unit 200 described later.

次に、上述のように構成される払出装置30を制御する制御系の構成について、図2〜7を参照して説明する。
払出装置30を制御する制御系は、図2に示すように、パチンコ機10全体を制御するメイン制御部100と、メイン制御部100と電気的に接続された賞球制御部200により構成される。これらメイン制御部100及び賞球制御部200は電源部120と電気的に接続され、この電源部120からメイン制御部100及び賞球制御部200に電力が供給されるように構成されている。
Next, the configuration of a control system that controls the dispensing device 30 configured as described above will be described with reference to FIGS.
As shown in FIG. 2, the control system that controls the payout device 30 includes a main control unit 100 that controls the entire pachinko machine 10 and a prize ball control unit 200 that is electrically connected to the main control unit 100. . The main control unit 100 and the prize ball control unit 200 are electrically connected to the power source unit 120, and are configured to supply power from the power source unit 120 to the main control unit 100 and the prize ball control unit 200.

この電源部120は、外部電源から供給されるAC24V電源を本パチンコ機10に装備された各電装品それぞれに応じた電圧の直流供給電源に整流・平滑化する電圧変圧部140と、停電その他の理由によって外部電源からの通電が遮断されたときに本パチンコ機10の各制御部(メイン制御部100、賞球制御部200等)に向けて停電信号を出力する停電検出部130とを備える。
電圧変圧部140は、図3に示すようにAC24V電源の波形を整流する整流回路142a,142bと、整流回路142a,142bにより整流された脈流波形を平滑化する平滑回路(ダイオードD1,D2,D3,D4とコンデンサC1,C2,C3,C4で構成)と、平滑回路により平滑化された波形を定電圧化する定電圧回路IC1、IC2、IC3とで構成される。
このような電圧変圧部140において通常時には、定電圧回路IC1により生成される+5Vの信号がメイン制御部100及び賞球制御部200に対して供給される。また、停電等の通電遮断時においては、コンデンサC1に通電中に備蓄した電力が、メイン制御部100及び賞球制御部200に対して供給され、これにより各制御部100、200は通電遮断後の処理を行うことが可能となる。
さらに、定電圧回路IC1から出力される+5Vの信号は、並列に分離されてダイオードD5およびコンデンサC5を介して情報保存用出力端子VBBに接続される。そして、このコンデンサC5に備蓄した電力は、停電等の通電遮断時においてメイン制御部100及び賞球制御部200のRAMに供給され、RAMに記憶された情報が保持される。
また、停電検出部130は、交流電源ACの波形を整形(整流及びクリッピング等)を行い、その整形された波形の電圧を分圧し、その分圧された波形(パルス波)を検出し、パルス波が所定数欠けたときに停電信号を出力するように構成されている。
The power supply unit 120 includes a voltage transformer 140 that rectifies and smoothes the AC 24V power supplied from an external power source into a DC supply power of a voltage corresponding to each electrical component equipped in the pachinko machine 10, power failure, and the like. A power failure detection unit 130 is provided that outputs a power failure signal toward each control unit (main control unit 100, prize ball control unit 200, etc.) of the pachinko machine 10 when energization from an external power source is interrupted for a reason.
As shown in FIG. 3, the voltage transformer 140 includes rectifier circuits 142a and 142b that rectify the waveform of the AC 24V power supply, and smoothing circuits (diodes D1, D2, and D2) that smooth the pulsating waveform rectified by the rectifier circuits 142a and 142b. D3 and D4 and capacitors C1, C2, C3, and C4), and constant voltage circuits IC1, IC2, and IC3 that make the waveform smoothed by the smoothing circuit constant.
In such a voltage transformer 140, a signal of + 5V generated by the constant voltage circuit IC1 is supplied to the main controller 100 and the prize ball controller 200 at normal times. In addition, when the energization is cut off, such as a power failure, the power stored during energization of the capacitor C1 is supplied to the main control unit 100 and the prize ball control unit 200. It is possible to perform the process.
Further, the + 5V signal output from the constant voltage circuit IC1 is separated in parallel and connected to the information storage output terminal VBB via the diode D5 and the capacitor C5. The power stored in the capacitor C5 is supplied to the RAMs of the main control unit 100 and the prize ball control unit 200 when the energization is interrupted, such as a power failure, and the information stored in the RAM is held.
The power failure detection unit 130 shapes the waveform of the AC power supply AC (rectification, clipping, etc.), divides the voltage of the shaped waveform, detects the divided waveform (pulse wave), and generates a pulse. A power failure signal is output when a predetermined number of waves are missing.

メイン制御部100は、本パチンコ機10の各装置(電装品)の動作を統括する制御装置であり、賞球制御部200の他に、遊技盤中央に配置された図柄表示器(図示せず)の図柄変動処理を行う図柄表示制御部、スピーカから効果音やBGMを発生させるための処理を行う音制御部、遊技盤の内外に装着されたランプの点灯駆動処理を行うランプ制御部等が電気的に接続されている。これら各制御部の機構は、従来のパチンコ機におけるものと同様であり、ここではその説明を省略する。
このメイン制御部100は、図2に示すように、CPU102と、CPU102とバス114を介して接続されるROM104、RAM106、入力処理回路108、通信制御回路112、及びフィルタ回路170(請求項にいうフィルタ回路)を有する。
CPU102は、ROM104に格納されている遊技制御プログラムを実行してパチンコ機10を制御する。この遊技制御プログラムには、賞球制御部200等の各制御部に送信するための各種コマンドの作成や各制御部へコマンドの送信を行うための制御プログラムが含まれる。
RAM106には、各種データや入出力信号が格納される。このRAM106には、後で説明するように、遊技盤の表側に設けられた各種入賞口に入賞したパチンコ球の数をカウントするための入賞個数カウンタ、この入賞個数カウンタに基づいて作成した賞球制御部200に送信するコマンド、このコマンドに基づいて賞球制御部200に払出しを命じたパチンコ球の数を積算する送信球数カウンタが記憶される。
また、入力処理回路108は、各種入賞口に入賞したパチンコ球を検出する一般入賞口センサ54、特定入賞口センサ56等のセンサ(典型的には近接スイッチ)から出力された信号を受けて、メイン制御部100内で処理可能なデータ形式に変換する機能を有する。この入力処理回路108には、払出装置30に設けた賞球検出センサ27、貸し球検出センサ28から出力される検出信号も入力するようになっている。通信制御回路112は、出力ポートに設定されたコマンド等を賞球制御部200等の各制御部に送信するための回路(汎用ロジックIC、PIO、トランジスタアレイ等で構成される)である。
なお、メイン制御部100では、上述したCPU102、ROM104、RAM106、入力処理回路108、通信制御回路112が1チップに集積化された電子素子(以下、単にCPU素子という)により構成される。
The main control unit 100 is a control device that controls the operation of each device (electrical component) of the pachinko machine 10, and in addition to the prize ball control unit 200, a symbol display (not shown) arranged in the center of the game board. ) The symbol display control unit that performs symbol variation processing, the sound control unit that performs processing for generating sound effects and BGM from the speaker, the lamp control unit that performs lighting driving processing of the lamps mounted inside and outside the game board, etc. Electrically connected. The mechanism of each control unit is the same as that in a conventional pachinko machine, and the description thereof is omitted here.
As shown in FIG. 2, the main control unit 100 includes a CPU 102, a ROM 104, a RAM 106, an input processing circuit 108, a communication control circuit 112, and a filter circuit 170 connected to the CPU 102 via a bus 114 (referred to in the claims). Filter circuit).
The CPU 102 controls the pachinko machine 10 by executing a game control program stored in the ROM 104. This game control program includes a control program for creating various commands to be transmitted to each control unit such as the prize ball control unit 200 and transmitting commands to each control unit.
The RAM 106 stores various data and input / output signals. In the RAM 106, as will be described later, a winning number counter for counting the number of pachinko balls won in various winning openings provided on the front side of the game board, and a winning ball created based on the winning number counter A command to be transmitted to the control unit 200 and a transmission ball number counter for accumulating the number of pachinko balls ordered to be paid out to the prize ball control unit 200 based on the command are stored.
Further, the input processing circuit 108 receives signals output from sensors (typically proximity switches) such as a general winning port sensor 54 and a specific winning port sensor 56 that detect pachinko balls that have been won in various winning ports. The main control unit 100 has a function of converting to a data format that can be processed. The input processing circuit 108 also receives detection signals output from the prize ball detection sensor 27 and the lending ball detection sensor 28 provided in the payout device 30. The communication control circuit 112 is a circuit (consisting of a general-purpose logic IC, PIO, transistor array, etc.) for transmitting a command or the like set to the output port to each control unit such as the prize ball control unit 200.
In the main control unit 100, the CPU 102, the ROM 104, the RAM 106, the input processing circuit 108, and the communication control circuit 112 described above are configured by electronic elements (hereinafter simply referred to as CPU elements) integrated on one chip.

次に、メイン制御部100に設けられたフィルタ回路170について説明する。このフィルタ回路170は、いわゆるデジタルフィルタと呼ばれるものであり、図2に示すようにノイズ除去回路160と、ノイズ除去回路160の処理周期を規定するクロック回路150から構成される。
クロック回路150は、図4に示すように、高周波発振器151と、この高周波発振器151から出力された信号をさらに分周する2つのカウンタ回路155、157を中心に構成される。
すなわち、高周波発振器151(セイコーエプソン社製SG−531)は、水晶発振子とCMOSICとを一つの電子素子に集積化したもので、12MHzの信号を出力する。高周波発振器151から出力された信号は、4ビットバイナリカウンタ155のCK端子に入力する。
この4ビットバイナリカウンタ155(東芝社製74HC161)は、高周波発振器151から出力された信号(12MHz)を4MHzに分周する。すなわち、4ビットバイナリカウンタ155のCO端子から出力される信号は4MHzに分周されており、この信号はインバータ156を介して12段リプルカウンタ157のCK端子に入力する。
12段リプルカウンタ157(東芝社製74HC4040)は、4ビットバイナリカウンタ155から出力された信号(4MHz)を500kHzの信号に分周する。すなわち、12段リプルカウンタ157の3段目の出力端子Q3から出力される信号は500kHzに分周されており、この信号はノイズ除去回路160に出力される。
なお、クロック回路150には、さらにリセットIC152(三菱社製M51951)が備えられる。このリセットIC152は既述した電圧変圧部140からメイン制御部100に供給される信号の電圧が低下し、所定レベル以下となるとリセット信号を出力する。このリセット信号は、上述した4ビットバイナリカウンタ155、12段リプルカウンタ157等で受信され、これらの素子の機能を止める働きをする。
Next, the filter circuit 170 provided in the main control unit 100 will be described. The filter circuit 170 is a so-called digital filter, and includes a noise removal circuit 160 and a clock circuit 150 that defines a processing cycle of the noise removal circuit 160 as shown in FIG.
As shown in FIG. 4, the clock circuit 150 is mainly configured by a high-frequency oscillator 151 and two counter circuits 155 and 157 that further divide the signal output from the high-frequency oscillator 151.
That is, the high-frequency oscillator 151 (SG-531 manufactured by Seiko Epson Corporation) is an integrated crystal oscillator and CMOSIC in one electronic element, and outputs a 12 MHz signal. The signal output from the high frequency oscillator 151 is input to the CK terminal of the 4-bit binary counter 155.
The 4-bit binary counter 155 (Toshiba 74HC161) divides the signal (12 MHz) output from the high-frequency oscillator 151 into 4 MHz. That is, the signal output from the CO terminal of the 4-bit binary counter 155 is divided into 4 MHz, and this signal is input to the CK terminal of the 12-stage ripple counter 157 via the inverter 156.
The 12-stage ripple counter 157 (Toshiba 74HC4040) divides the signal (4 MHz) output from the 4-bit binary counter 155 into a 500 kHz signal. That is, the signal output from the third-stage output terminal Q 3 of the 12-stage ripple counter 157 is frequency-divided to 500 kHz, and this signal is output to the noise removal circuit 160.
The clock circuit 150 further includes a reset IC 152 (M51951 manufactured by Mitsubishi Corporation). The reset IC 152 outputs a reset signal when the voltage of the signal supplied from the voltage transformer 140 described above to the main controller 100 decreases and falls below a predetermined level. This reset signal is received by the aforementioned 4-bit binary counter 155, 12-stage ripple counter 157, etc., and functions to stop the functions of these elements.

次に、上述したクロック回路150の12段リプルカウンタ157から出力された信号(500kHz)が入力するノイズ除去回路160の構成について図5を参照して説明する。
図5に示すように、ノイズ除去回路160は8ビットのシフトレジスタ162を中心に構成される。このシフトレジスタ162(東芝社製74HC164)は、そのA端子に停電検出部130から出力される停電信号が入力し、そのB端子は+5Vの電源線に接続され、そのCK端子には上記クロック回路150(12段リプルカウンタ157)から出力された信号(500kHz)が入力するようになっている。また、シフトレジスタ162の1番目の出力端子Qaはインバータ163を介して論理回路165の1番目の端子に接続され、また、2番目の出力端子Qbは論理回路165の2番目の端子に接続され、さらに、5番目の出力端子Qeはインバータ164を介して論理回路165の3番目の端子に接続されている。さらに、シフトレジスタ162の6番目の出力端子Qfはインバータ167を介してメイン制御部100のCPU素子のNMI端子に接続されている。
また、上記論理回路165の出力端子はインバータ166を介して論理回路161の3番目の端子に接続される。この論理回路161の1番目の端子は+5Vの電源線に接続されており、2番目の端子には前述のクロック回路150のリセットIC152から出力されるリセット信号が入力するようになっている。
Next, the configuration of the noise removal circuit 160 to which the signal (500 kHz) output from the 12-stage ripple counter 157 of the clock circuit 150 described above is input will be described with reference to FIG.
As shown in FIG. 5, the noise removal circuit 160 is configured around an 8-bit shift register 162. In this shift register 162 (Toshiba 74HC164), a power failure signal output from the power failure detection unit 130 is input to its A terminal, its B terminal is connected to a + 5V power line, and its clock circuit is connected to its CK terminal. A signal (500 kHz) output from 150 (12-stage ripple counter 157) is input. The first output terminal Qa of the shift register 162 is connected to the first terminal of the logic circuit 165 via the inverter 163, and the second output terminal Qb is connected to the second terminal of the logic circuit 165. Further, the fifth output terminal Qe is connected to the third terminal of the logic circuit 165 via the inverter 164. Further, the sixth output terminal Qf of the shift register 162 is connected to the NMI terminal of the CPU element of the main control unit 100 via the inverter 167.
The output terminal of the logic circuit 165 is connected to the third terminal of the logic circuit 161 through the inverter 166. The first terminal of the logic circuit 161 is connected to the + 5V power supply line, and the reset signal output from the reset IC 152 of the clock circuit 150 is input to the second terminal.

上述したように構成されるため、シフトレジスタ162のA端子に入力される信号の状態が所定の状態(ON状態)となり、その状態が所定期間維持された場合に、シフトレジスタの6番目の端子Qfから信号が出力される。逆に、シフトレジスタ162のA端子に入力される信号がON状態となり、その状態が所定期間維持されない場合には、論理回路161から信号が出力されてシフトレジスタ162がリセットされるため六番目の出力端子Qfからは信号が出力されない。
上述したようなノイズ除去回路160の作用を、シフトレジスタ162のA端子に停電信号が入力する場合(図6の場合)と、シフトレジスタ162のA端子にノイズが入力する場合(図7に示す場合)を例として具体的に説明する。図6、図7には、上から順にクロック信号、シフトレジスタ162のA端子に入力する信号、同じくシフトレジスタ162のQa端子から出力され論理回路165に入力する信号、同じくシフトレジスタ162のQb端子から出力され論理回路165に入力する信号、同じくシフトレジスタ162のQe端子から出力され論理回路165に入力する信号、論理回路165から出力される信号、+5V電源線、リセットICから出力され論理回路161に入力する信号、論理回路161から出力されシフトレジスタ162のCLR端子に入力する信号、シフトレジスタ162のQf端子から出力されCPU素子のNMI端子に入力する信号を示している。
Since it is configured as described above, when the state of the signal input to the A terminal of the shift register 162 becomes a predetermined state (ON state) and the state is maintained for a predetermined period, the sixth terminal of the shift register A signal is output from Qf. Conversely, when the signal input to the A terminal of the shift register 162 is in an ON state and the state is not maintained for a predetermined period, a signal is output from the logic circuit 161 and the shift register 162 is reset, so that the sixth No signal is output from the output terminal Qf.
The operation of the noise removal circuit 160 as described above is performed when a power failure signal is input to the A terminal of the shift register 162 (in the case of FIG. 6) and when noise is input to the A terminal of the shift register 162 (shown in FIG. 7). Case) will be specifically described as an example. 6 and 7, in order from the top, a clock signal, a signal input to the A terminal of the shift register 162, a signal output from the Qa terminal of the shift register 162 and input to the logic circuit 165, and a Qb terminal of the shift register 162 Is output from the logic circuit 165, input from the Qe terminal of the shift register 162 to the logic circuit 165, output from the logic circuit 165, + 5V power line, and output from the reset IC. , A signal output from the logic circuit 161 and input to the CLR terminal of the shift register 162, and a signal output from the Qf terminal of the shift register 162 and input to the NMI terminal of the CPU element.

まず、シフトレジスタ162のA端子にクロック信号2周期分の長さの信号(ノイズ)が入力した場合の動作を説明する(図7の場合)。A端子に信号が入力すると次のクロック信号の立ち上がりと同時にA端子に入力した信号と同一波形の信号がQa端子から出力され、さらに1周期遅れてQb端子からも同一波形の信号が出力される。Qb端子から信号が出力された次の周期では、論理回路165に入力する信号は、それぞれ0→1(highレベル)、1→1(highレベル)、0→0(lowレベル)となるので、論理回路165から出力される信号の状態が0→1に変化する。したがって、論理回路161に入力する信号は、1→1(highレベル)、1→1(highレベル)、1→0(lowレベル)となる。このため、論理回路161から出力される信号の状態が1(highレベル)→0(lowレベル)に変化し、シフトレジスタ162がクリアされる。このため、シフトレジスタ162のQf端子の状態は変化せずCPU素子のNMI端子に信号が入力することはない。
次に、シフトレジスタ162のA端子に停電信号(クロック信号6周期以上の長さの信号)が入力した場合の動作を説明する(図6の場合)。A端子に信号が入力すると次のクロック信号の立ち上がりと同時にA端子に入力した信号と同一波形の信号がQa端子から出力され、1周期遅れてQb端子から同一波形の信号が出力され、さらにQe端子から同一波形の信号が出力される。停電信号は所定の長さの信号であるため、Qf端子から信号が出力されるまでQa端子、Qb端子、Qf端子から出力される信号のレベルは変化せず、したがって、論理回路165から出力される信号の状態も変化しないこととなる。したがって、論理回路161から出力される信号のレベルも変化することがないためシフトレジスタ162がリセットされることも無く、シフトレジスタ162のQf端子から信号が出力される。この出力された信号は、CPU素子のNMI端子で受信されることとなる。
First, an operation when a signal (noise) having a length of two clock signals is input to the A terminal of the shift register 162 will be described (in the case of FIG. 7). When a signal is input to the A terminal, a signal having the same waveform as that of the signal input to the A terminal is output from the Qa terminal simultaneously with the rise of the next clock signal, and a signal having the same waveform is also output from the Qb terminal after one cycle. . In the next period when the signal is output from the Qb terminal, the signals input to the logic circuit 165 are 0 → 1 (high level), 1 → 1 (high level), and 0 → 0 (low level). The state of the signal output from the logic circuit 165 changes from 0 to 1. Accordingly, signals input to the logic circuit 161 are 1 → 1 (high level), 1 → 1 (high level), 1 → 0 (low level). For this reason, the state of the signal output from the logic circuit 161 changes from 1 (high level) to 0 (low level), and the shift register 162 is cleared. Therefore, the state of the Qf terminal of the shift register 162 does not change and no signal is input to the NMI terminal of the CPU element.
Next, an operation when a power failure signal (a signal having a length of six or more clock signals) is input to the A terminal of the shift register 162 will be described (in the case of FIG. 6). When a signal is input to the A terminal, a signal having the same waveform as the signal input to the A terminal is output from the Qa terminal simultaneously with the rise of the next clock signal, and a signal having the same waveform is output from the Qb terminal after one cycle. A signal having the same waveform is output from the terminal. Since the power failure signal is a signal having a predetermined length, the level of the signal output from the Qa terminal, the Qb terminal, and the Qf terminal does not change until the signal is output from the Qf terminal, and is therefore output from the logic circuit 165. The state of the signal is not changed. Therefore, since the level of the signal output from the logic circuit 161 does not change, the shift register 162 is not reset and a signal is output from the Qf terminal of the shift register 162. This output signal is received by the NMI terminal of the CPU element.

上述した説明から明らかなように、シフトレジスタ162に所定周期未満の信号が入力した場合にはフィルタ回路170(シフトレジスタ162)から信号が出力されず、シフトレジスタ162に所定周期以上の信号が入力した場合にのみフィルタ回路170(シフトレジスタ162)から信号が出力される。したがって、瞬間的な信号(ノイズ等)はフィルタ回路170により除去される。つまり、フィルタ回路170への入力信号の状態が変化してから所定数のクロック信号をカウントする前にもとの状態に戻る場合には、フィルタ回路170から信号は出力されず、所定数のクロック信号をカウントした後もその状態が維持される場合には、フィルタ回路170から信号が出力される。
また、A端子に信号が入力してから所定周期後に信号が出力され(1→0)、その信号は瞬間的に1→0に変化する(ここでいう信号の変化は、インバータ167を通った後の信号の変化をいう。)。したがって、コンデンサ等を使用したアナログフィルタと異なり、信号が立ち上がるのに時間を要することはない。
なお、出力される信号は、A端子に信号が入力するタイミングによってクロック信号1周期分だけずれる可能性(図6の(1)又は(2)で出力される可能性)はあるが、クロック回路150の発振周波数が充分に高いので1クロック分のずれはほとんど問題がない。
As is clear from the above description, when a signal having a predetermined period is input to the shift register 162, no signal is output from the filter circuit 170 (shift register 162), and a signal having a predetermined period or more is input to the shift register 162. A signal is output from the filter circuit 170 (shift register 162) only in such a case. Therefore, an instantaneous signal (noise or the like) is removed by the filter circuit 170. That is, when the state of the input signal to the filter circuit 170 changes and before returning to the original state before counting a predetermined number of clock signals, no signal is output from the filter circuit 170, and the predetermined number of clock signals are output. If the state is maintained after the signal is counted, the signal is output from the filter circuit 170.
Further, after a signal is input to the A terminal, the signal is output after a predetermined period (1 → 0), and the signal instantaneously changes from 1 → 0 (the change of the signal here passes through the inverter 167). Later changes in signal). Therefore, unlike an analog filter using a capacitor or the like, it does not take time for the signal to rise.
Note that the output signal may be shifted by one cycle of the clock signal depending on the timing at which the signal is input to the A terminal (the possibility of being output at (1) or (2) in FIG. 6). Since the oscillation frequency of 150 is sufficiently high, there is almost no problem with a shift of one clock.

次に、賞球制御部200について説明する。賞球制御部200は、上述したメイン制御部100から送信されたコマンドに基づいて払出装置30の動作を制御する制御装置であり、図2に示すように基本的にはメイン制御部100と同様、CPU202と、CPU202とバス216を介して接続されるROM204、RAM206、入力処理回路210、通信制御回路208、出力処理回路212フィルタ回路214等を有する。
CPU202は、ROM204に格納されている制御プログラムに従って払出装置30の賞球制御等を行う。RAM206には、各種データや入出力信号が格納される。このRAM206には、後で説明するように、メイン制御部100から送信されたコマンドを賞球数に変換して積算する賞球積算カウンタと、賞球積算カウンタと同様にメイン制御部100から送信されたコマンドを賞球数に変換して積算し、回転検出センサ29から出力された検出信号を受信すると1減算する賞球加減カウンタと、賞球検出センサ27から出力された検出信号を受信し、その受信した検出信号の数を積算する払出積算カウンタが記憶される。
入力処理回路210は、払出装置30に設けられた回転検出センサ29、貸し球検出センサ28、賞球検出センサ27から出力された検出信号を受信して、賞球制御部200内で処理可能なデータ形式に変換する機能を有する。
また、出力処理回路212は、モータ25を駆動するための駆動信号を出力する回路であり、通信制御回路208は、メイン制御部100から送信されたコマンドを受信するための回路である。なお、通電時に受信したコマンドを格納するコマンドバッファ(請求項にいう通電時受信コマンド記憶部に相当)と、停電信号受信時に受信したコマンドを格納するNMIコマンドバッファ(請求項にいう通電断時受信コマンド記憶部に相当)がRAM206に設けられている。
なお、賞球制御部200でも、メイン制御部100と同様、上述したCPU202、ROM204、RAM206、入力処理回路210、出力処理回路212、通信制御回路208が1チップに集積化された電子素子(以下、単にCPU素子ともいう)により構成される。
また、賞球制御部200に設けられたフィルタ回路214は、上述したメイン制御部100に設けられたフィルタ回路170と同一の回路であり、停電検出部130から出力された停電信号を受信し、上述した賞球制御部200におけるCPU素子のNMI端子に信号を出力する機能を有する。
Next, the winning ball control unit 200 will be described. The prize ball control unit 200 is a control device that controls the operation of the payout device 30 based on the command transmitted from the main control unit 100 described above, and is basically the same as the main control unit 100 as shown in FIG. , CPU 202, ROM 204, RAM 206, input processing circuit 210, communication control circuit 208, output processing circuit 212, filter circuit 214, and the like connected to CPU 202 via bus 216.
The CPU 202 performs prize ball control and the like of the payout device 30 according to a control program stored in the ROM 204. Various data and input / output signals are stored in the RAM 206. As will be described later, the RAM 206 converts the command transmitted from the main control unit 100 into the number of prize balls and accumulates the prize ball, and the prize is transmitted from the main control unit 100 in the same manner as the prize ball accumulation counter. The received command is converted into the number of prize balls, integrated, and when a detection signal output from the rotation detection sensor 29 is received, a prize ball addition / subtraction counter that subtracts 1 and a detection signal output from the prize ball detection sensor 27 are received. A payout accumulation counter for accumulating the number of received detection signals is stored.
The input processing circuit 210 can receive the detection signals output from the rotation detection sensor 29, the lending ball detection sensor 28, and the prize ball detection sensor 27 provided in the payout device 30 and process them in the prize ball control unit 200. Has a function to convert to a data format.
The output processing circuit 212 is a circuit that outputs a drive signal for driving the motor 25, and the communication control circuit 208 is a circuit for receiving a command transmitted from the main control unit 100. It should be noted that a command buffer for storing a command received at the time of energization (corresponding to the energized reception command storage unit in the claims) and an NMI command buffer for storing a command received at the time of power failure signal reception (reception at energization in the claims) (Corresponding to a command storage unit) is provided in the RAM 206.
In the prize ball control unit 200, as with the main control unit 100, electronic elements (hereinafter referred to as the CPU 202, ROM 204, RAM 206, input processing circuit 210, output processing circuit 212, and communication control circuit 208 are integrated on one chip. Simply referred to as a CPU element).
In addition, the filter circuit 214 provided in the prize ball control unit 200 is the same circuit as the filter circuit 170 provided in the main control unit 100 described above, receives the power failure signal output from the power failure detection unit 130, The prize ball control unit 200 has a function of outputting a signal to the NMI terminal of the CPU element.

次に、上述したように構成されるパチンコ機の動作を、メイン制御部100及び賞球制御部200の処理を中心に説明する。最初にパチンコ機10への電源投入時における上記各制御部の処理について説明する。   Next, the operation of the pachinko machine configured as described above will be described focusing on the processing of the main control unit 100 and the prize ball control unit 200. First, the processing of each control unit when power is supplied to the pachinko machine 10 will be described.

(1)電源投入時の処理(メイン制御部)
電源投入されると、電源部120から上記各制御部100、200に通電が開始され、各制御部100、200に印可される電圧が所定の電圧となると次に説明する処理を開始する。まず、メイン制御部100の処理について、図8〜図10に基づいて説明する。
なお、メイン制御部100では、入賞口に入賞したパチンコ球を検出する入賞検出処理、その入賞検出処理により検出した入賞に基づいて作成した賞球コマンドを賞球制御部200に送信するための賞球コマンド送信処理、及び、払出装置30から払出されたパチンコ球を検出する賞球検出処理等のようなコマンドや信号等の入出力処理は、メイン制御部100における通常の処理とは別に、メイン制御部100に設けたCTCカウンタによる所定周期(本実施の形態では、4ms)毎の割込み処理により行われる。そこで、まずはメイン制御部100の通常の処理について図8を参照して先に説明し、次いでCTCカウンタによる割込み処理(以下、単にCTC割込み処理という)について図9、図10を参照して説明する。
(1) Power-on processing (main control unit)
When the power is turned on, energization is started from the power supply unit 120 to the control units 100 and 200, and when the voltage applied to the control units 100 and 200 reaches a predetermined voltage, processing described below is started. First, the processing of the main control unit 100 will be described with reference to FIGS.
Note that the main control unit 100 receives a prize detection process for detecting a pachinko ball that has won a prize opening, and a prize for transmitting a prize ball command created based on a prize detected by the prize detection process to the prize ball control unit 200. Input / output processing of commands and signals such as ball command transmission processing and prize ball detection processing for detecting a pachinko ball paid out from the payout device 30 is separate from normal processing in the main control unit 100. This is performed by interrupt processing at predetermined intervals (4 ms in this embodiment) by a CTC counter provided in the control unit 100. Therefore, first, normal processing of the main control unit 100 will be described first with reference to FIG. 8, and then interrupt processing by the CTC counter (hereinafter simply referred to as CTC interrupt processing) will be described with reference to FIG. 9 and FIG. .

図8に示すように、メイン制御部100では、まず初期化処理が行われ(S01)、次いでRAM消去スイッチがON(出力)されたかどうかを判断する(S02)。ここで、RAM消去スイッチとは、電源遮断時において保存した情報を消去するために操作されるスイッチである。すなわち、保存した情報を利用して遊技を再開する必要がないとき(例えば、営業終了により電源OFFした翌日の営業開始時等)に操作されるスイッチであり、パチンコ機10への電源投入時に操作され、メイン制御部100及び賞球制御部200に信号を出力する。したがって、ステップS02でメイン制御部100は、RAM消去スイッチを操作することで出力された信号を受信したかどうかを判断する。
RAM消去スイッチが操作されていた場合〔ステップS02でYES〕にはステップS04に進み、RAM消去スイッチが操作されていない場合〔ステップS02でNOの場合〕には、次ぎにRAM106に異常があるかないかを判断する(S04)。すなわち、RAM106に保存した情報が何らかの原因で破壊されていた場合には、その情報を利用して処理を再開することができないので、まずRAM106の情報が利用できるか否かを判断する。具体的な方法としては、チェックサム値(RAM106の各レジスタの値を加算した加算値)が正常値と一致するか否かで判断する。RAM106に異常があった場合〔ステップS03でYESの場合〕にはステップS04に進み、RAM106に異常が無かった場合〔ステップS03でNOの場合〕には保存した情報に基づいて処理を再開する復電処理に移行する(S09)。なお、復電処理の内容については後で説明する。
ステップS04に進むと、メイン制御部100はRAM106に記憶した情報をクリアする。これによりメイン制御部100は、以下に説明するメイン処理に移行する。
As shown in FIG. 8, the main control unit 100 first performs initialization processing (S01), and then determines whether the RAM erase switch is turned on (output) (S02). Here, the RAM erase switch is a switch operated to erase stored information when the power is shut off. That is, it is a switch that is operated when it is not necessary to resume the game using the stored information (for example, when the business is turned off the next day after the power is turned off due to the end of business), and is operated when the power to the pachinko machine 10 is turned on. Then, a signal is output to the main control unit 100 and the prize ball control unit 200. Accordingly, in step S02, the main control unit 100 determines whether or not a signal output by operating the RAM erase switch has been received.
If the RAM erase switch has been operated (YES in step S02), the process proceeds to step S04. If the RAM erase switch has not been operated (NO in step S02), then there is an abnormality in the RAM 106. Is determined (S04). In other words, if the information stored in the RAM 106 is destroyed for some reason, the process cannot be resumed using that information, so it is first determined whether the information in the RAM 106 can be used. As a specific method, the determination is made based on whether or not the checksum value (added value obtained by adding the values of the registers in the RAM 106) matches the normal value. If there is an abnormality in the RAM 106 (YES in step S03), the process proceeds to step S04. If there is no abnormality in the RAM 106 (NO in step S03), the process is resumed based on the stored information. The process proceeds to electric processing (S09). The contents of the power recovery process will be described later.
In step S04, the main control unit 100 clears the information stored in the RAM 106. Thereby, the main control unit 100 shifts to a main process described below.

メイン処理では、まず、出力データ作成処理を行う(S05)。この出力データ作成処理では、パチンコ機に装備された各種センサ(一般入賞センサ54、特定入賞センサ56、始動口センサ等)から出力された検出信号に基づいて遊技盤の前面に設けられた図示しない大入賞口等の電動役物を動作させるための出力データ(駆動データ)の作成を行う。この作成された出力データは、前述したCTC割込み処理により各電装装置に出力される。
出力データ作成処理が終了すると、次いでコマンド作成処理を行う(S06)。コマンド作成処理では、パチンコ機に装備された各種センサ(一般入賞センサ54、特定入賞センサ56、始動口センサ等)から出力された検出信号に基づいて、賞球制御部200、図柄制御部、音制御部、ランプ制御部等のサブ制御部に送信するコマンドを作成する。例えば、賞球制御部200には賞球の払出を命じる賞球コマンドを作成し、図柄制御部に対しては特別図柄の変動を命じる図柄変動コマンドを作成し、音制御部には効果音の発音を命じる効果音コマンドを作成し、ランプ制御部にはランプ装飾を命じるランプ点灯コマンドを作成する。ステップS06で作成されたコマンドは、CTC割込み処理により各制御部に送信される。なお、この各制御部へのコマンドの送信処理については、賞球制御部200へのコマンド送信を例に後で説明する。
コマンド作成処理が終了すると、次いで外部情報作成処理を行う(S07)。この外部情報作成処理では、大当り回数や確率変動中、球切れ報知等を遊技者、ホール店員等に報知するために報知装置(図柄表示装置、ランプ、スピーカ、外部コンピュータ等)に出力する情報の作成を行う。この作成された情報も、CTC割込み処理によりメイン制御部100より出力される。
次ぎに、ステップS08では乱数更新処理を行う。この乱数更新処理では、初期値乱数の作成・更新やハズレ図柄の作成・更新を行う。このステップS08の処理が終わると、ステップS05の処理に戻ってステップS05からステップS08までの処理を繰り返す。
In the main processing, first, output data creation processing is performed (S05). In this output data creation processing, not shown, provided on the front surface of the game board based on detection signals output from various sensors (general winning sensor 54, specific winning sensor 56, starting port sensor, etc.) equipped in the pachinko machine. Output data (driving data) for operating the electric winning component such as a big prize opening is created. The created output data is output to each electrical device by the CTC interrupt process described above.
When the output data creation process is completed, a command creation process is performed (S06). In the command creation process, based on detection signals output from various sensors (general winning sensor 54, specific winning sensor 56, start opening sensor, etc.) equipped in the pachinko machine, the winning ball control unit 200, the symbol control unit, the sound A command to be transmitted to a sub control unit such as a control unit or a lamp control unit is created. For example, a prize ball command for instructing the prize ball to be paid out is created in the prize ball control unit 200, a symbol variation command for instructing a variation in a special symbol is created in the symbol control unit, and a sound effect is transmitted to the sound control unit. A sound effect command for commanding sound generation is created, and a lamp lighting command for commanding lamp decoration is created in the lamp control unit. The command created in step S06 is transmitted to each control unit by CTC interrupt processing. Note that the command transmission process to each control unit will be described later by taking the command transmission to the prize ball control unit 200 as an example.
When the command creation processing is completed, external information creation processing is then performed (S07). In this external information creation process, information on the information to be output to a notification device (symbol display device, lamp, speaker, external computer, etc.) in order to notify the player, hall clerk, etc. of a ball hit notification, etc. during a big hit count or probability change. Create. The created information is also output from the main control unit 100 by the CTC interrupt process.
Next, in step S08, random number update processing is performed. In this random number update process, initial value random numbers are created / updated and lost symbols are created / updated. When the process of step S08 ends, the process returns to step S05 and the processes from step S05 to step S08 are repeated.

次ぎに、図9に基づいてCTC割込み処理について説明する。なお、以下の説明では払出装置30を制御する際に行われる処理(入賞検出処理、賞球コマンド送信処理、賞球検出処理)のみを説明する。
図9(a)に示す入賞検出処理では、メイン制御部100は、まず入賞検出したか否かを判断する(S11)。具体的には、メイン制御部100の入力処理回路108に一般入賞口センサ54・特定入賞口センサ56から出力された信号を受信したか否かで判断する。これらの各センサ54、56から出力された検出信号を受信していない場合〔ステップS11でNOの場合〕には入賞検出処理を終了し、検出信号を受信している場合〔ステップS11でYESの場合〕には入賞個数カウンタにその入賞を記憶し(S32)、入賞検出処理を終了する。
Next, the CTC interrupt process will be described with reference to FIG. In the following description, only processes (winning detection process, prize ball command transmission process, prize ball detection process) performed when controlling the payout device 30 will be described.
In the winning detection process shown in FIG. 9A, the main control unit 100 first determines whether or not a winning is detected (S11). Specifically, it is determined whether or not the signal output from the general winning opening sensor 54 or the specific winning opening sensor 56 is received in the input processing circuit 108 of the main control unit 100. If the detection signals output from these sensors 54 and 56 have not been received (NO in step S11), the winning detection process is terminated, and if the detection signal has been received (YES in step S11). If), the winning number is stored in the winning number counter (S32), and the winning detection process is terminated.

図9(b)に示す賞球コマンド送信処理では、メイン制御部100は、まず入賞個数カウンタに記憶値があるか否かを判断する(S13)。入賞個数カウンタに記憶値がない場合〔ステップS13がNOの場合〕には賞球コマンド送信処理を終了し、入賞個数カウンタに記憶値がある場合〔ステップS13がYESの場合〕には賞球制御部200に対して賞球を払出すよう賞球コマンドの送信処理を行う(S14)。このステップS14のコマンド送信処理について、図10を用いて詳述する。
図10に示すようにコマンド送信処理では、メイン制御部100は、まずCPU102の出力ポートに送信したいコマンドをセットする(S21)。次に、メイン制御部100は、賞球制御部200にコマンド受信処理を起動させるためのライト信号をONし、同時に賞球制御部200がメイン制御部100の出力ポートにセットしたコマンドを読取れるようにセレクト信号をONする(S22)。そして、しばらくその状態で待機した後(S23)、ライト信号をOFFして(S24)、さらに、読出しポインタを更新する(S25)。この読出しポインタは、送信するコマンドが複数ある場合等に、現在送信しているコマンドが何番目のコマンドであるかを管理するための情報である。これらの処理後、セレクト信号をOFF(S26)してコマンド送信処理を終了する。
このようにコマンド送信処理では、最初に出力ポートへのコマンドの設定が行われ、次にコマンドの送信開始(ライト信号・セレクト信号のON)が行われて、コマンドの送信が終了(セレクト信号のOFF)する。なお、本実施の形態でコマンドの送信開始から送信終了まで(セレクト信号がONされている時間)ある程度の時間を必要とするのは、コマンド受信処理を起動するためのライト信号が賞球制御部200のINT端子に入力するためである。すなわち、賞球制御部200においてコマンド受信処理が開始されるまでにある程度の時間が必要となるためである
上述した賞球コマンドの送信処理が終了すると、次ぎに送信球積算カウンタに送信球数を積算し(S15)、さらに入賞個数カウンタから減算を行って(S16)、賞球コマンド送信処理を終了する。したがって、入賞個数カウンタに記憶値がある場合には、その記憶値が0となるまで賞球コマンドが賞球制御部200に送信され、同時に、その送信によって賞球制御部200に命じた払出数が送信球積算カウンタに加算されることとなる。
In the winning ball command transmission process shown in FIG. 9B, the main control unit 100 first determines whether or not the winning number counter has a stored value (S13). When there is no stored value in the winning number counter [when step S13 is NO], the winning ball command transmission process is terminated, and when there is a stored value in the winning number counter (when step S13 is YES), the winning ball control is performed. A prize ball command transmission process is performed to pay out a prize ball to the unit 200 (S14). The command transmission process in step S14 will be described in detail with reference to FIG.
As shown in FIG. 10, in the command transmission process, the main control unit 100 first sets a command to be transmitted to the output port of the CPU 102 (S21). Next, the main control unit 100 turns on a write signal for causing the prize ball control unit 200 to start command reception processing, and at the same time, the prize ball control unit 200 can read a command set in the output port of the main control unit 100. The select signal is turned on (S22). Then, after waiting in that state for a while (S23), the write signal is turned off (S24), and the read pointer is updated (S25). This read pointer is information for managing which command is the currently transmitted command when there are a plurality of commands to be transmitted. After these processes, the select signal is turned OFF (S26), and the command transmission process is terminated.
As described above, in the command transmission process, the command is first set to the output port, then the command transmission is started (the write signal / select signal is turned ON), and the command transmission is ended (the select signal is transmitted). OFF). In this embodiment, a certain amount of time is required from the start of command transmission to the end of transmission (the time during which the select signal is ON) because the write signal for starting the command reception process is the prize ball control unit. This is for inputting to 200 INT terminals. That is, a certain amount of time is required until the command reception process is started in the prize ball control unit 200. After the above-described prize ball command transmission process is completed, the number of transmitted balls is then set in the transmission ball integration counter. Accumulated (S15), and further subtracted from the winning number counter (S16), and the winning ball command transmission process is terminated. Therefore, when there is a stored value in the winning number counter, a winning ball command is transmitted to the winning ball control unit 200 until the stored value becomes 0, and at the same time, the number of payouts commanded to the winning ball control unit 200 by the transmission. Is added to the transmission ball integrating counter.

図9(c)に示す賞球検出処理では、メイン制御部100は、まず払出装置30に設けた賞球検出センサ27でパチンコ球を検出したか否かを判断する(S17)。具体的には、賞球検出センサ27から出力された検出信号を受信したか否かで判断する。
賞球検出センサ27で賞球を検出していない場合〔ステップS17でNOの場合〕には賞球検出処理を終了し、賞球検出センサ27で賞球を検出している場合〔ステップS17でYESの場合〕には送信球数積算カウンタより検出したパチンコ球の数を減算する(S18)。そして、その送信球積算カウンタの値が0以上か否かを判断する(S19)。送信球数カウンタの値が0以上である場合〔ステップS19がYESの場合〕には賞球検出処理を終了する。一方、送信球数カウンタの値が0以上でない場合〔ステップS19がNOの場合〕には、払出装置30より余分にパチンコ球が払出されている異常な事態であるため、異常ランプを点灯することによりホール店員等に異常を報知する(S20)。
In the prize ball detection process shown in FIG. 9C, the main control unit 100 first determines whether or not a pachinko ball is detected by the prize ball detection sensor 27 provided in the payout device 30 (S17). Specifically, the determination is made based on whether or not the detection signal output from the winning ball detection sensor 27 has been received.
If no winning ball is detected by the winning ball detection sensor 27 (NO in step S17), the winning ball detection process is terminated, and if the winning ball is detected by the winning ball detection sensor 27 (in step S17). In the case of YES], the number of pachinko balls detected from the transmitted ball number integrating counter is subtracted (S18). Then, it is determined whether or not the value of the transmitted ball integration counter is 0 or more (S19). When the value of the transmitted ball number counter is 0 or more [when step S19 is YES], the prize ball detection process is terminated. On the other hand, when the value of the transmitted ball number counter is not equal to or greater than 0 (when step S19 is NO), it is an abnormal situation in which extra pachinko balls are being paid out from the payout device 30, and therefore the abnormal lamp is turned on. To inform the hall clerk etc. of the abnormality (S20).

以上、説明したことから明らかなように、メイン制御部100では、CTC割込み処理により入賞検出を行い、その入賞検出に基づいて通常のメイン処理において賞球制御部200に送信する賞球コマンドの作成が行われる。作成された賞球コマンドは、CTC割込み処理において賞球制御部200に送信されることとなる。
また、メイン制御部100では、賞球制御部200に賞球コマンドを送信する毎に送信球数積算カウンタに送信球数を積算し、払出装置30に設けた賞球検出センサ27から出力された検出信号を受信する毎に送信球数積算カウンタから払出球数を減算する。そして、この送信積算カウンタの値により、送信球数より多くの払出球数が払出される異常な場合(例えば、払出装置30の故障)を判断することとしている。
As is apparent from the above description, the main control unit 100 detects a winning by CTC interrupt processing, and creates a winning ball command to be transmitted to the winning ball control unit 200 in the normal main processing based on the winning detection. Is done. The created prize ball command is transmitted to the prize ball control unit 200 in the CTC interruption process.
In addition, the main control unit 100 accumulates the number of transmitted balls in the transmitted ball number counter every time a prize ball command is transmitted to the prize ball control unit 200, and is output from the prize ball detection sensor 27 provided in the payout device 30. Every time a detection signal is received, the number of payout balls is subtracted from the transmitted ball count counter. Then, based on the value of the transmission integration counter, an abnormal case (for example, a failure of the payout device 30) is determined in which a payout ball number that is larger than the transmitted ball number is paid out.

(2)電源投入時の処理(賞球制御部)
次ぎに、賞球制御部200の動作について、図11〜図14に基づいて説明する。なお、賞球制御部200においては、メイン制御部100から出力されたライト信号(INT端子入力)による割込み処理によりメイン制御部100から送信されたコマンドを受信するコマンド受信処理が行われ、また、駆動モータ25を駆動するための駆動信号を出力する処理や、回転検出センサ29、賞球検出センサ27等のセンサから出力された検出信号を受信する処理等のような信号の入出力処理は、賞球制御部200に設けたCTCカウンタによる所定周期(本実施の形態では、4ms)毎の割込み処理により行われる。そこで、まずは賞球制御部200における通常の処理について図11、図12を参照して先に説明し、次いでコマンド受信処理やCTCカウンタによる割込み処理(以下、単にCTC割込み処理という)について図13、図14を参照して説明する。
(2) Processing at power-on (prize ball control unit)
Next, the operation of the prize ball control unit 200 will be described with reference to FIGS. In the prize ball control unit 200, a command reception process for receiving a command transmitted from the main control unit 100 by an interrupt process using a write signal (INT terminal input) output from the main control unit 100 is performed. Signal input / output processing, such as processing for outputting a drive signal for driving the drive motor 25, processing for receiving a detection signal output from a sensor such as the rotation detection sensor 29, the prize ball detection sensor 27, etc. This is performed by interruption processing at predetermined intervals (4 ms in the present embodiment) by a CTC counter provided in the prize ball control unit 200. Therefore, first, normal processing in the prize ball control unit 200 will be described first with reference to FIGS. 11 and 12, and next, command reception processing and interrupt processing by a CTC counter (hereinafter simply referred to as CTC interrupt processing) will be described with reference to FIG. This will be described with reference to FIG.

図11に示すように、賞球制御部200においても、メイン制御部100と同様、まず初期化処理が行われ(S27)、次いでRAM消去スイッチがON(出力)されたかどうかを判断する(S28)。RAM消去スイッチがONされている場合〔ステップS28でYES〕にはステップS30に進み、RAM消去スイッチがONされていない場合〔ステップS28でNOの場合〕には、次ぎにRAM206に異常があるかないかを判断する(S29)。
そして、RAM206に異常があった場合〔ステップS29でYESの場合〕にはステップS30に進み、RAM206に異常が無かった場合〔ステップS29でNOの場合〕には保存した情報に基づいて処理を再開する復電処理に移行する(S36)。この賞球制御部200における復電処理についても、後で詳述する。
ステップS30では、賞球制御部200はRAM206に記憶した情報をクリアし、以下に説明するメインの処理に移行する。
As shown in FIG. 11, in the prize ball control unit 200 as well as the main control unit 100, first, initialization processing is performed (S27), and then it is determined whether or not the RAM erase switch is turned on (output) (S28). ). If the RAM erase switch is turned on (YES in step S28), the process proceeds to step S30. If the RAM erase switch is not turned on (NO in step S28), there is next an abnormality in the RAM 206. Is determined (S29).
If there is an abnormality in the RAM 206 (YES in step S29), the process proceeds to step S30. If there is no abnormality in the RAM 206 (NO in step S29), the process is resumed based on the stored information. The process proceeds to the power recovery process (S36). The power recovery process in the winning ball control unit 200 will also be described in detail later.
In step S30, the prize ball control unit 200 clears the information stored in the RAM 206, and shifts to a main process described below.

メイン処理に移行すると、まず、メイン制御部100から送信されたコマンドの解析処理を行う(S31)。すなわち、メイン制御部100から送信されたコマンドがどの種類のコマンド(例えば、賞球の開始を許可する賞球可コマンド、球切れ等の原因により賞球を禁止する賞球不可コマンド、所定の球数の払出を命じる賞球コマンド等)であるかを解析する。このコマンド解析処理について図12を参照して説明する。
図12に示すようにコマンド解析処理では、まずセレクト信号がONされているか否かを判断する(S36)。すなわち、メイン制御部100がコマンド送信処理中であるか否かを判断する。
セレクト信号がONされている場合〔ステップS36でYESの場合〕にはそのままコマンド解析処理を終了し、セレクト信号がONされていない場合〔ステップS36でNOの場合〕には、次にNMIコマンドバッファの値が0か否かを判断する(S37)。すなわち、本実施の形態では、通電時に受信したコマンドを記憶するコマンドバッファと、停電信号を受信した時にCPU202の入力ポートに受信しているコマンドを記憶するNMIコマンドバッファがRAM206内に設けられている。したがって、停電が発生するタイミング(停電前にコマンドをコマンドバッファに取込んでいる場合等)によっては、これら二つのコマンドバッファに同一のコマンドが格納されていることとなる。このため、本実施の形態では同一コマンドの二度読みを防止するため、NMIコマンドバッファのコマンドを優先する(コマンドバッファのデータを無効とする)こととしている。したがって、セレクト信号の状態を確認した後、ステップS37の処理でまずNMIコマンドバッファが0か否かが判断される。
When shifting to the main process, first, an analysis process of the command transmitted from the main control unit 100 is performed (S31). That is, the command transmitted from the main control unit 100 is any type of command (for example, a winning ball permission command for allowing the starting of a winning ball, a winning ball disabling command for prohibiting a winning ball due to a cause such as a broken ball, a predetermined ball Whether the command is a prize ball command or the like commanding the number to be paid out. This command analysis processing will be described with reference to FIG.
As shown in FIG. 12, in the command analysis process, it is first determined whether or not the select signal is ON (S36). That is, it is determined whether or not the main control unit 100 is performing command transmission processing.
If the select signal is ON (YES in step S36), the command analysis process is terminated. If the select signal is not ON (NO in step S36), then the NMI command buffer It is determined whether or not the value of 0 is 0 (S37). In other words, in the present embodiment, a command buffer that stores commands received during energization and an NMI command buffer that stores commands received at the input port of CPU 202 when a power failure signal is received are provided in RAM 206. . Therefore, the same command is stored in these two command buffers depending on the timing at which a power failure occurs (for example, when commands are taken into the command buffer before the power failure). Therefore, in this embodiment, in order to prevent the same command from being read twice, the command in the NMI command buffer is given priority (the data in the command buffer is invalidated). Therefore, after confirming the state of the select signal, it is first determined in step S37 whether the NMI command buffer is 0 or not.

NMIコマンドバッファの値が0の場合〔ステップS37でYESの場合〕には、次にコマンド読込ポインタとコマンド書込ポインタの値が一致するか否かを判断する(S38)。すなわち、本実施の形態では、後で説明するコマンド受信処理においてメイン制御部100から送信されたコマンドをコマンドバッファに格納したときコマンド書込ポインタの値を1更新し、また、コマンド解析処理においてこの書込んだコマンドを解析したときコマンド読込ポインタの値を1更新する。したがって、コマンドバッファに格納したコマンドをすでに解析している場合には、コマンド書込ポインタとコマンド読込ポインタの値は一致し、逆にコマンドバッファに格納したコマンドを解析していない場合にはこれら両ポインタの値が不一致となる。したがって、ステップS38では同一コマンドを2回解析することがないように、まずコマンド読込ポインタの値とコマンド書込ポインタの値が一致するか否かを判断する。
コマンド読込ポインタの値とコマンド書込ポインタの値が一致する場合〔ステップS38でYESの場合〕には、既にコマンド解析が終了しているので、そのままコマンド解析処理を終了する。逆にコマンド読込ポインタの値とコマンド書込ポインタの値が一致しない場合〔ステップS38でNOの場合〕には、コマンドバッファの値を解析し(S39)、コマンド読込ポインタの値を1更新しさらにコマンドバッファの値を0クリアして(S40)、コマンド解析処理を終了する。
If the value of the NMI command buffer is 0 [YES in step S37], it is next determined whether or not the values of the command read pointer and the command write pointer match (S38). That is, in the present embodiment, when the command transmitted from the main control unit 100 in the command reception process described later is stored in the command buffer, the value of the command write pointer is updated by 1, and the command analysis process When the written command is analyzed, the value of the command read pointer is updated by one. Therefore, if the command stored in the command buffer has already been analyzed, the values of the command write pointer and the command read pointer match, and conversely if the command stored in the command buffer has not been analyzed, The pointer values do not match. Therefore, in step S38, it is first determined whether or not the value of the command read pointer matches the value of the command write pointer so that the same command is not analyzed twice.
If the value of the command read pointer matches the value of the command write pointer (YES in step S38), command analysis has already been completed, so the command analysis processing is terminated as it is. Conversely, if the value of the command read pointer does not match the value of the command write pointer (NO in step S38), the value of the command buffer is analyzed (S39), and the value of the command read pointer is updated by one. The value of the command buffer is cleared to 0 (S40), and the command analysis process is terminated.

一方、NMIコマンドバッファの値が0でない場合〔ステップS37でNOの場合〕には、NMIコマンドバッファのコマンドを解析する(S41)。そして、コマンド書込ポインタの値をコマンド読込ポインタの値、すなわち両ポインタの値を一致させる(S42)。これにより次回のコマンド解析処理の際にはステップS38の判断がYESとなるため、ステップS39の処理(コマンドバッファの値を解析する処理)に移行することが防止される。したがって、例えば、停電前に受信したコマンドをコマンドバッファに格納し、停電発生後に再度同一のコマンドをNMIコマンドバッファに格納するような場合において、同一のコマンド(コマンドバッファに格納されたコマンド)が再度解析されることはない。
ステップS42が終わると、最後にNMIコマンドバッファの値を0クリアしてコマンド解析処理を終了する。
On the other hand, if the value of the NMI command buffer is not 0 (NO in step S37), the command of the NMI command buffer is analyzed (S41). Then, the value of the command write pointer is matched with the value of the command read pointer, that is, the values of both pointers (S42). As a result, in the next command analysis process, the determination in step S38 is YES, so that it is prevented from proceeding to the process in step S39 (process for analyzing the value of the command buffer). Therefore, for example, when the command received before the power failure is stored in the command buffer and the same command is stored again in the NMI command buffer after the power failure occurs, the same command (command stored in the command buffer) It will not be analyzed.
When step S42 ends, the value of the NMI command buffer is finally cleared to 0 and the command analysis process ends.

コマンド解析処理の結果、受信したコマンドが賞球コマンドであった場合には、そのコマンドによって遊技者に払出すパチンコ球の数を賞球積算カウンタに加算し(S32)、同様にそのコマンドによって遊技者に払出すパチンコ球の数を賞球加減カウンタに加算する(S33)。次いで、上述した賞球加減カウンタに記憶した払出なければならないパチンコ球の数に基づいて、モータ25を駆動するための駆動データを作成する(S34)。次いで、何らかの異常(例えば、払出装置30から賞球を払出しすぎた場合等)がある場合には、その異常をホール店員等に知らせるエラー処理が行われる(S35)。このエラー処理が行われると、賞球制御部200はステップS31に戻って、S31からの処理を繰り返すこととなる。   As a result of the command analysis process, if the received command is a prize ball command, the number of pachinko balls to be paid out to the player by the command is added to the prize ball accumulation counter (S32), and similarly, The number of pachinko balls to be paid out to the player is added to the prize ball adjustment counter (S33). Next, drive data for driving the motor 25 is created based on the number of pachinko balls to be paid out stored in the above-mentioned prize ball adjustment counter (S34). Next, when there is some abnormality (for example, when award balls are paid out too much from the payout device 30), an error process is performed to notify the hall clerk about the abnormality (S35). When this error process is performed, the winning ball control unit 200 returns to step S31 and repeats the process from S31.

次ぎに、図13を参照して賞球制御部200におけるコマンド受信処理、図14を参照して賞球制御部200における入出力処理について説明する。
図13に示すコマンド受信処理では、まず賞球制御部200のCPU202がコマンド受信処理を行うために必要な領域を確保するため、所定のレジスタの内容を他の場所に退避させる(S44)。次に、ステップS44で確保した領域に入力ポートのコマンドを入力し(S45)、そして、セレクト信号がONとなっているかどうかを判断する(S46)。
セレクト信号がONとなっていない場合〔ステップS46でNOの場合〕には、メイン制御部100が送信状態になっていないためステップS49の処理に進む。逆に、セレクト信号がONとなっている場合〔ステップS46でYESの場合〕には、ステップS45で入力したコマンドをコマンドバッファに格納する(S47)。次いで書込ポインタの値を更新し(S48)、ステップS49に進む。ステップS49では、ステップS44の処理で退避したレジスタを元に復帰させる(S49)。これによりコマンド受信処理を終了する。
Next, command reception processing in the prize ball control unit 200 will be described with reference to FIG. 13, and input / output processing in the prize ball control unit 200 will be described with reference to FIG.
In the command reception process shown in FIG. 13, first, the CPU 202 of the prize ball control unit 200 saves the contents of a predetermined register to another place in order to secure an area necessary for the command reception process (S44). Next, an input port command is input to the area secured in step S44 (S45), and it is determined whether the select signal is ON (S46).
If the select signal is not ON [NO in step S46], the main control unit 100 is not in the transmission state, and the process proceeds to step S49. Conversely, if the select signal is ON [YES in step S46], the command input in step S45 is stored in the command buffer (S47). Next, the value of the write pointer is updated (S48), and the process proceeds to step S49. In step S49, the register saved in the process of step S44 is restored to the original (S49). This completes the command reception process.

図14に示す入出力処理では、まず図11に示すステップS34の駆動データ作成処理により作成された駆動データを、払出装置30のモータ25に出力する(S50)。具体的には、出力処理回路212を介して駆動信号をモータ25に出力する。
駆動信号を出力すると、次に払出装置30からパチンコ球が払出されたか否かを判断する(S51)。具体的には、賞球検出センサ27でパチンコ球を検出することにより出力される検出信号を、賞球制御部200で受信したか否かで判断する。検出信号を受信していない場合〔ステップS51でNOの場合〕にはステップS53に進み、検出信号を受信している場合〔ステップS51でYESの場合〕には、払出積算カウンタに検出したパチンコ球数を加算する(S52)。
次ぎに、賞球制御部200は、払出装置30の回転球受け体34が所定角度回転したか否かを判断する(S53)。具体的には、払出装置30に設けた回転検出センサ29から出力された検出信号を、賞球制御部200が受信したか否かで判断する。
回転検出センサ29から出力された検出信号を賞球制御部200で受信した場合〔ステップS53でYESの場合〕には賞球加減カウンタから1減算し(S54)、次に賞球加減カウンタが0以上か否かを判断する(S55)。賞球加減カウンタが0より大きい場合〔ステップS55でYESの場合〕には、払出すべき賞球がまだ払出されていないので、ステップS50に戻ってステップS50からの処理を繰り返す。逆に、賞球加減カウンタが0以下の場合〔ステップS55でNOの場合〕には、ステップS56に進む。
一方、回転検出センサ29から出力された検出信号を賞球制御部200が受信していない場合〔ステップS53でNOの場合〕には、ステップS50の駆動信号を出力してから所定時間が経過したか否かが判断される(S60)。所定時間経過していない場合〔ステップS60でNOの場合〕には、ステップS50に戻り、所定時間が経過するまでステップS53までの処理を繰り返す。逆に、所定時間が経過している場合〔ステップS60でYESの場合〕には、球ガミ処理を行う(S61)。すなわち、ステップS50で駆動信号を出力してから所定時間経過しても回転検出センサ29から出力される検出信号を受信できない場合は、何らかの原因でパチンコ球が噛み込んで回転球受け体34が回転できない状態であると考えられる。このため、モータ25を交互に回転させる処理(球ガミ処理)を行うことで球ガミ状態を解消する。球ガミ処理が終わると、再度ステップS50に戻って上述した処理を繰り返す。
In the input / output process shown in FIG. 14, the drive data created by the drive data creation process in step S34 shown in FIG. 11 is first output to the motor 25 of the payout device 30 (S50). Specifically, a drive signal is output to the motor 25 via the output processing circuit 212.
When the drive signal is output, it is next determined whether or not the pachinko ball has been paid out from the payout device 30 (S51). Specifically, it is determined whether or not a detection signal output by detecting a pachinko ball with the prize ball detection sensor 27 is received by the prize ball control unit 200. If a detection signal has not been received (NO in step S51), the process proceeds to step S53. If a detection signal has been received (YES in step S51), the pachinko ball detected by the payout integration counter is detected. The number is added (S52).
Next, the winning ball control unit 200 determines whether or not the rotating ball receiver 34 of the payout device 30 has rotated a predetermined angle (S53). Specifically, it is determined by whether or not the prize ball control unit 200 has received a detection signal output from the rotation detection sensor 29 provided in the payout device 30.
When the detection signal output from the rotation detection sensor 29 is received by the prize ball control unit 200 (in the case of YES at step S53), 1 is subtracted from the prize ball addition / subtraction counter (S54), and then the prize ball addition / subtraction counter is 0. It is determined whether or not this is the case (S55). If the prize ball addition / subtraction counter is larger than 0 (YES in step S55), the prize ball to be paid out has not been paid out, so the process returns to step S50 and the processing from step S50 is repeated. Conversely, if the prize ball addition / decrement counter is 0 or less (NO in step S55), the process proceeds to step S56.
On the other hand, when the winning ball control unit 200 has not received the detection signal output from the rotation detection sensor 29 (NO in step S53), a predetermined time has elapsed since the drive signal in step S50 was output. Is determined (S60). If the predetermined time has not elapsed [NO in step S60], the process returns to step S50, and the processing up to step S53 is repeated until the predetermined time elapses. On the contrary, if the predetermined time has elapsed (YES in step S60), a ball biting process is performed (S61). That is, if the detection signal output from the rotation detection sensor 29 cannot be received even after a predetermined time has elapsed since the drive signal was output in step S50, the pachinko ball is bitten for some reason and the rotating ball receiver 34 rotates. It is thought that it is in an incapable state. For this reason, the ball smear state is eliminated by performing a process of rotating the motor 25 alternately (a ball smear process). When the ball smearing process is completed, the process returns to step S50 again to repeat the above-described process.

ステップS56の処理では、賞球加減カウンタの値が0か否かが判断される(S56)。賞球加減カウンタの値が0でない場合、すなわち賞球加減カウンタの値が0より小さい場合〔ステップS56でNOの場合〕には、払出装置30から賞球を払出しすぎている状態(異常状態)であるため入出力処理を終了する。なお、この異常状態は、図11に示すステップS35のエラー処理で店員等に報知される。
賞球加減カウンタの値が0の場合〔ステップS56でYESの場合〕には、モータ25を停止させ(S57)、賞球積算カウンタの値と払出積算カウンタの値が一致するか否かを判断する(S58)。賞球積算カウンタの値と払出積算カウンタの値が一致する場合〔ステップS58でYESの場合〕には入出力処理を終了し、賞球積算カウンタの値と払出積算カウンタの値が不一致の場合〔ステップS58でNOの場合〕には、払出すべき賞球が実際には払出されていない状態なので、賞球積算カウンタの値と払出積算カウンタの値が一致するまで賞球を払出す処理(リトライ処理)を行う(S59)。
In the process of step S56, it is determined whether or not the value of the winning ball addition / subtraction counter is 0 (S56). When the value of the winning ball addition / subtraction counter is not 0, that is, when the value of the winning ball addition / subtraction counter is smaller than 0 (NO in step S56), a state where an excessive amount of winning balls is paid out from the payout device 30 (abnormal state). Therefore, the input / output process is terminated. This abnormal state is notified to a store clerk or the like by the error process in step S35 shown in FIG.
If the value of the prize ball addition / subtraction counter is 0 [YES in step S56], the motor 25 is stopped (S57), and it is determined whether or not the value of the prize ball accumulation counter matches the value of the payout accumulation counter. (S58). When the value of the winning ball integration counter matches the value of the payout integration counter (in the case of YES in step S58), the input / output processing is terminated, and when the value of the winning ball integration counter and the value of the payout integration counter do not match [ In the case of NO in step S58], since the prize ball to be paid out is not actually paid out, the process of paying out the prize ball until the value of the prize ball integration counter matches the value of the payout integration counter (retry) Process) (S59).

以上、説明したことから明らかなように、賞球制御部200では、メイン制御部100から出力されたライト信号による割込み処理により図13に示すコマンド受信処理を行い、その受信したコマンドは図11、図12に示す通常の処理において解析され、駆動データが作成される。そして、この駆動データは、図14に示すCTC割込み処理による入出力処理によりモータ25に出力され払出装置30から所定個数のパチンコ球が払出される。
このコマンドを受信する賞球制御部200では、コマンドバッファにコマンドを格納した(書込んだ)ときに書込みポインタを更新し、この書込んだコマンドを解析したときに読込ポインタを更新する。そして、書込ポインタと読込ポインタが一致するようコマンド解析処理することによって、コマンドバッファに格納したデータが二度解析されることを防止している。
また、賞球制御部200では、メイン制御部100から送信されたコマンドにより規定される払出球数を賞球加減カウンタに加算する。そして、回転検出センサ29から出力された検出信号を受信する毎に賞球加減カウンタの値を減算し、賞球加減カウンタの値が0となるまで払出装置30のモータ25を駆動する。これにより、メイン制御部100から送信されたコマンドにより規定される賞球数だけパチンコ球が払出されるよう払出装置30のモータ25が回転される。
さらに、賞球制御部200では、メイン制御部100から送信されたコマンドにより規定される払出球数を賞球積算カウンタに加算し、一方、払出装置30から払出されたパチンコ球を賞球検出センサ27で検出し、その検出信号を払出積算カウンタに積算する。そして、賞球積算カウンタと払出積算カウンタの値が一致するまで、払出装置30からパチンコ球が払出されるように制御する(図14のステップS59のリトライ処理)。したがって、何らかの原因で回転球受け体34が回転したにもかかわらず、パチンコ球が払出されないことによって未払い状態となることを防止することができる。
As is apparent from the above description, the prize ball control unit 200 performs the command reception process shown in FIG. 13 by the interrupt process using the write signal output from the main control unit 100, and the received command is shown in FIG. Analysis is performed in the normal processing shown in FIG. 12, and drive data is created. Then, this drive data is output to the motor 25 by the input / output process by the CTC interruption process shown in FIG. 14, and a predetermined number of pachinko balls are paid out from the payout device 30.
The winning ball control unit 200 that receives this command updates the write pointer when the command is stored (written) in the command buffer, and updates the read pointer when the written command is analyzed. Then, the command analysis processing is performed so that the write pointer matches the read pointer, thereby preventing the data stored in the command buffer from being analyzed twice.
Also, the prize ball control unit 200 adds the number of payout balls specified by the command transmitted from the main control unit 100 to the prize ball addition / subtraction counter. Each time the detection signal output from the rotation detection sensor 29 is received, the value of the prize ball addition / subtraction counter is subtracted, and the motor 25 of the payout device 30 is driven until the value of the prize ball addition / subtraction counter becomes zero. As a result, the motor 25 of the payout device 30 is rotated so that the number of pachinko balls paid out is the number of prize balls specified by the command transmitted from the main control unit 100.
Further, the prize ball control unit 200 adds the number of payout balls specified by the command transmitted from the main control unit 100 to the prize ball accumulation counter, while the pachinko ball paid out from the payout device 30 is used as a prize ball detection sensor. 27, and the detection signal is integrated into the payout integration counter. Then, control is performed so that the pachinko balls are paid out from the payout device 30 until the values of the prize ball integration counter and the payout integration counter match (retry processing in step S59 in FIG. 14). Therefore, it can be prevented that the pachinko ball is not paid out because the pachinko ball is not paid out even though the rotating ball receiver 34 is rotated for some reason.

(3)電源遮断時の処理(メイン制御部、賞球制御部)
次に、停電や不意の電源OFFによりパチンコ機10への電源供給が遮断された時のパチンコ機10の動作を説明する。
外部電源からパチンコ機10への電源供給が遮断されると、電源部120に設けられた停電検出部130からメイン制御部100及び賞球制御部200に向かって停電信号が出力される。停電検出部130から出力された停電信号は、メイン制御部100及び賞球制御部200に設けられたフィルタ回路170、214にそれぞれ入力する。このフィルタ回路170、214は、既に説明したように構成されているため、フィルタ回路170、214に停電信号が入力してから所定タイミング(フィルタ回路170,214のクロック信号の6(又は7)番目のクロック信号の立ち上がるタイミング)でフィルタ回路170、214から信号が出力される。したがって、フィルタ回路170、214から出力された信号は、メイン制御部100及び賞球制御部200のNMI端子(ノンマスカラブルインタラプト端子)に略同時に入力し、これらの制御部では以下に説明する停電処理が行われる。
なお、停電信号出力後の所定時間(以下に説明する停電処理を行うために必要となる時間)のあいだメイン制御部100及び賞球制御部200に対して供給される電力は、既に述べたように電源部120のコンデンサC1に通電時に蓄えられた電力により賄われる。
(3) Processing at power-off (main control unit, prize ball control unit)
Next, the operation of the pachinko machine 10 when the power supply to the pachinko machine 10 is interrupted due to a power failure or unexpected power OFF will be described.
When power supply from the external power source to the pachinko machine 10 is interrupted, a power failure signal is output from the power failure detection unit 130 provided in the power source unit 120 toward the main control unit 100 and the prize ball control unit 200. The power failure signal output from the power failure detection unit 130 is input to the filter circuits 170 and 214 provided in the main control unit 100 and the prize ball control unit 200, respectively. Since the filter circuits 170 and 214 are configured as described above, a predetermined timing (sixth (or seventh) of the clock signal of the filter circuits 170 and 214) is input after the power failure signal is input to the filter circuits 170 and 214. The signal is output from the filter circuits 170 and 214 at the timing when the clock signal rises. Therefore, the signals output from the filter circuits 170 and 214 are input to the NMI terminals (non-massable interrupt terminals) of the main control unit 100 and the prize ball control unit 200 almost simultaneously, and these control units perform the power failure described below. Processing is performed.
Note that the power supplied to the main control unit 100 and the prize ball control unit 200 during a predetermined time after the power failure signal is output (the time required to perform the power failure process described below) is as described above. In addition, the capacitor C1 of the power supply unit 120 is covered by electric power stored during energization.

まず、停電信号を受信したメイン制御部100において行われる処理について図15に基づいて説明する。
図15に示すように、メイン制御部100はRAM106のレジスタ及びスタックポインタをRAM106の所定の領域に記憶させる(S60)。次ぎに、停電が復帰したときの処理のために、停電信号受信時にCPU102の出力ポートに設定されているコマンドをRAM106の所定のアドレスに記憶する(S61)。
そして、停電信号出力後に賞球検出センサ27から出力される検出信号を監視しなければならない時間を規定するカウント値をRAM106の所定のレジスタにセットし(S62)、このセットしたカウント値だけカウントダウンを開始する。なお、ステップS62でセットされるカウント値により規定される時間は、払出装置30の機械的特性、すなわち、モータ25に駆動信号を出力してから、賞球検出センサ27でパチンコ球を検出するまでに要する時間を考慮して決められている。
カウントダウンが開始されると、次ぎに内側の賞球用球誘導路32aに設けた賞球センサ27から出力された検出信号を賞球制御部200が受信したか否かを判断する(S63)。検出信号を受信している場合〔ステップS63でYESの場合〕には送信球数積算カウンタの値を1減算し(S64)、検出信号を受信していない場合〔ステップS63でNOの場合〕にはステップS65に進む。
ステップS65では、外側の賞球用球誘導路32aに設けた賞球センサ27から出力された検出信号を賞球制御部200が受信したか否かを判断する(S65)。検出信号を受信している場合〔ステップS65でYESの場合〕には送信球数積算カウンタの値を1減算し(S66)、検出信号を受信していない場合〔ステップS65でNOの場合〕にはステップS67に進む。
ステップS67では、停電信号を受信してから所定の時間が経過したか否かが判断される(S67)。具体的には、上記ステップS62でカウントを開始したカウント値が所定の値(本実施形態では、カウント値が0)となったか否かで判断する。そして、所定時間が経過していない場合〔ステップS67でNOの場合〕には、ステップS63の処理に戻りステップS63からの処理を繰り返す。
逆に、所定時間が経過している場合〔ステップS67でYESの場合〕には、次の処理に進み、チェックサム値を算出する(S68)。すなわち、RAM106の各レジスタの値を加算することでチェックサム値を求める。チェックサム値が算出されると、そのチェックサム値がRAM106の所定のアドレスに記憶され(S69)、RAM106へのアクセスが禁止される(S70)。これにより電源遮断時におけるメイン制御部100の処理が終了する。
なお、通電遮断時においてはRAM106には、別途電源部120に設けた情報保存用電源(コンデンサC5により構成)から電力が供給され、RAM106に記憶した情報が所定時間保持される。
First, the process performed in the main control part 100 which received the power failure signal is demonstrated based on FIG.
As shown in FIG. 15, the main control unit 100 stores the register and stack pointer of the RAM 106 in a predetermined area of the RAM 106 (S60). Next, for processing when the power failure is restored, the command set in the output port of the CPU 102 when the power failure signal is received is stored in a predetermined address of the RAM 106 (S61).
Then, a count value that defines the time during which the detection signal output from the prize ball detection sensor 27 must be monitored after the power failure signal is output is set in a predetermined register of the RAM 106 (S62), and the countdown is performed by the set count value. Start. The time defined by the count value set in step S62 is from the mechanical characteristics of the payout device 30, that is, from the time when the driving signal is output to the motor 25 until the winning ball detection sensor 27 detects the pachinko ball. It is determined in consideration of the time required for.
When the countdown is started, it is next determined whether or not the winning ball control unit 200 has received the detection signal output from the winning ball sensor 27 provided in the inner winning ball guiding path 32a (S63). When the detection signal is received (in the case of YES in step S63), the value of the transmitted ball count counter is decremented by 1 (S64), and when the detection signal is not received (in the case of NO in step S63). Advances to step S65.
In step S65, it is determined whether or not the winning ball control unit 200 has received the detection signal output from the winning ball sensor 27 provided on the outer winning ball guiding path 32a (S65). When the detection signal is received (in the case of YES in step S65), the value of the transmitted ball count counter is decremented by 1 (S66), and when the detection signal is not received (in the case of NO in step S65). Advances to step S67.
In step S67, it is determined whether or not a predetermined time has elapsed since the power failure signal was received (S67). Specifically, the determination is made based on whether or not the count value that started counting in step S62 has reached a predetermined value (in this embodiment, the count value is 0). If the predetermined time has not elapsed [NO in step S67], the process returns to step S63 and the processes from step S63 are repeated.
On the other hand, if the predetermined time has elapsed (YES in step S67), the process proceeds to the next process and a checksum value is calculated (S68). That is, the checksum value is obtained by adding the values of the registers in the RAM 106. When the checksum value is calculated, the checksum value is stored at a predetermined address in the RAM 106 (S69), and access to the RAM 106 is prohibited (S70). Thereby, the processing of the main control unit 100 at the time of power-off is completed.
Note that, when the energization is cut off, power is supplied to the RAM 106 from an information storage power supply (configured by a capacitor C5) provided separately in the power supply unit 120, and the information stored in the RAM 106 is held for a predetermined time.

次ぎに、停電信号を受信した際の賞球制御部200における処理について図16を参照して説明する。図16から明らかなように、賞球制御部200における処理も、基本的には図16に示すメイン制御部100における処理と同様の処理が行われる。すなわち、予め設定された時間だけタイマを作動させることにより賞球検出センサ27から出力される検出信号を監視し、監視時間が経過すると、チェックサムを算出・記憶してRAM206へのアクセスを禁止する点では同一である。
ただし、メイン制御部100ではCPU102の出力ポートに設定されているコマンドを記憶し、これを通電が回復するまでのあいだ保存するのに対して、賞球制御部200では停電信号受信時にCPU202の入力ポートに受信しているコマンドがあれば、そのコマンドをRAM206内のNMIコマンドバッファに記憶し、通電が回復するまでのあいだ保存する点で異なる。
すなわち、図16に示すように、賞球制御部200の電源遮断時の処理では、ステップS72で監視時間がセットされた後、まずセレクト信号がONとなっているか否かが判断される(S73)。セレクト信号がONとなっていない場合〔ステップS73でNOの場合〕には、メイン制御部100がコマンドを送信している状態ではないためステップS75の処理に進む。逆に、セレクト信号がONとなっている場合〔ステップS73でYESの場合〕には、入力ポートに受信しているコマンドをNMIコマンドバッファに格納(書込み)する(S74)。後は、メイン制御部100と同様の手順で賞球検出等の所定の処理を行い、賞球制御部200における電源遮断時の処理を終了する。
Next, processing in the prize ball control unit 200 when a power failure signal is received will be described with reference to FIG. As is clear from FIG. 16, the process in the prize ball control unit 200 is basically the same as the process in the main control unit 100 shown in FIG. That is, the detection signal output from the winning ball detection sensor 27 is monitored by operating a timer for a preset time, and when the monitoring time has elapsed, a checksum is calculated and stored, and access to the RAM 206 is prohibited. The point is the same.
However, the main control unit 100 stores the command set in the output port of the CPU 102 and stores it until the energization is restored, whereas the prize ball control unit 200 receives the input of the CPU 202 when the power failure signal is received. If there is a command received at the port, the command is stored in the NMI command buffer in the RAM 206 and stored until the power is restored.
That is, as shown in FIG. 16, in the process when the power of the prize ball control unit 200 is turned off, it is first determined whether or not the select signal is ON after the monitoring time is set in step S72 (S73). ). If the select signal is not ON (NO in step S73), the process proceeds to step S75 because the main control unit 100 is not in a state of transmitting a command. Conversely, if the select signal is ON (YES in step S73), the command received at the input port is stored (written) in the NMI command buffer (S74). After that, predetermined processing such as prize ball detection is performed in the same procedure as the main control unit 100, and the process at the time of power interruption in the prize ball control unit 200 is ended.

上述したことから明らかなように、メイン制御部100及び賞球制御部200は、停電信号を受信すると予め設定された時間だけタイマを作動させ、このタイマが作動している間、賞球検出センサ27から出力される検出信号を監視する。したがって、停電検出部130から停電信号が出力される直前に、賞球制御部200からモータ25に駆動信号が出力されるような場合においても、払出装置30から払出されるパチンコ球をメイン制御部100及び賞球制御部200において確実にカウントすることができる。
また、メイン制御部100では、停電信号受信時にCPU102の出力ポートに設定しているコマンドを通電が回復するまでのあいだ記憶・保持し、また、賞球制御部200では、停電信号受信時にメイン制御部100が送信処理を行っているか否かを判断し、送信処理を行っている場合にはCPU202の入力ポートに受信しているコマンドをRAM206内のNMIコマンドバッファに記憶・保持する。停電中保持されるこれらのコマンドは、次に説明する通電回復時の処理に用いられる。
さらに、メイン制御部100及び賞球制御部200は略同時にNMI端子に停電信号を受信し、略同時に上述した電源断時の処理を開始する。したがって、電源断時の処理で保存される情報(図15のステップS60、図16のステップS71)も略同時に保存されるため、通電回復時に両制御部で再開される処理に食い違いが生ずることを防止することができる。
As is clear from the above, the main control unit 100 and the prize ball control part 200 operate the timer for a preset time when receiving the power failure signal, and the prize ball detection sensor while the timer is operating. The detection signal output from 27 is monitored. Therefore, even when a driving signal is output from the prize ball control unit 200 to the motor 25 immediately before the power failure signal is output from the power failure detection unit 130, the main control unit 100 and the prize ball control unit 200 can reliably count.
In addition, the main control unit 100 stores and holds the command set in the output port of the CPU 102 at the time of power failure signal reception until energization is restored, and the prize ball control unit 200 performs main control at the time of power failure signal reception. The unit 100 determines whether or not transmission processing is being performed. If transmission processing is being performed, the command received at the input port of the CPU 202 is stored and held in the NMI command buffer in the RAM 206. These commands that are held during a power failure are used for the process at the time of energization recovery described below.
Further, the main control unit 100 and the prize ball control unit 200 receive the power failure signal at the NMI terminal substantially simultaneously, and start the above-described process when the power is turned off almost simultaneously. Accordingly, since the information stored in the process when the power is turned off (step S60 in FIG. 15 and step S71 in FIG. 16) is also stored almost simultaneously, there is a discrepancy between the processes restarted by both control units when power is restored. Can be prevented.

(4)通電回復時の処理(メイン制御部、賞球制御部)
次に、上述した電源遮断時における処理によりRAM106、206等に保存した情報を利用して処理を再開する際のメイン制御部100及び賞球制御部200の処理について、図17を参照して説明する。
本実施の形態に係るパチンコ機10において保存した情報を利用して電源遮断時の状態から遊技を再開する場合には、RAM消去スイッチを操作することなくパチンコ機10への電源投入を行う。
(4) Processing when power is restored (main control unit, prize ball control unit)
Next, the processing of the main control unit 100 and the prize ball control unit 200 when the processing is resumed using the information stored in the RAM 106, 206 or the like by the processing at the time of power-off described above will be described with reference to FIG. To do.
When the game is resumed from the power-off state using the information stored in the pachinko machine 10 according to the present embodiment, the power to the pachinko machine 10 is turned on without operating the RAM erase switch.

まず、メイン制御部100における処理について説明する。メイン制御部100は、図8に示すように、電源供給が開始されるとまず初期化処理を行い(S01)、次ぎにRAM消去スイッチがONされているか否か(S02)、RAM106に異常が発生しているか否かが判断される(S03)。しかる後、電源遮断時の状態から遊技を開始するための復電処理が開始される(S10)。このメイン制御部100における復電処理について図17(a)に基づいて説明する。
図17(a)に示すように、メイン制御部100は、まずスタックポインタを復帰させる(S84)。具体的には、電源遮断時の処理(図15に示すステップS60の処理)によりRAM106の所定の領域に記憶したスタックポインタを元の領域に復帰させる。次ぎに、停電信号受信時にCPU102の出力ポートに設定されていたコマンドを、出力ポートに再設定する(S85)。具体的には、電源遮断時の処理(図15に示すステップS61の処理)により格納したコマンドを出力ポートに再設定する。そして、電源遮断時の処理(図15に示すステップS60の処理)により記憶した全てのレジスタの内容を復帰する(S13)。したがって、スタックポインタ、レジスタ及び出力ポートの状態が電源遮断時の状態に回復されるため、メイン制御部100は電源遮断時(停電信号受信時)から処理を再開する。このため、例えば、コマンド設定後でライト信号・セレクト信号をONする前に停電となった場合には、通電回復時にライト信号・セレクト信号がONされ、ステップS85で設定されたコマンドが賞球制御部200に再送信されることとなる。
First, processing in the main control unit 100 will be described. As shown in FIG. 8, when the power supply is started, the main control unit 100 first performs an initialization process (S01), and then determines whether or not the RAM erase switch is turned on (S02). It is determined whether or not it has occurred (S03). Thereafter, power recovery processing for starting the game is started from the state when the power is shut off (S10). The power recovery process in the main control unit 100 will be described with reference to FIG.
As shown in FIG. 17A, the main control unit 100 first restores the stack pointer (S84). Specifically, the stack pointer stored in a predetermined area of the RAM 106 is restored to the original area by the process at the time of power-off (the process of step S60 shown in FIG. 15). Next, the command set to the output port of the CPU 102 when the power failure signal is received is reset to the output port (S85). Specifically, the command stored by the process at the time of power shutdown (the process of step S61 shown in FIG. 15) is reset to the output port. Then, the contents of all the registers stored by the power-off process (the process of step S60 shown in FIG. 15) are restored (S13). Therefore, since the state of the stack pointer, the register, and the output port is restored to the state at the time of power-off, the main control unit 100 resumes the process from the time of power-off (when a power failure signal is received). For this reason, for example, if a power failure occurs after the command is set and before the write signal / select signal is turned ON, the write signal / select signal is turned ON when the power is restored, and the command set in step S85 receives the prize ball control. It will be retransmitted to the unit 200.

賞球制御部200における処理も、メイン制御部100と同様に、図11に示すように、初期化処理が行われ(S27)、次いでRAM消去スイッチがONされたか否か(S28)、RAM206に異常があるか否かが判断される(S29)。しかる後、賞球制御部200は復電処理を開始する(S36)。
復電処理では、図17(b)に示すように、電源遮断時の処理(図16のステップS71の処理)で記憶したスタックポインタを復帰させ(S90)、次いで電源遮断時の処理(図16のステップS71の処理)で記憶した全てのレジスタを回復する(S91)。したがって、スタックポインタ及びレジスタの内容が電源遮断時の状態に回復されるため、賞球制御部200は電源遮断時から処理が再開される。
ここで、停電発生時(停電信号受信時)にメイン制御部100がコマンド送信中(セレクト信号ON状態)であれば、賞球制御部200は、電源遮断時の処理において入力ポートに受信したコマンドをNMIコマンドバッファに保存している。したがって、通電回復時における最初のコマンド解析処理(図12参照)においては、NMIコマンドバッファに保持されているコマンドが処理される。したがって、コマンド送信中に停電等が発生しても、その送信中のコマンドは賞球制御部200において確実に処理される。また、停電発生前に賞球制御部200のコマンドバッファに格納(書込み)されている場合には、NMIコマンドバッファに記憶したコマンドを優先することによりコマンドの二度読みを防止している。
As in the main control unit 100, the processing in the prize ball control unit 200 is also performed as shown in FIG. 11 (S27), and then whether or not the RAM erase switch is turned on (S28). It is determined whether there is an abnormality (S29). Thereafter, the winning ball control unit 200 starts power recovery processing (S36).
In the power recovery process, as shown in FIG. 17B, the stack pointer stored in the process at the time of power shutdown (the process of step S71 in FIG. 16) is restored (S90), and then the process at the time of power shutdown (FIG. 16). All the registers stored in step S71) are restored (S91). Accordingly, since the contents of the stack pointer and the register are restored to the state at the time of power-off, the prize ball control unit 200 resumes the processing from the time of power-off.
Here, if the main control unit 100 is transmitting a command (select signal ON state) when a power failure occurs (when a power failure signal is received), the prize ball control unit 200 receives the command received at the input port in the process when the power is shut off. Are stored in the NMI command buffer. Therefore, in the first command analysis process (see FIG. 12) when power is restored, the command held in the NMI command buffer is processed. Therefore, even if a power failure or the like occurs during command transmission, the command being transmitted is reliably processed by the prize ball control unit 200. If the command is stored (written) in the command buffer of the winning ball control unit 200 before the occurrence of a power failure, the command stored in the NMI command buffer is prioritized to prevent the command from being read twice.

上述したことから明らかなように、本実施の形態に係るパチンコ機10では、メイン制御部100及び賞球制御部200において略同時に停電信号が受信され電源断時の処理(図15、図16)が開始される。したがって、これらの処理により保存されるレジスタ・スタックポインタの情報も同じタイミングで格納されることとなり、その後の復電処理(図17)でメイン制御部100と賞球制御部200の動作を同期させることができる。
また、本実施の形態に係るパチンコ機10では、メイン制御部100及び賞球制御部200の両者に設けたフィルタ回路170,214によりノイズが除去されるため、メイン制御部100及び賞球制御部200がノイズ等により誤って電源断時の処理を開始してしまうことを防止することができる。
As is clear from the above description, in the pachinko machine 10 according to the present embodiment, the main control unit 100 and the prize ball control unit 200 receive a power failure signal almost simultaneously and process when the power is turned off (FIGS. 15 and 16). Is started. Accordingly, the register / stack pointer information saved by these processes is also stored at the same timing, and the operations of the main controller 100 and the prize ball controller 200 are synchronized in the subsequent power recovery process (FIG. 17). be able to.
Further, in the pachinko machine 10 according to the present embodiment, noise is removed by the filter circuits 170 and 214 provided in both the main control unit 100 and the prize ball control unit 200, so that the main control unit 100 and the prize ball control unit It is possible to prevent 200 from inadvertently starting the process when the power is cut off due to noise or the like.

以上、本発明の好適な一実施の形態について説明したが、本発明は上述した実施の形態に限られることなく、本発明は当業者の知識に基づいて種々の変更、改良を施した形態で実施することができる。   The preferred embodiment of the present invention has been described above, but the present invention is not limited to the above-described embodiment, and the present invention is in a form in which various modifications and improvements are made based on the knowledge of those skilled in the art. Can be implemented.

例えば、上述した実施の形態は、停電検出部130からメイン制御部100及び賞球制御部200に向かって停電信号を出力する場合に本発明を適用した例であったが、当然のことながら本発明のフィルタ回路は、停電検出部130から他の制御部(図柄表示器を制御する図柄制御部、スピーカを制御する音制御部、ランプ類を制御するランプ制御部等)に向かって停電信号を出力する場合にも適用することができる。
また、当然のことながら、各制御部に検出信号を出力する検出装置としては、上述した実施形態に示す停電検出装置には限られず、例えば、検出装置を枠開放センサとして、この枠開放センサから出力された検出信号に基づいて各制御部(メイン制御部100、賞球制御部200等)を緊急停止する場合等にも利用することができる。
For example, the above-described embodiment is an example in which the present invention is applied when a power failure signal is output from the power failure detection unit 130 toward the main control unit 100 and the prize ball control unit 200. The filter circuit of the invention sends a power failure signal from the power failure detection unit 130 to another control unit (a symbol control unit that controls the symbol display, a sound control unit that controls a speaker, a lamp control unit that controls lamps, etc.). This can also be applied to output.
Also, as a matter of course, the detection device that outputs a detection signal to each control unit is not limited to the power failure detection device shown in the above-described embodiment. For example, the detection device is a frame opening sensor, and this frame opening sensor This can also be used when each control unit (main control unit 100, prize ball control unit 200, etc.) is urgently stopped based on the output detection signal.

また、フィルタ回路170、214に設けたクロック信号の周期を可変として、遊技機が設置される遊技店の環境にあわせて除去するノイズの大きさを微調整できるような構成としてもよい。すなわち、遊技機が設置される遊技店によってはノイズが多く発生する場合(ノイズ信号自体が時間的に長い場合)もあり、このような場合にはクロック信号の周期を微調整して除去できる信号をより多くすることとしても良い。   In addition, the period of the clock signal provided in the filter circuits 170 and 214 may be variable so that the magnitude of noise to be removed can be finely adjusted in accordance with the environment of the game store where the gaming machine is installed. In other words, depending on the amusement store where the gaming machine is installed, there is a case where a lot of noise is generated (when the noise signal itself is long in time). It is good to make more.

なお、上述した実施の形態は本発明をパチンコ機に適用した例であったが、本発明はこの他にも、例えば、アレンジホール機(一定数の鋼球を遊技盤上に射出して所定の当たり状態を成立させるもの)、スロットマシン、雀球遊技機、パチスロ機等の各種遊技機にも適用することができる。   The embodiment described above is an example in which the present invention is applied to a pachinko machine. However, the present invention is not limited to this, for example, an arrangement hall machine (a predetermined number of steel balls are injected onto a game board to It can also be applied to various gaming machines such as slot machines, sparrow ball machines, and pachislot machines.

10・・パチンコ機
27・・賞球検出センサ
29・・回転検出センサ
30・・払出装置
34・・回転球受け体
100・・メイン制御部
200・・賞球制御部
10. Pachinko machine 27. Prize ball detection sensor 29. Rotation detection sensor 30. Dispensing device 34. Rotating ball receiver 100. Main control part 200. Prize ball control part.

Claims (2)

検出装置と、その検出装置から出力される検出信号を受信する複数の制御装置と、前記検出装置と前記複数の制御装置のそれぞれとを接続する複数の信号ラインを備えた遊技機であって、
前記複数の信号ラインのそれぞれにはフィルタ回路が設けられており、
そのフィルタ回路が、そのフィルタ回路への入力信号の状態が所定の状態となり、その状態が所定期間維持されたときに、信号を出力するように構成されていることを特徴とする遊技機。
A gaming machine comprising a detection device, a plurality of control devices that receive detection signals output from the detection device, and a plurality of signal lines that connect the detection device and each of the plurality of control devices,
Each of the plurality of signal lines is provided with a filter circuit,
A gaming machine, wherein the filter circuit is configured to output a signal when a state of an input signal to the filter circuit becomes a predetermined state and the state is maintained for a predetermined period.
外部電源からの電力の供給が遮断されたことを検出する停電検出部と、該停電検出部から出力される停電信号を受信すると所要の情報を保存し、外部電源からの電力供給が回復すると、その保存した情報に基づいて制御を再開する複数の制御部を備えた遊技機であって、
前記停電検出部から出力された検出信号が、デジタルフィルタ回路を介して前記制御部に入力するように構成したことを特徴とする遊技機。
When a power failure detection unit that detects that the power supply from the external power source is cut off, and when a power failure signal output from the power failure detection unit is received, the required information is saved, and when the power supply from the external power source is restored, A gaming machine comprising a plurality of control units that resume control based on the stored information,
A gaming machine, wherein the detection signal output from the power failure detection unit is input to the control unit via a digital filter circuit.
JP2009165028A 2009-07-13 2009-07-13 Game machine Expired - Fee Related JP4590576B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009165028A JP4590576B2 (en) 2009-07-13 2009-07-13 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009165028A JP4590576B2 (en) 2009-07-13 2009-07-13 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000187979A Division JP4375512B2 (en) 2000-06-22 2000-06-22 Game machine

Publications (3)

Publication Number Publication Date
JP2009233356A true JP2009233356A (en) 2009-10-15
JP2009233356A5 JP2009233356A5 (en) 2010-01-28
JP4590576B2 JP4590576B2 (en) 2010-12-01

Family

ID=41248026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009165028A Expired - Fee Related JP4590576B2 (en) 2009-07-13 2009-07-13 Game machine

Country Status (1)

Country Link
JP (1) JP4590576B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04357973A (en) * 1991-05-28 1992-12-10 Sophia Co Ltd Discharge control system for pinball game machine
JPH0512452A (en) * 1990-11-20 1993-01-22 Fujitsu Ten Ltd Data processor
JPH10337363A (en) * 1997-02-20 1998-12-22 Heiwa Corp Discharging device of pachinko machine
JP2000107401A (en) * 1998-08-07 2000-04-18 Heiwa Corp Prize ball delivery apparatus for pachinko machine
JP2001239040A (en) * 2000-02-25 2001-09-04 Sophia Co Ltd Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512452A (en) * 1990-11-20 1993-01-22 Fujitsu Ten Ltd Data processor
JPH04357973A (en) * 1991-05-28 1992-12-10 Sophia Co Ltd Discharge control system for pinball game machine
JPH10337363A (en) * 1997-02-20 1998-12-22 Heiwa Corp Discharging device of pachinko machine
JP2000107401A (en) * 1998-08-07 2000-04-18 Heiwa Corp Prize ball delivery apparatus for pachinko machine
JP2001239040A (en) * 2000-02-25 2001-09-04 Sophia Co Ltd Game machine

Also Published As

Publication number Publication date
JP4590576B2 (en) 2010-12-01

Similar Documents

Publication Publication Date Title
JP4465568B2 (en) Game machine
JP2001347044A (en) Game machine and method of processing command in game machine
JP3811794B2 (en) Game machine
JP4375512B2 (en) Game machine
JP4590576B2 (en) Game machine
JP5509506B1 (en) Game machine
JP2001340603A (en) Game machine and information preserving method in interruption of electric energization
JP4249358B2 (en) Game machine
JP4419000B2 (en) Game machine
JP4370448B2 (en) Game machine
JP2008086789A (en) Game machine
JP4023767B2 (en) Game machine
JP2001204946A (en) Game machine
JP4744591B2 (en) Game machine
JP2007296029A (en) Game machine
JP4748543B2 (en) Game machine
JP4748547B2 (en) Game machine
JP4877860B2 (en) Game machine
JP2009061344A (en) Game machine
JP2009061348A (en) Game machine
JP2006320513A (en) Game machine
JP2009061345A (en) Game machine
JP4744575B2 (en) Game machine
JP4948622B2 (en) Game machine
JP4744574B2 (en) Game machine

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090730

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090812

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091207

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100819

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

Free format text: PAYMENT UNTIL: 20130924

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees