JP2007215645A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2007215645A
JP2007215645A JP2006037723A JP2006037723A JP2007215645A JP 2007215645 A JP2007215645 A JP 2007215645A JP 2006037723 A JP2006037723 A JP 2006037723A JP 2006037723 A JP2006037723 A JP 2006037723A JP 2007215645 A JP2007215645 A JP 2007215645A
Authority
JP
Japan
Prior art keywords
control board
payout
command
main control
payout control
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.)
Pending
Application number
JP2006037723A
Other languages
Japanese (ja)
Inventor
Takaaki Ichihara
高明 市原
Masanori Nakamura
昌則 中村
Naoyuki Okumura
尚之 奥村
Masaru Akiyama
大 秋山
Akinobu Terabe
明伸 寺部
Hajime Kato
肇 加藤
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.)
Daiman Co Ltd
Original Assignee
Daiman 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 Daiman Co Ltd filed Critical Daiman Co Ltd
Priority to JP2006037723A priority Critical patent/JP2007215645A/en
Publication of JP2007215645A publication Critical patent/JP2007215645A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique to reduce burden on a main control board while improving the reliability of a put-out command. <P>SOLUTION: The main control board 70 splits a 2-byte put out command into 1-byte units and serially sends them to a putting-out control board 20. The putting-out CPU 710 of the putting-out control board 70 judges whether or not the put-out command is normally received in a time interruption process. When judging that the command is normally received, the CPU parallelly sends an ACK (acknowledgment) signal to the main control board 20. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、遊技機における、遊技の進行を制御する主制御基板と、遊技球または遊技メダルの払出を制御する払出制御基板との間の通信に関する。 The present invention relates to communication between a main control board that controls the progress of a game and a payout control board that controls the payout of a game ball or a game medal in a gaming machine.

遊技機において、遊技の進行を制御する主制御基板から、遊技球または遊技メダルの払出を制御する払出制御基板には、遊技球等の払い出しに関する払出コマンドが送信されている。遊技機に不正な行為をして遊戯球等の払い出しを行わせようとする者は、該払出コマンドが送信される信号線に不正な加工を施して払出コマンドを変更することにより、不正に遊戯球等を払い出させようとすることがある。従来、主制御基板から払出制御基板にはパラレルで払出コマンドが送信されていた。パラレルでは、例えば8ビットの払出コマンドが同時に送信されるため、所定のタイミングで1ビット分ずつデータを送信するシリアルの通信と比較すると、不正者に払出コマンドを変更される可能性が高かった。よって、主制御基板から払出制御基板への通信の信頼性を向上させ、不正に遊戯球等が払い出されることを抑制するために、主制御基板から払出制御基板への通信はシリアルで行うことが提案されている。 In a gaming machine, a payout command relating to payout of a game ball or the like is transmitted from a main control board that controls the progress of the game to a payout control board that controls payout of game balls or game medals. A person who intends to cause a gaming machine to perform an illegal act to pay out a game ball, etc., by illegally processing the signal line to which the payout command is transmitted and changing the payout command, There are times when you want to pay out the ball. Conventionally, a payout command is transmitted in parallel from the main control board to the payout control board. In parallel, for example, an 8-bit payout command is transmitted at the same time. Therefore, compared to serial communication in which data is transmitted bit by bit at a predetermined timing, there is a high possibility that an unauthorized person changes the payout command. Therefore, in order to improve the reliability of communication from the main control board to the payout control board and to prevent illegal play balls etc. from being paid out, communication from the main control board to the payout control board can be performed serially. Proposed.

ところで、遊技機においては、遊技球等とその通路との間の摩擦や、遊技球同士の摩擦や、遊技機と帯電した人体との接触などによって静電気が発生することが多い。払出コマンドが、このような静電気の発生に起因する電気的ノイズの影響で誤信されることを懸念して、払出コマンドをシリアルで送信する場合、払出コマンドの送信速度を低速化する。これにより、主制御基板から払出制御基板へ送信される払出コマンドの信頼性を向上させる。払出コマンドの送信速度は、例えば、1200bps(Bit Per Second)とされる。送信速度が1200bpsであるとすると、2バイトのコマンドを送信するためにかかる時間は約16.7msとなる。 By the way, in gaming machines, static electricity often occurs due to friction between gaming balls and the passage thereof, friction between gaming balls, contact between gaming machines and a charged human body, or the like. When the payout command is transmitted serially in consideration of the fact that the payout command is misunderstood due to the influence of electrical noise caused by the occurrence of static electricity, the transmission speed of the payout command is reduced. Thereby, the reliability of the payout command transmitted from the main control board to the payout control board is improved. The transmission speed of the payout command is, for example, 1200 bps (Bit Per Second). If the transmission speed is 1200 bps, the time required to transmit a 2-byte command is about 16.7 ms.

更に、主制御基板から払出制御基板への通信の信頼性を向上させるために、払出コマンドを受信した払出制御基板が、払出コマンドを受信したことを主制御基板に通知する技術も提案されている(例えば、特許文献1)。主制御基板は、払出コマンドを送信した後、払出制御基板から、払出コマンドを受信したことを示す確認信号(アック信号、ACK信号)を受信することにより、払出制御基板が払出コマンドを受信したことを確認することができる。 Furthermore, in order to improve the reliability of communication from the main control board to the payout control board, a technique has been proposed in which the payout control board that has received the payout command notifies the main control board that the payout command has been received. (For example, patent document 1). After the main control board transmits the payout command, the payout control board receives the payout command by receiving a confirmation signal (ACK signal, ACK signal) indicating that the payout command has been received from the payout control board. Can be confirmed.

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

上記したように、主制御基板から払出制御基板へ送信される払出コマンドの信頼性を向上するため、シリアルで払出コマンドを送信したり、払出コマンドの送信速度を低速化したり、アック信号を送受信したりしている。しかしながら、そのために、上記したように、払出コマンドの送受信に関する処理速度は、低速である。特に主制御基板は、払出制御基板からアック信号を受信しなければ、払出制御基板との間の通信の信頼性が疑わしいため、払出制御基板に次の払出コマンドを送信しない構成となっている。よって、アック信号を受信しない間、払出制御基板に送信すべき払出コマンドが主制御基板において記憶されている状態となり、主制御基板の負担となっていた。主制御基板においては、他にも、遊技の進行を制御するにあたり、不定期に起きる状態変化に対応した処理を数々実行する必要がある。例えば、主制御基板は、始動入賞口に遊技球が入球すると、乱数を取得して抽選を行ったり、始動入賞口に遊技球が入球した時に変動中であれば、取得した乱数を記憶したりするなど、数々の処理を実行する必要がある。これに対し、払出制御基板は、主に、払出コマンドに応じて遊技球等を払い出す処理を行うだけのものである。よって、主制御基板の負担を減らすために、払出コマンドは、払出制御基板に早期に送信することが望ましい。 As described above, in order to improve the reliability of the payout command sent from the main control board to the payout control board, the payout command is sent serially, the payout command transmission speed is reduced, and the ACK signal is sent and received. It is. However, for this reason, as described above, the processing speed related to the transmission / reception of the payout command is low. In particular, if the main control board does not receive an ACK signal from the payout control board, the reliability of communication with the payout control board is doubtful, and therefore the next payout command is not transmitted to the payout control board. Therefore, while the ACK signal is not received, the payout command to be transmitted to the payout control board is stored in the main control board, which is a burden on the main control board. In addition to the main control board, in order to control the progress of the game, it is necessary to execute a number of processes corresponding to state changes that occur irregularly. For example, when a game ball enters the start winning opening, the main control board acquires a random number and performs a lottery, or stores the acquired random number if it is changing when the game ball enters the start winning opening. There are a number of processes that need to be executed. On the other hand, the payout control board mainly performs processing for paying out game balls and the like in accordance with payout commands. Therefore, in order to reduce the burden on the main control board, it is desirable to send the payout command to the payout control board at an early stage.

本発明は、上記した問題点を解決するためになされたものであり、払出コマンドの信頼性を向上しつつ、主制御基板の負担を軽減する技術を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to provide a technique for reducing the burden on the main control board while improving the reliability of the payout command.

上記した課題を解決するため、本発明の遊技機は、 遊技の進行を制御する主制御基板と、
前記主制御基板から送信される遊技球または遊技メダルの払い出しに関するコマンドである払出コマンドに基づいて、遊技球または遊技メダルの払い出しを制御する払出制御基板と、
を備え、 前記主制御基板は、 前記払出制御基板に、電気的ノイズの影響を受けない低速の通信速度で、シリアルでコマンドを送信する主制御基板シリアル送信部と、 該主制御基板における汎用パラレルポートのうちの一部のポートである主制御基板パラレル受信ポートと、 を備え、 前記払出制御基板は、 前記主制御基板から、電気的ノイズの影響を受けない低速の通信速度で、シリアルでコマンドを受信する払出制御基板シリアル受信部と、 該払出制御基板における汎用パラレルポートのうちの一部のポートである払出制御基板パラレル送信ポートと、 定時間割り込み処理を繰り返し実行して、前記払い出しに関する処理を行う払出制御基板中央演算処理装置と、 を備え、 前記払出コマンドは、前記主制御基板シリアル送信部から前記払出制御基板シリアル受信部へシリアルで送信され、 前記払出制御基板中央演算処理装置は、前記払出コマンドを正常に受信したと判断した場合は、払出コマンド確認信号を、前記払出制御基板パラレル送信ポートを介して出力し、 前記払出コマンド確認信号は、前記払出制御基板パラレル送信ポートから前記主制御基板パラレル受信ポートへパラレルで送信されることを特徴とする。
In order to solve the above-described problems, a gaming machine of the present invention includes a main control board that controls the progress of a game,
A payout control board that controls payout of game balls or game medals based on payout commands that are commands related to payout of game balls or game medals transmitted from the main control board;
The main control board includes: a main control board serial transmission unit that serially transmits a command to the payout control board at a low communication speed not affected by electrical noise; and a general-purpose parallel in the main control board A main control board parallel reception port, which is a part of the ports, and the payout control board is a serial command at a low communication speed not affected by electrical noise from the main control board. The payout control board serial reception unit for receiving the payout control board, the payout control board parallel transmission port which is a part of the general-purpose parallel port in the payout control board, and the process related to the payout by repeatedly executing the interrupt processing for a predetermined time. A payout control board central processing unit for performing, and the payout command is sent from the main control board serial transmission unit When the payout control board central processing unit determines that the payout command has been received normally, the payout control board serial reception unit sends a payout command confirmation signal to the payout control board parallel transmission port. The payout command confirmation signal is transmitted in parallel from the payout control board parallel transmission port to the main control board parallel reception port.

本発明によれば、払出コマンド確認信号(アック信号)はパラレルで送信されるので、シリアルで送信する場合と比較すると、アック信号を早く主制御基板に伝達することができる。主制御基板は、アック信号を早く受信することができれば、次の払出コマンドを払出制御基板に送信することができるので、主制御基板の負担を軽減することができる。つまり、本発明によれば、払出コマンドの信頼性を向上しつつ、主制御基板の負担を軽減することが可能である。 According to the present invention, since the payout command confirmation signal (ACK signal) is transmitted in parallel, the ACK signal can be transmitted to the main control board earlier than in the case of serial transmission. If the main control board can receive the ACK signal early, the next payout command can be transmitted to the payout control board, so the burden on the main control board can be reduced. That is, according to the present invention, it is possible to reduce the burden on the main control board while improving the reliability of the payout command.

前記主制御基板は、 前記払出制御基板から、電気的ノイズの影響を受けない低速の通信速度で、シリアルでコマンドを受信する主制御基板シリアル受信部と、 前記主制御基板における汎用パラレルポートのうちの一部のポートである主制御基板パラレル送信ポートと、 定時間割り込み処理を繰り返し実行して、前記遊技の進行の制御に関する処理を行う主制御基板中央演算処理装置と、 を備え、 前記払出制御基板は、 前記主制御基板に、電気的ノイズの影響を受けない低速の通信速度で、シリアルでコマンドを送信する払出制御基板シリアル送信部と、 前記払出制御基板における汎用パラレルポートのうちの一部のポートである払出制御基板パラレル受信ポートと、 を備え、 前記払出制御基板中央演算処理装置は、遊技機の所定の動作状態を検知し、該動作状態を示すコマンドである動作状態コマンドを、前記払出制御基板シリアル送信部を介して出力し、 前記動作状態コマンドは、前記払出制御基板シリアル送信部から前記主制御基板シリアル受信部へシリアルで送信され、 前記主制御基板中央演算処理装置は、前記動作状態コマンドを正常に受信したと判断した場合は、動作状態コマンド確認信号を、前記主制御基板パラレル送信ポートを介して出力し、 前記動作状態コマンド確認信号は、前記主制御基板パラレル送信ポートから前記払出制御基板パラレル受信ポートへパラレルで送信されることを特徴とするものとしても良い。 The main control board includes: a main control board serial receiving unit that receives commands serially from the payout control board at a low communication speed that is not affected by electrical noise; and a general-purpose parallel port in the main control board A main control board parallel transmission port that is a part of the main control board, and a main control board central processing unit that repeatedly executes a fixed-time interrupt process to control the progress of the game, and the payout control The board includes a payout control board serial transmission unit that serially transmits a command to the main control board at a low communication speed that is not affected by electrical noise, and a part of the general-purpose parallel port in the payout control board A payout control board parallel receiving port that is a port of the payout control board, and the payout control board central processing unit is a gaming machine. The operation state command that is a command indicating the operation state is output via the payout control board serial transmission unit, and the operation state command is output from the payout control board serial transmission unit. When the main control board central processing unit determines that the operation state command has been normally received, the operation state command confirmation signal is sent in parallel to the main control board parallel transmission. The operation state command confirmation signal may be output via a port and transmitted in parallel from the main control board parallel transmission port to the payout control board parallel reception port.

これによれば、電気的ノイズの影響を受けない低速の通信速度で動作状態コマンドを払出制御基板から主制御基板に送信するので、動作状態コマンドの信頼性も向上することができる。また、動作状態コマンド確認信号(アック信号)はパラレルで送信される。シリアルとパラレルの2系統で送受信を行う構成であるので、送受信の信頼性を向上させることができる。 According to this, since the operation state command is transmitted from the payout control board to the main control board at a low communication speed that is not affected by electrical noise, the reliability of the operation state command can also be improved. The operation state command confirmation signal (ACK signal) is transmitted in parallel. Since the transmission / reception is performed in two systems, serial and parallel, the reliability of transmission / reception can be improved.

前記払出制御基板シリアル受信部と、前記払出制御基板における汎用パラレルポートは、1チップに集積されていることを特徴とするものとしても良い。 The payout control board serial receiving unit and the general-purpose parallel port in the payout control board may be integrated on one chip.

これによれば、これらの部品を1チップに集積しているので、払出制御基板上のスペースを節約することができる。 According to this, since these components are integrated on one chip, the space on the payout control board can be saved.

なお、本発明の遊技機は、パチンコ機やスロットマシンであっても良く、本発明は遊技機を制御する制御方法や、遊技機を制御するプログラムなどの種々の態様に適用することができる。 Note that the gaming machine of the present invention may be a pachinko machine or a slot machine, and the present invention can be applied to various modes such as a control method for controlling the gaming machine and a program for controlling the gaming machine.

以上説明した本発明の構成および作用を一層明らかにするために、以下本発明を適用した遊技機について説明する。なお、本明細書において、信号名の先頭に「#」が付されているものは、負論理であることを意味している。「ハイレベル」は2値信号の2つのレベルのうちの「1」レベルを意味し、「ローレベル」は「0」レベルを意味している。 In order to further clarify the configuration and operation of the present invention described above, a gaming machine to which the present invention is applied will be described below. 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.パチンコ機10の構成: 本発明の実施例の1つであるパチンコ機10の構成について説明する。図1は、パチンコ機10の全体構成を示す正面図である。図1に示すように、パチンコ機10は、パチンコ店のいわゆる島に固定される外枠11、外枠11に嵌め込まれる内枠12、内枠12の中央上寄りに配置され遊技球による遊技が行われる遊技板13、遊技板13の前面に配置され中央部にガラス板を有するガラス枠14、遊技板13に遊技球を発射するための遊技者による操作を受け付けるハンドル15、パチンコ機10の裏面に配置され払出用の遊技球を貯留する球タンク17,遊技者に対して払い出された遊技球を貯留する下皿19,プリペイドカードによる遊技球の貸し出しを受け付けるカードユニット90などを備える。 A. Configuration of Pachinko Machine 10: The configuration of the pachinko machine 10 that is one embodiment 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, a pachinko machine 10 has an outer frame 11 fixed to a so-called island of a pachinko store, an inner frame 12 fitted into the outer frame 11, an upper center of the inner frame 12, and a game by a game ball is played. A game board 13 to be performed, a glass frame 14 disposed on the front surface of the game board 13 and having a glass plate at the center, a handle 15 for receiving an operation by a player for launching a game ball on the game board 13, and the back surface of the pachinko machine 10 A ball tank 17 for storing game balls for payout, a lower plate 19 for storing game balls paid out to the player, a card unit 90 for accepting lending of game balls by a prepaid card, and the like.

遊技板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と、主制御基板20からのコマンドに基づいて遊技球の払出を制御する払出制御基板70と、遊技進行に応じてLCD35やスピーカ45,電飾55〜59を用いた演出を制御するサブ制御基板40と、LCD35における動画像表示を制御する図柄制御基板30とを備える。払出制御基板70は、遊技球の払い出しを実行する払出駆動部75と、遊技球の払い出しに関する状態をLEDによって外部に表示する状態表示部72とに接続されている。これら各基板および払出駆動部75,状態表示部72は、図1に示した内枠12の裏面(図示しない)に設けられている。 FIG. 2 is a block diagram showing an electrical schematic configuration of the pachinko machine 10. The pachinko machine 10 includes a main control board 20 that controls the progress of the game, a payout control board 70 that controls the payout of the game ball based on a command from the main control board 20, an LCD 35, a speaker 45, A sub-control board 40 that controls the effect using the electric decorations 55 to 59 and a symbol control board 30 that controls the moving image display on the LCD 35 are provided. The payout control board 70 is connected to a payout drive unit 75 that executes payout of game balls, and a state display unit 72 that displays a state relating to payout of game balls to the outside by LEDs. Each of these substrates, the payout drive unit 75, and the state display unit 72 are provided on the back surface (not shown) of the inner frame 12 shown in FIG.

主制御基板20,払出制御基板70,サブ制御基板40,図柄制御基板30の各基板は、種々の演算処理を行うセントラルプロセッシングユニット(Central Processing Unit、中央演算処理装置、以下、CPUという),CPUの演算処理を規定したプログラムを予め記憶するリードオンリメモリ(Read Only Memory、以下、ROMという),CPUが取り扱うデータを一時的に記憶するランダムアクセスメモリ(Random Access Memory、以下、RAMという)などの各基板に応じた電子部品が実装された回路基板である。 Each of the main control board 20, the payout control board 70, the sub control board 40, and the symbol control board 30 includes a central processing unit (Central Processing Unit, hereinafter referred to as a CPU) for performing various arithmetic processes, and a CPU. Read-only memory (hereinafter referred to as ROM) that pre-stores a program that prescribes arithmetic processing, random access memory (hereinafter referred to as RAM) that temporarily stores data handled by the CPU, etc. A circuit board on which electronic components corresponding to each board are mounted.

主制御基板20と払出制御基板70との間では、種々のコマンドがシリアルで送信される。主制御基板20と払出制御基板70との間のコマンドは、2バイト単位で構成され、1バイト単位に分割してシリアルで送信される。コマンドを正常に受信した基板は、コマンドを送信した基板に対して、正常にコマンドを受け取ったことを伝える確認信号であるACK(アック、Acknowledge)信号を送信する。主制御基板20と払出制御基板70との間のコマンドの送受信について詳しくは後述する。 Various commands are transmitted serially between the main control board 20 and the payout control board 70. Commands between the main control board 20 and the payout control board 70 are configured in units of 2 bytes, and are transmitted serially after being divided into units of 1 byte. The board that has received the command normally transmits an ACK (acknowledge) signal, which is a confirmation signal indicating that the command has been received normally, to the board that has transmitted the command. Details of command transmission / reception between 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 in parallel 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とが回路構成されている。パラレル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 that performs serial communication with the outside, and a parallel IF unit 230 that performs parallel communication with the outside. The parallel IF unit 230 corresponds to the general-purpose parallel port in the present invention.

シリアルIF部220は、演算処理部210からパラレルデータTDaを受け取り記憶する送信バッファレジスタ240と、送信バッファレジスタ240に記憶されたデータを受け取りシリアルデータDabに変換して払出制御基板70にシリアルで送信する送信シフトレジスタ250と、払出制御基板70からシリアルデータDbaを受け取り記憶する受信シフトレジスタ260と、受信シフトレジスタ260に記憶されたデータを受け取り演算処理部210によってパラレルデータRDaとして読み出し可能に記憶する受信バッファレジスタ270と、シリアルIF部220における各部の動作状態を管理するシリアル管理部280とを備え、これらシリアルIF部220の構成回路は1チップに集積されている。送信バッファレジスタ240,送信シフトレジスタ250,受信シフトレジスタ260,受信バッファレジスタ270は、それぞれ1バイトの記憶容量を有するレジスタである。送信バッファレジスタ240と、送信シフトレジスタ250と、シリアル管理部280は、本発明の主制御基板シリアル送信部に相当する。受信シフトレジスタ260,受信バッファレジスタ270と、シリアル管理部280は、本発明の主制御基板シリアル受信部に相当する。 The serial IF unit 220 receives and stores the parallel data TDa from the arithmetic processing unit 210, receives the data stored in the transmission buffer register 240, converts it into serial data Dab, and transmits it serially to the payout control board 70. The transmission shift register 250, the reception shift register 260 that receives and stores the serial data Dba from the payout control board 70, and the data that is stored in the reception shift register 260 is received and stored as parallel data RDa by the arithmetic processing unit 210. A reception buffer register 270 and a serial management unit 280 for managing the operation state of each unit in the serial IF unit 220 are provided. The constituent circuits of the serial IF unit 220 are integrated on one chip. 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. The transmission buffer register 240, the transmission shift register 250, and the serial management unit 280 correspond to the main control board serial transmission unit of the present invention. The reception shift register 260, the reception buffer register 270, and the serial management unit 280 correspond to the main control board serial reception unit of the present invention.

シリアル管理部280は、送信シフトレジスタ250および送信バッファレジスタ240に関して、送信シフトレジスタ250がシリアルの送信中でない場合に、送信バッファレジスタ240から送信シフトレジスタ250へのデータの受け渡しを許可しデータが受け渡された後、送信バッファレジスタ240からデータを消去するように回路構成されている。 The serial management unit 280 allows the transmission shift register 250 and the transmission buffer register 240 to transfer data from the transmission buffer register 240 to the transmission shift register 250 when the transmission shift register 250 is not performing serial transmission. After being passed, the circuit is configured to erase data 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 serial transmission rate 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 transmission rate can be set by the value of a register (not shown) built 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 transmitting serially. There is a serial transmission signal TCa that is set to a high level, and a reception data presence signal DFa that is set to a high level when data is stored in the reception buffer register 270.

図3に示すように、払出制御基板70は、払出制御基板70における種々の演算処理を行う払出CPU710と、外部とのシリアル通信およびパラレル通信を行う回路が形成されたシリパラIFチップ720とを備える。 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, and a serial para IF chip 720 in which a circuit that performs serial communication and parallel communication with the outside is formed. .

シリパラIFチップ720は、払出CPU710からパラレルデータTDbを受け取り記憶する送信バッファレジスタ740と、送信バッファレジスタ740に記憶されたデータを受け取りシリアルデータDbaに変換して主制御基板20にシリアルで送信する送信シフトレジスタ750と、主制御基板20からシリアルデータDabを受け取り記憶する受信シフトレジスタ760と、受信シフトレジスタ760に記憶されたデータを受け取り払出CPU710によってパラレルデータRDbとして読み出し可能に記憶する受信バッファレジスタ770と、シリパラIFチップ720における各部の動作状態を管理するシリアル管理部780と、外部とのパラレル通信を行うパラレルIF部730とを備え、これらシリパラIFチップの構成回路は1チップに集積されている。送信バッファレジスタ740,送信シフトレジスタ750,受信シフトレジスタ760,受信バッファレジスタ770は、それぞれ1バイトの記憶容量を有するレジスタである。送信バッファレジスタ740と、送信シフトレジスタ750と、シリアル管理部780は、本発明の払出制御基板シリアル送信部に相当する。受信シフトレジスタ760と、受信バッファレジスタ770と、シリアル管理部780は、本発明の払出制御基板シリアル受信部に相当する。パラレルIF部730は、本発明における汎用パラレルポートに相当する。 The serial interface IF chip 720 receives and stores the parallel data TDb from the payout CPU 710, and receives the data stored in the transmission buffer register 740, converts the data stored in the transmission buffer register 740 into serial data Dba, and transmits the serial data to the main control board 20 A shift register 750, a reception shift register 760 that receives and stores the serial data Dab from the main control board 20, and a reception buffer register 770 that receives and stores the data stored in the reception shift register 760 so as to be readable as parallel data RDb. A serial management unit 780 that manages the operation state of each unit in the serial para IF chip 720, and a parallel IF unit 730 that performs parallel communication with the outside. Road are integrated into one chip. The transmission buffer register 740, the transmission shift register 750, the reception shift register 760, and the reception buffer register 770 are registers each having a storage capacity of 1 byte. The transmission buffer register 740, the transmission shift register 750, and the serial management unit 780 correspond to the payout control board serial transmission unit of the present invention. The reception shift register 760, the reception buffer register 770, and the serial management unit 780 correspond to the payout control board serial reception unit of the present invention. The parallel IF unit 730 corresponds to the general-purpose parallel port in the present invention.

シリアル管理部780は、受信バッファレジスタ770をクリアするために払出CPU710から出力されるセット信号CBbを受けてセットされるクリアレジスタ782を備える。シリアル管理部780は、クリアレジスタ782がセットされた場合に、受信バッファレジスタ770からデータを消去し、受信バッファレジスタ770からデータがクリアされるのに応じて、クリアレジスタ782をリセットするように回路構成されている。シリアル管理部780は、受信バッファレジスタ770にデータが記憶されていない場合に、受信シフトレジスタ760から受信バッファレジスタ770へのデータの受け渡しを許可するようにも回路構成されている。 The serial management unit 780 includes a clear register 782 that is set in response to the set signal CBb output from the payout CPU 710 to clear the reception buffer register 770. When the clear register 782 is set, the serial manager 780 erases data from the reception buffer register 770 and resets the clear register 782 in response to the data being cleared from the reception buffer register 770. It is configured. The serial management unit 780 is also configured to allow data transfer from the reception shift register 760 to the reception buffer register 770 when no data is stored in the reception buffer register 770.

シリアル管理部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 transmitting serially. The circuit is configured to erase the data from the transmission buffer register 740 after being passed.

なお、シリパラIFチップ720がシリアルで送信されたコマンドをサンプリングするタイミングは、主制御基板20の主CPU200を動作させるためのクロック信号を分周回路(図示しない)によって分周したサンプリングクロックに基づいて決定される。このサンプリングクロックを決定するクロック信号からの分周比は、分周回路がシリパラIFチップ720に内蔵される場合には、シリパラIFチップ720に内蔵されたレジスタ(図示しない)の値を変更することによって設定可能に構成しても良い。 Note that the timing at which the serially-transmitted IF chip 720 samples the serially transmitted command is based on a sampling clock obtained by frequency-dividing a clock signal for operating the main CPU 200 of the main control board 20 by a frequency dividing circuit (not shown). It is determined. The frequency division ratio from the clock signal that determines the sampling clock is to change the value of a register (not shown) built in the serial para IF chip 720 when the frequency dividing circuit is built in the serial para IF chip 720. It may be configured to be settable by

払出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 para 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 signal when the transmission shift register 750 is transmitting serially. There is a serial transmission signal TCb that is set to the level and a reception data presence signal DFb that is set to the high level when data is stored in the reception buffer register 770.

主制御基板20が払出制御基板70に送信するコマンドは、遊技球の払い出しに関する払出コマンドである。払出コマンドは、例えば、遊技球の払い出し個数を指定するコマンドであり、複数ビットのコマンドである。払出コマンドは、送信シフトレジスタ250から受信シフトレジスタ760にシリアルで送信される。払出CPU710は、払出コマンドを正常に受信したと判断すると、アック信号を主制御基板20に送信する。アック信号は、パラレルIF部730からパラレルIF部230にパラレルで送信される。図示は省略したが、パラレルIF部730とパラレルIF部230には複数のパラレルポートが備えられている。アック信号は1ビットの信号であり、パラレルIF部730とパラレルIF部230の間で、各々複数のパラレルポートのうち1ビット分のポートを利用して送受信される。該1ビット分のポートが、本発明における払出制御基板パラレル送信ポートと、主制御基板パラレル受信ポートに相当する。 The command transmitted from the main control board 20 to the payout control board 70 is a payout command relating to payout of game balls. The payout command is, for example, a command for designating the number of game balls to be paid out, and is a multi-bit command. The payout command is serially transmitted from the transmission shift register 250 to the reception shift register 760. If the payout CPU 710 determines that the payout command has been received normally, the payout CPU 710 transmits an ACK signal to the main control board 20. The ACK signal is transmitted from the parallel IF unit 730 to the parallel IF unit 230 in parallel. Although not shown, the parallel IF unit 730 and the parallel IF unit 230 are provided with a plurality of parallel ports. The ACK signal is a 1-bit signal, and is transmitted and received between the parallel IF unit 730 and the parallel IF unit 230 using a 1-bit port among a plurality of parallel ports. The 1-bit port corresponds to the payout control board parallel transmission port and the main control board parallel reception port in the present invention.

払出制御基板70が主制御基板20に送信するコマンドは、払出CPU710が検知するパチンコ機10の動作状態を、主制御基板20に通知するための動作状態コマンドである。払出コマンドは複数ビットのコマンドであり、動作状態コマンドには、例えば、遊技球が賞球ユニット内に十分ないことを示す球切れ情報と、カードユニット90がパチンコ機10に接続されていないことを示す情報と、主制御基板20と払出制御基板70の間でコマンドを正常に送受信できないことを示す情報が含まれる。動作状態コマンドは、送信シフトレジスタ750から受信シフトレジスタ260にシリアルで送信される。主CPU200は、動作状態コマンドを正常に受信したと判断すると、アック信号を払出制御基板70に送信する。アック信号は1ビットの信号であり、パラレルIF部230とパラレルIF部730の間で、各々複数のパラレルポートのうち1ビット分のポートを利用して送受信される。該1ビット分のポートが、本発明における主制御基板パラレル送信ポートと、払出制御基板パラレル受信ポートに相当する。   The command that the payout control board 70 transmits to the main control board 20 is an operation state command for notifying the main control board 20 of the operation state of the pachinko machine 10 detected by the payout CPU 710. The payout command is a multi-bit command, and the operation state command includes, for example, ball break information indicating that there are not enough game balls in the prize ball unit, and that the card unit 90 is not connected to the pachinko machine 10. And information indicating that the command cannot be normally transmitted and received between the main control board 20 and the payout control board 70. The operation state command is serially transmitted from the transmission shift register 750 to the reception shift register 260. When the main CPU 200 determines that the operation state command has been normally received, the main CPU 200 transmits an ACK signal to the payout control board 70. The ACK signal is a 1-bit signal, and is transmitted / received between the parallel IF unit 230 and the parallel IF unit 730 using a 1-bit port among a plurality of parallel ports. The 1-bit port corresponds to the main control board parallel transmission port and the payout control board parallel reception port in the present invention.

B.パチンコ機10の動作: B−1.払出制御基板70による払出定時割り込み処理: パチンコ機10の動作の一つとして、払出制御基板70における払出定時割り込み処理について説明する。図4は、払出制御基板70による払出定時割り込み処理を示すフローチャートである。払出定時割り込み処理は、払出制御基板70の払出CPU710によって、所定の間隔(本実施例では、1ミリセカンド(以下、msと表記))で繰り返し実行される。 B. Operation of pachinko machine 10: B-1. Dispensing scheduled interrupt processing by the dispensing control board 70: As one operation of the pachinko machine 10, the dispensing scheduled interrupt processing in the dispensing control board 70 will be described. FIG. 4 is a flowchart showing a payout fixed time interruption process by the payout control board 70. The payout interruption processing is repeatedly executed by the payout CPU 710 of the payout control board 70 at a predetermined interval (in this embodiment, 1 millisecond (hereinafter referred to as ms)).

払出制御基板70の払出CPU710は、払出定時割り込み処理において種々の処理を実行する。本実施例では、払出CPU710は、アック出力処理(ステップS10)、CR通信処理(ステップS20)、満タン・球切れチェック処理(ステップS30)、コマンド受信処理(ステップS40)、コマンド解析処理(ステップS50)、払出処理(ステップS60)、状態表示処理(ステップS70)、コマンド送信処理(ステップS80)の順に種々の処理を実行する。払出定時割り込み処理における各処理(ステップS10〜S80)は、遊技の進行状態に応じて処理内容が異なってくるため、完了までに要する時間が遊技の進行に応じて変動する。払出定時割り込み処理におけるアック出力処理(ステップS10)の処理は、他の処理(ステップS20〜S80)の処理に優先し、本実施例では、アック出力処理(ステップS10)の処理は、払出定時割り込み処理の先頭で実行される。 The payout CPU 710 of the payout control board 70 executes various processes in the payout scheduled interrupt process. In this embodiment, the payout CPU 710 includes an ack output process (step S10), a CR communication process (step S20), a full / ball check process (step S30), a command reception process (step S40), and a command analysis process (step). S50), a payout process (step S60), a status display process (step S70), and a command transmission process (step S80) are executed in this order. Each process (steps S10 to S80) in the payout scheduled interrupt process varies depending on the progress of the game, so the time required for completion varies depending on the progress of the game. The process of the ACK output process (step S10) in the payout scheduled interrupt process has priority over the processes of the other processes (steps S20 to S80). In this embodiment, the process of the ACK output process (step S10) is a payout scheduled interrupt. It is executed at the beginning of the process.

アック出力処理(ステップS10)は、主制御基板20からコマンドを正常に受信した際に主制御基板20に対してアック信号を出力するための処理である。アック出力処理(ステップS10)の詳細は後述する。 The ACK output process (step S10) is a process for outputting an ACK signal to the main control board 20 when a command is normally received from the main control board 20. Details of the ACK output process (step S10) will be described later.

CR通信処理(ステップS20)は、カードユニット90と間で遊技球の貸し出しに関するデータをやり取りするための処理である。満タン・球切れチェック処理(ステップS30)は、下皿19に貯留されている遊技球が満杯となっていないか、球タンク17に貯留されている遊技球が空となっていないかを確認することによって、遊技球の払い出しに障害となる物理的な状態を検出するための処理である。 The CR communication process (step S20) is a process for exchanging data related to the rental of game balls with the card unit 90. In the full tank / out of ball check process (step S30), it is confirmed whether the game balls stored in the lower plate 19 are full or the game balls stored in the ball tank 17 are not empty. By doing so, it is a process for detecting a physical state which becomes an obstacle to payout of the game ball.

コマンド受信処理(ステップS40)は、主制御基板20から1バイト単位でシリアルで送信された払出コマンドを受信するための処理である。コマンド受信処理(ステップS40)の詳細は後述する。コマンド解析処理(ステップS50)は、コマンド受信処理(ステップS40)にて受信された払出コマンドの内容を解析するための処理である。具体的には、コマンド解析処理(ステップS50)では、払出コマンドが示す払い出し個数が正常値(例えば1個〜15個)の範囲内であるか否か判断し、正常値の範囲内でなければ、遊技球の払い出しを行わないものとして、払出コマンドを無視する。払い出し個数が正常値の範囲内であれば、払出コマンドが示す払い出し個数を、払い出し個数バッファで記憶している総払い出し個数に加算する。払い出し個数バッファは、パチンコ機10が払い出すべき遊技球の総数を記憶するバッファである。 The command reception process (step S40) is a process for receiving a payout command transmitted serially from the main control board 20 in units of 1 byte. Details of the command reception process (step S40) will be described later. The command analysis process (step S50) is a process for analyzing the contents of the payout command received in the command reception process (step S40). Specifically, in the command analysis process (step S50), it is determined whether or not the number of payouts indicated by the payout command is within a normal value range (for example, 1 to 15). Assuming that game balls are not paid out, the payout command is ignored. If the payout number is within the normal value range, the payout number indicated by the payout command is added to the total payout number stored in the payout number buffer. The payout number buffer is a buffer for storing the total number of game balls to be paid out by the pachinko machine 10.

払出処理(ステップS60)は、遊技球の払い出しを実行するための処理である。払出処理(ステップS60)において、CR通信処理(ステップS20)にて得られた貸し出しの指示や、払い出し個数バッファの内容に応じて、払出CPU710は、払出駆動部75に対して動作を指示するための信号を出力する。本実施例では、カードユニット90や主制御基板20から払い出しを要求された遊技球の個数に異常な変化があった場合や、満タン・球切れチェック処理(ステップS30)にて物理的な障害が確認された場合には、払出CPU710は、遊技球の払い出しを一時的に停止する。 The payout process (step S60) is a process for executing payout of game balls. In the payout process (step S60), the payout CPU 710 instructs the payout drive unit 75 to operate in accordance with the lending instruction obtained in the CR communication process (step S20) and the contents of the payout number buffer. The signal is output. In this embodiment, when there is an abnormal change in the number of game balls requested to be paid out from the card unit 90 or the main control board 20, there is a physical failure in the full / ball check process (step S30). Is confirmed, the payout CPU 710 temporarily stops paying out the game balls.

状態表示処理(ステップS70)は、状態表示部72に払出CPU710が検知するパチンコ機10の動作状態を表示させるための処理である。本実施例では、状態表示部72における動作状態の表示は、各状態に対応する数字を表示することによって行われ、例えば、主制御基板20と払出制御基板70とのコマンドの送受信に異常が発生した場合には状態表示部72に「0」が表示され、球タンク17において球切れが発生した場合には状態表示部72に「1」が表示され、カードユニット90が払出制御基板70に接続されていない場合には状態表示部72に「7」が表示される。 The state display process (step S70) is a process for displaying the operation state of the pachinko machine 10 detected by the payout CPU 710 on the state display unit 72. In the present embodiment, the display of the operation state in the state display unit 72 is performed by displaying numbers corresponding to each state. For example, an abnormality occurs in the transmission / reception of commands between the main control board 20 and the payout control board 70. In this case, “0” is displayed on the state display unit 72, and “1” is displayed on the state display unit 72 when a ball break occurs in the ball tank 17, and the card unit 90 is connected to the payout control board 70. If not, “7” is displayed in the status display section 72.

コマンド送信処理(ステップS80)は、払出制御基板70から主制御基板20に2バイト単位の動作状態コマンドを1バイト単位で送信するための処理である。コマンド送信処理の詳細は後述する。 The command transmission process (step S80) is a process for transmitting an operation state command in units of 2 bytes from the payout control board 70 to the main control board 20 in units of 1 byte. Details of the command transmission process will be described later.

B−2.払出定時割り込み処理におけるコマンド受信処理: 図5は、払出定時割り込み処理において実行されるコマンド受信処理(ステップS40)の詳細を示すフローチャートである。コマンド受信処理(ステップS40)は、前述した通り、図4に示した払出定時割り込み処理における種々の処理のうちの一つであり、払出制御基板70の払出CPU710によって実行される。コマンド受信処理は、主制御基板20からシリアルで送信された払出コマンドを受信するための処理である。 B-2. Command Receiving Process in Payout Scheduled Interrupt Process: FIG. 5 is a flowchart showing details of the command receiving process (step S40) executed in the payout scheduled interrupt process. As described above, the command reception process (step S40) is one of various processes in the payout scheduled interrupt process shown in FIG. 4, and is executed by the payout CPU 710 of the payout control board 70. The command reception process is a process for receiving a payout command transmitted serially from the main control board 20.

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

「受信データ有り信号DFbがハイレベル」である場合(ステップS410)には、払出CPU710は、受信バッファレジスタ770に記憶されている払出コマンドの1バイト目を読み出した後(ステップS412)、再び受信バッファレジスタ770に記憶されている払出コマンドの1バイト目を読み出す(ステップS414)。その後、払出CPU710は、1回目に読み出した払出コマンドの1バイト目と、2回目に読み出した払出コマンドの1バイト目とを照合して(ステップS416)、両者が一致するか否かを判断する(ステップS418)。 If “the received data present signal DFb is at the high level” (step S410), the payout CPU 710 reads the first byte of the payout command stored in the reception buffer register 770 (step S412), and then receives it again. The first byte of the payout command stored in the buffer register 770 is read (step S414). Thereafter, the payout CPU 710 compares the first byte of the payout command read out the first time with the first byte of the payout command read out the second time (step S416), and determines whether or not they match. (Step S418).

読み出した払出コマンドの1バイト目が1回目と2回目とで一致する場合には(ステップS418)、払出CPU710は、シリパラIFチップ720のクリアレジスタ782にセット信号を出力し、クリアレジスタ782のビットをセットする(ステップS420)。クリアレジスタ782がセットされることによって、シリパラIFチップ720のシリアル管理部780は、受信バッファレジスタ770に記憶された払出コマンドの1バイト目をクリアし、受信シフトレジスタ760に記憶されていた払出コマンドの2バイト目が、受信バッファレジスタ770に受け渡される。その後、クリアレジスタ782は自動的にリセットされる。 If the first byte of the read out payout command matches the first time and the second time (step S418), the payout CPU 710 outputs a set signal to the clear register 782 of the serial para IF chip 720, and the bit of the clear register 782 Is set (step S420). By setting the clear register 782, the serial management unit 780 of the serial para IF chip 720 clears the first byte of the payout command stored in the reception buffer register 770, and the payout command stored in the reception shift register 760. The second byte is transferred to the reception buffer register 770. Thereafter, the clear register 782 is automatically reset.

払出CPU710は、クリアレジスタ782をセットした後(ステップS420)、受信バッファレジスタ770に記憶されている払出コマンドの2バイト目を、払出コマンドの1バイト目と同様に、2回の読み出しの後に照合を行い(ステップS422,S424,S426)、1回目と2回目とが一致する場合には(ステップS428)、シリパラIFチップ720のクリアレジスタ782にセット信号CBbを出力し、クリアレジスタ782のビットをセットする(ステップS430)。これによって、シリパラIFチップ720のシリアル管理部780は、受信バッファレジスタ770に記憶された払出コマンドの2バイト目をクリアする。 After setting the clear register 782 (step S420), the payout CPU 710 verifies the second byte of the payout command stored in the reception buffer register 770 after two readings in the same manner as the first byte of the payout command. (Steps S422, S424, S426) If the first time and the second time match (Step S428), the set signal CBb is output to the clear register 782 of the serial para IF chip 720, and the bit of the clear register 782 is set. Set (step S430). As a result, the serial management unit 780 of the serial interface IF chip 720 clears the second byte of the payout command stored in the reception buffer register 770.

払出CPU710は、クリアレジスタ782をセットした後(ステップS430)、読み出した払出コマンドの1バイト目と、読み出したコマンドの2バイト目とを照合して(ステップS440)、両者が整合するか否かを判断する(ステップS445)。本実施例では、払出コマンドの2バイト目は、主制御基板20において払出コマンドの1バイト目の各ビットを反転して生成されたデータである。読み出した払出コマンドの1バイト目と2バイト目とが整合する場合には(ステップS445)、払出CPU710は、主制御基板20に対してアック信号を送信するためのアックフラグFaをセットし(ステップS450)、コマンド送信処理を終了する。アックフラグFaは、前述したアック出力処理(ステップS10)において用いられ、払出CPU710に内蔵のレジスタやRAM(図示しない)に格納されるデータである。アックフラグFaは、払出CPU710の起動時には「0」に設定されている。 The payout CPU 710, after setting the clear register 782 (step S430), collates the first byte of the read payout command with the second byte of the read command (step S440) and determines whether or not they match. Is determined (step S445). In this embodiment, the second byte of the payout command is data generated by inverting each bit of the first byte of the payout command on the main control board 20. If the first byte and the second byte of the read out payout command match (step S445), the payout CPU 710 sets an ACK flag Fa for transmitting an ACK signal to the main control board 20 (step S450). ), The command transmission process is terminated. The ack flag Fa is data used in the ack output process (step S10) described above and stored in a register or RAM (not shown) built in the payout CPU 710. The ack flag Fa is set to “0” when the payout CPU 710 is activated.

一方、読み出した払出コマンドの1バイト目または2バイト目が1回目と2回目とで一致しない場合には(ステップS418,S428)、払出CPU710は、次回のコマンド受信に備え受信シフトレジスタ760および受信バッファレジスタ770に記憶されている払出コマンドをクリアするために、クリアレジスタ782のビットをセットした後(ステップS492,S494)、コマンド送信処理を終了する。また、読み出したコマンドの1バイト目と2バイト目とが整合しない場合にも(ステップS445)、払出CPU710は、アックフラグFaをセットすることなくコマンド送信処理を終了する。これによって、払出コマンドが正常でない場合、アック信号は主制御基板20に出力されず、主制御基板20側では、アック信号が返信されないことにより払出コマンドの送信に異常が生じたことを判断することができる。 On the other hand, when the first byte or the second byte of the read out payout command does not match between the first time and the second time (steps S418 and S428), the payout CPU 710 receives the reception shift register 760 and the reception in preparation for the next command reception. In order to clear the payout command stored in the buffer register 770, after setting the bit of the clear register 782 (steps S492 and S494), the command transmission process is terminated. In addition, even when the first byte and the second byte of the read command do not match (step S445), the payout CPU 710 ends the command transmission process without setting the ack flag Fa. As a result, when the payout command is not normal, the ACK signal is not output to the main control board 20, and the main control board 20 determines that an abnormality has occurred in the transmission of the payout command because the ACK signal is not returned. Can do.

図6は、コマンド受信処理(ステップS40)が実行される際の払出制御基板70における各信号の様子を示すタイムチャートである。なお、説明の便宜上、図6では、払出コマンドの1バイト目と2バイト目とのシリアルの送信時間のスケールは、払出CPU710の演算処理時間のスケールと比べ縮小されている。 FIG. 6 is a time chart showing the state of each signal on the payout control board 70 when the command receiving process (step S40) is executed. For convenience of explanation, in FIG. 6, the scale of the serial transmission time of the first byte and the second byte of the payout command is reduced compared to the scale of the calculation processing time of the payout CPU 710.

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

払出コマンドの1バイト目の2回の読み出しが完了した後、クリアレジスタ782のセットに応じて受信バッファレジスタ770がクリアされ、受信データ有り信号DFbはローレベルとなる(タイミングtb15,図5中のステップS420)。その後、受信シフトレジスタ760から受信バッファレジスタ770へと払出コマンドの2バイト目が受け渡されると、受信データ有り信号DFbはハイレベルとなる(タイミングtb16)。 After the second reading of the first byte of the payout command is completed, the reception buffer register 770 is cleared according to the setting of the clear register 782, and the reception data present signal DFb becomes low level (timing tb15, in FIG. 5). Step S420). Thereafter, when the second byte of the payout command is transferred from the reception shift register 760 to the reception buffer register 770, the reception data presence signal DFb becomes high level (timing tb16).

その後、払出コマンドの2バイト目が、コマンドの1バイト目と同様にして受信バッファレジスタ770から読み出される(タイミングtb21〜tb24,図5中のステップS422,S424)。払出コマンドの2バイト目の読み出しが完了した後、クリアレジスタ782のセットに応じて受信バッファレジスタ770がクリアされ、受信データ有り信号DFbはローレベルとなる(タイミングtb25,図5中のステップS430)。 Thereafter, the second byte of the payout command is read from the reception buffer register 770 in the same manner as the first byte of the command (timing tb21 to tb24, steps S422 and S424 in FIG. 5). After the reading of the second byte of the payout command is completed, the reception buffer register 770 is cleared according to the setting of the clear register 782, and the reception data presence signal DFb becomes low level (timing tb25, step S430 in FIG. 5). .

本実施例では、シリパラIFチップ720のサンプリングタイミングは、送信レート(1200bps)の16倍である19.2キロヘルツ(kHz)に設定されている。本実施例では、シリパラIFチップ720は、スタートビットST,払出コマンドの各データビットD0〜D7,ストップビットSPのビット毎に、それぞれ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 transmission rate (1200 bps). In this embodiment, the serial para IF chip 720 performs sampling three times for each of the start bit ST, the data bits D0 to D7 of the payout command, and the stop bit SP, and is detected by the three samplings. Determine the majority value. As a result, the reliability of the payout command reception is improved.

B−3.払出定時割り込み処理におけるアック出力処理: 図7は、払出定時割り込み処理において実行されるアック出力処理(ステップS10)の詳細を示すフローチャートである。アック出力処理(ステップS10)は、前述した通り、図4に示した払出定時割り込み処理における種々の処理のうちの一つであり、払出制御基板70の払出CPU710によって実行される。 B-3. Ac output process in payout scheduled interrupt process: FIG. 7 is a flowchart showing details of an ack output process (step S10) executed in the payout scheduled interrupt process. As described above, the ACK output process (step S10) is one of various processes in the payout scheduled interrupt process shown in FIG. 4, and is executed by the payout CPU 710 of the payout control board 70.

払出CPU710は、図7に示したアック出力処理(ステップS10)を開始すると、アックフラグFaがセットされている場合には(ステップS110)、アック信号をシリパラIFチップ720のパラレルIF部730を介して主制御基板20に出力する(ステップS120)。その後、払出CPU710は、アックフラグFaをリセットした後(ステップS130)、アック出力処理を終了する。アックフラグFaがセットされていない場合には(ステップS110)、払出CPU710は、アック信号を出力せずにアック出力処理を終了する。 The payout CPU 710 starts the ACK output process (step S10) shown in FIG. 7. If the ACK flag Fa is set (step S110), the payout CPU 710 sends the ACK signal via the parallel IF unit 730 of the serial IF chip 720. Output to the main control board 20 (step S120). Thereafter, the payout CPU 710 resets the ack flag Fa (step S130), and ends the ack output process. If the ack flag Fa is not set (step S110), the payout CPU 710 ends the ack output process without outputting an ack signal.

アックフラグFaがセットされている場合とは、図5に示したコマンド受信処理(ステップS40)において、払出コマンドが正常に受信された際にアックフラグFaがセットされた場合(図5中のステップS450)である。図4に示したように、定時割り込み処理において、アック出力処理(ステップS10)の処理は、コマンド受信処理(ステップS40)の処理に優先して先に実行されるため、アックフラグFaがセットされた際には、次回の定時割り込み処理におけるアック出力処理(ステップS10)にてアック信号が出力されることとなる。 The case where the ACK flag Fa is set means that the ACK flag Fa is set when the payout command is normally received in the command reception process (step S40) shown in FIG. 5 (step S450 in FIG. 5). It is. As shown in FIG. 4, in the scheduled interrupt process, the ACK output process (step S10) is executed prior to the command reception process (step S40), so the ACK flag Fa is set. In this case, an ACK signal is output in the ACK output process (step S10) in the next scheduled interrupt process.

B−4.払出定時割り込み処理におけるコマンド送信処理: 図8は、払出定時割り込み処理において実行されるコマンド送信処理(ステップS80)の詳細を示すフローチャートである。コマンド送信処理(ステップS80)は、前述した通り、図4に示した払出定時割り込み処理における種々の処理のうちの一つであり、払出制御基板70の払出CPU710によって実行される。コマンド送信処理は、動作状態コマンドを主制御基板20にシリアルで送信するための処理である。 B-4. Command Sending Process in Payout Scheduled Interrupt Process: FIG. 8 is a flowchart showing details of the command sending process (step S80) executed in the payout scheduled interrupt process. As described above, the command transmission process (step S80) is one of various processes in the payout scheduled interrupt process shown in FIG. 4, and is executed by the payout CPU 710 of the payout control board 70. The command transmission process is a process for serially transmitting an operation state command to the main control board 20.

払出CPU710は、図8に示したコマンド送信処理を開始すると、送信ジョブフラグFjの値を判断する(ステップS810)。送信ジョブフラグFjは、コマンド送信処理における状態を示すフラグであり、払出CPU710の起動時には「0」に設定されており、払出CPU710に内蔵のレジスタやRAM(図示しない)に格納されるデータである。 The payout CPU 710, when starting the command transmission process shown in FIG. 8, determines the value of the transmission job flag Fj (step S810). The transmission job flag Fj is a flag indicating a state in the command transmission processing, and is set to “0” when the payout CPU 710 is activated, and is data stored in a register or RAM (not shown) built in the payout CPU 710. .

「送信ジョブフラグFj=0」の場合には、払出CPU710は、主制御基板20に対して送信すべき動作状態コマンドを準備するためのコマンド準備処理(ステップS815)を実行する。コマンド準備処理では、払出CPU710は、シリパラIFチップ720の複数のポートに入力される各センサからの信号に基づいて、動作状態コマンドを送信する必要があると判断すると、該センサからの信号に基づいて動作状態コマンドの1バイト目を生成する。そして、送信ジョブフラグFjを「1」に設定した後、コマンド準備処理(ステップS815)を終了する。 In the case of “transmission job flag Fj = 0”, the payout CPU 710 executes a command preparation process (step S815) for preparing an operation state command to be transmitted to the main control board 20. In the command preparation process, when the payout CPU 710 determines that it is necessary to transmit an operation state command based on signals from each sensor input to the plurality of ports of the serial para IF chip 720, the payout CPU 710 is based on the signal from the sensor. To generate the first byte of the operation state command. Then, after setting the transmission job flag Fj to “1”, the command preparation process (step S815) is terminated.

「送信ジョブフラグFj=1」の場合には、払出CPU710は、主制御基板20に対して2バイト単位の動作状態コマンドを出力するためのコマンド出力処理を実行し(ステップS820)、「送信ジョブフラグFj=2」の場合には、主制御基板20からのアック信号を確認するためのアック待ち処理を実行する(ステップS860)。払出CPU710は、コマンド準備処理(ステップS815),コマンド出力処理(ステップS820),アック待ち処理(ステップS860)のいずれかを終了した後、コマンド送信処理(ステップS80)を終了する。なお、コマンド出力処理(ステップS820),アック待ち処理(ステップS860)の詳細については後述する。 In the case of “transmission job flag Fj = 1”, the payout CPU 710 executes a command output process for outputting an operation state command in units of 2 bytes to the main control board 20 (step S820). When the flag Fj = 2 ”, an ACK waiting process for confirming an ACK signal from the main control board 20 is executed (step S860). The payout CPU 710 ends the command preparation process (step S815), the command output process (step S820), and the ACK waiting process (step S860), and then ends the command transmission process (step S80). Details of the command output process (step S820) and the ACK waiting process (step S860) will be described later.

図9は、コマンド送信処理(ステップS80)におけるコマンド出力処理(ステップS820)の詳細を示すフローチャートである。払出CPU710は、図9に示すコマンド出力処理(ステップS820)を開始すると、「送信バッファ空き信号TEbがハイレベル」かつ「シリアル送信中信号TCbがローレベル」であるか否か、すなわち、「送信バッファレジスタ740にデータが記憶されていない場合」かつ「送信シフトレジスタ750がシリアルでの送信中でない場合」であるか否かを判断する(ステップS822)。「送信バッファ空き信号TEbがハイレベル」かつ「シリアル送信中信号TCbがローレベル」である場合(ステップS822)には、払出CPU710は、動作状態コマンドの1バイト目の各ビットを反転して、すなわち、1バイト目のビットのうち、「0」であるビットを「1」とし、「1」であるビットを「0」として、動作状態コマンドの残りの下位1バイトである2バイト目を生成する(ステップS834)。本実施例では、動作状態コマンドの1バイト目は、動作状態コマンドとしての実質的な意味を持つデータであり、動作状態コマンドの2バイト目は、主制御基板20側で動作状態コマンドの正誤を判断するためのデータである。 FIG. 9 is a flowchart showing details of command output processing (step S820) in command transmission processing (step S80). When the payout CPU 710 starts the command output process (step S820) shown in FIG. 9, it is determined whether or not “the transmission buffer empty signal TEb is at the high level” and “the serial transmission signal TCb is at the low level”. It is determined whether or not “when no data is stored in the buffer register 740” and “when the transmission shift register 750 is not performing serial transmission” (step S822). When “transmission buffer empty signal TEb is high level” and “serial transmission signal TCb is low level” (step S822), payout CPU 710 inverts each bit of the first byte of the operation state command, That is, among the bits of the first byte, the bit that is “0” is set to “1”, the bit that is “1” is set to “0”, and the second byte that is the remaining lower 1 byte of the operation state command is generated. (Step S834). In this embodiment, the first byte of the operation state command is data having a substantial meaning as the operation state command, and the second byte of the operation state command is the correctness of the operation state command on the main control board 20 side. This is data for judgment.

そして、動作状態コマンドの2バイト目を生成した後(ステップS834)、動作状態コマンドの1バイト目を、送信バッファレジスタ740に書き込む(ステップS842)。その後、予め設定された書込待機期間Lwaの待機を行った後(ステップS844)、生成した動作状態コマンドの2バイト目を、送信バッファレジスタ740に書き込む(ステップS846)。払出CPU710は、動作状態コマンドを出力した後(ステップS846)、送信ジョブフラグFjを「2」に設定し(ステップ850)、コマンド出力処理を終了する。 Then, after generating the second byte of the operation state command (step S834), the first byte of the operation state command is written into the transmission buffer register 740 (step S842). Thereafter, after waiting for a preset write standby period Lwa (step S844), the second byte of the generated operation state command is written to the transmission buffer register 740 (step S846). The payout CPU 710 outputs the operation state command (step S846), sets the transmission job flag Fj to “2” (step 850), and ends the command output process.

ここで、書込待機期間Lwaは、送信バッファレジスタ740への動作状態コマンドの1バイト目の書き込みから、この1バイト目が送信シフトレジスタ750へと受け渡しされるまでの期間である送信レジスタ引渡期間Lbsよりも長い期間であり、その定時割り込み処理の終了までに2バイト目の書き込み処理(図9のステップS846)を実行可能な十分な時間を残す期間であり、次の定時割り込み処理の開始まで長引くような期間ではない。また、書込待機期間Lwaは、動作状態コマンドの1バイト目のシリアルでの送信が完了するまでの期間であるシリアル送信期間Lscよりも短い期間であり、定時割り込み処理の間隔である1msよりも短い期間である。本実施例では、書込待機期間Lwaは、2.5マイクロセカンドに設定されている。なお、本実施例のシリパラIFチップ720のハードウェア仕様による送信レジスタ引渡期間Lbsは、約1.25マイクロセカンドである。また、2バイト目の書き込み処理(図9のステップS846)に要する払出CPU710の演算処理時間が、シリパラIFチップ720の送信レジスタ引渡期間Lbs以上である場合には、図9に示したコマンド待機処理のソフトウェアによる待機処理(ステップS844)は不要である。 Here, the write standby period Lwa is a transmission register delivery period that is a period from the writing of the first byte of the operation state command to the transmission buffer register 740 to the delivery of the first byte to the transmission shift register 750. This is a period longer than Lbs, and is a period in which sufficient time is allowed to execute the second byte write process (step S846 in FIG. 9) until the end of the scheduled interrupt process, and until the start of the next scheduled interrupt process. It is not a long period. The write standby period Lwa is shorter than the serial transmission period Lsc that is a period until the serial transmission of the first byte of the operation state command is completed, and is shorter than 1 ms that is the interval of the scheduled interrupt processing. It is a short period. In this embodiment, the write standby period Lwa is set to 2.5 microseconds. The transmission register delivery period Lbs according to the hardware specifications of the serial para IF chip 720 of this embodiment is about 1.25 microseconds. If the calculation processing time of the payout CPU 710 required for the second byte write process (step S846 in FIG. 9) is equal to or longer than the transmission register delivery period Lbs of the serial IF chip 720, the command wait process shown in FIG. The standby process (step S844) by the software is unnecessary.

図10は、コマンド出力処理(ステップS820)が実行される際の払出制御基板70における各信号の様子を示すタイムチャートである。図9に示したコマンド出力処理にて、「送信バッファ空き信号TEbがハイレベル」かつ「シリアル送信中信号TCbがローレベル」であると判断され(図9中のステップS822)、1バイト目の書き込みが実行される場合には(図9中のステップS842)、パラレルデータTDbに動作状態コマンドの1バイト目の出力が開始され(タイミングta1)、その後、書き込み信号#WRbの立ち下がりによって、送信バッファレジスタ740に動a状態コマンドの1バイト目が書き込まれる(タイミングta2) FIG. 10 is a time chart showing the state of each signal on the payout control board 70 when the command output process (step S820) is executed. In the command output process shown in FIG. 9, it is determined that “the transmission buffer empty signal TEb is at the high level” and “the serial transmission signal TCb is at the low level” (step S822 in FIG. 9). When writing is executed (step S842 in FIG. 9), output of the first byte of the operation state command to the parallel data TDb is started (timing ta1), and then transmitted by the falling edge of the write signal #WRb. The first byte of the motion a state command is written to the buffer register 740 (timing ta2).

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

動作状態コマンドの1バイト目の書き込み(タイミングta2,図9中のステップS842)から、書込待機期間Lwaの待機を経た後(図9中のステップS844)、動作状態コマンドの1バイト目と同様に、送信バッファレジスタ740に動作状態コマンドの2バイト目が書き込まれる(タイミングta4,図9中のステップS846)。この際、送信シフトレジスタ750は、動作状態コマンドの1バイト目をシリアルで送信中であり、動作状態コマンドの2バイト目を送信バッファレジスタ740から受け取ることができないため、送信バッファレジスタ740は、書き込まれた動作状態コマンドの2バイト目を記憶して保持し、送信バッファ空き信号TEbはローレベルとなる(タイミングta4)。 After writing the first byte of the operation state command (timing ta2, step S842 in FIG. 9) and after waiting for the write standby period Lwa (step S844 in FIG. 9), the same as the first byte of the operation state command Then, the second byte of the operation state command is written into the transmission buffer register 740 (timing ta4, step S846 in FIG. 9). At this time, the transmission shift register 750 is serially transmitting the first byte of the operation state command and cannot receive the second byte of the operation state command from the transmission buffer register 740. The second byte of the received operation state command is stored and held, and the transmission buffer empty signal TEb becomes low level (timing ta4).

その後、送信シフトレジスタ750による動作状態コマンドの1バイト目のシリアルでの送信が終了すると、送信バッファレジスタ740は、記憶する動作状態コマンドの2バイト目を送信シフトレジスタ750に引き渡し、この引き渡しが完了するとシリアル管理部780によってクリアされ、送信バッファ空き信号TEbはハイレベルとなる(タイミングta5)。その後、送信シフトレジスタ750は、動作状態コマンドの1バイト目と同様に、送信バッファレジスタ740から受け取った動作状態コマンドの2バイト目をシリアルデータDbaに出力する(タイミングta6〜ta7)。 Thereafter, when the transmission of the first byte of the operation state command by the transmission shift register 750 is completed, the transmission buffer register 740 transfers the second byte of the operation state command to be stored to the transmission shift register 750, and this transfer is completed. Then, it is cleared by the serial manager 780, and the transmission buffer empty signal TEb becomes high level (timing ta5). Thereafter, the transmission shift register 750 outputs the second byte of the operation state command received from the transmission buffer register 740 to the serial data Dba in the same manner as the first byte of the operation state command (timing ta6 to ta7).

本実施例では、払出CPU710は、1msの間隔で定時割り込み処理を繰り返し実行するのに対し、シリパラIFチップ720は、1200bps(Bit Per Second)の送信レートでシリアルでの送信を実行する。1200bpsは、比較的安価なフォトカプラなどの、応答速度が低速の送受信素子を使用することができ、かつ、電気的ノイズの影響を受けない低速の通信速度である。シリアル送信における送信レートを1200bpsとすると、電気的ノイズに対するコマンドの送信の信頼性を確保できる。送信レートが1200bpsなので、本実施例では、シリパラIFチップ720が2バイトの動作状態コマンドをシリアルで送信する時間は約16.7msとなり、払出CPU710は、その間に定時割り込み処理を約16回繰り返し実行することとなる。このように、払出CPU710は、送信バッファレジスタ740にコマンドを書き込んでしまえば、主制御基板20に対する動作状態コマンドのシリアルでの送信をシリパラIFチップ720に任せることができる。つまり、払出CPU710は、シリアルでの送信中(送信バッファレジスタ740に動作状態コマンドが有る状態)であっても、制御処理を中断することなく実行することができる。 In this embodiment, the payout CPU 710 repeatedly executes the scheduled interrupt process at an interval of 1 ms, while the serial para IF chip 720 executes serial transmission at a transmission rate of 1200 bps (Bit Per Second). 1200 bps is a low-speed communication speed that can use a transmission / reception element with a low response speed, such as a relatively inexpensive photocoupler, and is not affected by electrical noise. If the transmission rate in serial transmission is 1200 bps, the reliability of command transmission against electrical noise can be ensured. Since the transmission rate is 1200 bps, in this embodiment, the time required for the serial para IF chip 720 to serially transmit the 2-byte operation state command is about 16.7 ms, and the payout CPU 710 repeatedly executes the scheduled interrupt processing about 16 times during that time. Will be. In this manner, the payout CPU 710 can leave the serial transmission of the operation state command to the main control board 20 to the serial para IF chip 720 if the command is written in the transmission buffer register 740. That is, the payout CPU 710 can execute the control process without interruption even during serial transmission (a state in which the transmission buffer register 740 has an operation state command).

図11は、コマンド送信処理(ステップS80)におけるアック待ち処理(ステップS860)の詳細を示すフローチャートである。払出CPU710は、図11に示すアック待ち処理を開始すると、パラレルIF部730が主制御基板20からのアック信号を検出したか否かを判断する(ステップS862)。アック信号を検出した場合には(ステップS862)、払出CPU710は、コマンドが主制御基板20へと正常に送信されたと判断し(ステップS870)、送信ジョブフラグFjを「0」に設定し(ステップS880)、アック待ち処理を終了する。 FIG. 11 is a flowchart showing details of the ACK waiting process (step S860) in the command transmission process (step S80). When the payout CPU 710 starts the ACK waiting process shown in FIG. 11, it determines whether or not the parallel IF unit 730 has detected an ACK signal from the main control board 20 (step S862). If an ACK signal is detected (step S862), the payout CPU 710 determines that the command has been normally transmitted to the main control board 20 (step S870), and sets the transmission job flag Fj to “0” (step S870). S880), the ACK waiting process is terminated.

一方、アック信号を検出しない場合には(ステップS862)、払出CPU710は、コマンドの書き込み(図9中のステップS84
6)を終えてから所定の時間が経過したか否かを判断する(ステップS864)。この所定の時間は、主制御基板20からのアック信号の返答を待つ時間であり、本実施例では、100msに設定されている。所定の時間が経過していない場合には(ステップS864)、払出CPU710は、そのままアック待ち処理を終了し、所定の時間が経過している場合には(ステップS864)、主制御基板20へのコマンド送信がエラーであると判断し(ステップS875)、送信ジョブフラグFjを「0」に設定した後(ステップS880)、アック待ち処理を終了する。本実施例では、払出CPU710は、動作状態コマンドの主制御基板20への送信がエラーであると判断した場合には(ステップS875)、送信エラーとなった動作状態コマンドを再送する。
On the other hand, when the ACK signal is not detected (step S862), the payout CPU 710 writes the command (step S84 in FIG. 9).
It is determined whether or not a predetermined time has elapsed since the completion of 6) (step S864). This predetermined time is a time for waiting for the response of the ACK signal from the main control board 20, and is set to 100 ms in this embodiment. If the predetermined time has not elapsed (step S864), the payout CPU 710 ends the ACK waiting process as it is, and if the predetermined time has elapsed (step S864), the payout CPU 710 It is determined that the command transmission is an error (step S875), the transmission job flag Fj is set to “0” (step S880), and the ACK waiting process is terminated. In this embodiment, when the payout CPU 710 determines that the transmission of the operation state command to the main control board 20 is an error (step S875), the payout CPU 710 retransmits the operation state command that has caused the transmission error.

ところで、主CPU200が払出コマンドを払出制御基板70に送信した場合も、上記と同様にアック待ち処理を実行する。なお、主CPU200は、アック待ち処理中に入賞口61に遊技球が入賞した場合、払出コマンドを生成する必要がある。主CPU200は、アック待ち処理において、所定時間以上アック信号を受信せずに、払出コマンドの払出制御基板70への送信がエラーであると判断した場合には、払出コマンドの再送に代えて、払出制御基板70からアック信号が返ってくるか否かを再度確認するための確認コマンドを送信する。払出コマンドを再送すると、計2回送信された払出コマンドに基づき、払出制御基板70が払出コマンド2回分の賞球を払い出す可能性があるためである。払出制御基板70は、該確認コマンドを受信した場合は、主制御基板20にアック信号を送信する。払出制御基板70は、該確認コマンドを受信した場合は、動作状態コマンドを送信するものとしても良い。主CPU200は、アック信号を受信すると、次の払出コマンドを払出制御基板70に送信する。 Incidentally, even when the main CPU 200 transmits a payout command to the payout control board 70, an ACK waiting process is executed in the same manner as described above. The main CPU 200 needs to generate a payout command when a game ball wins the winning slot 61 during the ACK waiting process. If the main CPU 200 does not receive an ACK signal for a predetermined time or more in the ACK waiting process and determines that the transmission of the payout command to the payout control board 70 is an error, the main CPU 200 replaces the payout command by resending. A confirmation command for confirming again whether or not an ACK signal is returned from the control board 70 is transmitted. This is because if the payout command is retransmitted, the payout control board 70 may pay out the prize balls for two payout commands based on the payout command transmitted twice in total. The payout control board 70 transmits an acknowledgment signal to the main control board 20 when the confirmation command is received. The payout control board 70 may transmit an operation state command when the confirmation command is received. When receiving the ACK signal, the main CPU 200 transmits the next payout command to the payout control board 70.

以上では、払出CPU710における定時割り込み処理について説明したが、主CPU200においても同様に定時割り込み処理を実行しており、該定時割り込み処理の中で、動作状態コマンドを受信する処理や、アック信号を送信する処理や、払出コマンドを送信する処理や、アック待ち処理を実行する。 Although the scheduled interrupt process in the payout CPU 710 has been described above, the scheduled interrupt process is similarly executed in the main CPU 200. In the scheduled interrupt process, a process for receiving an operation state command and an ACK signal are transmitted. Processing, sending out a payout command, and waiting for ack.

なお、主制御基板20が、払出制御基板70に対して払出コマンドやアック信号を送信する動作は、払出CPU710に代えて演算処理部210、送信バッファレジスタ740に代えて送信バッファレジスタ240、送信シフトレジスタ750に代えて送信シフトレジスタ250、パラレルIF部730に代えてパラレルIF部230が、それぞれ上述した払出制御基板70のアック出力処理(ステップS10)やコマンド送信処理(ステップS80)と同様の動作を行うことによって実現される。 The operation in which the main control board 20 transmits a payout command and an ACK signal to the payout control board 70 is replaced with the arithmetic processing unit 210 instead of the payout CPU 710, the transmission buffer register 240 instead of the transmission buffer register 740, and the transmission shift. The transmission shift register 250 instead of the register 750 and the parallel IF unit 230 instead of the parallel IF unit 730 operate in the same manner as the ACK output process (step S10) and command transmission process (step S80) of the payout control board 70 described above, respectively. It is realized by doing.

また、主制御基板20が、払出制御基板70から動作状態コマンドやアック信号を受信する動作は、払出CPU710に代えて演算処理部210、受信シフトレジスタ760に代えて受信シフトレジスタ260、受信バッファレジスタ770に代えて受信バッファレジスタ270、パラレルIF部730に代えてパラレルIF部230が、それぞれ上述した払出制御基板70のコマンド受信処理(ステップS40)やアック待ち処理(ステップS860)と同様の動作を行うことによって実現される。 Further, the operation in which the main control board 20 receives the operation state command and the ACK signal from the payout control board 70 is replaced with the arithmetic processing unit 210 instead of the payout CPU 710, the reception shift register 260 instead of the reception shift register 760, and the reception buffer register. The reception buffer register 270 instead of 770 and the parallel IF unit 230 instead of the parallel IF unit 730 perform the same operations as the command reception process (step S40) and the ACK waiting process (step S860) of the payout control board 70 described above, respectively. Realized by doing.

以上説明した本実施例のパチンコ機10によれば、アック信号はパラレルで送信されるので、シリアルで送信する場合と比較すると、アック信号を早く主制御基板20に伝達することができる。主制御基板20は、アック信号を早く受信することができれば、次の払出コマンドを払出制御基板70に送信することができるので、主制御基板20の負担を軽減することができる。そして、本実施例のパチンコ機10では、主制御基板20が、ノイズの影響を受けない低速の通信速度でシリアルで払出コマンドを払出制御基板70に送信し、更に、払出CPU710で払出コマンドを正常に受信したか否か判断し、正常に受信したと判断した場合は、払出制御基板70がアック信号を主制御基板20に送信するという手順で払出コマンドの送受信を行っている。これらの手順で払出コマンドの送受信を行うことにより、払出コマンドの信頼性を向上することも可能である。つまり、本実施例のパチンコ機10では、払出コマンドの信頼性を向上しつつ、主制御基板の負担を軽減することが可能である。   According to the pachinko machine 10 of the present embodiment described above, the ACK signal is transmitted in parallel. Therefore, the ACK signal can be transmitted to the main control board 20 faster than in the case of serial transmission. If the main control board 20 can receive the ACK signal early, the next payout command can be transmitted to the payout control board 70, so the burden on the main control board 20 can be reduced. In the pachinko machine 10 according to the present embodiment, the main control board 20 serially transmits a payout command to the payout control board 70 at a low communication speed that is not affected by noise, and the payout CPU 710 executes the normal payout command. The payout control board 70 transmits / receives the payout command in the procedure of sending the ACK signal to the main control board 20 if it is determined that it has been received normally. It is possible to improve the reliability of the payout command by performing sending and receiving of the payout command according to these procedures. That is, in the pachinko machine 10 of the present embodiment, it is possible to reduce the burden on the main control board while improving the reliability of the payout command.

また、本実施例のパチンコ機10では、電気的ノイズの影響を受けない低速の通信速度でシリアルで動作状態コマンドを払出制御基板から主制御基板に送信するので、動作状態コマンドの信頼性も向上することができる。更に、動作状態コマンドを正常に受信することにより、主制御基板20から払出制御基板70に送信されるアック信号は、パラレルで送信される。シリアルとパラレルの2系統で送受信を行う構成であるので、送受信の信頼性を向上させることができる。 Further, in the pachinko machine 10 according to the present embodiment, since the operation state command is serially transmitted from the payout control board to the main control board at a low communication speed that is not affected by electrical noise, the reliability of the operation state command is also improved. can do. Furthermore, when the operation state command is normally received, the ACK signal transmitted from the main control board 20 to the payout control board 70 is transmitted in parallel. Since the transmission / reception is performed in two systems, serial and parallel, the reliability of transmission / reception can be improved.

更に、本実施例のパチンコ機10では、シリパラIFチップ720として、シリアルの送受信を行う受信シフトレジスタ760と、受信バッファレジスタ770と、シリアル管理部780と、送信バッファレジスタ740と、送信シフトレジスタ750と、パラレルの送受信を行うパラレルIF部730が1チップに集積されているので、払出制御基板70のスペースを節約することができる。また、1チップに集積することにより、ノイズの影響を受けにくくなる。なお、本実施例では、シリパラIFチップ720を払出制御基板70に使用しているが、主制御基板20に使用するものとしても良い。主制御基板20に使用すると、主制御基板20のスペースを節約することができる。これら基板のスペースを節約することにより、基板の面積自体が小さくなるので、基板の配置の自由度が高くなる。これにより、パチンコ機10に備えるセンター役物など他の部品の配置の自由度も高くなり、パチンコ機10の興趣を高めるべく部品を配置することができるようになる。 Further, in the pachinko machine 10 of this embodiment, as the serial para IF chip 720, a reception shift register 760 that performs serial transmission / reception, a reception buffer register 770, a serial management unit 780, a transmission buffer register 740, and a transmission shift register 750 Since the parallel IF unit 730 that performs parallel transmission / reception is integrated on one chip, the space of the payout control board 70 can be saved. Also, by integrating on one chip, it is less susceptible to noise. In this embodiment, the serial IF chip 720 is used for the payout control board 70, but it may be used for the main control board 20. When used for the main control board 20, the space of the main control board 20 can be saved. By saving the space of these substrates, the area of the substrate itself is reduced, so that the degree of freedom of arrangement of the substrates is increased. Thereby, the freedom degree of arrangement | positioning of other components, such as a center accessory with which the pachinko machine 10 is equipped, also becomes high, and components can be arrange | positioned now in order to raise the interest of the pachinko machine 10.

また、払出制御基板70側において、払出コマンドを受信した払出定時割り込み処理(図4)の期間内に、払出コマンドに応じた対応を迅速に処理し、後続の払出定時割り込み処理において、毎回同じタイミングで、主制御基板20に対するアック信号を確実に出力することができる。したがって、払出制御を滞らせることなく、払出コマンドの送信の正常性の確認を確実に実施することができる。その結果、主制御基板20と払出制御基板70との間でコマンドを分割してシリアル送信する際におけるコマンドの送信の信頼性を向上させることができる。また、払出定時割り込み処理(図4)では、コマンド受信処理(ステップS40)の後に払出処理(ステップS60)を実行するため、払出制御基板70において払出コマンドを受信した払出割り込み処理の期間内に、払出駆動部75に対して払出コマンドに応じた動作を迅速に指示することができる。 Also, on the payout control board 70 side, the response corresponding to the payout command is quickly processed within the period of the payout scheduled interrupt process (FIG. 4) when the payout command is received, and the same timing every time in the subsequent payout scheduled interrupt process. Thus, an ACK signal for the main control board 20 can be output with certainty. Accordingly, it is possible to reliably check the normality of the payout command transmission without delaying the payout control. As a result, it is possible to improve the reliability of command transmission when the command is divided and serially transmitted between the main control board 20 and the payout control board 70. Further, in the payout scheduled interrupt process (FIG. 4), the payout process (step S60) is executed after the command receiving process (step S40), so that the payout control board 70 receives the payout command within the period of the payout interrupt process. An operation corresponding to the payout command can be quickly instructed to the payout driving unit 75.

C.その他の実施形態: 以上、本発明の実施の形態について説明したが、本発明はこうした実施の形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内において様々な形態で実施し得ることは勿論である。例えば、本実施例では、ステップS418と、ステップS428と、ステップS445の判断で、払出コマンドを正常に受信したと判断し、アックフラグFaをセットしているが、払出コマンドを正常に受信したと判断する場合は、これに限らず、様々である。例えば、ステップS418と、ステップS428と、ステップS445に加え、ステップS50のコマンド解析処理で払出コマンドが示す賞球個数が正常値(例えば1個〜15個)の範囲内であると判断した場合に、払出コマンドを正常に受信したと判断し、アックフラグFaをセットするものとしても良い。ステップS418と、ステップS428と、ステップS445のいずれかで、払出コマンドを正常に受信したと判断するものとしても良い。 C. Other Embodiments Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and can be implemented in various forms without departing from the spirit of the present invention. Of course you get. For example, in this embodiment, it is determined that the payout command has been normally received and the ack flag Fa is set in the determinations in step S418, step S428, and step S445, but it is determined that the payout command has been normally received. When doing, it is not restricted to this but various. For example, in addition to step S418, step S428, and step S445, when it is determined in the command analysis process of step S50 that the number of prize balls indicated by the payout command is within a normal value range (for example, 1 to 15). It is also possible to determine that the payout command has been received normally and set the ack flag Fa. It may be determined that the payout command is normally received in any of step S418, step S428, and step S445.

また、本実施例では、シリアルの送受信とパラレルの送受信を行う部品としてシリパラIFチップ720を用いるものとしたが、シリアルの送受信を行う受信シフトレジスタ760と、受信バッファレジスタ770と、シリアル管理部780と、送信バッファレジスタ740と、送信シフトレジスタ750と、パラレルの送受信を行うパラレルIF部730は1チップに集積されていなくても良い。 In this embodiment, the serial IF chip 720 is used as a component that performs serial transmission / reception and parallel transmission / reception. However, a reception shift register 760, a reception buffer register 770, and a serial management unit 780 that perform serial transmission / reception are used. The transmission buffer register 740, the transmission shift register 750, and the parallel IF unit 730 that performs parallel transmission / reception may not be integrated on one chip.

更に、シリアルIF部220の受信バッファレジスタ270と、受信シフトレジスタ260や、シリパラIFチップ720の送信バッファレジスタ740と、送信シフトレジスタ750は、本発明の趣旨を逸脱しない範囲において、適宜省略可能である。 Further, the reception buffer register 270, the reception shift register 260, the transmission buffer register 740, and the transmission shift register 750 of the serial IF chip 720 can be omitted as appropriate without departing from the spirit of the present invention. is there.

また、本発明の適用は、複数の制御基板を備えた遊技機であれば良く、パチンコ機に限らず、アレンジボールやスロットマシンなどの遊技機にも適用することもできる。また、コマンドを正常に受信できなかった側の基板は、そのコマンドを送信した側の基板に対して、コマンドの再送を要求することとしても良い。この場合に、再送の要求は、シリアルの送信で行うこととしても良いし、パラレルの送信で行うこととしても良い。これによって、コマンドの送信の信頼性を向上させることができる。 Further, the present invention may be applied to a gaming machine provided with a plurality of control boards, and can be applied not only to a pachinko machine but also to a gaming machine such as an arrangement ball or 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 transmission or may be performed by parallel transmission. This can improve the reliability of command transmission.

また、払出定時割り込み処理における種々の処理についての処理は、図4に示した実施例のものに限るものではなく、アック出力処理(ステップS10)が、時間変動処理よりも優先して実行されるものであれば良い。例えば、完了までに要する時間が遊技の進行に応じて割り込み処理毎に一定である処理を、アック出力処理(ステップS10)の前に実行することとしても良い。 Further, the processing for various processing in the payout scheduled interrupt processing is not limited to that in the embodiment shown in FIG. 4, and the ACK output processing (step S10) is executed with priority over the time variation processing. Anything is fine. For example, a process in which the time required for completion is constant for each interrupt process according to the progress of the game may be executed before the ack output process (step S10).

また、送信側CPUが生成する2バイト以上のコマンドは、偶数バイトであることとしても良い。これによって、送信側CPUによる1回の定時割り込み処理あたり2バイト分のコマンドの格納を効率良く実行することができる。例えば、主制御基板20や払出制御基板70は、3バイトの指示コマンドと、その指示コマンドのチェックサムを算出した1バイトのチェックコマンドとから成る計4バイトのコマンドを一群のコマンドとして生成し、4バイトの一群のコマンドを2回分に分けて、2回の定時割り込み処理にて2バイト毎にシリアルで送信することとしても良い。また、主制御基板20や払出制御基板70は、3バイトの指示コマンドと、1バイトのチェックコマンドとの各ビットを反転させた4バイトの反転コマンドも併せて、計8バイトのコマンドを一群のコマンドとして生成し、8バイトの一群のコマンドを4回に分けて、4回の定時割り込み処理にて2バイト毎にシリアルで送信することとしても良い。 Further, a command of 2 bytes or more generated by the sending CPU may be an even number of bytes. As a result, it is possible to efficiently store a 2-byte command per one-time interrupt process by the sending CPU. For example, the main control board 20 and the payout control board 70 generate a total of 4-byte commands consisting of a 3-byte instruction command and a 1-byte check command obtained by calculating the checksum of the instruction command as a group of commands. A group of commands of 4 bytes may be divided into two parts and transmitted serially every two bytes by two scheduled interrupt processes. In addition, the main control board 20 and the payout control board 70, together with a 4-byte inversion command obtained by inverting each bit of the 3-byte instruction command and the 1-byte check command, a total of 8-byte commands are grouped. It is also possible to generate a command as a command, divide a group of commands of 8 bytes into four times, and transmit serially every two bytes by four 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. 払出制御基板70による払出定時割り込み処理を示すフローチャートである。7 is a flowchart showing a payout fixed time interruption process by the payout control board 70; 払出定時割り込み処理において実行されるコマンド受信処理(ステップS40)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the command reception process (step S40) performed in the payment fixed time interruption process. コマンド受信処理(ステップS40)が実行される際の払出制御基板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 (step S40) being performed. 払出定時割り込み処理において実行されるアック出力処理(ステップS10)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the ack output process (step S10) performed in the payment fixed time interruption process. 払出定時割り込み処理において実行されるコマンド送信処理(ステップS80)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the command transmission process (step S80) performed in a payment fixed time interruption process. コマンド送信処理(ステップS80)におけるコマンド出力処理(ステップS820)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the command output process (step S820) in a command transmission process (step S80). コマンド出力処理(ステップS820)が実行される際の払出制御基板70における各信号の様子を示すタイムチャートである。It is a time chart which shows the mode of each signal in the payout control board 70 at the time of command output processing (step S820) being performed. コマンド送信処理(ステップS80)におけるアック待ち処理(ステップS860)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the ACK waiting process (step S860) in a command transmission process (step S80).

符号の説明Explanation of symbols

10…パチンコ機 11…外枠 12…内枠 13…遊技板 14…ガラス枠 15…ハンドル 17…球タンク 19…下皿 20…主制御基板 30…図柄制御基板 35…LCD 40…サブ制御基板 45…スピーカ 55,56,57,58,59…電飾 61…入賞口 65…遊技球センサ 66…遊技板駆動部 70…払出制御基板 72…状態表示部 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…シリアル管理部 782…クリアレジスタ CBb…セット信号 Fa…アックフラグ Fj…ジョブフラグ Dab…シリアルデータ Dba…シリアルデータ Lbs…送信レジスタ引渡期間 Lsc…シリアル送信期間 Lwa…書込待機期間

DESCRIPTION OF SYMBOLS 10 ... Pachinko machine 11 ... Outer frame 12 ... Inner frame 13 ... Game board 14 ... Glass frame 15 ... Handle 17 ... Ball tank 19 ... Lower plate 20 ... Main control board 30 ... Symbol 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 ... Payout control board 72 ... Status display unit 75 ... Payout drive unit 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 I / F Chip 730 ... Parallel IF unit 740 ... Transmission buffer register 750 ... Transmission Shift register 760 ... Reception shift register 770 ... Reception buffer register 780 ... Serial management unit 782 ... Clear register CBb ... Set signal Fa ... Acknowledgment flag Fj ... Job flag Dab ... Serial data Dba ... Serial data Lbs ... Transmission register delivery period Lsc ... Serial transmission Period Lwa ... Writing standby period

Claims (3)

遊技機であって、 遊技の進行を制御する主制御基板と、
前記主制御基板から送信される遊技球または遊技メダルの払い出しに関するコマンドである払出コマンドに基づいて、遊技球または遊技メダルの払い出しを制御する払出制御基板と、
を備え、 前記主制御基板は、 前記払出制御基板に、電気的ノイズの影響を受けない低速の通信速度で、シリアルでコマンドを送信する主制御基板シリアル送信部と、 該主制御基板における汎用パラレルポートのうちの一部のポートである主制御基板パラレル受信ポートと、 を備え、 前記払出制御基板は、 前記主制御基板から、電気的ノイズの影響を受けない低速の通信速度で、シリアルでコマンドを受信する払出制御基板シリアル受信部と、 該払出制御基板における汎用パラレルポートのうちの一部のポートである払出制御基板パラレル送信ポートと、 定時間割り込み処理を繰り返し実行して、前記払い出しに関する処理を行う払出制御基板中央演算処理装置と、 を備え、 前記払出コマンドは、前記主制御基板シリアル送信部から前記払出制御基板シリアル受信部へシリアルで送信され、 前記払出制御基板中央演算処理装置は、前記払出コマンドを正常に受信したと判断した場合は、払出コマンド確認信号を、前記払出制御基板パラレル送信ポートを介して出力し、 前記払出コマンド確認信号は、前記払出制御基板パラレル送信ポートから前記主制御基板パラレル受信ポートへパラレルで送信されることを特徴とする、 遊技機。
A main control board for controlling the progress of the game,
A payout control board that controls payout of game balls or game medals based on payout commands that are commands related to payout of game balls or game medals transmitted from the main control board;
The main control board includes: a main control board serial transmission unit that serially transmits a command to the payout control board at a low communication speed not affected by electrical noise; and a general-purpose parallel in the main control board A main control board parallel reception port, which is a part of the ports, and the payout control board is a serial command at a low communication speed not affected by electrical noise from the main control board. The payout control board serial reception unit for receiving the payout control board, the payout control board parallel transmission port which is a part of the general-purpose parallel port in the payout control board, and the process related to the payout by repeatedly executing the interrupt processing for a predetermined time. A payout control board central processing unit for performing, and the payout command is sent from the main control board serial transmission unit When the payout control board central processing unit determines that the payout command has been received normally, the payout control board serial reception unit sends a payout command confirmation signal to the payout control board parallel transmission port. The payout command confirmation signal is transmitted in parallel from the payout control board parallel transmission port to the main control board parallel reception port.
請求項1記載の遊技機であって、 前記主制御基板は、 前記払出制御基板から、電気的ノイズの影響を受けない低速の通信速度で、シリアルでコマンドを受信する主制御基板シリアル受信部と、 前記主制御基板における汎用パラレルポートのうちの一部のポートである主制御基板パラレル送信ポートと、 定時間割り込み処理を繰り返し実行して、前記遊技の進行の制御に関する処理を行う主制御基板中央演算処理装置と、 を備え、 前記払出制御基板は、 前記主制御基板に、電気的ノイズの影響を受けない低速の通信速度で、シリアルでコマンドを送信する払出制御基板シリアル送信部と、 前記払出制御基板における汎用パラレルポートのうちの一部のポートである払出制御基板パラレル受信ポートと、 を備え、 前記払出制御基板中央演算処理装置は、前記遊技機の所定の動作状態を検知し、該動作状態を示すコマンドである動作状態コマンドを、前記払出制御基板シリアル送信部を介して出力し、 前記動作状態コマンドは、前記払出制御基板シリアル送信部から前記主制御基板シリアル受信部へシリアルで送信され、 前記主制御基板中央演算処理装置は、前記動作状態コマンドを正常に受信したと判断した場合は、動作状態コマンド確認信号を、前記主制御基板パラレル送信ポートを介して出力し、 前記動作状態コマンド確認信号は、前記主制御基板パラレル送信ポートから前記払出制御基板パラレル受信ポートへパラレルで送信されることを特徴とする、 遊技機。 2. The gaming machine according to claim 1, wherein the main control board includes a main control board serial receiving unit that serially receives commands from the payout control board at a low communication speed that is not affected by electrical noise. A main control board parallel transmission port which is a part of general-purpose parallel ports in the main control board, and a main control board center which performs processing related to the control of the progress of the game by repeatedly executing a fixed-time interrupt process A payout control board serial transmission unit that serially transmits a command to the main control board at a low communication speed that is not affected by electrical noise, and the payout control board. A payout control board parallel receiving port which is a part of general-purpose parallel ports on the control board, and the payout system The substrate central processing unit detects a predetermined operation state of the gaming machine, and outputs an operation state command that is a command indicating the operation state via the payout control substrate serial transmission unit, and the operation state command is , Serially transmitted from the payout control board serial transmission unit to the main control board serial reception unit, and when the main control board central processing unit determines that the operation state command has been normally received, the operation state command A confirmation signal is output via the main control board parallel transmission port, and the operation state command confirmation signal is transmitted in parallel from the main control board parallel transmission port to the payout control board parallel reception port. A game machine. 請求項1記載の遊技機であって、 前記払出制御基板シリアル受信部と、前記払出制御基板における汎用パラレルポートは、1チップに集積されていることを特徴とする、 遊技機。 2. The gaming machine according to claim 1, wherein the payout control board serial receiving unit and the general-purpose parallel port in the payout control board are integrated on one chip.
JP2006037723A 2006-02-15 2006-02-15 Game machine Pending JP2007215645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006037723A JP2007215645A (en) 2006-02-15 2006-02-15 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006037723A JP2007215645A (en) 2006-02-15 2006-02-15 Game machine

Publications (1)

Publication Number Publication Date
JP2007215645A true JP2007215645A (en) 2007-08-30

Family

ID=38493539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006037723A Pending JP2007215645A (en) 2006-02-15 2006-02-15 Game machine

Country Status (1)

Country Link
JP (1) JP2007215645A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013111429A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013111426A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013111430A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013111427A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013111428A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013163085A (en) * 2013-05-28 2013-08-22 Sankyo Co Ltd Game machine
JP2013163084A (en) * 2013-05-28 2013-08-22 Sankyo Co Ltd Game machine
JP2013163086A (en) * 2013-05-28 2013-08-22 Sankyo Co Ltd Game machine
JP2013163083A (en) * 2013-05-28 2013-08-22 Sankyo Co Ltd Game machine
JP2014133017A (en) * 2013-01-11 2014-07-24 Sankyo Co Ltd System for game, device for game, and game control device
JP2014155691A (en) * 2013-12-12 2014-08-28 Sanyo Product Co Ltd Game machine
JP2014188060A (en) * 2013-03-26 2014-10-06 Sammy Corp Game machine
JP2015003067A (en) * 2014-09-04 2015-01-08 株式会社三洋物産 Game machine
JP2015003065A (en) * 2014-09-04 2015-01-08 株式会社三洋物産 Game machine
JP2015003064A (en) * 2014-09-04 2015-01-08 株式会社三洋物産 Game machine
JP2015003066A (en) * 2014-09-04 2015-01-08 株式会社三洋物産 Game machine
JP2015027488A (en) * 2014-09-04 2015-02-12 株式会社三洋物産 Game machine
JP2016187744A (en) * 2016-08-11 2016-11-04 株式会社三洋物産 Game machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005152622A (en) * 2003-11-07 2005-06-16 Daiichi Shokai Co Ltd Game machine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005152622A (en) * 2003-11-07 2005-06-16 Daiichi Shokai Co Ltd Game machine

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013111429A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013111426A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013111430A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013111427A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2013111428A (en) * 2011-11-30 2013-06-10 Sanyo Product Co Ltd Game machine
JP2014133017A (en) * 2013-01-11 2014-07-24 Sankyo Co Ltd System for game, device for game, and game control device
JP2014188060A (en) * 2013-03-26 2014-10-06 Sammy Corp Game machine
JP2013163083A (en) * 2013-05-28 2013-08-22 Sankyo Co Ltd Game machine
JP2013163086A (en) * 2013-05-28 2013-08-22 Sankyo Co Ltd Game machine
JP2013163084A (en) * 2013-05-28 2013-08-22 Sankyo Co Ltd Game machine
JP2013163085A (en) * 2013-05-28 2013-08-22 Sankyo Co Ltd Game machine
JP2014155691A (en) * 2013-12-12 2014-08-28 Sanyo Product Co Ltd Game machine
JP2015003067A (en) * 2014-09-04 2015-01-08 株式会社三洋物産 Game machine
JP2015003065A (en) * 2014-09-04 2015-01-08 株式会社三洋物産 Game machine
JP2015003064A (en) * 2014-09-04 2015-01-08 株式会社三洋物産 Game machine
JP2015003066A (en) * 2014-09-04 2015-01-08 株式会社三洋物産 Game machine
JP2015027488A (en) * 2014-09-04 2015-02-12 株式会社三洋物産 Game machine
JP2016187744A (en) * 2016-08-11 2016-11-04 株式会社三洋物産 Game machine

Similar Documents

Publication Publication Date Title
JP2007215645A (en) Game machine
JP5996002B2 (en) Game machine
JP2011000242A (en) Game machine
JP2007275209A (en) Game machine
JP2002292052A (en) Game machine
JP5592645B2 (en) Game machine
JP4777009B2 (en) Game machine
JP4635169B2 (en) Game machine
JP4512796B2 (en) Game machine
JP2011000250A (en) Game machine
JP2007089912A (en) Game machine
JP4772443B2 (en) Game machine
JP2007296029A (en) Game machine
JP5188036B2 (en) Control board for gaming machines
JP4803762B2 (en) Game machine
JP5577050B2 (en) Game machine
JP4772444B2 (en) Game machine
JP5417570B2 (en) Game ball rental system, card unit, payout control device, and game machine
JP5694436B2 (en) Game machine
JP4777010B2 (en) Game machine
JP6321715B2 (en) Game machine
JP5568723B2 (en) Game machine
JP5923561B2 (en) Game machine
JP4869684B2 (en) Game machine and main control board thereof
JP2014223388A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20090130

Free format text: JAPANESE INTERMEDIATE CODE: A621

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090319

A131 Notification of reasons for refusal

Effective date: 20120110

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120508