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

JP6937041B2 - Game table - Google Patents

Game table Download PDF

Info

Publication number
JP6937041B2
JP6937041B2 JP2019146169A JP2019146169A JP6937041B2 JP 6937041 B2 JP6937041 B2 JP 6937041B2 JP 2019146169 A JP2019146169 A JP 2019146169A JP 2019146169 A JP2019146169 A JP 2019146169A JP 6937041 B2 JP6937041 B2 JP 6937041B2
Authority
JP
Japan
Prior art keywords
control unit
command
special
main control
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019146169A
Other languages
Japanese (ja)
Other versions
JP2021023700A (en
Inventor
斉藤 健
健 斉藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daito Giken KK
Original Assignee
Daito Giken KK
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 Daito Giken KK filed Critical Daito Giken KK
Priority to JP2019146169A priority Critical patent/JP6937041B2/en
Publication of JP2021023700A publication Critical patent/JP2021023700A/en
Application granted granted Critical
Publication of JP6937041B2 publication Critical patent/JP6937041B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、本発明は、弾球遊技機(パチンコ機)、回胴遊技機(スロットマシン)、封入式遊技機あるいはメダルレススロットマシンに代表される遊技台に関する。 The present invention relates to a game table represented by a ball game machine (pachinko machine), a rotating body game machine (slot machine), an enclosed game machine, or a medalless slot machine.

従来、設定値が変更可能な設定変更処理を行い、当該処理の完了後に通常遊技状態に移行させる遊技台が広く知られている(例えば、特許文献1参照)。 Conventionally, there is widely known a game table that performs a setting change process in which a set value can be changed and shifts to a normal gaming state after the process is completed (see, for example, Patent Document 1).

特開2008−200302号公報Japanese Unexamined Patent Publication No. 2008-20302

しかしながら、従来の遊技台は、操作者の任意のタイミングで設定変更処理を完了させることが可能なため、移行後の通常遊技状態における遊技者の利益に関する処理タイミングが特定し易くなってしまうといった問題がある。 However, since the conventional game console can complete the setting change process at an arbitrary timing of the operator, there is a problem that it becomes easy to specify the process timing related to the profit of the player in the normal game state after the transition. There is.

本発明の目的は、不正行為を未然に防止することが可能な遊技台を提供することにある。 An object of the present invention is to provide a game table capable of preventing fraudulent acts.

本発明に係る遊技台は、報知が可能な報知手段と、複数種類の処理を実行可能な主制御手段と、前記報知手段を制御可能な副制御手段と、を備えた遊技台であって、前記複数種類の処理のうちの一の処理は、前記副制御手段の起動に関する処理(以下、「第一の処理」という。)であり、前記複数種類の処理のうちの一の処理は、前記第一の処理よりも後に開始される処理であって、前記副制御手段の起動開始に関するコマンドを前記副制御手段に向けて送信する処理(以下、「第二の処理」という。)であり、前記複数種類の処理のうちの一の処理は、設定値の変更が可能な状態で電源が投入された場合に前記第二の処理よりも後に開始される処理であって、設定に関する処理(以下、「第三の処理」という。)であり、前記複数種類の処理のうちの一の処理は、前記第三の処理よりも後に開始される処理であって、抽選処理を含む複数種類の処理から構成される処理(以下、「第四の処理」という。)であり、前記副制御手段は、前記起動開始に関するコマンドに基づいて前記第三の処理に関する報知(以下、「或る報知」という。)を前記報知手段に実行させる制御が実行可能な手段であり、前記第三の処理は、或る操作を受け付けた場合に終了する処理であり、前記第四の処理は、前記第三の処理が終了して或る期間が経過した場合に開始される処理であり、前記複数種類の処理のうちの一の処理は、前記第四の処理における前記抽選処理に用いられる乱数値を更新する処理(以下、「第五の処理」という。)であり、前記第五の処理は、前記第三の処理よりも前に開始される処理である、ことを特徴とする遊技台である。 The game console according to the present invention is a game console including a notification means capable of performing notification, a main control means capable of executing a plurality of types of processing, and a sub-control means capable of controlling the notification means. One of the plurality of types of processes is a process related to activation of the sub-control means (hereinafter, referred to as "first process"), and one of the plurality of types of processes is the above-mentioned process. It is a process started after the first process, and is a process of transmitting a command related to the start start of the sub-control means to the sub-control means (hereinafter, referred to as "second process"). One of the plurality of types of processes is a process that is started after the second process when the power is turned on in a state where the set value can be changed, and is a process related to the setting (hereinafter referred to as a process). , "Third process"), and one of the plurality of types of processes is a process started after the third process, and is a plurality of types of processes including a lottery process. It is a process composed of (hereinafter, referred to as "fourth process"), and the sub-control means notifies the third process (hereinafter, referred to as "a certain notification" based on the command related to the start of activation). The third process is a process that ends when a certain operation is received, and the fourth process is the third process. processing der the process is started when a certain period ends has elapsed is, one processing among the plurality of types of processing, updates the random number used in the lottery process in the fourth process The game table is characterized in that it is a process to be performed (hereinafter, referred to as a “fifth process”), and the fifth process is a process started before the third process.

本発明によれば、不正行為を未然に防止することが可能な遊技台を実現できる。 According to the present invention, it is possible to realize a game table capable of preventing fraudulent activities.

パチンコ機を正面側(遊技者側)から見た外観斜視図である。It is an external perspective view of a pachinko machine as seen from the front side (player side). パチンコ機を背面側から見た外観図である。It is an external view which looked at the pachinko machine from the back side. 遊技盤を正面から見た略示正面図である。It is a schematic front view which looked at the game board from the front. 制御部の回路ブロック図を示したものである。The circuit block diagram of the control unit is shown. (a)特図の停止図柄態様の一例を示したものである。(b)装飾図柄の停止図柄態様の一例を示したものである。(c)普図の停止表示図柄の一例を示したものである。(A) An example of the stop symbol mode of the special figure is shown. (B) An example of a stop symbol mode of a decorative symbol is shown. (C) An example of a stop display symbol of a normal figure is shown. 本発明の実施形態に係るコマンド処理について説明する概要図である。It is a schematic diagram explaining the command processing which concerns on embodiment of this invention. (a)主制御部と払出制御部の通信処理を説明するブロック図である。(b)シリアル通信回路を説明するブロック図である。(c)主制御部と払出制御部のシリアル通信の流れを説明するブロック図である。(A) It is a block diagram explaining the communication process of a main control part and a payout control part. (B) It is a block diagram explaining the serial communication circuit. (C) It is a block diagram explaining the flow of serial communication of a main control part and a payout control part. シリアル通信関連レジスタに含まれる各種レジスタのブロック図と、各種レジスタの内容を示した図である。It is a block diagram of various registers included in a serial communication-related register, and the figure which showed the contents of various registers. (a)電源の遮断及び供給のタイミングに伴う各制御部の動作状態を示す概要図である。(b)電源遮断時における各制御部の動作状態を示す概要図である。(A) It is a schematic diagram which shows the operation state of each control part with the timing of power-off and supply. (B) It is a schematic diagram which shows the operation state of each control part at the time of power-off. 電源投入時設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the setting process at the time of power-on. RAMエラー確認処理の流れを示すフローチャートである。It is a flowchart which shows the flow of RAM error confirmation processing. 電源投入モード確認処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the power-on mode confirmation process. 主制御部メイン処理の流れを示すフローチャートである。Main control unit It is a flowchart which shows the flow of the main processing. 主制御部メイン処理における通信異常時処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the communication abnormality | processing in the main control part main processing. 主制御部タイマ割込処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the timer interrupt process of a main control part. サブ起動待ちウェイト処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the sub-start waiting wait processing. 設定管理処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a setting management process. 初期起動または復帰起動において、電源投入後から通常遊技が開始されるまでに実行される各種処理の流れを示すタイムチャートである。It is a time chart which shows the flow of various processing executed from the power-on to the start of a normal game in the initial start-up or the return start-up. 設定変更または設定確認において、電源投入後から通常遊技が開始されるまでに実行される各種処理の流れを示すタイムチャートである。It is a time chart which shows the flow of various processing executed from the power-on to the start of a normal game in setting change or setting confirmation. (a)シリアルコマンド管理処理の流れを示すフローチャートである。(b)シリアルコマンド受信処理の流れを示すフローチャートである。(A) It is a flowchart which shows the flow of a serial command management process. (B) It is a flowchart which shows the flow of a serial command reception process. (a)シリアルコマンド送信処理の流れを示すフローチャートである。(b)主制御部300が払出制御部600に送信するコマンドの一例である。(A) It is a flowchart which shows the flow of the serial command transmission processing. (B) This is an example of a command transmitted by the main control unit 300 to the payout control unit 600. 賞球コマンド設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a prize ball command setting process. (a)〜(c)賞球数記憶領域308a〜308dの賞球数の変化の一例を示した図である。(d)賞球コマンドテーブルの一例を示した図である。It is a figure which showed an example of the change of the prize ball number in the prize ball number storage area 308a-308d (a)-(c). (D) It is a figure which showed an example of the prize ball command table. 主制御部タイマ割込処理におけるデバイス監視処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the device monitoring processing in the main control part timer interrupt processing. 通信異常監視処理の流れを示すフローチャートである。It is a flowchart which shows the flow of communication abnormality monitoring processing. 通信異常処理の一例を時系列で示したタイムチャートである。It is a time chart which showed an example of communication abnormality processing in time series. RAMの構成を示す概要図である。It is a schematic diagram which shows the structure of RAM. RAMの初期化される領域とそのタイミングを示す概要図である。It is a schematic diagram which shows the area where the RAM is initialized and the timing thereof. (a)第1副制御部400のCPU404が実行するメイン処理のフローチャートである。(b)第1副制御部400のコマンド受信割込処理のフローチャートである。(c)第1副制御部400のタイマ割込処理のフローチャートである。(d)第1副制御部400の画像制御処理のフローチャートである。(A) It is a flowchart of the main process executed by the CPU 404 of the 1st sub-control unit 400. (B) It is a flowchart of the command reception interrupt processing of the 1st sub-control unit 400. (C) It is a flowchart of the timer interrupt process of the 1st sub-control unit 400. (D) It is a flowchart of the image control processing of the 1st sub-control unit 400. (a)第2副制御部500のCPU504が実行するメイン処理のフローチャートである。(b)第2副制御部500のコマンド受信割込処理のフローチャートである。(c)第2副制御部500のタイマ割込処理のフローチャートである。(A) It is a flowchart of the main process executed by the CPU 504 of the second sub-control unit 500. (B) It is a flowchart of the command reception interrupt processing of the 2nd sub-control unit 500. (C) It is a flowchart of the timer interrupt process of the 2nd sub-control unit 500. 払出制御部が実行するメイン処理のフローチャートである。It is a flowchart of the main process executed by a payout control unit. 払出制御部割込み処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the payout control part interrupt processing. (a)受信コマンド処理のフローチャートである。(b)受信コマンド処理の他の例を示すフローチャートである。(A) It is a flowchart of the reception command processing. (B) It is a flowchart which shows another example of the received command processing. コマンド解析処理を説明するフローチャートである。It is a flowchart explaining a command analysis process. コマンド解析処理を説明するフローチャートである。It is a flowchart explaining a command analysis process. (a)主制御通信確認コマンド受信時処理の流れを示すフローチャートである。(b)起動処理の流れを示すフローチャートである。(A) It is a flowchart which shows the flow of processing at the time of receiving a main control communication confirmation command. (B) It is a flowchart which shows the flow of the start-up process. (a)賞球コマンド受信時処理の流れを示すフローチャートである。(b)賞球コマンド受信時処理の流れを示すフローチャートである。(A) It is a flowchart which shows the flow of the process at the time of receiving a prize ball command. (B) It is a flowchart which shows the flow of the process at the time of receiving a prize ball command. エラー管理処理の流れを示すフローチャートである。It is a flowchart which shows the flow of error management processing. 送信コマンド処理の流れを示すフローチャートである。It is a flowchart which shows the flow of transmission command processing. 送信コマンド処理の変形例1を示した図である。It is a figure which showed the modification 1 of the transmission command processing. 主制御通信確認コマンド受信時処理の流れを示すフローチャートである。It is a flowchart which shows the flow of processing at the time of receiving a main control communication confirmation command. 送信コマンド処理の流れを示すフローチャートである。It is a flowchart which shows the flow of transmission command processing. 受信コマンドバッファエリアの一例を示す図である。It is a figure which shows an example of the received command buffer area. 受信コマンドバッファエリアの一例を示す図である。It is a figure which shows an example of the received command buffer area. (a)受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理において使用する記憶領域の一部の構成を示す概要図である。(b)受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理において使用する記憶領域の一部の構成を示す概要図である。(c)受信コマンドの一例を示す図である。(A) It is a schematic diagram which shows the structure of a part of the storage area used in the received command processing, the received command acquisition process, and the received command analysis process. (B) It is a schematic diagram which shows the structure of a part of the storage area used in the received command processing, the received command acquisition process, and the received command analysis process. (C) It is a figure which shows an example of the received command. 受信コマンド処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command processing. 受信コマンド取得処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command acquisition processing. 受信コマンド解析処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command analysis processing. 受信コマンド解析処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command analysis processing. 受信コマンド解析処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command analysis processing. (a)制御基板間の接続の一例を示したブロック図である。(b)(c)制御基板間の接続の他の例を示したブロック図である。(A) It is a block diagram which showed an example of the connection between control boards. (B) (c) is a block diagram showing another example of connection between control boards. 制御基板間の接続の他の例を示したブロック図である。It is a block diagram which showed another example of the connection between control boards. (a)払出制御用マイクロコンピュータ770が備える主な端子を例示したものである。(b)払出制御マイコン770と外部デバイス(IC)との接続を示した図(一部抜粋)である。(A) The main terminals included in the payout control microcomputer 770 are illustrated. (B) It is a figure (partial excerpt) which showed the connection between a payout control microcomputer 770 and an external device (IC). メインコマンドの一例を示した図である。It is the figure which showed an example of the main command. 主基板、払出基板、外部端子板、および外部装置(ホールコンピュータ)の接続例を示した図である。It is a figure which showed the connection example of a main board, a payout board, an external terminal board, and an external device (hall computer). (a)主基板から出力する外部端子板信号の一例を示した図である。(b)払出基板から出力する外部端子板信号の一例を示した図である。(A) It is a figure which showed an example of the external terminal board signal which is output from a main board. (B) It is a figure which showed an example of the external terminal board signal output from a payout board. (a)上記図55に示した接続例に対して、主基板と払出基板の配置を逆にした接続例である。(b)主基板と払出基板の両方を直接、外部端子板に接続した接続例である。(A) This is a connection example in which the arrangement of the main board and the payout board is reversed with respect to the connection example shown in FIG. 55. (B) This is a connection example in which both the main board and the payout board are directly connected to the external terminal board. 主制御部タイマ割込処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the timer interrupt process of a main control part. 主制御部タイマ割込処理における外部出力信号設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the external output signal setting processing in the main control part timer interrupt processing. ステップS306における外部出力信号情報のマスク処理の一例を説明するための図である。It is a figure for demonstrating an example of the mask processing of the external output signal information in step S306. 外部出力信号設定処理の変形例1を示した図である。It is a figure which showed the modification 1 of the external output signal setting processing. 外部出力信号設定処理の変形例2を示した図である。It is a figure which showed the modification 2 of the external output signal setting processing. 払出制御マイコン770の端子配置の一例を示した図である。It is a figure which showed an example of the terminal arrangement of the payout control microcomputer 770. (a)パラレル出力ポートPOP1のデータを出力するための出力ポート1レジスタのデータ構成を示した図である。(b)7SEGデコーダを介して出力する場合の出力パターンを示した図である。(c)出力端子POP10〜POP16とLEDの各セグメントの対応関係を示した図である。(A) It is a figure which showed the data structure of the output port 1 register for outputting the data of a parallel output port POP1. (B) It is a figure which showed the output pattern at the time of output through a 7SEG decoder. (C) It is a figure which showed the correspondence relationship of each segment of an output terminal POP10-POP16 and an LED. エラー名称と、LEDの表示(LEDの点灯パターン)と、エラー表示LEDの状態と、払出表示LEDの状態の関係を示した図である。It is a figure which showed the relationship between the error name, the LED display (LED lighting pattern), the state of an error display LED, and the state of a payout display LED. (a)払出制御マイコン770が使用するタイマの一例を示した図である。(b)払出制御マイコン770のRAMの記憶領域の一部を示した図である。(A) It is a figure which showed an example of the timer used by the payout control microcomputer 770. (B) It is a figure which showed a part of the storage area of the RAM of the payout control microcomputer 770. (a)払出制御マイコン770で検出可能なエラーの一例を示した図である。、(b)扉開放エラーの発生条件であるガラス枠開放エラーと内枠開放エラーの組み合わせを示した図である。(A) It is a figure which showed an example of the error which can be detected by the payout control microcomputer 770. , (B) is a diagram showing a combination of a glass frame opening error and an inner frame opening error, which are conditions for generating a door opening error. 払出制御コマンドの一例を示した図である。It is a figure which showed an example of the payout control command. 送信コマンド処理を実行する際に用いる送信コマンド出力要求情報の一例(a)と一部の払出制御コマンドのデータ構成を示した図(b〜e)である。It is a figure (b to e) which showed the example (a) of the transmission command output request information used when executing the transmission command processing, and the data structure of some payout control commands. 払出制御部割込み処理の流れを示したフローチャートである。It is a flowchart which showed the flow of the payout control part interrupt processing. デバイス監視処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a device monitoring process. ポート出力処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a port output process. (a)発射強度切替スイッチ信号がオンの場合における払出制御部600から主制御部300への送信タイミングの一例を示したタイムチャートである。(b)発射強度切替スイッチ信号がオフの場合における払出制御部600から主制御部300への送信タイミングの一例を示したタイムチャートである。(A) It is a time chart which showed an example of the transmission timing from the payout control unit 600 to the main control unit 300 when the firing intensity changeover switch signal is on. (B) It is a time chart which showed an example of the transmission timing from the payout control unit 600 to the main control unit 300 when the firing intensity changeover switch signal is off. 主制御部300から第1副制御部400への送信タイミングの一例を示したタイムチャートである。It is a time chart which showed an example of the transmission timing from the main control unit 300 to the first sub-control unit 400. 主制御部300と払出制御部600の通信例1のタイミングチャートと所定のタイミングにおける変数の変化の一例を示した図である。It is a figure which showed the timing chart of the communication example 1 of the main control unit 300 and the payout control unit 600, and an example of the change of a variable at a predetermined timing. (a)賞球コマンド送信時のタイムチャートの拡大図である。(b)図75のt3に示す期間のタイムチャートの拡大図である。(A) It is an enlarged view of the time chart at the time of sending a prize ball command. (B) It is an enlarged view of the time chart of the period shown in t3 of FIG. 75. (a)1回の主制御部タイマ割込処理において始動口または入賞口の複数の入賞を検出した場合のタイムチャートの一例である。(b)払出制御部600からの通信確認コマンドの変形例を示すタイムチャートである。(A) This is an example of a time chart when a plurality of winnings at the starting port or the winning opening are detected in one main control unit timer interrupt process. (B) It is a time chart which shows the modification of the communication confirmation command from the payout control unit 600. 外部端子板信号の出力例1を示すタイムチャートである。It is a time chart which shows the output example 1 of an external terminal board signal. 外部端子板信号の出力例2を示すタイムチャートである。It is a time chart which shows the output example 2 of an external terminal board signal. 外部端子板信号の出力例3を示すタイムチャートである。It is a time chart which shows the output example 3 of an external terminal board signal. 外部端子板信号の出力例4を示すタイムチャートである。It is a time chart which shows the output example 4 of an external terminal board signal. 外部端子板信号の出力例5を示すタイムチャートである。It is a time chart which shows the output example 5 of an external terminal board signal. 外部端子板信号の出力例6を示すタイムチャートである。It is a time chart which shows the output example 6 of an external terminal board signal. 外部端子板信号の出力例7を示すタイムチャートである。It is a time chart which shows the output example 7 of an external terminal board signal. 外部端子板信号の出力例8を示すタイムチャートである。It is a time chart which shows the output example 8 of an external terminal board signal. 実施形態3に係る電源基板182、払出基板170、および主基板156間の電源供給例を示す図である。It is a figure which shows the example of the power supply between the power supply board 182, the payout board 170, and the main board 156 which concerns on Embodiment 3. 主基板156内の電源供給例を示す図である。It is a figure which shows the example of the power supply in the main board 156. 電源基板182と主基板156内の電源供給例を示す図である。It is a figure which shows the example of the power supply in a power supply board 182 and a main board 156. 主基板156内の電源供給例を示す図である。It is a figure which shows the example of the power supply in the main board 156. 受信コマンドバッファエリアの一例を示す図である。It is a figure which shows an example of the received command buffer area. 受信コマンドバッファエリアの一例を示す図である。It is a figure which shows an example of the received command buffer area. (a)受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理において使用する記憶領域の一部の構成を示す概要図である。(b)受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理において使用する記憶領域の一部の構成を示す概要図である。(c)受信コマンドの一例を示す図である。(A) It is a schematic diagram which shows the structure of a part of the storage area used in the received command processing, the received command acquisition process, and the received command analysis process. (B) It is a schematic diagram which shows the structure of a part of the storage area used in the received command processing, the received command acquisition process, and the received command analysis process. (C) It is a figure which shows an example of the received command. 受信コマンド処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command processing. 受信コマンド取得処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command acquisition processing. 受信コマンド解析処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command analysis processing. 受信コマンド解析処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command analysis processing. 受信コマンド解析処理の詳細を示す概要図である。It is a schematic diagram which shows the detail of the received command analysis processing. (a)特図当否判定用低確率状態テーブル(特図1)の一例を示したものである。(b)特図当否判定用高確率状態テーブル(特図1)の一例を示したものである。(c)は特図当否判定用低確率状態テーブル(特図2)の一例を示したものである。(d)は特図当否判定用高確率状態テーブル(特図2)の一例を示したものである。(A) An example of a low-probability state table (Special Figure 1) for determining whether or not a special figure is correct is shown. (B) An example of a high-probability state table (Special Figure 1) for determining whether or not a special figure is correct is shown. (C) shows an example of a low-probability state table (special figure 2) for determining whether or not a special figure is correct. (D) shows an example of a high-probability state table (special figure 2) for determining whether or not a special figure is correct.

<実施形態1>
以下、図面を用いて、本発明の実施形態1に係る遊技台(パチンコ機100)について詳細に説明する。
<Embodiment 1>
Hereinafter, the game console (pachinko machine 100) according to the first embodiment of the present invention will be described in detail with reference to the drawings.

<全体構成>
まず、図1〜図50を用いて、本発明の実施形態1に係るパチンコ機100の全体構成について説明する。なお、同図はパチンコ機100を正面側(遊技者側)から見た外観斜視図である。
<Overall configuration>
First, the overall configuration of the pachinko machine 100 according to the first embodiment of the present invention will be described with reference to FIGS. 1 to 50. The figure is an external perspective view of the pachinko machine 100 as viewed from the front side (player side).

パチンコ機100は、外部的構造として、外枠102と、本体104と、前面枠扉106と、球貯留皿付扉108と、発射装置110と、遊技盤200と、をその前面に備える。 As an external structure, the pachinko machine 100 includes an outer frame 102, a main body 104, a front frame door 106, a door 108 with a ball storage plate, a launching device 110, and a game board 200 on the front surface thereof.

外枠102は、遊技機設置営業店に設けられた設置場所(島設備等)へと固定させるための縦長方形状から成る木製の枠部材である。本体104は、内枠と呼ばれ、外枠102の内部に備えられ、ヒンジ部112を介して外枠102に回動自在に装着された縦長方形状の遊技機基軸体となる部材である。また、本体104は、枠状に形成され、内側に空間部114を有している。また、本体104が開放された場合、本体104の開放を検出する不図示の内枠開放センサを備える。 The outer frame 102 is a wooden frame member having a vertically rectangular shape for fixing to an installation place (island equipment or the like) provided in a game machine installation shop. The main body 104 is called an inner frame, and is a member that is provided inside the outer frame 102 and serves as a vertical rectangular gaming machine base body that is rotatably attached to the outer frame 102 via a hinge portion 112. Further, the main body 104 is formed in a frame shape and has a space portion 114 inside. Further, when the main body 104 is opened, an inner frame opening sensor (not shown) for detecting the opening of the main body 104 is provided.

前面枠扉106は、ロック機能付きで且つ開閉自在となるようにパチンコ機100の前面側となる本体104の前面に対しヒンジ部112を介して装着され、枠状に構成されることでその内側を開口部とした扉部材である。なお、この前面枠扉106には、開口部にガラス製又は樹脂製の透明板部材118が設けられ、前面側には、スピーカ120や枠ランプ122が取り付けられている。前面枠扉106の後面と遊技盤200の前面とで遊技領域124を区画形成する。また、前面枠扉106が開放された場合、前面枠扉106の開放を検出する不図示の前面枠扉開放センサを備える。 The front frame door 106 is attached to the front surface of the main body 104, which is the front side of the pachinko machine 100, via a hinge portion 112 so as to have a lock function and can be opened and closed. Is a door member having an opening. The front frame door 106 is provided with a transparent plate member 118 made of glass or resin at the opening, and a speaker 120 and a frame lamp 122 are attached to the front side. The game area 124 is divided between the rear surface of the front frame door 106 and the front surface of the game board 200. Further, when the front frame door 106 is opened, a front frame door opening sensor (not shown) for detecting the opening of the front frame door 106 is provided.

球貯留皿付扉108は、パチンコ機100の前面において本体104の下側に対して、ロック機能付きで且つ開閉自在となるように装着された扉部材である。球貯留皿付扉108は、複数の遊技球(以下、単に「球」と称する場合がある)が貯留可能で且つ発射装置110へと遊技球を案内させる通路が設けられている上皿126と、上皿126に貯留しきれない遊技球を貯留する下皿128と、遊技者の操作によって上皿126に貯留された遊技球を下皿128へと排出させる球抜ボタン130と、遊技者の操作によって下皿128に貯留された遊技球を遊技球収集容器(俗称、ドル箱)へと排出させる球排出レバー132と、遊技者の操作によって発射装置110へと案内された遊技球を遊技盤200の遊技領域124へと打ち出す球発射ハンドル134と、遊技者の操作によって各種演出装置206の演出態様に変化を与えるチャンスボタン136と、チャンスボタン136を発光させるチャンスボタンランプ138と、遊技店に設置されたカードユニット(CRユニット)に対して球貸し指示を行う球貸操作ボタン140と、カードユニットに対して遊技者の残高の返却指示を行う返却操作ボタン142と、遊技者の残高やカードユニットの状態を表示する球貸表示部144と、を備える。また、下皿128が満タンであることを検出する不図示の下皿満タンセンサを備える。 The door 108 with a ball storage plate is a door member attached to the lower side of the main body 104 on the front surface of the pachinko machine 100 so as to have a lock function and to be opened and closed. The door 108 with a ball storage plate is an upper plate 126 that can store a plurality of game balls (hereinafter, may be simply referred to as “balls”) and is provided with a passage for guiding the game balls to the launching device 110. , The lower plate 128 that stores the game balls that cannot be stored in the upper plate 126, the ball removal button 130 that discharges the game balls stored in the upper plate 126 to the lower plate 128 by the operation of the player, and the player's A ball discharge lever 132 that discharges the game balls stored in the lower plate 128 to the game ball collection container (commonly known as a dollar box) by operation, and a game board that guides the game balls to the launching device 110 by the operation of the player. A ball launching handle 134 that launches into the game area 124 of 200, a chance button 136 that changes the production mode of various production devices 206 by the operation of the player, a chance button lamp 138 that emits the chance button 136, and a game store. A ball lending operation button 140 that gives an instruction to lend a ball to the installed card unit (CR unit), a return operation button 142 that gives an instruction to return the player's balance to the card unit, and a player's balance and a card. It is provided with a ball rental display unit 144 that displays the state of the unit. Further, a lower plate full tank sensor (not shown) for detecting that the lower plate 128 is full is provided.

発射装置110は、本体104の下方に取り付けられ、球発射ハンドル134が遊技者に操作されることによって回動する発射杆146と、遊技球を発射杆146の先端で打突する発射槌148と、を備える。 The launching device 110 is attached below the main body 104, and has a launching rod 146 that rotates when the ball launching handle 134 is operated by the player, and a launching mallet 148 that hits the game ball with the tip of the launching rod 146. , Equipped with.

遊技盤200は、前面に遊技領域124を有し、本体104の空間部114に臨むように、所定の固定部材を用いて本体104に着脱自在に装着されている。なお、遊技領域124は、遊技盤200を本体104に装着した後、開口部から観察することができる。 The game board 200 has a game area 124 on the front surface, and is detachably attached to the main body 104 by using a predetermined fixing member so as to face the space 114 of the main body 104. The game area 124 can be observed from the opening after the game board 200 is attached to the main body 104.

<遊技台の背面>
図2は、図1のパチンコ機100を背面側から見た外観図である。パチンコ機100の背面上部には、上方に開口した開口部を有し、遊技球を一時的に貯留するための球タンク150と、この球タンク150の下方に位置し、球タンク150の底部に形成した連通孔を通過して落下する球を背面右側に位置する払出装置152に導くためのタンクレール154とを配設している。
<Back of the game console>
FIG. 2 is an external view of the pachinko machine 100 of FIG. 1 as viewed from the rear side. The upper part of the back surface of the pachinko machine 100 has an opening that opens upward, and is located at the bottom of the ball tank 150, which is located below the ball tank 150 for temporarily storing the game balls. A tank rail 154 for guiding the ball falling through the formed communication hole to the payout device 152 located on the right side of the back surface is arranged.

払出装置152は、筒状の部材からなり、その内部には、不図示の払出モータとスプロケットと払出センサとを備えている。スプロケットは、払出モータによって回転可能に構成されており、タンクレール154を通過して払出装置152内に流下した遊技球を一時的に滞留させると共に、払出モータを駆動して所定角度だけ回転することにより、一時的に滞留した遊技球を払出装置152の下方へ1個ずつ送り出すように構成している。 The payout device 152 is composed of a cylindrical member, and includes a payout motor (not shown), a sprocket, and a payout sensor inside the payout device 152. The sprocket is configured to be rotatable by a payout motor, and the game ball that has passed through the tank rail 154 and has flowed down into the payout device 152 is temporarily retained, and the payout motor is driven to rotate the sprocket by a predetermined angle. As a result, the temporarily stagnant game balls are sent out one by one below the payout device 152.

払出センサは、スプロケットが送り出した遊技球の通過を検知するためのセンサであり、遊技球が通過しているときにハイまたはローの何れか一方の信号を、遊技球が通過していないときはハイまたはローの何れか他方の信号を払出制御部600へ出力する。なお、この払出センサを通過した遊技球は、不図示の球レールを通過してパチンコ機100の表側に配設した上皿126に到達するように構成しており、パチンコ機100は、この構成により遊技者に対して球の払い出しを行う。 The payout sensor is a sensor for detecting the passage of the game ball sent out by the sprocket, and when the game ball is passing, either a high or low signal is passed, and when the game ball is not passing. The signal of either high or low is output to the payout control unit 600. The game ball that has passed through the payout sensor is configured to pass through a ball rail (not shown) and reach the upper plate 126 arranged on the front side of the pachinko machine 100, and the pachinko machine 100 has this configuration. The ball is paid out to the player.

払出装置152の図中左側には、遊技全般の制御処理を行う主制御部300を構成する主基板156を収納する主基板ケース158、主制御部300が生成した処理情報に基づいて演出に関する制御処理を行う第1副制御部400を構成する第1副基板160を収納する第1副基板ケース162、第1副制御部400が生成した処理情報に基づいて演出に関する制御処理を行う第2副制御部500を構成する第2副基板164を収納する第2副基板ケース166、遊技球の払出に関する制御処理を行う払出制御部600を構成するとともに遊技店員の操作によってエラーを解除するエラー解除スイッチ168を備える払出基板170を収納する払出基板ケース172、遊技球の発射に関する制御処理を行う発射制御部630を構成する発射基板174を収納する発射基板ケース176、各種電気的遊技機器に電源を供給する電源制御部660を構成するとともに遊技店員の操作によって電源をオンオフする電源スイッチ178と電源投入時に操作されることによってRWMクリア信号を主制御部300に出力するRWMクリアスイッチ180とを備える電源基板182を収納する電源基板ケース184、および払出制御部600とカードユニットとの信号の送受信を行うCRインターフェース部186を配設している。 On the left side of the drawing of the payout device 152, there is a main board case 158 that houses the main board 156 that constitutes the main control unit 300 that performs control processing of the entire game, and control related to the effect based on the processing information generated by the main control unit 300. The first sub-board case 162 that houses the first sub-board 160 that constitutes the first sub-control unit 400 that performs processing, and the second sub that performs control processing related to the effect based on the processing information generated by the first sub-control unit 400. An error release switch that constitutes a second sub-board case 166 that houses the second sub-board 164 that constitutes the control unit 500, a payout control unit 600 that performs control processing related to payout of game balls, and cancels an error by an operation of a game clerk. Power is supplied to the payout board case 172 that houses the payout board 170 including 168, the launch board case 176 that houses the launch board 174 that constitutes the launch control unit 630 that performs control processing related to the launch of the game ball, and various electrical game devices. A power supply board including a power supply switch 178 that turns on and off the power supply by the operation of a game clerk and an RWM clear switch 180 that outputs an RWM clear signal to the main control unit 300 when the power is turned on. A power supply board case 184 for accommodating 182 and a CR interface unit 186 for transmitting and receiving signals between the payout control unit 600 and the card unit are arranged.

以下、主制御部300を構成する主基板156を主制御基板156という場合があり、払出制御部600を構成する払出基板170を払出制御基板170という場合がある。主制御基板156と払出制御基板170は別体の基板として構成される。 Hereinafter, the main board 156 constituting the main control unit 300 may be referred to as the main control board 156, and the payout board 170 constituting the payout control unit 600 may be referred to as the payout control board 170. The main control board 156 and the payout control board 170 are configured as separate boards.

<遊技台の正面>
図3は、遊技盤200を正面から見た略示正面図である。遊技盤200には、外レール202と内レール204とを配設し、遊技球が転動可能な遊技領域124を区画形成している。
<Front of the game table>
FIG. 3 is a schematic front view of the game board 200 as viewed from the front. The outer rail 202 and the inner rail 204 are arranged on the game board 200 to form a game area 124 in which the game ball can roll.

遊技領域124の略中央には、演出装置206を配設している。この演出装置206には、略中央に装飾図柄表示装置208を配設し、その周囲に、普通図柄表示装置210と、第1特別図柄表示装置212と、第2特別図柄表示装置214と、普通図柄保留ランプ216と、第1特別図柄保留ランプ218と、第2特別図柄保留ランプ220と、高確中ランプ222を配設している。なお、以下、普通図柄を「普図」、特別図柄を「特図」と称する場合がある。 An effect device 206 is arranged at substantially the center of the game area 124. In this effect device 206, a decorative symbol display device 208 is arranged substantially in the center, and a normal symbol display device 210, a first special symbol display device 212, a second special symbol display device 214, and ordinary symbols are arranged around the decorative symbol display device 208. A symbol holding lamp 216, a first special symbol holding lamp 218, a second special symbol holding lamp 220, and a high-accuracy middle lamp 222 are arranged. Hereinafter, a normal symbol may be referred to as a "normal symbol" and a special symbol may be referred to as a "special symbol".

演出装置206は、演出可動体224を動作して演出を行うものであり、詳細については後述する。装飾図柄表示装置208は、装飾図柄ならびに演出に用いる様々な表示を行うための表示装置であり、本実施例では液晶表示装置(Liquid Crystal Display)によって構成する。この装飾図柄表示装置208は、左図柄表示領域208a、中図柄表示領域208b、右図柄表示領域208cおよび演出表示領域208dの4つの表示領域に分割し、左図柄表示領域208a、中図柄表示領域208bおよび右図柄表示領域208cはそれぞれ異なった装飾図柄を表示し、演出表示領域208dは演出に用いる画像を表示する。さらに、各表示領域208a、208b、208c、208dの位置や大きさは、装飾図柄表示装置208の表示画面内で自由に変更することを可能としている。なお、装飾図柄表示装置208として液晶表示装置を採用しているが、液晶表示装置でなくとも、種々の演出や種々の遊技情報を表示可能に構成されていればよく、例えば、ドットマトリクス表示装置、7セグメント表示装置、有機EL(ElectroLuminescence)表示装置、リール(ドラム)式表示装置、リーフ式表示装置、プラズマディスプレイ、プロジェクタを含む他の表示デバイスを採用してもよい。 The effect device 206 operates the effect movable body 224 to perform the effect, and the details will be described later. The decorative design display device 208 is a display device for displaying various displays used for the decorative design and the effect, and in this embodiment, it is configured by a liquid crystal display device (Liquid Crystal Display). The decorative symbol display device 208 is divided into four display areas, a left symbol display area 208a, a middle symbol display area 208b, a right symbol display area 208c, and an effect display area 208d, and the left symbol display area 208a and the middle symbol display area 208b. The right symbol display area 208c displays different decorative symbols, and the effect display area 208d displays an image used for the effect. Further, the positions and sizes of the display areas 208a, 208b, 208c, and 208d can be freely changed in the display screen of the decorative symbol display device 208. Although a liquid crystal display device is used as the decorative pattern display device 208, it does not have to be a liquid crystal display device as long as it can display various effects and various game information. For example, a dot matrix display device may be used. , 7-segment display device, organic EL (Electro Liquid Crystal) display device, reel (drum) type display device, leaf type display device, plasma display, and other display devices including a projector may be adopted.

普図表示装置210は、普図の表示を行うための表示装置であり、本実施例では7セグメントLEDによって構成する。第1特図表示装置212および第2特図表示装置214は、特図の表示を行うための表示装置であり、本実施例では7セグメントLEDによって構成する。 The normal figure display device 210 is a display device for displaying a normal figure, and is configured by a 7-segment LED in this embodiment. The first special figure display device 212 and the second special figure display device 214 are display devices for displaying special figures, and in this embodiment, they are composed of 7-segment LEDs.

普図保留ランプ216は、保留している普図変動遊技(詳細は後述)の数を示すためのランプであり、本実施例では、普図変動遊技を所定数(例えば、2つ)まで保留することを可能としている。第1特図保留ランプ218および第2特図保留ランプ220は、保留している特図変動遊技(詳細は後述)の数を示すためのランプであり、本実施例では、特図変動遊技を所定数(例えば、4つ)まで保留することを可能としている。高確中ランプ222は、遊技状態が大当りが発生し易い高確率状態であること、または高確率状態になることを示すためのランプであり、遊技状態を大当りが発生し難い低確率状態から高確率状態にする場合に点灯し、高確率状態から低確率状態にする場合に消灯する。 The normal figure holding lamp 216 is a lamp for indicating the number of holding normal figure variable games (details will be described later), and in this embodiment, the normal figure variable games are held up to a predetermined number (for example, two). It is possible to do. The first special figure holding lamp 218 and the second special figure holding lamp 220 are lamps for indicating the number of special figure changing games (details will be described later) being held, and in this embodiment, the special figure changing game is performed. It is possible to hold up to a predetermined number (for example, four). The high-probability middle lamp 222 is a lamp for indicating that the gaming state is in a high-probability state in which a big hit is likely to occur, or is in a high-probability state. Turns on when changing from a high probability state to a low probability state, and turns off when changing from a high probability state to a low probability state.

また、この演出装置206の周囲には、所定の球進入口、例えば、一般入賞口226と、普図始動口228と、第1特図始動口230と、第2特図始動口232と、可変入賞口234を配設している。 Further, around the effect device 206, there are predetermined ball entrances, for example, a general winning opening 226, a normal drawing starting port 228, a first special drawing starting port 230, and a second special drawing starting port 232. A variable winning opening 234 is arranged.

一般入賞口226は、本実施例では遊技盤200に複数配設しており、この一般入賞口226への入球を所定の球検出センサ(図示省略)が検出した場合(一般入賞口226に入賞した場合)、払出装置152を駆動し、所定の個数(例えば、10個)の球を賞球として上皿126に排出する。上皿126に排出した球は遊技者が自由に取り出すことが可能であり、これらの構成により、入賞に基づいて賞球を遊技者に払い出すようにしている。なお、一般入賞口226に入球した球は、パチンコ機100の裏側に誘導した後、遊技島側に排出する。本実施例では、入賞の対価として遊技者に払い出す球を「賞球」、遊技者に貸し出す球を「貸球」と区別して呼ぶ場合があり、「賞球」と「貸球」を総称して「球(遊技球)」と呼ぶ。 In this embodiment, a plurality of general winning openings 226 are arranged on the game board 200, and when a predetermined ball detection sensor (not shown) detects a ball entering the general winning opening 226 (general winning opening 226). (When a prize is won), the payout device 152 is driven, and a predetermined number (for example, 10) of balls are discharged to the upper plate 126 as prize balls. The balls discharged to the upper plate 126 can be freely taken out by the player, and with these configurations, the prize balls are paid out to the player based on the winning. The ball that has entered the general winning opening 226 is guided to the back side of the pachinko machine 100 and then discharged to the game island side. In this embodiment, a ball to be paid out to a player as a consideration for winning a prize may be referred to as a "prize ball", and a ball to be lent to a player may be referred to as a "rental ball". Then, it is called a "ball (game ball)".

普図始動口228は、ゲートやスルーチャッカーと呼ばれる、遊技領域124の所定の領域を球が通過したか否かを判定するための装置で構成しており、本実施例では遊技盤200の左側に1つ配設している。普図始動口228を通過した球は一般入賞口226に入球した球と違って、遊技島側に排出することはない。球が普図始動口228を通過したことを所定の球検出センサが検出した場合、パチンコ機100は、普図表示装置210による普図変動遊技を開始する。 The normal drawing start port 228 is configured by a device called a gate or a through chucker for determining whether or not a ball has passed a predetermined area of the game area 124. In this embodiment, the left side of the game board 200 is used. One is arranged in. The ball that has passed through the starting port 228 is not discharged to the game island side, unlike the ball that has entered the general winning opening 226. When the predetermined ball detection sensor detects that the ball has passed through the normal drawing start port 228, the pachinko machine 100 starts the normal drawing variation game by the normal drawing display device 210.

第1特図始動口230は、本実施例では遊技盤200の中央に1つだけ配設している。この第1特図始動口230への入球を所定の球検出センサが検出した場合、後述する払出装置152を駆動し、所定の個数(例えば、3個)の球を賞球として上皿126に排出するとともに、第1特図表示装置212による特図変動遊技を開始する。なお、第1特図始動口230に入球した球は、パチンコ機100の裏側に誘導した後、遊技島側に排出する。 In this embodiment, only one starting port 230 for the first special figure is arranged in the center of the game board 200. When a predetermined ball detection sensor detects the entry of balls into the first special figure start port 230, the payout device 152, which will be described later, is driven, and a predetermined number (for example, 3) of balls are used as prize balls in the upper plate 126. At the same time, the special figure variation game by the first special figure display device 212 is started. The ball that has entered the first special figure start port 230 is guided to the back side of the pachinko machine 100 and then discharged to the game island side.

第2特図始動口232は、電動チューリップ(電チュー)と呼ばれ、本実施例では第1特図始動口230の真下に1つだけ配設している。この第2特図始動口232は、左右に開閉自在な羽根部材232aを備え、羽根部材232aの閉鎖中は球の入球が不可能であり、普図変動遊技に当選し、普図表示装置210が当り図柄を停止表示した場合に羽根部材232aが所定の時間間隔、所定の回数で開閉する。第2特図始動口232への入球を所定の球検出センサが検出した場合、払出装置152を駆動し、所定の個数(例えば、4個)の球を賞球として上皿126に排出するとともに、第2特図表示装置214による特図変動遊技を開始する。なお、第2特図始動口232に入球した球は、パチンコ機100の裏側に誘導した後、遊技島側に排出する。 The second special figure starting port 232 is called an electric tulip (electric chew), and in this embodiment, only one is arranged directly below the first special figure starting port 230. The second special drawing start port 232 is provided with a blade member 232a that can be opened and closed to the left and right, and it is impossible for a ball to enter while the blade member 232a is closed. When the 210 hits and the symbol is stopped and displayed, the blade member 232a opens and closes at a predetermined time interval and a predetermined number of times. When a predetermined ball detection sensor detects a ball entering the start port 232 of the second special figure, the payout device 152 is driven and a predetermined number (for example, 4) of balls are discharged to the upper plate 126 as prize balls. At the same time, the special figure variation game by the second special figure display device 214 is started. The ball that has entered the second special figure start port 232 is guided to the back side of the pachinko machine 100 and then discharged to the game island side.

可変入賞口234は、大入賞口またはアタッカーと呼ばれ、本実施例では遊技盤200の中央部下方に1つだけ配設している。この可変入賞口234は、開閉自在な扉部材234aを備え、扉部材234aの閉鎖中は球の入球が不可能であり、特図変動遊技に当選して特図表示装置が大当り図柄を停止表示した場合に扉部材234aが所定の時間間隔(例えば、開放時間29秒、閉鎖時間1.5秒)、所定の回数(例えば15回)で開閉する。可変入賞口234への入球を所定の球検出センサが検出した場合、払出装置152を駆動し、所定の個数(例えば、15個)の球を賞球として上皿126に排出する。なお、可変入賞口234に入球した球は、パチンコ機100の裏側に誘導した後、遊技島側に排出する。 The variable winning opening 234 is called a large winning opening or an attacker, and in this embodiment, only one is arranged below the central portion of the game board 200. This variable winning opening 234 includes a door member 234a that can be opened and closed, and it is impossible for a ball to enter while the door member 234a is closed. When displayed, the door member 234a opens and closes at a predetermined time interval (for example, opening time 29 seconds, closing time 1.5 seconds) and a predetermined number of times (for example, 15 times). When a predetermined ball detection sensor detects a ball entering the variable winning opening 234, the payout device 152 is driven to discharge a predetermined number (for example, 15) of balls as prize balls to the upper plate 126. The ball that has entered the variable winning opening 234 is guided to the back side of the pachinko machine 100 and then discharged to the game island side.

さらに、これらの入賞口や始動口の近傍には、風車と呼ばれる円盤状の打球方向変換部材236や、遊技釘238を複数個、配設していると共に、内レール204の最下部には、いずれの入賞口や始動口にも入賞しなかった球をパチンコ機100の裏側に誘導した後、遊技島側に排出するためのアウト口を設けている。 Further, a plurality of disk-shaped ball striking direction changing members 236 called windmills and game nails 238 are arranged in the vicinity of these winning openings and starting openings, and at the bottom of the inner rail 204, An out port is provided for guiding a ball that has not won a prize to any of the winning openings or starting openings to the back side of the pachinko machine 100 and then discharging the ball to the game island side.

このパチンコ機100は、遊技者が上皿126に貯留している球を発射レールの発射位置に供給し、遊技者の操作ハンドルの操作量に応じた強度で発射モータを駆動し、発射杆146および発射槌148によって外レール202、内レール204を通過させて遊技領域124に打ち出す。そして、遊技領域124の上部に到達した球は、打球方向変換部材236や遊技釘238等によって進行方向を変えながら下方に落下し、入賞口(一般入賞口226、可変入賞口234)や始動口(第1特図始動口230、第2特図始動口232)に入賞するか、いずれの入賞口や始動口にも入賞することなく、または普図始動口228を通過するのみでアウト口240に到達する。 In this pachinko machine 100, the player supplies the ball stored in the upper plate 126 to the launch position of the launch rail, drives the launch motor with a strength corresponding to the operation amount of the player's operation handle, and launches the hammer 146. And the launching mallet 148 passes the outer rail 202 and the inner rail 204 and launches them into the game area 124. Then, the ball that has reached the upper part of the game area 124 falls downward while changing the traveling direction by the hitting direction changing member 236, the game nail 238, or the like, and the winning opening (general winning opening 226, variable winning opening 234) or the starting opening. (1st special figure start port 230, 2nd special figure start port 232), or without winning any of the winning ports or start ports, or just passing through the normal figure start port 228, the out port 240 To reach.

<演出装置206>
次に、パチンコ機100の演出装置206について説明する。この演出装置206の前面側には、遊技球の転動可能な領域にワープ装置242およびステージ244を配設し、遊技球の転動不可能な領域に演出可動体224を配設している。また、演出装置206の背面側には、装飾図柄表示装置208および遮蔽装置246(以下、扉と称する場合がある)を配設している。すなわち、演出装置206において、装飾図柄表示装置208および遮蔽手段は、ワープ装置242、ステージ244、および演出可動体224の後方に位置することとなる。
<Direction device 206>
Next, the effect device 206 of the pachinko machine 100 will be described. On the front side of the effect device 206, a warp device 242 and a stage 244 are arranged in a rollable area of the game ball, and an effect movable body 224 is arranged in a non-rollable area of the game ball. .. Further, on the back side of the effect device 206, a decorative symbol display device 208 and a shielding device 246 (hereinafter, may be referred to as a door) are arranged. That is, in the effect device 206, the decorative symbol display device 208 and the shielding means are located behind the warp device 242, the stage 244, and the effect movable body 224.

ワープ装置242は、演出装置206の左上方に設けたワープ入口242aに入った遊技球を演出装置206の前面下方のステージ244にワープ出口242bから排出する。ステージ244は、ワープ出口242bから排出された球や遊技盤200の釘などによって乗り上げた球などが転動可能であり、ステージ244の中央部には、通過した球が第1特図始動口230へ入球し易くなるスペシャルルート244aを設けている。 The warp device 242 discharges the game ball entering the warp inlet 242a provided on the upper left side of the effect device 206 to the stage 244 below the front surface of the effect device 206 from the warp outlet 242b. In the stage 244, a ball discharged from the warp outlet 242b, a ball ridden by a nail of the game board 200, or the like can be rolled, and a passing ball is placed in the center of the stage 244 in the first special drawing start port 230. A special route 244a is provided to facilitate entry into the ball.

演出可動体224は、本実施形態では人間の右腕の上腕と前腕を模した上腕部224aと前腕部224bとからなり、肩の位置に上腕部224aを回動させる不図示の上腕モータと肘の位置に前腕部224bを回動させる不図示の前腕モータを備える。演出可動体224は、上腕モータと前腕モータによって装飾図柄表示装置208の前方を移動する。 In the present embodiment, the effect movable body 224 includes an upper arm portion 224a and a forearm portion 224b that imitate the upper arm and forearm of a human right arm, and an upper arm motor and an elbow (not shown) that rotate the upper arm portion 224a to the shoulder position. A forearm motor (not shown) for rotating the forearm portion 224b is provided at the position. The effect movable body 224 moves in front of the decorative symbol display device 208 by the upper arm motor and the forearm motor.

遮蔽装置246は、格子状の左扉246aおよび右扉246bからなり、装飾図柄表示装置208および前面ステージ244の間に配設する。左扉246aおよび右扉246bの上部には、不図示の2つのプーリに巻き回したベルトをそれぞれ固定している。すなわち、左扉246aおよび右扉246bは、モータによりプーリを介して駆動するベルトの動作に伴って左右にそれぞれ移動する。遮蔽手段は、左扉246aおよび右扉246bを閉じた状態ではそれぞれの内側端部が重なり、遊技者が装飾図柄表示装置208を視認し難いように遮蔽する。左扉246aおよび右扉246bを開いた状態ではそれぞれの内側端部が装飾図柄表示装置208の表示画面の外側端部と若干重なるが、遊技者は装飾図柄表示装置208の表示の全てを視認可能である。 The shielding device 246 is composed of a grid-like left door 246a and a right door 246b, and is arranged between the decorative symbol display device 208 and the front stage 244. Belts wound around two pulleys (not shown) are fixed to the upper parts of the left door 246a and the right door 246b, respectively. That is, the left door 246a and the right door 246b move to the left and right as the belt driven by the motor via the pulley operates. When the left door 246a and the right door 246b are closed, the shielding means overlaps the inner ends thereof, and shields the decorative symbol display device 208 so that it is difficult for the player to see it. When the left door 246a and the right door 246b are open, their inner ends slightly overlap with the outer ends of the display screen of the decorative symbol display device 208, but the player can visually recognize all the displays of the decorative symbol display device 208. Is.

また、左扉246aおよび右扉246bは、それぞれ任意の位置で停止可能であり、例えば、表示した装飾図柄がどの装飾図柄であるかを遊技者が識別可能な程度に、装飾図柄の一部だけを遮蔽するようなことができる。なお、左扉246aおよび右扉246bは、格子の孔から後方の装飾図柄表示装置208の一部を視認可能にしてもよいし、格子の孔の障子部分を半透明のレンズ体で塞ぎ、後方の装飾図柄表示装置208による表示を漠然と遊技者に視認させるようにしてもよいし、格子の孔の障子部分を完全に塞ぎ(遮蔽し)、後方の装飾図柄表示装置208を全く視認不可にしてもよい。 Further, the left door 246a and the right door 246b can be stopped at arbitrary positions, and for example, only a part of the decorative symbol can be identified by the player as to which decorative symbol the displayed decorative symbol is. Can be shielded. The left door 246a and the right door 246b may allow a part of the decorative pattern display device 208 behind the lattice to be visible from the holes in the lattice, or the shoji portion of the holes in the lattice may be closed with a semi-transparent lens body to the rear. The display by the decorative symbol display device 208 may be vaguely made visible to the player, or the obstacle portion of the hole in the lattice may be completely closed (shielded) so that the decorative symbol display device 208 at the rear is completely invisible. May be good.

<制御部>
次に、図4を用いて、このパチンコ機100の制御部の回路構成について詳細に説明する。なお、同図は制御部の回路ブロック図を示したものである。
<Control unit>
Next, the circuit configuration of the control unit of the pachinko machine 100 will be described in detail with reference to FIG. The figure shows a circuit block diagram of the control unit.

パチンコ機100の制御部は、大別すると、主に遊技の進行(例えば、遊技者による操作の検出、遊技状態の遷移、遊技媒体の払出制御、当否判定など)を制御する主制御部300と、主制御部300が送信するコマンド信号(以下、単に「コマンド」と呼ぶ)に応じて主に演出の制御を行う第1副制御部400と、第1副制御部400より送信されたコマンドに基づいて各種機器を制御する第2副制御部500と、主制御部300が送信するコマンドに応じて主に遊技球の払い出しに関する制御を行う払出制御部600と、遊技球の発射制御を行う発射制御部630と、パチンコ機100に供給される電源を制御する電源制御部660と、によって構成している。 The control unit of the pachinko machine 100 is roughly divided into a main control unit 300 that mainly controls the progress of the game (for example, detection of an operation by the player, transition of the game state, payout control of the game medium, hit / miss determination, etc.). , The first sub-control unit 400 that mainly controls the effect according to the command signal (hereinafter, simply referred to as "command") transmitted by the main control unit 300, and the command transmitted from the first sub-control unit 400. A second sub-control unit 500 that controls various devices based on the above, a payout control unit 600 that mainly controls the payout of the game ball in response to a command transmitted by the main control unit 300, and a launch that controls the launch of the game ball. It is composed of a control unit 630 and a power supply control unit 660 that controls the power supply to the pachinko machine 100.

<主制御部>
まず、パチンコ機100の主制御部300について説明する。
<Main control unit>
First, the main control unit 300 of the pachinko machine 100 will be described.

主制御部300は、主制御部300の全体を制御する基本回路302を備えており、この基本回路302には、CPU304と、制御プログラムや各種データを記憶するためのROM306と、一時的にデータを記憶するためのRAM308と、各種デバイスの入出力を制御するためのI/O310と、時間や回数等を計測するためのカウンタタイマ312と、プログラム処理の異常を監視するWDT314を搭載している。なお、ROM306やRAM308については他の記憶装置を用いてもよく、この点は後述する第1副制御部400についても同様である。また、RAMは、RWMと呼ばれることがある。この基本回路302のCPU304は、水晶発振器316bが出力する所定周期のクロック信号をシステムクロックとして入力して動作する。 The main control unit 300 includes a basic circuit 302 that controls the entire main control unit 300, and the basic circuit 302 includes a CPU 304, a ROM 306 for storing a control program and various data, and data temporarily. It is equipped with a RAM 308 for storing data, an I / O 310 for controlling input / output of various devices, a counter timer 312 for measuring time, number of times, etc., and a WDT 314 for monitoring abnormalities in program processing. .. Other storage devices may be used for the ROM 306 and the RAM 308, and this point is the same for the first sub-control unit 400, which will be described later. Also, RAM is sometimes referred to as RWM. The CPU 304 of the basic circuit 302 operates by inputting a clock signal of a predetermined cycle output by the crystal oscillator 316b as a system clock.

また、基本回路302には、水晶発振器316aが出力するクロック信号を受信する度に0〜65535の範囲で数値を変動させるハードウェア乱数カウンタとして使用しているカウンタ回路318(この回路には2つのカウンタを内蔵しているものとする)と、所定の球検出センサ、例えば各始動口、入賞口、可変入賞口を通過する遊技球を検出するセンサや、前面枠扉開放センサや内枠開放センサや下皿満タンセンサを含む各種センサ320が出力する信号を受信し、増幅結果や基準電圧との比較結果をカウンタ回路318および基本回路302に出力するためのセンサ回路322と、所定の図柄表示装置、例えば第1特図表示装置212や第2特図表示装置214の表示制御を行うための駆動回路324と、所定の図柄表示装置、例えば普図表示装置210の表示制御を行うための駆動回路326と、各種状態表示部328(例えば、普図保留ランプ216、第1特図保留ランプ218、第2特図保留ランプ220、高確中ランプ222等)の表示制御を行うための駆動回路330と、所定の可動部材、例えば第2特図始動口232の羽根部材232aや可変入賞口234の扉部材234a等を開閉駆動する各種ソレノイド332を制御するための駆動回路334を接続している。 Further, the basic circuit 302 is a counter circuit 318 used as a hardware random number counter that fluctuates a numerical value in the range of 0 to 65535 each time a clock signal output by the crystal oscillator 316a is received (two in this circuit). (It is assumed that a counter is built-in) and a predetermined ball detection sensor, for example, a sensor that detects a game ball passing through each start port, a winning port, and a variable winning port, a front frame door opening sensor, and an inner frame opening sensor. A sensor circuit 322 for receiving signals output by various sensors 320 including a lower plate full tank sensor and outputting an amplification result and a comparison result with a reference voltage to a counter circuit 318 and a basic circuit 302, and a predetermined symbol display device. For example, a drive circuit 324 for controlling the display of the first special figure display device 212 and the second special figure display device 214, and a drive circuit for performing display control of a predetermined symbol display device, for example, the general figure display device 210. Drive circuit 330 for performing display control of 326 and various status display units 328 (for example, normal figure holding lamp 216, first special figure holding lamp 218, second special figure holding lamp 220, high accuracy middle lamp 222, etc.) And a drive circuit 334 for controlling various solenoids 332 that open and close a predetermined movable member, for example, a blade member 232a of the second special drawing start port 232, a door member 234a of the variable winning opening 234, and the like are connected.

なお、第1特図始動口230に球が入賞したことを球検出センサ320が検出した場合には、センサ回路322は球を検出したことを示す信号をカウンタ回路318に出力する。この信号を受信したカウンタ回路318は、第1特図始動口230に対応するカウンタのそのタイミングにおける値をラッチし、ラッチした値を、第1特図始動口230に対応する内蔵のカウンタ値記憶用レジスタに記憶する。また、カウンタ回路318は、第2特図始動口232に球が入賞したことを示す信号を受信した場合も同様に、第2特図始動口232に対応するカウンタのそのタイミングにおける値をラッチし、ラッチした値を、第2特図始動口232に対応する内蔵のカウンタ値記憶用レジスタに記憶する。 When the ball detection sensor 320 detects that the ball has won the first special figure start port 230, the sensor circuit 322 outputs a signal indicating that the ball has been detected to the counter circuit 318. Upon receiving this signal, the counter circuit 318 latches the value at that timing of the counter corresponding to the first special figure start port 230, and stores the latched value in the built-in counter value corresponding to the first special figure start port 230. Stored in the register. Further, when the counter circuit 318 receives a signal indicating that the ball has won the second special figure start port 232, the counter circuit 318 also latches the value at that timing of the counter corresponding to the second special figure start port 232. , The latched value is stored in the built-in counter value storage register corresponding to the second special figure start port 232.

さらに、基本回路302には、情報出力回路336を接続しており、主制御部300は、この情報出力回路336を介して、外部のホールコンピュータ(図示省略)等が備える情報入力回路350にパチンコ機100の遊技情報(例えば、遊技状態)を出力する。 Further, an information output circuit 336 is connected to the basic circuit 302, and the main control unit 300 pachinkos the information input circuit 350 provided in an external hall computer (not shown) or the like via the information output circuit 336. The game information (for example, the game state) of the machine 100 is output.

また、主制御部300には、電源制御部660から主制御部300に供給している電源の電圧値を監視する電圧監視回路338を設けており、この電圧監視回路338は、電源の電圧値が所定の値(本実施例では9V)未満である場合に電圧が低下したことを示す低電圧信号を基本回路302に出力する。 Further, the main control unit 300 is provided with a voltage monitoring circuit 338 that monitors the voltage value of the power supply supplied from the power supply control unit 660 to the main control unit 300, and the voltage monitoring circuit 338 provides the voltage value of the power supply. Is less than a predetermined value (9V in this embodiment), a low voltage signal indicating that the voltage has dropped is output to the basic circuit 302.

また、主制御部300には、電源が投入されると起動信号(リセット信号)を出力する起動信号出力回路(リセット信号出力回路)340を設けており、CPU304は、この起動信号出力回路340から起動信号を入力した場合に、遊技制御を開始する(詳細は後述する)。 Further, the main control unit 300 is provided with a start signal output circuit (reset signal output circuit) 340 that outputs a start signal (reset signal) when the power is turned on, and the CPU 304 is provided from the start signal output circuit 340. When the start signal is input, the game control is started (details will be described later).

また、主制御部300は、第1副制御部400にコマンドを送信するための出力インタフェースと、払出制御部600にコマンドを送信するための出力インタフェースをそれぞれ備えており、この構成により、第1副制御部400および払出制御部600との通信を可能としている。なお、主制御部300と第1副制御部400および払出制御部600との情報通信は一方向の通信であり、主制御部300は第1副制御部400および払出制御部600にコマンド等の信号を送信できるように構成しているが、第1副制御部400および払出制御部600からは主制御部300にコマンド等の信号を送信できないように構成している。 Further, the main control unit 300 includes an output interface for transmitting a command to the first sub control unit 400 and an output interface for transmitting a command to the payout control unit 600, respectively. Communication with the sub-control unit 400 and the payout control unit 600 is possible. Information communication between the main control unit 300, the first sub control unit 400, and the payout control unit 600 is one-way communication, and the main control unit 300 issues commands to the first sub control unit 400 and the payout control unit 600. Although it is configured so that signals can be transmitted, it is configured so that signals such as commands cannot be transmitted from the first sub-control unit 400 and the payout control unit 600 to the main control unit 300.

<副制御部>
次に、パチンコ機100の第1副制御部400について説明する。第1副制御部400は、主に主制御部300が送信したコマンド等に基づいて第1副制御部400の全体を制御する基本回路402を備えており、この基本回路402には、CPU404と、制御プログラムや各種演出データを記憶するためのROM406と、一時的にデータを記憶するためのRAM408と、各種デバイスの入出力を制御するためのI/O410と、時間や回数等を計測するためのカウンタタイマ412を搭載している。この基本回路402のCPU404は、水晶発信器414が出力する所定周期のクロック信号をシステムクロックとして入力して動作する。なお、ROM406は、制御プログラムと各種演出データとを別々のROMに記憶させてもよい。
<Sub-control unit>
Next, the first sub-control unit 400 of the pachinko machine 100 will be described. The first sub-control unit 400 includes a basic circuit 402 that mainly controls the entire first sub-control unit 400 based on a command or the like transmitted by the main control unit 300, and the basic circuit 402 includes a CPU 404 and a CPU 404. , ROM 406 for storing control programs and various production data, RAM 408 for temporarily storing data, I / O 410 for controlling input / output of various devices, and for measuring time, number of times, etc. The counter timer 412 of the above is installed. The CPU 404 of the basic circuit 402 operates by inputting a clock signal of a predetermined cycle output by the crystal oscillator 414 as a system clock. The ROM 406 may store the control program and various effect data in separate ROMs.

また、基本回路402には、スピーカ120(およびアンプ)の制御を行うための音源IC416と、各種ランプ418(例えば、チャンスボタンランプ138)の制御を行うための駆動回路420と、遮蔽装置246の駆動制御を行うための駆動回路432と、遮蔽装置246の現在位置を検出する遮蔽装置センサ430と、チャンスボタン136の押下を検出するチャンスボタン検出センサ426と、遮蔽装置センサ430やチャンスボタン検出センサ426からの検出信号を基本回路402に出力するセンサ回路428と、CPU404からの信号に基づいてROM406に記憶された画像データ等を読み出してVRAM436のワークエリアを使用して表示画像を生成して装飾図柄表示装置208に画像を表示するVDP434(ビデオ・ディスプレイ・プロセッサー)と、を接続している。 Further, the basic circuit 402 includes a sound source IC 416 for controlling the speaker 120 (and an amplifier), a drive circuit 420 for controlling various lamps 418 (for example, a chance button lamp 138), and a cloaking device 246. A drive circuit 432 for performing drive control, a cloaking device sensor 430 for detecting the current position of the cloaking device 246, a chance button detection sensor 426 for detecting the pressing of the chance button 136, a cloaking device sensor 430, and a chance button detection sensor. The sensor circuit 428 that outputs the detection signal from the 426 to the basic circuit 402, the image data stored in the ROM 406 based on the signal from the CPU 404, and the like are read out, and the work area of the VRAM 436 is used to generate a display image for decoration. A VDP434 (video display processor) that displays an image on the symbol display device 208 is connected to the symbol display device 208.

次に、パチンコ機100の第2副制御部500について説明する。第2副制御部500は、第1副制御部400が送信した制御コマンドを入力インタフェースを介して受信し、この制御コマンドに基づいて第2副制御部500の全体を制御する基本回路502を備えており、この基本回路502は、CPU504と、一時的にデータを記憶するためのRAM508と、各種デバイスの入出力を制御するためのI/O510と、時間や回数等を計測するためのカウンタタイマ512を搭載している。基本回路502のCPU504は、水晶発振器514が出力する所定周期のクロック信号をシステムクロックとして入力して動作し、第2副制御部500の全体を制御するための制御プログラム及びデータ、画像表示用のデータ等が記憶されたROM506が設けられている。 Next, the second sub-control unit 500 of the pachinko machine 100 will be described. The second sub-control unit 500 includes a basic circuit 502 that receives a control command transmitted by the first sub-control unit 400 via an input interface and controls the entire second sub-control unit 500 based on the control command. The basic circuit 502 includes a CPU 504, a RAM 508 for temporarily storing data, an I / O 510 for controlling input / output of various devices, and a counter timer for measuring time, number of times, and the like. It is equipped with 512. The CPU 504 of the basic circuit 502 operates by inputting a clock signal of a predetermined cycle output by the crystal oscillator 514 as a system clock, and controls a control program, data, and an image display for controlling the entire second sub-control unit 500. A ROM 506 in which data and the like are stored is provided.

また、基本回路502には、演出可動体224の駆動制御を行うための駆動回路516と、演出可動体224の現在位置を検出する演出可動体センサ424と、演出可動体センサ424からの検出信号を基本回路502に出力するセンサ回路518と、遊技盤用ランプ532の制御を行うための遊技盤用ランプ駆動回路530と、遊技台枠用ランプ542の制御を行うための遊技台枠用ランプ駆動回路540と、遊技盤用ランプ駆動回路530と遊技台枠用ランプ駆動回路540との間でシリアル通信による点灯制御を行うシリアル通信制御回路520と、を接続している。 Further, the basic circuit 502 includes a drive circuit 516 for controlling the drive of the effect movable body 224, an effect movable body sensor 424 that detects the current position of the effect movable body 224, and a detection signal from the effect movable body sensor 424. 518, a sensor circuit 518 for controlling the game board lamp 532, a game board lamp drive circuit 530 for controlling the game board lamp 532, and a game board frame lamp drive for controlling the game table frame lamp 542. A circuit 540, a serial communication control circuit 520 that controls lighting by serial communication between the game board lamp drive circuit 530 and the game underframe lamp drive circuit 540 are connected.

<払出制御部、発射制御部、電源制御部>
次に、パチンコ機100の払出制御部600、発射制御部630、電源制御部660について説明する。
<Payout control unit, launch control unit, power supply control unit>
Next, the payout control unit 600, the launch control unit 630, and the power supply control unit 660 of the pachinko machine 100 will be described.

払出制御部600は、主に主制御部300が送信したコマンド等の信号に基づいて払出装置152の払出モータ602を制御すると共に、払出センサ604が出力する制御信号に基づいて賞球または貸球の払い出しが完了したか否かを検出すると共に、インタフェース部606を介して、パチンコ機100とは別体で設けられたカードユニット608との通信を行う。 The payout control unit 600 mainly controls the payout motor 602 of the payout device 152 based on a signal such as a command transmitted by the main control unit 300, and a prize ball or a ball rental ball based on a control signal output by the payout sensor 604. It detects whether or not the payout is completed, and communicates with the card unit 608 provided separately from the pachinko machine 100 via the interface unit 606.

発射制御部630は、払出制御部600が出力する、発射許可または停止を指示する制御信号や、球発射ハンドル134内に設けた発射強度出力回路が出力する、遊技者による球発射ハンドル134の操作量に応じた発射強度を指示する制御信号に基づいて、発射杆146および発射槌148を駆動する発射モータ632の制御や、上皿126から発射装置110に球を供給する球送り装置634の制御を行う。 The launch control unit 630 is an operation of the ball launch handle 134 by the player, which is output by a control signal output by the payout control unit 600 to instruct launch permission or stop, and a launch intensity output circuit provided in the ball launch handle 134. Control of the launch motor 632 that drives the launch rod 146 and the launch mallet 148, and control of the ball feed device 634 that supplies balls from the upper plate 126 to the launch device 110 based on the control signal that indicates the launch intensity according to the amount. I do.

電源制御部660は、パチンコ機100に外部から供給される交流電源を直流化し、所定の電圧に変換して主制御部300、第1副制御部400等の各制御部や払出装置152等の各装置に供給する。さらに、電源制御部660は、外部からの電源が断たれた後も所定の部品(例えば主制御部300のRAM308等)に所定の期間(例えば10日間)電源を供給するための蓄電回路(例えば、コンデンサ)を備えている。なお、本実施形態では、電源制御部660から払出制御部600と第2副制御部500に所定電圧を供給し、払出制御部600から主制御部300と第2副制御部500と発射制御部630に所定電圧を供給しているが、各制御部や各装置に他の電源経路で所定電圧を供給してもよい。 The power supply control unit 660 converts the AC power supplied from the outside to the pachinko machine 100 into direct current, converts it into a predetermined voltage, and converts each control unit such as the main control unit 300 and the first sub control unit 400, the payout device 152, and the like. Supply to each device. Further, the power supply control unit 660 is a power storage circuit (for example, 10 days) for supplying power to a predetermined component (for example, RAM 308 of the main control unit 300) for a predetermined period (for example, 10 days) even after the power supply from the outside is cut off. , Capacitor). In this embodiment, the power supply control unit 660 supplies a predetermined voltage to the payout control unit 600 and the second sub control unit 500, and the payout control unit 600 supplies the main control unit 300, the second sub control unit 500, and the launch control unit. Although a predetermined voltage is supplied to the 630, a predetermined voltage may be supplied to each control unit or each device by another power supply path.

<図柄の種類>
次に、図5(a)〜(c)を用いて、パチンコ機100の第1特別図柄表示装置212、第2特別図柄表示装置214、装飾図柄表示装置208、普通図柄表示装置210が停止表示する特図および普図の種類について説明する。同図(a)は特図の停止図柄態様の一例を示したものである。
<Type of design>
Next, using FIGS. 5A to 5C, the first special symbol display device 212, the second special symbol display device 214, the decorative symbol display device 208, and the ordinary symbol display device 210 of the pachinko machine 100 are stopped and displayed. The types of special drawings and general drawings to be used will be explained. FIG. 3A shows an example of a stop symbol mode of the special figure.

第1特図始動口230に球が入球したことを第1始動口センサが検出したことを条件として特図1変動遊技が開始され、第2特図始動口232に球が入球したことを第2始動口センサが検出したことを条件として特図2変動遊技が開始される。特図1変動遊技が開始されると、第1特別図柄表示装置212は、7個のセグメントの全点灯と、中央の1個のセグメントの点灯を繰り返す「特図1の変動表示」を行う。また、特図2変動遊技が開始されると、第2特別図柄表示装置214は、7個のセグメントの全点灯と、中央の1個のセグメントの点灯を繰り返す「特図2の変動表示」を行う。これらの「特図1の変動表示」および「特図2の変動表示」が本発明にいう図柄の変動表示の一例に相当する。そして、特図1の変動開始前に決定した変動時間(本発明にいう変動時間が相当)が経過すると、第1特別図柄表示装置212は特図1の停止図柄態様を停止表示し、特図2の変動開始前に決定した変動時間(これも本発明にいう変動時間が相当)が経過すると、第2特別図柄表示装置214は特図2の停止図柄態様を停止表示する。したがって、「特図1の変動表示」を開始してから特図1の停止図柄態様を停止表示するまで、あるいは「特図2の変動表示」を開始してから特図2の停止図柄態様を停止表示するまでが本発明にいう図柄変動停止表示の一例に相当し、以下、この「特図1又は2の変動表示」を開始してから特図1又は2の停止図柄態様を停止表示するまでの一連の表示を図柄変動停止表示と称する。後述するように、図柄変動停止表示は複数回、連続して行われることがある。同図(a)には、図柄変動停止表示における停止図柄態様として「特図A」から「特図J」までの10種類の特図が示されており、図中の白抜きの部分が消灯するセグメントの場所を示し、黒塗りの部分が点灯するセグメントの場所を示している。 The special figure 1 variable game is started on the condition that the first special figure start port sensor detects that the ball has entered the first special figure start port 230, and the ball has entered the second special figure start port 232. 2 The variable game is started on condition that the second start port sensor detects. When the special figure 1 variable game is started, the first special symbol display device 212 performs "variable display of special figure 1" in which all seven segments are lit and one central segment is lit repeatedly. Further, when the special figure 2 variable game is started, the second special symbol display device 214 repeats the lighting of all seven segments and the lighting of one central segment, "variable display of special figure 2". conduct. These "variable display of special figure 1" and "variable display of special figure 2" correspond to an example of the variable display of the symbol according to the present invention. Then, when the fluctuation time determined before the start of the fluctuation of the special figure 1 (corresponding to the fluctuation time referred to in the present invention) elapses, the first special symbol display device 212 stops and displays the stop symbol mode of the special figure 1, and the special figure When the fluctuation time determined before the start of the fluctuation of No. 2 (which also corresponds to the fluctuation time referred to in the present invention) elapses, the second special symbol display device 214 stops and displays the stop symbol mode of the special figure 2. Therefore, from the start of the "variation display of the special figure 1" to the stop display of the stop symbol mode of the special figure 1, or after the start of the "variation display of the special figure 2", the stop symbol mode of the special figure 2 is displayed. The period up to the stop display corresponds to an example of the symbol variation stop display referred to in the present invention, and hereinafter, the stop symbol mode of the special figure 1 or 2 is stopped and displayed after the start of this "variation display of the special figure 1 or 2". The series of displays up to is called the symbol fluctuation stop display. As will be described later, the symbol fluctuation stop display may be performed a plurality of times in succession. In the figure (a), 10 types of special figures from "special figure A" to "special figure J" are shown as stop symbol modes in the symbol change stop display, and the white part in the figure is turned off. The location of the segment to be displayed is shown, and the location of the segment where the black part is lit is shown.

「特図A」は15ラウンド(15R)特別大当り図柄であり、「特図B」は15R大当り図柄である。本実施形態のパチンコ機100では、後述するように、特図変動遊技における大当りか否かの決定はハードウェア乱数の抽選によって行い、特別大当りか否かの決定はソフトウェア乱数の抽選によって行う。大当りと特別大当りの違いは、次回の特図変動遊技で、大当りに当選する確率が高い(特別大当り)か低い(大当り)かの違いである。以下、この大当りに当選する確率が高い状態のことを特図高確率状態と称し、その確率が低い状態のことを特図低確率状態と称する。また、15R特別大当り遊技終了後および15R大当り遊技終了後はいずれも時短状態に移行する。時短については詳しくは後述するが、時短状態に移行する状態のことを普図高確率状態と称し、時短状態に移行しない状態のことを普図低確率状態と称する。15R特別大当り図柄である「特図A」は、特図高確率普図高確率状態であり、15R大当り図柄である「特図B」は、特図低確率普図高確率状態である。これらの「特図A」および「特図B」は、遊技者に付与する利益量が相対的に大きな利益量になる図柄である。 "Special figure A" is a 15-round (15R) special jackpot symbol, and "special figure B" is a 15R jackpot symbol. In the pachinko machine 100 of the present embodiment, as will be described later, whether or not it is a big hit in the special figure variable game is determined by a lottery of hardware random numbers, and whether or not it is a special big hit is determined by a lottery of software random numbers. The difference between the big hit and the special big hit is whether the probability of winning the big hit is high (special big hit) or low (big hit) in the next special figure fluctuation game. Hereinafter, the state in which the probability of winning the jackpot is high is referred to as a special figure high probability state, and the state in which the probability is low is referred to as a special figure low probability state. In addition, after the end of the 15R special jackpot game and after the end of the 15R jackpot game, the time is shortened. The time saving will be described in detail later, but the state of transitioning to the time saving state is referred to as a normal figure high probability state, and the state of not shifting to the time saving state is referred to as a normal figure low probability state. The 15R special jackpot symbol "special figure A" is in the special figure high probability normal figure high probability state, and the 15R big hit symbol "special figure B" is in the special figure low probability normal figure high probability state. These "special figure A" and "special figure B" are symbols in which the amount of profit given to the player is a relatively large amount of profit.

「特図C」は突然確変と称される2R大当り図柄であり、特図高確率普図高確率状態である。すなわち、15Rである「特図A」と比べて、「特図C」は2Rである点が異なる。「特図D」は突然時短と称される2R大当り図柄であり、特図低確率普図高確率状態である。すなわち、15Rである「特図B」と比べて、「特図D」は2Rである点が異なる。 "Special figure C" is a 2R jackpot symbol called a sudden change, and is a special figure high probability normal figure high probability state. That is, the difference is that "Special Figure C" is 2R as compared with "Special Figure A" which is 15R. "Special figure D" is a 2R jackpot symbol called a sudden time reduction, and is a special figure low probability normal figure high probability state. That is, the difference is that "Special Figure D" is 2R as compared with "Special Figure B" which is 15R.

「特図E」は隠れ確変と称される2R大当り図柄であり、特図高確率普図低確率状態である。「特図F」は突然通常と称される2R大当り図柄であり、特図低確率普図低確率状態である。これら「特図E」および「特図F」はいずれも、2Rであるとともに、時短状態に移行しない状態である。 "Special figure E" is a 2R jackpot symbol called hidden probability variation, and is a special figure high probability normal figure low probability state. "Special figure F" is a 2R jackpot symbol suddenly called normal, and is in a special figure low probability normal figure low probability state. Both "Special Figure E" and "Special Figure F" are 2R and do not shift to the time saving state.

「特図G」は第1小当り図柄であり、「特図H」は第2小当り図柄であり、何れも特図低確率普図低確率状態である。ここにいう小当りは、2R時短無し大当りと同じものに相当する。すなわち、この「特図G」、「特図H」は「特図F」と同じ状態であるが、両者では装飾図柄表示装置208に表示される演出が異なり、あえて、同じ状態でも「特図G」、「特図H」と「特図F」を設けておくことで、遊技の興趣を高めている。 "Special figure G" is the first small hit symbol, and "special figure H" is the second small hit symbol, both of which are in the special figure low probability normal figure low probability state. The small hit here corresponds to the same as the big hit without 2R time reduction. That is, the "special figure G" and the "special figure H" are in the same state as the "special figure F", but the effect displayed on the decorative symbol display device 208 is different between the two, and even in the same state, the "special figure" is intentionally displayed. By providing "G", "Special Figure H" and "Special Figure F", the interest of the game is enhanced.

また、「特図I」は第1はずれ図柄であり、「特図J」は第2はずれ図柄であり、遊技者に付与する利益量が相対的に小さな利益量になる図柄である。 Further, "Special Figure I" is the first out-of-line symbol, and "Special Figure J" is the second out-of-line symbol, and the profit amount given to the player is a relatively small profit amount.

なお、本実施形態のパチンコ機100には、15R特別大当り図柄として「特図A」以外の図柄も用意されており、15R大当り図柄等の他の図柄についても同様である。 In the pachinko machine 100 of the present embodiment, a symbol other than "Special Figure A" is also prepared as a 15R special jackpot symbol, and the same applies to other symbols such as the 15R jackpot symbol.

図5(b)は装飾図柄の一例を示したものである。本実施形態の装飾図柄には、「装飾1」〜「装飾10」の10種類がある。第1特図始動口230または第2特図始動口232に球が入賞したこと、すなわち、第1特図始動口230に球が入球したことを第1始動口センサが検出したこと、あるいは第2特図始動口232に球が入球したことを第2始動口センサが検出したことを条件にして、装飾図柄表示装置208の左図柄表示領域208a、中図柄表示領域208b、右図柄表示領域208cの各図柄表示領域に、「装飾1」→「装飾2」→「装飾3」→・・・・「装飾9」→「装飾10」→「装飾1」→・・・の順番で表示を切り替える「装飾図柄の変動表示」を行う。そして、「特図B」の15R大当りを報知する場合には、図柄表示領域208a〜208cに15R大当りに対応する、同じ装飾図柄が3つ並んだ図柄組合せ(例えば「装飾1−装飾1−装飾1」や「装飾2−装飾2−装飾2」等)を停止表示する。「特図A」の15R特別大当りを報知する場合には、同じ奇数の装飾図柄が3つ並んだ図柄組合せ(例えば「装飾3−装飾3−装飾3」や「装飾7−装飾7−装飾7」等)を停止表示する。 FIG. 5B shows an example of a decorative pattern. There are 10 types of decorative patterns of the present embodiment, "decoration 1" to "decoration 10". The first start port sensor has detected that the ball has entered the first special figure start port 230 or the second special figure start port 232, that is, the ball has entered the first special figure start port 230, or On condition that the second starting port sensor detects that the ball has entered the second special symbol starting port 232, the left symbol display area 208a, the middle symbol display area 208b, and the right symbol display of the decorative symbol display device 208. In each symbol display area of area 208c, "decoration 1"-> "decoration 2"-> "decoration 3"-> ... "decoration 9"-> "decoration 10"-> "decoration 1"-> ... is displayed in this order. Perform "variable display of decorative pattern" to switch. Then, in the case of notifying the 15R jackpot of "special figure B", a symbol combination (for example, "decoration 1-decoration 1-decoration") in which three same decorative symbols corresponding to the 15R jackpot are arranged in the symbol display areas 208a to 208c (for example, "decoration 1-decoration 1-decoration") 1 ”and“ Decoration 2-Decoration 2-Decoration 2 ”, etc.) are stopped and displayed. When notifying the 15R special jackpot of "Special Figure A", a combination of three patterns of the same odd number of decorative symbols (for example, "Decoration 3-Decoration 3-Decoration 3" and "Decoration 7-Decoration 7-Decoration 7" "Etc.) is stopped and displayed.

また、「特図E」の隠れ確変と称される2R大当り、「特図F」の突然通常と称される2R大当り、あるいは「特図G」の第1小当り、「特図H」の第2小当りを報知する場合には、「装飾1−装飾2−装飾3」を停止表示する。さらに、「特図C」の突然確変と称される2R大当り、あるいは「特図D」の突然時短と称される2R大当りを報知する場合には、「装飾1−装飾3−装飾5」を停止表示する。一方、「特図I」の第1はずれ、「特図J」の第2はずれを報知する場合には、図柄表示領域208a〜208cに同図(b)に示す図柄組合せ以外の図柄組合せを停止表示する。 In addition, the 2R jackpot called "Hidden Probability Change" of "Special Figure E", the sudden 2R jackpot called "Special Figure F", or the first small hit of "Special Figure G", "Special Figure H" When notifying the second small hit, "decoration 1-decoration 2-decoration 3" is stopped and displayed. Furthermore, when notifying the 2R jackpot called "special figure C" sudden change or the 2R jackpot called "special figure D" sudden time reduction, "decoration 1-decoration 3-decoration 5" is used. Stop display. On the other hand, when notifying the first deviation of the "special figure I" and the second deviation of the "special figure J", the symbol combinations other than the symbol combinations shown in the figure (b) are stopped in the symbol display areas 208a to 208c. indicate.

図5(c)は普図の停止表示図柄の一例を示したものである。本実施形態の普図の停止表示態様には、当り図柄である「普図A」と、外れ図柄である「普図B」の2種類がある。普図始動口228を球が通過したことを上述のゲートセンサが検出したことに基づいて、普通図柄表示装置210は、7個のセグメントの全点灯と、中央の1個のセグメントの点灯を繰り返す「普図の変動表示」を行う。そして、普図変動遊技の当選を報知する場合には「普図A」を停止表示し、普図変動遊技の外れを報知する場合には「普図B」を停止表示する。この同図(c)においても、図中の白抜きの部分が消灯するセグメントの場所を示し、黒塗りの部分が点灯するセグメントの場所を示している。 FIG. 5C shows an example of a stop display symbol of a normal diagram. There are two types of stop display modes of the normal figure of the present embodiment: a hit symbol "Public figure A" and a missed symbol "Public figure B". Based on the above-mentioned gate sensor detecting that the ball has passed through the normal drawing start port 228, the normal symbol display device 210 repeats lighting of all seven segments and lighting of one central segment. Perform "variable display of general map". Then, "Fu-zu A" is stopped and displayed when notifying the winning of the Furu-zu fluctuating game, and "Fu-zu B" is stopped and displayed when notifying the deviation of the Furu-zu fluctuating game. Also in this figure (c), the white portion in the figure indicates the location of the segment that is extinguished, and the black portion indicates the location of the segment that is lit.

<主制御部から払出制御部に送信されたコマンドの処理>
図6は、本実施形態のパチンコ機100の主制御部300から払出制御部600に送信されたコマンドの処理について示す概要図である。
<Processing of commands sent from the main control unit to the payout control unit>
FIG. 6 is a schematic diagram showing processing of a command transmitted from the main control unit 300 of the pachinko machine 100 of the present embodiment to the payout control unit 600.

同図の如く、主制御部300と払出制御部600とはシリアル通信回線を介して電気的に接続されており、コマンド送信条件の成立があった場合に、主制御部300は払出制御部600に所定のコマンドを送信する。そして払出制御部600は、受信したコマンドを一旦(コマンドの解析より先に)、記憶手段(例えば、RAMなど)に記憶する処理と、記憶手段に記憶されたコマンドを解析する処理とを少なくとも行う。 As shown in the figure, the main control unit 300 and the payout control unit 600 are electrically connected via a serial communication line, and when the command transmission condition is satisfied, the main control unit 300 is the payout control unit 600. Send the specified command to. Then, the payout control unit 600 performs at least a process of temporarily storing the received command (prior to the analysis of the command) in the storage means (for example, RAM) and a process of analyzing the command stored in the storage means. ..

つまり、同図に示すように、第一の処理を行う主制御部300から第二の処理を行う払出制御部600に複数のコマンド(コマンド1、コマンド2)が送信された場合、コマンド1、コマンド2のいずれもRAMなどに記憶し、その後、記憶されたコマンド1、コマンド2をそれぞれ解析するものである。例えば、コマンド2は正常なコマンドであるが、コマンド1が不正なコマンドであるような場合であっても、いずれのコマンドも一旦、RAMなどに記憶する。その後、コマンドの解析処理が行われ、不正なコマンド1は破棄され、正常なコマンド2は破棄されずコマンドに対応した処理(第二の処理)が実行される。 That is, as shown in the figure, when a plurality of commands (command 1, command 2) are transmitted from the main control unit 300 that performs the first process to the payout control unit 600 that performs the second process, command 1, Both of the commands 2 are stored in RAM or the like, and then the stored commands 1 and 2 are analyzed. For example, even if command 2 is a normal command but command 1 is an invalid command, any command is temporarily stored in RAM or the like. After that, the command analysis process is performed, the invalid command 1 is discarded, the normal command 2 is not discarded, and the process corresponding to the command (second process) is executed.

<主制御部と払出制御部のシリアル通信>
図7を参照して、パチンコ機100の主制御部300と払出制御部600のシリアル通信について詳細に説明する。
<Serial communication between main control unit and payout control unit>
The serial communication between the main control unit 300 and the payout control unit 600 of the pachinko machine 100 will be described in detail with reference to FIG. 7.

図7は、パチンコ機100の主制御部300と払出制御部600のシリアル通信を説明するブロック図であり、図7(a)は、シリアル通信回路の概略ブロック図であり、図2(b)は、主制御部300と払出制御部600シリアル通信に関するレジスタを説明するブロック図である。また図7(c)は、主制御部300と払出制御部600シリアル通信の流れを説明するブロック図である。 FIG. 7 is a block diagram illustrating serial communication between the main control unit 300 and the payout control unit 600 of the pachinko machine 100, FIG. 7A is a schematic block diagram of the serial communication circuit, and FIG. 2B is a schematic block diagram. Is a block diagram illustrating registers related to serial communication between the main control unit 300 and the payout control unit 600. Further, FIG. 7C is a block diagram illustrating a flow of serial communication between the main control unit 300 and the payout control unit 600.

同図(a)を参照して説明すると、パチンコ機100は、遊技制御を少なくとも実行可能な主制御部用マイクロコンピュータ(マイクロプロセッサ)760と、賞球付与制御を少なくとも実行可能な払出制御部用マイクロコンピュータ(マイクロプロセッサ)770を有する。主制御部用マイクロコンピュータ760は、主制御部300を構成する主制御基板156に実装され、払出制御部用マイクロコンピュータは、払出制御部600を構成する払出制御基板170(主制御基板156とは別の基板)に実装される。主制御部用マイクロコンピュータ760と、払出制御部用マイクロコンピュータ770は、それぞれ同図(b)に示すシリアル通信回路750、752を内蔵し、信号(例えば、賞球コマンド)をシリアル通信で送受信することができる。 Explaining with reference to FIG. 3A, the pachinko machine 100 is for a main control unit microcomputer (microprocessor) 760 capable of at least executing game control and a payout control unit capable of at least executing prize ball giving control. It has a microcomputer (microprocessor) 770. The microcomputer 760 for the main control unit is mounted on the main control board 156 that constitutes the main control unit 300, and the microcomputer for the payout control unit is the payout control board 170 (what is the main control board 156) that constitutes the payout control unit 600. It is mounted on another board). The microcomputer 760 for the main control unit and the microcomputer 770 for the payout control unit have built-in serial communication circuits 750 and 752 shown in FIG. be able to.

主制御部用マイクロコンピュータ760は、シリアル通信用のレジスタとして例えば、ステータスレジスタ762、受信データレジスタ764、送信データレジスタ766、その他のレジスタ768を有する。また、主制御部用マイクロコンピュータ760は、汎用レジスタ(Aレジスタ712、HLレジスタ(ペアレジスタ)714、その他レジスタ716など)を含むCPUコアレジスタ710や、ROM306、RAM(バッファ)308等を備える。 The microcomputer 760 for the main control unit has, for example, a status register 762, a reception data register 764, a transmission data register 766, and other registers 768 as registers for serial communication. Further, the main control unit microcomputer 760 includes a CPU core register 710 including general-purpose registers (A register 712, HL register (pair register) 714, other registers 716, etc.), ROM 306, RAM (buffer) 308, and the like.

払出制御部用マイクロコンピュータ770は、シリアル通信用のレジスタとして例えば、ステータスレジスタ772、受信データレジスタ774、送信データレジスタ776、その他のレジスタ778を有する。 The microcomputer 770 for the payout control unit has, for example, a status register 772, a reception data register 774, a transmission data register 776, and other registers 778 as registers for serial communication.

また、払出制御部用マイクロコンピュータ770は、汎用レジスタ(記憶領域)として、汎用レジスタ(Aレジスタ722、HLレジスタ(ペアレジスタ)724、その他レジスタ726など)を含むCPUコアレジスタ720および、ROM706、RAM(バッファエリア)708等を備える。 Further, the payout control unit microcomputer 770 includes a CPU core register 720 including general-purpose registers (A register 722, HL register (pair register) 724, other registers 726, etc.) as general-purpose registers (storage areas), ROM 706, and RAM. (Buffer area) 708 and the like are provided.

具体的には同図(a)に示すように、記憶領域(第一の記憶領域)にRAM(バッファエリア)708が設けられ、他の記憶領域(第二の記憶領域)にCPUコアレジスタ720が設けられ、他の記憶領域(第三の記憶領域)に払出制御部用マイクロコンピュータ770の受信データレジスタ774および送信データレジスタ776が設けられる。 Specifically, as shown in FIG. 6A, a RAM (buffer area) 708 is provided in the storage area (first storage area), and the CPU core register 720 is provided in the other storage area (second storage area). Is provided, and a receive data register 774 and a transmission data register 776 of the payout control unit microcomputer 770 are provided in another storage area (third storage area).

なお、主制御部用マイクロコンピュータ760の受信データレジスタ764および送信データレジスタ766は、1つの送受信データレジスタであってもよい。また、払出制御部用マイクロコンピュータ770の受信データレジスタ774および送信データレジスタ776は、1つの送受信データレジスタであってもよい。 The receive data register 764 and the transmission data register 766 of the microcomputer 760 for the main control unit may be one transmission / reception data register. Further, the reception data register 774 and the transmission data register 776 of the microcomputer 770 for the payout control unit may be one transmission / reception data register.

同図(b)に示すように、シリアル通信回路750,752は、4チャンネル(Ch0、Ch1、Ch2、Ch3)の回路を内蔵している。すべてのチャンネルは機能的に独立しており、送信部と受信部を有して送受信が可能なチャンネルと、送信部のみを有し送信のみが可能なチャンネルがある。主制御部用マイクロコンピュータ760と払出制御部用マイクロコンピュータ770のシリアル通信には、送受信が可能なチャンネル(Ch0)を使用する。また、シリアル通信回路750、752は、FIFOモードで動作する。送信は64バイト、受信は8バイトがFIFOとして使用できる。 As shown in FIG. 3B, the serial communication circuits 750 and 752 have built-in 4-channel (Ch0, Ch1, Ch2, Ch3) circuits. All channels are functionally independent, and there are channels that have a transmitter and a receiver and can transmit and receive, and channels that have only a transmitter and can only transmit. A channel (Ch0) capable of transmitting and receiving is used for serial communication between the microcomputer 760 for the main control unit and the microcomputer 770 for the payout control unit. Further, the serial communication circuits 750 and 752 operate in the FIFO mode. 64 bytes for transmission and 8 bytes for reception can be used as a FIFO.

例えば、主制御部用マイクロコンピュータ760がデータ送信を行う場合、主制御部300のCPU304が主制御部用マイクロコンピュータ760に内蔵されたシリアル通信回路750のステータスレジスタを参照して「送信可能」の場合に送信データレジスタ766にデータをセットする。シリアル通信回路750は送信データレジスタ766にセットされたデータを送信する。 For example, when the main control unit microcomputer 760 transmits data, the CPU 304 of the main control unit 300 refers to the status register of the serial communication circuit 750 built in the main control unit microcomputer 760 and is "transmittable". In this case, data is set in the transmission data register 766. The serial communication circuit 750 transmits the data set in the transmission data register 766.

例えば、払出制御部用マイクロコンピュータ770がデータ受信を行う場合、受信データが払出制御部用マイクロコンピュータ770に内蔵されたシリアル通信回路752の受信データレジスタ774に書き込まれる。払出制御部600のCPUはステータスレジスタを参照して「受信完了」になった場合に受信データレジスタ774から受信データを読み込む。 For example, when the payout control unit microcomputer 770 receives data, the received data is written to the receive data register 774 of the serial communication circuit 752 built in the payout control unit microcomputer 770. The CPU of the payout control unit 600 refers to the status register and reads the received data from the received data register 774 when "reception completed" is reached.

例えば、払出制御部用マイクロコンピュータ770がデータ送信を行う場合、払出制御部600のCPUが払出制御部用マイクロコンピュータ770に内蔵されたシリアル通信回路752のステータスレジスタを参照して「送信可能」の場合に送信データレジスタ776にデータをセットする。シリアル通信回路752は送信データレジスタ776にセットされたデータを送信する。 For example, when the payout control unit microcomputer 770 transmits data, the CPU of the payout control unit 600 refers to the status register of the serial communication circuit 752 built in the payout control unit microcomputer 770 and is "transmittable". In this case, data is set in the transmission data register 776. The serial communication circuit 752 transmits the data set in the transmission data register 776.

例えば、主制御部用マイクロコンピュータ760がデータ受信を行う場合、受信データが主制御部用マイクロコンピュータ760に内蔵されたシリアル通信回路750の受信データレジスタ764に書き込まれる。主制御部300のCPUはステータスレジスタを参照して「受信完了」になった場合に受信データレジスタ764から受信データを読み込む。 For example, when the main control unit microcomputer 760 receives data, the received data is written to the reception data register 764 of the serial communication circuit 750 built in the main control unit microcomputer 760. The CPU of the main control unit 300 refers to the status register and reads the received data from the received data register 764 when "reception completed" is reached.

また、シリアル通信回路750、752はデータを送信する場合、シリアル通信回路750、752のステータスレジスタ762、772を参照し送信状態(データ送信完了など)を検出できる。また、シリアル通信回路750、752はデータを受信する場合、ステータスレジスタ762、772を参照し、所定条件が成立している場合に受信データレジスタ764、774からデータを読み込む。具体的には、ステータスレジスタ762、772を参照することで、受信データにノイズ検出されたデータがあるか否か、ブレークコード、フレーミングエラーおよびパリティエラーを含むデータの有無、またはオーバーランの検出の有無などを確認することができる。 When transmitting data, the serial communication circuits 750 and 752 can detect the transmission state (data transmission completion, etc.) by referring to the status registers 762 and 772 of the serial communication circuits 750 and 752. Further, the serial communication circuits 750 and 752 refer to the status registers 762 and 772 when receiving data, and read the data from the received data registers 764 and 774 when a predetermined condition is satisfied. Specifically, by referring to the status registers 762 and 772, whether or not there is noise-detected data in the received data, whether or not there is data including a break code, a framing error and a parity error, or whether or not overrun is detected. You can check the presence or absence.

このようにして例えば、主制御部用マイクロコンピュータ760から送信されたコマンドは、払出制御部用マイクロコンピュータ770の受信データレジスタ774に書き込まれ、各種演算処理や判定処理のために払出制御部用マイクロコンピュータ770のCPUコアレジスタ712に格納された後、RAM(バッファ)708に格納される。また、後述するが、払出制御部600で受信したコマンドは、コマンド解析処理の前に一旦、RAM(バッファ)708に保存される。このように受信コマンドのバッファへの保存をコマンド解析処理に優先して行うことにより、受信データレジスタ774からRAM708にコマンドが送信される期間または、受信データレジスタ774からCPUコアレジスタ712にコマンドが送信される期間を短縮することができるので、コマンドが各レジスタに点在する状況を減らすことが可能になるため、遊技制御の安定化が可能になる場合がある。 In this way, for example, the command transmitted from the main control unit microcomputer 760 is written to the received data register 774 of the payout control unit microcomputer 770, and is used for various arithmetic processing and determination processing. After being stored in the CPU core register 712 of the computer 770, it is stored in the RAM (buffer) 708. Further, as will be described later, the command received by the payout control unit 600 is temporarily stored in the RAM (buffer) 708 before the command analysis process. By saving the received command in the buffer prior to the command analysis process in this way, the command is transmitted from the received data register 774 to the RAM 708 or from the received data register 774 to the CPU core register 712. Since the period during which the command is executed can be shortened, it is possible to reduce the situation in which commands are scattered in each register, and thus it may be possible to stabilize the game control.

図7(c)を参照して、主制御部300と払出制御部600のシリアル通信処理の流れについて説明する。まず主制御部300から払出制御部600に、第一の通信確認コマンド(主制御通信確認コマンド)を送信する(1)。払出制御部600は、主制御部300から主制御通信確認コマンドを受信する(2)。払出制御部600は、主制御通信確認コマンドを受信すると、第二の通信確認コマンド(第一の通信確認コマンドに対する応答のコマンド、払出制御通信確認コマンド)を主制御部300に送信する(3)。払出制御通信確認コマンドを受信した主制御部300は、払出制御部600にコマンド(例えば、ここでは賞球コマンド)を送信する(4)。 The flow of serial communication processing of the main control unit 300 and the payout control unit 600 will be described with reference to FIG. 7 (c). First, the first communication confirmation command (main control communication confirmation command) is transmitted from the main control unit 300 to the payout control unit 600 (1). The payout control unit 600 receives a main control communication confirmation command from the main control unit 300 (2). When the payout control unit 600 receives the main control communication confirmation command, it transmits a second communication confirmation command (a response command to the first communication confirmation command, a payout control communication confirmation command) to the main control unit 300 (3). .. Upon receiving the payout control communication confirmation command, the main control unit 300 transmits a command (for example, a prize ball command here) to the payout control unit 600 (4).

処理(1)〜(3)は通信確認中の状態であり、この状態では主制御部300は払出制御部600に対してコマンドを送信しない。処理(3)が完了すると、通信確認が完了となり、この状態で主制御部300は払出制御部600に賞球コマンドを送信する。例えば、ノイズなどの影響も考慮し、処理(1)は複数回行い、処理(3)の通信確認の完了を示すコマンドが所定回数得られない場合に通信エラー状態とする。この通信エラーの状態となった場合も、主制御部300は払出制御部600に賞球コマンドを送信しない。また、エラーを報知するため、外部に接続する装置に信号を出力する。なお、外部に接続する装置への信号出力は行わなくてもよい。 The processes (1) to (3) are in the state of confirming communication, and in this state, the main control unit 300 does not send a command to the payout control unit 600. When the process (3) is completed, the communication confirmation is completed, and in this state, the main control unit 300 transmits a prize ball command to the payout control unit 600. For example, in consideration of the influence of noise and the like, the process (1) is performed a plurality of times, and when the command indicating the completion of the communication confirmation of the process (3) cannot be obtained a predetermined number of times, a communication error state is set. Even in this communication error state, the main control unit 300 does not send the prize ball command to the payout control unit 600. In addition, in order to notify an error, a signal is output to a device connected to the outside. It is not necessary to output the signal to the device connected to the outside.

処理(1)は、例えば所定回数の割込み処理毎に1回、例えば、主制御部のタイマ割込み処理を25回(50回、・・など)実行するうちに1回、実行する。処理(2)および処理(3)は同一の割込み処理で実行してもよいし、別の割込み処理で実行してもよい。また、処理(3)と同一の割込み処理で、払出制御部600の制御状態を送信してもよい。払出制御部600の制御状態は、変化のある場合のみ(例えば、正常な状態から異常な状態に変化した場合(エラーの場合)など)送信するものとしてもよい。 The process (1) is executed, for example, once for every predetermined number of interrupt processes, for example, once out of 25 times (50 times, ..., Etc.) of the timer interrupt process of the main control unit. The process (2) and the process (3) may be executed by the same interrupt process or may be executed by different interrupt processes. Further, the control state of the payout control unit 600 may be transmitted by the same interrupt process as the process (3). The control state of the payout control unit 600 may be transmitted only when there is a change (for example, when the state changes from a normal state to an abnormal state (in the case of an error)).

また、払出制御部600は、第1のコマンド(賞球コマンド)が第一の記憶手段(受信データレジスタ774など)に記憶されている場合に賞の付与に関する処理を少なくとも実行可能であり、第2のコマンド(主制御通信確認コマンド)が前記第一の記憶手段に記憶されている場合に、主制御部300に第3のコマンド(払出制御通信確認コマンド(主制御通信確認コマンドの応答コマンド))を送信する処理を少なくとも実行可能である(これについては後に詳述する)。 Further, the payout control unit 600 can at least execute a process related to awarding when the first command (prize ball command) is stored in the first storage means (received data register 774 or the like). When the second command (main control communication confirmation command) is stored in the first storage means, the main control unit 300 receives a third command (payout control communication confirmation command (response command of main control communication confirmation command). ) Is at least feasible (more on this later).

なお、主制御部用マイクロコンピュータ760の受信データレジスタ764、送信データレジスタ766および、払出制御部用マイクロコンピュータ770の受信データレジスタ774、送信データレジスタ776いずれも、そのサイズに限りがあり、CPUコアレジスタ712、722やRAM308、708とデータを送受信する場合に、例えば、異常が発生するなどの条件が発生した場合などにデータの漏れが発生する場合がある。 The size of each of the receive data register 764 and the transmission data register 766 of the main control unit microcomputer 760 and the receive data register 774 and the transmission data register 776 of the payout control unit microcomputer 770 is limited, and the CPU core. When transmitting and receiving data to and from the registers 712 and 722 and the RAMs 308 and 708, data leakage may occur, for example, when a condition such as an abnormality occurs.

<シリアル通信関連レジスタ>
次に、図8を用いて、上述のシリアル通信関連レジスタに含まれる各種レジスタについて詳細に説明する。なお、図8は、シリアル通信関連レジスタに含まれる各種レジスタのブロック図と、各種レジスタの内容を示した図である。
<Serial communication related registers>
Next, with reference to FIG. 8, various registers included in the above-mentioned serial communication-related registers will be described in detail. Note that FIG. 8 is a block diagram of various registers included in the serial communication-related registers and a diagram showing the contents of the various registers.

上記図7を用いて説明したように、主制御部用マイクロコンピュータ760は、シリアル通信関連レジスタとして、ステータスレジスタ762、受信データレジスタ764、送信データレジスタ766、その他のレジスタ768を有する。これらのレジスタのうち、その他のレジスタ768には、図8に示すように、認証ステータスレジスタ768a、送信データFIFO768b、遊技状態情報レジスタ768c、遊技機枠情報レジスタ768d、リカバリ完了通知レジスタ768e等が含まれる。 As described with reference to FIG. 7, the microcomputer 760 for the main control unit has a status register 762, a reception data register 764, a transmission data register 766, and other registers 768 as serial communication-related registers. Among these registers, the other registers 768 include an authentication status register 768a, transmission data FIFA 768b, a game status information register 768c, a game machine frame information register 768d, a recovery completion notification register 768e, and the like, as shown in FIG. Is done.

認証ステータスレジスタ768aは、後述する認証が完了した場合に、認証が正常に完了したことを示す情報(例えば、数値の1)、または、認証が正常に完了しなかったことを示す情報(例えば、数値の0)のいずれかが設定されるレジスタである。また、送信データFIFO768bは、主制御部300が払出制御部600などの外部の制御部に向けて送信する遊技情報を一時的に記憶するためのバッファである。 The authentication status register 768a is information indicating that the authentication was completed normally (for example, a numerical value 1) or information indicating that the authentication was not completed normally (for example, when the authentication described later is completed). This is a register in which any of the numerical values 0) is set. Further, the transmission data FIFA 768b is a buffer for temporarily storing game information transmitted by the main control unit 300 to an external control unit such as the payout control unit 600.

主制御部300が送信データFIFO768bを介して送信する遊技情報は、本例では、1バイト長の種別情報と、1バイト長のカウント情報の、合計2バイト長の情報で構成される。種別情報は、4ビット長のデータ種別と、4ビット長のデータ番号に分類でき、データ種別は、始動口(例えば、第1特図始動口230、第2特図始動口232、普図始動口228)、入賞口(例えば、一般入賞口226)、大入賞口(例えば、可変入賞口234)、および、図柄停止回数等の遊技情報の種別を表す情報である。また、データ番号は、データ種別毎の番号を表す情報である。また、データ種別が始動口、入賞口、または、大入賞口の場合、カウント情報には4ビット長の賞球数と4ビット長の入賞数が格納され、データ種別が図柄停止回数の場合、カウント情報には4ビット長の図柄停止回数が格納される。 In this example, the game information transmitted by the main control unit 300 via the transmission data FIFA 768b is composed of 1-byte length type information and 1-byte length count information, for a total of 2 bytes length information. The type information can be classified into a 4-bit length data type and a 4-bit length data number, and the data types are the start port (for example, the first special figure start port 230, the second special figure start port 232, and the normal figure start). It is information indicating the type of game information such as a mouth 228), a winning mouth (for example, a general winning mouth 226), a large winning mouth (for example, a variable winning mouth 234), and the number of times a symbol is stopped. The data number is information representing a number for each data type. If the data type is a start opening, a winning opening, or a large winning opening, the count information stores the number of winning balls with a 4-bit length and the number of winnings with a 4-bit length, and if the data type is the number of symbol stops. The count information stores the number of times the symbol is stopped with a length of 4 bits.

また、遊技状態情報レジスタ768cは、主制御部300が払出制御部600などの外部の制御部に向けて送信する遊技状態情報(賞球数や図柄停止等に関する情報)を格納するためのレジスタである。主制御部300が遊技状態情報レジスタ768cを介して送信する遊技状態情報は、本例では、8バイト長の情報からなり、例えば、大当り種別の情報、確変中・変動中・時短中などの情報、主制御部300が検出した各種異常の情報などの送信に使用される。 Further, the game state information register 768c is a register for storing game state information (information regarding the number of prize balls, symbol stop, etc.) transmitted by the main control unit 300 to an external control unit such as the payout control unit 600. be. In this example, the game state information transmitted by the main control unit 300 via the game state information register 768c is composed of information having a length of 8 bytes. , Used for transmitting information on various abnormalities detected by the main control unit 300.

また、遊技機枠情報レジスタ768dは、主制御部300が払出制御部600などの外部の制御部から受信する遊技機枠情報(各種異常や各種要求に関する情報)を格納するためのレジスタである。遊技機枠情報レジスタ768dを介して受信する遊技枠情報は、本例では、8バイト長の情報からなり、例えば、払出制御部600などの外部の制御部が検出した各種異常の情報や、払出制御部600などの外部の制御部から、主制御部300に対する要求(遊技球の計数要求、省電力移行要求など)などの受信に使用される。また、リカバリ完了通知レジスタ768eは、後述するリカバリが完了した場合に、リカバリが完了したことを示す情報(例えば、数値の1)が設定されるレジスタである。 Further, the gaming machine frame information register 768d is a register for storing the gaming machine frame information (information regarding various abnormalities and various requests) received by the main control unit 300 from an external control unit such as the payout control unit 600. In this example, the game frame information received via the game machine frame information register 768d consists of information having a length of 8 bytes, for example, information on various abnormalities detected by an external control unit such as the payout control unit 600, and payout. It is used for receiving a request to the main control unit 300 (a game ball counting request, a power saving transition request, etc.) from an external control unit such as the control unit 600. Further, the recovery completion notification register 768e is a register in which information (for example, a numerical value 1) indicating that the recovery is completed is set when the recovery described later is completed.

<電源制御>
図9は、本実施形態の電源制御について説明する図である。図9(a)は、電源の遮断及び供給のタイミングに伴う各制御部の動作状態を示す概要図であり、図9(b)は、電源遮断時における各制御部の動作状態を示す概要図である。
<Power control>
FIG. 9 is a diagram for explaining the power supply control of the present embodiment. FIG. 9A is a schematic diagram showing an operating state of each control unit when the power is cut off and supplied, and FIG. 9B is a schematic diagram showing an operating state of each control unit when the power is cut off. Is.

電源制御部660は、パチンコ機100に外部から供給される電源を直流に変換し、払出制御部600および第1副制御部400に供給する。払出制御部600は主制御部300に電源を供給し、第1副制御部400は第2副制御部500に電源を供給する。つまり、電源がOFF状態からON状態に立ち上がると、第1副制御部400がリセット状態からリセット解除状態に立ち上がり、その後、第2副制御部500がリセット状態からリセット解除状態に立ち上がる。同様に、電源がOFF状態からON状態に立ち上がると、払出制御部600がリセット状態からリセット解除状態に立ち上がり、その後、主制御部300がリセット状態からリセット解除状態に立ち上がる。なお、電源はAC100Vを入力してもよい。 The power supply control unit 660 converts the power supply supplied from the outside to the pachinko machine 100 into direct current and supplies it to the payout control unit 600 and the first sub control unit 400. The payout control unit 600 supplies power to the main control unit 300, and the first sub control unit 400 supplies power to the second sub control unit 500. That is, when the power supply rises from the OFF state to the ON state, the first sub-control unit 400 rises from the reset state to the reset release state, and then the second sub-control unit 500 rises from the reset state to the reset release state. Similarly, when the power supply rises from the OFF state to the ON state, the payout control unit 600 rises from the reset state to the reset release state, and then the main control unit 300 rises from the reset state to the reset release state. The power supply may be AC100V.

後述するが、払出制御部600がリセット解除状態に立ち上がってから主制御部300がリセット解除状態に立ち上がるまでの期間において、払出制御部600は、コマンドを受信することができ、受信したコマンドを解析することもできる。また、払出制御部600は、賞球数を設定することも可能であるが、払出処理は実行されない。その後、主制御部300がリセット解除状態に立ち上がった後に、主制御部300から送信された初回の主制御通信確認コマンドを払出制御部600で受信した場合に、設定した賞球数を(意図しないタイミングで送信された賞球コマンドとして)消去する場合がある。また、主制御部300がリセット解除状態に立ち上がった後(かつ、払出制御部600がリセット解除状態に立ち上がった後)、賞球コマンドが主制御部300から払出制御部600に送信された場合は、正常なコマンドとして処理を行う。 As will be described later, during the period from when the payout control unit 600 rises to the reset release state until the main control unit 300 rises to the reset release state, the payout control unit 600 can receive a command and analyzes the received command. You can also do it. Further, the payout control unit 600 can set the number of prize balls, but the payout process is not executed. After that, when the payout control unit 600 receives the first main control communication confirmation command transmitted from the main control unit 300 after the main control unit 300 has started up in the reset release state, the set number of prize balls is set (unintended). It may be deleted (as a prize ball command sent at the timing). Further, when the prize ball command is transmitted from the main control unit 300 to the payout control unit 600 after the main control unit 300 has started up in the reset release state (and after the payout control unit 600 has started up in the reset release state). , Process as a normal command.

ここで、上記説明した内容を踏まえて、遊技台への電圧供給が低下した場合の動作について説明する。例えば大当り中の状態で停電などによって電源が切られた場合、再度電源投入によって遊技台が初期状態になると、遊技者にとって著しく不利益な状態になる。このような事態にならないよう、コンデンサに蓄えられた電力により遊技台の状態を保持する電断時処理(後述する)が実行される。この電断時処理は、電源が切られた場合(以下、電源オフと称する)の他、静電気などの要因により供給電圧が一時的に低下した場合(以下、瞬断と称する)にも実行される。同図(b)は、電断時処理の動作を示す図である。 Here, based on the contents described above, the operation when the voltage supply to the game console is reduced will be described. For example, when the power is turned off due to a power failure or the like during a big hit, if the game console is returned to the initial state by turning on the power again, the player will be in a significantly disadvantageous state. In order to prevent such a situation, the power stored in the capacitor is used to execute a power failure process (described later) that maintains the state of the game console. This power cut processing is executed not only when the power is turned off (hereinafter referred to as power off) but also when the supply voltage temporarily drops due to factors such as static electricity (hereinafter referred to as momentary power cut). NS. FIG. 3B is a diagram showing the operation of the power failure processing.

電源が切られた場合、電圧が供給されなくなる(電断発生)が、すぐに電圧は0にはならず、コンデンサに蓄えられた電力により供給電圧が徐々に降下する。例えば、12Vの供給電圧が所定の電圧(本実施形態では9.66V)まで降下すると電圧監視回路338から低電圧信号が主制御部300のCPU304に送信される。この信号を受信したことにより、主制御部300のメイン処理(後述する)により電断が発生したと判定され、電断時処理が実行される。つまり、同図(b)に示すように、主制御部300の電源監視状態としては、電断が発生してから供給電圧が9.66Vに降下するまでは電源断解除状態であり、供給電圧が9.66Vより降下した後は、電源断状態となる。なお、ここでの電源断状態とは、電圧が所定の値を下回り、後述する低電圧信号がオンになる状態を意味するものであり、電源が実際に遮断された状態を意味するものではない。 When the power is turned off, the voltage is not supplied (power interruption occurs), but the voltage does not become 0 immediately, and the supply voltage gradually drops due to the power stored in the capacitor. For example, when the supply voltage of 12V drops to a predetermined voltage (9.66V in this embodiment), a low voltage signal is transmitted from the voltage monitoring circuit 338 to the CPU 304 of the main control unit 300. By receiving this signal, it is determined that the power failure has occurred in the main process (described later) of the main control unit 300, and the power failure processing is executed. That is, as shown in FIG. 3B, the power supply monitoring state of the main control unit 300 is the power supply disconnection release state from the occurrence of the power failure until the supply voltage drops to 9.66V, and the supply voltage. After the voltage drops below 9.66V, the power is turned off. The power off state here means a state in which the voltage falls below a predetermined value and the low voltage signal described later is turned on, and does not mean a state in which the power supply is actually cut off. ..

同様に、払出制御部600では、12Vの供給電圧が所定の電圧(本実施形態では8.3V)まで降下すると、電断が発生したと判定され、電断時処理が実行される。つまり、同図(b)に示すように、払出制御部600の電源監視状態としては、電断が発生してから供給電圧が8.3Vに降下するまでは電源断解除状態であり、供給電圧が8.3Vより降下した後は、電源断状態となる。 Similarly, in the payout control unit 600, when the supply voltage of 12V drops to a predetermined voltage (8.3V in this embodiment), it is determined that a power failure has occurred, and the power failure processing is executed. That is, as shown in FIG. 6B, the power supply monitoring state of the payout control unit 600 is the power supply disconnection release state from the occurrence of the power failure until the supply voltage drops to 8.3 V, and the supply voltage. After the voltage drops below 8.3V, the power is turned off.

また、主制御部300と払出制御部600はそれぞれに、、電源が投入されると起動信号(リセット信号)を出力する起動信号出力回路(後述する)を設けている。例えば主制御部300では、基本回路302のCPU304が起動信号の入力を受付けると、リセット割込によりリセットスタートして(リセット解除状態となり)ROM306に予め記憶している制御プログラムに従って主制御部メイン処理を実行する。払出制御部600も同様である。そして、12Vの供給電圧が所定の電圧を下回った場合には、リセット状態となり、電源断解除状態になるまで待機する。 Further, each of the main control unit 300 and the payout control unit 600 is provided with a start signal output circuit (described later) that outputs a start signal (reset signal) when the power is turned on. For example, in the main control unit 300, when the CPU 304 of the basic circuit 302 receives the input of the start signal, the reset starts by reset interruption (in the reset release state), and the main control unit main processing is performed according to the control program stored in advance in the ROM 306. To execute. The same applies to the payout control unit 600. Then, when the supply voltage of 12V falls below a predetermined voltage, the reset state is set and the device waits until the power off state is released.

<電源投入時設定処理>
次に、図10を用いて、主制御部300のCPU304が実行する電源投入時設定処理について説明する。なお、図10は、電源投入時設定処理の流れを示すフローチャートである。
<Setting process when power is turned on>
Next, the power-on setting process executed by the CPU 304 of the main control unit 300 will be described with reference to FIG. Note that FIG. 10 is a flowchart showing the flow of the power-on setting process.

上述したように、主制御部300には、電源が投入されると起動信号(リセット信号)を出力する起動信号出力回路(リセット信号出力回路)340を設けている。この起動信号を入力した基本回路302のCPU304は、リセット割込によりリセットスタートし、ROM306に予め記憶している制御プログラムに従って、図10に示す電源投入時設定処理を実行する。 As described above, the main control unit 300 is provided with a start signal output circuit (reset signal output circuit) 340 that outputs a start signal (reset signal) when the power is turned on. The CPU 304 of the basic circuit 302 to which the start signal is input starts resetting by reset interruption, and executes the power-on setting process shown in FIG. 10 according to the control program stored in advance in the ROM 306.

ステップS101では、低電圧信号がオンであるか否か、すなわち、電源制御部660から主制御部300に供給している電源の電圧値が所定の値(本実施形態では9.66V)未満である場合に電圧が低下したことを示す低電圧信号を、電圧監視回路338が出力しているか否かを監視する。そして、低電圧信号がオンの場合(例えば、電源が投入された直後で未だ上記所定の値(9.66V)に達しない場合)にはステップS101の処理を繰り返し実行し、低電圧信号がオフの場合(例えば、電源投入後に上記所定の値(9.66V)に達した場合)にはステップS102に進む。 In step S101, whether or not the low voltage signal is on, that is, the voltage value of the power supply supplied from the power supply control unit 660 to the main control unit 300 is less than a predetermined value (9.66 V in this embodiment). It monitors whether or not the voltage monitoring circuit 338 outputs a low voltage signal indicating that the voltage has dropped in a certain case. Then, when the low voltage signal is on (for example, when the predetermined value (9.66V) is not reached immediately after the power is turned on), the process of step S101 is repeatedly executed, and the low voltage signal is turned off. (For example, when the predetermined value (9.66V) is reached after the power is turned on), the process proceeds to step S102.

ステップS102では、初期設定を行う。この初期設定では、CPU304のスタックポインタ(SP)へのスタック初期値の設定(仮設定)、割込マスクの設定、I/O310の初期設定、RAM308に記憶する各種変数の初期設定、WDT314への動作許可及び初期値の設定等を行う。なお、本実施形態では、WDT314に、初期値として32.8msに相当する数値を設定し、RAM308に設けたマスク情報に初期値(例えば、11111111B(FFH(Hは数値が16進数であることを示す。以下同じ)))を設定する。また、後述する通信確認コマンドの初期値として25(約100msの時間に相当する数値)を設定する。 In step S102, the initial setting is performed. In this initial setting, the stack initial value is set (temporarily set) in the stack pointer (SP) of the CPU 304, the interrupt mask is set, the I / O 310 is initialized, the various variables stored in the RAM 308 are initialized, and the WDT314 is set. Allow operation and set initial values. In this embodiment, the WDT 314 is set to a value corresponding to 32.8 ms as an initial value, and the mask information provided in the RAM 308 is set to an initial value (for example, 11111111B (FFH (H is a hexadecimal number)). Shown. The same applies below))) is set. Further, 25 (a numerical value corresponding to a time of about 100 ms) is set as the initial value of the communication confirmation command described later.

ステップS103では、チェックサムを算出する。このチェックサムの算出方法は特に限定されないが、本例では、主制御部300のRAM308の所定の領域(例えば、全ての領域)に記憶している1バイト長のデータを、初期値が0である1バイト構成のレジスタに全て加算することによりチェックサムを算出する。 In step S103, the checksum is calculated. The method for calculating this checksum is not particularly limited, but in this example, the initial value of 1-byte length data stored in a predetermined area (for example, all areas) of the RAM 308 of the main control unit 300 is 0. The checksum is calculated by adding all the registers of a certain 1-byte structure.

ステップS104では、RAMエラー確認処理を行う。詳細は後述するが、このRAMエラー確認処理では、ステップS103で算出したチェックサムの結果や、遊技店の店員等によって設定された設定値が、正常であるか否かを判定する処理等を行う。ステップS105では、電源投入時のRAMクリアを行う。この電源投入時のRAMクリアでは、RAM308の全ての記憶領域のうち、電源投入時に初期化が必要な記憶領域に記憶されたデータを初期化する。 In step S104, a RAM error confirmation process is performed. Details will be described later, but in this RAM error confirmation process, a process of determining whether or not the checksum result calculated in step S103 and the set value set by the clerk of the amusement store is normal is performed. .. In step S105, the RAM is cleared when the power is turned on. In this RAM clear at the time of power-on, among all the storage areas of the RAM 308, the data stored in the storage area that needs to be initialized at the time of power-on is initialized.

ステップS106では、電源投入モード確認処理を行う。詳細は後述するが、この電源投入モード確認処理では、パチンコ機100の起動状態に応じて起動情報を設定する処理等を行う。ステップS107では、ステップ104のRAMエラー確認処理やステップS106の電源投入モード確認処理等で設定された起動情報(本例では、設定変更、初期起動、復電起動、または、RAMエラー)を参照し、今回の起動方法が設定変更または初期起動であるか否かを判定し、該当する場合にはステップS108に進み、該当しない場合にはステップS111に進む。 In step S106, the power-on mode confirmation process is performed. Details will be described later, but in this power-on mode confirmation process, a process of setting start information according to the start state of the pachinko machine 100 and the like is performed. In step S107, the start information set in the RAM error confirmation process in step 104, the power-on mode confirmation process in step S106, or the like (in this example, setting change, initial start, power recovery start, or RAM error) is referred to. It is determined whether or not the activation method this time is a setting change or an initial activation, and if applicable, the process proceeds to step S108, and if not, the process proceeds to step S111.

ここで、「初期起動」とは、電源基板に設けたRWMクリアスイッチ180がON,図示しない設定キーがOFFの状態で電源が投入されてパチンコ機100が起動された状態である。また、「設定変更」とは、RAMクリアスイッチ180がON,設定キーがONの状態で電源が投入されてパチンコ機100が起動された状態である。また、「復帰起動」とは、RAMクリアスイッチ180がOFF,設定キーがOFFの状態で(電断後の復電によって)パチンコ機100が起動された状態である。 Here, the "initial start" is a state in which the power is turned on and the pachinko machine 100 is started in a state where the RWM clear switch 180 provided on the power supply board is ON and the setting key (not shown) is OFF. Further, the "setting change" is a state in which the power is turned on and the pachinko machine 100 is started in a state where the RAM clear switch 180 is ON and the setting key is ON. Further, the "return start" is a state in which the pachinko machine 100 is started in a state where the RAM clear switch 180 is OFF and the setting key is OFF (due to the restoration of power after the power is cut off).

ステップS108では、ソフト乱数の初期設定を行い、次のステップS109では、初期起動時のRAMクリア範囲(初期起動時に初期化が必要な記憶領域)を設定し、次のステップS110では、RAMクリア処理を行う。このRAMクリア処理では、ステップS109で設定された範囲にしたがって、RAM308の全ての記憶領域のうち、初期起動時または設定変更時に初期化が必要な記憶領域に記憶されたデータを初期化する。 In step S108, the initial setting of the soft random number is performed, in the next step S109, the RAM clear range at the time of initial startup (the storage area that needs to be initialized at the time of initial startup) is set, and in the next step S110, the RAM clear process is performed. I do. In this RAM clearing process, the data stored in the storage area that needs to be initialized at the time of initial startup or the setting change is initialized among all the storage areas of the RAM 308 according to the range set in step S109.

ステップS111では、復電起動時のRAM初期設定を行う。この復電起動時のRAM初期設定では、RAM308の全ての記憶領域のうち、復電時に初期化が必要な記憶領域に記憶されたデータを初期化する。 In step S111, the RAM initial setting at the time of power recovery activation is performed. In this RAM initial setting at the time of power recovery, the data stored in the storage area that needs to be initialized at the time of power recovery is initialized out of all the storage areas of the RAM 308.

ステップS112では、RAM308に記憶した割込み機能限定カウンタに初期値(本例では、4000msに相当する数値の1000)を設定し、次のステップS113では、I/O310のうちの出力ポートCSを初期化し、ステップS114では、電源投入時ポート出力処理を行う。この電源投入時ポート出力処理では、I/O310の所定の出力ポート(例えば試験用出力ポート、第1副制御部400への出力ポート)からクリア信号を出力する処理等を行った後に電源投入時設定処理を終了し、図13を用いて説明する主制御部メイン処理に進む。 In step S112, an initial value (1000, which is a numerical value corresponding to 4000 ms in this example) is set in the interrupt function limited counter stored in the RAM 308, and in the next step S113, the output port CS of the I / O 310 is initialized. In step S114, port output processing is performed when the power is turned on. In this power-on port output process, when the power is turned on after performing a process of outputting a clear signal from a predetermined output port of the I / O 310 (for example, a test output port or an output port to the first sub-control unit 400). The setting process is completed, and the process proceeds to the main control unit main process described with reference to FIG.

<RAMエラー確認処理>
次に、図11を用いて、上述の電源投入時設定処理におけるRAMエラー確認処理(ステップS104)について説明する。なお、図11は、RAMエラー確認処理の流れを示すフローチャートである。
<RAM error confirmation processing>
Next, the RAM error confirmation process (step S104) in the above-mentioned power-on setting process will be described with reference to FIG. Note that FIG. 11 is a flowchart showing the flow of the RAM error confirmation process.

ステップS121では、図10を用いて説明した電源投入時設定処理で算出したチェックサムが正常か否かを判定し、チェックサムが正常な場合にはステップS122に進み、チェックサムが異常な場合にはステップS124に進む。ステップS122では、RAM308に記憶された設定値が最大設定値(本例では、設定6であることを示す数値の6)よりも大きいか否かを判定し、設定値が最大設定値以下の場合(設定値が正常な場合)にはステップS123に進み、設定値が最大設定値よりも大きい場合(設定値が異常な場合)にはステップS124に進む。 In step S121, it is determined whether or not the checksum calculated by the power-on setting process described with reference to FIG. 10 is normal. If the checksum is normal, the process proceeds to step S122, and if the checksum is abnormal, the process proceeds to step S122. Proceeds to step S124. In step S122, it is determined whether or not the set value stored in the RAM 308 is larger than the maximum set value (in this example, the numerical value 6 indicating that the setting is 6), and when the set value is equal to or less than the maximum set value. If (when the set value is normal), the process proceeds to step S123, and when the set value is larger than the maximum set value (when the set value is abnormal), the process proceeds to step S124.

ステップS123では、電源ステータスがサスペンドであるか否か(電源断を検知した状態であるか否か)を判定し、該当する場合(電源断を検知した状態の場合)にはRAMエラー確認処理を終了し、該当しない場合(電源断を検知していない状態の場合)にはステップS124に進む。ステップS124では、設定値を初期値(本例では、設定1であることを示す数値の1)に初期化し、次のステップS125では、起動情報としてRAMエラーを設定した後にRAMエラー確認処理を終了する。 In step S123, it is determined whether or not the power supply status is suspended (whether or not the power supply is detected), and if applicable (when the power supply is detected), a RAM error confirmation process is performed. If it is not applicable (in the case where the power failure is not detected), the process proceeds to step S124. In step S124, the set value is initialized to the initial value (in this example, the numerical value 1 indicating that the setting is 1), and in the next step S125, the RAM error confirmation process is completed after setting the RAM error as the start information. do.

<電源投入モード確認処理>
次に、図12を用いて、上述の電源投入時設定処理における電源投入モード確認処理(ステップS106)について説明する。なお、図12は、電源投入モード確認処理の流れを示すフローチャートである。
<Power-on mode confirmation process>
Next, the power-on mode confirmation process (step S106) in the above-mentioned power-on setting process will be described with reference to FIG. Note that FIG. 12 is a flowchart showing the flow of the power-on mode confirmation process.

ステップS131では、入力ポートCS2の値(RAMクリアスイッチ180と設定キーの状態)を取得し、取得した値に基づいてKey入力情報を生成する。具体的には、本例では、RAMクリアスイッチ180がON,設定キーがOFFの場合には、Key入力情報に00H(RAMクリア)を設定し、RAMクリアスイッチ180がOFF,設定キーがOFFの場合には、Key入力情報に01H(入力なし)を設定し、RAMクリアスイッチ180がON,設定キーがONの場合には、Key入力情報に02H(RAMクリア&設定Key)を設定し、RAMクリアスイッチ180がOFF,設定キーがONの場合には、Key入力情報に03H(設定Key)を設定する。 In step S131, the value of the input port CS2 (the state of the RAM clear switch 180 and the setting key) is acquired, and Key input information is generated based on the acquired value. Specifically, in this example, when the RAM clear switch 180 is ON and the setting key is OFF, 00H (RAM clear) is set in the Key input information, the RAM clear switch 180 is OFF, and the setting key is OFF. In that case, 01H (no input) is set in the key input information, and when the RAM clear switch 180 is ON and the setting key is ON, 02H (RAM clear & setting key) is set in the key input information, and the RAM is set. When the clear switch 180 is OFF and the setting key is ON, 03H (setting key) is set in the key input information.

ステップS132では、ステップS131で生成したKey入力情報に応じて、RAM308のアドレスのオフセット値を取得し、次のステップS133では、ステップS132で取得したオフセット値に基づいて所定のアドレスを参照し、起動状態を取得する。ステップS134では、ステップS133で取得した起動状態に応じて起動状態データを取得し、次のステップS135では、ステップS134で取得した起動状態データに基づいて起動情報(本例では、設定変更、初期起動、復電起動、RAMエラー等)を設定した後に、電源投入モード確認処理を終了する。 In step S132, the offset value of the address of the RAM 308 is acquired according to the Key input information generated in step S131, and in the next step S133, a predetermined address is referred to based on the offset value acquired in step S132 and the operation is started. Get the state. In step S134, the startup status data is acquired according to the activation status acquired in step S133, and in the next step S135, activation information (setting change, initial activation in this example) is acquired based on the activation status data acquired in step S134. , Power recovery start, RAM error, etc.), and then end the power-on mode confirmation process.

<主制御部メイン処理>
次に、図13を用いて、主制御部300のCPU304が実行する主制御部メイン処理について説明する。なお、図13は主制御部メイン処理の流れを示すフローチャートである。
<Main control unit main processing>
Next, the main control unit main process executed by the CPU 304 of the main control unit 300 will be described with reference to FIG. Note that FIG. 13 is a flowchart showing the flow of the main processing of the main control unit.

上述したように、主制御部300は、図10を用いて説明した電源投入時設定処理を終了した後に、この主制御部メイン処理を開始する。ステップS141では、割込み禁止の設定を行った後に、次のステップS142では、WDT314のクリアとリスタートを行うことで、WDT314による時間計測を開始する。 As described above, the main control unit 300 starts the main control unit main process after completing the power-on setting process described with reference to FIG. 10. In step S141, after the interrupt prohibition is set, in the next step S142, the WDT 314 is cleared and restarted to start the time measurement by the WDT 314.

ステップS143では、基本乱数初期値更新処理を行う。この基本乱数初期値更新処理では、普図当選乱数カウンタ、および特図乱数値カウンタの初期値をそれぞれ生成するための2つの初期値生成用乱数カウンタと、普図タイマ乱数値、および特図タイマ乱数値それぞれを生成するための2つの乱数カウンタを更新する。例えば、普図タイマ乱数値として取り得る数値範囲が0〜100とすると、RAM308に設けた普図タイマ乱数値を生成するための乱数カウンタ記憶領域から値を取得し、取得した値に1を加算してから元の乱数カウンタ記憶領域に記憶する。このとき、取得した値に1を加算した結果が101であれば0を元の乱数カウンタ記憶領域に記憶する。他の初期値生成用乱数カウンタ、乱数カウンタもそれぞれ同様に更新する。なお、初期値生成用乱数カウンタは、後述するステップS146でも更新する。なお、ステップS143では、基本乱数初期値更新処理の他に後述する基本乱数更新処理を行ってもよいし、基本乱数更新処理のみを行ってもよい。 In step S143, the basic random number initial value update process is performed. In this basic random number initial value update process, there are two initial value generation random number counters for generating the initial values of the normal figure winning random number counter and the special figure random number value counter, the normal figure timer random number value, and the special figure timer. Update the two random number counters to generate each random number value. For example, assuming that the numerical range that can be taken as the normal figure timer random number value is 0 to 100, a value is acquired from the random number counter storage area for generating the normal figure timer random number value provided in the RAM 308, and 1 is added to the acquired value. Then, it is stored in the original random number counter storage area. At this time, if the result of adding 1 to the acquired value is 101, 0 is stored in the original random number counter storage area. The other initial value generation random number counters and random number counters are updated in the same manner. The initial value generation random number counter is also updated in step S146, which will be described later. In step S143, in addition to the basic random number initial value update process, the basic random number update process described later may be performed, or only the basic random number update process may be performed.

ステップS144では、割込み許可の設定を行い、次のステップS145では、コマンド送信処理を行う。このコマンド送信処理では、各種のコマンドをシリアル通信線612を介して払出制御部600に送信する処理や、各種のコマンドを第1副制御部400に送信する処理等を行う。 In step S144, interrupt permission is set, and in the next step S145, command transmission processing is performed. In this command transmission process, various commands are transmitted to the payout control unit 600 via the serial communication line 612, various commands are transmitted to the first sub-control unit 400, and the like.

詳細は後述するが、第1副制御部400に送信する出力予定情報は、例えば16ビットで構成しており、ビット15はストローブ情報(オンの場合、データをセットしていることを示す)、ビット11〜14はコマンド種別で構成している。主制御部300は、このステップS144においてストローブ情報をオン、オフする処理等を行うことで、第1副制御部400へ送信するコマンドの送信準備を行い、後述する主制御部タイマ割込み処理のステップS233において、コマンドを第1副制御部400に向けて送信するように構成している。 The details will be described later, but the output schedule information to be transmitted to the first sub-control unit 400 is composed of, for example, 16 bits, and the bits 15 are strobe information (when on, it indicates that data is set). Bits 11 to 14 are configured by command type. The main control unit 300 prepares to transmit a command to be transmitted to the first sub control unit 400 by performing a process of turning on and off strobe information in step S144, and a step of a main control unit timer interrupt process described later. In S233, the command is configured to be transmitted to the first sub-control unit 400.

ステップS146では、その他の判定乱数値更新処理を行う。ステップS147では、通信異常時処理を行う。詳細は後述するが、この通信異常時処理では、払出制御部600との通信に異常が発生した場合の復帰処理を行う。 In step S146, other determination random value update processing is performed. In step S147, a communication abnormality processing is performed. Details will be described later, but in this communication abnormality processing, a recovery processing is performed when an abnormality occurs in communication with the payout control unit 600.

ステップS148では、上述の低電圧信号がオンであるか否かを判定し、低電圧信号がオンの場合(電源の遮断を検知した場合)にはステップS149に進み、低電圧信号がオフの場合(電源の遮断を検知していない場合)にはステップS141に進む。以降、主制御部300は、所定の周期ごとに開始する主制御部タイマ割込処理を行っている間を除いて、ステップS141〜S148の処理を繰り返し実行する。 In step S148, it is determined whether or not the above-mentioned low voltage signal is on, and if the low voltage signal is on (when a power cutoff is detected), the process proceeds to step S149, and if the low voltage signal is off. If (when the power cutoff is not detected), the process proceeds to step S141. After that, the main control unit 300 repeatedly executes the processes of steps S141 to S148 except during the main control unit timer interrupt process that starts at a predetermined cycle.

ステップS149では、割込み禁止の設定を行い、次のステップS150では、RAM408に記憶している電源ステータスをサスペンドに設定する。また、ステップS151では、電断時(電源遮断時)におけるRAM308の合計値を算出し、RMA308に格納(記憶)した後、次のステップS152では、RAM308へのアクセス禁止の設定をした後に、無限ループとなる。 In step S149, interrupt prohibition is set, and in the next step S150, the power supply status stored in the RAM 408 is set to suspend. Further, in step S151, the total value of the RAM 308 at the time of power failure (when the power is cut off) is calculated and stored (stored) in the RMA 308, and then in the next step S152, after setting the access prohibition to the RAM 308 to be infinite. It becomes a loop.

<通信異常時処理>
次に、図14を用いて、上述の主制御部メイン処理における通信異常時処理(ステップS147)について説明する。なお、図14は、主制御部メイン処理における通信異常時処理の流れを示すフローチャートである。
<Processing when communication is abnormal>
Next, the communication abnormality processing (step S147) in the above-mentioned main control unit main processing will be described with reference to FIG. Note that FIG. 14 is a flowchart showing the flow of communication abnormality processing in the main control unit main processing.

ステップS155では、通信異常フラグがオンかオフかを判定し、オンの場合にはステップS156に進み、オフの場合には処理を終了する。なお、この通信異常フラグは、後述する通信異常監視処理において、所定の条件を満たした場合にオン(例えば、数値の1)に設定される(詳細は後述)。 In step S155, it is determined whether the communication abnormality flag is on or off, and if it is on, the process proceeds to step S156, and if it is off, the process ends. The communication abnormality flag is set to on (for example, a numerical value of 1) when a predetermined condition is satisfied in the communication abnormality monitoring process described later (details will be described later).

ステップS156、S157では、認証ステータスレジスタ768a(図8参照)を参照することで認証が完了したか否かを判定するとともに、リカバリ完了通知レジスタ768e(図8参照)を参照することでリカバリが完了したか否かを判定し、認証が完了し、かつ、リカバリが完了した場合には、ステップS158に進む。なお、認証が完了した時点でリカバリが完了していない場合には、再度、認証を行うように構成してもよい。ステップS158では、RAM308に記憶している通信異常フラグをオフ(例えば、数値の0)に設定した後に、処理を終了する。 In steps S156 and S157, it is determined whether or not the authentication is completed by referring to the authentication status register 768a (see FIG. 8), and the recovery is completed by referring to the recovery completion notification register 768e (see FIG. 8). If it is determined whether or not the authentication has been performed, the authentication is completed, and the recovery is completed, the process proceeds to step S158. If the recovery is not completed when the authentication is completed, the authentication may be performed again. In step S158, after setting the communication abnormality flag stored in the RAM 308 to off (for example, a numerical value of 0), the process ends.

なお、ステップS156で実行する認証の方法は特に限定されず、例えば、主制御部300のRAM308の所定の領域(例えば、全ての領域)に記憶している1バイトデータを初期値が0である1バイト構成のレジスタに全て加算することによりチェックサムを算出し、算出したチェックサムの結果が特定の値(例えば0)であるか否か(チェックサムの結果が正常であるか否か)によって認証を行う方法が他の方法として挙げられる。 The authentication method executed in step S156 is not particularly limited, and for example, the initial value of 1-byte data stored in a predetermined area (for example, all areas) of the RAM 308 of the main control unit 300 is 0. The checksum is calculated by adding all to the 1-byte register, and it depends on whether the calculated checksum result is a specific value (for example, 0) (whether the checksum result is normal or not). Another method is to authenticate.

また、ステップS157で実行する「リカバリ」とは、電源断、通信線の断線などの通信異常が発生し、主制御部300からの未送信データがある場合に、暗号通信制御部315(図8参照)が、未送信データを払出制御部600などの他の制御部に向けて自動的に(主制御部300の制御プログラムによらずに)送信する処理をいう。 Further, the "recovery" executed in step S157 means that when a communication abnormality such as a power failure or a communication line disconnection occurs and there is untransmitted data from the main control unit 300, the encrypted communication control unit 315 (FIG. 8). (See) refers to a process of automatically transmitting untransmitted data to another control unit such as the payout control unit 600 (regardless of the control program of the main control unit 300).

<主制御部タイマ割込処理>
次に、図15を用いて、主制御部300のCPU304が実行する主制御部タイマ割込処理について説明する。なお、図15は主制御部タイマ割込処理の流れを示すフローチャートである。
<Main control unit timer interrupt processing>
Next, the main control unit timer interrupt process executed by the CPU 304 of the main control unit 300 will be described with reference to FIG. Note that FIG. 15 is a flowchart showing the flow of the main control unit timer interrupt process.

主制御部300は、所定の周期(本実施形態では約4msに1回)でタイマ割込信号を発生するカウンタタイマ312を備えており、このタイマ割込信号を契機として主制御部タイマ割込処理を所定の周期で開始する。 The main control unit 300 includes a counter timer 312 that generates a timer interrupt signal at a predetermined cycle (once every 4 ms in the present embodiment), and the timer interrupt signal is used as a trigger for the main control unit timer interrupt. The process is started at a predetermined cycle.

ステップS201では、タイマ割込開始処理を行う。このタイマ割込開始処理では、CPU304の各レジスタの値をスタック領域に一時的に退避する処理などを行う。ステップS203では、WDT314のカウント値が初期設定値(本実施形態では32.8ms)を超えてWDT割込が発生しないように(処理の異常を検出しないように)、WDTを定期的に(本実施形態では、主制御部タイマ割込の周期である約4msに1回)リスタートを行う。 In step S201, the timer interrupt start process is performed. In this timer interrupt start process, a process of temporarily saving the value of each register of the CPU 304 to the stack area is performed. In step S203, the WDT is periodically (this) so that the count value of the WDT 314 does not exceed the initial setting value (32.8 ms in the present embodiment) and the WDT interrupt does not occur (so as not to detect an abnormality in the process). In the embodiment, the restart is performed once every about 4 ms, which is the cycle of interrupting the main control unit timer.

ステップS205では、入力ポート状態更新処理を行う。この入力ポート状態更新処理では、I/O310の入力ポートを介して、上述の前面枠扉開放センサや内枠開放センサや下皿満タンセンサ、各種の球検出センサを含む各種センサ320の検出信号を入力して検出信号の有無を監視し、RAM308に各種センサ320ごとに区画して設けた信号状態記憶領域に記憶する。球検出センサの検出信号を例にして説明すれば、前々回のタイマ割込処理(約4ms前)で検出した各々の球検出センサの検出信号の有無の情報を、RAM308に各々の球検出センサごとに区画して設けた前回検出信号記憶領域から読み出し、この情報をRAM308に各々の球検出センサごとに区画して設けた前々回検出信号記憶領域に記憶し、前回のタイマ割込処理(約4ms前)で検出した各々の球検出センサの検出信号の有無の情報を、RAM308に各々の球検出センサごとに区画して設けた今回検出信号記憶領域から読み出し、この情報を上述の前回検出信号記憶領域に記憶する。また、今回検出した各々の球検出センサの検出信号を、上述の今回検出信号記憶領域に記憶する。 In step S205, the input port state update process is performed. In this input port state update process, the detection signals of various sensors 320 including the above-mentioned front frame door opening sensor, inner frame opening sensor, lower plate full tank sensor, and various ball detection sensors are transmitted via the input port of the I / O 310. It is input to monitor the presence or absence of a detection signal, and is stored in a signal state storage area provided in the RAM 308 for each of the various sensors 320. Taking the detection signal of the ball detection sensor as an example, the information on the presence or absence of the detection signal of each ball detection sensor detected in the timer interrupt processing (about 4 ms before) two times before is stored in the RAM 308 for each ball detection sensor. Read from the previous detection signal storage area provided separately in ), The information on the presence or absence of the detection signal of each ball detection sensor is read out from the current detection signal storage area provided in the RAM 308 for each ball detection sensor, and this information is read out from the above-mentioned previous detection signal storage area. Remember in. Further, the detection signal of each sphere detection sensor detected this time is stored in the above-mentioned detection signal storage area this time.

また、ステップS205では、上述の前々回検出信号記憶領域、前回検出信号記憶領域、および今回検出信号記領域の各記憶領域に記憶した各々の球検出センサの検出信号の有無の情報を比較し、各々の球検出センサにおける過去3回分の検出信号の有無の情報が入賞判定パターン情報と一致するか否かを判定する。一個の遊技球が一つの球検出センサを通過する間に、約4msという非常に短い間隔で起動を繰り返すこの主制御部タイマ割込処理は何回か起動する。このため、主制御部タイマ割込処理が起動する度に、上述のステップS205では、同じ遊技球が同じ球検出センサを通過したことを表す検出信号を確認することになる。この結果、上述の前々回検出信号記憶領域、前回検出信号記憶領域、および今回検出信号記領域それぞれに、同じ遊技球が同じ球検出センサを通過したことを表す検出信号が記憶される。すなわち、遊技球が球検出センサを通過し始めたときには、前々回検出信号無し、前回検出信号有り、今回検出信号有りになる。本実施形態では、球検出センサの誤検出やノイズを考慮して、検出信号無しの後に検出信号が連続して2回記憶されている場合には、入賞があったと判定する。 Further, in step S205, the information on the presence / absence of the detection signal of each sphere detection sensor stored in each storage area of the above-mentioned two-time detection signal storage area, the previous detection signal storage area, and the current detection signal storage area is compared, and each of them is compared. It is determined whether or not the information on the presence / absence of the detection signals for the past three times in the ball detection sensor of the above matches the winning determination pattern information. While one game ball passes through one ball detection sensor, this main control unit timer interrupt process, which repeats activation at a very short interval of about 4 ms, is activated several times. Therefore, every time the main control unit timer interrupt process is activated, in step S205 described above, a detection signal indicating that the same game ball has passed the same ball detection sensor is confirmed. As a result, a detection signal indicating that the same game ball has passed through the same ball detection sensor is stored in each of the above-mentioned two-time detection signal storage area, the previous detection signal storage area, and the current detection signal writing area. That is, when the game ball starts to pass through the ball detection sensor, there is no detection signal two times before, there is a previous detection signal, and there is a detection signal this time. In the present embodiment, in consideration of erroneous detection and noise of the ball detection sensor, if the detection signal is stored twice in succession after no detection signal, it is determined that a prize has been won.

主制御部300のROM306には、入賞判定パターン情報(本実施形態では、前々回検出信号無し、前回検出信号有り、今回検出信号有りであることを示す情報)が記憶されている。このステップS205では、各々の球検出センサにおいて過去3回分の検出信号の有無の情報が、予め定めた入賞判定パターン情報(本実施形態では、前々回検出信号無し、前回検出信号有り、今回検出信号有りであることを示す情報)と一致した場合に、一般入賞口226、可変入賞口234、第1特図始動口230、および第2特図始動口232への入球、または普図始動口228の通過があったと判定する。すなわち、これらの入賞口226、234やこれらの始動口230、232、228への入賞があったと判定する。例えば、一般入賞口226への入球を検出する一般入賞口センサにおいて過去3回分の検出信号の有無の情報が上述の入賞判定パターン情報と一致した場合には、一般入賞口226へ入賞があったと判定し、以降の一般入賞口226への入賞に伴う処理を行うが、過去3回分の検出信号の有無の情報が上述の入賞判定パターン情報と一致しなかった場合には、以降の一般入賞口226への入賞に伴う処理を行わずに後続の処理に分岐する。 The ROM 306 of the main control unit 300 stores the winning determination pattern information (in the present embodiment, information indicating that there is no detection signal two times before, there is a detection signal last time, and there is a detection signal this time). In this step S205, the information on the presence / absence of the detection signals for the past three times in each ball detection sensor is the predetermined winning determination pattern information (in this embodiment, there is no detection signal two times before, there is a previous detection signal, and there is a detection signal this time. If it matches with (information indicating that), the ball enters the general winning opening 226, the variable winning opening 234, the first special drawing starting port 230, and the second special drawing starting opening 232, or the normal drawing starting opening 228. It is judged that there was a passage of. That is, it is determined that the winning openings 226 and 234 and the starting openings 230, 232 and 228 have been won. For example, in the general winning opening sensor that detects the entry into the general winning opening 226, if the information on the presence or absence of the detection signals for the past three times matches the above-mentioned winning determination pattern information, the general winning opening 226 is awarded. If the information on the presence or absence of the detection signal for the past three times does not match the above-mentioned winning judgment pattern information, the subsequent general winning is performed. It branches to the subsequent processing without performing the processing associated with the winning of the mouth 226.

なお、主制御部300のROM306には、入賞判定クリアパターン情報(本実施形態では、前々回検出信号有り、前回検出信号無し、今回検出信号無しであることを示す情報)が記憶されている。入賞が一度あったと判定した後は、各々の球検出センサにおいて過去3回分の検出信号の有無の情報が、その入賞判定クリアパターン情報に一致するまで入賞があったとは判定せず、入賞判定クリアパターン情報に一致すれば、次からは上記入賞判定パターン情報に一致するか否かの判定を行う。 The ROM 306 of the main control unit 300 stores the winning determination clear pattern information (in the present embodiment, information indicating that there is a detection signal two times before, no detection signal last time, and no detection signal this time). After it is determined that there has been a prize once, it is not determined that there has been a prize until the information on the presence or absence of the detection signals for the past three times in each ball detection sensor matches the prize judgment clear pattern information, and the prize judgment is cleared. If it matches the pattern information, it is next to determine whether or not it matches the above-mentioned winning determination pattern information.

ステップS207およびステップS209では、基本乱数初期値更新処理および基本乱数更新処理を行う。これらの基本乱数初期値更新処理および基本乱数更新処理では、上記ステップS115で行った初期値生成用乱数カウンタの値の更新を行い、次に主制御部300で使用する、普図当選乱数値、特図1乱数値、および特図2乱数値をそれぞれ生成するための2つの乱数カウンタを更新する。例えば、普図当選乱数値として取り得る数値範囲が0〜100とすると、RAM308に設けた普図当選乱数値を生成するための乱数カウンタ記憶領域から値を取得し、取得した値に1を加算してから元の乱数カウンタ記憶領域に記憶する。このとき、取得した値に1を加算した結果が101であれば0を元の乱数カウンタ記憶領域に記憶する。また、取得した値に1を加算した結果、乱数カウンタが一周していると判定した場合にはそれぞれの乱数カウンタに対応する初期値生成用乱数カウンタの値を取得し、乱数カウンタの記憶領域にセットする。 In step S207 and step S209, the basic random number initial value update process and the basic random number update process are performed. In these basic random number initial value update processing and basic random number update processing, the value of the initial value generation random number counter performed in step S115 is updated, and then the normal figure winning random number value used in the main control unit 300, The two random number counters for generating the special figure 1 random number value and the special figure 2 random number value are updated. For example, assuming that the numerical range that can be taken as the normal figure winning random number value is 0 to 100, a value is acquired from the random number counter storage area for generating the general figure winning random number value provided in the RAM 308, and 1 is added to the acquired value. Then, it is stored in the original random number counter storage area. At this time, if the result of adding 1 to the acquired value is 101, 0 is stored in the original random number counter storage area. If it is determined that the random number counter has gone around as a result of adding 1 to the acquired value, the value of the initial value generation random number counter corresponding to each random number counter is acquired and stored in the storage area of the random number counter. set.

例えば、0〜100の数値範囲で変動する普図当選乱数値生成用の乱数カウンタから値を取得し、取得した値に1を加算した結果が、RAM308に設けた所定の初期値記憶領域に記憶している前回設定した初期値と等しい値(例えば7)である場合に、普図当選乱数値生成用の乱数カウンタに対応する初期値生成用乱数カウンタから値を初期値として取得し、普図当選乱数値生成用の乱数カウンタにセットすると共に、普図当選乱数値生成用の乱数カウンタが次に1周したことを判定するために、今回設定した初期値を上述の初期値記憶領域に記憶しておく。また、普図当選乱数値生成用の乱数カウンタが次に1周したことを判定するための上述の初期値記憶領域とは別に、特図乱数生成用の乱数カウンタが1周したことを判定するための初期値記憶領域をRAM308に設けている。なお、本実施形態では特図1の乱数値を取得するためのカウンタと特図2の乱数値を取得するためのカウンタとを別に設けたが、同一のカウンタを用いてもよい。 For example, a value is acquired from a random number counter for generating a winning random number value that fluctuates in a numerical range of 0 to 100, and the result of adding 1 to the acquired value is stored in a predetermined initial value storage area provided in the RAM 308. If the value is equal to the previously set initial value (for example, 7), the value is acquired as the initial value from the initial value generation random number counter corresponding to the random number counter for generating the winning random number value, and the general figure is used. The initial value set this time is stored in the above-mentioned initial value storage area in order to set it in the random number counter for generating the winning random value and to determine that the random number counter for generating the winning random value has made one round next. I will do it. In addition to the above-mentioned initial value storage area for determining that the random number counter for generating the winning random number of the normal figure has made one round, it is determined that the random number counter for generating the special figure random number has made one round. The RAM 308 is provided with an initial value storage area for this purpose. In the present embodiment, a counter for acquiring the random value of Special Figure 1 and a counter for acquiring the random value of Special Figure 2 are separately provided, but the same counter may be used.

ステップS211では、演出乱数更新処理を行う。この演出乱数更新処理では、主制御部300で使用する演出用乱数値を生成するための乱数カウンタを更新する。ステップS212では、割込み機能限定カウンタが0であるか否かの判定を行い、割込み機能限定カウンタが0以外の場合、ステップS213に進む。一方、割込み機能限定カウンタが0の場合、ステップS214に進む。ステップS213では、サブ起動待ちウェイト処理(詳細は後述)を行った後、ステップS215〜S235の処理を行うことなく、ステップS239に進む。 In step S211 the effect random number update process is performed. In this effect random number update process, the random number counter for generating the effect random number value used by the main control unit 300 is updated. In step S212, it is determined whether or not the interrupt function limitation counter is 0, and if the interrupt function limitation counter is other than 0, the process proceeds to step S213. On the other hand, when the interrupt function limitation counter is 0, the process proceeds to step S214. In step S213, after performing the sub-start wait wait process (details will be described later), the process proceeds to step S239 without performing the processes of steps S215 to S235.

ステップS214では、特定異常検出フラグ(詳細は後述)がON(例えば、数値の1)であるか否か、および、通信異常フラグがON(例えば、数値の1)であるか否かの判定を行い、いずれかのフラグがONの場合、ステップS215〜S235の処理を行うことなく、ステップS239に進む。一方、両方のフラグがOFF(例えば、数値の0)の場合、ステップS215に進む。 In step S214, it is determined whether or not the specific abnormality detection flag (details will be described later) is ON (for example, a numerical value 1) and whether or not the communication abnormality flag is ON (for example, a numerical value 1). If any of the flags is ON, the process proceeds to step S239 without performing the processes of steps S215 to S235. On the other hand, when both flags are OFF (for example, the numerical value is 0), the process proceeds to step S215.

ステップS215では、タイマ更新処理を行う。このタイマ更新処理では、普通図柄表示装置210に図柄を変動・停止表示する時間を計時するための普図表示図柄更新タイマ、第1特別図柄表示装置212に図柄を変動・停止表示する時間を計時するための特図1表示図柄更新タイマ、第2特図表示装置214に図柄を変動・停止表示する時間を計時するための特図2表示図柄更新タイマ、所定の入賞演出時間、所定の開放時間、所定の閉鎖時間、所定の終了演出期間などを計時するためのタイマなどを含む各種タイマを更新する。 In step S215, the timer update process is performed. In this timer update process, the normal symbol display symbol update timer for measuring the time for displaying the symbol on the normal symbol display device 210 and the time for displaying the symbol on the first special symbol display 212 is timed. Special figure 1 display symbol update timer for counting, special figure 2 display symbol update timer for measuring the time for changing / stopping the symbol on the second special symbol display device 214, predetermined winning effect time, predetermined opening time , Update various timers including a timer for measuring a predetermined closing time, a predetermined end effect period, and the like.

ステップS216では、入賞口カウンタ更新処理を行う。この入賞口カウンタ更新処理では、入賞口226、234や始動口230、232、228に入賞があった場合に、RAM308に各入賞口ごと、あるいは各始動口ごとに設けた賞球数記憶領域の値を読み出し、1を加算して、元の賞球数記憶領域に設定する。 In step S216, the winning opening counter update process is performed. In this winning opening counter update process, when there is a prize in the winning openings 226, 234 and the starting openings 230, 232, and 228, the winning ball number storage area provided in the RAM 308 for each winning opening or each starting opening is stored. The value is read, 1 is added, and the original prize ball number storage area is set.

また、ステップS217では、入賞受付処理を行う。この入賞受付処理では、一般入賞口226、第1特図始動口230、第2特図始動口232、普図始動口228、および可変入賞口234への入賞があったか否かを判定し、入賞があった場合に、RAM308に入賞口および始動口毎に設けた賞球数記憶領域に、対応する賞球数を記憶する。ステップS219では、シリアルコマンド管理処理を行う。詳細は後述するが、このシリアルコマンド管理処理では、払出制御部600とのシリアル通信の管理等を行う。 Further, in step S217, the winning prize acceptance process is performed. In this prize acceptance process, it is determined whether or not there has been a prize in the general prize opening 226, the first special figure starting port 230, the second special figure starting port 232, the normal drawing starting port 228, and the variable winning opening 234, and winning a prize. If there is, the corresponding number of prize balls is stored in the prize ball number storage area provided in the RAM 308 for each winning opening and starting opening. In step S219, serial command management processing is performed. Details will be described later, but in this serial command management process, serial communication with the payout control unit 600 is managed.

ステップS221では、普図状態更新処理を行う。この普図状態更新処理は、普図の状態に対応する複数の処理のうちの1つの処理を行う。例えば、普図変動表示の途中(上述する普図表示図柄更新タイマの値が1以上)における普図状態更新処理では、普通図柄表示装置210を構成する7セグメントLEDの点灯と消灯を繰り返す点灯・消灯駆動制御を行う。この制御を行うことで、普通図柄表示装置210は普図の変動表示(普図変動遊技)を行う。 In step S221, the normal map state update process is performed. This normal map state update process performs one of a plurality of processes corresponding to the normal map state. For example, in the normal figure state update process in the middle of the normal figure fluctuation display (the value of the above-mentioned normal figure display symbol update timer is 1 or more), the 7-segment LED constituting the normal symbol display device 210 is repeatedly turned on and off. Turns off Drive control is performed. By performing this control, the normal symbol display device 210 performs a variable display of the normal map (a variable game of the normal map).

また、普図変動表示時間が経過したタイミング(普図表示図柄更新タイマの値が1から0になったタイミング)における普図状態更新処理では、当りフラグがオンの場合には、当り図柄の表示態様となるように普通図柄表示装置210を構成する7セグメントLEDの点灯・消灯駆動制御を行い、当りフラグがオフの場合には、外れ図柄の表示態様となるように普通図柄表示装置210を構成する7セグメントLEDの点灯・消灯駆動制御を行う。また、主制御部300のRAM308には、普図状態更新処理に限らず各種の処理において各種の設定を行う設定領域が用意されている。ここでは、上記点灯・消灯駆動制御を行うとともに、その設定領域に普図停止表示中であることを示す設定を行う。この制御を行うことで、普通図柄表示装置210は、当り図柄(普図A)および外れ図柄(普図B)いずれか一方の図柄の確定表示を行う。さらにその後、所定の停止表示期間(例えば500m秒間)、その表示を維持するためにRAM308に設けた普図停止時間管理用タイマの記憶領域に停止期間を示す情報を設定する。この設定により、確定表示された図柄が所定期間停止表示され、普図変動遊技の結果が遊技者に報知される。 Further, in the normal figure state update process at the timing when the normal figure fluctuation display time elapses (the timing when the value of the normal figure display symbol update timer changes from 1 to 0), when the hit flag is on, the hit symbol is displayed. The 7-segment LED that constitutes the normal symbol display device 210 is controlled to turn on / off so as to be in the mode, and when the hit flag is off, the normal symbol display device 210 is configured so as to display the out-of-line symbol. Controls the lighting and extinguishing of the 7-segment LED. Further, the RAM 308 of the main control unit 300 is provided with a setting area for performing various settings not only in the normal figure state update process but also in various processes. Here, the lighting / extinguishing drive control is performed, and a setting indicating that the normal drawing stop display is in progress is performed in the setting area. By performing this control, the normal symbol display device 210 performs definite display of either the hit symbol (normal symbol A) or the missed symbol (general symbol B). After that, for a predetermined stop display period (for example, 500 msec), information indicating the stop period is set in the storage area of the normal figure stop time management timer provided in the RAM 308 to maintain the display. With this setting, the confirmed and displayed symbol is stopped and displayed for a predetermined period, and the result of the normal map variation game is notified to the player.

また、普図変動遊技の結果が当りであれば、後述するように、普図当りフラグがオンされる。この普図当りフラグがオンの場合には、所定の停止表示期間が終了したタイミング(普図停止時間管理用タイマの値が1から0になったタイミング)における普図状態更新処理では、RAM308の設定領域に普図作動中を設定するとともに、所定の開放期間(例えば2秒間)、第2特図始動口232の羽根部材232aの開閉駆動用のソレノイド(332)に、羽根部材232aを開放状態に保持する信号を出力するとともに、RAM308に設けた羽根開放時間管理用タイマの記憶領域に開放期間を示す情報を設定する。 If the result of the normal map fluctuation game is a hit, the normal map hit flag is turned on, as will be described later. When this normal figure hit flag is on, in the normal figure state update process at the timing when the predetermined stop display period ends (the timing when the value of the normal figure stop time management timer changes from 1 to 0), the RAM 308 The blade member 232a is open to the solenoid (332) for opening / closing the blade member 232a of the second special figure start port 232 for a predetermined opening period (for example, 2 seconds) while setting the normal drawing operation in the setting area. In addition to outputting the signal held in the RAM 308, information indicating the opening period is set in the storage area of the blade opening time management timer provided in the RAM 308.

また、所定の開放期間が終了したタイミング(羽根開放時間管理用タイマの値が1から0になったタイミング)で開始する普図状態更新処理では、所定の閉鎖期間(例えば500m秒間)、羽根部材の開閉駆動用のソレノイド332に、羽根部材を閉鎖状態に保持する信号を出力するとともに、RAM308に設けた羽根閉鎖時間管理用タイマの記憶領域に閉鎖期間を示す情報を設定する。 Further, in the normal drawing state update process that starts at the timing when the predetermined opening period ends (the timing when the value of the blade opening time management timer changes from 1 to 0), the blade member has a predetermined closing period (for example, 500 msec). A signal for holding the blade member in the closed state is output to the opening / closing drive solenoid 332, and information indicating the closing period is set in the storage area of the blade closing time management timer provided in the RAM 308.

また、所定の閉鎖期間が終了したタイミング(羽根閉鎖時間管理用タイマの値が1から0になったタイミング)で開始する普図状態更新処理では、RAM308の設定領域に普図非作動中を設定する。さらに、普図変動遊技の結果が外れであれば、後述するように、普図外れフラグがオンされる。この普図外れフラグがオンの場合には、上述した所定の停止表示期間が終了したタイミング(普図停止時間管理用タイマの値が1から0になったタイミング)における普図状態更新処理でも、RAM308の設定領域に普図非作動中を設定する。普図非作動中の場合における普図状態更新処理では、何もせずに次のステップS223に移行するようにしている。 Further, in the normal figure state update process that starts at the timing when the predetermined closing period ends (the timing when the value of the blade closing time management timer changes from 1 to 0), the setting area of the RAM 308 is set to be inactive. do. Further, if the result of the normal-figure variable game is out of order, the non-normal-figure flag is turned on, as will be described later. When this out-of-normal flag is on, even in the normal-figure state update process at the end of the predetermined stop display period described above (the timing when the value of the normal-figure stop time management timer changes from 1 to 0). Set the setting area of the RAM 308 to be inactive. In the normal map state update process when the normal map is not operating, the process proceeds to the next step S223 without doing anything.

ステップS223では、普図関連抽選処理を行う。この普図関連抽選処理では、普図変動遊技および第2特図始動口232の開閉制御を行っておらず(普図の状態が非作動中)、且つ、保留している普図変動遊技の数が1以上である場合に、上述の乱数値記憶領域に記憶している普図当選乱数値に基づいた乱数抽選により普図変動遊技の結果を当選とするか、不当選とするかを決定する当り判定をおこない、当選とする場合にはRAM308に設けた当りフラグにオンを設定する。不当選の場合には、当りフラグにオフを設定する。また、当り判定の結果に関わらず、次に上述の普図タイマ乱数値生成用の乱数カウンタの値を普図タイマ乱数値として取得し、取得した普図タイマ乱数値に基づいて複数の変動時間のうちから普図表示装置210に普図を変動表示する時間を1つ選択し、この変動表示時間を、普図変動表示時間として、RAM308に設けた普図変動時間記憶領域に記憶する。なお、保留している普図変動遊技の数は、RAM308に設けた普図保留数記憶領域に記憶するようにしており、当り判定をするたびに、保留している普図変動遊技の数から1を減算した値を、この普図保留数記憶領域に記憶し直すようにしている。また当り判定に使用した乱数値を消去する。 In step S223, the drawing-related lottery process is performed. In this normal figure-related lottery process, the normal figure variable game and the open / closed control of the second special figure start port 232 are not performed (the state of the normal figure is not operating), and the normal figure variable game is held. When the number is 1 or more, it is determined whether the result of the normal figure variation game is won or not won by the random number lottery based on the normal figure winning random number value stored in the above-mentioned random number value storage area. If the winning is determined, the hit flag provided in the RAM 308 is set to ON. In case of unsuccessful, set the hit flag to off. Further, regardless of the result of the hit determination, the value of the random number counter for generating the above-mentioned normal figure timer random value is then acquired as the normal figure timer random value, and a plurality of fluctuation times are obtained based on the acquired normal figure timer random value. One of the time for variable display of the normal map on the normal map display device 210 is selected, and this variable display time is stored in the normal map variable time storage area provided in the RAM 308 as the normal map variable display time. It should be noted that the number of reserved normal figure variable games is stored in the normal figure reserved number storage area provided in the RAM 308, and each time a hit determination is made, the number of reserved normal figure variable games is calculated. The value obtained by subtracting 1 is stored again in this reserved number storage area. Also, the random value used for the hit judgment is deleted.

ステップS224では、特図先読み制御処理を行う。この特図先読み制御処理では、特図当選乱数値などの先読みを行う。次いで、特図1および特図2それぞれについての特図状態更新処理を行うが、最初に、特図2についての特図状態更新処理(特図2状態更新処理)を行う(ステップS225)。この特図2状態更新処理は、特図2の状態に応じて、次の8つの処理のうちの1つの処理を行う。例えば、特図2変動表示の途中(上述の特図2表示図柄更新タイマの値が1以上)における特図2状態更新処理では、第2特別図柄表示装置214を構成する7セグメントLEDの点灯と消灯を繰り返す点灯・消灯駆動制御を行う。この制御を行うことで、第2特別図柄表示装置214は特図2の変動表示(特図2変動遊技)を行う。また、コマンド設定送信処理(ステップS233)で回転開始設定送信処理を実行させることを示す所定の送信情報を上述の送信情報記憶領域に追加記憶してから処理を終了する。 In step S224, the special figure look-ahead control process is performed. In this special figure look-ahead control process, look-ahead of the special figure winning random number value and the like is performed. Next, the special figure state update process for each of the special figure 1 and the special figure 2 is performed. First, the special figure state update process (special figure 2 state update process) for the special figure 2 is performed (step S225). This special figure 2 state update process performs one of the following eight processes according to the state of special figure 2. For example, in the special figure 2 state update process in the middle of the special figure 2 fluctuation display (the value of the above-mentioned special figure 2 display symbol update timer is 1 or more), the 7-segment LED constituting the second special symbol display device 214 is turned on. Performs on / off drive control that repeats turning off. By performing this control, the second special symbol display device 214 performs the variable display of the special figure 2 (special figure 2 variable game). Further, predetermined transmission information indicating that the rotation start setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the above-mentioned transmission information storage area, and then the process is terminated.

また、主制御部300のRAM308には、15R大当りフラグ、2R大当りフラグ、第1小当りフラグ、第2小当りフラグ、第1はずれフラグ、第2はずれフラグ、特図確率変動フラグ、および普図確率変動フラグそれぞれのフラグが用意されている。特図2変動表示時間が経過したタイミング(特図2表示図柄更新タイマの値が1から0になったタイミング)で開始する特図2状態更新処理では、15R大当りフラグはオン、特図確率変動フラグもオン、普図確率変動フラグもオンの場合には特図A、15R大当りフラグはオン、特図確率変動フラグはオフ、普図確率変動フラグはオンの場合には特図B、2R大当りフラグはオン、特図確率変動フラグもオン、普図確率変動フラグもオンの場合には特図C、2R大当りフラグはオン、特図確率変動フラグはオフ、普図確率変動フラグはオンの場合には特図D、2R大当りフラグはオン、特図確率変動フラグもオン、普図確率変動フラグはオンの場合には特図E、2R大当りフラグはオン、特図確率変動フラグはオフ、普図確率変動フラグもオフの場合には特図F、第1小当りフラグがオンの場合には特図G、第2小当りフラグがオンの場合には特図H、第1はずれフラグがオンの場合には特図I、第2はずれフラグがオンの場合には特図Iそれぞれの態様となるように、第2特別図柄表示装置214を構成する7セグメントLEDの点灯・消灯駆動制御を行い、RAM308の設定領域に特図2停止表示中であることを表す設定を行う。この制御を行うことで、第2特別図柄表示装置214は、15R特別大当り図柄(特図A)、15R大当り図柄(特図B)、突然確変図柄(特図C)、突然時短図柄(特図D)、隠れ確変図柄(特図E)、突然通常図柄(特図F)、第1小当り図柄(特図G)、第2小当り図柄(特図H)、第1はずれ図柄(特図I)、および第2はずれ図柄(特図J)のいずれか一つの図柄の確定表示を行う。さらにその後、所定の停止表示期間(例えば500m秒間)その表示を維持するためにRAM308に設けた特図2停止時間管理用タイマの記憶領域に停止期間を示す情報を設定する。この設定により、確定表示された特図2が所定期間停止表示され、特図2変動遊技の結果が遊技者に報知される。また、RAM308に設けられた時短回数記憶部に記憶された時短回数が1以上であれば、その時短回数から1を減算し、減算結果が1から0となった場合は、特図確率変動中(詳細は後述)でなければ、時短フラグをオフする。さらに、大当り遊技中(特別遊技状態中)にも、時短フラグをオフする。 Further, in the RAM 308 of the main control unit 300, a 15R jackpot flag, a 2R jackpot flag, a first small hit flag, a second small hit flag, a first missed flag, a second missed flag, a special figure probability fluctuation flag, and a general drawing Probability fluctuation flags Each flag is prepared. In the special figure 2 state update process that starts at the timing when the special figure 2 fluctuation display time elapses (the timing when the value of the special figure 2 display symbol update timer changes from 1 to 0), the 15R jackpot flag is on and the special figure probability fluctuation. When the flag is on, the normal figure probability fluctuation flag is also on, the special figure A, 15R jackpot flag is on, the special figure probability fluctuation flag is off, and when the normal figure probability fluctuation flag is on, the special figure B, 2R jackpot When the flag is on, the special figure probability fluctuation flag is also on, when the normal figure probability fluctuation flag is also on, the special figure C, 2R jackpot flag is on, the special figure probability fluctuation flag is off, and the normal figure probability fluctuation flag is on. The special figure D and 2R jackpot flag is on, the special figure probability fluctuation flag is also on, and when the normal figure probability fluctuation flag is on, the special figure E and 2R jackpot flag is on, the special figure probability fluctuation flag is off, and the normal When the figure probability fluctuation flag is also off, the special figure F, when the first small hit flag is on, the special figure G, when the second small hit flag is on, the special figure H, and the first missed flag are on. In the case of, the lighting / extinguishing drive control of the 7-segment LED constituting the second special symbol display device 214 is performed so that the special figure I and the special figure I are in the respective modes when the second off flag is on. , The setting area of the RAM 308 is set to indicate that the special figure 2 stop display is in progress. By performing this control, the second special symbol display device 214 has a 15R special jackpot symbol (special symbol A), a 15R jackpot symbol (special symbol B), a sudden probability change symbol (special symbol C), and a sudden time saving symbol (special symbol). D), hidden probability variation symbol (special symbol E), sudden normal symbol (special symbol F), first small hit symbol (special symbol G), second small hit symbol (special symbol H), first missed symbol (special symbol) Confirmation display of any one of I) and the second outlier symbol (special symbol J) is performed. After that, information indicating the stop period is set in the storage area of the special figure 2 stop time management timer provided in the RAM 308 to maintain the display for a predetermined stop display period (for example, 500 msec). With this setting, the confirmed display of the special figure 2 is stopped and displayed for a predetermined period, and the result of the special figure 2 variable game is notified to the player. If the number of time reductions stored in the time reduction storage unit provided in the RAM 308 is 1 or more, 1 is subtracted from the number of time reductions, and if the subtraction result is 1 to 0, the special figure probability is changing. If not (details will be described later), turn off the time saving flag. Furthermore, the time saving flag is turned off even during the big hit game (during the special game state).

また、コマンド設定送信処理(ステップS233)で回転停止設定送信処理を実行させることを示す所定の送信情報を上述の送信情報記憶領域に追加記憶するとともに、変動表示を停止する図柄が特図2であることを示す特図2識別情報を、後述するコマンドデータに含める情報としてRAM308に追加記憶してから処理を終了する。 Further, in FIG. 2, a symbol for additionally storing predetermined transmission information indicating that the rotation stop setting transmission process is to be executed in the command setting transmission process (step S233) is stored in the above-mentioned transmission information storage area, and the variable display is stopped. The special figure 2 identification information indicating that the information is present is additionally stored in the RAM 308 as information to be included in the command data described later, and then the process is terminated.

また、特図2変動遊技の結果が大当りであれば、後述するように、大当りフラグがオンされる。この大当りフラグがオンの場合には、所定の停止表示期間が終了したタイミング(特図2停止時間管理用タイマの値が1から0になったタイミング)における特図2状態更新処理では、RAM308の設定領域に特図2作動中を設定するとともに、所定の入賞演出期間(例えば3秒間)すなわち装飾図柄表示装置208による大当りを開始することを遊技者に報知する画像を表示している期間待機するためにRAM308に設けた特図2待機時間管理用タイマの記憶領域に入賞演出期間を示す情報を設定する。また、コマンド設定送信処理(ステップS233)で入賞演出設定送信処理を実行させることを示す所定の送信情報を上述の送信情報記憶領域に追加記憶する。 Further, if the result of the special figure 2 variable game is a big hit, the big hit flag is turned on as described later. When this jackpot flag is on, in the special figure 2 state update process at the timing when the predetermined stop display period ends (the timing when the value of the special figure 2 stop time management timer changes from 1 to 0), the RAM 308 In addition to setting the special figure 2 in operation in the setting area, the player waits for a predetermined winning effect period (for example, 3 seconds), that is, a period during which an image for notifying the player to start the big hit by the decorative symbol display device 208 is displayed. Therefore, information indicating the winning effect period is set in the storage area of the special figure 2 standby time management timer provided in the RAM 308. Further, predetermined transmission information indicating that the winning effect setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the above-mentioned transmission information storage area.

また、所定の入賞演出期間が終了したタイミング(特図2待機時間管理用タイマの値が1から0になったタイミング)で開始する特図2状態更新処理では、所定の開放期間(例えば29秒間、または可変入賞口234に所定球数(例えば10球)の遊技球の入賞を検出するまで)可変入賞口234の扉部材234aの開閉駆動用のソレノイド(332)に、扉部材234aを開放状態に保持する信号を出力するとともに、RAM308に設けた扉開放時間管理用タイマの記憶領域に開放期間を示す情報を設定する。また、コマンド設定送信処理(ステップS233)で大入賞口開放設定送信処理を実行させることを示す所定の送信情報を上述の送信情報記憶領域に追加記憶する。 Further, in the special figure 2 state update process that starts at the timing when the predetermined winning effect period ends (the timing when the value of the special figure 2 standby time management timer changes from 1 to 0), the predetermined opening period (for example, 29 seconds) Or, the door member 234a is open to the solenoid (332) for opening / closing the door member 234a of the variable winning opening 234 until a predetermined number of balls (for example, 10 balls) are won in the variable winning opening 234. In addition to outputting the signal held in the RAM 308, information indicating the opening period is set in the storage area of the door opening time management timer provided in the RAM 308. In addition, predetermined transmission information indicating that the large winning opening opening setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the above-mentioned transmission information storage area.

また、所定の開放期間が終了したタイミング(扉開放時間管理用タイマの値が1から0になったタイミング)で開始する特図2状態更新処理では、所定の閉鎖期間(例えば1.5秒間)可変入賞口234の扉部材234aの開閉駆動用のソレノイド(332)に、扉部材234aを閉鎖状態に保持する信号を出力するとともに、RAM308に設けた扉閉鎖時間管理用タイマの記憶領域に閉鎖期間を示す情報を設定する。また、コマンド設定送信処理(ステップS233)で大入賞口閉鎖設定送信処理を実行させることを示す所定の送信情報を上述の送信情報記憶領域に追加記憶する。 Further, in the special figure 2 state update process that starts at the timing when the predetermined opening period ends (the timing when the value of the door opening time management timer changes from 1 to 0), the predetermined closing period (for example, 1.5 seconds) A signal for holding the door member 234a in the closed state is output to the solenoid (332) for opening / closing the door member 234a of the variable winning opening 234, and the closing period is stored in the storage area of the door closing time management timer provided in the RAM 308. Set the information indicating. In addition, predetermined transmission information indicating that the large winning opening closing setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the above-mentioned transmission information storage area.

また、この扉部材の開放・閉鎖制御を所定回数(本実施例では15ラウンドか2ラウンド)繰り返し、終了したタイミングで開始する特図2状態更新処理では、所定の終了演出期間(例えば3秒間)すなわち装飾図柄表示装置208による大当りを終了することを遊技者に報知する画像を表示している期間待機するように設定するためにRAM308に設けた演出待機時間管理用タイマの記憶領域に演出待機期間を示す情報を設定する。また、普図確率変動フラグがオンに設定されていれば、この大当り遊技の終了と同時に、RAM308に設けられた時短回数記憶部に時短回数100回をセットするともに、RAM308に設けられた時短フラグをオンする。なお、その普図確率変動フラグがオフに設定されていれば、時短回数記憶部に時短回数をセットすることもなく、また時短フラグをオンすることもない。ここにいう時短とは、特図変動遊技における大当りを終了してから、次の大当りを開始するまでの時間を短くするため、パチンコ機が遊技者にとって有利な状態になることをいう。この時短フラグがオンに設定されていると、普図高確率状態である。普図高確率状態では普図低確率状態に比べて、普図変動遊技に大当りする可能性が高い。また、普図高確率状態の方が、普図低確率状態に比べて普図変動遊技の変動時間および特図変動遊技の変動時間は短くなる。さらに、普図高確率状態では普図低確率状態に比べて、第2特別始動口232の一対の羽根部材232aの1回の開放における開放時間が長くなりやすい。加えて、普図高確率状態では普図低確率状態に比べて、一対の羽根部材232aは多く開きやすい。また、上述のごとく、時短フラグは、大当り遊技中(特別遊技状態中)にはオフに設定される。したがって、大当り遊技中には、普図低確率状態が維持される。これは、大当り遊技中に普図高確率状態であると、大当り遊技中に可変入賞口234に所定の個数、遊技球が入球するまでの間に第2特図始動口232に多くの遊技球が入球し、大当り中に獲得することができる遊技球の数が多くなってしまい射幸性が高まってしまうという問題があり、これを解決するためのものである。さらに、コマンド設定送信処理(ステップS233)で終了演出設定送信処理を実行させることを示す所定の送信情報を上述の送信情報記憶領域に追加記憶する。 Further, in the special figure 2 state update process which repeats the opening / closing control of the door member a predetermined number of times (15 rounds or 2 rounds in this embodiment) and starts at the end timing, a predetermined end effect period (for example, 3 seconds). That is, the effect waiting period is stored in the storage area of the effect standby time management timer provided in the RAM 308 to set to wait for the period during which the image for notifying the player that the jackpot by the decorative symbol display device 208 is finished is displayed. Set the information indicating. Further, if the normal figure probability fluctuation flag is set to ON, at the same time as the end of this big hit game, the time saving number of times 100 times is set in the time saving number storage unit provided in the RAM 308, and the time saving flag provided in the RAM 308 is set. Turn on. If the normal figure probability fluctuation flag is set to off, the time reduction number of times is not set in the time reduction number storage unit, and the time reduction flag is not turned on. The term "time reduction" as used herein means that the pachinko machine is in an advantageous state for the player because the time from the end of the jackpot in the special figure variable game to the start of the next jackpot is shortened. When this time saving flag is set to on, it is in a high probability state. In the high-probability state of the normal figure, there is a higher possibility of hitting the variable game of the normal figure than in the low-probability state of the normal figure. In addition, the fluctuation time of the normal-figure variable game and the fluctuation time of the special-figure variable game are shorter in the normal-figure high-probability state than in the normal-figure low-probability state. Further, in the high-probability state of the normal drawing, the opening time in one opening of the pair of blade members 232a of the second special starting port 232 tends to be longer than in the low-probability state of the normal drawing. In addition, in the high-probability state of the normal drawing, the pair of blade members 232a are more likely to open than in the low-probability state of the normal drawing. Further, as described above, the time saving flag is set to off during the big hit game (during the special game state). Therefore, during the jackpot game, the low probability state of the normal figure is maintained. This is because, if the probability is high during the big hit game, a predetermined number of games are played in the variable winning opening 234 during the big hit game, and many games are played in the second special drawing starting port 232 until the game ball enters. This is to solve the problem that the number of game balls that can be acquired during the jackpot increases due to the ball entering the ball and the gambling property increases. Further, predetermined transmission information indicating that the end effect setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the above-mentioned transmission information storage area.

また、所定の終了演出期間が終了したタイミング(演出待機時間管理用タイマの値が1から0になったタイミング)で開始する特図2状態更新処理では、RAM308の設定領域に特図2非作動中を設定する。さらに、特図2変動遊技の結果が外れであれば、後述するように、はずれフラグがオンされる。このはずれフラグがオンの場合には、上述した所定の停止表示期間が終了したタイミング(特図2停止時間管理用タイマの値が1から0になったタイミング)における特図2状態更新処理でも、RAM308の設定領域に特図2非作動中を設定する。特図2非作動中の場合における特図2状態更新処理では、何もせずに次のステップS227に移行するようにしている。 Further, in the special figure 2 state update process that starts at the timing when the predetermined end effect period ends (the timing when the value of the effect standby time management timer changes from 1 to 0), the special figure 2 does not operate in the setting area of the RAM 308. Set inside. Further, if the result of the special figure 2 variable game is different, the off flag is turned on as will be described later. When this off flag is on, even in the special figure 2 state update process at the timing when the above-mentioned predetermined stop display period ends (the timing when the value of the special figure 2 stop time management timer changes from 1 to 0). In the setting area of the RAM 308, special figure 2 non-operating is set. In the special figure 2 state update process in the case where the special figure 2 is not operating, the process proceeds to the next step S227 without doing anything.

続いて、特図1についての特図状態更新処理(特図1状態更新処理)を行う(ステップS227)。この特図1状態更新処理では、特図1の状態に応じて、上述の特図2状態更新処理で説明した各処理を行う。この特図1状態更新処理で行う各処理は、上述の特図2状態更新処理で説明した内容の「特図2」を「特図1」と読み替えた処理と同一であるため、その説明は省略する。なお、特図2状態更新処理と特図1状態更新処理の順番は逆でもよい。 Subsequently, the special figure state update process (special figure 1 state update process) for the special figure 1 is performed (step S227). In this special figure 1 state update process, each process described in the above-mentioned special figure 2 state update process is performed according to the state of special figure 1. Since each process performed in this special figure 1 state update process is the same as the process in which "special figure 2" of the content explained in the above-mentioned special figure 2 state update process is replaced with "special figure 1", the explanation thereof is described. Omit. The order of the special figure 2 state update process and the special figure 1 state update process may be reversed.

ステップS225およびステップS227における特図状態更新処理が終了すると、今度は、特図1および特図2それぞれについての特図関連抽選処理を行う。ここでも先に、特図2についての特図関連抽選処理(特図2関連抽選処理)を行い(ステップS229)、その後で、特図1についての特図関連抽選処理(特図1関連抽選処理)を行う(ステップS231)。これらの特図関連抽選処理についても、主制御部300が特図2関連抽選処理を特図1関連抽選処理よりも先に行うことで、特図2変動遊技の開始条件と、特図1変動遊技の開始条件が同時に成立した場合でも、特図2変動遊技が先に変動中となるため、特図1変動遊技は変動を開始しない。また、装飾図柄表示装置208による、特図変動遊技の大当り判定の結果の報知は、第1副制御部400によって行われ、第2特図始動口232への入賞に基づく抽選の抽選結果の報知が、第1特図始動口230への入賞に基づく抽選の抽選結果の報知よりも優先して行われる。 When the special figure state update process in step S225 and step S227 is completed, the special figure-related lottery process for each of the special figure 1 and the special figure 2 is performed this time. Here, too, the special figure-related lottery process for the special figure 2 (special figure 2 related lottery process) is performed first (step S229), and then the special figure-related lottery process for the special figure 1 (special figure 1 related lottery process). ) (Step S231). Regarding these special figure-related lottery processes, the main control unit 300 performs the special figure 2 related lottery process before the special figure 1 related lottery process, so that the start condition of the special figure 2 variable game and the special figure 1 variation Even if the game start conditions are satisfied at the same time, the special figure 2 variable game does not start the change because the special figure 2 variable game is changing first. Further, the decoration symbol display device 208 notifies the result of the jackpot determination of the special figure variation game by the first sub-control unit 400, and the notification of the lottery result of the lottery based on the winning of the second special figure start port 232. However, the lottery result of the lottery based on the winning of the first special figure start port 230 is notified with priority.

ステップS232では、デバイス監視処理を実行する。詳細は後述するが、このデバイス監視処理では、各種デバイスのエラーの有無を検出する処理などを行う。ここで、このデバイス監視処理で監視するエラーとしては、下受け皿満タンエラー(下皿満タンエラー)、払出装置エラー、払出超過エラー、不正払出エラー、払出個数スイッチエラー、主制御通信エラー、CRユニット未接続エラー、CRユニット通信エラー、磁気異常エラー、外部クロック異常エラー、磁界異常エラー、スイッチレベル異常エラー、枠開放エラー(前面枠扉開放エラー)、スイッチ未接続エラー、衝撃センサエラーなどが挙げられる。 In step S232, the device monitoring process is executed. Details will be described later, but in this device monitoring process, processing for detecting the presence or absence of errors in various devices is performed. Here, the errors monitored by this device monitoring process include a lower tray full tank error (lower plate full tank error), a payout device error, a payout excess error, an illegal payout error, a payout quantity switch error, a main control communication error, and a CR unit not yet. Examples include connection error, CR unit communication error, magnetic abnormality error, external clock abnormality error, magnetic field abnormality error, switch level abnormality error, frame opening error (front frame door opening error), switch non-connection error, impact sensor error, and the like.

下受け皿満タンエラーとは、下皿満タンスイッチ信号のオン状態が、メイン基板の所定の入力ポートによってタイマ割り込みでオンを1回読み込んだとき(オフ状態からオン状態に切り換わるとき)にメインから払出に出力されるものである。払出装置エラーとは、払出モータが払出要求数分の駆動を終了後(実際は+ブレーキ期間+無励磁期間経過後)の次の割り込み内で、払出数(払出個数スイッチのカウント数)が払出要求数よりも少ない場合に払出装置エラーの発生を検知するものである。1個ずつ遊技球を払い出すリトライ処理が完了することにより、当該エラー状態が解除される。 The lower plate full tank error is when the on state of the lower plate full tank switch signal is read once by a timer interrupt from a predetermined input port on the main board (when switching from the off state to the on state) from the main. It is output to the payout. A payout device error is a payout request in which the number of payouts (count number of payout number switches) is within the next interrupt after the payout motor finishes driving for the number of payout requests (actually, after the + braking period + non-excitation period elapses). The occurrence of a payout device error is detected when the number is less than the number. The error state is cleared when the retry process of paying out the game balls one by one is completed.

払出超過エラーとは、払出要求数に対して実際に払い出された遊技球が10個多く検知されたとき払出動作を停止するものである。この払出超過エラーは、エラー解除スイッチ168によって解除するエラーであり、エラー解除スイッチ168を操作するか、RAMクリアスイッチ180による初期化(RAMクリア)によって当該エラー状態が解除される。不正払出エラーとは、払出要求が発生していない状態で遊技球の払出を検知(払出個数スイッチがカウント)したとき払出動作を停止するものである。この不正払出エラーは、エラー解除スイッチ168によって解除するエラーであり、エラー解除スイッチ168を操作するか、RAMクリアスイッチ180による初期化(RAMクリア)によって当該エラー状態が解除される。 The payout excess error is to stop the payout operation when 10 more game balls actually paid out are detected with respect to the number of payout requests. This payout excess error is an error released by the error release switch 168, and the error state is released by operating the error release switch 168 or initializing by the RAM clear switch 180 (RAM clear). The illegal payout error is to stop the payout operation when the payout of the game ball is detected (the payout number switch counts) when the payout request is not generated. This illegal payout error is an error released by the error release switch 168, and the error state is released by operating the error release switch 168 or initializing by the RAM clear switch 180 (RAM clear).

払出個数スイッチエラーとは、払出基板170に制御される遊技球の払出個数スイッチ(不図示)のエラーであり、払出個数スイッチの接続異常を検知したとき(メイン基板は関係なし)払出動作を停止するものである。この払出個数スイッチエラーは、エラー解除スイッチ168によって解除するエラーであり、スイッチの接続が正しいか確認した後、エラー解除スイッチ168を操作するか、RAMクリアスイッチ180による初期化(RAMクリア)によって当該エラー状態が解除される。主制御通信エラーとは、主制御接続確認信号のオフ状態を検知した場合、または主制御動作確認信号のオン状態を2割り込み継続して検知した場合に発生するエラーであり、メイン基板からのコマンド受信が不能になるものである。但し、払出要求数が残存している場合は、その分までは払い出す。主制御接続確認信号のオン状態を検知した場合で、かつ、主制御動作確認信号のオフ状態を2割り込み継続して検知した場合に当該エラー状態が解除される。 The payout number switch error is an error of the payout number switch (not shown) of the game ball controlled by the payout board 170, and when a connection abnormality of the payout number switch is detected (regardless of the main board), the payout operation is stopped. It is something to do. This payout quantity switch error is an error released by the error release switch 168, and after confirming whether the switch connection is correct, the error release switch 168 is operated or the RAM clear switch 180 is initialized (RAM clear). The error status is cleared. The main control communication error is an error that occurs when the off state of the main control connection confirmation signal is detected or when the on state of the main control operation confirmation signal is continuously detected for two interrupts, and is a command from the main board. It becomes impossible to receive. However, if the number of withdrawal requests remains, the amount will be paid out up to that amount. The error state is canceled when the on state of the main control connection confirmation signal is detected and when the off state of the main control operation confirmation signal is continuously detected for two interrupts.

CRユニット未接続エラーとは、CRユニット未接続エラーが解除状態のときに、CRユニット接続信号(VL信号)のオフ状態を検知し、16ms継続した場合に発生するものであり、貸出停止(賞球の払出には影響なし)となるものである。CRユニット接続信号のON状態を検知し、16ms継続した場合に当該エラー状態が解除される。なお、エラー解除した後、CRユニットREADY信号(BRDY信号)およびCRユニット貸出要求完了確認信号(BRQ信号)がオフ状態となるまでCRユニットとの通信が無効状態になる。 The CR unit non-connection error occurs when the CR unit connection signal (VL signal) is detected to be off when the CR unit non-connection error is in the release state and continues for 16 ms, and the loan is suspended (award). There is no effect on the payout of balls). The ON state of the CR unit connection signal is detected, and the error state is canceled when the ON state is continued for 16 ms. After the error is cleared, the communication with the CR unit is disabled until the CR unit READY signal (BRDY signal) and the CR unit lending request completion confirmation signal (BRQ signal) are turned off.

ここで、CRユニットとインタフェースの接続信号関係について説明する。各種信号が、CRユニットからインタフェースを介して払出基板へと伝達される場合、CRユニット接続信号とは、CRユニット内の+18V電源からなるVL信号である。CRユニットREADY信号とは、CRユニットが貸し出しの処理中であることを伝達するBRDY信号である。CRユニット貸出要求確認信号とは、CRユニットが基本単位分25個の貸出要求と貸出指示を伝達するBRQ信号である。 Here, the connection signal relationship between the CR unit and the interface will be described. When various signals are transmitted from the CR unit to the payout board via the interface, the CR unit connection signal is a VL signal consisting of a + 18V power supply in the CR unit. The CR unit READY signal is a BRDY signal that conveys that the CR unit is in the process of being rented out. The CR unit lending request confirmation signal is a BRQ signal in which the CR unit transmits 25 lending requests and lending instructions for the basic unit.

CRユニット通信エラーとは、貸出要求発生前にBRQ信号のオン状態を検知した場合に発生するものである(なお、他の条件もあるが、ここでは特に関係がないため割愛する)。遊技機側から通信異常を通知した後、BRDY信号およびBRQ信号をオフ状態にすることで当該エラー状態が解除される。 The CR unit communication error occurs when the ON state of the BRQ signal is detected before the lending request is generated (note that there are other conditions, but they are omitted here because they are not particularly relevant). After notifying the communication abnormality from the gaming machine side, the error state is canceled by turning off the BRDY signal and the BRQ signal.

磁気異常エラーとは、所定量を超える磁力を検出したとき主制御動作を停止するものである。外部クロック異常エラーとは、乱数更新用クロックに異常を検出した場合に発生するエラーである。磁界異常エラーとは、所定量を超える磁界を検出した場合に発生するエラーである。スイッチレベル異常エラーとは、入賞スイッチを検出し、1s継続した場合に発生するエラーである。枠開放エラーとは、ガラス枠または内枠の開放を検出した場合に発生するエラーである。スイッチ未接続エラーとは、入賞スイッチ(不図示)のエラーであり、入賞スイッチの接続異常を検出した場合に発生するエラーである。衝撃センサエラーとは、衝撃センサが所定量を超える衝撃を検出したとき電源断まで継続してエラーを報知するものである。 The magnetic anomaly error stops the main control operation when a magnetic force exceeding a predetermined amount is detected. The external clock abnormality error is an error that occurs when an abnormality is detected in the random number update clock. The magnetic field abnormality error is an error that occurs when a magnetic field exceeding a predetermined amount is detected. The switch level abnormality error is an error that occurs when a winning switch is detected and continues for 1 s. The frame opening error is an error that occurs when the opening of the glass frame or the inner frame is detected. The switch non-connection error is an error of the winning switch (not shown), and is an error that occurs when a connection abnormality of the winning switch is detected. The impact sensor error is to continuously notify the error until the power is turned off when the impact sensor detects an impact exceeding a predetermined amount.

ステップS233では、コマンド設定送信処理を行い、各種のコマンド(例えば、ステップS232のデバイス監視処理で特定異常があった場合は、特定異常を示す信号)が第1副制御部400に送信される。なお、第1副制御部400に送信する出力予定情報は例えば16ビットで構成しており、ビット15はストローブ情報(オンの場合、データをセットしていることを示す)、ビット11〜14はコマンド種別(本実施形態では、基本コマンド、図柄変動開始コマンド、図柄変動停止コマンド、入賞演出開始コマンド、終了演出開始コマンド、大当りラウンド数指定コマンド、復電コマンド、RAM(登録商標)クリアコマンドなどコマンドの種類を特定可能な情報)、ビット0〜10はコマンドデータ(コマンド種別に対応する所定の情報)で構成している。 In step S233, a command setting transmission process is performed, and various commands (for example, if there is a specific abnormality in the device monitoring process of step S232, a signal indicating the specific abnormality) are transmitted to the first sub-control unit 400. The output schedule information to be transmitted to the first sub-control unit 400 is composed of, for example, 16 bits, the bits 15 are strobe information (when it is on, it indicates that data is set), and the bits 11 to 14 are. Command type (In this embodiment, a basic command, a symbol fluctuation start command, a symbol fluctuation stop command, a winning effect start command, an end effect start command, a jackpot round number specification command, a power recovery command, a RAM (registered trademark) clear command, etc. Bits 0 to 10 are composed of command data (predetermined information corresponding to the command type).

具体的には、ストローブ情報は上述のコマンド送信処理でオン、オフするようにしている。また、コマンド種別が図柄変動開始コマンドの場合であればコマンドデータに、15R大当りフラグや2R大当りフラグの値、特図確率変動フラグの値、特図関連抽選処理で選択したタイマ番号などを示す情報を含み、図柄変動停止コマンドの場合であれば、15R大当りフラグや2R大当りフラグの値、特図確率変動フラグの値などを含み、入賞演出コマンドおよび終了演出開始コマンドの場合であれば、特図確率変動フラグの値などを含み、大当りラウンド数指定コマンドの場合であれば特図確率変動フラグの値、大当りラウンド数などを含むようにしている。コマンド種別が基本コマンドを示す場合は、コマンドデータにデバイス情報、第1特図始動口230への入賞の有無、第2特図始動口232への入賞の有無、可変入賞口234への入賞の有無などを含む。 Specifically, the strobe information is turned on and off by the above-mentioned command transmission process. If the command type is a symbol variation start command, the command data includes information indicating the values of the 15R jackpot flag and the 2R jackpot flag, the value of the special figure probability fluctuation flag, the timer number selected in the special figure related lottery process, and the like. In the case of the symbol fluctuation stop command, the value of the 15R jackpot flag, the 2R jackpot flag, the value of the special figure probability fluctuation flag, etc. are included, and in the case of the winning effect command and the end effect start command, the special figure The value of the probability fluctuation flag is included, and in the case of the command for specifying the number of jackpot rounds, the value of the special figure probability fluctuation flag, the number of jackpot rounds, etc. are included. When the command type indicates a basic command, the command data includes device information, whether or not the first special figure start port 230 has been won, whether or not the second special figure start port 232 has been won, and whether or not the variable winning opening 234 has been won. Including presence / absence.

また、上述の回転開始設定送信処理では、コマンドデータにRAM308に記憶している、15R大当りフラグや2R大当りフラグの値、特図確率変動フラグの値、特図1関連抽選処理および特図2関連抽選処理で選択したタイマ番号、保留している第1特図変動遊技または第2特図変動遊技の数などを示す情報を設定する。上述の回転停止設定送信処理では、コマンドデータにRAM308に記憶している、15R大当りフラグや2R大当りフラグの値、特図確率変動フラグの値などを示す情報を設定する。上述の入賞演出設定送信処理では、コマンドデータに、RAM308に記憶している、入賞演出期間中に装飾図柄表示装置208・各種ランプ418・スピーカ120に出力する演出制御情報、特図確率変動フラグの値、保留している第1特図変動遊技または第2特図変動遊技の数などを示す情報を設定する。上述の終了演出設定送信処理では、コマンドデータに、RAM308に記憶している、演出待機期間中に装飾図柄表示装置208・各種ランプ418・スピーカ120に出力する演出制御情報、特図確率変動フラグの値、保留している第1特図変動遊技または第2特図変動遊技の数などを示す情報を設定する。上述の大入賞口開放設定送信処理では、コマンドデータにRAM308に記憶している大当りラウンド数、特図確率変動フラグの値、保留している第1特図変動遊技または第2特図変動遊技の数などを示す情報を設定する。上述の大入賞口閉鎖設定送信処理では、コマンドデータにRAM308に記憶している大当りラウンド数、特図確率変動フラグの値、保留している第1特図変動遊技または第2特図変動遊技の数などを示す情報を設定する。また、このステップS233では一般コマンド特図保留増加処理も行われる。この一般コマンド特図保留増加処理では、コマンドデータにRAM308の送信用情報記憶領域に記憶している特図識別情報(特図1または特図2を示す情報)、予告情報(事前予告情報、偽事前予告情報、または事前予告無情報のいずれか)を設定する。 Further, in the above-mentioned rotation start setting transmission process, the values of the 15R jackpot flag and the 2R jackpot flag, the value of the special figure probability fluctuation flag, the special figure 1 related lottery process, and the special figure 2 related, which are stored in the RAM 308 in the command data. Information indicating the timer number selected in the lottery process, the number of the first special figure variable game or the second special figure variable game held, and the like are set. In the above-described rotation stop setting transmission process, information indicating the values of the 15R jackpot flag, the 2R jackpot flag, the special figure probability fluctuation flag, and the like stored in the RAM 308 is set in the command data. In the above-mentioned prize-winning effect setting transmission process, the command data includes the effect control information stored in the RAM 308, which is output to the decorative symbol display device 208, various lamps 418, and the speaker 120 during the prize-winning effect period, and the special figure probability fluctuation flag. Information indicating the value, the number of the first special figure variable game or the second special figure variable game held, and the like are set. In the above-mentioned end effect setting transmission process, the command data includes the effect control information stored in the RAM 308 and output to the decorative symbol display device 208, various lamps 418, and the speaker 120 during the effect standby period, and the special figure probability fluctuation flag. Information indicating the value, the number of the first special figure variable game or the second special figure variable game held, and the like are set. In the above-mentioned large winning opening opening setting transmission process, the number of jackpot rounds stored in the RAM 308 in the command data, the value of the special figure probability fluctuation flag, the reserved first special figure variable game or the second special figure variable game Set information indicating the number and so on. In the above-mentioned large winning opening closing setting transmission process, the number of jackpot rounds stored in the RAM 308 in the command data, the value of the special figure probability fluctuation flag, the reserved first special figure variable game or the second special figure variable game Set information indicating the number and so on. Further, in this step S233, the general command special figure hold increase process is also performed. In this general command special figure hold increase process, special figure identification information (information indicating special figure 1 or special figure 2) and notice information (advance notice information, false notice information) stored in the transmission information storage area of the RAM 308 in the command data. Either advance notice information or no advance notice information) is set.

第1副制御部400では、受信した出力予定情報に含まれるコマンド種別により、主制御部300における遊技制御の変化に応じた演出制御の決定が可能になるとともに、出力予定情報に含まれているコマンドデータの情報に基づいて、演出制御内容を決定することができるようになる。 The first sub-control unit 400 can determine the effect control according to the change in the game control in the main control unit 300 depending on the command type included in the received output schedule information, and is included in the output schedule information. It becomes possible to determine the effect control content based on the information of the command data.

ステップS235では、外部出力信号設定処理を行う。この外部出力信号設定処理では、払出基板170に向けて外部端子板信号3〜10を出力する処理等を行う。なお、上述のとおり、外部端子板信号3〜10は、払出基板170を介さずに外部端子板609に出力するように構成してもよい。また、ここでは、情報出力回路336を介して、外部のホールコンピュータ(図示省略)等が備える情報入力回路350に向けてセキュリティ信号を出力する。 In step S235, the external output signal setting process is performed. In this external output signal setting process, a process of outputting external terminal board signals 3 to 10 toward the payout board 170 is performed. As described above, the external terminal board signals 3 to 10 may be configured to be output to the external terminal board 609 without passing through the payout board 170. Further, here, a security signal is output to the information input circuit 350 provided in an external hall computer (not shown) or the like via the information output circuit 336.

ステップS239では、低電圧信号がオンであるか否かを監視する。そして、低電圧信号がオンの場合(電源の遮断を検知した場合)にはステップS243に進み、低電圧信号がオフの場合(電源の遮断を検知していない場合)にはステップS241に進む。 In step S239, it is monitored whether or not the low voltage signal is on. Then, when the low voltage signal is on (when the power cutoff is detected), the process proceeds to step S243, and when the low voltage signal is off (when the power supply cutoff is not detected), the process proceeds to step S241.

ステップS241では、タイマ割込終了処理を行う。このタイマ割込終了処理では、ステップS201で一時的に退避した各レジスタの値を元の各レジスタに設定したり、割込許可の設定などを行い、その後、主制御部メイン処理に復帰する。一方、ステップS243では、復電時に電断時の状態に復帰するための特定の変数やスタックポインタを復帰データとしてRAM308の所定の領域に退避し、入出力ポートの初期化等の電断処理を行い、その後、上述の主制御部メイン処理に復帰する。 In step S241, the timer interrupt end process is performed. In this timer interrupt end process, the value of each register temporarily saved in step S201 is set in each original register, interrupt permission is set, and then the process returns to the main control unit main process. On the other hand, in step S243, a specific variable or stack pointer for returning to the state at the time of power failure at the time of power recovery is saved as recovery data in a predetermined area of the RAM 308, and power failure processing such as initialization of the input / output port is performed. After that, the process returns to the main processing of the main control unit described above.

<サブ起動待ちウェイト処理>
次に、図16を用いて、上述の主制御タイマ割込処理におけるサブ起動待ちウェイト処理(ステップS213)について説明する。なお、図16は、サブ起動待ちウェイト処理の流れを示すフローチャートである。
<Waiting for sub-start wait processing>
Next, the sub-start wait wait process (step S213) in the above-mentioned main control timer interrupt process will be described with reference to FIG. Note that FIG. 16 is a flowchart showing the flow of the sub-start wait wait process.

ステップS2001では、割込み機能限定カウンタから1を減算し、次のステップS2002では、割込み機能限定カウンタの値が0か否かを判定する。そして、割込み機能限定カウンタの値が0の場合にはステップS2003に進み、割込み機能限定カウンタの値が0でない場合にはステップS2004に進む。ステップS2003では、電源投入時のRAM初期設定を行う。この電源投入時のRAM初期設定では、RAM308の全ての記憶領域のうち、電源投入時に初期設定が必要な記憶領域に記憶されたデータの初期設定を行う。 In step S2001, 1 is subtracted from the interrupt function limitation counter, and in the next step S2002, it is determined whether or not the value of the interrupt function limitation counter is 0. Then, when the value of the interrupt function limited counter is 0, the process proceeds to step S2003, and when the value of the interrupt function limited counter is not 0, the process proceeds to step S2004. In step S2003, the RAM initial setting at the time of turning on the power is performed. In the RAM initial setting at the time of power-on, the data stored in the storage area that requires the initial setting at the time of power-on is initially set among all the storage areas of the RAM 308.

ステップS2004では、ステップS2001において減算した割込み機能限定カウンタの値が、電源投入コマンド送信時間の値(本例では、500msに相当する数値の125)と一致するか否かを判定し、一致する場合にはステップS2005に進み、一致しない場合にはステップS2007に進む。ステップS2005では、電源投入コマンドの送信要求を設定した後に、次のステップS2006において当該電源投入コマンドを送信した後でサブ起動待ちウェイト処理を終了する。ここで、電源投入コマンドとは、設定値に関する設定情報(設定管理処理で確定した設定値の情報など)を含むコマンドのことであり、コマンドの名称は特に限定されない。 In step S2004, it is determined whether or not the value of the interrupt function limitation counter subtracted in step S2001 matches the value of the power-on command transmission time (125, which is a numerical value corresponding to 500 ms in this example), and if they match. To step S2005, and if they do not match, the process proceeds to step S2007. In step S2005, after setting the transmission request of the power-on command, the sub-start wait wait process is terminated after the power-on command is transmitted in the next step S2006. Here, the power-on command is a command including setting information related to the setting value (information of the setting value confirmed in the setting management process, etc.), and the name of the command is not particularly limited.

ステップS2007では、ステップS2001において減算した割込み機能限定カウンタの値が、起動コマンド送信時間の値(本例では、1000msに相当する数値の250)と一致するか否かを判定し、一致する場合にはステップS2008に進み、一致しない場合にはステップS2011に進む。ステップS2008では、起動コマンドの送信要求を設定した後に、次のステップS2009において当該起動コマンドを送信した後でサブ起動待ちウェイト処理を終了する。ここで、起動コマンドとは、第1副制御部400の起動開始に関するコマンドのことであり、コマンドの名称は特に限定されない。 In step S2007, it is determined whether or not the value of the interrupt function limited counter subtracted in step S2001 matches the value of the start command transmission time (250, which is a numerical value corresponding to 1000 ms in this example), and if they match. Goes to step S2008, and if they do not match, goes to step S2011. In step S2008, after setting the start command transmission request, the sub-start wait wait process is terminated after the start command is transmitted in the next step S2009. Here, the start command is a command related to start start of the first sub-control unit 400, and the name of the command is not particularly limited.

ステップS2011では、起動コマンドの送信前か否かを判定し、該当する場合にはサブ起動待ちウェイト処理を終了し、該当しない場合にはステップS2012に進む。ステップS2012では、設定管理処理を行った後にステップS2013に進む。詳細は後述するが、この設定管理処理では、設定値の設定等の処理を行う。ステップS2013では、割込み機能限定カウンタ加算フラグがONかOFFか否かを判定し、ONの場合にはステップS2014に進み、OFFの場合にはサブ起動待ちウェイト処理を終了する。ステップS2014では、割込み機能限定カウンタに1を加算した後にサブ起動待ちウェイト処理を終了する。 In step S2011, it is determined whether or not the start command has been transmitted, and if applicable, the sub-start wait wait process is terminated, and if not applicable, the process proceeds to step S2012. In step S2012, the process proceeds to step S2013 after performing the setting management process. Details will be described later, but in this setting management process, processing such as setting of setting values is performed. In step S2013, it is determined whether or not the interrupt function limited counter addition flag is ON or OFF. If it is ON, the process proceeds to step S2014, and if it is OFF, the sub-start wait wait process is terminated. In step S2014, the sub-start wait wait process is terminated after adding 1 to the interrupt function limited counter.

本例に係るサブ起動待ちウェイト処理では、ステップS2001では、割込み機能限定カウンタから1を減算するが、ステップS2013において割込み機能限定カウンタ加算フラグがONであると判定した場合には、ステップS2014において割込み機能限定カウンタに1を加算することから、サブ起動待ちウェイト処理の前後において割込み機能限定カウンタの値が保持される。 In the sub-start wait wait process according to this example, 1 is subtracted from the interrupt function limited counter in step S2001, but when it is determined in step S2013 that the interrupt function limited counter addition flag is ON, the interrupt is interrupted in step S2014. Since 1 is added to the function-limited counter, the value of the interrupt function-limited counter is held before and after the sub-start wait wait processing.

<設定管理処理>
次に、図17を用いて、上述のサブ起動待ちウェイト処理における設定管理処理(ステップS2012)について説明する。なお、図17は、設定管理処理の流れを示すフローチャートである。
<Setting management process>
Next, the setting management process (step S2012) in the above-mentioned sub-start wait wait process will be described with reference to FIG. Note that FIG. 17 is a flowchart showing the flow of the setting management process.

ステップS2101では、RAM308に記憶した起動情報を取得し、次のステップ2102では、当該起動情報が復帰起動または初期起動であるか否かを判定し、該当する場合には設定管理処理を終了し、該当しない場合にはステップS2103に進む。ステップS2103では、情報出力回路336を介して、外部のホールコンピュータ(図示省略)等が備える情報入力回路350に向けてセキュリティ信号(本例では、復帰起動または初期起動以外の起動(RAMエラー、設定変更、または設定確認による起動)であることを示す信号)を出力し、次のステップS2104では、起動情報がRAMエラーであるか否かを判定し、該当する場合にはステップS2105に進み、該当しない場合にはステップS2106に進む。ステップS2105では、エラー表示を行うための設定を行った後に設定管理処理を終了する。 In step S2101, the start information stored in the RAM 308 is acquired, and in the next step 2102, it is determined whether or not the start information is a return start or an initial start, and if applicable, the setting management process is terminated. If not applicable, the process proceeds to step S2103. In step S2103, a security signal (in this example, a recovery start or a start other than the initial start (RAM error, setting) is directed to the information input circuit 350 provided in an external hall computer (not shown) or the like via the information output circuit 336. A signal indicating that the start is a change or a setting confirmation) is output, and in the next step S2104, it is determined whether or not the start information is a RAM error, and if applicable, the process proceeds to step S2105, and the corresponding step S2105 is performed. If not, the process proceeds to step S2106. In step S2105, the setting management process ends after making the settings for displaying the error.

ステップS2106では、起動情報が設定変更であるか否かを判定し、該当する場合にはステップS2107に進み、該当しない場合にはステップS2110に進む。ステップS2107では、RAM308に記憶している割込み機能限定カウンタ加算フラグをONに設定してステップS2107に進む。ステップS2108では、図示しない設定スイッチの入力を検出し、次のステップS2109では、設定スイッチの押下毎に、RAM308に記憶している設定値を変更する処理(例えば、設定1→設定2→設定3→設定4→設定5→設定6→設定1→…)を行う。 In step S2106, it is determined whether or not the activation information is a setting change, and if applicable, the process proceeds to step S2107, and if not, the process proceeds to step S2110. In step S2107, the interrupt function limited counter addition flag stored in the RAM 308 is set to ON, and the process proceeds to step S2107. In step S2108, an input of a setting switch (not shown) is detected, and in the next step S2109, a process of changing the setting value stored in the RAM 308 each time the setting switch is pressed (for example, setting 1 → setting 2 → setting 3). → Setting 4 → Setting 5 → Setting 6 → Setting 1 → ...).

ステップS2110では、設定キーの入力を検出し、次のステップS2111では、設定キーがオンかオフかを判定し、オンの場合には設定管理処理を終了し(設定変更を継続し)、オフの場合にはステップS2112に進む。ステップS2112では、割込み機能限定カウンタ加算フラグをOFFに設定し、次のステップS2113では、起動情報をクリア(初期化)した後に設定管理処理を終了することで、設定変更による設定値を確定する。 In step S2110, the input of the setting key is detected, and in the next step S2111, it is determined whether the setting key is on or off. In the case, the process proceeds to step S2112. In step S2112, the interrupt function limited counter addition flag is set to OFF, and in the next step S2113, the setting management process is terminated after the start information is cleared (initialized), so that the set value due to the setting change is confirmed.

<電源投入後から通常遊技開始までの各種処理>
次に、図18と図19を用いて、電源投入後から通常遊技が開始されるまでに実行される各種処理について詳細に説明する。なお、図18は、初期起動または復帰起動において、電源投入後から通常遊技が開始されるまでに実行される各種処理の流れを示すタイムチャートであり、図19は、設定変更または設定確認において、電源投入後から通常遊技が開始されるまでに実行される各種処理の流れを示すタイムチャートである。
<Various processes from power-on to start of normal game>
Next, with reference to FIGS. 18 and 19, various processes executed from the time the power is turned on until the start of the normal game will be described in detail. Note that FIG. 18 is a time chart showing the flow of various processes executed from the time the power is turned on to the start of the normal game in the initial start-up or the return start-up, and FIG. 19 is a time chart for setting change or setting confirmation. It is a time chart which shows the flow of various processing executed from the power-on to the start of a normal game.

パチンコ機100において電源投入後から通常遊技が開始されるまでに実行可能な各種処理は、第一の処理S1〜第六の処理S6の5種類の処理に大別することができる。第一の処理S1は、第1副制御部400の起動に関する処理である。第二の処理S2は、第一の処理S1よりも後に開始される処理であって、第1副制御部400の起動開始に関するコマンド(本例では、起動コマンド)を第1副制御部400に向けて送信する処理である。 The various processes that can be executed in the pachinko machine 100 from the time the power is turned on until the normal game is started can be roughly classified into five types of processes, the first process S1 to the sixth process S6. The first process S1 is a process related to the activation of the first sub-control unit 400. The second process S2 is a process started after the first process S1 and sends a command (in this example, a start command) related to the start start of the first sub-control unit 400 to the first sub-control unit 400. It is a process of sending to.

第三の処理S3は、設定値の変更が可能な状態(本例では、設定キーがONの状態)で電源が投入された場合に第二の処理S2よりも後に開始される処理であって、設定に関する処理(本例では、設定変更または設定確認)である。第四の処理S4は、第三の処理S3よりも後に開始される処理であって、抽選処理を含む複数種類の処理から構成される処理である。 The third process S3 is a process started after the second process S2 when the power is turned on in a state where the set value can be changed (in this example, the setting key is ON). , Processing related to settings (in this example, setting change or setting confirmation). The fourth process S4 is a process started after the third process S3, and is a process composed of a plurality of types of processes including a lottery process.

第五の処理S5は、第四の処理S4における抽選処理(本例では、普図関連抽選処理、特図1関連抽選処理、特図2関連抽選処理等の抽選処理)に用いられる乱数値を更新する処理であって第三の処理S3よりも前に開始される処理である。第六の処理S6は、第三の処理S3が終了した後の或る期間において設定値に関する設定情報(設定管理処理で確定した設定値の情報など)を含む或るコマンド(本例では、電源投入コマンド)を第1副制御部400に向けて送信する処理である。 The fifth process S5 uses a random number value used in the lottery process in the fourth process S4 (in this example, a lottery process such as a general drawing-related lottery process, a special figure 1-related lottery process, and a special figure 2 related lottery process). It is a process to be updated and is a process started before the third process S3. The sixth process S6 is a command (in this example, a power supply) including setting information related to the set value (information of the set value determined in the setting management process, etc.) in a certain period after the third process S3 is completed. This is a process of transmitting an input command) to the first sub-control unit 400.

割込み機能限定カウンタは、これらの第一の処理S1〜第六の処理S6の開始タイミングや終了タイミングを制御するためのカウンタであり、電源投入後から通常遊技が開始されるまでに実行される各種処理の実行タイミングを一つのカウンタで制御する点が、本実施形態に係るパチンコ機100の特徴の一つである。 The interrupt function limited counter is a counter for controlling the start timing and end timing of the first processing S1 to the sixth processing S6, and is executed from the power-on until the normal game is started. One of the features of the pachinko machine 100 according to the present embodiment is that the execution timing of the processing is controlled by one counter.

本例に係るパチンコ機100によれば、一つのカウンタで複数種類の処理の開始タイミングや終了タイミングを制御することができるため、制御負担を軽減することができる上に、カウンタのための記憶容量を削減することができ、限られた記憶容量を有効活用することができる。 According to the pachinko machine 100 according to this example, since the start timing and end timing of a plurality of types of processing can be controlled by one counter, the control load can be reduced and the storage capacity for the counter can be reduced. Can be reduced and the limited storage capacity can be effectively utilized.

図9を用いて説明したように、パチンコ機100に電源が投入されると、電源制御部660は、パチンコ機100に外部から供給される電源を直流に変換し、払出制御部600および第1副制御部400に供給する。払出制御部600は主制御部300に電源を供給し、払出制御部600がリセット状態からリセット解除状態に立ち上がり、その後、主制御部300がリセット状態からリセット解除状態に立ち上がる。また、第1副制御部400は第2副制御部500に電源を供給し、第1副制御部400がリセット状態からリセット解除状態に立ち上がり、その後、第2副制御部500がリセット状態からリセット解除状態に立ち上がる。 As described with reference to FIG. 9, when the power is turned on to the pachinko machine 100, the power supply control unit 660 converts the power supplied from the outside to the pachinko machine 100 into direct current, and the payout control unit 600 and the first It is supplied to the sub control unit 400. The payout control unit 600 supplies power to the main control unit 300, the payout control unit 600 rises from the reset state to the reset release state, and then the main control unit 300 rises from the reset state to the reset release state. Further, the first sub-control unit 400 supplies power to the second sub-control unit 500, the first sub-control unit 400 rises from the reset state to the reset release state, and then the second sub-control unit 500 resets from the reset state. Stand up in the unlocked state.

<第一の処理S1>
図において符号T1で示すタイミングは、パチンコ機100に電源が投入されたことで、主制御部300がリセット状態からリセット解除状態に立ち上がり、第一の処理S1(第1副制御部400の起動に関する処理)を開始した状態である。
<First process S1>
The timing indicated by reference numeral T1 in the figure indicates that the main control unit 300 rises from the reset state to the reset release state when the power is turned on to the pachinko machine 100, and the first process S1 (related to the activation of the first sub control unit 400) Processing) has started.

主制御部300は、図10を用いて説明した電源投入時設定処理を開始することで、第一の処理S1を開始し、電源投入時設定処理のステップS112においてRAM308に記憶した割込み機能限定カウンタに初期値(本例では、4000msに相当する数値の1000)を設定する。また、第一の処理S1では、電源投入時設定処理に続いて、図13を用いて説明した主制御部メイン処理を開始した後、主制御部メイン処理のステップS143において、基本乱数初期値更新処理を行い、続くステップS144において割込み許可の設定を行うことで、図15を用いて説明した主制御部タイマ割込み処理を開始する。 The main control unit 300 starts the first process S1 by starting the power-on setting process described with reference to FIG. 10, and the interrupt function limited counter stored in the RAM 308 in step S112 of the power-on setting process. Is set to an initial value (in this example, 1000, which is a numerical value corresponding to 4000 ms). Further, in the first process S1, after the main control unit main process described with reference to FIG. 13 is started following the power-on setting process, the basic random number initial value is updated in step S143 of the main control unit main process. By performing the processing and setting the interrupt permission in the subsequent step S144, the main control unit timer interrupt processing described with reference to FIG. 15 is started.

主制御部タイマ割込み処理のステップS207〜S211では、基本乱数初期値更新処理、基本乱数更新処理、演出乱数更新処理等を行う。ここで、主制御部メイン処理の基本乱数初期値更新処理や、主制御部タイマ割込み処理の基本乱数初期値更新処理、基本乱数更新処理が、第五の処理S5(第四の処理S4における抽選処理(本例では、普図関連抽選処理、特図1関連抽選処理、特図2関連抽選処理等の抽選処理)に用いられる乱数値を更新する処理であって第三の処理S3よりも前に開始される処理)に該当する。 In steps S207 to S211 of the main control unit timer interrupt process, basic random number initial value update process, basic random number update process, effect random number update process, and the like are performed. Here, the basic random number initial value update process of the main control unit main process, the basic random number initial value update process of the main control unit timer interrupt process, and the basic random number update process are performed in the fifth process S5 (lottery in the fourth process S4). It is a process of updating the random number value used for the process (in this example, the lottery process related to the normal figure, the lottery process related to the special figure 1, the lottery process related to the special figure 2, etc.) and before the third process S3. Corresponds to the process started in).

続いて、主制御部タイマ割込み処理のステップS213では、図16を用いて説明したサブ起動待ちウェイト処理を実行する。このサブ起動待ちウェイト処理では、毎回(本例では、4msに1回)、割込み機能限定カウンタから1を減算し、減算後の割込み機能限定カウンタの値が、起動コマンド送信時間の値(第一の特定の値。本例では、1000msに相当する数値の250)と一致するか否かを判定し、一致しない場合には起動コマンドの送信前であることからサブ起動待ちウェイト処理を終了し、主制御部メイン処理と主制御部タイマ割込み処理を継続する。ただし、割込み機能限定カウンタが0でないことから(割込み機能限定中であることから)、主制御部タイマ割込み処理では、ステップS215〜S235の処理は実行せず、通常遊技が開始されることはない。 Subsequently, in step S213 of the main control unit timer interrupt process, the sub-start wait wait process described with reference to FIG. 16 is executed. In this sub-start wait wait process, 1 is subtracted from the interrupt function limited counter every time (in this example, once every 4 ms), and the value of the interrupt function limited counter after the subtraction is the value of the start command transmission time (first). In this example, it is determined whether or not the value matches 250), which is a numerical value corresponding to 1000 ms. If the value does not match, the sub-start wait wait process is terminated because it is before the start command is transmitted. Main control unit Main processing and main control unit timer interrupt processing are continued. However, since the interrupt function limitation counter is not 0 (because the interrupt function is being limited), the processing of steps S215 to S235 is not executed in the main control unit timer interrupt processing, and the normal game is not started. ..

一方、減算後の割込み機能限定カウンタの値が、起動コマンド送信時間の値と一致した場合には、第一の処理S1を終了し、第二の処理S2(第1副制御部400の起動開始に関するコマンド(本例では、起動コマンド)を第1副制御部400に向けて送信する処理)を開始する。 On the other hand, when the value of the interrupt function limited counter after subtraction matches the value of the start command transmission time, the first process S1 is terminated and the second process S2 (start of the first sub-control unit 400 is started). (In this example, a start command) is started (a process of transmitting to the first sub-control unit 400).

したがって、本例に係る第一の処理S1の実行期間は、符号T1で示すタイミング(パチンコ機100に電源が投入され、主制御部300が電源投入時設定処理を開始するタイミング)から、第二の処理を開始する直前までの期間である。 Therefore, the execution period of the first process S1 according to this example is the second from the timing indicated by the reference numeral T1 (the timing when the pachinko machine 100 is turned on and the main control unit 300 starts the power-on setting process). It is the period until just before the start of the processing of.

また、第1副制御部400は、電源が供給されたことにより、リセット状態からリセット解除状態に立ち上がり、後述する副制御部メイン処理を開始して起動するが、主制御部300からコマンドを受信しない限り、当該コマンドに対応する各種処理を実行することがないため、主制御部300が起動後に第1副制御部400に最初に送信する起動コマンドを受信するまでは、主制御部300からのコマンドの受信待ち(待機状態)となる。 Further, the first sub-control unit 400 rises from the reset state to the reset release state due to the power supply, starts the sub-control unit main processing described later, and starts, but receives a command from the main control unit 300. Unless the command is executed, various processes corresponding to the command are not executed. Therefore, the main control unit 300 sends the start command to the first sub-control unit 400 after the main control unit 300 starts. Waits for command reception (standby state).

<第二の処理S2>
図において符号T2で示すタイミングは、第一の処理が終了し、次の第二の処理S2(第1副制御部400の起動開始に関するコマンド(本例では、起動コマンド)を第1副制御部400に向けて送信する処理)を開始した状態である。
<Second process S2>
At the timing indicated by reference numeral T2 in the figure, the first process is completed, and the next second process S2 (command related to start start of the first sub control unit 400 (in this example, start command) is executed by the first sub control unit. This is the state in which the process of transmitting to 400) has been started.

主制御部300は、サブ起動待ちウェイト処理において、減算後の割込み機能限定カウンタの値が、起動コマンド送信時間の値と一致したと判定した場合に、起動コマンドを第1副制御部400に向けて送信することで、第二の処理S2を開始する。 When the main control unit 300 determines in the sub-start wait wait process that the value of the interrupt function limitation counter after subtraction matches the value of the start command transmission time, the main control unit 300 directs the start command to the first sub-control unit 400. The second process S2 is started by transmitting.

また、第二の処理S2の終了後は、起動コマンドの送信後となることから、サブ起動待ちウェイト処理のステップS2012において、図17を用いて説明した設定管理処理を開始する。この設定管理処理では、起動情報が復帰起動または初期起動の場合には、設定管理処理を終了することから、図18に示す初期起動または復帰起動においては、第三の処理S3を行うことなく、或る期間が経過した場合に(本例では、割込み機能限定カウンタが0になった場合に)、後述する第四の処理S4(抽選処理を含む複数種類の処理から構成される処理)を開始する。一方、起動情報が設定変更の場合には、設定確認処理において、第三の処理S3(設定に関する処理)を開始することから、図19に示す設定変更または設定確認においては、第三の処理S3を開始する。 Further, since the start command is transmitted after the end of the second process S2, the setting management process described with reference to FIG. 17 is started in step S2012 of the sub-start wait wait process. In this setting management process, when the start information is return start or initial start, the setting management process is terminated. Therefore, in the initial start or return start shown in FIG. 18, the third process S3 is not performed. When a certain period of time has passed (in this example, when the interrupt function limitation counter becomes 0), the fourth process S4 (a process composed of a plurality of types of processes including a lottery process), which will be described later, is started. do. On the other hand, when the start information is a setting change, the third process S3 (process related to the setting) is started in the setting confirmation process. Therefore, in the setting change or setting confirmation shown in FIG. 19, the third process S3 To start.

また、第1副制御部400は、主制御部300から起動コマンドを受信したことから、後述する演出制御処理において、設定変更中(または設定確認中)であることを報知する設定変更中報知(例えば、装飾図柄表示装置208による表示や、スピーカ120からの音声出力)を行うための演出データをROM406から読み出す等の処理を行う。 Further, since the first sub-control unit 400 receives the start command from the main control unit 300, the setting-changing notification (or the setting-changing notification) that notifies that the setting is being changed (or the setting is being confirmed) in the effect control process described later. For example, processing such as reading the effect data for displaying by the decorative symbol display device 208 and outputting the sound from the speaker 120) from the ROM 406 is performed.

当該処理により、例えば、装飾図柄表示装置208の表示領域には、設定変更中報知(例えば、「設定変更中です」という文字列を含む画像)が表示され、スピーカ120からは、設定変更中報知(例えば、「設定変更中です」という音声)が出力される。なお、設定変更中報知を行う手段は、装飾図柄表示装置208やスピーカ120に限定されず、LEDや可動体等であってもよい。 By this processing, for example, the setting changing notification (for example, an image including the character string "setting is being changed") is displayed in the display area of the decorative symbol display device 208, and the setting changing notification is displayed from the speaker 120. (For example, the voice "Settings are being changed") is output. The means for notifying during the setting change is not limited to the decorative symbol display device 208 and the speaker 120, and may be an LED, a movable body, or the like.

<第三の処理S3>
主制御部300は、起動コマンドの送信を完了した後、起動情報が設定変更の場合に、設定管理処理においてステップS2107以降の処理を実行することで、図19に示すように、第三の処理S3(設定に関する処理)を開始する。
<Third process S3>
After completing the transmission of the start command, the main control unit 300 executes the process after step S2107 in the setting management process when the start information is the setting change, so that the third process is as shown in FIG. Start S3 (processing related to setting).

第三の処理S3では、設定スイッチの押下毎に設定値を変更する処理や、設定キーの入力を検出し、オンの場合には設定変更を継続し、オフの場合には設定変更による設定値を確定する処理等を行う。また、第三の処理S3の実行中は、設定管理処理のステップS2107において割込み機能限定カウンタ加算フラグをONに設定し、サブ起動待ちウェイト処理のステップS2014において、減算後の割込み機能限定カウンタに1を加算するように構成することで、割込み機能限定カウンタの値が減少しないように構成している。 In the third process S3, the process of changing the set value each time the setting switch is pressed, the input of the setting key is detected, the setting change is continued when it is on, and the setting value is changed by the setting change when it is off. Performs processing and the like to confirm. Further, during the execution of the third process S3, the interrupt function limited counter addition flag is set to ON in step S2107 of the setting management process, and the interrupt function limited counter after subtraction is set to 1 in step S2014 of the sub-start wait wait process. Is configured so that the value of the interrupt function limited counter does not decrease.

このような構成とすれば、カウンタのカウント値が第二の特定の値になったか否かを判定し、該当する場合に該カウンタのカウント値の減算(または加算)を行って該カウンタのカウント値を第二の特定の値以外の値に更新する処理等を採用した場合に比べて、プログラムを簡素化し、プログラム容量を削減できる場合があり、限られた記憶容量を有効活用することができる。 With such a configuration, it is determined whether or not the count value of the counter has reached the second specific value, and if applicable, the count value of the counter is subtracted (or added) to count the counter. Compared to the case where the process of updating the value to a value other than the second specific value is adopted, the program may be simplified and the program capacity may be reduced, and the limited storage capacity can be effectively utilized. ..

一方、設定キーがオフの場合には、設定値を確定する処理を行うことで、第三の処理を終了し、或る期間が経過した場合に(本例では、割込み機能限定カウンタが0になった場合に)、後述する第四の処理(抽選処理を含む複数種類の処理から構成される処理)を開始する。 On the other hand, when the setting key is off, the process of confirming the set value is performed to end the third process, and when a certain period of time elapses (in this example, the interrupt function limitation counter becomes 0). (When this happens), the fourth process (a process composed of a plurality of types of processes including a lottery process), which will be described later, is started.

したがって、本例に係る第三の処理S3の実行期間は、起動コマンドの送信が終了してから、設定値が確定して設定変更処理が終了するまでの期間である。 Therefore, the execution period of the third process S3 according to this example is the period from the end of the transmission of the start command to the end of the setting value and the setting change process.

<第四の処理S4,第六の処理S6>
主制御部300は、図18に示す初期起動または復帰起動においては、第三の処理S3を行うことなく、或る期間が経過した場合に(本例では、割込み機能限定カウンタが0になった場合に)、第四の処理S4(抽選処理を含む複数種類の処理から構成される処理)を開始し、図19に示す設定変更または設定確認においては、第三の処理S3を終了し、或る期間が経過した場合に(本例では、割込み機能限定カウンタが0になった場合に)、第四の処理S4(抽選処理を含む複数種類の処理から構成される処理)を開始する。
<Fourth process S4, sixth process S6>
In the initial start-up or return start-up shown in FIG. 18, the main control unit 300 does not perform the third process S3, and when a certain period of time elapses (in this example, the interrupt function limitation counter becomes 0). In some cases), the fourth process S4 (process composed of a plurality of types of processes including the lottery process) is started, and in the setting change or setting confirmation shown in FIG. 19, the third process S3 is terminated or When the period elapses (in this example, when the interrupt function limitation counter becomes 0), the fourth process S4 (process composed of a plurality of types of processes including the lottery process) is started.

第三の処理S3の終了後の或る期間においては、主制御部メイン処理のステップS143において、基本乱数初期値更新処理を行うとともに、主制御部タイマ割込み処理のステップS207〜S211において、基本乱数初期値更新処理、基本乱数更新処理、演出乱数更新処理等を行う。 In a certain period after the end of the third process S3, the basic random number initial value update process is performed in step S143 of the main control unit main process, and the basic random number is performed in steps S207 to S211 of the main control unit timer interrupt process. Performs initial value update processing, basic random number update processing, effect random number update processing, and the like.

また、主制御部タイマ割込み処理のステップS213では、サブ起動待ちウェイト処理を実行する。このサブ起動待ちウェイト処理では、毎回(本例では、4msに1回)、割込み機能限定カウンタから1を減算し、減算後の割込み機能限定カウンタの値が、電源投入コマンド送信時間の値(第三の特定の値。本例では、500msに相当する数値の125)と一致するか否かを判定し、一致しない場合にはサブ起動待ちウェイト処理を終了し、主制御部メイン処理と主制御部タイマ割込み処理を継続する。ただし、割込み機能限定カウンタが0でないことから(割込み機能限定中であることから)、主制御部タイマ割込み処理では、ステップS215〜S235の処理は実行せず、通常遊技が開始されることはない。 Further, in step S213 of the timer interrupt process of the main control unit, the sub-start wait wait process is executed. In this sub-start wait wait process, 1 is subtracted from the interrupt function limited counter every time (in this example, once every 4 ms), and the value of the interrupt function limited counter after the subtraction is the value of the power-on command transmission time (No. 1). Three specific values. In this example, it is determined whether or not they match 125), which is a numerical value corresponding to 500 ms. If they do not match, the sub-start wait wait process is terminated, and the main control unit main process and main control Subtimer interrupt processing is continued. However, since the interrupt function limitation counter is not 0 (because the interrupt function is being limited), the processing of steps S215 to S235 is not executed in the main control unit timer interrupt processing, and the normal game is not started. ..

一方、サブ起動待ちウェイト処理において、減算後の割込み機能限定カウンタの値が、電源投入コマンド送信時間の値と一致したと判定した場合には、設定値の情報を含む電源投入コマンドを第1副制御部400に向けて送信することで、第六の処理S6(設定値に関する設定情報を含む或るコマンド(本例では、電源投入コマンド)を第1副制御部400に向けて送信する処理)を開始する。図において符号T3で示すタイミングは、第六の処理S6を開始した状態である。 On the other hand, in the sub-start wait wait processing, when it is determined that the value of the interrupt function limited counter after subtraction matches the value of the power-on command transmission time, the power-on command including the set value information is executed as the first sub. By transmitting to the control unit 400, the sixth process S6 (a process of transmitting a certain command (in this example, a power-on command) including setting information related to the set value to the first sub-control unit 400). To start. The timing indicated by reference numeral T3 in the figure is a state in which the sixth process S6 is started.

第1副制御部400は、主制御部300から電源投入コマンドを受信したことから、後述する演出制御処理において、設定変更中報知を消去し、電源が投入されたことを報知する電源投入報知を装飾図柄表示装置208に表示させるための演出データをROM406から読み出す等の処理を行う。 Since the first sub-control unit 400 receives the power-on command from the main control unit 300, in the effect control process described later, the first sub-control unit 400 erases the notification during the setting change and notifies the power-on notification that the power has been turned on. Processing such as reading the effect data to be displayed on the decorative symbol display device 208 from the ROM 406 is performed.

当該処理により、例えば、装飾図柄表示装置208の表示領域には、電源投入報知(例えば、「RAMをクリアしました」や「電源投入しました」という文字列を含む画像)が表示され、スピーカ120からは、設定変更中報知(例えば、「RAMをクリアしました」や「電源投入しました」という音声)が出力される。なお、電源投入報知を行う手段は、装飾図柄表示装置208やスピーカ120に限定されず、LEDや可動体等であってもよい。 By this processing, for example, a power-on notification (for example, an image including the character strings "RAM cleared" and "power-on") is displayed in the display area of the decorative symbol display device 208, and the speaker 120 Outputs a setting change notification (for example, a voice saying "RAM has been cleared" or "power has been turned on"). The means for notifying the power-on is not limited to the decorative symbol display device 208 and the speaker 120, and may be an LED, a movable body, or the like.

第六の処理S6の終了後は、サブ起動待ちウェイト処理では、毎回(本例では、4msに1回)、割込み機能限定カウンタから1を減算し、減算後の割込み機能限定カウンタの値が0となった場合に、電源投入時のRAM初期設定を行うとともに、割込み機能限定カウンタが0になったことから(割込み機能限定が解除されたことから)、主制御部タイマ割込み処理では、ステップS215〜S235の処理(例えば、普図関連抽選処理、特図1関連抽選処理、特図2関連抽選処理等の抽選処理)を含む第四の処理S4が開始される(通常遊技が開始される)。 After the end of the sixth process S6, in the sub-start wait wait process, 1 is subtracted from the interrupt function limited counter every time (in this example, once every 4 ms), and the value of the interrupt function limited counter after the subtraction is 0. In the case of, the RAM initial setting at the time of turning on the power is performed, and the interrupt function limitation counter becomes 0 (because the interrupt function limitation is canceled). Therefore, in the main control unit timer interrupt processing, step S215 A fourth process S4 including the processes of S235 (for example, a lottery process related to a normal figure, a lottery process related to a special figure 1, a lottery process related to a special figure 2 and the like) is started (normal game is started). ..

<シリアルコマンド管理処理>
次に、図20(a)を用いて、上述の主制御タイマ割込処理におけるシリアルコマンド管理処理(ステップS219)について説明する。なお、図20(a)は、シリアルコマンド管理処理の流れを示すフローチャートである。
<Serial command management process>
Next, the serial command management process (step S219) in the above-mentioned main control timer interrupt process will be described with reference to FIG. 20 (a). Note that FIG. 20A is a flowchart showing the flow of the serial command management process.

上述のとおり、このシリアルコマンド管理処理は、図15を用いて説明した主制御部タイマ割込み処理において割込み機能限定カウンタが0以外であると判定された場合(タイマ割込みの機能が限定されている場合)、または、特定異常検出フラグがONであると判定された場合(磁気異常エラーや磁界異常エラーなどの特定異常情報がある場合)、または、通信異常フラグがONであると判定された場合には実行されない処理である。なお、タイマ割込みの機能が限定されているだけの場合には、当該シリアルコマンド管理処理が実行されるように構成してもよく、特定異常情報があるだけの場合には、当該シリアルコマンド管理処理が実行されるように構成してもよく、通信異常フラグがONであると判定されただけの場合には、当該シリアルコマンド管理処理が実行されるように構成してもよい。 As described above, this serial command management process is performed when it is determined in the main control unit timer interrupt process described with reference to FIG. 15 that the interrupt function limitation counter is other than 0 (when the timer interrupt function is limited). ), Or when it is determined that the specific abnormality detection flag is ON (when there is specific abnormality information such as a magnetic abnormality error or magnetic field abnormality error), or when it is determined that the communication abnormality flag is ON. Is a process that is not executed. If the timer interrupt function is only limited, the serial command management process may be configured to be executed. If there is only specific abnormality information, the serial command management process may be executed. May be configured to be executed, or may be configured to execute the serial command management process when it is only determined that the communication error flag is ON.

シリアルコマンド管理処理のステップS255では、シリアルコマンド受信処理を行う。詳細は後述するが、このシリアルコマンド受信処理では、払出制御部600からコマンドを受信したか否かを判定し、コマンドを受信した場合には、当該コマンドに対応する処理を行う。ステップS256では、シリアルコマンド送信処理を行う。詳細は後述するが、このシリアルコマンド送信処理では、払出制御部600に対してコマンドを送信する処理を行う。 In step S255 of the serial command management process, the serial command reception process is performed. Details will be described later, but in this serial command reception process, it is determined whether or not a command has been received from the payout control unit 600, and if a command is received, a process corresponding to the command is performed. In step S256, the serial command transmission process is performed. Although the details will be described later, in this serial command transmission process, a process of transmitting a command to the payout control unit 600 is performed.

<シリアルコマンド受信処理>
次に、図20(b)を用いて、上述のシリアルコマンド管理処理におけるシリアルコマンド受信処理(ステップS255)について説明する。なお、図20(b)は、シリアルコマンド受信処理の流れを示すフローチャートである。
<Serial command reception processing>
Next, the serial command reception process (step S255) in the above-mentioned serial command management process will be described with reference to FIG. 20 (b). Note that FIG. 20B is a flowchart showing the flow of serial command reception processing.

ステップS261では、払出制御部600から通信確認コマンドを受信したか否かを判定し、当該コマンドを受信した場合には、ステップS262〜S264の処理を実行することで各種情報を初期化し、当該コマンドを受信していない場合にはステップS265に進む。ステップS265では、その他のシリアルコマンド受信処理を行った後に処理を終了する。 In step S261, it is determined whether or not a communication confirmation command has been received from the payout control unit 600, and if the command is received, various information is initialized by executing the processes of steps S262 to S264, and the command is received. If is not received, the process proceeds to step S265. In step S265, the process ends after performing other serial command reception processing.

ステップS262では、RAM308に記憶しているシリアルコマンドステータスに初期値(この例では、0)を設定し、次のステップS263では、RAM308に記憶している通信確認コマンド送信カウンタに初期値(この例では、10)を設定する。ここで、シリアルコマンドステータスは、賞球コマンドを送信可能な状態か否かを示す情報であり、当該情報が数値の0の場合には、賞球コマンドが送信可能な状態を示しており、当該情報が数値の1の場合には、賞球コマンドが送信不能な状態を示している。 In step S262, an initial value (0 in this example) is set in the serial command status stored in the RAM 308, and in the next step S263, an initial value (in this example) is set in the communication confirmation command transmission counter stored in the RAM 308. Then, set 10). Here, the serial command status is information indicating whether or not the prize ball command can be transmitted, and when the information is a numerical value 0, it indicates a state in which the prize ball command can be transmitted. When the information is a numerical value 1, it indicates that the prize ball command cannot be transmitted.

また、通信確認コマンド送信カウンタは、後述するシリアルコマンド送信処理のステップS277において、通信確認コマンドを1回送信する毎に1つ減算されるカウンタであり、払出制御部600からの通信確認コマンドを正常に受信しているか否かを判定するために使用されるものである。通信確認コマンド送信コマンドの初期値として10を設定した場合、後述するシリアルコマンド送信処理のステップS278において通信確認コマンド送信カウンタが0であると判定されるのは、主制御部300が通信確認コマンドを10回送信している期間中に、払出制御部600からの通信確認コマンドを1回も受信できなかったときである。 Further, the communication confirmation command transmission counter is a counter that is deducted by one each time the communication confirmation command is transmitted in step S277 of the serial command transmission process described later, and the communication confirmation command from the payout control unit 600 is normally executed. It is used to determine whether or not the command has been received. When 10 is set as the initial value of the communication confirmation command transmission command, the main control unit 300 determines that the communication confirmation command transmission counter is 0 in step S278 of the serial command transmission process described later by the main control unit 300. This is when the communication confirmation command from the payout control unit 600 could not be received even once during the period of transmitting 10 times.

ステップS264では、RAM308に記憶しているシリアルコマンド通信エラーフラグに0を設定し、次のステップS265で、その他のシリアルコマンド受信処理を行った後に処理を終了する。ここで、シリアルコマンド通信エラーフラグは、シリアル通信において異常が発生したか否かを示す情報であり、当該情報が数値の0の場合には、シリアル通信が正常であることを示しており、当該情報が数値の1の場合には、シリアル通信で異常が発生したことを示している。 In step S264, the serial command communication error flag stored in the RAM 308 is set to 0, and in the next step S265, other serial command reception processing is performed, and then the processing ends. Here, the serial command communication error flag is information indicating whether or not an abnormality has occurred in the serial communication, and when the information is a numerical value of 0, it indicates that the serial communication is normal. When the information is a numerical value 1, it indicates that an abnormality has occurred in serial communication.

<シリアルコマンド送信処理>
次に、図21を用いて、シリアルコマンド送信処理について説明する。なお、同図(a)は、シリアルコマンド送信処理の流れを示すフローチャートであり、同図(b)は主制御部300が払出制御部600に送信するコマンドの一例である。
<Serial command transmission process>
Next, the serial command transmission process will be described with reference to FIG. Note that FIG. 3A is a flowchart showing the flow of serial command transmission processing, and FIG. 3B is an example of a command transmitted by the main control unit 300 to the payout control unit 600.

ステップS271では、通信確認コマンド送信タイマから1を減算し、次のステップS272では、通信確認コマンド送信タイマが0であるか否か(払出制御部600に通信確認コマンドを送信してから所定の時間(本実施形態では、100ms)が経過したかどうか)を判定し、0の場合(所定の時間が経過した場合)にはステップS274以降の処理を行い、0以外の場合(所定の時間が経過した場合)にはステップS273に進む。ステップS273では、賞球コマンド設定処理を行う。詳細は後述するが、この賞球コマンド設定処理では、賞球コマンドの送信条件が成立した場合に賞球コマンドの送信準備等の処理を実行する。 In step S271, 1 is subtracted from the communication confirmation command transmission timer, and in the next step S272, whether or not the communication confirmation command transmission timer is 0 (a predetermined time after the communication confirmation command is transmitted to the payout control unit 600). (In this embodiment, whether or not 100 ms) has elapsed) is determined, and if it is 0 (when a predetermined time has elapsed), the processing of step S274 and subsequent steps is performed, and when it is other than 0 (a predetermined time has elapsed). If this is the case), the process proceeds to step S273. In step S273, the prize ball command setting process is performed. Although the details will be described later, in this prize ball command setting process, processing such as preparation for transmission of the prize ball command is executed when the transmission condition of the prize ball command is satisfied.

ステップS274では、通信確認コマンド送信タイマに初期値(この例では、25)を設定し、次のステップS275では、上述のシリアルコマンドステータスに1(賞球コマンドが送信不能な状態)を設定する。通信確認コマンド送信タイマは、ステップS271において、主制御部タイマ割込処理の周期(本実施形態では、約4ms)毎に1つ減算されるカウンタであり、払出制御部600に通信確認コマンドを送信してから所定の時間が経過したかどうかを判定するために使用されるものである。通信確認コマンド送信タイマの初期値として25を設定した場合、ステップS272において通信確認コマンド送信タイマが0であると判定されるのは、約100ms(=4ms×25)経過後である。 In step S274, an initial value (25 in this example) is set in the communication confirmation command transmission timer, and in the next step S275, 1 (a state in which the prize ball command cannot be transmitted) is set in the above-mentioned serial command status. The communication confirmation command transmission timer is a counter that is decremented by one every cycle of the main control unit timer interrupt process (about 4 ms in this embodiment) in step S271, and transmits a communication confirmation command to the payout control unit 600. It is used to determine whether a predetermined time has passed since then. When 25 is set as the initial value of the communication confirmation command transmission timer, it is determined that the communication confirmation command transmission timer is 0 in step S272 after about 100 ms (= 4 ms × 25) has elapsed.

なお、本実施形態では、ステップS275においてシリアルコマンドステータスに1を設定することで、通信確認コマンドを送信するタイミングでは、主制御部300から払出制御部600に賞球コマンドを送信できないように構成しているが、同タイミングで主制御部300から払出制御部600に賞球コマンドを送信できるように構成してもよい。 In this embodiment, by setting the serial command status to 1 in step S275, the prize ball command cannot be transmitted from the main control unit 300 to the payout control unit 600 at the timing of transmitting the communication confirmation command. However, it may be configured so that the prize ball command can be transmitted from the main control unit 300 to the payout control unit 600 at the same timing.

ステップS276では、送信データレジスタに通信確認コマンド(後述する)に対応する数値をセットすることで、シリアル通信線612を介して払出制御部600に通信確認コマンドを送信する。ステップS277では、通信確認コマンド送信カウンタから1を減算し、次のステップS278では、通信確認コマンド送信カウンタ0であるか否か(通信確認コマンドを10回送信したかどうか)を判定し、0の場合(10回送信した場合)にはステップS279以降の処理を行い、0以外の場合(10回送信していない場合)にはステップS281に進む。 In step S276, the communication confirmation command is transmitted to the payout control unit 600 via the serial communication line 612 by setting the numerical value corresponding to the communication confirmation command (described later) in the transmission data register. In step S277, 1 is subtracted from the communication confirmation command transmission counter, and in the next step S278, it is determined whether or not the communication confirmation command transmission counter is 0 (whether or not the communication confirmation command is transmitted 10 times), and the value is 0. In the case (when the transmission is performed 10 times), the processing after step S279 is performed, and when the case is other than 0 (when the transmission is not performed 10 times), the process proceeds to step S281.

ステップS279では、通信確認コマンド送信カウンタに初期値(この例では、10)を設定し、次のステップS281では、シリアルコマンドステータスに初期値(この例では、0)を設定し、次のステップS282では、シリアルコマンド通信エラーフラグに初期値(この例では、1)を設定した後にステップS283に進む。ステップS283では、その他シリアルコマンド送信処理を行った後に処理を終了する。 In step S279, the initial value (10 in this example) is set in the communication confirmation command transmission counter, and in the next step S281, the initial value (0 in this example) is set in the serial command status, and the next step S282. Then, after setting the initial value (1 in this example) in the serial command communication error flag, the process proceeds to step S283. In step S283, the process ends after performing other serial command transmission processing.

同図(b)に示すように、主制御部300が払出制御部600に送信するコマンドには、初期起動時の主制御通信確認コマンド(値は、10H)、復帰起動時の主制御通信確認コマンド(値は、11H)、3球の遊技球の払出を指示する賞球コマンド(値は、23H)、10球の遊技球の払出を指示する賞球コマンド(値は、2AH)、15球の遊技球の払出を指示する賞球コマンド(値は、2FH)などがある。 As shown in FIG. 3B, the commands transmitted by the main control unit 300 to the payout control unit 600 include a main control communication confirmation command (value is 10H) at the time of initial startup and a main control communication confirmation at the time of return startup. Command (value is 11H), prize ball command instructing the payout of 3 game balls (value is 23H), prize ball command instructing the payout of 10 game balls (value is 2AH), 15 balls There is a prize ball command (value is 2FH) that instructs the payout of the game ball.

主制御部300から受信した最初のコマンドが、復帰起動時の主制御通信確認コマンド(値は、11H)である場合、復帰処理を行い、初期起動時の主制御通信確認コマンド(値は、10H)の場合は、RAMクリア処理等を行う。このように、主制御部300は、通信確認コマンドを送信する際、常に電源投入情報を加味し、通信確認コマンドを意味する値(10H)と電源投入情報を示す値を加算して送信する。電源投入情報を示す値は、初期起動時は00Hであり、復帰起動時は01Hである。これにより、初期起動時の主制御通信確認コマンドの値は10Hとなり、復帰起動時の主制御通信確認コマンドの値は、11Hとなる。なお、通信確認コマンドを意味する値と、電源投入情報を示す値とは、通信確認コマンドの送信時に毎回加算されてもよいし、初回のみ加算されてもよいし、通信確認コマンドを所定回数送信する間は毎回加算されるものであってもよい。 If the first command received from the main control unit 300 is the main control communication confirmation command (value is 11H) at the time of return startup, the return processing is performed and the main control communication confirmation command (value is 10H) at the time of initial startup is performed. ), RAM clear processing or the like is performed. As described above, when the main control unit 300 transmits the communication confirmation command, the power-on information is always added, and the value (10H) indicating the communication confirmation command and the value indicating the power-on information are added and transmitted. The value indicating the power-on information is 00H at the time of initial startup and 01H at the time of recovery startup. As a result, the value of the main control communication confirmation command at the time of initial startup becomes 10H, and the value of the main control communication confirmation command at the time of return startup becomes 11H. The value indicating the communication confirmation command and the value indicating the power-on information may be added each time the communication confirmation command is transmitted, may be added only for the first time, or the communication confirmation command is transmitted a predetermined number of times. It may be added every time during the period.

本実施形態では、上述のステップS276において、主制御通信確認コマンド(値は、10H)と、主制御部メイン処理の復電時処理(ステップS109)でセットされた電源投入情報を示す値(00Hまたは01H)とを加算した値(すなわち、10Hまたは11H)を、送信データレジスタにセットして、シリアル通信線612を介して主制御部300から払出制御部600に送信される。なお、主制御通信確認コマンドは、一例として100msに1回のタイミングで送信される。 In the present embodiment, in step S276 described above, a value (00H) indicating the power-on information set in the main control communication confirmation command (value is 10H) and the power recovery processing (step S109) of the main control unit main processing. Alternatively, the value obtained by adding 01H) (that is, 10H or 11H) is set in the transmission data register and transmitted from the main control unit 300 to the payout control unit 600 via the serial communication line 612. The main control communication confirmation command is transmitted at a timing of once every 100 ms as an example.

<賞球コマンド設定処理>
次に、図22と図23を用いて、上述のシリアルコマンド送信処理における賞球コマンド設定処理(ステップS273)について説明する。なお、図22は、賞球コマンド設定処理の流れを示すフローチャートである。
<Prize ball command setting process>
Next, the prize ball command setting process (step S273) in the above-mentioned serial command transmission process will be described with reference to FIGS. 22 and 23. Note that FIG. 22 is a flowchart showing the flow of the prize ball command setting process.

ステップS291では、賞球コマンド送信条件が成立したか否かを判定し、成立した場合にはステップS292に進み、成立していない場合にはステップS298に進む。ここで、「賞球コマンド送信条件が成立した場合」とは、上述の入賞受付処理(ステップS216)において、第1特図始動口230、第2特図始動口232、普図始動口228、または可変入賞口234への入賞があったと判定され、かつ、シリアルコマンドステータスが0(賞球コマンドが送信可能な状態)を示している場合、などが該当する。 In step S291, it is determined whether or not the prize ball command transmission condition is satisfied, and if it is satisfied, the process proceeds to step S292, and if it is not satisfied, the process proceeds to step S298. Here, "when the prize ball command transmission condition is satisfied" means that in the above-mentioned prize acceptance process (step S216), the first special figure start port 230, the second special figure start port 232, and the normal figure start port 228, Alternatively, when it is determined that the variable winning opening 234 has been won and the serial command status indicates 0 (a state in which the prize ball command can be transmitted), or the like is applicable.

ステップS292では、図23に示す可変入賞口用賞球数記憶領域308a、第1特図始動口用賞球数記憶領域308b、第2特図始動口用賞球数記憶領域308c、および、一般入賞口用賞球数記憶領域308dに記憶された賞球数の更新を行う。本実施形態では、賞球コマンド設定処理を実行する毎に(1回の主制御部タイマ割込処理を実行する毎に)、可変入賞口用賞球数記憶領域308a→第1特図始動口用賞球数記憶領域308b→第2特図始動口用賞球数記憶領域308c→一般入賞口用賞球数記憶領域308dの順番で各々の賞球数記憶領域を参照し、当該賞球数記憶領域に記憶された賞球数が1以上であるか否かを判定する。そして、賞球数が1以上の場合、賞球数から1を減算して賞球数を更新するとともに、参照している賞球数記憶領域308a〜308dに対応する賞球コマンドを賞球コマンドテーブルから取得する。 In step S292, the variable winning opening number storage area 308a, the first special figure starting port winning ball number storage area 308b, the second special figure starting port winning ball number storage area 308c, and the general The number of prize balls stored in the prize ball number storage area 308d for the winning opening is updated. In the present embodiment, each time the prize ball command setting process is executed (every time the main control unit timer interrupt process is executed), the prize ball number storage area 308a for the variable winning opening → the first special figure start opening The number of prize balls stored in the storage area 308b → the storage area for the number of prize balls for the starting port 308c → the storage area for the number of prize balls for the general winning opening 308d. It is determined whether or not the number of prize balls stored in the storage area is 1 or more. Then, when the number of prize balls is 1 or more, 1 is subtracted from the number of prize balls to update the number of prize balls, and the prize ball command corresponding to the referenced prize ball number storage areas 308a to 308d is issued. Get from the table.

ステップS293では、ステップS292で取得した賞球コマンドに対応する数値を送信データレジスタにセットすることで、シリアル通信線612を介して払出制御部600に賞球コマンドを送信する。 In step S293, the prize ball command is transmitted to the payout control unit 600 via the serial communication line 612 by setting the numerical value corresponding to the prize ball command acquired in step S292 in the transmission data register.

図23(a)〜(c)は、賞球数記憶領域308a〜308dの賞球数の変化の一例を示した図であり、同図(d)は、賞球コマンドテーブルの一例を示した図である。この例では、N回目(Nは正の整数)の賞球コマンド設定処理において、第1特図始動口用賞球数記憶領域308bに記憶された賞球数が2(00000010B)であったことから、第1特図始動口用賞球数記憶領域308bの賞球数から1を減算し、賞球数を2(00000010B)から1(00000001B)に更新している。また、同図(d)に示す賞球コマンドテーブルから、参照している第1特図始動口用賞球数記憶領域308bに対応する第1特図始動口用の賞球コマンド(03H)を取得し、当該第1特図始動口用の賞球コマンド(03H)を払出制御部600に送信している。 23 (a) to 23 (c) are diagrams showing an example of changes in the number of prize balls in the prize ball number storage areas 308a to 308d, and FIG. 23 (d) shows an example of the prize ball command table. It is a figure. In this example, in the Nth prize ball command setting process (N is a positive integer), the number of prize balls stored in the prize ball number storage area 308b for the first special figure start port was 2 (00000010B). From, 1 is subtracted from the number of prize balls in the prize ball number storage area 308b for the first special figure starting port, and the number of prize balls is updated from 2 (00000010B) to 1 (00000001B). Further, from the prize ball command table shown in FIG. 3D, the prize ball command (03H) for the first special figure start port corresponding to the reference ball number storage area 308b for the first special figure start port is issued. The prize ball command (03H) for the first special figure start port is acquired and transmitted to the payout control unit 600.

また、N+1回目の賞球コマンド設定処理において、第1特図始動口用賞球数記憶領域308bに記憶された賞球数が1(00000001B)であったことから、第1特図始動口用賞球数記憶領域308bの賞球数から1を減算し、賞球数を1(00000001B)から0(00000000B)に更新している。また、同図(d)に示す賞球コマンドテーブルから、参照している第1特図始動口用賞球数記憶領域308bに対応する第1特図始動口用の賞球コマンド(03H)を取得し、当該第1特図始動口用の賞球コマンド(03H)を払出制御部600に送信している。 Further, in the N + 1th prize ball command setting process, the number of prize balls stored in the prize ball number storage area 308b for the first special figure start port was 1 (00000001B), so that for the first special figure start port. 1 is subtracted from the number of prize balls in the prize ball number storage area 308b, and the number of prize balls is updated from 1 (00000001B) to 0 (0000000000B). Further, from the prize ball command table shown in FIG. 3D, the prize ball command (03H) for the first special figure start port corresponding to the reference ball number storage area 308b for the first special figure start port is issued. The prize ball command (03H) for the first special figure start port is acquired and transmitted to the payout control unit 600.

また、N+2回目の賞球コマンド設定処理において、一般入賞口用賞球数記憶領域308dに記憶された賞球数が1(00000001B)であったことから、一般入賞口用賞球数記憶領域308dの賞球数から1を減算し、賞球数を1(00000001B)から0(00000000B)に更新している。また、同図(d)に示す賞球コマンドテーブルから、参照している一般入賞口用賞球数記憶領域308dに対応する一般入賞口用の賞球コマンド(0AH)を取得し、当該一般入賞口用の賞球コマンド(0AH)を払出制御部600に送信している。 Further, in the N + 2nd prize ball command setting process, since the number of prize balls stored in the prize ball number storage area 308d for the general prize opening was 1 (00000001B), the prize ball number storage area 308d for the general prize opening was used. The number of prize balls is updated from 1 (00000001B) to 0 (0000000000B) by subtracting 1 from the number of prize balls. Further, from the prize ball command table shown in FIG. 3D, the prize ball command (0AH) for the general prize opening corresponding to the reference general prize ball number storage area 308d is acquired, and the general prize opening is obtained. A prize ball command (0AH) for the mouth is transmitted to the payout control unit 600.

なお、ここでは、1回の賞球コマンド設定処理で賞球数を1つ減算する例を示したが、1回の賞球コマンド設定処理で賞球数を2つ以上減算してもよいし、この場合、同一種類の入賞口(または始動口)の賞球数を減算してもよいし、異なる種類の入賞口(または始動口)の賞球数を減算してもよい。また、賞球数記憶領域308a〜308dの参照の順番も限定されず、例えば、賞球数が多いものから先に参照してもよく、乱数値を取得するもの(例えば、第1特図始動口213や第2特図始動口214)から先に参照してもよい。また、1回の賞球コマンド設定処理で送信する賞球コマンドの回数も1回に限定されず、2回以上であってもよい。 Here, an example of subtracting one prize ball number in one prize ball command setting process is shown, but two or more prize balls may be subtracted in one prize ball command setting process. In this case, the number of winning balls of the same type of winning opening (or starting opening) may be subtracted, or the number of winning balls of different types of winning openings (or starting opening) may be subtracted. Further, the order of reference of the prize ball number storage areas 308a to 308d is not limited, and for example, the one with the largest number of prize balls may be referred to first, and the random value is acquired (for example, the first special figure start). You may refer to the opening 213 and the second special figure starting port 214) first. Further, the number of prize ball commands transmitted in one prize ball command setting process is not limited to one, and may be two or more.

図22に戻って、ステップS294では、賞球数記憶領域308a〜308dの値を読み出し、各々の賞球数記憶領域308a〜308dに記憶された値を加算し、RAM308に設けた全賞球数記憶領域に記憶する。ステップS295では、ステップS294で算出した全賞球数記憶領域の値(全賞球数)が所定数(この例では、10)以上であるか否かを判定し、該当する場合にはステップS296に進み、該当しない場合にはステップS298に進む。 Returning to FIG. 22, in step S294, the values of the prize ball number storage areas 308a to 308d are read out, the values stored in the respective prize ball number storage areas 308a to 308d are added, and the total number of prize balls provided in the RAM 308. Store in the storage area. In step S295, it is determined whether or not the value of the total prize ball number storage area (total prize ball number) calculated in step S294 is a predetermined number (10 in this example) or more, and if applicable, step S296. If not applicable, the process proceeds to step S298.

ステップS296では、全賞球数記憶領域の値から10を減算し、次のステップS297では、RAM308に設けた出力要求数に1を加算した後にステップS295に戻る。ステップS298では、その他の賞球コマンド設定処理を行った後に処理を終了する。 In step S296, 10 is subtracted from the value of the total prize ball number storage area, and in the next step S297, 1 is added to the number of output requests provided in the RAM 308, and then the process returns to step S295. In step S298, the process ends after performing other prize ball command setting processes.

なお、この例では、ステップS295において全賞球数が所定数以上と判定された場合に、ステップS296、S297の処理を行った後に、再びステップS295の判定に戻る構成としているため、例えば、全賞球数が25の場合には、ステップS296、S297の処理が2回行われる結果、出力要求数には2が設定されることになる。しかしながら、本発明はこのような処理に限定されず、例えば、ステップS296、S297の処理を行った後に、一度、賞球コマンド設定処理を終了し、次回以降の賞球コマンド設定処理において残りの出力要求数を加算する構成としてもよい。 In this example, when it is determined in step S295 that the total number of prize balls is equal to or greater than a predetermined number, the process of steps S296 and S297 is performed, and then the determination is returned to the determination in step S295. When the number of prize balls is 25, the number of output requests is set to 2 as a result of the processing of steps S296 and S297 being performed twice. However, the present invention is not limited to such processing. For example, after performing the processing of steps S296 and S297, the prize ball command setting process is once terminated, and the remaining output is output in the next and subsequent prize ball command setting processes. The number of requests may be added.

このような構成とした場合、先の例では、ステップS296において全賞球数が25から15に減算され、続くステップS297において出力要求数に1が設定され、次回の賞球コマンド設定処理のステップS296において全賞球数が15から5に減算され、続くステップS297において出力要求数に1が設定されることになる。 With such a configuration, in the previous example, the total number of prize balls is subtracted from 25 to 15 in step S296, the number of output requests is set to 1 in the subsequent step S297, and the next step of the prize ball command setting process. In S296, the total number of prize balls is subtracted from 15 to 5, and in the subsequent step S297, 1 is set in the number of output requests.

<デバイス監視処理>
次に、図24を用いて、主制御部300のCPU304が実行するデバイス監視処理について説明する。なお、図24は主制御部タイマ割込処理におけるデバイス監視処理の流れを示すフローチャートである。
<Device monitoring process>
Next, the device monitoring process executed by the CPU 304 of the main control unit 300 will be described with reference to FIG. 24. Note that FIG. 24 is a flowchart showing the flow of device monitoring processing in the main control unit timer interrupt processing.

ステップS351では、上述のエラーの有無を示すデバイス情報を初期設定する。ステップS352では、信号状態記憶領域に記憶した各種センサの信号状態を読み出して、特定のエラー(特定異常)の有無を監視し、当該特定異常を検出した場合に、ステップS353に進む。一方、特定異常を検出しなかった場合には、ステップS355に進む。 In step S351, device information indicating the presence or absence of the above error is initially set. In step S352, the signal states of the various sensors stored in the signal state storage area are read out, the presence or absence of a specific error (specific abnormality) is monitored, and when the specific abnormality is detected, the process proceeds to step S353. On the other hand, if no specific abnormality is detected, the process proceeds to step S355.

ステップS353では、第1副制御部400に送信すべき送信情報に、ステップS352で検出したエラーを示す特定異常情報(デバイス情報)を設定し、ステップS354では、RAM308に記憶している特定異常フラグをONに設定してステップS355に進む。なお、特定異常情報は、上述のエラーについての異常情報の中から、予め設定されている1つまたは複数のエラーの異常情報のことである。なお、本実施形態では、磁気異常エラーと磁界異常エラーの異常情報を特定異常情報として予め設定するが、これに限定されるものではない。 In step S353, specific abnormality information (device information) indicating the error detected in step S352 is set in the transmission information to be transmitted to the first sub-control unit 400, and in step S354, the specific abnormality flag stored in the RAM 308 is set. Is set to ON, and the process proceeds to step S355. The specific abnormality information is the abnormality information of one or a plurality of preset errors from the abnormality information about the above-mentioned error. In the present embodiment, the abnormality information of the magnetic abnormality error and the magnetic field abnormality error is set in advance as the specific abnormality information, but the present invention is not limited to this.

ステップS355では、通信異常監視処理(詳細は後述)を行い、ステップS356では、その他の異常状態に基づいてステータス(デバイス情報)を更新する。ステップS357では、ステータス(デバイス情報)に変化があったか否かを判定し、該当する場合にはステップS358に進み、該当しない場合には処理を終了する。ステップS358では、変化のあったステータスに対応するメインコマンドを出力すべく、対応するメインコマンド出力要求をONに設定して処理を終了する。 In step S355, a communication abnormality monitoring process (details will be described later) is performed, and in step S356, the status (device information) is updated based on other abnormal states. In step S357, it is determined whether or not the status (device information) has changed, and if applicable, the process proceeds to step S358, and if not applicable, the process ends. In step S358, in order to output the main command corresponding to the changed status, the corresponding main command output request is set to ON, and the process ends.

<異常監視処理>
次に、図25を用いて、上述のデバイス監視処理における通信異常監視処理(ステップS355)について説明する。なお、同図は、通信異常監視処理の流れを示すフローチャートである。
<Abnormality monitoring process>
Next, the communication abnormality monitoring process (step S355) in the above-mentioned device monitoring process will be described with reference to FIG. 25. The figure is a flowchart showing the flow of communication abnormality monitoring processing.

ステップS371では、遊技機枠情報レジスタ768d(図8参照)を参照することで通信タイムアウトフラグがオンであるかオフであるかを判定し、オンの場合(払出制御部600との通信に異常が発生した場合)にはステップS377に進み、オフの場合(払出制御部600との通信に異常が発生していない場合)にはステップS373に進む。ステップS373では、RAMに記憶している入賞保護ウェイトフラグをオフに設定し、次のステップS375では、RAMに記憶している入賞保護ウェイトタイマをリセット(初期化)した後に処理を終了する。 In step S371, it is determined whether the communication timeout flag is on or off by referring to the gaming machine frame information register 768d (see FIG. 8), and if it is on (communication with the payout control unit 600 is abnormal). If it occurs, the process proceeds to step S377, and if it is off (when no abnormality has occurred in communication with the payout control unit 600), the process proceeds to step S373. In step S373, the winning protection wait flag stored in the RAM is set to off, and in the next step S375, the winning protection wait timer stored in the RAM is reset (initialized), and then the process ends.

ステップS377では、入賞保護ウェイトフラグがオンかオフかを判定し、オンの場合にはステップS381に進み、オフの場合にはステップS385に進む。ステップS381では、入賞保護ウェイトフラグをオンに設定し、次のステップS383では、入賞保護ウェイトタイマに所定値(本例では、5秒に相当する数値)をセットした後に、処理を終了する。 In step S377, it is determined whether the winning protection weight flag is on or off, and if it is on, the process proceeds to step S381, and if it is off, the process proceeds to step S385. In step S381, the winning protection wait flag is set to on, and in the next step S383, a predetermined value (in this example, a numerical value corresponding to 5 seconds) is set in the winning protection wait timer, and then the process ends.

ステップS385では、入賞保護ウェイトタイマから1を減算し、次のステップS387では、ステップS385で減算した入賞保護ウェイトタイマの値が0か否かを判定する。この判定の結果、入賞保護ウェイトタイマが0でない場合には処理を終了する一方で、入賞保護ウェイトタイマが0の場合にはステップS389に進んで通信異常フラグをオンに設定するとともに、次のステップS391で入賞保護ウェイトフラグをオフに設定した後、処理を終了する。 In step S385, 1 is subtracted from the winning protection wait timer, and in the next step S387, it is determined whether or not the value of the winning protection wait timer subtracted in step S385 is 0. As a result of this determination, if the winning protection wait timer is not 0, the process ends, while if the winning protection wait timer is 0, the process proceeds to step S389 to set the communication abnormality flag to ON, and the next step. After setting the winning protection weight flag to off in S391, the process ends.

<通信異常処理の具体例>
次に、図26を用いて、主制御部300が実行する通信異常処理について説明する。なお、図26は、通信異常処理の一例を時系列で示したタイムチャートである。
<Specific example of communication error handling>
Next, the communication abnormality processing executed by the main control unit 300 will be described with reference to FIG. 26. Note that FIG. 26 is a time chart showing an example of communication abnormality processing in chronological order.

上述のとおり、主制御部300は、デバイス監視処理(ステップS232)の通信異常監視処理(ステップ355)において、通信タイムアウトフラグがオンかオフか(払出制御部600との間の通信が異常か否か)を監視し、払出制御部600との間の通信に異常が発生している場合は、直ちに通信異常フラグをオンに設定するのではなく、入賞保護ウェイトタイマによって計時されるウェイト時間(本例では、5秒間)が経過するのを待った後に通信異常フラグをオンに設定するように構成している。 As described above, the main control unit 300 determines whether the communication timeout flag is on or off (whether the communication with the payout control unit 600 is abnormal) in the communication abnormality monitoring process (step 355) of the device monitoring process (step S232). If there is an error in the communication with the payout control unit 600, the wait time (this) is measured by the winning protection wait timer instead of immediately setting the communication error flag to ON. In the example, the communication abnormality flag is set to be turned on after waiting for the elapse of 5 seconds).

このため、払出制御部600との間の通信に異常が発生した場合であっても、主制御部タイマ割込処理のステップS215〜S235の処理が直ちに中断されることはなく、ウェイト時間が経過するまではステップS215〜S235の処理の実行が継続される。したがって、遊技中に通信異常が発生した場合でも、ウェイト時間が経過するまでは遊技に関する制御を継続することが可能であり、通信異常によって遊技者に不利益を与えてしまうような事態を回避できる場合がある。 Therefore, even if an abnormality occurs in the communication with the payout control unit 600, the processing of steps S215 to S235 of the main control unit timer interrupt processing is not immediately interrupted, and the wait time elapses. Until this is done, the execution of the processes of steps S215 to S235 is continued. Therefore, even if a communication abnormality occurs during the game, it is possible to continue the control related to the game until the wait time elapses, and it is possible to avoid a situation in which the player is disadvantaged due to the communication abnormality. In some cases.

例えば、図26(a)に示す例では、符号T1で示すタイミングで通信異常が発生しているが、通信異常により入賞保護ウェイトタイマが起動するため、通信異常の発生した符号T1で示すタイミングから、入賞保護ウェイトタイマによるウェイト時間Wt1が経過する符号T2で示すタイミングまでは、主制御部タイマ割込処理のステップS215〜S235の処理が中断されることはない。したがって、符号T1から符号T2までの期間中は、通信異常の状態であっても、遊技に関する制御が可能であり、入賞受付が可能である。 For example, in the example shown in FIG. 26A, a communication abnormality occurs at the timing indicated by the reference numeral T1, but since the winning protection wait timer is activated due to the communication abnormality, the timing indicated by the reference numeral T1 at which the communication abnormality occurs is started. The process of steps S215 to S235 of the main control unit timer interrupt process is not interrupted until the timing indicated by the reference numeral T2 at which the wait time Wt1 by the winning protection wait timer elapses. Therefore, during the period from the reference numeral T1 to the reference numeral T2, it is possible to control the game and accept the winning even if the communication is abnormal.

また、図26(b)に示す例では、符号T3で示すタイミングで通信異常が発生しているが、入賞保護ウェイトタイマによるウェイト時間Wt1が経過する前(時間Wt2(<Wt1)の経過後)に、符号T4で示すタイミングで通信異常が解消し、通信タイムアウトフラグがオフになっている。したがって、本例では、符号T3から符号T4までの期間中は、通信異常の状態であっても、遊技に関する制御が可能であり、入賞受付が可能であるとともに、遊技に関する制御を一度も中断することなく、通信異常発生前の状態(符号T3に示すタイミングの直前の状態)に復帰することが可能である。 Further, in the example shown in FIG. 26B, a communication abnormality occurs at the timing indicated by the reference numeral T3, but before the wait time Wt1 by the winning protection wait timer elapses (after the elapse of the time Wt2 (<Wt1)). In addition, the communication abnormality is resolved at the timing indicated by the reference numeral T4, and the communication timeout flag is turned off. Therefore, in this example, during the period from the reference numeral T3 to the reference numeral T4, it is possible to control the game even in a communication abnormality state, it is possible to accept a prize, and the control related to the game is interrupted even once. It is possible to return to the state before the occurrence of the communication abnormality (the state immediately before the timing indicated by the reference numeral T3) without any problem.

一方、主制御部300は、デバイス監視処理(ステップS232)の通信異常監視処理(ステップ355)において、特定異常があるか無いかを監視し、特定異常を検出した場合は、直ちに特定異常検出フラグをオンに設定するように構成している。このため、特定異常を検出した場合には、主制御部タイマ割込処理のステップS215〜S235の処理が直ちに中断される。したがって、遊技中に特定異常が発生した場合には、遊技に関する制御を継続することはなく、特定異常が発生したまま遊技が進行することにより、遊技者に不利益を与えてしまうような事態を回避できる場合がある。 On the other hand, the main control unit 300 monitors whether or not there is a specific abnormality in the communication abnormality monitoring process (step 355) of the device monitoring process (step S232), and if a specific abnormality is detected, the specific abnormality detection flag is immediately detected. Is configured to be turned on. Therefore, when a specific abnormality is detected, the processing of steps S215 to S235 of the main control unit timer interrupt processing is immediately interrupted. Therefore, if a specific abnormality occurs during the game, the control related to the game is not continued, and the game progresses while the specific abnormality occurs, which causes a disadvantage to the player. It may be possible to avoid it.

例えば、図26(c)に示す例では、同図(b)を用いて説明した通信異常が解消した後に、符号T5で示すタイミングで特定異常が発生している。本例では、特定異常の発生により、主制御部タイマ割込処理のステップS215〜S235の処理を直ちに中断するため、特定異常の発生とほぼ同じタイミングで、遊技に関する制御が不可能となり、入賞受付も不可能となる。なお、本例では、符号T6に示すタイミングで特定異常が解消されているが、特定異常が発生した場合には、RAMクリアが実行され、認証が完了し、かつ、リカバリが完了するまでは(電源が一度遮断され、再度、電源が投入されない限りは)、特定通信異常フラグを含む通信異常フラグがオフに設定されることがなく、主制御部タイマ割込処理が実行されることがない(遊技に関する制御は停止したままとなる)。 For example, in the example shown in FIG. 26 (c), a specific abnormality occurs at the timing indicated by reference numeral T5 after the communication abnormality described with reference to FIG. 26 (b) is resolved. In this example, since the processing of steps S215 to S235 of the main control unit timer interrupt processing is immediately interrupted due to the occurrence of the specific abnormality, control related to the game becomes impossible at almost the same timing as the occurrence of the specific abnormality, and the prize is accepted. Is also impossible. In this example, the specific abnormality is resolved at the timing indicated by the reference numeral T6, but when the specific abnormality occurs, the RAM is cleared, the authentication is completed, and the recovery is completed (until the specific abnormality is completed (). Unless the power is turned off once and then turned on again), the communication error flag including the specific communication error flag is not set to off, and the main control unit timer interrupt process is not executed (unless the power is turned off and then turned on again). Control over the game remains stopped).

次に、図27および図28を用いて、本実施形態の記憶領域であるRAM(バッファエリア)708の構成について説明する。図27は、払出制御部600のRAM708に設けた各記憶領域に記憶される項目の一例を示す概要図である。また、図28は、主制御部300のRAM308および、払出制御部600のRAM708にそれぞれ設けた記憶領域と、当該記憶領域の初期化のタイミングについて示す概要図である。 Next, the configuration of the RAM (buffer area) 708, which is the storage area of the present embodiment, will be described with reference to FIGS. 27 and 28. FIG. 27 is a schematic diagram showing an example of items stored in each storage area provided in the RAM 708 of the payout control unit 600. Further, FIG. 28 is a schematic diagram showing the storage areas provided in the RAM 308 of the main control unit 300 and the RAM 708 of the payout control unit 600, and the timing of initialization of the storage areas.

主制御部300および払出制御部600は、電断・復電時(例えば停電復旧時など)に遊技状態の復旧を行うため電断発生時の遊技状態を電源遮断処理によりRAM308,708に記憶し、バックアップ電源によりRAMの内容を保持する。 The main control unit 300 and the payout control unit 600 store the game state at the time of power failure in the RAMs 308 and 708 by the power cutoff process in order to restore the game state at the time of power failure / recovery (for example, at the time of power failure recovery). , The contents of RAM are retained by the backup power supply.

パチンコ機100のバックアップ機能の構成として、図示は省略するがバックアップ電源部、電源監視回路、RAMクリアスイッチを備えている。RAMクリアスイッチは、バックアップしたRAMのデータを初期化するものである。 As a configuration of the backup function of the pachinko machine 100, a backup power supply unit, a power supply monitoring circuit, and a RAM clear switch are provided, although not shown. The RAM clear switch initializes the backed up RAM data.

図27に示すように、払出制御部600のRAM708に、小さいアドレス(ここでは、7F00H)からアドレス7F0DHまでの第一の領域708Aと、アドレス7F0EHからアドレス7FFFHまでの第二の領域708Bとが設けられている。第一の領域708Aは更に、複数の記憶領域に分かれ、例えば、賞球数、遊技球数、遊技情報、エラー状態、未送信コマンド、プログラム起動状態フラグ、電源状態情報などが格納される。一方、第二の領域708Bは、設定ポインタ用保存エリア、解析ポインタ保存用エリア、受信コマンドバッファエリアなどに分かれる。受信コマンドバッファエリアは、受信したコマンドが記憶される領域であり、設定ポインタ用保存エリアおよび解析ポインタ保存用エリアは、受信したコマンドの記憶処理に用いるポインタが格納される領域である。設定ポインタ用保存エリア、解析ポインタ保存用エリアおよび受信コマンドバッファエリアについては、後述する。 As shown in FIG. 27, the RAM 708 of the payout control unit 600 is provided with a first area 708A from the small address (here, 7F00H) to the address 7F0DH and a second area 708B from the address 7F0EH to the address 7FFFH. Has been done. The first area 708A is further divided into a plurality of storage areas, and for example, a prize ball number, a game ball number, a game information, an error state, an untransmitted command, a program start state flag, a power supply state information, and the like are stored. On the other hand, the second area 708B is divided into a setting pointer storage area, an analysis pointer storage area, a reception command buffer area, and the like. The received command buffer area is an area in which received commands are stored, and the setting pointer storage area and the analysis pointer storage area are areas in which pointers used for storage processing of received commands are stored. The setting pointer storage area, analysis pointer storage area, and reception command buffer area will be described later.

そして、第一の領域708Aは、電源遮断時には格納された情報が退避(バックアップ)される領域であり、第二の領域708Bは、電源投入直後に初期化される領域である。例えば、電断検出をしていない初期化処理(例えば、図9のステップS115)ではこれらの記憶領域の全てを初期化(クリア)し、復帰起動では、これらのうち一部のみを初期化(クリア)する。つまり初期化処理では第一の領域708Aと第二の領域708Bがクリアされるが、電断が発生した場合には、第一の領域708Aの情報のみがバックアップされる。そして、その後の復電時処理では第一の領域は、RAM708の所定の領域にバックアップされた情報が復元(設定)され、第二の領域708Bのみがクリアされる。このように、払出制御部600のRAM708をクリアするタイミングは複数あり、かつ、クリアする領域も複数(第一の領域708A、第二の領域708B)ある。更に、第二の領域702Bは、払出制御部600の復帰起動時であっても、クリアされる場合があり、電断が発生した場合でもバックアップされない。つまり、受信したコマンドを記憶する領域(受信コマンドバッファエリア)およびその記憶処理に用いられる設定ポインタ用保存エリアおよび解析ポインタ保存用エリア(各ポインタの値)は復帰起動時でもクリアされる場合があり、電断時にはバックアップされない領域となる。このような構成とすることにより、主制御部300と払出制御部600の初期起動時であっても復帰起動時であっても、払出制御部600の電源投入直後は、第二の領域をクリアすることができ、意図しないタイミングで賞球コマンド等が払出制御部600に送信されることを防止できる場合がある。 The first area 708A is an area in which the stored information is saved (backed up) when the power is turned off, and the second area 708B is an area that is initialized immediately after the power is turned on. For example, in the initialization process in which the power failure is not detected (for example, step S115 in FIG. 9), all of these storage areas are initialized (cleared), and in the return activation, only a part of them is initialized (for example). clear. That is, in the initialization process, the first region 708A and the second region 708B are cleared, but when a power failure occurs, only the information in the first region 708A is backed up. Then, in the subsequent power recovery processing, the information backed up in the predetermined area of the RAM 708 is restored (set) in the first area, and only the second area 708B is cleared. As described above, there are a plurality of timings for clearing the RAM 708 of the payout control unit 600, and there are also a plurality of areas for clearing (first area 708A, second area 708B). Further, the second area 702B may be cleared even when the payout control unit 600 is restored and activated, and is not backed up even when a power failure occurs. In other words, the area for storing received commands (received command buffer area), the setting pointer storage area used for the storage process, and the analysis pointer storage area (values of each pointer) may be cleared even when recovery is started. , It becomes an area that is not backed up when the power is cut off. With such a configuration, the second area is cleared immediately after the power of the payout control unit 600 is turned on, regardless of whether the main control unit 300 and the payout control unit 600 are initially started or returned. This may prevent the prize ball command or the like from being transmitted to the payout control unit 600 at an unintended timing.

ここでの図示は省略するが、主制御部300のRAM308も同様の構成としてもよい。すなわち、電断が発生した場合にバックアップされる第一の領域と、その後の復電時処理でクリアされる第二の領域とを有してもよい。主制御部300の第一の領域に格納されている情報は例えば、大当り状態(ラウンド回数も含む)、高確率・時短状態、保留メモリ(特別図柄、普通図柄)の乱数値、エラー状態、未送信コマンド、可動部材(普通電動役物、第1種特別電動役物)の動作状態などである。また、主制御部300のRAM308においても、電断が発生した場合には第一の領域に格納された情報のみがバックアップされるようにしてもよい。 Although not shown here, the RAM 308 of the main control unit 300 may have the same configuration. That is, it may have a first area that is backed up when a power failure occurs and a second area that is cleared by the subsequent power recovery process. The information stored in the first area of the main control unit 300 is, for example, a jackpot state (including the number of rounds), a high probability / time saving state, a random value of the reserved memory (special symbol, normal symbol), an error state, and not yet. The transmission command, the operating state of the movable member (ordinary electric accessory, type 1 special electric accessory), and the like. Further, even in the RAM 308 of the main control unit 300, when a power failure occurs, only the information stored in the first area may be backed up.

図28は、図27に示した、払出制御部600のRAM708の第一の領域、第二の領域について初期化のタイミングを示す図である。本実施形態では、RAM708の初期化を行うタイミングが複数設けられている。同図において、第一のタイミングは、払出制御部600のそれぞれの電源投入直後のタイミングであり、第二のタイミングは、主制御通信確認コマンド受信時処理のタイミングである。なお、払出制御部600の電源投入直後のタイミングについては後述する。 FIG. 28 is a diagram showing the initialization timing of the first region and the second region of the RAM 708 of the payout control unit 600 shown in FIG. 27. In this embodiment, a plurality of timings for initializing the RAM 708 are provided. In the figure, the first timing is the timing immediately after each power-on of the payout control unit 600, and the second timing is the timing of processing when the main control communication confirmation command is received. The timing immediately after the power of the payout control unit 600 is turned on will be described later.

(1)主制御部300および払出制御部600のいずれもが初期起動等の場合 (1) When both the main control unit 300 and the payout control unit 600 are initially activated, etc.

この場合、第一のタイミングでは、第一の領域708Aと第二の領域708Bのいずれもが初期化され、第二のタイミングでは第一の領域708Aと第二の領域708Bのいずれも初期化されない。 In this case, at the first timing, neither the first region 708A nor the second region 708B is initialized, and at the second timing, neither the first region 708A nor the second region 708B is initialized. ..

(2)主制御部300が復帰起動で、払出制御部600が初期起動等の場合は、(1)と同様である。
(3)主制御部300が初期起動等で払出制御部600が復帰起動の場合
この場合、第一のタイミングでは、第二の領域708Bのみが初期化され、第二のタイミングでは第一の領域708Aのみが初期化される。
(4)主制御部300および払出制御部600のいずれもが復帰起動の場合
この場合、第一のタイミングでは、第二の領域708Bのみが初期化され、第二のタイミングではいずれの領域も初期化されない。
(2) The same as in (1) when the main control unit 300 is the return start and the payout control unit 600 is the initial start.
(3) When the main control unit 300 is initially activated and the payout control unit 600 is restored and activated In this case, only the second area 708B is initialized at the first timing, and the first area is initialized at the second timing. Only 708A is initialized.
(4) When both the main control unit 300 and the payout control unit 600 are restored and activated In this case, only the second area 708B is initialized at the first timing, and both areas are initialized at the second timing. Not converted.

<第1副制御部400の処理>
次に、図29を用いて、第1副制御部400の処理について説明する。なお、同図(a)は、第1副制御部400のCPU404が実行するメイン処理のフローチャートである。同図(b)は、第1副制御部400のコマンド受信割込処理のフローチャートである。同図(c)は、第1副制御部400のタイマ割込処理のフローチャートである。同図(d)は、第1副制御部400の画像制御処理のフローチャートである。
<Processing of the first sub-control unit 400>
Next, the process of the first sub-control unit 400 will be described with reference to FIG. 29. Note that FIG. 3A is a flowchart of the main process executed by the CPU 404 of the first sub-control unit 400. FIG. 3B is a flowchart of the command reception interrupt process of the first sub-control unit 400. FIG. 3C is a flowchart of the timer interrupt process of the first sub-control unit 400. FIG. 3D is a flowchart of the image control process of the first sub-control unit 400.

まず、同図(a)のステップS2501では、各種の初期設定を行う。電源投入が行われると、まずステップS2501で初期化処理が実行される。この初期化処理では、入出力ポートの初期設定や、RAM408内の記憶領域の初期化処理等を行う。ステップS2503では、タイマ変数が10以上か否かを判定し、タイマ変数が10となるまでこの処理を繰り返し、タイマ変数が10以上となったときには、ステップS2505の処理に移行する。 First, in step S2501 of FIG. 6A, various initial settings are performed. When the power is turned on, the initialization process is first executed in step S2501. In this initialization process, the initial setting of the input / output port, the initialization process of the storage area in the RAM 408, and the like are performed. In step S2503, it is determined whether or not the timer variable is 10 or more, and this process is repeated until the timer variable becomes 10, and when the timer variable becomes 10 or more, the process proceeds to step S2505.

ステップS2505では、タイマ変数に0を代入する。ステップS2507では、コマンド処理を行う。このコマンド処理では、RAM408に設けたコマンド記憶領域を参照し、主制御部300からコマンドを受信したか否か(未処理コマンドがあるか無いか)を判別し、未処理コマンドがある場合には、当該コマンドに対応する処理を行う。 In step S2505, 0 is assigned to the timer variable. In step S2507, command processing is performed. In this command processing, the command storage area provided in the RAM 408 is referred to, it is determined whether or not a command has been received from the main control unit 300 (whether or not there is an unprocessed command), and if there is an unprocessed command, it is determined. , Performs the process corresponding to the command.

例えば、主制御部300から起動コマンドを受信した場合には、後述するステップS2509の演出制御処理において、設定変更中(または設定確認中)であることを報知する設定変更中報知(例えば、装飾図柄表示装置208による表示や、スピーカ120からの音声出力)を行うための演出データをROM406から読み出す等の処理を行う。 For example, when a start command is received from the main control unit 300, in the effect control process of step S2509 described later, a setting changing notification (for example, a decorative symbol) is notified that the setting is being changed (or the setting is being confirmed). Processing such as reading out the effect data for performing the display by the display device 208 and the audio output from the speaker 120) from the ROM 406 is performed.

当該処理により、例えば、装飾図柄表示装置208の表示領域には、設定変更中報知(例えば、「設定変更中です」という文字列を含む画像)が表示され、スピーカ120からは、設定変更中報知(例えば、「設定変更中です」という音声)が出力される。なお、設定変更中報知を行う手段は、装飾図柄表示装置208やスピーカ120に限定されず、LEDや可動体等であってもよい。 By this processing, for example, the setting changing notification (for example, an image including the character string "setting is being changed") is displayed in the display area of the decorative symbol display device 208, and the setting changing notification is displayed from the speaker 120. (For example, the voice "Settings are being changed") is output. The means for notifying during the setting change is not limited to the decorative symbol display device 208 and the speaker 120, and may be an LED, a movable body, or the like.

また、主制御部300から電源投入コマンドを受信した場合には、後述するステップS2509の演出制御処理において、設定変更中報知を消去し、電源が投入されたことを報知する電源投入報知を装飾図柄表示装置208に表示させるための演出データをROM406から読み出す等の処理を行う。 Further, when a power-on command is received from the main control unit 300, in the effect control process of step S2509, which will be described later, the notification during the setting change is deleted, and the power-on notification for notifying that the power is turned on is a decorative symbol. Processing such as reading the effect data to be displayed on the display device 208 from the ROM 406 is performed.

当該処理により、例えば、装飾図柄表示装置208の表示領域には、電源投入報知(例えば、「RAMをクリアしました」や「電源投入しました」という文字列を含む画像)が表示され、スピーカ120からは、設定変更中報知(例えば、「RAMをクリアしました」や「電源投入しました」という音声)が出力される。なお、電源投入報知を行う手段は、装飾図柄表示装置208やスピーカ120に限定されず、LEDや可動体等であってもよい。 By this processing, for example, a power-on notification (for example, an image including the character strings "RAM cleared" and "power-on") is displayed in the display area of the decorative symbol display device 208, and the speaker 120 Outputs a setting change notification (for example, a voice saying "RAM has been cleared" or "power has been turned on"). The means for notifying the power-on is not limited to the decorative symbol display device 208 and the speaker 120, and may be an LED, a movable body, or the like.

ステップS2509では、演出制御処理を行う。例えば、ステップS2507で新たなコマンドがあった場合には、このコマンドに対応する演出データをROM406から読み出す等の処理を行い、演出データの更新が必要な場合には演出データの更新処理を行う。 In step S2509, the effect control process is performed. For example, when there is a new command in step S2507, processing such as reading the production data corresponding to this command from the ROM 406 is performed, and when the production data needs to be updated, the production data is updated.

ステップS2511では、チャンスボタンの押下を検出していた場合、ステップS2509で更新した演出データをチャンスボタンの押下に応じた演出データに変更する処理を行う。ステップS2513では、ステップS2509で読み出した演出データの中にVDP434への命令がある場合には、この命令をVDP434に出力する(詳細は後述)。 In step S2511, when the press of the chance button is detected, the effect data updated in step S2509 is changed to the effect data corresponding to the press of the chance button. In step S2513, if there is an instruction to VDP434 in the effect data read in step S2509, this instruction is output to VDP434 (details will be described later).

ステップS2515では、ステップS2509で読み出した演出データの中に音源IC416への命令がある場合には、この命令を音源IC416に出力する。ステップS2517では、ステップS2509で読み出した演出データの中に各種ランプ418への命令がある場合には、この命令を駆動回路420に出力する。 In step S2515, if there is a command to the sound source IC 416 in the effect data read in step S2509, this command is output to the sound source IC 416. In step S2517, if there is an instruction to various lamps 418 in the effect data read in step S2509, this instruction is output to the drive circuit 420.

ステップS2519では、ステップS2509で読み出した演出データの中に遮蔽装置246への命令がある場合には、この命令を駆動回路432に出力する。ステップS2521では、ステップS2509で読み出した演出データの中に第2副制御部500に送信する制御コマンドがある場合には、この制御コマンドを出力する設定を行い、ステップS2503へ戻る。 In step S2519, if there is a command to the cloaking device 246 in the effect data read in step S2509, this command is output to the drive circuit 432. In step S2521, if there is a control command to be transmitted to the second sub-control unit 500 in the effect data read in step S2509, a setting is made to output this control command, and the process returns to step S2503.

次に、同図(b)を用いて、第1副制御部400のコマンド受信割込処理について説明する。このコマンド受信割込処理は、第1副制御部400が、主制御部300が出力するストローブ信号を検出した場合に実行する処理である。コマンド受信割込処理のステップS2601では、主制御部300が出力したコマンドを未処理コマンドとしてRAM408に設けたコマンド記憶領域に記憶する。 Next, the command reception interrupt process of the first sub-control unit 400 will be described with reference to FIG. This command reception interrupt process is a process executed when the first sub-control unit 400 detects a strobe signal output by the main control unit 300. In step S2601 of the command reception interrupt process, the command output by the main control unit 300 is stored as an unprocessed command in the command storage area provided in the RAM 408.

次に、同図(c)を用いて、第1副制御部400のCPU404によって実行する第1副制御部タイマ割込処理について説明する。第1副制御部400は、所定の周期(本実施例では2msに1回)でタイマ割込を発生するハードウェアタイマを備えており、このタイマ割込を契機として、タイマ割込処理を所定の周期で実行する。 Next, the timer interrupt processing of the first sub-control unit executed by the CPU 404 of the first sub-control unit 400 will be described with reference to FIG. The first sub-control unit 400 includes a hardware timer that generates a timer interrupt at a predetermined cycle (once every 2 ms in this embodiment), and the timer interrupt process is predetermined with this timer interrupt as an opportunity. Execute in the cycle of.

第1副制御部タイマ割込処理のステップS2701では、第1副制御部メイン処理におけるステップS2503において説明したRAM408のタイマ変数記憶領域の値に、1を加算して元のタイマ変数記憶領域に記憶する。従って、ステップSC03において、タイマ変数の値が10以上と判定されるのは20ms毎(2ms×10)となる。 In step S2701 of the first sub-control unit timer interrupt process, 1 is added to the value of the timer variable storage area of the RAM 408 described in step S2503 in the first sub-control unit main process and stored in the original timer variable storage area. do. Therefore, in step SC03, the value of the timer variable is determined to be 10 or more every 20 ms (2 ms × 10).

第1副制御部タイマ割込処理のステップS2703では、ステップS2521で設定された第2副制御部500への制御コマンドの送信や、演出用乱数値の更新処理等を行う。 In step S2703 of the first sub-control unit timer interrupt process, the control command is transmitted to the second sub-control unit 500 set in step S2521, and the effect random value value is updated.

次に、同図(d)を用いて、第1副制御部400のメイン処理におけるステップS2513の画像制御処理について説明する。同図は、画像制御処理の流れを示すフローチャートを示した図である。 Next, the image control process in step S2513 in the main process of the first sub-control unit 400 will be described with reference to FIG. The figure is a diagram showing a flowchart showing the flow of image control processing.

ステップS2801では、画像データの転送指示を行う。ここでは、CPU404は、まず、VRAM436の表示領域Aと表示領域Bの描画領域の指定をスワップする。これにより、描画領域に指定されていない表示領域に記憶された1フレームの画像が装飾図柄表示装置208に表示される。次に、CPU404は、VDP434のアトリビュートレジスタに、位置情報等テーブルに基づいてROM座標(ROM406の転送元アドレス)、VRAM座標(VRAM436の転送先アドレス)などを設定した後、ROM406からVRAM436への画像データの転送開始を指示する命令を設定する。VDP434は、アトリビュートレジスタに設定された命令に基づいて画像データをROM406からVRAM436に転送する。その後、VDP436は、転送終了割込信号をCPU404に対して出力する。 In step S2801, an image data transfer instruction is given. Here, the CPU 404 first swaps the designation of the display area A of the VRAM 436 and the drawing area of the display area B. As a result, the one-frame image stored in the display area not designated as the drawing area is displayed on the decorative symbol display device 208. Next, the CPU 404 sets the ROM coordinates (transfer source address of ROM 406), VRAM coordinates (transfer destination address of VRAM 436), etc. in the attribute register of VDP 434 based on the position information table, and then the image from ROM 406 to VRAM 436. Set the command to instruct the start of data transfer. The VDP 434 transfers the image data from the ROM 406 to the VRAM 436 based on the instruction set in the attribute register. After that, the VDP 436 outputs a transfer end interrupt signal to the CPU 404.

ステップS2803では、VDP434からの転送終了割込信号が入力されたか否かを判定し、転送終了割込信号が入力された場合はステップS2805に進み、そうでない場合は転送終了割込信号が入力されるのを待つ。ステップS2805では、演出シナリオ構成テーブルおよびアトリビュートデータなどに基づいて、パラメータ設定を行う。ここでは、CPU404は、ステップS2801でVRAM436に転送した画像データに基づいてVRAM436の表示領域AまたはBに表示画像を形成するために、表示画像を構成する画像データの情報(VRAM436の座標軸、画像サイズ、VRAM座標(配置座標)など)をVDP434に指示する。VDP434はアトリビュートレジスタに格納された命令に基づいてアトリビュートに従ったパラメータ設定を行う。 In step S2803, it is determined whether or not the transfer end interrupt signal from the VDP 434 has been input. If the transfer end interrupt signal is input, the process proceeds to step S2805. If not, the transfer end interrupt signal is input. Wait for it. In step S2805, parameters are set based on the effect scenario configuration table, attribute data, and the like. Here, in order to form a display image in the display area A or B of the VRAM 436 based on the image data transferred to the VRAM 436 in step S2801, the CPU 404 information of the image data constituting the display image (coordinate axis of the VRAM 436, image size). , VRAM coordinates (arrangement coordinates), etc.) are instructed to VDP434. The VDP434 sets parameters according to the attribute based on the instruction stored in the attribute register.

ステップS2807では、描画指示を行う。この描画指示では、CPU404は、VDP434に画像の描画開始を指示する。VDP434は、CPU404の指示に従ってフレームバッファにおける画像描画を開始する。 In step S2807, a drawing instruction is given. In this drawing instruction, the CPU 404 instructs the VDP 434 to start drawing an image. The VDP 434 starts drawing an image in the frame buffer according to the instruction of the CPU 404.

ステップS2809では、画像の描画終了に基づくVDP434からの生成終了割込み信号が入力されたか否かを判定し、生成終了割込み信号が入力された場合はステップSF11に進み、そうでない場合は生成終了割込み信号が入力されるのを待つ。ステップS2811では、RAM408の所定の領域に設定され、何シーンの画像を生成したかをカウントするシーン表示カウンタをインクリメント(+1)して処理を終了する。 In step S2809, it is determined whether or not the generation end interrupt signal from the VDP 434 is input based on the end of drawing the image. If the generation end interrupt signal is input, the process proceeds to step SF11. If not, the generation end interrupt signal is generated. Wait for to be entered. In step S2811, the scene display counter, which is set in a predetermined area of the RAM 408 and counts how many scenes of images are generated, is incremented (+1) to end the process.

<第2副制御部500の処理>
次に、図30を用いて、第2副制御部500の処理について説明する。なお、同図(a)は、第2副制御部500のCPU504が実行するメイン処理のフローチャートである。同図(b)は、第2副制御部500のコマンド受信割込処理のフローチャートである。同図(c)は、第2副制御部500のタイマ割込処理のフローチャートである。
<Processing of the second sub-control unit 500>
Next, the process of the second sub-control unit 500 will be described with reference to FIG. Note that FIG. 3A is a flowchart of the main process executed by the CPU 504 of the second sub-control unit 500. FIG. 3B is a flowchart of the command reception interrupt process of the second sub-control unit 500. FIG. 3C is a flowchart of the timer interrupt process of the second sub-control unit 500.

まず、同図(a)のステップS3001では、各種の初期設定を行う。電源投入が行われると、まずステップS3001で初期化処理が実行される。この初期化処理では、入出力ポートの初期設定や、RAM508内の記憶領域の初期化処理等を行う。ステップS3003では、タイマ変数が10以上か否かを判定し、タイマ変数が10となるまでこの処理を繰り返し、タイマ変数が10以上となったときには、ステップS3005の処理に移行する。ステップS3005では、タイマ変数に0を代入する。 First, in step S3001 of FIG. 6A, various initial settings are performed. When the power is turned on, the initialization process is first executed in step S3001. In this initialization process, the initial setting of the input / output port, the initialization process of the storage area in the RAM 508, and the like are performed. In step S3003, it is determined whether or not the timer variable is 10 or more, and this process is repeated until the timer variable becomes 10, and when the timer variable becomes 10 or more, the process proceeds to step S3005. In step S3005, 0 is assigned to the timer variable.

ステップS3007では、コマンド処理を行う。第2副制御部500のCPU504は、第1副制御部400のCPU404からコマンドを受信したか否かを判別する。ステップS3009では、演出制御処理を行う。例えば、ステップS3007で新たなコマンドがあった場合には、このコマンドに対応する演出データをROM506から読み出す等の処理を行い、演出データの更新が必要な場合には演出データの更新処理を行う。 In step S3007, command processing is performed. The CPU 504 of the second sub-control unit 500 determines whether or not a command has been received from the CPU 404 of the first sub-control unit 400. In step S3009, the effect control process is performed. For example, when there is a new command in step S3007, processing such as reading the production data corresponding to this command from ROM 506 is performed, and when the production data needs to be updated, the production data is updated.

ステップS3011では、第1副制御部400からの遊技盤用ランプ532や遊技台枠用ランプ542への命令がある場合には、この命令をシリアル通信制御回路520に出力する。ステップS3013では、第1副制御部400からの演出可動体224への命令がある場合には、この命令を駆動回路516に出力し、ステップS3003に戻る。 In step S3011, if there is a command from the first sub-control unit 400 to the game board lamp 532 or the game underframe lamp 542, this command is output to the serial communication control circuit 520. In step S3013, when there is a command from the first sub-control unit 400 to the effect movable body 224, this command is output to the drive circuit 516 and the process returns to step S3003.

次に、同図(b)を用いて、第2副制御部500のコマンド受信割込処理について説明する。このコマンド受信割込処理は、第2副制御部500が、第1副制御部400が出力するストローブ信号を検出した場合に実行する処理である。コマンド受信割込処理のステップS3101では、第1副制御部400が出力したコマンドを未処理コマンドとしてRAM508に設けたコマンド記憶領域に記憶する。 Next, the command reception interrupt process of the second sub-control unit 500 will be described with reference to FIG. This command reception interrupt process is a process executed when the second sub-control unit 500 detects a strobe signal output by the first sub-control unit 400. In step S3101 of the command reception interrupt process, the command output by the first sub-control unit 400 is stored as an unprocessed command in the command storage area provided in the RAM 508.

次に、同図(c)を用いて、第2副制御部500のCPU504によって実行する第2副制御部タイマ割込処理について説明する。第2副制御部500は、所定の周期(本実施例では2msに1回)でタイマ割込を発生するハードウェアタイマを備えており、このタイマ割込を契機として、タイマ割込処理を所定の周期で実行する。 Next, the second sub-control unit timer interrupt process executed by the CPU 504 of the second sub-control unit 500 will be described with reference to FIG. The second sub-control unit 500 includes a hardware timer that generates a timer interrupt at a predetermined cycle (once every 2 ms in this embodiment), and the timer interrupt process is predetermined with this timer interrupt as an opportunity. Execute in the cycle of.

第2副制御部タイマ割込処理のステップS3101では、第2副制御部メイン処理におけるステップS3003において説明したRAM508のタイマ変数記憶領域の値に、1を加算して元のタイマ変数記憶領域に記憶する。従って、ステップS3003において、タイマ変数の値が10以上と判定されるのは20ms毎(2ms×10)となる。第2副制御部タイマ割込処理のステップS3203では、演出用乱数値の更新処理等を行う。 In step S3101 of the second sub-control unit timer interrupt process, 1 is added to the value of the timer variable storage area of the RAM 508 described in step S3003 in the second sub-control unit main process and stored in the original timer variable storage area. do. Therefore, in step S3003, the value of the timer variable is determined to be 10 or more every 20 ms (2 ms × 10). In step S3203 of the second sub-control unit timer interrupt process, the effect random value value update process and the like are performed.

<本願発明1>
以上説明したように、本願発明1に係る遊技台(例えば、図1に示すパチンコ機100、スロットマシン)は、報知が可能な報知手段(例えば、図1や図4に示す装飾図柄表示装置208、図4に示すスピーカ120、図4に示す各種ランプ418、図4に示す遊技枠用ランプ532、図4に示す遊技台枠用ランプ542、図4に示す演出可動体224、図示しないLED)と、複数種類の処理を実行可能な主制御手段(例えば、図4に示す主制御部300)と、前記報知手段を制御可能な副制御手段(例えば、図4に示す第1副制御部400)と、を備えた遊技台であって、前記複数種類の処理のうちの一の処理は、前記副制御手段の起動に関する処理(以下、「第一の処理」という。例えば、図18や図19に示す第一の処理S1)であり、前記複数種類の処理のうちの一の処理は、前記第一の処理よりも後に開始される処理であって、前記副制御手段の起動開始に関するコマンド(例えば、起動コマンド)を前記副制御手段に向けて送信する処理(以下、「第二の処理」という。)例えば、図18や図19に示す第二の処理S2)であり、前記複数種類の処理のうちの一の処理は、設定値の変更が可能な状態(例えば、RAMクリアスイッチ180がONかつ設定キーがONの状態)で電源が投入された場合に前記第二の処理よりも後に開始される処理であって、設定に関する処理(以下、「第三の処理」という。例えば、図19に示す第三の処理S3、設定確認処理、設定変更処理)であり、前記複数種類の処理のうちの一の処理は、前記第三の処理よりも後に開始される処理であって、抽選処理(例えば、図15に示す普図関連抽選処理、特図1関連抽選処理、特図2関連抽選処理等の抽選処理)を含む複数種類の処理から構成される処理(以下、「第四の処理」という。例えば、図18や図19に示す第四の処理S4)であり、前記副制御手段は、前記起動開始に関するコマンドに基づいて前記第三の処理に関する報知(以下、「或る報知」という。例えば、設定確認中であることを報知する設定確認中報知、設定変更中であることを報知する設定変更中報知)を前記報知手段に実行させる制御が実行可能な手段であり、前記第三の処理は、或る操作(例えば、設定キーをONからOFFにする操作)を受け付けた場合に終了する処理であり、前記第四の処理は、前記第三の処理が終了して或る期間(例えば、図18に示す初期起動または復帰起動においては、第二の処理S2が終了してから割込み機能限定カウンタが0になるまでの期間、図19に示す設定変更または設定確認においては、第三の処理S3が終了してから割込み機能限定カウンタが0になるまでの期間)が経過した場合に開始される処理であり、前記複数種類の処理のうちの一の処理は、前記第四の処理における前記抽選処理に用いられる乱数値を更新する処理(以下、「第五の処理」という。)であり、前記第五の処理は、前記第三の処理よりも前に開始される処理である、ことを特徴とする遊技台である。
<Invention 1 of the present application>
As described above, the gaming table according to the invention 1 of the present application (for example, the pachinko machine 100 shown in FIG. 1 and the slot machine) is a notifying means capable of notifying (for example, the decorative symbol display device 208 shown in FIGS. 1 and 4). , Speaker 120 shown in FIG. 4, various lamps 418 shown in FIG. 4, game frame lamp 532 shown in FIG. 4, game table frame lamp 542 shown in FIG. 4, effect movable body 224 shown in FIG. 4, LED not shown). A main control means capable of executing a plurality of types of processing (for example, the main control unit 300 shown in FIG. 4) and a sub control means capable of controlling the notification means (for example, the first sub control unit 400 shown in FIG. 4). ), And one of the plurality of types of processes is a process related to activation of the sub-control means (hereinafter, referred to as "first process", for example, FIG. 18 and FIG. The first process S1) shown in 19, one of the plurality of types of processes is a process started after the first process, and is a command relating to the start start of the sub-control means. (For example, a process of transmitting (for example, an activation command) to the sub-control means (hereinafter, referred to as “second process”), for example, the second process S2 shown in FIGS. 18 and 19, and the plurality of types. One of the processes of is more than the second process when the power is turned on in a state where the set value can be changed (for example, the RAM clear switch 180 is ON and the setting key is ON). The process to be started later is a process related to setting (hereinafter, referred to as "third process"; for example, the third process S3 shown in FIG. 19, setting confirmation process, setting change process), and the plurality of types are described above. One of the processes is a process started after the third process, and is a lottery process (for example, a general drawing-related lottery process shown in FIG. 15, a special figure 1 related lottery process, and a special figure 2). A process composed of a plurality of types of processes including a lottery process such as a related lottery process (hereinafter, referred to as a “fourth process”; for example, a fourth process S4 shown in FIGS. 18 and 19), which is the sub-process. The control means is notifying the third process based on the command related to the start of activation (hereinafter, referred to as "a certain notification". For example, a setting confirmation notification to notify that the setting is being confirmed, or a setting change is being performed. It is a means capable of executing control to cause the notification means to execute a setting changing notification to notify that, and the third process accepts a certain operation (for example, an operation of turning the setting key from ON to OFF). This is a process that ends when the third process is completed, and the fourth process is a certain period (for example, for example) after the third process is completed. In the initial start or return start shown in FIG. 18, the period from the end of the second process S2 until the interrupt function limitation counter becomes 0, and in the setting change or setting confirmation shown in FIG. 19, the third process. S3 is Ri processing der the period from the end to the interrupt function limit counter reaches 0) is started when the elapsed, the one of the processing among the plurality of types of processing, in the fourth process A process for updating the random value used in the lottery process (hereinafter, referred to as a "fifth process". ), The fifth process is a process started before the third process .

主制御手段の電源投入後の処理として、副制御手段の起動を担保するためのウェイト時間を設け、ウェイト時間経過後に副制御手段に起動開始コマンドを送信し、通常遊技状態に移行させる処理が考えられ、このような処理によれば、操作者の操作による電源投入後から通常遊技状態移行までの間にウェイト時間が設けられているため、通常遊技状態における遊技者の利益に関する処理タイミングの特定が難しくなる。 As a process after the power of the main control means is turned on, a wait time is provided to ensure the activation of the sub control means, and after the wait time elapses, a start start command is sent to the sub control means to shift to the normal gaming state. According to such processing, since a wait time is provided between the time when the power is turned on by the operation of the operator and the transition to the normal gaming state, it is possible to specify the processing timing regarding the profit of the player in the normal gaming state. It gets harder.

しかしながら、このような処理に設定変更処理を組み合わせた場合、ウェイト時間経過後に副制御手段に設定変更中であることを報知させるためのコマンドを送信し、且つ、設定変更が完了するまで設定変更処理を行い、該設定変更処理完了後に通常遊技状態に移行させることになる。 However, when the setting change process is combined with such a process, a command for notifying the sub-control means that the setting is being changed is sent after the wait time elapses, and the setting change process is completed until the setting change is completed. Is performed, and after the setting change process is completed, the game state is shifted to the normal game state.

この場合、操作者の任意のタイミングで完了させることができる設定変更処理の直後に通常遊技状態に移行させてしまうと、通常遊技状態における遊技者の利益に関する処理タイミングが特定しやすくなってしまう。このような問題を解決するために、副制御手段に関する処理(ウェイト、コマンド送信等の処理)を設定変更処理の後に実行させることも考えられるが、この場合には、設定変更中であることを報知することができなくなるため、遊技店員の利便性が低下する上に、不正な設定変更処理の発見が困難になるという問題が生じてしまう。 In this case, if the process shifts to the normal game state immediately after the setting change process that can be completed at an arbitrary timing of the operator, it becomes easy to specify the process timing related to the profit of the player in the normal game state. In order to solve such a problem, it is conceivable to execute the process related to the sub-control means (process such as wait, command transmission, etc.) after the setting change process, but in this case, it means that the setting is being changed. Since it becomes impossible to notify, the convenience of the game clerk is lowered, and there arises a problem that it becomes difficult to detect an illegal setting change process.

本願発明1に係る遊技台によれば、設定値の変更が可能な状態で電源が投入されたことを把握することができため、遊技店の店員等による設定に関する作業の利便性を高めることができるとともに、不正行為を発見し易くすることができる。また、第四の処理は第三の処理が終了して或る期間が経過した場合に開始されるため、第四の処理が開始されるタイミング(遊技者の利益に関する処理のタイミング)の特定を困難にすることができ、不正行為を未然に防止することが可能となる。 According to the game console according to the invention 1 of the present application, it is possible to grasp that the power is turned on in a state where the set value can be changed, so that the convenience of the work related to the setting by the clerk of the game store can be improved. At the same time, it is possible to make it easier to detect fraudulent activities. Further, since the fourth process is started when a certain period of time has passed after the third process is completed, the timing at which the fourth process is started (the timing of the process related to the player's profit) is specified. It can be difficult and it is possible to prevent fraudulent activities.

また、前記或る報知は、前記第三の処理が終了した後も前記或る期間にわたって継続して実行される場合がある報知であってもよい。 Further, the certain notification may be a notification that may be continuously executed for the certain period even after the completion of the third process.

このような構成とすれば、第三の処理の終了タイミングが特定し難くなるため、第四の処理が開始されるタイミング(遊技者の利益に関する処理のタイミング)の特定をさらに困難にすることができ、不正行為を未然に防止することが可能となる。 With such a configuration, it is difficult to specify the end timing of the third process, so that it is more difficult to specify the timing when the fourth process is started (the timing of the process related to the interest of the player). It is possible to prevent fraudulent activities.

また、前記複数種類の処理のうちの一の処理は、前記第四の処理における前記抽選処理に用いられる乱数値を更新する処理(以下、「第五の処理」という。)例えば、図13に示す主制御部メイン処理の基本乱数初期値更新処理や、図15に示す主制御部タイマ割込み処理の基本乱数初期値更新処理、基本乱数更新処理)であり、前記第五の処理は、前記第三の処理よりも前に開始される処理であってもよい。
なお、上述の通り、本実施形態のパチンコ機100では、特図変動遊技における大当りか否かの決定はハードウェア乱数の抽選によって行い、特別大当りか否かの決定はソフトウェア乱数の抽選によって行うように構成しており、前記抽選処理に用いられる乱数値は、基本乱数初期値更新処理や基本乱数更新処理等で用いられるソフトウェア乱数のみ、または、基本乱数初期値更新処理や基本乱数更新処理等で用いられるハードウェア乱数のみであってもよい。また、前記抽選処理に用いられる乱数値は、ハードウェア乱数とソフトウェア乱数の両方を用いて行われる各種抽選における、ソフトウェア乱数のみでもよいし、ソフトウェア乱数のみを用いて行われる各種抽選における、ソフトウェア乱数のみでもよい。
Further, one of the plurality of types of processes is a process of updating a random number value used in the lottery process in the fourth process (hereinafter, referred to as a "fifth process"), for example, FIG. The basic random number initial value update process of the main control unit main process, the basic random number initial value update process, and the basic random number update process of the main control unit timer interrupt process shown in FIG. 15), and the fifth process is the fifth process. It may be a process started before the third process.
As described above, in the pachinko machine 100 of the present embodiment, whether or not it is a big hit in the special figure variable game is determined by a lottery of hardware random numbers, and whether or not it is a special big hit is determined by a lottery of software random numbers. The random number value used in the lottery process is only the software random number used in the basic random number initial value update process or the basic random number update process, or the basic random number initial value update process or the basic random number update process. It may be only the hardware random number used. Further, the random number value used in the lottery process may be only a software random number in various lottery performed using both a hardware random number and a software random number, or a software random number in various lottery performed using only software random numbers. May be only.

このような構成とすれば、通常遊技において用いられる乱数値の生成タイミングがさらに特定し難くなるため、遊技者の利益に関する処理のタイミングの特定をさらに困難にすることができ、不正行為を未然に防止することが可能となる。 With such a configuration, it becomes more difficult to specify the generation timing of the random number value used in the normal game, so that it is possible to make it more difficult to specify the timing of the processing related to the profit of the player, and the fraudulent activity can be prevented. It becomes possible to prevent.

なお、前記第五の処理は、前記第一の処理よりも前に開始される処理であってもよいし、この場合に、前記第一の処理の実行中にも実行可能であってもよい。 The fifth process may be a process started before the first process, and in this case, the fifth process may be executed even during the execution of the first process. ..

また、前記複数種類の処理のうちの一の処理は、前記或る期間において前記設定値に関する設定情報を含む或るコマンド(例えば、電源投入コマンド)を前記副制御手段に向けて送信する処理(以下、「第六の処理」という。)であり、前記第四の処理は、前記第六の処理が終了して前記或る期間とは別の所定の期間が経過した場合に開始される処理であってもよい。 Further, one of the plurality of types of processes is a process of transmitting a certain command (for example, a power-on command) including setting information regarding the set value to the sub-control means in the certain period (for example). Hereinafter, it is referred to as “sixth process”), and the fourth process is started when a predetermined period different from the certain period has elapsed after the sixth process is completed. It may be.

このような構成とすれば、第四の処理は第六の処理が終了して所定の期間が経過した場合に開始されるため、第四の処理が開始されるタイミング(遊技者の利益に関する処理のタイミング)の特定をさらに困難にすることができ、不正行為を未然に防止することが可能となる。 With such a configuration, since the fourth process is started when the sixth process is completed and a predetermined period has elapsed, the timing when the fourth process is started (process related to the profit of the player). It is possible to make it more difficult to identify the timing) and prevent fraudulent activities.

また、カウンタ(例えば、割込み機能限定カウンタ)を備え、前記主制御手段は、前記カウンタのカウント値を更新可能に構成されており、第一の条件が成立した場合に、前記第三の処理が開始されるように構成され、前記第一の条件は、前記カウント値が第一の特定(例えば、図18や図19に示す第一の特定の値(例えば、1000msに相当する数値の250))の値となった場合に成立可能な条件であり、第二の条件が成立した場合に、前記第二の処理が開始されるように構成され、前記第二の条件は、前記カウント値が前記第一の特定の値となった場合に成立可能な条件であり、第三の条件が成立した場合に、前記第四の処理が開始されるように構成され、前記第三の条件は、前記カウント値が第二の特定の値(例えば、図18や図19に示す第二の特定の値(例えば0))となった場合に成立可能な条件であってもよい。 Further, a counter (for example, an interrupt function limited counter) is provided, and the main control means is configured to be able to update the count value of the counter, and when the first condition is satisfied, the third process is performed. Configured to be initiated, the first condition is that the count value is the first specific value (eg, the first specific value shown in FIGS. 18 and 19 (eg, 250 of a numerical value corresponding to 1000 ms)). ) Is a condition that can be satisfied, and when the second condition is satisfied, the second process is started. The second condition is that the count value is It is a condition that can be satisfied when the first specific value is reached, and is configured so that the fourth process is started when the third condition is satisfied, and the third condition is It may be a condition that can be satisfied when the count value becomes the second specific value (for example, the second specific value (for example, 0) shown in FIGS. 18 and 19).

このような構成とすれば、一つのカウンタで複数種類の処理の開始タイミングや終了タイミングを制御することができるため、制御負担を軽減することができる上に、カウンタのための記憶容量を削減することができ、限られた記憶容量を有効活用することができる。 With such a configuration, one counter can control the start timing and end timing of a plurality of types of processing, so that the control load can be reduced and the storage capacity for the counter can be reduced. It is possible to effectively utilize the limited storage capacity.

また、第四の条件が成立した場合に、前記第六の処理が開始されるように構成され、前記第四の条件は、前記カウント値が第三の特定の値(例えば、図18や図19に示す第三の特定の値(例えば、500msに相当する数値の125))となった場合に成立可能な条件であってもよい。 Further, when the fourth condition is satisfied, the sixth process is started, and in the fourth condition, the count value is a third specific value (for example, FIG. 18 or FIG. It may be a condition that can be satisfied when the third specific value shown in 19 (for example, 125 of a numerical value corresponding to 500 ms) is reached.

このような構成とすれば、一つのカウンタで複数種類の処理の開始タイミングや終了タイミングを制御することができるため、制御負担を軽減することができる上に、カウンタのための記憶容量を削減することができ、限られた記憶容量を有効活用することができる。 With such a configuration, one counter can control the start timing and end timing of a plurality of types of processing, so that the control load can be reduced and the storage capacity for the counter can be reduced. It is possible to effectively utilize the limited storage capacity.

また、開閉自在な扉(例えば、図1に示す前面枠扉106や球貯留皿付扉108)を備え、前記副制御手段は、前記或るコマンドに基づいて前記第六の処理に関する報知(以下、「第一の特定の報知」という。例えば、電源が投入されたことを報知する電源投入報知)を前記報知手段に実行させる制御が実行可能な手段であり、前記副制御手段は、前記扉が開放された状態においては、第一の報知態様で第二の特定の報知(例えば、装飾図柄表示装置208の表示領域に「扉が開いています」という文字列を含む画像を表示する、スピーカ120から「扉が開いています」という音声を出力する等)を前記報知手段に実行させる制御が実行可能な手段であり、前記副制御手段は、前記扉が閉鎖された状態においては、第二の報知態様(第一の報知態様とは異なる報知態様)で前記第二の特定の報知(例えば、装飾図柄表示装置208の表示領域に「扉が閉まりました」という文字列を含む画像を表示する、スピーカ120から「扉が閉まりました」という音声を出力する、装飾図柄表示装置208の表示領域に何も表示しない、スピーカ120から音声を出力しない等)を前記報知手段に実行させる制御が実行可能な手段であり、前記副制御手段は、電源が投入された後に前記第三の処理が実行されない或る状態(例えば、図18に示す初期起動または復帰起動後の或る状態)においては、前記扉が開放された状態から閉鎖された状態に変化した場合に、前記第二の報知態様で前記第二の特定の報知を前記報知手段に実行させ、該扉が閉鎖された状態から開放された状態に変化した場合に、前記第一の報知態様で該第二の特定の報知を前記報知手段に実行させる制御を開始可能な手段であり、前記副制御手段は、前記第三の処理を実行している状態においては、前記扉が開放された状態または該扉が閉鎖された状態のいずれの状態であっても前記第二の特定の報知を前記報知手段に実行させず、該第三の処理を実行した後の或る状態においては、前記扉が開放された状態から閉鎖された状態に変化した場合に、該第一の特定の報知を終了した後、前記第一の報知態様で該第二の特定の報知を前記報知手段に実行させることなく前記第二の報知態様で該第二の特定の報知を前記報知手段に実行させる制御が開始可能な手段であってもよい。 Further, a door that can be opened and closed (for example, a front frame door 106 and a door with a ball storage plate 108 shown in FIG. 1) is provided, and the sub-control means notifies the sixth process based on the certain command (hereinafter, , "First specific notification". For example, the power-on notification for notifying that the power has been turned on) is a means capable of executing the control to execute the notification means, and the sub-control means is the door. In the open state, a speaker that displays an image including the character string "door is open" in the display area of the decorative symbol display device 208 in the first notification mode. It is a means capable of executing control to cause the notification means to execute (such as outputting a voice saying "the door is open" from 120), and the sub-control means is the second when the door is closed. In the notification mode (a notification mode different from the first notification mode), an image including the character string "door closed" is displayed in the display area of the second specific notification (for example, the decorative symbol display device 208). Control to cause the notification means to output a sound "door closed" from the speaker 120, display nothing in the display area of the decorative symbol display device 208, do not output sound from the speaker 120, etc.) It is a viable means, and the sub-control means is in a certain state (for example, a certain state after the initial start-up or the return start-up shown in FIG. 18) in which the third process is not executed after the power is turned on. When the door changes from the opened state to the closed state, the second specific notification is executed by the notification means in the second notification mode, and the door is released from the closed state. It is a means capable of initiating control to cause the notification means to execute the second specific notification in the first notification mode when the state is changed to the above-mentioned state, and the sub-control means is the third processing. In the state in which the above-mentioned second specific notification is executed, the second specific notification is not executed by the notification means regardless of whether the door is open or the door is closed. In a certain state after executing the third process, when the door changes from an open state to a closed state, after the first specific notification is completed, the first notification mode is described. The second specific notification may be a means capable of initiating control to cause the notification means to execute the second specific notification in the second notification mode without causing the notification means to execute the second specific notification.

このような構成とすれば、第三の処理(例えば、設定変更に関する処理)を実行している状態においては扉の開閉状態に関わらず第二の特定の報知を行わないため、操作者を設定変更作業に集中させることが可能な一方で、扉が開放された状態から閉鎖された状態に変化した場合に報知を行うことで、正常な態様で設定変更が行われたことを確認でき、遠くにいる責任者が作業の完了を確認することが容易になる場合がある。また、第一の報知態様で第二の特定の報知を報知手段に実行させることなく第二の報知態様で第二の特定の報知を報知手段に実行させるため、設定変更によって扉が開閉されたことを把握することができ、利便性を高めることができる。また、扉の開閉状態に関わらず第二の特定の報知を行わないため、不正行為者を油断させた上で、扉が開放された状態から閉鎖された状態に変化した場合に報知を行うことで、遊技店の店員等が不正行為に気付くことができ、油断している不正行為者を現場で抑えることができる。 With such a configuration, the operator is set because the second specific notification is not performed regardless of the open / closed state of the door in the state where the third process (for example, the process related to the setting change) is being executed. While it is possible to concentrate on the change work, it is possible to confirm that the setting change has been made in a normal manner by notifying when the door changes from the open state to the closed state, and it is far away. It may be easier for the person in charge at the office to confirm the completion of the work. Further, in order to cause the notification means to execute the second specific notification in the second notification mode without causing the notification means to execute the second specific notification in the first notification mode, the door was opened and closed by changing the setting. It is possible to grasp that and improve convenience. In addition, since the second specific notification is not given regardless of the open / closed state of the door, the notification should be given when the door changes from the open state to the closed state after being alert to the fraudster. Therefore, the clerk of the amusement store can notice the fraudulent activity, and the cheating person who is not careful can be suppressed on the spot.

また、前記第三の処理が終了するまで前記カウンタのカウント値が前記第二の特定の値に到達しないように規制する規制処理(例えば、カウンタのカウント値から或る数値(例えば、1)を減算した後に該或る数値を加算する処理、カウンタのカウント値から或る数値(例えば、1)を加算した後に該或る数値を減算する処理、減算(または加算)後のカウンタのカウント値が第二の特定の値となった場合に減算(または加算)を行って該カウンタのカウント値を第二の特定の値以外の値に更新する処理)を行うように構成してもよい。 Further, a regulation process (for example, a certain numerical value (for example, 1) from the count value of the counter) that regulates the count value of the counter so as not to reach the second specific value until the third process is completed is performed. The process of adding the certain numerical value after subtraction, the process of adding a certain numerical value (for example, 1) from the count value of the counter and then subtracting the certain numerical value, and the count value of the counter after subtraction (or addition) When a second specific value is reached, subtraction (or addition) may be performed to update the count value of the counter to a value other than the second specific value).

このような構成とすれば、一つのカウンタで第三の処理の終了タイミングを制御することができるため、制御負担を軽減することができる上に、カウンタのための記憶容量を削減することができ、限られた記憶容量を有効活用することができる。 With such a configuration, since the end timing of the third process can be controlled by one counter, the control load can be reduced and the storage capacity for the counter can be reduced. , The limited storage capacity can be effectively utilized.

また、前記主制御手段は、或る周期(例えば、4msに1回の周期)で前記カウンタのカウント値から或る値(例えば、1)を減算する減算処理と、該或る周期で前記カウンタのカウント値に該或る値を加算する加算処理と、を実行可能に構成されており、前記主制御手段は、前記第一の処理を開始した場合に、前記減算処理を開始し、前記第三の処理を開始した場合に前記加算処理を開始し、該第三の処理が終了した場合に、該加算処理を終了するように構成してもよい。 Further, the main control means includes a subtraction process of subtracting a certain value (for example, 1) from the count value of the counter in a certain cycle (for example, once every 4 ms), and the counter in the certain cycle. The main control means starts the subtraction process when the first process is started, and the addition process of adding the certain value to the count value of the above. The addition process may be started when the third process is started, and the addition process may be ended when the third process is completed.

また、前記主制御手段は、或る周期(例えば、4msに1回の周期)で前記カウンタのカウント値から或る値(例えば、1)を減算する減算処理と、該或る周期で前記カウンタのカウント値に該或る値を加算する加算処理と、を実行可能に構成されており、前記主制御手段は、前記第一の処理を開始した場合に、前記加算処理を開始し、前記第三の処理を開始した場合に前記減算処理を開始し、該第三の処理が終了した場合に、該減算処理を終了するように構成してもよい。 Further, the main control means includes a subtraction process of subtracting a certain value (for example, 1) from the count value of the counter in a certain cycle (for example, once every 4 ms), and the counter in the certain cycle. The main control means starts the addition process when the first process is started, and the addition process of adding the certain value to the count value of the above. The subtraction process may be started when the third process is started, and the subtraction process may be terminated when the third process is completed.

このような構成とすれば、カウンタのカウント値が第二の特定の値になったか否かを判定し、該当する場合に該カウンタのカウント値の減算(または加算)を行って該カウンタのカウント値を第二の特定の値以外の値に更新する処理等を採用した場合に比べて、プログラムを簡素化し、プログラム容量を削減できる場合があり、限られた記憶容量を有効活用することができる。 With such a configuration, it is determined whether or not the count value of the counter has reached the second specific value, and if applicable, the count value of the counter is subtracted (or added) to count the counter. Compared to the case where the process of updating the value to a value other than the second specific value is adopted, the program may be simplified and the program capacity may be reduced, and the limited storage capacity can be effectively utilized. ..

また、前記主制御手段は、前記遊技台とは別体の遊技管理装置(例えば、ホールコン)に向けて遊技情報を出力可能な遊技情報出力手段(例えば、図17に示す設定管理処理のステップS2103の処理)を備え、前記主制御手段は、前記副制御手段の起動開始に関するコマンドを送信した後に、前記遊技情報を前記遊技管理装置に向けて出力可能な状態(例えば、パチンコ機100がホールコンに接続されている状態)において、該遊技情報出力手段によって該主制御手段の起動開始に関する情報(例えば、復帰起動または初期起動以外の起動(RAMエラー、設定変更、または設定確認による起動)であることを示すセキュリティ信号)を出力するように構成してもよい。 Further, the main control means is a game information output means (for example, a step of the setting management process shown in FIG. 17) capable of outputting game information to a game management device (for example, a hall controller) separate from the game table. (Processing of S2103), the main control means can output the game information to the game management device after transmitting a command relating to the activation start of the sub control means (for example, the pachinko machine 100 has a hole). In the state of being connected to the computer), the game information output means provides information regarding the start start of the main control means (for example, start other than return start or initial start (start by RAM error, setting change, or setting confirmation)). It may be configured to output a security signal indicating that there is.

また、前記副制御手段は、前記第三の処理を実行している状態においては、前記扉が開放された状態または該扉が閉鎖された状態のいずれの状態であっても前記主制御手段の起動開始に関する情報(例えば、復帰起動または初期起動以外の起動(RAMエラー、設定変更、または設定確認による起動)であることを示すセキュリティ信号)を出力しないように構成してもよい。 Further, in the state in which the sub-control means is executing the third process, the sub-control means of the main control means regardless of whether the door is open or the door is closed. It may be configured not to output information about the start-up (for example, a security signal indicating that the start-up is a start-up other than the return start-up or the initial start-up (RAM error, setting change, or start-up by confirming the setting)).

<払出制御部メイン処理>
払出制御部600は、CPU、RAM708、ROM、I/Oポート、および電圧監視回路を備えている。これらCPU、RAM708、ROM、I/Oポートは一のマイクロコンピュータ(払出制御用マイクロコンピュータ)で構成されている。また、この払出制御用マイクロコンピュータは、本明細書における主制御用マイクロコンピュータと一部の機能が同じでもよく、例えば一部の機能(例えば乱数回路)を備えていなくてもよい。払出制御部600が備える電圧監視回路も、主制御部300が備える電圧監視回路と同じく、電源管理部650から払出制御部600に供給している電源の電圧値が所定の値(本実施形態では9.66V)未満である場合に電圧が低下したことを示す低電圧信号を払出制御部600のCPUに出力する。なお、主制御部300の電圧監視回路338から低電圧信号が出力されていても、この払出制御部600の電圧監視回路からは低電圧信号は出力されていないことはある。
<Payout control unit main processing>
The payout control unit 600 includes a CPU, a RAM 708, a ROM, an I / O port, and a voltage monitoring circuit. These CPU, RAM708, ROM, and I / O port are composed of one microcomputer (microcomputer for payout control). Further, the payout control microcomputer may have some functions the same as those of the main control microcomputer described in the present specification, and may not have, for example, some functions (for example, a random number circuit). In the voltage monitoring circuit included in the payout control unit 600, the voltage value of the power supply supplied from the power supply management unit 650 to the payout control unit 600 is a predetermined value (in the present embodiment), similarly to the voltage monitoring circuit included in the main control unit 300. When it is less than 9.66V), a low voltage signal indicating that the voltage has dropped is output to the CPU of the payout control unit 600. Even if the low voltage signal is output from the voltage monitoring circuit 338 of the main control unit 300, the low voltage signal may not be output from the voltage monitoring circuit of the payout control unit 600.

払出制御部600には、主制御部300のCPU304から電源投入情報を含めたコマンドが送信される。このコマンドを受信したことに基づいて、払出制御部600のCPUは、払出制御部メイン処理を開始する。本実施形態では、コマンド受信時に払出制御部割込み処理は行わず、タイマ割込みで払出制御部割込み処理を行うが、シリアル通信回路の設定によって、コマンド受信時に払出制御部割込み処理を行うこともできる。 A command including power-on information is transmitted from the CPU 304 of the main control unit 300 to the payout control unit 600. Based on receiving this command, the CPU of the payout control unit 600 starts the payout control unit main process. In the present embodiment, the payout control unit interrupt process is not performed when the command is received, but the payout control unit interrupt process is performed by the timer interrupt. However, depending on the setting of the serial communication circuit, the payout control unit interrupt process can also be performed when the command is received.

図31を参照して、払出制御部メイン処理について説明する。図31は、払出制御部メイン処理の流れを示すフローチャートである。 The payout control unit main process will be described with reference to FIG. 31. FIG. 31 is a flowchart showing the flow of the payout control unit main process.

まず、ステップS301では、初期設定1を行う。この初期設定1では、払出制御部600のCPUのスタックポインタ(SP)へのスタック初期値の設定等を行う。ステップS302では、払出制御部600の電圧監視回路から低電圧信号が出力されているか否か、すなわち低電圧信号がオンであるか否かを判定する。低電圧信号がオンの場合(電源の遮断を検知した場合)にはステップS302の処理を繰り返し実行し、低電圧信号がオフの場合(電源の遮断を検知していない場合)にはステップS303に進む。 First, in step S301, the initial setting 1 is performed. In this initial setting 1, the stack initial value is set in the stack pointer (SP) of the CPU of the payout control unit 600. In step S302, it is determined whether or not a low voltage signal is output from the voltage monitoring circuit of the payout control unit 600, that is, whether or not the low voltage signal is on. When the low voltage signal is on (when power interruption is detected), the process of step S302 is repeatedly executed, and when the low voltage signal is off (when power interruption is not detected), step S303 is performed. move on.

ステップS303では、初期設定2を行う。この初期設定2では、後述する払出制御部タイマ割り込み処理を定期毎に実行するための周期を決める数値をカウンタ・タイマに設定する処理、払出制御部600のRAM708への書き込みを許可する設定、I/Oポートの初期設定等を行う。 In step S303, the initial setting 2 is performed. In this initial setting 2, a process of setting a numerical value for setting a cycle for executing the payout control unit timer interrupt process described later in the counter timer, a setting of permitting the payout control unit 600 to write to the RAM 708, and I Make initial settings for the / O port.

ステップS304では、電源の遮断前(電断前)の状態に復帰するか否かの判定を行い、電断前の状態に復帰しない場合(パチンコ機100を初期状態にする場合)にはステップS305に進み、電断前の状態に復帰する場合にはステップS306に進む。具体的には、このステップS304でも、主制御部メイン処理のステップS107と同様な処理が行われ、RAMクリアが必要な場合には、パチンコ機100を初期状態にすべくステップS305に進む。一方、RAMクリアが必要でない場合には、払出制御部600のRAM708から電源ステータスの情報を読み出し、電源ステータスの情報が、サスペンドを示す情報でない場合にはパチンコ機100を初期状態にすべくステップS305に進み、サスペンドを示す情報である場合には払出制御部600のRAM708についてチェックサムを実行し、チェックサムの結果が正常である場合には電断前の状態に復帰すべくステップS306に進み、チェックサムの結果が異常である場合には、パチンコ機100を初期状態にすべくステップS305に進む。同様に電源ステータスの情報が「サスペンド」以外の情報を示している場合にもステップS305に進む。 In step S304, it is determined whether or not to return to the state before the power is cut off (before the power is cut off), and if it is not returned to the state before the power is cut off (when the pachinko machine 100 is set to the initial state), step S305 To return to the state before the power failure, the process proceeds to step S306. Specifically, in this step S304, the same processing as in step S107 of the main control unit main processing is performed, and when it is necessary to clear the RAM, the process proceeds to step S305 in order to reset the pachinko machine 100 to the initial state. On the other hand, when it is not necessary to clear the RAM, the power status information is read from the RAM 708 of the payout control unit 600, and when the power status information is not the information indicating suspend, the pachinko machine 100 is set to the initial state in step S305. If the information indicates suspend, a checksum is executed for the RAM 708 of the payout control unit 600, and if the checksum result is normal, the process proceeds to step S306 to return to the state before the power failure. If the checksum result is abnormal, the process proceeds to step S305 to reset the pachinko machine 100 to the initial state. Similarly, if the power status information indicates information other than "suspend", the process proceeds to step S305.

ステップS305では、初期化処理を行う。この初期化処理では、割り込み禁止の設定、スタックポインタへのスタック初期値の設定、払出制御部600のRAM708の所定の領域(例えば、全ての記憶領域)の初期化などを行う。 In step S305, the initialization process is performed. In this initialization process, interrupt prohibition is set, the stack initial value is set in the stack pointer, and a predetermined area (for example, all storage areas) of the RAM 708 of the payout control unit 600 is initialized.

ステップS306では、復電時処理を行う。この復電時処理では、払出制御部600のRAM708の記憶領域のうち、復電時にクリアすべき記憶領域の初期化などを行う。すなわち、本ステップの状態は、第一のタイミング(払出制御部600の電源投入直後の状態)であるので、初期起動等であれば、第一の領域708Aおよび第二の領域708Bをクリアし、復帰起動であれば、第二の領域708Bのみをクリアする(図22参照)。 In step S306, the power recovery process is performed. In this power recovery processing, of the storage area of the RAM 708 of the payout control unit 600, the storage area to be cleared at the time of power recovery is initialized. That is, since the state of this step is the first timing (the state immediately after the power of the payout control unit 600 is turned on), the first area 708A and the second area 708B are cleared for initial startup or the like. If it is a return start, only the second area 708B is cleared (see FIG. 22).

ステップS307では、初期設定3を行う。この初期設定3では、払出制御部600のRAM708に設けたエラー情報の一部をクリアしたり、割り込み許可の設定などを行う。 In step S307, the initial setting 3 is performed. In this initial setting 3, a part of the error information provided in the RAM 708 of the payout control unit 600 is cleared, interrupt permission is set, and the like.

ステップS308では、主制御部300から入力したデータの中に未解析データがあるか無いかを判定する。ここでは、RAM708の設定ポインタで参照する値と解析ポインタで参照する値とを比較する処理を行って判定するが、これについては後述する。判定の結果、未解析データがある場合にはステップS309でコマンド解析処理を行い、未解析データがない場合にはステップS310に進む。 In step S308, it is determined whether or not there is unanalyzed data in the data input from the main control unit 300. Here, a process of comparing the value referred to by the setting pointer of the RAM 708 and the value referred to by the analysis pointer is performed for determination, which will be described later. As a result of the determination, if there is unanalyzed data, the command analysis process is performed in step S309, and if there is no unanalyzed data, the process proceeds to step S310.

ステップS310では、未送信コマンドの有無を判定し、未送信コマンドがある場合はステップS311に進み、未送信コマンドが無い場合は、ステップS312に進む。 In step S310, it is determined whether or not there is an untransmitted command, and if there is an untransmitted command, the process proceeds to step S311. If there is no untransmitted command, the process proceeds to step S312.

ステップS311では、未送信コマンドを払出制御部側マイクロコンピュータ770の送信データレジスタ776に設定し、送信コマンドとして出力する。 In step S311, the untransmitted command is set in the transmission data register 776 of the microprocessor 770 on the payout control unit side, and is output as a transmission command.

ステップS312では、ステップS302と同じく、低電圧信号がオフであるか否かを監視し、低電圧信号がオフの場合(電源の遮断を検知していない場合)にはステップS308に戻り、低電圧信号がオンの場合(電源の遮断を検知した場合)にはステップS313に進む。 In step S312, as in step S302, it monitors whether or not the low voltage signal is off, and if the low voltage signal is off (when the power interruption is not detected), the process returns to step S308 and the low voltage is returned. If the signal is on (when the power cutoff is detected), the process proceeds to step S313.

ステップS313では、電断時処理を行う。この電断時処理では、払出制御部600のRAM708に設けたスタックポインタ退避領域に現在のスタックポインタの値を記憶し、上述の電源ステータス記憶領域にサスペンドを示す情報を設定する。また、払出制御部600のRAM708の所定の領域(例えば全ての領域)に記憶している1バイトデータを初期値が0である1バイト構成のレジスタに全て加算し、チェックサム算出用数値記憶領域に記憶している値からその加算した結果を減算した値をチェックサム(電断時チェックサム)として算出し、算出した電断時チェックサムを上述のチェックサム算出用数値記憶領域に記憶し、払出制御部600のRAM708への書き込みを禁止する設定などを行う。また、払出制御部600のRAM708の第一の領域708Aのみ、格納されている情報のバックアップを行う。 In step S313, the power failure processing is performed. In this power failure processing, the current stack pointer value is stored in the stack pointer save area provided in the RAM 708 of the payout control unit 600, and information indicating suspend is set in the power supply status storage area described above. Further, all the 1-byte data stored in a predetermined area (for example, all areas) of the RAM 708 of the payout control unit 600 is added to a register having a 1-byte structure having an initial value of 0, and a numerical storage area for checksum calculation is added. The value obtained by subtracting the addition result from the value stored in is calculated as a checksum (checksum at the time of power failure), and the calculated checksum at the time of power failure is stored in the above-mentioned numerical storage area for checksum calculation. Settings such as prohibiting writing to the RAM 708 of the payout control unit 600 are made. Further, only the first area 708A of the RAM 708 of the payout control unit 600 backs up the stored information.

その後のステップS314では、ステップS302と同じく低電圧信号がオフであるか否かを監視する処理を行い、低電圧信号がオフの場合(電源の遮断を検知していない場合)には払出制御部メイン処理の先頭(ステップS301)に戻り、低電圧信号がオンの場合は、ステップS314を繰り返し実行する。 In step S314 after that, the process of monitoring whether or not the low voltage signal is off is performed as in step S302, and when the low voltage signal is off (when power interruption is not detected), the payout control unit is used. Returning to the beginning of the main process (step S301), if the low voltage signal is on, step S314 is repeatedly executed.

<払出制御部割込み処理>
次に、図32を参照して、払出制御部600が実行する払出制御部割込み処理について説明する。同図は、払出制御部割込み処理の流れを示したフローチャートである。払出制御部600は、所定の周期(本実施形態では2msに1回)でタイマ割り込みを発生するカウンタ・タイマを備えており、このタイマ割り込みを契機として払出制御部タイマ割り込み処理を所定の周期で開始する。
<Payout control unit interrupt processing>
Next, with reference to FIG. 32, the payout control unit interrupt process executed by the payout control unit 600 will be described. The figure is a flowchart showing the flow of the payout control unit interrupt processing. The payout control unit 600 includes a counter timer that generates a timer interrupt at a predetermined cycle (once every 2 ms in this embodiment), and the payout control unit timer interrupt process is performed at a predetermined cycle triggered by this timer interrupt. Start.

ステップS401では、レジスタ値を退避し、ステップS402では、割り込みフラグをクリアし、ステップS403では、WDTクリアおよびリスタートを行う。また、ステップS404では、受信コマンドの処理を行う。この処理では、主制御部300からのコマンド受信(例えば、賞球コマンドの受信など)の有無を判定し、受信している場合は、受信したコマンドデータを受信コマンドバッファエリアに設定する。 In step S401, the register value is saved, in step S402, the interrupt flag is cleared, and in step S403, the WDT is cleared and restarted. Further, in step S404, the reception command is processed. In this process, it is determined whether or not a command is received from the main control unit 300 (for example, reception of a prize ball command), and if it is received, the received command data is set in the reception command buffer area.

ステップS405では、主制御通信確認コマンドを受信済みか否かを判定する。受信済みの場合は、ステップS406に進み、そうでない場合はステップS414に進む。上述のとおり、主制御部300は払出制御部600から電源の供給を受けているため、その起動が払出制御部600より遅れる。このため、本ステップでは主制御部300が起動するまで、これ以降のステップS406〜ステップS413の処理を待機するために判定処理を行う。 In step S405, it is determined whether or not the main control communication confirmation command has been received. If it has been received, the process proceeds to step S406, and if not, the process proceeds to step S414. As described above, since the main control unit 300 receives the power supply from the payout control unit 600, its activation is delayed from that of the payout control unit 600. Therefore, in this step, a determination process is performed in order to wait for the subsequent processes of steps S406 to S413 until the main control unit 300 is activated.

ステップS406では、ポート入力処理を行う。このポート入力処理では、I/Oポートの値を取得して、各種センサの状態などを検出する。具体的には、カードユニット608からインターフェース部606を介して入力する各種信号の状態、払出センサ604から入力する球払出信号、下皿センサから入力する信号、エラー解除スイッチから入力する信号の状態などを取得して、RAMに設けた入力信号情報記憶領域に記憶する。 In step S406, port input processing is performed. In this port input process, the value of the I / O port is acquired to detect the status of various sensors. Specifically, the state of various signals input from the card unit 608 via the interface unit 606, the state of the ball payout signal input from the payout sensor 604, the state of the signal input from the lower plate sensor, the state of the signal input from the error release switch, etc. Is acquired and stored in the input signal information storage area provided in the RAM.

ステップS407では、タイマ更新処理を行う。このタイマ更新処理では、主制御通信監視タイマや、RAMに設けた貸出要求待ちタイマおよび貸出指示待ちタイマや、払出報知用LEDの点灯/消灯時間、モータ駆動/非駆動時間などを計時するためのタイマなどを含む各種タイマを更新する。 In step S407, the timer update process is performed. In this timer update process, the main control communication monitoring timer, the lending request waiting timer and the lending instruction waiting timer provided in the RAM, the on / off time of the payout notification LED, the motor drive / non-drive time, etc. are measured. Update various timers including timers.

ステップS408では、エラー管理処理を行う。このエラー管理処理では、主制御部300との通信に異常があるか否かを監視するとともに、各種エラーが発生しているか否かを判定し、RAMに設けたエラーステータス記憶領域にエラーに関する情報を記憶する。 In step S408, error management processing is performed. In this error management process, it is monitored whether or not there is an abnormality in communication with the main control unit 300, it is determined whether or not various errors have occurred, and information about the error is stored in the error status storage area provided in the RAM. Remember.

ステップS409では、CRユニット通信処理を行う。このCRユニット通信処理では、カードユニット608からインターフェース部606を介して入力する各種信号の状態に基づいて、カードユニット608との通信を行う。例えば、カードユニット608から遊技球の貸出要求信号を受けた場合に、後述する貸出用払出数記憶部の払出数情報に貸出要求信号に含まれる貸出要求数を加算する。 In step S409, CR unit communication processing is performed. In this CR unit communication process, communication with the card unit 608 is performed based on the states of various signals input from the card unit 608 via the interface unit 606. For example, when a game ball lending request signal is received from the card unit 608, the number of lending requests included in the lending request signal is added to the payout number information of the lending number storage unit, which will be described later.

ステップS410では、払出管理処理を行う。この払出管理処理では、払出装置552の制御などを行う。ステップS411では、信号出力処理を行う。この信号出力処理では、外部端子板(不図示)から外部に出力する信号の制御を行う。 In step S410, the payout management process is performed. In this payout management process, the payout device 552 is controlled. In step S411, signal output processing is performed. In this signal output processing, the signal to be output to the outside from the external terminal board (not shown) is controlled.

ステップS412では、送信コマンド設定処理を行う。この送信コマンド設定処理では、払出制御部600から主制御部300に送信する各種コマンドを設定する処理を行う。この各種コマンドには、エラーに関するコマンドも含まれる。本明細書において「エラー」とは、払出個数スイッチエラー、不正払出エラー、払出超過エラー、下皿満タンエラー、払出しエラー、主制御通信エラー、扉開放エラーなど、本明細書において「エラー」と表記したものをすべて含む。また、ステップS413ではポート出力処理を行う。このポート出力処理では、例えば、パチンコ機100がエラー状態になった場合に、エラーが発生していることを遊技者に報知するためのLED(例えば、パチンコ機100の上部に配設されたLED)を点灯させるとともに、エラーが解消した場合には、そのLEDを消灯させる。例えば、RAM708に設けた払出超過エラーフラグがセットされている場合には、払出超過エラーが発生していることを遊技者に報知するためのLEDを点灯させるとともに、払出超過エラーフラグがクリアされた場合には、そのLEDを消灯させる。また、RAM708に設けた下皿満タンエラーフラグがセットされている場合には、下皿満タンエラーが発生していることを遊技者に報知するためのLEDを点灯させるとともに、下皿満タンエラーフラグがクリアされた場合には、そのLEDを消灯させる。 In step S412, the transmission command setting process is performed. In this transmission command setting process, various commands to be transmitted from the payout control unit 600 to the main control unit 300 are set. These various commands also include commands related to errors. In this specification, "error" is referred to as "error" in this specification such as payout quantity switch error, illegal payout error, payout excess error, lower plate full tank error, payout error, main control communication error, door open error, etc. Includes everything you have done. Further, in step S413, port output processing is performed. In this port output process, for example, when the pachinko machine 100 is in an error state, an LED for notifying the player that an error has occurred (for example, an LED arranged on the upper part of the pachinko machine 100). ) Is turned on, and when the error is resolved, the LED is turned off. For example, when the overpayment error flag provided in the RAM 708 is set, the LED for notifying the player that an overpayment error has occurred is turned on, and the overpayment error flag is cleared. If so, the LED is turned off. Further, when the lower plate full tank error flag provided in the RAM 708 is set, the LED for notifying the player that the lower plate full tank error has occurred is turned on, and the lower plate full tank error is turned on. When the flag is cleared, the LED is turned off.

ステップS414ではレジスタ値を復帰し、ステップS415では、割り込み許可設定を行った後に処理を終了する。 In step S414, the register value is restored, and in step S415, the process ends after the interrupt enable setting is set.

このように、本実施形態では、受信コマンドをRAM708(バッファ)に格納する処理は、払出制御部割込み処理の受信コマンド処理(ステップS404)で行い、コマンドを解析する処理は、払出制御部メイン処理のコマンド解析処理(ステップS309)で行う。 As described above, in the present embodiment, the process of storing the received command in the RAM 708 (buffer) is performed by the receive command process (step S404) of the payout control unit interrupt process, and the process of analyzing the command is the payout control unit main process. This is performed in the command analysis process (step S309) of.

<受信コマンド処理(実施例A,実施例B)>
図33は、図31に示した払出制御部割込み処理の受信コマンド処理(ステップS404)の詳細について説明する図であり、図33(a)は、受信コマンド処理の一例(実施例A)を示すフローチャートであり、図33(b)は受信コマンド処理の他の例(実施例B)を示すフローチャートである。
<Receive command processing (Example A, Example B)>
FIG. 33 is a diagram for explaining the details of the receive command process (step S404) of the payout control unit interrupt process shown in FIG. 31, and FIG. 33 (a) shows an example (Example A) of the receive command process. It is a flowchart, and FIG. 33B is a flowchart showing another example (Example B) of receiving command processing.

同図(a)を参照して、実施例Aの受信コマンド処理では、まずステップS501において、払出制御部用マイクロコンピュータ770のステータスレジスタ772の特定ビット(受信データフルフラグ)を参照し、主制御部400からコマンドの受信の有無を判定する。受信データフルフラグは、受信データレジスタ774にデータがある場合にセットされる。払出制御部用マイクロコンピュータ770の受信データレジスタで主制御部400から送信されたコマンドを受信した場合、当該受信コマンドがAレジスタ722に格納される。Aレジスタ722に受信したコマンドがある場合は、ステップS502に進み、そうでない場合は、処理を終了する。 In the reception command processing of the embodiment A with reference to FIG. 3A, first, in step S501, the specific bit (reception data full flag) of the status register 772 of the microcomputer 770 for the payout control unit is referred to, and the main control is performed. It is determined from unit 400 whether or not a command has been received. The received data full flag is set when there is data in the received data register 774. When a command transmitted from the main control unit 400 is received by the reception data register of the microcomputer 770 for the payout control unit, the reception command is stored in the A register 722. If there is a command received in the A register 722, the process proceeds to step S502, and if not, the process ends.

ステップS502では、ポインタ(後述)を用いてAレジスタ722の受信コマンドをRAM708のバッファ(第二の領域708Bに設けられた受信コマンドバッファエリア)に格納する。 In step S502, the receive command of the A register 722 is stored in the buffer of the RAM 708 (the receive command buffer area provided in the second area 708B) by using the pointer (described later).

実施例Aでは、受信したコマンドがある場合は、常に当該受信コマンドを受信コマンドバッファエリアに格納する。本来受け付けるべきでないコマンド(不正なコマンド)は、払出制御部メイン処理のコマンド解析処理(ステップS309)において、排除する。 In the A embodiment, when there is a received command, the received command is always stored in the received command buffer area. Commands that should not be accepted (illegal commands) are excluded in the command analysis process (step S309) of the payout control unit main process.

また、同図(b)を参照して、実施例Bの受信コマンド処理では、まずステップS601において、払出制御部用マイクロコンピュータ770の受信データレジスタを参照し、主制御部400からコマンドの受信の有無を判定する。受信したコマンドがある場合は、ステップS602に進み、そうでない場合は、処理を終了する。 Further, referring to FIG. 3B, in the reception command processing of the second embodiment, first, in step S601, the reception data register of the microcomputer 770 for the payout control unit is referred to, and the command is received from the main control unit 400. Determine the presence or absence. If there is a received command, the process proceeds to step S602, and if not, the process ends.

ステップS602では、主制御部300からの主制御通信確認コマンドの受信の有無を判定する。主制御通信確認コマンドを受信している場合には、ステップS604に進み、そうでない場合はステップS603に進む。 In step S602, it is determined whether or not the main control communication confirmation command has been received from the main control unit 300. If the main control communication confirmation command has been received, the process proceeds to step S604, and if not, the process proceeds to step S603.

ステップS603では、賞球コマンド受付許可フラグがオンであるか否かを確認する。オンの場合は、ステップS604に進み、そうでない場合は処理を終了する。賞球コマンド受付許可フラグについては後述(図38)する。 In step S603, it is confirmed whether or not the prize ball command acceptance permission flag is on. If it is on, the process proceeds to step S604, and if not, the process ends. The prize ball command acceptance permission flag will be described later (FIG. 38).

ステップS604では、受信コマンドをRAM708のバッファ(第二の領域708Bに設けられた受信コマンドバッファエリア)に格納する。 In step S604, the receive command is stored in the buffer of the RAM 708 (the receive command buffer area provided in the second area 708B).

実施例Bでは、主制御通信確認コマンド以外のコマンドについては、賞球コマンド受付許可フラグがオンであれば、バッファ(第二の領域708Bに設けられた受信コマンドバッファエリア)に格納する。より詳細には、払出制御部用マイクロコンピュータ770のシリアル通信関連レジスタである受信データレジスタ774のデータを、CUPコアレジスタ720の例えば、Aレジスタ722等に格納し、その後、第二の領域708Bに設けられた受信コマンドバッファエリアに格納する。あるいは、払出制御部用マイクロコンピュータ770の受信データレジスタ774のデータを直接、受信コマンドバッファエリアに格納する。 In the B embodiment, if the prize ball command acceptance permission flag is on, the commands other than the main control communication confirmation command are stored in the buffer (the reception command buffer area provided in the second area 708B). More specifically, the data of the reception data register 774, which is a serial communication-related register of the payout control unit microcomputer 770, is stored in the CUP core register 720, for example, the A register 722, and then in the second area 708B. Store in the provided receive command buffer area. Alternatively, the data in the reception data register 774 of the microcomputer 770 for the payout control unit is directly stored in the reception command buffer area.

つまりこの場合も、本来受け付けるべきでないコマンド(不正なコマンド)は、払出制御部メイン処理のコマンド解析処理(ステップS309)において、排除する。なお、ステップS1603の判定処理の前に、受信したコマンドが賞球コマンドであるか否か、を判定する処理を行ってもよい。これにより、本来受信すべきでないコマンド(例えば、主制御通信確認コマンドや賞球コマンド以外のコマンド)を受信した場合に、当該判定処理で排除することができる。 That is, also in this case, the command that should not be accepted (illegal command) is excluded in the command analysis process (step S309) of the payout control unit main process. Before the determination process in step S1603, a process for determining whether or not the received command is a prize ball command may be performed. As a result, when a command that should not be originally received (for example, a command other than the main control communication confirmation command or the prize ball command) is received, it can be excluded by the determination process.

<コマンド解析処理>
図34および図35を参照して、図31の払出制御部メイン処理のコマンド解析処理(ステップS309)について説明する。図34は、コマンド解析処理(実施例C)の処理の流れを示すフローチャートであり、図35は、他のコマンド解析処理(実施例D)の処理の流れを示すフローチャートである。例えば、図31に示す払出制御部メイン処理のコマンド解析処理(ステップS309)として、図34に示す処理(実施例C)を行う場合は、図32に示す払出制御部割込み処理の受信コマンド処理(ステップS404)で図33(a)の処理(実施例A)を行う。また、図31に示す払出制御部メイン処理のコマンド解析処理(ステップS309)として、図35に示す処理(実施例D)を行う場合は、図32に示す払出制御割込み処理の受信コマンド処理(ステップS404)で図33(b)の処理(実施例B)を行う。あるいは、実施例Aの受信コマンド処理と、実施例Cあるいは実施例Dのコマンド解析処理のいずれかを組み合わせる処理としてもよい。また、これに限らず、実施例A,Bの受信コマンド処理と、実施例C,Dのコマンド解析処理は、制御に不具合が無い限り、適宜組み合わせることが可能である。
<Command analysis processing>
The command analysis process (step S309) of the payout control unit main process of FIG. 31 will be described with reference to FIGS. 34 and 35. FIG. 34 is a flowchart showing the process flow of the command analysis process (Example C), and FIG. 35 is a flowchart showing the process flow of another command analysis process (Example D). For example, when the process shown in FIG. 34 (Example C) is performed as the command analysis process (step S309) of the payout control unit main process shown in FIG. 31, the receive command process of the payout control unit interrupt process shown in FIG. 32 (step S309). In step S404), the process of FIG. 33 (a) (Example A) is performed. Further, when the process shown in FIG. 35 (Example D) is performed as the command analysis process (step S309) of the payout control unit main process shown in FIG. 31, the receive command process (step) of the payout control interrupt process shown in FIG. 32 is performed. In S404), the process of FIG. 33 (b) (Example B) is performed. Alternatively, the process may be a combination of the received command process of Example A and the command analysis process of Example C or Example D. Further, not limited to this, the received command processing of Examples A and B and the command analysis processing of Examples C and D can be appropriately combined as long as there is no problem in control.

図34を参照して、実施例Cのコマンド解析処理について説明する。ステップS701では、RAM708の受信コマンドバッファエリアに格納されている受信コマンドを取得する。ステップS702では、取得した受信コマンドを解析する処理を行う。この処理の詳細については、図43以降の図を参照して後述する。 The command analysis process of Example C will be described with reference to FIG. 34. In step S701, the receive command stored in the receive command buffer area of the RAM 708 is acquired. In step S702, a process of analyzing the acquired received command is performed. The details of this process will be described later with reference to the figures in FIGS. 43 and 43 onward.

ステップS703では、主制御部300からの主制御通信確認コマンドを受信しているか否かを判定する。この主制御通信確認コマンドは、主制御部300のシリアルコマンド送信処理によって払出制御部600に送信されるものである。主制御通信確認コマンドを受信している場合は、ステップS706に進み、そうでない場合はステップS704に進む。 In step S703, it is determined whether or not the main control communication confirmation command from the main control unit 300 has been received. This main control communication confirmation command is transmitted to the payout control unit 600 by the serial command transmission process of the main control unit 300. If the main control communication confirmation command has been received, the process proceeds to step S706, and if not, the process proceeds to step S704.

ステップS704では、主制御通信確認コマンド受信処理を行う。主制御通信確認コマンド受信処理については後述する。ステップS705では、受信コマンドが賞球コマンドであるか否かを判定する。受信コマンドが賞球コマンドである場合は、ステップS706に進み、そうでない場合は、処理を終了する。本ステップにおいて、受信コマンドが、主制御通信確認コマンドおよび賞球コマンドのいずれでもない場合には、受信コマンドに対する処理を行わずにコマンド解析処理を終了することになる。 In step S704, the main control communication confirmation command reception process is performed. The main control communication confirmation command reception process will be described later. In step S705, it is determined whether or not the received command is a prize ball command. If the receiving command is a prize ball command, the process proceeds to step S706, and if not, the process ends. In this step, if the received command is neither the main control communication confirmation command nor the prize ball command, the command analysis process is terminated without processing the received command.

ステップS706では、賞球コマンド受付許可フラグがオンであるか否かを判定し、オンの場合は、ステップS707に進み、そうでない場合は処理を終了する。ステップS707では、賞球コマンド受信時処理を行う。賞球コマンド受信時処理については、後述する。 In step S706, it is determined whether or not the prize ball command acceptance permission flag is on. If it is on, the process proceeds to step S707, and if not, the process ends. In step S707, processing at the time of receiving the prize ball command is performed. The processing at the time of receiving the prize ball command will be described later.

図35を参照して、実施例Dのコマンド解析処理について説明する。ステップS801では、RAM708の受信コマンドバッファエリアに格納されている受信コマンドを取得する。 The command analysis process of the D embodiment will be described with reference to FIG. 35. In step S801, the receive command stored in the receive command buffer area of the RAM 708 is acquired.

ステップS802では、取得した受信コマンドを解析する処理を行う。この処理の詳細については、図43以降の図を参照して後述する。ステップS803では、主制御部300からの主制御通信確認コマンドを受信しているか否かを判定する。この主制御通信確認コマンドは、図13に示した主制御部300のシリアルコマンド送信処理によって払出制御部600に送信されるものである。主制御通信確認コマンドを受信している場合は、ステップS805に進み、そうでない場合はステップS804に進む。 In step S802, a process of analyzing the acquired received command is performed. The details of this process will be described later with reference to the figures in FIGS. 43 and 43 onward. In step S803, it is determined whether or not the main control communication confirmation command from the main control unit 300 has been received. This main control communication confirmation command is transmitted to the payout control unit 600 by the serial command transmission process of the main control unit 300 shown in FIG. If the main control communication confirmation command has been received, the process proceeds to step S805, and if not, the process proceeds to step S804.

ステップS804では、受信コマンドが賞球コマンドであるか否かを判定する。受信コマンドが賞球コマンドである場合は、ステップS806に進み、そうでない場合は、処理を終了する。ステップS806では、賞球コマンド受信時処理を行う。賞球コマンド受信時処理については、後述する。 In step S804, it is determined whether or not the received command is a prize ball command. If the receiving command is a prize ball command, the process proceeds to step S806, and if not, the process ends. In step S806, the process at the time of receiving the prize ball command is performed. The processing at the time of receiving the prize ball command will be described later.

なお、賞球コマンド受付許可フラグを判定する処理(図33(b)のステップS603、図34のステップS706)は、受信コマンド処理とコマンド解析処理の両方で行ってもよい。例えば、実施例A(図33(a))の受信コマンド処理で賞球コマンド受付許可フラグを判定する処理を行ってもよく、実施例D(図35)のコマンド解析処理で賞球コマンド受付許可フラグを判定する処理を行ってもよい。 The process of determining the prize ball command acceptance permission flag (step S603 in FIG. 33B, step S706 in FIG. 34) may be performed in both the received command process and the command analysis process. For example, the process of determining the prize ball command acceptance permission flag may be performed in the reception command process of Example A (FIG. 33 (a)), and the prize ball command acceptance permission may be performed in the command analysis process of Example D (FIG. 35). The process of determining the flag may be performed.

<主制御通信確認コマンド受信時処理(実施例E)>
次に、図36(a)を用いて、上記コマンド解析処理における主制御通信確認コマンド受信時処理(ステップS704、S805)について説明する。なお、同図(a)は、主制御通信確認コマンド受信時処理の流れを示すフローチャートである。
<Processing at the time of receiving the main control communication confirmation command (Example E)>
Next, the main control communication confirmation command reception processing (steps S704 and S805) in the command analysis processing will be described with reference to FIG. 36A. Note that FIG. 3A is a flowchart showing the flow of processing when the main control communication confirmation command is received.

ステップS901では、受信した主制御通信確認コマンドが、払出制御部500の起動後に最初に受信した主制御通信確認コマンドであるか否かを判定し、該当する場合にはステップS902に進み、該当しない場合にはステップS904に進む。最初に受信した主制御通信確認コマンドであるか否かは、RAM708に設けた主制御通信確認コマンド受信済みフラグがオフであるか否かを判定し、主制御通信確認コマンド受信済みフラグがオフの場合は、ステップS902に進む。 In step S901, it is determined whether or not the received main control communication confirmation command is the first main control communication confirmation command received after the payout control unit 500 is activated, and if applicable, the process proceeds to step S902, which is not applicable. In the case, the process proceeds to step S904. Whether or not it is the first received main control communication confirmation command is determined by determining whether or not the main control communication confirmation command received flag provided in the RAM 708 is off, and the main control communication confirmation command received flag is off. If so, the process proceeds to step S902.

ステップS902では、主制御通信確認コマンド受信済みフラグをオンに設定した後に、ステップS903に進んで起動処理(詳細は後述)を実行する。ステップS904では、主制御通信監視タイマに初期値(この例では、500)を設定し、次のステップS905では、主制御通信エラーフラグをオフに設定する。また、ステップS906では、通信確認コマンド受信フラグをオンに設定した後に処理を終了する。 In step S902, after setting the main control communication confirmation command received flag to on, the process proceeds to step S903 to execute the activation process (details will be described later). In step S904, the initial value (500 in this example) is set in the main control communication monitoring timer, and in the next step S905, the main control communication error flag is set to off. Further, in step S906, the process ends after the communication confirmation command reception flag is set to on.

<起動処理>
次に、図36(b)を用いて、上記主制御通信確認コマンド受信時処理における起動処理(ステップS903)について説明する。なお、同図(b)は、起動処理の流れを示すフローチャートである。
<Startup process>
Next, the activation process (step S903) in the process at the time of receiving the main control communication confirmation command will be described with reference to FIG. 36 (b). Note that FIG. 3B is a flowchart showing the flow of startup processing.

ステップS1001では、受信した主制御通信確認コマンドが初期起動であるか否かを判定し、該当する場合にはステップS1002に進み、該当しない場合には処理を終了する。本ステップの判定は、主制御部300から払出制御部600に送信される主制御通信確認コマンドの値(初期起動時は10H、復帰起動時は11H)の下位4ビットの値を参照して判定する。つまり、主制御通信確認コマンドの値が10Hの場合にはステップS1002に進み、主制御通信確認コマンドの値が11Hの場合などには処理を終了する。ここで、一度、主制御通信確認コマンドの値が10Hであることを判定した場合、それ以降、次に初期起動になるまではは復帰起動時となるため(常に、主制御通信確認コマンドの値は11Hとなるため)、次回以後に、主制御通信確認コマンドを受信した場合であっても下位4ビットの値を参照することはない。なお、主制御部300側で11Hを送信した後は、10Hを送信するようにしてもよい。 In step S1001, it is determined whether or not the received main control communication confirmation command is the initial activation, and if applicable, the process proceeds to step S1002, and if not applicable, the process ends. The determination in this step is made by referring to the value of the lower 4 bits of the value of the main control communication confirmation command (10H at the initial start-up, 11H at the return start-up) transmitted from the main control unit 300 to the payout control unit 600. do. That is, when the value of the main control communication confirmation command is 10H, the process proceeds to step S1002, and when the value of the main control communication confirmation command is 11H, the process ends. Here, once it is determined that the value of the main control communication confirmation command is 10H, the value of the main control communication confirmation command will always be the value of the main control communication confirmation command until the next initial startup. Is 11H), so even if the main control communication confirmation command is received after the next time, the value of the lower 4 bits will not be referred to. After transmitting 11H on the main control unit 300 side, 10H may be transmitted.

ステップS1002では、払出制御部600が復帰起動(電断前の状態に復帰する起動)であるか否かを判定し、該当する場合にはステップS1003に進み、該当しない場合には処理を終了する。 In step S1002, the payout control unit 600 determines whether or not the payout control unit 600 is a return start (start to return to the state before the power failure), proceeds to step S1003 if applicable, and ends the process if not applicable. ..

ステップS1003では、払出制御部割込み処理を起動するタイマ割込みを含むすべての割込み禁止し、その後のステップS1004ではRAM708の一部を初期化する。ここで初期化される領域は、主制御部300が初期起動(ステップS1001)、かつ、払出制御部600が復帰起動(ステップS1002)であって、第二のタイミング(主制御通信確認コマンド受信時処理)であるので、RAM708の第一の領域708Aのみが初期化される。 In step S1003, all interrupts including the timer interrupt that activates the payout control unit interrupt processing are disabled, and in the subsequent step S1004, a part of the RAM 708 is initialized. The area initialized here is the initial activation of the main control unit 300 (step S1001) and the return activation of the payout control unit 600 (step S1002), and the second timing (when the main control communication confirmation command is received). Therefore, only the first region 708A of the RAM 708 is initialized.

ステップS1004に続く、ステップS1005では、払出制御部割込み処理を起動するタイマ割込みを含むすべての割込みを許可し、処理を終了する。 In step S1005 following step S1004, all interrupts including the timer interrupt that activates the payout control unit interrupt processing are permitted, and the processing is terminated.

<賞球コマンド受信時処理(実施例F,実施例G)>
図37を参照して、賞球コマンド受信時処理(図34のステップS707または図35のステップS806)について説明する。図37(a)は、図34のステップS707の賞球コマンド受信時処理(実施例F)の流れを示すフローチャートであり、図37(b)は図35のステップS806)の賞球コマンド受信時処理(実施例G)の流れを示すフローチャートである。
<Processing when receiving a prize ball command (Example F, Example G)>
The processing at the time of receiving the prize ball command (step S707 of FIG. 34 or step S806 of FIG. 35) will be described with reference to FIG. 37. 37 (a) is a flowchart showing the flow of the prize ball command reception processing (Example F) of step S707 of FIG. 34, and FIG. 37 (b) is the time of receiving the prize ball command of step S806 of FIG. 35. It is a flowchart which shows the flow of the process (Example G).

図37(a)を参照して実施例Fの賞球コマンド受信時処理について説明する。まず、ステップS1101では、払出制御部割込み処理を起動するタイマ割込みを含むすべての割込みを禁止する。 The processing at the time of receiving the prize ball command of Example F will be described with reference to FIG. 37 (a). First, in step S1101, all interrupts including the timer interrupt that activates the payout control unit interrupt process are prohibited.

次のステップS1102では、解析データに基づいて賞球数を次賞球数エリアに加算する。本実施形態では、主制御部300から受信した賞球コマンドに含まれている賞球数(払出要求数)を、払出制御部600のRAM708に設けた次賞球数エリアに次賞球要求数として加算・記憶しておき、所定の期間の終了後に、その次賞球要求数分の賞球を連続的に払い出す。このため、本ステップにおいて、RAM408に設けた賞球数記憶領域に未解析データとして記憶した賞球数(払出要求数)を、次賞球数エリアに記憶されている次賞球要求数に加算する。なお、本実施形態の賞球コマンドの値は、23H(3球払出指示)、2AH(10球払出指示)、2FH(15球払出指示)であるので、本ステップにおいて賞球コマンドの下位4ビットを参照して、3H,AH,FH以外のコマンドの場合は、加算しない(排除する)ようにしてもよい。 In the next step S1102, the number of prize balls is added to the next prize ball number area based on the analysis data. In the present embodiment, the number of prize balls (number of payout requests) included in the prize ball command received from the main control unit 300 is displayed in the next prize ball number area provided in the RAM 708 of the payout control unit 600. After the end of the predetermined period, the prize balls for the number of the next prize balls requested are continuously paid out. Therefore, in this step, the number of prize balls (the number of payout requests) stored as unanalyzed data in the prize ball number storage area provided in the RAM 408 is added to the number of next prize ball requests stored in the next prize ball number area. do. Since the value of the prize ball command of this embodiment is 23H (3 ball payout instruction), 2AH (10 ball payout instruction), and 2FH (15 ball payout instruction), the lower 4 bits of the prize ball command in this step. In the case of commands other than 3H, AH, and FH, the command may not be added (excluded).

次のステップS1103では、払出制御部割込み処理を起動するタイマ割込みを含むすべての割込みを許可して、処理を終了する。 In the next step S1103, all interrupts including the timer interrupt that activates the payout control unit interrupt process are permitted, and the process ends.

図37(b)を参照して実施例Gの賞球コマンド受信時処理について説明する。まず、ステップS1201では、払出制御部割込み処理を起動するタイマ割込みを含むすべての割込みを禁止する。 The processing at the time of receiving the prize ball command of Example G will be described with reference to FIG. 37 (b). First, in step S1201, all interrupts including the timer interrupt that activates the payout control unit interrupt process are prohibited.

次のステップS1202では、賞球コマンド受付許可フラグがオンであるか否かを判定する。賞球コマンド受付許可フラグがオンの場合は、ステップS1203に進み、そうでない場合はステップS1204に進む。本ステップにおいて、賞球コマンド受付許可フラグがオフの場合、受信コマンドは無視される。つまり、払出制御部のメイン処理(図31)のコマンド解析処理(ステップS309)において、不正なコマンドを排除している。 In the next step S1202, it is determined whether or not the prize ball command acceptance permission flag is on. If the prize ball command acceptance permission flag is on, the process proceeds to step S1203, and if not, the process proceeds to step S1204. In this step, if the prize ball command acceptance permission flag is off, the received command is ignored. That is, in the command analysis process (step S309) of the main process (FIG. 31) of the payout control unit, an invalid command is eliminated.

次のステップS1203では、解析データに基づいて賞球数を次賞球数エリアに加算する。本ステップは、実施例F(図37(a)のステップS1102)と同様であるので説明は省略する。次のステップS1204では、払出制御部割込み処理を起動するタイマ割込みを含むすべての割込みを許可して、処理を終了する。 In the next step S1203, the number of prize balls is added to the next prize ball number area based on the analysis data. Since this step is the same as that of Example F (step S1102 in FIG. 37 (a)), the description thereof will be omitted. In the next step S1204, all interrupts including the timer interrupt that activates the payout control unit interrupt process are permitted, and the process ends.

<エラー管理処理>
次に、図38を参照して、エラー管理処理について説明する。同図は、エラー管理処理の流れを示すフローチャートである。
<Error management process>
Next, the error management process will be described with reference to FIG. 38. The figure is a flowchart showing the flow of error management processing.

ステップS1301では、主制御通信監視タイマが0であるかどうかを判定し、0の場合(主制御部300から主制御通信確認コマンドを受信してから所定時間(本実施形態では、約1000ms)が経過した時)にはステップS1302に進み、0以外の場合にはステップS1304に進む。 In step S1301, it is determined whether or not the main control communication monitoring timer is 0, and if it is 0 (about 1000 ms in this embodiment) after receiving the main control communication confirmation command from the main control unit 300. When it has elapsed), the process proceeds to step S1302, and if it is other than 0, the process proceeds to step S1304.

ステップS1302では、主制御通信エラーフラグをオンに設定した後にステップS1303に進む。ステップS1303では、賞球コマンド受付許可フラグをオンに設定する。つまり、主制御通信確認コマンドを受信後、所定期間(1000ms=100ms×10)が経過した場合に、賞球コマンド受付許可フラグがオフに設定される。しかしこれに限らず、主制御部300から通信確認状態である旨のコマンドを受信した場合(すなわち、主制御通信確認コマンドを受信後、1000ms到達前)に、賞球コマンド受付許可フラグをオフに設定してもよい。 In step S1302, the process proceeds to step S1303 after setting the main control communication error flag to ON. In step S1303, the prize ball command acceptance permission flag is set to on. That is, the prize ball command acceptance permission flag is set to off when a predetermined period (1000 ms = 100 ms × 10) has elapsed after receiving the main control communication confirmation command. However, not limited to this, when a command indicating that the communication is confirmed is received from the main control unit 300 (that is, after receiving the main control communication confirmation command and before reaching 1000 ms), the prize ball command acceptance permission flag is turned off. It may be set.

ステップS1304では、その他のエラー管理処理を行った後に処理を終了する。その他のエラー管理処理としては、例えば、各種エラーが発生しているか否かを判定し、RAMに設けたエラーステータス記憶領域にエラーに関する情報を記憶する処理や、ステップS1302で主制御部通信エラーフラグがオンに設定された場合に、発射装置110による球の打ち出しや払出を中止する処理などが挙げられる。 In step S1304, the process ends after performing other error management processes. Other error management processes include, for example, a process of determining whether or not various errors have occurred and storing information about the error in an error status storage area provided in the RAM, and a main control unit communication error flag in step S1302. When is set to on, the process of stopping the launching and paying out of the ball by the launching device 110 and the like can be mentioned.

<送信コマンド処理(実施例H)>
次に、図39を用いて、上述の払出制御部割込み処理における送信コマンド処理(ステップS412)について説明する。なお、同図は、送信コマンド処理の流れを示すフローチャートである。
<Transmission command processing (Example H)>
Next, the transmission command process (step S412) in the above-mentioned payout control unit interrupt process will be described with reference to FIG. 39. The figure is a flowchart showing the flow of transmission command processing.

ステップS1401では、通信確認コマンド受信フラグがオンかオフかを判定し、オンの場合にはステップS1402〜S1404の処理を実行し、オフの場合にはステップS1405に進む。ステップS1402では、送信データレジスタに通信確認コマンドに対応する数値をセットすることで、シリアル通信線612を介して主制御部300に払出制御通信確認コマンドを送信する。ステップS1403では、通信確認コマンド受信フラグをオフに設定し、次のステップS1404では、賞球コマンド受付許可フラグをオンに設定する。 In step S1401, it is determined whether the communication confirmation command reception flag is on or off, and if it is on, the processes of steps S1402 to S1404 are executed, and if it is off, the process proceeds to step S1405. In step S1402, the payout control communication confirmation command is transmitted to the main control unit 300 via the serial communication line 612 by setting the numerical value corresponding to the communication confirmation command in the transmission data register. In step S1403, the communication confirmation command reception flag is set to off, and in the next step S1404, the prize ball command acceptance permission flag is set to on.

本来、主制御部300からの主制御通信確認コマンドを受信し、払出制御部600が主制御部300に応答となる払出制御通信確認コマンドを送信した後に、主制御部300から払出制御部600に賞球コマンドが送信される。しかし、主制御部300からの主制御通信確認コマンドを受信し、払出制御部600が主制御部300に払出制御通信確認コマンドを送信する以前に、賞球コマンドを払出制御部600が受信し、受信コマンドバッファに書き込んでしまう場合がある。本実施形態では、払出制御通信確認コマンドを送信する以前では賞球コマンド受付許可フラグがオフに設定されており、賞球コマンド受付許可フラグがオンの場合に、正常の処理を行うこととしている。また、本来受信すべきでない不正コマンドが受信コマンドバッファに書き込まれた場合であっても、払出制御部メイン処理のコマンド解析処理において不正なコマンドを排除している。これによって、意図しないコマンド(不正なコマンド)を払出制御部600が受信した場合であっても、これらのコマンドを適切に排除することができる。 Originally, after receiving the main control communication confirmation command from the main control unit 300 and the payout control unit 600 transmitting the payout control communication confirmation command to be the response to the main control unit 300, the main control unit 300 sends the payout control unit 600 to the payout control unit 600. A prize ball command is sent. However, before the main control communication confirmation command from the main control unit 300 is received and the payout control unit 600 sends the payout control communication confirmation command to the main control unit 300, the payout control unit 600 receives the prize ball command and receives the prize ball command. It may be written to the receive command buffer. In the present embodiment, the prize ball command acceptance permission flag is set to off before the payout control communication confirmation command is transmitted, and when the prize ball command acceptance permission flag is on, normal processing is performed. Further, even when an illegal command that should not be received is written in the received command buffer, the illegal command is excluded in the command analysis process of the payout control unit main process. As a result, even when an unintended command (illegal command) is received by the payout control unit 600, these commands can be appropriately excluded.

次のステップS1405では、他のエラーコマンドセット処理を行った後にステップS1406に進む。ステップS1405で実行する他のエラーコマンドセット処理としては、例えば、通信確認コマンドと、主制御通信エラーコマンド以外の他のコマンド(例えば、払出しエラーの発生を知らせるためのコマンド)の両方を送信する必要があるかどうかを判定し、必要がある場合に、通信確認コマンドに続けて他のコマンドを送信する処理などが該当する。 In the next step S1405, the process proceeds to step S1406 after performing other error command set processing. As another error command set process executed in step S1405, for example, it is necessary to send both a communication confirmation command and a command other than the main control communication error command (for example, a command for notifying the occurrence of a payout error). This corresponds to the process of determining whether or not there is a command and, if necessary, sending another command following the communication confirmation command.

ステップS1406では、主制御通信エラーフラグがオンかオフかを判定し、オンの場合にはステップS1407の処理を実行し、オフの場合にはステップS1408に進む。ステップS1407では、送信データレジスタに主制御通信エラーコマンドに対応する数値をセットすることで、シリアル通信線612を介して主制御部300に主制御通信エラーコマンドを送信する。その後のステップS1408ではその他送信コマンド処理を実行し、処理を終了する。 In step S1406, it is determined whether the main control communication error flag is on or off, and if it is on, the process of step S1407 is executed, and if it is off, the process proceeds to step S1408. In step S1407, the main control communication error command is transmitted to the main control unit 300 via the serial communication line 612 by setting the numerical value corresponding to the main control communication error command in the transmission data register. In the subsequent step S1408, other transmission command processing is executed, and the processing is terminated.

<送信コマンド処理(実施例I)>
図40は、実施例Gの送信コマンド処理の他の例(実施例I)を示した図である。ステップS1501では、通信確認コマンド受信フラグがオンかオフかを判定し、オンの場合にはステップS1504〜S1507の処理を実行し、オフの場合にはステップS1502に進む。ステップS1504では、RAM708に記憶している1バイト長の送信コマンド出力要求情報のBit0に1を設定することで、払出制御通信確認コマンド(10H)の送信要求を設定する。
<Transmission command processing (Example I)>
FIG. 40 is a diagram showing another example (Example I) of the transmission command processing of Example G. In step S1501, it is determined whether the communication confirmation command reception flag is on or off, and if it is on, the processes of steps S1504 to S1507 are executed, and if it is off, the process proceeds to step S1502. In step S1504, the transmission request of the payout control communication confirmation command (10H) is set by setting Bit0 of the 1-byte length transmission command output request information stored in the RAM 708 to 1.

また、ステップS1505では、その他のコマンドの送信要求を設定する。払出制御部600から主制御部300に送信するその他のコマンドとして例えば、賞球信号出力要求コマンド(20H)、エラー1コマンド(30H、31H、32H、34H、38H)、エラー2コマンド(40H、41H、42H、44H、48H)、払出表示LED報知コマンド(50H、51H)などがある。 Further, in step S1505, a transmission request for another command is set. Other commands transmitted from the payout control unit 600 to the main control unit 300 include, for example, a prize ball signal output request command (20H), an error 1 command (30H, 31H, 32H, 34H, 38H), and an error 2 command (40H, 41H). , 42H, 44H, 48H), payout display LED notification command (50H, 51H) and the like.

賞球信号出力要求コマンド(20H)を送信する場合には、送信コマンド出力要求情報のBit1に1を設定することで、賞球信号出力要求コマンド(20H)の送信要求を設定し、エラー1コマンド(30H、31H、32H、34H、38H)を送信する場合には、送信コマンド出力要求情報のBit2に1を設定することで、エラー1コマンド(30H、31H、32H、34H、38H)の送信要求を設定する。 When transmitting the prize ball signal output request command (20H), the transmission request of the prize ball signal output request command (20H) is set by setting Bit1 of the transmission command output request information, and the error 1 command is set. When transmitting (30H, 31H, 32H, 34H, 38H), by setting Bit2 of the transmission command output request information to 1, the transmission request of the error 1 command (30H, 31H, 32H, 34H, 38H) is performed. To set.

また、エラー2コマンド(40H、41H、42H、44H、48H)を送信する場合には、送信コマンド出力要求情報のBit3に1を設定することで、エラー2コマンド(40H、41H、42H、44H、48H)の送信要求を設定し、払出表示LED報知コマンド(50H、51H)を送信する場合には、送信コマンド出力要求情報のBit4に1を設定することで、払出表示LED報知コマンド(50H、51H)の送信要求を設定する。 When transmitting the error 2 command (40H, 41H, 42H, 44H, 48H), the error 2 command (40H, 41H, 42H, 44H) can be set by setting Bit3 of the transmission command output request information to 1. When the transmission request of 48H) is set and the payout display LED notification command (50H, 51H) is transmitted, the payout display LED notification command (50H, 51H) is set by setting Bit4 of the transmission command output request information. ) Send request is set.

また、ステップS1506では、その他のコマンドの出力情報を設定する。ここでは、エラー情報としてエラー解除状態または賞球払出動作終了を通知する場合には、RAMに設けた1バイト長の出力情報のBit0に0を設定し、払出個数スイッチエラーの発生、下受け皿満タンエラーの発生、または賞球払出動作中を通知する場合には、出力情報のBit0に1を設定する。また、不正払出エラーまたは払出装置エラーの発生を通知する場合には、出力情報のBit1に1を設定し、払出超過エラーまたは主制御通信エラーの発生を通知する場合には、出力情報のBit2に1を設定し、扉開放エラーまたはCRユニット未接続エラーの発生を通知する場合には、出力情報のBit3に1を設定する。 Further, in step S1506, output information of other commands is set. Here, when notifying the error release state or the end of the prize ball payout operation as error information, 0 is set to Bit0 of the output information of 1 byte length provided in the RAM, the payout number switch error occurs, and the lower tray is full. When notifying that a tan error has occurred or that the prize ball payout operation is in progress, Bit0 of the output information is set to 1. Further, when notifying the occurrence of an illegal payout error or a payout device error, 1 is set in Bit1 of the output information, and when notifying the occurrence of an overpayment error or a main control communication error, Bit2 of the output information is set. When 1 is set and the occurrence of a door opening error or a CR unit unconnected error is notified, 1 is set in Bit 3 of the output information.

ステップS1502では、主制御通信エラーフラグがオンかオフかを判定し、オンの場合にはステップS1503の処理を実行し、オフの場合にはステップS1508に進む。ステップS1503では、送信データレジスタに主制御通信エラーコマンドに対応する数値をセットすることで、シリアル通信線612を介して主制御部300に主制御通信エラーコマンドを送信した後にステップS1508に進む。 In step S1502, it is determined whether the main control communication error flag is on or off, and if it is on, the process of step S1503 is executed, and if it is off, the process proceeds to step S1508. In step S1503, by setting a numerical value corresponding to the main control communication error command in the transmission data register, the main control communication error command is transmitted to the main control unit 300 via the serial communication line 612, and then the process proceeds to step S1508.

ステップS1507では、賞球コマンド受付許可フラグをオンに設定した後、ステップS1508に進む。 In step S1507, after setting the prize ball command acceptance permission flag to on, the process proceeds to step S1508.

ステップS1508では、賞球信号コマンド送信要求設定条件が成立したか否かを判定し、成立した場合にはステップS1509に進み、成立していない場合にはステップS1510に進む。ステップS1509では、賞球信号コマンドの送信要求を設定した後にステップS1510に進む。ステップS1510では、RAM708に記憶している送信コマンド設定カウンタに5を設定した後に、ステップS1511に進む。 In step S1508, it is determined whether or not the prize ball signal command transmission request setting condition is satisfied, and if it is satisfied, the process proceeds to step S1509, and if not, the process proceeds to step S1510. In step S1509, the process proceeds to step S1510 after setting the transmission request of the prize ball signal command. In step S1510, after setting 5 in the transmission command setting counter stored in the RAM 708, the process proceeds to step S1511.

ステップS1511では、送信コマンド設定処理実行条件が成立したか否かを判定し、成立した場合にはステップS1512に進み、成立していない場合にはステップS1513に進む。ステップS1512では、送信コマンド設定処理を行う。この送信コマンド設定処理では、ステップS1505で設定した送信コマンド出力要求情報の最下位Bit(Bit0)を参照し、1が設定されている場合には、送信データレジスタに通信確認コマンドに対応する数値(この例では、10H)をセットすることで、シリアル通信線612を介して主制御部300に通信確認コマンドを送信する。 In step S1511, it is determined whether or not the transmission command setting process execution condition is satisfied, and if it is satisfied, the process proceeds to step S1512, and if it is not satisfied, the process proceeds to step S1513. In step S1512, the transmission command setting process is performed. In this transmission command setting process, the least significant bit (Bit0) of the transmission command output request information set in step S1505 is referred to, and if 1 is set, the numerical value corresponding to the communication confirmation command is set in the transmission data register ( In this example, by setting 10H), a communication confirmation command is transmitted to the main control unit 300 via the serial communication line 612.

続いて、送信コマンド出力要求情報を右方向に1Bitシフトした後に最下位Bit(Bit0)を参照し、1が設定されている場合には、ステップS1506で設定した出力情報と、エラー1コマンドに対応する数値(この例では、30H)を合成し、送信データレジスタに合成後の数値(この例では、30H、31H、32H、34H、38Hのいずれか)をセットすることで、シリアル通信線612を介して主制御部300にエラー1コマンドを送信する。 Subsequently, after shifting the transmission command output request information by 1 Bit to the right, the lowest Bit (Bit0) is referred to, and if 1 is set, the output information set in step S1506 and the error 1 command are supported. The serial communication line 612 is set by synthesizing the numerical values to be used (30H in this example) and setting the combined numerical values (30H, 31H, 32H, 34H, 38H in this example) in the transmission data register. An error 1 command is transmitted to the main control unit 300 via the main control unit 300.

続いて、送信コマンド出力要求情報を右方向に1Bitシフトした後に最下位Bit(Bit0)を参照し、1が設定されている場合には、ステップS1506で設定した出力情報と、エラー2コマンドに対応する数値(この例では、40H)を合成し、送信データレジスタに合成後の数値(この例では、40H、41H、42H、44H、48Hのいずれか)をセットすることで、シリアル通信線612を介して主制御部300にエラー2コマンドを送信する。 Subsequently, after shifting the transmission command output request information by 1 Bit to the right, the lowest Bit (Bit0) is referred to, and if 1 is set, the output information set in step S1506 and the error 2 command are supported. The serial communication line 612 is set by synthesizing the numerical values to be used (40H in this example) and setting the combined numerical values (40H, 41H, 42H, 44H, 48H in this example) in the transmission data register. An error 2 command is transmitted to the main control unit 300 via the main control unit 300.

続いて、送信コマンド出力要求情報を右方向に1Bitシフトした後に最下位Bit(Bit0)を参照し、1が設定されている場合には、ステップS1506で設定した出力情報と、払出表示LEDに対応する数値(この例では、50H)を合成し、送信データレジスタに合成後の数値(この例では、50H、51Hのいずれか)をセットすることで、シリアル通信線612を介して主制御部300に払出表示LED報知コマンドを送信する。 Subsequently, after shifting the transmission command output request information by 1 bit to the right, the least significant bit (Bit0) is referred to, and if 1 is set, the output information set in step S1506 and the payout display LED are supported. By synthesizing the numerical value (50H in this example) and setting the combined numerical value (either 50H or 51H in this example) in the transmission data register, the main control unit 300 via the serial communication line 612. The payout display LED notification command is transmitted to.

ステップS1513では、送信コマンド設定カウンタから1を減算した後に、ステップS1514に進む。ステップS1514では、送信コマンド設定カウンタが0であるか否かを判定し、0の場合には処理を終了し、0以外の場合にはステップS1511に戻ってコマンドの送信処理を継続する。 In step S1513, after subtracting 1 from the transmission command setting counter, the process proceeds to step S1514. In step S1514, it is determined whether or not the transmission command setting counter is 0. If it is 0, the process ends, and if it is other than 0, the process returns to step S1511 to continue the command transmission process.

<主制御通信確認コマンド受信時処理(実施例J)>
次に、図41を用いて、図36(a)に示した実施例Eの主制御通信確認コマンド受信時処理の他の例をについて説明する。この例では、賞球コマンド受付許可フラグのオンのタイミングが図36(a)のフローと異なっている。同図(a)は、主制御通信確認コマンド受信時処理の流れを示すフローチャートである。
<Processing at the time of receiving the main control communication confirmation command (Example J)>
Next, another example of the processing at the time of receiving the main control communication confirmation command of the embodiment E shown in FIG. 36A will be described with reference to FIG. 41. In this example, the timing of turning on the prize ball command acceptance permission flag is different from the flow of FIG. 36 (a). FIG. 3A is a flowchart showing the flow of processing at the time of receiving the main control communication confirmation command.

ステップS1601では、受信した主制御通信確認コマンドが、払出制御部600の起動後に最初に受信した主制御通信確認コマンドであるか否かを判定し、該当する場合にはステップS1602に進み、該当しない場合にはステップS1604に進む。ステップS1602では、RAM708に設けた主制御通信確認コマンド受信済みフラグをオンに設定した後に、ステップS1603に進んで起動処理(図36(b))を実行する。 In step S1601, it is determined whether or not the received main control communication confirmation command is the first main control communication confirmation command received after the payout control unit 600 is activated, and if applicable, the process proceeds to step S1602, which is not applicable. In the case, the process proceeds to step S1604. In step S1602, after setting the main control communication confirmation command received flag provided in the RAM 708 to on, the process proceeds to step S1603 to execute the activation process (FIG. 36 (b)).

ステップS1604では、主制御通信監視タイマに初期値(この例では、500)を設定し、次のステップS1605では、主制御通信エラーフラグをオフに設定する。次のステップS1606では、賞球コマンド受付許可フラグをオンに設定し、次のステップS1607では、通信確認コマンド受信フラグをオンに設定した後に処理を終了する。 In step S1604, the initial value (500 in this example) is set in the main control communication monitoring timer, and in the next step S1605, the main control communication error flag is set to off. In the next step S1606, the prize ball command acceptance permission flag is set to on, and in the next step S1607, the process ends after the communication confirmation command reception flag is set to on.

<送信コマンド処理(実施例K)>
図42を用いて、図39に示した送信コマンド処理の他の例(実施例K)について説明する。この例では、賞球コマンド受付許可フラグのオフのタイミングが図39のフローと異なっている。同図は、送信コマンド処理の流れを示すフローチャートである。
<Transmission command processing (Example K)>
Another example (Example K) of the transmission command processing shown in FIG. 39 will be described with reference to FIG. 42. In this example, the timing of turning off the prize ball command acceptance permission flag is different from the flow of FIG. 39. The figure is a flowchart showing the flow of transmission command processing.

ステップS1701では、通信確認コマンド受信フラグがオンかオフかを判定し、オンの場合にはステップS1702〜S1704の処理を実行し、オフの場合にはステップS1705に進む。ステップS1702では、送信データレジスタに通信確認コマンドに対応する数値をセットすることで、シリアル通信線612を介して主制御部300に通信確認コマンドを送信する。 In step S1701, it is determined whether the communication confirmation command reception flag is on or off, and if it is on, the processes of steps S1702 to S1704 are executed, and if it is off, the process proceeds to step S1705. In step S1702, the communication confirmation command is transmitted to the main control unit 300 via the serial communication line 612 by setting the numerical value corresponding to the communication confirmation command in the transmission data register.

ステップS1703では、通信確認コマンド受信フラグをオフに設定し、次のステップS1704では、他のエラーコマンドセット処理を行った後にステップS1705に進む。ステップS1704で実行する他のエラーコマンドセット処理としては、例えば、通信確認コマンドと、主制御通信エラーコマンド以外の第二のコマンド(例えば、払出しエラーの発生を知らせるためのコマンド)の両方を送信する必要があるかどうかを判定し、必要がある場合に、通信確認コマンドに続けて第二のコマンドを送信する処理などが該当する。 In step S1703, the communication confirmation command reception flag is set to off, and in the next step S1704, the process proceeds to step S1705 after performing other error command set processing. As another error command set process executed in step S1704, for example, both a communication confirmation command and a second command other than the main control communication error command (for example, a command for notifying the occurrence of a payout error) are transmitted. The process of determining whether or not it is necessary and, if necessary, transmitting a second command following the communication confirmation command is applicable.

ステップS1705では、主制御通信エラーフラグが1であるか否か(オンかオフか)を判定し、オン(1)の場合にはステップS1706の処理を実行し、オフの場合にはステップS1708に進む。ステップS1706では、送信データレジスタに主制御通信エラーコマンドに対応する数値をセットすることで、シリアル通信線612を介して主制御部300に主制御通信エラーコマンドを送信する。 In step S1705, it is determined whether or not the main control communication error flag is 1 (on or off), and if it is on (1), the process of step S1706 is executed, and if it is off, step S1708 is performed. move on. In step S1706, the main control communication error command is transmitted to the main control unit 300 via the serial communication line 612 by setting the numerical value corresponding to the main control communication error command in the transmission data register.

次のステップS1707では、賞球コマンド受付許可フラグにオフを設定し、次のステップS1708ではその他送信コマンド処理を実行して処理を終了する。 In the next step S1707, the prize ball command acceptance permission flag is set to off, and in the next step S1708, other transmission command processing is executed to end the processing.

以上説明した、受信コマンド処理の実施例A、実施例Bと、コマンド解析処理の実施例C,実施例Dと、主制御通信確認コマンド受信処理の実施例E、実施例Jと、賞球コマンド受信時処理の実施例F,実施例Gと、送信コマンド処理の実施例H、実施例I、実施例Kとは、制御に不具合が無い限り適宜組み合わせることができる。 Examples A and B of the received command processing, Examples C and D of the command analysis process, and Example E and Example J of the main control communication confirmation command receiving process and the prize ball command described above. Examples F and G of reception processing and Examples H, I and K of transmission command processing can be appropriately combined as long as there is no problem in control.

例えば、受信コマンド処理として実施例A(図33(a))を実行し、コマンド解析処理として実施例C(図34)を実行し、賞球コマンド受信時処理として実施例F(図37(a))を実行し、送信コマンド処理として実施例H(図39)を行うことができる。あるいは、受信コマンド処理として実施例A(図33(a))を実行し、コマンド解析処理として実施例D(図35)を実行し、賞球コマンド受信時処理として実施例G(図37(b))を実行し、送信コマンド処理として実施例H(図39)を行うことができる。 For example, Example A (FIG. 33 (a)) is executed as the received command process, Example C (FIG. 34) is executed as the command analysis process, and Example F (FIG. 37 (a)) is executed as the prize ball command reception process. )) Is executed, and Example H (FIG. 39) can be performed as a transmission command process. Alternatively, Example A (FIG. 33 (a)) is executed as the received command process, Example D (FIG. 35) is executed as the command analysis process, and Example G (FIG. 37 (b)) is executed as the prize ball command reception process. )) Is executed, and Example H (FIG. 39) can be performed as a transmission command process.

<受信コマンド処理、受信コマンド取得処理、受信コマンド解析処理(詳細)>
図43〜図50を参照して受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理の詳細について説明する。
<Receive command processing, reception command acquisition processing, reception command analysis processing (details)>
The details of the received command process, the received command acquisition process, and the received command analysis process will be described with reference to FIGS. 43 to 50.

図43および図44は、払出制御部600のRAM708の第二の領域708Bに設けられた、受信コマンドバッファエリアの一例を示す図である。 43 and 44 are diagrams showing an example of a reception command buffer area provided in the second area 708B of the RAM 708 of the payout control unit 600.

図36に示すように、受信コマンドバッファエリアは、固定長(ここでは、アドレス00H〜03H)の記憶領域(バッファ)をリング状に利用し、そのバッファにデータを格納するリングバッファとして設けられる。なお、ここでは、バッファのサイズとしてアドレス00H〜03Hの記憶領域を例示しているが、バッファのサイズはこれに限らない。受信コマンドバッファエリアでは、図示の如くデータの書き込み用ポインタ(設定ポインタ)と、データの読出し用ポインタ(解析ポインタ)を用いてデータ(受信コマンドの値)の設定と解析とを行う。どちらのポインタもバッファの終端(ここでは最下層)に達すると、バッファの先頭(ここでは最上層)に戻るように回転される。このようにして、概念的にあたかも環であるかのようにしてデータが処理され、実際の領域(固定長のバッファエリア)と二つのポインタ変数(設定ポインタと解析ポインタ)のみで、データが溢れることの無いバッファ管理を実現できる。 As shown in FIG. 36, the reception command buffer area is provided as a ring buffer that uses a storage area (buffer) having a fixed length (here, addresses 00H to 03H) in a ring shape and stores data in the buffer. Here, the storage area of addresses 00H to 03H is illustrated as the size of the buffer, but the size of the buffer is not limited to this. In the receive command buffer area, data (value of the receive command) is set and analyzed using a data write pointer (setting pointer) and a data read pointer (analysis pointer) as shown in the figure. When both pointers reach the end of the buffer (here the bottom layer), they are rotated back to the beginning of the buffer (here the top layer). In this way, the data is processed conceptually as if it were a ring, and the data overflows with only the actual area (fixed-length buffer area) and two pointer variables (setting pointer and analysis pointer). It is possible to realize buffer management without any problems.

図43は、設定ポインタの値が直接、記憶領域のアドレスを示す例である。まず、同図(a)に示すように、設定ポインタと解析ポインタはいずれも受信コマンドバッファエリアの先頭アドレス(00H)の位置を参照している。リングバッファでは、読み出し用ポインタ(解析ポインタ)は、現在参照する位置からデータを読み出すが、書き込み用ポインタ(設定ポインタ)と参照アドレスが一致した場合には、データの読み込みを終了(待機)する。つまり同図(a)の状態では、設定ポインタと解析ポインタの位置が同じであるので、払出制御部600のCUPは、データの読み出しを待機している。 FIG. 43 is an example in which the value of the setting pointer directly indicates the address of the storage area. First, as shown in FIG. 6A, both the setting pointer and the analysis pointer refer to the position of the start address (00H) of the reception command buffer area. In the ring buffer, the read pointer (analysis pointer) reads data from the position currently referred to, but when the write pointer (setting pointer) and the reference address match, the reading of the data is terminated (waiting). That is, in the state of FIG. 3A, since the positions of the setting pointer and the analysis pointer are the same, the CUP of the payout control unit 600 is waiting for reading data.

この状態で、払出制御部600が主制御部300から最初の受信コマンド(例えば、2AH(10球払出を指示する賞球コマンド)を受信すると、設定ポインタの位置(00H)に受信コマンドの値(2AH)が書き込まれ(同図(b))、設定ポインタは次のアドレス(01H)に移動する(同図(c))。なお、図43および図44においては、受信コマンドの値について16進数を示す「H」を省略して示す。 In this state, when the payout control unit 600 receives the first receive command (for example, 2AH (prize ball command instructing 10 ball payout) from the main control unit 300), the value of the receive command (for example, the value of the receive command (00H) at the position (00H) of the setting pointer) 2AH) is written (Fig. (B)), and the setting pointer moves to the next address (01H) (Fig. 43 (c)). In FIGS. 43 and 44, the value of the received command is a hexadecimal number. The "H" indicating "H" is omitted.

設定ポインタと解析ポインタとは異なるアドレスを参照しているため、解析ポインタはデータの読み込みを開始する。つまり解析ポインタは、先頭のアドレス(00H)に格納されている値(ここでは2AH)を参照し、当該値から受信コマンドの内容を解析して対応するモジュールにジャンプする(同図(c))。解析ポインタにより値が読み出された後に、解析ポインタが参照する記憶領域がクリアされ(同図(d))、解析ポインタは次のアドレス(01H)に移動する(同図(e))。なお、解析ポインタの値をインクリメントした後にデータを読み出してもよい。 Since the setting pointer and the analysis pointer refer to different addresses, the analysis pointer starts reading data. That is, the analysis pointer refers to the value (2AH in this case) stored at the first address (00H), analyzes the content of the received command from the value, and jumps to the corresponding module (Fig. (C)). .. After the value is read by the analysis pointer, the storage area referenced by the analysis pointer is cleared (Fig. (D)), and the analysis pointer moves to the next address (01H) (Fig. (E)). The data may be read after incrementing the value of the analysis pointer.

次に受信コマンド(例えば、23H(3球払出を指示する賞球コマンド)を受信すると、設定ポインタの位置(01H)に受信コマンドの値(23H)が書き込まれ(同図(f))、設定ポインタは次のアドレス(02H)に移動する(同図(g))。次の受信コマンド(例えば、2FH(15球払出を指示する賞球コマンド)を受信すると、設定ポインタの位置(02H)に受信コマンドの値(2FH)が書き込まれ(同図(h))、設定ポインタは次のアドレス(03H)に移動する(同図(i))。解析ポインタは現在のアドレス(01H)に格納されている値(ここでは23H)を参照し、当該値から受信コマンドの内容を解析して対応するモジュールにジャンプし(同図(i))、その後、解析ポインタの参照する記憶領域がクリアされる(同図(j))。解析ポインタの参照する記憶領域がクリアされると、解析ポインタは次のアドレス(02H)に移動し(同図(k))、(設定ポインタの位置とは不一致であるので)バッファの値(2FH)を読み込んで解析する。その後、解析ポインタの参照する記憶領域がクリアされ(同図(l))、解析ポインタは次のアドレス(03H)に移動する(同図(m))。 Next, when a reception command (for example, a prize ball command instructing the payout of 3 balls) is received, the value (23H) of the reception command is written at the position (01H) of the setting pointer (Fig. (F)) and set. The pointer moves to the next address (02H) (Fig. (G)). When the next reception command (for example, a prize ball command instructing 15 ball payout) is received, the pointer moves to the position of the setting pointer (02H). The value of the receive command (2FH) is written (Fig. (H)), and the setting pointer moves to the next address (03H) (Fig. (I)). The analysis pointer is stored at the current address (01H). Refers to the value (23H in this case), analyzes the content of the received command from the value, jumps to the corresponding module (Fig. (I)), and then clears the storage area referenced by the analysis pointer. (Fig. (J)). When the storage area referenced by the analysis pointer is cleared, the analysis pointer moves to the next address (02H) (Fig. (K)), and (the position of the setting pointer does not match). The buffer value (2FH) is read and analyzed. After that, the storage area referenced by the analysis pointer is cleared (Fig. (L)), and the analysis pointer moves to the next address (03H) (Fig. 3H). (M)).

同図(m)の状態では、設定ポインタと解析ポインタの参照アドレスが一致しているため、解析ポインタはデータの読み込みを待機する。次の受信コマンド(例えば、23H)を受信すると、設定ポインタの位置(03H)に受信コマンドの値(23H)が書き込まれ(同図(n))、設定ポインタは次のアドレス(00H)に移動する(同図(o))。解析ポインタは現在のアドレス03Hの値23Hを読出し、解析を行う(同図(o))。以下同様に、データの書き込みと読み出しが行われる。 In the state of FIG. 3M, since the reference addresses of the setting pointer and the analysis pointer match, the analysis pointer waits for data to be read. When the next receive command (for example, 23H) is received, the value (23H) of the receive command is written at the position (03H) of the setting pointer (Fig. (N)), and the setting pointer moves to the next address (00H). (Fig. (O)). The analysis pointer reads the value 23H of the current address 03H and performs analysis (Fig. (O)). The data is written and read in the same manner.

図44は、受信コマンドバッファエリアの他の例を示す図である。同図に示す例では、設定ポインタおよび解析ポインタが参照する位置(その値)と、実際にデータが格納された記憶領域のアドレスとが異なる場合を示している。つまり、設定ポインタおよび解析ポインタが参照する位置(その値)に基づき、データが格納されたアドレスを算出して、データの書き込み及び読み込みを行うものである。 FIG. 44 is a diagram showing another example of the received command buffer area. In the example shown in the figure, the position (its value) referred to by the setting pointer and the analysis pointer is different from the address of the storage area where the data is actually stored. That is, the address where the data is stored is calculated based on the position (its value) referred to by the setting pointer and the analysis pointer, and the data is written and read.

図44(a)を参照して、受信コマンドが格納される受信コマンドバッファエリアとして、例えばアドレス7F10H〜7F13Hまでの領域が確保されている。一方、設定ポインタは、例えばRAM708のアドレス7F0EHに記憶され、解析ポインタは例えば、RAM708のアドレス7F0FHに記憶されており、設定ポインタと解析ポインタにそれぞれ図示の値(例えば、00H〜03H)をセットする。 With reference to FIG. 44A, an area from addresses 7F10H to 7F13H is secured as a reception command buffer area in which reception commands are stored. On the other hand, the setting pointer is stored in the address 7F0EH of the RAM 708, for example, and the analysis pointer is stored in the address 7F0FH of the RAM 708, for example. ..

つまり、同図の状態では、設定ポインタと解析ポインタはいずれもの先頭の値00Hがセットされており、受信コマンドバッファエリアにはデータが格納されていない。 That is, in the state of the figure, the value 00H at the beginning of both the setting pointer and the analysis pointer is set, and no data is stored in the reception command buffer area.

この状態で、払出制御部600が主制御部300から最初の受信コマンド(例えば、2AH)を受信した場合、設定ポインタにセットされた値(00H)に基づいて所定の演算処理を行い、受信コマンドバッファエリアの先頭アドレスの値(7F10H)を算出する。そして受信コマンドバッファエリアのアドレス7F10Hに受信コマンド(2AH)を格納する(同図(b))。そして、受信コマンド格納された後、設定ポインタの位置は更新(インクリメント)され、次のアドレスに移動する。解析ポインタは、セットされている値(00H)に基づいて所定の演算処理を行い、受信コマンドバッファエリアの先頭アドレスの値(7F10H)を算出する。そして受信コマンドバッファエリアのアドレス7F10Hのデータ(2AH)を読み込み、解析する(同図(c))。その後、受信コマンドバッファエリアのアドレス7F10Hがクリアされ(同図(d))、解析ポインタが更新されて次のアドレスの値がセットされる(同図(e))。この状態で、払出制御部600が主制御部300から次の受信コマンド(例えば、23H)を受信した場合、設定ポインタにセットされる値(01H)に基づいて所定の演算処理を行い、受信コマンドバッファエリアの先頭アドレスの値(7F11H)を算出し、当該アドレス7F11Hに受信コマンド(23H)を格納する(同図(f))。その後、設定ポインタは次のアドレスを参照し、解析ポインタはセットされた値(01H)に基づいて所定の演算処理を行い、受信コマンドバッファエリアのアドレス7F11Hを算出して、格納されているデータ(23H)を取得し、解析する。以降、同様の処理を繰り返してデータの格納と解析が行われる。 In this state, when the payout control unit 600 receives the first reception command (for example, 2AH) from the main control unit 300, a predetermined arithmetic process is performed based on the value (00H) set in the setting pointer, and the reception command is received. The value (7F10H) of the start address of the buffer area is calculated. Then, the reception command (2AH) is stored at the address 7F10H of the reception command buffer area (Fig. (B)). Then, after the reception command is stored, the position of the setting pointer is updated (incremented) and moved to the next address. The analysis pointer performs a predetermined arithmetic process based on the set value (00H), and calculates the value (7F10H) of the start address of the reception command buffer area. Then, the data (2AH) at the address 7F10H in the reception command buffer area is read and analyzed (Fig. (C)). After that, the address 7F10H of the reception command buffer area is cleared (Fig. (D)), the analysis pointer is updated, and the value of the next address is set (Fig. (E)). In this state, when the payout control unit 600 receives the next reception command (for example, 23H) from the main control unit 300, a predetermined arithmetic process is performed based on the value (01H) set in the setting pointer, and the reception command is received. The value (7F11H) of the start address of the buffer area is calculated, and the reception command (23H) is stored in the address 7F11H (Fig. (F)). After that, the setting pointer refers to the next address, the analysis pointer performs predetermined arithmetic processing based on the set value (01H), the address 7F11H of the reception command buffer area is calculated, and the stored data ( 23H) is acquired and analyzed. After that, the same process is repeated to store and analyze the data.

なお、設定ポインタおよび解析ポインタにセットする値は、実際には、0〜15(4ビット)の値を用い、インクリメント関数で値の更新をしている。設定ポインタおよび解析ポインタは8ビットであるが、ポインタには、セットする値(4ビットで0〜15)と0FHとの論理積の演算結果をセットするので、0〜15の範囲で循環させることが可能になる。 The values set in the setting pointer and the analysis pointer are actually 0 to 15 (4 bits), and the values are updated by the increment function. The setting pointer and the analysis pointer are 8 bits, but since the operation result of the logical product of the set value (4 bits 0 to 15) and 0FH is set in the pointer, it should be circulated in the range of 0 to 15. Becomes possible.

<記憶領域の構成>
図45(a)(b)は、本実施形態の受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理において使用する記憶領域の一部の構成を示す概要図である。また図45(c)は、主制御部300が払出制御部600に送信するコマンド(受信コマンド)の一例である。
<Structure of storage area>
FIGS. 45 (a) and 45 (b) are schematic views showing a partial configuration of a storage area used in the received command process, the received command acquisition process, and the received command analysis process of the present embodiment. Further, FIG. 45 (c) is an example of a command (received command) transmitted by the main control unit 300 to the payout control unit 600.

図45(a)は、払出制御用マイクロコンピュータ770の内蔵レジスタの一部である、ステータスレジスタ772と受信データレジスタ774の概要図である。ステータスレジスタ772にはシリアル通信回路の状態を示す情報が格納され、受信データレジスタ774には、受信コマンドが格納される。なお、ここでは払出制御部600で受信したコマンドを格納する受信データレジスタ774として示しているが、送受信データが格納される送受信データレジスタであってもよい。 FIG. 45A is a schematic view of the status register 772 and the received data register 774, which are a part of the built-in registers of the payout control microcomputer 770. Information indicating the status of the serial communication circuit is stored in the status register 772, and the reception command is stored in the reception data register 774. Although it is shown here as a reception data register 774 that stores a command received by the payout control unit 600, it may be a transmission / reception data register that stores transmission / reception data.

図45(b)は、払出制御部600のRAM708の第二の領域708Bの構成を示す概要図である。同図に示すように、第二の領域708Bは例えば、アドレス7F0EH〜7F13Hまでの領域で構成され、アドレス7F0EHが設定ポインタ保存用エリア7081であり、アドレス7F0FHが解析ポインタ保存用エリア7082であり、アドレス7F10H〜7F13Hが受信コマンドバッファエリア(リングバッファ)708Rである。 FIG. 45B is a schematic view showing the configuration of the second area 708B of the RAM 708 of the payout control unit 600. As shown in the figure, the second area 708B is composed of, for example, the areas from addresses 7F0EH to 7F13H, the address 7F0EH is the setting pointer storage area 7081, and the address 7F0FH is the analysis pointer storage area 7082. Addresses 7F10H to 7F13H are reception command buffer areas (ring buffers) 708R.

<受信コマンド処理(詳細)>
図46を参照して、受信コマンド処理の一例について、詳細に説明する。上述したように、受信コマンド処理は、払出制御部割込み処理(図32)のステップS404において行われる処理(図33参照)である。また、以下の説明では図44に示したように、設定ポインタおよび解析ポインタの値に基づき、受信コマンドバッファエリアのアドレスを間接的に算出して参照する場合を例に示す。つまり、初期状態では、設定ポインタおよび解析ポインタの値はいずれも00Hであり、最初にデータが格納される領域は、受信コマンドバッファエリアのアドレス7F10Hである。
<Receive command processing (details)>
An example of received command processing will be described in detail with reference to FIG. 46. As described above, the receive command process is a process (see FIG. 33) performed in step S404 of the payout control unit interrupt process (FIG. 32). Further, in the following description, as shown in FIG. 44, a case where the address of the received command buffer area is indirectly calculated and referred to based on the values of the setting pointer and the analysis pointer is shown as an example. That is, in the initial state, the values of the setting pointer and the analysis pointer are both 00H, and the area where the data is first stored is the address 7F10H of the reception command buffer area.

まず、払出制御部600のCPUはステータスレジスタ772の特定ビットを参照して「受信完了」になった場合に、受信データレジスタ774から受信データ(受信コマンド)を読み込む(1)。 First, the CPU of the payout control unit 600 refers to the specific bit of the status register 772 and reads the received data (reception command) from the reception data register 774 when "reception is completed" (1).

受信コマンドの格納先は、一例として、設定ポインタ保存エリア7081の値と、受信コマンドバッファエリア708Rの先頭アドレスに基づいて求める。すなわち、設定ポインタ保存エリア7081(アドレス7F0EH)の値(01H)に、受信コマンドバッファエリア708Rの先頭アドレス7F10Hを加算して格納先のアドレス7F11Hを算出する(2)。払出制御部600のCPUは、受信データレジスタ774の受信コマンドを、受信コマンドバッファエリア708Rのアドレス7F11Hに格納する(3)。受信データレジスタ774から受信コマンドが読み出されると、ステータスレジスタ772の特定ビットがクリアされる。また、払出制御部600のCPUは、設定ポインタの値を更新(インクリメント)する(4)。 As an example, the storage destination of the reception command is obtained based on the value of the setting pointer storage area 7081 and the start address of the reception command buffer area 708R. That is, the start address 7F10H of the reception command buffer area 708R is added to the value (01H) of the setting pointer storage area 7081 (address 7F0EH) to calculate the storage destination address 7F11H (2). The CPU of the payout control unit 600 stores the receive command of the receive data register 774 at the address 7F11H of the receive command buffer area 708R (3). When the receive command is read from the receive data register 774, the specific bit of the status register 772 is cleared. Further, the CPU of the payout control unit 600 updates (increments) the value of the setting pointer (4).

なお、払出制御部600のCPUが、受信データレジスタ774の受信コマンドを、受信コマンドバッファエリア708Rのアドレス7F11Hに格納するとともに、ステータスレジスタ772の特定ビットをクリアしてもよい。 The CPU of the payout control unit 600 may store the receive command of the receive data register 774 in the address 7F11H of the receive command buffer area 708R and clear the specific bit of the status register 772.

<受信コマンド取得処理(詳細)>
図47を参照して、受信コマンド取得処理の一例について、詳細に説明する。受信コマンド取得処理は、払出制御部メイン処理(図31)のステップS309において行われる処理である。
<Receive command acquisition process (details)>
An example of the received command acquisition process will be described in detail with reference to FIG. 47. The reception command acquisition process is a process performed in step S309 of the payout control unit main process (FIG. 31).

まず、払出制御部600のCPUは、設定ポインタ保存エリア7081の値(ここでは02H)と、解析ポインタ保存エリア7082の値(ここでは01H)の値を比較し(1)、これらの値が不一致である場合、解析を行う。解析するデータ(受信コマンド)の格納先は、一例として、解析ポインタ保存エリア7082の値と、受信コマンドバッファエリア708Rの先頭アドレスに基づいて求める。すなわち、解析ポインタの値(ここでは01H)と、受信コマンドバッファエリア708Rの先頭アドレス7F10Hを加算して格納先のアドレス7F11Hを算出する(2)。払出制御部600のCPUは、受信コマンドバッファエリア708Rのアドレス7F11Hに格納されているデータを別の領域(例えば、Aレジスタ722(図7参照)など)に格納し、受信コマンドバッファエリア708Rのアドレス7F11Hのデータをクリアする(3)。また、払出制御部600のCPUは、解析ポインタの値を更新(インクリメント)する(4)。 First, the CPU of the payout control unit 600 compares the value of the setting pointer storage area 7081 (here 02H) with the value of the analysis pointer storage area 7082 (here 01H) (1), and these values do not match. If, the analysis is performed. As an example, the storage destination of the data to be analyzed (received command) is obtained based on the value of the analysis pointer storage area 7082 and the start address of the received command buffer area 708R. That is, the value of the analysis pointer (01H in this case) and the start address 7F10H of the reception command buffer area 708R are added to calculate the storage destination address 7F11H (2). The CPU of the payout control unit 600 stores the data stored in the address 7F11H of the receive command buffer area 708R in another area (for example, A register 722 (see FIG. 7)) and addresses the receive command buffer area 708R. Clear the data of 7F11H (3). Further, the CPU of the payout control unit 600 updates (increments) the value of the analysis pointer (4).

この後、払出制御部600のCPUは、Aレジスタ722に格納した受信コマンドの種別(賞球コマンドであるか、通信確認コマンドであるか)を解析し、対応するモジュールにジャンプする。 After that, the CPU of the payout control unit 600 analyzes the type of the received command (whether it is a prize ball command or a communication confirmation command) stored in the A register 722, and jumps to the corresponding module.

<受信コマンド解析処理>
図48〜図50を参照して、受信コマンド解析処理の一例について、詳細に説明する。受信コマンド解析処理は、払出制御部メイン処理(図31)のステップS309において行われる処理(図34のステップS702または図35のステップS802の処理)である。
<Received command analysis processing>
An example of the received command analysis process will be described in detail with reference to FIGS. 48 to 50. The reception command analysis process is a process performed in step S309 of the payout control unit main process (FIG. 31) (process of step S702 of FIG. 34 or process of step S802 of FIG. 35).

図48は受信コマンドのデータの一例とジャンプテーブルの関係を示す図である。同図(a)は、受信コマンドのビット単位の設定例(内容)を示す図であり、同図(b)はジャンプテーブルの一例を示す図である。 FIG. 48 is a diagram showing a relationship between an example of received command data and a jump table. FIG. 6A is a diagram showing a bit-wise setting example (contents) of a received command, and FIG. 3B is a diagram showing an example of a jump table.

同図(a)に示すように、受信コマンドは8ビットデータであり、上位4ビットがコマンド種別を示し、下位4ビットが実データを示している。例えば、上位4ビットの値が「1」の場合が主制御通信確認コマンドであり、そのうち、下位4ビットの実データ部分の値が「0」の場合に初期起動時であることを示し、下位4ビットの実データ部分の値が「1」の場合に復帰起動時であることを示す。また、例えば、上位4ビットの値が「2」の場合が賞球コマンドであり、そのうち、下位4ビットの実データ部分の値が「3」の場合に3球の払い出しであることを示し、下位4ビットの実データ部分の値が「10」の場合に10球の払い出しであることを示し、下位4ビットの実データ部分の値が「15」の場合に15球の払い出しであることを示す。なお、上位4ビットのコマンド種別と下位4ビットの実データは別々に一時保存されるが、これについては後述する。 As shown in FIG. 6A, the received command is 8-bit data, the upper 4 bits indicate the command type, and the lower 4 bits indicate the actual data. For example, when the value of the upper 4 bits is "1", it is the main control communication confirmation command, and when the value of the actual data part of the lower 4 bits is "0", it indicates that it is the initial startup, and the lower 4 bits. When the value of the 4-bit actual data part is "1", it indicates that the return is started. Further, for example, when the value of the upper 4 bits is "2", it is a prize ball command, and when the value of the actual data part of the lower 4 bits is "3", it indicates that 3 balls are paid out. When the value of the actual data part of the lower 4 bits is "10", it indicates that 10 balls are paid out, and when the value of the actual data part of the lower 4 bits is "15", it means that 15 balls are paid out. show. The command type of the upper 4 bits and the actual data of the lower 4 bits are temporarily saved separately, which will be described later.

同図(b)は、ジャンプテーブルの一例を示す。ジャンプテーブルは、払出制御部600のROM706の、ROM制御領域に設けられ、アドレス0700Hに、主制御通信確認コマンド受信処理(プログラム)の先頭アドレス0750Hのうちの下位8ビット(または上位8ビット)が記憶され、0701Hには、主制御通信確認コマンド受信処理の先頭アドレス(ここでは0750H)のうちの上位8ビット(または下位8ビット)が記憶されている。また、アドレス0702Hに、賞球数コマンド受信時処理(プログラム)の先頭アドレス(ここでは0780H)のうちの下位8ビット(または上位8ビット)が記憶され、0703Hには、賞球数コマンド受信時処理の先頭アドレス0780Hのうちの上位8ビット(または下位8ビット)が記憶されている。 FIG. 3B shows an example of a jump table. The jump table is provided in the ROM control area of the ROM 706 of the payout control unit 600, and the lower 8 bits (or the upper 8 bits) of the start address 0750H of the main control communication confirmation command reception process (program) are set at the address 0700H. The upper 8 bits (or lower 8 bits) of the start address (here, 0750H) of the main control communication confirmation command reception process are stored in the 0701H. Further, the lower 8 bits (or upper 8 bits) of the start address (here, 0780H) of the processing (program) at the time of receiving the prize ball number command is stored in the address 0702H, and the lower 8 bits (or the upper 8 bits) are stored in the address 0703H when the prize ball number command is received. The upper 8 bits (or lower 8 bits) of the processing start address 0780H are stored.

払出制御部600のCPUは、賞球コマンドの上位4ビットを解析し、「1」の場合は、同図(b)のジャンプテーブルのアドレス0700Hを参照し、主制御通信確認コマンド受信時処理の先頭アドレス(ここでは0750H)にジャンプする。また、払出制御部600のCPUは、賞球コマンドの上位4ビットを解析し、「2」の場合は、同図(b)のジャンプテーブルのアドレス0702Hを参照し、賞球数コマンド受信時処理の先頭アドレス(ここでは0780H)にジャンプする。 The CPU of the payout control unit 600 analyzes the upper 4 bits of the prize ball command, and in the case of "1", refers to the address 0700H of the jump table in the figure (b), and processes when the main control communication confirmation command is received. Jump to the start address (0750H in this case). Further, the CPU of the payout control unit 600 analyzes the upper 4 bits of the prize ball command, and in the case of "2", refers to the address 0702H of the jump table in the figure (b) and processes when the prize ball number command is received. Jumps to the start address of (here, 0780H).

図49および図50は、引き続き、受信コマンド解析処理の詳細を示す図であり、図47の(3)でAレジスタに格納された受信コマンドの解析例を示す図である。 49 and 50 are views showing details of the received command analysis process, and are diagrams showing an analysis example of the received command stored in the A register in FIG. 47 (3).

図49(a)では、Aレジスタに例えば、3球払出を指示する賞球コマンド(23H)として「00100011」が格納されている場合を示す。まず、払出制御部600のCPUは、後にコマンド種別の判定を行うため、Aレジスタの値をBレジスタに退避する。なお、上述したように本実施形態では、図33(b)のステップS1403で賞球コマンド受付許可フラグがオフになっている場合には受信コマンドをバッファに格納せずに処理を終了し、また図34のステップS706で賞球コマンド受付許可フラグがオフになっている場合には、賞球コマンド受信時処理を行わずに処理を終了している。しかし図49(a)に示すタイミング(賞球コマンドをバッファに格納した後に)で、上位4ビットを参照して賞球コマンドであることを解析し、賞球コマンドの受付が不可(賞球コマンド受付許可フラグがオフ)となっている場合には、コマンドを破棄して処理を終了してもよい。また、主制御通信確認コマンドおよび賞球コマンド以外のコマンドを破棄した場合や、賞球コマンド受付許可フラグをオフすることで意図しない賞球コマンドを破棄した場合であっても、主制御部300にエラーである旨を送信しなくてもよい。 FIG. 49A shows a case where “00100011” is stored in the A register as, for example, a prize ball command (23H) for instructing the payout of three balls. First, the CPU of the payout control unit 600 saves the value of the A register in the B register in order to determine the command type later. As described above, in the present embodiment, when the prize ball command acceptance permission flag is turned off in step S1403 of FIG. 33B, the process is terminated without storing the received command in the buffer. When the prize ball command acceptance permission flag is turned off in step S706 of FIG. 34, the process ends without performing the prize ball command reception processing. However, at the timing shown in FIG. 49 (a) (after the prize ball command is stored in the buffer), it is analyzed that the prize ball command is a prize ball command by referring to the upper 4 bits, and the prize ball command cannot be accepted (prize ball command). If the acceptance permission flag is off), the command may be discarded and the process may be terminated. Further, even if a command other than the main control communication confirmation command and the prize ball command is discarded, or an unintended prize ball command is discarded by turning off the prize ball command acceptance permission flag, the main control unit 300 is notified. It is not necessary to send that it is an error.

次に、同図(b)に示すように、Aレジスタの下位4ビットの値を取得するためにAレジスタの値「00100011」と0FH(「00001111」)の論理積を算出してAレジスタに格納する。この結果Aレジスタの値は上位4ビットがマスクされ実データ部分の値のみ(「00000011」)となる。 Next, as shown in FIG. 6B, the logical product of the A register value “00100011” and 0FH (“000001111”) is calculated in order to acquire the value of the lower 4 bits of the A register and stored in the A register. Store. As a result, the upper 4 bits of the value of the A register are masked and only the value of the actual data portion becomes (“000000111”).

次に、同図(c)に示すように、Aレジスタの値(実データ部分)をCレジスタに退避し、その後、同図(d)に示すように、コマンド種別判定のためにBレジスタの値「00100011」をAレジスタに格納(復帰)する。なお、実データ部分の対比処理と、コマンド種別判定のための復帰処理の順番は、逆でもよい。 Next, as shown in the figure (c), the value (actual data part) of the A register is saved in the C register, and then, as shown in the figure (d), the value of the B register is used for determining the command type. The value "00100011" is stored (returned) in the A register. The order of the comparison processing of the actual data part and the return processing for determining the command type may be reversed.

次に、同図(e)に示すように、Aレジスタの上位4ビットの値を取得するためにAレジスタの値「00100011」とF0H(「11110000」)の論理積を算出してAレジスタに格納する。この結果Aレジスタの値は下位4ビットがマスクされ、コマンド種別を示す値のみ(「00100000」)となる。 Next, as shown in the figure (e), in order to acquire the value of the upper 4 bits of the A register, the logical product of the A register value "00100011" and F0H ("11110,000") is calculated and stored in the A register. Store. As a result, the lower 4 bits of the value of the A register are masked, and only the value indicating the command type (“00100000”) is obtained.

引き続き図43(a)では、Aレジスタの値について右シフトを4回行う。これによりAレジスタの値は、賞球コマンドの場合は図示の如く「00000010」となる(主制御通信確認コマンドの場合は、「00000001」となる)。 Subsequently, in FIG. 43 (a), the value of the A register is shifted to the right four times. As a result, the value of the A register becomes "00000010" in the case of the prize ball command as shown in the figure (in the case of the main control communication confirmation command, it becomes "00000001").

同図(b)では、オフセット算出のため、Aレジスタの値を減算(デクリメント)し、「00000001」を得る。その後、同図(c)に示すようにAレジスタのデクリメント後の値と特定の値(ここでは例えば02H)を比較(CP 02H命令)する。このタイミングで(デクリメント後の)Aレジスタの値は、通常では00Hまたは01Hであるので、キャリーが発生した場合には、正常なコマンドであり、キャリーが発生しなかった場合には意図しないコマンドと判定できる。したがって、キャリーが発生しなかった場合には意図しないコマンドであるとして処理を終了する。なお、特定の値との比較は減算処理前に行ってもよい。 In the figure (b), the value of the A register is subtracted (decremented) to obtain "00000001" in order to calculate the offset. Then, as shown in FIG. 6C, the decremented value of the A register is compared with a specific value (here, for example, 02H) (CP 02H instruction). At this timing, the value of the A register (after decrementing) is usually 00H or 01H, so if a carry occurs, it is a normal command, and if a carry does not occur, it is an unintended command. Can be judged. Therefore, if carry does not occur, the process is terminated as an unintended command. The comparison with a specific value may be performed before the subtraction process.

次に、同図(d)では、図48(b)に示したジャンプテーブルの先頭アドレス0700Hを、払出制御部600のHLレジスタ(ペアレジスタ)724に格納する。 Next, in FIG. 4D, the start address 0700H of the jump table shown in FIG. 48B is stored in the HL register (pair register) 724 of the payout control unit 600.

次に、同図(e)に示すように、HLレジスタの値に、同図(b)のAレジスタの値を2倍した値「00000010」を加算し、加算後のHLレジスタに記憶されているアドレスにジャンプする(モジュールに移行する)。HLレジスタに記憶されているアドレスへのジャンプは、例えば、「JP(HL)命令」などで行う。この例では、ジャンプテーブルのアドレス0702Hに格納されているアドレス0780Hにジャンプし、賞球数コマンド受信時処理が実行される。 Next, as shown in the figure (e), the value "000000010" which is double the value of the A register in the figure (b) is added to the value of the HL register and stored in the added HL register. Jump to the address you are in (move to the module). The jump to the address stored in the HL register is performed by, for example, a "JP (HL) instruction". In this example, the jump is made to the address 0780H stored in the address 0702H of the jump table, and the processing at the time of receiving the prize ball number command is executed.

また、図示は省略するが、受信コマンドが主制御通信確認コマンドの場合、同図(b)のAレジスタの値が「00000000」となる。つまり、同図(e)でHLレジスタに加算するAレジスタの値の2倍値も「00000000」となり、ジャンプテーブルのアドレス0700Hに格納されているアドレス0750Hにジャンプすることとなり、主制御通信確認コマンド受信時処理が実行される。 Further, although not shown, when the reception command is the main control communication confirmation command, the value of the A register in FIG. 6B is "00000000000". That is, in the figure (e), the double value of the A register value added to the HL register is also "00000000000", and the jump is made to the address 0750H stored in the address 0700H of the jump table, and the main control communication confirmation command is used. Receiving processing is executed.

なお、同図(e)の後に、賞球数コマンド受信時処理に移行した場合は、図49(c)においてCレジスタに退避した実データ部分が賞球数となるので、この賞球数を図37(a)のステップS1102または図37(b)のステップS1203において、次賞球数エリアに加算する処理を行う。なお、賞球個数についての不正対策は行っていないが、賞球個数の不正対策として、Cレジスタに退避した実データ部分(下位4ビット)を参照する処理を行ってもよい。 If the process shifts to the process when the prize ball number command is received after FIG. 49 (e), the actual data portion saved in the C register in FIG. 49 (c) becomes the prize ball number. In step S1102 of FIG. 37 (a) or step S1203 of FIG. 37 (b), a process of adding to the next prize ball number area is performed. Although no fraudulent countermeasures have been taken for the number of prize balls, as a countermeasure against fraudulent numbers of prize balls, a process of referring to the actual data portion (lower 4 bits) saved in the C register may be performed.

以上、受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理について説明したが、送信コマンド処理(図32のステップS412)や、送信コマンド出力処理(図31のステップS311)は、上述の受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理の少なくとも一つ以上と同様に実行してもよい。 Although the reception command processing, the reception command acquisition processing, and the reception command analysis processing have been described above, the transmission command processing (step S412 in FIG. 32) and the transmission command output processing (step S311 in FIG. 31) are the above-mentioned reception command processing. , At least one or more of the received command acquisition process and the received command analysis process may be executed in the same manner.

なお、主制御通信確認コマンドは定期的に払出制御部600に送信しているが、賞球コマンド送信前だけ送信するようにしてもよく、その場合、初回の主制御通信確認コマンドのみ、賞球コマンドと別に送信するようにしてもよい。また、例えば、賞球コマンド1送信につき、主制御通信確認コマンド1送信するものとしてもよい。また、主制御部タイマ割込み処理の1割込みにつき1送信、あるいは1割り込みにつき複数送信、1割り込みにつきグループ単位で送信、1割り込みにつき255を超えない範囲で複数送信などを行うものであってもよい。 Although the main control communication confirmation command is periodically transmitted to the payout control unit 600, it may be transmitted only before the prize ball command is transmitted. In that case, only the first main control communication confirmation command is transmitted to the prize ball. It may be sent separately from the command. Further, for example, one main control communication confirmation command may be transmitted for each prize ball command transmission. Further, one transmission may be performed for each interrupt of the timer interrupt process of the main control unit, or a plurality of transmissions may be performed for each interrupt, a group unit may be transmitted for each interrupt, and a plurality of transmissions may be performed for each interrupt within a range not exceeding 255. ..

また、賞球が発生した場合の賞球コマンドの送受信の際に、デバイス等の状態に関する情報を送受信すると通信量が増えすぎてしまうため、主制御部300と払出制御部600の間で定期的に通信確認コマンドを送受信する場合には、払出制御部600では側は通信確認コマンドの送受信のタイミングで、デバイス等の状態に関する情報も送受信するとよい。 In addition, when sending and receiving a prize ball command when a prize ball is generated, if information about the state of the device or the like is transmitted and received, the amount of communication increases too much, so that the main control unit 300 and the payout control unit 600 periodically When sending and receiving a communication confirmation command to, the payout control unit 600 may send and receive information on the state of the device and the like at the timing of sending and receiving the communication confirmation command.

また、主制御通信確認コマンドを受信しない場合には、エラーに関するコマンドを主制御部300に送信しないものとしてもよい。この場合、エラーコマンドを使って、所定の種別のエラーは送信するなど一部のエラーについては送信するものとしてもよい。 Further, when the main control communication confirmation command is not received, the command related to the error may not be transmitted to the main control unit 300. In this case, some errors may be transmitted by using an error command, such as transmitting an error of a predetermined type.

また、主制御通信確認コマンドを受信した場合、主制御部300に、複数種類のコマンドを、別々のタイミング(例えば、異なるメイン処理など)で送信する場合がある。例えば、複数種類のコマンドの送信が同時に発生した場合には、例えばエラーコマンドの上位4ビットが小さいもの順に送るなどとしてもよいし、上位4ビットが大きいもの順に送るなどとしてもよい。 Further, when the main control communication confirmation command is received, a plurality of types of commands may be transmitted to the main control unit 300 at different timings (for example, different main processes). For example, when a plurality of types of commands are transmitted at the same time, for example, the upper 4 bits of the error command may be sent in ascending order, or the upper 4 bits may be sent in ascending order.

また、賞球コマンドは賞球に関わる重要なコマンドであることから、コマンドを暗号化してもよい。 Further, since the prize ball command is an important command related to the prize ball, the command may be encrypted.

また、上記の実施形態で説明した各処理のフローは、同様の機能が得られるものであれば、図示の流れに限定されるものではなく、処理順序は適宜入れ替えることが可能である。 Further, the flow of each process described in the above embodiment is not limited to the flow shown in the figure as long as the same function can be obtained, and the process order can be changed as appropriate.

また、図31の払出制御部メイン処理で受信コマンド処理(ステップS404)を実行し、図32の払出制御部割込み処理でコマンド解析処理(ステップS309)を実行するようにしてもよし、図16の払出制御部メイン処理で受信コマンド処理(ステップS404)とコマンド解析処理(ステップS309)を実行するようにしてもよいし、図32の払出制御部割込み処理で受信コマンド処理(ステップS404)とコマンド解析処理(ステップS309)を実行するようにしてもよい。 Further, the receive command process (step S404) may be executed in the payout control unit main process of FIG. 31, and the command analysis process (step S309) may be executed in the payout control unit interrupt process of FIG. 32. The receive command process (step S404) and the command analysis process (step S309) may be executed in the payout control unit main process, or the receive command process (step S404) and command analysis may be executed in the payout control unit interrupt process of FIG. The process (step S309) may be executed.

なお、図37(b)に示す賞球コマンド受信時処理では、払出制御部割込み処理(図32)における受信コマンド処理(ステップS404)の、賞球コマンド受付許可フラグの判定処理(図33(b)のステップS1403)では、賞球コマンド受付許可フラグがオフであっても、本ステップの賞球コマンド受付許可フラグがオンの場合には、次のステップS1203に進む。つまり、払出制御部割込み処理では不正なコマンドと判定されても、本ステップにおいて正常な受信コマンドとしての処理を行う場合がある。 In the prize ball command reception processing shown in FIG. 37 (b), the prize ball command acceptance permission flag determination process (FIG. 33 (b)) of the reception command process (step S404) in the payout control unit interrupt process (FIG. 32). ) In step S1403), even if the prize ball command acceptance permission flag is off, if the prize ball command acceptance permission flag in this step is on, the process proceeds to the next step S1203. That is, even if the payout control unit interrupt processing determines that the command is invalid, it may be processed as a normal reception command in this step.

以上説明したように、本実施形態に係る遊技台(例えば、パチンコ機100)は、入賞手段(例えば、普図始動口228、第1特図始動口230、第2特図始動口232、可変入賞口234)と、第一の制御手段(例えば、主制御部300)と、第二の制御手段(例えば、払出制御部600)と、を備えた遊技台であって、前記第一の制御手段は、遊技制御を少なくとも実行可能な手段であり、前記第二の制御手段は、賞を付与する制御(以下、「賞付与制御」という。)を少なくとも実行可能な手段であり、前記第二の制御手段は、前記第一の制御手段と、通信線(例えば、シリアル通信線612)を介して少なくとも電気的に接続されたものであり、前記第一の制御手段は、第一の処理(例えば、図11に示す特図1関連抽選処理、特図2関連抽選処理など)を少なくとも実行可能な手段であり、前記第一の制御手段は、第二の処理(例えば、図19に示す通信異常監視処理によって異常を検出する処理、図8に示す暗号通信制御部315によってレジスタに異常を設定する処理)を少なくとも実行可能な手段であり、前記第一の処理は、前記入賞手段に関する処理であり、前記第二の処理は、第一の異常を少なくとも検出可能な処理であり、前記第一の制御手段は、前記第一の異常を検出した場合であっても、第一の期間(例えば、図20(a)の符号Wt1で示す期間)において前記第一の処理を少なくとも実行開始可能な手段であり、前記第一の異常は、前記第二の制御手段との通信に関する異常(例えば、通信のタイムアウト)である、ことを特徴とする遊技台である。 As described above, the game console (for example, the pachinko machine 100) according to the present embodiment has a winning means (for example, a normal drawing start port 228, a first special figure start port 230, a second special figure start port 232, and variable. A gaming table including a winning opening 234), a first control means (for example, a main control unit 300), and a second control means (for example, a payout control unit 600), wherein the first control The means is a means capable of at least executing game control, and the second control means is a means capable of at least executing a control for giving a prize (hereinafter, referred to as "prize giving control"), and the second control means. The control means is at least electrically connected to the first control means via a communication line (for example, serial communication line 612), and the first control means is a first process (for example, serial communication line 612). For example, it is a means capable of at least executing the special figure 1 related lottery process, the special figure 2 related lottery process, etc. shown in FIG. 11, and the first control means is a second process (for example, the communication shown in FIG. 19). It is a means that can at least execute a process of detecting an abnormality by an abnormality monitoring process and a process of setting an abnormality in a register by the encrypted communication control unit 315 shown in FIG. 8), and the first process is a process related to the winning means. Yes, the second process is a process capable of detecting at least the first abnormality, and the first control means has a first period (for example, even when the first abnormality is detected). , The period indicated by the reference numeral Wt1 in FIG. 20A), the first processing can be started at least, and the first abnormality is an abnormality related to communication with the second control means (for example, It is a game console characterized by (communication timeout).

本実施形態に係る遊技台によれば、遊技中に制御部間における通信異常が発生した場合でも、第一の期間が経過するまでは入賞手段に関する処理を継続することが可能であり、通信異常によって遊技者に不利益を与えてしまうような事態を回避できる場合がある。 According to the game console according to the present embodiment, even if a communication abnormality occurs between the control units during the game, it is possible to continue the processing related to the winning means until the first period elapses, and the communication abnormality In some cases, it is possible to avoid a situation that causes a disadvantage to the player.

なお、本発明に係る「入賞手段に関する処理」は、入賞手段から出力される検出信号の状態を参照する処理(検出信号のオフ/オンを参照する処理)、参照結果に応じて状態を更新する処理(検出信号のオン/オフのパターンが所定のパターン(例えば、オン−オン−オフ)であるか否かを参照する処理)、更新後の状態に応じて賞球に関する状態を更新する処理(外部端子板に各種信号を出力するための情報、第二の制御手段に対する制御コマンドの設定に関する情報などを更新する処理)などのうちの少なくとも一つ、複数、または全部を含むものである。また、「入賞手段に関する処理」は、複数回の割込処理で断続的に実行されるものでもよい。 The "process related to the winning means" according to the present invention is a process of referring to the state of the detection signal output from the winning means (a process of referring to the off / on of the detection signal), and the state is updated according to the reference result. Processing (processing to refer to whether or not the on / off pattern of the detection signal is a predetermined pattern (for example, on-on-off)), processing to update the state related to the prize ball according to the updated state (process) It includes at least one, a plurality, or all of information for outputting various signals to the external terminal board, processing for updating information regarding setting of control commands for the second control means, and the like). Further, the "processing related to the winning means" may be executed intermittently by the interrupt processing a plurality of times.

また、前記第一の制御手段は、第一の条件の成立があった場合に、前記第一の期間の経過後も前記第一の処理を実行開始可能な手段であり、前記第一の条件は、前記第一の期間のなかで、前記第一の異常が解消された場合に、成立する場合がある条件であってもよい。 Further, the first control means is a means capable of starting the execution of the first process even after the elapse of the first period when the first condition is satisfied, and the first condition. May be a condition that may be satisfied when the first abnormality is resolved within the first period.

また、前記第一の制御手段は、第二の条件の成立があった場合に、入賞無効状態に移行する手段であり、前記第二の条件は、前記第一の期間のなかで、前記第一の異常が解消されなかった場合に、成立する場合がある条件であってもよい。なお、前記第二の条件は、前記第一の期間のなかで、前記第一の異常が解消されなかった場合に、必ず成立する条件(100%成立する条件)であってもよい。また、前記入賞無効状態は、前記第一の処理を実行しないことを少なくとも含む状態であってもよい。 Further, the first control means is a means for shifting to a winning invalid state when the second condition is satisfied, and the second condition is the first in the first period. It may be a condition that may be satisfied when one abnormality is not resolved. The second condition may be a condition (a condition that is 100% satisfied) that is always satisfied when the first abnormality is not resolved during the first period. Further, the winning invalid state may at least include not executing the first process.

また、前記第一の制御手段は、第三の処理を少なくとも実行可能な手段であり、前記第三の処理は、第二の異常(例えば、図18に示す特定異常)を少なくとも検出可能な処理であり、前記第一の制御手段は、前記第二の異常を検出した場合、前記第一の処理を実行しない手段であり、前記第二の異常は、前記第一の異常とは異なる異常であってもよい。 Further, the first control means is a means capable of at least executing the third process, and the third process is a process capable of at least detecting a second abnormality (for example, a specific abnormality shown in FIG. 18). The first control means is a means that does not execute the first process when the second abnormality is detected, and the second abnormality is an abnormality different from the first abnormality. There may be.

また、前記第一の制御手段は、第四の処理を少なくとも実行可能な手段であり、前記第四の処理は、乱数の更新(例えば、図10に示す基本乱数初期値更新処理、図13に示す基本乱数更新処理、図13に示す演出乱数更新処理)を少なくとも実行可能な処理であり、前記第一の制御手段は、前記第一の異常を検出した場合であっても、前記第四の処理を少なくとも実行可能な手段であってもよい。なお、前記乱数は、ソフトウェア乱数のみ、または、ハードウェア乱数のみであってもよい。 Further, the first control means is a means capable of at least executing a fourth process, and the fourth process is a random number update (for example, a basic random number initial value update process shown in FIG. 10, FIG. 13 shows. The basic random number update process shown in FIG. 13 and the effect random number update process shown in FIG. 13) can be executed at least, and the first control means can detect the first abnormality even when the first abnormality is detected. The process may be at least a viable means. The random number may be only a software random number or only a hardware random number.

また、前記第一の制御手段は、第一の制御プログラムに応じて前記遊技制御を少なくとも実行可能な手段であり、前記第二の制御手段は、第二の制御プログラムに応じて前記賞付与制御を少なくとも実行可能な手段であり、前記第一の制御プログラムは、メイン処理(例えば、主制御メイン処理)を少なくとも含むプログラムであり、前記第一の制御プログラムは、割込処理(例えば、主制御部タイマ割込処理)を少なくとも含むプログラムであり、前記第一の処理は、前記割込処理において少なくとも実行可能な処理であってもよい。 Further, the first control means is a means capable of at least executing the game control according to the first control program, and the second control means is the prize-giving control according to the second control program. The first control program is a program including at least a main process (for example, a main control main process), and the first control program is an interrupt process (for example, a main control). It is a program including at least a unit timer interrupt process), and the first process may be at least a process that can be executed in the interrupt process.

また、前記第一の制御手段は、前記第一の異常を検出した場合であっても、前記第一の期間において前記第一の処理を複数回実行開始可能な手段であってもよい。また、前記第一の異常は、前記第二の制御手段との通信のタイムアウトによって発生する異常であってもよい。 Further, the first control means may be a means capable of starting the execution of the first process a plurality of times in the first period even when the first abnormality is detected. Further, the first abnormality may be an abnormality caused by a timeout of communication with the second control means.

また、本実施形態に係る遊技台(例えば、パチンコ機100)は、第一の制御手段(例えば、主制御部300)と、第二の制御手段(例えば、払出制御部600)と、を備えた遊技台であって、前記第二の制御手段は、前記第一の制御手段と少なくとも通信可能な手段であり、前記第一の制御手段は、第一の処理を少なくとも実行可能な手段であり、前記第一の制御手段は、第二の処理を少なくとも実行可能な手段であり、前記第一の処理は、遊技制御を少なくとも実行可能な処理(例えば、図11に示す特図1関連抽選処理、特図2関連抽選処理など)であり、前記第二の処理は、第一の異常を少なくとも検出可能な処理(例えば、図19に示す通信異常監視処理、図8に示す暗号通信制御部315による処理)であり、前記第一の制御手段は、前記第一の異常を検出した場合であっても、第一の期間(例えば、図20(a)の符号Wt1で示す期間)に亘って前記第一の処理を少なくとも実行可能な手段であり、前記第一の異常は、前記第二の制御手段との通信に関する異常(例えば、通信のタイムアウト)であってもよい。 Further, the game console (for example, the pachinko machine 100) according to the present embodiment includes a first control means (for example, a main control unit 300) and a second control means (for example, a payout control unit 600). The second control means is a means capable of at least communicating with the first control means, and the first control means is a means capable of at least executing the first process. The first control means is a means capable of at least executing the second process, and the first process is a process capable of at least executing game control (for example, the special figure 1 related lottery process shown in FIG. 11). The second process is a process capable of detecting at least the first abnormality (for example, the communication abnormality monitoring process shown in FIG. 19, and the encrypted communication control unit 315 shown in FIG. 8). The first control means extends over the first period (for example, the period indicated by the reference numeral Wt1 in FIG. 20A) even when the first abnormality is detected. The first process is at least a means capable of executing the first process, and the first abnormality may be an abnormality related to communication with the second control means (for example, a communication timeout).

また、前記第一の制御手段は、第一の条件が成立した場合に、前記第一の期間の経過後も前記第一の処理を継続可能な手段であり、前記第一の条件は、前記第一の期間のなかで、前記第一の異常が解消された場合に成立する場合がある条件であってもよい。 Further, the first control means is a means capable of continuing the first process even after the elapse of the first period when the first condition is satisfied, and the first condition is the first condition. It may be a condition that may be satisfied when the first abnormality is resolved in the first period.

また、前記第一の制御手段は、第三の処理を少なくとも実行可能な手段であり、前記第三の処理は、第二の異常(例えば、図18に示す特定異常)を少なくとも検出可能な処理であり、前記第一の制御手段は、前記第二の異常を検出した場合には、前記第一の処理を実行しない手段であり、前記第二の異常は、前記第一の異常とは異なる異常であってもよい。 Further, the first control means is a means capable of at least executing the third process, and the third process is a process capable of at least detecting a second abnormality (for example, a specific abnormality shown in FIG. 18). The first control means is a means that does not execute the first process when the second abnormality is detected, and the second abnormality is different from the first abnormality. It may be abnormal.

また、前記第一の制御手段は、第四の処理を少なくとも実行可能な手段であり、前記第四の処理は、乱数の更新を少なくとも実行可能な処理(例えば、図10に示す基本乱数初期値更新処理、図13に示す基本乱数更新処理、図13に示す演出乱数更新処理)であり、前記第一の制御手段は、前記第一の異常を検出した場合であっても、前記第四の処理を少なくとも実行可能な手段であってもよい。 Further, the first control means is a means capable of at least executing a fourth process, and the fourth process is a process capable of at least executing a random number update (for example, a basic random number initial value shown in FIG. 10). The update process, the basic random number update process shown in FIG. 13, and the effect random number update process shown in FIG. 13), and the first control means has the fourth abnormality even when the first abnormality is detected. The process may be at least a viable means.

また、入賞手段(例えば、普図始動口228、第1特図始動口230、第2特図始動口232、可変入賞口234)を備え、前記第一の処理は、前記入賞手段に関する処理であってもよい。また、前記第一の制御手段は、第一の制御プログラムに応じて前記遊技制御を少なくとも実行可能な手段であり、前記第二の制御手段は、第二の制御プログラムに応じて賞を付与する制御を少なくとも実行可能な手段であり、前記第一の制御プログラムは、メイン処理(例えば、主制御部メイン処理)を少なくとも含むプログラムであり、前記第一の制御プログラムは、割込処理(例えば、主制御部タイマ割込処理)を少なくとも含むプログラムであり、前記第一の処理は、前記割込処理において少なくとも実行可能なものであってもよい。 Further, a winning means (for example, a normal drawing starting port 228, a first special drawing starting port 230, a second special drawing starting port 232, and a variable winning opening 234) is provided, and the first process is a process related to the winning means. There may be. Further, the first control means is a means capable of at least executing the game control according to the first control program, and the second control means gives a prize according to the second control program. The first control program is at least a means capable of executing control, the first control program is a program including at least a main process (for example, a main control unit main process), and the first control program is an interrupt process (for example, a main control unit main process). The program includes at least the main control unit timer interrupt process), and the first process may be at least executable in the interrupt process.

また、前記記第二の処理は、前記第一の制御プログラムによらずに実行されるものであってもよい。また、前記第一の異常は、前記第二の制御手段との通信のタイムアウトによって発生する異常であってもよい。また、前記第二の制御手段は、前記第一の制御手段とシリアル通信線(例えば、シリアル通信線612)を介して通信可能な手段であってもよい。 Further, the second process described above may be executed without depending on the first control program. Further, the first abnormality may be an abnormality caused by a timeout of communication with the second control means. Further, the second control means may be a means capable of communicating with the first control means via a serial communication line (for example, a serial communication line 612).

<実施形態2>
以下、図面を用いて、本発明の実施形態2に係るパチンコ機について詳細に説明する。
なお、重複した説明を回避するために、原則として実施形態1に係る遊技台と異なる構成についてのみ説明する。また、図51〜図98は、原則として実施形態2の説明にのみ用いることとし、重複する符号が他の図面に示されている場合であっても、実施形態2の説明では図51〜図98に示す符号を優先する。
<Embodiment 2>
Hereinafter, the pachinko machine according to the second embodiment of the present invention will be described in detail with reference to the drawings.
In addition, in order to avoid duplicate explanations, in principle, only the configuration different from the game console according to the first embodiment will be described. In principle, FIGS. 51 to 98 are used only for the description of the second embodiment, and even when overlapping reference numerals are shown in other drawings, the description of the second embodiment is shown in FIGS. 51 to 98. The code shown in 98 has priority.

<制御基板間の通信>
最初に、図51を用いて、パチンコ機100の制御基板間の通信について説明する。図51(a)は制御基板間の接続の一例を示したブロック図である。なお、同図に示す発射ユニット940は、上述の発射ハンドル134および発射装置844を含むユニットのことである。
<Communication between control boards>
First, communication between the control boards of the pachinko machine 100 will be described with reference to FIG. 51. FIG. 51A is a block diagram showing an example of connection between control boards. The launch unit 940 shown in the figure is a unit including the launch handle 134 and the launch device 844 described above.

発射制御基板174は、ハンドル中継基板848やガラス枠中継基板842を介して、発射ユニット940の発射ハンドル134に接続されている。発射ハンドル134から発射制御基板174には、発射ボリューム804bから入力される発射強度調整信号や、タッチスイッチ804dから入力されるタッチスイッチ信号や、発射停止スイッチ804fから入力される発射停止スイッチ信号や、ターボスイッチ804hから入力される発射強度切替スイッチ信号などが入力される。また、発射制御基板174は、発射ユニット940の発射装置844にも接続されており、発射制御基板174から発射装置844には、発射ソレノイド信号などが出力される。 The launch control board 174 is connected to the launch handle 134 of the launch unit 940 via the handle relay board 848 and the glass frame relay board 842. On the launch control board 174 from the launch handle 134, a launch intensity adjustment signal input from the launch volume 804b, a touch switch signal input from the touch switch 804d, a launch stop switch signal input from the launch stop switch 804f, and a launch stop switch signal. A firing intensity changeover switch signal or the like input from the turbo switch 804h is input. Further, the launch control board 174 is also connected to the launch device 844 of the launch unit 940, and a launch solenoid signal or the like is output from the launch control board 174 to the launch device 844.

また、発射制御基板174は、払出制御基板170にも接続されており、払出制御基板170から発射制御基板174には、発射許可信号などが出力され、発射制御基板174から払出制御基板170には、タッチスイッチ信号や発射強度状態信号などが出力される。 Further, the launch control board 174 is also connected to the payout control board 170, a launch permission signal or the like is output from the payout control board 170 to the launch control board 174, and the launch control board 174 to the payout control board 170. , Touch switch signal, firing intensity status signal, etc. are output.

払出制御基板170は、内枠中継基板824を介して、主制御基板156にシリアル通信線で接続されており、払出制御基板170と主制御基板156は、双方向のシリアル通信が可能である。また、主制御基板156は、第1副制御基板160にも接続されているが、主制御基板156と第1副制御基板160は、主制御基板156から第1副制御基板160への一方向の通信のみが可能である。 The payout control board 170 is connected to the main control board 156 via a serial communication line via the inner frame relay board 824, and the payout control board 170 and the main control board 156 are capable of bidirectional serial communication. The main control board 156 is also connected to the first sub control board 160, but the main control board 156 and the first sub control board 160 are unidirectional from the main control board 156 to the first sub control board 160. Only communication is possible.

払出制御基板170が取得したタッチスイッチ信号や発射強度状態信号などは、払出制御基板170から主制御基板156にシリアル通信で出力することが可能であり、これらの信号は、さらに主制御基板156から第1副制御部160に一方向通信で出力することが可能である。なお、払出制御基板170が取得したタッチスイッチ信号や発射強度状態信号などを、払出制御基板170から主制御基板156や第1副制御部160に出力しないように構成してもよい。 The touch switch signal, the firing intensity status signal, etc. acquired by the payout control board 170 can be output from the payout control board 170 to the main control board 156 by serial communication, and these signals are further output from the main control board 156. It is possible to output to the first sub-control unit 160 by one-way communication. The touch switch signal, the firing intensity state signal, and the like acquired by the payout control board 170 may not be output from the payout control board 170 to the main control board 156 and the first sub-control unit 160.

<制御基板間の通信/変形例>
図51(b)は、制御基板間の接続の他の例を示したブロック図である。本例では、発射制御基板174と主制御基板156を、払出制御基板170を介することなく直接、接続しており、発射制御基板174から主制御基板156に対して、発射強度調整信号、タッチスイッチ信号、発射停止スイッチ信号、発射強度切替スイッチ信号などを出力可能に構成している。
<Communication between control boards / Modification example>
FIG. 51 (b) is a block diagram showing another example of connection between control boards. In this example, the launch control board 174 and the main control board 156 are directly connected without going through the payout control board 170, and the launch control board 174 to the main control board 156 are connected to the launch intensity adjustment signal and the touch switch. It is configured to be able to output signals, launch stop switch signals, launch intensity selector switch signals, etc.

なお、主制御部300は第一の経路と第二の経路の両方で発射に関連する信号を受信可能であってもよい。また、第一の経路は払出制御基板170とのシリアル通信、第二の経路は発射制御基板174からの直接入力してもよい。また、発射に関連する信号は、第一の経路と第二の経路ともに発射強度状態信号であってもよいし、第一の経路と第二の経路ともに発射強度切替スイッチ信号であってもよいし、一方は発射強度状態信号、他方は発射強度切替スイッチ信号であってもよい。 The main control unit 300 may be able to receive signals related to firing on both the first path and the second path. Further, the first route may be serial communication with the payout control board 170, and the second route may be directly input from the launch control board 174. Further, the signal related to the launch may be a launch intensity state signal for both the first path and the second path, or may be a launch intensity changeover switch signal for both the first path and the second path. However, one may be a firing intensity status signal and the other may be a firing intensity selector switch signal.

本例によれば、払出制御基板170に何らかの不具合が発生することで、主制御基板156が、発射ユニット940が出力する各種信号を払出制御基板170から取得できなくなった場合でも、代わりに発射制御基板174から各種信号を取得することができ、安定した遊技制御を行うことができる場合がある。 According to this example, even if the main control board 156 cannot acquire various signals output by the launch unit 940 from the payout control board 170 due to some trouble in the payout control board 170, the launch control is performed instead. Various signals can be acquired from the board 174, and stable game control may be possible.

また、図51(c)は、制御基板間の接続の他の例を示したブロック図である。本例では、発射制御基板174と第1副制御基板160を、払出制御基板170および主制御基板156を介することなく直接、接続しており、発射制御基板174から第1副制御基板160に対して、発射強度調整信号、タッチスイッチ信号、発射停止スイッチ信号、発射強度切替スイッチ信号などを出力可能に構成している。 Further, FIG. 51 (c) is a block diagram showing another example of connection between control boards. In this example, the launch control board 174 and the first sub-control board 160 are directly connected to each other from the launch control board 174 to the first sub-control board 160 without going through the payout control board 170 and the main control board 156. It is configured to be able to output a launch intensity adjustment signal, a touch switch signal, a launch stop switch signal, a launch intensity changeover switch signal, and the like.

本例によれば、払出制御基板170に何らかの不具合が発生することで、主制御基板170が、発射ユニット940が出力する各種信号を払出制御基板174から取得できなくなった場合でも、代わりに第1副制基板160が発射制御基板174から各種信号を取得することができ、安定した遊技制御を行うことができる場合がある。 According to this example, even if the main control board 170 cannot acquire various signals output by the launch unit 940 from the payout control board 174 due to some trouble in the payout control board 170, the first control board 170 is instead. The sub-control board 160 can acquire various signals from the launch control board 174, and may be able to perform stable game control.

なお、第1副制御部400は第一の経路と第二の経路の両方で発射に関連する信号を受信可能であってもよい。また、第一の経路は主制御部300からのコマンド、第二の経路は発射制御部630からの直接入力してもよい。また、主制御部300からのコマンドは、払出制御部600とのシリアル通信に基づくコマンドであってもよいし、第二の経路とは異なる発射制御部630からの直接入力であってもよい。また、発射に関連する信号は、第一の経路と第二の経路ともに発射強度状態信号であってもよいし、第一の経路と第二の経路ともに発射強度切替スイッチ信号であってもよいし、一方は発射強度状態信号、他方は発射強度切替スイッチ信号であってもよい。 The first sub-control unit 400 may be able to receive signals related to firing in both the first path and the second path. Further, the first route may be a command from the main control unit 300, and the second route may be directly input from the launch control unit 630. Further, the command from the main control unit 300 may be a command based on serial communication with the payout control unit 600, or may be a direct input from the launch control unit 630 different from the second route. Further, the signal related to the launch may be a launch intensity state signal for both the first path and the second path, or may be a launch intensity changeover switch signal for both the first path and the second path. However, one may be a firing intensity status signal and the other may be a firing intensity selector switch signal.

また、図52(a)は、制御基板間の接続の他の例を示したブロック図である。本例では、発射ユニット940と発射制御基板174を複数の通信線(例えば、パラレル信号線)で接続しており、各々の通信線を介して、発射強度調整信号、タッチスイッチ信号、発射停止スイッチ信号、発射強度切替スイッチ信号、発射ソレノイド信号などを個別に入出力可能に構成している。 Further, FIG. 52A is a block diagram showing another example of connection between control boards. In this example, the launch unit 940 and the launch control board 174 are connected by a plurality of communication lines (for example, parallel signal lines), and the launch intensity adjustment signal, the touch switch signal, and the launch stop switch are connected via each communication line. It is configured so that signals, firing intensity changeover switch signals, firing solenoid signals, etc. can be input and output individually.

また、本例では、発射制御基板174と払出制御基板170との間を一方向通信にしており、発射制御基板174から払出制御基板170には発射許可信号などが出力可能である。さらに、本例では、払出制御基板170に、主制御基板156と遊技球等貸出装置接続端子板942を接続しており、遊技球等貸出装置接続端子板942に対しても、主制御基板156と同様に、発射強度調整信号、タッチスイッチ信号、発射停止スイッチ信号、発射強度切替スイッチ信号などを出力可能に構成している。 Further, in this example, one-way communication is performed between the launch control board 174 and the payout control board 170, and a launch permission signal or the like can be output from the launch control board 174 to the payout control board 170. Further, in this example, the main control board 156 and the game ball rental device connection terminal board 942 are connected to the payout control board 170, and the main control board 156 is also connected to the game ball rental device connection terminal board 942. Similarly, the launch intensity adjustment signal, the touch switch signal, the launch stop switch signal, the launch intensity changeover switch signal, and the like can be output.

また、図52(b)は、制御基板間の接続の他の例を示したブロック図である。本例では、発射ユニット940と発射制御基板174に加えて、発射ユニット940と払出制御基板170も複数の通信線で接続しており、発射強度調整信号、タッチスイッチ信号、発射停止スイッチ信号、発射強度切替スイッチ信号、発射ソレノイド信号などを、発射ユニット940から払出制御基板170に直接、出力可能に構成している。 Further, FIG. 52B is a block diagram showing another example of connection between control boards. In this example, in addition to the launch unit 940 and the launch control board 174, the launch unit 940 and the payout control board 170 are also connected by a plurality of communication lines, and the launch intensity adjustment signal, the touch switch signal, the launch stop switch signal, and the launch The strength changeover switch signal, the firing solenoid signal, and the like can be output directly from the firing unit 940 to the payout control board 170.

本例によれば、発射制御基板174に何らかの不具合が発生することで、払出制御基板170が、発射ユニット940が出力する各種信号を発射制御基板174から取得できなくなった場合でも、代わりに発射ユニット940から各種信号を直接、取得することができ、安定した遊技制御を行うことができる場合がある。 According to this example, even if the payout control board 170 cannot acquire various signals output by the launch unit 940 from the launch control board 174 due to some trouble in the launch control board 174, the launch unit instead. Various signals can be directly acquired from the 940, and stable game control may be possible.

なお、発射ユニット940から払出制御基板170に、タッチスイッチ信号と発射停止スイッチ信号を直接出力する構成の場合、これらの信号も加味した上で発射許可信号を発射制御基板174に出力可能になるので、発射制御基板174の回路構成を簡略化できる場合がある。 In the case of a configuration in which the touch switch signal and the launch stop switch signal are directly output from the launch unit 940 to the payout control board 170, the launch permission signal can be output to the launch control board 174 after taking these signals into consideration. In some cases, the circuit configuration of the launch control board 174 can be simplified.

<払出制御用マイクロコンピュータの概要>
次に、図53を用いて、払出制御基板170に搭載される払出制御用マイクロコンピュータ770について説明する。図53(a)は、払出制御用マイクロコンピュータ770が備える主な端子を例示したものである。
<Overview of microcomputer for payout control>
Next, the payout control microcomputer 770 mounted on the payout control board 170 will be described with reference to FIG. 53. FIG. 53A illustrates the main terminals included in the payout control microcomputer 770.

払出制御用マイクロコンピュータ(以下、「払出制御マイコン」という場合がある)770は、2つのパラレル出力ポートPOP0,POP1と、2つのパラレル入力ポートPIP0,PIP1と、データ信号入出力端子D0〜D7と、を有して構成されている。パラレル出力ポートPOP0は、チップセレクト信号を出力可能なチップセレクト出力端子PO00/XCS0,PO01/XCS1,PO02/XCS2,PO03/XCS3,PO04/XCS4,PO05/XCSEと、シリアル通信の送信信号を出力可能な出力端子PO06/TXによって構成されている。また、パラレル出力ポートPOP1は、汎用の出力端子PO10〜PO16で構成されている。 The payout control microcomputer (hereinafter, sometimes referred to as “payout control microcomputer”) 770 has two parallel output ports POP0 and POP1, two parallel input ports PIP0 and PIP1, and data signal input / output terminals D0 to D7. , And are configured. The parallel output port POP0 can output serial communication transmission signals to chip select output terminals PO00 / XCS0, PO01 / XCS1, PO02 / XCS2, PO03 / XCS3, PO04 / XCS4, PO05 / XCSE that can output chip select signals. It is composed of various output terminals PO06 / TX. Further, the parallel output port POP1 is composed of general-purpose output terminals PO10 to PO16.

また、パラレル入力ポートPIP0は、汎用の入力端子PI00〜PI07で構成され、パラレル入力ポートPIP1は、汎用の入力端子PI10と、外部割り込み入力端子としても使用可能な入力端子PI11/XINTと、ノンマスカブル割り込み入力端子としても使用可能な入力端子PI12/XNMIと、シリアル通信の受信信号を入力可能な入力端子PI13/RXで構成されている。なお、「/」で示す端子は機能兼用端子であることを示しており、内蔵ROMのプログラム管理エリアに値を設定することにより機能を選択可能となっている。例えば、PO01/XCS1端子は、出力ポートと外部デバイスへのチップセレクト出力のいずれかの機能を選択可能な端子である。 Further, the parallel input port PIP0 is composed of general-purpose input terminals PI00 to PI07, and the parallel input port PIP1 includes a general-purpose input terminal PI10, an input terminal PI11 / XINT that can also be used as an external interrupt input terminal, and a non-maskable interrupt. It is composed of an input terminal PI12 / XNMI that can also be used as an input terminal and an input terminal PI13 / RX that can input a reception signal of serial communication. The terminal indicated by "/" indicates that the terminal is also a function-combined terminal, and the function can be selected by setting a value in the program management area of the built-in ROM. For example, the PO01 / XCS1 terminal is a terminal that can select either the output port or the chip select output to an external device.

図53(b)は、払出制御マイコン770と外部デバイス(IC)との接続を示した図(一部抜粋)である。本例では、払出制御マイコン770のデータ信号出力端子D0〜D7を3つのIC1、IC2、およびIC3にそれぞれ接続するとともに、チップセレクト出力端子PO00/XCS0を、8本の入出力端子を有するIC1に接続し、チップセレクト出力端子PO01/XCS1を、8本の入出力端子を有するIC2に接続し、チップセレクト出力端子PO02/XCS2を、8本の入出力端子を有するIC3に接続している。 FIG. 53B is a diagram (partial excerpt) showing the connection between the payout control microcomputer 770 and the external device (IC). In this example, the data signal output terminals D0 to D7 of the payout control microcomputer 770 are connected to the three IC1, IC2, and IC3, respectively, and the chip select output terminals PO00 / XCS0 are connected to the IC1 having eight input / output terminals. Connected, the chip select output terminals PO01 / XCS1 are connected to the IC2 having eight input / output terminals, and the chip select output terminals PO02 / XCS2 are connected to the IC3 having eight input / output terminals.

本例では、IC1から8ビットのデータを入力する場合には、チップセレクト出力端子PO00/XCS0にローレベルの信号を出力することでIC1を選択した上で、データ信号入出力端子D0〜D7からデータを入力する。また、IC2に8ビットのデータを出力する場合には、チップセレクト出力端子PO01/XCS1にローレベルの信号を出力することでIC2を選択した上で、データ信号入出力端子D0〜D7からデータを出力する。また、IC3に8ビットのデータを出力する場合には、チップセレクト出力端子PO02/XCS2にローレベルの信号を出力することでIC3を選択した上で、データ信号入出力端子D0〜D7からデータを出力する。 In this example, when 8-bit data is input from IC1, IC1 is selected by outputting a low-level signal to the chip select output terminals PO00 / XCS0, and then from the data signal input / output terminals D0 to D7. Enter the data. When outputting 8-bit data to IC2, select IC2 by outputting a low-level signal to the chip select output terminals PO01 / XCS1 and then output data from the data signal input / output terminals D0 to D7. Output. When outputting 8-bit data to the IC3, select the IC3 by outputting a low-level signal to the chip select output terminals PO02 / XCS2, and then output the data from the data signal input / output terminals D0 to D7. Output.

なお、本例では、IC1〜IC3のチップセレクト入力がローアクティブの場合の例を示したが、IC1〜IC3のチップセレクト入力がハイアクティブの場合には、チップセレクト出力端子PO00/XCS0,PO01/XCS1,PO02/XCS2から出力する信号の論理を反転させればよい。 In this example, the case where the chip select input of IC1 to IC3 is low active is shown, but when the chip select input of IC1 to IC3 is high active, the chip select output terminals PO00 / XCS0, PO01 / The logic of the signals output from XCS1 and PO02 / XCS2 may be inverted.

<メインコマンド>
次に、図54を用いて、主制御部300(主制御基板156)から第1副制御部400(第1副制御基板160)に送信されるメインコマンドについて説明する。なお、図54は、メインコマンドの一例を示した図である。
<Main command>
Next, the main command transmitted from the main control unit 300 (main control board 156) to the first sub control unit 400 (first sub control board 160) will be described with reference to FIG. 54. Note that FIG. 54 is a diagram showing an example of the main command.

本例のメインコマンドは、16ビット長のデータからなり、8ビット長の上位コマンドと8ビット長の下位コマンドに分類される。上位コマンドのビット6〜ビット4は、メインコマンドのグループを表す固定データであり、例えば、メインコマンドは、電源投入コマンド、特図保留球数コマンド等の遊技状態に関するコマンド、デバイスコマンド等のグループに分類される。また、上位コマンドのビット3〜0は、同一グループのコマンドを識別するためのデータである。なお、上記コマンドのビット7(最上位ビット)は、STB(ストローブ情報)の値が格納される領域であり、STB(ストローブ情報)の値がオンの場合、メインコマンドがセットされていることを示している。 The main command of this example consists of 16-bit length data, and is classified into an 8-bit length upper command and an 8-bit length lower command. Bits 6 to 4 of the upper command are fixed data representing a group of main commands. For example, the main command is a group of commands related to the game state such as a power-on command, a special figure holding ball number command, and a device command. being classified. Bits 3 to 0 of the upper command are data for identifying commands in the same group. Note that bit 7 (most significant bit) of the above command is an area in which the STB (most significant bit) value is stored, and when the STB (strobe information) value is on, the main command is set. Shown.

また、下位コマンドのビット7〜ビット0は、各コマンドのパラメータ(数、種別、状態、回数、各種フラグなど)を表す可変データである。例えば、特図保留数コマンド1の下位コマンドには、当該コマンドのパラメータとして、特図1保留球数を示す数値が格納され、デバイスコマンド1−1の下位コマンドには、当該コマンドのパラメータとして、払出制御通信異常検出状態、盤面スイッチレベル異常検出状態、外部クロック異常検出状態、衝撃、磁気異常検出状態、磁界異常検出状態が格納される。 Bits 7 to 0 of the lower command are variable data representing parameters (number, type, state, number of times, various flags, etc.) of each command. For example, the lower command of the special figure hold number command 1 stores a numerical value indicating the number of special figure 1 hold balls as a parameter of the command, and the lower command of the device command 1-1 is a parameter of the command. The payout control communication abnormality detection status, board switch level abnormality detection status, external clock abnormality detection status, impact, magnetic abnormality detection status, and magnetic field abnormality detection status are stored.

また、たとえば、特図変動停止コマンドは、特図の変動停止時に送信するコマンドであり、発射位置コマンドは、特図の停止後の、確定ウェイト時間(例えば、600ms)の経過後に送信するコマンドである。主制御部300は、確定ウェイト時間の経過後に遊技状態を変化させており、例えば、電サポは、当該タイミングで終了し、右打ち表示灯224の消灯も、当該タイミングで行う。他のコマンドのパラメータは同図に示すとおりである。 Further, for example, the special figure fluctuation stop command is a command to be transmitted when the special figure fluctuation is stopped, and the launch position command is a command to be transmitted after the fixed wait time (for example, 600 ms) has elapsed after the special figure is stopped. be. The main control unit 300 changes the gaming state after the lapse of the fixed wait time. For example, the electric support ends at the relevant timing, and the right-handed indicator lamp 224 is also turned off at the relevant timing. The parameters of the other commands are as shown in the figure.

<外部端子板信号>
次に、図55と図56を用いて、上述の外部端子板609を介して外部に出力する外部端子板信号について説明する。なお、図55は、主基板156、払出基板170、外部端子板609、および外部装置(ホールコンピュータ)670の接続例を示した図であり、図56(a)は主基板156から出力する外部端子板信号の一例を示した図であり、図56(b)は払出基板170から出力する外部端子板信号の一例を示した図である。
<External terminal board signal>
Next, the external terminal board signal to be output to the outside via the above-mentioned external terminal board 609 will be described with reference to FIGS. 55 and 56. FIG. 55 is a diagram showing a connection example of the main board 156, the payout board 170, the external terminal board 609, and the external device (hall computer) 670, and FIG. 56 (a) is a diagram showing an external output from the main board 156. FIG. 56B is a diagram showing an example of a terminal board signal, and FIG. 56B is a diagram showing an example of an external terminal board signal output from the payout board 170.

<外部端子板信号3〜10>
主基板156は、図56(a)に示す8種類の外部端子板信号3〜10を出力可能に構成している。外部端子板信号10(セキュリティ情報信号)は、電源投入時や異常検出時に、所定期間(例えば、30秒間)、所定レベル(例えば、ハイレベル)の電圧を出力する信号である。ここで、セキュリティ情報信号の出力開始条件となる「電源投入時」とは、主制御部300の電圧監視回路338に入力される低電圧信号がオフになった後(電源制御部660から主制御部300に供給している電源の電圧値が所定の値(9V)に達した後)に、第1副制御部400の起動時間が経過した場合(主制御部300がカウントする副制御部起動待ちカウンタが0になった場合)が一例として挙げられる。
<External terminal board signals 3 to 10>
The main board 156 is configured to be capable of outputting eight types of external terminal board signals 3 to 10 shown in FIG. 56 (a). The external terminal board signal 10 (security information signal) is a signal that outputs a voltage of a predetermined level (for example, high level) for a predetermined period (for example, 30 seconds) when the power is turned on or an abnormality is detected. Here, "when the power is turned on", which is the output start condition of the security information signal, is after the low voltage signal input to the voltage monitoring circuit 338 of the main control unit 300 is turned off (main control from the power control unit 660). When the start-up time of the first sub-control unit 400 elapses (after the voltage value of the power supply supplied to the unit 300 reaches a predetermined value (9 V)), the sub-control unit starts up, which is counted by the main control unit 300. (When the wait counter becomes 0) is given as an example.

また、セキュリティ情報信号の出力開始条件となる「異常検出時」とは、後述する主制御部タイマ割込処理のデバイス監視処理で監視するエラーのうち、入賞に関する異常(例えば、磁気異常エラー、磁界異常エラー)や、スイッチに関する異常(例えば、スイッチレベル異常エラー、スイッチ未接続エラー)を検出した場合が一例として挙げられる。 In addition, "at the time of abnormality detection", which is the output start condition of the security information signal, is an error related to winning (for example, magnetic abnormality error, magnetic field) among the errors monitored by the device monitoring process of the main control unit timer interrupt processing described later. An example is the case where an abnormality related to a switch (for example, a switch level abnormality error or a switch disconnection error) is detected.

外部端子板信号9(払出予定情報信号)は、遊技球の払出予定数を示す信号であり(詳細は後述)、外部端子板信号5〜8(大当り情報1〜4信号)は、特図変動遊技の当否判定結果に関する情報を示す信号であり、外部端子板信号4(始動口情報信号)は、始動口(第1特図始動口230、第2特図始動口232)に関する情報を示す信号であり、外部端子板信号3(図柄確定回数情報信号)は、普図や特図の図柄変動に関する情報を示す信号である。 The external terminal board signal 9 (payout schedule information signal) is a signal indicating the number of game balls to be paid out (details will be described later), and the external terminal board signals 5 to 8 (big hit information 1 to 4 signals) vary. It is a signal which shows the information about the hit / fail judgment result of a game, and the external terminal board signal 4 (starting port information signal) is a signal which shows the information about the starting port (the first special figure start port 230, the second special figure start port 232). The external terminal board signal 3 (symbol confirmation number information signal) is a signal indicating information regarding symbol variation of a normal figure or a special figure.

図55に示すように、主基板156の出力端子(または入出力端子)から出力される8種類の外部端子板信号3〜10は、払出基板170と外部端子板609を介して、外部装置670(例えば、ホールコンピュータ)が備える情報入力回路350に入力される。これにより、外部装置670は、主基板157が有する各種情報を取得することが可能である。なお、この例では、外部端子板信号3〜10を主基板156の出力端子(または入出力端子)から出力する例を示したが、外部端子板信号3〜10に相当する情報を、上述の出力インターフェイスを介して、主基板156から払出基板170に制御コマンドとして出力してもよい。 As shown in FIG. 55, the eight types of external terminal board signals 3 to 10 output from the output terminals (or input / output terminals) of the main board 156 are the external device 670 via the payout board 170 and the external terminal board 609. It is input to the information input circuit 350 provided in (for example, a hall computer). As a result, the external device 670 can acquire various information contained in the main board 157. In this example, an example in which the external terminal board signals 3 to 10 are output from the output terminals (or input / output terminals) of the main board 156 is shown, but the information corresponding to the external terminal board signals 3 to 10 is described above. It may be output as a control command from the main board 156 to the payout board 170 via the output interface.

また、主制御部300は、図56(a)に示すように、RAM308に1バイト長の外部出力信号情報の記憶領域を設けており、この外部出力信号情報のBit0〜Bit7には、外部端子板信号3〜10に対応する情報がそれぞれ割り当てられている。例えば、外部出力信号情報の値が10000000B(Bは2進数)の場合、外部端子板信号10に対応するセキュリティ情報が1、その他の外部端子板信号3〜9に対応する図柄確定回数情報、始動口情報、大当り情報1〜4、および払出予定情報が0であることを示している。 Further, as shown in FIG. 56A, the main control unit 300 provides a storage area for external output signal information having a length of 1 byte in the RAM 308, and Bits 0 to Bit7 of the external output signal information have external terminals. Information corresponding to the board signals 3 to 10 is assigned to each. For example, when the value of the external output signal information is 10000000B (B is a binary number), the security information corresponding to the external terminal board signal 10 is 1, the symbol confirmation number information corresponding to the other external terminal board signals 3 to 9, and the start. It shows that the oral information, the jackpot information 1 to 4, and the payout schedule information are 0.

<外部端子板信号1、2>
払出基板170は、図56(b)に示す8種類の外部端子板信号1〜2、CR遊技機READY信号、CR遊技機貸出完了信号、払出エラーLED1〜4信号を出力可能に構成している。外部端子板信号1(払出信号)は、遊技球の払出数(払出完了数)を示す信号であり(詳細は後述)、外部端子板信号2(扉開放信号)は、前面枠扉106の開放状態を示す信号であり、CR遊技機READY信号は、遊技が可能な状態であるか否かを示す信号であり、CR遊技機貸出完了信号は、後述するEXS信号であり、払出エラーLED1〜4信号は、後述する払出報知用LEDの点灯/消灯状態を示す信号である。
<External terminal board signals 1, 2>
The payout board 170 is configured to be able to output eight types of external terminal board signals 1 and 2, a CR gaming machine READY signal, a CR gaming machine rental completion signal, and a payout error LED 1 to 4 signal shown in FIG. 56B. .. The external terminal board signal 1 (payout signal) is a signal indicating the number of game balls paid out (number of completed payouts) (details will be described later), and the external terminal board signal 2 (door opening signal) is the opening of the front frame door 106. The CR game machine READY signal is a signal indicating a state, the CR game machine READY signal is a signal indicating whether or not a game is possible, and the CR game machine rental completion signal is an XS signal described later, and the payout error LEDs 1 to 4 are used. The signal is a signal indicating a lighting / extinguishing state of the payout notification LED, which will be described later.

図55に示すように、払出基板170の出力端子(または入出力端子)から出力される2種類の外部端子板信号1〜2は、外部端子板609を介して、外部装置670(例えば、ホールコンピュータ)が備える情報入力回路350に入力される。これにより、外部装置670は、払出基板170が有する各種情報を取得することが可能である。 As shown in FIG. 55, the two types of external terminal board signals 1 and 2 output from the output terminal (or input / output terminal) of the payout board 170 are transmitted to the external device 670 (for example, a hole) via the external terminal board 609. It is input to the information input circuit 350 provided in the computer). As a result, the external device 670 can acquire various information contained in the payout board 170.

また、払出制御部600は、図56(b)に示すように、RAMに1バイト長の外部出力信号情報の記憶領域を設けており、この外部出力信号情報のBit0〜Bit7には、外部端子板信号1〜2、CR遊技機READY信号、CR遊技機貸出完了信号、払出しエラーLED1〜4信号に対応する情報がそれぞれ割り当てられている。例えば、外部出力信号情報の値が00000001B(Bは2進数)の場合、外部端子板信号1に対応する払出情報が1、その他の外部端子板信号2に対応する扉開放情報、CR遊技機READY信号に対応する情報、CR遊技機貸出完了信号に対応する情報、および払出しエラーLED1〜4信号に対応する情報が0であることを示している。 Further, as shown in FIG. 56B, the payout control unit 600 provides a storage area for external output signal information having a length of 1 byte in the RAM, and Bits 0 to Bit7 of the external output signal information have external terminals. Information corresponding to the board signals 1 and 2, the CR game machine READY signal, the CR game machine lending completion signal, and the payout error LEDs 1 to 4 signals is assigned, respectively. For example, when the value of the external output signal information is 00000001B (B is a binary number), the payout information corresponding to the external terminal board signal 1 is 1, the door opening information corresponding to the other external terminal board signal 2, the CR game machine READY. It is shown that the information corresponding to the signal, the information corresponding to the CR game machine rental completion signal, and the information corresponding to the payout error LEDs 1 to 4 signals are 0.

<外部端子板信号の他の接続例>
次に、図57を用いて、外部端子板信号の他の接続例について説明する。図57(a)は、上記図55に示した接続例に対して、主基板と払出基板の配置を逆にした接続例である。この例では、払出基板170の出力端子(または入出力端子)から出力される2種類の外部端子板信号1〜2は、主基板156と外部端子板609を介して、外部装置670が備える情報入力回路350に入力される。また、主基板156の出力端子(または入出力端子)から出力される8種類の外部端子板信号3〜10は、(払出基板170を介することなく)外部端子板609を介して、外部装置670が備える情報入力回路350に入力される。
<Other connection examples of external terminal board signals>
Next, another connection example of the external terminal board signal will be described with reference to FIG. 57. FIG. 57A is a connection example in which the arrangement of the main board and the payout board is reversed with respect to the connection example shown in FIG. 55. In this example, the two types of external terminal board signals 1 and 2 output from the output terminal (or input / output terminal) of the payout board 170 are information provided in the external device 670 via the main board 156 and the external terminal board 609. It is input to the input circuit 350. Further, the eight types of external terminal board signals 3 to 10 output from the output terminal (or input / output terminal) of the main board 156 are transmitted to the external device 670 via the external terminal board 609 (without going through the payout board 170). Is input to the information input circuit 350 provided in.

このような構成とすれば、払出基板170に何らかの異常が生じた場合でも、払出基板170を介さない8種類の外部端子板信号3〜10を主基板156から外部装置670に出力することが可能である。このため、例えば、払出基板170の異常により外部端子板信号1(払出情報信号)を外部装置670に出力することができなくても、主基板156が正常に動作していれば、主基板156から外部端子板信号9(払出予定情報信号)を外部装置670に出力することができ、遊技媒体の払出数に関する情報を外部装置670に確実に伝えることが可能となる。 With such a configuration, even if some abnormality occurs in the payout board 170, it is possible to output eight types of external terminal board signals 3 to 10 from the main board 156 to the external device 670 without going through the payout board 170. Is. Therefore, for example, even if the external terminal board signal 1 (payout information signal) cannot be output to the external device 670 due to an abnormality in the payout board 170, if the main board 156 is operating normally, the main board 156 The external terminal board signal 9 (payout schedule information signal) can be output to the external device 670, and information regarding the number of game media payouts can be reliably transmitted to the external device 670.

また、図57(b)は、主基板156と払出基板170の両方を直接、外部端子板609に接続した接続例である。この例では、払出基板170の出力端子(または入出力端子)から出力される2種類の外部端子板信号1〜2は、(主基板156を介することなく)外部端子板609を介して、外部装置670が備える情報入力回路350に入力される。また、主基板156の出力端子(または入出力端子)から出力される8種類の外部端子板信号3〜10は、(払出基板170を介することなく)外部端子板609を介して、外部装置670が備える情報入力回路350に入力される。 Further, FIG. 57B is a connection example in which both the main board 156 and the payout board 170 are directly connected to the external terminal board 609. In this example, the two types of external terminal board signals 1 and 2 output from the output terminal (or input / output terminal) of the payout board 170 are externally transmitted via the external terminal board 609 (without passing through the main board 156). It is input to the information input circuit 350 included in the device 670. Further, the eight types of external terminal board signals 3 to 10 output from the output terminal (or input / output terminal) of the main board 156 are transmitted to the external device 670 via the external terminal board 609 (without going through the payout board 170). Is input to the information input circuit 350 provided in.

このような構成とすれば、払出基板170に何らかの異常が生じた場合でも、払出基板170を介さない8種類の外部端子板信号3〜10を主基板156から外部装置670に出力することが可能であるとともに、主基板156に何らかの異常が生じた場合でも、主基板156を介さない2種類の外部端子板信号1〜2を払出基板170から外部装置670に出力することが可能である。 With such a configuration, even if some abnormality occurs in the payout board 170, it is possible to output eight types of external terminal board signals 3 to 10 from the main board 156 to the external device 670 without going through the payout board 170. In addition, even if some abnormality occurs in the main board 156, it is possible to output two types of external terminal board signals 1 and 2 from the payout board 170 to the external device 670 without passing through the main board 156.

このため、例えば、払出基板170の異常により外部端子板信号1(払出情報信号)を外部装置670に出力することができなくても、主基板156が正常に動作していれば、主基板156から外部端子板信号9(払出予定情報信号)を外部装置670に出力することができ、また、主基板156の異常により外部端子板信号9(払出予定情報信号)を外部装置670に出力することができなくても、払出基板170が正常に動作していれば、払出基板170から外部端子板信号1(払出情報信号)を外部装置670に出力することができ、遊技媒体の払出数に関する情報を外部装置670に確実に伝えることが可能となる。 Therefore, for example, even if the external terminal board signal 1 (payout information signal) cannot be output to the external device 670 due to an abnormality in the payout board 170, if the main board 156 is operating normally, the main board 156 The external terminal board signal 9 (payout schedule information signal) can be output to the external device 670, and the external terminal board signal 9 (payout schedule information signal) can be output to the external device 670 due to an abnormality in the main board 156. If the payout board 170 is operating normally, the external terminal board signal 1 (payout information signal) can be output from the payout board 170 to the external device 670, and information on the number of game media payouts can be output. Can be reliably transmitted to the external device 670.

<主制御部タイマ割込処理>
次に、図58を用いて、主制御部300のCPU304が実行する主制御部タイマ割込処理について説明する。なお、同図は主制御部タイマ割込処理の流れを示すフローチャートである。
<Main control unit timer interrupt processing>
Next, the main control unit timer interrupt process executed by the CPU 304 of the main control unit 300 will be described with reference to FIG. 58. The figure is a flowchart showing the flow of the timer interrupt process of the main control unit.

主制御部300は、所定の周期(本実施形態では約4msに1回)でタイマ割込信号を発生するカウンタタイマ312を備えており、このタイマ割込信号を契機として主制御部タイマ割込処理を所定の周期で開始する。 The main control unit 300 includes a counter timer 312 that generates a timer interrupt signal at a predetermined cycle (once every 4 ms in the present embodiment), and the timer interrupt signal is used as a trigger for the main control unit timer interrupt. The process is started at a predetermined cycle.

なお、WDT314のクリア&リスタートは、タイマ割込処理で行わずに、メイン処理におけるループ処理の先頭(例えばステップS121の実行前)などで行うように構成してもよい。 The WDT314 may be cleared and restarted not by the timer interrupt process but at the beginning of the loop process in the main process (for example, before the execution of step S121).

ステップS205では、入力ポート状態更新処理を行う。この入力ポート状態更新処理では、I/O310の入力ポートを介して、上述の前面枠扉開放センサや内枠開放センサや下皿満タンセンサ、各種の球検出センサを含む各種センサ320の検出信号を入力して検出信号の有無を監視し、RAM308に各種センサ320ごとに区画して設けた信号状態記憶領域に記憶する。球検出センサの検出信号を例にして説明すれば、前々回のタイマ割込処理(約4ms前)で検出した各々の球検出センサの検出信号の有無の情報を、RAM308に各々の球検出センサごとに区画して設けた前回検出信号記憶領域から読み出し、この情報をRAM308に各々の球検出センサごとに区画して設けた前々回検出信号記憶領域に記憶し、前回のタイマ割込処理(約4ms前)で検出した各々の球検出センサの検出信号の有無の情報を、RAM308に各々の球検出センサごとに区画して設けた今回検出信号記憶領域から読み出し、この情報を上述の前回検出信号記憶領域に記憶する。また、今回検出した各々の球検出センサの検出信号を、上述の今回検出信号記憶領域に記憶する。 In step S205, the input port state update process is performed. In this input port state update process, the detection signals of various sensors 320 including the above-mentioned front frame door opening sensor, inner frame opening sensor, lower plate full tank sensor, and various ball detection sensors are transmitted via the input port of the I / O 310. It is input to monitor the presence or absence of a detection signal, and is stored in a signal state storage area provided in the RAM 308 for each of the various sensors 320. Taking the detection signal of the ball detection sensor as an example, the information on the presence or absence of the detection signal of each ball detection sensor detected in the timer interrupt processing (about 4 ms before) two times before is stored in the RAM 308 for each ball detection sensor. Read from the previous detection signal storage area provided separately in ), The information on the presence or absence of the detection signal of each ball detection sensor is read out from the current detection signal storage area provided in the RAM 308 for each ball detection sensor, and this information is read out from the above-mentioned previous detection signal storage area. Remember in. Further, the detection signal of each sphere detection sensor detected this time is stored in the above-mentioned detection signal storage area this time.

また、ステップS205では、上述の前々回検出信号記憶領域、前回検出信号記憶領域、および今回検出信号記領域の各記憶領域に記憶した各々の球検出センサの検出信号の有無の情報を比較し、各々の球検出センサにおける過去3回分の検出信号の有無の情報が入賞判定パターン情報と一致するか否かを判定する。一個の遊技球が一つの球検出センサを通過する間に、約4msという非常に短い間隔で起動を繰り返すこの主制御部タイマ割込処理は何回か起動する。このため、主制御部タイマ割込処理が起動する度に、上述のステップS205では、同じ遊技球が同じ球検出センサを通過したことを表す検出信号を確認することになる。この結果、上述の前々回検出信号記憶領域、前回検出信号記憶領域、および今回検出信号記領域それぞれに、同じ遊技球が同じ球検出センサを通過したことを表す検出信号が記憶される。すなわち、遊技球が球検出センサを通過し始めたときには、前々回検出信号無し、前回検出信号有り、今回検出信号有りになる。本実施形態では、球検出センサの誤検出やノイズを考慮して、検出信号無しの後に検出信号が連続して2回記憶されている場合には、入賞があったと判定する。 Further, in step S205, the information on the presence / absence of the detection signal of each sphere detection sensor stored in each storage area of the above-mentioned two-time detection signal storage area, the previous detection signal storage area, and the current detection signal storage area is compared, and each of them is compared. It is determined whether or not the information on the presence / absence of the detection signals for the past three times in the ball detection sensor of the above matches the winning determination pattern information. While one game ball passes through one ball detection sensor, this main control unit timer interrupt process, which repeats activation at a very short interval of about 4 ms, is activated several times. Therefore, every time the main control unit timer interrupt process is activated, in step S205 described above, a detection signal indicating that the same game ball has passed the same ball detection sensor is confirmed. As a result, a detection signal indicating that the same game ball has passed through the same ball detection sensor is stored in each of the above-mentioned two-time detection signal storage area, the previous detection signal storage area, and the current detection signal writing area. That is, when the game ball starts to pass through the ball detection sensor, there is no detection signal two times before, there is a previous detection signal, and there is a detection signal this time. In the present embodiment, in consideration of erroneous detection and noise of the ball detection sensor, if the detection signal is stored twice in succession after no detection signal, it is determined that a prize has been won.

主制御部300のROM306には、入賞判定パターン情報(本実施形態では、前々回検出信号無し、前回検出信号有り、今回検出信号有りであることを示す情報)が記憶されている。このステップS205では、各々の球検出センサにおいて過去3回分の検出信号の有無の情報が、予め定めた入賞判定パターン情報(本実施形態では、前々回検出信号無し、前回検出信号有り、今回検出信号有りであることを示す情報)と一致した場合に、一般入賞口226、可変入賞口234、第1特図始動口230、および第2特図始動口232への入球、または普図始動口228の通過があったと判定する。すなわち、これらの入賞口226、234やこれらの始動口230、232、228への入賞があったと判定する。例えば、一般入賞口226への入球を検出する一般入賞口センサにおいて過去3回分の検出信号の有無の情報が上述の入賞判定パターン情報と一致した場合には、一般入賞口226へ入賞があったと判定し、以降の一般入賞口226への入賞に伴う処理を行うが、過去3回分の検出信号の有無の情報が上述の入賞判定パターン情報と一致しなかった場合には、以降の一般入賞口226への入賞に伴う処理を行わずに後続の処理に分岐する。 The ROM 306 of the main control unit 300 stores the winning determination pattern information (in the present embodiment, information indicating that there is no detection signal two times before, there is a detection signal last time, and there is a detection signal this time). In this step S205, the information on the presence / absence of the detection signals for the past three times in each ball detection sensor is the predetermined winning determination pattern information (in this embodiment, there is no detection signal two times before, there is a previous detection signal, and there is a detection signal this time. If it matches with (information indicating that), the ball enters the general winning opening 226, the variable winning opening 234, the first special drawing starting port 230, and the second special drawing starting opening 232, or the normal drawing starting opening 228. It is judged that there was a passage of. That is, it is determined that the winning openings 226 and 234 and the starting openings 230, 232 and 228 have been won. For example, in the general winning opening sensor that detects the entry into the general winning opening 226, if the information on the presence or absence of the detection signals for the past three times matches the above-mentioned winning determination pattern information, the general winning opening 226 is awarded. If the information on the presence or absence of the detection signal for the past three times does not match the above-mentioned winning judgment pattern information, the subsequent general winning is performed. It branches to the subsequent processing without performing the processing associated with the winning of the mouth 226.

なお、主制御部300のROM306には、入賞判定クリアパターン情報(本実施形態では、前々回検出信号有り、前回検出信号無し、今回検出信号無しであることを示す情報)が記憶されている。入賞が一度あったと判定した後は、各々の球検出センサにおいて過去3回分の検出信号の有無の情報が、その入賞判定クリアパターン情報に一致するまで入賞があったとは判定せず、入賞判定クリアパターン情報に一致すれば、次からは上記入賞判定パターン情報に一致するか否かの判定を行う。また、払出制御手段を介さずに発射強度状態信号や発射強度切替スイッチ信号を入力する場合には、当該ステップS205の処理で入出力の検出を行うように構成してもよい。 The ROM 306 of the main control unit 300 stores the winning determination clear pattern information (in the present embodiment, information indicating that there is a detection signal two times before, no detection signal last time, and no detection signal this time). After it is determined that there has been a prize once, it is not determined that there has been a prize until the information on the presence or absence of the detection signals for the past three times in each ball detection sensor matches the prize judgment clear pattern information, and the prize judgment is cleared. If it matches the pattern information, it is next to determine whether or not it matches the above-mentioned winning determination pattern information. Further, when the emission intensity state signal or the emission intensity changeover switch signal is input without going through the payout control means, the input / output may be detected in the process of step S205.

ステップS207およびステップS209では、基本乱数初期値更新処理および基本乱数更新処理を行う。これらの基本乱数初期値更新処理および基本乱数更新処理では、上記ステップS115で行った初期値生成用乱数カウンタの値の更新を行い、次に主制御部300で使用する、普図当選乱数値、特図1乱数値、および特図2乱数値をそれぞれ生成するための2つの乱数カウンタを更新する。例えば、普図当選乱数値として取り得る数値範囲が0〜100とすると、RAM308に設けた普図当選乱数値を生成するための乱数カウンタ記憶領域から値を取得し、取得した値に1を加算してから元の乱数カウンタ記憶領域に記憶する。このとき、取得した値に1を加算した結果が101であれば0を元の乱数カウンタ記憶領域に記憶する。また、取得した値に1を加算した結果、乱数カウンタが一周していると判定した場合にはそれぞれの乱数カウンタに対応する初期値生成用乱数カウンタの値を取得し、乱数カウンタの記憶領域にセットする。 In step S207 and step S209, the basic random number initial value update process and the basic random number update process are performed. In these basic random number initial value update processing and basic random number update processing, the value of the initial value generation random number counter performed in step S115 is updated, and then the normal figure winning random number value used in the main control unit 300, The two random number counters for generating the special figure 1 random number value and the special figure 2 random number value are updated. For example, assuming that the numerical range that can be taken as the normal figure winning random number value is 0 to 100, a value is acquired from the random number counter storage area for generating the general figure winning random number value provided in the RAM 308, and 1 is added to the acquired value. Then, it is stored in the original random number counter storage area. At this time, if the result of adding 1 to the acquired value is 101, 0 is stored in the original random number counter storage area. If it is determined that the random number counter has gone around as a result of adding 1 to the acquired value, the value of the initial value generation random number counter corresponding to each random number counter is acquired and stored in the storage area of the random number counter. set.

例えば、0〜100の数値範囲で変動する普図当選乱数値生成用の乱数カウンタから値を取得し、取得した値に1を加算した結果が、RAM308に設けた所定の初期値記憶領域に記憶している前回設定した初期値と等しい値(例えば7)である場合に、普図当選乱数値生成用の乱数カウンタに対応する初期値生成用乱数カウンタから値を初期値として取得し、普図当選乱数値生成用の乱数カウンタにセットすると共に、普図当選乱数値生成用の乱数カウンタが次に1周したことを判定するために、今回設定した初期値を上述の初期値記憶領域に記憶しておく。また、普図当選乱数値生成用の乱数カウンタが次に1周したことを判定するための上述の初期値記憶領域とは別に、特図乱数生成用の乱数カウンタが1周したことを判定するための初期値記憶領域をRAM308に設けている。なお、本実施形態では特図1の乱数値を取得するためのカウンタと特図2の乱数値を取得するためのカウンタとを別に設けたが、同一のカウンタを用いてもよい。 For example, a value is acquired from a random number counter for generating a winning random number value that fluctuates in a numerical range of 0 to 100, and the result of adding 1 to the acquired value is stored in a predetermined initial value storage area provided in the RAM 308. If the value is equal to the previously set initial value (for example, 7), the value is acquired as the initial value from the initial value generation random number counter corresponding to the random number counter for generating the winning random number value, and the general figure is used. The initial value set this time is stored in the above-mentioned initial value storage area in order to set it in the random number counter for generating the winning random value and to determine that the random number counter for generating the winning random value has made one round next. I will do it. In addition to the above-mentioned initial value storage area for determining that the random number counter for generating the winning random number of the normal figure has made one round, it is determined that the random number counter for generating the special figure random number has made one round. The RAM 308 is provided with an initial value storage area for this purpose. In the present embodiment, a counter for acquiring the random value of Special Figure 1 and a counter for acquiring the random value of Special Figure 2 are separately provided, but the same counter may be used.

ステップS211では、演出乱数更新処理を行う。この演出乱数更新処理では、主制御部300で使用する演出用乱数値を生成するための乱数カウンタを更新する。ステップS212では、割込み機能限定カウンタが0であるか否かの判定を行い、割込み機能限定カウンタが0以外の場合、ステップS213に進む。一方、割込み機能限定カウンタが0の場合、ステップS214に進む。ステップS213では、割込み機能限定カウンタを1減算し、その後、ステップS215〜S235の処理を行うことなく、ステップS239に進む。 In step S211 the effect random number update process is performed. In this effect random number update process, the random number counter for generating the effect random number value used by the main control unit 300 is updated. In step S212, it is determined whether or not the interrupt function limitation counter is 0, and if the interrupt function limitation counter is other than 0, the process proceeds to step S213. On the other hand, when the interrupt function limitation counter is 0, the process proceeds to step S214. In step S213, the interrupt function limitation counter is decremented by 1, and then the process proceeds to step S239 without performing the processes of steps S215 to S235.

ステップS214では、特定異常検出フラグ(詳細は後述)がONであるか否かの判定を行い、特定異常検出フラグがONの場合、ステップS215〜S235の処理を行うことなく、ステップS239に進む。一方、特定異常検出フラグがOFFの場合、ステップS215に進む。 In step S214, it is determined whether or not the specific abnormality detection flag (details will be described later) is ON, and if the specific abnormality detection flag is ON, the process proceeds to step S239 without performing the processes of steps S215 to S235. On the other hand, if the specific abnormality detection flag is OFF, the process proceeds to step S215.

ステップS215では、タイマ更新処理を行う。このタイマ更新処理では、普通図柄表示装置210に図柄を変動・停止表示する時間を計時するための普図表示図柄更新タイマ、第1特別図柄表示装置212に図柄を変動・停止表示する時間を計時するための特図1表示図柄更新タイマ、第2特図表示装置214に図柄を変動・停止表示する時間を計時するための特図2表示図柄更新タイマ、所定の入賞演出時間、所定の開放時間、所定の閉鎖時間、所定の終了演出期間などを計時するためのタイマなどを含む各種タイマを更新する。 In step S215, the timer update process is performed. In this timer update process, the normal symbol display symbol update timer for measuring the time for displaying the symbol on the normal symbol display device 210 and the time for displaying the symbol on the first special symbol display 212 is timed. Special figure 1 display symbol update timer for counting, special figure 2 display symbol update timer for measuring the time for changing / stopping the symbol on the second special symbol display device 214, predetermined winning effect time, predetermined opening time , Update various timers including a timer for measuring a predetermined closing time, a predetermined end effect period, and the like.

ステップS216では、入賞口カウンタ更新処理を行う。この入賞口カウンタ更新処理では、入賞口226、234や始動口230、232、228に入賞があった場合に、RAM308に各入賞口ごと、あるいは各始動口ごとに設けた賞球数記憶領域の値を読み出し、1を加算して、元の賞球数記憶領域に設定する。 In step S216, the winning opening counter update process is performed. In this winning opening counter update process, when there is a prize in the winning openings 226, 234 and the starting openings 230, 232, and 228, the winning ball number storage area provided in the RAM 308 for each winning opening or each starting opening is stored. The value is read, 1 is added, and the original prize ball number storage area is set.

また、ステップS217では、入賞受付処理を行う。詳細は後述するが、この入賞受付処理では、一般入賞口226、第1特図始動口230、第2特図始動口232、普図始動口228、および可変入賞口234への入賞があったか否かを判定し、入賞があった場合に、RAM308に入賞口および始動口毎に設けた賞球数記憶領域に、対応する賞球数を記憶する。ステップS219では、シリアルコマンド管理処理を行う。詳細は後述するが、このシリアルコマンド管理処理では、払出制御部600とのシリアル通信の管理等を行う。 Further, in step S217, the winning prize acceptance process is performed. Details will be described later, but in this prize acceptance process, whether or not there was a prize in the general prize opening 226, the first special figure start port 230, the second special figure start port 232, the normal figure start port 228, and the variable prize opening 234. When a prize is won, the corresponding number of prize balls is stored in the prize ball number storage area provided for each of the winning opening and the starting opening in the RAM 308. In step S219, serial command management processing is performed. Details will be described later, but in this serial command management process, serial communication with the payout control unit 600 is managed.

ステップS221では、普図状態更新処理を行う。この普図状態更新処理は、普図の状態に対応する複数の処理のうちの1つの処理を行う。例えば、普図変動表示の途中(上述する普図表示図柄更新タイマの値が1以上)における普図状態更新処理では、普通図柄表示装置210を構成する7セグメントLEDの点灯と消灯を繰り返す点灯・消灯駆動制御を行う。この制御を行うことで、普通図柄表示装置210は普図の変動表示(普図変動遊技)を行う。 In step S221, the normal map state update process is performed. This normal map state update process performs one of a plurality of processes corresponding to the normal map state. For example, in the normal figure state update process in the middle of the normal figure fluctuation display (the value of the above-mentioned normal figure display symbol update timer is 1 or more), the 7-segment LED constituting the normal symbol display device 210 is repeatedly turned on and off. Turns off Drive control is performed. By performing this control, the normal symbol display device 210 performs a variable display of the normal map (a variable game of the normal map).

また、普図変動表示時間が経過したタイミング(普図表示図柄更新タイマの値が1から0になったタイミング)における普図状態更新処理では、当りフラグがオンの場合には、当り図柄の表示態様となるように普通図柄表示装置210を構成する7セグメントLEDの点灯・消灯駆動制御を行い、当りフラグがオフの場合には、外れ図柄の表示態様となるように普通図柄表示装置210を構成する7セグメントLEDの点灯・消灯駆動制御を行う。また、主制御部300のRAM308には、普図状態更新処理に限らず各種の処理において各種の設定を行う設定領域が用意されている。ここでは、上記点灯・消灯駆動制御を行うとともに、その設定領域に普図停止表示中であることを示す設定を行う。この制御を行うことで、普通図柄表示装置210は、当り図柄(普図A)および外れ図柄(普図B)いずれか一方の図柄の確定表示を行う。さらにその後、所定の停止表示期間(例えば500m秒間)、その表示を維持するためにRAM308に設けた普図停止時間管理用タイマの記憶領域に停止期間を示す情報を設定する。この設定により、確定表示された図柄が所定期間停止表示され、普図変動遊技の結果が遊技者に報知される。 Further, in the normal figure state update process at the timing when the normal figure fluctuation display time elapses (the timing when the value of the normal figure display symbol update timer changes from 1 to 0), when the hit flag is on, the hit symbol is displayed. The 7-segment LED that constitutes the normal symbol display device 210 is controlled to turn on / off so as to be in the mode, and when the hit flag is off, the normal symbol display device 210 is configured so as to display the out-of-line symbol. Controls the lighting and extinguishing of the 7-segment LED. Further, the RAM 308 of the main control unit 300 is provided with a setting area for performing various settings not only in the normal figure state update process but also in various processes. Here, the lighting / extinguishing drive control is performed, and a setting indicating that the normal drawing stop display is in progress is performed in the setting area. By performing this control, the normal symbol display device 210 performs definite display of either the hit symbol (normal symbol A) or the missed symbol (general symbol B). After that, for a predetermined stop display period (for example, 500 msec), information indicating the stop period is set in the storage area of the normal figure stop time management timer provided in the RAM 308 to maintain the display. With this setting, the confirmed and displayed symbol is stopped and displayed for a predetermined period, and the result of the normal map variation game is notified to the player.

また、普図変動遊技の結果が当りであれば、後述するように、普図当りフラグがオンされる。この普図当りフラグがオンの場合には、所定の停止表示期間が終了したタイミング(普図停止時間管理用タイマの値が1から0になったタイミング)における普図状態更新処理では、RAM308の設定領域に普図作動中を設定するとともに、所定の開放期間(例えば2秒間)、第2特図始動口232の羽根部材232aの開閉駆動用のソレノイド(332)に、羽根部材232aを開放状態に保持する信号を出力するとともに、RAM308に設けた羽根開放時間管理用タイマの記憶領域に開放期間を示す情報を設定する。 If the result of the normal map fluctuation game is a hit, the normal map hit flag is turned on, as will be described later. When this normal figure hit flag is on, in the normal figure state update process at the timing when the predetermined stop display period ends (the timing when the value of the normal figure stop time management timer changes from 1 to 0), the RAM 308 The blade member 232a is open to the solenoid (332) for opening / closing the blade member 232a of the second special figure start port 232 for a predetermined opening period (for example, 2 seconds) while setting the normal drawing operation in the setting area. In addition to outputting the signal held in the RAM 308, information indicating the opening period is set in the storage area of the blade opening time management timer provided in the RAM 308.

また、所定の開放期間が終了したタイミング(羽根開放時間管理用タイマの値が1から0になったタイミング)で開始する普図状態更新処理では、所定の閉鎖期間(例えば500m秒間)、羽根部材の開閉駆動用のソレノイド332に、羽根部材を閉鎖状態に保持する信号を出力するとともに、RAM308に設けた羽根閉鎖時間管理用タイマの記憶領域に閉鎖期間を示す情報を設定する。 Further, in the normal drawing state update process that starts at the timing when the predetermined opening period ends (the timing when the value of the blade opening time management timer changes from 1 to 0), the blade member has a predetermined closing period (for example, 500 msec). A signal for holding the blade member in the closed state is output to the opening / closing drive solenoid 332, and information indicating the closing period is set in the storage area of the blade closing time management timer provided in the RAM 308.

また、所定の閉鎖期間が終了したタイミング(羽根閉鎖時間管理用タイマの値が1から0になったタイミング)で開始する普図状態更新処理では、RAM308の設定領域に普図非作動中を設定する。さらに、普図変動遊技の結果が外れであれば、後述するように、普図外れフラグがオンされる。この普図外れフラグがオンの場合には、上述した所定の停止表示期間が終了したタイミング(普図停止時間管理用タイマの値が1から0になったタイミング)における普図状態更新処理でも、RAM308の設定領域に普図非作動中を設定する。普図非作動中の場合における普図状態更新処理では、何もせずに次のステップS223に移行するようにしている。 Further, in the normal figure state update process that starts at the timing when the predetermined closing period ends (the timing when the value of the blade closing time management timer changes from 1 to 0), the setting area of the RAM 308 is set to be inactive. do. Further, if the result of the normal-figure variable game is out of order, the non-normal-figure flag is turned on, as will be described later. When this out-of-normal flag is on, even in the normal-figure state update process at the end of the predetermined stop display period described above (the timing when the value of the normal-figure stop time management timer changes from 1 to 0). Set the setting area of the RAM 308 to be inactive. In the normal map state update process when the normal map is not operating, the process proceeds to the next step S223 without doing anything.

ステップS223では、普図関連抽選処理を行う。この普図関連抽選処理では、普図変動遊技および第2特図始動口232の開閉制御を行っておらず(普図の状態が非作動中)、且つ、保留している普図変動遊技の数が1以上である場合に、上述の乱数値記憶領域に記憶している普図当選乱数値に基づいた乱数抽選により普図変動遊技の結果を当選とするか、不当選とするかを決定する当り判定をおこない、当選とする場合にはRAM308に設けた当りフラグにオンを設定する。不当選の場合には、当りフラグにオフを設定する。また、当り判定の結果に関わらず、次に上述の普図タイマ乱数値生成用の乱数カウンタの値を普図タイマ乱数値として取得し、取得した普図タイマ乱数値に基づいて複数の変動時間のうちから普図表示装置210に普図を変動表示する時間を1つ選択し、この変動表示時間を、普図変動表示時間として、RAM308に設けた普図変動時間記憶領域に記憶する。なお、保留している普図変動遊技の数は、RAM308に設けた普図保留数記憶領域に記憶するようにしており、当り判定をするたびに、保留している普図変動遊技の数から1を減算した値を、この普図保留数記憶領域に記憶し直すようにしている。また当り判定に使用した乱数値を消去する。 In step S223, the drawing-related lottery process is performed. In this normal figure-related lottery process, the normal figure variable game and the open / closed control of the second special figure start port 232 are not performed (the state of the normal figure is not operating), and the normal figure variable game is held. When the number is 1 or more, it is determined whether the result of the normal figure variation game is won or not won by the random number lottery based on the normal figure winning random number value stored in the above-mentioned random number value storage area. If the winning is determined, the hit flag provided in the RAM 308 is set to ON. In case of unsuccessful, set the hit flag to off. Further, regardless of the result of the hit determination, the value of the random number counter for generating the above-mentioned normal figure timer random value is then acquired as the normal figure timer random value, and a plurality of fluctuation times are obtained based on the acquired normal figure timer random value. One of the time for variable display of the normal map on the normal map display device 210 is selected, and this variable display time is stored in the normal map variable time storage area provided in the RAM 308 as the normal map variable display time. It should be noted that the number of reserved normal figure variable games is stored in the normal figure reserved number storage area provided in the RAM 308, and each time a hit determination is made, the number of reserved normal figure variable games is calculated. The value obtained by subtracting 1 is stored again in this reserved number storage area. Also, the random value used for the hit judgment is deleted.

ステップS224では、特図先読み制御処理を行う。この特図先読み制御処理では、特図当選乱数値などの先読みを行う。次いで、特図1および特図2それぞれについての特図状態更新処理を行うが、最初に、特図2についての特図状態更新処理(特図2状態更新処理)を行う(ステップS225)。この特図2状態更新処理は、特図2の状態に応じて、次の8つの処理のうちの1つの処理を行う。例えば、特図2変動表示の途中(上述の特図2表示図柄更新タイマの値が1以上)における特図2状態更新処理では、第2特別図柄表示装置214を構成する7セグメントLEDの点灯と消灯を繰り返す点灯・消灯駆動制御を行う。この制御を行うことで、第2特別図柄表示装置214は特図2の変動表示(特図2変動遊技)を行う。また、コマンド設定送信処理(ステップS233)で回転開始設定送信処理を実行させることを示す所定の送信情報をRAM308の所定の領域である出力要求情報エリアに追加記憶する。 In step S224, the special figure look-ahead control process is performed. In this special figure look-ahead control process, look-ahead of the special figure winning random number value and the like is performed. Next, the special figure state update process for each of the special figure 1 and the special figure 2 is performed. First, the special figure state update process (special figure 2 state update process) for the special figure 2 is performed (step S225). This special figure 2 state update process performs one of the following eight processes according to the state of special figure 2. For example, in the special figure 2 state update process in the middle of the special figure 2 fluctuation display (the value of the above-mentioned special figure 2 display symbol update timer is 1 or more), the 7-segment LED constituting the second special symbol display device 214 is turned on. Performs on / off drive control that repeats turning off. By performing this control, the second special symbol display device 214 performs the variable display of the special figure 2 (special figure 2 variable game). Further, predetermined transmission information indicating that the rotation start setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the output request information area which is a predetermined area of the RAM 308.

また、主制御部300のRAM308には、15R大当りフラグ、2R大当りフラグ、第1小当りフラグ、第2小当りフラグ、第1はずれフラグ、第2はずれフラグ、特図確率変動フラグ、および普図確率変動フラグそれぞれのフラグが用意されている。特図2変動表示時間が経過したタイミング(特図2表示図柄更新タイマの値が1から0になったタイミング)で開始する特図2状態更新処理では、15R大当りフラグはオン、特図確率変動フラグもオン、普図確率変動フラグもオンの場合には特図A、15R大当りフラグはオン、特図確率変動フラグはオフ、普図確率変動フラグはオンの場合には特図B、2R大当りフラグはオン、特図確率変動フラグもオン、普図確率変動フラグもオンの場合には特図C、2R大当りフラグはオン、特図確率変動フラグはオフ、普図確率変動フラグはオンの場合には特図D、2R大当りフラグはオン、特図確率変動フラグもオン、普図確率変動フラグはオンの場合には特図E、2R大当りフラグはオン、特図確率変動フラグはオフ、普図確率変動フラグもオフの場合には特図F、第1小当りフラグがオンの場合には特図G、第2小当りフラグがオンの場合には特図H、第1はずれフラグがオンの場合には特図I、第2はずれフラグがオンの場合には特図Iそれぞれの態様となるように、第2特別図柄表示装置214を構成する7セグメントLEDの点灯・消灯駆動制御を行い、RAM308の設定領域に特図2停止表示中であることを表す設定を行う。この制御を行うことで、第2特別図柄表示装置214は、15R特別大当り図柄(特図A)、15R大当り図柄(特図B)、突然確変図柄(特図C)、突然時短図柄(特図D)、隠れ確変図柄(特図E)、突然通常図柄(特図F)、第1小当り図柄(特図G)、第2小当り図柄(特図H)、第1はずれ図柄(特図I)、および第2はずれ図柄(特図J)のいずれか一つの図柄の確定表示を行う。さらにその後、所定の停止表示期間(例えば500m秒間)その表示を維持するためにRAM308に設けた特図2停止時間管理用タイマの記憶領域に停止期間を示す情報を設定する。この設定により、確定表示された特図2が所定期間停止表示され、特図2変動遊技の結果が遊技者に報知される。また、RAM308に設けられた時短回数記憶部に記憶された時短回数が1以上であれば、その時短回数から1を減算し、減算結果が1から0となった場合は、特図確率変動中(詳細は後述)でなければ、時短フラグをオフする。さらに、大当り遊技中(特別遊技状態中)にも、時短フラグをオフする。 Further, in the RAM 308 of the main control unit 300, a 15R jackpot flag, a 2R jackpot flag, a first small hit flag, a second small hit flag, a first missed flag, a second missed flag, a special figure probability fluctuation flag, and a general drawing Probability fluctuation flags Each flag is prepared. In the special figure 2 state update process that starts at the timing when the special figure 2 fluctuation display time elapses (the timing when the value of the special figure 2 display symbol update timer changes from 1 to 0), the 15R jackpot flag is on and the special figure probability fluctuation. When the flag is on, the normal figure probability fluctuation flag is also on, the special figure A, 15R jackpot flag is on, the special figure probability fluctuation flag is off, and when the normal figure probability fluctuation flag is on, the special figure B, 2R jackpot When the flag is on, the special figure probability fluctuation flag is also on, when the normal figure probability fluctuation flag is also on, the special figure C, 2R jackpot flag is on, the special figure probability fluctuation flag is off, and the normal figure probability fluctuation flag is on. The special figure D and 2R jackpot flag is on, the special figure probability fluctuation flag is also on, and when the normal figure probability fluctuation flag is on, the special figure E and 2R jackpot flag is on, the special figure probability fluctuation flag is off, and the normal When the figure probability fluctuation flag is also off, the special figure F, when the first small hit flag is on, the special figure G, when the second small hit flag is on, the special figure H, and the first missed flag are on. In the case of, the lighting / extinguishing drive control of the 7-segment LED constituting the second special symbol display device 214 is performed so that the special figure I and the special figure I are in the respective modes when the second off flag is on. , The setting area of the RAM 308 is set to indicate that the special figure 2 stop display is in progress. By performing this control, the second special symbol display device 214 has a 15R special jackpot symbol (special symbol A), a 15R jackpot symbol (special symbol B), a sudden probability change symbol (special symbol C), and a sudden time saving symbol (special symbol). D), hidden probability variation symbol (special symbol E), sudden normal symbol (special symbol F), first small hit symbol (special symbol G), second small hit symbol (special symbol H), first missed symbol (special symbol) Confirmation display of any one of I) and the second outlier symbol (special symbol J) is performed. After that, information indicating the stop period is set in the storage area of the special figure 2 stop time management timer provided in the RAM 308 to maintain the display for a predetermined stop display period (for example, 500 msec). With this setting, the confirmed display of the special figure 2 is stopped and displayed for a predetermined period, and the result of the special figure 2 variable game is notified to the player. If the number of time reductions stored in the time reduction storage unit provided in the RAM 308 is 1 or more, 1 is subtracted from the number of time reductions, and if the subtraction result is 1 to 0, the special figure probability is changing. If not (details will be described later), turn off the time saving flag. Furthermore, the time saving flag is turned off even during the big hit game (during the special game state).

また、コマンド設定送信処理(ステップS233)で回転停止設定送信処理を実行させることを示す所定の送信情報をRAM308の所定の領域である出力要求情報エリアに追加記憶するとともに、変動表示を停止する図柄が特図2であることを示す特図2識別情報を、後述するコマンドデータに含める情報としてRAM308に追加記憶してから処理を終了する。 Further, a symbol indicating that the rotation stop setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the output request information area which is a predetermined area of the RAM 308, and the variation display is stopped. The special figure 2 identification information indicating that is special figure 2 is additionally stored in the RAM 308 as information to be included in the command data described later, and then the process is terminated.

また、特図2変動遊技の結果が大当りであれば、後述するように、大当りフラグがオンされる。この大当りフラグがオンの場合には、所定の停止表示期間が終了したタイミング(特図2停止時間管理用タイマの値が1から0になったタイミング)における特図2状態更新処理では、RAM308の設定領域に特図2作動中を設定するとともに、所定の入賞演出期間(例えば3秒間)すなわち装飾図柄表示装置208による大当りを開始することを遊技者に報知する画像を表示している期間待機するためにRAM308に設けた特図2待機時間管理用タイマの記憶領域に入賞演出期間を示す情報を設定する。また、コマンド設定送信処理(ステップS233)で入賞演出設定送信処理を実行させることを示す所定の送信情報をRAM308の所定の領域である出力要求情報エリアに追加記憶する。 Further, if the result of the special figure 2 variable game is a big hit, the big hit flag is turned on as described later. When this jackpot flag is on, in the special figure 2 state update process at the timing when the predetermined stop display period ends (the timing when the value of the special figure 2 stop time management timer changes from 1 to 0), the RAM 308 In addition to setting the special figure 2 in operation in the setting area, the player waits for a predetermined winning effect period (for example, 3 seconds), that is, a period during which an image for notifying the player to start the big hit by the decorative symbol display device 208 is displayed. Therefore, information indicating the winning effect period is set in the storage area of the special figure 2 standby time management timer provided in the RAM 308. Further, predetermined transmission information indicating that the winning effect setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the output request information area which is a predetermined area of the RAM 308.

また、所定の入賞演出期間が終了したタイミング(特図2待機時間管理用タイマの値が1から0になったタイミング)で開始する特図2状態更新処理では、所定の開放期間(例えば29秒間、または可変入賞口234に所定球数(例えば10球)の遊技球の入賞を検出するまで)可変入賞口234の扉部材234aの開閉駆動用のソレノイド(332)に、扉部材234aを開放状態に保持する信号を出力するとともに、RAM308に設けた扉開放時間管理用タイマの記憶領域に開放期間を示す情報を設定する。また、コマンド設定送信処理(ステップS233)で大入賞口開放設定送信処理を実行させることを示す所定の送信情報をRAM308の所定の領域である出力要求情報エリアに追加記憶する。 Further, in the special figure 2 state update process that starts at the timing when the predetermined winning effect period ends (the timing when the value of the special figure 2 standby time management timer changes from 1 to 0), the predetermined opening period (for example, 29 seconds) Or, the door member 234a is open to the solenoid (332) for opening / closing the door member 234a of the variable winning opening 234 until a predetermined number of balls (for example, 10 balls) are won in the variable winning opening 234. In addition to outputting the signal held in the RAM 308, information indicating the opening period is set in the storage area of the door opening time management timer provided in the RAM 308. Further, predetermined transmission information indicating that the large winning opening opening setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the output request information area which is a predetermined area of the RAM 308.

また、所定の開放期間が終了したタイミング(扉開放時間管理用タイマの値が1から0になったタイミング)で開始する特図2状態更新処理では、所定の閉鎖期間(例えば1.5秒間)可変入賞口234の扉部材234aの開閉駆動用のソレノイド(332)に、扉部材234aを閉鎖状態に保持する信号を出力するとともに、RAM308に設けた扉閉鎖時間管理用タイマの記憶領域に閉鎖期間を示す情報を設定する。また、コマンド設定送信処理(ステップS233)で大入賞口閉鎖設定送信処理を実行させることを示す所定の送信情報をRAM308の所定の領域である出力要求情報エリアに追加記憶する。 Further, in the special figure 2 state update process that starts at the timing when the predetermined opening period ends (the timing when the value of the door opening time management timer changes from 1 to 0), the predetermined closing period (for example, 1.5 seconds) A signal for holding the door member 234a in the closed state is output to the solenoid (332) for opening / closing the door member 234a of the variable winning opening 234, and the closing period is stored in the storage area of the door closing time management timer provided in the RAM 308. Set the information indicating. Further, predetermined transmission information indicating that the large winning opening closing setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the output request information area which is a predetermined area of the RAM 308.

また、この扉部材の開放・閉鎖制御を所定回数(本実施例では15ラウンドか2ラウンド)繰り返し、終了したタイミングで開始する特図2状態更新処理では、所定の終了演出期間(例えば3秒間)すなわち装飾図柄表示装置208による大当りを終了することを遊技者に報知する画像を表示している期間待機するように設定するためにRAM308に設けた演出待機時間管理用タイマの記憶領域に演出待機期間を示す情報を設定する。また、普図確率変動フラグがオンに設定されていれば、この大当り遊技の終了と同時に、RAM308に設けられた時短回数記憶部に時短回数100回をセットするともに、RAM308に設けられた時短フラグをオンする。なお、その普図確率変動フラグがオフに設定されていれば、時短回数記憶部に時短回数をセットすることもなく、また時短フラグをオンすることもない。ここにいう時短とは、特図変動遊技における大当りを終了してから、次の大当りを開始するまでの時間を短くするため、パチンコ機が遊技者にとって有利な状態になることをいう。この時短フラグがオンに設定されていると、普図高確率状態である。普図高確率状態では普図低確率状態に比べて、普図変動遊技に大当りする可能性が高い。また、普図高確率状態の方が、普図低確率状態に比べて普図変動遊技の変動時間および特図変動遊技の変動時間は短くなる。さらに、普図高確率状態では普図低確率状態に比べて、第2特別始動口232の一対の羽根部材232aの1回の開放における開放時間が長くなりやすい。加えて、普図高確率状態では普図低確率状態に比べて、一対の羽根部材232aは多く開きやすい。また、上述のごとく、時短フラグは、大当り遊技中(特別遊技状態中)にはオフに設定される。したがって、大当り遊技中には、普図低確率状態が維持される。これは、大当り遊技中に普図高確率状態であると、大当り遊技中に可変入賞口234に所定の個数、遊技球が入球するまでの間に第2特図始動口232に多くの遊技球が入球し、大当り中に獲得することができる遊技球の数が多くなってしまい射幸性が高まってしまうという問題があり、これを解決するためのものである。さらに、コマンド設定送信処理(ステップS233)で終了演出設定送信処理を実行させることを示す所定の送信情報をRAM308の所定の領域である出力要求情報エリアに追加記憶する。 Further, in the special figure 2 state update process which repeats the opening / closing control of the door member a predetermined number of times (15 rounds or 2 rounds in this embodiment) and starts at the end timing, a predetermined end effect period (for example, 3 seconds). That is, the effect waiting period is stored in the storage area of the effect standby time management timer provided in the RAM 308 to set to wait for the period during which the image for notifying the player that the jackpot by the decorative symbol display device 208 is finished is displayed. Set the information indicating. Further, if the normal figure probability fluctuation flag is set to ON, at the same time as the end of this big hit game, the time saving number of times 100 times is set in the time saving number storage unit provided in the RAM 308, and the time saving flag provided in the RAM 308 is set. Turn on. If the normal figure probability fluctuation flag is set to off, the time reduction number of times is not set in the time reduction number storage unit, and the time reduction flag is not turned on. The term "time reduction" as used herein means that the pachinko machine is in an advantageous state for the player because the time from the end of the jackpot in the special figure variable game to the start of the next jackpot is shortened. When this time saving flag is set to on, it is in a high probability state. In the high-probability state of the normal figure, there is a higher possibility of hitting the variable game of the normal figure than in the low-probability state of the normal figure. In addition, the fluctuation time of the normal-figure variable game and the fluctuation time of the special-figure variable game are shorter in the normal-figure high-probability state than in the normal-figure low-probability state. Further, in the high-probability state of the normal drawing, the opening time in one opening of the pair of blade members 232a of the second special starting port 232 tends to be longer than in the low-probability state of the normal drawing. In addition, in the high-probability state of the normal drawing, the pair of blade members 232a are more likely to open than in the low-probability state of the normal drawing. Further, as described above, the time saving flag is set to off during the big hit game (during the special game state). Therefore, during the jackpot game, the low probability state of the normal figure is maintained. This is because, if the probability is high during the big hit game, a predetermined number of games are played in the variable winning opening 234 during the big hit game, and many games are played in the second special drawing starting port 232 until the game ball enters. This is to solve the problem that the number of game balls that can be acquired during the jackpot increases due to the ball entering the ball and the gambling property increases. Further, predetermined transmission information indicating that the end effect setting transmission process is to be executed in the command setting transmission process (step S233) is additionally stored in the output request information area which is a predetermined area of the RAM 308.

また、所定の終了演出期間が終了したタイミング(演出待機時間管理用タイマの値が1から0になったタイミング)で開始する特図2状態更新処理では、RAM308の設定領域に特図2非作動中を設定する。さらに、特図2変動遊技の結果が外れであれば、後述するように、はずれフラグがオンされる。このはずれフラグがオンの場合には、上述した所定の停止表示期間が終了したタイミング(特図2停止時間管理用タイマの値が1から0になったタイミング)における特図2状態更新処理でも、RAM308の設定領域に特図2非作動中を設定する。特図2非作動中の場合における特図2状態更新処理では、何もせずに次のステップS227に移行するようにしている。 Further, in the special figure 2 state update process that starts at the timing when the predetermined end effect period ends (the timing when the value of the effect standby time management timer changes from 1 to 0), the special figure 2 does not operate in the setting area of the RAM 308. Set inside. Further, if the result of the special figure 2 variable game is different, the off flag is turned on as will be described later. When this off flag is on, even in the special figure 2 state update process at the timing when the above-mentioned predetermined stop display period ends (the timing when the value of the special figure 2 stop time management timer changes from 1 to 0). In the setting area of the RAM 308, special figure 2 non-operating is set. In the special figure 2 state update process in the case where the special figure 2 is not operating, the process proceeds to the next step S227 without doing anything.

続いて、特図1についての特図状態更新処理(特図1状態更新処理)を行う(ステップS227)。この特図1状態更新処理では、特図1の状態に応じて、上述の特図2状態更新処理で説明した各処理を行う。この特図1状態更新処理で行う各処理は、上述の特図2状態更新処理で説明した内容の「特図2」を「特図1」と読み替えた処理と同一であるため、その説明は省略する。なお、特図2状態更新処理と特図1状態更新処理の順番は逆でもよい。 Subsequently, the special figure state update process (special figure 1 state update process) for the special figure 1 is performed (step S227). In this special figure 1 state update process, each process described in the above-mentioned special figure 2 state update process is performed according to the state of special figure 1. Since each process performed in this special figure 1 state update process is the same as the process in which "special figure 2" of the content explained in the above-mentioned special figure 2 state update process is replaced with "special figure 1", the explanation thereof is described. Omit. The order of the special figure 2 state update process and the special figure 1 state update process may be reversed.

ステップS225およびステップS227における特図状態更新処理が終了すると、今度は、特図1および特図2それぞれについての特図関連抽選処理を行う。ここでも先に、特図2についての特図関連抽選処理(特図2関連抽選処理)を行い(ステップS229)、その後で、特図1についての特図関連抽選処理(特図1関連抽選処理)を行う(ステップS231)。これらの特図関連抽選処理についても、主制御部300が特図2関連抽選処理を特図1関連抽選処理よりも先に行うことで、特図2変動遊技の開始条件と、特図1変動遊技の開始条件が同時に成立した場合でも、特図2変動遊技が先に変動中となるため、特図1変動遊技は変動を開始しない。また、装飾図柄表示装置208による、特図変動遊技の大当り判定の結果の報知は、第1副制御部400によって行われ、第2特図始動口232への入賞に基づく抽選の抽選結果の報知が、第1特図始動口230への入賞に基づく抽選の抽選結果の報知よりも優先して行われる。 When the special figure state update process in step S225 and step S227 is completed, the special figure-related lottery process for each of the special figure 1 and the special figure 2 is performed this time. Here, too, the special figure-related lottery process for the special figure 2 (special figure 2 related lottery process) is performed first (step S229), and then the special figure-related lottery process for the special figure 1 (special figure 1 related lottery process). ) (Step S231). Regarding these special figure-related lottery processes, the main control unit 300 performs the special figure 2 related lottery process before the special figure 1 related lottery process, so that the start condition of the special figure 2 variable game and the special figure 1 variation Even if the game start conditions are satisfied at the same time, the special figure 2 variable game does not start the change because the special figure 2 variable game is changing first. Further, the decoration symbol display device 208 notifies the result of the jackpot determination of the special figure variation game by the first sub-control unit 400, and the notification of the lottery result of the lottery based on the winning of the second special figure start port 232. However, the lottery result of the lottery based on the winning of the first special figure start port 230 is notified with priority.

ステップS232では、デバイス監視処理を実行する。詳細は後述するが、このデバイス監視処理では、各種デバイスのエラーの有無を検出する処理などを行う。 In step S232, the device monitoring process is executed. Details will be described later, but in this device monitoring process, processing for detecting the presence or absence of errors in various devices is performed.

ステップS233では、コマンド設定送信処理を行う。具体的には、出力要求情報エリアを参照し、第1副制御部400へのコマンド出力要求が発生しているか否かを判定する。コマンド出力要求が発生している場合には、対応するメインコマンドを送信情報記憶領域にセットする処理を行う。例えば、メインコマンドが特図保留球数コマンド1の場合には、特図1保留球数の情報をRAM308の所定領域から取得するとともに該情報を示す下位コマンド(例えば、保留球数が3の場合は、「00000011」)および特図保留球数コマンド1であることを示す上位コマンドを送信情報記憶領域にセットする。 In step S233, the command setting transmission process is performed. Specifically, the output request information area is referred to, and it is determined whether or not a command output request to the first sub-control unit 400 has occurred. When a command output request is generated, the corresponding main command is set in the transmission information storage area. For example, when the main command is the special figure reserved ball number command 1, the information on the special figure 1 reserved ball number is acquired from a predetermined area of the RAM 308, and a lower command indicating the information (for example, when the reserved ball number is 3). Sets "00000011") and a higher-level command indicating that the special figure reserved ball number command 1 is set in the transmission information storage area.

第1副制御部400では、受信したメインコマンドに含まれる上位コマンドにより、主制御部300における遊技制御の変化に応じた演出制御の決定が可能になるとともに、メインコマンドに含まれる下位コマンドの情報に基づいて、詳細な演出制御内容を決定することができるようになる。 In the first sub-control unit 400, the upper command included in the received main command enables the determination of the effect control according to the change in the game control in the main control unit 300, and the information of the lower command included in the main command. Based on the above, it becomes possible to determine the detailed production control content.

ステップS234では、表示器表示設定処理を行う。この表示器表示設定処理では、上述の各種状態表示部328(普図保留ランプ216、第1特図保留ランプ218、第2特図保留ランプ220、高確中ランプ222、ラウンドランプ223と、状態表示灯(右打ち表示灯)224)の点灯/消灯制御を行う。 In step S234, the display display setting process is performed. In this display display setting process, the above-mentioned various status display units 328 (normal figure hold lamp 216, first special figure hold lamp 218, second special figure hold lamp 220, high-accuracy middle lamp 222, round lamp 223, and states. The indicator lamp (right-handed indicator lamp) 224) is turned on / off.

ステップS235では、外部出力信号設定処理を行う。詳細は後述するが、この外部出力信号設定処理では、払出基板170に向けて外部端子板信号3〜10を出力する処理等を行う。なお、上述のとおり、外部端子板信号3〜10は、払出基板170を介さずに外部端子板609に出力するように構成してもよい。 In step S235, the external output signal setting process is performed. Details will be described later, but in this external output signal setting process, processing such as outputting external terminal board signals 3 to 10 toward the payout board 170 is performed. As described above, the external terminal board signals 3 to 10 may be configured to be output to the external terminal board 609 without passing through the payout board 170.

ステップS239では、低電圧信号がオンであるか否かを監視する。そして、低電圧信号がオンの場合(電源の遮断を検知した場合)にはステップS243に進み、低電圧信号がオフの場合(電源の遮断を検知していない場合)にはステップS241に進む。 In step S239, it is monitored whether or not the low voltage signal is on. Then, when the low voltage signal is on (when the power cutoff is detected), the process proceeds to step S243, and when the low voltage signal is off (when the power supply cutoff is not detected), the process proceeds to step S241.

ステップS241では、タイマ割込終了処理を行う。このタイマ割込終了処理では、ステップS201で一時的に退避した各レジスタの値を元の各レジスタに設定したり、割込許可の設定などを行い、その後、主制御部メイン処理に復帰する。一方、ステップS243では、復電時に電断時の状態に復帰するための特定の変数やスタックポインタを復帰データとしてRAM308の所定の領域に退避し、入出力ポートの初期化等の電断処理を行い、その後、上述の主制御部メイン処理に復帰する。 In step S241, the timer interrupt end process is performed. In this timer interrupt end process, the value of each register temporarily saved in step S201 is set in each original register, interrupt permission is set, and then the process returns to the main control unit main process. On the other hand, in step S243, a specific variable or stack pointer for returning to the state at the time of power failure at the time of power recovery is saved as recovery data in a predetermined area of the RAM 308, and power failure processing such as initialization of the input / output port is performed. After that, the process returns to the main processing of the main control unit described above.

<外部出力信号設定処理>
次に、図59を用いて、主制御部300のCPU304が実行する外部出力信号設定処理について説明する。なお、同図は主制御部タイマ割込処理における外部出力信号設定処理の流れを示すフローチャートである。
<External output signal setting process>
Next, the external output signal setting process executed by the CPU 304 of the main control unit 300 will be described with reference to FIG. 59. The figure is a flowchart showing the flow of the external output signal setting process in the timer interrupt process of the main control unit.

ステップS301では、上述の外部出力信号情報に対応する各情報(払出予定情報を除く、図柄確定回数情報、始動口情報、大当り情報1〜4、およびセキュリティ情報)に基づいて、外部出力信号情報の値を更新する。例えば、セキュリティ情報が1で、他の情報が0の場合には、外部出力信号情報の値を10000000Bに更新する。 In step S301, the external output signal information is based on each information corresponding to the above-mentioned external output signal information (excluding the payout schedule information, symbol confirmation count information, start port information, jackpot information 1 to 4, and security information). Update the value. For example, when the security information is 1 and the other information is 0, the value of the external output signal information is updated to 10000000B.

ステップS302では、出力要求数が1以上であるか否かを判定し、該当する場合にはステップS303に進み、該当しない場合にはステップS305に進む。ステップS303では、外部出力信号情報のBit6(払出予定情報)に1をセットする。例えば、先の例では、外部出力信号情報の値を10000000Bから11000000Bに更新する。また、ステップS304では、出力要求数から1を減算してステップS305に進む。 In step S302, it is determined whether or not the number of output requests is 1 or more, and if applicable, the process proceeds to step S303, and if not applicable, the process proceeds to step S305. In step S303, 1 is set in Bit 6 (payout schedule information) of the external output signal information. For example, in the previous example, the value of the external output signal information is updated from 10000000B to 11000000B. Further, in step S304, 1 is subtracted from the number of output requests, and the process proceeds to step S305.

ステップS305では、特定異常検出フラグがオンかオフかを判定し、オンの場合にはステップS306に進み、オフの場合にはステップS307に進む。ステップS306では、RAM308に設けた外部出力情報のマスク処理を行う。 In step S305, it is determined whether the specific abnormality detection flag is on or off, and if it is on, the process proceeds to step S306, and if it is off, the process proceeds to step S307. In step S306, mask processing of external output information provided in RAM 308 is performed.

図60は、ステップS306における外部出力信号情報のマスク処理の一例を説明するための図である。この例では、マスク処理前の外部出力信号情報の値が11000001B、すなわち、セキュリティ情報、払出予定情報、および図柄確定回数情報が1、その他の大当り情報1〜4、および始動口情報が0の場合を示している。また、マスク処理に用いるマスク情報の値は10000000Bであることを示している。 FIG. 60 is a diagram for explaining an example of mask processing of external output signal information in step S306. In this example, when the value of the external output signal information before mask processing is 11000001B, that is, the security information, the payout schedule information, and the symbol confirmation count information are 1, the other jackpot informations 1 to 4, and the start port information are 0. Is shown. Further, it is shown that the value of the mask information used for the mask processing is 10000000B.

ここで、「マスク情報」は、外部出力信号情報と同じ1バイト長の情報であり、マスク情報のBit0〜Bit7は、それぞれ外部出力信号情報のBit0〜Bit7に対応している。ステップS306のマスク処理では、このマスク情報と外部出力信号情報の論理積(AND)を算出することによって、外部出力信号情報の一部を強制的に0に設定(マスク)できるように構成している。 Here, the "mask information" is information having the same 1-byte length as the external output signal information, and Bits 0 to Bit7 of the mask information correspond to Bits 0 to Bit7 of the external output signal information, respectively. In the mask processing in step S306, by calculating the logical product (AND) of this mask information and the external output signal information, a part of the external output signal information can be forcibly set to 0 (mask). There is.

主制御部300は、初期設定において、マスク情報を11111111B(初期値)に設定するが、外部出力信号設定処理のステップS305において特定異常検出フラグオンと判定した場合(特定異常情報がある場合)には、マスク情報のBit0〜7のいずれかを1から0に更新する。本実施形態では、磁気異常エラーまたは磁界異常エラーが発生している場合には、図60に示すように、マスク情報のBit0〜6を1から0に更新することでマスク情報を10000000Bに設定し、マスク処理により外部出力信号情報のBit0〜6を強制的に0に設定(マスク)する。 The main control unit 300 sets the mask information to 11111111B (initial value) in the initial setting, but when it is determined in step S305 of the external output signal setting process that the specific abnormality detection flag is on (when there is specific abnormality information), the main control unit 300 sets the mask information. , Any one of Bits 0 to 7 of the mask information is updated from 1 to 0. In the present embodiment, when a magnetic anomaly error or a magnetic field anomaly error occurs, the mask information is set to 10000000B by updating Bits 0 to 6 of the mask information from 1 to 0 as shown in FIG. , Bits 0 to 6 of the external output signal information are forcibly set to 0 (mask) by mask processing.

これにより、外部出力信号情報のBit0〜6のいずれかに1が設定されている場合、すなわち、図柄確定回数情報、始動口情報、大当り情報1〜4、および払出予定情報のいずれかに1が設定されている場合でも、当該情報は全て0にマスク(設定)され、各々の情報に対応する信号からはローレベルの信号が出力される。 As a result, when 1 is set in any of Bits 0 to 6 of the external output signal information, that is, 1 is set in any of the symbol confirmation count information, the start port information, the jackpot information 1 to 4, and the payout schedule information. Even if it is set, all the information is masked (set) to 0, and a low-level signal is output from the signal corresponding to each information.

図59に戻って、ステップS307では、例えば、外部出力信号情報に基づいて、払出基板170に向けて外部端子板信号3〜10を出力する処理等を行う。具体的には、外部出力信号情報のBit0に1が設定されている場合には、外部端子板信号3(図柄確定回数情報信号)として第一のレベルの信号(例えば、ハイレベルの信号)を所定期間(例えば、500msの期間)だけ出力し、0が設定されている場合には第二のレベルの信号(例えば、ローレベルの信号)を出力する。 Returning to FIG. 59, in step S307, for example, a process of outputting external terminal board signals 3 to 10 toward the payout board 170 is performed based on the external output signal information. Specifically, when Bit0 of the external output signal information is set to 1, a first-level signal (for example, a high-level signal) is used as the external terminal board signal 3 (symbol confirmation number information signal). It outputs only a predetermined period (for example, a period of 500 ms), and outputs a second level signal (for example, a low level signal) when 0 is set.

同様に、外部出力信号情報のBit1に1が設定されている場合には、外部端子板信号4(始動口情報信号)として第一のレベルの信号(例えば、ハイレベルの信号)を所定期間(例えば、500msの期間)だけ出力し、0が設定されている場合には第二のレベルの信号(例えば、ローレベルの信号)を出力する。また、外部出力信号情報のBit2に1が設定されている場合には、外部端子板信号5(大当り情報1信号)として第一のレベルの信号(例えば、ハイレベルの信号)を所定期間(例えば、500msの期間)だけ出力し、0が設定されている場合には第二のレベルの信号(例えば、ローレベルの信号)を出力する。また、外部出力信号情報のBit3に1が設定されている場合には、外部端子板信号6(大当り情報2信号)として第一のレベルの信号(例えば、ハイレベルの信号)を所定期間(例えば、500msの期間)だけ出力し、0が設定されている場合には第二のレベルの信号(例えば、ローレベルの信号)を出力する。 Similarly, when Bit 1 of the external output signal information is set to 1, a first level signal (for example, a high level signal) is used as the external terminal board signal 4 (starting port information signal) for a predetermined period (for example, a high level signal). For example, it outputs only for a period of 500 ms), and when 0 is set, it outputs a second level signal (for example, a low level signal). When Bit 2 of the external output signal information is set to 1, the first level signal (for example, a high level signal) is used as the external terminal board signal 5 (big hit information 1 signal) for a predetermined period (for example). , 500 ms period), and if 0 is set, a second level signal (for example, a low level signal) is output. When Bit 3 of the external output signal information is set to 1, the first level signal (for example, a high level signal) is used as the external terminal board signal 6 (big hit information 2 signal) for a predetermined period (for example). , 500 ms period), and if 0 is set, a second level signal (for example, a low level signal) is output.

また、外部出力信号情報のBit4に1が設定されている場合には、外部端子板信号7(大当り情報3信号)として第一のレベルの信号(例えば、ハイレベルの信号)を所定期間(例えば、500msの期間)だけ出力し、0が設定されている場合には第二のレベルの信号(例えば、ローレベルの信号)を出力する。また、外部出力信号情報のBit5に1が設定されている場合には、外部端子板信号8(大当り情報4信号)として第一のレベルの信号(例えば、ハイレベルの信号)を所定期間(例えば、500msの期間)だけ出力し、0が設定されている場合には第二のレベルの信号(例えば、ローレベルの信号)を出力する。 When Bit 4 of the external output signal information is set to 1, the first level signal (for example, a high level signal) is used as the external terminal board signal 7 (big hit information 3 signal) for a predetermined period (for example). , 500 ms period), and if 0 is set, a second level signal (for example, a low level signal) is output. When Bit 5 of the external output signal information is set to 1, the first level signal (for example, a high level signal) is used as the external terminal board signal 8 (big hit information 4 signal) for a predetermined period (for example). , 500 ms period), and if 0 is set, a second level signal (for example, a low level signal) is output.

また、外部出力信号情報のBit6に1が設定されている場合には、外部端子板信号9(払出予定情報信号)として第一のレベルの信号(例えば、ハイレベルの信号)を所定期間(例えば、500msの期間)だけ出力し、0が設定されている場合には第二のレベルの信号(例えば、ローレベルの信号)を出力する。また、外部出力信号情報のBit7に1が設定されている場合には、外部端子板信号10(セキュリティ情報信号)として第一のレベルの信号(例えば、ハイレベルの信号)を所定期間(例えば、500msの期間)だけ出力し、0が設定されている場合には第二のレベルの信号(例えば、ローレベルの信号)を出力する。なお、本例における「所定期間(各信号の出力時間)」は500msの期間に限定されるものではなく、500ms未満の期間でもよいし、500msよりも大きい期間でもよい。 When Bit 6 of the external output signal information is set to 1, a first-level signal (for example, a high-level signal) is used as the external terminal board signal 9 (payout schedule information signal) for a predetermined period (for example). , 500 ms period), and if 0 is set, a second level signal (for example, a low level signal) is output. When Bit 7 of the external output signal information is set to 1, a first-level signal (for example, a high-level signal) is used as the external terminal board signal 10 (security information signal) for a predetermined period (for example, for example). It outputs only for a period of 500 ms), and outputs a second level signal (for example, a low level signal) when 0 is set. The "predetermined period (output time of each signal)" in this example is not limited to a period of 500 ms, and may be a period of less than 500 ms or a period of more than 500 ms.

<外部出力信号設定処理の変形例1>
図61は外部出力信号設定処理の変形例1を示した図である。この変形例1に係る外部出力信号設定処理では、上記図64に示した外部出力信号設定処理のステップS305〜S306の処理に替えて、ステップS305、S401、S402の処理を適用している。
<Modification example 1 of external output signal setting processing>
FIG. 61 is a diagram showing a modification 1 of the external output signal setting process. In the external output signal setting process according to the first modification, the processes of steps S305, S401, and S402 are applied instead of the processes of steps S305 to S306 of the external output signal setting process shown in FIG. 64.

具体的には、ステップS305では、特定異常検出フラグがオンかオフかを判定し、オンの場合にはステップS401に進んで外部出力信号の第一のマスク処理を行い、オフの場合にはステップS402に進んで外部出力信号の第二のマスク処理を行う。第一のマスク処理では、上記ステップS306のマスク処理と同様の処理を行うが、第二のマスク処理では、第一のマスク処理で用いるマスク情報(第一のマスク情報)とは異なるマスク情報(第二のマスク情報)を用いてマスク処理を行う。ここで、本実施例では、第一のマスク情報をRAM308の記憶領域内に設け、内容の書き換えを可能としている一方で、第2のマスク情報をROM306の記憶領域内に設け、内容の書き換えを不可能としている。 Specifically, in step S305, it is determined whether the specific abnormality detection flag is on or off, and if it is on, the process proceeds to step S401 to perform the first mask processing of the external output signal, and if it is off, the step Proceeding to S402, the second mask processing of the external output signal is performed. In the first mask processing, the same processing as the mask processing in step S306 is performed, but in the second mask processing, mask information different from the mask information (first mask information) used in the first mask processing (first mask information). Mask processing is performed using the second mask information). Here, in this embodiment, the first mask information is provided in the storage area of the RAM 308 to enable rewriting of the contents, while the second mask information is provided in the storage area of the ROM 306 to rewrite the contents. It is impossible.

例えば、第一のマスク処理では、マスク情報のBit0〜6を1から0に更新することで、マスク情報を初期値の11111111Bから10000000Bに変更し、マスク処理により外部出力信号情報のBit0〜6を強制的に0に設定(マスク)する。一方、第二のマスク処理では、マスク情報として初期値の11111111Bをそのまま使用し、マスク処理により外部出力信号情報のBit0〜7を強制的に0に設定(マスク)しないようにする。 For example, in the first mask processing, the mask information is changed from the initial value of 11111111B to 10000000B by updating Bits 0 to 6 of the mask information from 1 to 0, and the external output signal information Bits 0 to 6 are changed by the mask processing. Forcibly set to 0 (mask). On the other hand, in the second mask processing, the initial value 11111111B is used as it is as the mask information, and Bits 0 to 7 of the external output signal information are not forcibly set (masked) to 0 by the mask processing.

このような構成とすれば、条件に応じて(例えば、特定異常の有無に応じて)マスク処理を使い分けることができ、条件に適した外部信号を出力できる場合がある。 With such a configuration, mask processing can be used properly according to the conditions (for example, depending on the presence or absence of a specific abnormality), and an external signal suitable for the conditions may be output.

<外部出力信号設定処理の変形例2>
図62は外部出力信号設定処理の変形例2を示した図である。この変形例2に係る外部出力信号設定処理では、上記図59に示した外部出力信号設定処理のステップS305のの処理と、ステップS302〜S304の処理の順番を入れ替えている。
<Modification 2 of external output signal setting processing>
FIG. 62 is a diagram showing a modification 2 of the external output signal setting process. In the external output signal setting process according to the second modification, the order of the processes in step S305 of the external output signal setting process shown in FIG. 59 and the processes in steps S302 to S304 are changed.

具体的には、ステップS305では、特定異常検出フラグがオンかオフかを判定し、オンの場合にはステップS306に進んでマスク処理を行い、オフの場合にはステップS302以降の処理に進むように構成している。 Specifically, in step S305, it is determined whether the specific abnormality detection flag is on or off, and if it is on, the process proceeds to step S306 to perform mask processing, and if it is off, the process proceeds to step S302 and subsequent processes. It is configured in.

このような構成とすれば、所定の条件が成立している場合に、外部信号を出力しないように(または、外部信号を遅延させるように)することができ、例えば、特定異常がある場合には外部信号を出力しないように(または、外部信号を遅延させるように)することができる場合がある。このため、外部信号を適切なタイミングで出力できる場合がある。 With such a configuration, it is possible to prevent the external signal from being output (or to delay the external signal) when a predetermined condition is satisfied. For example, when there is a specific abnormality. May be able to prevent the external signal from being output (or delay the external signal). Therefore, it may be possible to output an external signal at an appropriate timing.

<払出制御マイコン>
次に、払出制御基板170に搭載される払出制御マイコン770について詳細に説明する。
<Payout control microcomputer>
Next, the payout control microcomputer 770 mounted on the payout control board 170 will be described in detail.

<払出制御マイコン/端子配置>
図63は、払出制御マイコン770の端子配置の一例を示した図である。上述のとおり、払出制御マイコン770は、2つのパラレル入力ポートPIP0,PIP1を備えており、本例では、パラレル入力ポートPIP0の端子配置を、同図(a)に示す端子配置にしているとともに、パラレル入力ポートPIP1の端子配置を、同図(b)に示す端子配置にしている。例えば、同図(a)の場合、例えば、Bit0の払出個数スイッチ信号に対応する端子はPI00端子であり、Bit2の払出スイッチ動作確認信号に対応する端子はPI02端子である。以下も同様である。また、払出制御マイコン770は、2つのパラレル出力ポートPOP0,POP1を備えており、本例では、パラレル出力ポートPOP0の端子配置を、同図(c)に示す端子配置に設定し、パラレル出力ポートPOP1の端子配置を、同図(d)に示す端子配置に設定している。
<Payout control microcomputer / terminal arrangement>
FIG. 63 is a diagram showing an example of the terminal arrangement of the payout control microcomputer 770. As described above, the payout control microcomputer 770 includes two parallel input ports PIP0 and PIP1. In this example, the terminal arrangement of the parallel input port PIP0 is the terminal arrangement shown in FIG. The terminal arrangement of the parallel input port PIP1 is the terminal arrangement shown in FIG. For example, in the case of FIG. 3A, for example, the terminal corresponding to the payout number switch signal of Bit0 is the PI00 terminal, and the terminal corresponding to the payout switch operation confirmation signal of Bit2 is the PI02 terminal. The same applies to the following. Further, the payout control microcomputer 770 includes two parallel output ports POP0 and POP1. In this example, the terminal arrangement of the parallel output port POP0 is set to the terminal arrangement shown in FIG. The terminal arrangement of the POP1 is set to the terminal arrangement shown in FIG.

また、払出制御マイコン770は、IC1〜IC3と接続されており、同図(e)はIC1に対応するものであり、同図(f)はIC1に対応するものであり、同図(g)はIC3に対応するものである。 Further, the payout control microcomputer 770 is connected to IC1 to IC3, the figure (e) corresponds to IC1, the figure (f) corresponds to IC1, and the figure (g) shows. Corresponds to IC3.

<払出制御マイコンの詳細/端子配置/LED制御>
図64(a)は、パラレル出力ポートPOP1のデータを出力するための出力ポート1レジスタのデータ構成を示した図であり、図64(b)は、7SEGデコーダを介して出力する場合の出力パターンを示した図である。また、図64(c)は、出力端子POP10〜POP16とLEDの各セグメントの対応関係を示した図である。
<Details of payout control microcomputer / terminal arrangement / LED control>
FIG. 64 (a) is a diagram showing the data configuration of the output port 1 register for outputting the data of the parallel output port POP1, and FIG. 64 (b) is an output pattern when outputting via the 7SEG decoder. It is a figure which showed. Further, FIG. 64 (c) is a diagram showing the correspondence between the output terminals POP10 to POP16 and each segment of the LED.

本例では、パラレル出力ポートPOP1の出力端子POP10〜POP16を、7セグメントLEDの各セグメントに接続しており、パラレル出力ポートPOP1のデータを出力するための出力ポート1レジスタを介して、7セグメントLEDの点灯/消灯制御を行う。 In this example, the output terminals POP10 to POP16 of the parallel output port POP1 are connected to each segment of the 7-segment LED, and the 7-segment LED is connected via the output port 1 register for outputting the data of the parallel output port POP1. Controls the lighting / extinguishing of.

同図(a)に示すように、本例の出力ポート1レジスタは、ビット7(7DEN)の設定によって、内蔵の7SEGデコードを介してLEDを制御するか否かの選択が可能である。ビット7(7DEN)を1に設定した場合には、出力端子POP10〜POP16の各々のオン/オフを個別に制御することで、LEDの各セグメントの点灯/消灯制御を行う。なお、出力端子POP10〜POP16とLEDの各セグメントの対応関係は、同図(c)に示す通りである。 As shown in FIG. 6A, the output port 1 register of this example can select whether or not to control the LED via the built-in 7SEG decoding by setting the bit 7 (7DEN). When the bit 7 (7DEN) is set to 1, the ON / OFF of each of the output terminals POP10 to POP16 is individually controlled to control the lighting / extinguishing of each segment of the LED. The correspondence between the output terminals POP10 to POP16 and each segment of the LED is as shown in FIG.

一方、ビット7(7DEN)を0に設定した場合には、出力端子POP10〜POP16(出力ポート1レジスタのビット6〜ビット0)から、同図(b)に示す出力パターンを7SEGデコーダに出力することで、7SEGデコードを介してLEDの点灯/消灯制御を行う。 On the other hand, when the bit 7 (7DEN) is set to 0, the output pattern shown in the figure (b) is output to the 7SEG decoder from the output terminals POP10 to POP16 (bits 6 to 0 of the output port 1 register). As a result, the lighting / extinguishing control of the LED is performed via the 7SEG decoding.

図65は、エラー名称と、LEDの表示(LEDの点灯パターン)と、エラー表示LEDの状態と、払出表示LEDの状態の関係を示した図である。本例では、例えば、エラーが発生していない場合には、LEDを用いて数字の0を表示するとともに、エラー表示LEDと払出LEDを消灯する制御を行う。一方、エラーが発生した場合には、エラーの種類に応じて、LEDを用いて数字の1〜8を表示するとともに、同図に示す表示パターンにしたがってエラー表示LEDと払出LEDを点灯または消灯する制御を行う。 FIG. 65 is a diagram showing the relationship between the error name, the LED display (LED lighting pattern), the state of the error display LED, and the state of the payout display LED. In this example, for example, when an error has not occurred, the LED is used to display the number 0, and the error display LED and the payout LED are turned off. On the other hand, when an error occurs, the numbers 1 to 8 are displayed using LEDs according to the type of error, and the error display LED and the payout LED are turned on or off according to the display pattern shown in the figure. Take control.

なお、エラー表示LEDや払出LEDは、払出制御基板170に設けられていてもよいし、遊技者が視認可能な遊技盤や遊技枠に設けられていてもよいし、いずれか一方を払出制御基板170に設けて他方を遊技盤や遊技枠に設けてもよい。また、エラー表示LEDを複数設け、第一のエラー表示LEDを払出制御基板170に設け第二のエラー表示LEDを遊技盤や遊技枠に設けてもよい。 The error display LED and the payout LED may be provided on the payout control board 170, or may be provided on the game board or the game frame that the player can see, or one of them may be provided on the payout control board. The 170 may be provided and the other may be provided on the game board or the game frame. Further, a plurality of error display LEDs may be provided, the first error display LED may be provided on the payout control board 170, and the second error display LED may be provided on the game board or the game frame.

<払出制御マイコン/タイマ>
図66(a)は、払出制御マイコン770が使用するタイマの一例を示した図である。払出制御マイコン770は、同図(a)に示す複数のタイマ(ソフトウェアタイマ)をRAM708に記憶しており、これらのタイマを、後述する払出制御部割込み処理のタイマ更新処理において定期的に更新(カウントアップまたはカウントダウン)するように構成されている。なお、「タイマ値(ms)」の項目に記載した数値は、各タイマによって計測する時間を示しており、例えば、CRユニット接続信号監視タイマは、2秒(=2000ms)を計測するために使用されるタイマであることを示している。
<Payout control microcomputer / timer>
FIG. 66A is a diagram showing an example of a timer used by the payout control microcomputer 770. The payout control microcomputer 770 stores a plurality of timers (software timers) shown in FIG. 6A in the RAM 708, and these timers are periodically updated in the timer update process of the payout control unit interrupt process described later ( It is configured to count up or down). The numerical value described in the item of "timer value (ms)" indicates the time measured by each timer. For example, the CR unit connection signal monitoring timer is used to measure 2 seconds (= 2000 ms). Indicates that the timer is set.

<払出制御マイコン/信号状態記憶部>
図66(b)は、払出制御マイコン770のRAM708の記憶領域の一部を示した図である。払出制御マイコン770は、RAM708の記憶領域の一部(本例では、アドレスF051h〜F056hの範囲)に、同図(b)に示す各種状態を記憶するための信号状態記憶領域を設けている。
<Payout control microcomputer / signal state storage unit>
FIG. 66B is a diagram showing a part of the storage area of the RAM 708 of the payout control microcomputer 770. The payout control microcomputer 770 is provided with a signal state storage area for storing various states shown in FIG. 6B in a part of the storage area of the RAM 708 (in this example, the range of addresses F051h to F056h).

<払出制御マイコン/検出可能エラー>
次に、図67を用いて、払出制御マイコン770で検出可能なエラーについて説明する。図67(a)は、払出制御マイコン770で検出可能なエラーの一例を示した図であり、図67(b)は、扉開放エラーの発生条件であるガラス枠開放エラーと内枠開放エラーの組み合わせを示した図である。
<Payout control microcomputer / detectable error>
Next, an error that can be detected by the payout control microcomputer 770 will be described with reference to FIG. 67. FIG. 67A is a diagram showing an example of an error that can be detected by the payout control microcomputer 770, and FIG. 67B is a diagram showing the conditions for generating the door opening error, that is, the glass frame opening error and the inner frame opening error. It is a figure which showed the combination.

上述のとおり、主制御部300は、デバイス監視処理(ステップS232)で検出した各種デバイスのエラーを、払出制御部600に出力可能であるため、払出制御マイコン770では、主制御部300と同様に、下受け皿満タンエラー(下皿満タンエラー)、払出装置エラー、払出超過エラー、不正払出エラー、払出個数スイッチエラー、主制御通信エラー、CRユニット未接続エラー、CRユニット通信エラー、磁気異常エラー、外部クロック異常エラー、磁界異常エラー、スイッチレベル異常エラー、枠開放エラー(前面枠扉開放エラー)、スイッチ未接続エラー、衝撃センサエラーなどの検出が可能である。また、これらのエラーの他に、払出制御マイコン770では、主制御部300からの通信確認コマンドが所定時間(本例では1000ms)、受信できなかった場合の主制御通信エラーなども検出可能である。 As described above, since the main control unit 300 can output the errors of various devices detected in the device monitoring process (step S232) to the payout control unit 600, the payout control microcomputer 770 is the same as the main control unit 300. , Lower tray full tank error (lower tray full tank error), payout device error, payout excess error, illegal payout error, payout quantity switch error, main control communication error, CR unit unconnected error, CR unit communication error, magnetic error, external It is possible to detect clock error, magnetic field error, switch level error, frame opening error (front frame door opening error), switch disconnection error, impact sensor error, and so on. In addition to these errors, the payout control microcomputer 770 can also detect a main control communication error when the communication confirmation command from the main control unit 300 cannot be received for a predetermined time (1000 ms in this example). ..

<払出制御マイコン/払出制御コマンド>
次に、図68および図69を用いて、払出制御部600(払出制御基板170)から主制御部300(主制御基板156)に送信される払出制御コマンドについて説明する。なお、図68は、払出制御コマンドの一例を示した図であり、図69は、後述する送信コマンド処理を実行する際に用いる送信コマンド出力要求情報の一例(a)と一部の払出制御コマンドのデータ構成を示した図(b〜e)である。
<Payout control microcomputer / Payout control command>
Next, a payout control command transmitted from the payout control unit 600 (payout control board 170) to the main control unit 300 (main control board 156) will be described with reference to FIGS. 68 and 69. Note that FIG. 68 is a diagram showing an example of a payout control command, and FIG. 69 is an example (a) of transmission command output request information used when executing a transmission command process described later and a part of the payout control command. It is a figure (b to e) which showed the data structure of.

払出制御部600が主制御部300から受信するコマンドには、通信確認コマンド(「主制御通信確認コマンド」という場合がある)と、賞球数コマンド(「賞球コマンド」という場合がある)がある。これらの受信コマンドは、後述する払出制御部メイン処理のコマンド解析処理(ステップS309)で解析され、各々のコマンドに対応する処理が実行される。 The commands received by the payout control unit 600 from the main control unit 300 include a communication confirmation command (sometimes referred to as a "main control communication confirmation command") and a prize ball number command (sometimes referred to as a "prize ball command"). be. These received commands are analyzed by the command analysis process (step S309) of the payout control unit main process, which will be described later, and the process corresponding to each command is executed.

主制御通信確認コマンドは、主制御部300と払出制御部600の通信状態と主制御部300の起動方法(初期起動または復帰起動)を示すコマンドである。また、賞球コマンドは、指定賞球数分の遊技球の払出を示すコマンドである。 The main control communication confirmation command is a command indicating the communication status between the main control unit 300 and the payout control unit 600 and the activation method (initial activation or return activation) of the main control unit 300. The prize ball command is a command indicating the payout of game balls for the number of designated prize balls.

払出制御部600が主制御部300に送信するコマンドには、通信確認戻りコマンドと、賞球信号出力要求コマンドと、デバイスコマンド1〜4と、賞球払出動作状態コマンドがある。これらの送信コマンドは、後述する払出制御部メイン処理の送信コマンド処理(ステップS311)において主制御部300に送信される。主制御部300では、上述の主制御部タイマ割込処理のコマンド解析処理(ステップS159)において、これらのコマンドを解析し、各々のコマンドに対応する処理を実行する。 The commands transmitted by the payout control unit 600 to the main control unit 300 include a communication confirmation return command, a prize ball signal output request command, device commands 1 to 4, and a prize ball payout operation state command. These transmission commands are transmitted to the main control unit 300 in the transmission command process (step S311) of the payout control unit main process described later. The main control unit 300 analyzes these commands in the command analysis process (step S159) of the above-mentioned main control unit timer interrupt process, and executes the process corresponding to each command.

通信確認戻りコマンド(「通信確認コマンド」という場合がある)は、主制御部300からの通信確認コマンドを受信したことを示すコマンドである。賞球信号出力要求コマンドは、試射試験信号端子への賞球信号の出力を指示するコマンドである。デバイスコマンド1〜4は、デバイスの各種状態を示すコマンドであり、各々のデータ構成は図69に示すとおりである。賞球払出動作状態コマンドは、賞球払出しの動作状態を示すコマンドである。 The communication confirmation return command (sometimes referred to as a "communication confirmation command") is a command indicating that a communication confirmation command from the main control unit 300 has been received. The prize ball signal output request command is a command for instructing the output of the prize ball signal to the test firing test signal terminal. Device commands 1 to 4 are commands indicating various states of the device, and their data configurations are as shown in FIG. 69. The prize ball payout operation state command is a command indicating the operation state of the prize ball payout.

本例では、上述の発射強度状態信号(ターボスイッチ信号)の情報は、デバイスコマンド4として(ビット1に設定される)払出制御部600から主制御部300に送信され、上述のタッチスイッチ信号の情報は、デバイスコマンド4として(ビット0に設定される)払出制御部600から主制御部300に送信される。なお、本例では、発射強度状態信号とタッチスイッチ信号を同じデバイスコマンドで送信可能に構成しているが、これに限定することなく、別のデバイスコマンドで送信するように構成してもよい。また、発射強度状態信号等(タッチスイッチ信号を含む)は、他の信号と同じデバイスコマンドで送信可能に構成してもよく、所定の信号(例えばCRユニット未接続エラー)とは別のデバイスコマンドで送信可能に構成するなど、デバイスコマンド1〜4と各種状態の組み合わせは適宜可能である。また、デバイスコマンドの種類は1〜4に限らない。 In this example, the above-mentioned emission intensity state signal (turbo switch signal) information is transmitted from the payout control unit 600 (set to bit 1) to the main control unit 300 as the device command 4, and is the above-mentioned touch switch signal. The information is transmitted from the payout control unit 600 (set to bit 0) to the main control unit 300 as the device command 4. In this example, the firing intensity status signal and the touch switch signal are configured to be transmitted by the same device command, but the present invention is not limited to this, and may be configured to be transmitted by another device command. Further, the firing intensity status signal and the like (including the touch switch signal) may be configured to be transmittable by the same device command as other signals, and may be configured to be transmitted by a device command different from a predetermined signal (for example, CR unit unconnected error). It is possible to appropriately combine device commands 1 to 4 with various states, such as configuring the device so that it can be transmitted with. Further, the types of device commands are not limited to 1 to 4.

<払出制御部/払出制御部割込み処理>
次に、図70を参照して、払出制御部600が実行する払出制御部割込み処理について説明する。同図は、払出制御部割込み処理の流れを示したフローチャートである。払出制御部600は、所定の周期(本実施形態では1msに1回)でタイマ割り込みを発生するカウンタ・タイマを備えており、このタイマ割り込みを契機として払出制御部タイマ割り込み処理を所定の周期で開始する。
<Payout control unit / Payout control unit interrupt processing>
Next, the payout control unit interrupt process executed by the payout control unit 600 will be described with reference to FIG. 70. The figure is a flowchart showing the flow of the payout control unit interrupt processing. The payout control unit 600 includes a counter timer that generates a timer interrupt in a predetermined cycle (once in 1 ms in the present embodiment), and the payout control unit timer interrupt process is performed in a predetermined cycle triggered by this timer interrupt. Start.

ステップS401では、レジスタ値を退避し、ステップS402では、割り込みフラグをクリアし、ステップS403では、WDTクリアおよびリスタートを行う。また、ステップS404では、受信コマンドの処理を行う。この処理では、主制御部300からのコマンド受信(例えば、賞球コマンドの受信など)の有無を判定し、受信している場合は、受信したコマンドデータを受信コマンドバッファエリアに設定する。 In step S401, the register value is saved, in step S402, the interrupt flag is cleared, and in step S403, the WDT is cleared and restarted. Further, in step S404, the reception command is processed. In this process, it is determined whether or not a command is received from the main control unit 300 (for example, reception of a prize ball command), and if it is received, the received command data is set in the reception command buffer area.

ステップS405では、主制御通信確認コマンドを受信済みか否かを判定する。受信済みの場合は、ステップS406に進み、そうでない場合はステップS414に進む。上述のとおり、主制御部300は払出制御部600から電源の供給を受けているため、その起動が払出制御部600より遅れる。このため、本ステップでは主制御部300が起動するまで、これ以降のステップS406〜ステップS413の処理を待機するために判定処理を行う。 In step S405, it is determined whether or not the main control communication confirmation command has been received. If it has been received, the process proceeds to step S406, and if not, the process proceeds to step S414. As described above, since the main control unit 300 receives the power supply from the payout control unit 600, its activation is delayed from that of the payout control unit 600. Therefore, in this step, a determination process is performed in order to wait for the subsequent processes of steps S406 to S413 until the main control unit 300 is activated.

ステップS406では、ポート入力処理を行う。このポート入力処理では、I/Oポートの値を取得して、各種センサの状態などを検出する。具体的には、カードユニット608からインタフェース部606を介して入力する各種信号の状態、払出センサ604から入力する球払出信号、下皿センサから入力する信号、エラー解除スイッチから入力する信号の状態などを取得して、RAMに設けた入力信号情報記憶領域に記憶する。また、発射制御基板174から入力する発射強度状態信号がオン状態を示す信号の場合に、ターボ状態報知ランプ151を点灯し、発射強度状態信号がオフ状態を示す信号の場合に、ターボ状態報知ランプ151を消灯する制御を行う。 In step S406, port input processing is performed. In this port input process, the value of the I / O port is acquired to detect the status of various sensors. Specifically, the state of various signals input from the card unit 608 via the interface unit 606, the state of the ball payout signal input from the payout sensor 604, the signal input from the lower plate sensor, the state of the signal input from the error release switch, etc. Is acquired and stored in the input signal information storage area provided in the RAM. Further, when the firing intensity state signal input from the firing control board 174 is a signal indicating an on state, the turbo state notification lamp 151 is turned on, and when the firing intensity state signal is a signal indicating an off state, the turbo state notification lamp is used. Control is performed to turn off 151.

ステップS407では、タイマ更新処理を行う。このタイマ更新処理では、主制御通信監視タイマや、RAMに設けた貸出要求待ちタイマおよび貸出指示待ちタイマや、払出報知用LEDの点灯/消灯時間、モータ駆動/非駆動時間などを計時するためのタイマなどを含む各種タイマを更新する。 In step S407, the timer update process is performed. In this timer update process, the main control communication monitoring timer, the lending request waiting timer and the lending instruction waiting timer provided in the RAM, the on / off time of the payout notification LED, the motor drive / non-drive time, etc. are measured. Update various timers including timers.

ステップS408では、デバイス監視処理を行う。詳細は後述するが、このデバイス監視処理では、主制御部300との通信に異常があるか否かを監視するとともに、各種エラーが発生しているか否かを判定し、エラーの発生状況に応じてLEDの消灯/点灯制御を行う。 In step S408, device monitoring processing is performed. Details will be described later, but in this device monitoring process, whether or not there is an abnormality in communication with the main control unit 300 is monitored, and whether or not various errors have occurred is determined, and the error occurrence status is determined. The LED is turned off / on.

ステップS409では、CRユニット通信処理を行う。このCRユニット通信処理では、カードユニット608からインタフェース部606を介して入力する各種信号の状態に基づいて、カードユニット608との通信を行う。例えば、カードユニット608から遊技球の貸出要求信号を受けた場合に、後述する貸出用払出数記憶部の払出数情報に貸出要求信号に含まれる貸出要求数を加算する。 In step S409, CR unit communication processing is performed. In this CR unit communication process, communication with the card unit 608 is performed based on the states of various signals input from the card unit 608 via the interface unit 606. For example, when a game ball lending request signal is received from the card unit 608, the number of lending requests included in the lending request signal is added to the payout number information of the lending number storage unit, which will be described later.

ステップS410では、払出管理処理を行う。この払出管理処理では、払出装置552の制御などを行う。ステップS411では、信号出力処理を行う。この信号出力処理では、外部端子板(不図示)から外部に出力する信号の制御を行う。 In step S410, the payout management process is performed. In this payout management process, the payout device 552 is controlled. In step S411, signal output processing is performed. In this signal output processing, the signal to be output to the outside from the external terminal board (not shown) is controlled.

ステップS412では、送信コマンド設定処理を行う。この送信コマンド設定処理では、払出制御部600から主制御部300に送信する各種コマンドを設定する処理を行う。この各種コマンドには、エラーに関するコマンドも含まれる。本明細書において「エラー」とは、払出個数スイッチエラー、不正払出エラー、払出超過エラー、下皿満タンエラー、払出しエラー、主制御通信エラー、扉開放エラーなど、本明細書において「エラー」と表記したものをすべて含む。ステップS413ではポート出力処理を行う。詳細は後述するが、このポート出力処理では、発射制御基板174に対して発射許可信号を出力する処理などを行う。 In step S412, the transmission command setting process is performed. In this transmission command setting process, various commands to be transmitted from the payout control unit 600 to the main control unit 300 are set. These various commands also include commands related to errors. In this specification, "error" is referred to as "error" in this specification such as payout quantity switch error, illegal payout error, payout excess error, lower plate full tank error, payout error, main control communication error, door open error, etc. Includes everything you have done. In step S413, port output processing is performed. Details will be described later, but in this port output process, a process of outputting a launch permission signal to the launch control board 174 is performed.

ステップS414ではレジスタ値を復帰し、ステップS415では、割り込み許可設定を行った後に処理を終了する。 In step S414, the register value is restored, and in step S415, the process ends after the interrupt enable setting is set.

このように、本実施形態では、受信コマンドをRAM708(バッファ)に格納する処理は、払出制御部割込み処理の受信コマンド処理(ステップS404)で行い、コマンドを解析する処理は、払出制御部メイン処理のコマンド解析処理(ステップS309)で行う。 As described above, in the present embodiment, the process of storing the received command in the RAM 708 (buffer) is performed by the receive command process (step S404) of the payout control unit interrupt process, and the process of analyzing the command is the payout control unit main process. This is performed in the command analysis process (step S309) of.

<デバイス監視処理>
次に、図71を参照して、上述の払出制御部割込み処理におけるデバイス監視処理(ステップS408)について説明する。同図は、デバイス監視処理の流れを示すフローチャートである。
<Device monitoring process>
Next, the device monitoring process (step S408) in the above-mentioned payout control unit interrupt process will be described with reference to FIG. 71. The figure is a flowchart showing the flow of device monitoring processing.

ステップS1301では、主制御通信監視タイマが0であるかどうかを判定し、0の場合(主制御部300から主制御通信確認コマンドを受信してから所定時間(本実施形態では、約1000ms)が経過した時)にはステップS1302に進み、0以外の場合にはステップS1304に進む。 In step S1301, it is determined whether or not the main control communication monitoring timer is 0, and if it is 0 (about 1000 ms in this embodiment) after receiving the main control communication confirmation command from the main control unit 300. When it has elapsed), the process proceeds to step S1302, and if it is other than 0, the process proceeds to step S1304.

ステップS1302では、主制御通信エラーフラグをオンに設定した後にステップS1303に進む。ステップS1303では、賞球コマンド受付許可フラグをオンに設定する。つまり、主制御通信確認コマンドを受信後、所定期間(1000ms=100ms×10)が経過した場合に、賞球コマンド受付許可フラグがオフに設定される。しかしこれに限らず、主制御部300から通信確認状態である旨のコマンドを受信した場合(すなわち、主制御通信確認コマンドを受信後、1000ms到達前)に、賞球コマンド受付許可フラグをオフに設定してもよい。 In step S1302, the process proceeds to step S1303 after setting the main control communication error flag to ON. In step S1303, the prize ball command acceptance permission flag is set to on. That is, the prize ball command acceptance permission flag is set to off when a predetermined period (1000 ms = 100 ms × 10) has elapsed after receiving the main control communication confirmation command. However, not limited to this, when a command indicating that the communication is confirmed is received from the main control unit 300 (that is, after receiving the main control communication confirmation command and before reaching 1000 ms), the prize ball command acceptance permission flag is turned off. It may be set.

なお、主制御部300で特定異常(磁気エラー)を検出した場合には、上述のとおり、主制御部300はステップS219のシリアルコマンド管理処理を実行しなくなるので、払出制御部600に主制御通信確認コマンドを送信することができなくなる。その結果、払出制御部600では主制御通信エラーとなり、遊技球を発射不能な状態に移行することとなる。ここで、本例では、主制御部300で特定異常を検出してから払出制御部600が主制御通信エラーになるまでの時間は約1000msを要するため、特定異常検出後であっても遊技球を少なくとも1球発射可能に構成している。しかしながら、これに限定することなく、例えば、主制御部300が特定異常を検出した場合には、払出制御部600に特定異常であることを示すコマンドを送信し、払出制御部600は直ちに発射許可信号をオフにするように構成してもよい。 When the main control unit 300 detects a specific abnormality (magnetic error), the main control unit 300 does not execute the serial command management process in step S219 as described above, so that the payout control unit 600 is in main control communication. You will not be able to send confirmation commands. As a result, the payout control unit 600 causes a main control communication error, and the game ball shifts to a state in which it cannot be launched. Here, in this example, since it takes about 1000 ms from the detection of the specific abnormality by the main control unit 300 to the occurrence of the main control communication error by the payout control unit 600, the game ball is played even after the specific abnormality is detected. Is configured to be capable of firing at least one ball. However, without limiting this, for example, when the main control unit 300 detects a specific abnormality, a command indicating that the specific abnormality is detected is transmitted to the payout control unit 600, and the payout control unit 600 immediately permits firing. It may be configured to turn off the signal.

ステップS1304では、その他デバイス状態更新処理を行う。ステップS1305では、表示器表示設定処理を行う。この表示器表示設定処理では、ステップS1305で更新したデバイス状態に基づいてLEDの点灯/消灯/点灯制御を行う。ここでは、例えば、パチンコ機100がエラー状態になった場合に、エラーが発生していることを遊技者に報知するためのLED(例えば、パチンコ機100の上部に配設されたLED)を点灯させるとともに、エラーが解消した場合には、そのLEDを消灯させる。例えば、RAM708に設けた払出超過エラーフラグがセットされている場合には、払出超過エラーが発生していることを遊技者に報知するためのLEDを点灯させるとともに、払出超過エラーフラグがクリアされた場合には、そのLEDを消灯させる。また、RAM708に設けた下皿満タンエラーフラグがセットされている場合には、下皿満タンエラーが発生していることを遊技者に報知するためのLEDを点灯させるとともに、下皿満タンエラーフラグがクリアされた場合には、そのLEDを消灯させる。 In step S1304, other device state update processing is performed. In step S1305, the display display setting process is performed. In this display display setting process, LED lighting / extinguishing / lighting control is performed based on the device state updated in step S1305. Here, for example, when the pachinko machine 100 is in an error state, an LED (for example, an LED arranged on the upper part of the pachinko machine 100) for notifying the player that an error has occurred is lit. When the error is resolved, the LED is turned off. For example, when the overpayment error flag provided in the RAM 708 is set, the LED for notifying the player that an overpayment error has occurred is turned on, and the overpayment error flag is cleared. If so, the LED is turned off. Further, when the lower plate full tank error flag provided in the RAM 708 is set, the LED for notifying the player that the lower plate full tank error has occurred is turned on, and the lower plate full tank error is turned on. When the flag is cleared, the LED is turned off.

ステップS1306では、その他デバイス監視処理を行った後に処理を終了する。その他デバイス監視処理としては、例えば、ステップS1302で主制御部通信エラーフラグがオンに設定された場合に、発射装置844による球の打ち出しや払出を中止する処理などが挙げられる。 In step S1306, the process ends after the other device monitoring process is performed. Other device monitoring processes include, for example, a process of stopping the launching and paying out of a ball by the launching device 844 when the main control unit communication error flag is set to ON in step S1302.

<ポート出力処理>
次に、図72を用いて、上述の払出制御部割込み処理におけるポート出力処理(ステップS413)について説明する。なお、図72は、ポート出力処理の流れを示すフローチャートである。
<Port output processing>
Next, the port output process (step S413) in the above-mentioned payout control unit interrupt process will be described with reference to FIG. 72. Note that FIG. 72 is a flowchart showing the flow of port output processing.

ステップS2301では、発射許可信号ビットをクリアし、次のステップS2302では、主制御部通信エラーが発生しているか否かを判定し、発生している場合にはステップS2305に進み、発生していない場合にはステップS2303に進む。ステップS2303では、CRユニット未接続エラーが発生しているか否かを判定し、発生している場合にはステップS2305に進み、発生していない場合にはステップS2304に進む。すなわち、主制御部通信エラーではなく、かつ、CRユニット未接続エラーではない場合にのみ、ステップS2304に進む。 In step S2301, the emission permission signal bit is cleared, and in the next step S2302, it is determined whether or not a main control unit communication error has occurred. If so, the process proceeds to step S2305 and the error has not occurred. In the case, the process proceeds to step S2303. In step S2303, it is determined whether or not a CR unit non-connection error has occurred, and if it has occurred, the process proceeds to step S2305, and if it has not occurred, the process proceeds to step S2304. That is, the process proceeds to step S2304 only when it is not a main control unit communication error and a CR unit non-connection error.

ステップS2304では、発射許可信号ビットをセットする。これにより、払出制御基板170から発射制御基板174に向けて発射許可信号が出力されることになる。ステップS2305では、その他ポート出力処理を行った後に処理を終了する。 In step S2304, the emission permission signal bit is set. As a result, the launch permission signal is output from the payout control board 170 toward the launch control board 174. In step S2305, the processing ends after performing other port output processing.

<発射強度状態(発射強度状態を含むデバイスコマンド4)の送信タイミング>
次に、図73および図74を用いて、上述のデバイスコマンド4(発射強度状態を含むコマンド)の送信タイミングについて説明する。なお、図73(a)は、発射強度状態信号がオンの場合における払出制御部600から主制御部300への送信タイミングの一例を示したタイムチャートであり、同図(b)は、発射強度状態信号がオフの場合における払出制御部600から主制御部300への送信タイミングの一例を示したタイムチャートである。また、図74は、主制御部300から第1副制御部400への送信タイミングの一例を示したタイムチャートである。
<Transmission timing of launch intensity state (device command 4 including launch intensity state)>
Next, the transmission timing of the above-mentioned device command 4 (command including the firing intensity state) will be described with reference to FIGS. 73 and 74. Note that FIG. 73A is a time chart showing an example of transmission timing from the payout control unit 600 to the main control unit 300 when the firing intensity state signal is on, and FIG. 73B is a firing intensity. It is a time chart which showed an example of the transmission timing from the payout control unit 600 to the main control unit 300 when the state signal is off. Further, FIG. 74 is a time chart showing an example of transmission timing from the main control unit 300 to the first sub control unit 400.

図73に示す時間T1〜T7は、発射強度状態信号がオンからオフ(またはオフからオン)に切り替わったタイミングからの経過時間を示しており、時間T1、T5は、100ms未満の時間(例えば、80ms)、時間T2、T6は、T1、T5よりも長い100ms以上の時間(例えば、120ms)、時間T3、T7は、T2、T6よりも長い時間(例えば、180ms)を示している。 The times T1 to T7 shown in FIG. 73 indicate the elapsed time from the timing when the firing intensity state signal is switched from on to off (or off to on), and the times T1 and T5 are times less than 100 ms (for example, for example). 80 ms), time T2, T6 indicates a time of 100 ms or more longer than T1, T5 (for example, 120 ms), and time T3, T7 indicates a time longer than T2, T6 (for example, 180 ms).

上述のとおり、本例では、払出制御部600は、発射強度状態信号の情報をデバイスコマンド4のビット1にセットすることで主制御部300に送信するように構成している。しかしながら、発射強度状態信号がオフからオン(またはオンからオフ)に切り替わってから時間T1経過後、T5経過後のタイミングでは100ms未満であるため(図63参照)、時間T1経過後、T5経過後のタイミングではデバイスコマンド4の発射強度状態はオフとなるように構成されている。 As described above, in this example, the payout control unit 600 is configured to transmit the information of the emission intensity state signal to the main control unit 300 by setting the bit 1 of the device command 4. However, since the timing after the lapse of time T1 and the lapse of T5 after the firing intensity status signal is switched from off to on (or from on to off) is less than 100 ms (see FIG. 63), after the lapse of time T1 and after the lapse of T5. At the timing of, the firing intensity state of the device command 4 is configured to be off.

また、発射強度状態信号がオフからオン(またはオンからオフ)に切り替わってから時間T2経過後、T6経過後のタイミングでは、100msを超えているが、払出制御部600から主制御部300に通信確認コマンドを送信するタイミングが到来していないため、時間T2経過後、T6経過後のタイミングではデバイスコマンド4自体を送信しないように構成されている。 Further, at the timing after the lapse of time T2 and after the lapse of T6 after the firing intensity status signal is switched from off to on (or from on to off), although it exceeds 100 ms, the payout control unit 600 communicates with the main control unit 300. Since the timing for transmitting the confirmation command has not arrived, the device command 4 itself is not transmitted at the timing after the lapse of the time T2 and the lapse of T6.

そして、発射強度状態信号がオフからオン(またはオンからオフ)に切り替わってから時間T3経過後、T7経過後のタイミングでは、100msを超えており、払出制御部600から主制御部300に通信確認コマンドを送信するタイミングであるため、時間T3経過後、T7経過後のタイミングでは、発射強度状態がオンであるデバイスコマンド4を送信するように構成されている。 Then, after the lapse of time T3 and after the lapse of T7 after the firing intensity status signal is switched from off to on (or from on to off), the timing exceeds 100 ms, and the payout control unit 600 confirms communication with the main control unit 300. Since it is the timing to transmit the command, the device command 4 in which the firing intensity state is on is transmitted at the timing after the lapse of time T3 and after the lapse of T7.

また、本例では、主制御部300は、払出制御部600から受信した発射強度状態信号の情報を、制御コマンドとして第1副制御部400に送信するが、図117に示すように、発射強度状態信号がオフからオン(またはオンからオフ)に変化したときだけ送信するように構成している。しかしながら、変化したときだけではなく、主制御部300が第1副制御部400にコマンドを送信するタイミング毎や、払出制御部600からコマンドを受信した直後の第1副制御部400にコマンドを送信するタイミング毎に送信するように構成してもよい。 Further, in this example, the main control unit 300 transmits the information of the emission intensity state signal received from the payout control unit 600 to the first sub control unit 400 as a control command. As shown in FIG. 117, the emission intensity is transmitted. It is configured to transmit only when the status signal changes from off to on (or from on to off). However, not only when the command is changed, the command is transmitted to the first sub-control unit 400 at each timing when the main control unit 300 transmits the command to the first sub-control unit 400 or immediately after receiving the command from the payout control unit 600. It may be configured to transmit at each timing.

また、第1副制御部400は、約33msに1回のタイミングで主制御部300からのコマンドを処理(受信したコマンドを解析して所定の処理を実行)するため、発射強度状態信号のオンオフ判定は、主制御部300と比較すると最大で約33ms遅れることになり、当該発射強度状態信号に基づいて行う各種処理(例えば、発射強度状態信号に基づく表示)は、最低でも当該時間分は遅れることになる(なお、上述のとおり、ターボボタン870gを操作してからの時間は、各制御部で遅延するため、該33ms以上遅れることになる)。 Further, since the first sub-control unit 400 processes the command from the main control unit 300 (analyzes the received command and executes a predetermined process) at a timing of once every 33 ms, the firing intensity state signal is turned on / off. The determination is delayed by about 33 ms at the maximum as compared with the main control unit 300, and various processes performed based on the firing intensity status signal (for example, display based on the firing intensity status signal) are delayed by at least the time. (Note that, as described above, the time after operating the turbo button 870 g is delayed by 33 ms or more because each control unit delays the time).

<主制御部300と払出制御部600の通信例1>
次に、図75を用いて、主制御部300と払出制御部600の通信例1について説明する。なお、同図は、主制御部300と払出制御部600の通信例1のタイミングチャートと所定のタイミングにおける変数の変化の一例を示した図である。
<Communication example 1 between the main control unit 300 and the payout control unit 600>
Next, a communication example 1 of the main control unit 300 and the payout control unit 600 will be described with reference to FIG. 75. It should be noted that the figure is a diagram showing a timing chart of communication example 1 of the main control unit 300 and the payout control unit 600 and an example of changes in variables at a predetermined timing.

主制御部300は、N(Nは正の整数)回目の主制御部タイマ割込処理のシリアルコマンド送信処理において、通信確認コマンド送信タイマから1を減算し、この通信確認コマンド送信タイマが0になったタイミングで、通信確認コマンド送信タイマに初期値の25(約100msの時間に相当する数値)を設定し、シリアルコマンドステータスに1(賞球コマンドが送信不能な状態であることを示す数値)を設定する。また、同タイミングにおいて、送信データレジスタに通信確認コマンドに対応する数値をセットすることで、シリアル通信線612を介して払出制御部600に通信確認コマンドを送信した後、通信確認コマンド送信カウンタから1を減算し、例えば、通信確認コマンド送信カウンタの値が10の場合には9に更新する。 The main control unit 300 subtracts 1 from the communication confirmation command transmission timer in the serial command transmission process of the N (N is a positive integer) th time of the main control unit timer interrupt processing, and the communication confirmation command transmission timer becomes 0. At the timing when the communication confirmation command is sent, the initial value of 25 (a numerical value corresponding to a time of about 100 ms) is set in the communication confirmation command transmission timer, and the serial command status is 1 (a numerical value indicating that the prize ball command cannot be transmitted). To set. Further, at the same timing, by setting the numerical value corresponding to the communication confirmation command in the transmission data register, the communication confirmation command is transmitted to the payout control unit 600 via the serial communication line 612, and then 1 from the communication confirmation command transmission counter. Is subtracted, for example, when the value of the communication confirmation command transmission counter is 10, it is updated to 9.

これに対し、払出制御部600は、コマンド解析処理において主制御通信確認コマンドを受信した場合に、主制御通信確認コマンド受信時処理を実行する。そして、この主制御通信確認コマンド受信時処理において、主制御通信監視タイマに初期値の1000(約1000msの時間に相当する数値)を設定し、主制御通信エラーフラグをオフに設定し、通信確認コマンド受信フラグをオンに設定する。 On the other hand, when the payout control unit 600 receives the main control communication confirmation command in the command analysis process, the payout control unit 600 executes the process at the time of receiving the main control communication confirmation command. Then, in this processing when the main control communication confirmation command is received, the initial value of 1000 (a numerical value corresponding to a time of about 1000 ms) is set in the main control communication monitoring timer, the main control communication error flag is set to off, and communication confirmation is performed. Set the command reception flag to on.

続いて、払出制御部600は、送信コマンド処理のステップS1001において通信確認コマンド受信フラグがオンであると判定することから、送信データレジスタに通信確認コマンドに対応する数値をセットすることで、シリアル通信線612を介して主制御部300に通信確認コマンドを送信した後に、通信確認コマンド受信フラグがオフに設定する。 Subsequently, the payout control unit 600 determines in step S1001 of the transmission command process that the communication confirmation command reception flag is on. Therefore, the payout control unit 600 sets a numerical value corresponding to the communication confirmation command in the transmission data register for serial communication. After transmitting the communication confirmation command to the main control unit 300 via the line 612, the communication confirmation command reception flag is set to off.

また、主制御部300は、N+1回目の主制御部タイマ割込処理のシリアルコマンド受信処理において、払出制御部600から通信確認コマンドを受信したと判定することから、シリアルコマンドステータスに初期値である0(賞球コマンドを送信可能な状態であることを示す数値)を設定し、通信確認コマンド送信カウンタに初期値である10を設定し、シリアルコマンド通信エラーフラグに0を設定する。また、N+1回目の主制御部割込処理のシリアルコマンド送信処理において、通信確認コマンド送信タイマから1を減算することで、通信確認コマンド送信タイマの値を25から24に更新する。 Further, since the main control unit 300 determines that the communication confirmation command has been received from the payout control unit 600 in the serial command reception process of the N + 1th main control unit timer interrupt process, the serial command status is the initial value. Set 0 (a numerical value indicating that the prize ball command can be transmitted), set the communication confirmation command transmission counter to 10 which is the initial value, and set the serial command communication error flag to 0. Further, in the N + 1th serial command transmission process of the main control unit interrupt process, the value of the communication confirmation command transmission timer is updated from 25 to 24 by subtracting 1 from the communication confirmation command transmission timer.

続いて、主制御部300は、N+2回目以降の主制御部タイマ割込処理の賞球コマンド設定処理において、賞球コマンド送信条件が成立したか否かを判定し、成立した場合には、賞球コマンドに対応する数値を送信データレジスタにセットすることで、シリアル通信線612を介して払出制御部600に賞球コマンドを送信する。 Subsequently, the main control unit 300 determines whether or not the prize ball command transmission condition is satisfied in the prize ball command setting process of the main control unit timer interrupt processing after the N + second time, and if it is satisfied, the prize is awarded. By setting the numerical value corresponding to the ball command in the transmission data register, the prize ball command is transmitted to the payout control unit 600 via the serial communication line 612.

<賞球コマンドの送信タイミングの一例>
例えば、同図のt1に示す期間では、主制御部300は、N+1回目の主制御部タイマ割込処理において払出制御部600から通信確認コマンドを受信してシリアルコマンドステータスが0になった後に(賞球コマンドが送信可能な状態になった後に)、賞球コマンド送信条件が1回成立したことから、N+3回目の主制御部タイマ割込処理において、払出制御部600に対して賞球コマンドを1回、送信している。
<Example of prize ball command transmission timing>
For example, in the period shown in t1 of the figure, after the main control unit 300 receives the communication confirmation command from the payout control unit 600 in the N + 1th main control unit timer interrupt process and the serial command status becomes 0 ( Since the prize ball command transmission condition was satisfied once (after the prize ball command can be transmitted), the prize ball command is issued to the payout control unit 600 in the N + 3rd main control unit timer interrupt process. It has been sent once.

また、同図のt2に示す期間では、N+1回目の主制御部タイマ割込処理において払出制御部600から通信確認コマンドを受信してシリアルコマンドステータスが0になった後に(賞球コマンドが送信可能な状態になった後に)、賞球コマンド送信条件が2回成立したことから、N+2回目とN+3回目の主制御部タイマ割込処理において、払出制御部600に対して賞球コマンドをそれぞれ1回、送信している。 Further, in the period shown in t2 of the figure, after receiving the communication confirmation command from the payout control unit 600 in the N + 1th main control unit timer interrupt processing and the serial command status becomes 0 (the prize ball command can be transmitted). Since the prize ball command transmission condition was satisfied twice, the prize ball command was issued once to the payout control unit 600 in the N + 2nd and N + 3rd main control unit timer interrupt processing. , Sending.

また、同図のt3に示す期間では、主制御部300は、N+1回目の主制御部タイマ割込処理において払出制御部600から通信確認コマンドを受信してシリアルコマンドステータスが0になる前に(賞球コマンドが送信可能な状態になる前に)、賞球コマンド送信条件が1回成立したことから、賞球コマンドの送信を一時的に保留している。そして、N+1回目の主制御部タイマ割込処理において払出制御部600から通信確認コマンドを受信するのを待って(賞球コマンドが送信可能な状態になるのを待って)、当該N+1回目の主制御部タイマ割込処理において、払出制御部600に対して賞球コマンドを1回、送信している。 Further, in the period shown in t3 of the figure, the main control unit 300 receives the communication confirmation command from the payout control unit 600 in the N + 1th main control unit timer interrupt process, and before the serial command status becomes 0 ( Since the prize ball command transmission condition was satisfied once (before the prize ball command can be transmitted), the transmission of the prize ball command is temporarily suspended. Then, in the N + 1th main control unit timer interrupt process, the communication confirmation command is received from the payout control unit 600 (waiting for the prize ball command to be ready to be transmitted), and the N + 1th main control unit is used. In the control unit timer interrupt process, the prize ball command is transmitted once to the payout control unit 600.

図76(a)は、賞球コマンド送信時のタイムチャートの拡大図である。この例では、符号Aで示すタイミングにおいて始動口または入賞口に球が入球し、その後のN回目の主制御部タイマ割込処理の符号Bで示すタイミングにおいて、始動口または入賞口への入球を検出している。また、同じN回目の主制御部タイマ割込処理の符号Cで示すタイミングにおいて、払出制御部600に対して賞球コマンドを1回、送信している。 FIG. 76A is an enlarged view of the time chart when the prize ball command is transmitted. In this example, the ball enters the start port or the winning opening at the timing indicated by the reference numeral A, and then enters the starting opening or the winning opening at the timing indicated by the reference numeral B of the Nth main control unit timer interrupt process. Detecting a sphere. Further, the prize ball command is transmitted once to the payout control unit 600 at the timing indicated by the reference numeral C of the same Nth main control unit timer interrupt process.

一方、図76(b)は、図75のt3に示す期間のタイムチャートの拡大図である。この例では、符号Aで示すタイミングにおいて始動口または入賞口に球が入球し、その後のN回目の主制御部タイマ割込処理の符号Bで示すタイミングにおいて、始動口または入賞口への入球を検出している。また、同じN回目の主制御部タイマ割込処理の符号Fで示すタイミングにおいて、始動口または入賞口への入球パターンが予め定めた入賞判定パターン情報に一致したと判定しているが、この例では、同時に通信確認コマンドを送信するタイミングが到来したため、符号Fで示すタイミングにおいて、賞球コマンドよりも優先して通信確認コマンドを送信している(賞球コマンドの送信を一時的に保留している)。 On the other hand, FIG. 76B is an enlarged view of the time chart for the period shown in t3 of FIG. 75. In this example, the ball enters the start port or the winning opening at the timing indicated by the reference numeral A, and then enters the starting opening or the winning opening at the timing indicated by the reference numeral B of the Nth main control unit timer interrupt process. Detecting a sphere. Further, at the timing indicated by the symbol F of the same Nth main control unit timer interrupt process, it is determined that the ball entry pattern to the start port or the winning port matches the predetermined winning determination pattern information. In the example, since the timing for transmitting the communication confirmation command has arrived at the same time, the communication confirmation command is transmitted with priority over the prize ball command at the timing indicated by the symbol F (the transmission of the prize ball command is temporarily suspended). ing).

これに対し、払出制御部600は、M+1(Mは正の整数)回目の払出制御部メイン処理の符号Hで示すタイミングにおいて、主制御部300に通信確認コマンドを送信している。また、主制御部300は、N+1回目の主制御部タイマ割込処理の符号Cで示すタイミングにおいて払出制御部600からの通信確認コマンドの受信を確認した後、払出制御部600に対して、保留していた賞球コマンドを1回、送信している。 On the other hand, the payout control unit 600 transmits a communication confirmation command to the main control unit 300 at the timing indicated by the symbol H of the M + 1 (M is a positive integer) third payout control unit main process. Further, the main control unit 300 confirms the reception of the communication confirmation command from the payout control unit 600 at the timing indicated by the symbol C of the N + 1th main control unit timer interrupt process, and then holds the payout control unit 600. The prize ball command that was being sent is sent once.

図75に戻って、同図のt4に示す期間では、主制御部300は、N回目の主制御部タイマ割込処理の前に、賞球コマンド送信条件が2回成立したことから、N回目の主制御部タイマ割込処理において、払出制御部600に対して賞球コマンドを1回、送信しているが、その直後に、払出制御部600に通信確認コマンドを送信するタイミングが到来したことから、シリアルコマンドステータスを1に設定している(賞球コマンドが送信不能な状態になっている)。このため、賞球コマンドの送信を一時的に保留し、N+2回目の主制御部タイマ割込処理において払出制御部600から通信確認コマンドを受信するのを待って(賞球コマンドが送信可能な状態になるのを待って)、当該N+2回目の主制御部タイマ割込処理において、払出制御部600に対して賞球コマンドを1回、送信している。 Returning to FIG. 75, in the period shown in t4 of the figure, the main control unit 300 satisfied the prize ball command transmission condition twice before the Nth main control unit timer interrupt process, so that the Nth time. In the timer interrupt process of the main control unit, the prize ball command is transmitted once to the payout control unit 600, but immediately after that, the timing to send the communication confirmation command to the payout control unit 600 has arrived. Since, the serial command status is set to 1 (the prize ball command cannot be sent). Therefore, the transmission of the prize ball command is temporarily suspended, and the communication confirmation command is received from the payout control unit 600 in the N + 2nd main control unit timer interrupt processing (a state in which the prize ball command can be transmitted). In the N + second main control unit timer interrupt process, a prize ball command is transmitted to the payout control unit 600 once.

<シリアル通信エラーの一例>
同図のt6に示す期間では、主制御部300は、N回目の主制御部タイマ割込処理において払出制御部600に通信確認コマンドを送信した後、N回目以降の主制御部タイマ割込処理において当該通信確認コマンドに対する払出制御部600の応答を受信できていないことから、シリアルコマンドステータスを1に保持している。
<Example of serial communication error>
In the period shown in t6 of the figure, the main control unit 300 sends a communication confirmation command to the payout control unit 600 in the Nth main control unit timer interrupt process, and then the Nth and subsequent main control unit timer interrupt processes. Since the response of the payout control unit 600 to the communication confirmation command has not been received in, the serial command status is held at 1.

以降、主制御部300は、通信確認コマンド送信カウンタの値が10から0になるまで通信確認コマンドに対する払出制御部600の応答を待ち、それでも応答が無い場合に、同図のt8に示すように、シリアル通信エラーフラグを0から1に変更する。また、その後に払出制御部600からの応答があった場合には、同図のt9に示すように、シリアル通信エラーフラグを1から0に変更して、シリアル通信を再開する。 After that, the main control unit 300 waits for the response of the payout control unit 600 to the communication confirmation command until the value of the communication confirmation command transmission counter changes from 10 to 0, and when there is still no response, as shown in t8 of the figure. , Change the serial communication error flag from 0 to 1. If there is a response from the payout control unit 600 after that, the serial communication error flag is changed from 1 to 0 and serial communication is restarted as shown in t9 of the figure.

<始動口または入賞口の複数の入賞を検出した場合>
図77(a)は、1回の主制御部タイマ割込処理において始動口または入賞口の複数の入賞を検出した場合のタイムチャートの一例である。この例では、符号Aと符号Iで示すタイミングにおいて始動口または入賞口に球がそれぞれ入球し、その後のN回目の主制御部タイマ割込処理の符号Bと符号Jで示すタイミングにおいて、始動口または入賞口への入球を検出している。また、同じN回目の主制御部タイマ割込処理の符号Cで示すタイミングにおいて、払出制御部600に対して賞球コマンドを1回、送信し、続くN+1回目の主制御部タイマ割込処理の符号Kで示すタイミングにおいて、払出制御部600に対して賞球コマンドを1回、送信している。
<When multiple winnings at the starting port or winning opening are detected>
FIG. 77A is an example of a time chart when a plurality of winnings of the starting port or the winning opening are detected in one main control unit timer interrupt process. In this example, the ball enters the start port or the winning port at the timings indicated by the symbols A and I, respectively, and then starts at the timings indicated by the symbols B and J of the Nth main control unit timer interrupt process. Detecting a ball entering the mouth or winning opening. Further, at the timing indicated by the symbol C of the same Nth main control unit timer interrupt processing, a prize ball command is transmitted once to the payout control unit 600, and then the N + 1th main control unit timer interrupt processing is performed. At the timing indicated by the reference numeral K, the prize ball command is transmitted once to the payout control unit 600.

<払出制御部600からの通信確認コマンドの変形例>
図77(b)は、払出制御部600からの通信確認コマンドの変形例を示すタイムチャートである。この例では、符号Aで示すタイミングにおいて始動口または入賞口に球が入球し、その後のN回目の主制御部タイマ割込処理の符号Bで示すタイミングにおいて、始動口または入賞口への入球を検出している。また、同じN回目の主制御部タイマ割込処理の符号Fで示すタイミングにおいて、始動口または入賞口への入球パターンが予め定めた入賞判定パターン情報に一致したと判定しているが、この例では、同時に通信確認コマンドを送信するタイミングが到来したため、符号Fで示すタイミングにおいて、賞球コマンドよりも優先して通信確認コマンドを送信している(賞球コマンドの送信を一時的に保留している)。
<Modification example of communication confirmation command from payout control unit 600>
FIG. 77B is a time chart showing a modified example of the communication confirmation command from the payout control unit 600. In this example, the ball enters the start port or the winning opening at the timing indicated by the reference numeral A, and then enters the starting opening or the winning opening at the timing indicated by the reference numeral B of the Nth main control unit timer interrupt process. Detecting a sphere. Further, at the timing indicated by the symbol F of the same Nth main control unit timer interrupt process, it is determined that the ball entry pattern to the start port or the winning port matches the predetermined winning determination pattern information. In the example, since the timing for transmitting the communication confirmation command has arrived at the same time, the communication confirmation command is transmitted with priority over the prize ball command at the timing indicated by the symbol F (the transmission of the prize ball command is temporarily suspended). ing).

これに対し、払出制御部600は、M+1(Mは正の整数)回目の払出制御部メイン処理の符号Hで示すタイミングにおいて、主制御部300に通信確認コマンドを送信している。また、主制御部300は、N+1回目の主制御部タイマ割込処理の符号Cで示すタイミングにおいて払出制御部600からの通信確認コマンドの受信を確認した後、払出制御部600に対して賞球コマンドを1回、送信している。また、この賞球コマンドに対し、払出制御部600は、M+3回目の払出制御部メイン処理の符号Mで示すタイミングにおいて、主制御部300に通信確認コマンドを送信している。 On the other hand, the payout control unit 600 transmits a communication confirmation command to the main control unit 300 at the timing indicated by the symbol H of the M + 1 (M is a positive integer) third payout control unit main process. Further, the main control unit 300 confirms the reception of the communication confirmation command from the payout control unit 600 at the timing indicated by the symbol C of the N + 1th main control unit timer interrupt process, and then gives a prize ball to the payout control unit 600. The command is being sent once. Further, in response to this prize ball command, the payout control unit 600 transmits a communication confirmation command to the main control unit 300 at the timing indicated by the symbol M of the M + 3rd payout control unit main process.

<外部端子板信号の出力例>
次に、図78〜図85を用いて、外部端子板信号の出力例について説明する。なお、図面における「賞球」は、主制御部300による入賞検出のタイミングと賞球数(払出要求数)を示しており、「払出」は、払出制御部600による遊技球の払出のタイミングと払出数を示している。また、「払出予定情報信号」は、主制御部300によって出力される払出予定情報信号(外部端子板信号9)の波形を示しており、「払出情報信号」は、払出制御部600によって出力される払出情報信号(外部端子板信号1)の波形を示している。
<Example of output of external terminal board signal>
Next, an output example of the external terminal board signal will be described with reference to FIGS. 78 to 85. The "prize ball" in the drawing indicates the timing of winning detection by the main control unit 300 and the number of prize balls (number of payout requests), and the "payout" indicates the timing of payout of the game ball by the payout control unit 600. Shows the number of payouts. Further, the "payout schedule information signal" indicates the waveform of the payout schedule information signal (external terminal board signal 9) output by the main control unit 300, and the "payout information signal" is output by the payout control unit 600. The waveform of the payout information signal (external terminal board signal 1) is shown.

<外部端子板信号の出力例1>
図78は、外部端子板信号の出力例1を示すタイムチャートである。この例では、主制御部300は、第1特図始動口230への入賞を検出したことにより、入賞口カウンタ更新処理(ステップS216)において、第1特図始動口230に対応する賞球数記憶領域に賞球数として3を記憶するとともに、シリアルコマンド管理処理(ステップS219)において、払出要求数(=賞球数3)の情報を含む賞球コマンドを払出制御部600に送信する。
<External terminal board signal output example 1>
FIG. 78 is a time chart showing an output example 1 of an external terminal board signal. In this example, since the main control unit 300 detects the winning of the first special figure starting port 230, the number of prize balls corresponding to the first special drawing starting port 230 in the winning opening counter update process (step S216). In addition to storing 3 as the number of prize balls in the storage area, in the serial command management process (step S219), a prize ball command including information on the number of payout requests (= number of prize balls 3) is transmitted to the payout control unit 600.

また、主制御部300は、シリアルコマンド管理処理(ステップS219)において、全賞球数が所定数10以上であるか否かを判定し、該当する場合には全賞球数から10を減算し、出力要求数に1を加算するが、ここでは、全賞球数が3であるため、出力要求数に1を加算する処理は行わない。また、主制御部300は、外部出力信号設定処理(ステップS235)において、出力要求数が1以上の場合に払出予定情報信号を1回出力するが、ここでは、出力要求数が0であるため、払出予定情報信号を出力する処理は行わない。 Further, the main control unit 300 determines in the serial command management process (step S219) whether or not the total number of prize balls is 10 or more, and if applicable, subtracts 10 from the total number of prize balls. , 1 is added to the number of output requests, but here, since the total number of prize balls is 3, the process of adding 1 to the number of output requests is not performed. Further, in the external output signal setting process (step S235), the main control unit 300 outputs the payout schedule information signal once when the number of output requests is 1 or more, but here, since the number of output requests is 0. , The process of outputting the payout schedule information signal is not performed.

続いて、払出制御部600は、コマンド解析処理の賞球コマンド受信時処理(ステップS503)において、主制御部300から受信した賞球コマンドに含まれる払出要求数(この例では3)を、払出用払出数記憶部の払出数情報(この例では初期値の0)と、払出時外部出力用払出数記憶部の払出数情報(この例では初期値の0)にそれぞれ加算し、払出用払出数記憶部の払出数情報を3、払出時外部出力用払出数記憶部の払出数情報を3に更新する。また、払出制御部600は、払出管理処理(ステップS710)において、払出用払出数記憶部の払出数情報に基づいて、払出装置152の払出モータ602を駆動して遊技球の払出を行った後に、払出用払出数記憶部の払出数情報を払出数だけ減算するが、ここでは、払出用払出数記憶部の払出数情報が3であるため、3個の遊技球の払出を行った後に、払出用払出数記憶部の払出数情報を0(=3−3)に更新する。 Subsequently, the payout control unit 600 pays out the number of payout requests (3 in this example) included in the prize ball command received from the main control unit 300 in the prize ball command reception processing (step S503) of the command analysis process. Payouts for payouts are added to the payout number information (initial value 0 in this example) of the payout number storage unit and the payout number information (initial value 0 in this example) of the payout number storage unit for external output at the time of payout. The payout number information of the number storage unit is updated to 3, and the payout number information of the payout number storage unit for external output at the time of payout is updated to 3. Further, in the payout management process (step S710), the payout control unit 600 drives the payout motor 602 of the payout device 152 to pay out the game ball based on the payout number information of the payout number storage unit for payout. , The payout number information of the payout number storage unit for payout is subtracted by the payout number, but here, since the payout number information of the payout number storage unit for payout is 3, after paying out three game balls, The payout number information of the payout number storage unit for payout is updated to 0 (= 3-3).

続いて、払出制御部600は、信号出力処理(ステップS711)において、払出時外部出力用払出数記憶部の払出数情報の値が所定数(本実施形態では10)以上の場合には、外部端子板609を介して情報入力回路350に払出情報信号を出力するための処理を行うが、ここでは、払出時外部出力用払出数記憶部の払出数情報が3であるため、払出情報信号を出力するための処理は行わない。 Subsequently, in the signal output process (step S711), the payout control unit 600 is external when the value of the payout number information of the payout number storage unit for external output at the time of payout is a predetermined number (10 in this embodiment) or more. The process for outputting the payout information signal to the information input circuit 350 via the terminal plate 609 is performed. Here, since the payout number information of the payout number storage unit for external output at the time of payout is 3, the payout information signal is output. No processing is performed for output.

続いて、主制御部300は、可変入賞口234への入賞を検出したことにより、入賞口カウンタ更新処理(ステップS216)において、可変入賞口234に対応する賞球数記憶領域に賞球数として15を記憶するとともに、シリアルコマンド管理処理(ステップS219)において、払出要求数(=賞球数15)の情報を含む賞球コマンドを払出制御部600に送信する。また、主制御部300は、シリアルコマンド管理処理(ステップS219)において、全賞球数が所定数10以上であるか否かを判定し、該当する場合には全賞球数から10を減算し、出力要求数に1を加算する。この例では、全賞球数が15で所定数10以上であるため、全賞球数15から所定数10を減算して全賞球数を5に更新し、出力要求数を1に更新し、出力要求数を1に更新する。 Subsequently, the main control unit 300 detects the winning of the variable winning opening 234, and in the winning opening counter update process (step S216), the number of winning balls is stored in the prize ball number storage area corresponding to the variable winning opening 234. 15 is stored, and in the serial command management process (step S219), a prize ball command including information on the number of payout requests (= number of prize balls 15) is transmitted to the payout control unit 600. Further, the main control unit 300 determines in the serial command management process (step S219) whether or not the total number of prize balls is 10 or more, and if applicable, subtracts 10 from the total number of prize balls. , Add 1 to the number of output requests. In this example, since the total number of prize balls is 15 and the predetermined number is 10 or more, the total number of prize balls is updated to 5 by subtracting the predetermined number 10 from the total number of prize balls 15, and the output request number is updated to 1. , Update the number of output requests to 1.

続いて、主制御部300は、外部出力信号設定処理(ステップS235)において、出力要求数が1以上の場合に払出予定情報信号を1回出力するが、この例では、出力要求数が1であるため、外部出力信号設定処理(ステップS235)において、1回目の払出予定情報信号として、ハイレベルの信号を所定期間Taに亘って出力している。 Subsequently, the main control unit 300 outputs the payout schedule information signal once when the number of output requests is 1 or more in the external output signal setting process (step S235). In this example, the number of output requests is 1. Therefore, in the external output signal setting process (step S235), a high-level signal is output for a predetermined period of time as the first payout schedule information signal.

続いて、払出制御部600は、コマンド解析処理の賞球コマンド受信時処理(ステップS503)において、主制御部300から受信した賞球コマンドに含まれる払出要求数(この例では15)を払出用払出数記憶部の払出数情報(この例では0)と、払出時外部出力用払出数記憶部の払出数情報(この例では3)にそれぞれ加算し、払出用払出数記憶部の払出数情報を15、払出時外部出力用払出数記憶部の払出数情報を18に更新する。また、払出制御部600は、払出管理処理(ステップS710)、払出用払出数記憶部の払出数情報に基づいて、払出装置152の払出モータ602を駆動して遊技球の払出を行った後に、払出用払出数記憶部の払出数情報を払出数だけ減算するが、ここでは、払出用払出数記憶部の払出数情報が15であるため、15個の遊技球の払出を行った後に、払出用払出数記憶部の払出数情報を0(=15−15)に更新する。 Subsequently, the payout control unit 600 pays out the number of payout requests (15 in this example) included in the prize ball command received from the main control unit 300 in the prize ball command reception processing (step S503) of the command analysis process. The payout number information of the payout number storage unit (0 in this example) and the payout number information of the payout number storage unit for external output at the time of payout (3 in this example) are added to each, and the payout number information of the payout number storage unit is added. , And the payout number information of the payout number storage unit for external output at the time of payout is updated to 18. Further, the payout control unit 600 drives the payout motor 602 of the payout device 152 based on the payout management process (step S710) and the payout number information of the payout number storage unit for payout, and then pays out the game ball. The payout number information of the payout number storage unit is subtracted by the payout number, but here, since the payout number information of the payout number storage unit is 15, the payout is made after 15 game balls are paid out. The payout number information of the payout number storage unit is updated to 0 (= 15-15).

また、払出制御部600は、信号出力処理(ステップS711)において、払出時外部出力用払出数記憶部の払出数情報の値が所定数(本実施形態では10)以上の場合には、外部端子板609を介して情報入力回路350に払出情報信号を出力するための処理を行うが、ここでは、払出時外部出力用払出数記憶部の払出数情報が18であるため、払出数情報の値が所定数(本実施形態では10)以上であると判定したタイミングで払出情報信号を1回出力している。なお、この例では、払出情報信号として、ハイレベルの信号を期間Tbに亘って出力している。 Further, in the signal output process (step S711), the payout control unit 600 is an external terminal when the value of the payout number information of the payout number storage unit for external output at the time of payout is a predetermined number (10 in this embodiment) or more. The process for outputting the payout information signal to the information input circuit 350 via the board 609 is performed. Here, since the payout number information of the payout number storage unit for external output at the time of payout is 18, the value of the payout number information. Is output once at the timing when it is determined that is equal to or greater than a predetermined number (10 in this embodiment). In this example, a high-level signal is output as the payout information signal over the period Tb.

ここで、主制御部300が出力する払出予定情報信号のハイレベルの期間Taと、払出制御部600が出力する払出情報信号のハイレベルの期間Tbについては特に限定されないが、この例では、期間Taを期間Tb(最短期間は800ms)よりも長く設定している。このような構成とすれば、外部装置は、パルス幅の違いによって払出予定情報信号と払出情報信号を容易に区別することができる場合がある。 Here, the high-level period Ta of the payout information signal output by the main control unit 300 and the high-level period Tb of the payout information signal output by the payout control unit 600 are not particularly limited, but in this example, the period. Ta is set longer than the period Tb (the shortest period is 800 ms). With such a configuration, the external device may be able to easily distinguish between the payout schedule information signal and the payout information signal depending on the difference in pulse width.

<外部端子板信号の出力例2>
図79は、外部端子板信号の出力例2を示すタイムチャートである。上述のとおり、主制御部300は、シリアルコマンド管理処理(ステップS219)において、全賞球数が所定数10以上であるか否かを判定し、該当する場合には全賞球数から10を減算し、出力要求数に1を加算する。この例では、全賞球数が24で所定数10以上であるため、全賞球数24から所定数10を減算して全賞球数を14に更新し、出力要求数を1に更新した後、減算後の全賞球数が14で所定数10以上であるため、再び、全賞球数14から所定数10を減算して全賞球数を4に更新し、出力要求数を2に更新している。
<External terminal board signal output example 2>
FIG. 79 is a time chart showing an output example 2 of the external terminal board signal. As described above, in the serial command management process (step S219), the main control unit 300 determines whether or not the total number of prize balls is 10 or more, and if applicable, 10 is calculated from the total number of prize balls. Subtract and add 1 to the number of output requests. In this example, since the total number of prize balls is 24 and the predetermined number is 10 or more, the total number of prize balls is updated to 14 by subtracting the predetermined number 10 from the total number of prize balls 24, and the output request number is updated to 1. After that, since the total number of prize balls after subtraction is 14 and the predetermined number is 10 or more, the predetermined number 10 is subtracted from the total number of prize balls 14 again to update the total number of prize balls to 4, and the output request number is set to 2. It has been updated to.

続いて、主制御部300は、外部出力信号設定処理(ステップS235)において、出力要求数が1以上の場合に払出予定情報信号を1回出力するが、この例では、出力要求数が2であるため、外部出力信号設定処理において、1回目の払出予定情報信号として、ハイレベルの信号を所定期間に亘って出力した後、その後の外部出力信号設定処理において、一度、ローレベルの信号を期間Tcに亘って出力し、その後の外部出力信号設定処理において、2回目の払出予定情報信号として、ハイレベルの信号を所定期間に亘って出力している。 Subsequently, the main control unit 300 outputs the payout schedule information signal once when the number of output requests is 1 or more in the external output signal setting process (step S235). In this example, the number of output requests is 2. Therefore, in the external output signal setting process, after the high level signal is output for a predetermined period as the first payout schedule information signal, the low level signal is once used for the period in the subsequent external output signal setting process. It is output over Tc, and in the subsequent external output signal setting process, a high-level signal is output over a predetermined period as the second payout schedule information signal.

続いて、払出制御部600は、コマンド解析処理の賞球コマンド受信時処理(ステップS503)において、主制御部300から受信した賞球コマンドに含まれる払出要求数(この例では15)を払出用払出数記憶部の払出数情報(この例では0)と、払出時外部出力用払出数記憶部の払出数情報(この例では9)にそれぞれ加算し、払出用払出数記憶部の払出数情報を15、払出時外部出力用払出数記憶部の払出数情報を24に更新する。また、払出制御部600は、払出管理処理(ステップS710)において、払出用払出数記憶部の払出数情報に基づいて、払出装置152の払出モータ602を駆動して遊技球の払出を行った後に、払出用払出数記憶部の払出数情報を払出数だけ減算するが、ここでは、払出用払出数記憶部の払出数情報が15であるため、15個の遊技球の払出を行った後に、払出用払出数記憶部の払出数情報を0(=15−15)に更新する。 Subsequently, the payout control unit 600 pays out the number of payout requests (15 in this example) included in the prize ball command received from the main control unit 300 in the prize ball command reception processing (step S503) of the command analysis process. The payout number information of the payout number storage unit (0 in this example) and the payout number information of the payout number storage unit for external output at the time of payout (9 in this example) are added to each, and the payout number information of the payout number storage unit is added. , And the payout number information of the payout number storage unit for external output at the time of payout is updated to 24. Further, in the payout management process (step S710), the payout control unit 600 drives the payout motor 602 of the payout device 152 to pay out the game ball based on the payout number information of the payout number storage unit for payout. , The payout number information of the payout number storage unit is subtracted by the payout number, but here, since the payout number information of the payout number storage unit is 15, after paying out 15 game balls, The payout number information of the payout number storage unit for payout is updated to 0 (= 15-15).

また、払出制御部600は、信号出力処理(ステップS711)において、払出時外部出力用払出数記憶部の払出数情報の値が所定数(この例では10)以上の場合には、外部端子板609を介して情報入力回路350に払出情報信号を出力するための処理を行うが、ここでは、払出時外部出力用払出数記憶部の払出数情報が24で所定数10以上であるため、払出情報信号を1回出力するとともに、払出時外部出力用払出数記憶部の払出数情報24から所定数10を減算し、払出時外部出力用払出数記憶部の払出数情報を14に更新している。また、払出制御部600は、減算後の払出時外部出力用払出数記憶部の払出数情報が14で所定数10以上であるため、再び、払出情報信号を1回出力するとともに、払出時外部出力用払出数記憶部の払出数情報14から所定数10を減算し、払出時外部出力用払出数記憶部の払出数情報を4に更新している。なお、この例では、1回目の払出情報信号として、ハイレベルの信号を所定期間に亘って出力した後、一度、ローレベルの信号を期間Tdに亘って出力した後、2回目の払出情報信号として、ハイレベルの信号を所定期間に亘って出力している。 Further, in the signal output process (step S711), the payout control unit 600 sets the external terminal plate when the value of the payout number information of the payout number storage unit for external output at the time of payout is a predetermined number (10 in this example) or more. The process for outputting the payout information signal to the information input circuit 350 via the 609 is performed. Here, since the payout number information of the payout number storage unit for external output at the time of payout is 24, which is a predetermined number of 10 or more, the payout is performed. The information signal is output once, the predetermined number 10 is subtracted from the payout number information 24 of the payout number storage unit for external output at the time of payout, and the payout number information of the payout number storage unit for external output at the time of payout is updated to 14. There is. Further, since the payout control unit 600 has a payout number information of 14 and a predetermined number of 10 or more in the payout number storage unit for external output at the time of payout after subtraction, the payout information signal is output once again and is external at the time of payout. A predetermined number 10 is subtracted from the payout number information 14 of the output number storage unit, and the payout number information of the payout number storage unit for external output at the time of payout is updated to 4. In this example, as the first payout information signal, a high-level signal is output for a predetermined period, then a low-level signal is output for a period of Td, and then a second payout information signal is output. As a result, a high-level signal is output over a predetermined period.

この例では、主制御部300による払出予定情報信号の出力と、払出制御部600による払出情報信号の出力を、各々2回ずつ行っているとともに、主制御部300による1回目の払出予定情報信号のハイレベル信号の出力期間と、払出制御部600による1回目の払出情報信号のハイレベル信号の出力期間の一部が重なっている。このような構成とすれば、外部装置は、払出予定情報信号および払出情報信号を同時に検出することができ、両者の論理和や論理積を算出することによって、従来に無い新たな情報を取得できる場合がある。 In this example, the main control unit 300 outputs the payout schedule information signal and the payout control unit 600 outputs the payout information signal twice, and the main control unit 300 outputs the first payout schedule information signal. The output period of the high-level signal of the above and a part of the output period of the high-level signal of the first payout information signal by the payout control unit 600 overlap. With such a configuration, the external device can detect the payout schedule information signal and the payout information signal at the same time, and by calculating the logical sum and the logical product of the two, it is possible to acquire new information that has never existed before. In some cases.

また、主制御部300が出力する1回目の払出予定情報信号と2回目の払出予定情報信号の間隔Tcよりも、払出制御部600が出力する1回目の払出情報信号と2回目の払出情報信号の間隔Tdを長く設定している。このような構成とすれば、外部装置は、払出予定情報信号の出力間隔と払出情報信号の出力間隔の違いによって、払出予定情報信号と払出情報信号を容易に区別することができる場合がある。 Further, the first payout information signal and the second payout information signal output by the payout control unit 600 are larger than the interval Tc between the first payout schedule information signal and the second payout schedule information signal output by the main control unit 300. The interval Td is set long. With such a configuration, the external device may be able to easily distinguish between the payout schedule information signal and the payout information signal depending on the difference between the output interval of the payout schedule information signal and the output interval of the payout information signal.

なお、この例では、主制御部300は、シリアルコマンド管理処理において、全賞球数が24で所定数10以上であるため、全賞球数24から所定数10を減算して全賞球数を14に更新し、出力要求数を1に更新した後、減算後の全賞球数が14で所定数10以上であるため、再び、全賞球数14から所定数10を減算して全賞球数を4に更新し、出力要求数を2に更新しているが、この例に限定されるものではない。 In this example, since the total number of prize balls is 24 and the predetermined number is 10 or more in the serial command management process, the main control unit 300 subtracts the predetermined number 10 from the total number of prize balls 24 to obtain the total number of prize balls. Is updated to 14, and the number of output requests is updated to 1, and since the total number of prize balls after subtraction is 14 and the predetermined number is 10 or more, the predetermined number 10 is subtracted from the total number of prize balls 14 again. The number of prize balls has been updated to 4, and the number of output requests has been updated to 2, but the number is not limited to this example.

したがって、例えば、主制御部300は、N(Nは正の整数)回目のシリアルコマンド管理処理において、全賞球数24から所定数10を減算して全賞球数を14に更新し、出力要求数を1に更新した後、一度、シリアルコマンド管理処理を終了し、外部出力信号設定処理において1回目の払出情報信号を出力した後、N+1回目以降のシリアルコマンド管理処理において、全賞球数14から所定数10を減算して全賞球数を4に更新し、出力要求数を1に更新した後、外部出力信号設定処理において2回目の払出情報信号を出力してもよい。すなわち、一回のシリアルコマンド管理処理において出力要求数の更新を全て行う替りに、複数回のシリアルコマンド管理処理に分けて出力要求数の更新を行うようにしてもよい。 Therefore, for example, in the N (N is a positive integer) th serial command management process, the main control unit 300 subtracts a predetermined number 10 from the total number of prize balls 24, updates the total number of prize balls to 14, and outputs the total number of prize balls. After updating the number of requests to 1, the serial command management process is terminated once, the first payout information signal is output in the external output signal setting process, and then the total number of prize balls in the N + 1th and subsequent serial command management processes. After subtracting a predetermined number 10 from 14 to update the total number of prize balls to 4 and updating the number of output requests to 1, the second payout information signal may be output in the external output signal setting process. That is, instead of updating the number of output requests in one serial command management process, the number of output requests may be updated in a plurality of serial command management processes.

このような構成とすれば、賞球数の大小によってシリアルコマンド管理処理の処理時間がばらつくような事態を回避することができ、払出情報信号の出力タイミングが遅延することが無い上に、安定した遊技制御を行うことができる場合がある。 With such a configuration, it is possible to avoid a situation in which the processing time of the serial command management process varies depending on the number of prize balls, and the output timing of the payout information signal is not delayed and is stable. Game control may be possible.

<外部端子板信号の出力例3>
図80は、外部端子板信号の出力例3を示すタイムチャートである。ここで、図における「図柄関連信号」は、主制御部300によって出力される図柄確定回数情報信号(外部端子板信号3)の波形を示しているが、その他の始動口情報信号(外部端子板信号4)、大当り情報1〜4信号(外部端子板信号5〜8)のいずれかに置き換えて考えることもできる(以下に説明する例も同様)。
<External terminal board signal output example 3>
FIG. 80 is a time chart showing an output example 3 of the external terminal board signal. Here, the "symbol-related signal" in the figure shows the waveform of the symbol confirmation number information signal (external terminal board signal 3) output by the main control unit 300, but other start port information signals (external terminal board). It is also possible to replace it with any of the signal 4) and the jackpot information 1 to 4 signals (external terminal board signals 5 to 8) (the same applies to the examples described below).

この例では、主制御部300は、N(Nは正の整数)回目の外部出力信号設定処理において、払出予定情報信号としてハイレベルの信号を出力するとともに、図柄関連信号としてハイレベルの信号を出力している。また、その後、N+1回目以降の外部出力信号設定処理において、払出予定情報信号としてローレベルの信号を出力するとともに、図柄関連信号としてハイレベルの信号を出力している。すなわち、払出予定情報信号および図柄関連信号として同一期間、ハイレベル信号を出力している。 In this example, the main control unit 300 outputs a high-level signal as a payout schedule information signal and outputs a high-level signal as a symbol-related signal in the Nth (N is a positive integer) external output signal setting process. It is outputting. After that, in the N + 1th and subsequent external output signal setting processes, a low-level signal is output as a payout schedule information signal, and a high-level signal is output as a symbol-related signal. That is, a high level signal is output for the same period as the payout schedule information signal and the symbol-related signal.

このような構成とすれば、外部装置は、払出予定情報信号および図柄関連信号を同時に検出することができ、両者の論理和や論理積を算出することによって、従来に無い新たな情報を取得できる場合がある。 With such a configuration, the external device can simultaneously detect the payout schedule information signal and the symbol-related signal, and by calculating the logical sum and the logical product of the two, it is possible to acquire new information that has never existed before. In some cases.

<外部端子板信号の出力例4>
図81は、外部端子板信号の出力例4を示すタイムチャートである。この例では、主制御部300は、N(Nは正の整数)回目の外部出力信号設定処理において、出力要求数が1以上であり、かつ特定異常検出フラグオン(例えば、磁気異常を検出)の場合に、当該N回目の外部出力信号設定処理では払出予定情報信号を出力せずに、N+1回目以降の外部出力信号設定処理において払出予定情報信号の出力を行うことで、払出予定情報信号をN回目の外部出力信号設定処理から所定期間だけ遅延させて出力している。
<External terminal board signal output example 4>
FIG. 81 is a time chart showing an output example 4 of the external terminal board signal. In this example, the main control unit 300 sets the number of output requests to 1 or more and turns on the specific abnormality detection flag (for example, detects a magnetic abnormality) in the Nth (N is a positive integer) external output signal setting process. In this case, the payout schedule information signal is output by outputting the payout schedule information signal in the N + 1th and subsequent external output signal setting processes without outputting the payout schedule information signal in the Nth external output signal setting process. The output is delayed by a predetermined period from the second external output signal setting process.

一方、主制御部300は、N回目の外部出力信号設定処理において、出力要求数が1以上であり、かつ特定異常検出フラグオン(例えば、磁気異常を検出)の場合に、当該外部出力信号設定処理では図柄関連信号を出力せずに、N+1回目以降の外部出力信号設定処理においても図柄関連信号を出力しないように構成している。 On the other hand, in the Nth external output signal setting process, the main control unit 300 performs the external output signal setting process when the number of output requests is 1 or more and the specific abnormality detection flag is on (for example, magnetic abnormality is detected). Is configured so that the symbol-related signal is not output and the symbol-related signal is not output even in the external output signal setting processing after the N + 1th time.

このような構成とすれば、パチンコ機100において何らかの異常が発生したことを外部に知らせることができ、不正行為などを未然に防止できる場合がある。なお、この例では、特定異常検出フラグオンの場合に図柄関連信号を出力しない例を示したが、払出予定情報信号と同様に、本来出力するタイミングよりも遅延させて出力を行うように構成しても、同様の効果を得ることができる場合がある。 With such a configuration, it is possible to notify the outside that some abnormality has occurred in the pachinko machine 100, and it may be possible to prevent fraudulent acts. In this example, the symbol-related signal is not output when the specific abnormality detection flag is turned on. However, as with the payout schedule information signal, the output is configured to be delayed from the original output timing. In some cases, the same effect can be obtained.

<外部端子板信号の出力例5>
図82は、外部端子板信号の出力例5を示すタイムチャートである。なお、この例では、可変入賞口234への入賞による賞球数を10に設定している。
<External terminal board signal output example 5>
FIG. 82 is a time chart showing an output example 5 of the external terminal board signal. In this example, the number of prize balls by winning the variable winning opening 234 is set to 10.

この例では、主制御部300は、可変入賞口234への入賞を検出したことにより、入賞口カウンタ更新処理(ステップS216)において、可変入賞口234に対応する賞球数記憶領域に賞球数として10を記憶するとともに、シリアルコマンド管理処理(ステップS219)において、払出要求数(=賞球数10)の情報を含む賞球コマンドを払出制御部600に送信する。また、主制御部300は、シリアルコマンド管理処理(ステップS219)において、全賞球数が所定数10以上であるか否かを判定し、該当する場合には全賞球数から10を減算し、出力要求数に1を加算する。この例では、全賞球数が10で所定数10以上であるため、全賞球数10から所定数10を減算して全賞球数を0に更新し、出力要求数を1に更新する。 In this example, since the main control unit 300 detects the winning of the variable winning opening 234, in the winning opening counter update process (step S216), the number of winning balls is stored in the prize ball number storage area corresponding to the variable winning opening 234. In the serial command management process (step S219), a prize ball command including information on the number of payout requests (= number of prize balls 10) is transmitted to the payout control unit 600. Further, the main control unit 300 determines in the serial command management process (step S219) whether or not the total number of prize balls is 10 or more, and if applicable, subtracts 10 from the total number of prize balls. , Add 1 to the number of output requests. In this example, since the total number of prize balls is 10 and the predetermined number is 10 or more, the total number of prize balls is updated to 0 by subtracting the predetermined number 10 from the total number of prize balls 10, and the output request number is updated to 1. ..

続いて、主制御部300は、外部出力信号設定処理(ステップS235)において、出力要求数が1以上の場合に払出予定情報信号を1回出力するが、この例では、出力要求数が1であるため、外部出力信号設定処理(ステップS235)において、払出予定情報信号として、ハイレベルの信号を所定期間に亘って出力している。 Subsequently, the main control unit 300 outputs the payout schedule information signal once when the number of output requests is 1 or more in the external output signal setting process (step S235). In this example, the number of output requests is 1. Therefore, in the external output signal setting process (step S235), a high-level signal is output as the payout schedule information signal over a predetermined period.

すなわち、この例では、可変入賞口234への入賞による賞球数(この例では10)と、出力要求数を加算する条件となる閾値(この例では10)を同一に設定しているため、1回のシリアルコマンド管理処理において出力要求数を1に更新し、後続の外部出力信号設定処理において、払出予定情報信号としてハイレベルの信号を出力している。 That is, in this example, the number of winning balls by winning the variable winning opening 234 (10 in this example) and the threshold value (10 in this example) that is a condition for adding the number of output requests are set to be the same. The number of output requests is updated to 1 in one serial command management process, and a high-level signal is output as a payout schedule information signal in the subsequent external output signal setting process.

このように、特定の入賞口への入賞による賞球数と、出力要求数を加算する条件となる閾値を同一に設定する構成とすれば、特定の入賞口に1回入賞するたびに、払出予定情報信号を1回出力することができるため、特定の入賞口への入賞回数を推測することが可能となり、例えば、単位時間当りの入賞回数が所定回数を超える場合に、異常と判定して適切な処理(例えば、エラー報知)を行うことができる場合がある。 In this way, if the number of winning balls by winning a specific winning opening and the threshold value that is a condition for adding the number of output requests are set to be the same, each time a specific winning opening is won, the payout is made. Since the schedule information signal can be output once, it is possible to estimate the number of winnings to a specific winning opening. For example, when the number of winnings per unit time exceeds a predetermined number, it is determined as abnormal. Appropriate processing (for example, error notification) may be possible.

<外部端子板信号の出力例6>
図83は、外部端子板信号の出力例6を示すタイムチャートである。この例では、主制御部300は、可変入賞口234への入賞を2回検出したことにより、N(Nは正の整数)回目の外部出力信号設定処理において、1回目の払出予定情報信号としてハイレベルの信号を所定期間Taだけ出力した後に、所定期間Tc経過後のN+1回目以降の外部出力信号設定処理において、2回目の払出予定情報信号としてハイレベルの信号を所定期間だけ出力している。
<External terminal board signal output example 6>
FIG. 83 is a time chart showing an output example 6 of the external terminal board signal. In this example, the main control unit 300 detects the winning of the variable winning opening 234 twice, so that it is used as the first payout schedule information signal in the N (N is a positive integer) third external output signal setting process. After outputting a high-level signal for a predetermined period Ta, a high-level signal is output for a predetermined period as the second payout schedule information signal in the N + 1th and subsequent external output signal setting processes after the elapse of the predetermined period Tc. ..

一方、払出制御部600は、信号出力処理(ステップS711)において、払出時外部出力用払出数記憶部の払出数情報の値が所定数(この例では10)以上であると判定したタイミングで、払出情報信号を所定期間Tbだけ1回出力している。 On the other hand, at the timing when the payout control unit 600 determines in the signal output process (step S711) that the value of the payout number information of the payout number storage unit for external output at the time of payout is a predetermined number (10 in this example) or more. The payout information signal is output once for a predetermined period of time Tb.

この例では、主制御部300による2回目の払出予定情報信号のハイレベル信号の出力期間と、払出制御部600による1回目の払出情報信号のハイレベル信号の出力期間の一部が重なっている。このような構成とすれば、外部装置は、2回目の払出予定情報信号および1回目の払出情報信号を同時に検出することができ、両者の論理和や論理積を算出することによって、従来に無い新たな情報を取得できる場合がある。 In this example, a part of the output period of the high level signal of the second payout information signal by the main control unit 300 and the output period of the high level signal of the first payout information signal by the payout control unit 600 overlap. .. With such a configuration, the external device can detect the second payout schedule information signal and the first payout information signal at the same time, and by calculating the logical sum and the logical product of both, there is no conventional method. You may be able to get new information.

<外部端子板信号の出力例7>
図84は、外部端子板信号の出力例7を示すタイムチャートであり、同図(a)は上記図79のタイムチャートの一部を抜き出して示したもの、同図(b)は同図(a)に示す例において特定異常検出フラグオンと判定した場合のタイムチャートである。
<External terminal board signal output example 7>
FIG. 84 is a time chart showing an output example 7 of the external terminal board signal, FIG. 84A is an extracted part of the time chart of FIG. 79, and FIG. 84B is the same figure (b). It is a time chart when it is judged that the specific abnormality detection flag is on in the example shown in a).

この例では、同図(b)に示すように、主制御部300は、外部出力信号設定処理において、出力要求数が1以上であり、かつ特定異常検出フラグオン(例えば、磁気異常を検出)の場合に、払出予定情報信号を出力しないように構成している。このような構成とすれば、パチンコ機100において何らかの異常が発生したことを外部に知らせることができ、不正行為などを未然に防止できる場合がある。 In this example, as shown in FIG. 3B, the main control unit 300 has an output request number of 1 or more and a specific abnormality detection flag on (for example, detecting a magnetic abnormality) in the external output signal setting process. In this case, it is configured not to output the payout schedule information signal. With such a configuration, it is possible to notify the outside that some abnormality has occurred in the pachinko machine 100, and it may be possible to prevent fraudulent acts.

<外部端子板信号の出力例8>
図85は、外部端子板信号の出力例8を示すタイムチャートであり、同図(a)は正常時のタイムチャートの一部を抜き出して示したもの、同図(b)は異常発生時のタイムチャートである。
<External terminal board signal output example 8>
FIG. 85 is a time chart showing an output example 8 of an external terminal board signal, FIG. 85 (a) is an extracted part of a time chart in a normal state, and FIG. It is a time chart.

この例では、同図(b)に示すように、主制御部300は、外部出力信号設定処理において、出力要求数が1以上であり、かつ特定異常検出フラグオン(例えば、磁気異常を検出)の場合に、払出予定情報信号を出力していないが、セキュリティ情報信号を出力している。一方、払出制御部600は、信号出力処理(ステップS1708)において、払出時外部出力用払出数記憶部の払出数情報の値が所定数(この例では10)以上であると判定したタイミングで、払出情報信号を出力している。 In this example, as shown in FIG. 3B, the main control unit 300 has an output request number of 1 or more and a specific abnormality detection flag on (for example, detecting a magnetic abnormality) in the external output signal setting process. In this case, the payout schedule information signal is not output, but the security information signal is output. On the other hand, at the timing when the payout control unit 600 determines in the signal output process (step S1708) that the value of the payout number information of the payout number storage unit for external output at the time of payout is a predetermined number (10 in this example) or more. The payout information signal is output.

このような構成とすれば、断線などが原因でセキュリティ情報信号が外部装置に出力できない場合でも、外部装置は、主制御部300からの払出予定情報信号と、払出制御部600からの払出情報信号の情報に基づいて、払出に関する異常の有無を把握できる場合がる。また、外部装置は、セキュリティ信号および払出情報信号を同時に検出することができ、両者の論理和や論理積を算出することによって、従来に無い新たな情報を取得できる場合がある。なお、セキュリティ情報信号を出力する場合には、セキュリティ情報信号を出力しない場合の払出予定情報信号の出力タイミングよりも所定時間だけ遅延させたタイミングで払出予定情報信号を出力するようにしてもよい。 With such a configuration, even if the security information signal cannot be output to the external device due to disconnection or the like, the external device can use the payout schedule information signal from the main control unit 300 and the payout information signal from the payout control unit 600. Based on the information in, it may be possible to grasp the presence or absence of abnormalities related to withdrawals. In addition, the external device can detect the security signal and the payout information signal at the same time, and may be able to acquire new information that has never existed before by calculating the logical sum or the logical product of the two. When outputting the security information signal, the payout schedule information signal may be output at a timing delayed by a predetermined time from the output timing of the payout schedule information signal when the security information signal is not output.

<実施形態3>
以下、図面を用いて、本発明の実施形態3に係るパチンコ機(遊技台)について詳細に説明する。なお、図86〜図89及びこれらの参照符号は、本実施形態3における説明のみに使用するものとする。
<Embodiment 3>
Hereinafter, the pachinko machine (game table) according to the third embodiment of the present invention will be described in detail with reference to the drawings. It should be noted that FIGS. 86 to 89 and the reference numerals thereof are used only for the description in the third embodiment.

図86は、上述の電源基板182、払出基板170、および主基板156間の電源供給例を示している。図86(a)に示す例では、各種電気的遊技機器に電源を供給する電源制御部660を備える電源基板182から電源ラインpl01と電源ラインpl02とが引き出され、電源ラインpl01と電源ラインpl02が共に、遊技球の払出に関する制御処理を行う払出制御部600を備える払出基板(払出制御基板)170に接続されている。電源投入後に一定時間経過したら電源ラインpl01にはDC(直流)12Vの電圧が印加され、電源ラインpl02にはDC12Vと異なる直流電圧が印加される。払出基板170からは電源ラインpl03が引き出され、電源ラインpl03は、遊技全般の制御処理を行う主制御部300を構成する主基板(主制御基板)156に接続されている。電源ラインpl03は払出基板170内で電源ラインpl01に接続されている。従って、電源投入後に一定時間経過したら主基板156には払出基板170を介して電源基板182からDC12Vの電圧が供給される。なお、これらの電圧値は一例であって、駆動する回路によってこれらと異なる電圧値の電圧を印加するようにしてももちろんよい。 FIG. 86 shows an example of power supply between the power supply board 182, the payout board 170, and the main board 156 described above. In the example shown in FIG. 86 (a), the power supply line pl01 and the power supply line pl02 are pulled out from the power supply board 182 provided with the power supply control unit 660 for supplying power to various electric gaming devices, and the power supply line pl01 and the power supply line pl02 are Both are connected to a payout board (payout control board) 170 including a payout control unit 600 that performs control processing related to payout of game balls. After a certain period of time has passed after the power is turned on, a DC (direct current) 12V voltage is applied to the power supply line pl01, and a direct current voltage different from DC12V is applied to the power supply line pl02. A power supply line pl03 is drawn out from the payout board 170, and the power supply line pl03 is connected to a main board (main control board) 156 that constitutes a main control unit 300 that performs control processing for the entire game. The power supply line pl03 is connected to the power supply line pl01 in the payout board 170. Therefore, after a certain period of time has passed after the power is turned on, a voltage of DC12V is supplied from the power supply board 182 to the main board 156 via the payout board 170. It should be noted that these voltage values are examples, and it is of course possible to apply a voltage having a voltage value different from these depending on the circuit to be driven.

図86(b)に示す例では、電源基板182から電源ラインpl04と電源ラインpl05、および電源ラインpl06が引き出されている。電源ラインpl04は主基板156に接続されている。電源ラインpl05と電源ラインpl06は共に、払出基板170に接続されている。電源投入後に一定時間経過したら電源ラインpl04と電源ラインpl05にはDC12Vの電圧が印加され、電源ラインpl06にはDC12Vと異なる直流電圧が印加される。つまり、電源投入後に一定時間経過したら主基板156には払出基板170を介さずに、電源基板182から直接にDC12Vの電圧が供給される。 In the example shown in FIG. 86 (b), the power supply line pl04, the power supply line pl05, and the power supply line pl06 are drawn out from the power supply board 182. The power line pl04 is connected to the main board 156. Both the power supply line pl05 and the power supply line pl06 are connected to the payout board 170. After a certain period of time has passed after the power is turned on, a voltage of DC12V is applied to the power supply line pl04 and the power supply line pl05, and a DC voltage different from DC12V is applied to the power supply line pl06. That is, after a certain period of time has passed after the power is turned on, the voltage of DC12V is directly supplied from the power supply board 182 to the main board 156 without going through the payout board 170.

図86(c)に示す例では、電源基板182から電源ラインpl07、電源ラインpl08、電源ラインpl09、および電源ラインpl10が引き出されている。電源ラインpl07と電源ラインpl08は主基板156に接続されている。電源ラインpl09と電源ラインpl10は共に、払出基板170に接続されている。電源投入後に一定時間経過したら電源ラインpl07と電源ラインpl09にはDC12Vの電圧が印加され、電源ラインpl08にはDC5Vの電圧が印加され、電源ラインpl10にはDC5V/12Vとは異なる直流電圧が印加される。つまり、電源投入後に一定時間経過したら主基板156には払出基板170を介さずに、電源基板182から直接にDC5VとDC12Vの2種類の電圧が供給される。 In the example shown in FIG. 86 (c), the power supply line pl07, the power supply line pl08, the power supply line pl09, and the power supply line pl10 are drawn out from the power supply board 182. The power supply line pl07 and the power supply line pl08 are connected to the main board 156. Both the power supply line pl09 and the power supply line pl10 are connected to the payout board 170. After a certain period of time has passed after the power is turned on, a voltage of DC12V is applied to the power supply line pl07 and the power supply line pl09, a voltage of DC5V is applied to the power supply line pl08, and a DC voltage different from DC5V / 12V is applied to the power supply line pl10. Will be done. That is, after a certain period of time has passed after the power is turned on, two types of voltages, DC5V and DC12V, are directly supplied from the power supply board 182 to the main board 156 without going through the payout board 170.

図87は、主基板156内の電源供給例を示している。本例では図86(a)に示す構成を用いて説明する。払出基板170から引き出された電源ラインpl03は主基板156内に引き込まれて、DC−DCコンバータ7001の入力端子に接続されている。DC−DCコンバータ7001は電源ラインpl03に印加されたDC12Vの電圧をDC5Vに変換する機能を有している。DC−DCコンバータ7001で生成されたDC5Vの電圧は電源ラインpl11に印加される。 FIG. 87 shows an example of power supply in the main board 156. In this example, the configuration shown in FIG. 86 (a) will be used for description. The power supply line pl03 drawn out from the payout board 170 is drawn into the main board 156 and connected to the input terminal of the DC-DC converter 7001. The DC-DC converter 7001 has a function of converting the voltage of DC12V applied to the power supply line pl03 to DC5V. The DC5V voltage generated by the DC-DC converter 7001 is applied to the power supply line pl11.

電源ラインpl11には複数の分岐ラインが接続されており、所定の分岐ラインがリセットIC7003の電源端子Aに接続されている。電源投入後に一定時間経過したら電源端子AにDC5Vの電圧が駆動電圧として印加され、これによりリセットIC7003が駆動される。また、電源ラインpl11から分岐した別の分岐ラインがマイコン(CPU)304の電源端子Fに接続されている。電源投入後に一定時間経過したら電源端子FにDC5Vの電圧がマイコン304の駆動電圧として印加される。なお、リセットIC7003とマイコン304の駆動電圧は同じでなく異なっていてもよい。また、リセットIC7003やマイコン304の駆動電圧の電圧値自体と電源ラインpl11に印加される電圧の電圧値が同じでなく異なっているようにいてもよい。 A plurality of branch lines are connected to the power supply line pl11, and a predetermined branch line is connected to the power supply terminal A of the reset IC 7003. After a certain period of time has passed after the power is turned on, a voltage of DC5V is applied to the power supply terminal A as a drive voltage, whereby the reset IC 7003 is driven. Further, another branch line branched from the power supply line pl11 is connected to the power supply terminal F of the microcomputer (CPU) 304. After a certain period of time has passed after the power is turned on, a voltage of DC5V is applied to the power supply terminal F as a driving voltage of the microcomputer 304. The drive voltages of the reset IC 7003 and the microcomputer 304 may not be the same but may be different. Further, the voltage value itself of the drive voltage of the reset IC 7003 or the microcomputer 304 and the voltage value of the voltage applied to the power supply line pl11 may not be the same but may be different.

リセットIC7003の信号入力端子Bは別の分岐ラインを介して電源ラインpl11に接続されている。リセットIC7003は、信号入力端子Bの端子電圧をモニタして、マイコン304の端子Fに印加されるマイコン304の駆動電圧の状態を把握するようになっている。一方、リセットIC7003の信号入力端子Cは所定の分岐ラインを介して電源ラインpl03に接続されている。リセットIC7003は、信号入力端子Cの端子電圧をモニタして、電源ラインpl03に印加されている電圧の状態を把握するようになっている。 The signal input terminal B of the reset IC 7003 is connected to the power supply line pl11 via another branch line. The reset IC 7003 monitors the terminal voltage of the signal input terminal B to grasp the state of the drive voltage of the microcomputer 304 applied to the terminal F of the microcomputer 304. On the other hand, the signal input terminal C of the reset IC 7003 is connected to the power supply line pl03 via a predetermined branch line. The reset IC 7003 monitors the terminal voltage of the signal input terminal C to grasp the state of the voltage applied to the power supply line pl03.

リセットIC7003には少なくとも2つの信号出力端子D、Eが設けられている。信号出力端子Dからはリセット信号(起動信号)が出力され、信号出力端子Eからは低電圧信号が出力される。リセットIC7003は、信号入力端子Bの端子電圧がマイコン304の動作保証電圧(例えば、4.5V)を超えていないと判断したら、信号出力端子Dに出力しているリセット信号をネゲート(無効)状態にする。一方、信号入力端子Bの端子電圧がマイコン304の動作保証電圧を超えたと判断したら、信号出力端子Dに出力しているリセット信号をアサート(有効)状態にする。つまり、信号入力端子Bの端子電圧がマイコン304の動作保証電圧(例えば、4.5V)を超えていない場合に、信号出力端子Dに出力されているリセット信号がネゲート状態になり、信号入力端子Bの端子電圧がマイコン304の動作保証電圧を超えた場合には、信号出力端子Dに出力されているリセット信号がアサート状態になる。なお、リセットIC7003の端子の数は任意であり図示のものは一例示であり、説明に必要な端子を図示しているだけであって、端子の数、配置位置は図示のものと同じでもよいし同じでなくてもよい。 The reset IC 7003 is provided with at least two signal output terminals D and E. A reset signal (startup signal) is output from the signal output terminal D, and a low voltage signal is output from the signal output terminal E. If the reset IC 7003 determines that the terminal voltage of the signal input terminal B does not exceed the operation guarantee voltage (for example, 4.5 V) of the microcomputer 304, the reset IC 7003 negates (invalidates) the reset signal output to the signal output terminal D. To. On the other hand, when it is determined that the terminal voltage of the signal input terminal B exceeds the operation guarantee voltage of the microcomputer 304, the reset signal output to the signal output terminal D is asserted (enabled). That is, when the terminal voltage of the signal input terminal B does not exceed the operation guarantee voltage (for example, 4.5V) of the microcomputer 304, the reset signal output to the signal output terminal D becomes a negate state, and the signal input terminal When the terminal voltage of B exceeds the guaranteed operation voltage of the microcomputer 304, the reset signal output to the signal output terminal D is in the asserted state. The number of terminals of the reset IC 7003 is arbitrary, and the one shown in the figure is an example. Only the terminals necessary for explanation are shown, and the number of terminals and the arrangement position may be the same as those shown in the figure. It does not have to be the same.

リセットIC7003の信号出力端子Dは、信号ラインpl12を介してマイコン304の信号入力端子Gに接続されている。信号入力端子Gはシステムリセット(XSRST)端子として用いられている。このため、信号ラインpl12に出力されているリセット信号がアサート状態になると、マイコン304はセキュリティモードに移行する。このように、リセットIC7003は、信号出力端子Dがリセット信号出力端子として機能して図46に示す起動信号出力回路340としての役割を果たしている。 The signal output terminal D of the reset IC 7003 is connected to the signal input terminal G of the microcomputer 304 via the signal line pl12. The signal input terminal G is used as a system reset (XSRST) terminal. Therefore, when the reset signal output to the signal line pl12 is in the asserted state, the microcomputer 304 shifts to the security mode. As described above, in the reset IC 7003, the signal output terminal D functions as the reset signal output terminal and plays a role as the start signal output circuit 340 shown in FIG.

リセットIC7003は、信号入力端子Cの端子電圧が所定の電圧値(例えば、9V)を超えていないと判断したら、信号出力端子Eに出力している低電圧信号をアサート状態にする。一方、信号入力端子Cの端子電圧が所定の電圧値を超えたと判断したら、信号出力端子Eに出力している低電圧信号をネゲート状態にする。 When the reset IC 7003 determines that the terminal voltage of the signal input terminal C does not exceed a predetermined voltage value (for example, 9V), the reset IC 7003 puts the low voltage signal output to the signal output terminal E into an assert state. On the other hand, if it is determined that the terminal voltage of the signal input terminal C exceeds a predetermined voltage value, the low voltage signal output to the signal output terminal E is negated.

リセットIC7003の信号出力端子Eは、信号ラインpl13を介してマイコン304の信号入力端子Hに接続されている。信号入力端子Hはデータ端子D0〜D7のいずれか1つのデータ端子として用いられている。例えば、マイコン304は、信号ラインpl13に出力されている低電圧信号がネゲート状態になるまで、例えば図84のステップS103とステップS105の処理を繰り返す。このように、リセットIC7003は、信号出力端子Eが定電圧信号出力端子として機能して図46に示す電圧監視回路338としての役割を果たしている。 The signal output terminal E of the reset IC 7003 is connected to the signal input terminal H of the microcomputer 304 via the signal line pl13. The signal input terminal H is used as any one of the data terminals D0 to D7. For example, the microcomputer 304 repeats the processes of step S103 and step S105 of FIG. 84, for example, until the low voltage signal output to the signal line pl13 becomes negated. As described above, in the reset IC 7003, the signal output terminal E functions as a constant voltage signal output terminal and plays a role as the voltage monitoring circuit 338 shown in FIG.

この例では信号ラインpl13上の低電圧信号がアサート状態からネゲート状態(あるいはその逆)になるときの信号入力端子Cの所定の閾値電圧値を9Vとしているがこれに限られない。例えば、上述の主制御部タイマ割込処理のステップS239およびステップS243における電断検出から電断処理に要する期間中にマイコン304が電断処理を継続できる電圧が電源端子Fに印加されていればよい。DC−DCコンバータ7001から電源ラインpl11に出力されるDC5V電圧は、DC−DCコンバータ7001に入力する電源ラインpl03のDC12V電圧が7V程度に低下する辺りから徐々に低下を始める。そこで、信号入力端子Cの端子電圧が所定の電圧値(例えば、9V)未満になると、信号出力端子Eに出力している低電圧信号をネゲート状態からアサート状態にするようにしている。所定の電圧値として例えば9Vを用いれば、電源ラインpl11の電圧が徐々に低下しても主制御部タイマ割込処理のステップS239およびステップS243における電断検出から電断処理に要する期間中にマイコン304が動作を継続できる。 In this example, the predetermined threshold voltage value of the signal input terminal C when the low voltage signal on the signal line pl13 changes from the assert state to the negate state (or vice versa) is set to 9V, but the present invention is not limited to this. For example, if a voltage is applied to the power supply terminal F so that the microcomputer 304 can continue the power interruption processing during the period required from the power interruption detection in the main control unit timer interrupt processing steps S239 and S243 to the power interruption processing described above. good. The DC5V voltage output from the DC-DC converter 7001 to the power supply line pl11 gradually starts to decrease when the DC12V voltage of the power supply line pl03 input to the DC-DC converter 7001 drops to about 7V. Therefore, when the terminal voltage of the signal input terminal C becomes less than a predetermined voltage value (for example, 9 V), the low voltage signal output to the signal output terminal E is changed from the negate state to the assert state. If, for example, 9V is used as the predetermined voltage value, even if the voltage of the power supply line pl11 gradually decreases, the microcomputer during the period required from the power failure detection to the power failure processing in steps S239 and step S243 of the main control unit timer interrupt processing. 304 can continue to operate.

図88は、電源基板182と主基板156内の電源供給例を示している。図87に示す電源供給構成と比較して説明すると、図87で主基板156内に配置されていたDC−DCコンバータ7001とリセットIC7003が、図88に示す構成では電源基板182上に配置されている。これにより、電源ラインpl11と信号ラインpl12およびpl13は電源基板182および主基板156の間を跨いで配線されている。このような構成によれば、DC5V、DC12V、およびその他の電圧値の電源を電源基板182で全て供給可能になるので、主基板156や払出基板170に電源供給用回路を設ける必要がなくなり、基板上の回路レイアウトに余裕を持たせることができる場合がある。 FIG. 88 shows an example of power supply in the power supply board 182 and the main board 156. Explaining in comparison with the power supply configuration shown in FIG. 87, the DC-DC converter 7001 and the reset IC 7003 arranged in the main board 156 in FIG. 87 are arranged on the power supply board 182 in the configuration shown in FIG. 88. There is. As a result, the power supply line pl11 and the signal lines pl12 and pl13 are wired so as to straddle between the power supply board 182 and the main board 156. According to such a configuration, all the power supplies of DC5V, DC12V, and other voltage values can be supplied by the power supply board 182, so that it is not necessary to provide a power supply circuit on the main board 156 or the payout board 170, and the board. It may be possible to allow some margin in the circuit layout above.

図89は、主基板156内の電源供給例を示している。図89(a)は、CPU304の外部マスカブル割込み端子XINTと外部ノンマスカブル割込み端子XNMIに電源ラインpl11の分岐ラインを接続して、両端子XINTおよびXNMIにDC5Vの電圧を常時印加している状態を示している。こうすることにより、両端子XINTおよびXNMIに入力する割込み信号は常にネゲート状態を維持するため、割込み端子による外部割込みを使用しない場合には、ノイズ等による誤動作を確実に防止することができる。図89(b)に示す構成は、図87に示す構成におけるCPU304の端子Hが外部ノンマスカブル割込み端子XNMIとして機能している場合を例示している。なお、割込み端子の符号のXは、ローアクティブを示しておりL信号が入力されてアサート状態となるが、ハイアクティブでアサート状態になる回路の場合はL信号(例えば、0V)を常に入力させるようにする。 FIG. 89 shows an example of power supply in the main board 156. FIG. 89A shows a state in which the branch line of the power supply line pl11 is connected to the external masqueradable interrupt terminal XINT and the external non-maskable interrupt terminal XNMI of the CPU 304, and a voltage of DC5V is constantly applied to both terminals XINT and XNMI. ing. By doing so, the interrupt signals input to both terminals XINT and XNMI always maintain a negated state, so that malfunction due to noise or the like can be reliably prevented when an external interrupt by the interrupt terminals is not used. The configuration shown in FIG. 89B illustrates a case where the terminal H of the CPU 304 in the configuration shown in FIG. 87 functions as an external non-maskable interrupt terminal XNMI. The sign X of the interrupt terminal indicates low activity, and the L signal is input to enter the assert state. However, in the case of a circuit that is high active and enters the assert state, the L signal (for example, 0V) is always input. To do so.

<受信コマンド処理、受信コマンド取得処理、受信コマンド解析処理(詳細)>
図90〜図97を参照して受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理の詳細について説明する。
<Receive command processing, reception command acquisition processing, reception command analysis processing (details)>
The details of the received command process, the received command acquisition process, and the received command analysis process will be described with reference to FIGS. 90 to 97.

図90および図91は、払出制御部600のRAM708の第二の領域708Bに設けられた、受信コマンドバッファエリアの一例を示す図である。 90 and 91 are diagrams showing an example of a receive command buffer area provided in the second area 708B of the RAM 708 of the payout control unit 600.

図90に示すように、受信コマンドバッファエリアは、固定長(ここでは、アドレス00H〜03H)の記憶領域(バッファ)をリング状に利用し、そのバッファにデータを格納するリングバッファとして設けられる。なお、ここでは、バッファのサイズとしてアドレス00H〜03Hの記憶領域を例示しているが、バッファのサイズはこれに限らない。受信コマンドバッファエリアでは、図示の如くデータの書き込み用ポインタ(設定ポインタ)と、データの読出し用ポインタ(解析ポインタ)を用いてデータ(受信コマンドの値)の設定と解析とを行う。どちらのポインタもバッファの終端(ここでは最下層)に達すると、バッファの先頭(ここでは最上層)に戻るように回転される。このようにして、概念的にあたかも環であるかのようにしてデータが処理され、実際の領域(固定長のバッファエリア)と二つのポインタ変数(設定ポインタと解析ポインタ)のみで、データが溢れることの無いバッファ管理を実現できる。 As shown in FIG. 90, the reception command buffer area is provided as a ring buffer that uses a storage area (buffer) having a fixed length (here, addresses 00H to 03H) in a ring shape and stores data in the buffer. Here, the storage area of addresses 00H to 03H is illustrated as the size of the buffer, but the size of the buffer is not limited to this. In the receive command buffer area, data (value of the receive command) is set and analyzed using a data write pointer (setting pointer) and a data read pointer (analysis pointer) as shown in the figure. When both pointers reach the end of the buffer (here the bottom layer), they are rotated back to the beginning of the buffer (here the top layer). In this way, the data is processed conceptually as if it were a ring, and the data overflows with only the actual area (fixed-length buffer area) and two pointer variables (setting pointer and analysis pointer). It is possible to realize buffer management without any problems.

図90は、設定ポインタの値が直接、記憶領域のアドレスを示す例である。まず、同図(a)に示すように、設定ポインタと解析ポインタはいずれも受信コマンドバッファエリアの先頭アドレス(00H)の位置を参照している。リングバッファでは、読み出し用ポインタ(解析ポインタ)は、現在参照する位置からデータを読み出すが、書き込み用ポインタ(設定ポインタ)と参照アドレスが一致した場合には、データの読み込みを終了(待機)する。つまり同図(a)の状態では、設定ポインタと解析ポインタの位置が同じであるので、払出制御部600のCUPは、データの読み出しを待機している。 FIG. 90 is an example in which the value of the setting pointer directly indicates the address of the storage area. First, as shown in FIG. 6A, both the setting pointer and the analysis pointer refer to the position of the start address (00H) of the reception command buffer area. In the ring buffer, the read pointer (analysis pointer) reads data from the position currently referred to, but when the write pointer (setting pointer) and the reference address match, the reading of the data is terminated (waiting). That is, in the state of FIG. 3A, since the positions of the setting pointer and the analysis pointer are the same, the CUP of the payout control unit 600 is waiting for reading data.

この状態で、払出制御部600が主制御部300から最初の受信コマンド(例えば、2AH(10球払出を指示する賞球コマンド)を受信すると、設定ポインタの位置(00H)に受信コマンドの値(2AH)が書き込まれ(同図(b))、設定ポインタは次のアドレス(01H)に移動する(同図(c))。なお、図90および図91においては、受信コマンドの値について16進数を示す「H」を省略して示す。 In this state, when the payout control unit 600 receives the first receive command (for example, 2AH (prize ball command instructing 10 ball payout) from the main control unit 300), the value of the receive command (for example, the value of the receive command (00H) at the position (00H) of the setting pointer) 2AH) is written (Fig. (B)), and the setting pointer moves to the next address (01H) (Fig. 90 (c)). In FIGS. 90 and 91, the value of the received command is a hexadecimal number. The "H" indicating "H" is omitted.

設定ポインタと解析ポインタとは異なるアドレスを参照しているため、解析ポインタはデータの読み込みを開始する。つまり解析ポインタは、先頭のアドレス(00H)に格納されている値(ここでは2AH)を参照し、当該値から受信コマンドの内容を解析して対応するモジュールにジャンプする(同図(c))。解析ポインタにより値が読み出された後に、解析ポインタが参照する記憶領域がクリアされ(同図(d))、解析ポインタは次のアドレス(01H)に移動する(同図(e))。なお、解析ポインタの値をインクリメントした後にデータを読み出してもよい。 Since the setting pointer and the analysis pointer refer to different addresses, the analysis pointer starts reading data. That is, the analysis pointer refers to the value (2AH in this case) stored at the first address (00H), analyzes the content of the received command from the value, and jumps to the corresponding module (Fig. (C)). .. After the value is read by the analysis pointer, the storage area referenced by the analysis pointer is cleared (Fig. (D)), and the analysis pointer moves to the next address (01H) (Fig. (E)). The data may be read after incrementing the value of the analysis pointer.

次に受信コマンド(例えば、23H(3球払出を指示する賞球コマンド)を受信すると、設定ポインタの位置(01H)に受信コマンドの値(23H)が書き込まれ(同図(f))、設定ポインタは次のアドレス(02H)に移動する(同図(g))。次の受信コマンド(例えば、2FH(15球払出を指示する賞球コマンド)を受信すると、設定ポインタの位置(02H)に受信コマンドの値(2FH)が書き込まれ(同図(h))、設定ポインタは次のアドレス(03H)に移動する(同図(i))。解析ポインタは現在のアドレス(01H)に格納されている値(ここでは23H)を参照し、当該値から受信コマンドの内容を解析して対応するモジュールにジャンプし(同図(i))、その後、解析ポインタの参照する記憶領域がクリアされる(同図(j))。解析ポインタの参照する記憶領域がクリアされると、解析ポインタは次のアドレス(02H)に移動し(同図(k))、(設定ポインタの位置とは不一致であるので)バッファの値(2FH)を読み込んで解析する。その後、解析ポインタの参照する記憶領域がクリアされ(同図(l))、解析ポインタは次のアドレス(03H)に移動する(同図(m))。 Next, when a reception command (for example, a prize ball command instructing the payout of 3 balls) is received, the value (23H) of the reception command is written at the position (01H) of the setting pointer (Fig. (F)) and set. The pointer moves to the next address (02H) (Fig. (G)). When the next reception command (for example, a prize ball command instructing 15 ball payout) is received, the pointer moves to the position of the setting pointer (02H). The value of the receive command (2FH) is written (Fig. (H)), and the setting pointer moves to the next address (03H) (Fig. (I)). The analysis pointer is stored at the current address (01H). Refers to the value (23H in this case), analyzes the content of the received command from the value, jumps to the corresponding module (Fig. (I)), and then clears the storage area referenced by the analysis pointer. (Fig. (J)). When the storage area referenced by the analysis pointer is cleared, the analysis pointer moves to the next address (02H) (Fig. (K)), and (the position of the setting pointer does not match). The buffer value (2FH) is read and analyzed. After that, the storage area referenced by the analysis pointer is cleared (Fig. (L)), and the analysis pointer moves to the next address (03H) (Fig. 3H). (M)).

同図(m)の状態では、設定ポインタと解析ポインタの参照アドレスが一致しているため、解析ポインタはデータの読み込みを待機する。次の受信コマンド(例えば、23H)を受信すると、設定ポインタの位置(03H)に受信コマンドの値(23H)が書き込まれ(同図(n))、設定ポインタは次のアドレス(00H)に移動する(同図(o))。解析ポインタは現在のアドレス03Hの値23Hを読出し、解析を行う(同図(o))。以下同様に、データの書き込みと読み出しが行われる。 In the state of FIG. 3M, since the reference addresses of the setting pointer and the analysis pointer match, the analysis pointer waits for data to be read. When the next receive command (for example, 23H) is received, the value (23H) of the receive command is written at the position (03H) of the setting pointer (Fig. (N)), and the setting pointer moves to the next address (00H). (Fig. (O)). The analysis pointer reads the value 23H of the current address 03H and performs analysis (Fig. (O)). The data is written and read in the same manner.

図90は、受信コマンドバッファエリアの他の例を示す図である。同図に示す例では、設定ポインタおよび解析ポインタが参照する位置(その値)と、実際にデータが格納された記憶領域のアドレスとが異なる場合を示している。つまり、設定ポインタおよび解析ポインタが参照する位置(その値)に基づき、データが格納されたアドレスを算出して、データの書き込み及び読み込みを行うものである。 FIG. 90 is a diagram showing another example of the received command buffer area. In the example shown in the figure, the position (its value) referred to by the setting pointer and the analysis pointer is different from the address of the storage area where the data is actually stored. That is, the address where the data is stored is calculated based on the position (its value) referred to by the setting pointer and the analysis pointer, and the data is written and read.

図90(a)を参照して、受信コマンドが格納される受信コマンドバッファエリアとして、例えばアドレス7F10H〜7F13Hまでの領域が確保されている。一方、設定ポインタは、例えばRAM708のアドレス7F0EHに記憶され、解析ポインタは例えば、RAM708のアドレス7F0FHに記憶されており、設定ポインタと解析ポインタにそれぞれ図示の値(例えば、00H〜03H)をセットする。 With reference to FIG. 90A, an area from addresses 7F10H to 7F13H is secured as a reception command buffer area in which reception commands are stored. On the other hand, the setting pointer is stored in the address 7F0EH of the RAM 708, for example, and the analysis pointer is stored in the address 7F0FH of the RAM 708, for example. ..

つまり、同図の状態では、設定ポインタと解析ポインタはいずれもの先頭の値00Hがセットされており、受信コマンドバッファエリアにはデータが格納されていない。 That is, in the state of the figure, the value 00H at the beginning of both the setting pointer and the analysis pointer is set, and no data is stored in the reception command buffer area.

この状態で、払出制御部600が主制御部300から最初の受信コマンド(例えば、2AH)を受信した場合、設定ポインタにセットされた値(00H)に基づいて所定の演算処理を行い、受信コマンドバッファエリアの先頭アドレスの値(7F10H)を算出する。そして受信コマンドバッファエリアのアドレス7F10Hに受信コマンド(2AH)を格納する(同図(b))。そして、受信コマンド格納された後、設定ポインタの位置は更新(インクリメント)され、次のアドレスに移動する。解析ポインタは、セットされている値(00H)に基づいて所定の演算処理を行い、受信コマンドバッファエリアの先頭アドレスの値(7F10H)を算出する。そして受信コマンドバッファエリアのアドレス7F10Hのデータ(2AH)を読み込み、解析する(同図(c))。その後、受信コマンドバッファエリアのアドレス7F10Hがクリアされ(同図(d))、解析ポインタが更新されて次のアドレスの値がセットされる(同図(e))。この状態で、払出制御部600が主制御部300から次の受信コマンド(例えば、23H)を受信した場合、設定ポインタにセットされる値(01H)に基づいて所定の演算処理を行い、受信コマンドバッファエリアの先頭アドレスの値(7F11H)を算出し、当該アドレス7F11Hに受信コマンド(23H)を格納する(同図(f))。その後、設定ポインタは次のアドレスを参照し、解析ポインタはセットされた値(01H)に基づいて所定の演算処理を行い、受信コマンドバッファエリアのアドレス7F11Hを算出して、格納されているデータ(23H)を取得し、解析する。以降、同様の処理を繰り返してデータの格納と解析が行われる。 In this state, when the payout control unit 600 receives the first reception command (for example, 2AH) from the main control unit 300, a predetermined arithmetic process is performed based on the value (00H) set in the setting pointer, and the reception command is received. The value (7F10H) of the start address of the buffer area is calculated. Then, the reception command (2AH) is stored at the address 7F10H of the reception command buffer area (Fig. (B)). Then, after the reception command is stored, the position of the setting pointer is updated (incremented) and moved to the next address. The analysis pointer performs a predetermined arithmetic process based on the set value (00H), and calculates the value (7F10H) of the start address of the reception command buffer area. Then, the data (2AH) at the address 7F10H in the reception command buffer area is read and analyzed (Fig. (C)). After that, the address 7F10H of the reception command buffer area is cleared (Fig. (D)), the analysis pointer is updated, and the value of the next address is set (Fig. (E)). In this state, when the payout control unit 600 receives the next reception command (for example, 23H) from the main control unit 300, a predetermined arithmetic process is performed based on the value (01H) set in the setting pointer, and the reception command is received. The value (7F11H) of the start address of the buffer area is calculated, and the reception command (23H) is stored in the address 7F11H (Fig. (F)). After that, the setting pointer refers to the next address, the analysis pointer performs predetermined arithmetic processing based on the set value (01H), the address 7F11H of the reception command buffer area is calculated, and the stored data ( 23H) is acquired and analyzed. After that, the same process is repeated to store and analyze the data.

なお、設定ポインタおよび解析ポインタにセットする値は、実際には、0〜15(4ビット)の値を用い、インクリメント関数で値の更新をしている。設定ポインタおよび解析ポインタは8ビットであるが、ポインタには、セットする値(4ビットで0〜15)と0FHとの論理積の演算結果をセットするので、0〜15の範囲で循環させることが可能になる。 The values set in the setting pointer and the analysis pointer are actually 0 to 15 (4 bits), and the values are updated by the increment function. The setting pointer and the analysis pointer are 8 bits, but since the operation result of the logical product of the set value (4 bits 0 to 15) and 0FH is set in the pointer, it should be circulated in the range of 0 to 15. Becomes possible.

<記憶領域の構成>
図92(a)(b)は、本実施形態の受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理において使用する記憶領域の一部の構成を示す概要図である。また図92(c)は、主制御部300が払出制御部600に送信するコマンド(受信コマンド)の一例である。
<Structure of storage area>
FIGS. 92 (a) and 92 (b) are schematic views showing a partial configuration of a storage area used in the received command process, the received command acquisition process, and the received command analysis process of the present embodiment. Further, FIG. 92 (c) is an example of a command (received command) transmitted by the main control unit 300 to the payout control unit 600.

図92(a)は、払出制御用マイクロコンピュータ770の内蔵レジスタの一部である、ステータスレジスタ772と受信データレジスタ774の概要図である(図81参照)。ステータスレジスタ772にはシリアル通信回路の状態を示す情報が格納され、受信データレジスタ774には、受信コマンドが格納される。なお、ここでは払出制御部600で受信したコマンドを格納する受信データレジスタ774として示しているが、送受信データが格納される送受信データレジスタであってもよい。 FIG. 92 (a) is a schematic view of the status register 772 and the received data register 774, which are a part of the built-in registers of the payout control microcomputer 770 (see FIG. 81). Information indicating the status of the serial communication circuit is stored in the status register 772, and the reception command is stored in the reception data register 774. Although it is shown here as a reception data register 774 that stores a command received by the payout control unit 600, it may be a transmission / reception data register that stores transmission / reception data.

図92(b)は、払出制御部600のRAM708の第二の領域708Bの構成を示す概要図である。同図に示すように、第二の領域708Bは例えば、アドレス7F0EH〜7F13Hまでの領域で構成され、アドレス7F0EHが設定ポインタ保存用エリア7081であり、アドレス7F0FHが解析ポインタ保存用エリア7082であり、アドレス7F10H〜7F13Hが受信コマンドバッファエリア(リングバッファ)708Rである。 FIG. 92B is a schematic view showing the configuration of the second area 708B of the RAM 708 of the payout control unit 600. As shown in the figure, the second area 708B is composed of, for example, the areas from addresses 7F0EH to 7F13H, the address 7F0EH is the setting pointer storage area 7081, and the address 7F0FH is the analysis pointer storage area 7082. Addresses 7F10H to 7F13H are reception command buffer areas (ring buffers) 708R.

受信コマンドバッファエリア708Rには、同図(c)で示す受信コマンドが格納される。同図(c)の内容は、図89(b)に示すものと同様であるので、説明は省略する。 The reception command shown in FIG. 6C is stored in the reception command buffer area 708R. Since the content of FIG. 89 (c) is the same as that shown in FIG. 89 (b), the description thereof will be omitted.

<受信コマンド処理(詳細)>
図93を参照して、受信コマンド処理の一例について、詳細に説明する。上述したように、受信コマンド処理は、払出制御部割込み処理(図70)のステップS404において行われる処理である。また、以下の説明では図89に示したように、設定ポインタおよび解析ポインタの値に基づき、受信コマンドバッファエリアのアドレスを間接的に算出して参照する場合を例に示す。つまり、初期状態では、設定ポインタおよび解析ポインタの値はいずれも00Hであり、最初にデータが格納される領域は、受信コマンドバッファエリアのアドレス7F10Hである。
<Receive command processing (details)>
An example of receiving command processing will be described in detail with reference to FIG. 93. As described above, the receive command process is a process performed in step S404 of the payout control unit interrupt process (FIG. 70). Further, in the following description, as shown in FIG. 89, a case where the address of the received command buffer area is indirectly calculated and referred to based on the values of the setting pointer and the analysis pointer is shown as an example. That is, in the initial state, the values of the setting pointer and the analysis pointer are both 00H, and the area where the data is first stored is the address 7F10H of the reception command buffer area.

まず、払出制御部600のCPUはステータスレジスタ772の特定ビットを参照して「受信完了」になった場合に、受信データレジスタ774から受信データ(受信コマンド)を読み込む(1)。 First, the CPU of the payout control unit 600 refers to the specific bit of the status register 772 and reads the received data (reception command) from the reception data register 774 when "reception is completed" (1).

受信コマンドの格納先は、一例として、設定ポインタ保存エリア7081の値と、受信コマンドバッファエリア708Rの先頭アドレスに基づいて求める。すなわち、設定ポインタ保存エリア7081(アドレス7F0EH)の値(01H)に、受信コマンドバッファエリア708Rの先頭アドレス7F10Hを加算して格納先のアドレス7F11Hを算出する(2)。払出制御部600のCPUは、受信データレジスタ774の受信コマンドを、受信コマンドバッファエリア708Rのアドレス7F11Hに格納する(3)。受信データレジスタ774から受信コマンドが読み出されると、ステータスレジスタ772の特定ビットがクリアされる。また、払出制御部600のCPUは、設定ポインタの値を更新(インクリメント)する(4)。 As an example, the storage destination of the reception command is obtained based on the value of the setting pointer storage area 7081 and the start address of the reception command buffer area 708R. That is, the start address 7F10H of the reception command buffer area 708R is added to the value (01H) of the setting pointer storage area 7081 (address 7F0EH) to calculate the storage destination address 7F11H (2). The CPU of the payout control unit 600 stores the receive command of the receive data register 774 at the address 7F11H of the receive command buffer area 708R (3). When the receive command is read from the receive data register 774, the specific bit of the status register 772 is cleared. Further, the CPU of the payout control unit 600 updates (increments) the value of the setting pointer (4).

なお、払出制御部600のCPUが、受信データレジスタ774の受信コマンドを、受信コマンドバッファエリア708Rのアドレス7F11Hに格納するとともに、ステータスレジスタ772の特定ビットをクリアしてもよい。 The CPU of the payout control unit 600 may store the receive command of the receive data register 774 in the address 7F11H of the receive command buffer area 708R and clear the specific bit of the status register 772.

<受信コマンド取得処理(詳細)>
図94を参照して、受信コマンド取得処理の一例について、詳細に説明する。受信コマンド取得処理は、払出制御部メイン処理のステップS309において行われる処理である。
<Receive command acquisition process (details)>
An example of the received command acquisition process will be described in detail with reference to FIG. 94. The reception command acquisition process is a process performed in step S309 of the payout control unit main process.

まず、払出制御部600のCPUは、設定ポインタ保存エリア7081の値(ここでは02H)と、解析ポインタ保存エリア7082の値(ここでは01H)の値を比較し(1)、これらの値が不一致である場合、解析を行う。解析するデータ(受信コマンド)の格納先は、一例として、解析ポインタ保存エリア7082の値と、受信コマンドバッファエリア708Rの先頭アドレスに基づいて求める。すなわち、解析ポインタの値(ここでは01H)と、受信コマンドバッファエリア708Rの先頭アドレス7F10Hを加算して格納先のアドレス7F11Hを算出する(2)。払出制御部600のCPUは、受信コマンドバッファエリア708Rのアドレス7F11Hに格納されているデータを別の領域(例えば、Aレジスタ722など)に格納し、受信コマンドバッファエリア708Rのアドレス7F11Hのデータをクリアする(3)。また、払出制御部600のCPUは、解析ポインタの値を更新(インクリメント)する(4)。 First, the CPU of the payout control unit 600 compares the value of the setting pointer storage area 7081 (here 02H) with the value of the analysis pointer storage area 7082 (here 01H) (1), and these values do not match. If, the analysis is performed. As an example, the storage destination of the data to be analyzed (received command) is obtained based on the value of the analysis pointer storage area 7082 and the start address of the received command buffer area 708R. That is, the value of the analysis pointer (01H in this case) and the start address 7F10H of the reception command buffer area 708R are added to calculate the storage destination address 7F11H (2). The CPU of the payout control unit 600 stores the data stored in the address 7F11H of the reception command buffer area 708R in another area (for example, A register 722) and clears the data of the address 7F11H of the reception command buffer area 708R. (3). Further, the CPU of the payout control unit 600 updates (increments) the value of the analysis pointer (4).

この後、払出制御部600のCPUは、Aレジスタ722に格納した受信コマンドの種別(賞球コマンドであるか、通信確認コマンドであるか)を解析し、対応するモジュールにジャンプする。 After that, the CPU of the payout control unit 600 analyzes the type of the received command (whether it is a prize ball command or a communication confirmation command) stored in the A register 722, and jumps to the corresponding module.

<受信コマンド解析処理>
図95〜図97を参照して、受信コマンド解析処理の一例について、詳細に説明する。受信コマンド解析処理は、払出制御部メイン処理のステップS309において行われる処理である。
<Received command analysis processing>
An example of the received command analysis process will be described in detail with reference to FIGS. 95 to 97. The received command analysis process is a process performed in step S309 of the payout control unit main process.

図95は受信コマンドのデータの一例とジャンプテーブルの関係を示す図である。同図(a)は、受信コマンドのビット単位の設定例(内容)を示す図であり、同図(b)はジャンプテーブルの一例を示す図である。 FIG. 95 is a diagram showing a relationship between an example of received command data and a jump table. FIG. 6A is a diagram showing a bit-wise setting example (contents) of a received command, and FIG. 3B is a diagram showing an example of a jump table.

同図(a)に示すように、受信コマンドは8ビットデータであり、上位4ビットがコマンド種別を示し、下位4ビットが実データを示している。例えば、上位4ビットの値が「1」の場合が主制御通信確認コマンドであり、そのうち、下位4ビットの実データ部分の値が「0」の場合に初期起動時であることを示し、下位4ビットの実データ部分の値が「1」の場合に復帰起動時であることを示す。また、例えば、上位4ビットの値が「2」の場合が賞球コマンドであり、そのうち、下位4ビットの実データ部分の値が「3」の場合に3球の払い出しであることを示し、下位4ビットの実データ部分の値が「10」の場合に10球の払い出しであることを示し、下位4ビットの実データ部分の値が「15」の場合に15球の払い出しであることを示す。なお、上位4ビットのコマンド種別と下位4ビットの実データは別々に一時保存されるが、これについては後述する。 As shown in FIG. 6A, the received command is 8-bit data, the upper 4 bits indicate the command type, and the lower 4 bits indicate the actual data. For example, when the value of the upper 4 bits is "1", it is the main control communication confirmation command, and when the value of the actual data part of the lower 4 bits is "0", it indicates that it is the initial startup, and the lower 4 bits. When the value of the 4-bit actual data part is "1", it indicates that the return is started. Further, for example, when the value of the upper 4 bits is "2", it is a prize ball command, and when the value of the actual data part of the lower 4 bits is "3", it indicates that 3 balls are paid out. When the value of the actual data part of the lower 4 bits is "10", it indicates that 10 balls are paid out, and when the value of the actual data part of the lower 4 bits is "15", it means that 15 balls are paid out. show. The command type of the upper 4 bits and the actual data of the lower 4 bits are temporarily saved separately, which will be described later.

同図(b)は、ジャンプテーブルの一例を示す。ジャンプテーブルは、払出制御部600のROM706の、ROM制御領域に設けられ、アドレス0700Hに、主制御通信確認コマンド受信処理(プログラム)の先頭アドレス0750Hのうちの下位8ビット(または上位8ビット)が記憶され、0701Hには、主制御通信確認コマンド受信処理の先頭アドレス(ここでは0750H)のうちの上位8ビット(または下位8ビット)が記憶されている。また、アドレス0702Hに、賞球数コマンド受信時処理(プログラム)の先頭アドレス(ここでは0780H)のうちの下位8ビット(または上位8ビット)が記憶され、0703Hには、賞球数コマンド受信時処理の先頭アドレス0780Hのうちの上位8ビット(または下位8ビット)が記憶されている。 FIG. 3B shows an example of a jump table. The jump table is provided in the ROM control area of the ROM 706 of the payout control unit 600, and the lower 8 bits (or the upper 8 bits) of the start address 0750H of the main control communication confirmation command reception process (program) are set at the address 0700H. The upper 8 bits (or lower 8 bits) of the start address (here, 0750H) of the main control communication confirmation command reception process are stored in the 0701H. Further, the lower 8 bits (or upper 8 bits) of the start address (here, 0780H) of the processing (program) at the time of receiving the prize ball number command is stored in the address 0702H, and the lower 8 bits (or the upper 8 bits) are stored in the address 0703H when the prize ball number command is received. The upper 8 bits (or lower 8 bits) of the processing start address 0780H are stored.

払出制御部600のCPUは、賞球コマンドの上位4ビットを解析し、「1」の場合は、同図(b)のジャンプテーブルのアドレス0700Hを参照し、主制御通信確認コマンド受信時処理の先頭アドレス(ここでは0750H)にジャンプする。また、払出制御部600のCPUは、賞球コマンドの上位4ビットを解析し、「2」の場合は、同図(b)のジャンプテーブルのアドレス0702Hを参照し、賞球数コマンド受信時処理の先頭アドレス(ここでは0780H)にジャンプする。 The CPU of the payout control unit 600 analyzes the upper 4 bits of the prize ball command, and in the case of "1", refers to the address 0700H of the jump table in the figure (b), and processes when the main control communication confirmation command is received. Jump to the start address (0750H in this case). Further, the CPU of the payout control unit 600 analyzes the upper 4 bits of the prize ball command, and in the case of "2", refers to the address 0702H of the jump table in the figure (b) and processes when the prize ball number command is received. Jumps to the start address of (here, 0780H).

図96および図97は、引き続き、受信コマンド解析処理の詳細を示す図であり、図94の(3)でAレジスタに格納された受信コマンドの解析例を示す図である。 96 and 97 are diagrams showing details of the received command analysis process, and are diagrams showing an analysis example of the received command stored in the A register in FIG. 94 (3).

図96(a)では、Aレジスタに例えば、3球払出を指示する賞球コマンド(23H)として「00100011」が格納されている場合を示す。まず、払出制御部600のCPUは、後にコマンド種別の判定を行うため、Aレジスタの値をBレジスタに退避する。なお、上述したように本実施形態では、図108(b)のステップS1403で賞球コマンド受付許可フラグがオフになっている場合には受信コマンドをバッファに格納せずに処理を終了し、また図109のステップS706で賞球コマンド受付許可フラグがオフになっている場合には、賞球コマンド受信時処理を行わずに処理を終了している。しかし図96(a)に示すタイミング(賞球コマンドをバッファに格納した後に)で、上位4ビットを参照して賞球コマンドであることを解析し、賞球コマンドの受付が不可(賞球コマンド受付許可フラグがオフ)となっている場合には、コマンドを破棄して処理を終了してもよい。また、主制御通信確認コマンドおよび賞球コマンド以外のコマンドを破棄した場合や、賞球コマンド受付許可フラグをオフすることで意図しない賞球コマンドを破棄した場合であっても、主制御部300にエラーである旨を送信しなくてもよい。 FIG. 96A shows a case where “00100011” is stored in the A register as, for example, a prize ball command (23H) for instructing the payout of three balls. First, the CPU of the payout control unit 600 saves the value of the A register in the B register in order to determine the command type later. As described above, in the present embodiment, when the prize ball command acceptance permission flag is turned off in step S1403 of FIG. 108 (b), the process is terminated without storing the received command in the buffer. When the prize ball command acceptance permission flag is turned off in step S706 of FIG. 109, the process ends without performing the prize ball command reception processing. However, at the timing shown in FIG. 96 (a) (after the prize ball command is stored in the buffer), it is analyzed that the prize ball command is a prize ball command by referring to the upper 4 bits, and the prize ball command cannot be accepted (prize ball command). If the acceptance permission flag is off), the command may be discarded and the process may be terminated. Further, even if a command other than the main control communication confirmation command and the prize ball command is discarded, or an unintended prize ball command is discarded by turning off the prize ball command acceptance permission flag, the main control unit 300 is notified. It is not necessary to send that it is an error.

次に、同図(b)に示すように、Aレジスタの下位4ビットの値を取得するためにAレジスタの値「00100011」と0FH(「00001111」)の論理積を算出してAレジスタに格納する。この結果Aレジスタの値は上位4ビットがマスクされ実データ部分の値のみ(「00000011」)となる。 Next, as shown in FIG. 6B, the logical product of the A register value “00100011” and 0FH (“000001111”) is calculated in order to acquire the value of the lower 4 bits of the A register and stored in the A register. Store. As a result, the upper 4 bits of the value of the A register are masked and only the value of the actual data portion becomes (“000000111”).

次に、同図(c)に示すように、Aレジスタの値(実データ部分)をCレジスタに退避し、その後、同図(d)に示すように、コマンド種別判定のためにBレジスタの値「00100011」をAレジスタに格納(復帰)する。なお、実データ部分の対比処理と、コマンド種別判定のための復帰処理の順番は、逆でもよい。 Next, as shown in the figure (c), the value (actual data part) of the A register is saved in the C register, and then, as shown in the figure (d), the value of the B register is used for determining the command type. The value "00100011" is stored (returned) in the A register. The order of the comparison processing of the actual data part and the return processing for determining the command type may be reversed.

次に、同図(e)に示すように、Aレジスタの上位4ビットの値を取得するためにAレジスタの値「00100011」とF0H(「11110000」)の論理積を算出してAレジスタに格納する。この結果Aレジスタの値は下位4ビットがマスクされ、コマンド種別を示す値のみ(「00100000」)となる。 Next, as shown in the figure (e), in order to acquire the value of the upper 4 bits of the A register, the logical product of the A register value "00100011" and F0H ("11110,000") is calculated and stored in the A register. Store. As a result, the lower 4 bits of the value of the A register are masked, and only the value indicating the command type (“00100000”) is obtained.

引き続き図97(a)では、Aレジスタの値について右シフトを4回行う。これによりAレジスタの値は、賞球コマンドの場合は図示の如く「00000010」となる(主制御通信確認コマンドの場合は、「00000001」となる)。 Subsequently, in FIG. 97 (a), the value of the A register is shifted to the right four times. As a result, the value of the A register becomes "00000010" in the case of the prize ball command as shown in the figure (in the case of the main control communication confirmation command, it becomes "00000001").

同図(b)では、オフセット算出のため、Aレジスタの値を減算(デクリメント)し、「00000001」を得る。その後、同図(c)に示すようにAレジスタのデクリメント後の値と特定の値(ここでは例えば02H)を比較(CP 02H命令)する。このタイミングで(デクリメント後の)Aレジスタの値は、通常では00Hまたは01Hであるので、キャリーが発生した場合には、正常なコマンドであり、キャリーが発生しなかった場合には意図しないコマンドと判定できる。したがって、キャリーが発生しなかった場合には意図しないコマンドであるとして処理を終了する。なお、特定の値との比較は減算処理前に行ってもよい。 In the figure (b), the value of the A register is subtracted (decremented) to obtain "00000001" in order to calculate the offset. Then, as shown in FIG. 6C, the decremented value of the A register is compared with a specific value (here, for example, 02H) (CP 02H instruction). At this timing, the value of the A register (after decrementing) is usually 00H or 01H, so if a carry occurs, it is a normal command, and if a carry does not occur, it is an unintended command. Can be judged. Therefore, if carry does not occur, the process is terminated as an unintended command. The comparison with a specific value may be performed before the subtraction process.

次に、同図(d)では、図95(b)に示したジャンプテーブルの先頭アドレス0700Hを、払出制御部600のHLレジスタ(ペアレジスタ)724に格納する。 Next, in FIG. 9D, the start address 0700H of the jump table shown in FIG. 95B is stored in the HL register (pair register) 724 of the payout control unit 600.

次に、同図(e)に示すように、HLレジスタの値に、同図(b)のAレジスタの値を2倍した値「00000010」を加算し、加算後のHLレジスタに記憶されているアドレスにジャンプする(モジュールに移行する)。HLレジスタに記憶されているアドレスへのジャンプは、例えば、「JP(HL)命令」などで行う。この例では、ジャンプテーブルのアドレス0702Hに格納されているアドレス0780Hにジャンプし、賞球数コマンド受信時処理が実行される。 Next, as shown in the figure (e), the value "000000010" which is double the value of the A register in the figure (b) is added to the value of the HL register and stored in the added HL register. Jump to the address you are in (move to the module). The jump to the address stored in the HL register is performed by, for example, a "JP (HL) instruction". In this example, the jump is made to the address 0780H stored in the address 0702H of the jump table, and the processing at the time of receiving the prize ball number command is executed.

また、図示は省略するが、受信コマンドが主制御通信確認コマンドの場合、同図(b)のAレジスタの値が「00000000」となる。つまり、同図(e)でHLレジスタに加算するAレジスタの値の2倍値も「00000000」となり、ジャンプテーブルのアドレス0700Hに格納されているアドレス0750Hにジャンプすることとなり、主制御通信確認コマンド受信時処理が実行される。 Further, although not shown, when the reception command is the main control communication confirmation command, the value of the A register in FIG. 6B is "00000000000". That is, in the figure (e), the double value of the A register value added to the HL register is also "00000000000", and the jump is made to the address 0750H stored in the address 0700H of the jump table, and the main control communication confirmation command is used. Receiving processing is executed.

なお、同図(e)の後に、賞球数コマンド受信時処理に移行した場合は、図96(c)においてCレジスタに退避した実データ部分が賞球数となるので、この賞球数を図111(a)のステップS1102または図111(b)のステップS1203において、次賞球数エリアに加算する処理を行う。なお、賞球個数についての不正対策は行っていないが、賞球個数の不正対策として、Cレジスタに退避した実データ部分(下位4ビット)を参照する処理を行ってもよい。 If the process shifts to the process when the prize ball number command is received after FIG. 96 (e), the actual data portion saved in the C register in FIG. 96 (c) becomes the prize ball number. In step S1102 of FIG. 111 (a) or step S1203 of FIG. 111 (b), a process of adding to the next prize ball number area is performed. Although no fraudulent countermeasures have been taken for the number of prize balls, as a countermeasure against fraudulent numbers of prize balls, a process of referring to the actual data portion (lower 4 bits) saved in the C register may be performed.

以上、受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理について説明したが、送信コマンド処理(図70のステップS412)や、送信コマンド出力処理(図106のステップS311)は、上述の受信コマンド処理、受信コマンド取得処理および受信コマンド解析処理の少なくとも一つ以上と同様に実行してもよい。 Although the reception command processing, the reception command acquisition processing, and the reception command analysis processing have been described above, the transmission command processing (step S412 in FIG. 70) and the transmission command output processing (step S311 in FIG. 106) are the above-mentioned reception command processing. , At least one or more of the received command acquisition process and the received command analysis process may be executed in the same manner.

なお、主制御通信確認コマンドは定期的に払出制御部600に送信しているが、賞球コマンド送信前だけ送信するようにしてもよく、その場合、初回の主制御通信確認コマンドのみ、賞球コマンドと別に送信するようにしてもよい。また、例えば、賞球コマンド1送信につき、主制御通信確認コマンド1送信するものとしてもよい。また、主制御部タイマ割込み処理の1割込みにつき1送信、あるいは1割り込みにつき複数送信、1割り込みにつきグループ単位で送信、1割り込みにつき255を超えない範囲で複数送信などを行うものであってもよい。 Although the main control communication confirmation command is periodically transmitted to the payout control unit 600, it may be transmitted only before the prize ball command is transmitted. In that case, only the first main control communication confirmation command is transmitted to the prize ball. It may be sent separately from the command. Further, for example, one main control communication confirmation command may be transmitted for each prize ball command transmission. Further, one transmission may be performed for each interrupt of the timer interrupt process of the main control unit, or a plurality of transmissions may be performed for each interrupt, a group unit may be transmitted for each interrupt, and a plurality of transmissions may be performed for each interrupt within a range not exceeding 255. ..

また、賞球が発生した場合の賞球コマンドの送受信の際に、デバイス等の状態に関する情報を送受信すると通信量が増えすぎてしまうため、主制御部300と払出制御部600の間で定期的に通信確認コマンドを送受信する場合には、払出制御部600では側は通信確認コマンドの送受信のタイミングで、デバイス等の状態に関する情報も送受信するとよい。 In addition, when sending and receiving a prize ball command when a prize ball is generated, if information about the state of the device or the like is transmitted and received, the amount of communication increases too much, so that the main control unit 300 and the payout control unit 600 periodically When sending and receiving a communication confirmation command to, the payout control unit 600 may send and receive information on the state of the device and the like at the timing of sending and receiving the communication confirmation command.

また、主制御通信確認コマンドを受信しない場合には、エラーに関するコマンドを主制御部300に送信しないものとしてもよい。この場合、エラーコマンドを使って、所定の種別のエラーは送信するなど一部のエラーについては送信するものとしてもよい。 Further, when the main control communication confirmation command is not received, the command related to the error may not be transmitted to the main control unit 300. In this case, some errors may be transmitted by using an error command, such as transmitting an error of a predetermined type.

また、主制御通信確認コマンドを受信した場合、主制御部300に、複数種類のコマンドを、別々のタイミング(例えば、異なるメイン処理など)で送信する場合がある。例えば、複数種類のコマンドの送信が同時に発生した場合には、例えばエラーコマンドの上位4ビットが小さいもの順に送るなどとしてもよいし、上位4ビットが大きいもの順に送るなどとしてもよい。また、賞球コマンドは賞球に関わる重要なコマンドであることから、コマンドを暗号化してもよい。 Further, when the main control communication confirmation command is received, a plurality of types of commands may be transmitted to the main control unit 300 at different timings (for example, different main processes). For example, when a plurality of types of commands are transmitted at the same time, for example, the upper 4 bits of the error command may be sent in ascending order, or the upper 4 bits may be sent in ascending order. Further, since the prize ball command is an important command related to the prize ball, the command may be encrypted.

また、上記の実施形態で説明した各処理のフローは、同様の機能が得られるものであれば、図示の流れに限定されるものではなく、処理順序は適宜入れ替えることが可能である。 Further, the flow of each process described in the above embodiment is not limited to the flow shown in the figure as long as the same function can be obtained, and the process order can be changed as appropriate.

また、払出制御部メイン処理で受信コマンド処理(ステップS404)を実行し、払出制御部割込み処理でコマンド解析処理(ステップS309)を実行するようにしてもよし、払出制御部メイン処理で受信コマンド処理(ステップS404)とコマンド解析処理(ステップS309)を実行するようにしてもよいし、払出制御部割込み処理で受信コマンド処理(ステップS404)とコマンド解析処理(ステップS309)を実行するようにしてもよい。 Alternatively, the payout control unit main process may execute the receive command process (step S404), and the payout control unit interrupt process may execute the command analysis process (step S309), or the payout control unit main process may execute the receive command process. (Step S404) and the command analysis process (step S309) may be executed, or the receive command process (step S404) and the command analysis process (step S309) may be executed by the payout control unit interrupt process. good.

なお、賞球コマンド受信時処理では、払出制御部割込み処理(図70)における受信コマンド処理(ステップS404)の、賞球コマンド受付許可フラグの判定処理(図108(b)のステップS1403)では、賞球コマンド受付許可フラグがオフであっても、本ステップの賞球コマンド受付許可フラグがオンの場合には、次のステップS1203に進む。つまり、払出制御部割込み処理では不正なコマンドと判定されても、本ステップにおいて正常な受信コマンドとしての処理を行う場合がある。 In the prize ball command reception processing, in the reception command processing (step S404) in the payout control unit interrupt processing (FIG. 70), the prize ball command acceptance permission flag determination processing (step S1403 in FIG. 108 (b)) Even if the prize ball command acceptance permission flag is off, if the prize ball command acceptance permission flag in this step is on, the process proceeds to the next step S1203. That is, even if the payout control unit interrupt processing determines that the command is invalid, it may be processed as a normal reception command in this step.

<主制御部のデータテーブル>
次に、パチンコ機100の主制御部300のROM306が記憶しているデータテーブルについて説明する。
<Data table of main control unit>
Next, the data table stored in the ROM 306 of the main control unit 300 of the pachinko machine 100 will be described.

<特図当否判定用テーブル>
図98(a)は特図当否判定用低確率状態テーブル(特図1)の一例を示したものであり、同図(b)は特図当否判定用高確率状態テーブル(特図1)の一例を示したものである。また、同図(c)は特図当否判定用低確率状態テーブル(特図2)の一例を示したものであり、同図(d)は特図当否判定用高確率状態テーブル(特図2)の一例を示したものである。
<Table for determining whether or not the special figure is correct>
FIG. 98 (a) shows an example of a low-probability state table for determining whether or not a special figure is correct (Special Figure 1), and FIG. 98 (b) is a high-probability state table for determining whether or not a special figure is correct (Special Figure 1). An example is shown. Further, FIG. 3C shows an example of a low-probability state table for determining whether or not a special figure is correct (Special Figure 2), and FIG. 2D is a high-probability state table for determining whether or not a special figure is correct (Special Figure 2). ) Is shown as an example.

これらの特図当否判定用テーブルには、特図確変の有無(特図高確率状態または特図低確率状態)と、特図大当り判定用の抽選値データと、特図変動遊技の当否結果が対応付けされて記憶されている。主制御部300の基本回路302は、この当否判定用テーブルと、特図確変の有無と、第1特図始動口230(または第2特図始動口232)に球が入賞したことを所定の球検出センサが検出した場合に取得する特図当選乱数値に基づいて、特図1変動遊技(または特図2変動遊技)の当否結果を決定する大当り判定を行う。 In these special figure hit / fail judgment tables, the presence / absence of special figure probability change (special figure high probability state or special figure low probability state), lottery value data for special figure big hit judgment, and the result of winning / failing of the special figure fluctuation game are displayed. It is associated and stored. The basic circuit 302 of the main control unit 300 determines that the hit / fail determination table, the presence / absence of the special figure probability change, and that the ball has won a prize in the first special figure start port 230 (or the second special figure start port 232). Based on the special figure winning random number value acquired when the ball detection sensor detects it, a jackpot determination for determining the winning / failing result of the special figure 1 variable game (or the special figure 2 variable game) is performed.

<特図当否判定用テーブル/特図1変動遊技の大当り判定>
特図1変動遊技の大当り判定で特図低確率状態(特図確変なし)の場合には、同図(a)に示す特図当否判定用低確率状態テーブル(特図1)を参照し、取得した特図当選乱数値が10001〜10219である場合は、特図1変動遊技の当選(大当り)と判定してRAM308に設けた大当りフラグの格納領域に大当りとなることを示す情報を設定する(以下、大当りフラグの格納領域に大当りの情報を設定することを「大当りフラグをオンに設定する」という)。また、取得した特図当選乱数値が10220〜10384である場合は、特図1変動遊技の当選(小当り)と判定してRAM308に設けた小当りフラグの格納領域に小当りとなることを示す情報を設定する(以下、小当りフラグの格納領域に小当りの情報を設定することを「小当りフラグをオンに設定する」という)。
<Special figure hit / fail judgment table / Special figure 1 Big hit judgment of variable game>
In the case of the special figure low probability state (no special figure probability change) in the jackpot judgment of the special figure 1 variable game, refer to the special figure hit / miss judgment low probability state table (special figure 1) shown in the same figure (a). When the acquired special figure winning random number value is 10001 to 10219, it is determined that the special figure 1 variable game is won (big hit), and information indicating that the big hit flag is stored in the storage area of the big hit flag provided in the RAM 308 is set. (Hereinafter, setting the jackpot information in the jackpot flag storage area is referred to as "setting the jackpot flag on"). Further, when the acquired special figure winning random number value is 10220 to 10384, it is determined that the special figure 1 variable game is won (small hit), and the small hit flag storage area provided in the RAM 308 is hit. Set the information to be shown (hereinafter, setting the small hit information in the small hit flag storage area is referred to as "setting the small hit flag on").

また、取得した特図当選乱数値が0〜10000または10385〜65535の数値である場合には、特図変動遊技のはずれと判定して上述の大当りフラグと小当りフラグの格納領域に、はずれとなることを示す情報を設定する(以下、大当りフラグの格納領域に、はずれの情報を設定することを「大当りフラグをオフに設定する」といい、小当りフラグの格納領域に、はずれの情報を設定することを「小当りフラグをオフに設定する」という)。 Further, when the acquired special figure winning random number value is a numerical value of 0 to 10000 or 10385 to 65535, it is determined that the special figure variable game is out of order, and the above-mentioned jackpot flag and small hit flag storage area is deviated. Set the information indicating that (hereinafter, setting the information of the loss in the storage area of the big hit flag is called "setting the big hit flag to off", and the information of the loss is set in the storage area of the small hit flag. Setting is called "setting the small hit flag off").

本実施形態では、特図当選乱数値の取り得る数値範囲は0〜65535(数値範囲の大きさは65536)、特図低確率状態における大当りの抽選値データの数値範囲は10001〜10219(数値範囲の大きさは219)であるから、特図低確率状態の特図1変動遊技の大当りの当選確率は、約1/299(=219/65536)であり、特図低確率状態における小当りの抽選値データの数値範囲は10220〜10384(数値範囲の大きさは164)であるから、特図低確率状態の特図変動遊技の小当りの当選確率は、約1/399(=165/65536)である。 In the present embodiment, the numerical range that the special figure winning random number value can take is 0 to 65535 (the size of the numerical range is 65536), and the numerical range of the jackpot lottery value data in the special figure low probability state is 10001 to 10219 (numerical range). Since the size of is 219), the winning probability of the big hit of the special figure 1 variable game in the special figure low probability state is about 1/299 (= 219/65536), and the small hit in the special figure low probability state. Since the numerical range of the lottery value data is 10220 to 10384 (the size of the numerical range is 164), the winning probability of the small hit of the special figure variable game in the special figure low probability state is about 1/399 (= 165/65536). ).

また、特図1変動遊技の大当り判定で特図高確率状態(特図確変あり)の場合には、同図(b)に示す特図当否判定用高確率状態テーブル(特図1)を参照し、取得した特図当選乱数値が10001〜12185である場合は、特図1変動遊技の当選(大当り)と判定して大当りフラグをオンに設定する。また、取得した特図当選乱数値が12186〜12349である場合は、特図1変動遊技の当選(小当り)と判定して小当りフラグをオンに設定する。また、取得した特図当選乱数値が0〜10000または12350〜65535の数値である場合には、特図変動遊技のはずれと判定して大当りフラグおよび小当りフラグをオフに設定する。 In addition, in the case of a special figure high probability state (with special figure probability change) in the jackpot judgment of the special figure 1 variable game, refer to the special figure hit / miss judgment high probability state table (special figure 1) shown in the same figure (b). Then, when the acquired special figure winning random value is 10001 to 12185, it is determined that the special figure 1 variable game is won (big hit), and the big hit flag is set to ON. If the acquired special figure winning random number values are 12186 to 12349, it is determined that the special figure 1 variable game has been won (small hit), and the small hit flag is set to ON. Further, when the acquired special figure winning random number value is a numerical value of 0 to 10000 or 12350 to 65535, it is determined that the special figure variable game is out of order, and the big hit flag and the small hit flag are set to off.

本実施形態では、特図当選乱数値の取り得る数値範囲は0〜65535(数値範囲の大きさは65536)、特図高確率状態における大当りの抽選値データの数値範囲は10001〜12185(数値範囲の大きさは2185)であるから、特図高確率状態の特図1変動遊技の大当りの当選確率は、約1/30(=2185/65536)であり、特図高確率状態における小当りの抽選値データの数値範囲は12186〜12349(数値範囲の大きさは164)であるから、特図高確率状態の特図変動遊技の小当りの当選確率は、約1/399(=163/65536)である。しがって、特図1変動遊技においては、特図高確率状態の特図変動遊技の小当りの当選確率は、特図低確率状態の特図変動遊技の小当りの当選確率とほぼ同一に設定されている。なお、本実施例においては、特図の抽選確率状態に関わらずに大当りとなる乱数(例えば10001)を設定しているが、複数の抽選確率状態で、大当りとなる乱数が重複しないように設定しても良い。 In the present embodiment, the numerical range that the special figure winning random number value can take is 0 to 65535 (the size of the numerical range is 65536), and the numerical range of the jackpot lottery value data in the special figure high probability state is 10001 to 12185 (numerical range). Since the size of is 2185), the winning probability of the big hit of the special figure 1 variable game in the special figure high probability state is about 1/30 (= 2185/65536), and the small hit in the special figure high probability state. Since the numerical range of the lottery value data is 12186 to 12349 (the size of the numerical range is 164), the winning probability of the small hit of the special figure variable game in the special figure high probability state is about 1/399 (= 163/65536). ). Therefore, in the special figure 1 variable game, the winning probability of the small hit of the special figure variable game in the special figure high probability state is almost the same as the winning probability of the small hit of the special figure variable game in the special figure low probability state. Is set to. In this embodiment, a random number (for example, 10001) that becomes a big hit is set regardless of the lottery probability state of the special figure, but it is set so that the random numbers that become a big hit do not overlap in a plurality of lottery probability states. You may.

<特図当否判定用テーブル/特図2変動遊技の大当り判定>
特図2変動遊技の大当り判定で特図低確率状態(特図確変なし)の場合には、同図(c)に示す特図当否判定用低確率状態テーブル(特図2)を参照し、取得した特図当選乱数値が10001〜10219である場合は、特図2変動遊技の当選(大当り)と判定して大当りフラグをオンに設定する。また、取得した特図当選乱数値が0〜10000または10220〜65535の数値である場合には、特図変動遊技のはずれと判定して大当りフラグおよび小当りフラグをオフに設定する。
<Special figure hit / fail judgment table / Special figure 2 Big hit judgment of variable game>
In the case of the special figure low probability state (no special figure probability change) in the big hit judgment of the special figure 2 variable game, refer to the special figure hit / miss judgment low probability state table (special figure 2) shown in the same figure (c). When the acquired special figure winning random number value is 10001 to 10219, it is determined that the special figure 2 variable game is won (big hit), and the big hit flag is set to ON. Further, when the acquired special figure winning random number value is a numerical value of 0 to 10000 or 10220 to 65535, it is determined that the special figure variable game is out of order, and the big hit flag and the small hit flag are set to off.

本実施形態では、特図当選乱数値の取り得る数値範囲は0〜65535(数値範囲の大きさは65536)、特図低確率状態における大当りの抽選値データの数値範囲は10001〜10219(数値範囲の大きさは219)であるから、特図低確率状態の特図2変動遊技の大当りの当選確率は、約1/299(=219/65536)である。 In the present embodiment, the numerical range that the special figure winning random number value can take is 0 to 65535 (the size of the numerical range is 65536), and the numerical range of the jackpot lottery value data in the special figure low probability state is 10001 to 10219 (numerical range). Since the size of is 219), the winning probability of the jackpot of the special figure 2 variable game in the special figure low probability state is about 1/299 (= 219/65536).

また、特図2変動遊技の大当り判定で特図高確率状態(特図確変あり)の場合には、同図(d)に示す特図当否判定用高確率状態テーブル(特図1)を参照し、取得した特図当選乱数値が10001〜12185である場合は、特図2変動遊技の当選(大当り)と判定して大当りフラグをオンに設定する。また、取得した特図当選乱数値が0〜10000または12186〜65535の数値である場合には、特図変動遊技のはずれと判定して大当りフラグおよび小当りフラグをオフに設定する。 Further, in the case of the special figure high probability state (with special figure probability change) in the big hit judgment of the special figure 2 variable game, refer to the special figure hit / miss judgment high probability state table (special figure 1) shown in the same figure (d). Then, when the acquired special figure winning random value is 10001 to 12185, it is determined that the special figure 2 variable game is won (big hit), and the big hit flag is set to ON. Further, when the acquired special figure winning random number value is a numerical value of 0 to 10000 or 12186 to 65535, it is determined that the special figure variable game is out of order, and the big hit flag and the small hit flag are set to off.

本実施形態では、特図当選乱数値の取り得る数値範囲は0〜65535(数値範囲の大きさは65536)、特図高確率状態における大当りの抽選値データの数値範囲は10001〜12185(数値範囲の大きさは2185)であるから、特図高確率状態の特図2変動遊技の大当りの当選確率は、約1/30(=2185/65536)である。なお、本実施形態では、特図1に小当りを振り分けつつ、特図2には小当りを振り分けていないが、逆に特図2にのみ小当りを振り分けても良いし、両方に振り分けても良い。また、小当り自体を設けなくても良い。 In the present embodiment, the numerical range that the special figure winning random number value can take is 0 to 65535 (the size of the numerical range is 65536), and the numerical range of the jackpot lottery value data in the special figure high probability state is 10001 to 12185 (numerical range). Since the size of is 2185), the winning probability of the jackpot of the special figure 2 variable game in the special figure high probability state is about 1/30 (= 2185/65536). In the present embodiment, the small hits are distributed to the special figure 1 and the small hits are not distributed to the special figure 2, but conversely, the small hits may be distributed only to the special figure 2 or distributed to both. Is also good. Moreover, it is not necessary to provide the small hit itself.

また、本発明に係る遊技台は、電子的な賞を付与する封入式遊技機や、メダルレスのスロットマシンに適用することもできる。また、主制御部、第1副制御部、および第2副制御部をワンチップで構成してもよいし、主制御部と第1副制御部で双方向の通信が可能に構成してもよい。また、主制御部と第1副制御部で双方向の通信を可能とする一方で、第1副制御部から第2副制御部への通信は一方向の通信としてもよい。 Further, the gaming table according to the present invention can also be applied to an enclosed gaming machine that gives an electronic prize or a medalless slot machine. Further, the main control unit, the first sub control unit, and the second sub control unit may be configured by one chip, or the main control unit and the first sub control unit may be configured to enable bidirectional communication. good. Further, while bidirectional communication is possible between the main control unit and the first sub control unit, communication from the first sub control unit to the second sub control unit may be one-way communication.

また、本発明の実施の形態に記載された作用および効果は、本発明から生じる最も好適な作用および効果を列挙したに過ぎず、本発明による作用および効果は、本発明の実施の形態に記載されたものに限定されるものではない。また、実施例に記載した複数の構成のうち、1つの構成に記載している内容を、他の構成に適用することでより遊技の幅を広げられる場合がある。 In addition, the actions and effects described in the embodiments of the present invention merely list the most suitable actions and effects resulting from the present invention, and the actions and effects according to the present invention are described in the embodiments of the present invention. It is not limited to what has been done. In addition, the range of the game may be further expanded by applying the content described in one configuration to the other configurations among the plurality of configurations described in the examples.

本発明に係る遊技台は、本発明は、弾球遊技機(パチンコ機)、回胴遊技機(スロットマシン)、封入式遊技機あるいはメダルレススロットマシンに代表される遊技台に適用することができる。 The game console according to the present invention may be applied to a game console typified by a ball game machine (pachinko machine), a rotating body game machine (slot machine), an enclosed game machine, or a medalless slot machine. can.

100 パチンコ機
102 外枠
104 内枠
140 球貸ボタン
142 返却ボタン
144 切替ボタン
208 装飾図柄表示装置
208d 演出表示領域
212 第1特図表示装置
214 第2特図表示装置
230 第1特図始動口
232 第2特図始動口
2321 羽根部材
234 可変入賞口
2341 扉部材
300 主制御部
304 CPU
306 ROM
308 RAM
600 払出制御部
708 RAM
100 Pachinko machine 102 Outer frame 104 Inner frame 140 Ball lending button 142 Return button 144 Switching button 208 Decorative pattern display device 208d Production display area 212 1st special figure display device 214 2nd special figure display device 230 1st special figure start port 232 2nd special figure Start port 2321 Blade member 234 Variable winning port 2341 Door member 300 Main control unit 304 CPU
306 ROM
308 RAM
600 Payout control unit 708 RAM

Claims (1)

報知が可能な報知手段と、
複数種類の処理を実行可能な主制御手段と、
前記報知手段を制御可能な副制御手段と、
を備えた遊技台であって、
前記複数種類の処理のうちの一の処理は、前記副制御手段の起動に関する処理(以下、「第一の処理」という。)であり、
前記複数種類の処理のうちの一の処理は、前記第一の処理よりも後に開始される処理であって、前記副制御手段の起動開始に関するコマンドを前記副制御手段に向けて送信する処理(以下、「第二の処理」という。)であり、
前記複数種類の処理のうちの一の処理は、設定値の変更が可能な状態で電源が投入された場合に前記第二の処理よりも後に開始される処理であって、設定に関する処理(以下、「第三の処理」という。)であり、
前記複数種類の処理のうちの一の処理は、前記第三の処理よりも後に開始される処理であって、抽選処理を含む複数種類の処理から構成される処理(以下、「第四の処理」という。)であり、
前記副制御手段は、前記起動開始に関するコマンドに基づいて前記第三の処理に関する報知(以下、「或る報知」という。)を前記報知手段に実行させる制御が実行可能な手段であり、
前記第三の処理は、或る操作を受け付けた場合に終了する処理であり、
前記第四の処理は、前記第三の処理が終了して或る期間が経過した場合に開始される処理であり、
前記複数種類の処理のうちの一の処理は、前記第四の処理における前記抽選処理に用いられる乱数値を更新する処理(以下、「第五の処理」という。)であり、
前記第五の処理は、前記第三の処理よりも前に開始される処理である、
ことを特徴とする遊技台。
Notification means capable of notification and
A main control means that can execute multiple types of processing,
A sub-control means capable of controlling the notification means and
It is a game table equipped with
One of the plurality of types of processes is a process related to activation of the sub-control means (hereinafter, referred to as "first process").
One of the plurality of types of processes is a process started after the first process, and is a process of transmitting a command relating to the start start of the sub-control means to the sub-control means ( Hereinafter referred to as "second processing").
One of the plurality of types of processes is a process that is started after the second process when the power is turned on in a state where the set value can be changed, and is a process related to the setting (hereinafter referred to as a process). , "Third process")
One of the plurality of types of processes is a process started after the third process and is composed of a plurality of types of processes including a lottery process (hereinafter, "fourth process"). ".)
The sub-control means is a means capable of executing control to cause the notification means to execute a notification related to the third process (hereinafter, referred to as "a certain notification") based on a command related to the start of activation.
The third process is a process that ends when a certain operation is accepted.
The fourth process, Ri processing der that the third process is started when a certain period has elapsed ended,
One of the plurality of types of processes is a process of updating a random number value used in the lottery process in the fourth process (hereinafter, referred to as a "fifth process").
The fifth process is a process started before the third process.
A game table characterized by that.
JP2019146169A 2019-08-08 2019-08-08 Game table Active JP6937041B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019146169A JP6937041B2 (en) 2019-08-08 2019-08-08 Game table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019146169A JP6937041B2 (en) 2019-08-08 2019-08-08 Game table

Publications (2)

Publication Number Publication Date
JP2021023700A JP2021023700A (en) 2021-02-22
JP6937041B2 true JP6937041B2 (en) 2021-09-22

Family

ID=74664193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019146169A Active JP6937041B2 (en) 2019-08-08 2019-08-08 Game table

Country Status (1)

Country Link
JP (1) JP6937041B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7769236B2 (en) * 2023-05-15 2025-11-13 サミー株式会社 gaming machines
JP7730044B2 (en) * 2023-11-10 2025-08-27 サミー株式会社 gaming machines

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4371886B2 (en) * 2004-04-02 2009-11-25 株式会社三共 Slot machine
JP6685656B2 (en) * 2015-05-27 2020-04-22 株式会社三共 Slot machine
JP7030484B2 (en) * 2017-11-17 2022-03-07 株式会社藤商事 Pachinko machine

Also Published As

Publication number Publication date
JP2021023700A (en) 2021-02-22

Similar Documents

Publication Publication Date Title
JP4897100B1 (en) Amusement stand
JP5544644B2 (en) Amusement stand
JP4975876B1 (en) Amusement stand
JP4991956B1 (en) Amusement stand
JP5811423B2 (en) Amusement stand
JP4976571B1 (en) Amusement stand
JP4976569B1 (en) Amusement stand
JP5119559B1 (en) Amusement stand
JP5888528B2 (en) Amusement stand
JP2017196419A (en) Game machine
JP2015202108A (en) game machine
JP5256438B2 (en) Amusement stand
JP2016163823A (en) Game machine
JP6047732B2 (en) Amusement stand
JP6937041B2 (en) Game table
JP5956390B2 (en) Amusement stand
JP2015163278A (en) game machine
JP5344357B2 (en) Amusement stand
JP5555948B1 (en) Amusement stand
JP2013027740A (en) Game machine
JP5119560B1 (en) Amusement stand
JP2007082727A (en) Game machine
JP5344355B2 (en) Amusement stand
JP5344356B2 (en) Amusement stand
JP4976570B1 (en) Amusement stand

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200326

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210318

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210803

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210823

R150 Certificate of patent or registration of utility model

Ref document number: 6937041

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250