[go: up one dir, main page]

JP4512796B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP4512796B2
JP4512796B2 JP2004235715A JP2004235715A JP4512796B2 JP 4512796 B2 JP4512796 B2 JP 4512796B2 JP 2004235715 A JP2004235715 A JP 2004235715A JP 2004235715 A JP2004235715 A JP 2004235715A JP 4512796 B2 JP4512796 B2 JP 4512796B2
Authority
JP
Japan
Prior art keywords
command
control board
serial
transmission
byte
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004235715A
Other languages
Japanese (ja)
Other versions
JP2006051224A (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.)
Daiichi Shokai Co Ltd
Original Assignee
Daiichi Shokai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daiichi Shokai Co Ltd filed Critical Daiichi Shokai Co Ltd
Priority to JP2004235715A priority Critical patent/JP4512796B2/en
Publication of JP2006051224A publication Critical patent/JP2006051224A/en
Application granted granted Critical
Publication of JP4512796B2 publication Critical patent/JP4512796B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、遊技機に関するものである。   The present invention relates to a gaming machine.

従来、遊技の進行を制御する主制御基板と、該主制御基板からのコマンドに基づいて遊技に関連する所定の構成部を制御する下位制御基板とを備えた遊技機においては、信号線やコネクタの削減などを目的として、制御基板間のコマンドの転送を、シリアル転送によって行うことが提案されている。制御基板間のシリアル転送は、パラレルデータとシリアルデータとの間の変換を行うシリアル通信ユニットを各制御基板に備えることによって実現される。   2. Description of the Related Art Conventionally, in a gaming machine including a main control board that controls the progress of a game and a lower control board that controls a predetermined component related to a game based on a command from the main control board, a signal line or a connector In order to reduce the amount of data transfer, it has been proposed to transfer commands between control boards by serial transfer. Serial transfer between control boards is realized by providing each control board with a serial communication unit that performs conversion between parallel data and serial data.

なお、遊技機では、各制御基板と種々の電子機器とが密集して配置され、また、遊技球と球通路との間や遊技球同士の摩擦などによって静電気が発生してしまうことがある。これらの要因による電気的ノイズに対してコマンド転送の信頼性を確保するため、制御基板間のコマンド転送の転送速度は、電気的ノイズに対する信頼性を確保可能な程度に設定されている。したがって、制御基板のCPUによる演算処理速度に比べ、シリアル転送の転送速度は制限されている。   In a gaming machine, each control board and various electronic devices are densely arranged, and static electricity may be generated due to friction between gaming balls and a ball passage or between gaming balls. In order to ensure the reliability of command transfer against electrical noise due to these factors, the transfer rate of command transfer between control boards is set to a level that can ensure the reliability against electrical noise. Therefore, the transfer speed of serial transfer is limited compared to the calculation processing speed by the CPU of the control board.

また、従来、制御基板間でシリアル転送されるコマンドのワード長が、シリアル通信ユニットによって取り扱い可能な容量を超える場合に、シリアル通信ユニットが取り扱い可能なワード長に、コマンドを分割してシリアル転送することも提案されている。下記特許文献1には、主制御基板と下位制御基板との間で、コマンドを分割してシリアル転送する遊技機が開示されている。   Conventionally, if the word length of a command serially transferred between control boards exceeds the capacity that can be handled by the serial communication unit, the command is divided and serially transferred to a word length that can be handled by the serial communication unit. It has also been proposed. Patent Document 1 below discloses a gaming machine in which commands are divided and serially transferred between a main control board and a lower control board.

特開2003−111941号公報JP 2003-111941 A

しかしながら、特許文献1に開示された遊技機は、主制御基板のCPUの演算処理速度と、シリアル転送の転送速度との処理速度の差を考慮した上で、分割されたコマンドの一方についてのシリアル転送が完了するのに十分な時間を置いて、分割されたコマンドの他方をシリアル通信ユニットのレジスタに格納しており、主制御基板のCPUがコマンドのシリアル転送に関わる期間が長くなるため、主制御基板における他の制御処理の進行の阻害や、主制御基板で実行される制御プログラムの複雑化を招いてしまうという問題があった。   However, the gaming machine disclosed in Patent Document 1 takes into account the difference in processing speed between the CPU processing speed of the main control board and the transfer speed of serial transfer, and serializes one of the divided commands. Since the other part of the divided command is stored in the register of the serial communication unit with sufficient time to complete the transfer, and the CPU on the main control board is involved in the serial transfer of the command, the main command becomes longer. There is a problem in that the progress of other control processes on the control board is hindered and the control program executed on the main control board is complicated.

本発明は、上記した課題を踏まえ、コマンドを分割して1バイト単位でシリアル転送する場合における円滑な遊技制御の実現を図ることができる遊技機を提供することを目的とする。   An object of the present invention is to provide a gaming machine capable of realizing smooth game control when a command is divided and serially transferred in units of 1 byte in consideration of the above-described problems.

上記した課題を解決するため、本発明の遊技機は、遊技の進行を制御する主制御基板と、該主制御基板からのコマンドに基づいて遊技に関連する所定の構成部を制御する下位制御基板とを備えた遊技機であって、
前記主制御基板および前記下位制御基板の少なくとも一方の制御基板は、
当該制御基板における所定の制御処理を実現するために所定の間隔で割り込み処理を繰り返し実行し、該繰り返し実行される割り込み処理の一環として他方の制御基板に対する2バイト以上のコマンドを生成する送信側セントラルプロセッシングユニットと、
該生成されたコマンドを前記他方の制御基板へと1バイト単位でシリアル転送を実行する送信シリアル通信ユニットと
を備え、
前記送信シリアル通信ユニットは、
1バイトの記憶容量を有し、前記生成されたコマンドを前記送信側セントラルプロセッシングユニットから受け取り、該コマンドを記憶するバッファレジスタと、
1バイトの記憶容量を有し、前記バッファレジスタに記憶されたコマンドを受け取り、該コマンドをシリアルデータに変換するために記憶するシフトレジスタと
を備え、
前記送信側セントラルプロセッシングユニットは、前記繰り返し実行される割り込み処理のうちの所定の1回の割り込み処理内に、前記2バイト以上のコマンドにおける2バイト分のうち1バイト目の先頭コマンドを前記送信シリアル通信ユニットに引き渡すと共に、前記所定の一回の割り込み処理内であって前記先頭コマンドのシリアル転送が完了する前に、前記2バイト分のうち2バイト目の後続コマンドを前記送信シリアル通信ユニットに引き渡し、
前記送信シリアル通信ユニットは、前記所定の1回の割り込み処理内に前記引き渡された先頭コマンドを前記バッファレジスタ経由で前記シフトレジスタに格納すると共に、前記先頭コマンドを前記シフトレジスタに格納した状態で、前記所定の1回の割り込み処理内に前記引き渡された後続コマンドを前記バッファレジスタに格納し、
前記送信シリアル通信ユニットによる1バイトのシリアル転送に要する時間は、前記割り込み処理が実行される間隔よりも長く、
前記先頭コマンドおよび前記後続コマンドが前記送信側セントラルプロセッシングユニットから前記送信シリアル通信ユニットに引き渡される一回の割り込み処理が完了した後、前記送信シリアル通信ユニットは、前記先行コマンドのシリアル転送の完了に続いて、前記後続コマンドのシリアル転送を実行する、ことを特徴とする。

In order to solve the above-described problems, a gaming machine according to the present invention includes a main control board that controls the progress of a game, and a lower-level control board that controls predetermined components related to the game based on commands from the main control board. A gaming machine equipped with
At least one control board of the main control board and the lower control board is:
In order to realize predetermined control processing in the control board, interrupt processing is repeatedly executed at predetermined intervals, and a command of 2 bytes or more for the other control board is generated as part of the repeatedly executed interrupt processing. A processing unit,
A transmission serial communication unit that executes serial transfer of the generated command to the other control board in units of 1 byte;
The transmission serial communication unit includes:
A buffer register having a storage capacity of 1 byte, receiving the generated command from the transmitting central processing unit, and storing the command;
A shift register having a storage capacity of 1 byte, receiving a command stored in the buffer register, and storing the command to convert the command into serial data;
The transmission-side central processing unit sends the first command of the first byte of the two bytes of the command of two bytes or more to the transmission serial in a predetermined one interrupt process among the interrupt processes repeatedly executed. In addition to passing to the communication unit, before the serial transfer of the first command is completed within the predetermined one-time interrupt processing, the subsequent command of the second byte of the two bytes is transferred to the transmission serial communication unit. ,
The transmission serial communication unit, the passed-in leading command to said predetermined one interrupt the process stores the shift register via the buffer register, while storing the first command to the shift register, The succeeding command delivered in the predetermined one interruption process is stored in the buffer register ,
The time required for serial transfer of 1 byte by the transmission serial communication unit is longer than the interval at which the interrupt process is executed,
After the completion of one interrupt process in which the head command and the subsequent command are delivered from the transmission side central processing unit to the transmission serial communication unit, the transmission serial communication unit follows the completion of serial transfer of the preceding command. Then, serial transfer of the subsequent command is executed .

本発明の遊技機によれば、主制御基板のCPUが1回の割り込み処理内を行う間に、シリアル転送可能なコマンドを2バイト分、シリアル通信ユニットのレジスタに格納することができ、主制御基板のCPUがコマンドのシリアル転送に関わる期間を短縮することができる。その結果、主制御基板における他の制御処理の進行の阻害や、主制御基板で実行される制御プログラムの複雑化を抑制することができる。したがって、コマンドを分割してシリアル転送する場合における円滑な遊技制御を実現することができる。なお、前記下位制御基板は、遊技球の払出を制御する払出制御基板であっても良い。   According to the gaming machine of the present invention, while the CPU of the main control board performs one interrupt process, a command capable of serial transfer can be stored in the register of the serial communication unit for 2 bytes. It is possible to shorten the period related to the serial transfer of commands by the CPU of the board. As a result, it is possible to suppress the progress of other control processes on the main control board and the complexity of the control program executed on the main control board. Therefore, smooth game control can be realized when commands are divided and serially transferred. The lower control board may be a payout control board that controls payout of game balls.

上記の構成を有する本発明の遊技機は、以下の態様を採ることもできる。前記送信シリアル通信ユニットは、前記送信側セントラルプロセッシングユニットが複数回の前記割り込み処理を繰り返し実行する間に、前記引き渡された2つのコマンドのシリアル転送を完了することとしても良い。これによって、送信側セントラルプロセッシングユニットによる演算処理を阻害することなく、シリアル転送を実現することができる。例えば、前記送信側セントラルプロセッシングユニットは、数ミリ秒の間隔で前記割り込み処理を実行し、前記送信シリアル通信ユニットは、1秒間あたり数キロビットの転送速度で前記シリアル転送を実行する場合であっても良い。   The gaming machine of the present invention having the above configuration can also take the following aspects. The transmission serial communication unit may complete serial transfer of the two delivered commands while the transmission-side central processing unit repeatedly executes the interrupt processing a plurality of times. As a result, serial transfer can be realized without hindering the arithmetic processing by the transmission side central processing unit. For example, the transmission-side central processing unit executes the interrupt processing at intervals of several milliseconds, and the transmission serial communication unit executes the serial transfer at a transfer rate of several kilobits per second. good.

また、前記送信側セントラルプロセッシングユニットと、前記送信シリアル通信ユニットとを、1チップに集積して構成しても良い。これによって、制御基板内でやり取りされる際におけるコマンドの改竄を防止することができる。   The transmission-side central processing unit and the transmission serial communication unit may be integrated on a single chip. As a result, it is possible to prevent falsification of commands when they are exchanged in the control board.

以上説明した本発明の構成および作用を一層明らかにするために、以下本発明を適用した遊技機について、次の順序で説明する。なお、本明細書において、信号名の先頭に「#」が付されているものは、負論理であることを意味している。「ハイレベル」は2値信号の2つのレベルのうちの「1」レベルを意味し、「ローレベル」は「0」レベルを意味している。   In order to further clarify the configuration and operation of the present invention described above, game machines to which the present invention is applied will be described in the following order. In the present specification, a signal name prefixed with “#” means negative logic. “High level” means the “1” level of the two levels of the binary signal, and “Low level” means the “0” level.

目次
A.第1の実施例
A−(1).パチンコ機10の構成
A−(2).パチンコ機10の動作
A−(2−1).主制御基板20のコマンド送信
A−(2−2).払出制御基板70のコマンド受信
B.その他の実施形態
Table of Contents A. First Example A- (1). Configuration of pachinko machine 10 A- (2). Operation of pachinko machine 10 A- (2-1). Command transmission of main control board 20 A- (2-2). B. Command reception of payout control board 70 Other embodiments

A.第1の実施例:
A−(1).パチンコ機10の構成:
本発明の実施例の1つであるパチンコ機10の構成について説明する。図1は、パチンコ機10の全体構成を示す正面図である。図1に示したように、パチンコ機10は、パチンコ店の島設備等に固定される外枠11、外枠11に嵌め込まれる内枠12、内枠12の中央上寄りに配置され遊技球による遊技が行われる遊技板13、遊技板13の前面に配置され中央部にガラス板を有するガラス枠14、遊技者による遊技板13への遊技球の発射の指示を受け付けるハンドル15、プリペイドカードによる遊技球の貸し出しを受け付けるカードユニット90などを備える。
A. First embodiment:
A- (1). Configuration of the pachinko machine 10:
A configuration of the pachinko machine 10 that is one of the embodiments of the present invention will be described. FIG. 1 is a front view showing the overall configuration of the pachinko machine 10. As shown in FIG. 1, the pachinko machine 10 includes an outer frame 11 that is fixed to an island facility or the like of a pachinko store, an inner frame 12 that is fitted into the outer frame 11, and a game ball that is arranged near the center of the inner frame 12. A game board 13 where a game is played, a glass frame 14 disposed in front of the game board 13 and having a glass plate in the center, a handle 15 for accepting an instruction for a player to launch a game ball onto the game board 13, and a game using a prepaid card A card unit 90 or the like that accepts lending of a ball is provided.

遊技板13の中央部には、液晶ディスプレイ(Liquid Crystal Display、以下、LCDという)35が設けられ、このLCD35の下方には、遊技球の入賞を受け付ける入賞口61が設けられている。この入賞口61は、入賞した遊技球を検知する遊技球センサ65、所定の場合に遊技球の導入経路を拡縮する遊技板駆動部66を備える。パチンコ機10は、発光ダイオード(Light Emitting Diode、LED)有する電飾55,56,57,58,59を備える。電飾55,56は遊技板13の左右の端にそれぞれ設けられ、電飾57はLCD35の上部に設けられ、電飾58,59は、ガラス枠14の上部の左右にそれぞれ設けられている。内枠12の正面中央には、音声を出力するスピーカ45が内蔵されている。   A liquid crystal display (hereinafter referred to as LCD) 35 is provided at the center of the game board 13, and a winning opening 61 for receiving a winning game ball is provided below the LCD 35. The winning opening 61 includes a game ball sensor 65 that detects a winning game ball, and a game board drive unit 66 that expands and contracts the introduction path of the game ball in a predetermined case. The pachinko machine 10 includes electrical decorations 55, 56, 57, 58, 59 having light emitting diodes (LEDs). The electrical decorations 55 and 56 are provided on the left and right ends of the game board 13, the electrical decoration 57 is provided on the upper part of the LCD 35, and the electrical decorations 58 and 59 are provided on the left and right of the upper part of the glass frame 14, respectively. A speaker 45 for outputting sound is built in the front center of the inner frame 12.

図2は、パチンコ機10の電気的な概略構成を示すブロック図である。パチンコ機10は、遊技の進行を制御する主制御基板20と、遊技球の払い出しを行う払出駆動部75を制御する払出制御基板70と、LCD35やスピーカ45,電飾55〜59を用いた遊技進行に応じた演出を制御するサブ制御基板40と、LCD35における動画像表示を制御する図柄制御基板30とを備える。   FIG. 2 is a block diagram showing an electrical schematic configuration of the pachinko machine 10. The pachinko machine 10 is a game using a main control board 20 that controls the progress of a game, a payout control board 70 that controls a payout driving unit 75 that pays out game balls, an LCD 35, a speaker 45, and electrical decorations 55 to 59. A sub-control board 40 that controls an effect according to the progress, and a symbol control board 30 that controls the display of a moving image on the LCD 35 are provided.

主制御基板20および払出制御基板70,サブ制御基板40,図柄制御基板30の各基板は、種々の演算処理を行うセントラルプロセッシングユニット(Central Processing Unit、以下、CPUという),CPUの演算処理を規定したプログラムを予め記憶するリードオンリメモリ(Read Only Memory、以下、ROMという),CPUが取り扱うデータを一時的に記憶するランダムアクセスメモリ(Random Access Memory、以下、RAMという)などの各基板に応じた電子部品が実装された回路基板である。これら各基板および払出駆動部75は、図1に示した内枠12の裏面(図示しない)に設けられている。   The main control board 20, the payout control board 70, the sub control board 40, and the symbol control board 30 define a central processing unit (hereinafter referred to as “CPU”) that performs various arithmetic processing, and arithmetic processing of the CPU. Read-only memory (hereinafter referred to as “ROM”) that stores previously stored programs, and random access memory (hereinafter referred to as “RAM”) that temporarily stores data handled by the CPU. A circuit board on which electronic components are mounted. Each of these substrates and the payout drive unit 75 are provided on the back surface (not shown) of the inner frame 12 shown in FIG.

主制御基板20と払出制御基板70との間では、種々のコマンドがシリアル転送によって送信される。コマンドを正常に受信した基板は、コマンドを送信した基板に対して、正常にコマンドを受け取ったことを伝えるACK(Acknowledge)信号を送信する。主制御基板20から払出制御基板70に対する主なコマンドとしては、遊技球の払い出しに関するコマンドや、払出制御基板70に動作状態の報告を指示するコマンドがある。遊技球の払い出しに関するコマンドとしては、例えば、遊技球の払い出し個数を指定するコマンドの他、遊技球の払い出しの開始を指示するコマンドや、遊技球の払い出しの停止を指示するコマンドなどが考えられる。払出制御基板70から主制御基板20に対する主なコマンドとしては、払出制御基板70の動作状態を伝えるコマンドがある。なお、主制御基板20および払出制御基板70の電気的な構成の詳細については後述する。   Various commands are transmitted between the main control board 20 and the payout control board 70 by serial transfer. The board that has normally received the command transmits an ACK (Acknowledge) signal that indicates that the command has been received normally to the board that has transmitted the command. As main commands from the main control board 20 to the payout control board 70, there are commands relating to payout of game balls and commands for instructing the payout control board 70 to report the operation state. As commands relating to game ball payout, for example, a command for designating the number of game balls to be paid out, a command for instructing start of payout of game balls, a command for instructing stop of payout of game balls, and the like are conceivable. As a main command from the payout control board 70 to the main control board 20, there is a command for transmitting an operation state of the payout control board 70. The details of the electrical configuration of the main control board 20 and the payout control board 70 will be described later.

主制御基板20からサブ制御基板40に対してや、サブ制御基板40から図柄制御基板30に対しては、それぞれ種々のコマンドがパラレル転送によって送信される。主制御基板20からサブ制御基板40に対する主なコマンドとしては、いわゆる「大当たり」や「はずれ」などの遊技に関する基本的な演出を指示するコマンドがある。サブ制御基板40から図柄制御基板30に対する主なコマンドとしては、主制御基板20からのコマンドに基づくLCD35における動画像の表示態様を指示するコマンドがある。   Various commands are transmitted by parallel transfer from the main control board 20 to the sub-control board 40 and from the sub-control board 40 to the symbol control board 30, respectively. As main commands from the main control board 20 to the sub-control board 40, there are commands for instructing basic effects relating to games such as so-called “big hit” and “out of game”. A main command from the sub control board 40 to the symbol control board 30 is a command for instructing a display mode of a moving image on the LCD 35 based on a command from the main control board 20.

図3は、主制御基板20および払出制御基板70の電気的な構成の詳細を示すブロック図である。主制御基板20は、主制御基板20における種々の演算処理を行うCPUとして、外部とのシリアル通信機能およびパラレル通信機能を有する主CPU200を備える。主CPU200には、演算処理を行う演算処理部210と、外部とのシリアル通信を行うシリアル通信ユニットとしてのシリアルIF部220と、外部とのパラレル通信を行うパラレルIF部230とが回路構成されている。払出制御基板70とのコマンドのやり取りは、シリアルIF部220を介して行われ、払出制御基板70とのACK信号のやり取りは、パラレルIF部230を介して行われる。   FIG. 3 is a block diagram showing details of the electrical configuration of the main control board 20 and the payout control board 70. The main control board 20 includes a main CPU 200 having a serial communication function and a parallel communication function with the outside as a CPU for performing various arithmetic processes in the main control board 20. The main CPU 200 is configured with an arithmetic processing unit 210 that performs arithmetic processing, a serial IF unit 220 as a serial communication unit that performs serial communication with the outside, and a parallel IF unit 230 that performs parallel communication with the outside. Yes. Exchange of commands with the payout control board 70 is performed via the serial IF unit 220, and exchange of ACK signals with the payout control board 70 is performed via the parallel IF unit 230.

シリアルIF部220は、演算処理部210からパラレルデータTDaを受け取り、該データを記憶する送信バッファレジスタ240と、送信バッファレジスタ240に記憶されたデータを受け取り、該データをシリアルデータSDabに変換して払出制御基板70にシリアル転送する送信シフトレジスタ250と、払出制御基板70からシリアルデータSDbaを受け取り、該データを記憶する受信シフトレジスタ260と、受信シフトレジスタ260に記憶されたデータを受け取り、該データを演算処理部210によってパラレルデータRDaとして読み出し可能に記憶する受信バッファレジスタ270と、シリアルIF部220における各部の動作状態を管理するシリアル管理部280とを備え、これらを1チップに集積して構成されている。送信バッファレジスタ240および送信シフトレジスタ250,受信シフトレジスタ260,受信バッファレジスタ270は、それぞれ1バイトの記憶容量を有するレジスタである。   The serial IF unit 220 receives the parallel data TDa from the arithmetic processing unit 210, receives the transmission buffer register 240 for storing the data, and the data stored in the transmission buffer register 240, converts the data into serial data SDab, A transmission shift register 250 for serial transfer to the payout control board 70; a serial data SDba from the payout control board 70; a reception shift register 260 for storing the data; and data stored in the reception shift register 260; Are received and stored as parallel data RDa by the arithmetic processing unit 210, and a serial management unit 280 for managing the operation state of each unit in the serial IF unit 220, and these are integrated on one chip. Is There. The transmission buffer register 240, the transmission shift register 250, the reception shift register 260, and the reception buffer register 270 are registers each having a storage capacity of 1 byte.

シリアル管理部280は、送信シフトレジスタ250および送信バッファレジスタ240に関して、送信シフトレジスタ250がシリアル転送中でない場合に、送信バッファレジスタ240から送信シフトレジスタ250へのデータの受け渡しを許可し、該受け渡し後に、該データを送信バッファレジスタ240から消去するように回路構成されている。   The serial management unit 280 allows the data transfer from the transmission buffer register 240 to the transmission shift register 250 when the transmission shift register 250 is not performing serial transfer with respect to the transmission shift register 250 and the transmission buffer register 240. The data is erased from the transmission buffer register 240.

シリアル管理部280は、受信シフトレジスタ260および受信バッファレジスタ270に関して、受信バッファレジスタ270にデータが記憶されていない場合に、受信シフトレジスタ260から受信バッファレジスタ270へのデータの受け渡しを許可し、演算処理部210が受信バッファレジスタ270からパラレルデータRDaを読み出した後に、受信バッファレジスタ270からデータを消去するように回路構成されている。   The serial management unit 280 permits the data transfer from the reception shift register 260 to the reception buffer register 270 when the data is not stored in the reception buffer register 270 with respect to the reception shift register 260 and the reception buffer register 270. The processing unit 210 is configured to erase data from the reception buffer register 270 after reading the parallel data RDa from the reception buffer register 270.

なお、シリアルIF部220によるシリアル転送の転送レートは、主CPU200を動作させるためのクロック信号を分周した信号に基づいて決定される。この転送レートを決定するクロック信号の分周比は、シリアルIF部220が有するレジスタ(図示しない)の値によって設定することができる。   Note that the transfer rate of serial transfer by the serial IF unit 220 is determined based on a signal obtained by dividing the clock signal for operating the main CPU 200. The frequency division ratio of the clock signal that determines the transfer rate can be set by the value of a register (not shown) included in the serial IF unit 220.

演算処理部210は、送信バッファレジスタ240に対して書き込み信号#WRaを立ち下げることによって、送信バッファレジスタ240へのパラレルデータTDaの書き込みを行い、受信バッファレジスタ270に対して読み出し信号#REaを立ち下げることによって、受信バッファレジスタ270からのパラレルデータRDaの読み出しを行う。   The arithmetic processing unit 210 writes the parallel data TDa to the transmission buffer register 240 by lowering the write signal #WRa to the transmission buffer register 240, and sets the read signal #REa to the reception buffer register 270. By lowering, the parallel data RDa is read from the reception buffer register 270.

演算処理部210は、シリアルIF部220における種々の状態を示す信号を、シリアル管理部280から受ける。演算処理部210がシリアル管理部280から受ける信号としては、送信バッファレジスタ240がクリアされている際にハイレベルとされる送信バッファ空き信号TEaと、送信シフトレジスタ250がシリアル転送中である際にハイレベルとされるシリアル転送中信号TCaと、受信バッファレジスタ270にデータが記憶されている際にハイレベルとされる受信データ有り信号DFaとがある。   The arithmetic processing unit 210 receives signals indicating various states in the serial IF unit 220 from the serial management unit 280. Signals that the arithmetic processing unit 210 receives from the serial management unit 280 include a transmission buffer empty signal TEa that is set to a high level when the transmission buffer register 240 is cleared and a transmission shift register 250 that is performing serial transfer. There are a serial transfer signal TCa which is set to a high level and a reception data presence signal DFa which is set to a high level when data is stored in the reception buffer register 270.

図3に示すように、払出制御基板70は、払出制御基板70における種々の演算処理を行う払出CPU710と、外部とのシリアル通信を行う回路が形成されたシリアルIFチップ720と、外部とのパラレル通信を行う回路が形成されたパラレルIFチップ730とを備える。主制御基板20とのコマンドのやり取りは、シリアルIFチップ720を介して行われ、主制御基板20とのACK信号のやり取りは、パラレルIFチップ730を介して行われる。   As shown in FIG. 3, the payout control board 70 includes a payout CPU 710 that performs various arithmetic processes in the payout control board 70, a serial IF chip 720 in which a circuit for serial communication with the outside is formed, and a parallel with the outside. And a parallel IF chip 730 on which a circuit for communication is formed. The exchange of commands with the main control board 20 is performed via the serial IF chip 720, and the exchange of ACK signals with the main control board 20 is carried out via the parallel IF chip 730.

シリアルIFチップ720は、払出CPU710からパラレルデータTDbを受け取り、該データを記憶する送信バッファレジスタ740と、送信バッファレジスタ740に記憶されたデータを受け取り、該データをシリアルデータSDbaに変換して主制御基板20にシリアル転送する送信シフトレジスタ750と、主制御基板20からシリアルデータSDabを受け取り、該データを記憶する受信シフトレジスタ760と、受信シフトレジスタ760に記憶されたデータを受け取り、該データを払出CPU710によってパラレルデータRDbとして読み出し可能に記憶する受信バッファレジスタ770と、シリアルIFチップ720における各部の動作状態を管理するシリアル管理部780とを備え、これらを1チップに集積して構成されている。送信バッファレジスタ740および送信シフトレジスタ750,受信シフトレジスタ760,受信バッファレジスタ770は、それぞれ1バイトの記憶容量を有するレジスタである。   The serial IF chip 720 receives the parallel data TDb from the payout CPU 710, receives the data stored in the transmission buffer register 740 and the data stored in the transmission buffer register 740, converts the data into serial data SDba, and performs main control. A transmission shift register 750 for serial transfer to the board 20, a serial data SDab from the main control board 20, a reception shift register 760 for storing the data, and a data stored in the reception shift register 760 for receiving the data The CPU 710 includes a reception buffer register 770 that is readable and stored as parallel data RDb, and a serial management unit 780 that manages the operation state of each unit in the serial IF chip 720, and these are integrated into one chip. It has been. Transmission buffer register 740, transmission shift register 750, reception shift register 760, and reception buffer register 770 are registers each having a storage capacity of 1 byte.

シリアル管理部780は、送信シフトレジスタ750および送信バッファレジスタ740に関して、送信シフトレジスタ750がシリアル転送中でない場合に、送信バッファレジスタ740から送信シフトレジスタ750へのデータの受け渡しを許可し、該受け渡し後に、該データを送信バッファレジスタ740から消去するように回路構成されている。   The serial management unit 780 allows the transmission shift register 750 and the transmission buffer register 740 to transfer data from the transmission buffer register 740 to the transmission shift register 750 when the transmission shift register 750 is not performing serial transfer. The data is erased from the transmission buffer register 740.

シリアル管理部780は、受信シフトレジスタ760および受信バッファレジスタ770に関して、受信バッファレジスタ770にデータが記憶されていない場合に、受信シフトレジスタ760から受信バッファレジスタ770へのデータの受け渡しを許可し、払出CPU710が受信バッファレジスタ770からパラレルデータRDbを読み出した後に、受信バッファレジスタ770からデータを消去するように回路構成されている。   The serial management unit 780 permits the transfer of data from the reception shift register 760 to the reception buffer register 770 when the data is not stored in the reception buffer register 770 with respect to the reception shift register 760 and the reception buffer register 770, and the payout The circuit is configured to erase the data from the reception buffer register 770 after the CPU 710 reads the parallel data RDb from the reception buffer register 770.

なお、シリアルIFチップ720がシリアル転送されたコマンドをサンプリングするタイミングは、主制御基板20の主CPU200を動作させるためのクロック信号を分周したサンプリングクロックに基づいて決定される。このサンプリングクロックを決定するクロック信号の分周比は、シリアルIFチップ720が有するレジスタ(図示しない)の値によって設定することができる。   Note that the timing at which the serial IF chip 720 samples the serially transferred command is determined based on a sampling clock obtained by dividing a clock signal for operating the main CPU 200 of the main control board 20. The frequency division ratio of the clock signal that determines the sampling clock can be set by the value of a register (not shown) included in the serial IF chip 720.

払出CPU710は、送信バッファレジスタ740に対して書き込み信号#WRbを立ち下げることによって、送信バッファレジスタ740へのパラレルデータTDbの書き込みを行い、受信バッファレジスタ770に対して読み出し信号#REbを立ち立ち下げることによって、受信バッファレジスタ770からのパラレルデータRDbの読み出しを行う。   The payout CPU 710 writes the parallel data TDb to the transmission buffer register 740 by lowering the write signal #WRb to the transmission buffer register 740, and lowers the read signal #REb to the reception buffer register 770. As a result, the parallel data RDb is read from the reception buffer register 770.

払出CPU710は、シリアルIFチップ720における種々の状態を示す信号を、シリアル管理部780から受ける。払出CPU710がシリアル管理部780から受ける信号としては、送信バッファレジスタ740がクリアされている際にハイレベルとされる送信バッファ空き信号TEbと、送信シフトレジスタ750がシリアル転送中である際にハイレベルとされるシリアル転送中信号TCbと、受信バッファレジスタ770にデータが記憶されている際にハイレベルとされる受信データ有り信号DFbとがある。   The payout CPU 710 receives signals indicating various states in the serial IF chip 720 from the serial management unit 780. The payout CPU 710 receives a signal from the serial management unit 780 as a transmission buffer empty signal TEb that is set to a high level when the transmission buffer register 740 is cleared, and a high level when the transmission shift register 750 is performing serial transfer. There are a serial transfer in-progress signal TCb and a reception data presence signal DFb which is set to a high level when data is stored in the reception buffer register 770.

A−(2).パチンコ機10の動作:
パチンコ機10の動作のひとつとして、主制御基板20と払出制御基板70との間におけるコマンド転送の際の動作について説明する。本実施例のパチンコ機10は、主制御基板20から払出制御基板70へのコマンド転送と、払出制御基板70から主制御基板20へのコマンド転送を行うことが可能である。以下の説明では、主制御基板20から払出制御基板70へのコマンド転送の際の動作について詳細に説明する。
A- (2). Operation of the pachinko machine 10:
As one operation of the pachinko machine 10, an operation at the time of command transfer between the main control board 20 and the payout control board 70 will be described. The pachinko machine 10 according to the present embodiment can perform command transfer from the main control board 20 to the payout control board 70 and command transfer from the payout control board 70 to the main control board 20. In the following description, the operation at the time of command transfer from the main control board 20 to the payout control board 70 will be described in detail.

A−(2−1).主制御基板20のコマンド送信:
払出制御基板70に対してコマンドを送信する主制御基板20の動作について説明する。図4は、主制御基板20の演算処理部210が実行するコマンド送信処理を示すフローチャートである。主制御基板20の演算処理部210は、遊技の進行を制御する処理を実現するために所定の間隔(本実施例では、4ミリセカンド(以下、msと表記))で定時割り込み処理を繰り返し実行し、この繰り返し実行される定時割り込み処理の一環として、払出制御基板70に対してコマンドを送信する場合に、図4に示したコマンド送信処理を実行する。
A- (2-1). Command transmission of main control board 20:
The operation of the main control board 20 that transmits a command to the payout control board 70 will be described. FIG. 4 is a flowchart showing command transmission processing executed by the arithmetic processing unit 210 of the main control board 20. The arithmetic processing unit 210 of the main control board 20 repeatedly executes a scheduled interrupt process at a predetermined interval (in this embodiment, 4 milliseconds (hereinafter referred to as ms)) in order to realize a process for controlling the progress of the game. As a part of the regularly executed interrupt process, the command transmission process shown in FIG. 4 is executed when a command is transmitted to the payout control board 70.

演算処理部210は、図4に示したコマンド送信処理を開始すると、払出制御基板70に対するコマンドを生成する(ステップS110)。本実施例では、払出制御基板70に対するコマンドは、シリアルIF部220の各レジスタの記憶容量である1バイトよりも大きな2バイトのコマンドである。   When the command transmission process shown in FIG. 4 is started, the arithmetic processing unit 210 generates a command for the payout control board 70 (step S110). In this embodiment, the command for the payout control board 70 is a 2-byte command larger than 1 byte which is the storage capacity of each register of the serial IF unit 220.

コマンドを生成した後(ステップS120)、「送信バッファ空き信号TEaがハイレベル」かつ「シリアル転送中信号TCaがローレベル」であるか否か、すなわち、「送信バッファレジスタ240にデータが記憶されていない場合」かつ「送信シフトレジスタ250がシリアル転送中でない場合」であるか否かを判断する(ステップS120)。   After the command is generated (step S120), it is determined whether or not “transmission buffer empty signal TEa is high level” and “serial transfer in-progress signal TCa is low level”, that is, “data is stored in transmission buffer register 240” It is determined whether or not “when there is no” and “when the transmission shift register 250 is not performing serial transfer” (step S120).

「送信バッファ空き信号TEaがハイレベル」かつ「シリアル転送中信号TCaがローレベル」である場合(ステップS120)には、生成したコマンドの2バイトのうち上位1バイトである1バイト目を、送信バッファレジスタ240に書き込む(ステップS130)。その後、予め設定された書込待機期間Lwaの待機を行った後(ステップS140)、生成したコマンドの残りの下位1バイトである2バイト目を、送信バッファレジスタ240に書き込み(ステップS150)、コマンド送信処理を終了する。   If “the transmission buffer empty signal TEa is at the high level” and “the serial transfer in-progress signal TCa is at the low level” (step S120), the first byte which is the upper 1 byte among the 2 bytes of the generated command is transmitted. Write to the buffer register 240 (step S130). Thereafter, after waiting for a preset write standby period Lwa (step S140), the remaining lower 1 byte of the generated command is written into the transmission buffer register 240 (step S150). The transmission process ends.

ここで、書込待機期間Lwaは、送信バッファレジスタ240へのコマンドの1バイト目の書き込みから、この1バイト目が送信シフトレジスタ250へと受け渡しされるまでの期間である送信レジスタ引渡期間Lbsよりも長い期間であり、その定時割り込み処理の終了までに2バイト目の書き込み処理(図4のステップS150)を実行可能な時間を残す期間であり、次の定時割り込み処理の開始まで長引くような期間ではない。また、書込待機期間Lwaは、コマンドの1バイト目のシリアル転送が完了するまでの期間であるシリアル転送期間Lscよりも短い期間であり、定時割り込み処理の間隔である4msよりも短い期間である。本実施例では、書込待機期間Lwaは、2.5マイクロセカンド(以下、μsと表記)に設定されている。なお、本実施例のシリアルIF部220のハードウェア仕様による送信レジスタ引渡期間Lbsは、約1.25μsである。また、2バイト目の書き込み処理(図4のステップS150)に要する演算処理部210の演算処理時間が、シリアルIF部220の送信レジスタ引渡期間Lbs以上である場合には、図4に示したコマンド待機処理における待機処理(ステップS140)は不要である。   Here, the write standby period Lwa is from the transmission register delivery period Lbs, which is a period from the writing of the first byte of the command to the transmission buffer register 240 to the delivery of the first byte to the transmission shift register 250. Is a period in which a period during which the second byte write process (step S150 in FIG. 4) can be executed before the end of the scheduled interrupt process is left, and the period is prolonged until the start of the next scheduled interrupt process. is not. The write standby period Lwa is shorter than the serial transfer period Lsc which is a period until the serial transfer of the first byte of the command is completed, and is shorter than 4 ms which is the interval of the regular interrupt processing. . In this embodiment, the write standby period Lwa is set to 2.5 microseconds (hereinafter referred to as μs). The transmission register delivery period Lbs according to the hardware specifications of the serial IF unit 220 of this embodiment is about 1.25 μs. If the calculation processing time of the calculation processing unit 210 required for the second byte write processing (step S150 in FIG. 4) is equal to or longer than the transmission register delivery period Lbs of the serial IF unit 220, the command shown in FIG. The standby process (step S140) in the standby process is not necessary.

図5は、コマンド送信処理が実行される際の主制御基板20における各信号の様子を示すタイムチャートである。上述したコマンド送信処理にて、「送信バッファ空き信号TEaがハイレベル」かつ「シリアル転送中信号TCaがローレベル」であると判断されると(図4中のステップS120)、パラレルデータTDaにコマンドの1バイト目の出力が開始される(タイミングta1)。その後、書き込み信号#WRaの立ち下がりによって、送信バッファレジスタ240にコマンドの1バイト目が書き込まれる(タイミングta2,図4中のステップS120)。   FIG. 5 is a time chart showing the state of each signal on the main control board 20 when the command transmission process is executed. If it is determined in the command transmission process described above that “the transmission buffer empty signal TEa is at the high level” and “the serial transfer in-progress signal TCa is at the low level” (step S120 in FIG. 4), the command is sent to the parallel data TDa. Output of the first byte is started (timing ta1). Thereafter, the first byte of the command is written to the transmission buffer register 240 at the falling edge of the write signal #WRa (timing ta2, step S120 in FIG. 4).

送信バッファレジスタ240は、書き込まれたコマンドの1バイト目を送信シフトレジスタ250に引き渡し、この引き渡しが完了するとシリアル管理部280によってクリアされる。送信シフトレジスタ250は、送信バッファレジスタ240から受け取ったコマンドの1バイト目をシリアルデータDabに出力する。シリアル転送中のシリアルデータDabには、スタートビットSTに続いて、コマンドの1ビット目D0から8ビット目D7までの各ビットが続き、最後にストップビットSPが出力される。このように、コマンドの1バイト目のシリアル転送が開始されると、シリアル転送中信号TCaはハイレベルとなる(タイミングta3)。   The transmission buffer register 240 delivers the first byte of the written command to the transmission shift register 250, and is cleared by the serial management unit 280 when the delivery is completed. The transmission shift register 250 outputs the first byte of the command received from the transmission buffer register 240 to the serial data Dab. In serial data Dab during serial transfer, each bit from the first bit D0 to the eighth bit D7 of the command follows the start bit ST, and finally a stop bit SP is output. Thus, when the serial transfer of the first byte of the command is started, the serial transfer in-progress signal TCa becomes high level (timing ta3).

コマンドの1バイト目の書き込み(タイミングta2,図4中のステップS120)から、書込待機期間Lwaの待機を経た後(図4中のステップS140)、コマンドの1バイト目と同様に、送信バッファレジスタ240にコマンドの2バイト目が書き込まれる(タイミングta4,図4中のステップS150)。   After writing the first byte of the command (timing ta2, step S120 in FIG. 4) and after waiting for the write standby period Lwa (step S140 in FIG. 4), as in the first byte of the command, the transmission buffer The second byte of the command is written to the register 240 (timing ta4, step S150 in FIG. 4).

この際の送信シフトレジスタ250は、コマンドの1バイト目をシリアル転送中であり、コマンドの2バイト目を送信バッファレジスタ240から受け取ることができないため、送信バッファレジスタ240は、書き込まれたコマンドの2バイト目を記憶して保持し、送信バッファ空き信号TEaはローレベルとなる(タイミングta4)。   At this time, the transmission shift register 250 is serially transferring the first byte of the command and cannot receive the second byte of the command from the transmission buffer register 240. Therefore, the transmission buffer register 240 stores 2 of the written command. The byte is stored and held, and the transmission buffer empty signal TEa becomes low level (timing ta4).

その後、送信シフトレジスタ250によるコマンドの1バイト目のシリアル転送が終了すると、送信バッファレジスタ240は、記憶するコマンドの2バイト目を送信シフトレジスタ250に引き渡し、この引き渡しが完了するとシリアル管理部280によってクリアされ、送信バッファ空き信号TEaはハイレベルとなる(タイミングta5)。   Thereafter, when the serial transfer of the first byte of the command by the transmission shift register 250 is completed, the transmission buffer register 240 delivers the second byte of the command to be stored to the transmission shift register 250. When this delivery is completed, the serial management unit 280 Cleared and the transmission buffer empty signal TEa becomes high level (timing ta5).

その後、送信シフトレジスタ250は、コマンドの1バイト目と同様に、送信バッファレジスタ240から受け取ったコマンドの2バイト目をシリアルデータDabに出力する(タイミングta6〜ta7)。   Thereafter, the transmission shift register 250 outputs the second byte of the command received from the transmission buffer register 240 to the serial data Dab in the same manner as the first byte of the command (timing ta6 to ta7).

以上説明した主制御基板20の動作によって、払出制御基板70に対して2バイトのコマンドが送信される。本実施例の主制御基板20は、払出制御基板70に対してコマンドを送信してから所定の期間の間に、払出制御基板70からACK信号の返答がない場合には、コマンドを再送する。   A 2-byte command is transmitted to the payout control board 70 by the operation of the main control board 20 described above. The main control board 20 according to the present embodiment retransmits the command when there is no response of the ACK signal from the payout control board 70 within a predetermined period after transmitting the command to the payout control board 70.

なお、逆に、主制御基板20に対してコマンドを送信する払出制御基板70の動作は、演算処理部210に代えて払出CPU710、送信バッファレジスタ240に代えて送信バッファレジスタ740、送信シフトレジスタ250に代えて送信シフトレジスタ750が、それぞれ上述した主制御基板20の場合と同様の動作を行うことによって実現される。   Conversely, the operation of the payout control board 70 that transmits a command to the main control board 20 is replaced with the payout CPU 710 in place of the arithmetic processing unit 210, the transmission buffer register 740 in place of the transmission buffer register 240, and the transmission shift register 250. Instead, the transmission shift register 750 is realized by performing the same operation as that of the main control board 20 described above.

なお、本実施例では、主CPU200は、4ミリセカンドの間隔で定時割り込み処理を繰り返し実行するのに対し、シリアルIF部220は、1200bps(Bit Per Second)の転送レートでシリアル転送を実行する。したがって、本実施例では、シリアルIF部220が2バイトのコマンドをシリアル転送する時間は約16.7msとなり、主CPU200は、その間に定時割り込み処理を約4回繰り返し実行することとなる。このように、主CPU200は、送信バッファレジスタ240にコマンドを書き込んでしまえば、そのコマンドの払出制御基板70へのシリアル転送をシリアルIF部220に任せることができる。なお、シリアル転送における1200bpsの転送レートは、電気的ノイズに対するコマンド転送の信頼性を確保可能な転送レートであり、また、比較的安価なフォトカプラを用いたアイソレーションによってシリアル転送することが可能な転送レートである。   In this embodiment, the main CPU 200 repeatedly executes the scheduled interrupt process at intervals of 4 milliseconds, whereas the serial IF unit 220 executes serial transfer at a transfer rate of 1200 bps (Bit Per Second). Accordingly, in this embodiment, the time for serial transfer of the 2-byte command by the serial IF unit 220 is about 16.7 ms, and the main CPU 200 repeatedly executes the scheduled interrupt processing about four times during that time. As described above, the main CPU 200 can leave the serial transfer of the command to the payout control board 70 to the serial IF unit 220 once the command is written in the transmission buffer register 240. The transfer rate of 1200 bps in serial transfer is a transfer rate that can ensure the reliability of command transfer with respect to electrical noise, and can be transferred serially by isolation using a relatively inexpensive photocoupler. The transfer rate.

なお、主制御基板20は、シリアル転送中(送信バッファレジスタ240にコマンドが有る状態)に、制御処理を中断することなく、入賞があれば入賞情報を記憶するなど他の制御処理を実行する。パチンコ機の場合、遊技板13へと打ち出される遊技球は、1分間に最大100個までと規制されているため、遊技球の打ち出し間隔は約600msである。したがって、遊技球が入賞口61に連続して入賞したとしても、主制御基板20は、遊技球の検出情報を滞りなく処理し、賞球コマンドを払出制御基板70にシリアル転送することができる。   Note that the main control board 20 executes other control processing such as storing winning information if there is a win without interrupting the control processing during serial transfer (a state in which there is a command in the transmission buffer register 240). In the case of a pachinko machine, the number of game balls launched into the game board 13 is restricted to a maximum of 100 per minute, so the launch interval of game balls is about 600 ms. Therefore, even if game balls continuously win the winning opening 61, the main control board 20 can process the detection information of the game balls without delay and serially transfer the prize ball command to the payout control board 70.

A−(2−2).払出制御基板70のコマンド受信:
主制御基板20からのコマンドを受信する払出制御基板70の動作について説明する。図6は、払出制御基板70の払出CPU710が実行するコマンド受信処理を示すフローチャートである。払出制御基板70の払出CPU710は、遊技球の払い出しを制御する一環として主制御基板20からのコマンドを受信する場合に、図6に示したコマンド受信処理を実行する。
A- (2-2). Receipt control board 70 command reception:
The operation of the payout control board 70 that receives a command from the main control board 20 will be described. FIG. 6 is a flowchart showing command reception processing executed by the payout CPU 710 of the payout control board 70. The payout CPU 710 of the payout control board 70 executes the command receiving process shown in FIG. 6 when receiving a command from the main control board 20 as part of controlling the payout of game balls.

払出CPU710は、コマンド受信処理を開始すると、「受信データ有り信号DFbがハイレベル」であるか否か、すなわち、「受信バッファレジスタ770にデータが記憶されている場合」であるか否かを判断する(ステップS210)。   When the command receiving process is started, the payout CPU 710 determines whether or not “the received data present signal DFb is at a high level”, that is, “when data is stored in the receiving buffer register 770”. (Step S210).

ここで、コマンド受信処理において「受信データ有り信号DFbがハイレベル」であると判断される場合(ステップS210)には、主制御基板20から払出制御基板70に対して送信された2バイトのコマンドのうち、コマンドの1バイト目が受信バッファレジスタ770に記憶された状態である。   Here, when it is determined in the command receiving process that “the received data present signal DFb is at the high level” (step S210), the 2-byte command transmitted from the main control board 20 to the payout control board 70. Of these, the first byte of the command is stored in the reception buffer register 770.

「受信データ有り信号DFbがハイレベル」である場合(ステップS210)には、受信バッファレジスタ770に記憶されているコマンドの1バイト目を読み出す(ステップS220)。その後、受信シフトレジスタ760を介して受信バッファレジスタ770に記憶されたコマンドの2バイト目を読み出し(ステップS240)、コマンド受信処理を終了する。   If “the received data present signal DFb is at the high level” (step S210), the first byte of the command stored in the reception buffer register 770 is read (step S220). Thereafter, the second byte of the command stored in the reception buffer register 770 is read via the reception shift register 760 (step S240), and the command reception process is terminated.

図7は、コマンド受信処理が実行される際の払出制御基板70における各信号の様子を示すタイムチャートである。前述した主制御基板20におけるコマンド送信処理によって、シリアルデータDabにコマンドの1バイト目が出力されると(タイミングtb1〜tb2)、受信シフトレジスタ760にコマンドの1バイト目が記憶された後、受信バッファレジスタ770にコマンドの1バイト目が受け渡され、受信データ有り信号DFbはハイレベルとなる。   FIG. 7 is a time chart showing the state of each signal on the payout control board 70 when the command receiving process is executed. When the first byte of the command is output to the serial data Dab by the command transmission process in the main control board 20 described above (timing tb1 to tb2), the first byte of the command is stored in the reception shift register 760 and then received. The first byte of the command is transferred to the buffer register 770, and the received data presence signal DFb becomes high level.

コマンドの1バイト目に続いて、シリアルデータDabにコマンドの2バイト目が出力されると(タイミングtb1〜tb2)、受信シフトレジスタ760にコマンドの2バイト目が記憶される。この際には、受信バッファレジスタ770からコマンドの1バイト目が読み出されておらず、受信バッファレジスタ770はシリアル管理部780によってクリアされていないため、受信シフトレジスタ760はコマンドの2バイト目の記憶を保持する。   When the second byte of the command is output to the serial data Dab following the first byte of the command (timing tb1 to tb2), the second byte of the command is stored in the reception shift register 760. At this time, since the first byte of the command has not been read from the reception buffer register 770 and the reception buffer register 770 has not been cleared by the serial management unit 780, the reception shift register 760 has received the second byte of the command. Retain memory.

その後、図6に示したコマンド受信処理にて、「受信データ有り信号DFbがハイレベル」であると判断されると(図6中のステップS210)、読み出し信号#REbの立ち下がりによって、受信バッファレジスタ770からパラレルデータRDbにコマンドの1バイト目が出力され、コマンドの1バイト目が、払出CPU710によって受信バッファレジスタ770から読み出される(タイミングtb5〜tb6,図6中のステップS220)。   Thereafter, in the command reception process shown in FIG. 6, when it is determined that “the reception data present signal DFb is at the high level” (step S210 in FIG. 6), the reception buffer #REb The first byte of the command is output from the register 770 to the parallel data RDb, and the first byte of the command is read from the reception buffer register 770 by the payout CPU 710 (timing tb5 to tb6, step S220 in FIG. 6).

コマンドの1バイト目の読み出しが完了すると、受信バッファレジスタ770はシリアル管理部780によってクリアされ、受信データ有り信号DFbはローレベルとなる(タイミングtb6)。その後、受信シフトレジスタ760から受信バッファレジスタへとコマンドの2バイト目が受け渡されると、受信データ有り信号DFbはハイレベルとなる(タイミングtb7)。その後、コマンドの1バイト目と同様にして、受信バッファレジスタ770からコマンドの2バイト目が読み出される(タイミングtb8〜tb9,図6中のステップS240)。   When the reading of the first byte of the command is completed, the reception buffer register 770 is cleared by the serial management unit 780, and the reception data presence signal DFb becomes low level (timing tb6). Thereafter, when the second byte of the command is transferred from the reception shift register 760 to the reception buffer register, the reception data presence signal DFb becomes high level (timing tb7). Thereafter, similarly to the first byte of the command, the second byte of the command is read from the reception buffer register 770 (timing tb8 to tb9, step S240 in FIG. 6).

以上説明した払出制御基板70の動作によって、主制御基板20から送信された2バイトのコマンドが受信される。本実施例の払出制御基板70は、主制御基板20からコマンドを受信してから所定の期間の間に、主制御基板20に対してACK信号を送信する。   By the operation of the payout control board 70 described above, a 2-byte command transmitted from the main control board 20 is received. The payout control board 70 of this embodiment transmits an ACK signal to the main control board 20 during a predetermined period after receiving a command from the main control board 20.

なお、本実施例では、シリアルIFチップ720のサンプリングタイミングは、転送レート(1200bps)の16倍である19.2キロヘルツ(kHz)に設定されている。本実施例では、シリアルIFチップ720は、スタートビット,コマンドの各データビット,ストップビットのビット毎に、それぞれ3回のサンプリングを行い、この3回のサンプリングで検出された値を多数決判定することによって、コマンド受信の信頼性の向上を図っている。   In this embodiment, the sampling timing of the serial IF chip 720 is set to 19.2 kilohertz (kHz), which is 16 times the transfer rate (1200 bps). In the present embodiment, the serial IF chip 720 performs sampling three times for each of the start bit, each data bit of the command, and each bit of the stop bit, and determines the majority of the values detected by these three samplings. As a result, the reliability of command reception is improved.

なお、逆に、払出制御基板70からのコマンドを受信する主制御基板20の動作は、払出CPU710に代えて演算処理部210、受信シフトレジスタ760に代えて受信シフトレジスタ260、受信バッファレジスタ770に代えて受信バッファレジスタ270が、それぞれ上述した払出制御基板70の場合と同様の動作を行うことによって実現される。   Conversely, the operation of the main control board 20 that receives a command from the payout control board 70 is changed to the arithmetic processing unit 210 instead of the payout CPU 710, the reception shift register 260 and the reception buffer register 770 instead of the reception shift register 760. Instead, the reception buffer register 270 is realized by performing the same operation as that of the payout control board 70 described above.

以上説明した第1の実施例のパチンコ機10によれば、主制御基板20の主CPU200が1回の定時割り込み処理内を行う間に、シリアルIF部220がシリアル転送可能なコマンドを2バイト分、シリアルIF部220の送信バッファレジスタ240,送信シフトレジスタ250に格納することができ、主制御基板20の主CPU200がコマンドのシリアル転送に関わる期間を短縮することができる。その結果、主制御基板20における他の制御処理の進行の阻害や、主制御基板20で実行される制御プログラムの複雑化を抑制することができる。したがって、コマンドを分割してシリアル転送する場合における円滑な遊技制御を実現することができる。   According to the pachinko machine 10 of the first embodiment described above, a command that can be serially transferred by the serial IF unit 220 for 2 bytes while the main CPU 200 of the main control board 20 performs one scheduled interrupt process. The data can be stored in the transmission buffer register 240 and the transmission shift register 250 of the serial IF unit 220, and the period related to the serial transfer of commands by the main CPU 200 of the main control board 20 can be shortened. As a result, it is possible to suppress the progress of other control processes on the main control board 20 and the complexity of the control program executed on the main control board 20. Therefore, smooth game control can be realized when commands are divided and serially transferred.

B.その他の実施形態:
以上、本発明の実施の形態について説明したが、本発明はこうした実施の形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内において様々な形態で実施し得ることは勿論である。例えば、本発明の適用は、パチンコ機に限るものではなく、アレンジボールやスロットマシンなどの複数の制御基板を備えた遊技機に適用しても良い。また、コマンドを正常に受信できなかった側の基板は、そのコマンドを送信した側の基板に対して、コマンドの再送を要求することとしても良い。この場合に、再送の要求は、シリアル転送で行うこととしても良いし、パラレル転送で行うこととしても良い。これによって、コマンド転送の信頼性を向上させることができる。
B. Other embodiments:
As mentioned above, although embodiment of this invention was described, this invention is not limited to such embodiment at all, Of course, it can implement with various forms within the range which does not deviate from the meaning of this invention. is there. For example, the application of the present invention is not limited to a pachinko machine, but may be applied to a gaming machine including a plurality of control boards such as an arrangement ball and a slot machine. Further, the board that has not received the command normally may request the retransmission of the command to the board that has transmitted the command. In this case, the retransmission request may be performed by serial transfer or may be performed by parallel transfer. As a result, the reliability of command transfer can be improved.

また、サブ制御基板40や図柄制御基板30などの他の基板に、本発明を適用することとしても良い。例えば、主制御基板20とサブ制御基板40との間のコマンド転送に適用しても良い。主制御基板20からサブ制御基板40に対するコマンドとしては、LCD35における動画像表示の演出内容を指示する演出コマンドがある。   Further, the present invention may be applied to other substrates such as the sub control substrate 40 and the symbol control substrate 30. For example, the present invention may be applied to command transfer between the main control board 20 and the sub control board 40. As a command from the main control board 20 to the sub control board 40, there is an effect command for instructing the contents of effect of moving image display on the LCD 35.

例えば、主制御基板20は、演出指示を規定した3バイトの指示コマンドと、この指示コマンドのチェックサムを算出した1バイトのチェックコマンドとから成る計4バイトのコマンドを一群のコマンドとして生成し、4バイトの一群のコマンドを2回分に分けて、2回の定時割り込み処理にて2バイト毎にシリアル転送することとしても良い。   For example, the main control board 20 generates, as a group of commands, a total of 4 bytes of commands consisting of a 3-byte instruction command that defines the production instruction and a 1-byte check command that calculates the checksum of the instruction command. A group of 4-byte commands may be divided into two portions and serially transferred every two bytes by two scheduled interrupt processes.

また、主制御基板20は、3バイトの指示コマンドと、1バイトのチェックコマンドとの各ビットを反転させた4バイトの反転コマンドも併せて、計8バイトのコマンドを一群のコマンドとして生成し、8バイトの一群のコマンドを4回に分けて、4回の定時割り込み処理にて2バイト毎にシリアル転送することとしても良い。   The main control board 20 also generates a total of 8 byte commands as a group of commands, including a 4-byte inversion command obtained by inverting each bit of the 3-byte instruction command and the 1-byte check command, A group of commands of 8 bytes may be divided into 4 times, and serial transfer may be performed every 2 bytes by 4 scheduled interrupt processes.

パチンコ機10の全体構成を示す正面図である。1 is a front view showing an overall configuration of a pachinko machine 10. FIG. パチンコ機10の電気的な概略構成を示すブロック図である。2 is a block diagram showing an electrical schematic configuration of a pachinko machine 10. FIG. 主制御基板20および払出制御基板70の電気的な構成の詳細を示すブロック図である。4 is a block diagram showing details of an electrical configuration of a main control board 20 and a payout control board 70. FIG. 主制御基板20の演算処理部210が実行するコマンド送信処理を示すフローチャートである。3 is a flowchart showing command transmission processing executed by an arithmetic processing unit 210 of the main control board 20. コマンド送信処理が実行される際の主制御基板20における各信号の様子を示すタイムチャートである。It is a time chart which shows the mode of each signal in the main control board 20 at the time of command transmission processing being performed. 払出制御基板70の払出CPU710が実行するコマンド受信処理を示すフローチャートである。7 is a flowchart showing command reception processing executed by a payout CPU 710 of the payout control board 70. コマンド受信処理が実行される際の払出制御基板70における各信号の様子を示すタイムチャートである。It is a time chart which shows the mode of each signal in the payout control board 70 at the time of command reception processing being performed.

符号の説明Explanation of symbols

10...パチンコ機
11...外枠
12...内枠
13...遊技板
14...ガラス枠
15...ハンドル
20...主制御基板
30...図柄制御基板
35...LCD
40...サブ制御基板
45...スピーカ
55,56,57,58,59...電飾
61...入賞口
65...遊技球センサ
66...遊技板駆動部
70,70b...払出制御基板
75...払出駆動部
90...カードユニット
200...主CPU
210...演算処理部
220...シリアルIF部
230...パラレルIF部
240...送信バッファレジスタ
250...送信シフトレジスタ
260...受信シフトレジスタ
270...受信バッファレジスタ
280...シリアル管理部
710...払出CPU
720...シリアルIFチップ
730...パラレルIFチップ
740...送信バッファレジスタ
750...送信シフトレジスタ
760...受信シフトレジスタ
770...受信バッファレジスタ
780...シリアル管理部
10 ... Pachinko machine 11 ... Outer frame 12 ... Inner frame 13 ... Game board 14 ... Glass frame 15 ... Handle 20 ... Main control board 30 ... Design control board 35 ... LCD
40 ... Sub-control board 45 ... Speaker 55, 56, 57, 58, 59 ... Electric decoration 61 ... Winning slot 65 ... Game ball sensor 66 ... Game board drive unit 70,70b ... Discharge control board 75 ... Discharge driver 90 ... Card unit 200 ... Main CPU
210: arithmetic processing unit 220 ... serial IF unit 230 ... parallel IF unit 240 ... transmission buffer register 250 ... transmission shift register 260 ... reception shift register 270 ... reception buffer register 280 ... Serial management unit 710 ... Discharge CPU
720 ... Serial IF chip 730 ... Parallel IF chip 740 ... Transmission buffer register 750 ... Transmission shift register 760 ... Reception shift register 770 ... Reception buffer register 780 ... Serial manager

Claims (1)

遊技の進行を制御する主制御基板と、該主制御基板からのコマンドに基づいて遊技に関連する所定の構成部を制御する下位制御基板とを備えた遊技機であって、
前記主制御基板および前記下位制御基板の少なくとも一方の制御基板は、
当該制御基板における所定の制御処理を実現するために所定の間隔で割り込み処理を繰り返し実行し、該繰り返し実行される割り込み処理の一環として他方の制御基板に対する2バイト以上のコマンドを生成する送信側セントラルプロセッシングユニットと、
該生成されたコマンドを前記他方の制御基板へと1バイト単位でシリアル転送を実行する送信シリアル通信ユニットと
を備え、
前記送信シリアル通信ユニットは、
1バイトの記憶容量を有し、前記生成されたコマンドを前記送信側セントラルプロセッシングユニットから受け取り、該コマンドを記憶するバッファレジスタと、
1バイトの記憶容量を有し、前記バッファレジスタに記憶されたコマンドを受け取り、該コマンドをシリアルデータに変換するために記憶するシフトレジスタと
を備え、
前記送信側セントラルプロセッシングユニットは、前記繰り返し実行される割り込み処理のうちの所定の1回の割り込み処理内に、前記2バイト以上のコマンドにおける2バイト分のうち1バイト目の先頭コマンドを前記送信シリアル通信ユニットに引き渡すと共に、前記所定の一回の割り込み処理内であって前記先頭コマンドのシリアル転送が完了する前に、前記2バイト分のうち2バイト目の後続コマンドを前記送信シリアル通信ユニットに引き渡し、
前記送信シリアル通信ユニットは、前記所定の1回の割り込み処理内に前記引き渡された先頭コマンドを前記バッファレジスタ経由で前記シフトレジスタに格納すると共に、前記先頭コマンドを前記シフトレジスタに格納した状態で、前記所定の1回の割り込み処理内に前記引き渡された後続コマンドを前記バッファレジスタに格納し、
前記送信シリアル通信ユニットによる1バイトのシリアル転送に要する時間は、前記割り込み処理が実行される間隔よりも長く、
前記先頭コマンドおよび前記後続コマンドが前記送信側セントラルプロセッシングユニットから前記送信シリアル通信ユニットに引き渡される一回の割り込み処理が完了した後、前記送信シリアル通信ユニットは、前記先行コマンドのシリアル転送の完了に続いて、前記後続コマンドのシリアル転送を実行する、遊技機。
A gaming machine comprising a main control board that controls the progress of a game, and a lower-level control board that controls a predetermined component related to the game based on a command from the main control board,
At least one control board of the main control board and the lower control board is:
In order to realize predetermined control processing in the control board, interrupt processing is repeatedly executed at predetermined intervals, and a command of 2 bytes or more for the other control board is generated as part of the repeatedly executed interrupt processing. A processing unit,
A transmission serial communication unit that executes serial transfer of the generated command to the other control board in units of 1 byte;
The transmission serial communication unit includes:
A buffer register having a storage capacity of 1 byte, receiving the generated command from the transmitting central processing unit, and storing the command;
A shift register having a storage capacity of 1 byte, receiving a command stored in the buffer register, and storing the command to convert the command into serial data;
The transmission-side central processing unit sends the first command of the first byte of the two bytes in the command of two bytes or more to the transmission serial in a predetermined one interrupt process among the interrupt processes repeatedly executed. In addition to passing to the communication unit, before the serial transfer of the first command is completed within the predetermined one-time interrupt processing, the subsequent command of the second byte of the two bytes is transferred to the transmission serial communication unit. ,
The transmission serial communication unit stores the transferred head command in the shift register via the buffer register in the predetermined one interrupt process, and stores the head command in the shift register. The succeeding command passed in the predetermined one interrupt process is stored in the buffer register ,
The time required for serial transfer of 1 byte by the transmission serial communication unit is longer than the interval at which the interrupt process is executed,
After the completion of one interrupt process in which the head command and the subsequent command are delivered from the transmission side central processing unit to the transmission serial communication unit, the transmission serial communication unit follows the completion of serial transfer of the preceding command. A gaming machine that executes serial transfer of the subsequent command .
JP2004235715A 2004-08-13 2004-08-13 Game machine Expired - Fee Related JP4512796B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004235715A JP4512796B2 (en) 2004-08-13 2004-08-13 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004235715A JP4512796B2 (en) 2004-08-13 2004-08-13 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009013752A Division JP4803762B2 (en) 2009-01-26 2009-01-26 Game machine

Publications (2)

Publication Number Publication Date
JP2006051224A JP2006051224A (en) 2006-02-23
JP4512796B2 true JP4512796B2 (en) 2010-07-28

Family

ID=36029061

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004235715A Expired - Fee Related JP4512796B2 (en) 2004-08-13 2004-08-13 Game machine

Country Status (1)

Country Link
JP (1) JP4512796B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007296029A (en) * 2006-04-28 2007-11-15 Daiman:Kk Game machine
JP5327880B2 (en) * 2010-02-22 2013-10-30 サミー株式会社 Game machine
JP5726428B2 (en) * 2010-03-23 2015-06-03 株式会社三共 Game machine
JP5726429B2 (en) * 2010-03-23 2015-06-03 株式会社三共 Game machine
JP5844042B2 (en) * 2010-12-27 2016-01-13 株式会社三共 Slot machine
JP5844043B2 (en) * 2010-12-27 2016-01-13 株式会社三共 Slot machine
JP5947944B2 (en) * 2015-03-31 2016-07-06 株式会社三共 Game machine
JP6491062B2 (en) * 2015-08-27 2019-03-27 株式会社三共 Game machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000126429A (en) * 1998-10-29 2000-05-09 Sankyo Kk Game machine
JP2001170343A (en) * 1999-12-16 2001-06-26 Sankyo Kk Game machine
JP2002033754A (en) * 2000-07-18 2002-01-31 Nec Microsystems Ltd Serial data transfer system, its control method, and communication system
JP2003111941A (en) * 2001-10-04 2003-04-15 Fuji Shoji:Kk Gaming machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000126429A (en) * 1998-10-29 2000-05-09 Sankyo Kk Game machine
JP2001170343A (en) * 1999-12-16 2001-06-26 Sankyo Kk Game machine
JP2002033754A (en) * 2000-07-18 2002-01-31 Nec Microsystems Ltd Serial data transfer system, its control method, and communication system
JP2003111941A (en) * 2001-10-04 2003-04-15 Fuji Shoji:Kk Gaming machine

Also Published As

Publication number Publication date
JP2006051224A (en) 2006-02-23

Similar Documents

Publication Publication Date Title
JP2007215645A (en) Game machine
JP5281129B2 (en) Game machine
JP5368256B2 (en) Game machine
JP5996002B2 (en) Game machine
JP4512796B2 (en) Game machine
JP2006280474A (en) Put-out control technique for game machine
JP5368255B2 (en) Game machine
JP4635169B2 (en) Game machine
JP2007275209A (en) Game machine
JP5592645B2 (en) Game machine
JP4747258B2 (en) One-way communication method, serial communication device, and game machine
JP4803762B2 (en) Game machine
JP5509506B1 (en) Game machine
JP2007296029A (en) Game machine
JP5188036B2 (en) Control board for gaming machines
JP5996005B2 (en) Game machine
JP4679191B2 (en) Game machine
JP5417570B2 (en) Game ball rental system, card unit, payout control device, and game machine
JP5694436B2 (en) Game machine
JP2007282788A (en) Game machine
JP6321715B2 (en) Game machine
JP2007275239A (en) Game machine
JP5923561B2 (en) Game machine
JP4869684B2 (en) Game machine and main control board thereof
JP5066755B2 (en) Game machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090123

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090811

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091013

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100409

R150 Certificate of patent or registration of utility model

Ref document number: 4512796

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130521

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130521

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees