JP2006223671A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2006223671A
JP2006223671A JP2005042966A JP2005042966A JP2006223671A JP 2006223671 A JP2006223671 A JP 2006223671A JP 2005042966 A JP2005042966 A JP 2005042966A JP 2005042966 A JP2005042966 A JP 2005042966A JP 2006223671 A JP2006223671 A JP 2006223671A
Authority
JP
Japan
Prior art keywords
payout
signal
game
state
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.)
Withdrawn
Application number
JP2005042966A
Other languages
Japanese (ja)
Inventor
Shohachi Ugawa
詔八 鵜川
Takashi Watanabe
剛史 渡辺
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 JP2005042966A priority Critical patent/JP2006223671A/en
Publication of JP2006223671A publication Critical patent/JP2006223671A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a possible discrepancy in recognition involved in the detection of the putting out of prize game media while curtailing the cost in a game machine which has a game control means and a put-out control means disposed separately. <P>SOLUTION: When the putting out of the game balls is detected by a counting switch 301 for the number of put-out media, if the detection is judged for the putting out of prize balls, a put-out control means turns a prize ball counting signal on for a prescribed period of time. When a full capacity signal is outputted from a full capacity switch or when no VL signal is transmitted with a photocoupler, a status signal is turned off and the shooting is not permitted. On the other hand, when no full capacity signal is outputted from the full capacity switch or the VL signal is transmitted with the photocoupler, the status signal is turned on and the shooting is permitted. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、遊技媒体を用いて遊技者が所定の遊技を行うことが可能であり、払出条件が成立したことにもとづいて遊技媒体を遊技者に払い出すパチンコ遊技機やスロット機等の遊技機に関する。   The present invention is a game machine such as a pachinko gaming machine or a slot machine in which a player can play a predetermined game using a game medium and pays out the game medium to the player based on the fact that a payout condition is established. About.

遊技機として、遊技球などの遊技媒体を発射装置によって遊技領域に発射し、遊技領域に設けられている入賞口などの入賞領域に遊技媒体が入賞すると、所定個の賞球が遊技者に払い出されるものがある。さらに、表示状態が変化可能な可変表示部が設けられ、可変表示部の表示結果があらかじめ定められた特定表示態様となった場合に所定の遊技価値を遊技者に与えるように構成されたものがある。   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, the 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 the 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 where the 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 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. Further, when there is a ball lending request from the prepaid card unit, the payout control means performs a process of paying out the number of lending balls based on the request.

遊技機には、払い出された貸し球を検出して払出制御手段に検出出力するためのカウントスイッチと、払い出された賞球を検出して遊技制御手段と払出制御手段とに検出出力するためのカウントスイッチとが設けられているものがある(例えば、特許文献1参照。)。そのように構成された遊技機では、遊技制御手段と払出制御手段とに送信される賞球の払い出しを検出するカウントスイッチからの検出信号にもとづいて、遊技制御手段および払出制御手段で未払出の賞球数が管理されている。   In the gaming machine, a count switch for detecting the paid-out lending ball and detecting and outputting it to the pay-out control means, and detecting and outputting the paid-out prize ball to the game control means and the pay-out control means. Some of them are provided with a count switch (for example, see Patent Document 1). In the gaming machine configured in this way, the game control means and the payout control means have not paid out based on the detection signal from the count switch that detects the payout of the prize ball transmitted to the game control means and the payout control means. The number of prize balls is managed.

特開2001−187250号公報(段落0065,0069,0152〜0161、図7、図26)JP 2001-187250 A (paragraphs 0065, 0069, 0152 to 0161, FIGS. 7 and 26)

以上のように、特許文献1に記載された遊技機では、払出制御手段が遊技制御手段からの制御信号にもとづいて入賞にもとづく個数の賞球を払い出し、賞球の払い出しを検出したカウントスイッチからの検出信号が遊技制御手段および払出制御手段に入力され、入力されたカウントスイッチからの検出信号にもとづいて遊技制御手段と払出制御手段とで共に賞球の未払出数を管理可能にする構成とされている。このような場合、払出制御手段にのみ検出信号を出力する貸し球の払い出しを検出するカウントスイッチを、賞球の払い出しを検出するカウントスイッチとは別個に設ける必要があるため、遊技機が高コストとなってしまう。また、賞球の払い出しを検出したカウントスイッチからの検出信号が分岐されて遊技制御手段および払出制御手段に入力されているので、ノイズ等の影響によって遊技制御手段と払出制御手段とに入力される検出信号に狂いが生じるおそれがあり、遊技制御手段と払出制御手段とで賞球の払出検出に関わる認識が相違してしまうおそれがあった。   As described above, in the gaming machine described in Patent Document 1, the payout control means pays out the number of prize balls based on the winning based on the control signal from the game control means, and from the count switch that detects the payout of the prize ball The detection signal is input to the game control means and the payout control means, and the game control means and the payout control means can both manage the number of unpaid balls based on the input detection signal from the count switch. Has been. In such a case, it is necessary to provide a count switch for detecting the payout of the lending ball that outputs a detection signal only to the payout control means separately from the count switch for detecting the payout of the prize ball. End up. Further, since the detection signal from the count switch that detected the payout of the prize ball is branched and inputted to the game control means and the payout control means, it is inputted to the game control means and the payout control means due to the influence of noise or the like. There is a possibility that the detection signal is distorted, and there is a possibility that the recognition relating to the detection of the payout of the prize ball is different between the game control means and the payout control means.

そこで、本発明は、遊技制御手段と払出制御手段とが別個に設けられている遊技機において、コストの削減を図るとともに、景品遊技媒体の払出検出に関わる認識の相違が発生してしまうことを防止することができる遊技機を提供することを目的とする。   Therefore, the present invention aims to reduce costs in a gaming machine in which a game control means and a payout control means are provided separately, and that recognition differences related to detection of payout of premium game media will occur. It is an object to provide a gaming machine that can be prevented.

本発明による遊技機は、遊技媒体(例えば遊技球)を遊技領域に発射することにより遊技者が所定の遊技を行うことが可能であり、所定の入賞領域(例えば遊技領域に設けられている固定の入賞口29,30,33,39や可変入賞球装置15)に遊技媒体が入賞したことにもとづいて景品として景品遊技媒体(例えば賞球)を払い出し、遊技者からの貸出要求を受け付けた貸出要求受付装置(例えばプリペイドカードユニット50)からの貸出要求信号(例えばBRDY信号、BRQ信号)にもとづいて遊技者に貸し出す貸し遊技媒体(例えば貸し球)を払い出す遊技機であって、遊技媒体を遊技領域に向けて発射する発射手段(例えば発射モータ94を含む打球発射装置)と、遊技の進行を制御する遊技制御処理(例えばステップS21〜S36)を実行する遊技制御用マイクロコンピュータ(例えば遊技制御用マイクロコンピュータ560)を搭載した遊技制御基板(例えば遊技制御基板(主基板)31)と、遊技媒体の払い出しを行う払出手段(例えば球払出装置97)と、貸出要求受付装置が遊技機に接続されていることを示す貸出要求受付装置接続信号(例えばVL信号)が入力される入力部(例えばI/Oポート372f)と、払出手段を制御する払出制御処理(例えばステップS753,S756)を実行する払出制御用マイクロコンピュータ(例えば払出制御用マイクロコンピュータ370)と、貸出要求受付装置からの貸出要求受付装置接続信号が入力されたことにもとづいて接続信号を払出制御用マイクロコンピュータに伝達するフォトカプラ(例えばフォトカプラ151)と、入力部とフォトカプラの間に接続されるコンデンサ(例えばコンデンサ153,154)とが搭載された払出制御基板(例えば払出制御基板37)と、貸出要求受付装置からの貸出要求信号を中継して払出制御基板に出力する貸出要求中継基板(例えばインタフェース基板66)と、遊技による払出条件の成立(例えば入賞領域への遊技球の入賞)にもとづく景品としての景品遊技媒体の払い出しと、貸出要求による払出条件の成立(例えばステップS623のY)にもとづく貸し遊技媒体の払い出しとを検出し、払出制御用マイクロコンピュータに検出信号を出力する払出検出手段(例えば払出個数カウントスイッチ301)とを備え、遊技制御用マイクロコンピュータは、フォトカプラから払出制御用マイクロコンピュータに伝達される接続信号の出力状態を示す状態信号(例えば、状態信号。図6参照)を入力する状態信号入力手段(例えば、入力回路68)と、状態信号入力手段による状態信号の入力状態にもとづいて、発射手段を駆動する発射制御信号の発射手段への入力状態を制御する発射制御手段(例えば遊技制御用マイクロコンピュータ560における状態信号の入力状態に応じて発射モータ信号を出力する処理(図22参照)を含むステップS21,S22を実行する部分)と、遊技による払出条件の成立にもとづいて、払い出すべき景品遊技媒体の数を特定可能な払出指令信号(例えば賞球個数コマンド)を該払出指令信号の取り込みを指示する取込信号(例えば賞球REQ信号)とともに払出制御用マイクロコンピュータに出力する払出指令信号出力手段(例えば遊技制御用マイクロコンピュータ560におけるステップS251〜S255,S203の処理を実行する部分)を含み、払出制御用マイクロコンピュータは、払出指令信号出力手段からの払出指令信号を入力する払出指令信号入力手段(例えば、払出制御用マイクロコンピュータ370のうち賞球REQ割込処理におけるステップS545の処理を実行する部分)と、払出指令信号入力手段が入力した払出指令信号により指定された数の景品遊技媒体を払出手段を制御して払い出させる払出処理を実行する景品遊技媒体払出制御手段(例えば、払出制御用マイクロコンピュータ370において払出開始待ち処理(ステップS610:特に、ステップS631〜S635,S627,S628)、払出モータ停止待ち処理(ステップS611)、払出通過待ち処理(ステップS612)、および払出モータ制御処理(ステップS753)を実行する部分)と、払出検出手段から入力された検出信号が景品遊技媒体と貸し遊技媒体とのいずれの払い出しによるものかを判定する払出判定手段(例えば払出制御用マイクロコンピュータ370におけるステップS601〜ステップS603を実行する部分)と、払出判定手段により検出信号が景品遊技媒体の払い出しによるものと判定されたとき(例えばステップS602のY)に、遊技制御用マイクロコンピュータに景品遊技媒体の払い出しの検出を示す景品遊技媒体計数信号(例えば賞球カウント信号)を出力する計数信号出力手段(例えば払出制御用マイクロコンピュータ370におけるステップS606を実行する部分)と、所定条件の成立(例えステップS808のYやステップS811のY、すなわち図48に示す満タンエラーおよび球切れエラーのいずれかの発生)により払い出しに関わる制御状態をエラー状態(例えばエラーフラグの満タンエラービットおよび球切れエラービットがセットされている状態)に移行させるエラー状態設定手段(例えば払出制御用マイクロコンピュータ370におけるステップS809,S812およびステップS621を実行する部分)と、フォトカプラから伝達されている接続信号の入力状態を判定する入力状態判定手段(例えば払出制御用マイクロコンピュータ370におけるステップS825を実行する部分)と、入力状態判定手段によって接続信号が伝達されていないと判定されたときに、貸出要求受付装置が遊技機に接続されていないことを報知するための接続エラー報知処理を実行する接続エラー報知処理手段(例えば払出制御用マイクロコンピュータ370におけるステップS574〜S576を実行する部分:図48に示すようにプリペイドカードユニット未接続エラーをエラー表示用LED374に表示する処理)とを含み、計数信号出力手段は、エラー状態設定手段によりエラー状態に移行されているときでも、景品遊技媒体計数信号を出力する(例えば、ステップS621の処理によってエラーフラグのエラービットがセットされていると判定されたときには、その後の払出処理は行われないが、エラービットがセットされていると判定されたときであっても、ステップS602,S603,S606の処理は実行する)ことを特徴とする。   The gaming machine according to the present invention allows a player to play a predetermined game by firing a game medium (for example, a game ball) into the game area, and a predetermined winning area (for example, a fixed area provided in the game area). Based on the fact that the game medium is won in the prize-winning entrances 29, 30, 33, 39 and the variable winning ball apparatus 15), a prize game medium (for example, a prize ball) is paid out as a prize, and a rental request from a player is accepted. A gaming machine that pays out a lending game medium (for example, a lending ball) to be lent to a player based on a lending request signal (for example, a BRDY signal, a BRQ signal) from a request receiving device (for example, a prepaid card unit 50). Shooting means for launching toward the game area (for example, a ball hitting device including the launch motor 94) and game control processing for controlling the progress of the game (for example, step S21) S36) a game control board (for example, game control board (main board) 31) on which a game control microcomputer (for example, game control microcomputer 560) is executed, and a payout means (for example, ball payout) for paying out game media Device 97), an input unit (for example, I / O port 372f) to which a lending request receiving device connection signal (for example, VL signal) indicating that the lending request receiving device is connected to the gaming machine is input, and a payout means Based on a payout control microcomputer (eg, payout control microcomputer 370) that executes payout control processing (eg, steps S753 and S756) to be controlled, and a loan request accepting device connection signal from the lending request accepting device. A photocoupler (for example, a photocoupler) that transmits a connection signal to the dispensing control microcomputer. A payout control board (for example, payout control board 37) on which a coupler 151) and capacitors (for example, capacitors 153 and 154) connected between the input unit and the photocoupler are mounted, and a loan request signal from the loan request receiving device A loan request relay board (for example, the interface board 66) that relays and outputs to the payout control board, and payout of a prize game medium as a prize based on establishment of a payout condition by a game (for example, winning of a game ball in a winning area); A payout detecting means (for example, a payout number count switch 301) for detecting a payout of a rented game medium based on the establishment of a payout condition based on the loan request (eg, Y in step S623) and outputting a detection signal to the payout control microcomputer; The game control microcomputer is provided with a payout control microcomputer from a photocoupler. A state signal (for example, a state signal) indicating an output state of the connection signal transmitted to the computer. Based on the state signal input means (for example, the input circuit 68) for inputting the state signal input state and the state signal input state by the state signal input means, the input state to the firing means of the firing control signal for driving the firing means is determined. Launch control means for controlling (for example, a part for executing steps S21 and S22 including a process of outputting a launch motor signal in accordance with an input state of a state signal in the game control microcomputer 560 (see FIG. 22)) and payout by game Based on the establishment of the condition, a payout command signal (for example, a prize ball number command) that can specify the number of prize game media to be paid out together with a take-in signal (for example, a prize ball REQ signal) for instructing to take in the payout command signal. A payout command signal output means for outputting to the payout control microcomputer (for example, a scan in the game control microcomputer 560). The payout control microcomputer includes a payout command signal input means for inputting a payout command signal from the payout command signal output means (for example, a payout control microcomputer). 370, a portion for executing the processing of step S545 in the prize ball REQ interrupt processing) and paying out the number of premium game media specified by the payout command signal input by the payout command signal input means by controlling the payout means A prize game medium payout control means for executing payout processing (for example, payout start waiting processing in the payout control microcomputer 370 (step S610: in particular, steps S631 to S635, S627, S628), payout motor stop wait processing (step S611). ), Payout passing waiting processing (step S612), and A portion for executing the payout motor control process (step S753) and a payout determining means for determining whether the detection signal input from the payout detecting means is a payout of the prize game medium or the rented game medium (for example, payout control) Portion for executing steps S601 to S603 in the microcomputer 370) and when the detection signal is determined by the payout determination means to be due to the payout of the prize game medium (eg, Y in step S602). Counting signal output means for outputting a prize game medium count signal (for example, a prize ball count signal) indicating detection of the payout of the prize game medium (for example, a part for executing step S606 in the payout control microcomputer 370), and a predetermined condition Established (for example, Y or step of step S808) In S811, Y, that is, the occurrence of either the full tank error or the ball out error shown in FIG. 48, the control state related to payout is an error state (for example, the full flag error bit and the ball out error bit of the error flag are set) ) To shift to an error state (for example, a portion for executing steps S809, S812 and S621 in the payout control microcomputer 370) and an input state determination unit for determining an input state of a connection signal transmitted from the photocoupler. (For example, the part that executes step S825 in the payout control microcomputer 370) and the input state determining means determines that the connection signal is not transmitted, the lending request accepting device is not connected to the gaming machine Connection error to notify Connection error notification processing means for executing intelligence processing (for example, a portion for executing steps S574 to S576 in the payout control microcomputer 370: processing for displaying a prepaid card unit unconnected error on the error display LED 374 as shown in FIG. 48) The count signal output means outputs the prize game medium count signal even when the error status setting means has shifted to the error state (for example, the error bit of the error flag is set by the processing of step S621). If it is determined that the error bit is determined, the subsequent payout process is not performed, but even if it is determined that the error bit is set, the processes in steps S602, S603, and S606 are performed). To do.

払い出された遊技媒体が貯留される貯留部に所定量以上の遊技媒体が貯留されていることを検出したときに貯留検出信号を出力する貯留状態検出手段(例えば、満タンスイッチ48)と、貯留状態検出手段から貯留検出信号が出力されているときに、状態信号入力手段への状態信号の入力状態を、接続信号の出力状態が停止状態となっているときと同じ状態に制御する貯留検出時状態信号制御手段(例えばAND回路155)とを備え、貯留検出信号は、払出制御用マイクロコンピュータに入力され、払出制御用マイクロコンピュータが、貯留検出信号が入力状態となっているときは払出制御処理の実行を停止する(例えばステップS621のY)ように構成されていてもよい。   A storage state detection means (for example, a full tank switch 48) that outputs a storage detection signal when it is detected that a predetermined amount or more of the game media is stored in the storage unit that stores the paid-out game media; Storage detection that controls the input state of the state signal to the state signal input means to be the same as when the output state of the connection signal is stopped when the storage detection signal is output from the storage state detection means A storage state detection signal is input to the payout control microcomputer, and the payout control microcomputer performs payout control when the storage detection signal is in the input state. The execution of the process may be stopped (for example, Y in step S621).

遊技制御用マイクロコンピュータが、発射制御手段によって発射制御信号の発射手段への入力状態を発射停止状態に制御したときに、発射停止状態であることを報知するための発射停止報知処理を実行する発射停止報知処理手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS21にてNと判定したときに発射不許可状態通知コマンドを送信する処理を実行する部分。)を含むように構成されていてもよい。   Launching that executes a firing stop notification process for notifying that the game control microcomputer is in a firing stop state when the launch control means controls the input state of the launch control signal to the launching means to the firing stop state. It may be configured to include a stop notification processing means (for example, a part for executing a process of transmitting a firing non-permission state notification command when it is determined as N in step S21 in the game control microcomputer 560). .

景品遊技媒体払出制御手段による景品遊技媒体の払い出しが行われたことを報知する景品遊技媒体払出報知手段(例えば賞球ランプ51)を備え、遊技制御用マイクロコンピュータは、景品遊技媒体計数信号の入力に応じて、景品遊技媒体払出報知手段に景品遊技媒体払出制御手段による景品遊技媒体の払い出しが行われたことを報知させるための処理(例えば、賞球払出確認指定コマンドを演出制御用マイクロコンピュータ100に出力する賞球報知処理(ステップS24a):図20参照)を行うように構成されていてもよい。   A prize game medium payout notification means (for example, a prize ball lamp 51) for notifying that a prize game medium has been paid out by the prize game medium payout control means is provided, and the game control microcomputer inputs a prize game medium count signal. In response to this, a process for notifying the prize game medium payout notifying means that the prize game medium has been paid out by the prize game medium payout control means (for example, a prize ball payout confirmation designation command is sent to the effect control microcomputer 100). May be configured to perform a prize ball notification process (step S24a): see FIG.

払出制御用マイクロコンピュータは、貸出要求による払出条件の成立にもとづいて所定数の貸し遊技媒体を払出手段を制御して払い出させる貸出処理を実行する貸し遊技媒体払出制御手段(例えば、払出制御用マイクロコンピュータ370において払出開始待ち処理(ステップS610)におけるステップS623〜S628、払出モータ停止待ち処理(ステップS611)、払出通過待ち処理(ステップS612)、および払出モータ制御処理(ステップS753)を実行する部分)を含み、払出判定手段は、景品遊技媒体払出制御手段による払出処理および貸し遊技媒体払出制御手段による貸出処理のいずれも実行されていないときに、払出検出手段からの検出信号が入力されると(例えば、ステップS601において払出個数カウントスイッチ301がオンしたときに、ステップS602およびステップS603のいずれもNの場合)、検出信号が景品遊技媒体払出制御手段による景品遊技媒体の払い出しによるものと判定する(例えば、ステップS602において払い出された遊技球が賞球であると判定した場合と同じ処理(ステップS604,S606)を実行する)ように構成されていてもよい。   The payout control microcomputer is a lending game medium payout control means (for example, a payout control medium) that executes a lending process for controlling a payout means to pay out a predetermined number of lending game media based on establishment of a payout condition based on a loan request. The microcomputer 370 executes steps S623 to S628, a payout motor stop wait process (step S611), a payout passage wait process (step S612), and a payout motor control process (step S753) in the payout start wait process (step S610). ) And the payout determination means receives a detection signal from the payout detection means when neither the payout process by the prize game medium payout control means nor the lending process by the rental game medium payout control means is executed. (For example, in step S601, the number of payouts is counted. When the switch 301 is turned on, if both step S602 and step S603 are N), it is determined that the detection signal is due to the payout of the prize game medium by the prize game medium payout control means (for example, paid out in step S602). The same processing as when it is determined that the game ball is a prize ball (steps S604 and S606) may be performed.

払出制御用マイクロコンピュータは、貸し遊技媒体払出制御手段による貸出処理により払い出すべき貸し遊技媒体の数を示す貸し遊技媒体数データを記憶する貸し遊技媒体数データ記憶手段(例えば払出制御用マイクロコンピュータ370におけるRAMに形成された球貸し未払出個数カウンタ)と、払出検出手段から入力された検出信号が貸し遊技媒体の払い出しによるものであると払出判定手段が判定した(ステップS603のY)ことに応じて、エラー状態設定手段によりエラー状態に移行されているときでも貸し遊技媒体数データ記憶手段に記憶されている貸し遊技媒体数データを減算する貸し遊技媒体数データ減算手段(例えば払出制御用マイクロコンピュータ370におけるステップS605を実行する部分)とを含む構成とされていてもよい。   The payout control microcomputer is a rented game medium number data storage means (for example, a payout control microcomputer 370) for storing rented game medium number data indicating the number of rented game media to be paid out by the lending process by the rented game medium payout control means. In response to the fact that the payout determining means determines that the detection signal input from the payout detecting means is due to payout of the rented game medium (Y in step S603). Thus, even when the error state setting means shifts to the error state, the rental game medium number data subtracting means (for example, a payout control microcomputer) subtracts the rental game medium number data stored in the rental game medium number data storage means. 370, the portion for executing step S605). It may be.

フォトカプラから伝達される貸出要求受付装置接続判定信号が分岐され、払出制御用マイクロコンピュータ(例えば払出制御用マイクロコンピュータ370)と、遊技制御用マイクロコンピュータ(例えば遊技制御用マイクロコンピュータ560)とに入力される(図6参照)ように構成されていてもよい。   The lending request acceptance device connection determination signal transmitted from the photocoupler is branched and input to a payout control microcomputer (eg, payout control microcomputer 370) and a game control microcomputer (eg, game control microcomputer 560). (See FIG. 6).

請求項1記載の発明では、景品遊技媒体の払い出しと貸し遊技媒体の払い出しとを検出し、払出制御用マイクロコンピュータに検出信号を出力する払出検出手段を設け、払出制御用マイクロコンピュータが、払出検出手段から入力された検出信号が景品遊技媒体と貸し遊技媒体とのいずれの払い出しによるものかを判定し、検出信号が景品遊技媒体の払い出しによるものと判定されたときに、遊技制御用マイクロコンピュータに対して景品遊技媒体の払い出しの検出を示す景品遊技媒体計数信号を出力し、払い出しに関わる制御状態がエラー状態であっても、払出検出手段からの検出信号が入力されたときに、払出検出手段からの検出信号が景品遊技媒体の払い出しによるものと判定されると、景品遊技媒体計数信号を遊技制御用マイクロコンピュータに出力するように構成されているので、貸し遊技媒体の払い出しを検出する払出検出手段と景品遊技媒体の払い出しを検出する払出検出手段とを別個に設ける必要がなく遊技機のコストを削減することができるとともに、景品遊技媒体の払出検出に関わる認識の相違が発生してしまうことを防止することができる。また、貸出要求受付装置からの貸出要求受付装置接続信号を伝達するフォトカプラと、フォトカプラと入力部の間に接続されるコンデンサとが払出制御基板に搭載されているので、貸出要求受付装置と払出制御基板との間の信号を中継する貸出要求中継基板に、貸出要求受付装置接続信号を伝達するフォトカプラに接続されるコンデンサを搭載する必要がなくなるため、貸出要求中継基板に不正回路が設置されたことを容易に発見することができるようになり、不正行為を防止することができる。さらに、遊技制御用マイクロコンピュータが、フォトカプラから払出制御用マイクロコンピュータに伝達される接続信号の出力状態を示す状態信号を入力する状態信号入力手段と、状態信号入力手段による状態信号の入力状態にもとづいて、発射手段を駆動する発射制御信号の発射手段への入力状態を制御する発射制御手段とを含む構成とされているので、状態信号の入力状態にもとづいて遊技制御用マイクロコンピュータが発射手段の駆動を制御することができるようになる。   According to the first aspect of the present invention, there is provided payout detection means for detecting the payout of the premium game medium and the payout of the rental game medium, and outputting a detection signal to the payout control microcomputer. It is determined whether the detection signal input from the means is a payout of the prize game medium or the rental game medium, and when it is determined that the detection signal is a payout of the prize game medium, the game control microcomputer On the other hand, a prize game medium count signal indicating the detection of the payout of the prize game medium is output, and even if the control state related to the payout is an error state, when the detection signal from the payout detection means is input, the payout detection means If it is determined that the detection signal from the player is due to payout of the prize game medium, the prize game medium count signal is sent to the game control microcode. Since it is configured to output to a computer, it is not necessary to separately provide payout detection means for detecting payout of rental game media and payout detection means for detecting payout of premium game media, thereby reducing the cost of the gaming machine In addition, it is possible to prevent a difference in recognition relating to detection of payout of premium game media. In addition, since the photocoupler for transmitting the lending request receiving device connection signal from the lending request receiving device and the capacitor connected between the photocoupler and the input unit are mounted on the dispensing control board, the lending request receiving device and Since it is no longer necessary to install a capacitor connected to the photocoupler that transmits the connection signal for the lending request acceptance device on the lending request relay substrate that relays signals to and from the payout control board, an unauthorized circuit is installed on the lending request relay substrate It is possible to easily find out what has been done and to prevent fraud. Further, the game control microcomputer is in a state signal input means for inputting a state signal indicating the output state of the connection signal transmitted from the photocoupler to the payout control microcomputer, and the state signal input means is in the state signal input state. Based on the above, the game control microcomputer is based on the state signal input state so that the launch control means controls the input state of the launch control signal for driving the launch means to the launch means. Can be controlled.

請求項2記載の発明では、払い出された遊技媒体が貯留される貯留部に所定量以上の遊技媒体が貯留されていることを検出したときに満タン検出信号を出力する貯留状態検出手段と、貯留状態検出手段から満タン検出信号が出力されているときに、状態信号入力手段への状態信号の入力状態を、接続信号の出力状態が停止状態となっているときと同じ状態に制御する満タン検出時状態信号制御手段とを備えているので、満タン検出信号の出力状態を状態信号の入力状態に反映させることができ、状態信号の入力状態を監視するだけで遊技制御用マイクロコンピュータが満タン検出信号の出力状態を別途監視していなくても、状態信号の入力状態を監視していれば、発射手段を駆動させてよいか否かを適切に判断することができる。   According to a second aspect of the present invention, there is provided a storage state detection means for outputting a full tank detection signal when it is detected that a predetermined amount or more of game media is stored in the storage portion where the paid-out game media are stored. When the full state detection signal is output from the storage state detection means, the state signal input state to the state signal input means is controlled to the same state as when the connection signal output state is stopped. Since it is provided with a state signal control means at the time of full tank detection, the output state of the full tank detection signal can be reflected in the input state of the state signal, and the microcomputer for game control can be simply monitored by monitoring the state signal input state However, even if the output state of the full tank detection signal is not separately monitored, it is possible to appropriately determine whether or not the firing means may be driven if the input state of the state signal is monitored.

請求項3記載の発明では、遊技制御用マイクロコンピュータが、発射制御手段によって発射制御信号の発射手段への入力状態を発射停止状態に制御したときに、発射停止状態であることを報知するための発射停止報知処理を実行する発射停止報知処理手段を含む構成とされているので、発射停止状態に制御されたことを遊技者や遊技店員に容易に認識させることができるようになる。   In the invention according to claim 3, when the game control microcomputer controls the input state of the launch control signal to the launching means to the launch stop state by the launch control means, the game control microcomputer notifies the launch stop state. Since it is configured to include the firing stop notification processing means for executing the firing stop notification processing, it becomes possible for the player and the game store clerk to easily recognize that it has been controlled to the firing stop state.

請求項4記載の発明では、遊技制御用マイクロコンピュータが、景品遊技媒体計数信号の入力に応じて、景品遊技媒体払出報知手段に報知させるための処理を行う構成とされているので、景品遊技媒体払出報知手段を払出制御用マイクロコンピュータが制御する必要をなくすことができ、払出制御用マイクロコンピュータの制御負担が軽減するとともに、景品遊技媒体の実際の払い出しに合わせて景品遊技媒体が払い出されたことを遊技者や遊技店員等に報知することができる。   In the invention according to claim 4, since the game control microcomputer is configured to perform processing for notifying the prize game medium payout notifying means in response to the input of the prize game medium count signal, the prize game medium It is possible to eliminate the need for the payout control microcomputer to control the payout notification means, and the control burden of the payout control microcomputer is reduced, and the prize game medium is paid out in accordance with the actual payout of the prize game medium. This can be notified to a player, a game store clerk, or the like.

請求項5記載の発明では、払出制御用マイクロコンピュータが、貸出要求による払出条件の成立にもとづいて所定数の貸し遊技媒体を払出手段を制御して払い出させる貸出処理を実行する貸し遊技媒体払出制御手段を含み、払出判定手段が、景品遊技媒体払出制御手段による払出処理および貸し遊技媒体払出制御手段による貸出処理のいずれも実行されていないときに、払出検出手段からの検出信号が入力されると、検出信号が景品遊技媒体の払い出しによるものと判定するように構成されているので、正規でない払い出しが行われたときにも遊技制御用マイクロコンピュータに景品遊技媒体計数信号が伝達され、遊技制御用マイクロコンピュータは適切な処理を行うことができる。   According to the fifth aspect of the present invention, the payout control microcomputer executes a lending process in which a payout control microcomputer executes a lending process in which a predetermined number of lending game media are discharged by controlling a payout means based on establishment of a payout condition based on a lending request. A detection signal is input from the payout detection means when the payout determination means includes the control means, and neither the payout process by the prize game medium payout control means nor the lending process by the rental game medium payout control means is executed. Since the detection signal is determined to be due to the payout of the prize game medium, the prize game medium count signal is transmitted to the game control microcomputer even when an irregular payout is made, and the game control is performed. The microcomputer can perform appropriate processing.

請求項6記載の発明では、払出制御用マイクロコンピュータが、貸し遊技媒体払出制御手段による貸出処理により払い出すべき貸し遊技媒体の数を示す貸し遊技媒体数データを記憶する貸し遊技媒体数データ記憶手段と、払出検出手段から入力された検出信号が貸し遊技媒体の払い出しによるものであると払出判定手段が判定したことに応じて、エラー状態設定手段によりエラー状態に移行されているときでも貸し遊技媒体数データ記憶手段に記憶されている貸し遊技媒体数データを減算する貸し遊技媒体数データ減算手段とを含む構成とされているので、貸し遊技媒体の未払出数の管理を確実に行うことができる。   According to the sixth aspect of the present invention, the rental game medium number data storage means for storing the rental game medium number data indicating the number of loaned game media to be paid out by the payout control microcomputer by the loan game medium payout control means. And the rental game medium even when the error state setting means shifts to the error state in response to the determination by the payout determination means that the detection signal input from the payout detection means is due to the payout of the rental game medium Since the rented game medium number data subtracting means for subtracting the rented game medium number data stored in the number data storage means is included, the unpaid number of rented game media can be managed reliably. .

請求項7記載の発明では、フォトカプラから伝達される貸出要求受付装置接続判定信号が分岐され、払出制御用マイクロコンピュータと、遊技制御用マイクロコンピュータとに入力される構成としたので、フォトカプラによる貸出要求受付装置接続信号の伝達状態に応じて遊技制御用マイクロコンピュータが発射手段の駆動を停止させることができるようになる。   In the invention of claim 7, since the lending request acceptance device connection determination signal transmitted from the photocoupler is branched and inputted to the payout control microcomputer and the game control microcomputer, the photocoupler The game control microcomputer can stop the driving of the launching means in accordance with the transmission state of the lending request accepting apparatus connection signal.

以下、本発明の一実施形態を図面を参照して説明する。
まず、遊技機の一例であるパチンコ遊技機の全体の構成について説明する。図1はパチンコ遊技機を正面からみた正面図である。なお、以下の実施の形態では、パチンコ遊技機を例に説明を行うが、本発明による遊技機はパチンコ遊技機に限られず、スロット機などの他の遊技機に適用することもできる。
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. 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 opened and closed. 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減らす(すなわち表示色をもとに戻す)。この例では、図柄表示エリアと始動記憶表示エリアとが区分けされて設けられているので、可変表示中も始動記憶数が表示された状態にすることができる。なお、始動記憶表示エリアを図柄表示エリアの一部に設けるようにしてもよい。また、可変表示中は始動記憶数の表示を中断するようにしてもよい。また、この例では、始動記憶表示エリアが可変表示装置9に設けられているが、始動記憶数を表示する表示器(特別図柄始動記憶表示器)を可変表示装置9とは別個に設けてもよい。   Near the center of the game area 7, there is provided a variable display device (special symbol display device) 9 including a plurality of variable display portions each variably displaying a symbol as identification information. 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). In this example, since the symbol display area and the start memory display area are provided separately, the start memory number can be displayed even during variable display. The start memory display area may be provided in a part of the symbol display area. Further, the display of the start memory number may be interrupted during variable display. In this example, the start memory display area is provided in the variable display device 9. However, a display (special symbol start memory display) for displaying the start memory number may be provided separately from the variable display device 9. Good.

可変表示装置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で検出され、開閉板20からの入賞球はカウントスイッチ23で検出される。遊技盤6の背面には、大入賞口内の経路を切り換えるためのソレノイド21Aも設けられている。   An open / close plate 20 that is opened by a solenoid 21 in a specific gaming state (big hit state) is provided below the variable winning ball device 15. The opening / closing plate 20 is a means for opening and closing a large winning opening (variable winning ball apparatus). Of the winning balls guided from the opening / closing plate 20 to the back of the game board 6, the winning ball entering one (V winning area: special area) is detected by the V count switch 22, and the winning ball from the opening / closing board 20 is counted. 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 a game ball wins the gate 32 and is detected by the gate switch 32a, the variable display of the normal symbol display 10 is started. In this embodiment, variable display is performed by alternately lighting the left and right lamps (a symbol can be visually recognized when the lamp is lit). For example, if the right lamp is lit when the variable display ends, 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 entered into the gate 32 is provided. Each time there is a prize at the gate 32, the normal symbol start memory display 41 increases the number of LEDs to be turned on 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の近傍に、賞球が払い出されたときに点灯する賞球ランプ51が設けられ、右枠ランプ28cの近傍に、補給球が切れたときに点灯する球切れLED52が設けられている。上記のように、この実施の形態のパチンコ遊技機1には、発光体としてのランプやLEDが各所に設けられている。さらに、プリペイドカードが挿入されることによって球貸しを可能にするプリペイドカードユニット(以下、「カードユニット」という。)が、パチンコ遊技機1に隣接して設置される(図1では図示せず)。   In this example, a prize ball lamp 51 that is turned on when a prize ball is paid out is provided in the vicinity of the left frame lamp 28b, and is turned on in the vicinity of the right frame lamp 28c when the supply ball has run out. A ball break LED 52 is provided. 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”) that enables lending a ball by inserting a prepaid card is installed adjacent to the pachinko gaming machine 1 (not shown in FIG. 1). .

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

打球発射装置から発射された遊技球は、打球レールを通って遊技領域7に入り、その後、遊技領域7を下りてくる。遊技球が始動入賞口14に入り始動口スイッチ14aで検出されると、図柄の可変表示を開始できる状態であれば、可変表示装置9において特別図柄が可変表示(変動)を始める。図柄の可変表示を開始できる状態でなければ、始動記憶数を1増やす。   The game balls launched from the hit ball launching device enter the game area 7 through the hit ball rail, and then descend the game area 7. When the game ball enters the start winning port 14 and is detected by the start port switch 14a, the special symbol starts variable display (variation) on the variable display device 9 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.

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

停止時の可変表示装置9における特別図柄の組み合わせが確率変動を伴う大当り図柄(確変図柄)の組み合わせである場合には、次に大当りとなる確率が高くなる。すなわち、確変状態という遊技者にとってさらに有利な状態となる。   When the combination of special symbols in the variable display device 9 at the time of stopping is a combination of jackpot symbols (probability variation symbols) with probability fluctuations, 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の開放時間と開放回数が高められる。すなわち、可変入賞球装置15の開放時間と開放回数は、普通図柄の停止図柄が当り図柄であったり、特別図柄の停止図柄が確変図柄である場合等に高められ、遊技者にとって不利な状態から有利な状態に変化する。なお、開放回数が高められることは、閉状態から開状態になることも含む概念である。   When the game ball wins the gate 32, the normal symbol display unit 10 is in a state where 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. That is, the opening time and the number of times of opening of the variable winning ball device 15 can be increased when the stop symbol of the normal symbol is a winning symbol or the stop symbol of the special symbol is a probabilistic symbol. Change to an advantageous state. It should be noted that increasing the number of times of opening is a concept including changing from a closed state to an open state.

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

図2に示すように、パチンコ遊技機1の裏面側には、外枠2A内の機構板の上部に球貯留タンク38が設けられ、パチンコ遊技機1が遊技機設置島に設置された状態でその上方から遊技球が球貯留タンク38に供給される。球貯留タンク38内の遊技球は、誘導樋39を通って賞球ケース40Aで覆われる球払出装置に至る。   As shown in FIG. 2, on the back side of the pachinko gaming machine 1, a ball storage tank 38 is provided on the top of 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 pass through the guide basket 39 and reach the ball payout device 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とが設置されている。   The effect 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 or a VDP. 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 control 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で覆われた球払出装置に至る。球払出装置の上部には、遊技媒体切れ検出手段としての球切れスイッチ187が設けられている。球切れスイッチ187が球切れを検出すると、球払出装置の払出動作が停止する。球切れスイッチ187は遊技球通路内の遊技球の有無を検出するスイッチであるが、貯留タンク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. A ball break switch 187 as a game medium break detection means is provided on the upper part of the ball payout device. When the ball break switch 187 detects a ball break, the dispensing operation of the ball dispensing device stops. The ball break switch 187 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 (the storage tank 38 In the vicinity of the 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.

図3は、払出ケース40Aで覆われた球払出装置97を示す正面図(図3(A))および断面図(図3(B))である。球払出装置97は、球切れスイッチ187と球払出装置97との間に設置されている通路体の下部に固定されている。通路体は、カーブ樋によって流下方向が左右方向に変換された2列の遊技球を流下させる球通路を有する。球通路の上流側には、球切れスイッチ187が設置されている。なお、実際には、それぞれの球通路に球切れスイッチが設置されている。球切れスイッチ187は、球通路内の遊技球の有無を検出するものであって、球切れスイッチ187が遊技球を検出しなくなると球払出装置97における払出モータ(図3において図示せず)の回転を停止して遊技球の払出が不動化される。   FIG. 3 is a front view (FIG. 3 (A)) and a cross-sectional view (FIG. 3 (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 discharge device 97 has a payout motor (not shown in FIG. 3). Rotation is stopped and game ball payout is immobilized.

また、球切れスイッチ187は、球通路に27〜28個の遊技球が存在することを検出できるような位置に係止片によって係止されている。   Further, 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 passage.

球払出装置97において、ステッピングモータによる払出モータ(図示せず)が例えばカムを回転させることによって、賞球または球貸し要求にもとづく遊技球を1個ずつ払い出す。また、球払出装置97の下方には、例えば近接スイッチによる払出個数カウントスイッチ301が設けられている。球払出装置97から1個の遊技球が落下する毎に、払出個数カウントスイッチ301がオンする。すなわち、払出個数カウントスイッチ301は、球払出装置97から実際に払い出された遊技球を検出する。従って、払出制御手段は、払出個数カウントスイッチ301の検出信号によって、実際に払い出された遊技球の数を計数することができる。この例では、払出個数カウントスイッチ301は、払い出された賞球および貸し球の両方を検出する。すなわち、賞球の払い出しと貸し球の払い出しが同一の検出手段によって検出される。よって、部品点数を減らすことができ、遊技機のコストを低減させることができる。   In the ball payout device 97, a payout motor (not shown) using a stepping motor rotates, for example, a cam, thereby paying out one winning ball or one game ball based on a ball lending request. Further, 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 means 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.

この実施の形態では、球払出装置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. Furthermore, for example, it may be configured to change the direction of rotation of the cam or sprocket so as to separate the winning ball payout and the ball lending. The present invention can be applied to any structure other than the structure).

図4は、主基板(遊技制御基板)31における回路構成の一例を示すブロック図である。なお、図4には、払出制御基板37および演出制御基板80等も示されている。主基板31には、プログラムに従ってパチンコ遊技機1を制御する基本回路(遊技制御手段に相当)53が搭載されている。基本回路53は、ゲーム制御(遊技進行制御)用のプログラム等を記憶するROM54、ワークメモリとして使用される記憶手段としてのRAM55、およびプログラムに従って制御動作を行うCPU56を有する遊技制御用マイクロコンピュータ560と、I/Oポート部57とを含む。この実施の形態では、ROM54およびRAM55は遊技制御用マイクロコンピュータ560に内蔵されている。すなわち、遊技制御用マイクロコンピュータ560は、1チップマイクロコンピュータである。1チップマイクロコンピュータは、少なくともRAM55が内蔵されていればよく、ROM54は外付けであっても内蔵されていてもよい。また、I/Oポート部57は、遊技制御用マイクロコンピュータ560に内蔵されていてもよい。その場合には、遊技制御用マイクロコンピュータ560に、I/Oポート部も含まれる。   FIG. 4 is a block diagram showing an example of the circuit configuration of the main board (game control board) 31. FIG. 4 also shows a payout control board 37, an effect control board 80, and the like. A basic circuit (corresponding to game control means) 53 for controlling the pachinko gaming machine 1 according to a program is mounted on the main board 31. The basic circuit 53 includes a ROM 54 for storing a game control (game progress control) program and the like, a RAM 55 as storage means used as a work memory, and a game control microcomputer 560 having a CPU 56 for performing control operations in accordance with the program. And an I / O port unit 57. 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 incorporate at least the RAM 55, and the ROM 54 may be external or built-in. Further, the I / O port unit 57 may be incorporated in the game control microcomputer 560. In this case, the game control microcomputer 560 also includes an I / O port unit.

なお、遊技制御用マイクロコンピュータ560においてCPU56がROM54に格納されているプログラムに従って制御を実行するので、以下、遊技制御用マイクロコンピュータ560が実行する(または、処理を行う)ということは、具体的には、CPU56がプログラムに従って制御を実行することである。このことは、主基板31以外の他の基板に搭載されているマイクロコンピュータについても同様である。また、遊技制御手段は、遊技制御用マイクロコンピュータ560を含む基本回路53で実現されている。   In the game control microcomputer 560, the CPU 56 executes control in accordance with the program stored in the ROM 54. Therefore, hereinafter, the game control microcomputer 560 executes (or performs processing) specifically. Is that the CPU 56 executes control according to the 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 non-volatile storage means that is partly or wholly 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 stored for a predetermined period (until the capacitor as the backup power supply is discharged and the backup power supply cannot be supplied). 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.

基本回路53には、電源基板910からの電源断信号が入力される。電源断信号は、電源回路によって各部に供給されている電源電圧が所定値以下に低下したときに電源回路から出力される。   The basic circuit 53 receives a power-off signal from the power supply board 910. The power-off signal is output from the power supply circuit when the power supply voltage supplied to each unit by the power supply circuit drops below a predetermined value.

CPU56のリセット端子には、電源基板910からのリセット信号が入力される。リセット信号がローレベルからハイレベルに変化すると、CPU56は動作を開始する。すなわち、ROM54に格納されているプログラムにもとづく処理を開始する。   A reset signal from the power supply board 910 is input to the reset terminal of the CPU 56. When the reset signal changes from low level to high level, the CPU 56 starts operation. That is, the processing based on the program stored in the ROM 54 is started.

また、主基板31には、ゲートスイッチ32a、始動口スイッチ14a、Vカウントスイッチ22、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39a、およびクリアスイッチ921からの信号を基本回路53に与える入力ドライバ回路58も搭載され、可変入賞球装置15を開閉するソレノイド16、開閉板20を開閉するソレノイド21および大入賞口内の経路を切り換えるためのソレノイド21Aを基本回路53からの指令に従って駆動するソレノイド回路59も搭載されている。   The main circuit board 31 is supplied with signals from 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 the clear switch 921 to the basic circuit 53. An input driver circuit 58 is also mounted, and the solenoid 16 that opens and closes the variable winning ball apparatus 15, the solenoid 21 that opens and closes the opening / closing plate 20, and the solenoid 21 </ b> A for switching the path in the big prize opening is driven according to a command from the basic circuit 53. A circuit 59 is also mounted.

なお、始動口スイッチ14a、カウントスイッチ23、および入賞口スイッチ29a,30a,33a,39aの各スイッチには、スイッチコモン電圧(例えば+12V)が供給されている。   Note that a switch common voltage (for example, +12 V) is supplied to each of the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a.

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

さらに、主基板31には、盤側に設けられている発光体である装飾ランプ25、普通図柄を可変表示する普通図柄表示器10および普通図柄始動記憶表示器41を駆動するランプ回路36が設けられている。なお、装飾ランプ25として、LEDが用いられることがある。   Further, the main board 31 is provided with a decoration lamp 25 that is a light emitter provided on the panel side, a normal symbol display 10 that variably displays a normal symbol, and a lamp circuit 36 that drives a normal symbol start memory display 41. It has been. Note that an LED may be used as the decorative lamp 25.

遊技球を打撃して発射する打球発射装置は、発射基板90上の回路からの発射モータ駆動信号によって制御される発射モータ94を含み、発射モータ94が回転されることによって遊技球を遊技領域7に向けて発射する。発射モータ94を駆動するための駆動信号(発射モータ信号)は、主基板31から発射基板90に搭載されているAND回路に入力される。また、遊技者が操作ノブ(打球ハンドル)5に触れていることはタッチセンサで検出され、タッチセンサからのタッチセンサ信号が発射基板90に搭載されているAND回路に入力される。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 launch motor drive signal from a circuit on the launch board 90, and the game motor 7 is played by rotating the launch motor 94. Fire towards. A drive signal (shooting motor signal) for driving the firing motor 94 is input from the main board 31 to an AND circuit mounted on the firing board 90. Further, the touch sensor detects that the player is touching the operation knob (hitting ball handle) 5, and a touch sensor signal from the touch sensor is input to an AND circuit mounted on the launch board 90. The AND circuit outputs a drive signal to the firing motor 94 when the firing motor signal and the control signal from the main board 31 are input (when both the firing motor signal and the touch sensor signal are on). Accordingly, when the firing motor signal from the main board indicates an off state, or when the touch sensor signal from the touch sensor circuit indicates an off state, the driving of the firing motor 94 is stopped. Note that 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.

また、主基板31に搭載されている基本回路53(具体的には遊技制御用マイクロコンピュータ560)は、制御状態に応じて演出制御基板80に対して演出制御コマンドを送信する。そして、演出制御手段(具体的には演出制御用マイクロコンピュータ)は、演出制御コマンドを受信する処理を実行し、枠側ランプドライバ基板35を介して枠側に設けられている発光体を制御するとともに、音声制御基板70を介してスピーカ27からの音出力を制御する。なお、枠側ランプドライバ基板35および音声制御基板70には、マイクロコンピュータが搭載されていてもよい。また、枠側ランプドライバ基板35および音声制御基板70には、主基板31における遊技制御手段(具体的にはCPU56)からコマンドが直接送信されるようにしてもよい。   The basic circuit 53 (specifically, the game control microcomputer 560) mounted on the main board 31 transmits an effect control command to the effect control board 80 in accordance with the control state. Then, the effect control means (specifically, the effect control microcomputer) executes a process of receiving the effect control command, and controls the light emitter provided on the frame side via the frame side lamp driver board 35. At the same time, the sound output from the speaker 27 is controlled via the sound control board 70. Note that a microcomputer may be mounted on the frame side lamp driver board 35 and the sound control board 70. Further, a command may be directly transmitted from the game control means (specifically, the CPU 56) on the main board 31 to the frame side lamp driver board 35 and the sound control board 70.

なお、この実施の形態では、演出制御基板80に搭載されている演出制御手段(演出制御用マイクロコンピュータ)が、集中中継基板77を介して遊技制御用マイクロコンピュータ560からの演出制御コマンドを受信し、特別図柄を可変表示する可変表示装置9の表示制御を行う。   In this embodiment, the effect control means (effect control microcomputer) mounted on the effect control board 80 receives the effect control command from the game control microcomputer 560 via the centralized relay board 77. Then, display control of the variable display device 9 for variably displaying special symbols is performed.

また、この実施の形態で用いられているCPU56は、ソフトウェアで割込禁止に設定できないマスク不能割込(NMI)を発生させるために使用されるマスク不能割込端子(NMI端子)と、CPU56の外部から割込(外部割込;ソフトウェアで割込禁止にできるマスク可能割込)を発生させるために使用される割込端子(INT端子)とを有する。しかし、この実施の形態では、マスク不能割込および外部割込を使用しない。そこで、NMI端子およびINT端子を、抵抗を介してVCC(+5V)にプルアップしておく。従って、NMI端子およびINT端子の入力レベルは常にハイレベルになり、端子オープン状態に場合に比べて、ノイズ等によってNMI端子およびINT端子の入力レベルがハイレベルからローレベルに立ち下がって割込発生状態になる可能性が低減する。   In addition, the CPU 56 used in this embodiment includes a non-maskable interrupt terminal (NMI terminal) used for generating a non-maskable interrupt (NMI) that cannot be set to interrupt prohibition by software, And an interrupt terminal (INT terminal) used to generate an external interrupt (external interrupt; maskable interrupt that can be disabled by software). 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 the input level of the NMI terminal and the INT terminal falls from the high level to the low level due to noise, etc., compared to the case of the terminal open state, and an interrupt occurs. The possibility of entering a state is reduced.

なお、主基板31は、遊技機裏面において、1つの基板ボックスに収容された状態で設置される。そして、基板ボックスは、容易には開けられない構造になっている。   In addition, the main board | substrate 31 is installed in the state accommodated in one board | substrate box in the back side of a gaming machine. The substrate box has a structure that cannot be easily opened.

図5は、払出制御基板37および球払出装置97などの払出に関連する構成要素を示すブロック図である。図5に示すように、払出制御基板37には、ワークメモリとして使用される記憶手段としてのRAM(図示せず)、払出制御用プログラムを格納したROM(図示せず)、およびプログラムに従って制御を実行する払出制御用CPU371を含む払出制御用マイクロコンピュータ(電気部品制御用マイクロコンピュータの一例)370が搭載されている。この実施の形態では、払出制御用マイクロコンピュータ370は、1チップマイクロコンピュータであり、少なくともRAMが内蔵されていればよく、ROMは外付けであっても内蔵されていてもよい。払出制御用CPU371、RAM、ROMおよびI/Oポート等は、払出制御手段を構成する。すなわち、払出制御手段は、RAM、ROMおよび払出制御用CPU371を含む払出制御用マイクロコンピュータ370と、I/Oポートとで実現される。また、I/Oポートは、払出制御用マイクロコンピュータ370に内蔵されていてもよい。払出制御用マイクロコンピュータ370におけるRAMの少なくとも一部は、電源基板910に搭載されているバックアップ電源によって電源バックアップされている。この実施の形態では、全てのRAM領域が電源バックアップされているとする。よって、遊技機に対して電力供給がなされていないときにも、所定期間(バックアップ電源としてのコンデンサが放電してバックアップ電源が電力供給不能になるまで)は、RAMの記憶内容は保存される。   FIG. 5 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. 5, the payout control board 37 has a RAM (not shown) as storage means used as a work memory, a ROM (not shown) storing a payout control program, and controls according to the program. A payout control microcomputer (an example of an electrical component control microcomputer) 370 including a payout control CPU 371 to be executed is mounted. In this embodiment, the payout control microcomputer 370 is a one-chip microcomputer as long as it has at least a built-in RAM, and the ROM may be external or built-in. The payout control CPU 371, RAM, ROM, I / O port, and the like constitute a payout control means. That is, the payout control means is realized by a payout control microcomputer 370 including a RAM, a ROM, and a payout control CPU 371, 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 composed of 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-secured detection signal) indicating a ball shortage state from the ball shortage switch 187, and also when a full signal from the full switch 48 is full. When a detection signal (storage detection signal) indicating the tongue state is input, the ball payout process is stopped.

さらに、満タンスイッチ48からの満タン状態を示す検出信号(貯留検出信号)は、払出制御基板37にて分岐され、ローレベルの満タン信号として払出制御用マイクロコンピュータ370と主基板31(詳細には、出力信号が主基板31に入力されるAND回路155の入力側の一方:図6参照)とにそれぞれ入力される。遊技制御用マイクロコンピュータ560からの発射モータ94への駆動信号(発射モータ信号)は、発射基板90を介して発射モータ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, and the payout control microcomputer 370 and the main board 31 (details) as a low level full signal. The output signal is input to the input side of the AND circuit 155 that is input to the main board 31 (see FIG. 6). A drive signal (launch motor signal) from the game control microcomputer 560 to the launch motor 94 is transmitted to the launch motor 94 via the launch board 90.

なお、本例では、遊技制御用マイクロコンピュータ560によって発射モータ94に発射モータ駆動信号を入力させるための発射モータ信号が発射基板90に出力される構成とされているが、遊技制御用マイクロコンピュータ560からの信号を受けることなく、発射基板90が、電力供給がされていれば発射モータ94への発射モータ駆動信号を常時出力する構成としてもよい。なお、発射基板90が発射モータ駆動信号を常時出力する構成とした場合においては、発射基板90は、状態信号の入力状態にもとづく遊技制御用マイクロコンピュータ560からの信号に応じて、発射モータ94への発射モータ駆動信号を停止状態とするようにすればよい。このようにすれば、発射基板90が、電力供給がされていれば発射モータ94への発射モータ駆動信号を常時出力する構成とした場合であっても、満タン信号が出力されているときや(満タン信号を発射基板90に入力させるようにすればよい)、VL信号が停止されているときは、発射モータ94への発射モータ駆動信号を停止状態とすることができる。   In this example, the game control microcomputer 560 is configured to output a launch motor signal for causing the launch motor 94 to input a launch motor drive signal to the launch board 90. The launch board 90 may be configured to always output a launch motor drive signal to the launch motor 94 without receiving a signal from the launch board 90 as long as power is supplied. When the launch board 90 is configured to always output a launch motor drive signal, the launch board 90 is sent to the launch motor 94 in accordance with a signal from the game control microcomputer 560 based on the state signal input state. The firing motor drive signal may be stopped. In this way, even when the launch board 90 is configured to always output a launch motor drive signal to the launch motor 94 if power is supplied, (A full signal may be input to the launch board 90). When the VL signal is stopped, the launch motor drive signal to the launch motor 94 can be stopped.

入賞口への入賞があると、主基板31の出力回路67から、払い出すべき賞球個数を示す賞球個数信号が出力される(オン状態になる)。そして、賞球個数信号の取り込みを指示するための賞球REQ信号(賞球リクエスト信号)が出力される(オン状態になる)。   When there is a winning at the winning opening, an 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). Then, a prize ball REQ signal (prize ball request signal) for instructing taking in the prize ball number signal is output (turned on).

この実施の形態では、賞球個数信号は、4ビットのデータ(2進4桁のデータ)によって構成され、4本の信号線によって出力される。なお、信号のオン状態すなわち出力状態は、信号が有意である状態であり、オン状態になることは、信号を受ける側に対してその信号にもとづく何らかの処理を開始することを指令することを意味する。例えば、賞球個数信号および賞球REQ信号がオン状態になるということは、払出制御手段に対して、賞球個数信号が示す払出数を認識するように指令することを意味する。   In this embodiment, the winning ball number signal is composed of 4-bit data (binary 4-digit data) and is output by four 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, turning on the prize ball number signal and the prize ball REQ signal means instructing the payout control means to recognize the payout number indicated by the prize ball number signal.

賞球個数信号は、入力回路373Aを介してI/Oポート372eに入力される。また、賞球REQ信号は、払出制御用CPU371のマスク可能割込端子(以下、単に割込端子ともいう。)に入力される。払出制御用CPU371は、割込端子に賞球REQ信号が入力されたことにもとづく割込処理で、I/Oポート372eを介して賞球個数信号を入力し、賞球個数信号が示す個数の遊技球を払い出すために球払出装置97を駆動する制御を行う。なお、主基板31の出力回路67からは、主基板31が接続されていることを示す電源確認信号(接続確認信号)も出力される。   The winning ball number signal is 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 a prize ball number signal via the I / O port 372e in an interrupt process based on the prize ball REQ signal being input to the interrupt terminal, and the number of prize balls indicated by the prize ball number signal. 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は、払出個数カウントスイッチ301からの検出信号にもとづいて、1個の賞球の払い出しを確認したときに、主基板31に対して賞球カウント信号を送信する。さらに、払出制御用マイクロコンピュータ370は、遊技球の払い出しに関わるエラー(遊技球の払出処理ができない状態となっていることを示すエラーを意味する。具体的には、例えば、下皿満タン状態や球切れ状態が該当する。)が発生したときには、主基板31に対して払出エラー信号を送信する。賞球カウント信号および払出エラー信号は、払出制御基板37の出力ポート372bおよび出力回路373Bを介して主基板31に送信される。そして、主基板31において、入力回路68およびI/Oポート57を介して遊技制御用マイクロコンピュータ560に入力される。   In this embodiment, the payout control microcomputer 370 recognizes a prize ball for the main board 31 when the payout of one prize ball is confirmed based on the detection signal from the payout number count switch 301. Send a count signal. Further, the payout control microcomputer 370 means an error related to payout of game balls (an error indicating that game ball payout processing cannot be performed. Or a ball-out condition), 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 game control microcomputer 560 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の外側に、ドライバ回路が設置されているが、図5では記載が省略されている。   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 rented to a terminal board (frame external terminal board and board external terminal board). Output to 160). Although a driver circuit is installed outside the output port 372b, the description is omitted in FIG.

また、払出制御用マイクロコンピュータ370は、出力ポート372cを介して、7セグメントLEDによるエラー表示用LED374にエラー信号を出力する。さらに、出力ポート372bを介して、点灯/消灯を指示するための信号を球切れLED52に出力する。なお、払出制御基板37の入力ポート372fには、エラー状態を解除するためのエラー解除スイッチ375からの検出信号が入力される。エラー解除スイッチ375は、ソフトウェアリセットによってエラー状態を解除するために用いられる。   Further, the payout control microcomputer 370 outputs an error signal to the error display LED 374 by the 7 segment LED via the output port 372c. Further, a signal for instructing lighting / extinguishing is output to the ball-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の外側に、ドライバ回路(モータ駆動回路)が設置されているが、図5では記載が省略されている。   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信号)等の信号は、図5に示すように、インタフェース基板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 given 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, upon 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, a prize 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.

なお、この実施の形態で用いられている払出制御用CPU371は、マスク不能割込(NMI)を発生させるために使用されるマスク不能割込端子(NMI端子)と、マスク可能割込を発生させるために使用される割込端子(INT端子)とを有する。しかし、この実施の形態では、マスク不能割込を使用しない。そこで、NMI端子を、抵抗を介してVCC(+5V)にプルアップしておく。なお、マスク可能割込とは、ソフトウェアで割込が発生しないように制御することができる割込である。また、割込端子への信号入力にもとづく割込を外部割込ともいう。   The payout control CPU 371 used in this embodiment generates 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 the purpose. However, this embodiment does not use non-maskable interrupts. Therefore, the NMI terminal is pulled up to VCC (+5 V) through a resistor. The maskable interrupt is an interrupt that can be controlled so that no interrupt is generated by software. An interrupt based on a signal input to the interrupt terminal is also called an external interrupt.

また、この実施の形態では、カードユニット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 when a game ball corresponding to the amount of money is lent out in accordance with coin insertion.

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

フォトカプラは、発光素子と受光素子を組み合わせ、光を媒体として信号の伝達を行う素子である。また、フォトカプラは、発光ダイオードとフォトトランジスタを一つのパッケージに入れた構造とされている。フォトカプラは、入出力間が電気的に絶縁されているので、電気的な雑音の除去等に広く使用されている。   A photocoupler is an element that transmits a signal using light as a medium by combining a light emitting element and a light receiving element. The photocoupler has a structure in which a light emitting diode and a phototransistor are included in one package. Photocouplers are widely used for removing electrical noise and the like because the input and output are electrically insulated.

この例では、フォトカプラ151からの出力信号が払出制御基板37上で分岐されてAND回路155の入力側の一方に入力され、AND回路155の入力側の他方に払出制御基板37にて分岐された満タン信号の一方が入力される。そして、AND回路155からの出力信号(状態信号)は、主基板31に搭載されている遊技制御用マイクロコンピュータ560に入力される。従って、フォトカプラ151からの出力信号がローレベルとなっているとき、又はローレベルの満タン信号が出力されているときは、遊技制御用マイクロコンピュータ560への状態信号が停止する(ローレベル信号が入力する)ことになり、遊技制御用マイクロコンピュータ560から発射基板90への発射モータ信号の出力が停止され、発射基板90から発射モータ94への発射モータ駆動信号が停止される。   In this example, the 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 signal (status signal) from the AND circuit 155 is input to the game control microcomputer 560 mounted on the main board 31. Therefore, when the output signal from the photocoupler 151 is at a low level, or when a low level full signal is output, the status signal to the game control microcomputer 560 is stopped (low level signal). Thus, the output of the launch motor signal from the game control microcomputer 560 to the launch board 90 is stopped, and the launch motor drive signal from the launch board 90 to the launch motor 94 is stopped.

また、カードユニット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 resistance 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 kind of fraud is being performed, and therefore 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 legitimate 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 board is equipped 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.

なお、図6に示す例では、抵抗器152やコンデンサ153,154が接続されているフォトカプラ151のみを払出制御基板37に搭載する構成としたが、カードユニット50と払出制御用基板37との間で送受される信号を伝達する全てのフォトカプラ151,66a〜66dを払出制御基板37に搭載するようにしてもよい。このように構成すれば、一切搭載されていないはずのフォトカプラがインタフェース基板66に存在する場合には、何らかの不正行為が行われていると判断することができるようになる。   In the example shown in FIG. 6, 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 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を駆動するための発射モータ信号を出力する遊技制御用マイクロコンピュータ560とに入力される構成とされているので、フォトカプラ151によるVL信号の伝達状態に応じて発射モータ94の駆動を停止させることができるようになる。図5に示したように、フォトカプラ151によって伝達されたVL信号と、満タン信号とがAND回路155に入力される。また、AND回路155の出力信号(状態信号)が主基板31に入力される。そして、状態信号の入力状態がオフ状態になると、遊技制御用マイクロコンピュータ560は、発射モータ信号を停止する。このため、本例では、フォトカプラ151によって伝達されたVL信号がオフ状態(ローレベル状態)のとき、又は、ローレベルの満タン信号が出力されているときは、主基板31からの発射モータ信号が停止され、発射基板90からの発射モータ94への発射モータ駆動信号がオフ状態に維持される。よって、フォトカプラ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. Therefore, the driving of the firing motor 94 can be stopped according to the transmission state of the VL signal by the photocoupler 151. become. As shown in FIG. 5, the VL signal transmitted by the photocoupler 151 and the full signal are input to the AND circuit 155. The output signal (status signal) of the AND circuit 155 is input to the main board 31. When the state signal input state is turned off, the game control microcomputer 560 stops the firing motor signal. For this reason, 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 firing motor from the main board 31 is output. The signal is stopped and the firing motor drive signal from the firing substrate 90 to the firing motor 94 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.

図7は、遊技機に設けられている主要な基板の接続状態を示すブロック図である。この実施の形態では、主基板31から周辺基板(払出制御基板37を除く。また、基板として形成されているものに限らず、端子が複数配列している端子盤も含む。)への信号は、集中中継基板77を介して出力される。図7に示す例では、情報端子盤34、装飾ランプ25を搭載した装飾ランプ基板79(図4では図示せず)、および演出制御基板80への信号が、集中中継基板77を介して出力される。なお、遊技機に設けられている各スイッチ(上述した入賞口スイッチ等)の検出信号は、スイッチ中継基板78を介して主基板31に入力される。   FIG. 7 is a block diagram illustrating a connection state of main boards provided in the gaming machine. In this embodiment, the signal from the main board 31 to the peripheral board (excluding the payout control board 37. In addition to the board formed as a board, the terminal board including a plurality of terminals arranged therein is also included). , And output via the centralized relay board 77. In the example shown in FIG. 7, signals to the information terminal board 34, the decorative lamp board 79 (not shown in FIG. 4) on which the decorative lamp 25 is mounted, and the effect control board 80 are output via the centralized relay board 77. The 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.

なお、図7には、情報端子盤34、装飾ランプ基板79および演出制御基板80が例示されているが、主基板31から信号を入力する周辺基板として、さらに多くの基板が存在している。例えば、図7には、1つの装飾ランプ基板79が示されているが、遊技盤6におけるランプまたはLEDの設置位置に応じて複数の装飾ランプ基板が設けられている。例えば、可変表示装置9の周囲に設けられているランプ・LEDを搭載した1つまたは複数の装飾ランプ基板が設けられ、大入賞口の周囲に設けられているランプ・LEDを搭載した1つまたは複数の装飾ランプ基板が設けられる。より多数の周辺基板が設けられていても、図7に例示するように、主基板31から出力される信号が、1つの集中中継基板77を介して全ての周辺基板に出力されることが好ましい。すなわち、全ての周辺基板に対して1つの集中中継基板77が設けられていることが好ましい。さらに、遊技用装置の一つである電気部品としてのソレノイドに駆動信号を出力するソレノイド回路59(図4参照)からの駆動信号を、集中中継基板77を経由するようにしてもよい。   7 illustrates the information terminal board 34, the decorative lamp board 79, and the effect control board 80, but there are more boards as peripheral boards for inputting signals from the main board 31. FIG. For example, FIG. 7 shows one decorative lamp substrate 79, but a plurality of decorative lamp substrates are provided in accordance with the installation positions of the lamps or LEDs on the game board 6. For example, one or a plurality of decorative lamp substrates mounted with lamps / LEDs provided around the variable display device 9 are provided, and one or more mounted with lamps / LEDs provided around the winning prize opening A plurality of decorative lamp substrates are provided. Even if a larger number of peripheral boards are provided, it is preferable that the signal output from the main board 31 is output to all the peripheral boards via one centralized relay board 77 as illustrated in FIG. . That is, it is preferable that one central relay board 77 is provided for all peripheral boards. Further, a drive signal from a solenoid circuit 59 (see FIG. 4) 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の表面および裏面は基板ボックスの外部から容易に視認できるので、集中中継基板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. Further, the central relay board 77 is firmly housed in the board box and has a structure that cannot be easily removed from 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. Note that one side of the central relay board 77 may be fixed to the mechanism plate by a hinge, for example, and the central relay board 77 may be turned around the fixed side so that the rear surface of the central relay board 77 can be visually recognized.

図8は、主基板31における信号出力部と集中中継基板77に搭載されている部品を示す説明図である。図8に示すように、主基板31において、基本回路53(具体的には遊技制御用マイクロコンピュータ560の出力ポート)からの信号を情報端子盤34に出力する情報出力回路34、装飾ランプ基板79に信号を出力するランプ回路36、および演出制御基板80に信号を出力する出力バッファ回路67(図4では図示せず)は、集中中継基板77に向かう方向にしか信号を通過させない(集中中継基板77から主基板31への方向には信号を通過させない)信号方向規制手段としての単方向性回路で構成されている。単方向性回路として、トランジスタや、IC回路が使用される。なお、単方向性回路は、電流増幅機能を有していてもよい。   FIG. 8 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. 8, in the main board 31, the information output circuit 34 that outputs a signal from the basic circuit 53 (specifically, the output port of the game control microcomputer 560) to the information terminal board 34, and the decorative lamp board 79. The lamp circuit 36 that outputs a signal to the output signal and the output buffer circuit 67 (not shown in FIG. 4) that outputs a signal to the effect control board 80 allow the signal to pass only in the direction toward the central relay board 77 (the central relay board). No signal is allowed to pass in the direction from 77 to the main board 31). 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,75,76が搭載されている。単方向性回路74,75,76として、例えばダイオードやトランジスタが使用される。図8には、ダイオードが例示されている。また、単方向性回路74,75,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, 75, and 76 are mounted. As the unidirectional circuits 74, 75, 76, for example, diodes or transistors are used. FIG. 8 illustrates a diode. Unidirectional circuits 74, 75, and 76 are provided for each signal.

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

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

また、集中中継基板77に、信号方向規制手段だけでなく、ノイズフィルタなどのノイズ除去用の部品を搭載してもよい。すなわち、中継基板において、遊技制御基板から入力される信号(全て、または、特にノイズ対策を行うことが望まれる演出制御コマンドやINT信号などの主要な信号すなわち正しく入力されないと遊技進行に支障を来す信号)に対してノイズ除去手段が設けられていることが好ましい。ノイズ除去用の部品を搭載することによって、主基板31と周辺基板との間の配線長が長くなっても、周辺基板に至る信号にノイズが乗る可能性を低減できる。また、集中中継基板77において、遊技制御基板から入力される信号(例えば信号についての電流)を増幅する増幅手段が搭載されていてもよい。そのように構成されている場合には、中継基板において増幅処理がなされるので、遊技制御基板に搭載される増幅回路をなくすことができる。   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 centralized relay board 77 may be equipped with an amplifying means for amplifying a signal (for example, a current for the signal) input from the game control board. In the case of such a configuration, amplification processing is performed on the relay board, so that the amplification circuit mounted on the game control board can be eliminated.

図9は、演出制御基板80、ランプドライバ基板35および音声制御基板70の回路構成例を示すブロック図である。なお、ランプドライバ基板35および音声制御基板70には、マイクロコンピュータは搭載されていない。演出制御基板80において、演出制御用マイクロコンピュータ(電気部品制御用マイクロコンピュータの一例)100における演出制御用CPU101は、ROM(図示せず)に格納されたプログラムに従って動作し、集中中継基板77を介して入力される主基板31からのストローブ信号(図柄制御INT信号)に応じて、入力ドライバ102および入力ポート103を介して演出制御コマンドを受信する。また、演出制御用CPU101は、演出制御コマンドにもとづいて、VDP(ビデオディスプレイプロセッサ)109に、LCDを用いた可変表示装置9の表示制御を行わせる。VDP109は、GCL(グラフィックコントローラLSI)と呼ばれることもある。   FIG. 9 is a block diagram illustrating a circuit configuration example of the effect control board 80, the lamp driver board 35, and the sound control board 70. The lamp driver board 35 and the sound control board 70 are not equipped with a microcomputer. In the effect control board 80, the effect control CPU 101 in the effect control microcomputer 100 (an example of an electrical component control microcomputer) 100 operates according to a program stored in a ROM (not shown), and is connected via a centralized relay board 77. The effect control command is received via the input driver 102 and the input port 103 in response to the strobe signal (symbol control INT signal) from the main board 31 that is input. Further, the effect control CPU 101 causes the VDP (video display processor) 109 to perform display control of the variable display device 9 using the LCD based on the effect control command. The VDP 109 is sometimes called a GCL (graphic controller LSI).

なお、入力ドライバ102は、集中中継基板77から入力された信号を演出制御基板80の内部に向かう方向にしか信号を通過させない(演出制御基板80の内部から集中中継基板77への方向には信号を通過させない)信号方向規制手段としての単方向性回路でもある。   Note that 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 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 a signal direction regulating means.

さらに、演出制御用CPU101は、出力ポート104および出力ドライバ110を介して音声制御基板70に対して音番号データを出力する。また、演出制御用CPU101に入出力するバス(アドレスバス、データバス、および書込/読出信号等の制御信号ラインを含む)はバスドライバ105を介してランプドライバ基板35まで延長されている。   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) that is input / output to / from the effect control CPU 101 is extended to the lamp driver board 35 via the bus driver 105.

ランプドライバ基板35において、演出制御用CPU101に入出力するバスは、バスレシーバ351を介して出力ポート352に接続される。出力ポート352から出力される各ランプを駆動する信号は、ランプドライバ354で増幅され各ランプに供給される。また、出力ポート352から出力される各LEDを駆動する信号は、LED駆動回路355で増幅され各LEDに供給される。   In the lamp driver board 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および演出用駆動手段が駆動される。従って、機種変更を行う際に、ランプドライバ基板35についてポート数を変更する等の設計変更を行う必要はあるが、演出制御基板80については、プログラムを格納するROMを交換するだけでよく回路の設計変更を行う必要はない。   In this embodiment, lamps / LEDs and effect driving means provided in the gaming machine are controlled by effect control means including effect CPU 101 mounted on 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, the lamp / LED, and the like based on the data stored in the ROM. Then, the lamp / LED and the driving means for presentation are driven via the output port 352 and each drive circuit mounted on the lamp driver board 35. Therefore, when changing the model, it is necessary to make a design change such as changing the number of ports for the lamp driver board 35, but for the effect control board 80, it is only necessary to replace the ROM storing the program. There is no need to make design changes.

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

音声制御基板70において、演出制御基板80からの音番号データは、入力ドライバ702を介して、例えばデジタルシグナルプロセッサによる音声合成用IC703に入力される。音声合成用IC703は、音番号データに応じたデータを音声データROM704から読み出し、読み出したデータに応じた音声や効果音を発生し増幅回路705に出力する。増幅回路705は、音声合成用IC703の出力レベルを、ボリューム706で設定されている音量に応じたレベルに増幅した音声信号をスピーカ27に出力する。   In the voice control board 70, the sound number data from the effect control board 80 is input to the voice synthesis IC 703 by a digital signal processor, for example, via the input driver 702. The voice synthesis IC 703 reads data corresponding to the sound number data from the voice data ROM 704, generates voice and sound effects corresponding to the read data, and outputs them 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.

音声データROM704に格納されている音番号データに応じたデータは、所定期間(例えば特別図柄の変動期間)における効果音または音声の出力態様を時系列的に示すデータの集まりである。音声合成用IC703は、音番号データを入力すると、音声データROM704内の対応するデータに従って音出力制御を行う。対応するデータに従った音出力制御は、次の音番号データを入力するまで継続される。そして、音声合成用IC703は、次の音番号データを入力すると、新たに入力した音番号データに対応した音声データROM704内のデータに従って音出力制御を行う。   The data corresponding to the sound number data stored in the sound data ROM 704 is a collection of data indicating the sound effect or sound output mode in a predetermined time period (for example, a special symbol fluctuation period) in time series. When the voice number IC 703 receives the sound number data, the voice synthesis IC 703 performs sound output control according to the corresponding data in the voice data ROM 704. The sound output control according to the corresponding data is continued until the next sound number data is input. When the next sound number data is input, the speech synthesis IC 703 performs sound output control according to the data in the sound data ROM 704 corresponding to the newly input sound number data.

この実施の形態では、スピーカ27から出力される音声や効果音は演出制御用CPU101を含む演出制御手段によって制御されるのであるが、演出制御手段は、音声制御基板70に音番号データを出力する。音声制御基板70において、音声データROM704には、遊技の進行に伴って出現しうる音声や効果音を実現するための多数のデータが格納され、それらのデータは音番号データに対応付けられている。従って、演出制御手段は、音番号データを出力するだけで音出力制御を実現することができる。なお、音番号データは例えば1バイトデータであり、シリアル信号線またはパラレル信号線によって音声制御基板70に転送される。   In this embodiment, the sound and sound output from the speaker 27 are controlled by the effect control means including the effect control CPU 101, but the effect control means outputs the sound number data to the sound control board 70. . In the voice control board 70, the voice data ROM 704 stores a large amount of data for realizing voice and sound effects that can appear as the game progresses, and these data are associated with the sound number data. . Therefore, the production control means can realize sound output control only by outputting the sound number data. Note that the sound number data is, for example, 1-byte data, and is transferred to the sound control board 70 via a serial signal line or a parallel signal line.

なお、この実施の形態では、1つの演出制御手段が、可変表示の表示制御、ランプ・LED(発光体)の点灯制御およびスピーカ27からの音発生制御を実行しているが、すなわち、演出制御手段が、演出制御手段、発光体制御手段および音制御手段を実現している。よって、可変表示装置9による表示演出、ランプ・LEDを用いた演出、および音による演出を容易に同期させることができる。しかし、演出制御手段の負担を軽くするために、発光体制御用マイクロコンピュータや音制御用マイクロコンピュータを設け、それらが、遊技制御手段または演出制御手段(この場合には演出制御手段となる。)からの指令に応じて、発光体制御および音制御を行うように構成してもよい。   In this embodiment, one effect control means executes display control of variable display, lighting control of lamps / LEDs (light emitters), and sound generation control from the speaker 27, that is, effect control. The means realizes effect control means, light emitter control means, and sound control means. Therefore, the display effect by the variable display device 9, the effect using the lamp / LED, and the effect by sound can be easily synchronized. However, in order to lighten the burden on the effect control means, a light emitter control microcomputer and a sound control microcomputer are provided, which are game control means or effect control means (in this case, effect control means). The light emitter may be controlled and the sound may be controlled according to the command.

図10および図11は、遊技制御手段における出力ポートの割り当ての例を示す説明図である。図10に示すように、出力ポート0は払出制御基板37に送信される賞球制御信号(CD0〜CD3)の出力ポートである。また、演出制御基板80に送信される演出制御コマンドの8ビットのデータ(CD0〜CD7)は出力ポート1から出力される。   10 and 11 are explanatory diagrams showing an example of output port assignment in the game control means. As shown in FIG. 10, the output port 0 is an output port for prize ball control signals (CD0 to CD3) 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から出力される。なお、本例では、出力ポート2から出力された発射モータ信号は、発射基板90を介して発射モータ駆動信号として発射モータ94に供給される。   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 is output to a solenoid (normal electric accessory solenoid) 16 for opening and closing the winning ball apparatus 15. 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 take in the 8-bit data of the effect control command. Further, each phase signal (shooting motor signal) supplied toward the firing motor 94 by the stepping motor is output from the output port 2. In this example, the launch motor signal output from the output port 2 is supplied to the launch motor 94 via the launch board 90 as a launch motor drive signal.

そして、出力ポート3,4から、情報出力回路64を介して情報端子板34やターミナル基板160に至る各種情報出力用信号すなわち制御に関わる情報の出力データが出力される。なお、情報出力用信号ではないが、この例では、装飾ランプ25に対する駆動信号は出力ポート3から出力される。   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. Although not an information output signal, in this example, a drive signal for the decorative lamp 25 is output from the output port 3.

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

次に遊技機の動作について説明する。図13は、主基板31における遊技制御手段が実行するメイン処理を示すフローチャートである。遊技機に対して電源が投入され、リセット信号が入力されるリセット端子の入力レベルがハイレベルになると、遊技制御用マイクロコンピュータ560は、プログラムの内容が正当か否かを確認するための処理であるセキュリティチェック処理を実行した後、ステップS1以降のメイン処理を開始する。メイン処理において、遊技制御用マイクロコンピュータ560は、まず、必要な初期設定を行う。   Next, the operation of the gaming machine will be described. FIG. 13 is a flowchart 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 the reset signal is input becomes high level, the gaming control microcomputer 560 performs processing for confirming whether the contents of the program are valid. After executing a certain security check process, the main process after step S1 is started. In the main process, the game control microcomputer 560 first performs necessary initial settings.

初期設定処理において、遊技制御用マイクロコンピュータ560は、まず、割込禁止に設定する(ステップS1)。次に、割込モードを割込モード2に設定し(ステップS2)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS3)。   In the initial setting process, the game control microcomputer 560 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).

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

次いで、遊技制御用マイクロコンピュータ560は、内蔵デバイスレジスタの初期化(内蔵デバイスの入出力割り当てなどの設定)を行うとともに、内蔵デバイスであるCTC(カウンタ/タイマ)およびPIO(パラレル入出力ポート)の初期化を行う(ステップS4)。PIOの初期化とは、例えば、出力ポートの全ビットにオフ状態の値を設定することである。CTCの初期化とは、タイマのモード設定等のことである。   Next, the game control microcomputer 560 initializes the built-in device register (settings such as input / output assignment of the built-in device), and sets the CTC (counter / timer) and PIO (parallel input / output port) that are built-in devices. Initialization is performed (step S4). 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.

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

割込モード0:割込要求を行った内蔵デバイスがRST命令(1バイト)またはCALL命令(3バイト)をCPUの内部データバス上に送出する。よって、遊技制御用マイクロコンピュータ560は、RST命令に対応したアドレスまたはCALL命令で指定されるアドレスの命令を実行する。リセット時に、遊技制御用マイクロコンピュータ560は自動的に割込モード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 game control microcomputer 560 executes the instruction at the address corresponding to the RST instruction or the address specified by the CALL instruction. At the time of resetting, the game control microcomputer 560 automatically enters the 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:遊技制御用マイクロコンピュータ560の特定レジスタ(Iレジスタ)の値(1バイト)と内蔵デバイスが出力する割込ベクタ(1バイト:最下位ビット0)から合成されるアドレスが、割込番地を示すモードである。すなわち、割込番地は、上位アドレスが特定レジスタの値とされ下位アドレスが割込ベクタとされた2バイトで示されるアドレスである。従って、任意の(飛び飛びではあるが)偶数番地に割込処理を設置することができる。各内蔵デバイスは割込要求を行うときに割込ベクタを送出する機能を有している。   Interrupt mode 2: The address synthesized from the value (1 byte) of the specific register (I register) of the microcomputer 560 for game control and the interrupt vector (1 byte: least significant bit 0) output from the built-in device is It is a mode that indicates a cover address. 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 transmitting an interrupt vector when making an interrupt request.

よって、割込モード2に設定されると、各内蔵デバイスからの割込要求を容易に処理することが可能になり、また、プログラムにおける任意の位置に割込処理を設置することが可能になる。さらに、割込モード1とは異なり、割込発生要因毎のそれぞれの割込処理を用意しておくことも容易である。上述したように、この実施の形態では、初期設定処理のステップS2において、遊技制御用マイクロコンピュータ560は割込モード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 game control microcomputer 560 is set to the interrupt mode 2 in step S2 of the initial setting process.

次いで、遊技制御用マイクロコンピュータ560は、RAM55をアクセス可能状態に設定する(ステップS6)。   Next, the game control microcomputer 560 sets the RAM 55 in an accessible state (step S6).

そして、遊技制御用マイクロコンピュータ560は、入力ポート1を介して入力されるクリアスイッチ921の出力信号の状態を1回だけ確認する(ステップS7)。その確認においてオンを検出した場合には、遊技制御用マイクロコンピュータ560は、通常の初期化処理を実行する(ステップS10〜ステップS13)。クリアスイッチ921がオンである場合(押下されている場合)には、ローレベルのクリアスイッチ信号が出力されている。なお、クリアスイッチ信号が論理反転されたあと入力されるため、入力ポート1では、クリアスイッチ信号のオン状態はハイレベルである。また、例えば、遊技店員は、クリアスイッチ921をオン状態にしながら遊技機に対する電力供給を開始する(例えば電源スイッチ914をオンする)ことによって、容易に初期化処理を実行させることができる。すなわち、RAMクリア等を行うことができる。   Then, the game control microcomputer 560 checks the state of the output signal of the clear switch 921 input via the input port 1 only once (step S7). When ON is detected in the confirmation, the game control microcomputer 560 executes normal initialization processing (steps S10 to S13). When the clear switch 921 is on (when pressed), a low-level clear switch signal is output. Since the clear switch signal is input after being logically inverted, in the input port 1, the clear switch signal is in the high 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領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS8)。この実施の形態では、電力供給の停止が生じた場合には、バックアップRAM領域のデータを保護するための処理が行われている。そのような保護処理が行われていたことを確認した場合には、遊技制御用マイクロコンピュータ560はバックアップありと判定する。そのような保護処理が行われていないことを確認した場合には、遊技制御用マイクロコンピュータ560は初期化処理を実行する。   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 S8). In this embodiment, when power supply is stopped, a process for protecting data in the backup RAM area is performed. When it is confirmed that such protection processing has been performed, the game control microcomputer 560 determines that there is a backup. When it is confirmed that such a protection process is not performed, the game control microcomputer 560 executes an initialization process.

保護処理が行われていたか否かは、後述する電力供給停止時処理においてバックアップRAM領域に保存されるバックアップ監視タイマの値が、バックアップRAM領域のデータ保護処理を実行したことに応じた値(例えば2)になっているか否かによって確認される。なお、そのような確認の仕方は一例であって、例えば、電力供給停止時処理においてバックアップフラグ領域にデータ保護処理を実行したことを示すフラグをセットし、ステップS8において、そのフラグがセットされていることを確認したらバックアップありと判定してもよい。   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 merely an example. For example, a flag indicating that the data protection process has been executed is set in the backup flag area in the power supply stop process, and the flag is set in step S8. If it is confirmed that there is a backup, it may be determined that there is backup.

バックアップありと判定したら、遊技制御用マイクロコンピュータ560は、バックアップRAM領域のデータチェック(この例ではパリティチェック)を行う(ステップS9)。この実施の形態では、クリアデータ(00)をチェックサムデータエリアにセットし、チェックサム算出開始アドレスをポインタにセットする。また、チェックサムの対象となるデータ数に対応するチェックサム算出回数をセットする。そして、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する。演算結果をチェックサムデータエリアにストアするとともに、ポインタの値を1増やし、チェックサム算出回数の値を1減算する。以上の処理が、チェックサム算出回数の値が0になるまで繰り返される。チェックサム算出回数の値が0になったら、遊技制御用マイクロコンピュータ560は、チェックサムデータエリアの内容の各ビットの値を反転し、反転後のデータをチェックサムとする。   If it is determined that there is a backup, the game control microcomputer 560 performs a data check (parity check in this example) in the backup RAM area (step S9). 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 becomes 0, the game control microcomputer 560 inverts the value of each bit of the contents of the checksum data area and uses the inverted data as the checksum.

電力供給停止時処理において、上記の処理と同様の処理によってチェックサムが算出され、チェックサムはバックアップRAM領域に保存されている。ステップS9では、算出したチェックサムと保存されているチェックサムとを比較する。不測の停電等の電力供給停止が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されているはずであるから、チェック結果(比較結果)は正常(一致)になる。チェック結果が正常でないということは、バックアップRAM領域のデータが、電力供給停止時のデータとは異なっていることを意味する。そのような場合には、内部状態を電力供給停止時の状態に戻すことができないので、電力供給の停止からの復旧時でない電源投入時に実行される初期化処理(ステップS10〜S13の処理)を実行する。   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 S9, 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 processes of steps S10 to S13) executed when the power is turned on, not when the power supply is stopped. Execute.

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

初期化処理では、遊技制御用マイクロコンピュータ560は、まず、RAMクリア処理を行う(ステップS10)。なお、RAM55の全領域を初期化せず、所定のデータ(例えば大当り判定用乱数を生成するためのカウンタのカウント値のデータ)をそのままにしてもよい。例えば、大当り判定用乱数を生成するためのカウンタのカウント値のデータをそのままにした場合には、不正な手段によって初期化処理が実行される状態になったとしても、大当り判定用乱数を生成するためのカウンタのカウント値が大当り判定値に一致するタイミングを狙うことは困難である。また、ROM54に格納されている初期化時設定テーブルの先頭アドレスをポインタに設定し(ステップS11)、初期化時設定テーブルの内容を順次作業領域に設定する(ステップS12)。ステップS11およびS12の処理によって、例えば、普通図柄判定用乱数カウンタ、普通図柄判定用バッファ、特別図柄左中右図柄バッファ、総賞球数格納バッファ、特別図柄プロセスフラグ、賞球中フラグ、球切れフラグ、払出停止フラグなど制御状態に応じて選択的に処理を行うためのフラグに初期値が設定される。   In the initialization process, the game control microcomputer 560 first performs a RAM clear process (step S10). 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 start address of the initialization setting table stored in the ROM 54 is set as a pointer (step S11), and the contents of the initialization setting table are sequentially set in the work area (step S12). By the processing of steps S11 and S12, 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.

そして、ステップS13において、遊技制御用マイクロコンピュータ560は、所定時間(例えば4ms)毎に定期的にタイマ割込がかかるようにCPU56に内蔵されているCTCのレジスタの設定を行なう。すなわち、初期値として例えば4msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。この実施の形態では、4ms毎に定期的にタイマ割込がかかるとする。   In step S13, the game control microcomputer 560 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 in a predetermined register (time constant register) as an initial value. In this embodiment, it is assumed that a timer interrupt is periodically taken every 4 ms.

初期化処理の実行(ステップS10〜S13)が完了すると、遊技制御用マイクロコンピュータ560は、表示用乱数更新処理(ステップS17)および初期値用乱数更新処理(ステップS18)を繰り返し実行する。遊技制御用マイクロコンピュータ560は、表示用乱数更新処理および初期値用乱数更新処理が実行されるときには割込禁止状態にして(ステップS16)、表示用乱数更新処理および初期値用乱数更新処理の実行が終了すると割込許可状態にする(ステップS19)。なお、表示用乱数とは、可変表示装置9に表示される図柄を決定するための乱数であり、表示用乱数更新処理とは、表示用乱数を発生するためのカウンタのカウント値を更新する処理である。また、初期値用乱数更新処理とは、初期値用乱数を発生するためのカウンタのカウント値を更新する処理である。初期値用乱数とは、大当りとするか否かを決定するための乱数を発生するためのカウンタ(大当り決定用乱数発生カウンタ)等のカウント値の初期値を決定するための乱数である。後述する遊技制御処理(遊技制御用マイクロコンピュータ560が、遊技機に設けられている可変表示装置9、可変入賞球装置、球払出装置等の遊技用の装置を、自身で制御する処理、または他のマイクロコンピュータに制御させるために指令信号を送信する処理、遊技装置制御処理ともいう)において、大当り決定用乱数発生カウンタ等のカウント値が1周すると、そのカウンタに初期値が設定される。   When the execution of the initialization process (steps S10 to S13) is completed, the game control microcomputer 560 repeatedly executes the display random number update process (step S17) and the initial value random number update process (step S18). When the display random number update process and the initial value random number update process are executed, the game control microcomputer 560 disables the interrupt (step S16), and executes the display random number update process and the initial value random number update process. When is finished, the interrupt is permitted (step S19). 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 (game control microcomputer 560 controls itself for game devices such as variable display device 9, variable winning ball device, ball payout device, etc. provided in the gaming machine, or other When the count value of the jackpot determination random number generation counter or the like makes one round in the process of transmitting a command signal to cause the microcomputer to perform control (also referred to as game device control process), an initial value is set in the counter.

なお、表示用乱数更新処理および初期値用乱数更新処理が実行されるときに割込禁止状態にされるのは、表示用乱数更新処理および初期値用乱数更新処理が後述するタイマ割込処理でも実行されることから、タイマ割込処理における処理と競合してしまうのを避けるためである。すなわち、ステップS17,S18の処理中にタイマ割込が発生してタイマ割込処理中で表示用乱数や初期値用乱数を発生するためのカウンタのカウント値を更新してしまったのでは、カウント値の連続性が損なわれる場合がある。しかし、ステップS17,S18の処理中では割込禁止状態にしておけば、そのような不都合が生ずることはない。   Note that when the display random number update process and the initial value random number update process are executed, the interrupt disabled state is set even when the display random number update process and the initial value random number update process are performed 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 S17 and S18 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 S17 and S18.

次に、遊技制御処理について説明する。図14は、タイマ割込処理を示すフローチャートである。メイン処理の実行中に、具体的には、ステップS16〜S19のループ処理の実行中に、タイマ割込が発生すると、遊技制御用マイクロコンピュータ560は、タイマ割込の発生に応じて起動されるタイマ割込処理において遊技制御処理を実行する。タイマ割込処理において、遊技制御用マイクロコンピュータ560は、まず、電源断信号が出力されたか否か(オン状態になったか否か)を検出する電源断処理(電源断検出処理)を実行する(ステップS20)。また、発射モータ94に対する励磁パターンの出力処理(発射モータφ1〜φ4のパターンの出力ポート2への出力)を行う(ステップS21)。なお、ステップS22の発射モータ制御処理において、励磁パターンがRAM領域である励磁パターンバッファに格納され、ステップS21では、遊技制御用マイクロコンピュータ560は、励磁パターンバッファの内容を出力ポート2の上位4ビットに出力する処理を行う。   Next, the game control process will be described. FIG. 14 is a flowchart showing the timer interrupt process. If a timer interrupt occurs during execution of the main process, specifically, during execution of the loop process of steps S16 to S19, the game control microcomputer 560 is activated in response to the occurrence of the timer interrupt. Game control processing is executed in the timer interrupt processing. In the timer interrupt process, the game control microcomputer 560 first executes a power-off process (power-off detection process) that detects whether or not a power-off signal is output (whether or not it is turned on) ( Step S20). 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 2) is performed (step S21). In the firing motor control process of step S22, the excitation pattern is stored in the excitation pattern buffer, which is a RAM area. In step S21, the game control microcomputer 560 converts the contents of the excitation pattern buffer into the upper 4 bits of the output port 2. Process to output to.

次に、遊技制御用マイクロコンピュータ560は、発射モータ制御処理を実行する(ステップS22)。発射モータ制御処理では、発射モータφ1〜φ4のパターンを励磁パターンバッファに格納する。   Next, the game control microcomputer 560 executes a firing motor control process (step S22). In the firing motor control process, the patterns of the firing motors φ1 to φ4 are stored in the excitation pattern buffer.

次に、遊技制御用マイクロコンピュータ560は、スイッチ回路58を介して、ゲートスイッチ32a、始動口スイッチ14a、カウントスイッチ23および入賞口スイッチ29a,30a,33a,39a等のスイッチの検出信号を入力し、それらの状態判定を行う(スイッチ処理:ステップS23)。具体的には、各スイッチの検出信号を入力する入力ポートの状態がオン状態であれば、各スイッチに対応して設けられているスイッチタイマの値を+1する。   Next, the game control microcomputer 560 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. Then, the state determination is performed (switch process: step S23). 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.

また、遊技制御用マイクロコンピュータ560は、払出制御基板37からの賞球カウント信号の受信に応じて、賞球の払い出しが行われたことを遊技者に報知するための処理を実行する(ステップS24a)。具体的には、遊技制御用マイクロコンピュータ560は、賞球の払い出しを確認したことを指定する賞球払出確認指定コマンドを演出制御基板80に送信する処理(図20参照)を実行する。さらに、遊技制御用マイクロコンピュータ560は、払出制御基板37からの払出エラー信号のオン/オフの状態に応じて、球切れおよび下皿満タン(または球切れまたは下皿満タンのいずれか)のエラーが発生したことを遊技者に報知するための処理を実行する(ステップS24b)。具体的には、遊技制御用マイクロコンピュータ560は、払出制御基板37からの払出エラー信号がオン状態になると、球切れ等のエラーの発生を通知するエラー発生通知コマンドを演出制御基板80に送信する処理(図21参照)を実行し、払出制御基板37からの払出エラー信号がオフ状態になると、球切れ等のエラーが解除されたことを通知するエラー解除通知コマンドを演出制御基板80に送信する処理(図21参照)を実行する。   Further, the game control microcomputer 560 executes a process for notifying the player that the prize ball has been paid out in response to the reception of the prize ball count signal from the payout control board 37 (step S24a). ). Specifically, the game control microcomputer 560 executes a process (see FIG. 20) of transmitting a prize ball payout confirmation designation command to the effect control board 80 for designating that the prize ball has been paid out. Further, the game control microcomputer 560 determines whether the ball has run out and the lower plate is full (or either the ball has run out or the lower plate is full) according to the on / off state of the payout error signal from the payout control board 37. Processing for notifying the player that an error has occurred is executed (step S24b). Specifically, when the payout error signal from the payout control board 37 is turned on, the game control microcomputer 560 transmits an error occurrence notification command to notify the occurrence of an error such as a ball break to the effect control board 80. When the process (see FIG. 21) is executed and the payout error signal from the payout control board 37 is turned off, an error release notification command for notifying that an error such as a ball break has been released is transmitted to the effect control board 80. A process (refer FIG. 21) is performed.

次に、遊技制御用マイクロコンピュータ560は、遊技制御に用いられる大当り判定用の乱数等の各判定用乱数を生成するための各カウンタのカウント値を更新する処理を行う(ステップS25)。遊技制御用マイクロコンピュータ560は、さらに、初期値用乱数および表示用乱数を生成するためのカウンタのカウント値を更新する処理を行う(ステップS26,S27)。   Next, the game control microcomputer 560 performs 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 (step S25). The game control microcomputer 560 further performs a process of updating the count value of the counter for generating the initial value random number and the display random number (steps S26 and S27).

さらに、遊技制御用マイクロコンピュータ560は、特別図柄プロセス処理を行う(ステップS28)。特別図柄プロセス制御では、遊技状態に応じてパチンコ遊技機1を所定の順序で制御するための特別図柄プロセスフラグに従って該当する処理が選び出されて実行される。そして、特別図柄プロセスフラグの値は、遊技状態に応じて各処理中に更新される。また、遊技制御用マイクロコンピュータ560は、普通図柄プロセス処理を行う(ステップS29)。普通図柄プロセス処理では、普通図柄表示器10の表示状態を所定の順序で制御するための普通図柄プロセスフラグに従って該当する処理が選び出されて実行される。そして、普通図柄プロセスフラグの値は、遊技状態に応じて各処理中に更新される。   Furthermore, the game control microcomputer 560 performs a special symbol process (step S28). 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. The game control microcomputer 560 performs normal symbol process processing (step S29). 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.

次いで、遊技制御用マイクロコンピュータ560は、特別図柄に関する演出制御コマンドをRAM55の所定の領域に設定して演出制御コマンドを送出する処理を行う(特別図柄コマンド制御処理:ステップS30)。また、普通図柄に関する演出制御コマンドをRAM55の所定の領域に設定して演出制御コマンドを送出する処理を行う(普通図柄コマンド制御処理:ステップS31)。   Next, the game control microcomputer 560 performs a process of setting an effect control command related to the special symbol in a predetermined area of the RAM 55 and sending the effect control command (special symbol command control process: step S30). In addition, a process for setting an effect control command related to 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 S31).

さらに、遊技制御用マイクロコンピュータ560は、例えばホール管理用コンピュータに供給される大当り情報、始動情報、確率変動情報などのデータを出力する情報出力処理を行う(ステップS32)。   Further, the game control microcomputer 560 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 S32).

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

そして、遊技制御用マイクロコンピュータ560は、始動入賞記憶数の増減をチェックする記憶処理を実行する(ステップS34)。また、遊技機の制御状態を遊技機外部で確認できるようにするための試験信号を出力する処理である試験端子処理を実行する(ステップS35)。また、この実施の形態では、出力ポートの出力状態に対応したRAM領域(出力ポートバッファ)が設けられているのであるが、遊技制御用マイクロコンピュータ560は、出力ポート2のRAM領域におけるソレノイドに関する内容(図10参照)を出力ポートに出力する(ステップS36:ソレノイド出力処理)。その後、割込許可状態に設定し(ステップS37)、処理を終了する。   Then, the game control microcomputer 560 executes a storage process for checking increase / decrease in the number of start winning memories (step S34). 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 S35). In this embodiment, a RAM area (output port buffer) corresponding to the output state of the output port is provided. However, the game control microcomputer 560 is related to the solenoid in the RAM area of the output port 2. (See FIG. 10) is output to the output port (step S36: solenoid output processing). Thereafter, the interrupt permission state is set (step S37), and the process ends.

以上の制御によって、この実施の形態では、遊技制御処理は定期的(例えば4ms毎)に起動されることになる。なお、この実施の形態では、タイマ割込処理で遊技制御処理が実行されているが、タイマ割込処理では例えば割込が発生したことを示すフラグのセットのみがなされ、遊技制御処理はメイン処理において実行されるようにしてもよい。また、ステップS21〜S37の処理(ステップS32およびS35を除く)が、遊技の進行を制御する遊技制御処理に相当する。   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 S21 to S37 (excluding steps S32 and S35) corresponds to a game control process for controlling the progress of the game.

次に、メイン処理におけるスイッチ処理(ステップS23)を説明する。この実施の形態では、入賞検出またはゲート通過に関わる各スイッチの検出信号のオン状態が所定時間継続すると、確かにスイッチがオンしたと判定されスイッチオンに対応した処理が開始される。図15は、スイッチ処理で使用されるRAM55に形成される各1バイトのバッファを示す説明図である。前回ポートバッファは、前回(例えば4ms前)のスイッチオン/オフの判定結果が格納されるバッファである。ポートバッファは、今回入力したポート0の内容が格納されるバッファである。スイッチオンバッファは、スイッチのオンが検出された場合に対応ビットが1に設定され、スイッチのオフが検出された場合に対応ビットが0に設定されるバッファである。   Next, the switch process (step S23) 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. 15 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.

図16は、遊技制御処理におけるステップS23のスイッチ処理の処理例を示すフローチャートである。スイッチ処理において、遊技制御用マイクロコンピュータ560は、まず、入力ポート0(図12参照)に入力されているデータを入力し(ステップS101)、入力したデータをポートバッファにセットする(ステップS102)。次いで、RAM55に形成されるウェイトカウンタの初期値をセットし(ステップS103)、ウェイトカウンタの値が0になるまで、ウェイトカウンタの値を1ずつ減算する(ステップS104,S105)。   FIG. 16 is a flowchart showing a processing example of the switch processing in step S23 in the game control processing. In the switch process, the game control microcomputer 560 first inputs the data input to the input port 0 (see FIG. 12) (step S101), and sets the input data in the port buffer (step S102). Next, an 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”.

さらに、遊技制御用マイクロコンピュータ560は、前回ポートバッファにセットされているデータとポートバッファにセットされているデータとの間で、ビット毎に排他的論理和をとる(ステップS109)。排他的論理和の演算結果において、前回(例えば4ms前)のスイッチオン/オフの判定結果と、今回オンと判定されたスイッチオン/オフの判定結果とが異なっているスイッチに対応したビットが「1」になる。遊技制御用マイクロコンピュータ560は、さらに、排他的論理和の演算結果と、ポートバッファにセットされているデータとの間で、ビット毎に論理積をとる(ステップS110)。この結果、前回のスイッチオン/オフの判定結果と今回オンと判定されたスイッチオン/オフの判定結果とが異なっているスイッチに対応したビット(排他的論理和演算結果による)のうち、今回オンと判定されたスイッチに対応したビット(論理積演算による)のみが「1」として残る。   Further, the game control microcomputer 560 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 game control microcomputer 560 further performs a logical product for each bit between the exclusive OR operation result 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 as (by the logical product operation) remains as “1”.

そして、遊技制御用マイクロコンピュータ560は、ステップS110における論理積の演算結果をスイッチオンバッファにセットし(ステップS111)、ステップS108における演算結果がセットされているポートバッファの内容を前回ポートバッファにセットする(ステップS112)。   Then, the game control microcomputer 560 sets the logical product calculation result in step S110 in the switch-on buffer (step S111), and sets the contents of the port buffer in which the calculation 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との間で送受信される制御信号について説明する。図17は、主基板31から払出制御基板37に対して出力される制御信号および主基板31に払出制御基板37から入力される制御信号の内容の一例を示す説明図である。この実施の形態では、払出制御等に関する各種の制御を行うために、主基板31と払出制御基板37との間で複数種類の制御信号が送受信される。図17に示すように、接続確認信号は、主基板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. 17 is an explanatory diagram showing an example of the contents of the control signal output from the main board 31 to the payout control board 37 and the control signal input from the payout control board 37 to the main board 31. 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. 17, 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.

賞球REQ信号は、賞球の払出要求時の送信時に出力状態(=オン状態)になる信号である。また、賞球REQ信号は、出力状態となったあとあらかじめ決められている所定期間後に停止状態(オフ状態)になる。賞球個数信号は、払出要求を行う遊技球の個数(1〜15個)を指定するために出力される信号(賞球個数コマンド)として使用される。   The prize ball REQ signal is a signal that is in an output state (= on state) at the time of transmission at the time of a prize ball payout request. In addition, the prize ball REQ signal is in a stopped state (off state) after a predetermined period after being in the output state. 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.

状態信号は、満タン信号が出力されておらず、かつ、フォトカプラ151によってVL信号が伝達されているときに出力状態(オン状態)になる信号である。また、状態信号は、満タン状態であるとき、または、フォトカプラ151によってVL信号が伝達されていないときに停止状態(オフ状態)になる。   The state signal is a signal that is in the output state (ON state) when the full signal is not output and the VL signal is transmitted by the photocoupler 151. The state signal is in a stopped state (off state) when the state is full or when the VL signal is not transmitted by the photocoupler 151.

賞球カウント信号は、払出制御手段が1個の賞球の払い出しを確認するとオン状態にされ、あらかじめ決められている所定期間経過後にオフ状態になる信号である。払出エラー信号は、払い出しに関わるエラー状態が発生するとオン状態にされ、エラー状態が解除されるとオフ状態にされる信号である。   The award 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 of time has elapsed. 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.

図18は、図17に示す各制御信号の送受信に用いられる信号線等を示すブロック図である。図18に示すように、接続確認信号、賞球REQ信号、および賞球制御信号は、CPU56によって出力回路67を介して出力され、入力回路373Aを介して払出制御用CPU371に入力される。また、賞球カウント信号、および払出エラー信号は、払出制御用CPU371によって出力回路373Bを介して出力され、入力回路68を介してCPU56に入力される。さらに、状態信号は、払出制御基板37に搭載されたAND回路155から出力回路373Bを介して出力され、入力回路68を介してCPU56に入力される。接続確認信号、賞球REQ信号、賞球カウント信号、払出エラー信号、および状態信号は、それぞれ1ビットのデータであり、1本の信号線によって送信される。賞球制御信号は、1個〜15個の賞球払出を指定するので、4ビットのデータで構成され4本の信号線によって送信される。   FIG. 18 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. 18, the connection confirmation signal, the prize ball REQ signal, and the prize ball control 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. 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. Further, the status signal is output from the AND circuit 155 mounted on the payout control board 37 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 prize ball count signal, the payout error signal, and the status signal is 1-bit data, and is transmitted through one signal line. Since the prize ball control signal designates 1 to 15 prize ball payouts, it is composed of 4-bit data and transmitted through four signal lines.

図19は、賞球個数信号の出力の仕方の一例を示すタイミング図である。図19に示すように、遊技制御用マイクロコンピュータ560は、入賞検出スイッチが遊技球の入賞を検出すると、賞球個数信号の出力状態を、入賞に応じて払い出される賞球数に応じた状態にするとともに、賞球REQ信号をオン状態にする。なお、この実施の形態では、始動口スイッチ14aで遊技球が検出されると4個の賞球払出を行い、入賞口スイッチ33a,39a,29a,30aのいずれかで遊技球が検出されると7個の賞球払出を行い、Vカウントスイッチ22またはカウントスイッチ23で遊技球が検出されると15個の賞球払出を行う。また、上述したように、賞球個数信号は4ビットで構成されているので、8ビットで表現されている00(H)〜0F(H)の賞球個数コマンドのうち、下位の4ビットが賞球個数信号として主基板31から払出制御基板37に伝達される。以下、「00(H)〜0F(H)の賞球個数信号」のように表現することがあるが、実際には、賞球個数信号は、8ビットで表現されている00(H)〜0F(H)のうちの下位の4ビットに相当する。   FIG. 19 is a timing chart showing an example of how to output a prize ball number signal. As shown in FIG. 19, when the winning control switch detects a winning game ball, the gaming control microcomputer 560 changes the output state of the winning ball number signal to a state corresponding to the number of winning balls to be paid out according to winning. At the same time, the prize ball REQ signal is turned on. 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 one 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. Further, as described above, the prize ball number signal is composed of 4 bits, and therefore, the lower 4 bits of the prize ball number commands of 00 (H) to 0F (H) expressed in 8 bits are The prize ball number signal is transmitted from the main board 31 to the payout control board 37. 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 4 bits of 0F (H).

図20は、賞球カウント信号の出力の仕方の一例を示すタイミング図である。図20に示すように、払出制御用マイクロコンピュータ370は、払出個数カウントスイッチ301が遊技球の払い出しを検出すると、その検出が賞球の払出検出であるか否か確認し、賞球の払出検出であれば賞球カウント信号を所定期間(例えば0.5秒)オン状態とする。すなわち、1個の賞球の払い出しを確認する毎に、賞球カウント信号を所定期間オン状態とする。従って、例えば払出個数カウントスイッチ301によって7個の遊技球の払い出しが検出され、検出された遊技球が賞球であれば、賞球カウント信号のオン/オフが7回繰り返される。   FIG. 20 is a timing chart showing an example of how to output a prize ball count signal. As shown in FIG. 20, when the payout control counter 370 detects the payout of the game ball, the payout control microcomputer 370 confirms whether or not the detection is the detection of the payout of the winning ball, and detects the payout of the winning ball. If so, the prize ball count signal is turned on for a predetermined period (for example, 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.

遊技制御用マイクロコンピュータ560は、上述した賞球報知処理(ステップS24a)において、賞球カウント信号を受信する毎に、1個の賞球の払い出しを確認したことを示す賞球払出確認指定の制御コマンド(賞球払出確認指定コマンド)を演出制御基板80に向けて送信する(ステップS24aにおける賞球報知処理を参照)。演出制御基板80に搭載されている演出制御用マイクロコンピュータ100は、受信した賞球払出確認指定コマンドに基づいて、ランプの駆動(点灯)を制御する指令信号を枠側ランプドライバ基板35に対して出力する(ステップS324におけるコマンド解析処理において、賞球払出確認指定コマンドの受信に応じて指令信号を枠側ランプドライバ基板35に出力する)。枠側ランプドライバ基板35のランプドライバ354は、賞球払出確認指定コマンドを受信する毎に、賞球ランプ51を所定期間(例えば0.5秒)点灯させる制御を実行する。   The game control microcomputer 560 performs a prize ball payout confirmation designation control indicating that the payout of one prize ball has been confirmed every time a prize ball count signal is received in the above-described prize ball notification process (step S24a). A command (award ball payout confirmation designation command) is transmitted to the effect control board 80 (see the award ball notification process in step S24a). The production control microcomputer 100 mounted on the production control board 80 sends a command signal for controlling the driving (lighting) of the lamp to the frame side lamp driver board 35 based on the received prize ball payout confirmation designation command. (In the command analysis process in step S324, a command signal is output to the frame-side lamp driver board 35 in response to reception of a prize ball payout confirmation designation command). The lamp driver 354 of the frame side lamp driver board 35 executes control for lighting the prize ball lamp 51 for a predetermined period (for example, 0.5 seconds) every time a prize ball payout confirmation designation command is received.

なお、賞球カウント信号を受信する毎に、1個の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを演出制御基板80に送信する構成に限られるわけではなく、例えば、遊技制御用マイクロコンピュータ560が、所定個分(例えば7個分)の賞球の払い出しを示す所定回数(例えば7回)の賞球カウント信号を受信すると、所定個分(例えば7個分)の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを演出制御基板80に送信するようにしてもよく、また、払い出されるべき所定個(例えば7個)の賞球のうちの1個目の賞球の払い出しが検出されたことにもとづく賞球カウント信号を受信したことに応じて、所定個分(例えば7個分)の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを演出制御基板80に送信するようにしてもよい。この場合、演出制御用マイクロコンピュータ100は、所定個分の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを受信したときは、上記したような1個の賞球の払い出しを確認したことを示す賞球払出確認指定コマンドを受信したときよりも長い期間(例えば3秒)賞球ランプ51を点灯させる制御を実行するのが好ましい。なお、遊技制御用マイクロコンピュータ560が、賞球カウント信号を受信する毎に、賞球払出確認指定コマンドを送信するだけでなく、例えばホールコンピュータなどの外部装置に向けて、受信賞球カウント信号を受信したことを示す信号を出力するようにしてもよい。このように構成すれば、賞球の払い出しが行われたことを外部にて確認することができるようになる。   Note that the present invention is not limited to a configuration in which a prize ball payout confirmation designation command indicating that a prize ball has been paid out is transmitted to the effect control board 80 every time a prize ball count signal is received. When the control microcomputer 560 receives a predetermined number (for example, seven times) of award ball count signals indicating a predetermined number (for example, seven) of winning balls, the predetermined number (for example, seven) of award balls is received. A prize ball payout confirmation designation command indicating that the payout of the ball has been confirmed may be transmitted to the effect control board 80, and the first one of a predetermined number (for example, 7) prize balls to be paid out. A prize ball payout confirmation designation command indicating that a predetermined number (for example, 7) of prize balls has been paid out in response to receiving a prize ball count signal based on detection of a prize ball payout. The It may be transmitted to the output control board 80. In this case, the production control microcomputer 100 confirms the payout of one prize ball as described above when receiving the prize ball payout confirmation designation command indicating that the payout of the predetermined number of prize balls has been confirmed. It is preferable to execute control to turn on the prize ball lamp 51 for a longer period (for example, 3 seconds) than when the prize ball payout confirmation designation command indicating that the game has been received. Note that each time the game control microcomputer 560 receives a prize ball count signal, the game control microcomputer 560 not only transmits a prize ball payout confirmation designation command, but also sends a received prize ball count signal to an external device such as a hall computer. You may make it output the signal which shows having received. If comprised in this way, it will become possible to confirm outside that the prize ball was paid out.

図21は、払出エラー信号の出力の仕方の一例を示すタイミング図である。図21に示すように、払出制御用マイクロコンピュータ370は、エラー状態に移行したときに払出エラー信号をオン状態とし、エラー状態が解除されたときに払出エラー信号をオフ状態とする。この例では、遊技球の払い出しに関わるエラーの発生によりエラー状態に移行したときに払出エラー信号が出力される。具体的には、例えば、下皿満タン状態、球切れ状態となったときに払出エラー信号が出力される。   FIG. 21 is a timing chart showing an example of how to output a payout error signal. As shown in FIG. 21, the payout control microcomputer 370 turns on the payout error signal when the error state is entered, 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, a payout error signal is output when the lower pan is full or the ball is out.

図21に示すように、主基板31に搭載されている遊技制御用マイクロコンピュータ560は、払出制御用マイクロコンピュータ370からのエラー信号を受信すると(エラー信号がオン状態となると)、演出制御基板80に向けて演出制御コマンドとしてのエラー発生通知コマンドを送信する。エラー発生通知コマンドは、エラーが発生したことを示すコマンドである。また、遊技制御用マイクロコンピュータ560は、払出制御用マイクロコンピュータ370からのエラー信号が停止されると(エラー信号がオフ状態となると)、演出制御基板80に向けて演出制御コマンドとしてのエラー解除通知コマンドを送信する。エラー解除通知コマンドは、エラー状態が解除したことを示すコマンドである。   As shown in FIG. 21, when the game control microcomputer 560 mounted on the main board 31 receives an error signal from the payout control microcomputer 370 (when the error signal is turned on), the effect control board 80 An error occurrence notification command is transmitted as an effect control 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 microcomputer 370 is stopped (when the error signal is turned off), the game control microcomputer 560 notifies the effect control board 80 of an error release as an effect control command. Send a command. The error release notification command is a command indicating that the error state has been released.

演出制御基板80に搭載されている演出制御用マイクロコンピュータ100は、遊技制御用マイクロコンピュータ560からのエラー発生通知コマンドを受信すると、可変表示装置9にエラー状態であることを示す表示を行い、エラー状態を報知する処理を実行する。エラー状態の報知は、例えば「エラーが発生しました!」などの文字や図形などを可変表示装置9の表示領域に表示することで行われる。また、演出制御用マイクロコンピュータ100は、遊技制御用マイクロコンピュータ560からのエラー解除通知コマンドを受信すると、エラー状態であることを報知するために可変表示装置9に表示されていたエラー表示を消去して、エラー状態であることの報知を終了する。このように、エラー状態となったときにエラーの報知を行う構成としたことで、遊技者や遊技店員にエラーが発生したことを容易に知らせることができる。   Upon receiving the error occurrence notification command from the game control microcomputer 560, the effect control microcomputer 100 mounted on the effect control board 80 displays an error state on the variable display device 9, and displays an error. A process for informing the state is executed. 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. When the production control microcomputer 100 receives the error release notification command from the game control microcomputer 560, the production control microcomputer 100 erases the error display displayed on the variable display device 9 in order to notify that it is in an error state. Then, the notification of the error state is ended. As described above, the error notification is made when an error state occurs, so that the player or the game clerk can be easily notified that the error has occurred.

図22は、ステップS21の発射モータ励磁パターン出力処理の一例を示すフローチャートである。発射モータ励磁パターン出力処理において、遊技制御用マイクロコンピュータ560は、状態信号の入力状態を確認する(ステップS21a)。状態信号がオン状態であれば、遊技制御用マイクロコンピュータ560は、励磁パターンバッファに格納されている発射モータ94に対する励磁パターンを出力ポート2の上位4ビットに出力することで、発射モータ信号の出力処理を行う(ステップS21b)。一方、状態信号がオフ状態であれば、発射モータ信号の出力処理を行うことなく発射モータ励磁パターン出力処理を終了する。   FIG. 22 is a flowchart showing an example of the firing motor excitation pattern output process in step S21. In the firing motor excitation pattern output process, the game control microcomputer 560 checks the input state of the state signal (step S21a). If the status signal is ON, the game control microcomputer 560 outputs the excitation motor signal by outputting the excitation pattern for the launch motor 94 stored in the excitation pattern buffer to the upper 4 bits of the output port 2. Processing is performed (step S21b). On the other hand, if the state signal is OFF, the firing motor excitation pattern output process is terminated without performing the firing motor signal output process.

なお、状態信号がオフ状態であったときに、ステップS22の発射モータ制御処理をも行わないようにしてもよい。例えば、ステップS21aにて状態信号がオフ状態であると判定されたときは、ステップS21bおよびステップS22の処理を行うことなく、ステップS23の処理にジャンプするようにすればよい。   Note that when the state signal is in the off state, the firing motor control process in step S22 may not be performed. For example, when it is determined in step S21a that the state signal is in the off state, the process may jump to step S23 without performing steps S21b and S22.

また、遊技制御用マイクロコンピュータ560は、状態信号の入力状態がオフ状態となったことを検出した場合には、演出制御基板80に向けて演出制御コマンドとしての発射不許可状態通知コマンドを送信するようにしてもよい。この場合、例えば、ステップS21aにてNと判定したときに、未だ発射不許可状態の報知中でなければ、発射不許可状態通知コマンドを送信する。発射不許可状態通知コマンドは、後述する発射不許可状態とする旨を示すコマンドである。また、遊技制御用マイクロコンピュータ560は、状態信号の入力状態がオン状態となったことを検出した場合には、演出制御基板80に向けて演出制御コマンドとしての発射許可状態通知コマンドを送信するようにしてもよい。この場合、例えば、ステップS21aにてYと判定したときに、発射不許可状態の報知中であれば、発射許可状態通知コマンドを送信する。発射許可状態通知コマンドは、発射不許可状態が解除され発射許可状態とする旨を示すコマンドである。   In addition, when the game control microcomputer 560 detects that the state signal input state is turned off, the game control microcomputer 560 transmits a firing non-permission state notification command as an effect control command to the effect control board 80. You may do it. In this case, for example, when it is determined as N in step S21a, if the launch non-permission state is not being notified, a launch non-permission state notification command is transmitted. The firing non-permission state notification command is a command indicating that a launch non-permission state described later is set. Further, when it is detected that the state signal input state is turned on, the game control microcomputer 560 transmits a firing permission state notification command as an effect control command to the effect control board 80. It may be. In this case, for example, when it is determined as Y in step S21a, if the firing non-permission state is being notified, a firing permission state notification command is transmitted. The firing permission state notification command is a command that indicates that the firing non-permitted state is canceled and the fire is permitted.

演出制御基板80に搭載されている演出制御用マイクロコンピュータ100は、遊技制御用マイクロコンピュータ560からの発射不許可状態通知コマンドを受信すると、可変表示装置9に発射停止状態であることを示す表示を行い、発射不許可状態となったことを報知する処理を実行する。発射不許可状態の報知は、例えば「ただいま遊技球を発射できません!」などの文字や図形などを可変表示装置9の表示領域に表示することで行われる。また、演出制御用マイクロコンピュータ100は、遊技制御用マイクロコンピュータ560からの発射許可状態通知コマンドを受信すると、発射不許可状態であることを報知するために可変表示装置9に表示されていた発射不許可状態表示を消去して、発射不許可状態であることの報知を終了する。このように、発射不許可状態となったことを報知する構成とすれば、遊技者や遊技店員に遊技球を発射することができない状態であることを容易に知らせることができる。なお、可変表示装置9への表示に限らず、音やランプなどによって発射不許可状態であることを報知するようにしてもよい。   When the effect control microcomputer 100 mounted on the effect control board 80 receives the launch non-permission state notification command from the game control microcomputer 560, the variable display device 9 displays a display indicating that the launch is stopped. And performing a process of notifying that the launch is not permitted. The notification of the launch disapproval state is performed, for example, by displaying characters or figures such as “Cannot launch a game ball now!” In the display area of the variable display device 9. In addition, when the production control microcomputer 100 receives the launch permission state notification command from the game control microcomputer 560, the launch control state displayed on the variable display device 9 in order to notify that the launch is not permitted. The permission state display is erased, and the notification that the launch is not permitted is terminated. Thus, if it is set as the structure which alert | reports that it was in the launch disapproval state, it can be easily notified to a player or a game store clerk that it is a state which cannot launch a game ball. In addition, you may make it alert | report that it is a discharge disapproval state not only by the display to the variable display apparatus 9, but with a sound, a lamp | ramp, etc. FIG.

図23は、状態信号の出力状態の例を示すタイミング図である。図23に示すように、満タン信号がオン状態であるとき、または、VL信号がオフ状態であるときは、状態信号がオフ状態となる。具体的には、満タンスイッチ148から満タン信号が出力されているとき、または、フォトカプラ151によってVL信号が伝達されていないときは、AND回路155の出力信号である状態信号がオフ状態となり、発射不許可状態となる。   FIG. 23 is a timing diagram illustrating an example of an output state of the state signal. As shown in FIG. 23, when the full signal is in the on state or when the VL signal is in the off state, the state signal is in the off state. More specifically, when a full tank signal is output from the full switch 148 or when the VL signal is not transmitted by the photocoupler 151, the state signal that is the output signal of the AND circuit 155 is turned off. , The launch is not permitted.

一方、図23に示すように、満タン信号がオフ状態であり、かつVL信号がオン状態であるときは、状態信号がオン状態となる。具体的には、満タンスイッチ148から満タン信号が出力されていないときで、フォトカプラ151によってVL信号が伝達されているときは、AND回路155の出力信号である状態信号がオン状態となり、発射許可状態となる。   On the other hand, as shown in FIG. 23, when the full signal is in the off state and the VL signal is in the on state, the state signal is in the on state. More specifically, when the full tank signal is not output from the full switch 148 and the VL signal is transmitted by the photocoupler 151, the state signal that is the output signal of the AND circuit 155 is turned on. Launch permitted.

「発射不許可状態」とは、発射モータ94を駆動させることが禁止されている状態を意味する。具体的には、タッチセンサからの制御信号が発射基板90に入力されていたとしても、発射モータ94が駆動されない状態である。「発射不許可状態」であるときは、ステップS21bの処理は実行されず、遊技制御用マイクロコンピュータ560からの発射モータ信号が停止状態とされるため、遊技者によって遊技球を発射させるための操作がなされていたとしても、遊技球は発射されない。   “Launch non-permitted state” means a state where driving of the firing motor 94 is prohibited. Specifically, even if a control signal from the touch sensor is input to the firing substrate 90, the firing motor 94 is not driven. When in the “disallowed launching state”, the process of step S21b is not executed and the launching motor signal from the gaming control microcomputer 560 is stopped, so that an operation for launching the game ball by the player is performed. Even if is done, the game ball is not fired.

「発射許可状態」とは、発射モータ94を駆動させることが許可されている状態を意味する。具体的には、タッチセンサからの制御信号が発射基板90に入力されていれば、発射モータ94が駆動される状態である。「発射許可状態」であるときは、ステップS21bの処理が実行され、遊技制御用マイクロコンピュータ560からの発射モータ信号が出力状態とされるため、遊技者によって遊技球を発射させるための操作がなされていれば(タッチセンサからのタッチセンサ信号が発射基板90に入力されていれば)、発射基板90から発射モータ駆動信号が発射モータ94に入力されて遊技球が発射される。   “Launch permitted state” means a state in which the firing motor 94 is permitted to be driven. Specifically, if a control signal from the touch sensor is input to the firing substrate 90, the firing motor 94 is driven. When it is in the “permission permitted state”, the process of step S21b is executed, and the launch motor signal from the game control microcomputer 560 is set to the output state, so that an operation for launching the game ball by the player is performed. If so (if the touch sensor signal from the touch sensor is input to the launch board 90), the launch motor drive signal is input from the launch board 90 to the launch motor 94 and the game ball is launched.

なお、本例では、遊技制御用マイクロコンピュータ560が発射モータ94を駆動するための駆動信号として発射モータ信号を発射基板90に対して出力し、タッチセンサからのタッチセンサ信号が発射基板90に入力されていれば、発射基板90に入力した発射モータ信号がそのまま発射モータ駆動信号として出力され、発射モータ94に入力される。すなわち、遊技制御用マイクロコンピュータ560が発射モータ94に入力される駆動信号を出力し、発射基板90は駆動信号を中継する役割を果たしている。   In this example, the game control microcomputer 560 outputs a launch motor signal to the launch board 90 as a drive signal for driving the launch motor 94, and the touch sensor signal from the touch sensor is input to the launch board 90. If so, the firing motor signal input to the firing substrate 90 is output as it is as a firing motor drive signal and input to the firing motor 94. That is, the game control microcomputer 560 outputs a drive signal input to the launch motor 94, and the launch board 90 plays a role of relaying the drive signal.

しかし、発射基板90が発射モータ94に入力される駆動信号を継続的に出力するように構成されている場合には、遊技制御用マイクロコンピュータ560が、状態信号の入力状態に応じて発射基板90に対して発射許可状態であるか発射不許可状態であるかを示す信号を出力し、発射基板90が、発射許可状態であることを条件として、タッチセンサからのタッチセンサ信号が入力されていれば、発射モータ94に入力される駆動信号を継続的に出力する構成とすればよい。   However, when the launch board 90 is configured to continuously output the drive signal input to the launch motor 94, the game control microcomputer 560 may change the launch board 90 according to the state signal input state. Output a signal indicating whether it is in a launch-permitted state or a launch-permitted state, and the touch sensor signal from the touch sensor is input on condition that the launch board 90 is in the launch-permitted state. For example, the drive signal input to the firing motor 94 may be continuously output.

図24は、ステップS33の賞球処理の一例を示すフローチャートである。賞球処理において、遊技制御用マイクロコンピュータ560は、賞球個数加算処理(ステップS201)と賞球制御処理(ステップS202)とを実行する。そして、RAM55に形成されるポート0バッファの内容をポート0に出力する(ステップS203)。なお、ポート0バッファの内容は、賞球制御処理において更新される。   FIG. 24 is a flowchart showing an example of the prize ball processing in step S33. In the prize ball process, the game control microcomputer 560 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.

賞球個数加算処理では、図25に示す賞球個数テーブルが使用される。賞球個数テーブルは、ROM54に設定されている。賞球個数テーブルの先頭アドレスには処理数(この例では「7」)が設定され、その後に、スイッチオンバッファの下位アドレス、入賞により賞球を払い出すことになる入賞口の各スイッチについてのスイッチ入力ビット判定値、賞球数が、入賞口の各スイッチのそれぞれに対応して順次設定されている。なお、スイッチ入力ビット判定値は、入力ポート0における各スイッチの検出信号が入力されるビットに対応した値である(図12参照)。また、スイッチオンバッファの上位アドレスは固定的な値(例えば7F(H))である。   In the winning ball number adding process, a winning ball number table shown in FIG. 25 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 head 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. 12). The upper address of the switch-on buffer is a fixed value (for example, 7F (H)).

図26は、賞球個数加算処理を示すフローチャートである。賞球個数加算処理において、遊技制御用マイクロコンピュータ560は、賞球個数テーブルの先頭アドレスをポインタにセットする(ステップS211)。そして、ポインタが指すアドレスのデータ(この場合には処理数)をロードする(ステップS212)。次に、スイッチオンバッファの上位アドレス(8ビット)を2バイトのチェックポインタの上位1バイトにセットする(ステップS213)。   FIG. 26 is a flowchart showing the prize ball number adding process. In the winning ball number adding process, the game control microcomputer 560 sets the start address of the winning ball number table as a 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 pointer value is incremented by 1 (step S214), and the data of the prize ball number table 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.

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

図28は、賞球プロセスコードの値が0の場合に実行される賞球待ち処理1(ステップS231)を示すフローチャートである。CPU56は、賞球待ち処理1において、賞球待機中出力値(30(H))をポート0バッファにセットする(ステップS243)。なお、賞球待機中出力値がポート0バッファにセットされると、ステップS203においてポート0バッファの内容がポート0に出力されることによって、賞球REQ信号がオフ状態になり、接続確認信号のオン状態が維持される(図10参照)。また、賞球制御信号が無効コマンド(00(H))を出力する状態になる。次いで、賞球タイマが0であるか否か確認する(ステップS244)。賞球タイマが0でなければ、賞球タイマの値を1減らして(ステップS245)、処理を終了する。賞球タイマは賞球処理において必要となる時間を計測するためのタイマであるが、この段階で賞球タイマの値が0でないということは、前回の払出処理が完了した後、次に賞球REQ信号をオン状態にするまでの待ち時間(連続して賞球払出が実行される場合に複数の賞球REQ信号のオン期間の間に間隔を設けるための時間、図19に示す00(H)の賞球制御信号が出力されている期間)が終了していないことを意味する。   FIG. 28 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 (30 (H)) in the port 0 buffer (step S243). When the prize ball waiting output value 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. 10). In addition, the prize ball control signal enters an invalid command (00 (H)). Next, it is confirmed 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 ON periods of a plurality of prize ball REQ signals when prize ball payout is continuously executed, 00 (H ) Means that the prize ball control signal is being output).

なお、賞球タイマは、後述する賞球待ち処理3のステップS275でセットされる。また、ステップS243〜S245の処理は、ステップS234の賞球処理3の実行が完了して前回の払出処理が完了した後に、賞球REQ信号をオフ状態にするとともに、賞球制御信号として無効コマンド(00(H))を出力するための処理である。   The prize ball timer is set in step S275 of the prize ball waiting process 3 described later. In addition, after the execution of the prize ball process 3 in step S234 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 control 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 confirms 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.

図29は、賞球プロセスコードの値が1の場合に実行される賞球送信処理(ステップS232)を示すフローチャートである。CPU56は、賞球送信処理において、総賞球数格納バッファの内容が賞球コマンド最大値(この例では「15」)よりも小さいか否か確認する(ステップS251)。総賞球数格納バッファの内容が賞球コマンド最大値以上であれば、賞球コマンド最大値を賞球個数バッファに設定する(ステップS252)。また、総賞球数格納バッファの内容が賞球コマンド最大値よりも小さい場合には、総賞球数格納バッファの内容を賞球個数バッファに設定する(ステップS253)。   FIG. 29 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).

その後、CPU56は、賞球REQ中出力値(10(H))を出力ポート0バッファにセットする(ステップS254)。なお、賞球REQ中出力値が出力ポート0バッファにセットされると、ステップS203において出力ポート0バッファの内容がポート0に出力されることによって、賞球REQ信号がオン状態になり、接続確認信号のオン状態が維持される(図10参照)。また、賞球個数バッファの内容を出力ポート0バッファの下位4ビットにセットする(ステップS255)。さらに、賞球処理待ち時間を賞球タイマにセットする(ステップS256)。賞球処理待ち時間は、例えば、払出制御基板37にて賞球の払出制御が完了するのに十分な期間であるとしてあらかじめ定められた時間とされる。その後、賞球プロセスコードの値を2にして(ステップS257)、処理を終了する。   Thereafter, the CPU 56 sets the output value (10 (H)) during the prize ball REQ 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. 10). Further, the contents of the winning ball number buffer are set in the lower 4 bits of the output port 0 buffer (step S255). Further, a prize ball processing waiting time is set in the prize ball timer (step S256). The award ball processing waiting time is, for example, a time predetermined as a period sufficient for completing the award ball payout control on the payout control board 37. Thereafter, the value of the prize ball process code is set to 2 (step S257), 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 control signal designating the maximum number of payouts of “15” is transmitted to the payout control board 37.

図30は、賞球プロセスコードの値が2の場合に実行される賞球待ち処理2(ステップS233)を示すフローチャートである。CPU56は、賞球待ち処理2において、賞球タイマが0であるか否か確認する(ステップS263)。賞球タイマが0でなければ、賞球タイマの値を1減らして(ステップS264)、処理を終了する。この段階で賞球タイマの値が0でないということは、払出制御手段に指令した個数の賞球の払出処理が完了していないとCPU56が判断していることを意味する。   FIG. 30 is a flowchart showing the winning ball waiting process 2 (step S233) executed when the value of the winning ball process code is 2. In the award ball waiting process 2, the CPU 56 checks whether or not the award ball timer is 0 (step S263). If the prize ball timer is not 0, the value of the prize ball timer is decreased by 1 (step S264), and the process is terminated. If the value of the prize ball timer is not 0 at this stage, it means that the CPU 56 determines that the payout process for the number of prize balls instructed to the payout control means is not completed.

賞球タイマの値が0であれば、CPU56は、確かに払出制御手段に指令した個数分の賞球払出が完了したものと判断して、総賞球数格納バッファの内容から、賞球個数バッファの内容(払出制御手段に指令した賞球払出個数)を減算する(ステップS265)。そして、賞球プロセスコードの値を3にして(ステップS266)、処理を終了する。なお、払出制御手段に指令した個数分の賞球払出が完了したか否かを、賞球タイマを用いることなく、賞球REQ信号を出力したあと、払出制御手段に指令した賞球払出個数分の賞球カウント信号を受信したか否かによって判定するようにしてもよい。   If the value of the prize ball timer is 0, the CPU 56 determines that the prize ball payout for the number instructed to the payout control means has been completed, and determines the number of prize balls from the contents of the total prize ball number storage buffer. The contents of the buffer (the number of prize balls paid out commanded to the payout control means) are subtracted (step S265). Then, the value of the prize ball process code is set to 3 (step S266), and the process is terminated. Whether or not the number of prize balls paid out to the payout control means has been completed is output for the number of prize balls paid out to the payout control means after outputting the prize ball REQ signal without using the prize ball timer. The determination may be made based on whether or not a prize ball count signal is received.

なお、図29に示した賞球送信処理および図30に示した賞球待ち処理2において、遊技制御手段は、賞球制御信号を送信した後、所定期間内に、払出制御手段からの賞球カウント信号が賞球制御信号によって指定した数に相当する回数受信されなかったときには、払出制御手段との間の通信の異常が発生したとして、遊技の進行を停止するための制御を行うように構成されていてもよい。   In the prize ball transmission process shown in FIG. 29 and the prize ball waiting process 2 shown in FIG. 30, the game control means transmits the prize ball control signal and then receives the prize ball from the payout control means within a predetermined period. When the count signal is not received the number of times corresponding to the number specified by the prize ball control signal, it is configured to perform control for stopping the progress of the game, assuming that an abnormality in communication with the payout control means has occurred. May be.

遊技制御手段は、遊技の進行を停止する前に、現在の制御状態、例えば出力ポートの出力状態をRAM55に保存した後、出力ポートの出力状態をクリアする。なお、遊技者の不利益を防止するために、出力ポートの出力状態をクリアする前に、発射モータ信号の出力を停止するようにしてもよい。そして、払出制御手段との間の通信の異常が解消されるまで遊技の進行を停止する。すなわち、新たな事象(遊技球の入賞等)が生じても、それに応じた処理を行わず、例えば新たに生じた事象を記憶しておく。なお、遊技制御手段は、遊技の進行を停止する前に、可変表示装置9等を用いて通信異常の発生を報知するために通信エラー表示コマンドを演出制御基板80の演出制御手段に送信するように構成されていてもよい。遊技制御手段は、通信異常が解消されると、RAM55に保存されている制御状態にもとづいて出力ポートを復元することができる。   The game control means stores 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. In addition, in order to prevent a player's disadvantage, you may make it stop the output of a firing motor signal before clearing the output state of an output port. Then, the progress of the game is stopped until the abnormality of communication with the payout control means is resolved. That is, even if a new event (game ball winning or the like) occurs, processing corresponding to the new event is not performed, for example, a newly generated event is stored. Note that the game control means transmits a communication error display command to the effect control means of the effect control board 80 in order to notify the occurrence of communication abnormality using the variable display device 9 or the like before stopping the progress of the game. It may be configured. When the communication abnormality is resolved, the game control means can restore the output port based on the control state stored in the RAM 55.

図31は、賞球プロセスコードの値が3の場合に実行される賞球待ち処理3(ステップS234)を示すフローチャートである。CPU56は、賞球待ち処理3において、賞球REQ待ち時間を賞球タイマにセットする(ステップS275)。そして、賞球プロセスコードの値を0にして(ステップS276)、処理を終了する。   FIG. 31 is a flowchart showing the winning ball waiting process 3 (step S234) executed when the value of the winning ball process code is 3. In the award ball waiting process 3, the CPU 56 sets the award ball REQ waiting time in the award ball timer (step S275). Then, the value of the prize ball process code is set to 0 (step S276), and the process is terminated.

以上の処理によって、遊技制御手段は、払出条件の成立にもとづいて払い出される賞球としての遊技球の総数を特定可能に総賞球数格納バッファに記憶する(ステップS222参照)。総賞球数格納バッファは、遊技機への電力供給が停止した場合でもバックアップ電源により記憶内容を少なくとも所定期間保存することが可能な景品遊技媒体数記憶手段に相当する。また、遊技制御手段は、総賞球数格納バッファに記憶されている賞球数にもとづいて払出制御手段に対して所定数の賞球の払出数を指定する払出指令信号を送信する(ステップS253,S255,S203参照)。そして、遊技制御手段は、払出指令信号を送信すると、払出制御手段に指令した個数分の賞球払出が完了したと判定したあとに、総賞球数格納バッファに記憶されている賞球数から払出指令信号で指定した払出数を減算する減算処理を行う(ステップS265参照)。なお、払出制御手段に指令した個数分の賞球払出が完了したか否かを確認することなく、払出指令信号を送信したあと直ちに総賞球数格納バッファに記憶されている賞球数から払出指令信号で指定した払出数を減算する減算処理を行うようにしてもよい。また、払出指令信号を送信する前に、総賞球数格納バッファに記憶されている賞球数から払出指令信号で指定する払出数を減算する減算処理を行うようにしてもよい。   With 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 (see step S222). The total award ball number storage buffer corresponds to a prize game medium number storage means capable of storing stored contents for at least a predetermined period by a backup power source even when power supply to the gaming machine is stopped. Further, the game control means transmits a payout command signal 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 (step S253). , S255, S203). Then, when the game control means transmits a payout command signal, it determines from the number of prize balls stored in the total prize ball number storage buffer after determining that the number of prize balls paid out to the number commanded to the payout control means has been completed. A subtraction process for subtracting the number of payouts specified by the payout command signal is performed (see step S265). It is to be noted that, after confirming whether or not the number of prize balls paid out to the number designated to the payout control means has been completed, the payout number is immediately calculated from the number of prize balls stored in the total prize ball number storage buffer. Subtraction processing for subtracting the number of payouts specified by the command signal may be performed. Further, before transmitting the payout command signal, a subtraction process may be performed in which the payout number specified by the payout command signal is subtracted from the number of prize balls stored in the total prize ball number storage buffer.

なお、この実施の形態では、払出条件の成立にもとづいて払い出される景品遊技媒体の総数を特定可能に記憶する景品遊技媒体数記憶手段として、総数そのものを記憶する総賞球数格納バッファが例示されたが、景品遊技媒体の総数を特定可能に記憶する景品遊技媒体数記憶手段は、各入賞領域への入賞数を記憶したり、賞球数が同じである入賞領域毎の入賞数(例えば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等の周辺回路)の動作を説明する。図32は、払出制御手段における出力ポートの割り当ての例を示す説明図である。図32に示すように、出力ポート0は、ステッピングモータによる払出モータ289に供給される各相の信号を出力するための出力ポートである。また、出力ポート1は、球切れLED52、遊技機外部に出力される賞球中信号、賞球情報、球貸し情報および遊技機エラー状態信号を出力するための出力ポートである。   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. 32 is an explanatory diagram showing an example of output port assignment in the payout control means. As shown in FIG. 32, 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. The output port 1 is an output port for outputting a ball break LED 52, an award ball signal output to the outside of the gaming machine, prize ball information, ball lending information, and a gaming machine error status signal.

出力ポート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 a port for outputting a prize ball count signal, a payout error signal, and a status signal.

図33は、払出制御手段における入力ポートのビット割り当ての例を示す説明図である。図33に示すように、入力ポート0のビット0〜3には、4ビットの賞球制御信号が入力され、ビット5,7には、それぞれ、主基板31からの接続確認信号、払出モータ位置センサ295の検出信号が入力される。なお、主基板31からの賞球REQ信号は、入力ポートを介さずに払出制御用CPU371の割込端子に入力される。また、入力ポート1のビット1〜3には、それぞれ、払出個数カウントスイッチ301の検出信号、エラー解除スイッチ375からの操作信号、満タンスイッチ48の検出信号が入力される。入力ポート1のビット4〜7には、それぞれ、カードユニット50からのVL信号、BRDY信号、BRQ信号、球切れスイッチ187の検出信号が入力される。入力ポート2には、電源基板910からのクリアスイッチ921からの出力信号および電源断信号が入力される。   FIG. 33 is an explanatory diagram showing an example of bit assignment of input ports in the payout control means. As shown in FIG. 33, a 4-bit prize ball control signal is input to bits 0 to 3 of the input port 0, and a connection confirmation signal from the main board 31 and a payout motor position are input to bits 5 and 7, respectively. A detection signal of the sensor 295 is input. The prize ball REQ signal from the main board 31 is input to the interrupt terminal of the payout control CPU 371 without going through the input port. 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.

図34は、遊技機の払出制御手段とカードユニット50との間の通信を説明するためのタイミング図である。払出制御手段は、遊技機への電力供給が開始され、払出動作が可能なときにはPRDY信号をオン状態にする。カードユニット50は、電力供給が開始されると、接続信号としてのVL信号をオン状態にする。カードユニット50においてカードが受け付けられ、球貸しスイッチが操作され球貸しスイッチ信号が入力されると、カードユニット50は、払出制御手段にBRDY信号を出力する。すなわち、BRDY信号をオン状態にする。この時点から所定の遅延時間が経過すると、カードユニット50は、払出制御手段にBRQ信号を出力する。すなわち、BRQ信号をオン状態にする。   FIG. 34 is a timing chart for explaining the 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.

次に、払出制御手段の動作について説明する。図35は、払出制御手段が実行するメイン処理を示すフローチャートである。遊技機に対して電源が投入され、リセット信号が入力されるリセット端子の入力レベルがハイレベルになると、払出制御用CPU371は、まず、必要な初期設定を行う。すなわち、払出制御用CPU371は、まず、割込禁止に設定する(ステップS701)。次に、割込モードを割込モード2に設定し(ステップS702)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS703)。   Next, the operation of the payout control means will be described. FIG. 35 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. Register settings are made. 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 accordance with a command signal relating 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 above 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.

次いで、払出制御用CPU371は、RAMをアクセス可能状態に設定する(ステップS706)。また、賞球未払出個数カウンタ初期値として0000(H)をセットする(ステップS707)。なお、ステップS707では、球貸し未払出個数カウンタの初期値として0000(H)をセットする処理も行われる。次いで、入力ポート2を介して入力されるクリアスイッチ921の出力信号の状態を1回だけ確認する(ステップS708)。その確認においてオンを検出した場合には、払出制御用CPU371は、初期化処理を実行する(ステップS712〜ステップS713)。クリアスイッチ921がオンの状態でない場合には、遊技機への電力供給が停止したときにバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS709)。保護処理が行われていたか否かは、電力供給停止時処理においてバックアップRAM領域に保存されるバックアップ監視タイマの値が、バックアップRAM領域のデータ保護処理を実行したことに応じた値(例えば2)になっているか否かによって確認される。なお、そのような確認の仕方は一例であって、例えば、電力供給停止時処理においてバックアップフラグ領域にデータ保護処理を実行したことを示すフラグをセットし、ステップS709において、そのフラグがセットされていることを確認したらバックアップありと判定してもよい。   Next, the payout control CPU 371 sets the RAM in an accessible state (step S706). Further, 0000 (H) is set as an initial value of the award ball unpaid number counter (step S707). In step S707, a process of setting 0000 (H) as the initial value of the unpaid ball lending counter is also performed. Next, 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 it is detected ON, the payout control CPU 371 executes an initialization process (steps S712 to S713). 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 is a value (for example, 2) corresponding to the value of the backup monitoring timer stored in the backup RAM area in the process when the power supply is stopped executing the data protection process of the backup RAM area It is confirmed by whether or not. 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になったら、払出制御用CPU371は、チェックサムデータエリアの内容の各ビットの値を反転し、反転後のデータをチェックサムとする。   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 becomes 0, the payout control CPU 371 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〜S713の処理)を実行する。   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 when the power supply is stopped, the payout control state recovery process is not executed, and the initialization process (the processes in steps S712 to S713) 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 award ball unpaid number counter initial value (step S711). And the process after step S712 is performed.

初期化処理では、払出制御用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). Also, 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 the initial value of the award ball unpaid number counter in the award ball unpaid number counter. Accordingly, 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.

そして、定期的にタイマ割込がかかるように払出制御用CPU371に設けられているCTCのレジスタの設定を行う(ステップS716)。すなわち、初期値としてタイマ割込発生間隔に相当する値が所定のレジスタ(時間定数レジスタ)に設定される。そして、初期設定処理のステップS701において割込禁止とされているので、初期化処理を終える前に割込が許可される(ステップS717)。その後、タイマ割込の発生を監視するループ処理に入る。   Then, the 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). Thereafter, a loop process for monitoring the occurrence of a timer interrupt is entered.

上記のように、払出制御用CPU371の内蔵CTCが繰り返しタイマ割込を発生するように設定される。そして、タイマ割込が発生すると、払出制御用CPU371は、ステップS750以降のタイマ割込処理を実行する。   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 S750.

図36は、払出制御手段が実行するタイマ割込処理の例を示すフローチャートである。払出制御用CPU371は、まず、電源断信号が出力されたか否かを監視する電源断処理を実行する(ステップS750)。その後、ステップS751以降の払出制御処理を実行する。払出制御処理では、払出制御用CPU371は、まず、入力判定処理を行う(ステップS751)。入力判定処理は、入力ポート0のビット5および入力ポート1のビット3〜7(図33参照)の状態を検出して検出結果をRAMの所定の1バイト(入力状態フラグと呼ぶ。)に反映する処理である。なお、払出制御処理において、入力ポート0のビット5および入力ポート1のビット3〜7の状態にもとづいて制御を行う場合には、直接入力ポートの状態をチェックするのではなく、入力状態フラグの状態をチェックする。さらに、入力判定処理は、入力ポート1のビット1,2の状態チェック、すなわち払出個数カウントスイッチおよびエラー解除スイッチの検出信号の状態チェックを行う処理を含む。具体的には、それらのそれぞれに対応したスイッチタイマ(払出個数カウントスイッチタイマ、エラー解除スイッチタイマ)がRAMに形成され、入力判定処理において、それらがオン状態であることを検出したら対応するスイッチタイマの値を+1し、オフ状態であることを検出したら対応するスイッチタイマの値をクリアする。   FIG. 36 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 S750). Thereafter, a payout control process after step S751 is executed. In the payout control process, the payout control CPU 371 first performs an input determination process (step S751). In the input determination process, the states of bit 5 of input port 0 and bits 3 to 7 (see FIG. 33) 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 process includes a process of checking the state of bits 1 and 2 of the input port 1, that is, checking the state of the detection signal of the payout number count switch and the error release switch. Specifically, switch timers (payout number count switch timer, error release switch timer) corresponding to each of them are formed in the RAM, and when it is detected in the input determination process that they are in the ON state, the corresponding switch timer The value of the switch timer is incremented by 1 and when it is detected that the switch is off, the corresponding switch timer value 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)。   Also, 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 a control for paying out the number of award balls indicated by a prize ball control signal from the main board. Is executed (step S756).

そして、払出制御用CPU371は、各種のエラーを検出するエラー処理を実行する(ステップS757)。また、遊技機外部に出力される賞球情報や球貸し情報を出力するための情報出力処理を実行する(ステップS758)。また、エラー処理の結果に応じてエラー表示LED374に所定の表示を行うとともに、球切れLED52を点灯するための表示制御処理を実行する(ステップS759)。   Then, the payout control CPU 371 executes error processing for detecting various errors (step S757). In addition, an information output process for outputting prize ball information and ball rental 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 turning on the ball break LED 52 is executed (step S759).

また、この実施の形態では、出力ポートの出力状態に対応した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 it is updated by the display control process (step S759).

図37は、ステップS753の払出モータ制御処理を示すフローチャートである。払出モータ制御処理において、払出制御用CPU371は、払出モータ制御コードの値に応じて、ステップS521〜S526のいずれかの処理を実行する。   FIG. 37 is a flowchart showing the payout motor control process in step S753. In the payout motor control process, the payout control CPU 371 executes any one of steps S521 to S526 in accordance with the value of the payout motor control code.

払出モータ制御コードの値が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は、出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に励磁パターンの初期値を設定する等の処理を行う。   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 sets bits 4 to 7 of the output port 0 buffer corresponding to the output state of the output port 0. Performs processing such as setting the initial value of the excitation pattern.

払出モータ制御コードの値が2の場合に実行される払出モータスローアップ処理(ステップS523)では、払出制御用CPU371は、払出モータ289を滑らかに回転開始させるために、定速処理の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔に近づくような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。読み出しに際して、ポインタが指すアドレスの払出モータ励磁パターンテーブルの内容を読み出すとともに、ポインタの値を+1する。   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. Bit 4 of the output port 0 buffer corresponding to the output state of the output port 0 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 to ~ 7. 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 pointer value is incremented by one.

払出モータ制御コードの値が3の場合に実行される払出モータ定速処理(ステップS524)では、払出制御用CPU371は、定期的に払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。   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 content of the payout motor excitation pattern table and outputs the output state of the output port 0. Are set in bits 4 to 7 of the output port 0 buffer corresponding to.

払出モータ制御コードの値が4の場合に実行される払出モータブレーキ処理(ステップS525)では、払出制御用CPU371は、払出モータ289を滑らかに停止させるために、定速処理の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔から遠ざかるような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。   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 constant speed process in order to stop the payout motor 289 smoothly. In addition, the contents of the payout motor excitation pattern table are read at a time interval that gradually moves away from the time interval in the case of constant speed processing, and bits 4 to 7 of the output port 0 buffer corresponding to the output state of the output port 0 Set to.

なお、払出モータブレーキ処理において、最終的に、払出モータ289の回転は停止されるのであるが、停止時には、払出モータ通常処理において、停止時払出モータ励磁パターンを、繰り返し、出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。停止時払出モータ励磁パターンは、払出モータφ1〜φ4のうちの少なくとも1相が励磁されているパターンである。払出モータ289に与えられる励磁パターンが停止時払出モータ励磁パターンの1種類である(変化しない)ことから、払出モータ289は回転しない。しかも、払出モータ289は励磁されているので、容易には回転しない。よって、例えば遊技店に設置されている遊技機に振動を与えるような行為がなされても、遊技球が払い出されてしまうことはない。払出モータ289の回転が停止しているときに励磁を解除すると、払出モータ289は拘束されないので、外部から与えられる振動に応じて払出モータ289が回転方向に振動してしまい、遊技球を払い出してしまう可能性がある。   In the payout motor brake process, the rotation of the payout motor 289 is finally stopped. However, at the time of stoppage, in the payout motor normal process, the stop-time payout motor excitation pattern is repeated to output the output state of the output port 0. Are set in bits 4 to 7 of the output port 0 buffer corresponding to. The stop-time payout motor excitation pattern is a pattern in which at least one phase of the payout motors φ1 to φ4 is excited. Since the excitation pattern given to the payout motor 289 is one type of the stop-time payout motor excitation pattern (it does not change), the payout motor 289 does not rotate. Moreover, since the dispensing motor 289 is excited, it does not rotate easily. Therefore, for example, even if an act that gives vibration to a gaming machine installed in a gaming store is performed, the gaming ball is not paid out. If the excitation is released when the rotation of the payout motor 289 is stopped, the payout motor 289 is not restrained, so that the payout motor 289 vibrates in the rotation direction in accordance with the vibration given from the outside, and the game ball is paid out. There is a possibility.

払出モータ制御コードの値が5の場合に実行される球噛み時払出モータブレーキ処理(ステップS526)では、払出制御用CPU371は、球噛みを解除するための回転の場合に、払出モータ289を滑らかに停止させるために、球噛みを解除するための払出モータ289の回転の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔から遠ざかるような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。   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 and set in bits 4 to 7 of the output port 0 buffer corresponding to the output state of output port 0.

図38は、ステップS755の主制御通信処理を示すフローチャートである。主制御通信処理では、払出制御用CPU371は、主制御通信制御コードの値に応じて、ステップS531〜S532のいずれかの処理を実行する。なお、主制御通信制御コードの値が0である場合(賞球制御信号の受信を待っている状態)では、ステップS531またはS532に移行せずに処理を終了する。   FIG. 38 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 control signal), the process ends without moving to step S531 or S532.

図39は、割込端子に導入されている主基板31からの賞球REQ信号がオン状態(ローレベル)になったことに応じて起動される賞球REQ割込処理を示すフローチャートである。賞球REQ割込処理において、払出制御用CPU371は、エラービット(主制御未接続エラービット、または賞球REQ信号エラービット)がオンしている場合には、以降の処理を実行せずに処理を終了する(ステップS541)。ステップS541では、エラーフラグ中の2つのビットのうち1つでもセットされていたら、エラービットがセットされていると判断する。   FIG. 39 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 performs the process without executing the subsequent processes when the error bit (main control unconnected error bit or prize ball REQ signal error bit) is on. Is finished (step S541). In step S541, if any one of the two bits in the error flag is set, it is determined that the error bit is set.

ステップS541においてエラービットがセットされておらず、接続確認信号がオン状態である場合には(ステップS543)、払出制御用CPU371は、入力ポート0を介して賞球制御信号を入力し、賞球個数信号が示す賞球数を賞球未払出個数カウンタの内容に加算する(ステップS545)。そして、主制御通信制御コードの値を1にして(ステップS548)、処理を終了する。なお、賞球未払出個数カウンタは、不揮発性(この例では電源バックアップされている)のRAM領域に形成されている。   If the error bit is not set in step S541 and the connection confirmation signal is in the ON state (step S543), the payout control CPU 371 inputs a prize ball control signal via the input port 0, and the prize ball The number of winning balls indicated by the number signal is added to the contents of the winning ball unpaid number counter (step S545). Then, the value of the main control communication control code is set to 1 (step S548), and the process ends. The prize ball unpaid-out counter is formed in a non-volatile (power-backed up in this example) RAM area.

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

なお、エラービット(主制御未接続エラービット、賞球REQ信号エラービットまたは払出ケースエラービット)がオンしている場合であっても、賞球個数信号を受信する構成としてもよい。すなわち、ステップS541の判定を行うことなく、ステップS543〜ステップS545を行うようにしてもよい。このように構成すれば、エラー中であっても賞球個数信号を受信し、賞球個数信号が示す賞球数を賞球未払出個数カウンタの内容に加算しておくことができるため、エラー中に発生した入賞に応じた賞球が払い出されないという不利益を遊技者に与えてしまうことが防止される。   It should be noted that even if the error bit (main control unconnected error bit, prize ball REQ signal error bit, or payout case error bit) is on, the prize ball number signal may be received. That is, step S543 to step S545 may be performed without performing the determination in step S541. With this configuration, the prize ball number signal can be received even during an error, and the prize ball number indicated by the prize ball number signal can be added to the contents of the prize ball unpaid number counter. It is possible to prevent the player from being given a disadvantage that a winning ball corresponding to a winning that has occurred is not paid out.

図40は、主制御通信制御コードの値が1の場合に実行される主制御通信中処理(ステップS531)を示すフローチャートである。主制御通信中処理において、払出制御用CPU371は、接続確認信号がオン状態であれば(ステップS551)、賞球REQ信号の状態を確認する(ステップS552)。賞球REQ信号がオフ状態になっていたら、エラーフラグのうち賞球REQ信号エラービットをセットする(ステップS553)。この段階で、直ちに賞球REQ信号がオフ状態になってしまうのはおかしいからである。   FIG. 40 is a flowchart illustrating main control communication processing (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 winning ball REQ signal is off, the winning ball REQ signal error bit is set in the error flag (step S553). This is because it is strange that the prize ball REQ signal is immediately turned off at this stage.

次いで、払出制御用CPU371は、主制御通信制御タイマに賞球REQ信号オフ監視時間をセットする(ステップS557)。そして、主制御通信制御コードの値を2にして(ステップS558)、処理を終了する。主制御通信制御タイマは、主基板31の遊技制御手段との通信に関わる時間の監視等に使用されるタイマである。   Next, the payout control CPU 371 sets the prize ball REQ signal off monitoring time in the main control communication control timer (step S557). Then, the value of the main control communication control code is set to 2 (step S558), and the process ends. The main control communication control timer is a timer used for monitoring time related to communication with the game control means of the main board 31.

図41は、主制御通信制御コードの値が2の場合に実行される主制御通信終了処理(ステップS532)を示すフローチャートである。主制御通信中処理において、払出制御用CPU371は、エラービット(主制御未接続エラービット、または賞球REQ信号エラービット)がオンしている場合には、ステップS562以降の処理を行うことなく終了する(ステップS561)。また、接続確認信号がオフ状態である場合にはステップS563以降の処理を行うことなく終了する(ステップS562)。エラービットがともにオフ状態であって接続確認信号がオン状態である場合には、賞球REQ信号がオフ状態になったか否かを確認する(ステップS563)。オフ状態になったらステップS567に移行する。   FIG. 41 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 process during main control communication, the payout control CPU 371 ends without performing the processes after step S562 if the error bit (main control unconnected error bit or prize ball REQ signal error bit) is on. (Step S561). If the connection confirmation signal is in the OFF state, the process is terminated without performing the processes after step S563 (step S562). If both error bits are off and the connection confirmation signal is on, it is confirmed whether or not the prize ball REQ signal is off (step S563). When it is turned off, the process proceeds to step S567.

賞球REQ信号がオフ状態になっていない場合には、主制御通信制御タイマの値を確認する(ステップS564)。主制御通信制御タイマの値が0になっていなければ主制御通信制御タイマの値を−1する(ステップS565)。主制御通信制御タイマの値が0になっていたら、監視時間内に賞球REQ信号がオフしなかったとして、エラーフラグのうち賞球REQ信号エラービットをセットし(ステップS566)、ステップS567に移行する。   If the prize ball REQ signal is not turned off, the value of the main control communication control timer is confirmed (step S564). If the value of the main control communication control timer is not 0, the value of the main control communication control timer is decremented by 1 (step S565). If the value of the main control communication control timer is 0, it is determined that the prize ball REQ signal has not been turned off within the monitoring time, and the prize ball REQ signal error bit is set in the error flag (step S566). Transition.

ステップS567では、主制御通信制御コードの値を0にして、処理を終了する。   In step S567, the value of the main control communication control code is set to 0, and the process ends.

図42は、ステップS756の賞球球貸し制御処理を示すフローチャートである。賞球球貸し制御処理において、払出制御用CPU371は、払出個数カウントスイッチ301の検出信号がオン状態になったことを確認したら(ステップS601)、払い出された遊技球が賞球であるか貸し球であるか確認する(ステップS602,S603)。この例では、遊技球が賞球であるかは、現在の払出制御の状態が賞球中であるか否かによって確認される。そして、賞球中であるか否かは、例えば、RAMに形成されている払出制御状態フラグにおける賞球動作中フラグがセットされているか否かによって確認される(ステップS602)。また、遊技球が貸し球であるかは、現在の払出制御の状態が球貸し中であるか否かによって確認される。そして、球貸し中であるか否かは、例えば、RAMに形成されている払出制御状態フラグにおける球貸し動作中ビット(球貸し動作中フラグという場合もある)がセットされているか否かによって確認される(ステップS603)。   FIG. 42 is a flowchart showing the winning ball lending control process in step S756. In the winning ball lending control process, the payout control CPU 371 confirms that the detection signal of the payout number count switch 301 is turned on (step S601), and lends whether or not the paid gaming ball is a winning ball. It is confirmed whether it is a sphere (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 by, for example, whether or not a ball renting operation bit (also referred to as a ball renting operation flag) in the payout control state flag formed in the RAM is set. (Step S603).

賞球中であれば賞球未払出個数カウンタの値を1減らす(ステップS604)。賞球中でなく球貸し中であれば球貸し未払出個数カウンタの値を1減らす(ステップS605)。なお、球貸し未払出個数カウンタは、払出制御基板37が備えるRAM領域に形成されている。また、賞球中でなく球貸し中でもなければ、払い出された遊技球が賞球であるとして、賞球未払出個数カウンタの値を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). Note that the ball rental unpaid number counter is formed in a RAM area provided in the payout control board 37. 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)。次に、RAMに形成されている払出制御状態フラグの払出球検知ビットをセットする(ステップS607)。払出球検知ビットは、払出通過待ち処理において、1回の賞球払出処理(最大15個)または1回の球貸し処理において(25個の払出)、払出モータ289を駆動したにもかかわらず遊技球が1個も払出個数カウントスイッチ301を通過しなかったことを検知するために用いられる。その後、払出制御コードの値に応じてステップ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). Next, the payout ball detection bit of the payout control state flag formed in the RAM is set (step S607). The payout ball detection bit is a game regardless of whether the payout motor 289 is driven during one award ball payout process (maximum 15 balls) or one ball lending process (25 payouts) in the payout passing waiting process. This is used to detect that no sphere has passed through the payout number counting switch 301. Thereafter, any one of steps S610 to S612 is executed according to the value of the payout control code.

なお、賞球球貸し制御処理において、払出動作(1回の賞球払出または1回の球貸し)を行うか否か判定するためにエラービットがチェックされるのは、図43に示された払出開始待ち処理においてのみである。すなわち、図42に示されている払出個数カウントスイッチ301の確認処理、未払出個数カウンタの減算処理、賞球カウント信号の出力処理などについては、エラービットがチェックされることなく実行される。従って、エラーが発生しても、払出個数カウントスイッチ301からの検出出力に応じて、球貸し未払出個数カウンタまたは賞球未払出個数カウンタの減算処理が実行され、賞球未払出個数カウンタの値が減算されたときには賞球カウント信号が出力される。よって、エラー状態となっていても、遊技球の未払出数を管理することができる。また、エラー状態となっていても、賞球の払出が検出されたことに応じて賞球カウント信号を出力することができるので、エラー状態であっても、払出制御基板37側で検出された賞球の払出を確認したことを示す情報を主基板31側に伝達することができる。   In the prize ball lending control process, the error bit is checked to determine whether or not to perform a payout operation (one prize ball payout or one ball lending) as shown in FIG. Only in the payout start waiting 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. 42 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に搭載されている遊技制御手段(具体的には遊技制御用マイクロコンピュータ560)に賞球カウント信号が伝達されることになる。遊技制御手段では、賞球の払出数を管理しているので、本来払い出すべき賞球数よりも多くの賞球数を示す賞球カウント信号を受信した場合には、不正な払い出しが行われていると判断することができる。遊技制御手段は、不正な遊技球の払い出しが行われていると判断した場合には、以下のような適切な処理を行う。   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 game control microcomputer 560) 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等を用いて遊技者や遊技店員等にエラーの発生を報知させるための処理を行う。具体的には、遊技制御手段は、エラーの発生を報知させるための演出制御コマンドを演出制御手段(具体的には演出制御用マイクロコンピュータ100)に送信することによって、演出制御手段にエラーが発生したことを可変表示装置9に表示させる制御を実行させる。なお、遊技制御手段は、エラーを報知させるためのランプ制御コマンドや音制御コマンドを演出制御手段を介してランプ制御手段や音制御手段に送信することによって、ランプ制御手段や音制御手段にエラーの発生を報知するためのランプ・LEDの点灯や音声出力を行わせるようにしてもよい。また、遊技制御手段は、遊技の進行を停止させるための処理を行う。具体的には、遊技制御手段は、遊技の進行を停止する前に、現在の制御状態、例えば出力ポートの出力状態をRAM55に保存した後、出力ポートの出力状態をクリアし、異常な状態が解消されるまで遊技の進行を停止する。さらに、遊技制御手段は、不正な遊技球の払い出しが行われていることを示す情報を遊技機外部のホールコンピュータ等に出力する処理(ステップS32)を行う。なお、遊技制御手段は、情報出力処理によって、払い出すべき賞球数を示す情報と賞球カウント信号にもとづく実際に払い出された賞球数を示す信号とを遊技機外部のホールコンピュータ等に出力することにより、ホールコンピュータ等に不正な遊技球の払い出しが行われているか否かを判断させるようにすることもできる。なお、上記の処理の全てが実行されてもよいが、少なくとも上記の処理のうちのいずれか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 transmits an effect control command for notifying the occurrence of an error to the effect control means (specifically, the effect control microcomputer 100), thereby causing an error in the effect control means. Control to display the above on the variable display device 9 is executed. 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 effect control means, so that the error is notified to the lamp control means and the sound control means. You may make it perform lighting of the lamp and LED for alerting | 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 S32) 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. All of the above processes may be executed, but at least one of the above processes is executed.

さらに、遊技制御手段が、払い出すべき賞球数を示す賞球カウント信号を受信するまでは、新たな払出制御信号を送信しないようにしてもよい。すなわち、払い出すべき賞球数を示す賞球カウント信号を受信するまでは新たな払出制御信号を送信せず、払い出すべき賞球数を示す賞球カウント信号を受信したときは、新たな払出制御信号の送信を所定期間待ち、その期間中にさらに賞球カウント信号を受信した場合にはエラー状態とし、その期間中に賞球カウント信号が受信されなければ新たな払出制御信号を送信するようにしてもよい。このように構成すれば、賞球の未払出数の管理を確実に行うことができるようになる。   Further, a new payout control signal may not be transmitted until the game control means receives a prize ball count signal indicating the number of prize balls to be paid out. That is, a new payout control signal is not transmitted until a prize ball count signal indicating the number of prize balls to be paid out is received. Wait for the transmission of the control signal for a predetermined period, and if a prize ball count signal is further received during that period, an error state is set. If no prize ball count signal is received during that period, a new payout control signal is sent. It may be. If comprised in this way, management of the unpaid number of prize balls can be performed reliably.

図43は、払出制御コードが0の場合に実行される払出開始待ち処理(ステップS610)を示すフローチャートである。払出開始待ち処理において、払出制御用CPU371は、エラービットがセットされていたら、以降の処理を実行しない(ステップS621)。エラーフラグにおけるエラービットには、主基板未接続エラー、払出ケースエラー、および満タンエラーのビットが含まれている。主基板未接続エラーは主基板31からの接続確認信号がオフ状態であるときにセットされる(ステップS816参照)。従って、払出制御手段は、遊技機に対して電力供給が開始された後、接続確認信号がオン状態になったことを条件に、実質的な制御を開始する。   FIG. 43 is a flowchart showing a 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). The error bits in the error flag include a main board non-connection error, a payout case error, and a full tank error bit. The main board unconnected error is set when the connection confirmation signal from the main board 31 is in the OFF state (see step S816). Accordingly, the payout control means starts substantial control on condition that the connection confirmation signal is turned on after power supply to the gaming machine is started.

また、BRDY信号がオン状態でなければ、ステップS631以降の賞球払出のための処理を実行する。BRDY信号がオン状態であって、さらに、球貸し要求信号であるBRQ信号がオン状態になっていたら球貸し動作中フラグをセットする(ステップS623,S624)。そして、球貸し未払出個数カウンタに「25」をセットし(ステップS625)、払出モータ回転回数バッファに「25」をセットする(ステップS626)。   On the other hand, if the BRDY signal is not in the on state, processing for paying out a prize ball after step S631 is executed. If the BRDY signal is on and the BRQ signal, which 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 motor rotation number buffer (step S626).

払出モータ回転回数バッファは、払出モータ制御処理(ステップS753)において参照される。すなわち、払出モータ制御処理では、払出モータ回転回数バッファにセットされた値に対応した回転数分だけ払出モータ289を回転させる制御が実行される。   The payout motor rotation frequency buffer is referred to in the payout motor control process (step S753). 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 motor rotation frequency buffer.

その後、払出制御用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は、賞球未払出個数カウンタの値が0であるか否かを確認する(ステップS631)。0であれば処理を終了する。賞球未払出個数カウンタには、賞球REQ割込処理におけるステップS545において、すなわち、主基板31の遊技制御手段から賞球REQ信号を受けたときに、0でない値(賞球制御信号が示す数)が加算されている。賞球未払出個数カウンタの値が0でない場合には、15以上であるか否か確認する(ステップS632)。15未満であれば、払出モータ回転回数バッファに賞球未払出個数カウンタの値をセットし(ステップS633)、15以上であれば、払出モータ回転回数バッファに「15」をセットする。そして、賞球動作中フラグをセットし(ステップS635)、ステップS627に移行する。   In step S631, the payout control CPU 371 checks whether or not the value of the award ball non-payout counter is 0 (step S631). If 0, the process ends. The award ball unpaid-out counter is a non-zero value (indicated by the award ball control signal) when the award ball REQ signal is received from the game control means of the main board 31 in step S545 in the award ball REQ interrupt process. Number) is added. If the value of the award ball unpaid number counter is not 0, it is confirmed whether it is 15 or more (step S632). If it is less than 15, the value of the award ball unpaid number counter is set in the payout motor rotation count buffer (step S633), and if it is 15 or more, “15” is set in the payout motor rotation count buffer. Then, a winning ball moving flag is set (step S635), and the process proceeds to step S627.

図44は、払出制御コードが1の場合に実行される払出モータ停止待ち処理(ステップS611)を示すフローチャートである。払出モータ停止待ち処理において、払出制御用CPU371は、払出動作が終了したか否か確認する(ステップS641)。払出制御用CPU371は、例えば、払出モータ制御処理における払出モータブレーキ処理(ステップS525)が終了するときにその旨のフラグをセットし、ステップS641においてそのフラグを確認することによって払出動作が終了したか否かを確認することができる。   FIG. 44 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 is completed (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 whether the payout operation is completed by checking the flag in step S641. You can check whether or not.

払出動作が終了した場合には、払出制御用CPU371は、払出制御監視タイマに払出通過監視時間をセットする(ステップS642)。払出通過監視時間は、最後の払出球が払出モータ289によって払い出されてから払出個数カウントスイッチ301を通過するまでの時間に、余裕を持たせた時間である。そして、払出制御コードの値を2にして(ステップS643)、処理を終了する。   When the payout operation 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.

図45は、払出制御コードの値が2の場合に実行される払出通過待ち処理(ステップS612)を示すフローチャートである。払出通過待ち処理では、賞球払出が行われているときには、賞球未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。所定期間が経過しても賞球未払出個数カウンタの値が0になっていない場合には、エラー状態に移行する。   FIG. 45 is a flowchart showing a payout passing waiting process (step S612) executed when the value of the payout control code is 2. In the payout passing waiting process, when a 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 zero. If the value of the award ball unpaid number counter is not 0 even after the predetermined period has elapsed, the state shifts to an error state.

なお、この実施の形態では、賞球払出処理のための払出動作期間が経過したと判定したあとに次の賞球個数の払い出しを指示する構成とされているが、払出動作期間の経過を待つことなく次の賞球個数の払い出しを指示する構成としてもよい。このように構成した場合には、賞球払出中に賞球制御信号を受信したら賞球未払出個数カウンタの値が増加するので、正常に払出が完了した場合でも、賞球未払出個数カウンタの値が0になっていないことがある。従って、ステップS633またはステップS634にてセットされた個数の賞球の払い出しが確認されたとき(賞球未払出個数カウンタの値が、払出制御用マイクロコンピュータ370が把握している未払出の賞球総数(今回払い出す賞球数を含む数)から、ステップS633またはステップS634にてセットされた個数が減算された値となっているとき)に、正常に払出が完了したと判定されるようにするようにしてもよい。   In this embodiment, after determining that the payout operation period for the prize ball payout process has elapsed, the payout of the next number of prize balls is instructed. It may be configured to instruct the payout of the next prize ball number without any problem. In such a configuration, if the prize ball control signal is received during the prize ball payout, the value of the prize ball unpaid number counter is increased. The value may not be zero. Therefore, when the payout of the number of award balls set in step S633 or step S634 is confirmed (the value of the award ball unpaid number counter is the unpaid prize ball whose grasp control microcomputer 370 knows) It is determined that the payout is normally completed when the total number (the number including the number of prize balls to be paid out this time is a value obtained by subtracting the number set in step S633 or step S634). You may make it do.

また、球貸し払出が行われているときには、球貸し未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。球貸し未払出個数カウンタの値が0になっていない場合には、エラー状態に移行する。なお、この実施の形態では、1回の球貸し払出動作で払い出される遊技球数は25個(固定値)であり、25個の遊技球が払い出されるように払出モータ289を回転させたのであるから、球貸し未払出個数カウンタの値が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 unpaid ball lending counter is not 0, the state shifts to an error state. In this embodiment, the number of game balls to be paid out in one ball lending and payout operation is 25 (fixed value), and the payout motor 289 is rotated so that 25 game balls are paid out. Therefore, when the value of the unpaid ball lending counter is not 0, the payout has not been completed normally.

払出通過待ち処理において、払出制御用CPU371は、まず、払出制御タイマの値を−1する(ステップS651)。そして、払出制御タイマの値を確認し、その値が0になっていなければ(ステップS652)、すなわち払出制御タイマがタイムアウトしていなければ処理を終了する。   In the payout passage waiting process, the payout control CPU 371 first decrements the value of the payout control timer by 1 (step S651). Then, the value of the payout control timer is confirmed. If the value 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になっている場合には、正常に賞球払出処理が完了したとして、払出制御状態フラグにおける払出球検知ビット、賞球動作中フラグおよび球貸し動作中ビットをリセットし(ステップS655)、払出制御コードを0にして(ステップS656)、処理を終了する。   If the payout control timer has timed out (step S652), it is confirmed whether or not the 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 award ball unpaid number counter is 0, it is determined that the award ball payout process has been completed normally, and a payout ball detection bit, a prize ball operating flag, and a ball lending operation bit in the payout control status flag Is reset (step S655), the payout control code is set to 0 (step S656), and the process ends.

払出制御用CPU371は、賞球未払出個数カウンタの値が0になっていない場合には、払出球検知ビットがセットされていなければ(ステップS658)、払出処理において払出動作を行っても遊技球が1個も払い出されていないため、遊技球の払出動作不良として、払出個数カウントスイッチ未通過エラービット(払出ケースエラービット)をセットする(ステップS659)。   If the value of the award ball unpaid number counter is not 0 and the payout ball detection bit is not set (step S658), the payout control CPU 371 will play the game ball even if the payout operation is performed. Is not paid out, a payout count switch non-passing error bit (payout case error bit) is set as a game ball payout failure (step S659).

上述したように、払出動作期間の経過を待つことなく次の賞球個数の払い出しを指示する構成とした場合には、正常に払出が完了した場合でも、賞球未払出個数カウンタの値が0になっていないことが起こり得る。そこで、払出球検知ビットがセットされていれば、すなわち払出個数カウントスイッチ301が賞球払出処理中に少なくとも1個の遊技球の払出を検出していたら、正常に賞球払出処理が完了したとして、ステップS655に移行する。なお、例えば、1回の賞球払出処理で15個の遊技球を払い出すべきところ、実際には14個の遊技球しか払い出されなかった場合(払出個数カウントスイッチ301が14個の遊技球しか検出しなかった場合)にも、払出球検知ビットがセットされるので正常に賞球払出処理が完了したとみなされるが、その場合には、賞球未払出個数カウンタの値は14しか減算されていないはずであり、不足分は次回の賞球払出処理で払い出されるので、遊技者に不利益を与えることはない。   As described above, in a configuration in which the payout of the next prize ball number is instructed without waiting for the payout operation period to elapse, even when the payout is completed normally, the value of the prize ball unpaid number counter is 0. It can happen that it is not. Therefore, if the payout ball detection bit is set, that is, if the payout number count switch 301 detects the payout of at least one game ball during the prize ball payout process, it is assumed that the prize ball payout process is normally completed. The process proceeds to step S655. For example, when 15 game balls should be paid out in one prize ball payout process, when only 14 game balls are actually paid out (the number of payout count switch 301 is 14 game balls). In this case, the payout ball detection bit is set, so it is considered that the award ball payout process has been completed normally. It should not have been done, and the shortage will be paid out in the next prize ball payout process, so there will be no disadvantage to the player.

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

賞球球貸し制御処理において、払出動作(1回の賞球払出または1回の球貸し)を行うか否か判定するためにエラービットがチェックされるのは、図43に示された払出開始待ち処理においてのみである。図44に示された払出モータ停止待ち処理および図45に示された払出通過待ち処理では、エラービットはチェックされない。従って、ステップS626、S633またはステップS634の処理が行われて遊技球の払出処理が開始された後では、エラーが発生しても払出処理は中断されない。すなわち、エラーが発生すると、遊技球の払出処理は、切りのよい時点(1回の賞球払出または1回の球貸しが終了した時点)まで継続される。なお、ステップS621でチェックされるエラーフラグにおけるエラービットの中には、主基板31からの接続確認信号がオフ状態になったことを示すエラービットが含まれている。よって、接続確認信号がオフ状態になったときにも、遊技球の払出処理は、切りのよい時点で停止される。なお、遊技球の払出処理が開始された後にエラーが発生したとき、処理の途中であっても払出処理を中断するように構成されていてもよい。   In the winning ball lending control process, the error bit is checked to determine whether or not to perform a payout operation (one winning ball payout or one ball lending). The payout start shown in FIG. Only in the waiting process. In the payout motor stop waiting process shown in FIG. 44 and the payout waiting process shown in FIG. 45, the error bit is not checked. Therefore, after the process of step S626, S633, or step S634 is performed and the game ball payout process is started, the payout process is not interrupted even if an error occurs. In other words, when an error occurs, the game ball payout process is continued until a point at which the game ball can be cut well (at the time when one prize ball payout or one ball lending ends). The error bit in the error flag checked in step S621 includes an error bit indicating that the connection confirmation signal from the main board 31 has been turned off. Therefore, even when the connection confirmation signal is turned off, the game ball payout process is stopped at a time when it is best to turn it off. When an error occurs after the game ball payout process is started, the payout process may be interrupted even during the process.

ステップ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になっていない場合には、払出球検知ビットがセットされていなければ(ステップS658)、払出処理を実行しても遊技球が払い出されなかった(払出個数カウントスイッチ301が遊技球を検出しなかった)として、エラーフラグの払出ケースエラービットをセットして(ステップS659)、処理を終了する。   If the value of the ball lending unpaid number counter is not 0 and the payout ball detection bit is not set (step S658), the game ball is not paid out even if the payout process is executed (payout). As the number count switch 301 has not detected a game ball), the payout case error bit of the error flag is set (step S659), and the process is terminated.

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

図46は、払出モータ制御処理(ステップS753)において実行される球噛み検出処理を説明するためのタイミング図である。払出モータ制御処理における払出モータ定速処理(ステップS524)では、払出制御用CPU371は、払出モータ位置センサ295の検出信号を監視している。払出モータ位置センサ295の検出信号は、例えば、払出モータ289と連動して回転するカムが1回転する毎に2回オン状態になる。カムが1回転する毎に検出信号が2回出力されるようにするために、カムにおいて、払出モータ位置センサ295における発光部からの光を受ける部分における2箇所(軸に対して対称な位置)に反射体が設けられている。そして、払出モータ位置センサ295における受光部の出力を検出信号とする。   FIG. 46 is a timing chart for explaining the ball biting detection process executed in the payout motor control process (step S753). 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回転して1個の遊技球を払い出す。そして、払出制御用CPU371は、例えば、払出制御用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 one game ball. Then, the payout control CPU 371 checks the detection signal of the payout motor position sensor 295 every time the payout control CPU 371 gives an excitation pattern for 8 steps to the payout motor 289, and the payout motor 289 rotates. It is determined whether or not. Then, if the same state is detected five consecutive times (the detection signal of the dispensing motor position sensor 295 is OFF for five consecutive times or ON for five consecutive times), it is determined that ball engagement has occurred. A ball biting release process is executed.

払出制御用CPU371は、球噛み解除処理において、図47に示すように、払出モータ289を高速回転させる処理と低速回転させる処理とを所定回(例えば9回)繰り返す。そして、払出モータ289に対して8ステップ分の励磁パターンを与える毎に払出モータ位置センサ295の検出信号を確認して、払出モータ289が回転しているか否か判定する。検出信号によって払出モータ289の回転が復旧したと判断される場合には、球噛み解除処理を終了して、通常の球払出処理に戻る。   As shown in FIG. 47, the payout control CPU 371 repeats a process of rotating the payout motor 289 at a high speed and a process of rotating at a low speed a predetermined number of times (for example, 9 times) as shown in FIG. 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 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 processing is terminated and the normal ball payout processing is returned to.

高速回転させる処理と低速回転させる処理とを所定回実行しても払出モータ位置センサ295の検出信号に変化が生じなかった場合には、エラーフラグのうち、球噛みエラービット(払出ケースエラービット)をセットする。なお、払出ケースエラービットがセットされている場合には、払出制御用CPU371は、払出モータ289を駆動しない。また、払出ケースエラービットがリセットされると(図49におけるステップS807参照)、払出制御用CPU371は、払出モータ289を駆動できる状態に戻る。   If no change occurs in the detection signal of the payout motor position sensor 295 even if the process of rotating at a high speed and the process of rotating at a low speed are performed a predetermined number of times, a ball biting error bit (payout case error bit) in the error flag 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. 49), the payout control CPU 371 returns to a state in which 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.

次に、エラー処理について説明する。図48は、エラーの種類とエラー表示用LED374の表示との関係等を示す説明図である。図48に示すように、主基板31からの接続確認信号がオフ状態になった場合には、払出制御用CPU371は、主基板未接続エラーとして、エラー表示用LED374に「1」を表示する制御を行う。払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分において球詰まりが発生した場合には、払出スイッチ異常検知エラー1として、エラー表示用LED374に「2」を表示する制御を行う。なお、払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分において球詰まりが発生したことは、払出個数カウントスイッチ301の検出信号がオフ状態にならなかったことによって判定される。   Next, error processing will be described. FIG. 48 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. 48, 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).

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

図49および図50は、ステップS757のエラー処理を示すフローチャートである。エラー処理において、払出制御用CPU371は、エラーフラグをチェックし、そのうちのセットされているビットが、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのみ(3つのうちのいずれかのビットのみ、もしくは3つのうちの2ビットのみ、またはそれら3ビットのみ)であるか否か確認する(ステップS801)。セットされているビットがそれらのみである場合には、エラー解除スイッチ375から操作信号がオン状態になったか否か確認する(ステップS802)。操作信号がオン状態になったら、エラー復帰時間をエラー復帰前タイマにセットする(ステップS803)。エラー復帰時間は、エラー解除スイッチ375が操作されてから、実際にエラー状態から通常状態に復帰するまでの時間である。   49 and 50 are flowcharts showing the error process in step S757. In the error processing, the payout control CPU 371 checks the error flag, and the set bits are only payout switch abnormality detection error 2, payout case error and prize ball REQ signal error (any one of the three). It is confirmed whether it is only a bit, or only two bits out of three, or only these three bits (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). 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 flag is set. 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信号エラーのビットをセットする原因になったエラー(図48参照)が発生した場合には、エラー解除スイッチ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. 48) 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.

この例では、エラー状態中でも、図42に示すステップS601〜S606の処理は実行されている。すなわち、払い出しに関わるエラーが生じているときでも、遊技球が払出個数カウントスイッチ301を通過すれば、賞球未払出個数カウンタや球貸し未払出個数カウンタの値が減算される。従って、エラー状態から復帰したときの賞球未払出個数カウンタや球貸し未払出個数カウンタの値は、実際に払い出された遊技球数を反映した値になっている。すなわち、払い出しに関わるエラーが発生しても、実際に払い出した遊技球数を正確に管理することができる。また、払い出しに関わるエラーが生じているときでも、遊技球が払出個数カウントスイッチ301を通過し、その通過した遊技球が賞球であれば、賞球カウント信号が所定期間オン状態とされる。すなわち、払い出しに関わるエラーが発生しても、賞球が払い出されたことを報知するための制御を行うことができ、賞球の払い出しを遊技者等に対して報知することができる。また、払い出しに関わるエラーが生じているときであっても、遊技球が払出個数カウントスイッチ301を通過したことを賞球カウント信号によって遊技制御用マイクロコンピュータ560が認識することができ、賞球の管理を確実に行うことができる。   In this example, even in the error state, the processes in steps S601 to S606 shown in FIG. 42 are 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. Even when an error relating to payout occurs, if the game ball passes the payout number count switch 301 and the game ball passed through is a prize ball, the prize ball count signal is kept on for a predetermined period. That is, even if an error related to payout occurs, it is possible to perform control for notifying that the winning ball has been paid out, and to notify the player or the like of paying out the winning ball. Even when an error relating to payout has occurred, the game control microcomputer 560 can recognize that the game ball has passed the payout number count switch 301 by the prize ball count signal, Management can be performed reliably.

また、エラー状態中に遊技球が払出個数カウントスイッチ301を通過したことが確認されたときでも、払出ケースエラーのビットはリセットされない。払出ケースエラーのビットがリセットされるのは、あくまでも、エラー解除スイッチ375が操作されたとき(具体的は、操作後エラー復帰時間が経過したとき)である(ステップS802,S807)。すなわち、遊技球が払出個数カウントスイッチ301を通過したこと等にもとづいて自動的に払出ケースエラー(払出不足エラー)の状態が解除されるということはなく、人為的な操作を経ないと払出ケースエラーは解除されない。従って、遊技店員等は、確実に払出不足が発生したことを認識することができる。   Even when it is confirmed that the game ball has passed through the payout count switch 301 during the error state, 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.

なお、図49には示していないが、ステップS807において所定のエラービットがリセットされた後、払出制御コードの値を0にする処理が実行される。このような処理により、遊技球の払出処理が再び最初から実行され、遊技球の払い出しが確実に行われることになる。   Although not shown in FIG. 49, after a predetermined error bit is reset in step S807, processing for setting the value of the payout control code to 0 is executed. By such processing, the game ball payout process is executed again from the beginning, and the game ball is paid out reliably.

ステップ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)。なお、球切れエラービットをセットされているときには、ステップS759の表示制御処理において、出力ポート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 process of step S759.

さらに、払出制御用CPU371は、図50に示すように、主基板31からの接続確認信号の状態を確認し(ステップS815)、接続確認信号が出力されていなければ(オフ状態であれば)、主基板未接続エラービットをセットする(ステップS816)。また、接続確認信号が出力されていれば(オン状態であれば)、主基板未接続エラービットをリセットする(ステップS817)。   Further, as shown in FIG. 50, 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)。なお、各スイッチタイマの値は、ステップS751の入力判定処理において、各スイッチの検出信号を入力する入力ポートの状態がスイッチオン状態であれば+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 input determination process of step S751, and 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 switch on maximum time means that the payout number count switch 301 is in the on state exceeding the switch on maximum 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)。   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 passes through the payout number count switch 301 even when the payout operation is not in progress, and the bit of the payout switch abnormality detection error 2 is set in the error flag (steps S822 and S823). .

さらに、払出制御用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)。なお、払出エラー信号がオン状態になることによって、遊技制御用マイクロコンピュータ560がエラー報知処理を実行する(ステップS24b参照)。   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). When the payout error signal is turned on, the game control microcomputer 560 executes an error notification process (see step S24b).

なお、ステップ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との間の通信エラー(プリペイドカードユニット未接続エラーおよびプリペイドカードユニット通信エラー)やその他のエラーと区別可能に報知される(図48参照)。従って、遊技制御手段と払出制御手段との間の通信エラーが容易に特定される。   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 non-connection error and a prepaid card unit communication error) and other errors (see FIG. 48). ). Therefore, a communication error between the game control unit and the payout control unit is easily identified.

なお、この実施の形態では、払い出しに関わるエラーが発生したことを、遊技機裏面に設置されている払出制御基板37に搭載されているエラー表示LED374によって報知するようにしたが、遊技機裏面の他の箇所(例えば球払出装置97等が集中配置された払出ユニット)に報知手段を搭載してもよい。さらに、遊技機の表側に設置されている表示器によって報知するようにしてもよい。遊技機の表側に設置されている表示器によってエラー報知すれば、遊技店員等がより容易にエラーの発生を認識できる。また、エラー表示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 installed in the front side of the gaming machine. 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.

図51は、表示制御処理(ステップS759)を示すフローチャートである。表示制御処理において、払出制御用CPU371は、エラーフラグのうち球切れエラービットがセットされていたら(ステップS571)、出力ポート1バッファにおける球切れLED出力ビットをセットする(ステップS572)。球切れエラービットがセットされていなかったら、出力ポート1バッファにおける球切れLED出力ビットをリセットする(ステップS573)。なお、出力ポート1バッファの内容は、ステップS760の出力処理において出力ポート1に出力される。   FIG. 51 is a flowchart showing the display control process (step S759). In the display control process, the payout control CPU 371 sets the ball break LED output bit in the output port 1 buffer (step S572) when the ball break error bit is set in the error flag (step S571). If the ball break error bit is not set, the ball break LED output bit in the output port 1 buffer is reset (step S573). Note that the contents of the output port 1 buffer are output to the output port 1 in the output process of step S760.

また、払出制御用CPU371は、エラーフラグをロードし(ステップS574)、エラーフラグにおけるエラービットに応じたエラーコード(7SEG表示コード;図48参照)を決定し(ステップS575)、決定したエラーコードを、出力ポート2出力バッファにセットする(ステップS576)。   Further, the payout control CPU 371 loads an error flag (step S574), determines an error code (7SEG display code; see FIG. 48) corresponding to the error bit in the error flag (step S575), and determines the determined error code. The output port 2 is set in the output buffer (step S576).

次に、演出制御基板80に搭載されている演出制御手段の動作について説明する。図52は、演出制御用CPU101が実行するメイン処理を示すフローチャートである。メイン処理では、まず、RAM領域のクリアや各種初期値の設定、また表示制御の起動間隔を決めるための4msタイマの初期設定等を行うための初期化処理が行われる(ステップS321)。その後、演出制御用CPU101は、タイマ割込みフラグの監視(ステップS322)の確認を行うループ処理に移行する。タイマ割込みが発生すると、演出制御用CPU101は、割込み処理処理内でタイマ割込みフラグをセットする。メイン処理において、タイマ割込みフラグがセットされていたら、演出制御用CPU101は、そのフラグをクリアし(ステップS323)、以下の演出制御処理を実行する。   Next, the operation of the effect control means mounted on the effect control board 80 will be described. FIG. 52 is a flowchart showing main processing executed by the effect control CPU 101. In the main process, an initialization process is first performed for clearing the RAM area, setting various initial values, initializing a 4 ms timer for determining the display control activation interval, and the like (step S321). Thereafter, the effect control CPU 101 proceeds to a loop process for checking the timer interrupt flag (step S322). When a timer interrupt occurs, the effect control CPU 101 sets a timer interrupt flag in the interrupt processing. If the timer interrupt flag is set in the main process, the effect control CPU 101 clears the flag (step S323), and executes the following effect control process.

この実施の形態では、タイマ割込みは4ms毎にかかる。すなわち、演出制御処理は、4ms毎に起動される。また、この実施の形態では、タイマ割込み処理ではフラグセットのみがなされ、具体的な演出制御処理はメイン処理において実行されるが、タイマ割込み処理で演出制御処理を実行してもよい。   In this embodiment, the timer interrupt takes every 4 ms. That is, the effect control process is started every 4 ms. In this embodiment, only the flag is set in the timer interrupt process, and the specific effect control process is executed in the main process, but the effect control process may be executed in the timer interrupt process.

演出制御処理において、演出制御用CPU101は、まず、受信した演出制御コマンドを解析するコマンド解析処理(ステップS324)、乱数を生成するためのカウンタのカウント値を更新するカウンタ更新処理を実行する(ステップS325)。そして、演出制御用CPU101は、演出制御プロセス処理を実行する(ステップS326)。演出制御プロセス処理では、制御状態に応じた各プロセスのうち、現在の制御状態に対応したプロセスを選択して実行する。   In the effect control process, the effect control CPU 101 first executes a command analysis process (step S324) for analyzing the received effect control command, and a counter update process for updating the count value of the counter for generating a random number (step S324). S325). Then, the effect control CPU 101 executes effect control process processing (step S326). In the effect control process, a process corresponding to the current control state is selected and executed from among the processes corresponding to the control state.

次いで、演出制御用CPU101は、Vブランク割込の発生の有無を確認する(ステップS327)。Vブランク割込みの発生の有無は、VDP109からVブランク開始時に出力される割込信号にもとづいて確認される。Vブランクは、VRAMの表示領域(図示せず)に展開された画像を可変表示装置9の表示画面に表示し終えてから、VRAMの表示領域に次に展開された画像を可変表示装置9の表示画面に表示し始めるまでの期間をいう。VDP109は、Vブランク開始時に割込信号を演出制御用CPU101に出力してVブランク割込みをかける。例えば、1秒間に30フレームの画像が表示される場合は、約33ms毎にVブランク割込がかけられることになる。   Next, the production control CPU 101 checks whether or not a V blank interrupt has occurred (step S327). Whether or not a V blank interrupt has occurred is confirmed based on an interrupt signal output from the VDP 109 at the start of the V blank. The V blank is the display of the image developed in the display area (not shown) of the VRAM on the display screen of the variable display device 9, and then the image developed next in the display area of the VRAM is displayed on the variable display device 9. This is the period until display starts on the display screen. The VDP 109 outputs an interrupt signal to the effect control CPU 101 at the start of the V blank and issues a V blank interrupt. For example, when an image of 30 frames is displayed per second, a V blank interrupt is applied approximately every 33 ms.

演出制御用CPU101は、VDP109からの割込信号を受信するための割込端子を備えている。演出制御用CPU101は、割込端子の入力レベルがローレベルに立ち下がると、外部割込みとしてのVブランク割込みの発生を検出する。例えば、図53に示すように、演出制御用CPU101は、Vブランク割込みの発生を検出すると、Vブランク割込み有りを示すフラグをレジスタに設定する(ステップS331)。   The effect control CPU 101 includes an interrupt terminal for receiving an interrupt signal from the VDP 109. When the input level of the interrupt terminal falls to a low level, the effect control CPU 101 detects the occurrence of a V blank interrupt as an external interrupt. For example, as shown in FIG. 53, when the production control CPU 101 detects the occurrence of the V blank interrupt, it sets a flag indicating the presence of the V blank interrupt in the register (step S331).

演出制御用CPU101は、Vブランク割込み有りとなると、割込み処理として画像展開指示制御処理を実行する(ステップS328)。画像展開指示制御処理では、演出制御用CPU101が、VDP109に対して可変表示装置9の表示画面に表示する画像データについてのVRAMの表示領域への展開指示を行う制御を実行する。なお、VDP109は、演出制御用CPU101からの指示に従って、VRAMの表示領域に画像データを展開する。そして、VDP109は、表示領域の画像データにもとづいて画像信号を作成し、画像信号を可変表示装置9に出力して、可変表示装置9の表示画面に画像フレームを表示させる。上述したように、Vブランク割込みが33ms毎にかかるので、画像フレームは33ms毎に1回更新される。   When there is a V blank interrupt, the effect control CPU 101 executes an image development instruction control process as an interrupt process (step S328). In the image expansion instruction control process, the effect control CPU 101 executes control for instructing the VDP 109 to expand the image data displayed on the display screen of the variable display device 9 to the display area of the VRAM. Note that the VDP 109 develops image data in the display area of the VRAM in accordance with an instruction from the effect control CPU 101. The VDP 109 creates an image signal based on the image data in the display area, outputs the image signal to the variable display device 9, and displays an image frame on the display screen of the variable display device 9. As described above, since a V blank interrupt is generated every 33 ms, the image frame is updated once every 33 ms.

Vブランク割込み有りとならなかったときは、ステップS702のタイマ割込みフラグの確認を行う処理に戻る。また、画像展開指示制御処理を実行した後も、ステップS702のタイマ割込みフラグの確認を行う処理に戻る。   If there is no V blank interrupt, the process returns to the process of checking the timer interrupt flag in step S702. Even after the image development instruction control process is executed, the process returns to the process of checking the timer interrupt flag in step S702.

なお、この実施の形態では、Vブランク割込み処理ではフラグセット(Vブランク割込み有りの設定)のみがなされ、具体的な画像展開指示制御処理およびコマンド送信処理はメイン処理において実行されるが、Vブランク割込み処理で画像展開指示制御処理およびコマンド送信処理を実行してもよい。   In this embodiment, in the V blank interrupt processing, only flag setting (setting with V blank interrupt) is performed, and specific image development instruction control processing and command transmission processing are executed in the main processing. The image development instruction control process and the command transmission process may be executed by an interrupt process.

この実施の形態では、コマンド解析処理(ステップS324)において、演出制御用CPU101が、RAM内に設けられているコマンド受信バッファに受信コマンド(遊技制御基板31からの演出制御コマンド)が格納されているか否か確認し、コマンド受信バッファに受信コマンドが格納されている場合には、コマンド受信バッファから受信コマンドを読み出す。そして、演出制御用CPU101は、読み出した受信コマンドの内容を判定する。演出制御用マイクロコンピュータ101は、受信コマンドが賞球払出確認指定コマンドであると判定した場合は、1個の賞球の払い出しが行われたことを遊技者に報知するための処理を実行する。この実施の形態では、図20を用いて説明したように、演出制御用CPU101は、賞球払出確認指定コマンドを受信したことに応じて、賞球ランプ51の駆動(点灯)を制御する指令信号を枠側ランプドライバ基板35に対して出力することによって、賞球ランプ51を所定期間(例えば0.5秒)点灯させる制御を実行する。   In this embodiment, in the command analysis process (step S324), whether or not the effect control CPU 101 stores the received command (the effect control command from the game control board 31) in the command reception buffer provided in the RAM. If the received command is stored in the command reception buffer, the received command is read from the command reception buffer. Then, the effect control CPU 101 determines the content of the read reception command. When it is determined that the received command is a prize ball payout confirmation designation command, the effect control microcomputer 101 executes a process for notifying the player that one prize ball has been paid out. In this embodiment, as described with reference to FIG. 20, the effect control CPU 101 controls the driving (lighting) of the prize ball lamp 51 in response to receiving the prize ball payout confirmation designation command. Is output to the frame-side lamp driver substrate 35 to execute control for lighting the prize ball lamp 51 for a predetermined period (for example, 0.5 seconds).

また、演出制御用CPU101は、受信コマンドがエラー発生通知コマンドであると判定した場合は、所定のエラー状態が発生したことを遊技者等に報知するための処理を実行する。具体的には、演出制御用CPU101は、エラー発生報知処理を実行していることを示すエラー報知実行中フラグをセットする。当該エラー報知実行中フラグがセットされると、演出制御プロセス処理(ステップS326)や画像展開指示制御処理(ステップS328)等において最初にフラグのチェックが行われ、それらの処理の実行が中止される。また、演出制御用CPU101は、現在、VDP109に対する可変表示等の画像表示の制御を行っている場合には、現在の制御状態をRAMの所定領域に保存(バックアップ)する。そして、演出制御用CPU101は、受信したエラー発生通知コマンドにもとづいて、可変表示装置9の表示画面にエラー表示を表示させるために、VDP109に対してVRAMの表示領域へのエラー表示に用いる画像データの展開指示を行う制御を実行する。なお、演出制御用CPU101は、エラー状態の発生を遊技者等に報知するために、ランプ・LEDを点滅させたり、スピーカ27から効果音を鳴らしたりする場合には、そのような制御を実行させるための制御信号(指令信号)を枠側ランプドライバ基板35や音声制御基板70に出力する。   Further, when it is determined that the received command is an error occurrence notification command, the effect control CPU 101 executes a process for notifying a player or the like that a predetermined error state has occurred. Specifically, the effect control CPU 101 sets an error notification in-execution flag indicating that an error occurrence notification process is being executed. When the error notification execution flag is set, the flag is first checked in the effect control process (step S326), the image development instruction control process (step S328), etc., and the execution of these processes is stopped. . Further, when the CPU 101 for effect control is currently controlling image display such as variable display for the VDP 109, the current control state is saved (backed up) in a predetermined area of the RAM. Then, the effect control CPU 101 uses the VDP 109 to display error data in the display area of the VRAM in order to display an error display on the display screen of the variable display device 9 based on the received error occurrence notification command. Executes the control for instructing the deployment of The production control CPU 101 executes such control when the lamp / LED is blinked or a sound effect is emitted from the speaker 27 in order to notify the player or the like of the occurrence of the error state. Control signal (command signal) is output to the frame side lamp driver board 35 and the voice control board 70.

また、演出制御用CPU101は、受信コマンドがエラー解除通知コマンドであると判定した場合は、エラー状態が解除したことを遊技者等に報知するための処理を実行する。具体的には、演出制御用CPU101は、可変表示装置9の表示画面に表示されているエラー表示を消去するとともに、RAMの所定領域に保存されている制御状態にもとづいて、可変表示装置9においてエラー表示を行う前の表示状態から画像表示を再開させるために、VDP109に対してVRAMの表示領域への画像データの展開指示を行う制御を実行する。なお、演出制御用CPU101は、エラー状態が解除したことを遊技者等に報知するために、ランプ・LEDを点滅させたり、スピーカ27から効果音を鳴らしたりする場合は、そのような制御を実行させるための制御信号(指令信号)を枠側ランプドライバ基板35や音声制御基板70に出力する。演出制御用CPU101は、可変表示装置9等の演出装置を用いてエラー状態が解除したことを遊技者等に報知するための処理を実行すると、エラー報知実行中フラグをリセットする。当該エラー報知実行中フラグがリセットされると、演出制御プロセス処理(ステップS326)や画像展開指示制御処理(ステップS328)等が再開される。   Further, when it is determined that the received command is an error release notification command, the effect control CPU 101 executes a process for notifying the player or the like that the error state has been released. Specifically, the CPU 101 for effect control erases the error display displayed on the display screen of the variable display device 9, and in the variable display device 9 based on the control state stored in a predetermined area of the RAM. In order to restart the image display from the display state before the error display, the control for instructing the VDP 109 to expand the image data in the display area of the VRAM is executed. The production control CPU 101 executes such control when the lamp / LED blinks or the sound effect is emitted from the speaker 27 in order to notify the player or the like that the error state has been released. A control signal (command signal) for causing the signal to be output is output to the frame side lamp driver board 35 and the voice control board 70. The effect control CPU 101 resets the error notification in-execution flag when executing a process for notifying the player or the like that the error state has been canceled using an effect device such as the variable display device 9. When the error notification execution flag is reset, the effect control process (step S326), the image development instruction control process (step S328), and the like are resumed.

演出制御用CPU101は、受信コマンドが賞球払出確認指定コマンドでもエラー発生通知コマンドでもエラー解除通知コマンドでもなければ、読み出した受信コマンドに応じた処理を演出制御プロセス処理(ステップS326)や画像展開指示制御処理(ステップS328)において実行する。   If the received command is not a prize ball payout confirmation designation command, an error occurrence notification command, or an error release notification command, the effect control CPU 101 performs an effect control process process (step S326) or an image expansion instruction according to the received reception command. This is executed in the control process (step S328).

以上に説明したように、上記の実施の形態では、賞球と貸し球を区別しないで遊技球の払い出しを検出する払出個数カウントスイッチ301を備え、払出個数カウントスイッチ301の検出出力が払出制御手段にのみ入力させ、払出制御手段が、払出個数カウントスイッチ301からの検出信号を入力したときに、賞球の払出検出であるか貸し球の払出検出であるかを判定し、賞球の払出検出であると判定したときには賞球カウント信号を遊技制御手段に対して送信する構成としたので、遊技制御手段において賞球の未払出数の管理をより確実に行うことができるようになるとともに、1つの払出個数カウントスイッチ301で賞球払出も貸し球の払出も検出するので、部品点数が削減され、遊技機のコストを低減させることができるという効果を有する。   As described above, in the above-described embodiment, the payout number count switch 301 for detecting the payout of the game ball without distinguishing the winning ball and the lending ball is provided, and the detection output of the payout number count switch 301 is the payout control means. The payout control means determines whether the payout of the winning ball or the payout of the lending ball is detected when the detection signal from the payout number counting switch 301 is input. When it is determined that the prize ball count signal is transmitted to the game control means, the game control means can more reliably manage the number of prize balls that have not been paid out. Since one payout count switch 301 detects both a prize ball payout and a lending ball payout, the number of parts can be reduced and the cost of the gaming machine can be reduced. With the results.

また、上述した実施の形態では、払出個数カウントスイッチ301の検出出力が払出制御手段にのみ入力させ、払出制御手段が、払出個数カウントスイッチ301からの賞球の払出検出による検出信号を入力したときに、賞球カウント信号を遊技制御手段に対して送信する構成としているので、賞球の払い出しを検出したカウントスイッチからの検出信号が分岐されて遊技制御手段および払出制御手段に入力される構成と異なり、ノイズ等の影響によって遊技制御手段と払出制御手段とに入力される検出信号に狂いが生じるようなことが少なくなり、遊技制御手段と払出制御手段とで賞球の払出検出に関わる認識が相違してしまうことが防止される。   Further, in the above-described embodiment, when the detection output of the payout number count switch 301 is input only to the payout control means, and the payout control means inputs a detection signal based on the detection of award ball payout from the payout number count switch 301. In addition, since the award ball count signal is transmitted to the game control means, the detection signal from the count switch that detects the award ball payout is branched and input to the game control means and the payout control means. Unlikely, the detection signals input to the game control means and the payout control means are less likely to be distorted due to the influence of noise or the like, and the game control means and the payout control means recognize the prize ball payout detection. The difference is prevented.

また、上述した実施の形態では、払出制御手段は、遊技球の払い出しが停止されるエラー状態であっても、払出個数カウントスイッチ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.

また、上述した実施の形態では、遊技制御手段が、賞球カウント信号の受信の有無によらずに払出指令信号で指定した払出数を減算する構成としているので、総賞球数格納バッファに記憶されている賞球数の減算処理を実行するための遊技制御手段の制御負担を軽減させることができる。   In the above-described embodiment, the game control means is configured to subtract the number of payouts specified by the payout command signal regardless of whether or not a prize ball count signal is received, so that it is stored in the total prize ball number storage buffer. It is possible to reduce the control burden of the game control means for executing the subtraction process of the number of prize balls that has been performed.

なお、上述した実施の形態では、上記のように払出指令信号の送信後、払出制御基板37側からの払出処理の完了を示す信号などの受信の有無によらずに総賞球数格納バッファに記憶されている賞球数の減算処理を実行することとし、遊技制御手段にて賞球の未払出数の正確な管理は行わない構成としていたが、遊技制御手段が、払出指令信号を送信したあと、賞球カウント信号の受信に応じて、総賞球数格納バッファに記憶されている賞球数から、実際に払い出されたことが確認された払出数を減算する減算処理を行う構成としてもよい。この場合、遊技制御手段は、賞球カウント信号を受信する毎に、総賞球数格納バッファに記憶されている賞球数から1ずつ減算するようにすればよい。上記のように遊技制御手段と払出制御手段との間の双方向通信により賞球の未払出数を管理する構成とすれば、払出制御手段からの賞球カウント信号にもとづいて、遊技制御手段において賞球の未払出数の管理を正確に行うことができる。すなわち、賞球の未払出数の管理を賞球カウント信号を利用して行わない場合には、賞球の未払出数の管理に関しては単方向通信により行われていることになるため、遊技制御手段において把握されている賞球の未払出数が必ずしも正確なものでないという問題がある。上記のように、双方向通信により遊技制御手段での賞球の未払出数の管理を行う構成とすれば、賞球が実際に払い出されたときに未払出数を減算することができるので、賞球の未払出数を正確に管理することができるようになる。   In the above-described embodiment, after the payout command signal is transmitted as described above, the signal indicating the completion of the payout process from the payout control board 37 side is received in the total winning ball number storage buffer regardless of whether or not the signal is received. The subtraction process for the number of prize balls stored is executed, and the game control means does not accurately manage the number of unpaid prize balls, but the game control means transmits a payout command signal. After that, in response to receiving the prize ball count signal, the 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 is performed. Also good. In this case, each time the game control means receives the prize ball count signal, the game control means may subtract one from the prize ball number stored in the total prize ball number storage buffer. 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.

また、上記のように賞球の未払出数の管理を正確に行う構成とする場合には、遊技制御手段が、払出指令信号を送信したあと、払出指令信号で指定した払出数に相当する回数分の賞球カウント信号の受信があるまで、次回の賞球払出を指示するための払出指令信号を送信しない構成としてもよい。具体的には、遊技制御手段が、7個の賞球の払出を指示する払出指令信号を送信したときには、賞球カウント信号を7回受信したあとに、次の賞球払出を指示するための払出指令信号を送信する構成とすればよい。上記のように構成すれば、遊技制御手段から払出制御手段に送信される払出指令信号と、払出制御手段から遊技制御手段に送信される賞球カウント信号とが競合してしまうことを防止することができる。よって、払出制御手段および遊技制御手段において、それぞれ、制御信号(払出指令信号、賞球カウント信号)の取りこぼしが発生することが防止される。   Further, when the configuration is such that the management of the number of unpaid balls has been accurately performed as described above, the number of times corresponding to the number of payouts specified by the payout command signal after the game control means has transmitted the payout command signal. The payout command signal for instructing the next prize ball payout may not be transmitted until the prize ball count signal is received. Specifically, when the game control means transmits a payout command signal instructing the payout of seven prize balls, the game control means receives the prize ball count signal seven times, and then instructs the next prize ball payout. The payout command signal may be transmitted. According to the above configuration, it is possible to prevent the payout command signal transmitted from the game control means to the payout control means and the prize ball count signal transmitted from the payout control means to the game control means from competing. Can do. Therefore, in the payout control means and the game control means, it is possible to prevent the control signal (payout command signal, prize ball count signal) from being lost.

さらに、払出制御手段が、遊技制御手段から送信された払出指令信号を受信したことを示す指令受付信号を遊技制御手段に送信し、そして、遊技制御手段が、払出制御手段から送信された指令受付信号を受信したとき、総賞球数格納バッファに記憶されている賞球数の減算処理を実行するように構成されていてもよい。ここで、指令受付信号は、払出指令信号に対する受付確認信号に相当するものであって、賞球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 also referred to as 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. With such a configuration, after the game control means transmits a payout command signal and before receiving the command acceptance signal, that is, when the power interruption occurs before executing the award ball number subtraction process, the power supply is resumed. Since the payout command signal is transmitted again, it is possible to prevent the number of prize balls to be paid out from becoming smaller than the number to be paid out.

また、上述した実施の形態では、遊技制御用マイクロコンピュータ560が、フォトカプラ151から払出制御用マイクロコンピュータ370に伝達されるVL信号の出力状態を示す状態信号の入力状態にもとづいて、発射モータ94を駆動するための発射モータ駆動信号の発射モータ94への入力状態を制御する構成とされているので、状態信号の入力状態にもとづいて遊技制御用マイクロコンピュータ560が発射モータ94の駆動を制御することができる。すなわち、遊技制御用マイクロコンピュータ560が、フォトカプラ151によってVL信号が伝達されていないことを検出したときに、発射モータ94の駆動を停止させることができるようになる。   Further, in the above-described embodiment, the game control microcomputer 560 is based on the input state of the state signal indicating the output state of the VL signal transmitted from the photocoupler 151 to the payout control microcomputer 370, and the firing motor 94. Since the input state of the launch motor drive signal for driving the launch motor 94 is controlled, the game control microcomputer 560 controls the drive of the launch motor 94 based on the state signal input state. be able to. That is, when the game control microcomputer 560 detects that the VL signal is not transmitted by the photocoupler 151, the driving of the firing motor 94 can be stopped.

また、上述した実施の形態では、満タンスイッチ48によって下皿満タン状態が検出されて満タン信号が出力されているときに、遊技制御用マイクロコンピュータ560に入力される状態信号を、VL信号が停止状態となっているときと同じ状態となるようにしているので、遊技制御用マイクロコンピュータ560が、状態信号の入力状態を監視するだけで、下皿満タン状態となったときに発射モータ94の駆動を停止させることができるようになる。すなわち、遊技制御用マイクロコンピュータ560は、満タン信号の出力状態を別途監視していなくても、状態信号の入力状態を監視していれば、発射手段を駆動させてよいか否かを適切に判断することができる。このように、1つの信号を監視することで複数の信号の状態にもとづく発射制御を行うことができるので、制御負担が軽減される。   Further, in the above-described embodiment, when the lower pan full state is detected by the full switch 48 and the full signal is output, the state signal input to the game control microcomputer 560 is the VL signal. Since the game control microcomputer 560 only monitors the input state of the state signal, the firing motor is in the full state of the lower dish. 94 can be stopped. In other words, even if the game control microcomputer 560 does not separately monitor the output state of the full signal, if the input state of the state signal is monitored, the game control microcomputer 560 appropriately determines whether or not the launching means may be driven. Judgment can be made. In this way, by monitoring one signal, it is possible to perform launch control based on the state of a plurality of signals, so the control burden is reduced.

なお、上述した実施の形態では、満タン信号とVL信号とが入力側に接続されたAND回路155の出力を状態信号として用いる構成としたが、図54に示すように、満タンスイッチ48からの満タン信号と、フォトカプラ151によって伝達されるVL信号とをそれぞれ払出制御基板37上で分岐して、それぞれ遊技制御用マイクロコンピュータ560に入力させるようにしてもよい。この場合、遊技制御用マイクロコンピュータ560に入力される満タン信号とVL信号のそれぞれを状態信号として取り扱うようにすればよい。このように構成すれば、下皿満タン状態となったことによって発射不許可状態したのか、VL信号が停止状態となったことによって発射不許可状態としたのかを区別して報知することができるようになる。また、上記の構成とする場合、図55に示すように、フォトカプラ151によって伝達されるVL信号を、発射基板90を介して遊技制御用マイクロコンピュータ560に入力するようにしてもよい。   In the above-described embodiment, the output of the AND circuit 155 in which the full signal and the VL signal are connected to the input side is used as the status signal. However, as shown in FIG. The full signal and the VL signal transmitted by the photocoupler 151 may be branched on the payout control board 37 and input to the game control microcomputer 560, respectively. In this case, the full signal and the VL signal input to the game control microcomputer 560 may be handled as status signals. If comprised in this way, it can distinguish and alert | report whether it became the discharge disapproval state because it became the lower pan full state, or it was set as the discharge disapproval state because the VL signal became the stop state. become. In the case of the above configuration, as shown in FIG. 55, the VL signal transmitted by the photocoupler 151 may be input to the game control microcomputer 560 via the launch board 90.

また、上述した実施の形態では、遊技制御手段が、賞球カウント信号の受信に応じて、賞球ランプ51を点灯させるための処理を実行する構成としたので、賞球ランプ51が払出制御手段によって制御されていなくても、賞球が払い出されたこと、あるいは払い出された遊技球が賞球であることを、遊技者や遊技店員に対して報知することができるようになる。なお、上記の例では、賞球ランプ51を点灯させるための処理として、賞球払出確認指定コマンドを演出制御基板80に送信する処理が実行される。賞球払出確認指定コマンドを受信すると、演出制御基板80の演出制御用CPU101は、賞球ランプ51を所定期間点灯させる制御を実行する。ただし、賞球ランプ51を遊技制御手段が制御する構成とし、遊技制御手段が、賞球カウント信号の受信に応じて、賞球ランプ51を点灯させるための駆動処理を実行するようにしてもよい。さらに、賞球ランプ51以外の発光体や表示装置によって賞球が払い出されたことを報知するようにしてもよい。   In the embodiment described above, the game control means is configured to execute processing for turning on the prize ball lamp 51 in response to reception of the prize ball count signal. Even if it is not controlled by this, it is possible to notify the player or game store clerk that the prize ball has been paid out or that the game ball that has been paid out is a prize ball. In the above example, as a process for turning on the prize ball lamp 51, a process for transmitting a prize ball payout confirmation designation command to the effect control board 80 is executed. When receiving the prize ball payout confirmation designation command, the effect control CPU 101 of the effect control board 80 executes control for lighting the prize ball lamp 51 for a predetermined period. However, the game control means may control the prize ball lamp 51, and the game control means may execute a driving process for turning on the prize ball lamp 51 in response to reception of the prize ball count signal. . Further, it may be notified that a prize ball has been paid out by a light emitter other than the prize ball lamp 51 or a display device.

また、上述した実施の形態では、払出制御手段は、下皿満タンや球切れのエラーが発生すると、払出エラー信号を遊技制御手段に送信する(オン状態にする)ので、払出制御手段において賞球の払い出しに関わるエラーが発生したことを遊技制御手段に認識させることができる。   In the above-described embodiment, the payout control means transmits a payout error signal to the game control means when the bottom pan full or an out of ball error occurs (turns on). It is possible to make the game control means recognize that an error relating to the payout of the ball has occurred.

また、上述した実施の形態では、遊技制御手段は、払出制御手段からの払出エラー信号を受信したことに応じて、エラーの発生を通知するエラー発生通知コマンドを演出制御手段に対して送信するので、演出制御手段にエラーの発生を報知する処理を行わせることができ、エラーの発生を遊技者に容易に認識させることができるようになる。   In the embodiment described above, the game control means transmits an error occurrence notification command for notifying the occurrence of an error to the effect control means in response to receiving the payout error signal from the payout control means. Thus, it is possible to cause the effect control means to perform a process of notifying the occurrence of an error, and to make the player easily recognize the occurrence of the error.

なお、上述した実施の形態では、遊技制御手段が、払出制御手段からの払出エラー信号を受信しているときでも、払出指令信号を払出制御手段に対して送信していたが、払出制御手段からの払出エラー信号を受信しているときは、払出指令信号を払出制御手段に対して送信しないように構成してもよい。具体的には、図29に示す賞球送信処理におけるステップS251の処理を実行する前に、遊技制御手段が、払出制御手段からの払出エラー信号を受信しているか否かを確認し、払出エラー信号を受信している場合は、ステップS251以降の処理を実行しないように構成する。このような構成によれば、払出制御手段において払出指令信号の取りこぼしが発生する可能性を低減させることができる。   In the above-described embodiment, the game control means transmits the payout command signal to the payout control means even when the game control means receives the payout error signal from the payout control means. When the payout error signal is received, the payout command signal may not be transmitted to the payout control means. Specifically, before executing the process of step S251 in the prize ball transmission process shown in FIG. 29, the game control means confirms whether or not a payout error signal has been received from the payout control means, and payout error If a signal is received, the processing after step S251 is not executed. According to such a configuration, it is possible to reduce the possibility that a payout command signal is missed in the payout control means.

また、上述した実施の形態では、遊技制御手段は、状態信号のオフを検出したことに応じて、発射不許可状態することを通知する発射不許可状態通知コマンドを演出制御手段に対して送信するので、演出制御手段に発射不許可状態となったことを報知する処理を行わせることができ、発射不許可状態となったことを遊技者に容易に認識させることができるようになる。   In the above-described embodiment, the game control means transmits a firing non-permission state notification command for notifying that the fire is not permitted, to the effect control means, in response to detecting that the state signal is turned off. Therefore, it is possible to cause the effect control means to perform a process of notifying that the launch is not permitted, and it is possible for the player to easily recognize that the launch is not permitted.

なお、上述した実施の形態では、演出制御基板80の演出制御用マイクロコンピュータ100が、可変表示装置9の表示状態を制御するだけでなく、制御信号を枠側ランプドライバ基板35や音声制御基板70に出力することにより、ランプ・LEDの点灯/消灯やスピーカ27の音声出力を制御していた。しかし、このような構成に限られず、枠側ランプドライバ基板35および音声制御基板70にそれぞれランプ制御用マイクロコンピュータおよび音声制御用マイクロコンピュータを設け、演出制御用マイクロコンピュータが演出制御コマンドに応じたランプ制御コマンドおよび音声制御コマンドをそれぞれランプ制御用マイクロコンピュータおよび音声制御用マイクロコンピュータに送信して、ランプ制御用マイクロコンピュータおよび音声制御用マイクロコンピュータにランプ・LEDの点灯/消灯やスピーカ27の音声出力を実行させるようにしてもよい。   In the above-described embodiment, the production control microcomputer 100 of the production control board 80 not only controls the display state of the variable display device 9, but also sends control signals to the frame side lamp driver board 35 and the audio control board 70. To control the lighting / extinguishing of the lamp / LED and the sound output of the speaker 27. However, the present invention is not limited to this configuration, and the frame side lamp driver board 35 and the voice control board 70 are each provided with a lamp control microcomputer and a voice control microcomputer, and the stage control microcomputer responds to the stage control command. The control command and the voice control command are transmitted to the lamp control microcomputer and the voice control microcomputer, respectively, and the lamp / LED is turned on / off and the voice output of the speaker 27 is sent to the lamp control microcomputer and the voice control microcomputer. You may make it perform.

また、上述した実施の形態では、球切れ状態や下皿満タン状態などの発生によりエラービットがセットされているとき(ステップS621)には、払出開始待ち処理(図43参照)のステップS622以降の処理が実行されず、遊技球の払出処理を実行しない払出禁止状態とする構成としたので、異常が発生している状態で遊技球の払出処理が実行されてしまうことを防止することができる。従って、有効に遊技球が払い出されない事態、例えば球切れや下皿満タンにより球払出装置97が遊技球を払い出そうとしても払い出せない事態が発生することを防止することができる。   Further, in the above-described embodiment, when the error bit is set due to occurrence of a ball-out condition, a full-bottom-plate condition, etc. (step S621), step S622 and subsequent steps of the payout start waiting process (see FIG. 43) Is not executed and the game ball payout process is not executed, so that it is possible to prevent the game ball payout process from being executed in an abnormal state. . Therefore, it is possible to prevent a situation in which the game balls are not paid out effectively, for example, a situation in which the ball payout device 97 is unable to pay out the game balls even if the ball payout device 97 tries to pay out the game balls due to a shortage of the ball or a full lower tray.

上記の実施の形態では、払出制御手段は、払出個数カウントスイッチ301の検出信号にもとづいて遊技球が払い出されたことを確認していたが、払出モータ位置センサの出力信号にもとづいて遊技球が払い出されたことを確認するようにしてもよい。   In the above embodiment, the payout control means confirms that the game ball has been paid out based on the detection signal of the payout count switch 301, but the game ball is based on the output signal of the payout motor position sensor. You may make it confirm that was paid out.

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

また、上記の実施の形態では、主基板31から周辺基板への信号が集中中継基板77を経由して各周辺基板に出力される。そして、主基板31には、集中中継基板77からの信号入力を阻止するための信号方向規制手段が設けられている(図8参照)。また、集中中継基板77には、周辺基板からの信号入力を阻止するための信号方向規制手段が設けられている(図8参照)。さらに、主基板31から信号を入力し主基板31に対して信号を送出しないマイクロコンピュータを搭載した電気部品制御基板において、集中中継基板77から信号が入力される部分に、集中中継基板77への信号出力を阻止するための信号方向規制手段が設けられている(例えば、図9に示す入力バッファ回路102)。   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 restricting means for preventing signal input from the centralized relay board 77 (see FIG. 8). Further, the central relay board 77 is provided with signal direction regulating means for preventing signal input from the peripheral board (see FIG. 8). 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 (for example, the input buffer circuit 102 shown in FIG. 9).

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

なお、上記の実施の形態では、主基板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 an illegal act (an act of inputting a signal causing an illegal big hit to the main board 31, for example, a peripheral board or a board) In the case where it is suspected that an illegal board is connected to the cable between them, it is only necessary to examine the central relay board 77 other than 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のみを調査すればよいことから、多数の中継基板が設けられている場合に比べて、特に、不正の対象となり得る対象の数を少なくすることができ、多数の中継基板が縦続的に配置されている場合に比べて、調査時間を短縮できる。また、集中中継基板77の表面および裏面は基板ボックスの外部から容易に視認できるような構造であると、集中中継基板77を調査する際に、調査は容易である。さらに、集中中継基板77を収納する基板ボックスは容易に開けられないような構造であるとともに、開けられた場合には、容易にそのことが把握される。従って、集中中継基板77対してなされた不正行為の発見が容易である。   In addition, since only one centralized relay board 77 needs to be investigated, the number of targets that can be fraudulent can be reduced particularly compared to the case where a large number of relay boards are provided. The investigation time can be shortened compared with the case where the relay boards are arranged in cascade. Further, when the central relay board 77 is inspected, it is easy to investigate that the front and back surfaces of the central relay board 77 can be easily seen from the outside of the board box. Further, the substrate box for storing the central relay substrate 77 has a structure that cannot be easily opened, and when it is opened, it is easily grasped. Therefore, it is easy to find fraudulent acts performed on the central relay board 77.

なお、上記の実施の形態では、全ての周辺基板に対して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.

また、上記の実施の形態では、集中中継基板77は基板ボックスに強固に収納され、容易には遊技機から取り外すことができない構造であったが、ワンウェイねじを用いるのではなく、一般的なねじ等で固定するといった簡易な固定方法を用いてもよい。その場合には、治具としてのねじ回し(ドライバ)やコイン状のものを用いて集中中継基板77が遊技機から取り外される。簡易な固定方法を用いた場合でも、集中中継基板77の表面および裏面は基板ボックスの外部から容易に視認できるので、集中中継基板77の調査は容易である。   In the above embodiment, the central relay board 77 is firmly stored in the board box and cannot be easily detached from the gaming machine. However, instead of using a one-way screw, a general screw is used. A simple fixing method such as fixing with, for example, may be used. In that case, the central relay board 77 is removed from the gaming machine using a screwdriver (driver) as a jig or a coin. Even when a simple fixing method is used, since the front and back surfaces of the central relay board 77 can be easily visually recognized from the outside of the board box, the central relay board 77 can be easily investigated.

このように、集中中継基板77は、所定の治具(ねじ回しや切断工具など)の使用により遊技機から取り外し可能に装着されていることが好ましい。集中中継基板77を容易に取り外すことができず、集中中継基板77に対して不正行為がなされることを防止できるからである。   Thus, it is preferable that the central relay board 77 is detachably mounted from the gaming machine by using a predetermined jig (such as a screwdriver or a cutting tool). This is because the central relay board 77 cannot be easily removed, and illegal acts against the central relay board 77 can be prevented.

また、上述したように、集中中継基板77は、遊技機から取り外されると、取り外し前の装着態様と同態様では装着不能に(例えばワンウェイねじで)遊技機に装着されていることがより好ましい。集中中継基板77が不正に取り外されたことを容易に認識できるからである。   Further, as described above, when the central relay board 77 is removed from the gaming machine, it is more preferable that the central relay board 77 is mounted on the gaming machine so that it cannot be mounted (for example, with a one-way screw) in the same manner as the mounting mode before removal. This is because it can be easily recognized that the central relay board 77 has been illegally removed.

なお、上記の実施の形態では、主基板31における遊技制御手段が、遊技盤6に設けられている発光体を制御する構成であったが、遊技盤6に設けられている発光体を遊技制御手段以外の制御手段(例えば、演出制御手段や、演出制御用マイクロコンピュータ以外のマイクロコンピュータであって遊技機おける発光体を制御するマイクロコンピュータ)によって制御されるように構成されている場合でも、本発明を適用することができる。   In the above embodiment, the game control means on the main board 31 controls the light emitters provided on the game board 6, but the light emitters provided on the game board 6 are controlled by the game. Even if it is configured to be controlled by a control means other than the means (for example, a production control means or a microcomputer other than the production control microcomputer that controls the light emitter in the game machine), The invention can be applied.

また、上記の実施の形態では、主基板31からの信号を集中中継基板77を経由させるようにしたが、払出制御基板37から、払出制御基板37に対する周辺基板(払出制御基板37から信号を入力する基板)に出力される各信号について、払出制御主基板37から周辺基板への方向にしか通過させない単方向性回路を搭載した1つの中継基板を経由させるようにしてもよい。例えば、補給球切れの状態であることを示す球切れランプなどが、払出制御基板37に搭載されている払出制御用マイクロコンピュータによって制御される場合に、それらのランプ、またはそれらのランプを搭載した基板への信号を始めとする各信号を、1つの中継基板を経由させるようにしてもよい。そのように構成されている場合には、主基板31に対する不正行為の防止および調査と同様に、払出制御基板37に対して、不正に遊技球を払い出させるような不正信号の入力を確実に防止できるとともに、不正行為がなされているか否かの調査が容易になる。また、主基板31の場合と同様に、中継基板として、各周辺基板または複数の周辺基板に対して、複数の中継基板が並列的に設置されていてもよい。   In the above embodiment, the signal from the main board 31 is routed through the centralized relay board 77, but the peripheral board for the payout control board 37 (the signal is input from the payout control board 37) from the payout control board 37. Each signal output to the circuit board) may be routed through a single relay board on which a unidirectional circuit that passes only in the direction from the payout control main board 37 to the peripheral board is mounted. For example, when a ball-out lamp indicating that the supply ball is out of control is controlled by a dispensing control microcomputer mounted on the dispensing control board 37, those lamps or those lamps are mounted. Each signal including a signal to the board may be routed through one relay board. In such a configuration, as in the prevention and investigation of fraud on the main board 31, it is ensured that the fraud signal is input to the payout control board 37 so that the game ball is illegally paid out. It can be prevented and it becomes easy to investigate whether or not fraudulent activity has been made. Further, as in the case of the main board 31, a plurality of relay boards may be installed in parallel as the relay boards with respect to each peripheral board or a plurality of peripheral boards.

また、上述した実施の形態では、特別図柄の表示制御を図柄制御基板80が行う構成としていたが、主基板31が特別図柄の表示制御を行うようにしてもよい。この場合、特別図柄を表示する特別図柄表示器を備え、主基板31が特別図柄表示器を制御し、図柄制御基板80が可変表示装置9を制御して飾り図柄の表示制御を行うようにすればよい。特別図柄表示器は、例えば7セグメント表示器が用いられ、1または複数桁の数字等によって表された特別図柄を可変表示可能な構成とされる。   In the above-described embodiment, the design control board 80 performs the special symbol display control. However, the main board 31 may perform the special symbol display control. In this case, a special symbol display for displaying a special symbol is provided, the main board 31 controls the special symbol display, and the symbol control board 80 controls the variable display device 9 to perform display control of the decorative symbol. That's fine. As the special symbol display, for example, a 7-segment display is used, and the special symbol represented by one or more digits is variably displayed.

なお、上記の各実施の形態においては、各種の信号のやりとりに関し、送信/受信や出力/入力という異なる表現を用いているが、送信と出力あるいは受信と入力は、ほぼ同じ意味で用いており、これらの表現は相互に入替可能であることは言うまでもない。なお、制御コマンドなどの多くの意味を持つ信号のやりとりについて送信/受信とするとともに、オン/オフの切り換えによって情報を伝達するための信号のやりとりについて出力/入力として、送信/受信と出力/入力とを使い分けしている場合もある。この場合においても、それらの表現は相互に入替可能である。   In each of the above 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. Needless to say, 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.

また、上記の各実施の形態において、信号のオン/オフ状態は、ハイレベル状態/ローレベル状態であってもよく、逆に、ローレベル状態/ハイレベル状態であってもよい。   In each of the above embodiments, the on / off state of the signal may be a high level state / low level state, and conversely may be a low level state / high level state.

なお、上記の各実施の形態のパチンコ遊技機は、主として、始動入賞にもとづいて可変表示部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. It is a 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 if 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 is 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 machine from the front. 遊技機を裏面から見た背面図である。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 between 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 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. 主基板における遊技制御用マイクロコンピュータが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which the microcomputer for game control in a main board | substrate performs. タイマ割込処理を示すフローチャートである。It is a flowchart which shows a timer interruption 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 wire | 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 the example of a discharge motor excitation pattern output process. 状態信号の出力状態の例を示すタイミング図である。It is a timing chart showing an example of an output state of a state 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. 賞球待ち処理3を示すフローチャートである。It is a flowchart which shows prize ball waiting processing 3. 払出制御手段における出力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the example of bit allocation 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. 払出制御用マイクロコンピュータが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which the microcomputer for payout control performs. 払出制御用マイクロコンピュータが実行するタイマ割込処理を示すフローチャートである。It is a flowchart which shows the timer interruption process which the microcomputer 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. 賞球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 a flowchart which shows a prize ball lending control process. 払出開始待ち処理を示すフローチャートである。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 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 flowchart which shows a display control process. 演出制御用マイクロコンピュータが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which the microcomputer for production control performs. 演出制御用マイクロコンピュータが実行するVブランク割込処理を示すフローチャートである。It is a flowchart which shows the V blank interruption process which the microcomputer for production control performs. カードユニットと払出制御基板との間で送受される信号を伝達するための他の回路構成例を示すブロック図である。It is a block diagram which shows the other circuit structural example for transmitting the signal transmitted / received between a card unit and a payment control board. カードユニットと払出制御基板との間で送受される信号を伝達するためのさらに他の回路構成例を示すブロック図である。It is a block diagram which shows the further another circuit structural example for transmitting the signal transmitted / received between a card unit and a payment control board.

符号の説明Explanation of symbols

1 パチンコ遊技機
31 遊技制御基板(主基板)
37 払出制御基板
48 満タンスイッチ
56 CPU
80 演出制御基板
90 発射基板
94 発射モータ
97 球払出装置
101 演出制御用CPU
151 フォトカプラ
301 払出個数カウントスイッチ
371 払出制御用CPU
374 エラー表示用LED
375 エラー解除スイッチ
560 遊技制御用マイクロコンピュータ
1 Pachinko machine 31 Game control board (main board)
37 Dispensing control board 48 Full switch 56 CPU
80 Production Control Board 90 Launch Board 94 Launch Motor 97 Ball Dispensing Device 101 Production Control CPU
151 Photocoupler 301 Payout Count Switch 371 Payout Control CPU
374 LED for error display
375 Error release switch 560 Microcomputer for game control

Claims (7)

遊技媒体を遊技領域に発射することにより遊技者が所定の遊技を行うことが可能であり、所定の入賞領域に遊技媒体が入賞したことにもとづいて景品として景品遊技媒体を払い出し、遊技者からの貸出要求を受け付けた貸出要求受付装置からの貸出要求信号にもとづいて遊技者に貸し出す貸し遊技媒体を払い出す遊技機であって、
前記遊技媒体を前記遊技領域に向けて発射する発射手段と、
遊技の進行を制御する遊技制御処理を実行する遊技制御用マイクロコンピュータを搭載した遊技制御基板と、
前記遊技媒体の払い出しを行う払出手段と、
前記貸出要求受付装置が遊技機に接続されていることを示す貸出要求受付装置接続信号が入力される入力部と、前記払出手段を制御する払出制御処理を実行する払出制御用マイクロコンピュータと、前記貸出要求受付装置からの前記貸出要求受付装置接続信号が入力されたことにもとづいて接続信号を前記払出制御用マイクロコンピュータに伝達するフォトカプラと、前記入力部と前記フォトカプラの間に接続されるコンデンサとが搭載された払出制御基板と、
前記貸出要求受付装置からの前記貸出要求信号を中継して払出制御基板に出力する貸出要求中継基板と、
遊技による払出条件の成立にもとづく景品としての景品遊技媒体の払い出しと、貸出要求による払出条件の成立にもとづく貸し遊技媒体の払い出しとを検出し、前記払出制御用マイクロコンピュータに検出信号を出力する払出検出手段とを備え、
前記遊技制御用マイクロコンピュータは、
前記フォトカプラから前記払出制御用マイクロコンピュータに伝達される接続信号の出力状態を示す状態信号を入力する状態信号入力手段と、
前記状態信号入力手段による前記状態信号の入力状態にもとづいて、前記発射手段を駆動する発射制御信号の前記発射手段への入力状態を制御する発射制御手段と、
遊技による前記払出条件の成立にもとづいて、払い出すべき景品遊技媒体の数を特定可能な払出指令信号を該払出指令信号の取り込みを指示する取込信号とともに前記払出制御用マイクロコンピュータに出力する払出指令信号出力手段を含み、
前記払出制御用マイクロコンピュータは、
前記払出指令信号出力手段からの前記払出指令信号を入力する払出指令信号入力手段と、
前記払出指令信号入力手段が入力した前記払出指令信号により指定された数の景品遊技媒体を前記払出手段を制御して払い出させる払出処理を実行する景品遊技媒体払出制御手段と、
前記払出検出手段から入力された検出信号が景品遊技媒体と貸し遊技媒体とのいずれの払い出しによるものかを判定する払出判定手段と、
前記払出判定手段により前記検出信号が前記景品遊技媒体の払い出しによるものと判定されたときに、前記遊技制御用マイクロコンピュータに前記景品遊技媒体の払い出しの検出を示す景品遊技媒体計数信号を出力する計数信号出力手段と、
所定条件の成立により払い出しに関わる制御状態をエラー状態に移行させるエラー状態設定手段と、
前記フォトカプラから伝達されている前記接続信号の入力状態を判定する入力状態判定手段と、
前記入力状態判定手段によって前記接続信号が伝達されていないと判定されたときに、前記貸出要求受付装置が遊技機に接続されていないことを報知するための接続エラー報知処理を実行する接続エラー報知処理手段とを含み、
前記計数信号出力手段は、前記エラー状態設定手段により前記エラー状態に移行されているときでも、前記景品遊技媒体計数信号を出力する
ことを特徴とする遊技機。
It is possible for a player to play a predetermined game by launching the game medium into the game area. Based on the fact that the game medium has won the predetermined prize area, the prize game medium is paid out as a prize. A gaming machine that pays out a rental game medium to be lent to a player based on a loan request signal from a loan request reception device that has received a loan request,
Launching means for launching the game medium toward the game area;
A game control board equipped with a game control microcomputer for executing a game control process for controlling the progress of the game;
A payout means for paying out the game medium;
An input unit to which a lending request accepting apparatus connection signal indicating that the lending request accepting apparatus is connected to a gaming machine is input, a payout control microcomputer that executes a payout control process for controlling the payout means, and A photocoupler that transmits a connection signal to the payout control microcomputer based on the input of the lending request receiving device connection signal from the lending request receiving device, and is connected between the input unit and the photocoupler. A payout control board with a capacitor mounted thereon;
A lending request relay board that relays the lending request signal from the lending request accepting device and outputs it to a payout control board;
A payout that detects a payout of a prize game medium as a free gift based on establishment of a payout condition by a game and a payout of a rental game medium based on fulfillment of a payout condition by a loan request, and outputs a detection signal to the payout control microcomputer Detecting means,
The game control microcomputer is:
State signal input means for inputting a state signal indicating an output state of a connection signal transmitted from the photocoupler to the payout control microcomputer;
Firing control means for controlling an input state of the firing control signal for driving the firing means to the firing means based on an input state of the state signal by the state signal input means;
A payout command signal for specifying the number of premium game media to be paid out together with a take-in signal for instructing to take out the payout command signal based on the establishment of the payout condition by the game. Including command signal output means,
The dispensing control microcomputer is:
A payout command signal input means for inputting the payout command signal from the payout command signal output means;
A prize game medium payout control means for executing a payout process for controlling the payout means to pay out the number of premium game media specified by the payout command signal input by the payout command signal input means;
A payout determining means for determining whether the detection signal input from the payout detecting means is a payout of the premium game medium or the rented game medium;
A count for outputting a prize game medium count signal indicating detection of payout of the prize game medium to the game control microcomputer when the detection signal is determined by the payout determination means to be the payout of the prize game medium. Signal output means;
An error state setting means for shifting a control state related to payout to an error state when a predetermined condition is satisfied;
Input state determination means for determining an input state of the connection signal transmitted from the photocoupler;
Connection error notification for executing connection error notification processing for notifying that the lending request acceptance device is not connected to a gaming machine when the input state determination means determines that the connection signal is not transmitted Processing means,
The gaming machine characterized in that the counting signal output means outputs the premium game medium counting signal even when the error state setting means has shifted to the error state.
払い出された遊技媒体が貯留される貯留部に所定量以上の遊技媒体が貯留されていることを検出したときに貯留検出信号を出力する貯留状態検出手段と、
前記貯留状態検出手段から貯留検出信号が出力されているときに、状態信号入力手段への状態信号の入力状態を、接続信号の出力状態が停止状態となっているときと同じ状態に制御する貯留検出時状態信号制御手段とを備え、
前記貯留検出信号は、払出制御用マイクロコンピュータに入力され、
前記払出制御用マイクロコンピュータは、前記貯留検出信号が入力状態となっているときは払出制御処理の実行を停止する
請求項1記載の遊技機。
A storage state detection means for outputting a storage detection signal when it is detected that a predetermined amount or more of game media is stored in a storage unit storing the paid-out game media;
Storage that controls the state signal input state to the state signal input means to be the same as when the connection signal output state is stopped when a storage detection signal is output from the storage state detection means A detection state signal control means,
The storage detection signal is input to a payout control microcomputer,
The gaming machine according to claim 1, wherein the payout control microcomputer stops execution of payout control processing when the storage detection signal is in an input state.
遊技制御用マイクロコンピュータは、発射制御手段によって発射制御信号の発射手段への入力状態を発射停止状態に制御したときに、発射停止状態であることを報知するための発射停止報知処理を実行する発射停止報知処理手段を含む
請求項1または請求項2記載の遊技機。
The game control microcomputer performs launch stop notification processing for notifying that the launch stop state is in effect when the launch control means controls the input state of the launch control signal to the launch means to the launch stop state. The gaming machine according to claim 1, comprising stop notification processing means.
景品遊技媒体払出制御手段による景品遊技媒体の払い出しが行われたことを報知する景品遊技媒体払出報知手段を備え、
遊技制御用マイクロコンピュータは、景品遊技媒体計数信号の入力に応じて、前記景品遊技媒体払出報知手段に前記景品遊技媒体払出制御手段による景品遊技媒体の払い出しが行われたことを報知させるための処理を行う
請求項1から請求項3のうちのいずれかに記載の遊技機。
A prize game medium payout notification means for notifying that a prize game medium has been paid out by the prize game medium payout control means;
The game control microcomputer, in response to the input of the prize game medium count signal, causes the prize game medium payout notifying means to notify that the prize game medium has been paid out by the prize game medium payout control means. The gaming machine according to any one of claims 1 to 3.
払出制御用マイクロコンピュータは、貸出要求による払出条件の成立にもとづいて所定数の貸し遊技媒体を払出手段を制御して払い出させる貸出処理を実行する貸し遊技媒体払出制御手段を含み、
払出判定手段は、景品遊技媒体払出制御手段による払出処理および貸し遊技媒体払出制御手段による貸出処理のいずれも実行されていないときに、払出検出手段からの検出信号が入力されると、前記検出信号が前記景品遊技媒体払出制御手段による景品遊技媒体の払い出しによるものと判定する
請求項1から請求項4のうちのいずれかに記載の遊技機。
The payout control microcomputer includes a lending game medium payout control means for executing a lending process for controlling a payout means to pay out a predetermined number of lending game media based on establishment of a payout condition based on a lending request,
The payout determination means receives the detection signal from the payout detection means when neither the payout process by the prize game medium payout control means nor the lending process by the rental game medium payout control means is executed. The gaming machine according to any one of claims 1 to 4, wherein the game machine is determined to be caused by payout of a prize game medium by the prize game medium payout control means.
払出制御用マイクロコンピュータは、
貸し遊技媒体払出制御手段による貸出処理により払い出すべき貸し遊技媒体の数を示す貸し遊技媒体数データを記憶する貸し遊技媒体数データ記憶手段と、
払出検出手段から入力された検出信号が貸し遊技媒体の払い出しによるものであると払出判定手段が判定したことに応じて、エラー状態設定手段によりエラー状態に移行されているときでも前記貸し遊技媒体数データ記憶手段に記憶されている貸し遊技媒体数データを減算する貸し遊技媒体数データ減算手段とを含む
請求項5記載の遊技機。
The dispensing control microcomputer
Lending game medium number data storage means for storing lending game medium number data indicating the number of lending game media to be paid out by lending processing by the lending game medium payout control means;
The number of rented game media even when the error state setting means shifts to an error state in response to the determination by the payout determination means that the detection signal input from the payout detection means is due to payout of the rented game media The gaming machine according to claim 5, further comprising: lending game medium number data subtracting means for subtracting lending game medium number data stored in the data storage means.
フォトカプラから伝達される貸出要求受付装置接続判定信号が分岐され、払出制御用マイクロコンピュータと、遊技制御用マイクロコンピュータとに入力される
請求項1から請求項6のうちのいずれかに記載の遊技機。
The game according to any one of claims 1 to 6, wherein a lending request acceptance device connection determination signal transmitted from a photocoupler is branched and input to a payout control microcomputer and a game control microcomputer. Machine.
JP2005042966A 2005-02-18 2005-02-18 Game machine Withdrawn JP2006223671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005042966A JP2006223671A (en) 2005-02-18 2005-02-18 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005042966A JP2006223671A (en) 2005-02-18 2005-02-18 Game machine

Publications (1)

Publication Number Publication Date
JP2006223671A true JP2006223671A (en) 2006-08-31

Family

ID=36985537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005042966A Withdrawn JP2006223671A (en) 2005-02-18 2005-02-18 Game machine

Country Status (1)

Country Link
JP (1) JP2006223671A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017055925A (en) * 2015-09-16 2017-03-23 株式会社大都技研 Game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017055925A (en) * 2015-09-16 2017-03-23 株式会社大都技研 Game machine

Similar Documents

Publication Publication Date Title
JP6349379B2 (en) Game machine
JP2016083010A (en) Game machine
JP2016083012A (en) Game machine
JP2006246981A (en) Game machine
JP6071936B2 (en) Game machine
JP2006175067A (en) Game machine
JP2006223671A (en) Game machine
JP2006246979A (en) Game machine
JP2006166938A (en) Game machine
JP4401941B2 (en) Game machine
JP6276931B2 (en) Game machine
JP2005198717A (en) Game machine
JP2006246980A (en) Game machine
JP2016083011A (en) Game machine
JP2005342355A (en) Game machine
JP2006175066A (en) Game machine
JP2005046359A (en) Game machine
JP2006149851A (en) Game machine
JP2005074160A (en) Game machine
JP2005058665A (en) Game machine
JP2005058446A (en) Game machine
JP2005058529A (en) Game machine
JP2005137616A (en) Game machine
JP2005198716A (en) Game machine
JP2005192872A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070622

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20100419