Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4401941B2 - Game machine - Google Patents
[go: Go Back, main page]

JP4401941B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP4401941B2
JP4401941B2 JP2004347390A JP2004347390A JP4401941B2 JP 4401941 B2 JP4401941 B2 JP 4401941B2 JP 2004347390 A JP2004347390 A JP 2004347390A JP 2004347390 A JP2004347390 A JP 2004347390A JP 4401941 B2 JP4401941 B2 JP 4401941B2
Authority
JP
Japan
Prior art keywords
payout
signal
payout control
game
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.)
Expired - Fee Related
Application number
JP2004347390A
Other languages
Japanese (ja)
Other versions
JP2006149852A (en
Inventor
詔八 鵜川
正登 安藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sankyo Co Ltd
Original Assignee
Sankyo 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 Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2004347390A priority Critical patent/JP4401941B2/en
Publication of JP2006149852A publication Critical patent/JP2006149852A/en
Application granted granted Critical
Publication of JP4401941B2 publication Critical patent/JP4401941B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、遊技媒体を用いて遊技者が所定の遊技を行うことが可能であり、所定の入賞領域に遊技媒体が入賞したことにもとづいて景品として景品遊技媒体を払い出すパチンコ遊技機やスロット機等の遊技機に関する。   The present invention is a pachinko gaming machine or slot in which a player can play a predetermined game using a game medium and pays out a prize game medium as a prize based on the winning of the game medium in a predetermined winning area. It relates to gaming machines such as machines.

遊技機として、遊技球などの遊技媒体を発射装置によって遊技領域に発射し、遊技領域に設けられている入賞口などの入賞領域に遊技媒体が入賞すると、所定個の賞球が遊技者に払い出されるものがある。さらに、表示状態が変化可能な可変表示部が設けられ、可変表示部の表示結果があらかじめ定められた特定表示態様となった場合に所定の遊技価値を遊技者に与えるように構成されたものがある。   As a gaming machine, a game medium such as a game ball is launched into a game area by a launching device, and when a game medium wins a prize area such as a prize opening provided in the game area, a predetermined number of prize balls are paid out to the player. There is something to be done. Furthermore, there is provided a variable display unit capable of changing the display state, and configured to give a predetermined game value to the player when the display result of the variable display unit is in a predetermined specific display mode. is there.

なお、遊技価値とは、遊技機の遊技領域に設けられた可変入賞球装置の状態が打球が入賞しやすい遊技者にとって有利な状態になることや、遊技者にとって有利な状態となるための権利を発生させたりすることや、賞球払出の条件が成立しやすくなる状態になることである。   Note that the game value is the right that the state of the variable winning ball device provided in the gaming area of the gaming machine is advantageous for a player who is likely to win a ball, or the advantageous state for a player. In other words, or a condition for winning a prize ball is easily established.

パチンコ遊技機では、特別図柄を表示する可変表示部の表示結果があらかじめ定められた特定表示態様の組合せとなることを、通常、「大当り」という。大当りが発生すると、例えば、大入賞口が所定回数開放して打球が入賞しやすい大当り遊技状態に移行する。   In a pachinko gaming machine, a combination of a predetermined display mode with a display result of a variable display unit that displays a special symbol is usually referred to as “big hit”. When a big hit occurs, for example, the big winning opening is opened a predetermined number of times, and the game shifts to a big hit gaming state in which a hit ball is easy to win.

遊技機における遊技進行は、遊技制御用マイクロコンピュータを含む遊技制御手段によって制御される。賞球払出の制御を行う払出制御用マイクロコンピュータを含む払出制御手段が、遊技制御手段が搭載されている主基板とは別の払出制御基板に搭載されている場合、遊技の進行は主基板に搭載された遊技制御手段によって制御されるので、入賞にもとづく賞球個数は遊技制御手段によって決定され、賞球個数を示す制御信号が払出制御基板に送信される。そして、払出制御手段は、遊技制御手段からの制御信号にもとづいて、入賞にもとづく個数の賞球を払い出す処理を行う。   Game progress in the gaming machine is controlled by game control means including a game control microcomputer. When the payout control means including the payout control microcomputer for controlling the prize ball payout is mounted on a payout control board different from the main board on which the game control means is mounted, the progress of the game is transferred to the main board. Since it is controlled by the mounted game control means, the number of winning balls based on the winning is determined by the game control means, and a control signal indicating the number of winning balls is transmitted to the payout control board. Then, the payout control means performs a process of paying out the number of prize balls based on the winning based on the control signal from the game control means.

遊技機では、入賞に応じた賞球個数が、複数設けられている入賞領域のそれぞれに応じて、例えば、10個、15個のように定められている。入賞が発生すると、それぞれの入賞毎に賞球払出を行う遊技機もあるが、トータルの払出時間を短縮するために、連続して入賞が発生した場合には、複数の入賞にもとづく賞球を区切るこなく一括して払い出す遊技機もある。例えば、10個の賞球に対応する入賞が3回連続して発生した場合には、30個の賞球を連続的に一括して払い出す。   In the gaming machine, the number of winning balls according to winning is determined as, for example, 10 or 15 according to each of a plurality of winning areas provided. There are some gaming machines that pay out a ball for each win when a win occurs, but in order to shorten the total payout time, if consecutive wins occur, a prize ball based on multiple wins is awarded. There are also gaming machines that pay out in a lump without dividing. For example, when winnings corresponding to 10 winning balls are generated three times in succession, 30 winning balls are continuously paid out in a lump.

さらに、払出制御手段が賞球払出制御を行っているときに、遊技制御手段から新たな賞球払出に関する情報を受信した場合には、払出制御手段が、そのときの未払出賞球数に新たな賞球数を加算して、新たに発生した入賞にもとづく賞球も含めて一括して払い出すように制御する遊技機がある(例えば、特許文献1参照。)。   Further, when the payout control means is performing the prize ball payout control, if the information regarding the new prize ball payout is received from the game control means, the payout control means newly sets the number of unpaid prize balls at that time. There is a gaming machine that controls such that the number of prize balls is added and paid out in a lump including prize balls based on newly generated winnings (see, for example, Patent Document 1).

また、遊技機において、遊技機に対する電力供給が停止している状態でも、遊技制御手段が備えているRAMの内容と払出制御手段が備えているRAMの内容とが保存されるようにバックアップ電源を備え、電源電圧の低下を検出する電源監視手段からの検出信号が主基板と払出制御基板とに入力され、遊技制御手段と払出制御手段とが、RAMに情報を保存させるための処理を実行するように構成されることがある(例えば、特許文献2参照。)。そのように構成された遊技機では、保存されているRAMの内容をクリアするためのクリアスイッチが設けられ、遊技機に対する電力供給が開始されたときに、クリアスイッチが押下されると、遊技制御手段および払出制御手段が、RAMの内容をクリアするように構成される。   Further, in the gaming machine, even when the power supply to the gaming machine is stopped, the backup power source is set so that the contents of the RAM provided in the game control means and the contents of the RAM provided in the payout control means are saved. A detection signal from a power supply monitoring means for detecting a drop in power supply voltage is input to the main board and the payout control board, and the game control means and the payout control means execute processing for storing information in the RAM. (For example, refer patent document 2). In the gaming machine configured as described above, a clear switch for clearing the contents of the stored RAM is provided, and when the power supply to the gaming machine is started, the game control is performed when the clear switch is pressed. The means and the payout control means are configured to clear the contents of the RAM.

このような遊技機では、遊技機に対する電力供給が開始されたときに、遊技制御手段から払出制御手段に送信される制御信号(コマンド)を払出制御手段が受信できない事態が生ずることを防止するために、遊技制御手段が立ち上がる(遊技制御装置制御処理を実行できるようになる)タイミングを、払出制御手段が立ち上がる(払出制御処理を実行できるようになる)タイミングよりも遅くするための遅延手段が設けられることがある。   In such a gaming machine, in order to prevent a situation in which the payout control means cannot receive a control signal (command) transmitted from the game control means to the payout control means when power supply to the gaming machine is started. In addition, there is provided a delay means for delaying the timing at which the game control means starts up (becomes able to execute the game control device control process) than the timing at which the payout control means starts up (becomes able to execute the payout control process). May be.

特開2001−212321号公報(段落0039−0048、図4、図5)Japanese Patent Laid-Open No. 2001-212321 (paragraphs 0039-0048, FIGS. 4 and 5) 特開2002−136754号公報(段落0010−0014,0021−0023、図1、図3、図5)JP 2002-136754 A (paragraphs 0010-0014, 0021-0023, FIG. 1, FIG. 3, FIG. 5)

以上のように、特許文献1に記載されている遊技機では、払出モータで駆動される払出装置から払い出された後に遊技球を検出する払出センサが最後の遊技球を検出したこと(遊技球の検出によって払出数記憶エリアに記憶された値が0になったこと)を条件に、遊技球の払い出しが終了したとして払出モータの駆動を停止させる。すると、払出センサが最後の遊技球を検出したときに、さらに払出モータの駆動によって新たな遊技球が払い出されている可能性がある。すなわち、迅速な賞球払出を実現するために実行される賞球毎に区切らない連続払出制御の精度が低いという課題がある。   As described above, in the gaming machine described in Patent Document 1, the payout sensor that detects the game ball after being paid out from the payout device driven by the payout motor has detected the last game ball (game ball). On the condition that the value stored in the number-of-payout storage area has become 0 by the detection of (), the driving of the payout motor is stopped assuming that the game ball has been paid out. Then, when the payout sensor detects the last game ball, there is a possibility that a new game ball is paid out by driving the payout motor. That is, there is a problem that the accuracy of the continuous payout control that is not divided for each prize ball that is executed in order to realize quick prize ball payout is low.

また、特許文献2に記載されている遊技機において、遊技機に対する電力供給が開始されたときに、遊技制御手段が立ち上がるタイミングを、払出制御手段が立ち上がるタイミングよりも遅くするように構成される場合には、RAMの内容をクリアするために遊技機に対する電力供給が開始されたときに遊技店員等によってクリアスイッチが押下されたときに、押下されるタイミングが遅れたり押下時間が短いと、払出制御手段はクリアスイッチの押下を認識できたが、遊技制御手段はクリアスイッチの押下を認識できないという状況が発生しうる。クリアスイッチを押下するのは、遊技機に対する電力供給が停止したときに保存されたデータ、すなわち電力供給が停止したときの制御状態に関わるデータをクリアして初期化するためである。払出制御手段はクリアスイッチの押下を認識できたが遊技制御手段はクリアスイッチの押下を認識できないという状況が発生した場合には、払出制御手段の制御状態は初期化されるが、遊技制御手段の制御状態は電力供給が停止したときの制御状態のままになり、両制御手段の制御状態に整合がとれず、遊技機全体として正常な制御を行えない。また、遊技制御手段が立ち上がるタイミングを払出制御手段が立ち上がるタイミングよりも遅くする構成を有していない場合でも、クリアスイッチの押下のされ方によっては、一方の制御手段はクリアスイッチの押下を認識できたが他方の制御手段はクリアスイッチの押下を認識できないという状況が発生する可能性がある。さらに、遊技制御手段と払出制御手段とでそれぞれ実行されるRAMの内容のクリア処理の実行時間の違いによっては、払出制御手段にて制御信号を受信するための準備が完了する前に、遊技制御手段によって制御信号が送信される可能性があるため、制御信号の取りこぼしが発生してしまうおそれがある。   Also, in the gaming machine described in Patent Document 2, when the power supply to the gaming machine is started, the timing at which the game control means starts up is set to be later than the timing at which the payout control means starts up If the clear switch is pressed by a game clerk or the like when the power supply to the gaming machine is started to clear the contents of the RAM, the payout control is performed if the pressing timing is delayed or the pressing time is short. Although the means can recognize the depression of the clear switch, the game control means may not recognize the depression of the clear switch. The reason for pressing the clear switch is to clear and initialize the data stored when the power supply to the gaming machine is stopped, that is, the data related to the control state when the power supply is stopped. When a situation occurs in which the payout control means can recognize the press of the clear switch but the game control means cannot recognize the press of the clear switch, the control state of the payout control means is initialized, but the game control means The control state remains the same as when the power supply is stopped, the control states of both control means are not consistent, and the entire gaming machine cannot be controlled normally. Also, even if the configuration is such that the timing at which the game control means rises is later than the timing at which the payout control means rises, depending on how the clear switch is depressed, one control means can recognize the depression of the clear switch. However, there may be a situation where the other control means cannot recognize the pressing of the clear switch. Furthermore, depending on the difference in execution time of the RAM content clear process executed by the game control means and the payout control means, the game control before the preparation for receiving the control signal is completed by the payout control means. Since the control signal may be transmitted by the means, the control signal may be missed.

そこで、本発明は、遊技制御手段と払出制御手段とが別個に設けられ、遊技制御手段および払出制御手段が遊技機に対する電力供給が停止したときに記憶内容を少なくとも所定期間保存することが可能な記憶手段を有し、記憶手段の記憶内容を初期化するための操作手段を有する遊技機において、迅速な遊技媒体の払い出しを実現しつつ、より確実な払出制御を行うことができ、操作手段の操作にもとづいて遊技制御手段および払出制御手段における各記憶手段の内容を確実に初期化することができ、さらに、制御信号の取りこぼしを防止できる遊技機を提供することを目的とする。   Therefore, according to the present invention, the game control means and the payout control means are provided separately, and the game control means and the payout control means can store the stored contents for at least a predetermined period when the power supply to the gaming machine is stopped. In a gaming machine having a storage means and having an operation means for initializing the storage contents of the storage means, it is possible to perform more reliable payout control while realizing quick payout of game media. It is an object of the present invention to provide a gaming machine that can reliably initialize the contents of each storage means in the game control means and the payout control means based on the operation, and can prevent the control signal from being missed.

本発明による遊技機は、遊技媒体(例えば遊技球)を用いて遊技者が所定の遊技を行うことが可能であり、所定の入賞領域(例えば遊技領域に設けられている固定の入賞口29,30,33,39や可変入賞球装置15)に遊技媒体が入賞したことにもとづいて景品として景品遊技媒体を払い出す遊技機であって、遊技の進行を制御する遊技制御処理(例えばステップS41〜S56)を実行し、所定の入賞領域に遊技媒体が入賞したことにもとづいて景品遊技媒体の払出数を指示する払出個数信号(例えば賞球個数信号)を払出個数信号の取り込みを指示する取込信号とともに出力する払出個数信号出力手段(例えば図30に示す賞球処理を実行する部分)を含む遊技制御用マイクロコンピュータ(例えばCPU56を含む遊技制御用マイクロコンピュータ560)を搭載した遊技制御基板(例えば主基板31)と、遊技媒体の払い出しを行う払出手段(例えば球払出装置97)と、払出手段を駆動して遊技媒体を払い出させる払出駆動手段(例えば払出モータ289)と、遊技制御用マイクロコンピュータから入力した払出個数信号に応じて払出駆動手段を制御する景品遊技媒体払出制御処理(例えば図49に示す賞球球貸し制御処理と図42に示す払出モータ制御処理とにおける賞球の払出に関わる処理)を実行する払出制御用マイクロコンピュータ(例えば払出制御用マイクロコンピュータ370)を搭載した払出制御基板と、操作に応じて操作信号を出力する操作手段(例えばクリアスイッチ921)と、を備え、遊技制御用マイクロコンピュータは、遊技制御処理の実行状態を記憶し、遊技機への電力供給が停止しても所定期間は記憶内容が保持される遊技制御用変動データ記憶手段(例えば電源バックアップされているRAM55)と、遊技機への電力供給が開始されたときに払出制御起動信号を該払出制御起動信号の取り込みを指示する取込信号とともに払出制御用マイクロコンピュータに出力する払出制御起動信号出力手段(例えば遊技制御用マイクロコンピュータ560におけるステップS11を実行する部分)と、払出制御起動信号出力手段による払出制御起動信号を出力する処理の開始時期を、遊技機への電力供給が開始された時期から所定期間遅延させる遅延処理を実行する遅延処理手段(例えば遊技制御用マイクロコンピュータ560におけるステップS4〜S9を実行する部分)と、払出制御起動信号出力手段が払出制御起動信号を出力した後、操作手段から操作信号が出力されているか否かを確認する遊技制御用操作信号確認手段(例えば遊技制御用マイクロコンピュータ560におけるステップS13を実行する部分)と、遊技制御用操作信号確認手段が、操作信号が出力されていないことを確認したときに、遊技制御用変動データ記憶手段に保持されている記憶内容にもとづき遊技制御処理の実行状態を復帰させる遊技制御用実行状態復帰手段(例えば遊技制御用マイクロコンピュータ560におけるステップS16〜S17を実行する部分)と、遊技制御用操作信号確認手段が、操作信号が出力されていることを確認したときに、遊技制御用変動データ記憶手段に保持されている記憶内容を初期化して遊技制御処理を初期状態から開始させる遊技制御用実行状態初期化手段(例えば遊技制御用マイクロコンピュータ560におけるステップS21〜S23を実行する部分)と、を含み、払出個数信号出力手段によって出力される払出個数信号と、払出制御起動信号出力手段によって出力される払出制御起動信号とは、同じ複数の信号線で遊技制御基板から払出制御基板に伝達される信号であり、払出個数信号出力手段によって出力される払出個数信号の取込信号と、払出制御起動信号出力手段によって出力される払出制御起動信号の取込信号とは、同じ信号線で遊技制御基板から払出制御基板に伝達される信号であって、払出制御用マイクロコンピュータの割込端子に入力され、払出制御用マイクロコンピュータは、払出個数信号出力手段からの払出個数信号に応じて遊技媒体の払出数を示すデータを記憶する景品遊技媒体数データ記憶手段(例えば賞球払出予定総数カウンタ)と、該景品遊技媒体数データ記憶手段を含み、払出制御に応じて変動するデータを記憶するとともに、遊技機に対する電力供給が停止したときに記憶内容を少なくとも所定期間保存することが可能な払出制御用変動データ記憶手段(例えば電源バックアップされているRAM)と、遊技制御用マイクロコンピュータから取込信号(例えば賞球REQ信号)が割込端子に入力されたことに応じて、特定レジスタ(例えば外部割込要求レジスタ)の値を所定値に更新するとともに、払出制御処理に割り込んで割込処理を実行する割込処理実行手段(例えば払出制御用マイクロコンピュータ370における賞球REQ割込処理を実行する部分)と、割込処理実行手段による割込処理の実行を禁止する割込禁止状態に制御する割込禁止手段(例えば払出制御用マイクロコンピュータ370におけるステップS701を実行する部分)と、払出個数信号出力手段からの払出個数信号を、割込処理において入力する払出個数信号入力手段(例えば払出制御用マイクロコンピュータ370におけるステップS545を実行する部分)と、遊技機への電力供給が開始されたときに、割込禁止手段により割込禁止状態に制御した後、払出制御用マイクロコンピュータの内部状態を初期設定する初期設定手段(例えば払出制御用マイクロコンピュータ370におけるステップS701〜S705を実行する部分)と、初期設定手段により初期設定が行われた後に特定レジスタの値が所定値か否かを確認するレジスタ確認手段(例えば払出制御用マイクロコンピュータ370におけるステップS721〜S723を実行する部分)と、割込禁止手段により割込禁止状態に制御された後、所定時間内にレジスタ確認手段により特定レジスタの値が所定値であることが確認されたときに、遊技制御用マイクロコンピュータから出力された払出制御起動信号を入力する払出制御起動信号入力手段(例えば払出制御用マイクロコンピュータ370におけるステップS725を実行する部分)と、割込禁止手段により割込禁止状態に制御されているときに、所定時間が経過してもレジスタ値確認手段により特定レジスタの値が所定値であることが確認されなかったとき、遊技制御用マイクロコンピュータから払出制御起動信号を受信しないことを示す起動不能情報を記憶する起動不能情報記憶手段と、払出制御起動信号入力手段が払出制御起動信号を入力したことを条件に、操作手段から操作信号が出力されているか否かを確認する払出制御用操作信号確認手段(例えば払出制御用マイクロコンピュータ370におけるステップS708を実行する部分)と、払出制御用操作信号確認手段操作信号が出力されていないことを確認したときに、払出制御用変動データ記憶手段に保持されている記憶内容にもとづき払出制御処理の実行状態を復帰させる払出制御用実行状態復帰手段(例えば払出制御用マイクロコンピュータ370におけるステップS711を実行する部分)と、払出制御用操作信号確認手段操作信号が出力されていることを確認したときに、払出制御用変動データ記憶手段に保持されている記憶内容を初期化して払出制御処理を初期状態から開始させる払出制御用実行状態初期化手段(例えば払出制御用マイクロコンピュータ370におけるステップS712〜S716を実行する部分)とを含み払出制御用マイクロコンピュータは、起動不能情報記憶手段に起動不能情報が記憶されている場合には、払出制御用操作信号確認手段による操作手段から操作信号が出力されているか否かの確認を実行することなく、払出制御用変動データ記憶手段に保持されている記憶内容を初期化して払出制御処理を初期状態から開始させ、払出制御用マイクロコンピュータは、払出制御用実行状態復帰手段による実行状態の復帰または払出制御用実行状態初期化手段による記憶内容の初期化がなされたあとに、割込処理実行手段による割込処理の実行を許可する割込許可状態に制御する割込許可手段(例えば払出制御用マイクロコンピュータ370におけるステップS717を実行する部分)と、割込許可手段により割込許可状態に制御されたことに応じて、払出個数信号入力手段により割込処理にて払出個数信号が入力可能となったことを示す入力可能状態信号を遊技制御用マイクロコンピュータに出力する入力可能状態信号出力手段(例えば払出制御用マイクロコンピュータ370におけるステップS718を実行する部分)と、払出個数信号入力手段が払出個数信号出力手段からの払出個数信号を入力したときに、該払出個数信号で指示された払出数を、景品遊技媒体数データ記憶手段が記憶しているデータに加算する加算手段(例えば、払出制御用マイクロコンピュータ370におけるステップS545を実行する部分)と、景品遊技媒体数データ記憶手段が記憶しているデータが、払い出すべき遊技媒体があることを示しているときに、払出駆動手段による払出手段の駆動を開始させる払出開始手段(例えば、払出制御用マイクロコンピュータ370におけるステップS631〜S635およびステップS627,S628を実行する部分)と、払出駆動手段が払出手段を駆動しているときに、景品遊技媒体数データ記憶手段が記憶しているデータが増加したか否かを判定する増加判定手段(例えば、払出制御用マイクロコンピュータ370におけるステップS694の処理を実行する部分)と、増加判定手段がデータが増加していることを判定したときに増加数を特定する増加数特定手段(例えば、払出制御用マイクロコンピュータ370におけるステップS695の処理における差分を算出する処理を実行する部分)と、払出手段が遊技媒体の払い出しを終了するまでの払出駆動手段の駆動量を特定可能なデータを記憶する駆動量データ記憶手段(例えば払出動作カウンタ)と、駆動量データ記憶手段が記憶しているデータを、払出駆動手段の駆動量に応じた分減算する駆動量減算手段(例えば、払出制御用マイクロコンピュータ370におけるステップS513の処理を実行する部分)と、増加判定手段がデータが増加していることを判定したときに(あるいは、例えば払出駆動手段が払出手段を駆動しているときに)、増加数特定手段が特定した増加数に応じた駆動量を示すデータを、駆動量データ記憶手段が記憶しているデータに加算する駆動量データ加算手段(例えば、払出制御用マイクロコンピュータ370におけるステップS695における加算処理を実行する部分)と、払出開始手段により払出駆動手段による払出手段の駆動を開始させた後、駆動量データ記憶手段が記憶しているデータが遊技媒体の払出終了に応じた値(例えば0)になったときに払出駆動手段による払出手段の駆動を停止させる払出停止手段(例えば、払出制御用マイクロコンピュータ370におけるステップS525の払出モータブレーキ処理において払出動作カウンタの値が0になったことに応じて払出モータ289の駆動を停止させる処理を実行する部分)と、を含み、遊技制御用マイクロコンピュータは、遊技制御用実行状態復帰手段による実行状態の復帰または遊技制御用実行状態初期化手段による記憶内容の初期化がなされたことにより遊技制御処理の実行の準備が完了したあと、入力可能状態信号出力手段から入力可能状態信号を入力したことに応じて(例えばステップS24のY)、遊技制御処理の実行を開始し、当該遊技制御処理にて払出個数信号出力手段により払出制御指令を出力する処理(例えば賞球処理:図30参照)を実行することを特徴とする。 The gaming machine according to the present invention allows a player to play a predetermined game using a game medium (for example, a game ball), and a predetermined winning area (for example, fixed winning ports 29 provided in the gaming area, 30, 33, 39 or the variable winning ball apparatus 15), which is a gaming machine that pays out a prize game medium as a prize based on the winning of the game medium, and controls the progress of the game (for example, steps S 41 to S 41). S56) is executed, and a payout number signal (for example, a prize ball number signal) for instructing the take-in of the payout number signal indicating the payout number of the prize game medium based on the winning of the game medium in a predetermined winning area is acquired. payout number signal output means My gaming control including a game control microcomputer (e.g. CPU56 containing (e.g. portions for performing the prize balls processing shown in FIG. 30) for outputting with the signal A game control board (for example, the main board 31) equipped with a computer 560), a payout means (for example, a ball payout device 97) for paying out game media, and a payout drive means for driving out the game media by driving the payout means (For example, a payout motor 289) and a prize game medium payout control process for controlling the payout driving means in accordance with a payout number signal input from a game control microcomputer (for example, a prize ball lending control process shown in FIG. A payout control board on which a payout control microcomputer (for example, a payout control microcomputer 370) that executes a payout ball control process in the payout motor control process shown in FIG. 5 and an operation for outputting an operation signal according to the operation Means (for example, clear switch 921), and the game control microcomputer executes the game control process. The game control variable data storage means (for example, the RAM 55 that is backed up by the power source) that retains the stored contents for a predetermined period even if the power supply to the gaming machine is stopped and the power supply to the gaming machine are stored. When started, a payout control start signal output means for outputting a payout control start signal to a payout control microcomputer together with a takein signal for instructing to take in the payout control start signal (for example, step S11 in the game control microcomputer 560). A delay processing unit that executes a delay process for delaying a start time of a process of outputting a payout control start signal by the payout control start signal output unit by a predetermined period from a time when power supply to the gaming machine is started (For example, a portion for executing steps S4 to S9 in the game control microcomputer 560) and a payout system After the activation signal output means outputs the payout control activation signal, the game control operation signal confirmation means for confirming whether or not the operation signal is outputted from the operation means (for example, execute step S13 in the game control microcomputer 560) And when the game control operation signal confirmation means confirms that no operation signal is output, the execution state of the game control process based on the stored contents held in the game control variation data storage means The game control execution state return means (for example, the part that executes steps S16 to S17 in the game control microcomputer 560) and the game control operation signal confirmation means confirm that the operation signal is output. Sometimes the game control process is initialized by initializing the stored contents stored in the game control variation data storage means. Wherein the gaming control execution state initialization means for starting from the state (e.g., portions for performing the steps S21~S23 in the gaming control microcomputer 560), and a payout number signal output by the payout number signal output means, payout The payout control start signal output by the control start signal output means is a signal transmitted from the game control board to the payout control board through the same plurality of signal lines, and the payout number signal output by the payout number signal output means. The take-in signal and the take-in signal of the payout control start signal output by the payout control start signal output means are signals transmitted from the game control board to the payout control board through the same signal line, is input to the interrupt terminal of the computer, the payout control micro computer, the payout number signal from the payout number signal output means Data including a prize game medium number data storage means (for example, a prize ball payout total number counter) for storing data indicating the number of game medium payouts, and data that varies in accordance with the payout control A payout control variation data storage means (for example, a RAM that is backed up by a power source) and a game control microcomputer capable of storing the stored contents at least for a predetermined period when power supply to the gaming machine is stopped In response to a capture signal (for example, a prize ball REQ signal) being input to the interrupt terminal, the value of a specific register (for example, an external interrupt request register) is updated to a predetermined value and interrupted to the payout control process. Interrupt process execution means for executing an interrupt process (for example, executing a prize ball REQ interrupt process in the payout control microcomputer 370) A portion for executing interrupt processing by the interrupt processing execution means, an interrupt prohibiting means for controlling to an interrupt prohibited state (for example, executing the step S701 in the payout control microcomputer 370), and the number of payouts. When the supply of power to the gaming machine is started, and the number-of- payout signal input means for inputting the number- of-payout signal from the signal output means in the interruption process (for example, the portion for executing step S545 in the payout control microcomputer 370) In addition, after controlling to the interrupt prohibited state by the interrupt prohibiting means, initial setting means for initial setting of the internal state of the payout control microcomputer (for example, a part for executing steps S701 to S705 in the payout control microcomputer 370); After the initial setting by the initial setting means, the value of the specific register is a predetermined value A register confirmation means for confirming whether or not (e.g., portions for performing the steps S721~S723 in payout control microcomputer 370), after being controlled to interrupt disabled state by the interrupt disabled section, the register check means within a predetermined time When the value of the specific register is confirmed to be a predetermined value by the payout control start signal input means for inputting the payout control start signal output from the game control microcomputer (for example, step in the payout control microcomputer 370) S725) and when the interrupt prohibition means controls the interrupt prohibited state, the register value confirmation means confirms that the value of the specific register is the predetermined value even if the predetermined time has elapsed. Otherwise, a payout control activation signal may not be received from the game control microcomputer. And unstartable information storage means for storing unstartable information indicating, dispensing the payout control activation signal input unit checks whether the condition that enter the payout control activation signal, the operation signal from the operating means is being output When the control signal confirming means for control (for example, the part that executes step S708 in the payout control microcomputer 370) and the payout control signal confirming means confirm that no operation signal is output, the fluctuation for payout control A payout control execution state return means (for example, a portion for executing step S711 in the payout control microcomputer 370) for returning the execution state of the payout control process based on the stored contents held in the data storage means, and a payout control operation. When the signal confirmation means confirms that an operation signal has been output, the fluctuation data for payout control is recorded. A payout control execution state initializing means (for example, a part for executing steps S712 to S716 in the payout control microcomputer 370) for initializing the storage contents held in the memory means and starting the payout control process from the initial state ; The payout control microcomputer confirms whether or not the operation signal is output from the operation means by the payout control operation signal confirming means when the start impossible information is stored in the unstartable information storage means. Without executing, the storage contents held in the payout control variation data storage means are initialized and the payout control process is started from the initial state, and the payout control microcomputer is executed by the payout control execution state return means. Interrupt processing after the stored contents are initialized by the execution status initialization means Interrupt permission means (for example, a part for executing step S717 in the payout control microcomputer 370) for controlling to an interrupt permission state permitting execution of interrupt processing by the line means, and interruption permission means being set to the interrupt permission state. in response to controlled, input state signal output means for outputting the input state signal indicating that the payout number signal becomes possible input in the interrupt processing to the game control microcomputer by payout number signal input means (e.g. portions for performing the steps S718 in the payout control microcomputer 370) and, when the payout number signal input means inputs a payout number signal from the payout number signal output means, the number of payouts instructed by該払out number signal Is added to the data stored in the prize game medium number data storage means (for example, a payout control manager). The portion of the black computer 370 that executes step S545) and the data stored in the prize game medium number data storage means indicate that there is a game medium to be paid out. A payout starting means for starting driving (for example, a portion for executing steps S631 to S635 and steps S627 and S628 in the payout control microcomputer 370) and a prize game medium when the payout driving means drives the payout means Increase determination means for determining whether or not the data stored in the numerical data storage means has increased (for example, the portion of the payout control microcomputer 370 that executes step S694), and the increase determination means increases the data. Increase number specifying means to identify the increase number when it is determined that (For example, a part that executes the process of calculating the difference in the process of step S695 in the payout control microcomputer 370) and data that can specify the drive amount of the payout driving means until the payout means finishes paying out the game medium Drive amount data storage means (for example, payout operation counter), and drive amount subtraction means (for example, payout control) that subtracts the data stored in the drive amount data storage means by the amount corresponding to the drive amount of the payout drive means. Portion of the microcomputer 370 that executes the process of step S513) and when the increase determining means determines that the data has increased (or when the payout driving means drives the payout means, for example). The drive amount data storage means stores the data indicating the drive amount according to the increase number specified by the increase number specifying means. Driving amount data adding means for adding to data (for example, the portion for executing addition processing in step S695 in the payout control microcomputer 370) and driving of the payout means by the payout driving means by the payout starting means are started. When the data stored in the quantity data storage means becomes a value (for example, 0) corresponding to the end of payout of the game medium, a payout stop means (for example, a payout control micro) that stops driving of the payout means by the payout drive means. And a portion for executing a process of stopping driving of the payout motor 289 in response to the value of the payout operation counter being 0 in the payout motor brake process of step S525 in the computer 370, and the game control microcomputer , The return of the execution state or the game system by the execution state return means for game control In response to the input ready state signal being input from the input ready state signal output means after the preparation of execution of the game control process is completed by the initialization of the stored contents by the execution state initialization means (for example, step (Y in S24), the execution of the game control process is started, and a process of outputting a payout control command by the payout number signal output means (for example, a prize ball process: see FIG. 30) is executed in the game control process. To do.

払出制御用マイクロコンピュータは、駆動量データ加算手段がデータを加算したときの景品遊技媒体数データ記憶手段に記憶されているデータを保持する前回景品遊技媒体数データ記憶手段(例えば払出制御用マイクロコンピュータ370におけるRAMに形成されている前回賞球払出予定総数カウンタ)を含み、増加判定手段は、景品遊技媒体数データ記憶手段に記憶されているデータと前回景品遊技媒体数データ記憶手段に記憶されているデータとを比較することによりデータが増加したか否かを判定し(例えばステップS694)、増加数特定手段は、景品遊技媒体数データ記憶手段に記憶されているデータと前回景品遊技媒体数データ記憶手段に記憶されているデータとの差を増加数として特定する(例えばステップS695)ように構成されていてもよい。   The payout control microcomputer is a previous prize game medium number data storage means (for example, a payout control microcomputer) that holds the data stored in the prize game medium number data storage means when the drive amount data addition means adds the data. The increase determination means includes data stored in the prize game medium number data storage means and data stored in the previous prize game medium number data storage means. It is determined whether or not the data has increased by comparing with the existing data (for example, step S694), and the increase number specifying means has the data stored in the prize game medium number data storage means and the previous prize game medium number data. The difference from the data stored in the storage means is specified as the increase number (for example, step S695). It may be configured.

払出制御用マイクロコンピュータは、増加判定手段がデータが増加したと判定したときに、加算手段によりデータが加算されたあとに景品遊技媒体数データ記憶手段に記憶されているデータを前回景品遊技媒体数データ記憶手段に設定する景品遊技媒体数データ設定手段(例えば、払出制御用マイクロコンピュータ370におけるステップS697を実行する部分)を含む構成とされていてもよい。   When the increase determination means determines that the data has increased, the payout control microcomputer uses the data stored in the premium game medium number data storage means after the data is added by the addition means as the previous premium game medium number. The configuration may include a prize game medium number data setting means (for example, a part for executing step S697 in the payout control microcomputer 370) to be set in the data storage means.

払出制御用マイクロコンピュータは、払出制御起動信号出力手段からの払出制御起動信号を入力することなくあらかじめ定められた待機期間が経過したときは(例えばステップS723のY)、制御を停止した停止状態に移行する(例えば制御停止状態)ように構成されていてもよい。   When a predetermined standby period has elapsed without inputting a payout control activation signal from the payout control activation signal output means (for example, Y in step S723), the payout control microcomputer enters a stopped state in which the control is stopped. You may be comprised so that it may transfer (for example, control stop state).

払出制御用マイクロコンピュータは、払出制御起動信号出力手段からの払出制御起動信号を入力することなくあらかじめ定められた待機期間が経過したときに(例えばステップS723のY)、通信に関する異常が発生したことを検出する通信異常検出手段(例えば、払出制御用マイクロコンピュータ370におけるステップS724を実行する部分)と、通信異常検出手段が異常が発生したことを検出したとき、その旨を報知する通信異常報知手段(例えば、払出制御用マイクロコンピュータ370におけるエラー表示用LED374に「A」(図57参照)を表示させるための処理を実行する部分)とを備えていてもよい。   When the predetermined standby period has elapsed without inputting the payout control activation signal from the payout control activation signal output means (for example, Y in step S723), the payout control microcomputer has an abnormality related to communication. Communication abnormality detecting means (for example, a part of step S724 in the payout control microcomputer 370) that detects the abnormality, and when the communication abnormality detecting means detects that an abnormality has occurred, a communication abnormality notification means that notifies that fact. (For example, a portion for executing processing for displaying “A” (see FIG. 57) on the error display LED 374 in the payout control microcomputer 370).

遊技機に対する電力供給が開始されたときに、遊技制御用マイクロコンピュータと払出制御用マイクロコンピュータを動作可能な状態にする許容信号(例えばリセット信号)を出力する許容信号出力手段(例えば電源監視回路920)と、許容信号出力手段からの許容信号にもとづいて払出制御用マイクロコンピュータおよび遊技制御用マイクロコンピュータが動作可能な状態となるときに、払出制御用マイクロコンピュータが動作可能な状態となる時期よりも特定期間遅延させて遊技制御用マイクロコンピュータを動作可能な状態とする遅延手段(例えば遅延回路69)とを備えていてもよい。   When power supply to the gaming machine is started, an allowable signal output means (for example, a power supply monitoring circuit 920) that outputs an allowable signal (for example, a reset signal) that makes the gaming control microcomputer and the payout control microcomputer operable. ) And when the payout control microcomputer and the game control microcomputer become operable based on the allowance signal from the allowance signal output means, than when the payout control microcomputer becomes operable. There may be provided delay means (for example, a delay circuit 69) for delaying the specified period to make the game control microcomputer operable.

請求項1記載の発明では、迅速に景品遊技媒体を払い出すことができ、また、正確に景品遊技媒体を払い出すことができる。また、遊技制御用マイクロコンピュータが遅延処理を実行するように構成されていても、一方のマイクロコンピュータにおける変動データ記憶手段の内容が初期化されたにも関わらず他方のマイクロコンピュータにおける変動データ記憶手段の内容が初期化されないという状況の発生を防止でき、操作手段の操作にもとづいて遊技制御用マイクロコンピュータおよび払出制御用マイクロコンピュータにおける各変動データ記憶手段の内容を確実に初期化できる。その際に、払出制御用マイクロコンピュータが、遊技制御用マイクロコンピュータからの信号にもとづく割込処理に起因して初期設定処理が正常に実行されないという不具合も生じない。さらに、払出指令信号の取りこぼしを防止することができる。   According to the first aspect of the present invention, the prize game medium can be paid out quickly, and the prize game medium can be paid out accurately. Further, even if the game control microcomputer is configured to execute the delay process, the variable data storage means in the other microcomputer is initialized even though the contents of the variable data storage means in one microcomputer are initialized. It is possible to prevent the occurrence of a situation where the contents of the game data are not initialized, and to reliably initialize the contents of each variation data storage means in the game control microcomputer and the payout control microcomputer based on the operation of the operation means. At this time, there is no problem that the payout control microcomputer does not execute the initial setting process normally due to the interrupt process based on the signal from the game control microcomputer. Further, it is possible to prevent the payout command signal from being missed.

請求項2記載の発明では、増加判定手段が、景品遊技媒体数データ記憶手段に記憶されているデータと前回景品遊技媒体数データ記憶手段に記憶されているデータとを比較することによりデータが増加したか否かを判定し、増加数特定手段が、景品遊技媒体数データ記憶手段に記憶されているデータと前回景品遊技媒体数データ記憶手段に記憶されているデータとの差を増加数として特定する構成とされているので、簡便な構成により正確に増加数を特定できる。   In the invention according to claim 2, the increase determination means increases the data by comparing the data stored in the prize game medium number data storage means with the data stored in the previous prize game medium number data storage means. The increase number specifying means specifies the difference between the data stored in the prize game medium number data storage means and the data stored in the previous prize game medium number data storage means as the increase number. Therefore, the number of increases can be accurately specified with a simple configuration.

請求項3記載の発明では、払出制御用マイクロコンピュータが、増加判定手段がデータが増加したと判定したときに、加算手段によりデータが加算されたあとに景品遊技媒体数データ記憶手段に記憶されているデータを前回景品遊技媒体数データ記憶手段に設定する景品遊技媒体数データ設定手段を含む構成とされているので、簡便な構成により正確に増加数を特定できる。   In the invention according to claim 3, when the payout control microcomputer determines that the increase determination means has increased the data, it is stored in the prize game medium number data storage means after the data is added by the addition means. Since the prize data is set in the previous prize game medium number data storage means, the increase number can be specified accurately with a simple structure.

請求項4記載の発明では、払出制御用マイクロコンピュータが、払出制御起動信号出力手段からの払出制御起動信号を入力することなくあらかじめ定められた待機期間が経過したときは、制御を停止した停止状態に移行する構成とされているので、遊技制御用マイクロコンピュータにおいて遊技制御処理が開始されていないおそれのある状態で払出制御処理が実行されてしまうことを防止することができる。   In the invention according to claim 4, when the predetermined waiting period elapses without inputting the payout control activation signal from the payout control activation signal output means, the payout control microcomputer stops the control. Therefore, the payout control process can be prevented from being executed in a state where the game control process may not be started in the game control microcomputer.

請求項5記載の発明では、払出制御用マイクロコンピュータが、払出制御起動信号出力手段からの払出制御起動信号を入力することなくあらかじめ定められた待機期間が経過したときに、通信に関する異常が発生したことを検出する通信異常検出手段と、通信異常検出手段が異常が発生したことを検出したとき、その旨を報知する通信異常報知手段とを備えているので、払出制御用マイクロコンピュータが払出制御起動信号を受信できなかったことを確実に報知することができる。   In the invention according to claim 5, an abnormality relating to communication has occurred when a predetermined waiting period has elapsed without the dispensing control microcomputer inputting the dispensing control activation signal from the dispensing control activation signal output means. Communication abnormality detecting means for detecting this, and communication abnormality notifying means for notifying that when the communication abnormality detecting means detects that an abnormality has occurred, the payout control microcomputer starts the payout control. It is possible to reliably notify that the signal has not been received.

請求項6記載の発明では、遊技機に対する電力供給が開始されたときに、遊技制御用マイクロコンピュータと払出制御用マイクロコンピュータを動作可能な状態にする許容信号を出力する許容信号出力手段と、許容信号出力手段からの許容信号にもとづいて払出制御用マイクロコンピュータおよび遊技制御用マイクロコンピュータが動作可能な状態となるときに、払出制御用マイクロコンピュータが動作可能な状態となる時期よりも特定期間遅延させて遊技制御用マイクロコンピュータを動作可能な状態とする遅延手段とを備える構成とされているので、ハードウェアによっても遅延処理がなされるので、仕様変更がなされたときに備えてソフトウェアによる遅延処理の汎用性を残すことができるとともに、ソフトウェアによる遅延処理を簡潔にすることができ、遅延処理のためのソフトウェアのデータ容量を削減することができる。また、払出制御用マイクロコンピュータにて遊技制御用マイクロコンピュータからの制御信号を確実に受信することができるようになる。   According to the sixth aspect of the present invention, when the power supply to the gaming machine is started, the permission signal output means for outputting the permission signal for making the game control microcomputer and the payout control microcomputer operable, and the permission When the payout control microcomputer and the game control microcomputer become operable based on the allowance signal from the signal output means, the delay is delayed by a specific period from the time when the payout control microcomputer becomes operable. Since the delay control means for enabling the game control microcomputer to operate is performed, the delay processing is also performed by hardware. Therefore, the delay processing by software is performed in preparation for a specification change. It can retain versatility and simplify software delay processing. Can be done, it is possible to reduce the data capacity of software for delay processing. In addition, the payout control microcomputer can reliably receive the control signal from the game control microcomputer.

以下、本発明の一実施形態を図面を参照して説明する。
まず、遊技機の一例であるパチンコ遊技機の全体の構成について説明する。図1はパチンコ遊技機を正面からみた正面図、図2は遊技盤の前面を示す正面図である。なお、以下の実施の形態では、パチンコ遊技機を例に説明を行うが、本発明による遊技機はパチンコ遊技機に限られず、スロット機などの他の遊技機に適用することもできる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
First, the overall configuration of a pachinko gaming machine that is an example of a gaming machine will be described. FIG. 1 is a front view of a pachinko gaming machine as viewed from the front, and FIG. 2 is a front view showing the front of the game board. In the following embodiments, a pachinko gaming machine will be described as an example. However, the gaming machine according to the present invention is not limited to a pachinko gaming machine, and can be applied to other gaming machines such as a slot machine.

パチンコ遊技機1は、縦長の方形状に形成された外枠(図示せず)と、外枠の内側に開閉可能に取り付けられた遊技枠とで構成される。また、パチンコ遊技機1は、遊技枠に開閉可能に設けられている額縁状に形成されたガラス扉枠2を有する。遊技枠は、外枠に対して開閉自在に設置される前面枠(図示せず)と、機構部品等が取り付けられる機構板と、それらに取り付けられる種々の部品(後述する遊技盤を除く。)とを含む構造体である。   The pachinko gaming machine 1 includes an outer frame (not shown) formed in a vertically long rectangular shape, and a game frame attached to the inside of the outer frame so as to be openable and closable. Further, the pachinko gaming machine 1 has a glass door frame 2 formed in a frame shape that is provided in the game frame so as to be opened and closed. The game frame includes a front frame (not shown) installed to be openable and closable with respect to the outer frame, a mechanism plate to which mechanism parts and the like are attached, and various parts attached to them (excluding a game board described later). Is a structure including

図1に示すように、パチンコ遊技機1は、額縁状に形成されたガラス扉枠2を有する。ガラス扉枠2の下部表面には打球供給皿(上皿)3がある。打球供給皿3の下部には、打球供給皿3に収容しきれない遊技球を貯留する余剰球受皿4と遊技球を発射する打球操作ハンドル(操作ノブ)5が設けられている。ガラス扉枠2の背面には、遊技盤6が着脱可能に取り付けられている。なお、遊技盤6は、それを構成する板状体と、その板状体に取り付けられた種々の部品とを含む構造体である。また、遊技盤6の前面には遊技領域7が形成されている。   As shown in FIG. 1, the pachinko gaming machine 1 has a glass door frame 2 formed in a frame shape. On the lower surface of the glass door frame 2 is a hitting ball supply tray (upper plate) 3. Under the hitting ball supply tray 3, an extra ball receiving tray 4 for storing game balls that cannot be accommodated in the hit ball supply tray 3 and a hitting operation handle (operation knob) 5 for launching the game balls are provided. A game board 6 is detachably attached to the back surface of the glass door frame 2. The game board 6 is a structure including a plate-like body constituting the game board 6 and various components attached to the plate-like body. A game area 7 is formed on the front surface of the game board 6.

遊技領域7の中央付近には、それぞれが演出用の飾り図柄を可変表示する複数の可変表示部を含む可変表示装置(飾り図柄表示装置)9が設けられている。可変表示装置9には、例えば「左」、「中」、「右」の3つの可変表示部(図柄表示エリア)がある。また、可変表示装置9には、始動入賞口14に入った有効入賞球数すなわち始動記憶数を表示する4つの特別図柄始動記憶表示エリア(始動記憶表示エリア)18が設けられている。有効始動入賞がある毎に、表示色が変化する(例えば青色表示から赤色表示に変化)始動記憶表示エリアを1増やす。そして、可変表示装置9の可変表示が開始される毎に、表示色が変化している始動記憶数表示エリアを1減らす(すなわち表示色をもとに戻す)。   Near the center of the game area 7, there is provided a variable display device (decorative symbol display device) 9 including a plurality of variable display portions each variably displaying an effect decorative symbol. The variable display device 9 has, for example, three variable display portions (symbol display areas) of “left”, “middle”, and “right”. In addition, the variable display device 9 is provided with four special symbol start memory display areas (start memory display areas) 18 for displaying the number of effective winning balls that have entered the start winning opening 14, that is, the start memory number. Each time there is a valid start prize, the display color changes (for example, changes from blue display to red display), and the start storage display area is increased by one. Each time the variable display of the variable display device 9 is started, the start memory number display area where the display color is changed is reduced by 1 (that is, the display color is returned to the original).

可変表示装置9の上部には、識別情報としての特別図柄を可変表示する特別図柄表示器(特別図柄表示装置)8が設けられている。この実施の形態では、特別図柄表示器8は、例えば0〜9の数字を可変表示可能な簡易で小型の表示器(例えば7セグメントLED)で実現されている。特別図柄表示器8は、遊技者に特定の停止図柄を把握しづらくさせるために、0〜99など、より多種類の数字を可変表示するように構成されていてもよい。可変表示装置9は、特別図柄表示器8による特別図柄の可変表示期間中に、装飾用(演出用)の図柄としての飾り図柄の可変表示を行う。なお、飾り図柄の可変表示を行う可変表示装置9は、演出制御基板に搭載されている演出制御用マイクロコンピュータによって制御される。また、パチンコ遊技機1は、遊技の進行中に遊技者が操作可能な操作スイッチ81を備える。   A special symbol display (special symbol display device) 8 that variably displays a special symbol as identification information is provided on the variable display device 9. In this embodiment, the special symbol display 8 is realized by a simple and small display (for example, 7 segment LED) capable of variably displaying numbers 0 to 9, for example. The special symbol display 8 may be configured to variably display a larger number of numbers such as 0 to 99 in order to make it difficult for the player to grasp a specific stop symbol. The variable display device 9 performs variable display of a decorative symbol as a symbol for decoration (production) during the variable symbol display period of the special symbol by the special symbol indicator 8. The variable display device 9 that performs variable display of decorative symbols is controlled by an effect control microcomputer mounted on the effect control board. In addition, the pachinko gaming machine 1 includes an operation switch 81 that can be operated by the player while the game is in progress.

可変表示装置9の下方には、始動入賞口14としての可変入賞球装置15が設けられている。始動入賞口14に入った入賞球は、遊技盤6の背面に導かれ、始動口スイッチ14aによって検出される。また、始動入賞口14の下部には開閉動作を行う可変入賞球装置15が設けられている。可変入賞球装置15は、ソレノイド16によって開状態とされる。   Below the variable display device 9, a variable winning ball device 15 is provided as a start winning port 14. The winning ball that has entered the start winning opening 14 is guided to the back of the game board 6 and detected by the start opening switch 14a. A variable winning ball device 15 that opens and closes is provided below the start winning opening 14. The variable winning ball device 15 is opened by a solenoid 16.

可変入賞球装置15の下部には、特定遊技状態(大当り状態)においてソレノイド21によって開状態とされる開閉板を用いた可変入賞球装置20が設けられている。可変入賞球装置20は大入賞口を開閉する手段である。可変入賞球装置20に入賞し遊技盤6の背面に導かれた入賞球のうち一方(V入賞領域:特別領域)に入った入賞球はVカウントスイッチ22で検出され、他方の領域に入った遊技球はカウントスイッチ23で検出される。遊技盤6の背面には、大入賞口内の経路を切り換えるためのソレノイド21Aも設けられている。   A variable winning ball apparatus 20 using an opening / closing plate that is opened by a solenoid 21 in a specific gaming state (big hit state) is provided below the variable winning ball apparatus 15. The variable winning ball apparatus 20 is a means for opening and closing a big winning opening. Of the winning balls that are won by the variable winning ball apparatus 20 and guided to the back of the game board 6, the winning balls that enter one (V winning area: special area) are detected by the V count switch 22 and enter the other area. A game ball is detected by the count switch 23. On the back of the game board 6, a solenoid 21A for switching the route in the special winning opening is also provided.

遊技球がゲート32を通過しゲートスイッチ32aで検出されると、普通図柄表示器10の表示の可変表示が開始される。この実施の形態では、左右のランプ(点灯時に図柄が視認可能になる)が交互に点灯することによって可変表示が行われ、例えば、可変表示の終了時に左側のランプが点灯すれば当たりとなる。そして、普通図柄表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定回数、所定時間だけ開状態になる。普通図柄表示器10の近傍には、ゲート32を通過した入賞球数を表示する4つのLEDによる表示部を有する普通図柄始動記憶表示器41が設けられている。ゲート32への遊技球の通過がある毎に、普通図柄始動記憶表示器41は点灯するLEDを1増やす。そして、普通図柄表示器10の可変表示が開始される毎に、点灯するLEDを1減らす。   When the game ball passes through the gate 32 and is detected by the gate switch 32a, variable display of the normal symbol display 10 is started. In this embodiment, variable display is performed by alternately lighting left and right lamps (designs can be visually recognized when lit). For example, if the left lamp is lit at the end of variable display, it is a win. When the stop symbol on the normal symbol display 10 is a predetermined symbol (winning symbol), the variable winning ball device 15 is opened for a predetermined number of times. In the vicinity of the normal symbol display 10, a normal symbol start memory display 41 having a display unit with four LEDs for displaying the number of winning balls that have passed through the gate 32 is provided. Each time a game ball passes to the gate 32, the normal symbol start memory display 41 increments the LED to be lit by one. Each time variable display on the normal symbol display 10 is started, the number of LEDs to be lit is reduced by one.

遊技盤6には、複数の入賞口29,30,33,39が設けられ、遊技球の入賞口29,30,33,39への入賞は、それぞれ入賞口スイッチ29a,30a,33a,39aによって検出される。各入賞口29,30,33,39は、遊技媒体を受け入れて入賞を許容する領域として遊技盤6に設けられる入賞領域を構成している。なお、始動入賞口14や大入賞口も、遊技媒体を受け入れて入賞を許容する入賞領域を構成する。遊技領域7の左右周辺には、遊技中に点滅表示される装飾ランプ25が設けられ、下部には、入賞しなかった遊技球を吸収するアウト口26がある。また、遊技領域7の外側の左右上部には、効果音を発する2つのスピーカ27が設けられている。遊技領域7の外周には、天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cが設けられている。さらに、遊技領域7における各構造物(大入賞口等)の周囲には装飾LEDが設置されている。天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cおよび装飾用LEDは、遊技機に設けられている装飾発光体の一例である。   The game board 6 is provided with a plurality of winning holes 29, 30, 33, 39, and winning of game balls to the winning holes 29, 30, 33, 39 is performed by winning hole switches 29a, 30a, 33a, 39a, respectively. Detected. Each winning opening 29, 30, 33, 39 constitutes a winning area provided in the game board 6 as an area for accepting game media and allowing winning. The start winning opening 14 and the big winning opening also constitute a winning area that accepts game media and allows winning. Around the left and right of the game area 7, there are provided decorative lamps 25 blinking and displayed during the game, and at the lower part there is an outlet 26 for absorbing a game ball that has not won a prize. Two speakers 27 that emit sound effects are provided on the left and right upper portions outside the game area 7. On the outer periphery of the game area 7, a top frame lamp 28a, a left frame lamp 28b, and a right frame lamp 28c are provided. Further, a decoration LED is installed around each structure (such as a big prize opening) in the game area 7. The top frame lamp 28a, the left frame lamp 28b, the right frame lamp 28c, and the decoration LED are examples of a decorative light emitter provided in the gaming machine.

そして、この例では、左枠ランプ28bの近傍に、賞球払出中に点灯する賞球LED51が設けられ、天枠ランプ28aの近傍に、補給球が切れたときに点灯する球切れLED52が設けられている。上記のように、この実施の形態のパチンコ遊技機1には、発光体としてのランプやLEDが各所に設けられている。さらに、プリペイドカードが挿入されることによって球貸しを可能にするプリペイドカードユニット(以下、「カードユニット」という。)50が、パチンコ遊技機1に隣接して設置されている。   In this example, a prize ball LED 51 that is lit while paying out a prize ball is provided in the vicinity of the left frame lamp 28b, and a ball break LED 52 that is lit when the refill ball is cut is provided in the vicinity of the top frame lamp 28a. It has been. As described above, the pachinko gaming machine 1 of this embodiment is provided with lamps and LEDs as light emitters in various places. Further, a prepaid card unit (hereinafter referred to as “card unit”) 50 that enables lending a ball by inserting a prepaid card is installed adjacent to the pachinko gaming machine 1.

カードユニット50には、例えば、使用可能状態であるか否かを示す使用可表示ランプ、カードユニット50がいずれの側のパチンコ遊技機1に対応しているのかを示す連結台方向表示器、カードユニット50内にカードが投入されていることを示すカード投入表示ランプ、記録媒体としてのカードが挿入されるカード挿入口、およびカード挿入口の裏面に設けられているカードリーダライタの機構を点検する場合にカードユニット50を解放するためのカードユニット錠が設けられている。   The card unit 50 includes, for example, a usable display lamp that indicates whether or not the card unit 50 is in a usable state, a connection table direction indicator that indicates which side of the pachinko gaming machine 1 corresponds to the card unit 50, a card A card insertion indicator lamp indicating that a card is inserted into the unit 50, a card insertion slot into which a card as a recording medium is inserted, and a card reader / writer mechanism provided on the back surface of the card insertion slot are inspected. In some cases, a card unit lock for releasing the card unit 50 is provided.

遊技者の操作により打球発射装置から発射された遊技球は、打球レールを通って遊技領域7に入り、その後、遊技領域7を下りてくる。遊技球が始動入賞口14に入り始動口スイッチ14aで検出されると、図柄の可変表示を開始できる状態であれば、特別図柄表示器8において特別図柄が可変表示(変動)を始める。図柄の可変表示を開始できる状態でなければ、始動記憶数を1増やす。   A game ball launched from the ball striking device by the player's operation enters the game area 7 through the hit ball rail, and then descends the game area 7. When the game ball enters the start winning opening 14 and is detected by the start opening switch 14a, the special symbol on the special symbol display 8 starts variable display (variation) if the variable display of the symbol can be started. If the variable display of the symbol cannot be started, the start memory number is increased by one.

特別図柄表示器8における特別図柄の可変表示は、一定時間が経過したときに停止する。停止時の特別図柄(停止図柄)が大当り図柄(特定表示結果)であると、大当り遊技状態に移行する。すなわち、可変入賞球装置20が、一定時間経過するまで、または、所定個数(例えば10個)の遊技球が入賞するまで開放する。そして、可変入賞球装置20の開放中に遊技球がV入賞領域に入賞しVカウントスイッチ22で検出されると、継続権が発生し可変入賞球装置20の開放が再度行われる。継続権の発生は、所定回数(例えば15ラウンド)許容される。   The variable display of the special symbol on the special symbol indicator 8 stops when a certain time has passed. If the special symbol (stop symbol) at the time of stoppage is a jackpot symbol (specific display result), the game shifts to a jackpot gaming state. That is, the variable winning ball apparatus 20 is released until a predetermined time elapses or until a predetermined number (for example, 10) of gaming balls wins. When a game ball is won in the V winning area while the variable winning ball device 20 is opened and is detected by the V count switch 22, a continuation right is generated and the variable winning ball device 20 is opened again. The generation of the continuation right is allowed a predetermined number of times (for example, 15 rounds).

停止時の特別図柄表示器8における特別図柄が確率変動を伴う大当り図柄(確変図柄)である場合には、次に大当りとなる確率が高くなる。すなわち、確変状態という遊技者にとってさらに有利な状態となる。   When the special symbol on the special symbol display 8 at the time of stoppage is a jackpot symbol (probability variation symbol) with a probability variation, the probability of the next jackpot increases. That is, it becomes a more advantageous state for the player in the probability variation state.

遊技球がゲート32を通過すると、普通図柄表示器10において普通図柄が可変表示される状態になる。また、普通図柄表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定時間だけ開状態になる。さらに、確変状態では、普通図柄表示器10における停止図柄が当り図柄になる確率が高められるとともに、可変入賞球装置15の開放時間と開放回数が高められる。   When the game ball passes through the gate 32, the normal symbol display unit 10 enters a state in which the normal symbol is variably displayed. Further, when the stop symbol on the normal symbol display 10 is a predetermined symbol (winning symbol), the variable winning ball device 15 is opened for a predetermined time. Further, in the probability variation state, the probability that the stop symbol in the normal symbol display 10 becomes a winning symbol is increased, and the opening time and the number of times of opening of the variable winning ball device 15 are increased.

次に、パチンコ遊技機1の裏面の構造について図3を参照して説明する。図3は、遊技機を裏面から見た背面図である。   Next, the structure of the back surface of the pachinko gaming machine 1 will be described with reference to FIG. FIG. 3 is a rear view of the gaming machine as seen from the back side.

図3に示すように、パチンコ遊技機1の裏面側には、外枠2A内の機構板の上部に球貯留タンク38が設けられ、パチンコ遊技機1が遊技機設置島に設置された状態でその上方から遊技球が球貯留タンク38に供給される。球貯留タンク38内の遊技球は、誘導樋39を通って賞球ケース40Aで覆われる球払出装置97(図4参照)に至る。   As shown in FIG. 3, on the back side of the pachinko gaming machine 1, a ball storage tank 38 is provided above the mechanism plate in the outer frame 2A, and the pachinko gaming machine 1 is installed on the gaming machine installation island. A game ball is supplied to the ball storage tank 38 from above. The game balls in the ball storage tank 38 reach the ball payout device 97 (see FIG. 4) that passes through the guide basket 39 and is covered with the prize ball case 40A.

また、遊技機裏面側には、可変表示装置9を制御する演出制御用マイクロコンピュータ等が搭載された演出制御基板80を含む可変表示制御ユニット49、および遊技制御用マイクロコンピュータ等が搭載された遊技制御基板(主基板)31が設置されている。また、球払出制御を行う払出制御用マイクロコンピュータ等が搭載された払出制御基板37が設置されている。   Further, on the back side of the gaming machine, a variable display control unit 49 including an effect control board 80 on which an effect control microcomputer for controlling the variable display device 9 is mounted, and a game on which a game control microcomputer and the like are mounted. A control board (main board) 31 is installed. In addition, a payout control board 37 on which a payout control microcomputer for performing ball payout control is mounted is installed.

可変表示装置9の可変表示制御を行う表示制御手段は、演出制御基板80に搭載されている演出制御用マイクロコンピュータやVDP(ビデオディスプレイプロセッサ)などで実現される。また、遊技機には、枠側に設けられている天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cなどを駆動する回路が搭載されている枠側ランプドライバ基板35と、スピーカ27を駆動する回路が搭載されている音声制御基板70とが設置されている。   Display control means for performing variable display control of the variable display device 9 is realized by an effect control microcomputer mounted on the effect control board 80, a VDP (video display processor), or the like. Further, the gaming machine drives a frame side lamp driver board 35 on which circuits for driving a top frame lamp 28a, a left frame lamp 28b, a right frame lamp 28c, etc. provided on the frame side are mounted, and a speaker 27. A voice control board 70 on which a circuit to be mounted is mounted.

さらに、DC30V、DC21V、DC12VおよびDC5Vを作成する電源回路が搭載された電源基板910やその他の基板(図示せず)が設けられている。また、主基板31から他の基板に出力される信号を中継する集中中継基板77が設けられている。   Further, a power supply board 910 and other boards (not shown) on which power supply circuits for creating DC30V, DC21V, DC12V, and DC5V are mounted are provided. A central relay board 77 is provided for relaying signals output from the main board 31 to other boards.

なお、電気部品制御基板(払出制御基板および演出制御基板)には、それぞれ、電気部品制御用マイクロコンピュータを含む電気部品制御手段(払出制御手段および演出制御手段)が搭載されている。払出制御手段および演出制御手段は、遊技制御手段からの指令信号(制御信号)に従って遊技機に設けられている電気部品(遊技用装置:球払出装置97、可変表示装置9等)を制御する。また、枠側に設けられているランプやLEDなどの発光体およびスピーカ27等の電気部品は、演出制御手段からの制御信号に従って、枠側ランプドライバ基板35および音声制御基板70に搭載されている回路部品によって駆動される。さらに、遊技機には、スイッチを搭載した基板やランプやLEDなどの発光体(以下。ランプ・LEDともいう。)が搭載された基板がある。なお、基板とは、電気的に駆動される電気部品、回路部品、コネクタや端子などの接続部品などを搭載した印刷配線板である。   The electrical component control boards (payout control board and effect control board) are each equipped with electrical component control means (payout control means and effect control means) including an electric component control microcomputer. The payout control means and the effect control means control electrical components (game device: ball payout device 97, variable display device 9 and the like) provided in the gaming machine according to a command signal (control signal) from the game control means. Further, the light emitters such as lamps and LEDs provided on the frame side, and electrical components such as the speaker 27 are mounted on the frame side lamp driver board 35 and the sound control board 70 in accordance with a control signal from the effect control means. Driven by circuit components. Furthermore, game machines include a board on which a switch is mounted and a board on which a light emitting body such as a lamp or LED (hereinafter also referred to as a lamp / LED) is mounted. The substrate is a printed wiring board on which electrically driven electrical components, circuit components, connection components such as connectors and terminals, and the like are mounted.

遊技機裏面において、上方には、各種情報を遊技機外部に出力するための各端子を備えたターミナル基板160が設置されている。ターミナル基板160には、少なくとも、球切れ検出スイッチ167の出力を導入して外部出力するための球切れ用端子、賞球情報(賞球個数信号)を外部出力するための賞球用端子および球貸し情報(球貸し個数信号)を外部出力するための球貸し用端子が設けられている。また、中央付近には、主基板31からの各種情報を遊技機外部に出力するための各端子を備えた情報端子盤(情報出力基板)34が設置されている。   On the back side of the gaming machine, a terminal board 160 provided with terminals for outputting various information to the outside of the gaming machine is installed above. The terminal board 160 includes at least a ball break terminal for introducing the output of the ball break detection switch 167 and outputting it externally, a prize ball terminal and a ball for outputting prize ball information (prize ball number signal) to the outside. A ball lending terminal for externally outputting lending information (ball lending number signal) is provided. Near the center, an information terminal board (information output board) 34 having terminals for outputting various information from the main board 31 to the outside of the gaming machine is installed.

球貯留タンク38に貯留された遊技球は誘導樋39を通り、カーブ樋を経て払出ケース40Aで覆われた球払出装置に至る。球払出装置97の上部には、遊技媒体切れ検出手段としての球切れスイッチが設けられている。球切れスイッチが球切れを検出すると、球払出装置の払出動作が停止する。球切れスイッチは遊技球通路内の遊技球の有無を検出するスイッチであるが、貯留タンク38内の補給球の不足を検出する球切れ検出スイッチ167も誘導樋39における上流部分(貯留タンク38に近接する部分)に設けられている。球切れ検出スイッチ167が遊技球の不足を検知すると、遊技機設置島に設けられている補給機構から遊技機に対して遊技球の補給が行われる。   The game balls stored in the ball storage tank 38 pass through the guide rod 39 and reach the ball payout device covered with the payout case 40A via the curve bag 39. Above the ball payout device 97, a ball break switch as a game medium break detection means is provided. When the ball break switch detects a ball break, the dispensing operation of the ball dispensing device stops. The ball break switch is a switch for detecting the presence or absence of a game ball in the game ball passage, but the ball break detection switch 167 for detecting the shortage of supply balls in the storage tank 38 is also an upstream portion of the guide rod 39 (in the storage tank 38). (Proximate part). When the ball break detection switch 167 detects the shortage of game balls, the game machine is replenished to the game machine from the supply mechanism provided on the gaming machine installation island.

以下、マイクロコンピュータを搭載した電気部品制御基板と、主基板31から信号を入力する基板とを、周辺基板と総称することがある。   Hereinafter, the electrical component control board on which the microcomputer is mounted and the board for inputting a signal from the main board 31 may be collectively referred to as a peripheral board.

図4は、払出ケース40Aで覆われた球払出装置97を示す正面図(図4(A))および断面図(図4(B))である。球払出装置97は、球切れスイッチ187と球払出装置97との間に設置されている通路体の下部に固定されている。通路体は、カーブ樋によって流下方向が左右方向に変換された2列の遊技球を流下させる球通路を有する。球通路の上流側には、球切れスイッチ187が設置されている。なお、実際には、それぞれの球通路に球切れスイッチが設置されている。球切れスイッチ187は、球通路内の遊技球の有無を検出するものであって、球切れスイッチ187が遊技球を検出しなくなると球払出装置97における払出モータ289(図6参照)の回転を停止して遊技球の払出動作が不動化される。   FIG. 4 is a front view (FIG. 4 (A)) and a cross-sectional view (FIG. 4 (B)) showing the ball dispensing device 97 covered with the dispensing case 40A. The ball payout device 97 is fixed to the lower part of the passage body installed between the ball break switch 187 and the ball payout device 97. The passage body has a ball passage for flowing down two rows of game balls whose flow-down direction is converted into the left-right direction by a curve saddle. A ball break switch 187 is installed on the upstream side of the ball passage. In practice, a ball break switch is installed in each ball passage. The ball break switch 187 detects the presence or absence of a game ball in the ball passage. When the ball break switch 187 no longer detects a game ball, the ball dispensing device 97 rotates the dispensing motor 289 (see FIG. 6). It stops and the payout operation of the game ball is immobilized.

また、球切れスイッチ187は、球通路に27〜28個の遊技球が存在することを検出できるような位置に係止片によって係止されている。   The ball break switch 187 is locked by a locking piece at a position where it can be detected that 27 to 28 game balls are present in the ball path.

球払出装置97において、ステッピングモータによる払出モータ289が例えばカムを回転させることによって、賞球または球貸し要求にもとづく遊技球を1個ずつ払い出す。また、球払出装置97の下方には、例えば近接スイッチによる払出個数カウントスイッチ301が設けられている。球払出装置97から1個の遊技球が落下する毎に、払出個数カウントスイッチ301がオンする。すなわち、払出個数カウントスイッチ301は、球払出装置97から実際に払い出された遊技球を検出する。従って、払出制御用マイクロコンピュータ370は、払出個数カウントスイッチ301の検出信号によって、実際に払い出された遊技球の数を計数することができる。この例では、払出個数カウントスイッチ301は、払い出された賞球および貸し球の両方を検出する。すなわち、賞球の払い出しと貸し球の払い出しが同一の検出手段によって検出される。よって、部品点数を減らすことができ、遊技機のコストを低減させることができる。ただし、賞球の払い出しと貸し球の払い出しとが別個の検出手段によって検出される構成としてもよい。   In the ball payout device 97, a payout motor 289 using a stepping motor, for example, rotates a cam, thereby paying out one winning ball or one game ball based on a ball lending request. Also, below the ball payout device 97, for example, a payout number count switch 301 using a proximity switch is provided. Each time one game ball falls from the ball payout device 97, the payout number count switch 301 is turned on. That is, the payout number count switch 301 detects a game ball actually paid out from the ball payout device 97. Therefore, the payout control microcomputer 370 can count the number of game balls actually paid out by the detection signal of the payout number count switch 301. In this example, the payout number count switch 301 detects both the paid-out prize balls and rental balls. That is, the payout of prize balls and the payout of rental balls are detected by the same detection means. Therefore, the number of parts can be reduced, and the cost of the gaming machine can be reduced. However, the payout of the winning ball and the payout of the rental ball may be detected by separate detection means.

この実施の形態では、球払出装置97は、賞球払出と球貸しとを共に行うように構成されている。しかし、賞球払出を行う球払出装置と球貸しを行う球払出装置とが別個に設けられていてもよい。別個に設けられている場合には、賞球払出を行う球払出装置と球貸しを行う球払出装置とで払出手段が構成される。さらに、例えば、カムまたはスプロケットの回転方向を変えて賞球払出と貸し球払出とを分けるように構成されていてもよいし、本実施の形態において例示する球払出装置97(モータによってカムを回転させる構成)以外のどのような構造の球払出装置を用いても、本発明を適用することができる。   In this embodiment, the ball payout device 97 is configured to perform both prize ball payout and ball lending. However, a ball payout device for paying out a prize ball and a ball payout device for lending a ball may be provided separately. When separately provided, the payout means is composed of a ball payout device for paying out a prize ball and a ball payout device for lending a ball. Further, for example, it may be configured to change the direction of rotation of the cam or sprocket to separate the prize ball payout and the lending ball payout, or the ball payout device 97 illustrated in the present embodiment (the cam is rotated by the motor). The present invention can be applied to a ball payout device having any structure other than the structure to be used.

図5は、主基板31における回路構成の一例を示すブロック図である。なお、図5には、払出制御基板37および演出制御基板80等も示されている。主基板31には、プログラムに従ってパチンコ遊技機1を制御する基本回路(遊技制御手段に相当)53と、ゲートスイッチ32a、始動口スイッチ14a、Vカウントスイッチ22、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39a、およびクリアスイッチ921からの信号を基本回路53に与える入力ドライバ回路58と、可変入賞球装置15を開閉するソレノイド16、可変入賞球装置20を開閉するソレノイド21および大入賞口内の経路を切り換えるためのソレノイド21Aを基本回路53からの指令に従って駆動するソレノイド回路59とが搭載されている。   FIG. 5 is a block diagram illustrating an example of a circuit configuration in the main board 31. FIG. 5 also shows the payout control board 37, the effect control board 80, and the like. The main board 31 has a basic circuit (corresponding to a game control means) 53 for controlling the pachinko gaming machine 1 according to a program, a gate switch 32a, a start port switch 14a, a V count switch 22, a count switch 23, a winning port switch 29a, 30a, 33a, 39a and an input driver circuit 58 for supplying a signal from the clear switch 921 to the basic circuit 53, a solenoid 16 for opening and closing the variable winning ball device 15, a solenoid 21 for opening and closing the variable winning ball device 20, and a special winning opening And a solenoid circuit 59 for driving the solenoid 21A for switching the path according to a command from the basic circuit 53.

なお、ゲートスイッチ32a、始動口スイッチ14a、Vカウントスイッチ22、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39a等のスイッチは、センサと称されているものでもよい。すなわち、遊技球を検出できる遊技媒体検出手段(この例では遊技球検出手段)であれば、その名称を問わない。入賞検出を行う始動口スイッチ14a、Vカウントスイッチ22、カウントスイッチ23、および入賞口スイッチ29a,30a,33a,39aの各スイッチは、入賞領域への遊技球の入賞を検出する入賞検出手段でもある。なお、ゲート32のような通過ゲートであっても、賞球の払い出しが行われるものであれば、通過ゲートへ遊技球が進入することが入賞になり、通過ゲートに設けられているスイッチ(例えばゲートスイッチ32a)が入賞検出手段になる。さらに、この実施の形態では、V入賞領域に入賞した遊技球はVカウントスイッチ22のみで検出されるので、大入賞口に入賞した遊技球数は、Vカウントスイッチ22による検出数とカウントスイッチ23による検出数との和になる。しかし、V入賞領域に入賞した遊技球が、Vカウントスイッチ22で検出されるとともにカウントスイッチ23でも検出されるようにしてもよい。その場合には、大入賞口に入賞した遊技球数は、カウントスイッチ23による検出数に相当する。   The gate switch 32a, the start port switch 14a, the V count switch 22, the count switch 23, the winning port switches 29a, 30a, 33a, 39a, and other switches may be referred to as sensors. That is, the name of the game medium detection means is not limited as long as it is a game medium detection means (game ball detection means in this example) that can detect a game ball. Each of the start port switch 14a, the V count switch 22, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a that perform winning detection is also a winning detection means that detects the winning of a game ball in the winning area. . Note that even if a passing gate such as the gate 32 is used, if a prize ball is to be paid out, a game ball entering the passing gate becomes a prize, and a switch (for example, a switch provided in the passing gate) The gate switch 32a) becomes a winning detection means. Further, in this embodiment, since the game balls won in the V winning area are detected only by the V count switch 22, the number of game balls won in the big winning opening is the number detected by the V count switch 22 and the count switch 23. It becomes the sum with the detection number by. However, the game ball that has won the V winning area may be detected by the V count switch 22 and also by the count switch 23. In this case, the number of game balls won in the big winning opening corresponds to the number detected by the count switch 23.

また、基本回路53から与えられるデータに従って、大当りの発生を示す大当り情報、可変表示装置9における図柄の可変表示開始に利用された始動入賞球の個数を示す有効始動情報、確率変動が生じたことを示す確変情報等の情報出力信号をホールコンピュータ等の外部装置に対して出力する情報出力回路64が搭載されている。   Further, according to the data given from the basic circuit 53, the jackpot information indicating the occurrence of the jackpot, the effective starting information indicating the number of starting winning balls used for starting the variable display of the symbols in the variable display device 9, the probability variation has occurred. An information output circuit 64 for outputting an information output signal such as probability variation information indicating the above to an external device such as a hall computer is mounted.

基本回路53は、ゲーム制御(遊技進行制御)用のプログラム等を記憶するROM54、ワークメモリとして使用される記憶手段(変動データを記憶する変動データ記憶手段)としてのRAM55、およびプログラムに従って制御動作を行う遊技制御用マイクロコンピュータ560を有する遊技制御用マイクロコンピュータ560と、I/Oポート部57とを含む。この実施の形態では、ROM54およびRAM55は遊技制御用マイクロコンピュータ560に内蔵されている。すなわち、遊技制御用マイクロコンピュータ560は、1チップマイクロコンピュータである。1チップマイクロコンピュータは、少なくともRAM55が内蔵されていればよく、ROM54は外付けであっても内蔵されていてもよい。また、I/Oポート部57は、1チップマイクロコンピュータに内蔵されていてもよい。   The basic circuit 53 includes a ROM 54 for storing a program for game control (game progress control), a RAM 55 as storage means (variation data storage means for storing fluctuation data) used as a work memory, and a control operation according to the program. A game control microcomputer 560 having a game control microcomputer 560 to be performed and an I / O port unit 57 are included. In this embodiment, the ROM 54 and the RAM 55 are built in the game control microcomputer 560. That is, the game control microcomputer 560 is a one-chip microcomputer. The one-chip microcomputer only needs to include at least the RAM 55, and the ROM 54 may be external or internal. Further, the I / O port unit 57 may be built in a one-chip microcomputer.

なお、遊技制御用マイクロコンピュータ560において遊技制御用マイクロコンピュータ560がROM54に格納されているプログラムに従って制御を実行するので、以下、遊技制御用マイクロコンピュータ560が実行する(または、処理を行う)ということは、具体的には、遊技制御用マイクロコンピュータ560がプログラムに従って制御を実行することである。このことは、主基板31以外の他の基板に搭載されているマイクロコンピュータについても同様である。また、遊技制御手段は、遊技制御用マイクロコンピュータ560を含む基本回路53で実現されている。   In addition, since the game control microcomputer 560 executes control according to the program stored in the ROM 54 in the game control microcomputer 560, hereinafter, the game control microcomputer 560 executes (or performs processing). Specifically, the game control microcomputer 560 executes control according to a program. The same applies to microcomputers mounted on substrates other than the main substrate 31. The game control means is realized by a basic circuit 53 including a game control microcomputer 560.

また、RAM55は、その一部または全部が電源基板910において作成されるバックアップ電源によってバックアップされている不揮発性記憶手段としてのバックアップRAMである。すなわち、遊技機に対する電力供給が停止しても、所定期間(バックアップ電源としてのコンデンサが放電してバックアップ電源が電力供給不能になるまで)は、RAM55の一部または全部の内容は保存される。特に、少なくとも、遊技状態すなわち遊技制御手段の制御状態に応じたデータ(特別図柄プロセスフラグ等)と未払出賞球数を示すデータは、バックアップRAMに保存される。なお、遊技制御手段の制御状態に応じたデータとは、停電等が生じた後に復旧した場合に、そのデータにもとづいて、制御状態を停電等の発生前に復旧させるために必要なデータである。また、この実施の形態では、RAM55の全部が、電源バックアップされているとする。   The RAM 55 is a backup RAM as a non-volatile storage means that is partially or entirely backed up by a backup power source created on the power supply substrate 910. That is, even if the power supply to the gaming machine is stopped, a part or all of the contents of the RAM 55 is saved for a predetermined period (until the backup power supply cannot be supplied because the capacitor as the backup power supply is discharged). In particular, at least data (special symbol process flag, etc.) corresponding to the game state, that is, the control state of the game control means, and data indicating the number of unpaid winning balls are stored in the backup RAM. Note that the data according to the control state of the game control means is data necessary for restoring the control state before the occurrence of a power failure or the like based on the data when the power supply is restored after a power failure or the like. . In this embodiment, it is assumed that the entire RAM 55 is backed up.

遊技制御用マイクロコンピュータ560のリセット端子には、電源基板910からのリセット信号が入力されるのであるが、電源基板910からのリセット信号は、主基板31において、遅延回路69で遅延される。なお、リセット信号は遊技制御用マイクロコンピュータ560に対する遊技制御用許容信号(CPUを動作可能状態にさせるための信号)および払出制御用マイクロコンピュータ370(図6参照)に対する払出制御用許容信号として共用されるので、遅延回路69は、遊技制御用許容信号が遊技制御用マイクロコンピュータ560に入力されるタイミングを、払出制御用許容信号が払出制御用マイクロコンピュータ370に入力されるタイミングよりも、遅延回路69における遅延量で決まる期間だけ遅延させることになる。なお、リセット信号がハイレベルになると遊技制御用マイクロコンピュータ560および払出制御用マイクロコンピュータ370は動作可能状態になり、リセット信号がローレベルになると遊技制御用マイクロコンピュータ560および払出制御用マイクロコンピュータ370は動作停止状態になる。従って、リセット信号がハイレベルである期間は、遊技制御用マイクロコンピュータ560および払出制御用マイクロコンピュータ370の動作を許容する許容信号が出力されていることになり、リセット信号がローレベルである期間は、遊技制御用マイクロコンピュータ560および払出制御用マイクロコンピュータ370の動作を停止させる動作停止信号が出力されていることになる。   The reset signal from the power supply board 910 is input to the reset terminal of the game control microcomputer 560, but the reset signal from the power supply board 910 is delayed by the delay circuit 69 in the main board 31. The reset signal is shared as a game control permission signal (a signal for making the CPU operable) for the game control microcomputer 560 and a payout control permission signal for the payout control microcomputer 370 (see FIG. 6). Therefore, the delay circuit 69 is configured such that the timing at which the game control permission signal is input to the game control microcomputer 560 is greater than the timing at which the payout control permission signal is input to the payout control microcomputer 370. This is delayed for a period determined by the amount of delay. When the reset signal becomes high level, the game control microcomputer 560 and the payout control microcomputer 370 become operable, and when the reset signal becomes low level, the game control microcomputer 560 and the payout control microcomputer 370 become The operation stops. Therefore, during the period in which the reset signal is at a high level, an allowable signal that allows the operation of the game control microcomputer 560 and the payout control microcomputer 370 is output, and the period in which the reset signal is at a low level. Thus, an operation stop signal for stopping the operations of the game control microcomputer 560 and the payout control microcomputer 370 is output.

さらに、基本回路53の入力ポートには、払出制御基板37を経由して、電源基板910からの電源電圧が所定値以下に低下したことを示す電源断信号が入力される。また、基本回路53の入力ポートには、RAMの内容をクリアすることを指示するためのクリアスイッチ921が操作されたことを示すクリア信号が入力される。   Further, a power-off signal indicating that the power supply voltage from the power supply board 910 has decreased to a predetermined value or less is input to the input port of the basic circuit 53 via the payout control board 37. A clear signal indicating that the clear switch 921 for instructing to clear the contents of the RAM is operated is input to the input port of the basic circuit 53.

遊技球を打撃して発射する打球発射装置は発射基板90上の回路によって制御される発射モータ94を含み、発射モータ94が回転することによって遊技球を遊技領域7に向けて発射する。発射モータ94を駆動するための駆動信号は、主基板31から発射基板90を介して発射モータ94に伝達される。そして、遊技者が操作ノブ(打球ハンドル)5に触れていることはタッチセンサで検出され、タッチセンサからの信号が発射基板90に搭載されているタッチセンサ回路(遊技者が操作ノブ5に触れているか否かを検出するための検出回路等を含む回路)に伝達される。発射基板90上の回路は、タッチセンサ回路からの信号がオフ状態を示している場合には、例えばAND回路を用いて、主基板31からの駆動信号の発射モータ94への伝達を停止し、発射モータ94の駆動を停止する。なお、操作ノブ5には、弾発力を調節するものであり、遊技者が接触する部分であるタッチリングが組み付けられている。発射基板90は、遊技機において、タッチリングと主基板31との間に配置され、かつ、タッチリングの近傍に配置されている。具体的には、タッチリングと発射基板90との間の配線長は、発射基板90と主基板31との間の配線長よりも短い。   The hitting ball launching device for hitting and launching the game ball includes a launch motor 94 controlled by a circuit on the launch board 90, and the launch motor 94 rotates to launch the game ball toward the game area 7. A drive signal for driving the firing motor 94 is transmitted from the main board 31 to the firing motor 94 via the launch board 90. The touch sensor detects that the player is touching the operation knob (hitting ball handle) 5, and the touch sensor circuit (player touches the operation knob 5) mounted on the launch board 90. A circuit including a detection circuit or the like for detecting whether or not there is. When the signal from the touch sensor circuit indicates an off state, the circuit on the launch board 90 stops transmission of the drive signal from the main board 31 to the launch motor 94 using, for example, an AND circuit, The driving of the firing motor 94 is stopped. The operation knob 5 is provided with a touch ring that adjusts the resilience and is a part that the player contacts. In the gaming machine, the launch board 90 is disposed between the touch ring and the main board 31 and is disposed in the vicinity of the touch ring. Specifically, the wiring length between the touch ring and the launch board 90 is shorter than the wiring length between the launch board 90 and the main board 31.

なお、この実施の形態では、演出制御基板80に搭載されている演出制御手段(演出制御用マイクロコンピュータで構成される。)が、集中中継基板77を介して遊技制御用マイクロコンピュータ560からの演出制御コマンドを受信し、飾り図柄の可変表示などを行う可変表示装置9の表示制御を行う。また、ランプ制御基板35に搭載されているランプ制御手段(ランプ制御用マイクロコンピュータで構成される。)が、遊技盤6に設けられている普通図柄表示器10、普通図柄始動記憶表示器41および装飾ランプ25の表示制御を行うとともに、枠側に設けられている天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cの表示制御を行う。   In this embodiment, the effect control means (configured by the effect control microcomputer) mounted on the effect control board 80 is the effect from the game control microcomputer 560 via the central relay board 77. A control command is received, and display control of the variable display device 9 that performs variable display of decorative symbols and the like is performed. The lamp control means (comprised of a lamp control microcomputer) mounted on the lamp control board 35 includes a normal symbol display 10, a normal symbol start memory display 41 provided on the game board 6, and The display control of the decoration lamp 25 is performed, and the display control of the top frame lamp 28a, the left frame lamp 28b, and the right frame lamp 28c provided on the frame side is performed.

また、この実施の形態で用いられている遊技制御用マイクロコンピュータ560は、ソフトウェアで割込禁止に設定できないマスク不能割込(NMI)を発生させるために使用されるマスク不能割込端子(NMI端子)と、遊技制御用マイクロコンピュータ560の外部から割込(外部割込;ソフトウェアで割込禁止にできるマスク可能割込)を発生させるために使用される割込端子(INT端子)とを有する。しかし、この実施の形態では、マスク不能割込および外部割込を使用しない。そこで、NMI端子およびINT端子を、抵抗を介してVcc(+5V)にプルアップしておく。従って、NMI端子およびINT端子の入力レベルは常にハイレベルになり、端子オープン状態に場合に比べて、ノイズ等によってNMI端子およびINT端子の入力レベルが立ち下がって割込発生状態になる可能性が低減する。   Further, the game control microcomputer 560 used in this embodiment has a non-maskable interrupt terminal (NMI terminal) used to generate a non-maskable interrupt (NMI) that cannot be set to disable interrupt by software. ) And an interrupt terminal (INT terminal) used to generate an interrupt (external interrupt; maskable interrupt that can be interrupted by software) from outside the game control microcomputer 560. However, this embodiment does not use non-maskable interrupts and external interrupts. Therefore, the NMI terminal and the INT terminal are pulled up to Vcc (+5 V) through resistors. Therefore, the input levels of the NMI terminal and the INT terminal are always high, and there is a possibility that the input level of the NMI terminal and the INT terminal falls due to noise or the like, and an interrupt is generated, as compared with the case where the terminal is open. To reduce.

図6は、払出制御基板37および球払出装置97などの払出に関連する構成要素を示すブロック図である。図6に示すように、払出制御基板37には、払出制御用CPU371を含む払出制御用マイクロコンピュータ(電気部品制御用マイクロコンピュータの一例)370が搭載されている。この実施の形態では、払出制御用マイクロコンピュータ370は、1チップマイクロコンピュータであり、少なくともRAMが内蔵されている。払出制御用マイクロコンピュータ370、RAM(図示せず)、払出制御用プログラムを格納したROM(図示せず)およびI/Oポート等は、払出制御手段を構成する。すなわち、払出制御手段は、払出制御用CPU371、RAMおよびROMを有する払出制御用マイクロコンピュータ370と、I/Oポートとで実現される。また、I/Oポートは、払出制御用マイクロコンピュータ370に内蔵されていてもよい。払出制御用マイクロコンピュータ370におけるRAMの少なくとも一部は、電源基板910に搭載されているバックアップ電源によって電源バックアップされている。この実施の形態では、全てのRAM領域が電源バックアップされているとする。よって、遊技機に対して電力供給がなされていないときにも、所定期間(バックアップ電源としてのコンデンサが放電してバックアップ電源が電力供給不能になるまで)は、RAMの記憶内容は保存される。   FIG. 6 is a block diagram showing components related to payout, such as the payout control board 37 and the ball payout device 97. As shown in FIG. 6, a payout control microcomputer 37 (an example of an electric component control microcomputer) 370 including a payout control CPU 371 is mounted on the payout control board 37. In this embodiment, the payout control microcomputer 370 is a one-chip microcomputer and incorporates at least a RAM. The payout control microcomputer 370, the RAM (not shown), the ROM (not shown) storing the payout control program, the I / O port, and the like constitute the payout control means. That is, the payout control means is realized by a payout control CPU 371, a payout control microcomputer 370 having a RAM and a ROM, and an I / O port. The I / O port may be built in the payout control microcomputer 370. At least a part of the RAM in the payout control microcomputer 370 is backed up by a backup power source mounted on the power supply board 910. In this embodiment, it is assumed that all RAM areas are backed up. Therefore, even when power is not supplied to the gaming machine, the storage contents of the RAM are preserved for a predetermined period (until the backup power supply cannot be supplied because the capacitor as the backup power supply is discharged).

球切れスイッチ187、満タンスイッチ48および払出個数カウントスイッチ301からの検出信号は、中継基板72を介して払出制御基板37のI/Oポート372fに入力される。また、払出モータ位置センサ295からの検出信号は、中継基板72を介して払出制御基板37のI/Oポート372eに入力される。払出モータ位置センサ295は、払出モータ289の回転位置を検出するための発光素子(LED)と受光素子とによるセンサであり、遊技球が詰まったこと、すなわちいわゆる球噛みを検出するために用いられる。払出制御基板37に搭載されている払出制御用マイクロコンピュータ370は、球切れスイッチ187からの球切れ状態を示す検出信号(非確保検出信号)が入力したとき、および、満タンスイッチ48からの満タン状態を示す検出信号(貯留検出信号)が入力したときは、球払出処理を停止する。   Detection signals from the ball break switch 187, the full switch 48, and the payout count switch 301 are input to the I / O port 372 f of the payout control board 37 via the relay board 72. A detection signal from the payout motor position sensor 295 is input to the I / O port 372e of the payout control board 37 via the relay board 72. The payout motor position sensor 295 is a sensor comprising a light emitting element (LED) and a light receiving element for detecting the rotational position of the payout motor 289, and is used for detecting that the game ball is clogged, that is, so-called ball biting. . The payout control microcomputer 370 mounted on the payout control board 37 receives a detection signal (non-reserved detection signal) indicating a ball-out state from the ball-out switch 187 and a full-out from the full switch 48. When a detection signal (storage detection signal) indicating the tongue state is input, the ball payout process is stopped.

さらに、満タンスイッチ48からの満タン状態を示す検出信号(貯留検出信号)は、払出制御基板37にて分岐され(図7参照)、ローレベルの満タン信号として払出制御用マイクロコンピュータ370と発射基板90とにそれぞれ入力される。遊技制御用マイクロコンピュータ560からの発射モータ94への駆動信号(発射制御信号)は、発射基板90を介して発射モータ94に伝えられる。満タン信号が発射基板90に入力されると、発射基板90での発射モータ94への駆動信号の伝達が停止され、打球発射装置からの球発射が停止される。払出制御基板37にて分岐された満タン信号は、発射基板90に搭載されたAND回路91の入力側の一方に入力され、遊技制御用マイクロコンピュータ560からの発射制御信号は、AND回路91の入力側の他方に入力される。そして、AND回路91の出力信号が発射モータ94に入力される。すなわち、払出制御基板37にて分岐された満タン信号が出力されている間(ローレベルとなっている間)は、発射モータ94への駆動信号の出力が停止される。   Further, a detection signal (storage detection signal) indicating a full state from the full tank switch 48 is branched by the payout control board 37 (see FIG. 7), and the payout control microcomputer 370 as a low level fullness signal. Each is input to the launch board 90. A drive signal (launch control signal) from the game control microcomputer 560 to the launch motor 94 is transmitted to the launch motor 94 via the launch board 90. When the full tank signal is input to the launch board 90, transmission of the drive signal to the launch motor 94 on the launch board 90 is stopped, and the ball launch from the hitting ball launcher is stopped. The full signal branched by the payout control board 37 is inputted to one of the input sides of the AND circuit 91 mounted on the launch board 90, and the launch control signal from the game control microcomputer 560 is sent from the AND circuit 91. Input to the other input side. The output signal of the AND circuit 91 is input to the firing motor 94. That is, the output of the drive signal to the firing motor 94 is stopped while the full tank signal branched by the payout control board 37 is being output (while it is at the low level).

なお、本例では、遊技制御用マイクロコンピュータ560によって発射モータ94への駆動信号(発射制御信号)が出力される構成とされているが、遊技制御用マイクロコンピュータ560からの信号を受けることなく、発射基板90が、電力供給がされていれば発射モータ94への駆動信号を常時出力する構成としてもよい。なお、発射基板90が駆動信号を常時出力するようにしても、AND回路91などによって、満タン信号が出力されているときや、タッチセンサ回路からの信号がオフ状態を示しているときなどの場合には、発射モータ94への駆動信号は停止状態とされる。   In this example, the game control microcomputer 560 outputs a drive signal (launch control signal) to the launch motor 94, but without receiving a signal from the game control microcomputer 560, The launch board 90 may be configured to always output a drive signal to the launch motor 94 as long as power is supplied. Even when the launch board 90 always outputs a drive signal, when the full signal is output by the AND circuit 91 or the like, or when the signal from the touch sensor circuit indicates an off state, etc. In that case, the drive signal to the firing motor 94 is stopped.

入賞口への入賞があると、主基板31の出力回路67から、払出指令信号として、払い出すべき賞球個数を示す賞球個数信号が出力される(オン状態になる)。また、遊技制御用マイクロコンピュータ560が立ち上がったとき(動作を開始したとき)に、払出起動コマンド(払出起動指令)が出力される。そして、賞球個数信号または払出起動指令の取り込みを指示するための賞球REQ信号(賞球リクエスト信号)が出力される(オン状態になる)。   When there is a winning at the winning opening, the output circuit 67 of the main board 31 outputs a prize ball number signal indicating the number of prize balls to be paid out (turns on) as a payout command signal. Further, when the game control microcomputer 560 is started up (when the operation is started), a payout start command (payout start command) is output. Then, a prize ball REQ signal (prize ball request signal) for instructing to take in a prize ball number signal or a payout activation command is output (turned on).

この実施の形態では、賞球個数信号と払出起動指令とは同じ信号線で伝達される。賞球個数信号および払出起動指令は、5ビットのデータ(2進5桁のデータ)によって構成され、5本の信号線によって出力される。なお、信号のオン状態すなわち出力状態は、信号が有意である状態であり、オン状態になることは、信号を受ける側に対してその信号にもとづく何らかの処理を開始することを指令することを意味する。例えば、賞球個数を示す賞球個数信号および賞球REQ信号がオン状態になるということは、払出制御手段に対して、賞球個数信号が示す払出数を認識するように指令することを意味する。   In this embodiment, the prize ball number signal and the payout activation command are transmitted through the same signal line. The award ball number signal and the payout activation command are composed of 5-bit data (binary 5-digit data) and are output through five signal lines. Note that the on state of the signal, that is, the output state is a state where the signal is significant, and turning on means that the signal receiving side is instructed to start some processing based on the signal. To do. For example, when the prize ball number signal indicating the number of prize balls and the prize ball REQ signal are turned on, this means that the payout control means is instructed to recognize the number of prizes indicated by the prize ball number signal. To do.

賞球個数信号および払出起動指令は、入力回路373Aを介してI/Oポート372eに入力される。また、賞球REQ信号は、払出制御用CPU371のマスク可能割込端子(以下、単に割込端子ともいう。)に入力される。払出制御用CPU371は、割込端子に賞球REQ信号が入力されたことにもとづく割込処理で、I/Oポート372eを介して賞球個数信号を入力し、賞球個数信号が示す個数の遊技球を払い出すために球払出装置97を駆動する制御を行う。なお、主基板31の出力回路67からは、主基板31が接続されていることを示す電源確認信号(接続確認信号)も出力される。   The prize ball number signal and the payout activation command are input to the I / O port 372e via the input circuit 373A. The prize ball REQ signal is input to a maskable interrupt terminal (hereinafter also simply referred to as an interrupt terminal) of the payout control CPU 371. The payout control CPU 371 inputs the prize ball number signal via the I / O port 372e in the interrupt process based on the prize ball REQ signal being inputted to the interrupt terminal, and the number of prize balls indicated by the prize ball number signal is indicated. In order to pay out the game ball, the ball paying device 97 is controlled to be driven. A power supply confirmation signal (connection confirmation signal) indicating that the main board 31 is connected is also output from the output circuit 67 of the main board 31.

払出制御用マイクロコンピュータ370は、遊技機への電力供給が開始されたあと、払出制御処理の実行の準備が完了したときに、主基板31に対してコマンド受信可能状態信号を送信する。コマンド受信可能状態信号は、払出制御基板37の出力ポート372bおよび出力回路373Bを介して主基板31に送信される。そして、主基板31において、入力回路68およびI/Oポート57を介してCPU56に入力される。なお、この実施の形態では、コマンド受信可能状態信号がオン状態になることによって、外部端子割込によるコマンド受信処理が実行可能であることを主基板31に通知したことになる。   The payout control microcomputer 370 transmits a command receivable state signal to the main board 31 when preparation for execution of the payout control process is completed after power supply to the gaming machine is started. The command receivable state signal is transmitted to the main board 31 via the output port 372b of the payout control board 37 and the output circuit 373B. Then, in the main board 31, the data is input to the CPU 56 via the input circuit 68 and the I / O port 57. In this embodiment, when the command receivable state signal is turned on, the main board 31 is notified that the command receiving process by the external terminal interrupt can be executed.

なお、この例では、払出制御用マイクロコンピュータ370は、払出個数カウントスイッチ301からの検出信号にもとづいて、1個の賞球の払い出しを確認したときには、主基板31に対して賞球カウント信号を送信する。さらに、払出制御手段は、遊技球の払い出しに関わるエラー(遊技球の払出処理ができない状態となっていることを示すエラーを意味する。具体的には、例えば、下皿満タン状態や球切れ状態が該当する。)が発生したときには、主基板31に対して払出エラー信号を送信する。賞球カウント信号および払出エラー信号は、払出制御基板37の出力ポート372bおよび出力回路373Bを介して主基板31に送信される。そして、主基板31において、入力回路68およびI/Oポート57を介してCPU56に入力される。   In this example, when the payout control microcomputer 370 confirms the payout of one prize ball based on the detection signal from the payout number count switch 301, it outputs a prize ball count signal to the main board 31. Send. Further, the payout control means means an error related to game ball payout (an error indicating that the game ball payout process cannot be performed. When this occurs, a payout error signal is transmitted to the main board 31. The prize ball count signal and the payout error signal are transmitted to the main board 31 via the output port 372b and the output circuit 373B of the payout control board 37. Then, in the main board 31, the data is input to the CPU 56 via the input circuit 68 and the I / O port 57.

また、電源基板910から、電源電圧が所定値以下の低下したことを示す電源断信号、およびRAMの内容をクリアするためのクリアスイッチ921が操作されたことを示すクリア信号とが、入力ポート372gに入力される。   In addition, a power-off signal indicating that the power supply voltage has dropped below a predetermined value and a clear signal indicating that the clear switch 921 for clearing the contents of the RAM has been operated are input from the power supply board 910 to the input port 372g. Is input.

払出制御用マイクロコンピュータ370は、出力ポート372bを介して、賞球払出数を示す賞球情報信号および貸し球数を示す球貸し個数信号をターミナル基板(枠用外部端子基板と盤用外部端子基板とを含む)160に出力する。なお、出力ポート372bの外側に、ドライバ回路が設置されているが、図6では記載省略されている。   The payout control microcomputer 370 receives, via the output port 372b, a prize ball information signal indicating the number of prize balls to be paid and a ball lending number signal indicating the number of balls to be lent. Output to 160). A driver circuit is provided outside the output port 372b, but is not shown in FIG.

また、払出制御用マイクロコンピュータ370は、出力ポート372cを介して、7セグメントLEDによるエラー表示用LED374にエラー信号を出力する。さらに、出力ポート372bを介して、点灯/消灯を指示するための信号を賞球LED51および球切れLED52に出力する。なお、払出制御基板37の入力ポート372fには、エラー状態を解除するためのエラー解除スイッチ375からの検出信号が入力される。エラー解除スイッチ375は、ソフトウェアリセットによってエラー状態を解除するために用いられる。   Also, the payout control microcomputer 370 outputs an error signal to the error display LED 374 using a 7-segment LED via the output port 372c. Further, a signal for instructing turning on / off is output to the winning ball LED 51 and the ball running out LED 52 via the output port 372b. A detection signal from an error release switch 375 for releasing the error state is input to the input port 372f of the payout control board 37. The error cancel switch 375 is used to cancel the error state by software reset.

さらに、払出制御用マイクロコンピュータ370からの払出モータ289への駆動信号は、出力ポート372aおよび中継基板72を介して球払出装置97の払出機構部分における払出モータ289に伝えられる。なお、出力ポート372aの外側に、ドライバ回路(モータ駆動回路)が設置されているが、図6では記載省略されている。   Further, a drive signal from the payout control microcomputer 370 to the payout motor 289 is transmitted to the payout motor 289 in the payout mechanism portion of the ball payout device 97 via the output port 372a and the relay board 72. Although a driver circuit (motor drive circuit) is installed outside the output port 372a, the description is omitted in FIG.

遊技機に隣接して設置されているカードユニット50には、カードユニット制御用マイクロコンピュータが搭載されている。また、カードユニット50には、使用可表示ランプ、連結台方向表示器、カード投入表示ランプおよびカード挿入口が設けられている。インタフェース基板(中継基板)66には、打球供給皿3の近傍に設けられている度数表示LED60、球貸し可LED61、球貸しスイッチ62および返却スイッチ63が接続される。   A card unit control microcomputer is mounted on the card unit 50 installed adjacent to the gaming machine. In addition, the card unit 50 is provided with a usable display lamp, a connecting table direction indicator, a card insertion display lamp, and a card insertion slot. A frequency display LED 60, a ball lending LED 61, a ball lending switch 62, and a return switch 63 provided in the vicinity of the hitting ball supply tray 3 are connected to the interface board (relay board) 66.

インタフェース基板66からカードユニット50には、遊技者の操作に応じて、球貸しスイッチ62が操作されたことを示す球貸しスイッチ信号および返却スイッチ63が操作されたことを示す返却スイッチ信号が与えられる。また、カードユニット50からインタフェース基板66には、プリペイドカードの残高を示すカード残高表示信号および球貸し可表示信号が与えられる。カードユニット50と払出制御基板37の間では、接続信号(VL信号)、ユニット操作信号(BRDY信号)、球貸し要求信号(BRQ信号)、球貸し完了信号(EXS信号)およびパチンコ機動作信号(PRDY信号)が入力ポート372fおよび出力ポート372dを介して送受信される。カードユニット50と払出制御基板37の間には、インタフェース基板66が介在している。よって、接続信号(VL信号)等の信号は、図6に示すように、インタフェース基板66を介してカードユニット50と払出制御基板37の間で送受信されることになる。   A card lending switch signal indicating that the ball lending switch 62 has been operated and a return switch signal indicating that the return switch 63 has been operated are provided to the card unit 50 from the interface board 66 in accordance with the player's operation. . Further, a card balance display signal indicating a prepaid card balance and a ball lending display signal are given from the card unit 50 to the interface board 66. Between the card unit 50 and the payout control board 37, a connection signal (VL signal), a unit operation signal (BRDY signal), a ball lending request signal (BRQ signal), a ball lending completion signal (EXS signal) and a pachinko machine operation signal ( PRDY signal) is transmitted / received via the input port 372f and the output port 372d. An interface board 66 is interposed between the card unit 50 and the payout control board 37. Therefore, a signal such as a connection signal (VL signal) is transmitted and received between the card unit 50 and the payout control board 37 via the interface board 66 as shown in FIG.

パチンコ遊技機1の電源が投入されると、払出制御基板37に搭載されている払出制御用マイクロコンピュータ370は、カードユニット50にPRDY信号を出力する。また、カードユニット制御用マイクロコンピュータは、電源が投入されると、VL信号を出力する。払出制御用マイクロコンピュータ370は、VL信号の入力状態によってカードユニット50の接続状態/未接続状態を判定する。カードユニット50においてカードが受け付けられ、球貸しスイッチが操作され球貸しスイッチ信号が入力されると、カードユニット制御用マイクロコンピュータは、払出制御基板37にBRDY信号を出力する。この時点から所定の遅延時間が経過すると、カードユニット制御用マイクロコンピュータは、払出制御基板37にBRQ信号を出力する。   When the power of the pachinko gaming machine 1 is turned on, the payout control microcomputer 370 mounted on the payout control board 37 outputs a PRDY signal to the card unit 50. The card unit control microcomputer outputs a VL signal when the power is turned on. The payout control microcomputer 370 determines the connected / unconnected state of the card unit 50 according to the input state of the VL signal. When a card is received in the card unit 50, the ball lending switch is operated and a ball lending switch signal is input, the card unit control microcomputer outputs a BRDY signal to the payout control board 37. When a predetermined delay time elapses from this point, the card unit control microcomputer outputs a BRQ signal to the payout control board 37.

そして、払出制御用マイクロコンピュータ370は、カードユニット50に対するEXS信号を立ち上げ、カードユニット50からのBRQ信号の立ち下がりを検出すると、払出モータ289を駆動し、所定個の貸し球を遊技者に払い出す。そして、払出が完了したら、払出制御用マイクロコンピュータ370は、カードユニット50に対するEXS信号を立ち下げる。その後、カードユニット50からのBRDY信号がオン状態でないことを条件に、遊技制御手段から払出指令信号を受けると賞球払出制御を実行する。   Then, the payout control microcomputer 370 raises the EXS signal to the card unit 50 and, when detecting the fall of the BRQ signal from the card unit 50, drives the payout motor 289 to give a predetermined number of rental balls to the player. Pay out. When the payout is completed, the payout control microcomputer 370 causes the EXS signal to the card unit 50 to fall. Thereafter, on the condition that the BRDY signal from the card unit 50 is not in the ON state, the winning ball payout control is executed when a payout command signal is received from the game control means.

カードユニット50で用いられる電源電圧AC24Vは払出制御基板37から供給される。すなわち、カードユニット50に対する電源基板910からの電力供給は、払出制御基板37およびインタフェース基板66を介して行われる。この例では、インタフェース基板66内に配されているカードユニット50に対するAC24Vの電源供給ラインに、カードユニット50を保護するためのヒューズが設けられ、カードユニット50に所定電圧以上の電圧が供給されることが防止される。   The power supply voltage AC24V used in the card unit 50 is supplied from the payout control board 37. That is, power supply from the power supply board 910 to the card unit 50 is performed via the payout control board 37 and the interface board 66. In this example, a fuse for protecting the card unit 50 is provided in a 24 V AC power supply line for the card unit 50 arranged in the interface board 66, and a voltage higher than a predetermined voltage is supplied to the card unit 50. It is prevented.

なお、この実施の形態で用いられている払出制御用マイクロコンピュータ370は、マスク不能割込(NMI)を発生させるために使用されるマスク不能割込端子(NMI端子)と、マスク可能割込を発生させるために使用される割込端子(INT端子)とを有する。しかし、この実施の形態では、マスク不能割込および外部割込を使用しない。そこで、NMI端子およびINT端子を、抵抗を介してVcc(+5V)にプルアップしておく。   The payout control microcomputer 370 used in this embodiment includes a non-maskable interrupt terminal (NMI terminal) used for generating a non-maskable interrupt (NMI) and a maskable interrupt. And an interrupt terminal (INT terminal) used for generation. However, this embodiment does not use non-maskable interrupts and external interrupts. Therefore, the NMI terminal and the INT terminal are pulled up to Vcc (+5 V) through resistors.

また、この実施の形態では、カードユニット50が遊技機とは別体として遊技機に隣接して設置されている場合を例にするが、カードユニット50は遊技機と一体化されていてもよい。また、コイン投入に応じてその金額に応じた遊技球が貸し出されるような場合でも本発明を適用できる。   In this embodiment, the case where the card unit 50 is installed adjacent to the gaming machine as a separate body from the gaming machine is taken as an example, but the card unit 50 may be integrated with the gaming machine. . Further, the present invention can be applied even in the case where game balls corresponding to the amount of money are lent out in accordance with coin insertion.

図7は、カードユニット50と払出制御基板37とで送受される信号を伝達するための回路構成例を示すブロック図である。図7に示すように、カードユニット50からの接続信号(VL信号)は、インタフェース基板66を介して払出制御基板37に入力される。払出制御基板37に入力されたVL信号は、払出制御基板37に搭載されたフォトカプラ151を介して払出制御用マイクロコンピュータ370に入力される。なお、フォトカプラ151には、抵抗器152やコンデンサ153,154等の受動素子が接続されている。   FIG. 7 is a block diagram illustrating a circuit configuration example for transmitting signals transmitted and received between the card unit 50 and the payout control board 37. As shown in FIG. 7, the connection signal (VL signal) from the card unit 50 is input to the payout control board 37 via the interface board 66. The VL signal input to the payout control board 37 is input to the payout control microcomputer 370 via the photocoupler 151 mounted on the payout control board 37. Note that passive elements such as a resistor 152 and capacitors 153 and 154 are connected to the photocoupler 151.

この例では、フォトカプラ151からの出力信号が払出制御基板37上で分岐されてAND回路155の入力側の一方に入力され、AND回路155の入力側の他方に払出制御基板37にて分岐された満タン信号の一方が入力される。そして、AND回路155の出力は、発射基板90に搭載されているAND回路91の入力側の一方に入力される。従って、フォトカプラ151からの出力信号がローレベルとなっているとき、又はローレベルの満タン信号が出力されているときは、発射基板90に搭載されているAND回路91の入力側の一方にローレベル信号が入力することになり、AND回路91の入力側の他方に入力されている発射制御信号の状態に関わらず、発射モータ94への駆動信号の出力が停止される。   In this example, an output signal from the photocoupler 151 is branched on the payout control board 37 and input to one of the input sides of the AND circuit 155, and is branched to the other input side of the AND circuit 155 at the payout control board 37. One of the full signals is input. The output of the AND circuit 155 is input to one of the input sides of the AND circuit 91 mounted on the launch board 90. Therefore, when the output signal from the photocoupler 151 is at a low level, or when a low level full signal is output, it is connected to one of the input sides of the AND circuit 91 mounted on the launch board 90. The low level signal is input, and the output of the drive signal to the firing motor 94 is stopped regardless of the state of the firing control signal inputted to the other input side of the AND circuit 91.

また、カードユニット50からのユニット操作信号(BRDY信号)は、インタフェース基板66に搭載されたフォトカプラ66aを介して払出制御基板37に入力され、払出制御用マイクロコンピュータ370に入力される。同様に、カードユニット50からの球貸し要求信号(BRQ信号)は、インタフェース基板66に搭載されたフォトカプラ66bを介して払出制御基板37に入力され、払出制御用マイクロコンピュータ370に入力される。   A unit operation signal (BRDY signal) from the card unit 50 is input to the payout control board 37 via the photocoupler 66a mounted on the interface board 66, and is input to the payout control microcomputer 370. Similarly, a ball lending request signal (BRQ signal) from the card unit 50 is input to the payout control board 37 via the photocoupler 66b mounted on the interface board 66, and is input to the payout control microcomputer 370.

さらに、払出制御用マイクロコンピュータ370からの球貸し完了信号(EXS信号)は、インタフェース基板66に搭載されたフォトカプラ66cを介してカードユニット50に入力される。同様に、払出制御用マイクロコンピュータ370からのパチンコ機動作信号(PRDY信号)は、インタフェース基板66に搭載されたフォトカプラ66dを介してカードユニット50に入力される。   Further, a ball lending completion signal (EXS signal) from the payout control microcomputer 370 is input to the card unit 50 via the photocoupler 66 c mounted on the interface board 66. Similarly, a pachinko machine operation signal (PRDY signal) from the payout control microcomputer 370 is input to the card unit 50 via a photocoupler 66 d mounted on the interface board 66.

上記のように、カードユニット50から払出制御用マイクロコンピュータ370に送信されるVL信号を伝達するためのフォトカプラ151を払出制御基板37に搭載する構成としたので、フォトカプラ151に接続される抵抗器152やコンデンサ153,154等の受動素子をも払出制御基板37に搭載する構成とすることができ、インタフェース基板66にコンデンサを一切搭載しないようにすることができる。従って、インタフェース基板66に何らかの不正回路が取り付けられたり、インタフェース基板66が不正基板に交換されたりしたときに、その不正行為を容易に発見することができる。すなわち、一切搭載されていないはずのコンデンサがインタフェース基板66に存在する場合には、何らかの不正行為が行われていると判断することができるため、不正行為を容易に発見することができるようになり、不正行為を防止することができるようになる。   Since the photocoupler 151 for transmitting the VL signal transmitted from the card unit 50 to the payout control microcomputer 370 is mounted on the payout control board 37 as described above, the resistor connected to the photocoupler 151 Passive elements such as the condenser 152 and the capacitors 153 and 154 can also be mounted on the dispensing control board 37, and no capacitor can be mounted on the interface board 66. Therefore, when any illegal circuit is attached to the interface board 66 or when the interface board 66 is replaced with an illegal board, the illegal action can be easily detected. In other words, if there is a capacitor on the interface board 66 that should not be mounted at all, it can be determined that some sort of fraud is being performed, so that fraud can be easily detected. , Will be able to prevent fraud.

従来の遊技機では、例えば特開2001−347054号公報(特に図11)に記載されているように、インタフェース基板にコンデンサが搭載されていた。よって、払出制御用マイクロコンピュータに対して不正な信号を入力するための不正回路をインタフェース基板に設けた不正基板が作成され、正規のインタフェース基板が不正基板に交換された場合に、基板が交換されたことが発見されにくいという課題があった。   In a conventional gaming machine, a capacitor is mounted on an interface board as described in, for example, Japanese Patent Application Laid-Open No. 2001-347054 (particularly FIG. 11). Therefore, when a fraudulent board having an illegal circuit for inputting an illegal signal to the payout control microcomputer is created on the interface board and the authorized interface board is replaced with the illegal board, the board is replaced. There was a problem that it was difficult to discover.

不正基板には、例えば、入賞していない、あるいは球貸し要求がなされていないにもかかわらず、払出動作を実行させるための信号を払出制御基板に入力するための不正回路が搭載された不正インタフェース基板が想定される。そして、不正インタフェース基板を不正に取り付け、遊技機外部からの操作(例えばボタン操作、無線通信操作)によって、不正インタフェース基板から払出制御基板に対する信号の出力指令を行い、遊技媒体(遊技球やメダルなど)を不正に払い出させることにより、不正に遊技媒体を獲得することが考えられる。なお、不正インタフェース基板を作成する際には、その不正インタフェース基板に搭載される回路(あるいは不正インタフェース基板から出力される信号)を安定化させるために、コンデンサが必要とされ、コンデンサ等の受動素子が不正インタフェース基板に搭載されることになる。   For example, a fraudulent interface is provided with a fraudulent circuit for inputting a signal for executing a payout operation to the payout control board even though no winning is made or a ball lending request is not made. A substrate is assumed. Then, the unauthorized interface board is illegally attached, and a signal output command is issued from the unauthorized interface board to the payout control board by an operation from the outside of the gaming machine (for example, button operation, wireless communication operation). ) May be illegally acquired to illegally acquire game media. When creating an illegal interface board, a capacitor is required to stabilize a circuit (or a signal output from the illegal interface board) mounted on the illegal interface board, and a passive element such as a capacitor is used. Will be mounted on the unauthorized interface board.

これに対し、本例では、インタフェース基板66にコンデンサを全く搭載しない構成としているので、インタフェース基板にコンデンサが搭載されているか否かを確認するだけで、不正基板であるか否かを容易に見分けることができる。また、VL信号ラインのコンデンサ153,154を払出制御基板37に搭載する際に、フォトカプラ151も一緒に払出制御基板37に搭載する構成としているので、インタフェース基板66と払出制御基板37との間において無用に信号経路を往復させることを無くし、省スペース化や、配線数の低減を実現することができる。   On the other hand, in this example, since the capacitor is not mounted on the interface board 66 at all, it is easily determined whether or not the board is an illegal board only by checking whether or not the capacitor is mounted on the interface board. be able to. In addition, when the capacitors 153 and 154 of the VL signal line are mounted on the payout control board 37, the photocoupler 151 is also mounted on the payout control board 37, and therefore, between the interface board 66 and the payout control board 37. In this case, it is possible to eliminate unnecessary reciprocation of the signal path, and to save space and reduce the number of wires.

なお、図7に示す例では、抵抗器152やコンデンサ153,154が接続されているフォトカプラ151のみを払出制御基板37に搭載する構成としたが、カードユニット50と払出制御用基板37との間で送受される信号を伝達する全てのフォトカプラ151,66a〜66dをも払出制御基板37に搭載するようにしてもよい。このように構成すれば、一切搭載されていないはずのフォトカプラがインタフェース基板66に存在する場合には、何らかの不正行為が行われていると判断することができるようになる。   In the example shown in FIG. 7, only the photocoupler 151 to which the resistor 152 and the capacitors 153 and 154 are connected is mounted on the payout control board 37. However, the card unit 50 and the payout control board 37 All the photocouplers 151 and 66a to 66d that transmit signals transmitted and received between them may also be mounted on the dispensing control board 37. With this configuration, when there is a photocoupler that should not be mounted at all on the interface board 66, it can be determined that some sort of fraud is being performed.

また、上記のように、払出制御基板37に搭載されたフォトカプラ151からのVL信号(貸出要求受付装置接続信号)の出力が分岐され、払出制御用マイクロコンピュータ370と、発射モータ94を駆動する発射制御信号を伝達する発射基板90とに入力される構成とされているので、フォトカプラ151によるVL信号の伝達状態に応じて発射モータ94の駆動を停止させることができるようになる。図6に示したように、払出制御基板37にて分岐されて発射基板90に送信されるフォトカプラ151によって伝達されたVL信号と、主基板31からの発射制御信号とがAND回路91に入力される。このため、本例では、フォトカプラ151によって伝達されたVL信号がオフ状態(ローレベル状態)のとき、又は、ローレベルの満タン信号が出力されているときは、主基板31からの発射制御信号の状態に関わらず、AND回路91からの出力信号である発射制御信号がオフ状態に維持される。よって、フォトカプラ151がVL信号を伝達していないときは、発射モータ94の駆動が停止されることになる。   Further, as described above, the output of the VL signal (lending request accepting apparatus connection signal) from the photocoupler 151 mounted on the payout control board 37 is branched, and the payout control microcomputer 370 and the launch motor 94 are driven. Since it is configured to be input to the firing substrate 90 that transmits the firing control signal, the driving of the firing motor 94 can be stopped according to the transmission state of the VL signal by the photocoupler 151. As shown in FIG. 6, the VL signal transmitted by the photocoupler 151 branched by the payout control board 37 and transmitted to the launch board 90 and the launch control signal from the main board 31 are input to the AND circuit 91. Is done. Therefore, in this example, when the VL signal transmitted by the photocoupler 151 is in the off state (low level state), or when the low level full signal is output, the emission control from the main board 31 is controlled. Regardless of the state of the signal, the firing control signal that is the output signal from the AND circuit 91 is maintained in the OFF state. Therefore, when the photocoupler 151 is not transmitting the VL signal, the driving of the firing motor 94 is stopped.

図8は、遊技機に設けられている主要な基板の接続状態を示すブロック図である。本例では、主基板31から周辺基板(払出制御基板37を除く。また、基板として形成されているものに限らず、端子が複数配列している端子盤も含む。)への信号は、集中中継基板77を介して出力される。図8に示す例では、情報端子盤34および演出制御基板80への信号が、集中中継基板77を介して出力される。なお、遊技機に設けられている各スイッチ(上述した入賞口スイッチ等)の検出信号は、スイッチ中継基板78を介して主基板31に入力される。   FIG. 8 is a block diagram showing a connection state of main boards provided in the gaming machine. In this example, the signal from the main board 31 to the peripheral board (excluding the payout control board 37. The signal is not limited to being formed as a board but includes a terminal board in which a plurality of terminals are arranged) is concentrated. It is output via the relay board 77. In the example shown in FIG. 8, signals to the information terminal board 34 and the effect control board 80 are output via the concentrated relay board 77. Note that the detection signals of the respective switches (such as the above-described prize opening switch) provided in the gaming machine are input to the main board 31 via the switch relay board 78.

なお、図8には、情報端子盤34および演出制御基板80が例示されているが、主基板31から信号を入力する周辺基板としてさらに多くの基板が存在している場合には、主基板31から出力される信号が1つの集中中継基板77を介して全ての周辺基板に出力されることが好ましい。すなわち、全ての周辺基板に対して1つの集中中継基板77が設けられていることが好ましい。さらに、遊技用装置の一つである電気部品としてのソレノイドに駆動信号を出力するソレノイド回路59(図5参照)からの駆動信号を、集中中継基板77を経由するようにしてもよい。   FIG. 8 illustrates the information terminal board 34 and the effect control board 80, but when there are more boards as peripheral boards for inputting signals from the main board 31, the main board 31 is shown. Is preferably output to all peripheral boards via one centralized relay board 77. That is, it is preferable that one central relay board 77 is provided for all peripheral boards. Furthermore, a drive signal from a solenoid circuit 59 (see FIG. 5) that outputs a drive signal to a solenoid as an electrical component that is one of the gaming devices may be routed through the centralized relay board 77.

集中中継基板77は、図示はしないが、遊技機裏面において、基板ボックスに収容されている。すなわち、収納手段としての基板ボックスに集中中継基板77が収納されて遊技機に取り付けられている。基板ボックスは、集中中継基板77が収容されたボックス本体が蓋部で覆われる構造である。なお、ボックス本体および蓋部は、外から内側を視認可能な(例えば透明)合成樹脂等で形成されている。基板ボックスの蓋部が閉じられて機構板に固定されている場合には、例えば透明の蓋部を介して集中中継基板77の表面側を視認できる。また、基板ボックスの蓋部が開かれた状態では、例えば透明のボックス本体の裏面を介して集中中継基板77の裏面側を視認できる。このように、集中中継基板77の表面および裏面は基板ボックスの外部から容易に視認できるので、集中中継基板77に不正がなされていないかどうかの調査を容易に行うことができる。   Although not shown, the central relay board 77 is accommodated in a board box on the back side of the gaming machine. That is, the central relay board 77 is housed in a board box as a housing means and attached to the gaming machine. The board box has a structure in which a box body in which the central relay board 77 is accommodated is covered with a lid. The box body and the lid are formed of a synthetic resin or the like that can be visually recognized from the outside (for example, transparent). When the lid portion of the substrate box is closed and fixed to the mechanism plate, the surface side of the central relay substrate 77 can be visually recognized through, for example, a transparent lid portion. Further, in the state in which the lid portion of the substrate box is opened, the back surface side of the central relay substrate 77 can be visually recognized through the back surface of the transparent box body, for example. As described above, since the front and back surfaces of the central relay board 77 can be easily seen from the outside of the board box, it is possible to easily investigate whether the central relay board 77 is fraudulent.

図9は、主基板31における信号出力部と集中中継基板77に搭載されている部品を示す説明図である。図9に示すように、主基板31において、基本回路53(具体的には遊技制御用マイクロコンピュータの出力ポート)からの信号を情報端子盤34に出力する情報出力回路64、および演出制御基板80に信号を出力する出力バッファ回路67(図5では図示せず)は、集中中継基板77に向かう方向にしか信号を通過させない(集中中継基板77から主基板31への方向には信号を通過させない)信号方向規制手段としての単方向性回路で構成されている。単方向性回路として、トランジスタや、IC回路が使用される。なお、単方向性回路は、電流増幅機能を有していてもよい。   FIG. 9 is an explanatory diagram showing a signal output unit in the main board 31 and components mounted on the centralized relay board 77. As shown in FIG. 9, in the main board 31, an information output circuit 64 for outputting a signal from the basic circuit 53 (specifically, an output port of the game control microcomputer) to the information terminal board 34, and an effect control board 80 The output buffer circuit 67 (not shown in FIG. 5) that outputs a signal passes only in the direction toward the central relay board 77 (does not pass the signal in the direction from the central relay board 77 to the main board 31). ) It consists of a unidirectional circuit as a signal direction regulating means. As the unidirectional circuit, a transistor or an IC circuit is used. Note that the unidirectional circuit may have a current amplification function.

主基板31から集中中継基板77に出力される信号は、主基板31に搭載されているコネクタ31A、集中中継基板77に搭載されているコネクタ77A、およびコネクタ31Aとコネクタ77Aとの間を接続するケーブルで、集中中継基板77に伝達される。集中中継基板77には、主基板31から入力された信号を周辺基板に向かう方向にしか信号を通過させない(周辺基板から集中中継基板77への方向には信号を通過させない)信号方向規制手段としての単方向性回路74,76が搭載されている。単方向性回路74,76として、例えばダイオードやトランジスタが使用される。図9には、ダイオードが例示されている。また、単方向性回路74,76は、各信号毎に設けられる。   The signal output from the main board 31 to the central relay board 77 connects the connector 31A mounted on the main board 31, the connector 77A mounted on the central relay board 77, and the connector 31A and the connector 77A. The signal is transmitted to the central relay board 77 by a cable. The central relay board 77 is a signal direction regulating means that allows a signal input from the main board 31 to pass only in the direction toward the peripheral board (no signal is passed in the direction from the peripheral board to the central relay board 77). The unidirectional circuits 74 and 76 are mounted. As the unidirectional circuits 74 and 76, for example, a diode or a transistor is used. FIG. 9 illustrates a diode. Unidirectional circuits 74 and 76 are provided for each signal.

また、図9に示す例では、情報出力回路64に出力される信号は、集中中継基板77に搭載されているコネクタ77Bを介して出力される。演出制御基板80に出力される信号は、集中中継基板77に搭載されているコネクタ77Dを介して出力される。   In the example shown in FIG. 9, the signal output to the information output circuit 64 is output via the connector 77 </ b> B mounted on the central relay board 77. The signal output to the effect control board 80 is output via the connector 77D mounted on the central relay board 77.

なお、図9には、主基板31から集中中継基板77には1つのコネクタを介して信号が出力される例が示されているが、複数のコネクタおよびケーブルを介して主基板31から集中中継基板77に信号が出力されるようにしてもよい。また、この実施の形態では、主基板31と払出制御基板37との間の信号は集中中継基板77を経由しないが、主基板31と払出制御基板37との間の信号として、主基板31から払出制御基板37に向かう信号しか存在しない場合には、主基板31から払出制御基板37に向かう信号が、集中中継基板77を経由するように構成してもよい。   FIG. 9 shows an example in which a signal is output from the main board 31 to the centralized relay board 77 via one connector, but centralized relaying from the main board 31 via a plurality of connectors and cables is shown. A signal may be output to the substrate 77. In this embodiment, the signal between the main board 31 and the payout control board 37 does not pass through the central relay board 77, but as a signal between the main board 31 and the payout control board 37, from the main board 31. When there is only a signal directed to the payout control board 37, a signal from the main board 31 toward the payout control board 37 may be configured to pass through the central relay board 77.

また、集中中継基板77に、信号方向規制手段だけでなく、ノイズフィルタなどのノイズ除去用の部品を搭載してもよい。すなわち、中継基板において、遊技制御基板から入力される信号(全て、または、特にノイズ対策を行うことが望まれる演出制御コマンドやINT信号などの主要な信号すなわち正しく入力されないと遊技進行に支障を来す信号)に対してノイズ除去手段が設けられていることが好ましい。ノイズ除去用の部品を搭載することによって、主基板31と周辺基板との間の配線長が長くなっても、周辺基板に至る信号にノイズが乗る可能性を低減できる。また、集中中継基板77において、主基板31から入力される信号(例えば信号についての電流)を増幅する増幅手段が搭載されていてもよい。そのように構成されている場合には、中継基板において増幅処理がなされるので、主基板31や周辺基板に搭載される増幅回路をなくすことができる。   In addition to the signal direction regulating means, noise removing components such as a noise filter may be mounted on the centralized relay board 77. That is, in the relay board, all the signals input from the game control board (or main signals such as production control commands and INT signals for which noise countermeasures are particularly required, that is, if they are not input correctly, the game progress is hindered. It is preferable that noise removing means is provided for the signal. By mounting the noise removing component, it is possible to reduce the possibility that noise is added to the signal reaching the peripheral board even if the wiring length between the main board 31 and the peripheral board is long. Further, the central relay board 77 may be equipped with an amplifying means for amplifying a signal (for example, a current for the signal) input from the main board 31. In the case of such a configuration, amplification processing is performed on the relay substrate, so that the amplification circuit mounted on the main substrate 31 or the peripheral substrate can be eliminated.

図10は、演出制御基板80、枠側ランプドライバ基板35および音声制御基板70の回路構成例を示すブロック図である。なお、図10に示す例では、枠側ランプドライバ基板35には、マイクロコンピュータは搭載されていない。演出制御基板80において、演出制御用マイクロコンピュータにおける演出制御用CPU101は、ROM(図示せず)に格納されたプログラムに従って動作し、集中中継基板77を介して入力される主基板31からのストローブ信号(演出制御INT信号)に応じて、入力ポート103を介して演出制御コマンドを受信する。また、演出制御用CPU101は、演出制御コマンドにもとづいて、VDP109に、LCDを用いた可変表示装置9の表示制御を実行させる。   FIG. 10 is a block diagram illustrating a circuit configuration example of the effect control board 80, the frame side lamp driver board 35, and the sound control board 70. In the example shown in FIG. 10, the frame side lamp driver substrate 35 is not equipped with a microcomputer. In the effect control board 80, the effect control CPU 101 in the effect control microcomputer operates in accordance with a program stored in a ROM (not shown), and a strobe signal from the main board 31 input via the centralized relay board 77. An effect control command is received via the input port 103 in response to the (effect control INT signal). Further, the effect control CPU 101 causes the VDP 109 to execute display control of the variable display device 9 using the LCD based on the effect control command.

演出制御コマンドおよび演出制御INT信号は、演出制御基板80において、まず、入力ドライバ102に入力する。入力ドライバ102は、集中中継基板77から入力された信号を演出制御基板80の内部に向かう方向にしか信号を通過させない(演出制御基板80の内部から集中中継基板77への方向には信号を通過させない)信号方向規制手段としての単方向性回路でもある。   The effect control command and the effect control INT signal are first input to the input driver 102 on the effect control board 80. The input driver 102 passes the signal input from the centralized relay board 77 only in the direction toward the inside of the effect control board 80 (the signal passes in the direction from the inside of the effect control board 80 to the centralized relay board 77). It is also a unidirectional circuit as signal direction regulating means.

さらに、演出制御用CPU101は、出力ポート104および出力ドライバ110を介して音声制御基板70に対して音番号データを出力する。また、演出制御用CPU101に入出力するバス(アドレスバス、データバス、および書込/読出信号等の制御信号ラインを含む)はバスドライバ105を介して枠側ランプドライバ基板35まで延長されている。また、演出制御用CPU101は、操作スイッチ81から、遊技者によって操作がなされたか否かを示す操作信号を入力する。   Further, the production control CPU 101 outputs sound number data to the sound control board 70 via the output port 104 and the output driver 110. A bus (including an address bus, a data bus, and a control signal line such as a write / read signal) input / output to / from the effect control CPU 101 is extended to the frame side lamp driver board 35 via the bus driver 105. . Further, the production control CPU 101 inputs an operation signal indicating whether or not an operation has been performed by the player from the operation switch 81.

枠側ランプドライバ基板35において、演出制御用CPU101に入出力するバスは、バスレシーバ351を介して出力ポート352に接続される。出力ポート352から出力される各ランプを駆動する信号は、ランプドライバ354で増幅され各ランプに供給される。また、出力ポート352から出力される各LEDを駆動する信号は、LED駆動回路355で増幅され各LEDに供給される。   In the frame side lamp driver substrate 35, a bus that is input to and output from the effect control CPU 101 is connected to the output port 352 via the bus receiver 351. A signal for driving each lamp output from the output port 352 is amplified by the lamp driver 354 and supplied to each lamp. A signal for driving each LED output from the output port 352 is amplified by the LED driving circuit 355 and supplied to each LED.

この実施の形態では、枠側に設けられているランプ・LEDは、演出制御基板80に搭載されている演出用CPU101を含む演出制御手段によって制御される。また、可変表示装置9およびランプ・LED等を制御するためのデータがROMに格納されている。演出用CPU101は、ROMに格納されているデータにもとづいて可変表示装置9およびランプ・LED等を制御する。そして、枠側ランプドライバ基板35に搭載されている出力ポート352および各ドライバまたは駆動回路を介して、ランプ・LEDが駆動される。   In this embodiment, the lamps / LEDs provided on the frame side are controlled by effect control means including an effect CPU 101 mounted on the effect control board 80. Further, data for controlling the variable display device 9 and lamps / LEDs are stored in the ROM. The effect CPU 101 controls the variable display device 9 and the lamps / LEDs based on the data stored in the ROM. Then, the lamp / LED is driven through the output port 352 mounted on the frame side lamp driver substrate 35 and each driver or drive circuit.

なお、演出制御基板80、枠側ランプドライバ基板35および音声制御基板70は独立した基板であるが、それらは、例えば、遊技機裏面において、1つのボックスに収容された状態で設置される。   The effect control board 80, the frame side lamp driver board 35, and the sound control board 70 are independent boards, but are installed in a single box on the back of the gaming machine, for example.

音声制御基板70において、演出制御基板80からの音番号データは、入力ドライバ702を介して、音声制御用CPU(この例ではI/Oポートを内蔵した音声制御用マイクロコンピュータ)701に入力される。音声制御用CPU701は、演出制御基板80から音番号データを入力すると、応答信号を演出制御基板80に出力する。演出制御基板80において、応答信号は、入力ポート103を介して演出制御用CPU101に入力される。なお、この実施の形態では、演出制御基板80から音声制御基板70に送信される音声制御コマンド(音番号データ)に対して、応答信号が音声制御基板70から演出制御基板80に送信される双方向通信によってコマンドが伝達されるが、単方向通信によって演出制御基板80から音声制御基板70にコマンドが伝達されるようにしてもよい。また、図10では、応答信号についての入出力ドライバは示されていないが、音声制御コマンドの場合と同様に、応答信号を通す入出力ドライバを設けることが好ましい。   In the sound control board 70, the sound number data from the effect control board 80 is input to a sound control CPU (in this example, a sound control microcomputer incorporating an I / O port) 701 via an input driver 702. . When the sound control CPU 701 receives the sound number data from the effect control board 80, it outputs a response signal to the effect control board 80. In the effect control board 80, the response signal is input to the effect control CPU 101 via the input port 103. In this embodiment, in response to a voice control command (sound number data) transmitted from the effect control board 80 to the voice control board 70, a response signal is transmitted from the voice control board 70 to the effect control board 80. Although the command is transmitted by the directional communication, the command may be transmitted from the effect control board 80 to the sound control board 70 by the unidirectional communication. In FIG. 10, the input / output driver for the response signal is not shown, but it is preferable to provide an input / output driver for passing the response signal as in the case of the voice control command.

音声制御用CPU701は、音番号データに応じたデータを音声データROM704から読み出し、読み出したデータに応じた制御信号を例えばディジタルシグナルプロセッサによる音声合成用IC703に出力する。音声合成用IC703は、音声制御用CPU701から入力された制御信号に応じた音声や効果音を発生し増幅回路705に出力する。増幅回路705は、音声合成用IC703の出力レベルを、ボリューム706で設定されている音量に応じたレベルに増幅した音声信号をスピーカ27に出力する。なお、音声制御基板70には、音声制御用マイクロコンピュータが搭載されていなくてもよい。その場合には、演出制御用CPU101からの音番号データは、音声合成用IC703に入力される。また、音声制御基板70に音声制御用マイクロコンピュータが搭載されていない場合には、演出制御用CPU101からの信号を受けたことに応じて、音声合成用IC703により、音声動作の確認ためのフィードバック信号が演出制御用CPU101に対して出力される。   The voice control CPU 701 reads data corresponding to the sound number data from the voice data ROM 704, and outputs a control signal corresponding to the read data to the voice synthesis IC 703 using a digital signal processor, for example. The voice synthesis IC 703 generates voice and sound effects according to the control signal input from the voice control CPU 701 and outputs the voice and sound effects to the amplifier circuit 705. The amplification circuit 705 outputs an audio signal obtained by amplifying the output level of the speech synthesis IC 703 to a level corresponding to the volume set by the volume 706 to the speaker 27. Note that the voice control board 70 may not be equipped with a voice control microcomputer. In this case, the sound number data from the effect control CPU 101 is input to the speech synthesis IC 703. When the voice control board 70 is not equipped with a voice control microcomputer, the voice synthesis IC 703 receives a feedback signal for confirming voice operation in response to receiving a signal from the effect control CPU 101. Is output to the CPU 101 for effect control.

次に、電源基板910の構成を図11のブロック図を参照して説明する。電源基板910には、遊技機内の各電気部品制御基板や機構部品への電力供給を実行または遮断するための電源スイッチ914が設けられている。なお、電源スイッチ914は、遊技機において、電源基板910の外に設けられていてもよい。電源スイッチ914が閉状態(オン状態)では、交流電源(AC24V)が、過電圧保護回路としてのバリスタ918を介して、整流回路912に印加される状態になる。すなわち、遊技機に電力供給がなされる状態になる。   Next, the configuration of the power supply substrate 910 will be described with reference to the block diagram of FIG. The power supply board 910 is provided with a power switch 914 for executing or shutting off power supply to each electrical component control board and mechanism component in the gaming machine. Note that the power switch 914 may be provided outside the power supply board 910 in the gaming machine. When the power switch 914 is in a closed state (on state), AC power (AC 24 V) is applied to the rectifier circuit 912 via a varistor 918 as an overvoltage protection circuit. In other words, power is supplied to the gaming machine.

電源基板910は、電気部品制御基板(主基板31および払出制御基板37等)と独立して設置され、遊技機内の各基板および機構部品が使用する電圧を生成する。この例では、AC24V、VSL(DC+30V)、VLP(DC+24V)、VDD(DC+12V)およびVCC(DC+5V)を生成する。また、バックアップ電源(VBB)すなわちバックアップRAMに記憶内容を保持させるための記憶保持手段となるコンデンサ916は、DC+5V(VCC)すなわち各基板上のIC等を駆動する電源のラインから充電される。また、+5Vラインとバックアップ+5V(VBB)ラインとの間に、逆流防止用のダイオード917が挿入される。なお、VSLは、整流平滑回路915において、整流素子でAC24Vを整流昇圧することによって生成される。VSLは、ソレノイド駆動電源となる。また、VLPは、ランプ点灯用の電圧であって、整流回路912において、整流素子でAC24Vを整流することによって生成される。   The power supply board 910 is installed independently of the electrical component control board (the main board 31 and the payout control board 37 and the like), and generates a voltage used by each board and mechanism component in the gaming machine. In this example, AC24V, VSL (DC + 30V), VLP (DC + 24V), VDD (DC + 12V) and VCC (DC + 5V) are generated. Further, a capacitor 916 serving as a storage holding means for holding the stored contents in the backup power supply (VBB), that is, the backup RAM, is charged from DC + 5V (VCC), that is, a power supply line for driving an IC or the like on each substrate. Further, a backflow prevention diode 917 is inserted between the +5 V line and the backup +5 V (VBB) line. Note that VSL is generated by rectifying and boosting AC 24 V with a rectifying element in the rectifying and smoothing circuit 915. VSL is a solenoid driving power source. VLP is a lamp lighting voltage, and is generated by rectifying AC24V with a rectifier element in the rectifier circuit 912.

電源電圧生成手段としてのDC−DCコンバータ913は、1つまたは複数のレギュレータIC(図11では2つのレギュレータIC924A,924Bを示す。)を有し、VSLにもとづいてVDDおよびVCCを生成する。レギュレータIC(スイッチングレギュレータ)924A,924Bの入力側には、比較的大容量のコンデンサ923A,923Bが接続されている。従って、外部からの遊技機に対する電力供給が停止したときに、VSL、VDD、VCC等の直流電圧は、比較的緩やかに低下する。   A DC-DC converter 913 serving as a power supply voltage generation unit has one or a plurality of regulator ICs (two regulator ICs 924A and 924B are shown in FIG. 11), and generates VDD and VCC based on VSL. Relatively large capacitors 923A and 923B are connected to the input sides of the regulator ICs (switching regulators) 924A and 924B. Accordingly, when the power supply to the gaming machine from the outside is stopped, the DC voltages such as VSL, VDD, VCC, etc., decrease relatively slowly.

図11に示すように、AC24Vは、そのままコネクタ922Bに供給される。また、VLPは、コネクタ922Cに供給される。VCC、VDDおよびVSLは、コネクタ922A,922B,922Cに供給される。   As shown in FIG. 11, AC24V is supplied to the connector 922B as it is. The VLP is supplied to the connector 922C. VCC, VDD and VSL are supplied to connectors 922A, 922B and 922C.

コネクタ922Aに接続されるケーブルは、主基板31に接続される。また、コネクタ922Bに接続されるケーブルは、払出制御基板37に接続される。従って、コネクタ922A,922Bには、VBBも供給されている。そして、コネクタ922Cに接続されるケーブルは、ランプ制御基板35に接続される。なお、演出制御基板80および音声制御基板70には、ランプ制御基板35を経由して各電圧が供給される。   The cable connected to the connector 922A is connected to the main board 31. The cable connected to the connector 922B is connected to the payout control board 37. Therefore, VBB is also supplied to the connectors 922A and 922B. The cable connected to the connector 922C is connected to the lamp control board 35. Each voltage is supplied to the effect control board 80 and the sound control board 70 via the lamp control board 35.

また、電源基板910には、押しボタン構造のクリアスイッチ921が搭載されている。クリアスイッチ921が押下されるとローレベル(オン状態)のクリアスイッチ信号が出力され、コネクタ922Bを介して払出制御基板37に送信される。また、クリアスイッチ921が押下されていなければハイレベル(オフ状態)の信号が出力される。なお、クリアスイッチ921は、押しボタン構造以外の他の構成であってもよい。また、クリアスイッチ921は、遊技機において、例えば払出制御基板37などの電源基板910以外の基板やその他の場所に設けられていてもよい。   In addition, a clear switch 921 having a push button structure is mounted on the power supply board 910. When the clear switch 921 is pressed, a clear switch signal at a low level (on state) is output and transmitted to the payout control board 37 via the connector 922B. If the clear switch 921 is not pressed, a high level (off state) signal is output. The clear switch 921 may have a configuration other than the push button structure. Further, the clear switch 921 may be provided on a board other than the power supply board 910 such as the payout control board 37 or other places in the gaming machine.

さらに、電源基板910には、それぞれの電気部品制御基板に搭載されている各マイクロコンピュータに対するシステムリセット信号(リセットレベルではマイクロコンピュータの動作を禁止し、非リセットレベルになるとマイクロコンピュータの動作を可能にする信号)を作成するとともに、電源断信号を出力する電源監視回路920と、電源監視回路920からのリセット信号を増幅してコネクタ922A,922B,922Cに出力するとともに、電源断信号を増幅してコネクタ922Bに出力する出力ドライバ回路925が搭載されている。なお、遊技制御用マイクロコンピュータ560と払出制御用マイクロコンピュータ370に対するシステムリセット信号は主基板31と払出制御基板37に直接伝達されるが、表示制御用マイクロコンピュータおよび音声制御用マイクロコンピュータに対するシステムリセット信号はランプ制御基板35を経由して演出制御基板80および音声制御基板70に伝達される。しかし、電源基板910から、演出制御基板80、ランプ制御基板35および音声制御基板70のそれぞれに直接伝達されるようにしてもよい。   Further, the power supply board 910 has a system reset signal for each microcomputer mounted on each electric component control board (the microcomputer operation is prohibited at the reset level, and the microcomputer can be operated when the non-reset level is reached). Power supply monitoring circuit 920 that outputs a power-off signal, and a reset signal from the power-supply monitoring circuit 920 are amplified and output to the connectors 922A, 922B, and 922C, and the power-off signal is amplified. An output driver circuit 925 for outputting to the connector 922B is mounted. The system reset signal for the game control microcomputer 560 and the payout control microcomputer 370 is directly transmitted to the main board 31 and the payout control board 37, but the system reset signal for the display control microcomputer and the voice control microcomputer. Is transmitted to the effect control board 80 and the sound control board 70 via the lamp control board 35. However, it may be transmitted directly from the power supply board 910 to each of the effect control board 80, the lamp control board 35, and the sound control board 70.

電源監視回路920は電源断信号を出力する電源監視手段とシステムリセット信号を生成するリセット信号生成手段とを実現する回路であるが、電源監視回路920として、市販の停電監視リセットモジュールICを使用することができる。電源監視回路920は、遊技機において用いられる所定電圧(例えば+24V)が所定値(例えば+17V)以下になった期間が、あらかじめ決められている時間(例えば56ms)以上継続すると電源断信号を出力する。具体的には、電源断信号をオン状態(ローレベル)にする。また、電源監視回路920は、例えば、VCCが+4.5V以下になると、システムリセット信号をローレベルにすることが可能な状態になる。   The power supply monitoring circuit 920 is a circuit that realizes power supply monitoring means for outputting a power-off signal and reset signal generation means for generating a system reset signal. A commercially available power failure monitoring reset module IC is used as the power supply monitoring circuit 920. be able to. The power supply monitoring circuit 920 outputs a power-off signal when a period during which a predetermined voltage (for example, + 24V) used in the gaming machine is equal to or lower than a predetermined value (for example, + 17V) continues for a predetermined time (for example, 56 ms). . Specifically, the power-off signal is turned on (low level). Further, the power supply monitoring circuit 920 enters a state in which the system reset signal can be set to a low level when, for example, VCC becomes +4.5 V or less.

電源監視回路920は、遊技機に対する電力供給が停止する際には、電源断信号を出力(ローレベルにする)してから所定期間が経過したときに、システムリセット信号をローレベルにすることになる。また、遊技機に対する電力供給が開始され、VCCが例えば+4.5Vを越えるとシステムリセット信号をハイレベルにするのであるが、その場合に、電源断信号が出力されなくなってから(ハイレベルにしてから)所定期間が経過したことを条件にシステムリセット信号をハイレベルにする。   When the power supply to the gaming machine is stopped, the power supply monitoring circuit 920 sets the system reset signal to a low level when a predetermined period has elapsed after the power-off signal is output (set to a low level). Become. In addition, when the power supply to the gaming machine is started and VCC exceeds +4.5 V, for example, the system reset signal is set to high level. In this case, after the power-off signal is not output (set to high level). From the condition that the predetermined period has elapsed, the system reset signal is set to the high level.

電源監視回路920からの電源断信号は、払出制御基板37において、入力ポート372gを介して払出制御用CPU371に入力される(図5参照)。従って、払出制御用CPU371は、入力ポート372gの入力信号を監視することによって遊技機への電力供給の停止の発生を確認することができる。   The power-off signal from the power monitoring circuit 920 is input to the payout control CPU 371 via the input port 372g on the payout control board 37 (see FIG. 5). Therefore, the payout control CPU 371 can confirm the occurrence of the stop of the power supply to the gaming machine by monitoring the input signal of the input port 372g.

なお、この実施の形態では、電源監視手段が所定電位の電源の出力を監視し、外部から遊技機に供給される電力の供給停止に関わる検出条件として、遊技機の外部からの電圧(この実施の形態ではAC24V)から作成された所定の直流電圧が所定値以下になったことを用いたが、検出条件は、それに限られず、外部からの電力が途絶えたことを検出できるのであれば、他の条件を用いてもよい。例えば、交流波そのものを監視して交流波が途絶えたことを検出条件としてもよいし、交流波をディジタル化した信号を監視して、ディジタル信号が平坦になったことをもって交流波が途絶えたことを検出条件としてもよい。   In this embodiment, the power supply monitoring means monitors the output of the power supply of a predetermined potential, and the voltage from the outside of the gaming machine (this implementation) is used as a detection condition related to the stop of the supply of power supplied to the gaming machine from the outside. However, the detection condition is not limited to this, and other conditions can be used as long as it is possible to detect that power from the outside has been cut off These conditions may be used. For example, the AC wave itself may be monitored and the AC wave may be detected as a detection condition, or the signal obtained by digitizing the AC wave may be monitored and the AC signal may be stopped when the digital signal becomes flat. May be used as a detection condition.

図12および図13は、遊技制御手段における出力ポートの割り当ての例を示す説明図である。図12に示すように、出力ポート0は払出制御基板37に送信される賞球個数信号(CD0〜CD4)の出力ポートである。また、演出制御基板80に送信される演出制御コマンドの8ビットのデータ(CD0〜CD7)は出力ポート1から出力される。   12 and 13 are explanatory diagrams showing examples of output port assignment in the game control means. As shown in FIG. 12, the output port 0 is an output port for prize ball number signals (CD0 to CD4) transmitted to the payout control board 37. Further, 8-bit data (CD0 to CD7) of the effect control command transmitted to the effect control board 80 is output from the output port 1.

また、出力ポート2から、大入賞口の開閉板2を開閉するためのソレノイド(大入賞口扉ソレノイド)21、大入賞口内の経路を切り換えるためのソレノイド(大入賞口内誘導板ソレノイド)21Aおよび可変入賞球装置15を開閉するためのソレノイド(普通電動役物ソレノイド)16に対する駆動信号が出力される。さらに、演出制御基板80に送信される演出制御コマンドについての演出制御INT信号(ストローブ信号)も出力される。演出制御INT信号は、演出制御コマンドの8ビットのデータを取り込むことを演出制御手段に指令するための信号である。さらに、ステッピングモータによる発射モータ94に供給される各相の信号が、出力ポート2から出力される。   Further, from the output port 2, a solenoid (large winning port door solenoid) 21 for opening and closing the opening / closing plate 2 of the large winning port, a solenoid (large winning port guide plate solenoid) 21A for switching the route in the large winning port, and a variable A drive signal for a solenoid (normal electric accessory solenoid) 16 for opening and closing the winning ball apparatus 15 is output. Further, an effect control INT signal (strobe signal) for the effect control command transmitted to the effect control board 80 is also output. The effect control INT signal is a signal for instructing the effect control means to capture 8-bit data of the effect control command. Further, signals of each phase supplied to the firing motor 94 by the stepping motor are output from the output port 2.

そして、出力ポート3,4から、情報出力回路64を介して情報端子板34やターミナル基板160に至る各種情報出力用信号すなわち制御に関わる情報の出力データが出力される。   Then, various information output signals from the output ports 3 and 4 to the information terminal board 34 and the terminal board 160 through the information output circuit 64, that is, output data of information related to control are output.

図14は、遊技制御手段におけるにおける入力ポートのビット割り当ての例を示す説明図である。図14に示すように、入力ポート0のビット0〜7には、それぞれ、Vカウントスイッチ22、カウントスイッチ23、ゲートスイッチ32a、入賞口スイッチ33a、39a,29a,30a、始動口スイッチ14aの検出信号が入力される。また、入力ポート1のビット0〜1,3〜6には、それぞれ、電源監視基板910からの電源断信号、電源基板910からのクリアスイッチ921の検出信号、スイッチコモン監視信号、払出制御基板37からのコマンド受信可能状態信号、払出制御基板37からの賞球カウント信号および払出エラー信号が入力される。なお、各スイッチからの検出信号は、入力ドライバ回路58において論理反転されている。また、賞球カウント信号、および払出エラー信号は、入力回路68において論理反転されている。   FIG. 14 is an explanatory diagram showing an example of bit assignment of input ports in the game control means. As shown in FIG. 14, the bits 0 to 7 of the input port 0 are detected by the V count switch 22, the count switch 23, the gate switch 32a, the winning port switches 33a, 39a, 29a and 30a, and the start port switch 14a, respectively. A signal is input. In addition, bits 0 to 1, 3 to 6 of the input port 1 respectively include a power-off signal from the power supply monitoring board 910, a detection signal of the clear switch 921 from the power supply board 910, a switch common monitoring signal, and a payout control board 37. The command reception enable state signal, the award ball count signal and the payout error signal from the payout control board 37 are input. The detection signal from each switch is logically inverted in the input driver circuit 58. Further, the prize ball count signal and the payout error signal are logically inverted in the input circuit 68.

次に遊技機の動作について説明する。図15および図16は、主基板31における遊技制御手段が実行するメイン処理を示すフローチャートである。遊技機に対して電源が投入され、リセット信号が入力されるリセット端子の入力レベルがハイレベルになると、CPU56は、プログラムの内容が正当か否かを確認するための処理であるセキュリティチェック処理を実行した後、ステップS1以降のメイン処理を開始する。メイン処理において、CPU56は、まず、必要な初期設定を行う。   Next, the operation of the gaming machine will be described. FIG. 15 and FIG. 16 are flowcharts showing a main process executed by the game control means on the main board 31. When the gaming machine is turned on and the input level of the reset terminal to which a reset signal is input becomes high, the CPU 56 performs a security check process that is a process for confirming whether the contents of the program are valid. After execution, the main processing after step S1 is started. In the main process, the CPU 56 first performs necessary initial settings.

初期設定処理において、CPU56は、まず、割込禁止に設定する(ステップS1)。次に、割込モードを割込モード2に設定し(ステップS2)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS3)。   In the initial setting process, the CPU 56 first sets the interrupt prohibition (step S1). Next, the interrupt mode is set to interrupt mode 2 (step S2), and a stack pointer designation address is set to the stack pointer (step S3).

次いで、遊技の進行を制御する遊技装置制御処理(遊技制御処理)の開始タイミングをソフトウェアで遅らせるためのソフトウェア遅延処理を実行する。具体的には、まず、ウェイトカウンタ1に、初期化ウェイト回数指定値1をセットする(ステップS4)。また、ウェイトカウンタ2に、初期化ウェイト回数指定値2をセットする(ステップS5)。なお、ウェイトカウンタ1,2として、CPU56が内蔵する汎用のレジスタ(HLレジスタやBCレジスタ)が用いられる。そして、ウェイトカウンタ2の値が0になるまでウェイトカウンタ2の値を1ずつ減算する(ステップS6,S7)。ウェイトカウンタ2の値が0になったらウェイトカウンタ1の値を1減算し(ステップS8)、ウェイトカウンタ1の値が0になっていなければ(ステップS9)、ステップS5に戻る。ウェイトカウンタ1の値が0になっていれば、ソフトウェア遅延処理を終了する。   Next, a software delay process for delaying the start timing of the game device control process (game control process) for controlling the progress of the game by software is executed. Specifically, first, the initialization wait number specification value 1 is set in the wait counter 1 (step S4). Further, the initialization wait number specification value 2 is set in the wait counter 2 (step S5). Note that general-purpose registers (HL register and BC register) built in the CPU 56 are used as the wait counters 1 and 2. Then, the value of the wait counter 2 is decremented by 1 until the value of the wait counter 2 becomes 0 (steps S6 and S7). When the value of the weight counter 2 becomes 0, the value of the weight counter 1 is decremented by 1 (step S8). When the value of the weight counter 1 is not 0 (step S9), the process returns to step S5. If the value of the wait counter 1 is 0, the software delay process is terminated.

以上のようなソフトウェア遅延処理(ステップS4〜ステップS9)によって、ほぼ、[(初期化ウェイト回数指定値1)×(初期化ウェイト回数指定値2)×(ステップS6,S7の処理時間)]だけ、ソフトウェア遅延処理を実行しない場合に比べて、遊技制御処理の開始タイミングを遅延させることができる。換言すれば、所望の時間だけ遊技制御処理の開始タイミングを遅延させることができるように、初期化ウェイト回数指定値1,2の値が決定される。なお、初期化ウェイト回数指定値1,2の値は、ROM54に設定されている。また、ここで説明したソフトウェア遅延処理は一例であって、他の方法によってソフトウェア遅延処理を実現してもよい。   By the software delay processing (steps S4 to S9) as described above, only [(initialization wait number specification value 1) × (initialization wait number specification value 2) × (processing time of steps S6, S7)] is obtained. The start timing of the game control process can be delayed as compared with the case where the software delay process is not executed. In other words, the initialization weight count designation values 1 and 2 are determined so that the start timing of the game control process can be delayed by a desired time. Note that the values of the initialization wait times designation values 1 and 2 are set in the ROM 54. Further, the software delay processing described here is an example, and the software delay processing may be realized by other methods.

この実施の形態で用いられるCPU56は、(内蔵デバイス(内蔵周辺回路)として、I/Oポート(PIO)およびタイマ/カウンタ回路(CTC)も内蔵している。また、CTCは、2本の外部クロック/タイマトリガ入力CLK/TRG2,3と2本のタイマ出力ZC/TO0,1を備えている。   The CPU 56 used in this embodiment also incorporates an I / O port (PIO) and a timer / counter circuit (CTC) as built-in devices (built-in peripheral circuits). A clock / timer trigger input CLK / TRG 2 and 3 and two timer outputs ZC / TO 0 and 1 are provided.

ソフトウェア遅延処理を終了すると、内蔵デバイスレジスタの初期化(内蔵デバイスの入出力割り当てなどの設定)を行うとともに、内蔵デバイスであるCTC(カウンタ/タイマ)およびPIO(パラレル入出力ポート)の初期化を行う(ステップS10)。PIOの初期化とは、例えば、出力ポートの全ビットにオフ状態の値を設定することである。CTCの初期化とは、タイマのモード設定等のことである。   When the software delay processing is completed, the built-in device registers are initialized (settings such as input / output assignment of the built-in devices) and the built-in devices CTC (counter / timer) and PIO (parallel input / output port) are initialized It performs (step S10). The initialization of PIO is, for example, setting an off state value to all bits of the output port. The initialization of the CTC is a timer mode setting or the like.

この実施の形態で用いられているCPU56には、マスク可能な割込のモードとして以下の3種類のモードが用意されている。なお、マスク可能な割込が発生すると、CPU56は、自動的に割込禁止状態に設定するとともに、プログラムカウンタの内容をスタックにセーブする。   The CPU 56 used in this embodiment is provided with the following three modes as maskable interrupt modes. When a maskable interrupt occurs, the CPU 56 automatically sets the interrupt disabled state and saves the contents of the program counter in the stack.

割込モード0:割込要求を行った内蔵デバイスがRST命令(1バイト)またはCALL命令(3バイト)をCPUの内部データバス上に送出する。よって、CPU56は、RST命令に対応したアドレスまたはCALL命令で指定されるアドレスの命令を実行する。リセット時に、CPU56は自動的に割込モード0になる。よって、割込モード1または割込モード2に設定したい場合には、初期設定処理において、割込モード1または割込モード2に設定するための処理を行う必要がある。   Interrupt mode 0: The built-in device that has issued the interrupt request sends an RST instruction (1 byte) or a CALL instruction (3 bytes) onto the internal data bus of the CPU. Therefore, the CPU 56 executes the instruction at the address corresponding to the RST instruction or the address specified by the CALL instruction. At reset, the CPU 56 automatically enters interrupt mode 0. Therefore, when setting to interrupt mode 1 or interrupt mode 2, it is necessary to perform a process for setting to interrupt mode 1 or interrupt mode 2 in the initial setting process.

割込モード1:割込が受け付けられると、常に0038(h)番地に飛ぶモードである。   Interrupt mode 1: In this mode, when an interrupt is accepted, the mode always jumps to address 0038 (h).

割込モード2:CPU56の特定レジスタ(Iレジスタ)の値(1バイト)と内蔵デバイスが出力する割込ベクタ(1バイト:最下位ビット0)から合成されるアドレスが、割込番地を示すモードである。すなわち、割込番地は、上位アドレスが特定レジスタの値とされ下位アドレスが割込ベクタとされた2バイトで示されるアドレスである。従って、任意の(飛び飛びではあるが)偶数番地に割込処理を設置することができる。各内蔵デバイスは割込要求を行うときに割込ベクタを送出する機能を有している。   Interrupt mode 2: A mode in which the address synthesized from the value (1 byte) of the specific register (I register) of the CPU 56 and the interrupt vector (1 byte: least significant bit 0) output by the built-in device indicates the interrupt address It is. That is, the interrupt address is an address indicated by 2 bytes in which the upper address is the value of the specific register and the lower address is the interrupt vector. Therefore, an interrupt process can be set at an arbitrary address (although it is skipped). Each built-in device has a function of sending an interrupt vector when making an interrupt request.

よって、割込モード2に設定されると、各内蔵デバイスからの割込要求を容易に処理することが可能になり、また、プログラムにおける任意の位置に割込処理を設置することが可能になる。さらに、割込モード1とは異なり、割込発生要因毎のそれぞれの割込処理を用意しておくことも容易である。上述したように、この実施の形態では、初期設定処理のステップS2において、CPU56は割込モード2に設定される。   Therefore, when the interrupt mode 2 is set, it becomes possible to easily process an interrupt request from each built-in device, and it is possible to install an interrupt process at an arbitrary position in the program. . Furthermore, unlike interrupt mode 1, it is also easy to prepare each interrupt process for each interrupt generation factor. As described above, in this embodiment, the CPU 56 is set to the interrupt mode 2 in step S2 of the initial setting process.

次いで、CPU56は、払出起動指令(払出起動コマンド)を払出制御基板37に送信する払出起動コマンド送信処理を実行した後(ステップS11)、RAM55をアクセス可能状態に設定する(ステップS12)。   Next, the CPU 56 executes a payout start command transmission process for transmitting a payout start command (payout start command) to the payout control board 37 (step S11), and then sets the RAM 55 in an accessible state (step S12).

そして、CPU56は、入力ポート1を介して入力されるクリアスイッチ921の出力信号の状態を1回だけ確認する(ステップS13)。その確認においてオンを検出した場合には、CPU56は、通常の初期化処理を実行する(ステップS21〜ステップS27)。クリアスイッチ921がオンである場合(押下されている場合)には、ローレベルのクリアスイッチ信号が出力されている。なお、入力ポート1では、クリアスイッチ信号のオン状態はローレベルである。また、例えば、遊技店員は、クリアスイッチ921をオン状態にしながら遊技機に対する電力供給を開始する(例えば電源スイッチ914をオンする)ことによって、容易に初期化処理を実行させることができる。すなわち、RAMクリア等を行うことができる。   Then, the CPU 56 confirms the state of the output signal of the clear switch 921 input via the input port 1 only once (step S13). When the on-state is detected in the confirmation, the CPU 56 executes normal initialization processing (steps S21 to S27). When the clear switch 921 is on (when pressed), a low-level clear switch signal is output. In the input port 1, the clear switch signal is in the low level. Further, for example, the game clerk can easily execute the initialization process by starting the power supply to the gaming machine (for example, turning on the power switch 914) while turning the clear switch 921 on. That is, RAM clear or the like can be performed.

クリアスイッチ921がオンの状態でない場合には、遊技機への電力供給が停止したときにバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS14)。この実施の形態では、電力供給の停止が生じた場合には、バックアップRAM領域のデータを保護するための処理が行われている。そのような保護処理が行われていたことを確認した場合には、CPU56はバックアップありと判定する。そのような保護処理が行われていないことを確認した場合には、CPU56は初期化処理を実行する。   If the clear switch 921 is not in the on state, whether or not data protection processing of the backup RAM area (for example, power supply stop processing such as addition of parity data) has been performed when power supply to the gaming machine is stopped Confirm (step S14). In this embodiment, when power supply is stopped, a process for protecting data in the backup RAM area is performed. If it is confirmed that such protection processing has been performed, the CPU 56 determines that there is a backup. When it is confirmed that such a protection process has not been performed, the CPU 56 executes an initialization process.

保護処理が行われていたか否かは、後述する電力供給停止時処理においてバックアップRAM領域に保存されるバックアップ監視タイマの値が、バックアップRAM領域のデータ保護処理を実行したことに応じた値(例えば2)になっているか否かによって確認される。なお、そのような確認の仕方は一例であって、例えば、電力供給停止時処理においてバックアップフラグ領域にデータ保護処理を実行したことを示すフラグをセットし、ステップS14において、そのフラグがセットされていることを確認したらバックアップありと判定してもよい。   Whether or not the protection process has been performed depends on the value of the backup monitoring timer stored in the backup RAM area in the power supply stop process described later according to the execution of the data protection process in the backup RAM area (for example, It is confirmed by whether or not 2). Note that such a confirmation method is an example. For example, a flag indicating that data protection processing has been executed is set in the backup flag area in the power supply stop processing, and the flag is set in step S14. If it is confirmed that there is a backup, it may be determined that there is backup.

バックアップありと判定したら、CPU56は、バックアップRAM領域のデータチェック(この例ではパリティチェック)を行う(ステップS15)。この実施の形態では、クリアデータ(00)をチェックサムデータエリアにセットし、チェックサム算出開始アドレスをポインタにセットする。また、チェックサムの対象となるデータ数に対応するチェックサム算出回数をセットする。そして、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する。演算結果をチェックサムデータエリアにストアするとともに、ポインタの値を1増やし、チェックサム算出回数の値を1減算する。以上の処理が、チェックサム算出回数の値が0になるまで繰り返される。チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転し、反転後のデータをチェックサムとする。   If it is determined that there is a backup, the CPU 56 performs a data check of the backup RAM area (parity check in this example) (step S15). In this embodiment, clear data (00) is set in the checksum data area, and the checksum calculation start address is set in the pointer. Also, the number of checksum calculations corresponding to the number of data to be checksum is set. Then, the exclusive OR of the contents of the checksum data area and the contents of the RAM area pointed to by the pointer is calculated. The calculation result is stored in the checksum data area, the pointer value is incremented by 1, and the checksum calculation count value is decremented by 1. The above processing is repeated until the value of the checksum calculation count becomes zero. When the value of the checksum calculation count reaches 0, the CPU 56 inverts the value of each bit of the contents of the checksum data area and uses the inverted data as the checksum.

電力供給停止時処理において、上記の処理と同様の処理によってチェックサムが算出され、チェックサムはバックアップRAM領域に保存されている。ステップS15では、算出したチェックサムと保存されているチェックサムとを比較する。不測の停電等の電力供給停止が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されているはずであるから、チェック結果(比較結果)は正常(一致)になる。チェック結果が正常でないということは、バックアップRAM領域のデータが、電力供給停止時のデータとは異なっていることを意味する。そのような場合には、内部状態を電力供給停止時の状態に戻すことができないので、電力供給の停止からの復旧時でない電源投入時に実行される初期化処理(ステップS21〜S27の処理)を実行する。   In the power supply stop process, a checksum is calculated by the same process as described above, and the checksum is stored in the backup RAM area. In step S15, the calculated checksum is compared with the stored checksum. When the power supply is stopped after an unexpected power failure or the like, the data in the backup RAM area should be saved, so the check result (comparison result) is normal (matched). That the check result is not normal means that the data in the backup RAM area is different from the data when the power supply is stopped. In such a case, since the internal state cannot be returned to the state when the power supply is stopped, the initialization process (the process of steps S21 to S27) executed at the time of power-on that is not the time of recovery from the stop of the power supply is performed. Execute.

チェック結果が正常であれば、CPU56は、遊技制御手段の内部状態と表示制御手段等の電気部品制御手段の制御状態を電力供給停止時の状態に戻すための遊技状態復旧処理を行う。具体的には、ROM54に格納されているバックアップ時設定テーブルの先頭アドレスをポインタに設定し(ステップS16)、バックアップ時設定テーブルの内容を順次作業領域(RAM55内の領域)に設定する(ステップS17)。作業領域はバックアップ電源によって電源バックアップされている。バックアップ時設定テーブルには、作業領域のうち初期化してもよい領域についての初期化データが設定されている。ステップS16およびS17の処理によって、作業領域のうち初期化してはならない部分については、保存されていた内容がそのまま残る。初期化してはならない部分とは、例えば、電力供給停止前の遊技状態を示すデータ(特別図柄プロセスフラグなど)や未払出賞球数を示すデータが設定されている部分である。   If the check result is normal, the CPU 56 performs a game state restoration process for returning the internal state of the game control means and the control state of the electric component control means such as the display control means to the state when the power supply is stopped. Specifically, the start address of the backup setting table stored in the ROM 54 is set as a pointer (step S16), and the contents of the backup setting table are sequentially set in the work area (area in the RAM 55) (step S17). ). The work area is backed up by a backup power source. In the backup setting table, initialization data for an area that may be initialized in the work area is set. As a result of the processing in steps S16 and S17, the saved contents of the work area that should not be initialized remain. The portion that should not be initialized is, for example, a portion in which data indicating a gaming state before stopping power supply (a special symbol process flag or the like) or data indicating the number of unpaid prize balls is set.

次いで、CPU56は、払出制御基板37からのコマンド受信可能状態信号がオン状態となっているか否か確認する(ステップS18)。すなわち、払出制御基板37が外部端子割込に応じた信号入力処理を実行可能な状態となっているか否か確認する。   Next, the CPU 56 confirms whether or not the command receivable state signal from the payout control board 37 is on (step S18). That is, it is confirmed whether or not the payout control board 37 is in a state in which a signal input process corresponding to the external terminal interrupt can be executed.

コマンド受信可能状態信号がオン状態であることを確認すると、CPU56は、ROM54に格納されているバックアップ時コマンド送信テーブルの先頭アドレスをポインタに設定し(ステップS19)、その内容に従ってサブ基板(払出制御基板37および演出制御基板80)に、電力供給が復旧した旨を示す制御コマンドが送信されるように制御する(ステップS20)。そして、ステップS27に移行する。   When the CPU 56 confirms that the command receivable state signal is ON, the CPU 56 sets the start address of the backup command transmission table stored in the ROM 54 as a pointer (step S19), and the sub-board (payout control) according to the contents. Control is performed such that a control command indicating that the power supply has been restored is transmitted to the board 37 and the effect control board 80) (step S20). Then, the process proceeds to step S27.

初期化処理では、CPU56は、まず、RAMクリア処理を行う(ステップS21)。なお、RAM55の全領域を初期化せず、所定のデータ(例えば大当り判定用乱数を生成するためのカウンタのカウント値のデータ)をそのままにしてもよい。例えば、大当り判定用乱数を生成するためのカウンタのカウント値のデータをそのままにした場合には、不正な手段によって初期化処理が実行される状態になったとしても、大当り判定用乱数を生成するためのカウンタのカウント値が大当り判定値に一致するタイミングを狙うことは困難である。また、ROM54に格納されている初期化時設定テーブルの先頭アドレスをポインタに設定し(ステップS22)、初期化時設定テーブルの内容を順次作業領域に設定する(ステップS23)。ステップS22およびS23の処理によって、例えば、普通図柄判定用乱数カウンタ、普通図柄判定用バッファ、特別図柄左中右図柄バッファ、総賞球数格納バッファ、特別図柄プロセスフラグ、賞球中フラグ、球切れフラグ、払出停止フラグなど制御状態に応じて選択的に処理を行うためのフラグに初期値が設定される。   In the initialization process, the CPU 56 first performs a RAM clear process (step S21). The entire area of the RAM 55 may not be initialized, and predetermined data (for example, count value data of a counter for generating a big hit determination random number) may be left as it is. For example, if the count value data of the counter for generating the big hit determination random number is left as it is, the big hit determination random number is generated even if the initialization process is executed by unauthorized means. Therefore, it is difficult to aim at the timing at which the count value of the counter matches the jackpot determination value. Further, the initial address of the initialization setting table stored in the ROM 54 is set as a pointer (step S22), and the contents of the initialization setting table are sequentially set in the work area (step S23). By the processing in steps S22 and S23, for example, a normal symbol determination random number counter, a normal symbol determination buffer, a special symbol left middle right symbol buffer, a total prize ball number storage buffer, a special symbol process flag, an award ball flag, a ball break An initial value is set for a flag for selectively performing processing according to a control state, such as a flag or a payout stop flag.

次いで、CPU56は、払出制御基板37からのコマンド受信可能状態信号がオン状態となっているか否か確認する(ステップS24)。すなわち、払出制御基板37が外部端子割込に応じた信号入力処理を実行可能な状態となっているか否か確認する。   Next, the CPU 56 checks whether or not the command receivable state signal from the payout control board 37 is on (step S24). That is, it is confirmed whether or not the payout control board 37 is in a state in which a signal input process corresponding to the external terminal interrupt can be executed.

コマンド受信可能状態信号がオン状態であることを確認すると、CPU56は、ROM54に格納されている初期化時コマンド送信テーブルの先頭アドレスをポインタに設定し(ステップS25)、その内容に従ってサブ基板を初期化するための初期化コマンドをサブ基板に送信する処理を実行する(ステップS26)。初期化コマンドとして、可変表示装置9に表示される初期図柄を示すコマンド等がある。   When confirming that the command receivable state signal is in the on state, the CPU 56 sets the start address of the initialization command transmission table stored in the ROM 54 as a pointer (step S25), and initializes the sub-board according to the contents. A process of transmitting an initialization command for converting to a sub-board is executed (step S26). Examples of the initialization command include a command indicating an initial symbol displayed on the variable display device 9.

そして、ステップS27において、CPU56は、所定時間(例えば4ms)毎に定期的にタイマ割込がかかるようにCPU56に内蔵されているCTCのレジスタの設定を行なう。すなわち、初期値として例えば4msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。この実施の形態では、4ms毎に定期的にタイマ割込がかかるとする。   In step S27, the CPU 56 sets a CTC register built in the CPU 56 so that a timer interrupt is periodically generated every predetermined time (for example, 4 ms). That is, a value corresponding to, for example, 4 ms is set as an initial value in a predetermined register (time constant register). In this embodiment, it is assumed that a timer interrupt is periodically taken every 4 ms.

初期化処理の実行(ステップS21〜S27)が完了すると、CPU56は、表示用乱数更新処理(ステップS29)および初期値用乱数更新処理(ステップS30)を繰り返し実行する。CPU56は、表示用乱数更新処理および初期値用乱数更新処理が実行されるときには割込禁止状態にして(ステップS28)、表示用乱数更新処理および初期値用乱数更新処理の実行が終了すると割込許可状態にする(ステップS31)。なお、表示用乱数とは、可変表示装置9に表示される図柄を決定するための乱数であり、表示用乱数更新処理とは、表示用乱数を発生するためのカウンタのカウント値を更新する処理である。また、初期値用乱数更新処理とは、初期値用乱数を発生するためのカウンタのカウント値を更新する処理である。初期値用乱数とは、大当りとするか否かを決定するための乱数を発生するためのカウンタ(大当り決定用乱数発生カウンタ)等のカウント値の初期値を決定するための乱数である。後述する遊技制御処理(遊技制御用マイクロコンピュータが、遊技機に設けられている可変表示装置9、可変入賞球装置、球払出装置等の遊技用の装置を、自身で制御する処理、または他のマイクロコンピュータに制御させるために指令信号を送信する処理、遊技装置制御処理ともいう)において、大当り決定用乱数発生カウンタのカウント値が1周すると、そのカウンタに初期値が設定される。   When the execution of the initialization process (steps S21 to S27) is completed, the CPU 56 repeatedly executes the display random number update process (step S29) and the initial value random number update process (step S30). The CPU 56 disables the interrupt when the display random number update process and the initial value random number update process are executed (step S28), and interrupts when the display random number update process and the initial value random number update process are completed. The permitted state is set (step S31). The display random number is a random number for determining a symbol displayed on the variable display device 9, and the display random number update process is a process for updating the count value of the counter for generating the display random number. It is. The initial value random number update process is a process for updating the count value of the counter for generating the initial value random number. The initial value random number is a random number for determining an initial value of a count value such as a counter for generating a random number for determining whether or not to make a big hit (a big hit determination random number generation counter). Game control processing described later (a game control microcomputer controls a game device such as a variable display device 9, a variable winning ball device, a ball payout device, etc. provided in the game machine itself, or other In a process of sending a command signal to cause the microcomputer to control, also referred to as a gaming apparatus control process), when the count value of the jackpot determination random number generation counter makes one round, an initial value is set in the counter.

なお、表示用乱数更新処理および初期値用乱数更新処理が実行されるときに割込禁止状態にされるのは、表示用乱数更新処理および初期値用乱数更新処理が後述するタイマ割込処理でも実行されることから、タイマ割込処理における処理と競合してしまうのを避けるためである。すなわち、ステップS29,S30の処理中にタイマ割込が発生してタイマ割込処理中で表示用乱数や初期値用乱数を発生するためのカウンタのカウント値を更新してしまったのでは、カウント値の連続性が損なわれる場合がある。しかし、ステップS29,S30の処理中では割込禁止状態にしておけば、そのような不都合が生ずることはない。   Note that when the display random number update process and the initial value random number update process are executed, the interrupt disabled state is caused by the timer interrupt process described later. This is to avoid conflict with the processing in the timer interrupt processing. That is, if a timer interrupt is generated during the processing of steps S29 and S30 and the count value of the counter for generating the display random number and the initial value random number is updated during the timer interrupt processing, The continuity of values may be impaired. However, such an inconvenience does not occur if the interrupt disabled state is set during the processes of steps S29 and S30.

図17は、ステップS11の払出起動コマンド送信処理を示すフローチャートである。払出起動コマンド送信処理において、CPU56は、出力ポート0(図12参照)の下位5ビットに[1,0,0,0,0](「1」の位置がビット4)を出力する(ステップS61)。すなわち、5ビット構成の賞球個数信号として、払出起動コマンドを出力ポート0に出力する。次いで、出力ポート0のビット6を「0」にする(ステップS62)。すなわち、賞球REQ信号をオン状態にする。そして、ソフトウェアで賞球REQ信号のオン時間を設定するための遅延処理を行う(ステップS63)。ここでの遅延処理は、例えば、汎用のレジスタ(HLレジスタやBCレジスタ)に遅延時間に相当する値を設定し、レジスタの値を−1する処理を繰り返し実行し、レジスタの値が0になったら処理終了とするような処理である。また、遅延時間は、割込端子に賞球REQ信号が入力されたことを払出制御用CPU371が認識するのに十分な時間に設定される。   FIG. 17 is a flowchart showing the payout activation command transmission process in step S11. In the payout activation command transmission process, the CPU 56 outputs [1, 0, 0, 0, 0] (the position of “1” is bit 4) to the lower 5 bits of the output port 0 (see FIG. 12) (step S61). ). That is, a payout activation command is output to the output port 0 as a 5-bit prize ball number signal. Next, bit 6 of the output port 0 is set to “0” (step S62). That is, the prize ball REQ signal is turned on. Then, a delay process for setting the ON time of the prize ball REQ signal is performed by software (step S63). In this delay processing, for example, a value corresponding to the delay time is set in a general-purpose register (HL register or BC register), and processing for decrementing the register value by −1 is repeatedly executed, so that the register value becomes zero. Then, the process ends. The delay time is set to a time sufficient for the payout control CPU 371 to recognize that the prize ball REQ signal has been input to the interrupt terminal.

そして、出力ポート0のビット6を「1」にする(ステップS64)。すなわち、賞球REQ信号をオフ状態にする。その後、出力ポート0の下位5ビットを[0,0,0,0,0]にしておく(ステップS65)。すなわち、賞球個数信号としてオール0が出力されている状態にしておく。   Then, bit 6 of the output port 0 is set to “1” (step S64). That is, the prize ball REQ signal is turned off. Thereafter, the lower 5 bits of the output port 0 are set to [0, 0, 0, 0, 0] (step S65). That is, all 0 is output as the award ball number signal.

図18は、遊技機に対して電力供給が開始されたとき、および電力供給が停止したときの、マイクロコンピュータの動作の様子を示すタイミング図である。なお、ここでは、電力供給が開始されたときに初期化処理が実行される場合を例に説明する。遊技機に対して電力供給が開始されDC+24V電源の電圧が所定値を越えると、電源断信号がオフ状態になる。また、VCCの値が所定値を越えるとリセット信号がハイレベルになる。なお、上述したように、電源監視回路920は、電源断信号をオフ状態にしてからリセット信号をハイレベルにする。リセット信号は、主基板31および払出制御基板37に入力され、ランプドライバ基板36を介して演出制御基板80に入力する。そして、払出制御基板37に搭載されている払出制御用CPU371および演出制御基板80に搭載されている演出制御用CPU101のリセット端子に入力される。   FIG. 18 is a timing chart showing how the microcomputer operates when power supply to the gaming machine is started and when power supply is stopped. Here, a case where the initialization process is executed when power supply is started will be described as an example. When power supply to the gaming machine is started and the voltage of the DC + 24V power supply exceeds a predetermined value, the power-off signal is turned off. When the value of VCC exceeds a predetermined value, the reset signal becomes high level. As described above, the power supply monitoring circuit 920 sets the reset signal to high level after turning off the power-off signal. The reset signal is input to the main board 31 and the payout control board 37 and is input to the effect control board 80 via the lamp driver board 36. Then, it is input to the reset terminal of the payout control CPU 371 mounted on the payout control board 37 and the effect control CPU 101 mounted on the effect control board 80.

主基板31に入力されたリセット信号がCPU56のリセット端子に入力すると(リセット端子の入力レベルがハイレベルになると)、CPU56が動作可能状態(マイクロコンピュータがリセットされてプログラムを実行する状態になること)になるが、動作可能状態になると、CPU56は、まず、セキュリティチェックプログラムにもとづいて、ROMの内容が正当であるか否か確認するためのセキュリティチェック処理を実行する。そして、セキュリティチェック処理を終了すると、ソフトウェア遅延処理を実行する。その後、払出起動コマンドの送信処理を実行し、次いで、クリアスイッチ921の出力信号の状態をチェックする処理を行った後、初期化処理の一部(コマンドを送信する処理以外の処理)を行い、その後にコマンド受信可能状態信号の受信待ち状態となる。そして、コマンド受信可能状態信号を受信すると、初期化処理の一部を実行したあと、遊技制御処理を開始する。なお、クリアスイッチ921の出力信号がオン状態を示していたら、RAMクリア処理等を行う。   When the reset signal input to the main board 31 is input to the reset terminal of the CPU 56 (when the input level of the reset terminal becomes high level), the CPU 56 is ready to operate (the microcomputer is reset and the program is executed). However, when the operation is enabled, the CPU 56 first executes a security check process for confirming whether or not the contents of the ROM are valid based on the security check program. When the security check process ends, a software delay process is executed. Thereafter, the payout activation command transmission process is executed, and then the state of the output signal of the clear switch 921 is checked, and then a part of the initialization process (a process other than the command transmission process) is performed. After that, a command reception ready state signal reception wait state is entered. When receiving the command receivable state signal, the game control process is started after executing a part of the initialization process. If the output signal of the clear switch 921 indicates an on state, RAM clear processing or the like is performed.

払出制御用CPU371は、リセット信号がハイレベルになると動作可能状態になる。動作可能状態になると、まず、初期設定処理の一部を実行する。その後、主基板31から払出起動コマンドが送信されてくるのを待ち、払出起動コマンドを受信できたら、クリアスイッチ921の出力信号の状態をチェックする処理を行った後、コマンド受信可能状態信号の送信処理を実行し、その後に払出制御処理を開始する。なお、クリアスイッチ921の出力信号がオン状態を示していたら、RAMクリア処理等を行う。   The payout control CPU 371 becomes operable when the reset signal becomes high level. When in an operable state, first, a part of the initial setting process is executed. Thereafter, it waits for the payout start command to be transmitted from the main board 31. If the payout start command can be received, it performs processing for checking the state of the output signal of the clear switch 921, and then transmits the command receivable state signal. The process is executed, and thereafter the payout control process is started. If the output signal of the clear switch 921 indicates an on state, RAM clear processing or the like is performed.

CPU56は、クリアスイッチ921の出力信号の状態をチェックする処理を行う直前に払出起動コマンドを送信し、払出制御用CPU371は、払出起動コマンドを確認したらクリアスイッチ921の出力信号の状態をチェックする処理を行う。また、セキュリティチェック処理およびソフトウェア遅延処理の実行によって、CPU56が払出起動コマンド送信処理を開始する時点では、払出制御用CPU371は、払出起動コマンドが送信されてくるのを待つ状態になっている。   The CPU 56 transmits a payout activation command immediately before performing the process of checking the state of the output signal of the clear switch 921, and the payout control CPU 371 checks the state of the output signal of the clear switch 921 after confirming the payout start command. I do. Further, when the CPU 56 starts the payout activation command transmission process by executing the security check process and the software delay process, the payout control CPU 371 waits for the payout start command to be transmitted.

よって、例えば、払出制御用CPU371によってクリアスイッチ921の出力信号のオン状態が検出されたのにもかかわらず、CPU56によってクリアスイッチ921の出力信号のオン状態が検出されないという事態が生ずることが防止される。逆に、CPU56によってクリアスイッチ921の出力信号のオン状態が検出されたのにもかかわらず、払出制御用CPU371によってクリアスイッチ921の出力信号のオン状態が検出されないという事態が生ずることが防止される。すなわち、操作手段の操作がなされているか否かの確認処理をほぼ同時に行うようにしているので、遊技制御用マイクロコンピュータ560と払出制御用マイクロコンピュータ370とにおけるクリアスイッチ921の出力信号の状態の確認結果を一致させることができ、クリアスイッチ921が押下されていたときには、各変動データ記憶手段の内容を確実に初期化できる。   Therefore, for example, it is possible to prevent a situation in which the on state of the output signal of the clear switch 921 is not detected by the CPU 56 even though the on state of the output signal of the clear switch 921 is detected by the payout control CPU 371. The On the other hand, it is possible to prevent a situation in which the on state of the output signal of the clear switch 921 is not detected by the payout control CPU 371 even though the on state of the output signal of the clear switch 921 is detected by the CPU 56. . That is, since the confirmation process of whether or not the operation means is operated is performed almost simultaneously, the state of the output signal of the clear switch 921 in the game control microcomputer 560 and the payout control microcomputer 370 is confirmed. The results can be matched, and when the clear switch 921 is pressed, the contents of each variation data storage means can be initialized reliably.

また、本例では、払出制御用CPU371は、コマンド受信可能状態信号を送信したあと払出制御処理を開始し、CPU56は、コマンド受信可能状態信号を確認したら初期化処理の一部(コマンド送信を行う部分)を実行したあと遊技制御処理を開始する。よって、払出制御処理が開始される前に、外部端子割込によって受信される払出制御コマンドがCPU56によって送信されることが確実に防止される。従って、払出制御コマンドのとりこぼしを確実に回避することができる。   In this example, the payout control CPU 371 starts the payout control process after transmitting the command receivable state signal, and the CPU 56 performs part of the initialization process (performs command transmission) after confirming the command receivable state signal. After executing (part), the game control process is started. Therefore, the payout control command received by the external terminal interruption is reliably prevented from being transmitted by the CPU 56 before the payout control process is started. Therefore, it is possible to reliably avoid the payout control command from being missed.

遊技機に対する電力供給が停止すると、DC+24V電源の電圧も徐々に低下するのであるが、電源監視回路920は、DC+24V電源の電圧が所定値を下回ると、電源断信号を出力する(ローレベルにする)。電源断信号は、主基板31および払出制御基板37に入力されている。主基板31に搭載されている遊技制御手段および払出制御基板37に搭載されている払出制御手段は、電源断信号が出力されたことに応じて、電力供給停止時処理(電源断時制御処理ともいう。)を実行する。そして、電源監視回路920は、VCCが所定値を下回ると、リセット信号をローレベルにする。主基板31に搭載されている遊技制御手段および払出制御基板37に搭載されている払出制御手段は、リセット信号がローレベルになったことに応じてシステムリセットされる。すなわち、CPU56および払出制御用CPU371は、動作しない状態になる。なお、電源監視回路920は、電源電圧が低下していくときに、電源断信号を出力した時点から、所定時間が経過すると、リセット信号をローレベルにする。   When the power supply to the gaming machine is stopped, the voltage of the DC + 24V power supply also gradually decreases. However, when the voltage of the DC + 24V power supply falls below a predetermined value, the power supply monitoring circuit 920 outputs a power-off signal (set to a low level). ). The power-off signal is input to the main board 31 and the payout control board 37. The game control means mounted on the main board 31 and the payout control means mounted on the payout control board 37, according to the power-off signal being output, the power supply stop process (both power-off control process) Say). The power supply monitoring circuit 920 sets the reset signal to a low level when VCC falls below a predetermined value. The game control means mounted on the main board 31 and the payout control means mounted on the payout control board 37 are system reset in response to the reset signal becoming low level. That is, the CPU 56 and the payout control CPU 371 are not operated. Note that the power supply monitoring circuit 920 sets the reset signal to a low level when a predetermined time elapses from the time when the power supply cutoff signal is output when the power supply voltage decreases.

次に、遊技制御処理について説明する。図19は、タイマ割込処理を示すフローチャートである。メイン処理に実行中に、具体的には、ステップS28〜S31のループ処理の実行中に、タイマ割込が発生すると、CPU56は、タイマ割込の発生に応じて起動されるタイマ割込処理において遊技制御処理を実行する。タイマ割込処理において、CPU56は、まず、電源断信号が出力されたか否か(オン状態になったか否か)を検出する電源断処理(電源断検出処理)を実行する(ステップS40)。また、発射モータ94に対する励磁パターンの出力処理(発射モータφ1〜φ4のパターンの出力ポート0への出力)を行う(ステップS41)。なお、ステップS42の発射モータ制御処理において、励磁パターンがRAM領域である励磁パターンバッファに格納され、ステップS41では、CPU56は、励磁パターンバッファの内容を出力ポート2の上位4ビットに出力する処理を行う。   Next, the game control process will be described. FIG. 19 is a flowchart showing the timer interrupt process. If a timer interrupt occurs during execution of the main process, specifically, during the execution of the loop process of steps S28 to S31, the CPU 56 performs a timer interrupt process that is activated in response to the occurrence of the timer interrupt. A game control process is executed. In the timer interrupt process, the CPU 56 first executes a power-off process (power-off detection process) for detecting whether or not a power-off signal has been output (whether the power-off signal has been turned on) (step S40). Further, an excitation pattern output process for the firing motor 94 (output of the patterns of the firing motors φ1 to φ4 to the output port 0) is performed (step S41). In the firing motor control process in step S42, the excitation pattern is stored in the excitation pattern buffer that is the RAM area. In step S41, the CPU 56 performs a process of outputting the contents of the excitation pattern buffer to the upper 4 bits of the output port 2. Do.

次に、CPU56は、発射モータ制御処理を実行する(ステップS42)。発射モータ制御処理では、発射モータφ1〜φ4のパターンを励磁パターンバッファに格納する。   Next, the CPU 56 executes a firing motor control process (step S42). In the firing motor control process, the patterns of the firing motors φ1 to φ4 are stored in the excitation pattern buffer.

次いで、CPU56は、スイッチ回路58を介して、ゲートスイッチ32a、始動口スイッチ14a、カウントスイッチ23および入賞口スイッチ29a,30a,33a,39a等のスイッチの検出信号を入力し、それらの状態判定を行う(スイッチ処理:ステップS43)。具体的には、各スイッチの検出信号を入力する入力ポートの状態がオン状態であれば、各スイッチに対応して設けられているスイッチタイマの値を+1する。また、払出制御基板37からの賞球カウント信号の受信に応じて、賞球の払い出しが行われたことを遊技者に報知するための処理、具体的には賞球払出確認指定コマンドを表示制御基板80に送信する処理(図28参照)を実行する(賞球報知処理:ステップS44)。   Next, the CPU 56 inputs detection signals of switches such as the gate switch 32a, the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a via the switch circuit 58, and determines their state. Performed (switch processing: step S43). Specifically, if the state of the input port for inputting the detection signal of each switch is ON, the value of the switch timer provided corresponding to each switch is incremented by one. In addition, in response to receiving a prize ball count signal from the payout control board 37, a process for notifying a player that a prize ball has been paid out, specifically, a prize ball payout confirmation designation command is displayed and controlled. The process (refer FIG. 28) transmitted to the board | substrate 80 is performed (prize ball notification process: step S44).

次に、遊技制御に用いられる大当り判定用の乱数等の各判定用乱数を生成するための各カウンタのカウント値を更新する処理を行う(ステップS45)。CPU56は、さらに、表示用乱数および初期値用乱数を生成するためのカウンタのカウント値を更新する処理を行う(ステップS46,S47)。   Next, a process of updating the count value of each counter for generating each determination random number such as a big hit determination random number used for game control is performed (step S45). The CPU 56 further performs a process of updating the count value of the counter for generating the display random number and the initial value random number (steps S46 and S47).

さらに、CPU56は、特別図柄プロセス処理を行う(ステップS48)。特別図柄プロセス制御では、遊技状態に応じてパチンコ遊技機1を所定の順序で制御するための特別図柄プロセスフラグに従って該当する処理が選び出されて実行される。そして、特別図柄プロセスフラグの値は、遊技状態に応じて各処理中に更新される。また、普通図柄プロセス処理を行う(ステップS49)。普通図柄プロセス処理では、普通図柄表示器10の表示状態を所定の順序で制御するための普通図柄プロセスフラグに従って該当する処理が選び出されて実行される。そして、普通図柄プロセスフラグの値は、遊技状態に応じて各処理中に更新される。   Further, the CPU 56 performs special symbol process processing (step S48). In the special symbol process control, corresponding processing is selected and executed according to a special symbol process flag for controlling the pachinko gaming machine 1 in a predetermined order according to the gaming state. The value of the special symbol process flag is updated during each process according to the gaming state. Further, normal symbol process processing is performed (step S49). In the normal symbol process, the corresponding process is selected and executed according to the normal symbol process flag for controlling the display state of the normal symbol display 10 in a predetermined order. The value of the normal symbol process flag is updated during each process according to the gaming state.

次いで、CPU56は、飾り図柄に関する演出制御コマンドをRAM55の所定の領域に設定して演出制御コマンドを送出する処理を行う(飾り図柄コマンド制御処理:ステップS50)。また、普通図柄に関する演出制御コマンドをRAM55の所定の領域に設定して演出制御コマンドを送出する処理を行う(普通図柄コマンド制御処理:ステップS51)。   Next, the CPU 56 performs a process of setting an effect control command related to the decorative design in a predetermined area of the RAM 55 and sending the effect control command (decorative design command control process: step S50). Further, a process for setting the effect control command for the normal symbol in a predetermined area of the RAM 55 and sending the effect control command is performed (normal symbol command control process: step S51).

さらに、CPU56は、例えばホール管理用コンピュータに供給される大当り情報、始動情報、確率変動情報などのデータを出力する情報出力処理を行う(ステップS52)。   Further, the CPU 56 performs information output processing for outputting data such as jackpot information, start information, probability variation information supplied to the hall management computer, for example (step S52).

また、CPU56は、入賞口スイッチ29a,30a,33a,39a等の検出信号にもとづく賞球個数の設定などを行う賞球処理を実行する(ステップS53)。具体的には、入賞口スイッチ29a,30a,33a,39a等がオンしたことにもとづく入賞検出に応じて、払出制御基板37に賞球個数を示す賞球個数信号を出力する。払出制御基板37に搭載されている払出制御用CPU371は、賞球個数を示す賞球個数信号に応じて球払出装置97を駆動する。   Further, the CPU 56 executes a prize ball process for setting the number of prize balls based on detection signals from the prize opening switches 29a, 30a, 33a, 39a and the like (step S53). Specifically, a prize ball number signal indicating the number of prize balls is output to the payout control board 37 in response to detection of a prize based on turning on the prize opening switches 29a, 30a, 33a, 39a and the like. The payout control CPU 371 mounted on the payout control board 37 drives the ball payout device 97 according to the prize ball number signal indicating the number of prize balls.

そして、CPU56は、始動入賞記憶数の増減をチェックする記憶処理を実行する(ステップS54)。また、遊技機の制御状態を遊技機外部で確認できるようにするための試験信号を出力する処理である試験端子処理を実行する(ステップS55)。また、この実施の形態では、出力ポートの出力状態に対応したRAM領域(出力ポートバッファ)が設けられているのであるが、CPU56は、出力ポート2のRAM領域におけるソレノイドに関する内容(図12参照)を出力ポートに出力する(ステップS56:ソレノイド出力処理)。その後、割込許可状態に設定し(ステップS57)、処理を終了する。   And CPU56 performs the memory | storage process which checks the increase / decrease in the number-of-start winning memory | storage number (step S54). In addition, a test terminal process, which is a process for outputting a test signal for enabling the control state of the gaming machine to be confirmed outside the gaming machine, is executed (step S55). In this embodiment, a RAM area (output port buffer) corresponding to the output state of the output port is provided, but the CPU 56 relates to the solenoid in the RAM area of the output port 2 (see FIG. 12). Is output to the output port (step S56: solenoid output processing). Thereafter, the interrupt permission state is set (step S57), and the process ends.

以上の制御によって、この実施の形態では、遊技制御処理は定期的(例えば4ms毎)に起動されることになる。なお、この実施の形態では、タイマ割込処理で遊技制御処理が実行されているが、タイマ割込処理では例えば割込が発生したことを示すフラグのセットのみがなされ、遊技制御処理はメイン処理において実行されるようにしてもよい。また、ステップS41〜S56の処理(ステップS52およびS55を除く)が、遊技の進行を制御する遊技制御処理に相当する。   With the above control, in this embodiment, the game control process is started periodically (for example, every 4 ms). In this embodiment, the game control process is executed by the timer interrupt process. However, in the timer interrupt process, for example, only a flag indicating that an interrupt has occurred is set, and the game control process is performed by the main process. May be executed. Further, the processing of steps S41 to S56 (excluding steps S52 and S55) corresponds to a game control process for controlling the progress of the game.

図20および図21は、ステップS40の電源断処理の一例を示すフローチャートである。電源断処理において、CPU56は、まず、電源断信号が出力されているか否か(オン状態になっているか否か)確認する(ステップS450)。オン状態でなければ、RAM55に形成されるバックアップ監視タイマの値を0クリアする(ステップS451)。オン状態であれば、RAM55に形成されるバックアップ監視タイマの値を1増やす(ステップS452)。そして、バックアップ監視タイマの値が判定値(例えば2)と一致すれば(ステップS453)、ステップS454以降の電力供給停止時処理すなわち電力の供給停止のための準備処理を実行する。つまり、遊技の進行を制御する状態から遊技状態を保存させるための電力供給停止時処理(電源断時制御処理)を実行する状態に移行する。   20 and 21 are flowcharts showing an example of the power-off process in step S40. In the power-off process, the CPU 56 first checks whether or not a power-off signal is output (whether it is in an on state) (step S450). If not on, the value of the backup monitoring timer formed in the RAM 55 is cleared to 0 (step S451). If it is on, the value of the backup monitoring timer formed in the RAM 55 is incremented by 1 (step S452). If the value of the backup monitoring timer matches the determination value (for example, 2) (step S453), the power supply stop processing after step S454, that is, the preparation processing for power supply stop is executed. That is, the state shifts from the state in which the progress of the game is controlled to the state in which the power supply stop process (the power-off control process) for saving the game state is executed.

バックアップ監視タイマと判定値とを用いることによって、判定値に相当する時間だけ電源断信号のオン状態が継続したら、電力供給停止時処理が開始される。すなわち、ノイズ等で一瞬電源断信号のオン状態が発生しても、誤って電力供給停止時処理が開始されるようなことはない。なお、RAM55に形成されるバックアップ監視タイマの値は、遊技機への電力供給が停止しても、所定期間はバックアップ電源によって保存される。従って、メイン処理におけるステップS14では、バックアップ監視タイマの値が判定値と同じ値になっていることによって、電力供給停止時処理の処理結果が保存されていることを確認できる。   By using the backup monitoring timer and the determination value, if the power-off signal is kept on for a time corresponding to the determination value, the power supply stop process is started. That is, even when the power-off signal is turned on for a moment due to noise or the like, the power supply stop process is not erroneously started. Note that the value of the backup monitoring timer formed in the RAM 55 is stored by the backup power source for a predetermined period even if the power supply to the gaming machine is stopped. Therefore, in step S14 in the main process, it can be confirmed that the process result of the power supply stop process is stored because the value of the backup monitoring timer is the same as the determination value.

電力供給停止時処理において、CPU56は、パリティデータを作成する(ステップS454〜S463)。すなわち、まず、クリアデータ(00)をチェックサムデータエリアにセットし(ステップS454)、電力供給停止時でも内容が保存されるべきRAM領域の先頭アドレスに相当するチェックサム算出開始アドレスをポインタにセットする(ステップS455)。また、電力供給停止時でも内容が保存されるべきRAM領域の最終アドレスに相当するチェックサム算出回数をセットする(ステップS456)。   In the power supply stop process, the CPU 56 creates parity data (steps S454 to S463). That is, first, clear data (00) is set in the checksum data area (step S454), and the checksum calculation start address corresponding to the start address of the RAM area in which the contents are to be stored even when power supply is stopped is set in the pointer. (Step S455). Further, the number of checksum calculations corresponding to the final address of the RAM area where the contents are to be stored even when the power supply is stopped is set (step S456).

次いで、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する(ステップS457)。演算結果をチェックサムデータエリアにストアするとともに(ステップS458)、ポインタの値を1増やし(ステップS459)、チェックサム算出回数の値を1減算する(ステップS460)。そして、ステップS457〜S460の処理を、チェックサム算出回数の値が0になるまで繰り返す(ステップS461)。   Next, an exclusive OR of the contents of the checksum data area and the contents of the RAM area pointed to by the pointer is calculated (step S457). The calculation result is stored in the checksum data area (step S458), the value of the pointer is incremented by 1 (step S459), and the value of the checksum calculation count is decremented by 1 (step S460). Then, the processes in steps S457 to S460 are repeated until the value of the checksum calculation count becomes 0 (step S461).

チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転する(ステップS462)。そして、反転後のデータをチェックサムデータエリアにストアする(ステップS463)。このデータが、電源投入時にチェックされるパリティデータとなる。次いで、RAMアクセスレジスタにアクセス禁止値を設定する(ステップS471)。以後、内蔵RAM55のアクセスができなくなる。   When the value of the checksum calculation count becomes 0, the CPU 56 inverts the value of each bit of the contents of the checksum data area (step S462). Then, the inverted data is stored in the checksum data area (step S463). This data becomes parity data to be checked when the power is turned on. Next, an access prohibition value is set in the RAM access register (step S471). Thereafter, the built-in RAM 55 cannot be accessed.

さらに、CPU56は、ROM54に格納されているポートクリア設定テーブルの先頭アドレスをポインタにセットする(ステップS472)。ポートクリア設定テーブルにおいて、先頭アドレスには処理数(クリアすべき出力ポートの数)が設定され、次いで、出力ポートのアドレスおよび出力値データ(クリアデータ:出力ポートの各ビットのオフ状態の値)が、処理数分の出力ポートについて順次設定されている。   Further, the CPU 56 sets the head address of the port clear setting table stored in the ROM 54 as a pointer (step S472). In the port clear setting table, the number of processes (the number of output ports to be cleared) is set to the head address, and then the output port address and output value data (clear data: the value of the off state of each bit of the output port) However, the output ports for the number of processes are sequentially set.

CPU56は、ポインタが指すアドレスのデータ(すなわち処理数)をロードする(ステップS473)。また、ポインタの値を1増やし(ステップS474)、ポインタが指すアドレスのデータ(すなわち出力ポートのアドレス)をロードする(ステップS475)。さらに、ポインタの値を1増やし(ステップS476)、ポインタが指すアドレスのデータ(すなわち出力値データ)をロードする(ステップS477)。そして、出力値データを出力ポートに出力する(ステップS478)。その後、処理数を1減らし(ステップS479)、処理数が0でなければステップS474に戻る。処理数が0であれば、すなわち、クリアすべき出力ポートを全てクリアしたら、タイマ割込を停止し(ステップS481)、ループ処理に入る。   The CPU 56 loads data at the address pointed to by the pointer (that is, the number of processes) (step S473). Further, the value of the pointer is incremented by 1 (step S474), and the data at the address pointed to by the pointer (that is, the output port address) is loaded (step S475). Further, the value of the pointer is incremented by 1 (step S476), and the data of the address pointed to by the pointer (that is, output value data) is loaded (step S477). Then, the output value data is output to the output port (step S478). Thereafter, the number of processes is reduced by 1 (step S479), and if the number of processes is not 0, the process returns to step S474. If the number of processes is 0, that is, if all the output ports to be cleared are cleared, the timer interrupt is stopped (step S481) and the loop process is started.

ループ処理では、電源断信号がオフ状態になったか否かを監視する(ステップS482)。電源断信号がオフ状態になった場合には復帰アドレスとして、電源投入時実行アドレス(ステップS1のアドレス)を設定してリターン命令を実行する(ステップS483)。すなわち、メイン処理に戻る。具体的には、遊技機に設けられている遊技用の装置を制御(自身で制御することと、他のマイクロコンピュータに制御させるために指令信号を送信することの双方を含む概念)する状態に戻る。   In the loop processing, it is monitored whether or not the power-off signal is turned off (step S482). When the power-off signal is turned off, the execution address at power-on (address in step S1) is set as a return address and a return command is executed (step S483). That is, the process returns to the main process. Specifically, a state in which a gaming device provided in the gaming machine is controlled (a concept including both controlling by itself and sending a command signal to cause another microcomputer to control). Return.

以上の処理によって、電力供給が停止する場合には、ステップS454〜S481の電力供給停止時処理が実行され、電力供給停止時処理が実行されたことを示すデータ(バックアップあり指定値およびチェックサム)がバックアップRAMへストアされ、RAMアクセスが禁止状態にされ、出力ポートがクリアされ、かつ、遊技制御処理を実行するためのタイマ割込が禁止状態に設定される。   When the power supply is stopped by the above process, the power supply stop process in steps S454 to S481 is executed, and data indicating that the power supply stop process has been executed (specified value with backup and checksum) Is stored in the backup RAM, the RAM access is disabled, the output port is cleared, and the timer interrupt for executing the game control process is disabled.

この実施の形態では、RAM55の全領域がバックアップ電源によって電源バックアップ(遊技機への電力供給が停止しても所定期間はRAM55の内容が保存されこと)されている。従って、ステップS452〜S479の処理によって、バックアップ監視タイマの値とともに、電源断信号が出力されたときのRAM55の内容にもとづくチェックサムもRAM55に保存される。遊技機への電力供給が停止した後、所定期間内に電力供給が復旧したら、遊技制御手段は、上述したステップS16〜S20の処理によって、RAM55に保存されているデータ(電力供給が停止した直前の遊技制御手段による制御状態である遊技状態を示すデータ(例えば、プロセスフラグの状態、大当り中フラグの状態、確変フラグの状態、出力ポートの出力状態等)を含む)に従って、遊技状態を、電力供給が停止した直前の状態に戻すことができる。なお、電力供給停止の期間が所定期間を越えたらバックアップ監視タイマの値とチェックサムとが正規の値とは異なるはずであるから、その場合には、ステップS21〜S27の初期化処理が実行される。   In this embodiment, the entire area of the RAM 55 is backed up by a backup power source (the contents of the RAM 55 are preserved for a predetermined period even when power supply to the gaming machine is stopped). Therefore, the checksum based on the contents of the RAM 55 when the power-off signal is output is stored in the RAM 55 together with the value of the backup monitoring timer by the processing in steps S452 to S479. After the power supply to the gaming machine is stopped, when the power supply is restored within a predetermined period, the game control means performs data stored in the RAM 55 (immediately before the power supply is stopped) by the processing of steps S16 to S20 described above. In accordance with the data indicating the game state that is the control state by the game control means (for example, including the process flag state, the big hit flag state, the probability change flag state, the output port output state, etc.) It is possible to return to the state immediately before the supply is stopped. If the power supply stop period exceeds the predetermined period, the value of the backup monitoring timer and the checksum should be different from the regular values. In this case, the initialization process of steps S21 to S27 is executed. The

以上のように、電力供給停止時処理(電力の供給停止のための準備処理)によって、遊技状態を電力供給が停止した直前の状態に戻すためのデータが確実に変動データ記憶手段(この例ではRAM55の全領域)に保存される。よって、停電等による電源断が生じても、所定期間内に電源が復旧すれば、遊技状態を電力供給が停止した直前の状態に戻すことができる。なお、RAM55の全領域が電源バックアップされるのではなく、遊技状態を電力供給が停止した直前の状態に戻すためのデータを記憶する領域のみが電源バックアップされるようにしてもよい。   As described above, the power supply stop process (preparation process for stopping the power supply) ensures that the data for returning the gaming state to the state immediately before the power supply stopped is the fluctuation data storage means (in this example) Stored in the entire area of the RAM 55). Therefore, even if the power is cut off due to a power failure or the like, if the power is restored within a predetermined period, the gaming state can be returned to the state immediately before the power supply is stopped. The entire area of the RAM 55 may not be backed up by power, but only the area for storing data for returning the gaming state to the state immediately before the power supply is stopped may be backed up.

また、電源断信号がオフ状態になった場合には、ステップS1に戻る。その場合、電力供給停止時処理が実行されたことを示すデータが設定されているので、ステップS16〜S20の遊技状態復旧処理が実行される。よって、電力供給停止時処理を実行した後に電源監視手段からの検出信号がオフ状態になったときには、遊技の進行を制御する状態に戻る。従って、電源瞬断等が生じても、遊技制御処理が停止してしまうようなことはなく、自動的に、遊技制御処理が続行される。   If the power-off signal is turned off, the process returns to step S1. In this case, since data indicating that the power supply stop process has been executed is set, the game state recovery process of steps S16 to S20 is executed. Therefore, when the detection signal from the power supply monitoring unit is turned off after executing the power supply stop process, the process returns to the state of controlling the progress of the game. Therefore, even if a power interruption or the like occurs, the game control process does not stop, and the game control process is automatically continued.

なお、払出制御基板37に対して送信される接続確認信号は、出力ポートをクリアする処理によってオフ状態に設定される。また、ステップ17およびS23の作業領域の設定では、接続確認信号に対応した出力ポートバッファの内容が、接続確認信号のオン状態に対応した値に設定される。そして、ステップS53の賞球処理が実行されると、出力ポートバッファの内容が出力ポートに出力されるので、払出制御基板37への接続確認信号がオン状態になる。従って、接続確認信号は、主基板31の立ち上がり時に出力される(オン状態になる)ことになる。なお、電源瞬断等から復帰した場合も、接続確認信号が出力される。   The connection confirmation signal transmitted to the payout control board 37 is set to the off state by the process of clearing the output port. In the setting of the work area in steps 17 and S23, the content of the output port buffer corresponding to the connection confirmation signal is set to a value corresponding to the ON state of the connection confirmation signal. When the prize ball processing in step S53 is executed, the contents of the output port buffer are output to the output port, so that the connection confirmation signal to the payout control board 37 is turned on. Therefore, the connection confirmation signal is output (turned on) when the main board 31 rises. Note that a connection confirmation signal is also output when the power supply is recovered from an instantaneous power interruption or the like.

図22は、ステップS42の発射モータ制御処理を示すフローチャートである。発射モータ制御処理において、CPU56は、発射モータ励磁パターンカウンタを+1する(ステップS151)。そして、ROM54に格納されている発射モータ励磁パターンテーブルから、励磁パターンカウンタの値に応じたデータを読み出す(ステップS152)。さらに、読み出したデータを、発射モータ励磁パターンバッファにセットする(ステップS153)。上述したように、発射モータ励磁パターンバッファの内容は、ステップS41において出力ポートに出力される。なお、発射モータ励磁パターンテーブルには、発射モータ94を回転させるための各ステップの励磁パターン(発射モータφ1〜φ4)のデータが順次設定されている。   FIG. 22 is a flowchart showing the firing motor control process in step S42. In the firing motor control process, the CPU 56 increments the firing motor excitation pattern counter by 1 (step S151). Then, data corresponding to the value of the excitation pattern counter is read from the firing motor excitation pattern table stored in the ROM 54 (step S152). Further, the read data is set in the firing motor excitation pattern buffer (step S153). As described above, the contents of the firing motor excitation pattern buffer are output to the output port in step S41. In the firing motor excitation pattern table, the excitation pattern data (shooting motors φ1 to φ4) for each step for rotating the firing motor 94 is sequentially set.

次に、メイン処理におけるスイッチ処理(ステップS43)を説明する。この実施の形態では、入賞検出またはゲート通過に関わる各スイッチの検出信号のオン状態が所定時間継続すると、確かにスイッチがオンしたと判定されスイッチオンに対応した処理が開始される。図23は、スイッチ処理で使用されるRAM55に形成される各1バイトのバッファを示す説明図である。前回ポートバッファは、前回(例えば4ms前)のスイッチオン/オフの判定結果が格納されるバッファである。ポートバッファは、今回入力したポート0の内容が格納されるバッファである。スイッチオンバッファは、スイッチのオンが検出された場合に対応ビットが1に設定され、スイッチのオフが検出された場合に対応ビットが0に設定されるバッファである。   Next, the switch process (step S43) in the main process will be described. In this embodiment, when the ON state of the detection signal of each switch related to winning detection or gate passage continues for a predetermined time, it is determined that the switch is surely turned on, and processing corresponding to the switch on is started. FIG. 23 is an explanatory diagram showing each 1-byte buffer formed in the RAM 55 used in the switching process. The previous port buffer is a buffer in which the previous switch-on / off determination result (for example, 4 ms before) is stored. The port buffer is a buffer in which the contents of port 0 inputted this time are stored. The switch-on buffer is a buffer in which the corresponding bit is set to 1 when switch on is detected and the corresponding bit is set to 0 when switch off is detected.

図24は、遊技制御処理におけるステップS43のスイッチ処理の処理例を示すフローチャートである。スイッチ処理において、CPU56は、まず、入力ポート0(図14参照)に入力されているデータを入力し(ステップS101)、入力したデータをポートバッファにセットする(ステップS102)。次いで、RAM55に形成されるウェイトカウンタの初期値をセットし(ステップS103)、ウェイトカウンタの値が0になるまで、ウェイトカウンタの値を1ずつ減算する(ステップS104,S105)。   FIG. 24 is a flowchart illustrating a processing example of the switch processing in step S43 in the game control processing. In the switch process, the CPU 56 first inputs data input to the input port 0 (see FIG. 14) (step S101), and sets the input data in the port buffer (step S102). Next, the initial value of the weight counter formed in the RAM 55 is set (step S103), and the value of the weight counter is decremented by 1 until the value of the weight counter becomes 0 (steps S104 and S105).

ウェイトカウンタの値が0になると、再度、入力ポート0のデータを入力し(ステップS106)、入力したデータとポートバッファにセットされているデータとの間で、ビット毎に論理積をとる(ステップS107)。そして、論理積の演算結果を、ポートバッファにセットする(ステップS108)。ステップS103〜S108の処理によって、ほぼ[ウェイトカウンタの初期値×(ステップS14,S105の処理時間)]の時間間隔を置いて入力ポート0から入力した2回の入力データのうち、2回とも「1」になっているビットのみが、ポートバッファにおいて「1」になる。つまり、所定期間としての[ウェイトカウンタの初期値×(ステップS14,S105の処理時間)]だけスイッチの検出信号のオン状態が継続すると、ポートバッファにおける対応するビットが「1」になる。   When the value of the wait counter becomes 0, the data of the input port 0 is input again (step S106), and a logical product is obtained for each bit between the input data and the data set in the port buffer (step S106). S107). Then, the logical product operation result is set in the port buffer (step S108). Of the two input data input from the input port 0 with a time interval of approximately [initial value of weight counter × (processing time of steps S14 and S105)] by the processing of steps S103 to S108, both “ Only the bits that are “1” will be “1” in the port buffer. In other words, if the ON state of the switch detection signal continues for a predetermined period [initial value of wait counter × (processing time of steps S14 and S105)], the corresponding bit in the port buffer becomes “1”.

さらに、CPU56は、前回ポートバッファにセットされているデータとポートバッファにセットされているデータとの間で、ビット毎に排他的論理和をとる(ステップS109)。排他的論理和の演算結果において、前回(例えば4ms前)のスイッチオン/オフの判定結果と、今回オンと判定されたスイッチオン/オフの判定結果とが異なっているスイッチに対応したビットが「1」になる。CPU56は、さらに、排他的論理和の演算結果と、ポートバッファにセットされているデータとの間で、ビット毎に論理積をとる(ステップS110)。この結果、前回のスイッチオン/オフの判定結果と今回オンと判定されたスイッチオン/オフの判定結果とが異なっているスイッチに対応したビット(排他的論理和演算結果による)のうち、今回オンと判定されたスイッチに対応したビット(論理積演算による)のみが「1」として残る。   Further, the CPU 56 performs exclusive OR for each bit between the data previously set in the port buffer and the data set in the port buffer (step S109). In the result of the exclusive OR operation, the bit corresponding to the switch for which the previous switch-on / off determination result (for example, 4 ms before) differs from the switch-on / off determination result determined to be on this time is “ 1 ”. The CPU 56 further performs a logical product for each bit between the operation result of the exclusive OR and the data set in the port buffer (step S110). As a result, of the bits corresponding to the switches for which the previous switch on / off determination result and the switch on / off determination result determined to be on this time are different (according to the exclusive OR operation result), the current on Only the bit corresponding to the switch determined to be (by AND operation) remains as “1”.

そして、CPU56は、ステップS110における論理積の演算結果をスイッチオンバッファにセットし(ステップS111)、ステップS108における演算結果がセットされているポートバッファの内容を前回ポートバッファにセットする(ステップS112)。   Then, the CPU 56 sets the operation result of the logical product in step S110 in the switch-on buffer (step S111), and sets the contents of the port buffer in which the operation result in step S108 is set in the previous port buffer (step S112). .

以上の処理によって、所定期間継続してオン状態であったスイッチのうち、前回(例えば4ms前)のスイッチオン/オフの判定結果がオフであったスイッチ、すなわち、オフ状態からオン状態に変化したスイッチに対応したビットが、スイッチオンバッファにおいて「1」になっている。   By the above processing, among the switches that have been on for a predetermined period of time, the switch on / off determination result of the previous time (for example, 4 ms ago) was off, that is, the switch changed from the off state to the on state. The bit corresponding to the switch is “1” in the switch-on buffer.

次に、主基板31と払出制御基板37との間で送受信される制御信号について説明する。図25は、遊技制御手段から払出制御手段に対して出力される制御信号および遊技制御手段に払出制御手段から入力される制御信号の内容の一例を示す説明図である。この実施の形態では、払出制御等に関する各種の制御を行うために、主基板31と払出制御基板37との間で複数種類の制御信号が送受信される。図25に示すように、接続確認信号は、主基板31の立ち上がり時(遊技制御手段が遊技制御処理を開始したとき)に出力され、払出制御基板37に対して主基板31が立ち上がったことを通知するための信号(主基板31の接続確認信号)である。また、接続確認信号は、賞球払出が可能な状態であることを示す。なお、この実施の形態では、遊技制御手段が遊技制御処理を開始する前に払出起動コマンドを送信するので、接続確認信号を使用しなくてもよい。接続確認信号を使用しない場合には、払出起動コマンドが、賞球払出が可能な状態であることを示す信号を兼ねる。   Next, control signals transmitted and received between the main board 31 and the payout control board 37 will be described. FIG. 25 is an explanatory diagram showing an example of the contents of a control signal output from the game control means to the payout control means and a control signal input from the payout control means to the game control means. In this embodiment, a plurality of types of control signals are transmitted and received between the main board 31 and the payout control board 37 in order to perform various controls relating to payout control and the like. As shown in FIG. 25, the connection confirmation signal is output when the main board 31 rises (when the game control means starts the game control process), and indicates that the main board 31 has risen with respect to the payout control board 37. This is a signal for notification (connection confirmation signal for the main board 31). The connection confirmation signal indicates that the winning ball can be paid out. In this embodiment, since the game control means transmits the payout activation command before starting the game control process, the connection confirmation signal need not be used. When the connection confirmation signal is not used, the payout activation command also serves as a signal indicating that the prize ball can be paid out.

賞球REQ信号は、賞球の払出要求時または払出起動コマンドの送信時に出力状態(=オン状態)になる信号である。また、賞球REQ信号は、オン状態となった後にあらかじめ定められた所定期間が経過すると、停止状態(オフ状態=オール0の状態)になる。賞球個数信号は、払出要求を行う遊技球の個数(1〜15個)を指定するために出力される信号(賞球個数コマンド)として使用される。   The prize ball REQ signal is a signal that is in an output state (= ON state) when a prize ball is requested to be dispensed or when a dispensing activation command is transmitted. In addition, the prize ball REQ signal is in a stopped state (off state = all 0 state) when a predetermined period of time elapses after the on state is turned on. The award ball number signal is used as a signal (award ball number command) output for designating the number of game balls (1 to 15) for which a payout request is made.

コマンド受信可能状態信号は、払出制御手段が外部端子割込によるコマンド入力処理を実行可能となったときにオン状態とされる信号である。すなわち、コマンド受信可能状態信号がオン状態であるときは外部端子割込によるコマンド入力処理が実行可能な状態であることを示し、コマンド受信可能状態信号がオフ状態であるときは外部端子割込によるコマンド入力処理が実行不能な状態であることを示す。   The command receivable state signal is a signal that is turned on when the payout control means can execute command input processing by external terminal interruption. That is, when the command receivable state signal is on, it indicates that the command input processing by the external terminal interrupt is executable, and when the command receivable state signal is off, the external terminal interrupt Indicates that command input processing cannot be executed.

賞球カウント信号は、払出制御手段が1個の賞球の払い出しを確認するとオン状態にされ、あらかじめ決められている所定期間後にオフ状態になる信号である。払出エラー信号は、払い出しに関わるエラー状態が発生するとオン状態にされ、エラー状態が解除されるとオフ状態にされる信号である。   The prize ball count signal is a signal that is turned on when the payout control means confirms the payout of one prize ball, and is turned off after a predetermined period. The payout error signal is a signal that is turned on when an error state relating to payout occurs and is turned off when the error state is canceled.

図26は、図25に示す各制御信号の送受信に用いられる信号線等を示すブロック図である。図26に示すように、接続確認信号、賞球REQ信号、および賞球個数信号は、CPU56によって出力回路67を介して出力され、入力回路373Aを介して払出制御用CPU371に入力される。また、コマンド受信可能状態信号、賞球カウント信号、および払出エラー信号は、払出制御用CPU371によって出力回路373Bを介して出力され、入力回路68を介してCPU56に入力される。接続確認信号、賞球REQ信号、コマンド受信可能状態信号、賞球カウント信号、および払出エラー信号は、それぞれ1ビットのデータであり、1本の信号線によって送信される。賞球個数信号は、1個〜15個の賞球払出を指定するとともに、さらに払出起動指令としても使用されるので、5ビットのデータで構成され5本の信号線によって送信される。   FIG. 26 is a block diagram showing signal lines and the like used for transmission / reception of each control signal shown in FIG. As shown in FIG. 26, the connection confirmation signal, the prize ball REQ signal, and the prize ball number signal are output by the CPU 56 via the output circuit 67 and input to the payout control CPU 371 via the input circuit 373A. Further, the command receivable state signal, the prize ball count signal, and the payout error signal are output by the payout control CPU 371 via the output circuit 373B and input to the CPU 56 via the input circuit 68. Each of the connection confirmation signal, the prize ball REQ signal, the command receivable state signal, the prize ball count signal, and the payout error signal is 1-bit data and is transmitted through one signal line. The award ball number signal designates 1 to 15 award ball payouts and is also used as a payout start command, so is composed of 5-bit data and transmitted through 5 signal lines.

図27は、賞球個数信号の出力の仕方の一例を示すタイミング図である。図27に示すように、遊技制御手段は、遊技機に対して電力供給が開始されたことに関連して、払出起動コマンド(払出起動指令)を払出制御手段に送信する。具体的には、賞球個数信号として10(H)を出力するとともに、賞球REQ信号をオン状態にする。   FIG. 27 is a timing chart showing an example of how to output a prize ball number signal. As shown in FIG. 27, the game control means transmits a payout start command (payout start command) to the payout control means in connection with the start of power supply to the gaming machine. Specifically, 10 (H) is output as the prize ball number signal, and the prize ball REQ signal is turned on.

払出制御手段は、払出起動コマンドの受信に応じて初期設定処理などを実行したあと、払出制御処理を開始する前に、コマンド受信可能状態信号をオン状態とする。遊技制御手段は、コマンド受信可能状態信号がオン状態であることを確認すると、遊技制御処理を開始する。なお、遊技制御手段は、遊技制御処理を開始するときに、接続確認信号をオン状態にする。   The payout control means sets the command receivable state signal to the on state before starting the payout control process after executing the initial setting process or the like in response to the reception of the payout activation command. When the game control means confirms that the command receivable state signal is on, the game control means starts the game control process. The game control means turns on the connection confirmation signal when starting the game control process.

その後、入賞検出スイッチが遊技球の入賞を検出すると、遊技制御手段は、賞球REQ信号をオン状態にするとともに、賞球個数信号の出力状態を、入賞に応じて払い出される賞球数に応じた状態にする。なお、この実施の形態では、始動口スイッチ14aで遊技球が検出されると4個の賞球払出を行い、入賞口スイッチ33a,39a,29a,30aのいずれかで遊技球が検出されると7個の賞球払出を行い、Vカウントスイッチ22またはカウントスイッチ23で遊技球が検出されると15個の賞球払出を行う。また、上述したように、賞球個数信号は5ビットで構成されているので、8ビットで表現されている00(H)〜0F(H)の賞球個数コマンドのうち、下位の5ビットが賞球個数信号によって主基板31から払出制御基板37に伝達される。以下、「00(H)〜0F(H)の賞球個数信号」のように表現することがあるが、実際には、賞球個数信号は、8ビットで表現されている00(H)〜0F(H)のうちの下位の5ビットに相当する。なお、賞球個数信号が、入賞に応じて払い出される賞球数を伝達するために使用される場合には、その最上位ビット(ビット4)は0である。   Thereafter, when the winning detection switch detects the winning of the game ball, the game control means turns on the winning ball REQ signal and sets the output state of the winning ball number signal according to the number of winning balls to be paid out according to the winning. To the state. In this embodiment, when a game ball is detected by the start port switch 14a, four prize balls are paid out, and when a game ball is detected by any of the prize port switches 33a, 39a, 29a, 30a. Seven prize balls are paid out. When a game ball is detected by the V count switch 22 or the count switch 23, 15 prize balls are paid out. As described above, since the prize ball number signal is composed of 5 bits, the lower 5 bits of the prize ball number commands of 00 (H) to 0F (H) represented by 8 bits are The signal is transmitted from the main board 31 to the payout control board 37 by the award ball number signal. Hereinafter, it may be expressed as “00 (H) to 0F (H) prize ball number signal”, but in reality, the prize ball number signal is represented by 8 bits. This corresponds to the lower 5 bits of 0F (H). When the prize ball number signal is used to transmit the number of prize balls to be paid out in accordance with winning, the most significant bit (bit 4) is 0.

図28は、賞球カウント信号の出力の仕方の一例を示すタイミング図である。図28に示すように、払出制御用CPU371は、払出個数カウントスイッチ301が遊技球の払い出しを検出すると、その検出が賞球の払出検出であるか否か確認し、賞球の払出検出であれば賞球カウント信号を所定期間(例えば0.5秒)オン状態とする。すなわち、1個の賞球の払い出しを確認する毎に、賞球カウント信号を所定期間オン状態とする。従って、例えば払出個数カウントスイッチ301によって7個の遊技球の払い出しが検出され、検出された遊技球が賞球であれば、賞球カウント信号のオン/オフが7回繰り返される。   FIG. 28 is a timing chart showing an example of how to output a prize ball count signal. As shown in FIG. 28, the payout control CPU 371, when the payout number count switch 301 detects the payout of the game ball, confirms whether or not the detection is the detection of the payout of the prize ball. For example, the prize ball count signal is turned on for a predetermined period (eg, 0.5 seconds). That is, each time a payout of one prize ball is confirmed, the prize ball count signal is turned on for a predetermined period. Therefore, for example, the payout count switch 301 detects the payout of seven game balls. If the detected game ball is a prize ball, the on / off of the prize ball count signal is repeated seven times.

CPU56は、上記した賞球報知処理(ステップS44)において、賞球カウント信号を受信する毎に、1個の賞球の払い出しを確認したことを示す賞球払出確認指定の制御コマンド(賞球払出確認指定コマンド)を、演出制御基板80に向けて送信する。演出制御基板80は、賞球払出確認指定コマンドを受信する毎に、枠側ランプドライバ基板35に制御信号を出力し、例えば所定のランプを所定期間(例えば0.5秒)点灯させる制御を実行する。なお、演出制御基板80が賞球ランプ51を制御する構成とし、賞球払出確認指定コマンドを受信する毎に、賞球ランプ51を点灯させるようにしてもよい。   In the above-described prize ball notification process (step S44), the CPU 56 receives a prize ball payout confirmation designation control command (award ball payout) indicating that a prize ball has been paid out each time a prize ball count signal is received. Confirmation designation command) is transmitted to the production control board 80. The production control board 80 outputs a control signal to the frame-side lamp driver board 35 every time a prize ball payout confirmation designation command is received, and executes control to turn on a predetermined lamp for a predetermined period (for example, 0.5 seconds), for example. To do. The effect control board 80 may be configured to control the prize ball lamp 51, and the prize ball lamp 51 may be turned on each time a prize ball payout confirmation designation command is received.

なお、CPU56は、賞球カウント信号を受信する毎に、1個の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを演出制御基板80に送信していたが、例えば、所定個分(例えば7個分)の賞球の払い出しを示す所定回数(例えば7回)の賞球カウント信号を受信すると、所定個分(例えば7個分)の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを演出制御基板80に送信するようにしてもよく、また、払い出されるべき所定個(例えば7個)の賞球のうちの1個目の賞球の払い出しが検出されたことにもとづく賞球カウント信号を受信したことに応じて、所定個分(例えば7個分)の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを演出制御基板80に送信するようにしてもよい。この場合、演出制御基板80は、所定個分の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを受信したときは、上記したような1個の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを受信したときよりも長い期間(例えば3秒)所定のランプ(例えば演出制御基板80によって制御される賞球ランプ51)を点灯させる制御を実行するのが好ましい。   It should be noted that every time the CPU 56 receives a prize ball count signal, the CPU 56 has sent a prize ball payout confirmation designation command to the effect control board 80 indicating that the payout of one prize ball has been confirmed. When a predetermined number (for example, 7 times) of winning ball count signals indicating the number of winning balls (for example, 7) are received, it indicates that the predetermined number (for example, 7) of winning balls has been confirmed. A prize ball payout confirmation designation command may be transmitted to the effect control board 80, and the payout of the first prize ball out of a predetermined number (for example, 7) prize balls to be paid out is detected. In response to receiving a prize ball count signal based on the prize ball, a prize ball payout confirmation designation command indicating that a predetermined number (for example, seven) of prize balls has been paid out is transmitted to the effect control board 80. It may be. In this case, when the effect control board 80 receives a prize ball payout confirmation designation command indicating that a predetermined number of prize balls have been paid out, the effect control board 80 has confirmed the payout of one prize ball as described above. It is preferable to execute control to turn on a predetermined lamp (for example, the prize ball lamp 51 controlled by the effect control board 80) for a longer period (for example, 3 seconds) than when a prize ball payout confirmation designation command is received.

図29は、払出エラー信号の出力の仕方の一例を示すタイミング図である。図29に示すように、払出制御用CPU371は、エラー状態に移行したときに払出エラー信号をオン状態とし、エラー状態が解除されたときに払出エラー信号をオフ状態とする。この例では、遊技球の払い出しに関わるエラーの発生によりエラー状態に移行したときに払出エラー信号が出力される。具体的には、例えば、下皿満タン状態、球切れ状態、主基板31と払出制御基板37との間の通信異常が発生した状態となったときに払出エラー信号が出力される。   FIG. 29 is a timing chart showing an example of how to output a payout error signal. As shown in FIG. 29, the payout control CPU 371 turns on the payout error signal when it shifts to the error state, and turns off the payout error signal when the error state is canceled. In this example, a payout error signal is output when an error state occurs due to the occurrence of an error related to payout of a game ball. Specifically, for example, the payout error signal is output when the lower pan is full, the ball is out, or a communication abnormality occurs between the main board 31 and the payout control board 37.

図29に示すように、主基板31に搭載されているCPU56は、払出制御用CPU371からのエラー信号を受信すると(エラー信号がオン状態となると)、演出制御基板80に向けて表示制御コマンドとしてのエラー発生通知コマンドを送信する。エラー発生通知コマンドは、エラーが発生したことを示すコマンドである。また、CPU56は、払出制御用CPU371からのエラー信号が停止されると(エラー信号がオフ状態となると)、演出制御基板80に向けて表示制御コマンドとしてのエラー解除通知コマンドを送信する。エラー解除通知コマンドは、エラー状態が解除したことを示すコマンドである。   As shown in FIG. 29, when the CPU 56 mounted on the main board 31 receives an error signal from the payout control CPU 371 (when the error signal is turned on), it is displayed as a display control command toward the effect control board 80. Send an error occurrence notification command. The error occurrence notification command is a command indicating that an error has occurred. In addition, when the error signal from the payout control CPU 371 is stopped (when the error signal is turned off), the CPU 56 transmits an error release notification command as a display control command to the effect control board 80. The error release notification command is a command indicating that the error state has been released.

演出制御基板80に搭載されている演出制御用CPU101は、CPU56からのエラー発生通知コマンドを受信すると、可変表示装置9にエラー状態であることを示す表示を行い、エラー状態を報知する処理を実行する。エラー状態の報知は、例えば「エラーが発生しました!」などの文字や図形などを可変表示装置9の表示領域に表示することで行われる。また、演出制御用CPU101は、CPU56からのエラー解除通知コマンドを受信すると、エラー状態であることを報知するために可変表示装置9に表示されていたエラー表示を消去して、エラー状態であることの報知を終了する。   When receiving the error occurrence notification command from the CPU 56, the effect control CPU 101 mounted on the effect control board 80 displays the error display on the variable display device 9 and executes a process of notifying the error condition. To do. The notification of the error state is performed by displaying, for example, characters or figures such as “An error has occurred!” In the display area of the variable display device 9. In addition, when receiving the error release notification command from the CPU 56, the production control CPU 101 deletes the error display displayed on the variable display device 9 to notify that it is in an error state, and is in an error state. Is terminated.

上記のように、エラー状態となったときにエラーの報知を行う構成としたことで、遊技者や遊技店員にエラーが発生したことを容易に知らせることができる。   As described above, the error notification is made when an error state occurs, so that it is possible to easily notify the player or game clerk that an error has occurred.

図30は、ステップS51の賞球処理の一例を示すフローチャートである。賞球処理において、CPU56は、賞球個数加算処理(ステップS201)と賞球制御処理(ステップS202)とを実行する。そして、RAM55に形成されるポート0バッファの内容をポート0に出力する(ステップS203)。なお、ポート0バッファの内容は、賞球制御処理において更新される。   FIG. 30 is a flowchart showing an example of the prize ball processing in step S51. In the prize ball process, the CPU 56 executes a prize ball number addition process (step S201) and a prize ball control process (step S202). Then, the contents of the port 0 buffer formed in the RAM 55 are output to port 0 (step S203). The contents of the port 0 buffer are updated in the prize ball control process.

賞球個数加算処理では、図31に示す賞球個数テーブルが使用される。賞球個数テーブルは、ROM54に設定されている。賞球個数テーブルの先頭アドレスには処理数(この例では「7」)が設定され、その後に、スイッチオンバッファの下位アドレス、入賞により賞球を払い出すことになる入賞口の各スイッチについてのスイッチ入力ビット判定値、賞球数が、入賞口の各スイッチのそれぞれに対応して順次設定されている。なお、スイッチ入力ビット判定値は、入力ポート0における各スイッチの検出信号が入力されるビットに対応した値である(図14参照)。また、スイッチオンバッファの上位アドレスは固定的な値(例えば7F(H))である。   In the winning ball number adding process, a winning ball number table shown in FIG. 31 is used. The prize ball number table is set in the ROM 54. The number of processes (in this example, “7”) is set in the top address of the winning ball number table, and then the lower address of the switch-on buffer, and each switch of the winning opening that will pay out the winning ball by winning. The switch input bit determination value and the number of winning balls are sequentially set corresponding to each switch of the winning opening. The switch input bit determination value is a value corresponding to the bit to which the detection signal of each switch at the input port 0 is input (see FIG. 14). The upper address of the switch-on buffer is a fixed value (for example, 7F (H)).

図32は、賞球個数加算処理を示すフローチャートである。賞球個数加算処理において、CPU56は、賞球個数テーブルの先頭アドレスをポインタにセットする(ステップS211)。そして、ポインタが指すアドレスのデータ(この場合には処理数)をロードする(ステップS212)。次に、スイッチオンバッファの上位アドレス(8ビット)を2バイトのチェックポインタの上位1バイトにセットする(ステップS213)。   FIG. 32 is a flowchart showing the prize ball number adding process. In the winning ball number adding process, the CPU 56 sets the start address of the winning ball number table in the pointer (step S211). Then, the data at the address pointed to by the pointer (in this case, the number of processes) is loaded (step S212). Next, the upper address (8 bits) of the switch-on buffer is set in the upper 1 byte of the 2-byte check pointer (step S213).

そして、ポインタの値を1増やし(ステップS214)、ポインタが指す賞球個数テーブルのデータ(この場合にはスイッチオンバッファの下位アドレス)をチェックポインタの下位1バイトにセットした後(ステップS215)、ポインタの値を1増やす(ステップS216)。次いで、チェックポインタが指すアドレスのデータ、すなわちスイッチオンバッファの内容をレジスタにロードし(ステップS217)、ロードした内容と、ポインタが指す賞球個数テーブルのデータ(この場合にはスイッチ入力ビット判定値)との論理積をとる(ステップS218)。この結果、スイッチオンバッファの内容がロードされたレジスタには、検査対象としているスイッチの検出信号に対応したビット以外の7ビットが0になる。そして、ポインタの値を1増やす(ステップS219)。   Then, the value of the pointer is incremented by 1 (step S214), the prize ball number table data pointed to by the pointer (in this case, the lower address of the switch-on buffer) is set in the lower 1 byte of the check pointer (step S215), The pointer value is increased by 1 (step S216). Next, the address data pointed to by the check pointer, that is, the contents of the switch-on buffer is loaded into the register (step S217), and the loaded contents and the data of the prize ball number table pointed to by the pointer (in this case, the switch input bit judgment value) ) And the logical product (step S218). As a result, 7 bits other than the bit corresponding to the detection signal of the switch to be inspected become 0 in the register loaded with the contents of the switch-on buffer. Then, the pointer value is incremented by 1 (step S219).

ステップS218における演算結果が0でなれば、すなわち、検査対象のスイッチの検出信号がオン状態であれば、ポインタが指す賞球個数テーブルのデータ(この場合には賞球個数)を賞球加算値に設定し(ステップS220,S221)、賞球加算値を、RAM55に形成されている16ビットの総賞球数格納バッファの内容に加算する(ステップS222)。なお、総賞球数格納バッファは、バックアップRAMに形成されている。加算の結果、桁上げが発生した場合には、総賞球数格納バッファの内容を65535(=FFFF(H))に設定する(ステップS223,224)。また、「RAMに形成されている」とは、RAM内の領域であることを意味する。   If the calculation result in step S218 is 0, that is, if the detection signal of the switch to be inspected is on, the prize ball number table data pointed to by the pointer (in this case, the prize ball number) is used as the prize ball addition value. (Steps S220 and S221), and the prize ball addition value is added to the contents of the 16-bit total prize ball number storage buffer formed in the RAM 55 (step S222). The total winning ball number storage buffer is formed in the backup RAM. If a carry occurs as a result of the addition, the content of the total number of winning balls storage buffer is set to 65535 (= FFFF (H)) (steps S223 and 224). Further, “formed in RAM” means an area in the RAM.

ステップS225では処理数を1減らし、処理数が0であれば処理を終了し、処理数が0でなければステップS214に戻る(ステップS226)。また、ステップS220において、ステップS218における演算結果が0であること、すなわち、検査対象のスイッチの検出信号がオフ状態であることを確認したら、ステップS225に移行する。   In step S225, the number of processes is reduced by 1. If the number of processes is 0, the process ends. If the number of processes is not 0, the process returns to step S214 (step S226). In step S220, when it is confirmed that the calculation result in step S218 is 0, that is, the detection signal of the switch to be inspected is in the OFF state, the process proceeds to step S225.

図33は、ステップS201の賞球制御処理を示すフローチャートである。賞球制御処理では、CPU56は、賞球プロセスコードの値に応じて、ステップS231〜S233のいずれかの処理を実行する。   FIG. 33 is a flowchart showing the prize ball control process in step S201. In the prize ball control process, the CPU 56 executes any one of steps S231 to S233 according to the value of the prize ball process code.

図34は、賞球プロセスコードの値が0の場合に実行される賞球待ち処理1(ステップS231)を示すフローチャートである。CPU56は、賞球待ち処理1において、賞球待機中出力値(60(H))をポート0バッファにセットする(ステップS243)。なお、賞球待機中出力値がポート0バッファにセットされると、ステップS203においてポート0バッファの内容がポート0に出力されることによって、賞球REQ信号がオフ状態になり、接続確認信号のオン状態が維持される(図12参照)。また、賞球個数信号が無効コマンド(00(H))を出力する状態になる。   FIG. 34 is a flowchart showing the prize waiting process 1 (step S231) executed when the value of the prize ball process code is zero. In the award ball waiting process 1, the CPU 56 sets the award ball waiting output value (60 (H)) in the port 0 buffer (step S243). When the output value during waiting for a prize ball is set in the port 0 buffer, the contents of the port 0 buffer are output to port 0 in step S203, whereby the prize ball REQ signal is turned off, and the connection confirmation signal The on state is maintained (see FIG. 12). In addition, the award ball number signal enters an invalid command (00 (H)).

次いで、CPU56は、賞球タイマが0であるか否か確認する(ステップS244)。賞球タイマが0でなければ、賞球タイマの値を1減らして(ステップS245)、処理を終了する。賞球タイマは賞球処理において必要となる時間を計測するためのタイマであるが、この段階で賞球タイマの値が0でないということは、前回の払出処理が完了した後、次に賞球REQ信号をオン状態にするまでの待ち時間(連続して賞球払出が実行される場合に複数の賞球REQ信号のオン期間の間に間隔を設けるための時間、図27に示す00(H)の賞球個数信号が出力されている期間)が終了していないことを意味する。なお、賞球タイマは、後述する賞球待ち処理2のステップS263でセットされる。また、ステップS243〜S245の処理は、ステップS233の賞球処理2の実行が完了して前回の払出処理が完了した後に、賞球REQ信号をオフ状態にするとともに、賞球個数信号として無効コマンド(00(H))を出力するための処理である。   Next, the CPU 56 checks whether or not the prize ball timer is 0 (step S244). If the prize ball timer is not 0, the value of the prize ball timer is decreased by 1 (step S245), and the process is terminated. The prize ball timer is a timer for measuring the time required for prize ball processing. At this stage, if the value of the prize ball timer is not 0, the next prize ball after the previous payout process is completed. Waiting time until the REQ signal is turned on (time for providing an interval between the ON periods of a plurality of prize ball REQ signals when prize ball payout is continuously executed, 00 (H ) During which the award ball number signal is output). The prize ball timer is set in step S263 of the prize ball waiting process 2 described later. In addition, after the execution of the prize ball process 2 in step S233 is completed and the previous payout process is completed, the process of steps S243 to S245 sets the prize ball REQ signal to the OFF state and the invalid command as the prize ball number signal. This is a process for outputting (00 (H)).

賞球タイマの値が0であれば、次いで、CPU56は、総賞球数格納バッファの内容を確認する(ステップS247)。その値が0であれば処理を終了し、0でなければ、賞球プロセスコードの値を1にした後(ステップS248)、処理を終了する。   If the value of the prize ball timer is 0, the CPU 56 then checks the contents of the total prize ball number storage buffer (step S247). If the value is 0, the process ends. If not, the value of the prize ball process code is set to 1 (step S248), and the process ends.

図35は、賞球プロセスコードの値が1の場合に実行される賞球送信処理(ステップS232)を示すフローチャートである。CPU56は、賞球送信処理において、総賞球数格納バッファの内容が賞球コマンド最大値(この例では「15」)よりも小さいか否か確認する(ステップS251)。総賞球数格納バッファの内容が賞球コマンド最大値以上であれば、賞球コマンド最大値を賞球個数バッファに設定する(ステップS252)。また、総賞球数格納バッファの内容が賞球コマンド最大値よりも小さい場合には、総賞球数格納バッファの内容を賞球個数バッファに設定する(ステップS253)。   FIG. 35 is a flowchart showing a prize ball transmission process (step S232) executed when the value of the prize ball process code is 1. In the prize ball transmission process, the CPU 56 checks whether or not the content of the total prize ball number storage buffer is smaller than the prize ball command maximum value (“15” in this example) (step S251). If the content of the total prize ball number storage buffer is equal to or greater than the prize ball command maximum value, the prize ball command maximum value is set in the prize ball number buffer (step S252). If the content of the total prize ball number storage buffer is smaller than the maximum value of the prize ball command, the content of the total prize ball number storage buffer is set in the prize ball number buffer (step S253).

その後、賞球REQ中出力値(20(H))を出力ポート0バッファにセットする(ステップS254)。なお、賞球REQ中出力値が出力ポート0バッファにセットされると、ステップS203において出力ポート0バッファの内容がポート0に出力されることによって、賞球REQ信号がオン状態になり、接続確認信号のオン状態が維持される(図12参照)。また、賞球個数バッファの内容を出力ポート0バッファの下位4ビットにセットする(ステップS255)。   Thereafter, the output value (20 (H)) during the prize ball REQ is set in the output port 0 buffer (step S254). When the output value in the prize ball REQ is set in the output port 0 buffer, the contents of the output port 0 buffer are outputted to the port 0 in step S203, so that the prize ball REQ signal is turned on and the connection confirmation is made. The on state of the signal is maintained (see FIG. 12). Further, the contents of the winning ball number buffer are set in the lower 4 bits of the output port 0 buffer (step S255).

次いで、CPU56は、総賞球数格納バッファの内容から、賞球個数バッファの内容(払出制御手段に指令した賞球払出個数)を減算する(ステップS256)。また、CPU56は、賞球タイマにREQ終了判定時間値(例えば3)をセットする(ステップS257)。REQ終了判定時間値は、賞球REQ信号をオン状態にしてからオフ状態にするまでの時間を設定するための値である。その後、賞球プロセスコードの値を2にして(ステップS258)、処理を終了する。   Next, the CPU 56 subtracts the contents of the prize ball number buffer (the number of prize balls paid out to the payout control means) from the contents of the total prize ball number storage buffer (step S256). Further, the CPU 56 sets a REQ end determination time value (for example, 3) in the prize ball timer (step S257). The REQ end determination time value is a value for setting a time from when the prize ball REQ signal is turned on to when it is turned off. Thereafter, the value of the prize ball process code is set to 2 (step S258), and the process is terminated.

この実施の形態では、賞球コマンド最大値は「15」である。従って、最大で「15」の払出数を指定する賞球個数信号が払出制御基板37に送信される。   In this embodiment, the maximum value of the prize ball command is “15”. Accordingly, a prize ball number signal designating a payout number of “15” at the maximum is transmitted to the payout control board 37.

図36は、賞球プロセスコードの値が2の場合に実行される賞球待ち処理2(ステップS233)を示すフローチャートである。CPU56は、賞球待ち処理2において、賞球タイマの値を確認し(ステップS261)、その値が0でなければ賞球タイマの値を1減らして(ステップS262)、処理を終了する。賞球タイマの値が0になったら、賞球REQ待ち時間を賞球タイマにセットする(ステップS263)。なお、賞球REQ信号は、賞球待ち処理1のステップS243でオフ状態にされる。そして、賞球プロセスコードの値を0にして(ステップS264)、処理を終了する。なお、賞球REQ待ち時間は、次に賞球REQ信号をオン状態にするまでの待ち時間(連続して賞球払出が実行される場合に、複数の賞球REQ信号のオン期間の間に間隔を設けるための時間)である。   FIG. 36 is a flowchart showing the prize waiting process 2 (step S233) executed when the value of the prize ball process code is 2. In the award ball waiting process 2, the CPU 56 confirms the value of the award ball timer (step S261). If the value is not 0, the value of the award ball timer is decreased by 1 (step S262), and the process is terminated. When the value of the prize ball timer becomes 0, the prize ball REQ waiting time is set in the prize ball timer (step S263). The prize ball REQ signal is turned off in step S243 of the prize ball waiting process 1. Then, the value of the prize ball process code is set to 0 (step S264), and the process is terminated. The award ball REQ waiting time is a waiting time until the next award ball REQ signal is turned on (when consecutive award ball payouts are executed, during the on periods of a plurality of award ball REQ signals). Time for providing an interval).

以上の処理によって、遊技制御手段は、払出条件の成立にもとづいて払い出される賞球としての遊技球の総数を特定可能に総賞球数格納バッファに記憶する。総賞球数格納バッファは、遊技機への電力供給が停止した場合に変動データ保存手段としてのバックアップ電源により記憶内容を少なくとも所定期間保存する景品遊技媒体数記憶手段に相当する。また、遊技制御手段は、総賞球数格納バッファに記憶されている賞球数にもとづいて払出制御手段に対して所定数の賞球の払出数を指定する払出指令信号を送信する。ここで、所定数は、総賞球数格納バッファに記憶されている賞球数が15個以上であれば15であり、15個未満であれば、総賞球数格納バッファに記憶されている賞球数である。そして、所定の条件が成立すると総賞球数格納バッファに記憶されている賞球数から払出指令信号で指定した払出数を減算する減算処理を行う。   By the above processing, the game control means stores the total number of game balls as prize balls to be paid out based on the establishment of the payout condition in the total prize ball number storage buffer so as to be specified. The total award ball number storage buffer corresponds to a prize game medium number storage means for storing stored contents for at least a predetermined period by a backup power source as a variable data storage means when power supply to the gaming machine is stopped. Further, the game control means transmits a payout command signal for designating a payout number of a predetermined number of prize balls to the payout control means based on the number of prize balls stored in the total prize ball number storage buffer. Here, the predetermined number is 15 if the number of prize balls stored in the total prize ball number storage buffer is 15 or more, and is stored in the total prize ball number storage buffer if it is less than 15. The number of prize balls. When a predetermined condition is satisfied, a subtraction process is performed for subtracting the number of payouts specified by the payout command signal from the number of prize balls stored in the total prize ball number storage buffer.

この実施の形態では、減算処理を実行するための所定の条件は、賞球制御信号(賞球個数信号および賞球REQ信号)を払出制御手段に向けて送信したとき、具体的には、賞球REQ信号をオン状態としたときである。すなわち、遊技制御手段は、賞球個数信号の出力状態を入賞に応じて払い出される賞球数に応じた状態にしたときに、具体的には賞球個数信号を出力ポート0に出力したときに、より具体的には賞球個数バッファの内容を出力ポート0バッファの下位4ビットにセットしたときに、総賞球数格納バッファの減算処理を実行する。   In this embodiment, the predetermined condition for executing the subtraction process is that when a prize ball control signal (a prize ball number signal and a prize ball REQ signal) is transmitted to the payout control means, specifically, a prize is awarded. This is when the sphere REQ signal is turned on. That is, when the game control means sets the output state of the prize ball number signal to the state corresponding to the number of prize balls to be paid out in accordance with the winning, specifically, when the prize ball number signal is output to the output port 0. More specifically, when the content of the winning ball number buffer is set in the lower 4 bits of the output port 0 buffer, the total winning ball number storing buffer is subtracted.

なお、この実施の形態では、払出条件の成立にもとづいて払い出される景品遊技媒体の総数を特定可能に記憶する景品遊技媒体数記憶手段として、総数そのものを記憶する総賞球数格納バッファが例示されたが、景品遊技媒体の総数を特定可能に記憶する景品遊技媒体数記憶手段は、各入賞領域への入賞数を記憶したり、賞球数が同じである入賞領域毎の入賞数(例えば4個の賞球数に対応した入賞口14、7個の賞球数に対応した入賞口33,39,29,30、15個の賞球数に対応した大入賞口への入賞数であって、未だ賞球払出が終了していない入賞数)を記憶するものであってもよい。   In this embodiment, as the prize game medium number storage means for storing the total number of prize game media to be paid out based on the establishment of the payout condition, a total prize ball number storage buffer for storing the total number itself is exemplified. However, the prize game medium number storage means for storing the total number of prize game media in an identifiable manner stores the number of prizes received in each prize area or the number of prizes for each prize area (for example, 4). The number of winning holes 14 corresponding to the number of winning balls, the number of winning holes 33, 39, 29, 30 corresponding to the number of 7 winning balls, and the number of winning prizes corresponding to the number of 15 winning balls, , The number of winning prizes for which the winning ball payout has not ended yet) may be stored.

次に、払出制御手段(払出制御用CPU371およびROM,RAM等の周辺回路)の動作を説明する。図37は、払出制御手段における出力ポートの割り当ての例を示す説明図である。図37に示すように、出力ポート0は、ステッピングモータによる払出モータ289に供給される各相の信号を出力するための出力ポートである。また、出力ポート1は、球切れLED52、賞球LED51およびコマンド受信可能状態信号と、遊技機外部に出力される賞球中信号、賞球情報、球貸し情報および遊技機エラー状態信号を出力するための出力ポートである。   Next, the operation of the payout control means (the payout control CPU 371 and peripheral circuits such as ROM and RAM) will be described. FIG. 37 is an explanatory diagram showing an example of output port assignment in the payout control means. As shown in FIG. 37, the output port 0 is an output port for outputting a signal of each phase supplied to the payout motor 289 by the stepping motor. Also, the output port 1 outputs a ball-out LED 52, a prize ball LED 51, and a command receivable state signal, and a prize ball in-game signal, prize ball information, ball rental information, and a gaming machine error status signal outputted to the outside of the gaming machine. Is an output port.

出力ポート2は、7セグメントLEDによるエラー表示LED374の各セグメント出力の出力ポートである。出力ポート3は、カードユニット50へのEXS信号およびPRDY信号を出力するための出力ポートである。また、出力ポート3は、賞球カウント信号および払出エラー信号を出力するための出力ポートである。   The output port 2 is an output port of each segment output of the error display LED 374 by 7 segment LED. The output port 3 is an output port for outputting an EXS signal and a PRDY signal to the card unit 50. The output port 3 is an output port for outputting a prize ball count signal and a payout error signal.

図38は、払出制御手段における入力ポートのビット割り当ての例を示す説明図である。図38に示すように、入力ポート0のビット0〜4には、5ビットの賞球個数信号が入力され、ビット5〜7には、それぞれ、主基板31からの接続確認信号、主基板31からの賞球REQ信号、払出モータ位置センサ295の検出信号が入力される。また、入力ポート1のビット1〜3には、それぞれ、払出個数カウントスイッチ301の検出信号、エラー解除スイッチ375からの操作信号、満タンスイッチ48の検出信号が入力される。入力ポート1のビット4〜7には、それぞれ、カードユニット50からのVL信号、BRDY信号、BRQ信号、球切れスイッチ187の検出信号が入力される。入力ポート2には、電源基板910からのクリアスイッチ921からの出力信号および電源断信号が入力される。   FIG. 38 is an explanatory diagram showing an example of bit assignment of input ports in the payout control means. As shown in FIG. 38, a 5-bit prize ball number signal is input to bits 0 to 4 of the input port 0, and a connection confirmation signal from the main board 31 and the main board 31 are input to bits 5 to 7, respectively. The prize ball REQ signal and the detection signal of the payout motor position sensor 295 are input. In addition, the detection signal of the payout number count switch 301, the operation signal from the error release switch 375, and the detection signal of the full switch 48 are input to bits 1 to 3 of the input port 1, respectively. The VL signal, the BRDY signal, the BRQ signal, and the detection signal of the ball break switch 187 from the card unit 50 are input to bits 4 to 7 of the input port 1, respectively. An output signal and a power-off signal from the clear switch 921 from the power supply board 910 are input to the input port 2.

図39は、遊技機の払出制御手段とカードユニット50との間の通信を説明するためのタイミング図である。払出制御手段は、遊技機への電力供給が開始され、払出動作が可能なときにはPRDY信号をオン状態にする。カードユニット50は、電力供給が開始されると、接続信号としてのVL信号をオン状態にする。カードユニット50においてカードが受け付けられ、球貸しスイッチが操作され球貸しスイッチ信号が入力されると、カードユニット50は、払出制御手段にBRDY信号を出力する。すなわち、BRDY信号をオン状態にする。この時点から所定の遅延時間が経過すると、カードユニット50は、払出制御手段にBRQ信号を出力する。すなわち、BRQ信号をオン状態にする。   FIG. 39 is a timing chart for explaining communication between the payout control means of the gaming machine and the card unit 50. The payout control means turns on the PRDY signal when power supply to the gaming machine is started and a payout operation is possible. When the power supply is started, the card unit 50 turns on the VL signal as a connection signal. When a card is received in the card unit 50, the ball lending switch is operated and a ball lending switch signal is input, the card unit 50 outputs a BRDY signal to the payout control means. That is, the BRDY signal is turned on. When a predetermined delay time elapses from this point, the card unit 50 outputs a BRQ signal to the payout control means. That is, the BRQ signal is turned on.

そして、払出制御手段は、カードユニット50に対するEXS信号をオン状態にし、カードユニット50からのBRQ信号の立ち下がり(オフ)を検出すると、払出モータ289を駆動し、所定個(例えば25個)の貸し球を遊技者に払い出す。そして、払出が完了したら、払出制御手段は、カードユニット50に対するEXS信号を立ち下げる。すなわちEXS信号をオフ状態にする。   Then, when the payout control means turns on the EXS signal for the card unit 50 and detects the fall (off) of the BRQ signal from the card unit 50, the payout control unit 289 drives the payout motor 289 to set a predetermined number (for example, 25). Pay out the rental balls to the player. Then, when the payout is completed, the payout control means causes the EXS signal to the card unit 50 to fall. That is, the EXS signal is turned off.

次に、払出制御手段の動作について説明する。図40は、払出制御手段が実行するメイン処理を示すフローチャートである。遊技機に対して電源が投入され、リセット信号が入力されるリセット端子の入力レベルがハイレベルになると、払出制御用CPU371は、まず、必要な初期設定を行う。すなわち、払出制御用CPU371は、まず、割込禁止に設定する(ステップS701)。次に、割込モードを割込モード2に設定し(ステップS702)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS703)。   Next, the operation of the payout control means will be described. FIG. 40 is a flowchart showing main processing executed by the payout control means. When power is turned on to the gaming machine and the input level of the reset terminal to which a reset signal is input becomes high, the payout control CPU 371 first performs necessary initial settings. That is, the payout control CPU 371 first sets the interruption prohibition (step S701). Next, the interrupt mode is set to interrupt mode 2 (step S702), and a stack pointer designation address is set to the stack pointer (step S703).

また、払出制御用CPU371は、内蔵デバイスレジスタの初期化を行い(ステップS704)、CTCおよびPIOの初期化を行う(ステップS705)。   The payout control CPU 371 initializes the built-in device register (step S704), and initializes CTC and PIO (step S705).

この実施の形態では、内蔵CTCのうちの一つのチャネルがタイマモードで使用される。従って、ステップS704の内蔵デバイスレジスタの設定処理およびステップS705の処理において、使用するチャネルをタイマモードに設定するためのレジスタ設定、割込発生を許可するためのレジスタ設定および割込ベクタを設定するためのレジスタ設定が行われる。そして、そのチャネルによる割込がタイマ割込として用いられる。タイマ割込を例えば2ms毎に発生させたい場合は、初期値として2msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。   In this embodiment, one channel of the built-in CTC is used in the timer mode. Accordingly, in the built-in device register setting process in step S704 and the process in step S705, register setting for setting the channel to be used to timer mode, register setting for permitting interrupt generation, and setting an interrupt vector. The register is set. The interrupt by the channel is used as a timer interrupt. For example, when it is desired to generate a timer interrupt every 2 ms, a value corresponding to 2 ms is set as an initial value in a predetermined register (time constant register).

なお、タイマモードに設定されたチャネル(この実施の形態ではチャネル3)に設定される割込ベクタは、タイマ割込処理の先頭アドレスに相当するものである。具体的は、Iレジスタに設定された値と割込ベクタとでタイマ割込処理の先頭アドレスが特定される。タイマ割込処理では、払出手段を制御する払出制御処理(少なくとも主基板からの賞球払出に関する指令信号に応じて球払出装置97を駆動する処理を含み、球貸し要求に応じて球払出装置97を駆動する処理が含まれていてもよい。)が実行される。   The interrupt vector set for the channel set to the timer mode (channel 3 in this embodiment) corresponds to the start address of the timer interrupt process. Specifically, the start address of the timer interrupt process is specified by the value set in the I register and the interrupt vector. In the timer interruption process, a payout control process for controlling the payout means (including at least a process of driving the ball payout device 97 in response to a command signal related to award ball payout from the main board, and a ball payout device 97 in response to a ball lending request. A process for driving the program may be included.

この実施の形態では、払出制御用CPU371でも割込モード2が設定される。従って、内蔵CTCのカウントアップにもとづく割込処理を使用することができる。また、CTCが送出した割込ベクタに応じた割込処理開始アドレスを設定することができる。   In this embodiment, the interruption mode 2 is also set in the payout control CPU 371. Therefore, an interrupt process based on counting up the built-in CTC can be used. Also, an interrupt processing start address can be set according to the interrupt vector sent by the CTC.

CTCのチャネル3(CH3)のカウントアップにもとづく割込は、CPUの内部クロック(システムクロック)をカウントダウンしてレジスタ値が「0」になったら発生する割込であり、タイマ割込として用いられる。具体的には、CPU371の動作クロックを分周したクロックがCTCに与えられ、クロックの入力によってレジスタの値が減算され、レジスタの値が0になるとタイマ割込が発生する。なお、ここまでの処理が、初期設定処理の一部に相当する。   The interrupt based on CTC channel 3 (CH3) count-up is an interrupt generated when the CPU internal clock (system clock) is counted down and the register value becomes “0”, and is used as a timer interrupt. . Specifically, a clock obtained by dividing the operation clock of the CPU 371 is given to the CTC, the register value is subtracted by the input of the clock, and when the register value becomes 0, a timer interrupt occurs. The process so far corresponds to a part of the initial setting process.

次に、払出制御用CPU371は、主基板31から払出起動コマンドが送信されたことを確認するための監視時間に相当する値を汎用のレジスタ(HLレジスタやBCレジスタ)にセットする(ステップS720)。   Next, the payout control CPU 371 sets a value corresponding to a monitoring time for confirming that a payout start command is transmitted from the main board 31 in a general-purpose register (HL register or BC register) (step S720). .

払出制御用CPU371は、割込端子に割込を生じさせるようなレベル(この例ではローレベル)の信号が入力されると、その状態を反映するレジスタであって特定レジスタの一つである外部割込要求レジスタを有するCPUである。この実施の形態では、割込端子に割込を生じさせるようなレベルの信号が入力されると、外部割込要求レジスタのビット7が「1」にセットされるとする。すなわち、外部割込要求レジスタの値が80(H)に更新される。なお、外部割込要求レジスタのビットのセット/リセットは、ソフトウェアで実行できるものではなく、CPUの内部機構によって行われる。また、外部割込要求レジスタのビット0〜6は常に0であるとする。また、割込禁止状態に設定されている/いないに関わらず、割込端子に割込を生じさせるようなレベルが入力されると、外部割込要求レジスタのビット7が「1」にセットされる。   The payout control CPU 371 is an external register that is a register that reflects the state and is one of the specific registers when a signal having a level (in this example, low level) that causes an interrupt is input to the interrupt terminal. A CPU having an interrupt request register. In this embodiment, it is assumed that bit 7 of the external interrupt request register is set to “1” when a signal of a level that causes an interrupt is input to the interrupt terminal. That is, the value of the external interrupt request register is updated to 80 (H). The setting / resetting of the bits of the external interrupt request register cannot be executed by software, but is performed by an internal mechanism of the CPU. It is assumed that bits 0 to 6 of the external interrupt request register are always 0. In addition, bit 7 of the external interrupt request register is set to "1" when a level that causes an interrupt is input to the interrupt terminal regardless of whether the interrupt is disabled or not. The

払出制御用CPU371は、汎用のレジスタの値を−1しつつ、外部割込要求レジスタのビット7が「1」にセットされたか否かを確認する(ステップS721〜S723)。汎用のレジスタの値が0になる前に、すなわち、監視時間が経過する前に、外部割込要求レジスタのビット7がセットされた場合には、ステップS725に移行する。また、外部割込要求レジスタのビット7がセットされる前に監視時間が経過したら、起動不能フラグとして使用する所定の汎用レジスタの所定ビット(任意に定めうる)をセットした後(ステップS724)、ステップS706に移行する。この実施の形態では、主基板31からの賞球REQ信号は払出制御用CPU371の割込端子に入力される。従って、外部割込要求レジスタのビット7がセットされる前に監視時間が経過したということは、所定の監視時間内に遊技制御手段が払出起動コマンドを送信したことを確認できなかったことを意味する。そこで、そのことを示す起動不能フラグをセットする。   The payout control CPU 371 checks whether the bit 7 of the external interrupt request register is set to “1” while decrementing the value of the general-purpose register by 1 (steps S721 to S723). If bit 7 of the external interrupt request register is set before the value of the general-purpose register becomes 0, that is, before the monitoring time elapses, the process proceeds to step S725. If the monitoring time elapses before bit 7 of the external interrupt request register is set, after setting a predetermined bit (which can be arbitrarily determined) of a predetermined general-purpose register used as an unstartable flag (step S724), The process proceeds to step S706. In this embodiment, the prize ball REQ signal from the main board 31 is input to the interrupt terminal of the payout control CPU 371. Therefore, if the monitoring time has passed before bit 7 of the external interrupt request register is set, it means that the game control means could not confirm that the payout start command was transmitted within the predetermined monitoring time. To do. Therefore, an inactivation flag indicating that is set.

監視時間が経過する前に、外部割込要求レジスタのビット7がセットされたということは、賞球REQ信号がオン状態になったことを意味する。つまり、主基板31の遊技制御手段が、賞球個数信号によって払出起動コマンドを送信するために賞球REQ信号をオン状態にしたことを意味するので、払出制御用CPU371は、入力ポート0のビット0〜4を介して賞球個数信号を入力し(ステップS725)、入力した賞球個数信号が、払出起動コマンドとして定められている10(H)であるか否か確認する(ステップS726)。10(H)であれば、払出起動コマンドを受信したとして、ステップS706に移行する。10(H)でなければ、起動不能フラグとして使用する所定の汎用レジスタの所定ビットをセットした後(ステップS724)、ステップS706に移行する。   The fact that bit 7 of the external interrupt request register is set before the monitoring time elapses means that the prize ball REQ signal is turned on. In other words, the game control means of the main board 31 means that the prize ball REQ signal is turned on in order to transmit the prize start command by the prize ball number signal. The prize ball number signal is input through 0 to 4 (step S725), and it is confirmed whether or not the input prize ball number signal is 10 (H) defined as the payout activation command (step S726). If it is 10 (H), it is determined that the payout activation command has been received, and the process proceeds to step S706. If it is not 10 (H), after setting a predetermined bit of a predetermined general-purpose register used as an activation disable flag (step S724), the process proceeds to step S706.

ステップS706では、RAMをアクセス可能状態に設定する(ステップS706)。また、賞球未払出個数カウンタ初期値として0000(H)をセットする(ステップS707)。次いで、起動不能フラグ(ステップS724参照)がセットされていなければ(ステップS727)、入力ポート2を介して入力されるクリアスイッチ921の出力信号の状態を1回だけ確認する(ステップS708)。その確認においてオンを検出した場合には、払出制御用CPU371は、初期化処理を実行する(ステップS712〜ステップS715)。クリアスイッチ921がオンの状態でない場合には、遊技機への電力供給が停止したときにバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS709)。保護処理が行われていたか否かは、後述する電力供給停止時処理においてバックアップRAM領域に保存されるバックアップ監視タイマの値が、バックアップRAM領域のデータ保護処理を実行したことに応じた値(例えば10)になっているか否かによって確認される。なお、そのような確認の仕方は一例であって、例えば、電力供給停止時処理においてバックアップフラグ領域にデータ保護処理を実行したことを示すフラグをセットし、ステップS709において、そのフラグがセットされていることを確認したらバックアップありと判定してもよい。   In step S706, the RAM is set to an accessible state (step S706). Further, 0000 (H) is set as an initial value of the award ball unpaid number counter (step S707). Next, if the start disable flag (see step S724) is not set (step S727), the state of the output signal of the clear switch 921 input via the input port 2 is confirmed only once (step S708). In the confirmation, when the on is detected, the payout control CPU 371 executes an initialization process (steps S712 to S715). If the clear switch 921 is not in the on state, whether or not data protection processing of the backup RAM area (for example, power supply stop processing such as addition of parity data) has been performed when power supply to the gaming machine is stopped Confirmation is made (step S709). Whether or not the protection process has been performed depends on the value of the backup monitoring timer stored in the backup RAM area in the power supply stop process described later according to the execution of the data protection process in the backup RAM area (for example, It is confirmed by whether or not 10). Note that such a confirmation method is an example. For example, a flag indicating that data protection processing has been executed is set in the backup flag area in the power supply stop processing, and the flag is set in step S709. If it is confirmed that there is a backup, it may be determined that there is a backup.

バックアップありと判定したら、払出制御用CPU371は、バックアップRAM領域のデータチェック(この例ではパリティチェック)を行う(ステップS710)。この実施の形態では、クリアデータ(00)をチェックサムデータエリアにセットし、チェックサム算出開始アドレスをポインタにセットする。また、チェックサムの対象となるデータ数に対応するチェックサム算出回数をセットする。そして、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する。演算結果をチェックサムデータエリアにストアするとともに、ポインタの値を1増やし、チェックサム算出回数の値を1減算する。以上の処理が、チェックサム算出回数の値が0になるまで繰り返される。チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転し、反転後のデータをチェックサムとする。   If it is determined that there is a backup, the payout control CPU 371 performs a data check (parity check in this example) in the backup RAM area (step S710). In this embodiment, clear data (00) is set in the checksum data area, and the checksum calculation start address is set in the pointer. Also, the number of checksum calculations corresponding to the number of data to be checksum is set. Then, the exclusive OR of the contents of the checksum data area and the contents of the RAM area pointed to by the pointer is calculated. The calculation result is stored in the checksum data area, the pointer value is incremented by 1, and the checksum calculation count value is decremented by 1. The above processing is repeated until the value of the checksum calculation count becomes zero. When the value of the checksum calculation count reaches 0, the CPU 56 inverts the value of each bit of the contents of the checksum data area and uses the inverted data as the checksum.

電力供給停止時処理において、上記の処理と同様の処理によってチェックサムが算出され、チェックサムはバックアップRAM領域に保存されている。ステップS710では、算出したチェックサムと保存されているチェックサムとを比較する。不測の停電等の電力供給停止が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されているはずであるから、チェック結果(比較結果)は正常(一致)になる。チェック結果が正常でないということは、バックアップRAM領域のデータが、電力供給停止時のデータとは異なっていることを意味する。そのような場合には、内部状態を電力供給停止時の状態に戻すことができないので、払出制御状態復旧処理を実行せず、初期化処理(ステップS712〜S715の処理)を実行する。   In the power supply stop process, a checksum is calculated by the same process as described above, and the checksum is stored in the backup RAM area. In step S710, the calculated checksum is compared with the stored checksum. When the power supply is stopped after an unexpected power failure or the like, the data in the backup RAM area should be saved, so the check result (comparison result) is normal (matched). That the check result is not normal means that the data in the backup RAM area is different from the data when the power supply is stopped. In such a case, since the internal state cannot be returned to the state at the time of stopping the power supply, the payout control state restoration processing is not executed, and the initialization processing (steps S712 to S715) is executed.

チェック結果が正常であれば、払出制御用CPU371は、払出制御状態復旧処理を行う。具体的には、賞球未払出個数カウンタ初期値として、バックアップRAMに形成されている賞球未払出個数カウンタの値をセットする(ステップS711)。そして。ステップS712以降の処理を実行する。   If the check result is normal, the payout control CPU 371 performs payout control state recovery processing. Specifically, the value of the award ball unpaid number counter formed in the backup RAM is set as the initial value of the award ball unpaid number counter (step S711). And then. The process after step S712 is executed.

初期化処理では、払出制御用CPU371は、まず、RAMクリア処理を行う(ステップS712)。また、RAM領域のフラグやカウンタなどに初期値を設定する(ステップS713)。ステップS713の処理には、賞球未払出個数カウンタ初期値を賞球未払出個数カウンタにセットする処理が含まれる。従って、払出制御状態復旧処理(ステップS711)が実行された場合には、バックアップRAMに保存されていた賞球未払出個数カウンタの値が、あらためて賞球未払出個数カウンタにセットされる。換言すれば、バックアップRAMに保存されていた賞球未払出個数カウンタの値がそのまま使用される。つまり、ステップS711の処理が実行されずにステップS712,S713の処理が実行される場合には、払出制御処理は、初期状態から開始される。また、ステップS711の処理が実行されるとともにステップS712,S713の処理が実行される場合には、払出制御処理の実行状態が、電力供給停止時前の状態に復帰されることになる。   In the initialization process, the payout control CPU 371 first performs a RAM clear process (step S712). In addition, initial values are set in the flags and counters of the RAM area (step S713). The process of step S713 includes a process of setting an initial value of the award ball unpaid number counter in the award ball unpaid number counter. Therefore, when the payout control state recovery process (step S711) is executed, the value of the unsold prize ball number counter stored in the backup RAM is set again in the unsold prize ball number counter. In other words, the value of the award ball unpaid number counter stored in the backup RAM is used as it is. That is, when the process of steps S712 and S713 is executed without executing the process of step S711, the payout control process is started from the initial state. Further, when the process of step S711 is executed and the processes of steps S712 and S713 are executed, the execution state of the payout control process is returned to the state before the power supply is stopped.

そして、ステップS724の処理において起動不能フラグがセットされていた場合には、RAMに形成されているエラーフラグにおける起動エラービットをセットする(ステップS714,S715)。次に、定期的にタイマ割込がかかるように払出制御用CPU371に設けられているCTCのレジスタの設定を行う(ステップS716)。すなわち、初期値としてタイマ割込発生間隔に相当する値が所定のレジスタ(時間定数レジスタ)に設定される。そして、初期設定処理のステップS701において割込禁止とされているので、初期化処理を終える前に割込が許可される(ステップS717)。さらに、コマンド受信可能状態信号をオン状態にする(ステップS718)。その後、タイマ割込の発生を監視するループ処理に入る。   If the start disable flag is set in the process of step S724, the start error bit in the error flag formed in the RAM is set (steps S714 and S715). Next, a CTC register provided in the payout control CPU 371 is set so that a timer interrupt is periodically received (step S716). That is, a value corresponding to the timer interrupt generation interval is set as an initial value in a predetermined register (time constant register). Since interruption is prohibited in step S701 of the initial setting process, interruption is permitted before the initialization process is completed (step S717). Further, the command receivable state signal is turned on (step S718). Thereafter, a loop process for monitoring the occurrence of a timer interrupt is entered.

以上のように、払出制御用CPU371は、主基板13の遊技制御手段から払出起動コマンドを受信したときにステップS708のクリアスイッチ921の検出信号のチェック処理を実行する。上述したように、遊技制御手段は、払出起動コマンドを送信したときにクリアスイッチ921の検出信号のチェック処理を実行する。従って、遊技制御手段のクリアスイッチ921の検出信号のチェックタイミングと払出制御手段のクリアスイッチ921の検出信号のチェックタイミングとは、ほぼ同時になる。   As described above, when the payout control CPU 371 receives a payout activation command from the game control means of the main board 13, it executes the check process of the detection signal of the clear switch 921 in step S <b> 708. As described above, the game control means executes the detection signal check process of the clear switch 921 when the payout activation command is transmitted. Therefore, the check timing of the detection signal of the clear switch 921 of the game control means and the check timing of the detection signal of the clear switch 921 of the payout control means are substantially the same.

上記のように、払出制御用CPU371の内蔵CTCが繰り返しタイマ割込を発生するように設定される。そして、タイマ割込が発生すると、払出制御用CPU371は、ステップS749以降のタイマ割込処理を実行する。   As described above, the built-in CTC of the payout control CPU 371 is set to repeatedly generate a timer interrupt. When a timer interrupt occurs, the payout control CPU 371 executes a timer interrupt process after step S749.

図41は、払出制御手段が実行するタイマ割込処理の例を示すフローチャートである。払出制御用CPU371は、まず、電源断信号が出力されたか否かを監視する電源断処理を実行する(ステップS749)。その後、ステップS750以降の払出制御処理を実行する。払出制御処理では、払出制御用CPU371は、まず、入力判定処理を行う(ステップS751)。入力判定処理は、入力ポート0のビット5および入力ポート1のビット3〜7(図38参照)の状態を検出して検出結果をRAMの所定の1バイト(入力状態フラグと呼ぶ。)に反映する処理である。なお、払出制御処理において、入力ポート0のビット5および入力ポート1のビット3〜7の状態にもとづいて制御を行う場合には、直接入力ポートの状態をチェックするのではなく、入力状態フラグの状態をチェックする。さらに、入力判定処理は、入力ポート1のビット1,2の状態チェック、すなわち、払出個数カウントスイッチおよびエラー解除スイッチの検出信号の状態チェックを行う処理を含む。具体的には、それらのそれぞれに対応したスイッチタイマ(発射制御信号タイマ、払出個数カウントスイッチタイマ、エラー解除スイッチタイマ)がRAMに形成され、スイッチチェック処理において、それらがオン状態であることを検出したら対応するスイッチタイマの値を+1し、オフ状態であることを検出したら対応するスイッチタイマの値をクリアする。   FIG. 41 is a flowchart showing an example of a timer interrupt process executed by the payout control unit. The payout control CPU 371 first executes a power-off process for monitoring whether or not a power-off signal has been output (step S749). Thereafter, a payout control process after step S750 is executed. In the payout control process, the payout control CPU 371 first performs an input determination process (step S751). In the input determination processing, the states of bit 5 of input port 0 and bits 3 to 7 (see FIG. 38) of input port 1 are detected, and the detection result is reflected in a predetermined 1 byte of RAM (referred to as an input state flag). It is processing to do. In the payout control process, when control is performed based on the state of bit 5 of input port 0 and bits 3 to 7 of input port 1, the state of the input state flag is not checked instead of directly checking the state of the input port. Check status. Further, the input determination processing includes processing for checking the status of bits 1 and 2 of the input port 1, that is, checking the status of the detection signals of the payout number count switch and the error release switch. Specifically, switch timers (launch control signal timer, payout number count switch timer, error release switch timer) corresponding to each of them are formed in the RAM, and it is detected in the switch check process that they are in the ON state. Then, the value of the corresponding switch timer is incremented by 1, and when it is detected that the switch is off, the value of the corresponding switch timer is cleared.

次に、払出制御用CPU371は、払出モータ制御処理を実行する(ステップS753)。払出モータ制御処理では、払出モータ289を駆動すべきときには、払出モータφ1〜φ4のパターンを出力ポート0に出力するための処理を行う。   Next, the payout control CPU 371 executes a payout motor control process (step S753). In the payout motor control process, when the payout motor 289 is to be driven, a process for outputting the patterns of the payout motors φ1 to φ4 to the output port 0 is performed.

また、払出制御用CPU371は、カードユニット50と通信を行うプリペイドカードユニット制御処理を実行する(ステップS754)。次いで、払出制御用CPU371は、主基板31の遊技制御手段と通信を行う主制御通信処理を実行する(ステップS755)。さらに、カードユニット50からの球貸し要求に応じて貸し球を払い出す制御を行い、また、主基板からの賞球個数信号が示す個数の賞球を払い出す制御を行う賞球球貸し制御処理を実行する(ステップS756)。   Further, the payout control CPU 371 executes a prepaid card unit control process for communicating with the card unit 50 (step S754). Next, the payout control CPU 371 executes main control communication processing for communicating with the game control means of the main board 31 (step S755). Further, a prize ball lending control process for performing a control for paying out a lending ball in response to a ball lending request from the card unit 50 and for performing a control for paying out the number of award balls indicated by a prize ball number signal from the main board. Is executed (step S756).

そして、払出制御用CPU371は、各種のエラーを検出するエラー処理を実行する(ステップS757)。また、遊技機外部に出力される賞球情報や球貸し情報を出力するための情報出力処理を実行する(ステップS758)。また、エラー処理の結果に応じてエラー表示LED374に所定の表示を行うとともに、賞球LED51および球切れLED52を点灯するための表示制御処理を実行する(ステップS759)。なお、払出制御用CPU371は、表示制御処理において、賞球REQ信号がオン状態であるときに、賞球LED51を点灯するための制御を行う。また、賞球REQ信号がオフ状態になったら、賞球LED51を消灯するための制御を行う。   Then, the payout control CPU 371 executes error processing for detecting various errors (step S757). Further, an information output process for outputting prize ball information and ball lending information output to the outside of the gaming machine is executed (step S758). Further, a predetermined display is performed on the error display LED 374 according to the result of the error processing, and a display control process for lighting the prize ball LED 51 and the ball out LED 52 is executed (step S759). In the display control process, the payout control CPU 371 performs control for lighting the prize ball LED 51 when the prize ball REQ signal is on. Further, when the prize ball REQ signal is turned off, control for turning off the prize ball LED 51 is performed.

また、この実施の形態では、出力ポートの出力状態に対応したRAM領域(出力ポート0バッファ、出力ポート1バッファ、出力ポート2バッファ)が設けられているのであるが、払出制御用CPU371は、出力ポート0バッファ、出力ポート1バッファおよび出力ポート2バッファの内容を出力ポートに出力する(ステップS760:出力処理)。出力ポート0バッファ、出力ポート1バッファおよび出力ポート2バッファは、払出モータ制御処理(ステップS753)、プリペイドカード制御処理(ステップS754)、主制御通信処理(ステップS755)、情報出力処理(ステップS758)および表示制御処理(ステップS759)で更新される。   In this embodiment, a RAM area (output port 0 buffer, output port 1 buffer, output port 2 buffer) corresponding to the output state of the output port is provided. The contents of the port 0 buffer, output port 1 buffer, and output port 2 buffer are output to the output port (step S760: output processing). The output port 0 buffer, the output port 1 buffer, and the output port 2 buffer are a payout motor control process (step S753), a prepaid card control process (step S754), a main control communication process (step S755), and an information output process (step S758). And updated in the display control process (step S759).

なお、電源断処理は、遊技制御手段が実行する電源断処理と同様の処理である(図20および図21参照)。すなわち、電源基板910からの電源断信号が、バックアップ監視タイマが計時する所定時間継続してオン状態であれば(例えば、バックアップ監視タイマの値が判定値としての2になると(ステップS453参照))、電力供給停止時処理が実行される。電力供給停止時処理において、電力供給停止中でも保存したいRAMの領域についてチェックコード(具体的にはチェックサム)を計算し、チェックコードをバックアップRAM領域に保存するとともに、RAMアクセスを禁止し、出力ポートをクリアした後ループ処理に入る。ループ処理において電源断信号がオフ状態になったことを検出すると、払出制御手段の状態は、遊技制御手段が遊技制御処理を実行する状態に戻るのと同様、払出制御処理(少なくとも主基板からの賞球払出に関する指令信号に応じて球払出装置97を駆動する処理を含み、球貸し要求に応じて球払出装置97を駆動する処理が含まれていてもよい。)を実行する状態に戻る。具体的には、例えば、図40に示すメイン処理のステップS701に戻る。   The power-off process is a process similar to the power-off process executed by the game control means (see FIGS. 20 and 21). That is, if the power-off signal from the power supply board 910 is in an on state continuously for a predetermined time counted by the backup monitoring timer (for example, when the value of the backup monitoring timer becomes 2 as the determination value (see step S453)). The power supply stop process is executed. In the process when power supply is stopped, the check code (specifically, checksum) is calculated for the RAM area that you want to save even when the power supply is stopped, the check code is stored in the backup RAM area, RAM access is prohibited, and the output port After clearing, loop processing starts. When it is detected that the power-off signal is turned off in the loop processing, the state of the payout control means is the same as when the game control means returns to the state of executing the game control processing (at least from the main board). This includes a process of driving the ball payout device 97 in response to a command signal related to award ball payout, and may include a process of driving the ball payout device 97 in response to a ball lending request. Specifically, for example, the process returns to step S701 of the main process shown in FIG.

図42は、ステップS753の払出モータ制御処理を示すフローチャートである。払出モータ制御処理において、払出制御用CPU371は、払出モータ289が回転中であれば(ステップS511)、払出モータ位置センサ295の検出出力を確認し、検出出力が、払出モータ位置センサ295がオンしたことを示した場合には払出動作カウンタの値を−1する(ステップS512,S513)。その後、払出モータ制御コードの値に応じて、ステップS521〜S526のいずれかの処理を実行する。   FIG. 42 is a flowchart showing the payout motor control process in step S753. In the payout motor control process, if the payout motor 289 is rotating (step S511), the payout control CPU 371 checks the detection output of the payout motor position sensor 295, and the detection output is turned on by the payout motor position sensor 295. If this is the case, the value of the payout operation counter is decremented by 1 (steps S512 and S513). Thereafter, any one of steps S521 to S526 is executed according to the value of the payout motor control code.

払出制御用CPU371は、例えば、ステップS524の払出モータ定速処理において払出動作カウンタの値が所定値(例えば1)になったことを検出すると、払出モータ289を停止させるためにステップS525の払出モータブレーキ処理を開始する。また、この実施の形態では、払出モータ289が1/2回転すると1個の遊技球が払い出され、1回転する期間中に2回払出モータ位置センサ295がオンするように構成されている場合を例にする。従って、n個の遊技球を払い出すときに、払出モータ位置センサ295はn回オンする。   For example, when the payout control CPU 371 detects that the value of the payout operation counter has reached a predetermined value (eg, 1) in the payout motor constant speed process in step S524, the payout motor in step S525 is used to stop the payout motor 289. Start the brake process. Further, in this embodiment, when the payout motor 289 is rotated 1/2, one game ball is paid out, and the payout motor position sensor 295 is turned on twice during one rotation. Take as an example. Accordingly, when paying out n game balls, the payout motor position sensor 295 is turned on n times.

払出モータ制御コードの値が0の場合に実行される払出モータ通常処理(ステップS521)では、払出制御用CPU371は、ポインタを、ROMに格納されているテーブルの先頭アドレスにセットする。払出モータ通常処理設定テーブルには、球払出時の払出モータ289を回転させるための各ステップの励磁パターン(払出モータφ1〜φ4)のデータが順次設定されている払出モータ励磁パターンテーブルが格納されている。   In the payout motor normal process (step S521) executed when the value of the payout motor control code is 0, the payout control CPU 371 sets the pointer at the head address of the table stored in the ROM. The payout motor normal process setting table stores a payout motor excitation pattern table in which data of excitation patterns (payout motors φ1 to φ4) of each step for rotating the payout motor 289 at the time of ball payout is sequentially set. Yes.

払出モータ制御コードの値が1の場合に実行される払出モータ起動準備処理(ステップS522)では、払出制御用CPU371は、払出モータφ1〜φ4を出力する出力ポートの出力状態に対応した出力ポートバッファに励磁パターンの初期値を設定する等の処理を行う。そして、払出モータ制御コードの値を2に変更する。   In the payout motor start preparation process (step S522) executed when the value of the payout motor control code is 1, the payout control CPU 371 outputs the output port buffer corresponding to the output state of the output port that outputs the payout motors φ1 to φ4. Perform processing such as setting the initial value of the excitation pattern. Then, the value of the dispensing motor control code is changed to 2.

払出モータ制御コードの値が2の場合に実行される払出モータスローアップ処理(ステップS523)では、払出制御用CPU371は、払出モータ289を滑らかに回転開始させるために、定速処理の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔に近づくような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して、払出モータφ1〜φ4を出力する出力ポートの出力状態に対応した出力ポートバッファに設定する。読み出しに際して、ポインタが指すアドレスの払出モータ励磁パターンテーブルの内容を読み出すとともに、ポインタの値を+1する。払出モータ制御コードの値が2となってから所定時間が経過していた場合には、払出モータ制御コードの値を3に変更する。   In the payout motor slow-up process (step S523) executed when the value of the payout motor control code is 2, the payout control CPU 371 starts the rotation of the payout motor 289 more smoothly than in the case of the constant speed process. Corresponds to the output state of the output port that outputs the payout motors φ1 to φ4 by reading the contents of the payout motor excitation pattern table at a long interval and gradually approaching the time interval in the case of constant speed processing Set the output port buffer. At the time of reading, the contents of the payout motor excitation pattern table at the address pointed to by the pointer are read and the value of the pointer is incremented by one. If a predetermined time has elapsed since the value of the payout motor control code becomes 2, the value of the payout motor control code is changed to 3.

払出モータ制御コードの値が3の場合に実行される払出モータ定速処理(ステップS524)では、払出制御用CPU371は、定期的に払出モータ励磁パターンテーブルの内容を読み出して、払出モータφ1〜φ4を出力する出力ポートの出力状態に対応した出力ポートバッファに設定する。払出モータ289を停止すべき時期(遊技球の払い出しを終了する時期)よりも所定時間前になると、払出モータ制御コードの値を4に変更する。なお、所定時間前になったか否かは、例えば、払出動作カウンタの値が所定値(例えば1)になったことによって確認される。   In the payout motor constant speed process (step S524) executed when the value of the payout motor control code is 3, the payout control CPU 371 periodically reads the contents of the payout motor excitation pattern table and pays out the payout motors φ1 to φ4. Is set in the output port buffer corresponding to the output state of the output port that outputs. When a predetermined time comes before the time when the payout motor 289 should be stopped (the time when the payout of the game ball is finished), the value of the payout motor control code is changed to 4. Whether or not a predetermined time has passed is confirmed, for example, by the value of the payout operation counter having reached a predetermined value (for example, 1).

払出モータ制御コードの値が4の場合に実行される払出モータブレーキ処理(ステップS525)では、払出制御用CPU371は、払出モータ289を滑らかに停止させるために、定速処理の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔から遠ざかるような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して、払出モータφ1〜φ4を出力する出力ポートの出力状態に対応した出力ポートバッファに設定する。そして、払出モータ289を最終的に停止させたときに、払出モータ制御コードの値を0に変更する。なお、払出制御用CPU371は、払出動作カウンタの値が遊技球の払出終了に応じた値になったときに(例えば0)、払出モータ289の駆動を停止させることによって払出モータ289を最終的に停止させる。   In the payout motor brake process (step S525) executed when the value of the payout motor control code is 4, the payout control CPU 371 has a longer interval than in the case of the constant speed process in order to stop the payout motor 289 smoothly. In addition, the content of the payout motor excitation pattern table is read at a time interval that gradually moves away from the time interval in the case of constant speed processing, and the output corresponding to the output state of the output port that outputs the payout motors φ1 to φ4 Set to port buffer. When the dispensing motor 289 is finally stopped, the value of the dispensing motor control code is changed to zero. The payout control CPU 371 finally stops the payout motor 289 by stopping driving the payout motor 289 when the value of the payout operation counter reaches a value corresponding to the end of payout of the game ball (for example, 0). Stop.

払出モータ制御コードの値が5の場合に実行される球噛み時払出モータブレーキ処理(ステップS526)では、払出制御用CPU371は、球噛みを解除するための回転の場合に、払出モータ289を滑らかに停止させるために、球噛みを解除するための払出モータ289の回転の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔から遠ざかるような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して、払出モータφ1〜φ4を出力する出力ポートの出力状態に対応した出力ポートバッファに設定する。なお、払出モータφ1〜φ4を出力する出力ポートの出力状態に対応した出力ポートバッファの内容は、ステップS760の出力処理で出力ポートに出力される。なお、払出制御用CPU371は、ステップS523〜S525の処理において球噛みを検出した場合に、払出モータ制御コードの値を5に変更する。   In the ball biting payout motor brake process (step S526) executed when the value of the payout motor control code is 5, the payout control CPU 371 smoothes the payout motor 289 in the case of rotation for releasing the ball biting. The payout motor excitation pattern is longer than the rotation of the payout motor 289 for releasing the ball biting, and gradually away from the time interval in the case of constant speed processing. The contents of the table are read out and set in the output port buffer corresponding to the output state of the output port that outputs the dispensing motors φ1 to φ4. Note that the contents of the output port buffer corresponding to the output state of the output port that outputs the payout motors φ1 to φ4 are output to the output port in the output process of step S760. The payout control CPU 371 changes the value of the payout motor control code to 5 when it detects a ball bite in steps S523 to S525.

図43は、ステップS755の主制御通信処理を示すフローチャートである。主制御通信処理では、払出制御用CPU371は、主制御通信制御コードの値に応じて、ステップS531〜S532のいずれかの処理を実行する。なお、主制御通信制御コードの値が0である場合(賞球個数信号の受信を待っている状態)では、ステップS531またはS532に移行せずに処理を終了する。   FIG. 43 is a flowchart showing the main control communication process in step S755. In the main control communication process, the payout control CPU 371 executes any one of steps S531 to S532 according to the value of the main control communication control code. If the value of the main control communication control code is 0 (waiting for reception of a prize ball number signal), the process ends without proceeding to step S531 or S532.

図44は、賞球制御信号を入力ポートを介して入力するための条件を示す説明図である。図44に示すように、RAMに形成されている1バイトのエラーフラグにおける主制御未接続エラー(接続確認信号のオフ)、賞球REQ信号エラー(賞球REQ信号が不正なタイミングでオンまたはオフ)のエラービットがセット状態ではなく、かつ、カードユニット50からのBRDY信号がオン状態ではない場合に、接続確認信号がオン状態であって、かつ、賞球REQ信号がオン状態になると、払出制御手段は、賞球制御信号を入力ポートを介して入力する。なお、エラービットとは、各種のエラーが発生したことが検出されたときにセットされるエラーフラグにおけるビットである。   FIG. 44 is an explanatory diagram showing conditions for inputting a prize ball control signal via an input port. As shown in FIG. 44, the main control unconnected error (connection confirmation signal is turned off) in the 1-byte error flag formed in the RAM, the prize ball REQ signal error (the prize ball REQ signal is turned on or off at an incorrect timing) ) Is not in the set state and the BRDY signal from the card unit 50 is not in the on state, the payout is made when the connection confirmation signal is in the on state and the prize ball REQ signal is in the on state. The control means inputs a prize ball control signal via the input port. The error bit is a bit in an error flag that is set when it is detected that various errors have occurred.

図45は、割込端子に導入されている主基板31からの賞球REQ信号がオン状態(ローレベル)になったことに応じて起動される賞球REQ割込処理を示すフローチャートである。賞球REQ割込処理において、払出制御用CPU371は、エラービット(主制御未接続エラービット、賞球REQ信号エラービットまたは起動エラービット)がオンしている場合には、以降の処理を実行せずに処理を終了する(ステップS541)。ステップS541では、エラーフラグ中の3つのビットのうち1つでもセットされていたら、エラービットがセットされていると判断する。   FIG. 45 is a flowchart showing a prize ball REQ interrupt process activated in response to the prize ball REQ signal from the main board 31 introduced into the interrupt terminal being turned on (low level). In the prize ball REQ interrupt process, the payout control CPU 371 executes the subsequent processes when the error bit (main control unconnected error bit, prize ball REQ signal error bit or activation error bit) is on. The process is terminated (step S541). In step S541, if any one of the three bits in the error flag is set, it is determined that the error bit is set.

また、払出制御用CPU371は、BRDY信号がオン状態であれば、以降の処理を実行せずに処理を終了する(ステップS542)。BRDY信号がオン状態であるということは、カードユニット50から球貸し要求が発生していることまたは球貸し処理中であることを意味する。すなわち、球貸し要求が発生しているときまたは球貸し処理中であるときには、主基板31の遊技制御手段との通信(賞球払出に関する通信)が進行しない。つまり、賞球REQ信号がオン状態になっても、賞球の払出処理は実行しない。   If the BRDY signal is on, the payout control CPU 371 ends the process without executing the subsequent processes (step S542). That the BRDY signal is on means that a ball lending request is generated from the card unit 50 or that a ball lending process is in progress. That is, when a ball lending request is generated or a ball lending process is in progress, communication with the game control means of the main board 31 (communication relating to prize ball payout) does not proceed. That is, even when the prize ball REQ signal is turned on, the prize ball payout process is not executed.

ステップS541〜S542の条件が成立せず、接続確認信号がオン状態である場合には、払出制御用CPU371は、入力ポート0を介して賞球個数信号を入力し、賞球個数信号が示す賞球数を賞球払出予定総数カウンタ(図48参照)の内容に加算する処理を行う(ステップS545)。そして、主制御通信制御タイマに賞球REQ信号オフ監視時間(この例では24)をセットしたあと(ステップS546)、主制御通信制御コードの値を1にして(ステップS547)、処理を終了する。主制御通信制御タイマは、主基板31の遊技制御手段との通信に関わる時間の監視等に使用されるタイマであるが、この段階では、賞球REQ信号がオフするタイミングを設定するための賞球REQ信号オフ監視時間(賞球REQ信号がオフするまでの最短時間未満の時間としてあらかじめ定められた時間)がセットされる。なお、賞球未払出個数カウンタは、不揮発性(この例では電源バックアップされている)のRAM領域に形成されている。また、この実施の形態では、賞球REQ信号が送信された(オン状態になった)場合に、賞球個数信号が示す賞球数が賞球未払出個数カウンタの内容に加算される。   If the conditions of steps S541 to S542 are not satisfied and the connection confirmation signal is on, the payout control CPU 371 inputs the prize ball number signal via the input port 0, and the prize indicated by the prize ball number signal is shown. A process of adding the number of balls to the contents of the prize ball payout scheduled total counter (see FIG. 48) is performed (step S545). Then, after setting the prize ball REQ signal off monitoring time (24 in this example) to the main control communication control timer (step S546), the main control communication control code value is set to 1 (step S547), and the process ends. . The main control communication control timer is a timer used for monitoring the time related to communication with the game control means of the main board 31. At this stage, the award for setting the timing at which the prize ball REQ signal is turned off is set. A ball REQ signal off monitoring time (a time predetermined as a time shorter than the shortest time until the prize ball REQ signal is turned off) is set. The prize ball unpaid-out number counter is formed in a non-volatile (power-backed up in this example) RAM area. In this embodiment, when the prize ball REQ signal is transmitted (turned on), the prize ball number indicated by the prize ball number signal is added to the contents of the prize ball unpaid-out number counter.

以上のようにして、割込処理によって、主基板31から送信された賞球個数信号が受信される。   As described above, the prize ball number signal transmitted from the main board 31 is received by the interrupt process.

図46は、主制御通信制御コードの値が1の場合に実行される主制御通信中処理(ステップS531)を示すフローチャートである。主制御通信中処理において、払出制御用CPU371は、接続確認信号がオン状態であれば(ステップS551)、賞球REQ信号の状態を確認する(ステップS552)。賞球REQ信号がオフ状態になっていたら、エラーフラグのうち賞球REQ信号エラービットをセットする(ステップS553)。この段階で、直ちに賞球REQ信号がオフ状態になってしまうのはおかしいからである。   FIG. 46 is a flowchart showing a main control communication process (step S531) executed when the value of the main control communication control code is 1. In the main control communication process, the payout control CPU 371 checks the state of the prize ball REQ signal if the connection confirmation signal is in the on state (step S551) (step S552). If the prize ball REQ signal is off, the prize ball REQ signal error bit in the error flag is set (step S553). This is because it is strange that the prize ball REQ signal immediately turns off at this stage.

次いで、払出制御用CPU371は、主制御通信制御タイマの値を確認し(ステップS554)、0になっていなければ主制御通信制御タイマの値を1減算して(ステップS555)処理を終了する。主制御通信制御タイマの値が0になっていたら、主制御通信制御コードの値を2にして(ステップS556)、処理を終了する。   Next, the payout control CPU 371 checks the value of the main control communication control timer (step S554), and if not 0, subtracts 1 from the value of the main control communication control timer (step S555) and ends the process. If the value of the main control communication control timer is 0, the value of the main control communication control code is set to 2 (step S556), and the process ends.

図47は、主制御通信制御コードの値が2の場合に実行される主制御通信終了処理(ステップS532)を示すフローチャートである。主制御通信中処理において、払出制御用CPU371は、エラービット(主制御未接続エラービット、賞球REQ信号エラービットまたは起動エラービット)がオンしている場合には、ステップS564に移行する(ステップS561)。また、接続確認信号がオフ状態である場合にもステップS564に移行する(ステップS562)。エラービットがともにオフ状態であって接続確認信号がオン状態である場合には、賞球REQ信号がオフ状態になったか否かを確認する(ステップS563)。オフ状態になったらステップS564に移行する。   FIG. 47 is a flowchart showing a main control communication end process (step S532) executed when the value of the main control communication control code is 2. In the main control communication process, the payout control CPU 371 proceeds to step S564 when the error bit (main control unconnected error bit, prize ball REQ signal error bit or activation error bit) is on (step S564). S561). Moreover, also when a connection confirmation signal is an OFF state, it transfers to step S564 (step S562). If both error bits are off and the connection confirmation signal is on, it is checked whether or not the prize ball REQ signal is off (step S563). When it is turned off, the process proceeds to step S564.

ステップS564では、主制御通信制御コードの値を0にして、処理を終了する。なお、主制御通信制御タイマを用いて、賞球REQ信号が所定の監視期間を経過してもオフ状態にならない場合に、その監視時間内に賞球REQ信号がオフしなかったとして、エラーフラグのうち賞球REQ信号エラービットをセットするようにしてもよい。   In step S564, the value of the main control communication control code is set to 0, and the process ends. If the prize ball REQ signal does not turn off even after a predetermined monitoring period has elapsed using the main control communication control timer, it is determined that the prize ball REQ signal has not been turned off within the monitoring time. Among them, a prize ball REQ signal error bit may be set.

図48は、払出制御手段が払出制御処理において使用するカウンタの一例を示す説明図である。この実施の形態では、賞球個数指令で指定された個数が累積加算された数である賞球払出予定総数が格納される賞球払出予定総数カウンタと、後述する加算処理(上乗せ処理)が実行された後の賞球払出予定総数が格納される前回賞球払出予定総数カウンタと、賞球払出時の払出モータ289の回転数に相当する値が設定される払出動作カウンタと、賞球の連続払出時の賞球数が設定される賞球未払出個数カウンタと、貸し球数が設定される貸し球未払出個数カウンタとが使用される。なお、それらのカウンタは、RAMに形成される。   FIG. 48 is an explanatory view showing an example of a counter used by the payout control means in the payout control process. In this embodiment, a prize-ball-payout-scheduled total counter that stores the total number of prize-balls to be paid out, which is the number obtained by cumulatively adding the numbers specified in the prize-ball number command, and an addition process (addition process) described later are executed. A total number of previous winning ball payout totals counter that stores the total number of winning ball payouts that have been issued, a payout operation counter that is set to a value corresponding to the number of revolutions of the payout motor 289 when paying out the winning ball, A winning ball unpaid number counter in which the number of winning balls at the time of paying is set and a lending ball unpaid number counter in which the number of lending balls is set are used. These counters are formed in the RAM.

また、払出動作カウンタは、払出モータ289の回転数を決めるために使用される。賞球未払出個数カウンタおよび貸し球未払出個数カウンタの値は、払出個数カウントスイッチ301がオン(遊技球がスイッチを通過)すると−1される。よって、賞球未払出個数カウンタおよび貸し球未払出個数カウンタは、最後に払出モータ289によって払い出された遊技球が払出個数カウントスイッチ301を通過することを検出することによって(カウント値が0になる)、賞球払出および球貸しが完了したことを判定するために使用される。   The payout operation counter is used to determine the rotation speed of the payout motor 289. The values of the award ball unpaid number counter and the lending ball unpaid number counter are decremented by 1 when the payout number count switch 301 is turned on (the game ball passes the switch). Therefore, the award ball unpaid number counter and the lending ball unpaid number counter detect that the game ball finally paid out by the payout motor 289 passes through the payout number count switch 301 (the count value becomes 0). Used to determine that the award ball lending and ball lending have been completed.

なお、払出モータ289の回転数を決めるために、払出動作カウンタではなく、払出数に応じた回転時間を決める払出動作タイマを用いてもよい。払出動作タイマを用いる場合には、駆動量データ記憶手段が保持しているデータ(この場合には払出動作タイマのタイマ値)を払出駆動手段(この例では払出モータ289)の駆動量に応じた分減算する駆動量更新手段は、時間経過に応じて払出動作タイマのタイマ値を減ずる処理を実行するものに相当する。   In order to determine the rotation speed of the payout motor 289, a payout operation timer that determines a rotation time according to the payout number may be used instead of the payout operation counter. When the payout operation timer is used, the data held in the drive amount data storage means (in this case, the timer value of the payout operation timer) corresponds to the drive amount of the payout drive means (in this example, the payout motor 289). The driving amount updating means for subtracting the minute amount corresponds to executing a process of reducing the timer value of the payout operation timer as time elapses.

図49は、ステップS756の賞球球貸し制御処理を示すフローチャートである。賞球球貸し制御処理において、払出制御用CPU371は、後述する賞球払出数上乗せ制御を実行したあと(ステップS600)、払出個数カウントスイッチ301の検出信号がオン状態になったことを確認したら(ステップS601)、払い出された遊技球が賞球であるか貸し球であるか確認する(ステップS602,S603)。この例では、遊技球が賞球であるかは、現在の払出制御の状態が賞球中であるか否かによって確認される。そして、賞球中であるか否かは、例えば、RAMに形成されている払出制御状態フラグにおける賞球動作中フラグがセットされているか否かによって確認される(ステップS602)。また、遊技球が貸し球であるかは、現在の払出制御の状態が球貸し中であるか否かによって確認される。そして、球貸し中であるか否かは、例えば、RAMに形成されている払出制御状態フラグにおける球貸し動作中ビットがセットされているか否かによって確認される(ステップS603)。   FIG. 49 is a flowchart showing the prize ball lending control processing in step S756. In the award ball lending control process, the payout control CPU 371 executes a later-described award ball payout amount addition control (step S600) and confirms that the detection signal of the payout number count switch 301 is turned on (step S600). In step S601), it is confirmed whether the paid out game ball is a prize ball or a rental ball (steps S602 and S603). In this example, whether or not the game ball is a prize ball is confirmed by whether or not the current payout control state is a prize ball. Whether or not a prize ball is in progress is confirmed, for example, by whether or not a prize ball operating flag in the payout control state flag formed in the RAM is set (step S602). Further, whether or not the game ball is a lending ball is confirmed by whether or not the current payout control state is lending the ball. Whether or not the ball is being lent is confirmed, for example, by whether or not the ball renting operation bit in the payout control state flag formed in the RAM is set (step S603).

賞球中であれば賞球未払出個数カウンタの値を1減らす(ステップS604)。賞球中でなく球貸し中であれば球貸し未払出個数カウンタの値を1減らす(ステップS605)。また、賞球中でなく球貸し中でもなければ、払い出された遊技球が賞球であるとして、賞球未払出個数カウンタの値を1減らす(ステップS604)。   If it is during the winning ball, the value of the winning ball unpaid number counter is decremented by 1 (step S604). If it is not in the winning ball but in the ball lending, the value of the ball lending unpaid-out number counter is decreased by 1 (step S605). Further, if the winning ball is not being lent and not being lent, the value of the award ball unpaid-out counter is decremented by 1 assuming that the paid-out gaming ball is a winning ball (step S604).

賞球未払出個数カウンタの値を1減らしたときは、払出制御用CPU371は、賞球カウント信号を所定期間オン状態とする(ステップS606)。その後、払出制御コードの値に応じてステップS610〜S612のいずれかの処理を実行する。   When the value of the winning ball unpaid-out counter is decremented by 1, the payout control CPU 371 turns on the winning ball count signal for a predetermined period (step S606). Thereafter, any one of steps S610 to S612 is executed according to the value of the payout control code.

なお、賞球球貸し制御処理において、払出動作(1回の賞球払出または1回の球貸し)を行うか否か判定するためにエラービットがチェックされるのは、図51に示される払出開始待ち処理においてのみである。すなわち、図49に示されている払出個数カウントスイッチ301の確認処理、未払出個数カウンタの減算処理、賞球カウント信号の出力処理などについては、エラービットがチェックされることなく実行される。従って、エラーが発生しても、払出個数カウントスイッチ301からの検出出力に応じて、球貸し未払出個数カウンタまたは賞球未払出個数カウンタの減算処理が実行され、賞球未払出個数カウンタの値が減算されたときには賞球カウント信号が出力される。よって、エラー状態となっていても、遊技球の未払出数を管理することができる。また、エラー状態となっていても、賞球の払出が検出されたことに応じて賞球カウント信号を出力することができるので、エラー状態であっても、払出制御基板37側で検出された賞球の払出を確認したことを示す情報を主基板31側に伝達することができる。   In the prize ball lending control process, an error bit is checked to determine whether or not to perform a payout operation (one prize ball payout or one ball lending). Only in the waiting for start process. That is, the confirmation process of the payout number count switch 301, the subtraction process of the non-payout number counter, the output process of the prize ball count signal, etc. shown in FIG. 49 are executed without checking the error bit. Therefore, even if an error occurs, the ball lending unpaid-out counter or the winning ball unpaid-out counter is subtracted in accordance with the detection output from the paid-out count switch 301, and the value of the award ball unpaid-out counter When is subtracted, a prize ball count signal is output. Therefore, the number of unpaid game balls can be managed even in an error state. Even if an error state is detected, a prize ball count signal can be output in response to the detection of a payout of a prize ball. Therefore, even in an error state, it is detected on the payout control board 37 side. Information indicating that the winning ball has been paid out can be transmitted to the main board 31 side.

また、賞球球貸し制御処理において、賞球中でも球貸し中でもないときに、払出個数カウントスイッチ301からの検出出力があったとき、払い出された遊技球が賞球であるとして、賞球未払出個数カウンタの値が減算され、賞球カウント信号が主基板31に出力される。従って、不正な遊技球の払い出しが行われたときにも主基板31に搭載されている遊技制御手段(具体的にはCPU56)に賞球カウント信号が伝達されることになる。遊技制御手段では、賞球の払出数を管理しているので、本来払い出すべき賞球数よりも多くの賞球数を示す賞球カウント信号を受信した場合には、不正な払い出しが行われていると判断することができる。遊技制御手段は、不正な遊技球の払い出しが行われていると判断した場合には、以下のような適切な処理を行う。   In the prize ball lending control processing, if there is a detection output from the number-of-payout count switch 301 when neither a prize ball nor a ball is lent, it is determined that the game ball that has been paid out is a prize ball, The value of the payout number counter is subtracted, and a prize ball count signal is output to the main board 31. Therefore, even when an illegal game ball is paid out, a prize ball count signal is transmitted to the game control means (specifically, the CPU 56) mounted on the main board 31. Since the game control means manages the number of prize balls to be paid out, if a prize ball count signal indicating the number of prize balls more than the number of prize balls to be originally paid out is received, illegal payout is performed. Can be determined. When it is determined that an illegal game ball has been paid out, the game control means performs the following appropriate processing.

例えば、遊技制御手段は、可変表示装置9等を用いて遊技者や遊技店員等にエラーの発生を報知させるための処理を行う。具体的には、遊技制御手段は、エラーの発生を報知させるための表示制御コマンドを表示制御手段に送信することによって、表示制御手段にエラーが発生したことを可変表示装置9に表示させる制御を実行させる。なお、遊技制御手段は、エラーを報知させるためのランプ制御コマンドや音制御コマンドを表示制御手段を介してランプ制御手段や音制御手段に送信することによって、ランプ制御手段や音制御手段にエラーの発生を報知するためのランプ・LEDの点灯や音声出力を行わせるようにしてもよい。また、遊技制御手段は、遊技の進行を停止させるための処理を行う。具体的には、遊技制御手段は、遊技の進行を停止する前に、現在の制御状態、例えば出力ポートの出力状態をRAM55に保存した後、出力ポートの出力状態をクリアし、異常な状態が解消されるまで遊技の進行を停止する。さらに、遊技制御手段は、不正な遊技球の払い出しが行われていることを示す情報を遊技機外部のホールコンピュータ等に出力する処理(ステップS52)を行う。なお、遊技制御手段は、情報出力処理によって、払い出すべき賞球数を示す情報と賞球カウント信号にもとづく実際に払い出された賞球数を示す信号とを遊技機外部のホールコンピュータ等に出力することにより、ホールコンピュータ等に不正な遊技球の払い出しが行われているか否かを判断させるようにすることもできる。この場合、遊技制御手段は、不正な払い出しがなされているか否かに関わらず、賞球カウント信号を受信する毎に1個の賞球が払い出されたことを示す信号を試験端子板を介してホールコンピュータに送信するようにしてもよいし、賞球カウント信号を例えば10回受信する毎に10個の賞球が払い出されたことを示す賞球情報をホールコンピュータに送信するようにしてもよい。ちなみに、上記の処理の全てが実行されてもよいが、少なくとも上記の処理のうちのいずれか1つ以上の処理が実行される。   For example, the game control means performs a process for notifying a player, a game clerk, or the like of the occurrence of an error using the variable display device 9 or the like. Specifically, the game control means controls the variable display device 9 to display that the error has occurred in the display control means by transmitting a display control command for notifying the occurrence of the error to the display control means. Let it run. The game control means transmits a lamp control command and a sound control command for informing the error to the lamp control means and the sound control means via the display control means. You may make it perform lighting of the lamp and LED for alert | reporting generation | occurrence | production, and audio | voice output. In addition, the game control means performs a process for stopping the progress of the game. Specifically, the game control means saves the current control state, for example, the output state of the output port, in the RAM 55 before stopping the progress of the game, and then clears the output state of the output port so that the abnormal state is Stop playing until it is resolved. Further, the game control means performs a process (step S52) of outputting information indicating that an illegal game ball has been paid out to a hall computer or the like outside the game machine. The game control means sends information indicating the number of prize balls to be paid out and a signal indicating the number of prize balls actually paid out based on the prize ball count signal to a hall computer or the like outside the gaming machine by information output processing. By outputting, it is possible to make the hall computer or the like determine whether or not an illegal game ball has been paid out. In this case, the game control means sends a signal indicating that one prize ball has been paid out via the test terminal board every time a prize ball count signal is received, regardless of whether or not an illegal payment has been made. The prize ball information indicating that ten prize balls have been paid out is sent to the hall computer every time the prize ball count signal is received ten times, for example. Also good. Incidentally, all of the above processes may be executed, but at least one or more of the above processes are executed.

図50は、賞球払出数上乗せ制御(ステップS600)を示すフローチャートである。賞球払出数上乗せ制御において、払出制御用CPU371は、各種のエラー状態が各ビットに反映されている設定されているエラーフラグにおいてエラー状態を示しているビットがあるか否か判定し、エラー状態を示しているビットがある場合には、何もせずに処理を終了する(ステップS691)。また、球貸し動作中フラグがセットされているか否か判定し、セットされている場合には、何もせずに処理を終了する(ステップS692)。賞球球貸し制御処理は2ms毎に実行されるので、賞球払出数上乗せ制御も2ms毎に実行されのであるが、ステップS691の処理によって、エラー状態では、ステップS694以降の処理は実行されない。また、プリペイドカードユニット50からの球貸し要求にもとづく球貸し処理中でも、ステップS694以降の処理は実行されない。   FIG. 50 is a flowchart showing the award ball payout addition control (step S600). In the prize ball payout addition control, the payout control CPU 371 determines whether there is a bit indicating an error state in a set error flag in which various error states are reflected in each bit, and the error state. If there is a bit indicating, the processing is terminated without doing anything (step S691). Further, it is determined whether or not the ball lending operation flag is set. If it is set, the processing is terminated without doing anything (step S692). Since the winning ball lending control process is executed every 2 ms, the winning ball payout addition control is also executed every 2 ms. However, in the error state due to the process of step S691, the processes after step S694 are not executed. Further, even during the ball lending process based on the ball lending request from the prepaid card unit 50, the processes after step S694 are not executed.

さらに、払出制御用CPU371は、払出動作カウンタの値が、所定値(例えば1)になったか否か判定する(ステップS693)。所定値になったときには、ステップS694以降の処理を実行する。しかし、所定値になったときでなければ、ステップS694以降の処理は実行されない。なお、ステップS694以降の処理は、払出動作カウンタの値が所定値に更新されたタイミング(例えば2から1に変化したとき)において実行され、所定値になっている状態において常に実行されるわけではない。   Furthermore, the payout control CPU 371 determines whether or not the value of the payout operation counter has reached a predetermined value (for example, 1) (step S693). When the predetermined value is reached, the processing after step S694 is executed. However, if the predetermined value is not reached, the processing after step S694 is not executed. Note that the processing after step S694 is executed at the timing when the value of the payout operation counter is updated to a predetermined value (for example, when the value is changed from 2 to 1), and is not always executed in a state where the predetermined value is reached. Absent.

ステップS694において、払出制御用CPU371は、賞球払出予定総数カウンタ(PA)の内容が、前回賞球払出予定総数カウンタ(PB)の内容と同じか否か確認する。同じでなければ、ステップS695以降の賞球払出数上乗せ処理(以下、上乗せ処理または加算処理という。)を実行する。前回賞球払出予定総数カウンタ(PB)には、賞球払出処理開始時および上乗せ処理(前回の上乗せ処理)が実行されたときに、賞球払出予定総数カウンタ(PA)の内容が設定されている。また、遊技制御手段から賞球個数指令を受信すると、賞球個数指令で指示された個数が賞球払出予定総数カウンタ(PA)に加算される。従って、賞球払出予定総数カウンタ(PA)の内容が、前回賞球払出予定総数カウンタ(PB)の内容と異なっているということは、新たに、遊技制御手段から賞球個数指令を受信したことを意味する、そこで、ステップS691〜S693の上乗せ禁止条件が成立していない場合には、ステップS695以降の上乗せ処理を行う。なお、払出動作カウンタの値が所定値に更新されるのは、払出モータ289が回転しているとき(ステップS511,S513参照)、すなわち遊技球の払出がなされているときであり、また、ステップ692の判定により、賞球払出の非実行中に、ステップS695以降の処理が実行されることはない。   In step S694, the payout control CPU 371 checks whether or not the content of the planned winning ball payout counter (PA) is the same as the content of the previous winning ball payout total counter (PB). If they are not the same, a process for adding the number of prize balls to be paid after step S695 (hereinafter referred to as an addition process or an addition process) is executed. The previous prize ball payout total counter (PB) is set with the content of the prize ball payout total counter (PA) at the start of the prize ball payout process and when the extra process (previous addition process) is executed. Yes. Also, when a prize ball number command is received from the game control means, the number instructed by the prize ball number command is added to a prize ball payout scheduled total counter (PA). Accordingly, the fact that the content of the total number of winning ball payout counter (PA) is different from the content of the previous total number of paying ball counter (PB) means that a new winning ball number command has been received from the game control means. Therefore, if the conditions for prohibiting the addition of steps S691 to S693 are not satisfied, the addition process after step S695 is performed. The value of the payout operation counter is updated to a predetermined value when the payout motor 289 is rotating (see steps S511 and S513), that is, when a game ball is being paid out. According to the determination of 692, the process after step S695 is not executed during the non-execution of the prize ball payout.

ステップS695において、払出制御用CPU371は、賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容との差分に相当する値を、払出動作カウンタに加算することによって払出動作カウンタを更新する(ステップS695)。また、賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容との差分を、賞球未払出個数カウンタに加算する(ステップS696)。さらに、賞球払出予定総数カウンタ(PA)の内容を、前回賞球払出予定総数カウンタ(PB)に設定することによって前回賞球払出予定総数カウンタ(PB)を更新する(ステップS697)。なお、この実施の形態では、払出モータ289から1個の遊技球が払い出されるときに払出動作カウンタの値が1減算される(上述したように、この実施の形態では、払出モータ289が1/2回転すると1個の遊技球が払い出され、1回転する期間中に2回払出モータ位置センサ295がオンする構成とされている)ので、払出動作カウンタに対する加算値と、賞球未払出個数カウンタに対する加算値とは、同じ値である。   In step S695, the payout control CPU 371 adds, to the payout operation counter, a value corresponding to the difference between the content of the total prize ball payout total counter (PA) and the content of the previous prize ball payout total counter (PB). To update the payout operation counter (step S695). In addition, the difference between the contents of the total number of expected winning ball payout counter (PA) and the content of the total number of previous winning ball payout scheduled counter (PB) is added to the number of unpaid prize ball counter (step S696). Furthermore, the previous winning ball payout scheduled total counter (PB) is updated by setting the content of the expected winning ball payout total counter (PA) in the previous winning ball payout scheduled total counter (PB) (step S697). In this embodiment, when one game ball is paid out from the payout motor 289, the value of the payout operation counter is decremented by 1 (as described above, in this embodiment, the payout motor 289 is 1 / 1 game ball is paid out after 2 rotations, and the payout motor position sensor 295 is turned on twice during the period of 1 rotation), so the added value for the payout operation counter and the number of unpaid prize balls The added value for the counter is the same value.

上記のように、上乗せ処理は、払出動作カウンタの値が所定値に更新されたタイミングにおいてのみ実行される。よって、データが増加したか否かの判定(ステップS694の処理)の回数を減らすことができ、判定処理の負担を軽減することができる。   As described above, the addition process is executed only at the timing when the value of the payout operation counter is updated to a predetermined value. Therefore, it is possible to reduce the number of determinations as to whether or not the data has increased (the process of step S694), and to reduce the burden of the determination process.

なお、ステップS697において、賞球払出予定総数カウンタ(PA)の内容を、前回賞球払出予定総数カウンタ(PB)に設定するのではなく、賞球払出予定総数カウンタ(PA)および前回賞球払出予定総数カウンタ(PB)の内容を0にクリアするようにしてもよい。すなわち、増加判定手段がデータが増加したことを判定したときに、増加数特定手段が、景品遊技媒体数データ記憶手段に記憶されている増加分のデータを払出動作カウンタに移す(ステップS695)とともに、景品遊技媒体数データ記憶手段(この例では賞球払出予定総数カウンタ(PA))および前回景品遊技媒体数データ記憶手段(この例では前回賞球払出予定総数カウンタ(PB))の記憶内容を初期化するようにしてもよい。そのように構成されている場合には、景品遊技媒体数データ記憶手段および前回景品遊技媒体数データ記憶手段の記憶容量を増大させないようにすることができる。   In step S697, instead of setting the content of the planned total payout ball counter (PA) in the previous total payout ball counter (PB), the planned total payout ball counter (PA) and the previous prize ball payout are set. The contents of the scheduled total counter (PB) may be cleared to zero. That is, when the increase determination means determines that the data has increased, the increase number specifying means moves the increase data stored in the prize game medium number data storage means to the payout operation counter (step S695). The stored contents of the prize game medium number data storage means (in this example, the prize ball payout scheduled total counter (PA)) and the previous prize game medium number data storage means (in this example, the previous prize ball payout scheduled total counter (PB)) are stored. It may be initialized. In such a case, it is possible to prevent the storage capacities of the premium game medium number data storage means and the previous premium game medium number data storage means from increasing.

また、上記の例では、ステップS693にて払出動作カウンタの値が所定値になったか否かを判定する構成としていたが、払出動作カウンタの値が所定値になったか否かを判定することなく、払出動作の実行中に払い出すべき賞球数が増加したか否かを判定し(具体的には、賞球払出予定総数カウンタの値が増加したか否かを判定する)、増加していたらステップS694以降の処理を行うようにしてもよい。すなわち、払出動作の実行中に払い出すべき賞球数が増加する毎に、上乗せ処理を行うようにしてもよい。   In the above example, it is configured to determine whether or not the value of the payout operation counter has reached a predetermined value in step S693, but without determining whether or not the value of the payout operation counter has reached a predetermined value. , It is determined whether or not the number of prize balls to be paid out has increased during the execution of the payout operation (specifically, it is determined whether or not the value of the total number of prize balls to be paid out has increased) and has increased. Then, the processing after step S694 may be performed. That is, each time the number of prize balls to be paid out increases during execution of the payout operation, the extra process may be performed.

また、この実施の形態では、1つの球払出装置97によって賞球個数指令にもとづく遊技球の払い出しと貸出要求にもとづく遊技球の払い出しとがなされるので、球貸し処理が実行されているときには、賞球払出処理は実行できない。従って、球貸し処理を行っているときに上乗せ処理を行っても、賞球払出が実行されないので意味のない処理を行ってしまうことになる。しかし、球貸し処理を行っているときには上乗せ処理を禁止することによって、無意味な処理が実行されないようにして上乗せ処理の効率化を図ることができる。   In this embodiment, since one game payout device 97 performs game ball payout based on the prize ball number command and game ball payout based on the loan request, when the ball lending process is executed, The prize ball payout process cannot be executed. Therefore, even if the extra process is performed while the ball lending process is being performed, the award ball payout is not performed, and therefore a meaningless process is performed. However, by prohibiting the extra process when performing the ball lending process, it is possible to improve the efficiency of the extra process so that the meaningless process is not executed.

同様に、エラー状態では、賞球払出処理は実行できない。従って、エラー状態において上乗せ処理を行っても、賞球払出が実行されないので意味のない処理を行ってしまうことになる。しかし、エラー状態では上乗せ処理を禁止することによって、無意味な処理が実行されないようにして上乗せ処理の効率化を図ることができる。なお、上乗せ処理は、エラー解除スイッチ375からの操作信号にもとづいてエラー状態が解除されたときに一括して実行される(エラー状態において受信した全ての賞球個数指令にもとづく増加数を加算する)ことになる。   Similarly, the prize ball payout process cannot be executed in an error state. Therefore, even if the extra process is performed in an error state, the prize ball payout is not executed, and therefore a meaningless process is performed. However, by prohibiting the extra process in the error state, it is possible to improve the efficiency of the extra process so that the meaningless process is not executed. The addition process is executed collectively when the error state is canceled based on the operation signal from the error cancellation switch 375 (additions based on all prize ball number commands received in the error state are added. )

図51は、払出制御コードが0の場合に実行される払出開始待ち処理(ステップS610)を示すフローチャートである。払出開始待ち処理において、払出制御用CPU371は、エラービットがセットされていたら、以降の処理を実行しない(ステップS621)。   FIG. 51 is a flowchart showing the payout start waiting process (step S610) executed when the payout control code is 0. In the payout start waiting process, the payout control CPU 371 does not execute the subsequent processes if the error bit is set (step S621).

また、BRDY信号がオン状態でなければ(ステップS622)、ステップS631以降の賞球払出のための処理を実行する。BRDY信号がオン状態であって、さらに、球貸し要求信号であるBRQ信号がオン状態になっていたら球貸し動作中フラグをセットする(ステップS623,S624)。そして、球貸し未払出個数カウンタに「25」をセットし(ステップS625)、払出動作カウンタに「25」をセットする(ステップS626)。   If the BRDY signal is not on (step S622), processing for paying out a prize ball after step S631 is executed. If the BRDY signal is on and the BRQ signal that is a ball lending request signal is on, a ball lending operation flag is set (steps S623 and S624). Then, “25” is set in the unpaid ball lending number counter (step S625), and “25” is set in the payout operation counter (step S626).

払出動作カウンタは、払出モータ制御処理(ステップS768)において参照される。すなわち、払出モータ制御処理では、払出動作カウンタにセットされた値に対応した回転数分だけ払出モータ289を回転させる制御が実行される。   The payout operation counter is referred to in the payout motor control process (step S768). That is, in the payout motor control process, control is performed to rotate the payout motor 289 by the number of rotations corresponding to the value set in the payout operation counter.

その後、払出制御用CPU371は、払出モータ制御処理で実行される処理を選択するための払出モータ制御コードに、払出モータ起動準備処理(ステップS522)に応じた値(具体的は「1」)をセットし(ステップS627)、払出制御コードの値を1にして(ステップS628)、処理を終了する。   Thereafter, the payout control CPU 371 sets a value (specifically “1”) corresponding to the payout motor activation preparation process (step S522) to the payout motor control code for selecting the process executed in the payout motor control process. It is set (step S627), the value of the payout control code is set to 1 (step S628), and the process is terminated.

ステップS631では、払出制御用CPU371は、賞球払出予定総数カウンタ(PA)の内容が0であるか否かを確認する(ステップS631)。0であれば処理を終了する。賞球払出予定総数カウンタ(PA)には、賞球REQ割込処理において、主基板31の遊技制御手段から賞球個数指令を受けたときに、0でない値(賞球個数指令が示す数)が加算されている。賞球払出予定総数カウンタ(PA)の内容が0でない場合には、払出動作カウンタに賞球払出予定総数カウンタ(PA)の内容を設定し(ステップS632)、賞球未払出個数カウンタに賞球払出予定総数カウンタ(PA)の内容を設定する(ステップS633)。また、賞球払出予定総数カウンタ(PA)の内容を前回賞球払出予定総数カウンタ(PB)に設定する(ステップS634)。そして、賞球動作中フラグをセットし(ステップS635)、ステップS627に移行する。   In step S631, the payout control CPU 371 checks whether or not the content of the winning ball payout scheduled total counter (PA) is 0 (step S631). If 0, the process ends. The prize ball payout total counter (PA) is a value other than 0 when the prize ball number command is received from the game control means of the main board 31 in the prize ball REQ interrupt process (the number indicated by the prize ball number command). Is added. If the content of the total number of paying ball counters (PA) is not 0, the content of the total number of paying ball counters (PA) is set in the payout operation counter (step S632), and the number of winning balls in the award ball unpaid number counter is set as a prize ball. The contents of the payout scheduled total counter (PA) are set (step S633). In addition, the content of the total number of winning ball payouts counter (PA) is set in the previous number of paying ball payouts total counter (PB) (step S634). Then, a winning ball moving flag is set (step S635), and the process proceeds to step S627.

図52は、払出制御コードが1の場合に実行される払出モータ停止待ち処理(ステップS611)を示すフローチャートである。払出モータ停止待ち処理において、払出制御用CPU371は、払出モータ289の払出動作が終了したか否か確認する(ステップS641)。払出制御用CPU371は、例えば、払出モータ制御処理における払出モータブレーキ処理(ステップS525)が終了するときにその旨のフラグをセットし、ステップS641においてそのフラグを確認することによって、払出モータ289の払出動作が終了したか否かを確認することができる。   FIG. 52 is a flowchart showing a payout motor stop waiting process (step S611) executed when the payout control code is 1. In the payout motor stop waiting process, the payout control CPU 371 checks whether or not the payout operation of the payout motor 289 has ended (step S641). For example, the payout control CPU 371 sets a flag to that effect when the payout motor brake process (step S525) in the payout motor control process ends, and confirms the flag in step S641 so that the payout motor 289 pays out. It can be confirmed whether or not the operation is completed.

払出モータ289の払出動作が終了した場合には、払出制御用CPU371は、払出制御監視タイマに払出通過監視時間をセットする(ステップS642)。払出通過監視時間は、最後の払出球が払出モータ289によって払い出されてから払出個数カウントスイッチ301を通過するまでの時間に、余裕を持たせた時間である。そして、払出制御コードの値を2にして(ステップS643)、処理を終了する。   When the payout operation of the payout motor 289 is completed, the payout control CPU 371 sets the payout passing monitoring time in the payout control monitoring timer (step S642). The payout passing monitoring time is a time that has a margin in the time from when the last payout ball is paid out by the payout motor 289 until it passes through the payout number count switch 301. Then, the value of the payout control code is set to 2 (step S643), and the process ends.

図53,図54は、払出制御コードの値が2の場合に実行される払出通過待ち処理(ステップS612)を示すフローチャートである。払出通過待ち処理では、賞球払出が行われているときには、賞球未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。なお、払出処理の開始時に、払出モータ289の回転量を決めるための払出動作カウンタに設定された値と賞球未払出個数カウンタに設定された値とは対応し、また、ここでの制御が実行されるときには払出動作カウンタの値は払出モータ289の停止(払出モータ289としては払出完了)に相当する0になっているので、賞球未払出個数カウンタの値が0になっていない場合には、払出モータ289によって所定数の払い出しがなされたはずであるにもかかわらず、球払出装置97の下部に設けられている払出個数カウントスイッチ301では所定数未満の払い出ししか検出できなかったことになる。すなわち、正常に払出が完了していないことになる。   53 and 54 are flowcharts showing the payout passing waiting process (step S612) executed when the value of the payout control code is 2. In the payout passing waiting process, when the prize ball is being paid out, it is determined that the payout has been completed normally if the value of the prize ball unpaid number counter is 0. Note that the value set in the payout operation counter for determining the rotation amount of the payout motor 289 corresponds to the value set in the award ball non-payout number counter at the start of the payout process, and the control here is performed. When executed, the value of the payout operation counter is 0 corresponding to the stop of the payout motor 289 (the payout motor 289 has been paid out). The payout motor 289 should have made a predetermined number of payouts, but the payout number count switch 301 provided at the bottom of the ball payout device 97 could only detect less than a predetermined number of payouts. Become. That is, the payout has not been completed normally.

そして、賞球未払出個数カウンタの値が0になっていない場合には、エラー状態でなければ、遊技球の再払出動作を試みる。再払出動作において払出個数カウントスイッチ301によって遊技球が実際に払い出されたことが検出されたら正常に払出が完了したと判定される。   When the value of the award ball unpaid-out counter is not 0, if the error ball is not in an error state, a game ball re-payout operation is attempted. In the re-payout operation, when it is detected by the payout number count switch 301 that the game ball is actually paid out, it is determined that the payout has been completed normally.

また、球貸し払出が行われているときには、球貸し未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。球貸し未払出個数カウンタの値が0になっていない場合には、エラー状態でなければ、遊技球または球貸し残数(球貸し未払出個数カウンタの値に相当)の再払出動作を試みる。   Further, when the ball lending is being paid out, it is determined that the payout has been completed normally if the value of the ball lending unpaid-out counter is 0. If the value of the ball lending unpaid number counter is not 0, if it is not an error state, a re-payout operation of the game ball or the remaining number of ball lending (corresponding to the value of the ball lending unpaid number counter) is attempted.

以上の説明の具体的な処理として、払出通過待ち処理において、払出制御用CPU371は、払出制御タイマの値が0でなければ、払出制御タイマの値を−1する(ステップS651)。そして、払出制御タイマの値が0になっていなければ(ステップS652)、すなわち払出制御タイマがタイムアウトしていなければ処理を終了する。   As a specific process of the above description, in the payout passing waiting process, the payout control CPU 371 decrements the value of the payout control timer by 1 if the value of the payout control timer is not 0 (step S651). If the value of the payout control timer is not 0 (step S652), that is, if the payout control timer has not timed out, the process is terminated.

払出制御タイマがタイムアウトしていれば(ステップS652)、球貸し払出処理(球貸し動作)を実行していたか否か判定する(ステップS653)。球貸し動作を実行していたか否かは、RAMに形成されている払出制御状態フラグにおける球貸し動作中ビットがセットされているか否かによって確認される。球貸し動作を実行していない場合、すなわち、賞球払出処理(賞球動作)を実行していた場合には、払出制御用CPU371は、賞球未払出個数カウンタの値を確認する(ステップS654)。賞球未払出個数カウンタの値が0になっている場合には、正常に賞球払出処理が完了したとして、以下の処理を行う。   If the payout control timer has timed out (step S652), it is determined whether or not a ball lending payout process (ball lending operation) has been executed (step S653). Whether or not the ball lending operation has been executed is confirmed by whether or not the ball lending operation in progress flag in the payout control state flag formed in the RAM is set. When the ball lending operation is not executed, that is, when the prize ball payout process (prize ball operation) is executed, the payout control CPU 371 checks the value of the award ball unpaid number counter (step S654). ). If the value of the prize ball unpaid number counter is 0, the following process is performed assuming that the prize ball payout process is normally completed.

すなわち、賞球払出予定総数カウンタ(PA)の内容から、前回賞球払出予定総数カウンタ(PB)に設定されている値を減算する(ステップS671)。そして、前回賞球払出予定総数カウンタ(PB)の内容を0にクリア(初期化)する(ステップS672)。   That is, the value set in the previous prize ball payout total counter (PB) is subtracted from the contents of the prize ball payout total counter (PA) (step S671). Then, the content of the previous winning ball payout scheduled total counter (PB) is cleared (initialized) to 0 (step S672).

また、払出制御状態フラグにおける再払出動作中ビット、賞球動作中フラグおよび球貸し動作中ビットをリセットし(ステップS655)、払出制御コードを0にして(ステップS656)、処理を終了する。なお、再払出動作中ビットは、再払出処理を実行する際に用いられる制御ビットである。   Further, the re-payout operation bit, the winning ball operation flag and the ball lending operation bit in the payout control state flag are reset (step S655), the payout control code is set to 0 (step S656), and the process is terminated. The re-payout operation bit is a control bit used when executing the re-payout process.

なお、ステップS671において、賞球払出予定総数カウンタ(PA)の内容を0クリアせずに、前回賞球払出予定総数カウンタ(PB)の内容が減算されるようにするのは、払出通過待ち処理の実行中に、新たな賞球個数指令を受信して賞球払出予定総数カウンタ(PA)の内容が増加している場合があることを考慮してのことである。   In step S671, the content of the previous total number of payout balls counter (PB) is subtracted without clearing the content of the total number of payballs scheduled to be paid out (PA). In consideration of the fact that a new prize ball number command is received and the contents of the prize ball payout scheduled total counter (PA) may increase during the execution of.

また、図53には明示されていないが、払出通過待ち処理の実行中では、上乗せ処理を実行しないようにする。実行してしまうと、前回賞球払出予定総数カウンタ(PB)の内容が更新されたにも関わらず、ステップS672の初期化処理が実行されることによって、前回賞球払出予定総数カウンタ(PB)の内容が0にされてしまい、賞球払出数が正確にならないことがあるからである。また、賞球未払出個数カウンタの値が増えてしまって(ステップS696参照)、ステップS654のチェック処理が正常に実行できないからである。   Further, although not explicitly shown in FIG. 53, the addition process is not executed while the payout passing waiting process is being executed. If executed, the initialization process of step S672 is executed in spite of the content of the previous winning ball payout scheduled total counter (PB) being updated, whereby the previous winning ball payout scheduled total counter (PB). This is because the number of prize balls paid out may not be accurate. Also, the value of the award ball unpaid out counter is increased (see step S696), and the check process in step S654 cannot be executed normally.

払出制御用CPU371は、賞球未払出個数カウンタの値が0になっていない場合には、エラーフラグ(具体的には、払出スイッチ異常エラー1ビット、払出スイッチ異常エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビット)がセットされていないことを条件として(ステップS659)、再払出動作を実行する。なお、エラーフラグがセットされている場合には、再払出動作を実行しない。   The payout control CPU 371 determines that an error flag (specifically, a payout switch error error 1 bit, a payout switch error error 2 bit, and a payout case error bit when the value of the award ball unpaid number counter is not 0. The re-payout operation is executed on the condition that any one or a plurality of bits) is not set (step S659). If the error flag is set, the re-payout operation is not executed.

再払出処理を実行するために、払出制御用CPU371は、まず、再払出動作中ビットがセットされているか否か確認する(ステップS661)。セットされていなければ、再払出動作中ビットをセットし(ステップS662)、払出動作カウンタに賞球未払出数個数カウンタまたは球貸し未払出数個数カウンタの値に相当する値をセットする(ステップS663)。その後、払出制御コードを1にして(ステップS664)、処理を終了する。   In order to execute the re-payout process, the pay-out control CPU 371 first checks whether or not the re-payout operation in-progress bit is set (step S661). If not set, the re-payout operation in-progress bit is set (step S662), and a value corresponding to the value of the award ball unpaid number counter or the ball lending unpaid number counter is set in the payout operation counter (step S663). ). Thereafter, the payout control code is set to 1 (step S664), and the process is terminated.

ステップS661において、再払出動作中ビットがセットされていることを確認したら、払出制御用CPU371は、再払出処理を実行しても遊技球が払い出されなかった(払出個数カウントスイッチ301が遊技球を検出しなかった)として、エラーフラグにおける払出ケースエラービットをセットする(ステップS666)。その際に、再払出動作中ビットをリセットしておく(ステップS665)。そして、処理を終了する。   In step S661, when it is confirmed that the re-payout operation in-progress bit is set, the payout control CPU 371 does not pay out the game ball even when the re-payout process is executed (the payout number count switch 301 is set in the game ball). Is not detected), a payout case error bit in the error flag is set (step S666). At that time, the re-payout operation in-progress bit is reset (step S665). Then, the process ends.

以上のように、再払出処理(補正払出処理)において再払出動作を行っても遊技球が正しく払い出されない場合には、遊技球の払出動作不良として、払出個数カウントスイッチ未通過エラービット(払出ケースエラービット)がセットされる。   As described above, if the game ball is not paid out correctly even after performing the re-payout operation in the re-payout process (corrected payout process), the payout count switch non-passing error bit (payout) is assumed as a game ball payout operation failure. Case error bit) is set.

ステップS653で球貸し払出処理(球貸し動作)を実行していたことを確認すると、払出制御用CPU371は、球貸し未払出個数カウンタの値が0になっているか否か確認する(ステップS657)。0になっていれば、正常に球貸し払出処理が完了したとしてステップS655に移行する。   Upon confirming that the ball lending / dispensing process (ball lending operation) has been executed in step S653, the payout control CPU 371 confirms whether or not the value of the unlapped ball lending number counter is 0 (step S657). . If it is 0, it is determined that the ball lending / dispensing process is normally completed, and the process proceeds to step S655.

球貸し未払出個数カウンタの値が0になっていなければ、エラーフラグ(具体的には、払出スイッチ異常エラー1ビット、払出スイッチ異常エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビット)がセットされていないことを条件として(ステップS658)、再払出処理を実行する。なお、エラーフラグがセットされている場合には、再払出処理を実行しない。   If the value of the ball lending unpaid number counter is not 0, an error flag (specifically, any one bit of the payout switch abnormal error 1 bit, the payout switch abnormal error 2 bit, and the payout case error bit) On the condition that (multiple bits) is not set (step S658), the re-payout process is executed. If the error flag is set, the re-payout process is not executed.

図55は、払出モータ制御処理(ステップS768)において実行される球噛み検出処理を説明するためのタイミング図である。払出モータ制御処理における払出モータ定速処理(ステップS524)では、払出制御用CPU371は、払出モータ位置センサ295の検出信号を監視している。払出モータ位置センサ295の検出信号は、例えば、払出モータ289と連動して回転するカムが1回転する毎に2回オン状態になる。カムが1回転する毎に検出信号が2回出力されるようにするために、カムにおいて、払出モータ位置センサ295における発光部からの光を受ける部分における2箇所(軸に対して対称な位置)に反射体が設けられている。そして、払出モータ位置センサ295における受光部の出力を検出信号とする。   FIG. 55 is a timing chart for explaining the ball biting detection process executed in the payout motor control process (step S768). In the payout motor constant speed process (step S524) in the payout motor control process, the payout control CPU 371 monitors the detection signal of the payout motor position sensor 295. The detection signal of the payout motor position sensor 295 is turned on twice, for example, every time the cam that rotates in conjunction with the payout motor 289 rotates once. In order for the detection signal to be output twice each time the cam rotates once, the cam has two locations in the portion that receives light from the light emitting portion in the payout motor position sensor 295 (positions symmetrical with respect to the axis). Is provided with a reflector. The output of the light receiving unit in the dispensing motor position sensor 295 is used as a detection signal.

従って、払出制御用CPU371は、払出モータ289に対して1/2回転以上のステップ数の励磁パターンを与えたにもかかわらず、払出モータ位置センサ295の検出信号がオン状態にならない場合には、実際には、カムの部分等にごみなどの異物が付着して遊技球が詰まった(球噛みが生じた)こと等に起因して払出モータ289が回転せず、その結果、カムが回転していないと判断することができる。   Therefore, even if the payout control CPU 371 gives an excitation pattern having a step number of 1/2 rotation or more to the payout motor 289, the detection signal of the payout motor position sensor 295 does not turn on. Actually, the payout motor 289 does not rotate due to foreign matter such as dust adhering to the cam portion and the like, and the game ball is clogged (ball biting has occurred). As a result, the cam rotates. It can be judged that it is not.

この実施の形態では、払出モータ289は、16ステップ(1ステップあたり2.087ms)分の励磁パターンを受けると1回転して2個の遊技球を払い出す。そして、払出制御用CPU371は、例えば、図55に示すように、払出制御用CPU371は、払出モータ289に対して8ステップ分の励磁パターンを与える毎に払出モータ位置センサ295の検出信号を確認して、払出モータ289が回転しているか否か判定する。そして、5回連続して同一状態(払出モータ位置センサ295の検出信号がオフ状態が5回連続、またはオン状態が5回連続)であったら、球噛みが生じたとして、払出モータ制御処理において球噛み解除処理を実行する。   In this embodiment, when the payout motor 289 receives an excitation pattern for 16 steps (2.087 ms per step), it makes one rotation and pays out two game balls. Then, for example, as shown in FIG. 55, the payout control CPU 371 checks the detection signal of the payout motor position sensor 295 every time the payout motor 371 gives an excitation pattern of 8 steps to the payout motor 289. Thus, it is determined whether or not the payout motor 289 is rotating. Then, if the same state is detected five times continuously (the detection signal of the dispensing motor position sensor 295 is turned off five times continuously or turned on five times continuously), it is determined that ball engagement has occurred. A ball biting release process is executed.

払出制御用CPU371は、球噛み解除処理において、図56に示すように、払出モータ289を高速回転させる処理と中速回転させる処理とを所定回(例えば9回)繰り返す。そして、払出モータ289に対して8ステップ分の励磁パターンを与える毎に払出モータ位置センサ295の検出信号を確認して、払出モータ289が回転しているか否か判定する。検出信号によって払出モータ289の回転が復旧したと判断される場合には、球噛み解除処理を終了して、通常の球払出処理に戻る。   As shown in FIG. 56, the payout control CPU 371 repeats a process of rotating the payout motor 289 at a high speed and a process of rotating it at a medium speed a predetermined number of times (for example, 9 times). Each time an excitation pattern for 8 steps is given to the payout motor 289, the detection signal of the payout motor position sensor 295 is checked to determine whether or not the payout motor 289 is rotating. If it is determined by the detection signal that the rotation of the payout motor 289 has been restored, the ball biting release process is terminated, and the normal ball payout process returns.

高速回転させる処理と中速回転させる処理とを所定回実行しても払出モータ位置センサ295の検出信号に変化が生じなかった場合には、エラーフラグのうち、球噛みエラービット(払出ケースエラービット)をセットする。なお、払出ケースエラービットがセットされている場合には、払出制御用CPU371は、払出モータ289を駆動しない。また、払出ケースエラービットがリセットされると(図58におけるステップS807参照)、払出制御用CPU371は、払出モータ289を駆動できる状態に戻る。   If there is no change in the detection signal of the payout motor position sensor 295 even if the high speed rotation process and the medium speed rotation process are executed a predetermined number of times, the ball biting error bit (payout case error bit) of the error flag is displayed. ) Is set. When the payout case error bit is set, the payout control CPU 371 does not drive the payout motor 289. When the payout case error bit is reset (see step S807 in FIG. 58), the payout control CPU 371 returns to a state where the payout motor 289 can be driven.

このように、払出制御手段は、払出手段の動作状態を監視する駆動状態監視手段と、駆動状態監視手段が払出手段の動作不良を検出したときに払出手段の駆動を停止させる駆動停止手段とを含む。   Thus, the payout control means includes a drive state monitoring means for monitoring the operating state of the payout means, and a drive stop means for stopping the driving of the payout means when the drive state monitoring means detects a malfunction of the payout means. Including.

次に、エラー処理について説明する。図57は、エラーの種類とエラー表示用LED374の表示との関係等を示す説明図である。図57に示すように、主基板31からの接続確認信号がオフ状態になった場合には、払出制御用CPU371は、主基板未接続エラーとして、エラー表示用LED374に「1」を表示する制御を行う。払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分において球詰まりが発生した場合には、払出スイッチ異常検知エラー1として、エラー表示用LED374に「2」を表示する制御を行う。なお、払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分において球詰まりが発生したことは、払出個数カウントスイッチ301の検出信号がオフ状態にならなかったことによって判定される。   Next, error processing will be described. FIG. 57 is an explanatory diagram showing the relationship between the type of error and the display of the LED 374 for error display. As shown in FIG. 57, when the connection confirmation signal from the main board 31 is turned off, the payout control CPU 371 displays “1” on the error display LED 374 as a main board non-connection error. I do. When the disconnection of the payout count switch 301 or a ball clogging occurs at the payout count switch 301, the error display LED 374 is controlled to display “2” as the payout switch abnormality detection error 1. The disconnection of the payout number count switch 301 or the occurrence of ball clogging in the payout number count switch 301 is determined by the detection signal of the payout number count switch 301 not being turned off.

遊技球の払出動作中でないにも関わらず払出個数カウントスイッチ301の検出信号がオン状態になった場合には、払出スイッチ異常検知エラー2として、エラー表示用LED374に「3」を表示する制御を行う。払出モータ289の回転異常または遊技球が払い出されたにも関わらず払出個数カウントスイッチ301の検出信号がオン状態にならない場合には、払出ケースエラーとして、エラー表示用LED374に「4」を表示する制御を行う。払出個数カウントスイッチ301の検出信号がオン状態にならないことの具体的な検出方法は既に説明したとおりである。不正なタイミングで賞球REQ信号がオン状態になった場合、または不正なタイミングで賞球REQ信号がオフ状態になった場合には、賞球REQ信号エラーとして、エラー表示用LED374に「5」を表示する制御を行う。不正なタイミングで賞球REQ信号がオン状態またはオフ状態になったことの具体的な検出方法は既に説明したとおりである。   When the detection signal of the payout number count switch 301 is turned on even though the game ball is not paying out, a control for displaying “3” on the error display LED 374 as a payout switch abnormality detection error 2 is performed. Do. If the detection signal of the payout count switch 301 does not turn on despite the rotation abnormality of the payout motor 289 or the game ball being paid out, “4” is displayed on the error display LED 374 as a payout case error. Control. The specific method for detecting that the detection signal of the payout number count switch 301 is not turned on is as described above. When the prize ball REQ signal is turned on at an improper timing or when the prize ball REQ signal is turned off at an improper timing, “5” is displayed in the error display LED 374 as a prize ball REQ signal error. Control to display. A specific method for detecting that the prize ball REQ signal is turned on or off at an incorrect timing is as described above.

また、下皿満タン状態すなわち満タンスイッチ48がオン状態になった場合には、満タンエラーとして、エラー表示用LED374に「6」を表示する制御を行う。補給球の不足状態すなわち球切れスイッチ187がオン状態になった場合には、球切れエラーとして、エラー表示用LED374に「7」を表示する制御を行う。   In addition, when the lower pan is full, that is, when the full switch 48 is turned on, control is performed to display “6” on the error display LED 374 as a full error. When the supply ball is insufficient, that is, when the ball break switch 187 is turned on, control is performed to display “7” on the error display LED 374 as a ball break error.

さらに、カードユニット50からのVL信号がオフ状態になった場合には、プリペイドカードユニット未接続エラーとして、エラー表示用LED374に「8」を表示する制御を行う。不正なタイミングでカードユニット50と通信がなされた場合には、プリペイドカードユニット通信エラーとして、エラー表示用LED374に「9」を表示する制御を行う。なお、プリペイドカードユニット通信エラーは、プリペイドカードユニット制御処理(ステップS754)において検出される。   Further, when the VL signal from the card unit 50 is turned off, control is performed to display “8” on the error display LED 374 as a prepaid card unit unconnected error. When communication with the card unit 50 is performed at an improper timing, control is performed to display “9” on the error display LED 374 as a prepaid card unit communication error. The prepaid card unit communication error is detected in the prepaid card unit control process (step S754).

また、電力供給開始時において主基板31から払出起動コマンドを受信しなかったことに起因してセットされた起動エラービットがセットされた場合には、エラー表示用LED374に「A」を表示する制御を行う。   In addition, when the start error bit set due to not receiving the payout start command from the main board 31 at the start of power supply is set, control for displaying “A” on the error display LED 374. I do.

以上のエラーのうち、払出スイッチ異常検知エラー2、払出ケースエラー、賞球REQ信号エラーまたは起動エラーが発生した後、エラー解除スイッチ375が操作されエラー解除スイッチ375から操作信号が出力されたら(オン状態になったら)、払出制御手段は、エラーが発生する前の状態に復帰する。   Among the above errors, after a payout switch abnormality detection error 2, a payout case error, a prize ball REQ signal error or a start-up error occurs, the error release switch 375 is operated and an operation signal is output from the error release switch 375 (ON When the state is reached, the payout control means returns to the state before the error occurred.

なお、起動エラーについては、エラー解除スイッチ375から操作信号が出力されても、エラーが発生する前の状態に復帰しないように構成してもよい。   As for the startup error, even if an operation signal is output from the error release switch 375, it may be configured not to return to the state before the error occurred.

図58は、ステップS757のエラー処理を示すフローチャートである。エラー処理において、払出制御用CPU371は、エラーフラグをチェックし、そのうちのセットされているビットが、払出スイッチ異常検知エラー2、払出ケースエラー、賞球REQ信号エラーまたは起動エラービットのみ(4つのうちのいずれかのビットのみ、4つのうちの2ビットのみ、4つのうちの3ビットのみ、またはそれら4ビットのみ)であるか否か確認する(ステップS801)。セットされているビットがそれらのみである場合には、エラー解除スイッチ375から操作信号がオン状態になったか否か確認する(ステップS802)。なお、払出制御用CPU371は、払出ケースエラーのエラービットがセットされているエラー状態において、払出個数カウントスイッチ301が遊技球の払い出しを検出したとしても、エラー解除スイッチ375からの操作信号がオン状態にならない限り、払出ケースエラーのエラービットをリセットしない(ステップS803〜S807参照)。すなわち、払出検出手段が未だ払い出されていない景品遊技媒体の払出を検出してもエラー状態を継続させる。操作信号がオン状態になったら、エラー復帰時間をエラー復帰前タイマにセットする(ステップS803)。エラー復帰時間は、エラー解除スイッチ375が操作されてから、実際にエラー状態から通常状態に復帰するまでの時間である。   FIG. 58 is a flowchart showing the error processing in step S757. In the error processing, the payout control CPU 371 checks the error flag, and the set bits are only the payout switch abnormality detection error 2, the payout case error, the winning ball REQ signal error, or the start error bit (out of four). It is confirmed whether or not only one of the two bits is, only two of the four bits, only three of the four bits, or only four of them (step S801). If only those bits are set, it is confirmed whether or not the operation signal is turned on from the error release switch 375 (step S802). The payout control CPU 371 does not turn on the operation signal from the error release switch 375 even if the payout number count switch 301 detects the payout of the game ball in the error state in which the payout case error bit is set. Unless this happens, the error bit of the payout case error is not reset (see steps S803 to S807). That is, even if the payout detecting means detects payout of a prize game medium that has not been paid out, the error state is continued. When the operation signal is turned on, the error recovery time is set in the pre-error recovery timer (step S803). The error recovery time is the time from when the error release switch 375 is operated until the actual return from the error state to the normal state.

エラー解除スイッチ375から操作信号がオン状態でない場合には、エラー復帰前タイマの値を確認する(ステップS804)。エラー復帰前タイマの値が0であれば、すなわち、エラー復帰前タイマがセットされていなければ、ステップS808に移行する。エラー復帰前タイマがセットされていれば、エラー復帰前タイマの値を−1し(ステップS805)、エラー復帰前タイマの値が0になったら(ステップS806)、エラーフラグのうちの、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのビットをリセットし(ステップS807)、ステップS808に移行する。   If the operation signal from the error release switch 375 is not on, the value of the timer before error recovery is confirmed (step S804). If the value of the timer before error recovery is 0, that is, if the timer before error recovery is not set, the process proceeds to step S808. If the pre-error recovery timer is set, the value of the pre-error recovery timer is decremented by -1 (step S805). If the pre-error recovery timer value becomes 0 (step S806), the payout switch of the error flags The bits of the abnormality detection error 2, the payout case error and the prize ball REQ signal error are reset (step S807), and the process proceeds to step S808.

なお、ステップS807の処理が実行されるときに、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのビットのうちには、セット状態ではないエラービットがある場合もあるが、セット状態にないエラービットをリセットしても何ら問題はない。以上のように、この実施の形態では、払出スイッチ異常検知エラー2、払出ケースエラーまたは賞球REQ信号エラーのビットをセットする原因になったエラー(図57参照)が発生した場合には、エラー解除スイッチ375が押下されることによってエラー解除される。   When the processing of step S807 is executed, there may be an error bit that is not in the set state among the bits of the payout switch abnormality detection error 2, the payout case error, and the prize ball REQ signal error. There is no problem resetting error bits that are not in the state. As described above, in this embodiment, when an error (see FIG. 57) that causes the setting of the payout switch abnormality detection error 2, the payout case error, or the prize ball REQ signal error bit occurs, an error occurs. The error is released when the release switch 375 is pressed.

ステップS807の処理が実行されて払出ケースエラービットがリセットされた場合には、払出制御コードが「2」(図53〜図54に示す払出通過待ち処理の実行に対応)であって、賞球未払出個数カウンタの値または球貸し未払出個数カウンタの値が0でないときには、遊技球払出のリトライ動作が開始される。つまり、次にステップS766の賞球球貸し制御処理が実行されるときにステップS612の払出通過待ち処理が実行されると、再び、再払出処理が行われる。例えば、賞球払出処理が行われていた場合には、賞球未払出個数カウンタの値が0でないときには、ステップS654からステップS659に移行し、ステップS659においてエラービットがリセット状態であることが確認されるので、ステップS662以降の再払出処理を開始するための処理が再度実行され、再払出処理が実行される。なお、エラー解除スイッチ375が押下されることによってリセットされた払出ケースエラービットに関して、そのビットがセットされたときには(ステップS666が実行されたとき)、払出制御タイマは既にタイムアップしている。従って、ステップS807の処理が実行されて払出ケースエラービットがリセットされた場合には、次に払出通過待ち処理が実行されるときには、ステップS652の判断において払出制御タイマ=0と判定される。また、払出ケースエラービットがセットされたときには再払出動作中ビットは0である(ステップS665で再払出動作中ビットが0とされたあとステップS666が実行されるため)。従って、ステップS659においてエラービットがリセット状態であることが確認されると、必ずステップS662が実行される。つまり、必ず、再払出処理が実行される。   When the process of step S807 is executed and the payout case error bit is reset, the payout control code is “2” (corresponding to the execution of the payout passing waiting process shown in FIGS. 53 to 54), and the prize ball When the value of the unpaid-out number counter or the value of the ball-lending unpaid-out number counter is not 0, a retry operation for game ball payout is started. That is, when the award ball lending control process of step S766 is executed next, when the payout passing waiting process of step S612 is executed, the repayment process is performed again. For example, if a prize ball payout process has been performed and the value of the prize ball unpaid number counter is not 0, the process proceeds from step S654 to step S659, and it is confirmed in step S659 that the error bit is in a reset state. Therefore, the process for starting the re-payout process after step S662 is executed again, and the re-payout process is executed. In addition, regarding the payout case error bit reset by pressing the error release switch 375, when the bit is set (when step S666 is executed), the payout control timer has already expired. Therefore, when the process in step S807 is executed and the payout case error bit is reset, the payout control timer = 0 is determined in the determination in step S652 when the payout passage waiting process is executed next. When the payout case error bit is set, the re-payout operation in-progress bit is 0 (since the re-payout operation in-progress bit is set to 0 in step S665, step S666 is executed). Therefore, step S662 is always executed whenever it is confirmed in step S659 that the error bit is in the reset state. That is, the re-payout process is always executed.

以上のように、払出制御手段は、球払出装置97が遊技球の払い出しを行ったにもかかわらず払出個数カウントスイッチ301が1個も遊技球を検出しなかったときには遊技球を払い出すためのリトライ動作をあらかじめ決められた所定回(例えば2回)を限度として球払出装置97に実行させる補正払出制御を行った後、払出個数カウントスイッチ301が1個も遊技球を検出しなかったことが検出されたときには(図54のステップS661以降を参照)、払い出しに関わる制御状態をエラー状態に移行させ、エラー状態においてエラー解除スイッチ375からエラー解除信号が出力されたことを条件に再度補正払出制御を行わせる補正払出制御再起動処理を実行する。   As described above, the payout control means is used to pay out a game ball when the payout number count switch 301 detects no game ball even though the ball payout device 97 pays out a game ball. After performing the correct payout control for causing the ball payout device 97 to execute the retry operation for a predetermined number of times (for example, twice) as a limit, the payout number count switch 301 has detected no game balls. When it is detected (see step S661 and after in FIG. 54), the control state related to the payout is shifted to the error state, and the correction payout control is performed again on the condition that the error release signal is output from the error release switch 375 in the error state. A correction payout control restart process for executing

さらに、エラー状態における再払出処理の実行中(具体的には払出ケースエラーをセットする前の再払出処理中およびエラー解除スイッチ375押下後の再払出処理中)でも、図49に示すステップS601〜S604の処理は実行されている。すなわち、払い出しに関わるエラーが生じているときでも、遊技球が払出個数カウントスイッチ301を通過すれば、賞球未払出個数カウンタや球貸し未払出個数カウンタの値が減算される。従って、エラー状態から復帰したときの賞球未払出個数カウンタや球貸し未払出個数カウンタの値は、実際に払い出された遊技球数を反映した値になっている。すなわち、払い出しに関わるエラーが発生しても、実際に払い出した遊技球数を正確に管理することができる。   Further, even during re-payout processing in an error state (specifically, during re-payout processing before setting a payout case error and during re-payout processing after the error release switch 375 is pressed), steps S601 to S601 shown in FIG. The process of S604 is being executed. That is, even when an error relating to payout occurs, if the game ball passes the payout number count switch 301, the value of the award ball unpaid number counter or the ball lending unpaid number counter is subtracted. Therefore, the value of the award ball unpaid number counter or the ball lending unpaid number counter when returning from the error state is a value reflecting the number of game balls actually paid out. That is, even if an error related to payout occurs, the number of game balls actually paid out can be accurately managed.

また、図53〜図54に示された払出通過待ち処理において、再払出処理が実行された結果、遊技球が払い出されたことが確認されたときでも、払出ケースエラーのビットはリセットされない。払出ケースエラーのビットがリセットされるのは、あくまでも、エラー解除スイッチ375が操作されたとき(具体的は、操作後エラー復帰時間が経過したとき)である(ステップS802,S807)。すなわち、遊技球が払出個数カウントスイッチ301を通過したこと等にもとづいて自動的に払出ケースエラー(払出不足エラー)の状態が解除されるということはなく、人為的な操作を経ないと払出ケースエラーは解除されない。従って、遊技店員等は、確実に払出不足が発生したことを認識することができる。   Also, in the payout passing waiting process shown in FIGS. 53 to 54, even when it is confirmed that the game ball has been paid out as a result of the re-payout process, the payout case error bit is not reset. The bit of the payout case error is reset only when the error release switch 375 is operated (specifically, when an error return time after operation has elapsed) (steps S802 and S807). That is, the state of the payout case error (payout shortage error) is not automatically canceled based on the fact that the game ball has passed the payout number count switch 301, etc. The error is not cleared. Therefore, the game store clerk and the like can surely recognize that a shortage of payout has occurred.

エラー解除スイッチ375が操作されたことによってハードウェア的にリセット(払出制御用CPU371に対するリセット)がかかるように構成されている場合には、エラー解除スイッチ375が操作されたことによって例えば賞球未払出個数カウンタの値もクリアされてしまう。しかし、この実施の形態では、払出制御手段が、エラー解除スイッチ375が操作されたことによって再払出動作を再び行うように構成されているので、確実に払出処理が実行され、遊技者に不利益を与えないようにすることができる。   When the error cancel switch 375 is operated so as to be reset in hardware (reset to the payout control CPU 371), the error cancel switch 375 is operated, for example, a prize ball has not been paid out. The value of the number counter is also cleared. However, in this embodiment, since the payout control means is configured to perform the re-payout operation again by operating the error release switch 375, the payout process is executed reliably, which is disadvantageous to the player. Can not be given.

ステップS808では、払出制御用CPU371は、満タンスイッチ48の検出信号を確認する。満タンスイッチ48の検出信号が出力されていれば(オン状態であれば)、エラーフラグのうちの満タンエラービットをセットする(ステップS809)。満タンスイッチ48の検出信号がオフ状態であれば、満タンエラービットをリセットする(ステップS810)。   In step S808, the payout control CPU 371 checks the detection signal of the full tank switch 48. If the detection signal of the full tank switch 48 is output (if it is in the ON state), the full tank error bit in the error flag is set (step S809). If the detection signal of the full tank switch 48 is in the OFF state, the full tank error bit is reset (step S810).

また、払出制御用CPU371は、球切れスイッチ187の検出信号を確認する(ステップS811)。球切れスイッチ187の検出信号が出力されていれば(オン状態であれば)、エラーフラグのうちの球切れエラービットをセットする(ステップS812)。球切れスイッチ187の検出信号がオフ状態であれば、球切れエラービットをリセットする(ステップS813)。なお、球切れエラービットをセットされているときには、ステップS771の表示制御処理において、出力ポート1バッファにおける球切れLED52に対応したビットを点灯状態に対応した値にする。   Also, the payout control CPU 371 checks the detection signal of the ball break switch 187 (step S811). If the detection signal of the ball break switch 187 is output (if it is on), the ball break error bit in the error flag is set (step S812). If the detection signal of the ball break switch 187 is OFF, the ball break error bit is reset (step S813). When the ball break error bit is set, the bit corresponding to the ball break LED 52 in the output port 1 buffer is set to a value corresponding to the lighting state in the display control processing in step S771.

さらに、払出制御用CPU371は、図59に示すように、主基板31からの接続確認信号の状態を確認し(ステップS815)、接続確認信号が出力されていなければ(オフ状態であれば)、主基板未接続エラービットをセットする(ステップS816)。また、接続確認信号が出力されていれば(オン状態であれば)、主基板未接続エラービットをリセットする(ステップS817)。   Further, as shown in FIG. 59, the payout control CPU 371 checks the state of the connection confirmation signal from the main board 31 (step S815). If the connection confirmation signal is not output (if it is in the off state), The main board unconnected error bit is set (step S816). If the connection confirmation signal is output (if it is on), the main board non-connection error bit is reset (step S817).

また、払出制御用CPU371は、各スイッチの検出信号の状態が設定される各スイッチタイマのうち払出個数カウントスイッチ301に対応したスイッチタイマの値を確認し、その値がスイッチオン最大時間(例えば「240」)を越えていたら(ステップS818)、エラーフラグのうち払出スイッチ異常検知エラー1のビットをセットする(ステップS819)。また、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン最大時間以下であれば、払出スイッチ異常検知エラー1のビットをリセットする(ステップS820)。なお、各スイッチタイマの値は、ステップS761のスイッチチェック処理において、各スイッチの検出信号を入力する入力ポートの状態がスイッチオン状態であれば+1され、オフ状態であれば0クリアされる。従って、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン最大時間を越えていたということは、スイッチオン最大時間を越えて払出個数カウントスイッチ301がオン状態になっていることを意味し、払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分で遊技球が詰まっていると判断される。   Further, the payout control CPU 371 checks the value of the switch timer corresponding to the payout number count switch 301 among the switch timers in which the state of the detection signal of each switch is set, and the value is the switch on maximum time (for example, “ 240 ") (step S818), the bit of the payout switch abnormality detection error 1 is set in the error flag (step S819). If the value of the switch timer corresponding to the payout number count switch 301 is less than the switch-on maximum time, the bit of the payout switch abnormality detection error 1 is reset (step S820). Note that the value of each switch timer is incremented by 1 when the state of the input port to which the detection signal of each switch is input is switched on in the switch check process of step S761, and is cleared by 0 when it is off. Accordingly, the fact that the value of the switch timer corresponding to the payout number count switch 301 exceeds the maximum switch-on time means that the payout number count switch 301 is in the ON state beyond the maximum switch-on time. Then, it is determined that the game ball is clogged at the disconnection of the payout number count switch 301 or at the portion of the payout number count switch 301.

また、払出制御用CPU371は、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン判定値(例えば「2」)になった場合に(ステップS821)、球貸し動作中フラグおよび賞球動作中フラグがともにリセット状態であれば、払出動作中でないのに払出個数カウントスイッチ301を遊技球が通過したとして、エラーフラグのうち払出スイッチ異常検知エラー2のビットをセットする(ステップS822,S823)。また、球貸し動作中フラグまたは賞球動作中フラグがセットされていれば、払出スイッチ異常検知エラー2のビットをリセットする(ステップS824)。   Further, the payout control CPU 371, when the value of the switch timer corresponding to the payout number count switch 301 becomes a switch-on determination value (eg, “2”) (step S821), the ball lending operation flag and the winning ball operation If both the middle flags are in the reset state, the game ball has passed through the payout number count switch 301 even though the payout operation is not in progress, and the bit of the payout switch abnormality detection error 2 in the error flag is set (steps S822 and S823). . If the ball lending operation flag or the winning ball operation flag is set, the bit of the payout switch abnormality detection error 2 is reset (step S824).

さらに、払出制御用CPU371は、カードユニット50からのVL信号の入力状態を確認し(ステップS825)、VL信号が入力されていなければ(オフ状態であれば)、エラーフラグのうちプリペイドカードユニット未接続エラービットをセットする(ステップS826)。また、VL信号が入力されていれば(オン状態であれば)、プリペイドカードユニット未接続エラービットをリセットする(ステップS827)。   Further, the payout control CPU 371 checks the input state of the VL signal from the card unit 50 (step S825). If the VL signal is not input (if it is in the OFF state), the prepaid card unit not yet out of the error flags is displayed. A connection error bit is set (step S826). If the VL signal is input (if it is on), the prepaid card unit unconnected error bit is reset (step S827).

また、払出制御用CPU371は、エラーフラグのうち所定のエラービット(この例では満タンエラービット、球切れエラービット、主制御未接続エラービット)の状態を確認し(ステップS828a)、所定のエラービットのうちのいずれかのエラービットがセットされていれば、払出エラー信号をオン状態とする(ステップS828b)。また、所定のエラービットのすべてがリセット状態とされていれば、払出エラー信号をオフ状態とする(ステップS828c)。   Further, the payout control CPU 371 checks the state of predetermined error bits (in this example, full error bit, ball out error bit, main control unconnected error bit) in the error flag (step S828a), and the predetermined error If any of the error bits is set, the payout error signal is turned on (step S828b). If all the predetermined error bits are in the reset state, the payout error signal is turned off (step S828c).

なお、ステップS759の表示制御処理では、エラーフラグ中のエラービットに応じた表示(数値表示)による報知をエラー表示用LED374によって行う。   In the display control process in step S759, notification by display (numerical value display) corresponding to the error bit in the error flag is performed by the error display LED 374.

なお、この実施の形態では、主基板未接続エラーは接続確認信号がオン状態になると自動的に解消されるが(ステップS815,S817参照)、さらにエラー解除スイッチ375が操作されたという条件を加えて、エラー状態が解消されるようにしてもよい。   In this embodiment, the main board unconnected error is automatically eliminated when the connection confirmation signal is turned on (see steps S815 and S817), but the condition that the error cancel switch 375 is further operated is added. Thus, the error state may be eliminated.

また、この実施の形態では、通信エラーが、カードユニット50との間の通信エラー(プリペイドカードユニット未接続エラーおよびプリペイドカードユニット通信エラー)やその他のエラーと区別可能に報知される(図57参照)。従って、遊技制御手段と払出制御手段との間の通信エラーが容易に特定される。   In this embodiment, a communication error is reported so as to be distinguishable from a communication error with the card unit 50 (a prepaid card unit unconnected error and a prepaid card unit communication error) and other errors (see FIG. 57). ). Therefore, a communication error between the game control unit and the payout control unit is easily identified.

なお、この実施の形態では、払い出しに関わるエラーが発生したことを、遊技機裏面に設置されている払出制御基板37に搭載されているエラー表示LED374によって報知するようにしたが、遊技機裏面の他の箇所(例えば球払出装置97等が集中配置された払出ユニット)に報知手段を搭載してもよい。さらに、遊技機の表側に設置されている表示器(例えば賞球LED51)によって報知するようにしてもよい。払出制御用CPU371は、表示制御処理において、賞球REQ信号がオン状態であるときに、賞球LED51を点灯するための制御を行い、賞球REQ信号がオフ状態になったら、賞球LED51を消灯するための制御を行うのであるが、払い出しに関わるエラーが発生した場合には、例えば、賞球LED51を点滅させることによって、払い出しに関わるエラーが発生したことを報知する。遊技機の表側に設置されている表示器によってエラー報知すれば、遊技店員等がより容易にエラーの発生を認識できる。また、エラー表示LED374による報知と遊技機の表側に設置されている表示器による報知とを併用してもよい。   In this embodiment, the error display LED 374 mounted on the payout control board 37 installed on the back side of the gaming machine is informed that an error relating to the payout has occurred. You may mount an alerting | reporting means in other locations (For example, the payout unit in which the ball payout apparatus 97 etc. were concentratedly arranged). Furthermore, you may make it alert | report by the indicator (for example, prize ball LED51) installed in the front side of the gaming machine. In the display control process, the payout control CPU 371 performs control for turning on the prize ball LED 51 when the prize ball REQ signal is on. When the prize ball REQ signal is off, the prize ball LED 51 is displayed. Control for turning off the light is performed. When an error relating to payout occurs, for example, the prize ball LED 51 is blinked to notify that an error related to payout has occurred. If an error is notified by a display device installed on the front side of the gaming machine, the game shop clerk can more easily recognize the occurrence of the error. Moreover, you may use together the alerting | reporting by error display LED374, and the alerting | reporting by the indicator installed in the front side of the gaming machine.

図60(A)は、払出ケースエラー(払出不足エラー)の発生の様子を示すタイミング図であり、図60(B)は、エラー解除スイッチ375の操作時の様子を示すタイミング図である。   FIG. 60A is a timing chart showing a state of occurrence of a payout case error (payout shortage error), and FIG. 60B is a timing chart showing a state when the error release switch 375 is operated.

図60(A)に示すように、所定個の遊技球を払い出すために払出モータ289を回転させ、回転停止後、最後に払い出されたはずの遊技球が払出個数カウントスイッチ301を通過した後に(この例では402.087ms後に)、未払出の遊技球があるか否かが確認され(ステップS654の判定に相当)、未払出の遊技球があれば、再払出動作が実行される。図60(A)には、2回の再払出動作が実行された例が示されている。そして、2回の再払出動作が実行された場合に、払出ケースエラーと判定され(ステップS661の判定に相当)、ステップS759の表示制御処理によってエラー表示LED374に「4」が表示される(図57参照)。   As shown in FIG. 60A, the payout motor 289 is rotated to pay out a predetermined number of game balls, and after the rotation stops, the game ball that should have been paid out last passes the payout number count switch 301. Later (after 402.087 ms in this example), it is confirmed whether or not there is an unpaid game ball (corresponding to the determination in step S654), and if there is an unpaid game ball, a re-payout operation is executed. FIG. 60A shows an example in which two re-payout operations are executed. When two re-payout operations are executed, it is determined as a payout case error (corresponding to the determination in step S661), and “4” is displayed on the error display LED 374 by the display control processing in step S759 (FIG. 57).

また、図60(B)に示すように、エラー解除スイッチ375が操作されると、エラー解除時間の経過後に、再び、再払出動作が開始される。なお、図60(B)に示すように、再び再払出動作が開始されるときに、エラー表示LED374における「4」の表示が消去される。すなわち、エラー解除スイッチ375の操作後に補正払出制御が行われているときには払出不足のエラーを示す報知は行われていない。   As shown in FIG. 60B, when the error release switch 375 is operated, the re-payout operation is started again after the error release time has elapsed. As shown in FIG. 60B, when the re-payout operation is started again, the display of “4” on the error display LED 374 is erased. That is, when the corrected payout control is performed after the operation of the error release switch 375, a notification indicating an insufficient payout error is not performed.

図61は、賞球払出制御において使用されるカウンタの内容の変化の一例を示す説明図である。賞球払出予定総数カウンタ、前回賞球払出予定総数カウンタ、払出動作カウンタおよび賞球未払出個数カウンタは、初期化処理(具体的にはステップS712の処理)で0にクリアされている。その後、例えば、15個の賞球個数指令を受信した場合には、賞球REQ割込処理において、賞球払出予定総数カウンタの値が15になる。そして、賞球払出処理が開始されるときに、前回賞球払出予定総数カウンタ、払出動作カウンタおよび賞球未払出個数カウンタに15が設定される(ステップS632〜S634参照)。その後、払出モータ位置センサ295がオンする度に払出動作カウンタの値が1減算され、払出個数カウントスイッチ301がオンする度に賞球未払出個数カウンタの値が1減算される。その間に、例えば、10個の賞球個数指令を受信した場合には、コマンド解析処理において、賞球払出予定総数カウンタに10が加算されて25になる。   FIG. 61 is an explanatory diagram showing an example of changes in the contents of the counter used in the prize ball payout control. The prize ball payout scheduled total counter, the previous prize ball payout scheduled total counter, the payout operation counter, and the prize ball non-payout number counter are cleared to 0 in the initialization process (specifically, the process of step S712). Thereafter, for example, when 15 prize ball number commands are received, the value of the prize ball payout total counter is 15 in the prize ball REQ interrupt process. Then, when the prize ball payout process is started, 15 is set in the previous prize ball payout scheduled total counter, the payout operation counter, and the prize ball non-payout number counter (see steps S632 to S634). Thereafter, each time the payout motor position sensor 295 is turned on, the value of the payout operation counter is decremented by 1, and every time the payout number count switch 301 is turned on, the value of the award ball non-payout number counter is decremented by 1. In the meantime, for example, when 10 prize ball number commands are received, 10 is added to the prize ball payout scheduled total counter in the command analysis process to become 25.

すると、払出動作カウンタの値が所定値(この例では「1」、ただし所定値は1でなくてもよい。)になったときに実行される上乗せ処理によって、賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容の差分(この例では10)が、払出動作カウンタおよび賞球未払出個数カウンタに加算される。よって、払出動作カウンタおよび賞球未払出個数カウンタの値は11になる。また、前回賞球払出予定総数カウンタ(PB)の内容は、賞球払出予定総数カウンタ(PA)の内容と同じにされる(ステップS695〜S697参照)。   Then, a prize ball payout total counter (PA) is added by an addition process executed when the value of the payout operation counter reaches a predetermined value (in this example, “1”, but the predetermined value may not be 1). ) And the difference (10 in this example) between the contents of the previous award ball payout scheduled total counter (PB) are added to the payout operation counter and the award ball unpaid number counter. Accordingly, the value of the payout operation counter and the award ball non-payout number counter is 11. Further, the contents of the previous prize ball payout scheduled total counter (PB) are the same as the contents of the prize ball payout scheduled total counter (PA) (see steps S695 to S697).

その後、賞球未払出個数カウンタの値が0になって賞球払出が終了すると、賞球払出予定総数カウンタ(PA)の内容(この例では25)から前回賞球払出予定総数カウンタ(PB)の内容が減算されるとともに(この例では減算結果は0)、前回賞球払出予定総数カウンタ(PB)がクリアされる。   Thereafter, when the value of the unsuccessful prize ball counter reaches zero and the prize ball payout is completed, the previous prize ball payout total counter (PB) is determined from the content of the prize ball payout total counter (PA) (25 in this example). Is subtracted (the subtraction result is 0 in this example), and the previous award ball payout scheduled total counter (PB) is cleared.

図62は、賞球払出制御において使用されるカウンタの内容の他の変化例を示す説明図である。賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容とがともに15であって、かつ、賞球払出中に、10個の賞球個数指令を受信したとする。すると、賞球REQ割込処理において、賞球払出予定総数カウンタに10が加算されて25になる。   FIG. 62 is an explanatory diagram showing another example of changes in the contents of the counter used in the prize ball payout control. The contents of the total number of winning ball payout counter (PA) and the value of the previous winning ball payout total counter (PB) are 15, and 10 winning ball number commands are received during the paying out of the winning ball. And Then, in the prize ball REQ interrupt process, 10 is added to the prize ball payout scheduled total counter to 25.

そして、払出動作カウンタの値が所定値(例えば1)になったときに実行される上乗せ処理によって、賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容の差分(この例では10)が、払出動作カウンタおよび賞球未払出個数カウンタに加算される。よって、払出動作カウンタおよび賞球未払出個数カウンタの値は11になる。また、前回賞球払出予定総数カウンタ(PB)の内容は、賞球払出予定総数カウンタ(PA)の内容と同じにされる。   Then, by the addition process executed when the value of the payout operation counter reaches a predetermined value (for example, 1), the contents of the planned total payout ball counter (PA) and the total previous payball payout total counter (PB) (10 in this example) is added to the payout operation counter and the award ball non-payout number counter. Accordingly, the value of the payout operation counter and the award ball non-payout number counter is 11. Further, the contents of the previous winning ball payout scheduled total counter (PB) are the same as the contents of the winning ball payout scheduled total counter (PA).

賞球払出処理が継続されているときに、上乗せ処理の禁止条件が成立したとする(ステップS691,S692参照)。従って、上乗せ処理は実行されないが、その間に、15個の賞球個数指令と10個の賞球個数指令とを受信したとする。すると、コマンド解析処理において、賞球払出予定総数カウンタに15および10が加算されて50になる。   It is assumed that the prohibition condition for the extra process is satisfied when the winning ball payout process is continued (see steps S691 and S692). Therefore, it is assumed that the addition process is not executed, but 15 prize ball number commands and 10 prize ball number commands are received during that time. Then, in the command analysis process, 15 and 10 are added to the prize ball payout scheduled total counter to be 50.

上乗せ処理の禁止条件が解除されると、払出動作カウンタの値が所定値になったときに実行される上乗せ処理によって、賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容の差分(この例では25)が、払出動作カウンタおよび賞球未払出個数カウンタに加算され、払出動作カウンタおよび賞球未払出個数カウンタの値は26になる。また、前回賞球払出予定総数カウンタ(PB)の内容は、賞球払出予定総数カウンタ(PA)の内容と同じにされる。   When the prohibition condition for the extra process is canceled, the contents of the total prize ball payout counter (PA) and the previous prize ball payout total counter are executed by the extra process executed when the value of the payout operation counter reaches a predetermined value. The difference between the contents of (PB) (25 in this example) is added to the payout operation counter and the award ball unpaid number counter, and the value of the payout operation counter and the award ball unpaid number counter becomes 26. Further, the contents of the previous winning ball payout scheduled total counter (PB) are the same as the contents of the winning ball payout scheduled total counter (PA).

その後、賞球未払出個数カウンタの値が0になって賞球払出が終了すると、賞球払出予定総数カウンタ(PA)の内容(この例では50)から前回賞球払出予定総数カウンタ(PB)の内容が減算されるとともに(この例では減算結果は0)、前回賞球払出予定総数カウンタ(PB)がクリアされる。   Thereafter, when the value of the award ball unpaid number counter becomes 0 and the award ball payout is completed, the previous award ball payout total counter (PB) is determined from the content of the award ball payout total counter (PA) (50 in this example). Is subtracted (the subtraction result is 0 in this example), and the previous award ball payout scheduled total counter (PB) is cleared.

以上に説明したように、この実施の形態では、コマンド解析処理では、遊技制御手段から受信した賞球個数指令にもとづく個数を、そのときの賞球払出中の制御に用いられているカウンタ(例えば払出動作カウンタ)に直ちに加算(上乗せ)するのではなく、所定の条件(例えば払出動作カウンタの値が所定値になったこと)が成立したときに、賞球払出中の制御に用いられているカウンタに上乗せする。従って、賞球個数指令を受信する度に賞球払出中の制御に用いられているカウンタに上乗せする場合に比べて、上乗せ処理の実行回数を減らすことができる。   As described above, in this embodiment, in the command analysis process, the number based on the prize ball number command received from the game control means is used as a counter (for example, the control during the prize ball payout) (for example, Rather than immediately adding (adding) to the payout operation counter), it is used for the control during payout of a winning ball when a predetermined condition (for example, the value of the payout operation counter reaches a predetermined value) is satisfied. Add to the counter. Therefore, the number of executions of the extra process can be reduced as compared with the case where it is added to the counter used for the control during the payout of the prize ball every time the prize ball number command is received.

なお、この実施の形態では、払い出すべき賞球数が増加したか否か判定するために前回賞球払出予定総数カウンタを使用する方法を用いたが、そのような方法は一例であって、他の方法を用いてもよい。例えば、賞球払出処理開始後に受信した賞球個数指令が示す数を累積加算する累積カウンタを設け、上乗せ処理において、累積カウンタのカウント値を賞球未払出個数カウンタおよび払出動作カウンタに上乗せするとともに、累積カウンタの内容をクリアするようにしてもよい。そのように構成する場合には、累積カウンタが、賞球個数指令で指示された数が加算される景品遊技媒体数データ記憶手段に相当する。   In this embodiment, a method of using the previous award ball payout scheduled total counter is used to determine whether or not the number of prize balls to be paid out has increased, but such a method is an example, Other methods may be used. For example, a cumulative counter that cumulatively adds the number indicated by the prize ball number command received after the start of the prize ball payout process is provided, and in the addition process, the count value of the cumulative counter is added to the prize ball unpaid number counter and the payout operation counter. The contents of the cumulative counter may be cleared. In such a configuration, the cumulative counter corresponds to the prize game medium number data storage means to which the number instructed by the prize ball number command is added.

また、この実施の形態では、賞球払出予定総数カウンタと賞球未払出個数カウンタとを併用したが、いずれか一方のカウンタを用いるようにしてもよい。図63は、賞球未払出個数カウンタを用いない場合の賞球払出制御において使用されるカウンタの内容の変化の一例を示す説明図である。この場合には、払出個数カウントスイッチ301がオンすると、賞球払出予定総数カウンタおよび前回賞球払出予定総数カウンタの値が1減算される。   Further, in this embodiment, the winning ball payout total number counter and the winning ball unpaid number counter are used together, but either one of the counters may be used. FIG. 63 is an explanatory diagram showing an example of changes in the contents of the counter used in the prize ball payout control when the prize ball unpaid number counter is not used. In this case, when the number-of-payout count switch 301 is turned on, 1 is subtracted from the values of the award winning ball payout total counter and the previous winning ball payout total counter.

賞球払出予定総数カウンタ、前回賞球払出予定総数カウンタおよび払出動作カウンタは、メイン処理における初期化処理で0にクリアされる。その後、例えば、15個の賞球個数指令を受信した場合には、コマンド解析処理において、賞球払出予定総数カウンタの値が15になる。そして、賞球払出処理が開始されるときに、前回賞球払出予定総数カウンタおよび払出動作カウンタに15が設定される。その後、払出モータ位置センサ295がオンする度に払出動作カウンタの値が1減算され、払出個数カウントスイッチ301がオンする度に賞球払出予定総数カウンタおよび前回賞球払出予定総数カウンタの値が1減算される。その間に、例えば、10個の賞球個数指令を受信した場合には、コマンド解析処理において、賞球払出予定総数カウンタに10が加算される。このとき、賞球払出予定総数カウンタの値が6であれば、16に更新される。   The winning ball payout total counter, the previous winning ball payout total counter and the payout operation counter are cleared to 0 in the initialization process in the main process. Thereafter, for example, when 15 prize ball number commands are received, the value of the prize ball payout total counter is 15 in the command analysis process. When the winning ball payout process is started, 15 is set in the previous winning ball payout scheduled total counter and the payout operation counter. Thereafter, each time the payout motor position sensor 295 is turned on, the value of the payout operation counter is decremented by 1, and every time the payout number count switch 301 is turned on, the values of the award ball payout scheduled total counter and the previous award ball payout scheduled total counter are 1. Subtracted. In the meantime, for example, when 10 prize ball number commands are received, 10 is added to the prize ball payout scheduled total counter in the command analysis process. At this time, if the value of the prize ball payout scheduled total counter is 6, it is updated to 16.

そして、払出動作カウンタの値が所定値になったときに実行される上乗せ処理によって、賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容の差分(この例では10)が、払出動作カウンタに加算される。よって、払出動作カウンタの値は11になる。また、前回賞球払出予定総数カウンタ(PB)の内容は、賞球払出予定総数カウンタ(PA)の内容と同じにされる。なお、上乗せ処理が実行されるときには、賞球払出予定総数カウンタの値は、16から11に減っている(5個払出がなされたので)。   Then, by the addition process executed when the value of the payout operation counter reaches a predetermined value, the difference between the contents of the award ball payout total counter (PA) and the content of the previous award ball payout total counter (PB) (this In the example, 10) is added to the payout operation counter. Therefore, the value of the payout operation counter is 11. Further, the contents of the previous winning ball payout scheduled total counter (PB) are the same as the contents of the winning ball payout scheduled total counter (PA). When the extra process is executed, the value of the prize ball payout scheduled total counter is reduced from 16 to 11 (because 5 payouts have been made).

その後、賞球払出予定総数カウンタの値が0になって賞球払出が終了すると、前回賞球払出予定総数カウンタ(PB)がクリアされる。ただし、正常に制御がなされていれば、前回賞球払出予定総数カウンタ(PB)は既に0になっている。   Thereafter, when the value of the prize ball payout scheduled total counter becomes 0 and the prize ball payout ends, the previous prize ball payout scheduled total counter (PB) is cleared. However, if the control is performed normally, the previous prize ball payout scheduled total counter (PB) is already zero.

図64は、賞球払出制御において使用されるカウンタの内容の他の変化例を示す説明図である。賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容とがともに6であって、かつ、賞球払出中に、10個の賞球個数指令を受信したとする。すると、コマンド解析処理において、賞球払出予定総数カウンタに10が加算されて16になる。   FIG. 64 is an explanatory diagram showing another example of changes in the contents of the counter used in the prize ball payout control. The contents of the total number of winning ball payout counters (PA) and the value of the total number of previous winning ball payouts total counter (PB) are 6, and 10 winning ball number commands are received during paying out the winning balls. And Then, in the command analysis process, 10 is added to the prize ball payout scheduled total counter to be 16.

そして、払出動作カウンタの値が所定値(例えば1)になったときに実行される上乗せ処理によって、賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容の差分(この例では10)が、払出動作カウンタに加算される。よって、払出動作カウンタの値は11になる。また、前回賞球払出予定総数カウンタ(PB)の内容は、賞球払出予定総数カウンタ(PA)の内容と同じにされる。   Then, by the addition process executed when the value of the payout operation counter reaches a predetermined value (for example, 1), the contents of the planned total payout ball counter (PA) and the total previous payball payout total counter (PB) (10 in this example) is added to the payout operation counter. Therefore, the value of the payout operation counter is 11. Further, the contents of the previous winning ball payout scheduled total counter (PB) are the same as the contents of the winning ball payout scheduled total counter (PA).

賞球払出処理が継続されているときに、上乗せ処理の禁止条件が成立したとする。従って、上乗せ処理は実行されないが、その間に、15個の賞球個数指令と10個の賞球個数指令とを受信したとする。すると、コマンド解析処理において、賞球払出予定総数カウンタに15および10が加算されて例えば28になる。このとき、前回賞球払出予定総数カウンタの値は3である。   It is assumed that the prohibition condition for the extra process is satisfied when the winning ball payout process is continued. Therefore, it is assumed that the addition process is not executed, but 15 prize ball number commands and 10 prize ball number commands are received during that time. Then, in the command analysis process, 15 and 10 are added to the prize ball payout scheduled total counter, for example, 28. At this time, the value of the total number of the previous winning ball payout scheduled total counter is 3.

上乗せ処理の禁止条件が解除されると、払出動作カウンタの値が所定値(例えば1)になったときに実行される上乗せ処理によって、賞球払出予定総数カウンタ(PA)の内容と前回賞球払出予定総数カウンタ(PB)の内容の差分(この例では25)が、払出動作カウンタに加算され、払出動作カウンタの値は26になる。また、前回賞球払出予定総数カウンタ(PB)の内容は、賞球払出予定総数カウンタ(PA)の内容と同じにされる。   When the prohibition condition for the extra process is canceled, the contents of the total number of expected payout payout counter (PA) and the previous prize ball are obtained by the extra process executed when the value of the payout operation counter reaches a predetermined value (for example, 1). The difference (25 in this example) of the contents of the scheduled payout total counter (PB) is added to the payout operation counter, and the value of the payout operation counter becomes 26. Further, the contents of the previous winning ball payout scheduled total counter (PB) are the same as the contents of the winning ball payout scheduled total counter (PA).

その後、賞球払出予定総数カウンタの値が0になって賞球払出が終了すると、前回賞球払出予定総数カウンタ(PB)がクリアされる。   Thereafter, when the value of the prize ball payout scheduled total counter becomes 0 and the prize ball payout ends, the previous prize ball payout scheduled total counter (PB) is cleared.

図65は、賞球未払出個数カウンタを使用しない実施の形態における賞球球貸し制御処理を示すフローチャートである。この実施の形態では、払出個数カウントスイッチ301がオンしたときに、賞球払出処理を行っていれば、賞球払出予定総数カウンタ(PA)と前回賞球払出予定総数カウンタ(PB)の値を−1する(ステップS604A,S604B)。また、賞球払出数上乗せ制御(ステップS600)において、賞球未払出個数カウンタの設定(図50におけるステップS696)を実行しない。   FIG. 65 is a flowchart showing a prize ball lending control process in an embodiment in which no prize ball unpaid number counter is used. In this embodiment, if the prize ball payout process is performed when the payout number count switch 301 is turned on, the values of the total prize ball payout total counter (PA) and the previous prize ball payout total counter (PB) are set. -1 (steps S604A and S604B). In addition, in the award ball payout amount addition control (step S600), the setting of the award ball unpaid number counter (step S696 in FIG. 50) is not executed.

図66は、賞球未払出個数カウンタを使用しない実施の形態における払出開始待ち処理を示すフローチャートである。この実施の形態では、上記の実施の形態とは異なり、賞球払出処理の開始時に、賞球未払出個数カウンタに賞球払出予定総数カウンタ(PA)の内容を設定する処理(ステップS633)を実行しない。   FIG. 66 is a flowchart showing a payout start waiting process in an embodiment in which no prize ball payout counter is used. In this embodiment, unlike the above-described embodiment, a process (step S633) of setting the contents of a prize ball payout total counter (PA) in the prize ball unpaid-out number counter at the start of the prize ball payout process is performed. Do not execute.

図67および図68は、賞球未払出個数カウンタを使用しない実施の形態における払出通過待ち処理を示すフローチャートである。この実施の形態では、払出制御手段は、複数の賞球個数指令に応じた遊技球の払い出しを各賞球個数指令毎に区切ることなく連続的に実行された賞球払出処理が終了したことを、賞球払出予定総数カウンタ(PA)の値が0になったことによって判定する(ステップS654A)。また、再払出動作を開始するときに、払出動作カウンタに、賞球払出予定総数カウンタ(PA)の内容を設定する(ステップS663A)。   FIG. 67 and FIG. 68 are flowcharts showing the payout passing waiting process in the embodiment that does not use the prize ball non-payout number counter. In this embodiment, the payout control means confirms that the award ball payout process continuously executed without dividing the payout of game balls according to a plurality of prize ball number commands for each prize ball number command is completed. The determination is made when the value of the total number of prize balls to be paid out counter (PA) becomes 0 (step S654A). In addition, when the re-payout operation is started, the contents of the total number of expected winning balls (PA) are set in the payout operation counter (step S663A).

なお、ここで説明した処理以外の払出制御処理における処理は、上記の実施の形態の場合と同様である。   Note that the processes in the payout control process other than the processes described here are the same as those in the above-described embodiment.

以上に説明したように、上記の各実施の形態では、コマンド解析処理では、遊技制御手段から受信した賞球個数指令にもとづく個数を、そのときの賞球払出中の制御に用いられているカウンタ(例えば払出動作カウンタ)に直ちに加算(上乗せ)するのではなく、所定の条件(例えば払出動作カウンタの値が所定値になったこと)が成立したときに、賞球払出中の制御に用いられているカウンタに上乗せする。従って、賞球個数指令を受信する度に賞球払出中の制御に用いられているカウンタに上乗せする場合に比べて、上乗せ処理の実行回数を減らすことができる。   As described above, in each of the above embodiments, in the command analysis process, the number based on the prize ball number command received from the game control means is used as a counter used for the control during the prize ball payout at that time. Rather than immediately adding (adding) to (for example, a payout operation counter), it is used for control during payout of a winning ball when a predetermined condition (for example, the value of the payout operation counter has reached a predetermined value) is satisfied. Is added to the counter. Therefore, the number of executions of the extra process can be reduced as compared with the case where it is added to the counter used for the control during the payout of the prize ball every time the prize ball number command is received.

また、上述したように、賞球と貸し球を区別しないで遊技球の払い出しを検出する払出個数カウントスイッチ301を備え、払出個数カウントスイッチ301の検出出力を払出制御手段にのみ入力させ、払出制御手段が、払出個数カウントスイッチ301からの検出信号を入力したときに、賞球の払出検出であるか貸し球の払出検出であるかを判定し、賞球の払出検出であると判定したときには賞球カウント信号を遊技制御手段に対して送信する構成としたので、遊技制御手段において賞球の未払出数の管理をより確実に行うことができるようになるとともに、1つの払出個数カウントスイッチ301で賞球払出も貸し球の払出も検出するので、部品点数が削減され、遊技機のコストを低減させることができるという効果を有する。   In addition, as described above, the payout number count switch 301 for detecting the payout of the game ball without distinguishing between the winning ball and the lending ball is provided, and the detection output of the payout number count switch 301 is input only to the payout control means, and the payout control is performed. When the means inputs a detection signal from the payout number count switch 301, it determines whether it is a detection of a prize ball or a payout of a lending ball. Since the configuration is such that the ball count signal is transmitted to the game control means, the game control means can more reliably manage the number of unpaid prize balls and one payout number count switch 301 can be used. Since both the winning ball payout and the lending ball payout are detected, the number of parts is reduced, and the cost of the gaming machine can be reduced.

また、上述した実施の形態では、払出制御手段は、遊技球の払い出しが停止されるエラー状態であっても、払出個数カウントスイッチ301からの検出信号を入力したときに、賞球の払出検出であると判定した場合には賞球カウント信号を遊技制御手段に対して送信するので、賞球の払い出しを検出したことを示す賞球カウント信号を遊技制御手段に対して確実に伝達することができる。   Further, in the above-described embodiment, the payout control means detects the winning ball payout when the detection signal from the payout number count switch 301 is input even in an error state where the payout of the game ball is stopped. When it is determined that there is a prize ball, a prize ball count signal is transmitted to the game control means, so that a prize ball count signal indicating that a payout of the prize ball has been detected can be reliably transmitted to the game control means. .

また、上述した実施の形態では、払出制御手段は、賞球の払出中でも貸し球の払出中でもないときに、払出個数カウントスイッチ301からの検出信号を入力したときは、払い出された遊技球が賞球であるとして、賞球カウント信号を遊技制御手段に送信するので、正規でない遊技球の払い出しが行われたときにも遊技制御手段に賞球カウント信号を伝達することができ、遊技制御手段に適切な処理を行わせることができる。   Further, in the above-described embodiment, the payout control means receives the detection signal from the payout number count switch 301 when the award ball is not paid out or the lending ball is not paid out. Since the award ball count signal is transmitted to the game control means as being a prize ball, the award ball count signal can be transmitted to the game control means even when an invalid gaming ball is paid out. Can be processed appropriately.

また、上述した実施の形態では、遊技機に対する電力供給が開始されたときに、払出制御用マイクロコンピュータ370が動作可能な状態となる時期よりも所定期間遅延させて遊技制御用マイクロコンピュータ560を動作可能な状態とする遅延手段(例えば遅延回路69、ソフトウェア遅延処理を実行する手段)を備える構成とし、ハードウェアによってもソフトウェアによっても遅延処理を行うことができるようにしているので、仕様変更がなされたときに備えてソフトウェアによる遅延処理の汎用性を残すことができるとともに、ソフトウェアによる遅延処理を簡潔にすることができ、遅延処理のためのソフトウェアのデータ容量を削減することができる。また、払出制御用マイクロコンピュータ370が遊技制御用マイクロコンピュータ560よりも先に動作可能な状態となるので、払出制御用マイクロコンピュータ370にて遊技制御用マイクロコンピュータ560からのコマンドを確実に受信することができるようになる。   In the above-described embodiment, when power supply to the gaming machine is started, the gaming control microcomputer 560 is operated with a predetermined delay from the timing at which the payout controlling microcomputer 370 becomes operable. Since the delay means (for example, the delay circuit 69 and the means for executing software delay processing) to enable the state is provided and the delay processing can be performed by hardware or software, the specification is changed. In addition, the versatility of delay processing by software can be left in preparation, and the delay processing by software can be simplified, and the data capacity of software for delay processing can be reduced. In addition, since the payout control microcomputer 370 becomes operable before the game control microcomputer 560, the payout control microcomputer 370 surely receives a command from the game control microcomputer 560. Will be able to.

なお、上述した実施の形態では、払出指令信号の送信後、払出制御基板37側からの払出処理の完了を示す信号などの受信の有無によらずに総賞球数格納バッファに記憶されている賞球数の減算処理を実行することとし、遊技制御手段にて賞球の未払出数の正確な管理は行わない構成としていたが、遊技制御手段が、払出指令信号を送信したあと、賞球カウント信号の受信に応じて、総賞球数格納バッファに記憶されている賞球数から、実際に払い出されたことが確認された払出数を減算する減算処理を行う構成としてもよい。この場合、遊技制御手段は、払出指令信号の送信後、総賞球数格納バッファに記憶されている賞球数の減算処理は払出処理の完了を示す信号などの受信の有無によらずに行うが、賞球カウント信号を受信する毎に、払出指令信号によって指令した賞球数から1ずつ減算するようにすればよい。上記のように遊技制御手段と払出制御手段との間の双方向通信により賞球の未払出数を管理する構成とすれば、払出制御手段からの賞球カウント信号にもとづいて、遊技制御手段において賞球の未払出数の管理を正確に行うことができる。すなわち、賞球の未払出数の管理を賞球カウント信号を利用して行わない場合には、賞球の未払出数の管理に関しては単方向通信により行われていることになるため、遊技制御手段において把握されている賞球の未払出数が必ずしも正確なものでないという問題がある。上記のように、双方向通信により遊技制御手段での賞球の未払出数の管理を行う構成とすれば、賞球が実際に払い出されたときに未払出数を減算することができるので、賞球の未払出数を正確に管理することができるようになる。   In the embodiment described above, after the payout command signal is transmitted, the signal indicating the completion of the payout process from the payout control board 37 side is stored in the total winning ball number storage buffer regardless of whether or not it is received. The winning ball number subtraction process is executed and the game control means does not accurately manage the number of unpaid prize balls. However, after the game control means transmits a payout command signal, In accordance with reception of the count signal, a subtraction process for subtracting the number of payouts confirmed to be actually paid out from the number of prize balls stored in the total prize ball number storage buffer may be performed. In this case, after transmitting the payout command signal, the game control means performs the subtraction process of the number of prize balls stored in the total prize ball number storage buffer regardless of whether or not a signal indicating the completion of the payout process is received. However, every time a prize ball count signal is received, it is sufficient to subtract one from the number of prize balls commanded by the payout command signal. If the configuration is such that the number of unpaid prize balls is managed by bidirectional communication between the game control means and the payout control means as described above, in the game control means based on the prize ball count signal from the payout control means. The number of unpaid prize balls can be managed accurately. In other words, if the management of the number of unpaid balls is not performed using the prize ball count signal, the management of the number of unpaid balls is performed by one-way communication. There is a problem that the number of unpaid prize balls ascertained in the means is not always accurate. As described above, if the configuration is such that the game control means manages the number of unpaid balls in the game control means as described above, the number of unpaid balls can be subtracted when the game is actually paid out. The number of unpaid prize balls can be managed accurately.

さらに、払出制御手段が、遊技制御手段から送信された払出指令信号を受信したことを示す指令受付信号を遊技制御手段に送信し、そして、遊技制御手段が、払出制御手段から送信された指令受付信号を受信したとき、総賞球数格納バッファに記憶されている賞球数の減算処理を実行するように構成されていてもよい。ここで、指令受付信号は、払出指令信号に対する受付確認信号に相当するものであって、払出指令信号を受信したことにもとづき所定期間出力状態とされる。この指令受付信号は、賞球BUSY信号ともいう。このような構成においても、賞球の未払出数を遊技制御手段において一元管理することができる。   Further, the payout control means transmits a command acceptance signal indicating that the payout command signal transmitted from the game control means has been received to the game control means, and the game control means accepts the command acceptance transmitted from the payout control means. When the signal is received, the winning ball number stored in the total winning ball number storage buffer may be subtracted. Here, the command acceptance signal corresponds to an acceptance confirmation signal for the payout command signal, and is in an output state for a predetermined period based on the receipt of the payout command signal. This command acceptance signal is also called a prize ball BUSY signal. Even in such a configuration, the number of unpaid prize balls can be centrally managed by the game control means.

また、上述した実施の形態では、遊技制御手段が、賞球カウント信号の受信に応じて、1個の賞球が払い出されたことを報知するために所定のランプを点灯させるための処理を実行する構成としたので、所定のランプが払出制御手段(すなわち払出個数カウントスイッチ301からの検出信号を受ける制御手段)によって制御されていなくても、賞球が払い出されたこと、あるいは払い出された遊技球が賞球であることを、遊技者や遊技店員に対して報知することができるようになる。なお、上記の例では、所定のランプを点灯させるための処理として、賞球払出確認指定コマンドを演出制御基板80に送信する処理が実行される。賞球払出確認指定コマンドを受信すると、演出制御基板80は、ランプドライバ基板35を介して制御信号を出力し、所定のランプを所定期間点灯させる制御を実行する。ただし、所定のランプを遊技制御手段が制御する構成とし、遊技制御手段が、賞球カウント信号の受信に応じて、所定のランプを点灯させるための駆動処理を実行するようにしてもよい。さらに、所定のランプ以外の発光体や表示装置によって賞球が払い出されたことを報知するようにしてもよい。なお、上述した実施の形態では、払出制御手段が賞球ランプ51を制御する構成としているが、演出制御手段あるいは遊技制御手段によって賞球ランプ51を制御する構成とし、上記の所定のランプとして賞球ランプ51を用いるようにしてもよい。   In the above-described embodiment, the game control means performs a process for lighting a predetermined lamp in order to notify that one prize ball has been paid out in response to reception of the prize ball count signal. Since it is configured to execute, even if the predetermined lamp is not controlled by the payout control means (that is, the control means for receiving the detection signal from the payout number count switch 301), the winning ball has been paid out or is paid out. It is possible to notify the player and the game store clerk that the played game ball is a prize ball. In the above example, as a process for turning on the predetermined lamp, a process of transmitting a prize ball payout confirmation designation command to the effect control board 80 is executed. When the prize ball payout confirmation designation command is received, the effect control board 80 outputs a control signal via the lamp driver board 35 and executes control for lighting a predetermined lamp for a predetermined period. However, the game control unit may control the predetermined lamp, and the game control unit may execute a driving process for lighting the predetermined lamp in response to receiving the prize ball count signal. Further, it may be notified that a prize ball has been paid out by a light emitter other than a predetermined lamp or a display device. In the embodiment described above, the payout control means controls the prize ball lamp 51. However, the prize control lamp 51 is controlled by the effect control means or the game control means, and the prize is given as the predetermined lamp. A ball lamp 51 may be used.

なお、上記の実施の形態では、賞球REQ信号によって払出要求を行い、賞球個数信号によって払出数が指定されたが、賞球個数信号によって払出要求および払出数の指定を行うように構成してもよい。その場合、払出制御手段は、賞球個数信号が出力されているときは、同時に払出要求がなされていると判定すればよい。そのような構成によれば、賞球REQ信号を用いる必要はない。   In the above embodiment, the payout request is made by the prize ball REQ signal and the payout number is designated by the prize ball number signal. However, the payout request and the payout number are designated by the prize ball number signal. May be. In this case, the payout control means may determine that a payout request is made at the same time when the prize ball number signal is output. According to such a configuration, it is not necessary to use the prize ball REQ signal.

また、上記の実施の形態では、球払出装置97は球貸しも賞球払出も実行可能な構成であったが、球貸しを行う機構と賞球払出を行う機構とが独立していても本発明を適用することができる。   In the above embodiment, the ball payout device 97 is configured to execute both ball lending and prize ball payout. However, even if the mechanism for lending the ball and the mechanism for paying the prize ball are independent, The invention can be applied.

また、上述した実施の形態では、球切れ状態や下皿満タン状態である場合などに払出禁止状態にしたが、他の払い出しを行うことが好ましくない場合や払い出しを行うことができない場合にも払出禁止状態に設定してもよい。例えば、ガラス扉枠2が開状態となって、そのことを検出するためのドア開放スイッチから検出信号が出力されているときなどにも払出禁止状態に設定されるようにしてもよい。   In the above-described embodiment, the payout is prohibited when the ball is out of the ball or the lower pan is full. However, when it is not preferable to perform another payout or when the payout cannot be performed, You may set it in a payout prohibition state. For example, the payout prohibition state may be set also when the glass door frame 2 is in an open state and a detection signal is output from a door opening switch for detecting this.

また、上述した実施の形態においては、各種の信号のやりとりに関し、送信/受信や出力/入力という異なる表現を用いているが、送信と出力あるいは受信と入力は、ほぼ同じ意味で用いており、これらの表現は相互に入替可能であることは言うまでもない。なお、制御コマンドなどの多くの意味を持つ信号のやりとりについて送信/受信とするとともに、オン/オフの切り換えによって情報を伝達するための信号のやりとりについて出力/入力として、送信/受信と出力/入力とを使い分けしている場合もある。この場合においても、それらの表現は相互に入替可能である。   In the above-described embodiments, different expressions such as transmission / reception and output / input are used for the exchange of various signals, but transmission and output or reception and input are used in substantially the same meaning. It goes without saying that these expressions are interchangeable. In addition, the transmission / reception of signals having many meanings such as control commands is made transmission / reception, and the transmission / reception and output / input are made of transmission / reception of signals for transmitting information by switching on / off. There are also cases where they are used properly. Even in this case, these expressions are interchangeable.

また、上記の実施の形態では、主基板31から周辺基板への信号が集中中継基板77を経由して各周辺基板に出力される。そして、主基板31には、集中中継基板77からの信号入力を阻止するための信号方向規制手段が設けられている。また、集中中継基板77には、周辺基板からの信号入力を阻止するための信号方向規制手段が設けられている。さらに、主基板31から信号を入力し主基板31に対して信号を送出しないマイクロコンピュータを搭載した電気部品制御基板において、集中中継基板77から信号が入力される部分に、集中中継基板77への信号出力を阻止するための信号方向規制手段が設けられている。   In the above embodiment, a signal from the main board 31 to the peripheral board is output to each peripheral board via the central relay board 77. The main board 31 is provided with signal direction regulating means for preventing signal input from the centralized relay board 77. The central relay board 77 is provided with a signal direction regulating means for preventing signal input from the peripheral board. Furthermore, in an electrical component control board equipped with a microcomputer that inputs a signal from the main board 31 and does not send a signal to the main board 31, the signal is input from the central relay board 77 to the central relay board 77. Signal direction restricting means for preventing signal output is provided.

このように、主基板31から各周辺基板への信号が集中中継基板77に集中され、かつ、主基板31において集中中継基板77に出力される信号に対して信号方向規制手段が設けられているので、主基板31に対して不正に賞球払出を行わせたり不正に大当りを生じさせるような不正信号の入力が効果的に防止される。   Thus, the signal from the main board 31 to each peripheral board is concentrated on the central relay board 77, and the signal direction regulating means is provided for the signal output to the central relay board 77 in the main board 31. Therefore, it is possible to effectively prevent the input of an illegal signal that illegally pays out a prize ball to the main board 31 or illegally generates a big hit.

特に、周辺基板のうちには、主基板31以外の遊技機に設けられている基板または遊技機に設けられている遊技用装置からも信号を入力する周辺基板(例えば演出制御基板80)も設けられているが、主基板31以外の基板や遊技用装置から周辺基板に至る信号線を利用して、周辺基板を経由して主基板31に不正信号が送り込まれるようなことを効果的に防止できる。   In particular, among the peripheral boards, there is also provided a peripheral board (for example, an effect control board 80) for inputting signals from a board provided in a gaming machine other than the main board 31 or a gaming device provided in the gaming machine. However, it is possible to effectively prevent an illegal signal from being sent to the main board 31 via the peripheral board using a signal line from the board other than the main board 31 or the gaming device to the peripheral board. it can.

なお、上記の実施の形態では、主基板31から信号を入力し主基板31に対して信号を送出しないマイクロコンピュータを搭載した電気部品制御基板として演出制御基板80を例示したが、主基板31から信号を入力し主基板31に対して信号を送出しないマイクロコンピュータを搭載した電気部品制御基板が他にもある場合には、その基板についても、主基板31からの信号が集中中継基板77を経由するように構成されるとともに、集中中継基板77から信号が入力される部分に、集中中継基板77への信号出力を阻止するための信号方向規制手段が設けられる。   In the above embodiment, the presentation control board 80 is exemplified as an electric component control board on which a microcomputer that inputs signals from the main board 31 and does not send signals to the main board 31 is used. If there is another electrical component control board on which a microcomputer that does not send signals to the main board 31 is input, the signal from the main board 31 also passes through the centralized relay board 77 for that board. In addition, a signal direction regulating means for preventing signal output to the central relay board 77 is provided at a portion where a signal is input from the central relay board 77.

以上のような構成を採用することによって、遊技機の動作に不審な点があり不正行為(主基板31に対して不正に賞球払出を行わせたり不正に大当りを生じさせるような信号を入力させる行為、例えば、周辺基板や基板間のケーブルに不正基板を接続するような行為)が疑われるような場合には、主基板31以外では、集中中継基板77のみを調べればよい。主基板31に対して不正信号を送り込むために、集中中継基板77に対して不正信号を送り込んでも、その信号は、集中中継基板77に搭載されている信号方向規制手段によって、主基板31側への信号伝達が阻止されるからである。   By adopting the configuration as described above, there is a suspicious point in the operation of the gaming machine, and a fraudulent act (a signal that illegally pays out a prize ball to the main board 31 or illegally generates a big hit is input. In the case where there is a suspicion of an act to be performed, for example, an act of connecting an unauthorized board to a peripheral board or a cable between boards, only the central relay board 77 needs to be examined except for the main board 31. Even if an illegal signal is sent to the central relay board 77 in order to send an illegal signal to the main board 31, the signal is sent to the main board 31 side by the signal direction regulating means mounted on the central relay board 77. This is because the signal transmission is blocked.

また、1つの集中中継基板77のみを調査すればよいことから、多数の中継基板が設けられている場合に比べて、特に、多数の中継基板が縦続的に配置されている場合に比べて、調査時間を短縮できる。   In addition, since only one centralized relay board 77 needs to be investigated, compared to the case where a large number of relay boards are provided, in particular, compared to the case where a large number of relay boards are arranged in cascade. Survey time can be shortened.

なお、上記の実施の形態では、全ての周辺基板に対して1つの集中中継基板77が設けられていたが、複数の中継基板を並列的に設けてもよい。例えば、各周辺基板に対応して、またはいくつかの周辺基板(全ての周辺基板ではない)に対して1つの中継基板を設けるようにしてもよい。その場合には、不正行為の調査時間が長くなる可能性はあるが、遊技機内部において、配線引き回しが容易になる等のメリットがある。   In the above embodiment, one central relay board 77 is provided for all peripheral boards, but a plurality of relay boards may be provided in parallel. For example, one relay board may be provided for each peripheral board or for several peripheral boards (not all peripheral boards). In such a case, there is a possibility that the investigation time for fraud may be longer, but there is a merit that it is easy to route the wiring inside the gaming machine.

また、上述したように、上記の実施の形態では、遊技制御手段が、遊技機に対する電力供給が開始されたときに払出制御手段に対して払出起動コマンドを送信してから(ステップS11)、クリアスイッチ921の検出信号のチェック処理を行い(ステップS13)、払出制御手段は、遊技制御手段から払出起動コマンドを受信したときにクリアスイッチ921の検出信号のチェック処理を行うので(ステップS726,S727,S708)、遊技制御手段がソフトウェア遅延処理を実行するにも関わらず、遊技制御手段と払出制御手段とは、ほぼ同時にクリアスイッチ921の検出信号のチェック処理を行うことになる。よって、一方の制御手段がクリアスイッチ921の検出信号のチェック処理を行ったにも関わらず、他方の制御手段がクリアスイッチ921の検出信号のチェック処理を行わず、一方の制御手段におけるバックアップ記憶内容はクリアされたにも関わらず、他方の制御手段におけるバックアップ記憶内容はクリアされないという状況が発生することが防止される。   Further, as described above, in the above embodiment, the game control means transmits a payout start command to the payout control means when power supply to the gaming machine is started (step S11), and then clears. The check signal of the switch 921 is checked (step S13), and the payout control means checks the detection signal of the clear switch 921 when receiving a payout start command from the game control means (steps S726, S727, S708) Although the game control means executes the software delay processing, the game control means and the payout control means check the detection signal of the clear switch 921 almost simultaneously. Therefore, although one control means has performed the detection signal check processing of the clear switch 921, the other control means does not perform the detection signal check processing of the clear switch 921 and the backup storage contents in one control means. This prevents the situation in which the backup storage contents in the other control means are not cleared even though they are cleared.

また、払出制御手段は、払出起動コマンドの取り込みを指示する取込信号(上記の実施の形態では賞球REQ信号)を払出制御用マイクロコンピュータのマスク可能割込端子に導入し、遊技制御手段から払出起動コマンドが送信されたことを確認しているとき(初期設定処理中である。)には割込禁止状態にして外部割込要求レジスタのビットを確認することによって取込信号の入力を確認する(ステップS701,S721)。よって、取込信号を割込端子に導入するように構成しても、割込の発生によって初期設定処理が正しく行われないという可能性がなくなる。なお、初期設定処理中に割込の発生を許容するように構成すると、割込処理において払出制御用マイクロコンピュータの内部状態が変わり、初期設定処理が正しく行われないおそれがある。   Further, the payout control means introduces a take-in signal (in the above embodiment, a prize ball REQ signal) instructing taking-in of the payout start command into the maskable interrupt terminal of the payout control microcomputer, and from the game control means. When confirming that the payout start command has been sent (the initial setting process is in progress), check the input of the capture signal by checking the bit in the external interrupt request register with interrupts disabled. (Steps S701 and S721). Therefore, even if it is configured to introduce the capture signal to the interrupt terminal, there is no possibility that the initial setting process is not correctly performed due to the occurrence of the interrupt. If an interrupt is allowed during the initial setting process, the internal state of the payout control microcomputer changes during the interrupt process, and the initial setting process may not be performed correctly.

そして、払出制御手段は、初期設定処理および初期化処理を実行した後に実行する払出制御処理では、マスク可能割込端子への取込信号の入力(外部端子割込)にもとづく割込処理で賞球払出個数を示す賞球個数信号を受信するので、賞球個数信号にもとづく賞球払出個数を迅速に、かつ、正確に受信することができる。   In the payout control process executed after executing the initial setting process and the initialization process, the payout control means is awarded with an interrupt process based on an input signal to the maskable interrupt terminal (external terminal interrupt). Since the prize ball number signal indicating the number of balls paid out is received, the number of prize balls paid out based on the prize ball number signal can be received quickly and accurately.

また、上記の実施の形態では、遊技制御手段が、遊技機に対する電力供給が開始されたときに、実行状態の復帰(ステップS16,S17)または記憶内容の初期化(ステップS21〜S23)がなされたことにより遊技制御処理の実行の準備が完了(タイマ割込処理を開始する前に実行すべき処理(外部割込によるコマンド送信処理を除く処理)を終えた状態)したあと、払出制御手段からのコマンド受信可能状態信号を受信したことに応じて、遊技制御処理の実行を開始し、当該遊技制御処理にて賞球制御信号を送信する処理を実行する構成としたので、払出制御手段が外部端子割込に応じたコマンド受信処理を未だ実行できない状態であるときに、遊技制御手段によって賞球制御信号が送信されることを防止することができ、払出制御手段での賞球制御信号の取りこぼしを確実に防止することができる。   In the above embodiment, when the game control means starts supplying power to the gaming machine, the execution state is restored (steps S16 and S17) or the stored contents are initialized (steps S21 to S23). From the payout control means after the preparation for execution of the game control process is completed (process that should be executed before starting the timer interrupt process (process excluding command transmission process by external interrupt)) In response to receiving the command receivable state signal, the game control process is started and the process for transmitting the prize ball control signal is executed in the game control process. It is possible to prevent the prize control signal from being transmitted by the game control means when the command reception process corresponding to the terminal interrupt is not yet executed, and the payout control The omission of prize balls control signal at stage can be reliably prevented.

なお、上記の実施の形態では、復旧処理および初期化処理内で外部端子割込によって受信される制御コマンドの送信処理が実行されるため、「遊技制御処理の実行の準備が完了したとき」とは、復旧処理および初期化処理におけるコマンドの送信に関わる処理以外の処理を終えた状態を意味する。しかし、復旧処理および初期化処理内で外部端子割込によって受信される制御コマンドの送信処理を実行しない構成とした場合(例えば制御コマンドの送信処理は実行するが払出起動コマンドと同様に外部割込要求レジスタを利用して送信する構成としてもよく、そのような場合を含む)には、「遊技制御処理の実行の準備が完了したとき」とは、復旧処理または初期化処理を終えた状態を意味する。   In the above embodiment, since the transmission process of the control command received by the external terminal interrupt is executed in the recovery process and the initialization process, “when the preparation for executing the game control process is completed” Means a state in which processing other than processing related to command transmission in the recovery processing and initialization processing has been completed. However, when the configuration is such that the transmission process of the control command received by the external terminal interrupt is not executed in the recovery process and the initialization process (for example, the control command transmission process is executed but the external interrupt is performed in the same manner as the payout start command) (In such a case, the request register may be used for transmission), and “when preparation for execution of the game control process is completed” means that the recovery process or the initialization process has been completed. means.

なお、上述した実施の形態では特に言及していないが、コマンド受信可能状態信号の受信待ち状態であるときに、あらかじめ定められている待機時間を計測し、コマンド受信可能状態信号を受信することなく待機時間が経過したときは、遊技制御手段の制御状態を制御停止状態とする構成としてもよい。このように構成すれば、払出制御手段において払出制御処理が開始されていないおそれのある状態で、遊技制御処理が開始されて賞球制御信号が送信されてしまうことを防止することができる。   Although not particularly mentioned in the above-described embodiment, when a command reception ready state signal is waiting to be received, a predetermined waiting time is measured and the command reception ready state signal is not received. When the standby time has elapsed, the control state of the game control means may be set to the control stop state. If comprised in this way, it can prevent that a game control process is started and a prize ball control signal is transmitted in the state where the payout control process may not be started in the payout control means.

また、上述した実施の形態では、払出制御手段は、遊技制御手段からの払出起動コマンドの受信が確認されなかったときは、復旧処理を行わない構成としていたが、遊技制御手段からの払出起動コマンドの受信が確認されなかったときに、復旧処理を実行する構成としてもよい。このように構成すれば、払出起動コマンドが受信されていない場合には、クリアスイッチ921の状態を確認することなく復旧処理が実行されることになる。この場合、ステップS715のエラービットのセットにもとづくエラー報知は、復旧するか初期化するかを正常に判断できないことにもとづき初期化処理が実行されていないことを意味する報知となる。よって、そのエラー報知を認識した遊技店員は、遊技機の電源を再投入するというような対応をとることができる。   In the embodiment described above, the payout control means is configured not to perform the recovery process when the receipt of the payout start command from the game control means is not confirmed. However, the payout start command from the game control means is not used. The recovery process may be executed when the reception of the message is not confirmed. With this configuration, when the payout activation command is not received, the recovery process is executed without confirming the state of the clear switch 921. In this case, the error notification based on the setting of the error bit in step S715 is a notification indicating that the initialization process is not executed based on the fact that it cannot be normally determined whether to restore or initialize. Therefore, the game store clerk who has recognized the error notification can take a countermeasure such as turning on the power of the gaming machine again.

また、上記の実施の形態では、遊技制御処理の実行の準備が完了したあと、払出制御手段からのコマンド受信可能状態信号を受信したことに応じて遊技制御処理の実行を開始する構成としていたが、遊技制御処理の実行の準備が完了したときにその旨を示す信号(遊技制御準備完了信号)を外部端子割込によって受信される信号として送信し、遊技制御準備完了信号の受信に応じて払出制御手段により送信される信号(払出制御準備完了信号)を受信したことに応じて遊技制御処理の実行を開始する構成としてもよい。   Further, in the above embodiment, after the preparation for execution of the game control process is completed, the execution of the game control process is started in response to the reception of the command receivable state signal from the payout control means. When the preparation for execution of the game control process is completed, a signal indicating that (game control preparation completion signal) is transmitted as a signal received by the external terminal interrupt, and paid out in response to the reception of the game control preparation completion signal It is good also as a structure which starts execution of a game control process according to having received the signal (payout control preparation completion signal) transmitted by the control means.

以下、遊技制御準備完了信号と払出制御準備完了信号とのやりとりによって制御を行う実施形態について説明する。この実施形態では、コマンド受信可能状態信号を送信する処理(ステップS718)や受信する処理(ステップS18,S24)は実行されないが、以下の説明において特に言及する処理を除き、その他の処理は上述した実施形態と同一である。   Hereinafter, an embodiment in which control is performed by exchanging a game control preparation completion signal and a payout control preparation completion signal will be described. In this embodiment, the process of transmitting the command receivable state signal (step S718) and the process of receiving (steps S18 and S24) are not executed, but the other processes are the same as those described above except for the processes specifically mentioned in the following description. It is the same as the embodiment.

図69は、この実施形態におけるCPU56が実行するメイン処理の一部を示すフローチャートである。本実施形態では、復旧処理あるいは初期化処理にて作業領域に初期値を設定すると(ステップS17,23)、CPU56は、遊技制御処理を開始するための準備が完了したことを示す遊技制御準備完了信号を払出制御基板37に対して送信したあと(ステップS33a,S33b)、払出制御用CPU371からの払出制御準備完了信号を受信したか否か確認する(ステップS34a,S34b)。   FIG. 69 is a flowchart showing a part of main processing executed by the CPU 56 in this embodiment. In this embodiment, when an initial value is set in the work area in the recovery process or the initialization process (steps S17 and S23), the CPU 56 is ready for game control indicating that preparation for starting the game control process is completed. After transmitting the signal to the payout control board 37 (steps S33a and S33b), it is checked whether or not a payout control preparation completion signal from the payout control CPU 371 has been received (steps S34a and S34b).

すなわち、CPU56は、払出制御準備完了信号の受信を確認するまで遊技制御準備完了信号を繰り返し送信する。遊技制御準備完了信号は、この例では、賞球個数信号によって構成される。具体的には、賞球個数信号の下位4ビット(ビット0〜ビット3)を賞球数としては用いられない所定の数(例えば、「1」)を示す構成とした信号が遊技制御準備完了信号として用いられるものとする。ここでは、ビット1〜4が「0」であってビット0が「1」の賞球個数信号が遊技制御準備完了信号として用いられる。   That is, the CPU 56 repeatedly transmits a game control preparation completion signal until it confirms reception of the payout control preparation completion signal. In this example, the game control preparation completion signal is constituted by a prize ball number signal. Specifically, a signal having a configuration in which the lower 4 bits (bit 0 to bit 3) of the award ball number signal indicate a predetermined number (for example, “1”) that is not used as the award ball number is ready for game control. It shall be used as a signal. Here, a prize ball number signal in which bits 1 to 4 are “0” and bit 0 is “1” is used as a game control preparation completion signal.

従って、CPU56は、ステップS33a,S33bにて、賞球個数信号のビット0のみを「1」とした遊技制御準備完了信号を送信するとともに、賞球REQ信号をオン状態とする処理を行う。   Accordingly, in steps S33a and S33b, the CPU 56 transmits a game control preparation completion signal in which only bit 0 of the award ball number signal is “1” and performs a process of turning on the award ball REQ signal.

そして、払出制御用CPU371からの払出制御準備完了信号を受信すると(ステップS34aのY,S34bのY)、CPU56は、ステップS19,S25の処理に移行する。   When the payout control preparation completion signal is received from the payout control CPU 371 (Y in step S34a, Y in S34b), the CPU 56 proceeds to the processes in steps S19 and S25.

図70は、この実施形態における払出制御用CPU371が実行する賞球REQ割込処理を示すフローチャートである。賞球REQ割込処理において、払出制御用CPU371は、接続確認信号がオン状態であれば、受信した信号が遊技制御準備完了信号であるか否か確認する。すなわち、賞球個数信号の状態が遊技制御準備完了信号を示す状態(ビット0のみが「1」である状態)であるか否か確認する(ステップS548)。遊技制御準備完了信号であれば、払出制御用CPU371は、外部端子割込によるコマンド受信処理が実行可能な状態であることを示す払出制御準備完了信号を主基板31に対して送信する(ステップS549)。遊技制御準備完了信号でなければ、払出制御用CPU371は、賞球個数信号の状態が賞球の払出個数を示す通常の状態であるので、ステップS545の処理に移行する。   FIG. 70 is a flowchart showing a prize ball REQ interrupt process executed by the payout control CPU 371 in this embodiment. In the prize ball REQ interrupt process, the payout control CPU 371 checks whether or not the received signal is a game control preparation completion signal if the connection confirmation signal is on. That is, it is confirmed whether or not the state of the prize ball number signal is a state indicating a game control preparation completion signal (a state in which only bit 0 is “1”) (step S548). If it is a game control preparation completion signal, the payout control CPU 371 transmits to the main board 31 a payout control preparation completion signal indicating that command reception processing by external terminal interruption is possible (step S549). ). If it is not a game control preparation completion signal, the payout control CPU 371 proceeds to the processing of step S545 because the state of the prize ball number signal is a normal state indicating the number of prize balls to be paid out.

上記のように、この実施形態では、遊技制御手段が、遊技機に対する電力供給が開始されたときに、実行状態の復帰(ステップS16,S17)または記憶内容の初期化(ステップS21〜S23)がなされたことにより遊技制御処理の実行の準備が完了(タイマ割込処理を開始する前に実行すべき処理(外部割込によるコマンド送信処理を除く処理)を終えた状態)したあと、遊技制御処理の実行の準備が完了したことを示す遊技制御準備完了信号を送信し、その後に払出制御手段からの払出制御準備完了信号を受信したことに応じて、遊技制御処理の実行を開始し、当該遊技制御処理にて賞球制御信号を送信する処理を実行する構成としたので、払出制御手段が外部端子割込に応じたコマンド受信処理を未だ実行できない状態であるときに、遊技制御手段によって賞球制御信号が送信されることを防止することができ、払出制御手段での賞球制御信号の取りこぼしを確実に防止することができる。   As described above, in this embodiment, when the power supply to the gaming machine is started, the game control means returns the execution state (steps S16 and S17) or initializes the stored contents (steps S21 to S23). After completing the preparation for execution of the game control process (process that should be executed before starting the timer interrupt process (process excluding the command transmission process by external interrupt)), the game control process A game control preparation completion signal indicating that preparation for execution of the game has been completed, and in response to receiving a payout control preparation completion signal from the payout control means, the execution of the game control process is started and the game Since the process for transmitting the prize ball control signal is executed in the control process, the payout control means is still in a state where the command reception process corresponding to the external terminal interrupt cannot be executed. , Winning balls control signal by the game control means can be prevented from being transmitted, the omission of prize balls control signal in the payout control means it can be reliably prevented.

なお、上記の実施形態では特に言及していないが、図71に示すように、払出制御準備完了信号の受信待ち状態(ステップS34a,S34bのN)であるときに、あらかじめ定められている待機時間を計測し(ステップS35)、コマンド受信可能状態信号を受信することなく待機時間が経過したときは(ステップS35のY)、遊技制御手段の制御状態を制御停止状態とする構成としてもよい。このように構成すれば、払出制御手段において払出制御処理が開始されていないおそれのある状態で、遊技制御処理が開始されて賞球制御信号が送信されてしまうことを防止することができる。   Although not particularly mentioned in the above embodiment, as shown in FIG. 71, a standby time that is predetermined when the payout control preparation completion signal is waiting to be received (N in steps S34a and S34b). (Step S35), and when the standby time has passed without receiving the command receivable state signal (Y in step S35), the control state of the game control means may be set to the control stop state. If comprised in this way, it can prevent that a game control process is started and a prize ball control signal is transmitted in the state where the payout control process may not be started in the payout control means.

また、上記の実施形態において、払出起動コマンドの受信待ち状態(ステップS721〜S723のN)であるときに、あらかじめ定められている待機時間を計測し、払出起動コマンドを受信することなく待機時間が経過したときは(ステップS723のY)、払出制御手段の制御状態を制御停止状態(例えば、払出制御処理を開始することなく動作を停止した状態。具体的には、ステップS714にてYと判定されたときに、ステップS716の処理に移行することなく停止状態となるようにすればよい。)とする構成としてもよい。このように構成すれば、遊技制御手段において遊技制御処理が開始されていないおそれのある状態で、払出制御処理が開始されてしまうことを防止することができる。   In the above-described embodiment, when the payout activation command is waiting to be received (N in steps S721 to S723), a predetermined standby time is measured, and the standby time is received without receiving the payout activation command. When the time has elapsed (Y in step S723), the control state of the payout control means is set to the control stop state (for example, the operation is stopped without starting the payout control process. Specifically, it is determined as Y in step S714). When it is done, it is only necessary to enter a stop state without shifting to the process of step S716. With this configuration, it is possible to prevent the payout control process from being started in a state where the game control process may not be started in the game control means.

また、上記の実施形態において、上記のような制御停止状態となったあと、所定期間が経過したときに遊技制御準備完了信号を再度送信し(例えば図71に示す制御停止状態が所定期間継続したときにステップS33a,S33bに移行する)、払出制御準備完了信号を受信したことに応じて(ステップS34a,S34bのY)、制御停止状態から復帰して遊技制御処理の実行を開始(ステップS19,S25に移行してステップS27を実行したあと遊技制御処理を開始する)する構成としてもよい。このように構成すれば、払出制御手段において払出制御処理が開始されていないおそれのある状態で遊技制御処理が実行されて払出指令信号が送信されてしまうことを防止することができるとともに、払出制御手段において払出制御処理が開始されたことを判定し、払出制御処理が開始されたことが確認されたときに遊技制御処理を開始することができる。なお、制御停止状態となったあと、所定期間が経過する毎に、例えば所定回数を限度として、払出制御準備完了信号を受信するまで遊技制御準備完了信号を送信する構成(例えば図71に示す制御停止状態が所定期間継続したときにステップS33a,S33bに移行し、払出制御準備完了信号を受信することなく待機時間が経過したときは(ステップS35のY)制御停止状態に戻ったあとさらに所定期間が継続したときは再度ステップS33a,S33bに移行する処理を所定回数を限度として繰り返し、待機時間が経過する前に払出制御準備完了信号を受信したことに応じて制御状態を復帰させる(ステップS19,S25に移行してステップS27を実行したあと遊技制御処理を開始する)構成)としてもよい。そして、所定期間が経過する毎に所定回数繰り返し遊技制御準備完了信号を送信したのにもかかわらず、払出制御準備完了信号が受信されなかった場合に、完全に制御停止状態となるようにすればよい。   In the above embodiment, after the control stop state as described above is entered, a game control preparation completion signal is transmitted again when a predetermined period has elapsed (for example, the control stop state shown in FIG. 71 continues for the predetermined period). When the payout control preparation completion signal is received (Y in Steps S34a and S34b), the game control process is resumed and execution of the game control process is started (Step S19, S33b). It is good also as a structure which transfers to S25 and starts game control processing after performing step S27). With this configuration, it is possible to prevent the game control process from being executed and the payout command signal being transmitted in a state where the payout control means may not have started the payout control process, and the payout control. It is determined that the payout control process has been started by the means, and the game control process can be started when it is confirmed that the payout control process has started. A configuration in which a game control preparation completion signal is transmitted every time a predetermined period elapses after the control is stopped, for example, up to a predetermined number of times until a payout control preparation completion signal is received (for example, the control shown in FIG. 71). When the stop state continues for a predetermined period, the process proceeds to steps S33a and S33b, and when the standby time has passed without receiving the payout control preparation completion signal (Y in step S35), a further predetermined period after returning to the control stop state When the process continues, the process of proceeding to steps S33a and S33b is repeated up to a predetermined number of times, and the control state is returned in response to receiving the payout control preparation completion signal before the standby time elapses (step S19, The game control process may be started after the process proceeds to S25 and step S27 is executed. And, if the payout control preparation completion signal is not received despite the fact that the game control preparation completion signal is repeatedly transmitted a predetermined number of times each time the predetermined period elapses, the control is completely stopped. Good.

なお、上記の各実施の形態では、払出起動コマンド(払出起動指令)と賞球個数信号とは同じ信号線で伝達されたが、それらを伝達する信号線を分けてもよい。また、上記の実施の形態では、賞球個数信号を、単方向通信(遊技制御手段は払出制御手段から応答をとらない。)によって伝達する構成としているが、払出制御手段が賞球個数信号の受信に応じて賞球個数信号を受け付けたことを示す賞球受付信号を送信する構成としてもよい。すなわち、賞球個数信号について双方向通信が行われるようにしてもよい。さらに、上記の実施の形態において用いられていた払出起動コマンドおよび賞球個数信号の形態を他の形態にしてもよい。例えば、1バイトまたは2バイトのコマンドとし、8ビットの信号線で伝達するようにしてもよい。なお、2バイトのコマンドとした場合には、各バイトについて取込信号が送信される。   In each of the above embodiments, the payout start command (payout start command) and the winning ball number signal are transmitted through the same signal line, but the signal lines for transmitting them may be separated. In the above embodiment, the prize ball number signal is transmitted by one-way communication (the game control means does not take a response from the payout control means). A configuration may be adopted in which a prize ball acceptance signal indicating that a prize ball number signal has been accepted is transmitted in response to reception. That is, two-way communication may be performed for the winning ball number signal. Further, the form of the payout activation command and prize ball number signal used in the above embodiment may be changed to another form. For example, a 1-byte or 2-byte command may be transmitted via an 8-bit signal line. When a 2-byte command is used, a capture signal is transmitted for each byte.

また、上述した各実施の形態では、記録媒体処理装置(カードユニット50)で使用される記録媒体が磁気カード(プリペイドカード)であったが、磁気カードに限られず、非接触型あるいは接触型のICカードであってもよい。また、記録媒体処理装置が識別符号にもとづいて記録情報を特定できる構成とされている場合には、記録媒体は、記録情報を特定可能な識別符号などの情報を少なくとも記録媒体処理装置が読み取り可能に記録できるようなものであってもよい。さらに、記録媒体は、例えばバーコードなどの所定の情報記録シンボル等が読み取り可能にプリントされたものであってもよい。また、記録媒体の形状は、カード状のものに限られず、例えば円盤形状や球状、あるいはチップ形状など、どのような形状とされていてもよい。   In each of the above-described embodiments, the recording medium used in the recording medium processing apparatus (card unit 50) is a magnetic card (prepaid card). However, the recording medium is not limited to a magnetic card, and is a non-contact type or a contact type. An IC card may be used. In addition, when the recording medium processing device is configured to be able to identify the recording information based on the identification code, the recording medium can be read at least by the recording medium processing device such as an identification code that can identify the recording information It may be something that can be recorded on. Further, the recording medium may be a medium on which a predetermined information recording symbol such as a barcode is printed so as to be readable. The shape of the recording medium is not limited to a card shape, and may be any shape such as a disk shape, a spherical shape, or a chip shape.

なお、上記の各実施の形態のパチンコ遊技機は、主として、始動入賞にもとづいて可変表示部9に可変表示される特別図柄の停止図柄が所定の図柄の組み合わせになると所定の遊技価値が遊技者に付与可能になる第1種パチンコ遊技機であったが、始動入賞にもとづいて開放する電動役物の所定領域への入賞があると所定の遊技価値が遊技者に付与可能になる第2種パチンコ遊技機や、始動入賞にもとづいて可変表示される図柄の停止図柄が所定の図柄の組み合わせになると開放する所定の電動役物への入賞があると所定の権利が発生または継続する第3種パチンコ遊技機であっても、本発明を適用できる。さらに、主基板と払出制御基板とを備えた構成を有していれば、スロット機にも本発明を適用できる。   Note that the pachinko gaming machine of each of the above embodiments mainly has a predetermined game value when the stop symbol of the special symbol variably displayed on the variable display portion 9 based on the start winning is a combination of the predetermined symbols. The first type pachinko gaming machine that can be granted to the player, but if there is a winning in a predetermined area of the electric game that is released based on the start winning, the second type that can be given a predetermined gaming value to the player A third type in which a predetermined right is generated or continued when there is a prize for a predetermined electric combination that is released when a stop symbol of a symbol that is variably displayed based on a start winning prize becomes a combination of a predetermined pattern The present invention can be applied even to a pachinko gaming machine. Furthermore, the present invention can be applied to a slot machine as long as it has a configuration including a main board and a payout control board.

本発明は、パチンコ遊技機などの遊技に適用可能であり、特に、遊技制御手段と払出制御手段とが別個に設けられている遊技機に適用可能である。   The present invention can be applied to games such as pachinko gaming machines, and in particular, can be applied to gaming machines in which game control means and payout control means are provided separately.

パチンコ遊技機を正面からみた正面図である。It is the front view which looked at the pachinko game machine from the front. ガラス扉枠を取り外した状態での遊技盤の前面を示す正面図である。It is a front view which shows the front surface of the game board in the state which removed the glass door frame. 遊技機を裏面から見た背面図である。It is the rear view which looked at the gaming machine from the back. 球払出装置を示す正面図および断面図である。It is the front view and sectional drawing which show a ball dispensing apparatus. 遊技制御基板(主基板)の回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of a game control board (main board). 払出制御基板の回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of a payout control board. カードユニットと払出制御基板とで送受される信号を伝達するための回路構成例を示すブロック図である。It is a block diagram which shows the example of a circuit structure for transmitting the signal transmitted / received by a card unit and a payment control board. 遊技機に設けられている主要な基板の接続状態を示すブロック図である。It is a block diagram which shows the connection state of the main board | substrates provided in the gaming machine. 主基板における信号出力部と集中中継基板に搭載されている部品を示す説明図である。It is explanatory drawing which shows the components mounted in the signal output part in a main board | substrate, and the concentrated relay board | substrate. 演出制御基板、枠側ランプドライバ基板および音声制御基板の回路構成例を示すブロック図である。FIG. 12 is a block diagram illustrating circuit configuration examples of an effect control board, a frame side lamp driver board, and a sound control board. 電源基板の構成例を示すブロック図である。It is a block diagram which shows the structural example of a power supply board. 遊技制御手段における出力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the example of bit allocation of the output port in a game control means. 遊技制御手段における出力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the example of bit allocation of the output port in a game control means. 遊技制御手段における入力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the bit allocation example of the input port in a game control means. 主基板におけるCPUが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which CPU in a main board | substrate performs. 主基板におけるCPUが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which CPU in a main board | substrate performs. 払出起動コマンド送信処理を示すフローチャートである。It is a flowchart which shows payout starting command transmission processing. 遊技機に対して電力供給が開始されたとき、および電力供給が停止したときのマイクロコンピュータの動作の様子を示すタイミング図である。FIG. 6 is a timing chart showing how the microcomputer operates when power supply to the gaming machine is started and when power supply is stopped. タイマ割込処理を示すフローチャートである。It is a flowchart which shows a timer interruption process. 電源断処理を示すフローチャートである。It is a flowchart which shows a power-off process. 電源断処理を示すフローチャートである。It is a flowchart which shows a power-off process. 発射モータ制御処理を示すフローチャートである。It is a flowchart which shows a discharge motor control process. スイッチ処理で使用されるバッファを示す説明図である。It is explanatory drawing which shows the buffer used by switch processing. スイッチ処理の一例を示すフローチャートである。It is a flowchart which shows an example of a switch process. 制御信号の内容の一例を示す説明図である。It is explanatory drawing which shows an example of the content of a control signal. 制御信号の送受信に用いられる信号線等を示すブロック図である。It is a block diagram which shows the signal line etc. which are used for transmission / reception of a control signal. 賞球個数信号の出力の仕方の一例を示すタイミング図である。It is a timing chart showing an example of how to output a prize ball number signal. 賞球カウント信号の出力の仕方の一例を示すタイミング図である。It is a timing chart showing an example of how to output a prize ball count signal. 払出エラー信号の出力の仕方の一例を示すタイミング図である。It is a timing chart showing an example of how to output a payout error signal. 賞球処理を示すフローチャートである。It is a flowchart which shows a prize ball process. 賞球個数テーブルの構成例を示す説明図である。It is explanatory drawing which shows the structural example of a prize ball number table. 賞球個数加算処理を示すフローチャートである。It is a flowchart which shows a prize ball number addition process. 賞球制御処理を示すフローチャートである。It is a flowchart which shows a prize ball control process. 賞球待ち処理1を示すフローチャートである。It is a flowchart which shows prize ball waiting processing 1. 賞球送信処理を示すフローチャートである。It is a flowchart which shows a prize ball transmission process. 賞球待ち処理2を示すフローチャートである。It is a flowchart which shows the winning ball waiting process 2. FIG. 払出制御手段における出力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the bit allocation example of the output port in a payout control means. 払出制御手段における入力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the example of bit allocation of the input port in a payout control means. プリペイドカードユニットと遊技機との間の通信を説明するためのタイミング図である。It is a timing diagram for demonstrating communication between a prepaid card unit and a game machine. 払出制御用CPUが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which CPU for payout control performs. 払出制御用CPUが実行するタイマ割込処理を示すフローチャートである。It is a flowchart which shows the timer interruption process which CPU for payout control performs. 払出モータ制御処理を示すフローチャートである。It is a flowchart which shows a payout motor control process. 主制御通信処理を示すフローチャートである。It is a flowchart which shows a main control communication process. 賞球制御信号を入力ポートを介して入力するための条件を示す説明図である。It is explanatory drawing which shows the conditions for inputting a prize ball control signal via an input port. 賞球REQ割込処理を示すフローチャートである。It is a flowchart which shows a prize ball REQ interruption process. 主制御通信中処理を示すフローチャートである。It is a flowchart which shows the process during main control communication. 主制御通信終了処理を示すフローチャートである。It is a flowchart which shows a main control communication end process. 払出制御処理において使用するカウンタの一例を示す説明図である。It is explanatory drawing which shows an example of the counter used in payout control processing. 賞球球貸し制御処理を示すフローチャートである。It is a flowchart which shows a prize ball lending control process. 賞球払出数上乗せ制御を示すフローチャートである。It is a flowchart which shows prize ball payout number addition control. 払出開始待ち処理を示すフローチャートである。It is a flowchart which shows the payout start waiting process. 払出モータ停止待ち処理を示すフローチャートである。It is a flowchart which shows a payout motor stop waiting process. 払出通過待ち処理を示すフローチャートである。It is a flowchart which shows payout passage waiting processing. 払出通過待ち処理を示すフローチャートである。It is a flowchart which shows payout passage waiting processing. 球噛み検出処理を説明するためのタイミング図である。It is a timing diagram for explaining a ball biting detection process. 球噛み解除処理を説明するためのタイミング図である。It is a timing diagram for demonstrating a ball biting cancellation | release process. エラーの種類とエラー表示用LEDの表示との関係等を示す説明図である。It is explanatory drawing which shows the relationship between the kind of error, and the display of LED for an error display. エラー処理を示すフローチャートである。It is a flowchart which shows an error process. エラー処理を示すフローチャートである。It is a flowchart which shows an error process. 払出ケースエラーの発生の様子を示すタイミング図である。It is a timing diagram which shows the mode of occurrence of the payout case error. 賞球払出制御において使用されるカウンタの内容の変化の一例を示す説明図である。It is explanatory drawing which shows an example of the change of the content of the counter used in prize ball payout control. 賞球払出制御において使用されるカウンタの内容の変化の他の例を示す説明図である。It is explanatory drawing which shows the other example of the change of the content of the counter used in prize ball payout control. 賞球払出制御において使用されるカウンタの内容の変化の他の例を示す説明図である。It is explanatory drawing which shows the other example of the change of the content of the counter used in prize ball payout control. 賞球払出制御において使用されるカウンタの内容の変化の他の例を示す説明図である。It is explanatory drawing which shows the other example of the change of the content of the counter used in prize ball payout control. 賞球球貸し制御処理の他の例を示すフローチャートである。It is a flowchart which shows the other example of a prize ball lending control process. 払出開始待ち処理の他の例を示すフローチャートである。It is a flowchart which shows the other example of the payout start waiting process. 払出通過待ち処理の他の例を示すフローチャートである。It is a flowchart which shows the other example of payout passage waiting processing. 払出通過待ち処理の他の例を示すフローチャートである。It is a flowchart which shows the other example of payout passage waiting processing. 他の実施形態での主基板におけるCPUが実行するメイン処理の一部を示すフローチャートである。It is a flowchart which shows a part of main process which CPU in the main board | substrate in other embodiment performs. 他の実施形態における賞球REQ割込処理を示すフローチャートである。It is a flowchart which shows the prize ball REQ interruption process in other embodiment. 他の実施形態での主基板におけるCPUが実行するメイン処理の他の例の一部を示すフローチャートである。It is a flowchart which shows a part of other example of the main process which CPU in the main board | substrate in other embodiment performs.

符号の説明Explanation of symbols

1 パチンコ遊技機
31 遊技制御基板(主基板)
37 払出制御基板
56 CPU
69 遅延回路
80 演出制御基板
97 球払出装置
301 払出個数カウントスイッチ
371 払出制御用CPU
374 エラー表示用LED
375 エラー解除スイッチ
917 コンデンサ(バックアップ電源)
920 電源監視回路
1 Pachinko machine 31 Game control board (main board)
37 Dispensing control board 56 CPU
69 delay circuit 80 effect control board 97 ball payout device 301 payout number count switch 371 payout control CPU
374 LED for error display
375 Error release switch 917 Capacitor (backup power supply)
920 Power supply monitoring circuit

Claims (6)

遊技媒体を用いて遊技者が所定の遊技を行うことが可能であり、所定の入賞領域に遊技媒体が入賞したことにもとづいて景品として景品遊技媒体を払い出す遊技機であって、
遊技の進行を制御する遊技制御処理を実行し、所定の入賞領域に遊技媒体が入賞したことにもとづいて景品遊技媒体の払出数を指示する払出個数信号該払出個数信号の取り込みを指示する取込信号とともに出力する払出個数信号出力手段を含む遊技制御用マイクロコンピュータを搭載した遊技制御基板と、
前記遊技媒体の払い出しを行う払出手段と、
前記払出手段を駆動して遊技媒体を払い出させる払出駆動手段と、
前記遊技制御用マイクロコンピュータから入力した前記払出個数信号に応じて前記払出駆動手段を制御する景品遊技媒体払出制御処理を実行する払出制御用マイクロコンピュータを搭載した払出制御基板と、
操作に応じて操作信号を出力する操作手段とを備え、
前記遊技制御用マイクロコンピュータは、
前記遊技制御処理の実行状態を記憶し、遊技機への電力供給が停止しても所定期間は記憶内容が保持される遊技制御用変動データ記憶手段と、
遊技機への電力供給が開始されたときに払出制御起動信号を該払出制御起動信号の取り込みを指示する取込信号とともに前記払出制御用マイクロコンピュータに出力する払出制御起動信号出力手段と、
前記払出制御起動信号出力手段による前記払出制御起動信号を出力する処理の開始時期を、遊技機への電力供給が開始された時期から所定期間遅延させる遅延処理を実行する遅延処理手段と、
前記払出制御起動信号出力手段が前記払出制御起動信号を出力した後、前記操作手段から前記操作信号が出力されているか否かを確認する遊技制御用操作信号確認手段と、
前記遊技制御用操作信号確認手段が、前記操作信号が出力されていないことを確認したときに、前記遊技制御用変動データ記憶手段に保持されている記憶内容にもとづき前記遊技制御処理の実行状態を復帰させる遊技制御用実行状態復帰手段と、
前記遊技制御用操作信号確認手段が、前記操作信号が出力されていることを確認したときに、前記遊技制御用変動データ記憶手段に保持されている記憶内容を初期化して前記遊技制御処理を初期状態から開始させる遊技制御用実行状態初期化手段とを含み、
前記払出個数信号出力手段によって出力される前記払出個数信号と、前記払出制御起動信号出力手段によって出力される前記払出制御起動信号とは、同じ複数の信号線で前記遊技制御基板から前記払出制御基板に伝達される信号であり、
前記払出個数信号出力手段によって出力される前記払出個数信号の取込信号と、前記払出制御起動信号出力手段によって出力される前記払出制御起動信号の取込信号とは、同じ信号線で前記遊技制御基板から前記払出制御基板に伝達される信号であって、前記払出制御用マイクロコンピュータの割込端子に入力され、
前記払出制御用マイクロコンピュータは、
前記払出個数信号出力手段からの前記払出個数信号に応じて遊技媒体の払出数を示すデータを記憶する景品遊技媒体数データ記憶手段と、
該景品遊技媒体数データ記憶手段を含み、払出制御に応じて変動するデータを記憶するとともに、遊技機に対する電力供給が停止したときに記憶内容を少なくとも所定期間保存することが可能な払出制御用変動データ記憶手段と、
前記遊技制御用マイクロコンピュータから前記取込信号が前記割込端子に入力されたことに応じて、特定レジスタの値を所定値に更新するとともに、前記払出制御処理に割り込んで割込処理を実行する割込処理実行手段と、
前記割込処理実行手段による前記割込処理の実行を禁止する割込禁止状態に制御する割込禁止手段と、
前記払出個数信号出力手段からの前記払出個数信号を、前記割込処理において入力する払出個数信号入力手段と、
遊技機への電力供給が開始されたときに、前記割込禁止手段により前記割込禁止状態に制御した後、当該払出制御用マイクロコンピュータの内部状態を初期設定する初期設定手段と、
前記初期設定手段により初期設定が行われた後に前記特定レジスタの値が前記所定値か否かを確認するレジスタ確認手段と、
前記割込禁止手段により前記割込禁止状態に制御された後、所定時間内に前記レジスタ確認手段により前記特定レジスタの値が前記所定値であることが確認されたときに、前記遊技制御用マイクロコンピュータから出力された前記払出制御起動信号を入力する払出制御起動信号入力手段と、
前記割込禁止手段により前記割込禁止状態に制御されているときに、前記所定時間が経過しても前記レジスタ値確認手段により前記特定レジスタの値が前記所定値であることが確認されなかったとき、前記遊技制御用マイクロコンピュータから前記払出制御起動信号を受信しないことを示す起動不能情報を記憶する起動不能情報記憶手段と、
前記払出制御起動信号入力手段が前記払出制御起動信号を入力したことを条件に、前記操作手段から前記操作信号が出力されているか否かを確認する払出制御用操作信号確認手段と、
前記払出制御用操作信号確認手段が前記操作信号が出力されていないことを確認したときに、前記払出制御用変動データ記憶手段に保持されている記憶内容にもとづき前記払出制御処理の実行状態を復帰させる払出制御用実行状態復帰手段と、
前記払出制御用操作信号確認手段が前記操作信号が出力されていることを確認したときに、前記払出制御用変動データ記憶手段に保持されている記憶内容を初期化して前記払出制御処理を初期状態から開始させる払出制御用実行状態初期化手段とを含み
前記払出制御用マイクロコンピュータは、前記起動不能情報記憶手段に前記起動不能情報が記憶されている場合には、前記払出制御用操作信号確認手段による前記操作手段から操作信号が出力されているか否かの確認を実行することなく、前記払出制御用変動データ記憶手段に保持されている記憶内容を初期化して前記払出制御処理を初期状態から開始させ、
前記払出制御用マイクロコンピュータは、
前記払出制御用実行状態復帰手段による実行状態の復帰または前記払出制御用実行状態初期化手段による記憶内容の初期化がなされたあとに、前記割込処理実行手段による割込処理の実行を許可する割込許可状態に制御する割込許可手段と、
前記割込許可手段により割込許可状態に制御されたことに応じて、前記払出個数信号入力手段により前記割込処理にて前記払出個数信号が入力可能となったことを示す入力可能状態信号を前記遊技制御用マイクロコンピュータに出力する入力可能状態信号出力手段と、
前記払出個数信号入力手段が前記払出個数信号出力手段からの前記払出個数信号を入力したときに、該払出個数信号で指示された払出数を、景品遊技媒体数データ記憶手段が記憶しているデータに加算する加算手段と、
前記景品遊技媒体数データ記憶手段が記憶しているデータが、払い出すべき遊技媒体があることを示しているときに、前記払出駆動手段による前記払出手段の駆動を開始させる払出開始手段と、
前記払出駆動手段が前記払出手段を駆動しているときに、前記景品遊技媒体数データ記憶手段が記憶しているデータが増加したか否かを判定する増加判定手段と、
前記増加判定手段がデータが増加していることを判定したときに増加数を特定する増加数特定手段と、
前記払出手段が遊技媒体の払い出しを終了するまでの前記払出駆動手段の駆動量を特定可能なデータを記憶する駆動量データ記憶手段と、
前記駆動量データ記憶手段が記憶しているデータを、前記払出駆動手段の駆動量に応じた分減算する駆動量減算手段と、
前記増加判定手段がデータが増加していることを判定したときに、前記増加数特定手段が特定した増加数に応じた駆動量を示すデータを、前記駆動量データ記憶手段が記憶しているデータに加算する駆動量データ加算手段と、
前記払出開始手段により前記払出駆動手段による前記払出手段の駆動を開始させた後、前記駆動量データ記憶手段が記憶しているデータが遊技媒体の払出終了に応じた値になったときに前記払出駆動手段による前記払出手段の駆動を停止させる払出停止手段とを含み、
前記遊技制御用マイクロコンピュータは、遊技制御用実行状態復帰手段による実行状態の復帰または前記遊技制御用実行状態初期化手段による記憶内容の初期化がなされたことにより前記遊技制御処理の実行の準備が完了したあと、前記入力可能状態信号出力手段から前記入力可能状態信号を入力したことに応じて、遊技制御処理の実行を開始し、当該遊技制御処理にて前記払出個数信号出力手段により前記払出個数信号を出力する処理を実行する
ことを特徴とする遊技機。
A gaming machine in which a player can play a predetermined game using a game medium, and pays out a prize game medium as a prize based on the winning of the game medium in a predetermined prize area,
A game control process for controlling the progress of the game is executed, and a payout number signal for instructing the number of payout of the prize game medium based on the winning of the game medium in a predetermined prize area is instructed to take in the payout number signal. A game control board equipped with a game control microcomputer including a payout number signal output means for outputting together with a pay-in signal ;
A payout means for paying out the game medium;
Payout driving means for driving the payout means to pay out the game medium;
A payout control board equipped with a payout control microcomputer for executing a prize game medium payout control process for controlling the payout driving means in accordance with the payout number signal input from the game control microcomputer;
An operation means for outputting an operation signal according to the operation,
The game control microcomputer is:
A game control variation data storage unit that stores an execution state of the game control process and retains the stored content for a predetermined period even when power supply to the gaming machine is stopped.
A payout control start signal output means for outputting a payout control start signal to the payout control microcomputer together with an input signal for instructing to take in the payout control start signal when power supply to the gaming machine is started;
Delay processing means for executing a delay process for delaying a start time of the process of outputting the payout control start signal by the payout control start signal output means from a time when power supply to the gaming machine is started for a predetermined period;
After the payout control start signal output means outputs the payout control start signal, a game control operation signal check means for checking whether or not the operation signal is output from the operation means,
When the game control operation signal confirmation means confirms that the operation signal is not output, the game control process execution state is determined based on the stored contents held in the game control variation data storage means. An execution state return means for game control to be returned;
When the game control operation signal confirmation means confirms that the operation signal has been output, the game control process is initialized by initializing the stored contents held in the game control variation data storage means. Execution state initialization means for game control to start from the state,
The payout number signal output by the payout number signal output means and the payout control start signal output by the payout control start signal output means are the same signal lines from the game control board to the payout control board. Is a signal transmitted to
The take-in signal of the payout-number signal output by the payout-number signal output means and the take-in signal of the payout control activation signal output by the payout control activation signal output means are the same signal line. A signal transmitted from the board to the payout control board, input to the interrupt terminal of the payout control microcomputer,
The dispensing control microcomputer is:
A prize game medium number data storage means for storing data indicating a payout number of game media according to the payout number signal from the payout number signal output means;
A payout control variation that includes the prize game medium number data storage means, stores data that fluctuates in accordance with payout control, and can store the stored contents for at least a predetermined period when power supply to the gaming machine is stopped Data storage means;
In response to the input of the capture signal from the game control microcomputer to the interrupt terminal, the value of the specific register is updated to a predetermined value, and interrupt processing is executed by interrupting the payout control processing. Interrupt processing execution means;
And interrupt inhibit means for controlling the interrupt disabled state to prohibit the execution of the interrupt processing by the interrupt processing execution means,
The payout number signal from the payout number signal output means, a payout number signal input means for inputting in said interrupt process,
When power supply to the gaming machine is started, after controlling the interrupt disabled state by the interrupt disabled section, the initial setting means for initially setting the internal state of the payout control microcomputer,
Register confirmation means for confirming whether or not the value of the specific register is the predetermined value after the initial setting is performed by the initial setting means;
When the value of the specific register is confirmed to be the predetermined value by the register checking means within a predetermined time after being controlled to the interrupt disabled state by the interrupt prohibiting means , the game control micro A payout control start signal input means for inputting the payout control start signal output from the computer;
While being controlled to the interrupt prohibited state by the interrupt prohibiting means, even if the predetermined time has elapsed, the register value confirmation means has not confirmed that the value of the specific register is the predetermined value A non-startable information storage means for storing non-startable information indicating that the payout control start signal is not received from the game control microcomputer;
And the conditions, the payout controlling manipulation signal confirmation means for confirming whether or not the operation signal is output from the operation means that the payout control activation signal input means inputs the payout control activation signal,
When it is confirmed that the payout controlling manipulation signal confirmation means is not output before Symbol operation signal, the execution state of the payout control processing based on the storage contents stored in the payout control change data storing means An execution state return means for payout control to be returned;
When it is confirmed that the payout controlling manipulation signal confirmation means is output before Symbol operation signal, initially the payout control processes using the storage contents stored in the payout control change data storing means is initialized and a dispensing control execution state initialization means for starting from the state,
In the payout control microcomputer, if the start disable information storage means stores the start disable information, whether or not an operation signal is output from the operation means by the payout control operation signal confirmation means. Without executing confirmation, the storage content held in the payout control variation data storage means is initialized to start the payout control process from an initial state,
The dispensing control microcomputer is:
The execution of the interrupt process by the interrupt process execution unit is permitted after the execution state is returned by the payout control execution state return unit or the stored contents are initialized by the payout control execution state initialization unit. An interrupt permission means for controlling the interrupt permission state;
An input enable state signal indicating that the payout number signal can be input in the interrupt processing by the payout number signal input means in response to being controlled to an interrupt permission state by the interrupt permission means. An input enable state signal output means for outputting to the game control microcomputer ;
When the payout number signal input means inputs the payout number signal from the payout number signal output means, data of the number of payouts indicated by該払out number signal, the prize game medium count data storing means stores Adding means for adding to
A payout start means for starting driving of the payout means by the payout drive means when the data stored in the prize game medium number data storage means indicates that there is a game medium to be paid out;
An increase determination means for determining whether or not the data stored in the premium game medium number data storage means has increased when the payout driving means is driving the payout means;
An increase number specifying means for specifying an increase number when the increase determining means determines that the data is increasing; and
Drive amount data storage means for storing data capable of specifying the drive amount of the payout drive means until the payout means finishes paying out game media;
Drive amount subtraction means for subtracting the data stored in the drive amount data storage means by an amount corresponding to the drive amount of the payout drive means;
The data stored in the drive amount data storage means stores data indicating the drive amount according to the increase number specified by the increase number specifying means when the increase determination means determines that the data is increasing. Driving amount data adding means for adding to
After the payout starting means starts driving the payout means by the payout driving means, the payout is performed when the data stored in the drive amount data storage means becomes a value corresponding to the end of payout of the game medium. A payout stop means for stopping driving of the payout means by the drive means,
The game control microcomputer is prepared for execution of the game control process when the execution state is returned by the game control execution state return means or the stored contents are initialized by the game control execution state initialization means. After completion, in response to the input enabled state signal being input from the input enabled state signal output means, the game control process is started, and in the game control process, the payout number signal output means is used to output the payout number. A gaming machine characterized by executing a process of outputting a signal .
払出制御用マイクロコンピュータは、駆動量データ加算手段がデータを加算したときの景品遊技媒体数データ記憶手段に記憶されているデータを保持する前回景品遊技媒体数データ記憶手段を含み、
増加判定手段は、前記景品遊技媒体数データ記憶手段に記憶されているデータと前記前回景品遊技媒体数データ記憶手段に記憶されているデータとを比較することによりデータが増加したか否かを判定し、
増加数特定手段は、前記景品遊技媒体数データ記憶手段に記憶されているデータと前記前回景品遊技媒体数データ記憶手段に記憶されているデータとの差を増加数として特定する
請求項1記載の遊技機。
The payout control microcomputer includes previous prize game medium number data storage means for holding data stored in the prize game medium number data storage means when the drive amount data addition means adds data,
The increase determination means determines whether the data has increased by comparing the data stored in the prize game medium number data storage means with the data stored in the previous prize game medium number data storage means. And
The increase number specifying means specifies the difference between the data stored in the prize game medium number data storage means and the data stored in the previous prize game medium number data storage means as an increase number. Gaming machine.
払出制御用マイクロコンピュータは、増加判定手段がデータが増加したと判定したときに、加算手段によりデータが加算されたあとに景品遊技媒体数データ記憶手段に記憶されているデータを前回景品遊技媒体数データ記憶手段に設定する景品遊技媒体数データ設定手段を含む
請求項2記載の遊技機。
When the increase determination means determines that the data has increased, the payout control microcomputer uses the data stored in the premium game medium number data storage means after the data is added by the addition means as the previous premium game medium number. The gaming machine according to claim 2, further comprising a prize game medium number data setting means set in the data storage means.
払出制御用マイクロコンピュータは、払出制御起動信号出力手段からの払出制御起動信号を入力することなくあらかじめ定められた待機期間が経過したときは、制御を停止した停止状態に移行する
請求項1から請求項3のうちいずれかに記載の遊技機。
The payout control microcomputer shifts to a stopped state in which the control is stopped when a predetermined waiting period has elapsed without inputting a payout control start signal from the payout control start signal output means. Item 4. A gaming machine according to any one of Items 3 to 3.
払出制御用マイクロコンピュータは、払出制御起動信号出力手段からの払出制御起動信号を入力することなくあらかじめ定められた待機期間が経過したときに、通信に関する異常が発生したことを検出する通信異常検出手段と、
前記通信異常検出手段が異常が発生したことを検出したとき、その旨を報知する通信異常報知手段とを備えた
請求項1から請求項4のうちいずれかに記載の遊技機。
The payout control microcomputer detects a communication abnormality detection means when a predetermined standby period has elapsed without inputting a payout control start signal from the payout control start signal output means. When,
The gaming machine according to any one of claims 1 to 4, further comprising: a communication abnormality notifying unit that notifies that when the communication abnormality detecting unit detects that an abnormality has occurred.
遊技機に対する電力供給が開始されたときに、遊技制御用マイクロコンピュータと払出制御用マイクロコンピュータを動作可能な状態にする許容信号を出力する許容信号出力手段と、
前記許容信号出力手段からの許容信号にもとづいて払出制御用マイクロコンピュータおよび遊技制御用マイクロコンピュータが動作可能な状態となるときに、前記払出制御用マイクロコンピュータが動作可能な状態となる時期よりも特定期間遅延させて前記遊技制御用マイクロコンピュータを動作可能な状態とする遅延手段とを備えた
請求項1から請求項5のうちのいずれかに記載の遊技機。
An allowance signal output means for outputting an allowance signal that enables the game control microcomputer and the payout control microcomputer to be operable when power supply to the gaming machine is started;
When the payout control microcomputer and the game control microcomputer become operable based on the allowance signal from the allowance signal output means, the time is specified more than when the payout control microcomputer becomes operable. The gaming machine according to any one of claims 1 to 5, further comprising delay means for delaying a period to make the game control microcomputer operable.
JP2004347390A 2004-11-30 2004-11-30 Game machine Expired - Fee Related JP4401941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004347390A JP4401941B2 (en) 2004-11-30 2004-11-30 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004347390A JP4401941B2 (en) 2004-11-30 2004-11-30 Game machine

Publications (2)

Publication Number Publication Date
JP2006149852A JP2006149852A (en) 2006-06-15
JP4401941B2 true JP4401941B2 (en) 2010-01-20

Family

ID=36628812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004347390A Expired - Fee Related JP4401941B2 (en) 2004-11-30 2004-11-30 Game machine

Country Status (1)

Country Link
JP (1) JP4401941B2 (en)

Also Published As

Publication number Publication date
JP2006149852A (en) 2006-06-15

Similar Documents

Publication Publication Date Title
JP2006175067A (en) Game machine
JP4251852B2 (en) Game machine
JP2006246981A (en) Game machine
JP4401941B2 (en) Game machine
JP2006166938A (en) Game machine
JP4347141B2 (en) Game machine
JP2006246979A (en) Game machine
JP4489562B2 (en) Game machine
JP4156318B2 (en) Game machine
JP4226501B2 (en) Game machine
JP2006149851A (en) Game machine
JP4282307B2 (en) Game machine
JP2006246980A (en) Game machine
JP4271608B2 (en) Game machine
JP2005342354A (en) Game machine
JP4657569B2 (en) Game machine
JP4156339B2 (en) Game machine
JP4282304B2 (en) Game machine
JP4251851B2 (en) Game machine
JP2006223671A (en) Game machine
JP4266299B2 (en) Game machine
JP2006175066A (en) Game machine
JP4245383B2 (en) Game machine
JP4156340B2 (en) Game machine
JP4245382B2 (en) Game machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090310

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090427

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131106

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees