JP5750088B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5750088B2
JP5750088B2 JP2012201672A JP2012201672A JP5750088B2 JP 5750088 B2 JP5750088 B2 JP 5750088B2 JP 2012201672 A JP2012201672 A JP 2012201672A JP 2012201672 A JP2012201672 A JP 2012201672A JP 5750088 B2 JP5750088 B2 JP 5750088B2
Authority
JP
Japan
Prior art keywords
configuration data
error
communication error
communication
control information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012201672A
Other languages
Japanese (ja)
Other versions
JP2014054433A (en
Inventor
敏博 剌田
敏博 剌田
輝文 段上
輝文 段上
Original Assignee
山佐株式会社
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 山佐株式会社 filed Critical 山佐株式会社
Priority to JP2012201672A priority Critical patent/JP5750088B2/en
Publication of JP2014054433A publication Critical patent/JP2014054433A/en
Application granted granted Critical
Publication of JP5750088B2 publication Critical patent/JP5750088B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、遊技機の不正行為防止技術に関する。   The present invention relates to a technique for preventing illegal acts of gaming machines.

スロットマシンやパチンコ機等の遊技機は、制御負担を分散させるため、複数の制御基板で構成されることがある。これらの遊技機では、制御基板同士を信号線で接続し、一方の制御基板から他方の制御基板へコマンドを送信することにより、各制御基板が実行する処理を連動させ、各制御基板が実行する処理が一体的な遊技機の動作となることを実現している。   A gaming machine such as a slot machine or a pachinko machine may be composed of a plurality of control boards in order to distribute the control burden. In these gaming machines, the control boards are connected to each other by a signal line, and a command is transmitted from one control board to the other control board, so that the processes executed by each control board are interlocked and executed by each control board. It realizes that the processing becomes the operation of an integrated gaming machine.

例えば、特許文献1に記載の遊技機は、遊技において所定役が連続して入賞したときに、遊技者に対して所定の利益を付与する遊技内容を有しているが、かかる遊技機では、入賞自体はメイン制御基板で制御し、所定役の連続入賞による利益付与はサブ制御基板で制御している。具体的には、メイン制御基板は、入賞が発生するたびにサブ制御基板へ入賞の発生と入賞の種類を通知するコマンドを送信する。そして、サブ制御基板は、メイン制御手段から送信されるコマンドに基づいて所定役に連続入賞した回数を計数し、所定役に入賞しなかったことを示すコマンドを受信した場合には、計数していた回数をゼロに戻し、計数した入賞回数が所定の値に達すると遊技者に所定の利益を付与するように構成されている。   For example, the gaming machine described in Patent Document 1 has a game content that gives a predetermined profit to a player when a predetermined role continuously wins in a game. In such a gaming machine, The winning itself is controlled by the main control board, and the profit granting by the continuous winning of the predetermined role is controlled by the sub-control board. Specifically, every time a winning occurs, the main control board transmits a command notifying the occurrence of winning and the type of winning to the sub control board. The sub-control board counts the number of consecutive winnings in a predetermined combination based on the command transmitted from the main control means, and counts when receiving a command indicating that the predetermined combination has not been won. When the counted number of winnings reaches a predetermined value, the player is given a predetermined profit.

また、特許文献2に記載の遊技機は、コマンドを受信する側の制御基板で、通信エラーを検出する手段を備えている。具体的には、特許文献2記載の遊技機は、受信側の制御基板に正規のコマンドを予め記憶したコマンドデータ記憶部を備え、受信したコマンドをコマンドデータ記憶部に記憶されたデータと照合する。かかる構成によれば、受信したコマンドが改変・欠損していた場合には、コマンドデータ記憶部に記憶されているデータと照合した時に不一致となるため、通信エラーとして検出できる。   In addition, the gaming machine described in Patent Document 2 includes a means for detecting a communication error on a control board that receives a command. Specifically, the gaming machine described in Patent Document 2 includes a command data storage unit that stores a regular command in advance on a control board on the receiving side, and compares the received command with data stored in the command data storage unit. . According to such a configuration, when the received command is altered or missing, it does not match when collated with the data stored in the command data storage unit, so that it can be detected as a communication error.

特開2012−081176号公報JP 2012-081176 A 特開2001−058067号公報JP 2001-058067 A

ところで、近年、上記特許文献1記載の遊技機等に対して、コマンドの通信を妨害する不正行為が横行している。例えば、特許文献1記載の遊技機では、所定役の連続入賞が途切れてしまった場合でも、所定役に入賞しなかったことを示すコマンドの通信を妨害すれば、所定役の連続入賞が継続中であるとサブ制御基板に誤認させることができるから、所定役の連続入賞による利益を得やすくなる。具体的には、所定役に入賞しなかった場合に、メイン制御基板とサブ制御基板の通信経路に意図的に電波を照射することで、所定役に入賞しなかったことを示すコマンドの送受信を妨害することが挙げられる。また、所定役に入賞しなかったことを示すコマンドが送信される瞬間にサブ制御基板の電源を瞬間的にショートさせる等の手法によりサブ制御基板が有する受信機能を瞬間的に機能不全とするといった手法も挙げられる。   By the way, in recent years, fraudulent acts that obstruct command communication have prevailed against the gaming machine described in Patent Document 1. For example, in the gaming machine described in Patent Document 1, even if the consecutive winning of the predetermined role is interrupted, if the communication of the command indicating that the predetermined role has not been won is interrupted, the continuous winning of the predetermined role is continued. If it is, the sub-control board can be misidentified, so that it is easy to obtain a profit by consecutive winning of a predetermined role. Specifically, when a predetermined combination is not won, a command indicating that the predetermined combination has not been won is transmitted / received by intentionally radiating radio waves to the communication path between the main control board and the sub-control board. Interfering can be mentioned. In addition, the reception function of the sub control board is instantaneously malfunctioned by a method such as instantaneously shorting the power supply of the sub control board at the moment when a command indicating that the predetermined role is not won is transmitted. A method is also mentioned.

上記のような不正行為は、放置すると遊技機を設置しているホールに多大な損害をもたらすため厳重に取り締まる必要がある。上記特許文献2に記載のエラー検出方法は、コマンドの改変・欠損を検出できるため、かかる不正行為は通信エラーとして検出できる。しかしながら、従来の遊技機では、コマンドの改変や消失を検出した場合でも、厳重な対応は行っていない。なぜならば、制御情報の改変や欠損は、通信手段が正常に作動している場合でも自然発生的に生じることがあるため、コマンドの改変や消失を検出するたびに厳重な対応をしてしまうと、正しく遊技を行っている遊技者に不利益を与えてしまうためである。   If such illegal acts are left unattended, it will cause a great deal of damage to the hall where the gaming machine is installed. Since the error detection method described in Patent Document 2 can detect command alteration / missing, such an illegal act can be detected as a communication error. However, in the conventional gaming machine, even when a command alteration or disappearance is detected, no strict response is performed. This is because the control information modification or loss may occur spontaneously even when the communication means is operating normally. This is because the player who plays the game correctly is disadvantaged.

本発明は、上記問題を解決し得る遊技機の提供を目的とする。   An object of this invention is to provide the game machine which can solve the said problem.

発明者は、上記問題を解決すべく鋭意検討を行ったところ、上記不正行為によってコマンド(制御情報)の通信が妨害された場合は、コマンドが比較的大きく欠損することを見出した。これは、制御基板間に設けられた通信回路で制御情報が所定の構成データ単位で転送されているところ、自然発生的な通信エラーでは、データ転送時のフレーミングエラーによって構成データ1個単位で受信不能となるのに対し、上記不正行為による場合には、自然的発生的なものより長く通信回路に障害が発生することにより、構成データが複数個連続して受信不能となり易いためと考えられる。そして、発明者は、構成データが通信回路を介して一定間隔で送信されているのに着目し、本発明に至った。   The inventor conducted intensive studies to solve the above problem, and found that when the communication of the command (control information) is hindered by the illegal action, the command is relatively largely lost. This is because control information is transferred in units of a predetermined configuration data in a communication circuit provided between control boards, and a spontaneous communication error is received in units of configuration data due to a framing error during data transfer. On the other hand, in the case of the above-mentioned fraudulent act, it is considered that a failure occurs in the communication circuit for a longer time than a naturally occurring one, so that a plurality of configuration data cannot be received continuously. The inventor has focused on the fact that the configuration data is transmitted at regular intervals via the communication circuit, and has reached the present invention.

本発明は、制御情報を送信する第一の制御手段と、該第一の制御手段から受信した前記制御情報に基づいて制御を行う第二の制御手段と、所定の構成データを転送単位として前記第一の制御手段から前記第二の制御手段にデータを転送する通信手段とを備えた遊技機であって、前記第一の制御手段は、前記制御情報を生成する制御情報生成手段と、該制御情報生成手段により生成された前記制御情報を、前記通信手段を介して前記構成データ単位で、所定の送信間隔で1個ずつ送信する送信手段とを備え、前記第二の制御手段は、前記通信手段を介して前記構成データ単位で前記制御情報を受信する受信手段と、該受信手段が前記構成データを受信する受信間隔が、第一の判定時間を超えた状態を第一の通信エラーとして検出する第一の通信エラー検出手段とを備え、前記第一の判定時間は、前記送信手段による前記構成データの前記送信間隔の2倍以上の長さであることを特徴とする遊技機である。   The present invention includes a first control unit that transmits control information, a second control unit that performs control based on the control information received from the first control unit, and the predetermined configuration data as a transfer unit. A gaming machine comprising communication means for transferring data from the first control means to the second control means, wherein the first control means comprises control information generating means for generating the control information; and A transmission unit that transmits the control information generated by the control information generation unit one by one at a predetermined transmission interval in units of the configuration data via the communication unit, and the second control unit includes: A receiving means for receiving the control information in units of the configuration data via the communication means, and a state in which the reception interval at which the receiving means receives the configuration data exceeds a first determination time is defined as a first communication error. First communication to detect And a error detection unit, the first determination time is a game machine, wherein said more than twice of the length of the transmission interval of the configuration data by the transmitting means.

自然発生的に生じる通信エラーの場合でも、不正行為に起因する通信エラーの場合でも、構成データの受信に失敗することで、構成データの受信間隔が正常時よりも長くなるが、上述のように、不正行為に起因する場合は、構成データを複数個連続して受信不能となることが多いため、構成データの受信間隔は、自然発生的なものに比べて長くなる。このため、本発明にあっては、第一の判定時間を適切な長さに設定し、自然発生的な通信エラーで生じるような受信間隔を排除することで、不正行為に起因する通信エラーのみを第一の通信エラーとして検出できる。   Even in the case of a communication error that occurs spontaneously or in the case of a communication error due to fraudulent activity, the configuration data reception interval will be longer than normal due to failure to receive the configuration data. When it is caused by fraud, it is often impossible to continuously receive a plurality of pieces of configuration data, so that the reception interval of the configuration data is longer than that naturally occurring. For this reason, in the present invention, by setting the first determination time to an appropriate length and eliminating a reception interval that occurs due to a spontaneous communication error, only communication errors caused by fraud Can be detected as the first communication error.

本発明の具体的な構成としては、前記第一の通信エラー検出手段は、前記受信手段が前記構成データを受信したか否かを一定間隔で判定する受信状態確認手段と、該受信状態確認手段が、前記構成データを新規に受信していないと連続して判定する回数を計数する未受信回数計数手段とを備え、該未受信回数計数手段の計数回数が、前記第一の判定時間に相当する回数に達すると、前記第一の通信エラーとして検出するものである構成が提案される。かかる構成にあっては、第一の通信エラー検出手段を好適に実現できる。   As a specific configuration of the present invention, the first communication error detection unit includes a reception state confirmation unit that determines whether the reception unit has received the configuration data at regular intervals, and the reception state confirmation unit. Comprises a non-reception count counting means for counting the number of times of continuous determination that the configuration data has not been newly received, and the count count of the non-reception count counting means corresponds to the first determination time. A configuration is proposed in which the first communication error is detected when the number of times reached. In such a configuration, the first communication error detection means can be suitably realized.

本発明にあって、前記第一の通信エラーとは異なる事象を第二の通信エラーとして検出する第二の通信エラー検出手段と、前記第二の通信エラーの検出回数を計数するエラー計数手段と、所定条件の成立により前記エラー計数手段を初期化する初期化手段と、前記第一の通信エラーを検出した場合、又は、前記エラー計数手段の計数回数が第一の検出回数に達した場合に、第一のエラー処理を実行する第一のエラー処理実行手段とを備える構成が提案される。   In the present invention, a second communication error detecting means for detecting an event different from the first communication error as a second communication error, and an error counting means for counting the number of detection times of the second communication error Initializing means for initializing the error counting means upon establishment of a predetermined condition, and when the first communication error is detected, or when the number of counts of the error counting means reaches the first number of detections. A configuration comprising a first error processing execution means for executing the first error processing is proposed.

かかる構成にあっては、第一の通信エラーに加えて、第二の通信エラーの検出も行い、夫々の通信エラーの検出に基づいて第一のエラー処理を実行することで、不正行為に起因する通信エラーをより確実に取り締まることが可能となる。ここで、第二の通信エラーでは、不正行為に起因する通信エラーと自然発生的な通信エラーを区別できないため、第二の通信エラー検出時に即座に第一の通信エラー処理を実行すると弊害が生じることとなるが、本構成では、エラー計数手段と初期化手段を適宜設定し、自然発生的な通信エラーでは生じ得ない頻度で第二の通信エラーを検出した場合にのみ、第一の通信エラー処理を実行させることで、かかる弊害を解消できる。   In such a configuration, in addition to the first communication error, the second communication error is also detected, and the first error processing is performed based on the detection of each communication error, resulting in fraud. It is possible to more reliably control communication errors. Here, since the second communication error cannot distinguish between a communication error caused by fraud and a spontaneous communication error, if the first communication error process is executed immediately upon detection of the second communication error, a harmful effect occurs. However, in this configuration, the first communication error is set only when the error counting means and the initialization means are appropriately set, and the second communication error is detected at a frequency that cannot occur due to a spontaneous communication error. Such an adverse effect can be eliminated by executing the processing.

また、上記構成にあって、前記第二の通信エラー検出手段は、前記受信手段が前記構成データを受信する受信間隔が第二の判定時間を超えた状態を前記第二の通信エラーとして検出するものであり、前記第二の判定時間は、前記送信手段による前記構成データの前記送信間隔以上の長さで、かつ前記第一の判定時間よりも短いことが提案される。 Further, in the above configuration, the second communication error detection unit detects, as the second communication error, a state where a reception interval at which the reception unit receives the configuration data exceeds a second determination time. Therefore, it is proposed that the second determination time is longer than the transmission interval of the configuration data by the transmission unit and shorter than the first determination time.

かかる構成にあっては、第一の通信エラーと第二の通信エラーは、共に構成データの受信間隔に基づくものであるため、第一の通信エラー検出手段と第二の通信エラー検出手段は、構成データの受信間隔を監視するための手段を共通化することができる。したがって、本構成によれば、第一の通信エラーと第二の通信エラーの検出を簡単な構成で実現できるという利点がある。 In such a configuration, since the first communication error and the second communication error are both based on the reception interval of the configuration data, the first communication error detection means and the second communication error detection means are: A means for monitoring the reception interval of the configuration data can be shared. Therefore, according to this configuration, there is an advantage that the first communication error and the second communication error can be detected with a simple configuration.

また、上記構成にあって、前記第一の制御手段は、誤り訂正符号を含む制御情報を送信するものであり、前記第二の通信エラーは、前記誤り検出符号に基づいて検出される前記制御情報の誤りであることが提案される。   Further, in the above configuration, the first control unit transmits control information including an error correction code, and the second communication error is detected based on the error detection code. It is proposed to be an information error.

かかる構成にあっては、構成データを受信できない場合だけでなく、構成データが改変される場合も、不正行為に起因する通信エラーとして取締可能となる。   In such a configuration, not only when the configuration data cannot be received, but also when the configuration data is modified, it is possible to control as a communication error caused by fraud.

また、上記構成にあって、前記エラー計数手段の計数回数が、前記第一の検出回数未満の第二の検出回数に達した場合に、前記第一のエラー処理とは異なる第二のエラー処理を実行する第二のエラー処理実行手段を備えることが提案される。   Further, in the above configuration, a second error process different from the first error process when the count number of the error counter means reaches a second detection number less than the first detection number. It is proposed to include second error processing execution means for executing.

かかる構成にあっては、第二の通信エラーの検出に関しては、第一のエラー処理が実行される前に、第二のエラー処理が実行されることとなる。このように、段階的にエラー処理を実行すれば、遊技の中断などの厳しいエラー処理を実行する前に、比較的軽めのエラー処理を実行して、遊技機の運用に影響を与えないレベルで通信エラーに対処することが可能となる。   In such a configuration, regarding the detection of the second communication error, the second error process is executed before the first error process is executed. In this way, if error processing is executed in stages, a relatively light error processing is executed before severe error processing such as game interruption is executed, so that the level of the game machine operation is not affected. It is possible to deal with communication errors.

また、本発明にあって、前記制御情報生成手段は、前記送信手段が送信すべき前記制御情報が存在しない場合に特定の制御情報を生成するものであり、前記送信手段は、前記特定の制御情報を送信することで、複数の前記制御情報の送信期間にわたって、前記構成データを前記送信間隔で休みなく送信する構成が提案される。   Further, in the present invention, the control information generation unit generates specific control information when the control information to be transmitted by the transmission unit does not exist, and the transmission unit includes the specific control information. By transmitting information, a configuration is proposed in which the configuration data is transmitted without interruption at the transmission intervals over a plurality of transmission periods of the control information.

かかる構成にあっては、複数の制御情報の受信期間にわたって第一の通信エラー検出手段を有効にできるから、不正行為に起因する通信エラーを間断なく監視可能となる。また、かかる構成では、制御情報の全構成データを第二の制御手段で受信できなかった場合でも、第一の通信エラー検出手段で検出可能となる。   In such a configuration, since the first communication error detecting means can be validated over a plurality of control information reception periods, it is possible to continuously monitor communication errors caused by fraudulent acts. Further, in such a configuration, even when all the configuration data of the control information cannot be received by the second control unit, it can be detected by the first communication error detection unit.

以上に述べたように、本発明によれば、不正行為に起因すると考えられる通信エラーのみを第一の通信エラーとして検出可能となるため、かかる第一の通信エラーの検出に基づいて厳しい対応措置を取ったとしても、正しく遊技をしている遊技者に不利益を与えることはない。このため、本発明の遊技機では、制御情報の通信を妨害する不正行為を好適に取り締まることが可能となる。   As described above, according to the present invention, it becomes possible to detect only a communication error that is considered to be caused by fraud as the first communication error. Therefore, strict countermeasures are taken based on the detection of the first communication error. Even if it is taken, there is no penalty for a player who is playing correctly. For this reason, in the gaming machine of the present invention, it is possible to appropriately control fraudulent acts that interfere with communication of control information.

実施例1のスロットマシン1の斜視図である。FIG. 3 is a perspective view of the slot machine 1 according to the first embodiment. 前扉3を開放した状態のスロットマシン1の概略を示す斜視図である。2 is a perspective view showing an outline of the slot machine 1 with a front door 3 opened. FIG. スロットマシン1の制御回路を示すブロック図である。3 is a block diagram showing a control circuit of the slot machine 1. FIG. コマンドの内容を説明する図表である。It is a chart explaining the contents of a command. メイン制御基板14とサブ制御基板15の通信に係る制御回路を示すブロック図である。3 is a block diagram showing a control circuit related to communication between a main control board 14 and a sub control board 15. FIG. メイン制御処理の制御内容を示すフローチャートである。It is a flowchart which shows the control content of a main control process. コマンド送信処理の制御内容を示すフローチャートである。It is a flowchart which shows the control content of a command transmission process. (A)は、サブ制御処理の制御内容を示すフローチャートであり、(B)は、通信エラー処理の制御内容を示すフローチャートである。(A) is a flowchart which shows the control content of a sub control process, (B) is a flowchart which shows the control content of a communication error process. (A)は、通信エラー処理を実行する場合を示すタイミングチャートであり、(B)は、通信エラー処理を実行しない場合を示すタイミングチャートである。(A) is a timing chart showing a case where communication error processing is executed, and (B) is a timing chart showing a case where communication error processing is not executed. (A)は、コマンドを正常に受信した場合を示すタイミングチャートであり、(B)は、重度通信エラーを検出した場合を示すタイミングチャートである。(A) is a timing chart showing a case where a command is normally received, and (B) is a timing chart showing a case where a severe communication error is detected. 軽度通信エラーを検出した場合を示すタイミングチャートである。It is a timing chart which shows the case where a minor communication error is detected. 通信エラー検出処理の制御内容を示すフローチャートである。It is a flowchart which shows the control content of a communication error detection process. 図12から続く通信エラー検出処理の制御内容を示すフローチャートである。It is a flowchart which shows the control content of the communication error detection process which continues from FIG. 実施例2に係る通信エラー検出処理の制御内容を示すフローチャートである。10 is a flowchart illustrating control contents of communication error detection processing according to the second embodiment. 実施例3において、軽度通信エラーを検出した場合を示すタイミングチャートである。10 is a timing chart illustrating a case where a minor communication error is detected in the third embodiment. 実施例3に係る通信エラー検出処理の制御内容を示すフローチャートである。10 is a flowchart illustrating control details of communication error detection processing according to the third embodiment. 実施例4において、(A)は、コマンドを正常に受信した場合を示すタイミングチャートであり、(B)は、重度通信エラーを検出した場合を示すタイミングチャートである。In Example 4, (A) is a timing chart which shows the case where a command is received normally, (B) is a timing chart which shows the case where a serious communication error is detected. 実施例4において、軽度通信エラーを検出した場合を示すタイミングチャートである。In Example 4, it is a timing chart which shows the case where a minor communication error is detected. 実施例4において、(A)は、通信エラー処理を実行する場合を示すタイミングチャートであり、(B)は、通信エラー処理を実行しない場合を示すタイミングチャートである。In the fourth embodiment, (A) is a timing chart showing a case where communication error processing is executed, and (B) is a timing chart showing a case where communication error processing is not executed. 実施例4に係る通信エラー検出処理の制御内容を示すフローチャートである。10 is a flowchart illustrating control details of communication error detection processing according to the fourth embodiment. 図20から続く通信エラー検出処理の制御内容を示すフローチャートである。It is a flowchart which shows the control content of the communication error detection process following FIG. 図21から続く通信エラー検出処理の制御内容を示すフローチャートである。It is a flowchart which shows the control content of the communication error detection process following FIG.

本発明の実施形態を、以下の実施例に従って説明する。
なお、下記実施例1〜4にあって、本発明に係る第一の制御手段は、メイン制御基板14のメイン用マイクロコンピュータ30に相当する。また、本発明に係る第二の制御手段は、サブ制御基板15のサブ用マイクロコンピュータ31に相当する。また、本発明に係る通信手段は、メイン制御基板14とサブ制御基板15のシリアル通信回路32,33、及び信号線16に相当する。また、本発明に係る制御情報は、メイン制御基板14からサブ制御基板15に送信されるコマンドに相当する。また、本発明に係る受信手段は、サブ用マイクロコンピュータ31の受信バッファ34に相当する。
Embodiments of the present invention are described according to the following examples.
In the following first to fourth embodiments, the first control means according to the present invention corresponds to the main microcomputer 30 of the main control board 14. The second control means according to the present invention corresponds to the sub microcomputer 31 of the sub control board 15. The communication means according to the present invention corresponds to the serial communication circuits 32 and 33 and the signal line 16 of the main control board 14 and the sub control board 15. The control information according to the present invention corresponds to a command transmitted from the main control board 14 to the sub control board 15. The receiving means according to the present invention corresponds to the receiving buffer 34 of the sub microcomputer 31.

本実施例は、本発明をスロットマシンに適用したものである。図1,2に示すように、スロットマシン1の筐体2は前方に開放しており、前方から前扉3によって覆われている。図1に示すように、前扉3の中央部には、筐体2の内部に配設された三つのリール9を視認するための視認窓4が設けられる。そして、視認窓4の上方には、横長矩形状の液晶表示器10が配設される。また、前扉3の前面側には、視認窓4の下方に、遊技操作に用いるベットスイッチ5a,5b、スタートスイッチ6、ストップスイッチ7、精算スイッチ8などの各種スイッチが配設される。また、前扉3には、スピーカ11や演出用ランプ12が適宜箇所に複数配設される。   In this embodiment, the present invention is applied to a slot machine. As shown in FIGS. 1 and 2, the housing 2 of the slot machine 1 is opened forward and is covered by the front door 3 from the front. As shown in FIG. 1, a visual recognition window 4 for visually recognizing three reels 9 arranged inside the housing 2 is provided at the center of the front door 3. A horizontally long rectangular liquid crystal display 10 is disposed above the viewing window 4. Further, on the front side of the front door 3, various switches such as bet switches 5 a and 5 b, a start switch 6, a stop switch 7, and a checkout switch 8 used for game operation are disposed below the viewing window 4. The front door 3 is provided with a plurality of speakers 11 and effect lamps 12 at appropriate positions.

また、筺体2の内部には、図2に示すように、リール9の上方に、メイン制御基板14やサブ制御基板15がケースに収納された状態で設置される。メイン制御基板14とサブ制御基板15は、スロットマシン1の制御装置を構成するものであり、基板間を接続する信号線16を介してメイン制御基板14からサブ制御基板15に一方向にコマンド(制御情報)が送信されるよう構成されている。また、筺体2の内部には、リール9の下方に、電源投入スイッチ18を具備する電源ボックス19や、ホッパーユニット20が配設される。また、筺体2の右側部には、前扉3の開放を検出する前扉開放検出センサ22が設けられる。この前扉開放検出センサ22は、前扉3に設けられた反射板23と対向するよう配設され、前扉3の開放を光学的に検出するものである。   In addition, as shown in FIG. 2, the main control board 14 and the sub control board 15 are installed inside the housing 2 in a state where the main control board 14 and the sub control board 15 are housed in the case. The main control board 14 and the sub control board 15 constitute a control device of the slot machine 1, and commands (in one direction) from the main control board 14 to the sub control board 15 via the signal line 16 connecting the boards. Control information) is transmitted. Inside the housing 2, a power box 19 including a power-on switch 18 and a hopper unit 20 are disposed below the reel 9. A front door opening detection sensor 22 that detects opening of the front door 3 is provided on the right side of the housing 2. The front door opening detection sensor 22 is disposed so as to face the reflecting plate 23 provided on the front door 3 and optically detects the opening of the front door 3.

次に、スロットマシン1の作動を制御する制御回路を、図3を参照して説明する。
メイン制御基板14は、遊技の進行に関する制御を行うものであり、メイン用マイクロコンピュータ30と、乱数発生回路と、ラッチ回路と、シリアル通信回路32とを備えている。メイン用マイクロコンピュータ30は、CPU、RAM、ROM、I/Oポート等からなり、上述のスタートスイッチ6、ストップスイッチ7、ベットスイッチ5a,5b、精算スイッチ8、及び前扉開放検出センサ22などからの信号は、メイン用マイクロコンピュータ30のI/Oポートに入力する。メイン用マイクロコンピュータ30からは、I/Oポートを介してリール9を駆動するモータ、ホッパーユニット20を駆動するモータ、及び、機外に信号を送信するための外部信号出力基板に夫々信号が出力される。メイン用マイクロコンピュータ30は、シリアル通信回路32を介してサブ制御基板15に、各種のコマンドを送信する。なお、メイン制御基板14からサブ制御基板15へ送信されるコマンドは一方向のみで送られ、サブ制御基板15からメイン制御基板14へ向けてコマンドが送られることはない。メイン用マイクロコンピュータ30は、1.8ミリ秒の間隔でCPUに割込みを発生させる。そして、この割込みの発生毎に後述のコマンド送信処理等が実行される。また、メイン用マイクロコンピュータ30のRAMには、送信するコマンドを一時的に記憶しておくための送信バッファとしての記憶領域が予め確保されている。メイン用マイクロコンピュータ30のCPUは、コマンドを生成し、生成したコマンドを送信バッファに格納する。なお、送信バッファは、複数のコマンドを格納可能である。メイン用マイクロコンピュータ30は、送信バッファに格納した順番でコマンドを送信する。
Next, a control circuit for controlling the operation of the slot machine 1 will be described with reference to FIG.
The main control board 14 controls the progress of the game, and includes a main microcomputer 30, a random number generation circuit, a latch circuit, and a serial communication circuit 32. The main microcomputer 30 includes a CPU, a RAM, a ROM, an I / O port, and the like, and includes the above-described start switch 6, stop switch 7, bet switches 5a and 5b, settlement switch 8, and front door opening detection sensor 22. Is input to the I / O port of the main microcomputer 30. Signals are output from the main microcomputer 30 to a motor for driving the reel 9, a motor for driving the hopper unit 20, and an external signal output board for transmitting a signal to the outside through the I / O port. Is done. The main microcomputer 30 transmits various commands to the sub-control board 15 via the serial communication circuit 32. The command transmitted from the main control board 14 to the sub control board 15 is sent only in one direction, and no command is sent from the sub control board 15 to the main control board 14. The main microcomputer 30 generates an interrupt to the CPU at intervals of 1.8 milliseconds. A command transmission process, which will be described later, is executed every time this interrupt occurs. The RAM of the main microcomputer 30 has a storage area as a transmission buffer for temporarily storing commands to be transmitted. The CPU of the main microcomputer 30 generates a command and stores the generated command in the transmission buffer. Note that the transmission buffer can store a plurality of commands. The main microcomputer 30 transmits commands in the order stored in the transmission buffer.

サブ制御基板15は、メイン制御基板14から受信するコマンドに従って、遊技に関する演出等の制御を行うものであり、サブ用マイクロコンピュータ31と、シリアル通信回路33と、乱数発生回路と、ラッチ回路と、音声制御回路と、画像制御回路と、LED駆動回路とを備えている。サブ用マイクロコンピュータ31は、CPU、RAM、ROM、I/Oポート等からなるものである。サブ用マイクロコンピュータ31のROMには、多岐に渡る演出パターンに関する固定データが記憶されている。また、サブ用マイクロコンピュータ31のRAMには、メイン制御基板14から送信されたコマンドを受信するための受信バッファ34(図5参照)が設けられている。メイン制御基板14とサブ制御基板15のシリアル通信回路32,33は、信号線16によって相互接続されており、メイン制御基板14から送信されるコマンドは、両制御基板14,15のシリアル通信回路32,33を介して受信バッファ34に転送される。サブ用マイクロコンピュータ31のCPUは、1.2ミリ秒の間隔で割込みを発生させる。そして、この割込みの発生毎に受信バッファ34にバッファしたコマンドを取得する。そして、サブ用マイクロコンピュータ31のCPUは、取得したコマンドに対応した処理を実行する。具体的には、I/Oポートから信号を音声制御回路へ出力することで音声制御回路がスピーカーから音を出力し、また、I/Oポートから信号を画像制御回路へ出力することで画像制御回路が液晶表示器に画像を出力し、また、I/Oポートから信号をLED駆動回路へ出力することでLED駆動回路が演出用ランプを点灯させる。   The sub-control board 15 controls effects relating to games in accordance with commands received from the main control board 14, and includes a sub-microcomputer 31, a serial communication circuit 33, a random number generation circuit, a latch circuit, An audio control circuit, an image control circuit, and an LED drive circuit are provided. The sub microcomputer 31 includes a CPU, a RAM, a ROM, an I / O port, and the like. The ROM of the sub microcomputer 31 stores fixed data relating to a wide variety of effect patterns. The RAM of the sub microcomputer 31 is provided with a reception buffer 34 (see FIG. 5) for receiving a command transmitted from the main control board 14. The serial communication circuits 32 and 33 of the main control board 14 and the sub control board 15 are interconnected by a signal line 16, and a command transmitted from the main control board 14 is transmitted to the serial communication circuits 32 of both control boards 14 and 15. , 33 to the reception buffer 34. The CPU of the sub microcomputer 31 generates interrupts at intervals of 1.2 milliseconds. The command buffered in the reception buffer 34 is acquired every time this interrupt occurs. Then, the CPU of the sub microcomputer 31 executes processing corresponding to the acquired command. Specifically, the audio control circuit outputs a sound from the speaker by outputting a signal from the I / O port to the audio control circuit, and the image control by outputting a signal from the I / O port to the image control circuit. The circuit outputs an image to the liquid crystal display and outputs a signal from the I / O port to the LED driving circuit, so that the LED driving circuit turns on the effect lamp.

また、本実施例では、メイン制御基板14及びサブ制御基板15から外部信号出力基板へスロットマシン1の状態を特定可能な情報が出力される。外部信号出力基板は、遊技場等において遊技機の稼働状況を集中管理するために設置されるコンピュータなどの外部装置に必要な信号を出力する。本実施例では、投入された遊技媒体の数、払い出された遊技媒体の数、ボーナスが発生した旨、エラーが発生した旨を示す信号等がメイン制御基板14から外部信号出力基板を介して外部装置に対して出力される。また、本実施例では、サブ制御基板15からも外部信号出力基板を介して各種信号を外部装置に出力し得るよう構成される。   In the present embodiment, information that can specify the state of the slot machine 1 is output from the main control board 14 and the sub control board 15 to the external signal output board. The external signal output board outputs a signal necessary for an external device such as a computer installed in order to centrally manage the operating state of the gaming machine in a game hall or the like. In this embodiment, the number of game media inserted, the number of game media paid out, a signal indicating that a bonus has occurred, an error has occurred, etc. are sent from the main control board 14 via the external signal output board. Output to an external device. In this embodiment, the sub-control board 15 is also configured to output various signals to an external device via the external signal output board.

図4(A)は、メイン制御基板14からサブ制御基板15に送信されるコマンドのデータフォーマットを示したものである。このコマンドは、本発明に係る制御情報に相当するものである。図4(A)に示す通り、コマンドは、1バイトの構成データが5個で1組となった5バイトのデータである。つまり、コマンドは、複数個の構成データにより意味を成すものである。コマンドを構成する構成データは、通信を正常に行うための通信部と、メイン制御基板14の情報を格納するためのデータ部とから成る。具体的には、図4(B)に示すように、コマンドの先頭の構成データ「ST」は、通信部を構成するものであり、コマンドの先頭を示す固定値が格納される。そして、二番目と三番目の構成データ「DATA1」,「DATA2」は、データ部を構成するものであり、コマンドの種類と内容に応じた値が格納される。また、四番目の構成データ「CH」には、誤り訂正符号であるチェックサムが格納される。具体的には、構成データ「CH」には、「DATA1」と「DATA2」を加算した時の下位1バイトが格納される。そして、五番目の構成データ「EN」は、通信部を構成するものであり、コマンドの終端を示す固定値が格納される。   FIG. 4A shows a data format of a command transmitted from the main control board 14 to the sub control board 15. This command corresponds to control information according to the present invention. As shown in FIG. 4A, the command is 5-byte data in which 5 pieces of 1-byte configuration data form one set. That is, the command is meaningful by a plurality of configuration data. The configuration data constituting the command includes a communication unit for normally performing communication and a data unit for storing information of the main control board 14. Specifically, as shown in FIG. 4B, the configuration data “ST” at the head of the command constitutes a communication unit, and a fixed value indicating the head of the command is stored. The second and third configuration data “DATA1” and “DATA2” constitute a data part, and store values corresponding to the type and contents of the command. The fourth component data “CH” stores a checksum that is an error correction code. Specifically, the configuration data “CH” stores the lower 1 byte when “DATA1” and “DATA2” are added. The fifth configuration data “EN” configures the communication unit, and stores a fixed value indicating the end of the command.

図4(C)は、コマンドのデータ部(「DATA1」及び「DATA2」)の具体例を示したものである。なお、図中の「h」は、16進数であることを意味する。本実施例では、内部当選コマンド、左リール停止コマンド、中リール停止コマンド、右リール停止コマンド、入賞判定コマンド、電源投入コマンド、ドアコマンド、アクティブコマンドを含む複数種類のコマンドをメイン制御基板14からサブ制御基板15へ送信する。内部当選コマンドは、役抽選処理の抽選結果を特定可能なコマンドであり、スタートスイッチ6が操作され役抽選処理が実行されたときに送信される。左リール停止コマンドは、左リールの停止位置を特定可能なコマンドであり、左リールが停止したときに送信される。中リール停止コマンドは、中リールの停止位置を特定可能なコマンドであり、中リールが停止したときに送信される。右リール停止コマンドは、右リールの停止位置を特定可能なコマンドであり、右リールが停止したときに送信される。入賞判定コマンドは、入賞の有無、並びに入賞の種類を特定可能なコマンドであり、全てのリールが停止して停止図柄判定処理が行われたときに送信される。電源投入コマンドは、メイン制御基板14に電源の供給が開始され、メイン制御基板14における起動時の初期設定が完了したときに送信される。ドアコマンドは、前扉開放検出センサ22の検出状態、すなわちON(開放状態)/OFF(閉状態)を示すコマンドであり、電源投入時、1ゲーム終了時(ゲーム終了後、次のゲームの賭数の設定が開始可能となる前までの時点)、前扉開放検出センサ22の検出状態が変化(ONからOFF、OFFからON)した時に送信される。アクティブコマンドは、メイン制御基板14におけるエラー発生の有無、並びにエラーの種類を特定可能なコマンドである。ここで、アクティブコマンド以外のコマンドは、遊技の進行状況やスイッチ・センサの作動状態に応じて生成・送信されるのに対し、アクティブコマンドは、これらのコマンドが送信されない期間に定常的に生成・送信される。すなわち、かかるアクティブコマンドは、本発明に係る特定の制御情報に相当するものである。   FIG. 4C shows a specific example of the data portion of the command (“DATA1” and “DATA2”). In the figure, “h” means a hexadecimal number. In this embodiment, a plurality of types of commands including an internal winning command, a left reel stop command, a middle reel stop command, a right reel stop command, a winning determination command, a power-on command, a door command, and an active command are sent from the main control board 14. Transmit to the control board 15. The internal winning command is a command that can specify the lottery result of the winning lottery process, and is transmitted when the start switch 6 is operated and the winning lottery process is executed. The left reel stop command is a command that can specify the stop position of the left reel, and is transmitted when the left reel stops. The middle reel stop command is a command that can specify the stop position of the middle reel, and is transmitted when the middle reel stops. The right reel stop command is a command that can specify the stop position of the right reel, and is transmitted when the right reel stops. The winning determination command is a command that can specify the presence / absence of a winning and the type of winning, and is transmitted when all the reels are stopped and the stop symbol determining process is performed. The power-on command is transmitted when the supply of power to the main control board 14 is started and the initial setting at the start-up in the main control board 14 is completed. The door command is a command indicating the detection state of the front door opening detection sensor 22, that is, ON (open state) / OFF (closed state), when the power is turned on, at the end of one game (after the game is over, the bet of the next game). Sent when the detection state of the front door opening detection sensor 22 changes (ON to OFF, OFF to ON) until the setting of the number can be started). The active command is a command that can specify whether or not an error has occurred in the main control board 14 and the type of error. Here, commands other than the active command are generated and transmitted according to the progress of the game and the operating state of the switch and sensor, whereas the active command is generated and transmitted regularly during the period when these commands are not transmitted. Sent. That is, the active command corresponds to specific control information according to the present invention.

図5は、メイン制御基板14とサブ制御基板15の通信に係る制御回路を示すブロック図である。本実施例では、構成データは、1本の信号線16を用いて1ビットずつ所定の間隔で所定の順序で所定の時間間隔毎に直列に送信する方式(シリアル通信)により、メイン制御基板14からサブ制御基板15へ送信される。   FIG. 5 is a block diagram showing a control circuit related to communication between the main control board 14 and the sub control board 15. In the present embodiment, the configuration data is transmitted in series in a predetermined order at predetermined intervals at a predetermined interval using a single signal line 16 (serial communication) in a main sequence by the main control board 14. To the sub-control board 15.

具体的には、メイン用マイクロコンピュータ30は、送信バッファに格納された構成データをデータバス端子より出力する。メイン用マイクロコンピュータ30のデータバス端子とシリアル通信回路32のデータバス端子とはメイン制御基板14上のデータバスを介して接続されている。メイン制御基板14のシリアル通信回路32は、データバス端子に入力される構成データを1ビットずつ所定の通信手順で接続端子より出力するためのものである。メイン制御基板14のシリアル通信回路32は、データバス端子に構成データが入力すると、入力したデータを送信データレジスタに一時的に格納し、送信レジスタに格納された構成データを、シリアルパラレル変換部が1ビットずつ所定の通信手順で接続端子から出力する。また、このとき、メイン制御基板14のシリアル通信回路32は、送信データレジスタを初期化する。   Specifically, the main microcomputer 30 outputs the configuration data stored in the transmission buffer from the data bus terminal. The data bus terminal of the main microcomputer 30 and the data bus terminal of the serial communication circuit 32 are connected via a data bus on the main control board 14. The serial communication circuit 32 of the main control board 14 is for outputting the configuration data input to the data bus terminal from the connection terminal bit by bit in a predetermined communication procedure. When the configuration data is input to the data bus terminal, the serial communication circuit 32 of the main control board 14 temporarily stores the input data in the transmission data register, and the serial / parallel conversion unit stores the configuration data stored in the transmission register. Each bit is output from the connection terminal by a predetermined communication procedure. At this time, the serial communication circuit 32 of the main control board 14 initializes the transmission data register.

メイン制御基板14から出力されるデータは、信号線16を介して、サブ制御基板15のシリアル通信回路33の接続端子へ入力する。サブ制御基板15のシリアル通信回路33のシリアルパラレル変換部は、接続端子に1ビットのデータが入力すると、順次、入力したデータを受信データレジスタへ格納する。サブ制御基板15のシリアル通信回路33は、受信データレジスタへ1個の構成データが格納されると(すなわち1バイト分のデータが格納されると)、受信データレジスタへ格納されているデータをデータバス端子から外部へ出力する。また、このとき、サブ制御基板15のシリアル通信回路33は、受信データレジスタを初期化する。サブ制御基板15のシリアル通信回路33のデータバス端子から出力された構成データは、サブ制御基板15上のデータバスを介して、サブ用マイクロコンピュータ31上のデータバス端子に入力する。サブ用マイクロコンピュータ31は、データバス端子に構成データが入力すると、サブ用マイクロコンピュータ31のRAM上に確保された記憶領域である受信バッファ34に入力した構成データを記憶する。
このように、メイン用マイクロコンピュータ30から構成データ単位で送信するデータは、両制御基板14,15のシリアル通信回路32,33と信号線16を介して、サブ用マイクロコンピュータ31の受信バッファ34に構成データ単位で受信される。すなわち、本実施例では、かかるシリアル通信回路32,33と信号線16が、本発明に係る通信手段に相当し、また、受信バッファ34は、本発明に係る受信手段を構成するものである。
Data output from the main control board 14 is input to the connection terminal of the serial communication circuit 33 of the sub control board 15 through the signal line 16. When 1-bit data is input to the connection terminal, the serial-parallel conversion unit of the serial communication circuit 33 of the sub-control board 15 sequentially stores the input data in the reception data register. When one piece of configuration data is stored in the reception data register (that is, when one byte of data is stored), the serial communication circuit 33 of the sub control board 15 converts the data stored in the reception data register into data. Output from the bus terminal to the outside. At this time, the serial communication circuit 33 of the sub-control board 15 initializes the reception data register. The configuration data output from the data bus terminal of the serial communication circuit 33 on the sub control board 15 is input to the data bus terminal on the sub microcomputer 31 via the data bus on the sub control board 15. When the configuration data is input to the data bus terminal, the sub microcomputer 31 stores the configuration data input to the reception buffer 34 which is a storage area secured on the RAM of the sub microcomputer 31.
As described above, data transmitted from the main microcomputer 30 in units of configuration data is sent to the reception buffer 34 of the sub microcomputer 31 via the serial communication circuits 32 and 33 of both control boards 14 and 15 and the signal line 16. Received in units of configuration data. That is, in this embodiment, the serial communication circuits 32 and 33 and the signal line 16 correspond to communication means according to the present invention, and the reception buffer 34 constitutes reception means according to the present invention.

図6は、メイン制御基板14のCPUの制御内容にあって、メインルーチンを構成するメイン制御処理の制御内容を示したものである。メイン制御処理において実行される各ステップS100〜S108の詳細は下記の通りである。
S100:規定数(1回の遊技を実行するのに必要なメダルの枚数)の賭数が設定されるまで待機する。
S101:スタートスイッチ6が操作されるまで待機する。
S102:スタートスイッチ6が操作されると乱数発生回路が発生させる乱数をラッチ回路が抽出する。抽出した乱数の値に基づいて当選役の入賞を許容するか否かを決定する。
S103:各リール9の回転を開始し、リール9が所定の回転速度に達すると、ストップスイッチ7の操作を有効とする。
S104:遊技者がストップスイッチ7を操作するまで待機する。
S105:遊技者がストップスイッチ7を操作すると、操作されたストップスイッチ7に対応したリール9が回転を停止する。
S106:全てのリール9の回転が停止するまで待機する。
S107:リール9によって導出された表示結果が予め定められた態様であるか否かを判定する。具体的には、入賞ライン上に表示されている図柄の組合せが所定の入賞役として定められた図柄の組合せと一致しているか否かを判定し、一致している場合には入賞が発生したと判定する。
S108:停止図柄判定処理の判定結果に応じた処理を行う。具体的には、入賞が発生したと判定された場合に、その入賞に応じた払出枚数をクレジットに加算し、クレジットが所定数(50枚)を超えた場合には、超過分のメダルを払い出す。
FIG. 6 shows the control contents of the main control processing that constitutes the main routine in the control contents of the CPU of the main control board 14. Details of steps S100 to S108 executed in the main control process are as follows.
S100: Wait until a predetermined number (the number of medals required to execute one game) is set.
S101: Wait until the start switch 6 is operated.
S102: When the start switch 6 is operated, the latch circuit extracts the random number generated by the random number generation circuit. It is determined whether or not winning of the winning combination is allowed based on the extracted random number value.
S103: The rotation of each reel 9 is started, and when the reel 9 reaches a predetermined rotation speed, the operation of the stop switch 7 is validated.
S104: Wait until the player operates the stop switch 7.
S105: When the player operates the stop switch 7, the reel 9 corresponding to the operated stop switch 7 stops rotating.
S106: Wait until all the reels 9 stop rotating.
S107: It is determined whether or not the display result derived by the reel 9 is in a predetermined mode. Specifically, it is determined whether or not the combination of symbols displayed on the winning line matches the combination of symbols determined as a predetermined winning combination. Is determined.
S108: A process according to the determination result of the stop symbol determination process is performed. Specifically, when it is determined that a winning has occurred, the number of payouts corresponding to the winning is added to the credit, and when the credit exceeds a predetermined number (50), the surplus medal is paid out. put out.

図7は、メイン用マイクロコンピュータ30のCPUが実行するコマンド送信処理の内容を示したものである。このコマンド送信処理は、前述の割込みが発生するたびに、すなわち1.8ミリ秒間隔で実行される。コマンド送信処理では、まず、コマンドを構成する構成データが全て送信された状態であるか否か、つまり、コマンドの送信途上であるか否かを判定する(S200)。そして、コマンドの送信途上であると判定した場合は、ステップS203に移行し、コマンドの送信途上ではないと判定した場合は、ステップS201に移行する。ステップS201では、送信バッファが空であるか否かを判定し、送信バッファが空であると判定した場合は、アクティブコマンドを生成して送信バッファに格納してから(S202)、ステップS203に移行し、送信バッファが空でないと判定した場合はそのままステップS203に移行する。そして、ステップS203では、送信バッファに格納されているコマンドの1バイト(構成データ)をデータバス端子より出力し、シリアル通信回路32を介してサブ制御基板15に送信し、コマンド送信処理を終了する。   FIG. 7 shows the contents of command transmission processing executed by the CPU of the main microcomputer 30. This command transmission process is executed every time the aforementioned interrupt occurs, that is, at an interval of 1.8 milliseconds. In the command transmission process, first, it is determined whether or not all the configuration data constituting the command has been transmitted, that is, whether or not the command is being transmitted (S200). If it is determined that the command is being transmitted, the process proceeds to step S203. If it is determined that the command is not being transmitted, the process proceeds to step S201. In step S201, it is determined whether or not the transmission buffer is empty. If it is determined that the transmission buffer is empty, an active command is generated and stored in the transmission buffer (S202), and the process proceeds to step S203. If it is determined that the transmission buffer is not empty, the process directly proceeds to step S203. In step S203, one byte (configuration data) of the command stored in the transmission buffer is output from the data bus terminal, transmitted to the sub control board 15 via the serial communication circuit 32, and the command transmission processing is terminated. .

このように、メイン用マイクロコンピュータ30のCPUは、メイン制御処理の実行状況に応じて遊技の進行に応じたコマンドを生成し、送信バッファに格納する。また、メイン用マイクロコンピュータ30のCPUは、前述の割込みの発生毎に前扉開放検出センサ22の検出状態が変化したか否かを判定し、変化した時にはドアコマンドを生成し、送信バッファに格納する。そして、メイン用マイクロコンピュータ30のCPUは、送信バッファが空になると、アクティブコマンドを生成して送信バッファに格納することで、コマンドを途切れなくサブ制御基板15へ送信し、これにより、構成データが常時1.8ミリ秒間隔でサブ制御基板15に送信されるようにしている。すなわち、本発明に係る制御情報生成手段は、上記メイン制御処理及びコマンド送信処理によって主に実現される。また、本発明に係る送信手段は、上記ステップS203によって主に実現される。   Thus, the CPU of the main microcomputer 30 generates a command according to the progress of the game according to the execution state of the main control process, and stores it in the transmission buffer. Further, the CPU of the main microcomputer 30 determines whether or not the detection state of the front door opening detection sensor 22 has changed every time the above-described interruption occurs, and generates a door command and stores it in the transmission buffer. To do. Then, when the transmission buffer becomes empty, the CPU of the main microcomputer 30 generates an active command and stores it in the transmission buffer, thereby transmitting the command to the sub-control board 15 without interruption. It is always transmitted to the sub-control board 15 at intervals of 1.8 milliseconds. That is, the control information generation means according to the present invention is mainly realized by the main control process and the command transmission process. Further, the transmission means according to the present invention is mainly realized by the above step S203.

図8(A)は、サブ用マイクロコンピュータ31のCPUの制御内容にあって、メインルーチンを構成するサブ制御処理の制御内容を示したものである。図8(A)に示すように、かかるサブ制御処理では、サブ用マイクロコンピュータ31のCPUが、所定数(5個)の構成データを受信したか否か、すなわち、1個のコマンドを受信したか否かを繰返し判定し(S301)、1個のコマンドを受信したと判定した場合は、受信したコマンドに応じた処理を実行する(S302)。例えば、内部当選コマンドを受信した場合は、役抽選処理の結果に基づいた演出を開始する。具体的には、液晶表示器10に左リール対応画像、中リール対応画像、右リール対応画像を表示する。左リール停止コマンド・中リール停止コマンド・右リール停止コマンドを受信した場合は、各リールに対応した演出を行う。具体的には、左リール停止コマンドを受信した場合には、左リール対応画像を消去する。また、停止位置に基づいて役抽選処理の結果に対応した役の入賞が実現しない場合には、内部当選コマンドの受信に基づき開始した演出を中止する。入賞判定コマンドを受信した場合は、内部当選コマンドの受信に基づき開始した演出を終了する。さらに、入賞があったときには、入賞の種類に応じて演出を実行する。電源投入コマンドを受信した場合、受信時に通信エラーが発生していなければ、サブ制御基板15は初期化の処理を実行する。また、ドアコマンドを受信した場合、前扉3が開放している旨を報知する。具体的には、液晶表示器10にその旨を表示する等を行う。また、エラー状態を示すアクティブコマンドを受信した場合は、エラーの種類を特定可能な態様で報知を行う。具体的には、液晶表示器10に、エラーの種類に対応したエラーコードを表示する等を行う。   FIG. 8A shows the control contents of the CPU of the sub microcomputer 31 and the control contents of the sub control process constituting the main routine. As shown in FIG. 8A, in this sub-control processing, the CPU of the sub-microcomputer 31 has received a predetermined number (5) of configuration data, that is, has received one command. Whether or not one command has been received, processing corresponding to the received command is executed (S302). For example, when an internal winning command is received, an effect based on the result of the combination lottery process is started. Specifically, the left reel corresponding image, the middle reel corresponding image, and the right reel corresponding image are displayed on the liquid crystal display 10. When a left reel stop command, middle reel stop command, and right reel stop command are received, an effect corresponding to each reel is performed. Specifically, when a left reel stop command is received, the left reel corresponding image is deleted. If the winning combination corresponding to the result of the winning lottery process is not realized based on the stop position, the effect started based on the reception of the internal winning command is stopped. When the winning determination command is received, the effect started based on the reception of the internal winning command is ended. Furthermore, when there is a prize, an effect is executed according to the type of prize. When a power-on command is received, if no communication error has occurred at the time of reception, the sub-control board 15 executes an initialization process. When the door command is received, the front door 3 is informed that it is open. Specifically, the fact is displayed on the liquid crystal display 10. In addition, when an active command indicating an error state is received, notification is performed in such a manner that the type of error can be specified. Specifically, an error code corresponding to the type of error is displayed on the liquid crystal display 10.

図8(B)は、サブ用マイクロコンピュータ31のCPUで実行される通信エラー処理の制御内容を示したものである。この通信エラー処理は、本発明に係る第一のエラー処理に相当するものであり、後述する通信エラーの検出を契機に実行される。具体的には、かかる通信エラー処理では、液晶表示器10に通信エラーの発生を示す通信エラー表示を行い(S401)、エラー解除条件が成立したか否かを判定する(S402)。そして、エラー解除条件が成立したと判定するまで、通信エラー表示(S401)を継続する。この通信エラー表示(S401)が継続している間は、液晶表示器10には、その他の画像は表示されない。そして、本実施例では、電源の入れ直しが行われ、かつ、前扉3が開放されていることをもって、通信エラー処理を終了するエラー解除条件とする。具体的には、電源投入コマンドとドアコマンドとを受信し、かつ、ドアコマンドが前扉3の開放を示している場合にのみ、初期化の処理が実行され、初期化により通信エラー処理が終了する。つまり、通信エラー処理の実行中は、電源投入コマンドのみを受信しても、初期化処理が行われず、通信エラー処理は終了しない。本実施例では、エラー解除条件がこのように構成されているため、通信エラー処理を終了させる場合には、施錠された前扉3を開かなくてはいけない。このため、不正行為に起因して通信エラー処理が実行された場合に、不正行為を働いた者が通信エラー処理を解除することを防止できる。また、仮に、不正行為者が前扉3を開放することができたとしても、営業時間中に遊技場の係員以外の者が前扉3を開放しているのは、明らかに不自然であり、遊技場の係員を含む第三者の注目を集めることになるため、不正行為の早期発見を実現できる。   FIG. 8B shows the control contents of communication error processing executed by the CPU of the sub microcomputer 31. This communication error process corresponds to the first error process according to the present invention, and is executed when a communication error described later is detected. Specifically, in such communication error processing, a communication error display indicating the occurrence of a communication error is displayed on the liquid crystal display 10 (S401), and it is determined whether or not an error cancellation condition is satisfied (S402). Then, the communication error display (S401) is continued until it is determined that the error cancellation condition is satisfied. While this communication error display (S401) continues, no other image is displayed on the liquid crystal display 10. In this embodiment, when the power is turned on again and the front door 3 is opened, an error cancellation condition for ending the communication error process is set. Specifically, the initialization process is executed only when the power-on command and the door command are received and the door command indicates that the front door 3 is opened, and the communication error process is completed by the initialization. To do. In other words, during the execution of the communication error process, even if only the power-on command is received, the initialization process is not performed and the communication error process is not terminated. In this embodiment, since the error cancellation condition is configured in this way, the locked front door 3 must be opened when the communication error process is terminated. For this reason, when communication error processing is executed due to fraud, it is possible to prevent a person who has performed fraud from canceling communication error processing. In addition, even if a fraudster can open the front door 3, it is obviously unnatural that someone other than the attendant of the game hall opens the front door 3 during business hours. Because it attracts the attention of third parties, including attendants at the amusement hall, it is possible to realize early detection of fraud.

サブ用マイクロコンピュータ31のCPUは、前述の割込みの発生毎に通信エラー検出処理を実行する。通信エラー検出処理では、メイン制御基板14から受信するデータに基づいて通信エラーを検出し、検出した通信エラーの内容に応じて上記通信エラー処理を実行する。すなわち、かかる通信エラー検出処理は、本発明に係る第一の通信エラー検出処理及び第二の通信エラー検出処理を実現するものである。具体的には、通信エラー検出処理では、サブ用マイクロコンピュータ31のCPUは、割込みが発生する1.2ミリ秒間隔で、受信バッファ34が新しい構成データ(新規構成データ)を受信したか否かを判定するとともに、新しい構成データを受信していないと連続して判定した回数を計数することで、構成データの受信間隔を監視する。上述のように、メイン制御基板14からは、常時1.8ミリ秒間隔で構成データが送信されるため、通信が正常に行われている場合は、通信エラー検出処理において、少なくとも2回(2.4ミリ秒)に1回は、受信バッファ34で新規構成データが確認される。換言すれば、通信エラー検出処理で、2回以上連続して新規構成データの受信を確認できない場合は、正常に通信が行われていない場合である。通信エラー検出手段では、このように、2回以上連続して構成データの受信を確認できない場合を、通信エラーとして検出する。   The CPU of the sub microcomputer 31 executes a communication error detection process every time the aforementioned interrupt occurs. In the communication error detection process, a communication error is detected based on data received from the main control board 14, and the communication error process is executed according to the content of the detected communication error. That is, the communication error detection process realizes the first communication error detection process and the second communication error detection process according to the present invention. Specifically, in the communication error detection process, the CPU of the sub microcomputer 31 determines whether or not the reception buffer 34 has received new configuration data (new configuration data) at intervals of 1.2 milliseconds at which an interrupt occurs. And the number of times of continuous determination that new configuration data has not been received is counted, thereby monitoring the configuration data reception interval. As described above, since the configuration data is always transmitted from the main control board 14 at intervals of 1.8 milliseconds, when communication is normally performed, at least twice (2) in the communication error detection process. New configuration data is confirmed in the reception buffer 34 once every .4 milliseconds). In other words, in the communication error detection process, when the reception of new configuration data cannot be confirmed continuously twice or more, the communication is not normally performed. In this way, the communication error detecting means detects a case where the reception of the configuration data cannot be confirmed continuously twice or more as a communication error.

ここで、本実施例では、通信エラー検出処理で、3回以上連続して構成データの受信を確認できない場合を重度通信エラーとし、2回連続で構成データの受信を確認できない場合を軽度通信エラーとして区別して検出する。構成データの受信を3回以上連続して確認できない場合とは、構成データを3.6ミリ秒間受信できていない状態に相当し、1.8ミリ秒間隔で受信すべき構成データを、2個連続して受信できなかった場合である。自然発生的に生じる通信エラーでは、構成データを単独で受信できないことが殆どであるため、このように2個連続で構成データを受信できない場合は、不正行為が原因である可能性が極めて高い。このため、本実施例では、かかる場合を重度通信エラーを区別して検出し、重度通信エラーを検出した場合は、直ちに通信エラー処理を実行することとしている。すなわち、重度通信エラーは、本発明に係る第一の通信エラーに相当するものであり、重度通信エラーの検出に係る3.6ミリ秒間の判定時間が、本発明に係る第一の判定時間に相当する。   Here, in this embodiment, in the communication error detection process, a case where the reception of the configuration data cannot be confirmed three times or more is regarded as a severe communication error, and a case where the reception of the configuration data cannot be confirmed twice is a minor communication error. Detect as distinct. The case where reception of configuration data cannot be confirmed three or more times consecutively corresponds to a state where configuration data has not been received for 3.6 milliseconds, and two pieces of configuration data to be received at 1.8 millisecond intervals. This is a case where continuous reception was not possible. Most communication errors that occur spontaneously cannot receive the configuration data independently. Therefore, if the configuration data cannot be received in succession two times, there is a very high possibility that it is caused by fraud. For this reason, in this embodiment, such a case is detected by distinguishing a severe communication error, and when a severe communication error is detected, a communication error process is immediately executed. That is, the severe communication error corresponds to the first communication error according to the present invention, and the determination time of 3.6 milliseconds related to the detection of the severe communication error is the first determination time according to the present invention. Equivalent to.

一方、軽度通信エラーとして検出される場合とは、構成データを2.4ミリ秒間受信できていない場合であり、メイン制御基板14側から1.8ミリ秒間隔で受信すべき構成データが、何らかの原因で1個だけ受信できなかった場合である。かかる事象は、不正行為が原因である可能性もあるが、自然発生的に生じた可能性もある。このため、本実施例では、単に軽度通信エラーを検出しただけでは通信エラー処理を実行せず、軽度通信エラーが、自然発生的なものとは考えられない程度の頻度で繰り返された場合に、通信エラー処理を実行することとしている。具体的には、図9(A)に示すように、サブ用マイクロコンピュータ31のCPUは、軽度通信エラーの検出回数をエラーカウントとして計数し、エラーカウントが3回に達した時に通信エラー処理を実行するとともに、軽度通信エラーの検出間隔をタイマで計測し、図9(B)に示すように、軽度通信エラーが所定時間検出されない場合は、エラーカウントを初期設定(0回)にする。すなわち、軽度通信エラーは、本発明に係る第二の通信エラーに相当するものであり、軽度通信エラーの検出に係る2.4ミリ秒の判定時間が、本発明に係る第二の判定時間に相当する。また、エラーカウントは、本発明に係るエラー計数手段に相当するものであり、エラーカウントの3回が、本発明に係る第一の検出回数に相当する。そして、上記タイマは、本発明に係るエラー計数手段の初期化手段を構成するものである。   On the other hand, the case where a minor communication error is detected means that the configuration data has not been received for 2.4 milliseconds, and the configuration data to be received from the main control board 14 side at intervals of 1.8 milliseconds is This is a case where only one message cannot be received due to the cause. Such an event may be due to fraud, but may have occurred spontaneously. For this reason, in this embodiment, simply detecting a minor communication error does not execute communication error processing, and if a minor communication error is repeated at a frequency that is not considered to be a spontaneous occurrence, Communication error processing is to be executed. Specifically, as shown in FIG. 9A, the CPU of the sub-microcomputer 31 counts the number of minor communication errors detected as an error count, and performs communication error processing when the error count reaches three times. At the same time, the detection interval of the minor communication error is measured by a timer, and as shown in FIG. 9B, when the minor communication error is not detected for a predetermined time, the error count is initialized (0 times). That is, the minor communication error corresponds to the second communication error according to the present invention, and the determination time of 2.4 milliseconds related to the detection of the minor communication error is the second determination time according to the present invention. Equivalent to. The error count corresponds to the error counting means according to the present invention, and three error counts correspond to the first number of detections according to the present invention. The timer constitutes initialization means for error counting means according to the present invention.

次に、通信エラー検出処理の実行態様を、タイミングチャートを用いて説明する。
図10(A)は、入賞判定コマンドとアクティブコマンドが正常に送受信された場合のタイミングチャートである。かかる例では、メイン制御基板14は、入賞判定コマンドとアクティブコマンドを構成データ毎に1.8ミリ秒間隔で送信する。一方、サブ制御基板15は、1.2ミリ秒間隔で通信エラー検出処理を実行し、受信バッファ34に構成データを確認した場合は、受信カウントを初期値「5」に設定し、構成データを確認できない場合は受信カウントから1を減算する。この受信カウントは、通信エラー検出処理において、構成データの受信を連続して確認できない回数を計数するためのものであり、この受信カウントが「3」になると軽度通信エラーとなり、受信カウントが「2」になると重度通信エラーとなる。すなわち、この受信カウントは、本発明に係る未受信回数計数手段を構成するものである。図10(A)の例では、構成データが正常に受信されたため、受信カウントは3以下とはならず、通信エラー処理が実行されることはない。
Next, the execution mode of the communication error detection process will be described using a timing chart.
FIG. 10A is a timing chart when the winning determination command and the active command are normally transmitted and received. In such an example, the main control board 14 transmits a winning determination command and an active command at intervals of 1.8 milliseconds for each configuration data. On the other hand, when the sub control board 15 executes the communication error detection process at intervals of 1.2 milliseconds and confirms the configuration data in the reception buffer 34, the sub control board 15 sets the reception count to the initial value “5” and stores the configuration data. If it cannot be confirmed, 1 is subtracted from the reception count. This reception count is for counting the number of times that the reception of the configuration data cannot be continuously confirmed in the communication error detection process. When this reception count becomes “3”, a minor communication error occurs, and the reception count becomes “2”. Will cause a severe communication error. That is, this reception count constitutes the non-reception frequency counting means according to the present invention. In the example of FIG. 10A, since the configuration data has been normally received, the reception count does not become 3 or less, and the communication error process is not executed.

図10(B)は、重度通信エラーを検出した場合のタイミングチャートである。かかる例では、メイン制御基板14から入賞判定コマンドとアクティブコマンドが送信されるものの、何らかの原因により、入賞判定コマンドの2個の構成データ(「05」、「01」)が、連続して受信バッファ34まで到達しない。この場合、サブ制御基板15では、到達しなかった2個の構成データを受信するはずのタイミング(T2,T4)で、受信バッファ34に新規構成データなし(Err)と判定され、受信カウントが減算される。このため、かかる例では、図中のT4の時点で、受信カウントが「2」に減算されて重度通信エラーとなり、図中のT5の時点で通信エラー処理が実行される。   FIG. 10B is a timing chart when a severe communication error is detected. In such an example, although the winning determination command and the active command are transmitted from the main control board 14, two component data (“05” and “01”) of the winning determination command are continuously received for some reason. Do not reach 34. In this case, the sub-control board 15 determines that there is no new configuration data (Err) in the reception buffer 34 at the timing (T2, T4) at which two configuration data that have not arrived should be received, and the reception count is subtracted. Is done. For this reason, in such an example, the reception count is subtracted to “2” at time T4 in the figure, resulting in a severe communication error, and communication error processing is executed at time T5 in the figure.

図11は、軽度通信エラーを検出した場合のタイミングチャートである。かかる例では、メイン制御基板14から入賞判定コマンドとアクティブコマンドが送信されるものの、何らかの原因により、入賞判定コマンドとアクティブコマンドの構成データ(「05」,「08」)が1個単位で受信バッファ34まで到達しない。この場合、サブ制御基板15では、到達しなかった2個の構成データを受信するはずのタイミング(T2,T10)で、受信バッファ34に構成データなし(Err)と判定され、受信カウントが減算される。このため、かかる例では、図中のT3の時点で、受信カウントが「3」に減算されて軽度通信エラーとなって、エラーカウントが加算されて1になるとともに、所定時間を計測するタイマが作動する。そして、図中のT10の時点では、再び受信カウントが「3」に減算されて軽度通信エラーとなり、エラーカウントが加算されて2になるとともに、前記タイマは初期設定に戻されて、所定時間の計測を最初から開始する。なお、かかる例では、タイマが所定時間の計測を満了する前に軽度通信エラーが検出されたため、エラーカウントが2となるが、軽度通信エラーの検出前にタイマが計測満了した場合は、エラーカウントが0にリセットされる。   FIG. 11 is a timing chart when a minor communication error is detected. In such an example, although the winning determination command and the active command are transmitted from the main control board 14, the winning buffer determination command and the active command configuration data (“05”, “08”) are received by one unit for some reason. Do not reach 34. In this case, the sub-control board 15 determines that there is no configuration data (Err) in the reception buffer 34 at the timing (T2, T10) at which two configuration data that have not arrived should be received, and the reception count is subtracted. The For this reason, in such an example, at the time of T3 in the figure, the reception count is subtracted to “3”, resulting in a minor communication error, the error count is added to 1, and a timer for measuring a predetermined time is set. Operate. At time T10 in the figure, the reception count is again subtracted to “3” to cause a minor communication error, the error count is added to 2, and the timer is reset to the initial setting for a predetermined time. Start the measurement from the beginning. In this example, a minor communication error is detected before the timer expires the predetermined time, so the error count is 2. However, if the timer expires before the minor communication error is detected, the error count Is reset to zero.

以上のように、本実施例では、サブ用マイクロコンピュータ31のCPUが、新規構成データを受信したか否かを一定間隔(1.2ミリ秒間隔)で判定し、構成データを連続して受信ていないと判定した回数を計数することで、構成データの受信間隔を監視し、構成データの受信間隔が構成データの送信間隔の二倍を超えた時に、重度通信エラーとして検出する。上述のように、かかる重度通信エラーは、自然発生的な通信エラーでなく、不正行為に起因する通信エラーである可能性が極めて高いものであるから、かかる重度通信エラーの検出に基づいて、厳しい通信エラー処理を実行しても、正しく遊技を行っている遊技者に迷惑をかけることがない。したがって、本実施例のスロットマシン1によれば、コマンドの通信を妨害する不正行為を好適に取り締まることが可能となる。   As described above, in this embodiment, the CPU of the sub-microcomputer 31 determines whether or not new configuration data has been received at regular intervals (1.2 millisecond intervals), and continuously receives configuration data. The configuration data reception interval is monitored by counting the number of times it is determined that it is not, and when the configuration data reception interval exceeds twice the configuration data transmission interval, a serious communication error is detected. As described above, such a severe communication error is not a spontaneous communication error, but is highly likely to be a communication error caused by fraud. Therefore, based on the detection of such a severe communication error, it is severe. Even if the communication error process is executed, the player who is playing the game correctly is not disturbed. Therefore, according to the slot machine 1 of the present embodiment, it is possible to appropriately control fraudulent acts that interfere with command communication.

また、本実施例では、サブ用マイクロコンピュータ31で、構成データの受信間隔が構成データの送信間隔を超えた時に、軽度通信エラーとして検出し、この軽度通信エラーを一定頻度以上で検出すると、重度通信エラー処理と同じ通信エラー処理を実行する。軽度通信エラーは、不正行為に起因する可能性もあり、また、自然発生的なものである可能性もあるが、このように、検出頻度が一定頻度以上となった場合にのみ通信エラー処理を実行すれば、不正行為に起因する通信エラーと考えられる場合に限定して通信エラー処理を実行でき、重度通信エラーとしては検出できない不正行為も好適に取り締まることが可能となる。また、軽度通信エラーと重度通信エラーは、構成データの受信間隔の判定基準が異なるだけであるから、本実施例にあっては、簡単な構成によって二種類の通信エラーを検出できるという利点がある。   Further, in this embodiment, when the sub microcomputer 31 detects a minor communication error when the configuration data reception interval exceeds the configuration data transmission interval, and detects this minor communication error at a certain frequency or more, The same communication error process as the communication error process is executed. Minor communication errors may be caused by fraud and may occur spontaneously. Thus, communication error processing is performed only when the detection frequency exceeds a certain frequency. If executed, the communication error process can be executed only when it is considered that the communication error is caused by an illegal act, and an illegal act that cannot be detected as a severe communication error can be appropriately controlled. In addition, since the light communication error and the heavy communication error differ only in the determination criteria of the reception interval of the configuration data, this embodiment has an advantage that two types of communication errors can be detected with a simple configuration. .

また、本実施例では、メイン用マイクロコンピュータ30が、送信バッファにコマンドが存在しない時にアクティブコマンドを生成し、送出することで、構成データが1.8ミリ秒間隔で常時送出されるよう構成されているため、サブ用マイクロコンピュータ31で、通信エラー検出処理を常時実行し、不正行為を間断なく監視できるという利点がある。   In the present embodiment, the main microcomputer 30 is configured so that the configuration data is constantly transmitted at intervals of 1.8 milliseconds by generating and transmitting an active command when no command exists in the transmission buffer. Therefore, there is an advantage that the sub-microcomputer 31 can always execute the communication error detection process and monitor fraud without interruption.

次に、通信エラー検出処理の制御処理について説明する。
図12,13は、サブ用マイクロコンピュータ31のCPUで実行される通信エラー検出処理の制御内容を示すフローチャートである。通信エラー検出処理では、サブ用マイクロコンピュータ31のCPUは、まず、受信カウントを減算し(S501)、次いで、受信カウントが1であるか否かを判定する(S502)。そして、受信カウントが1であると判定した場合は、上記通信エラー処理(図8(B)参照)を実行し(S503)、通信エラー検出処理を終了する。ステップS502で受信カウントが1でないと判定した場合は、エラーカウントをリセットするためのタイマが0でなければ当該タイマから1を減算して(S601)、受信バッファ34に新たな構成データが記憶されているか否かを判定する(S601)。ここで、受信バッファ34に新規構成データなしと判定した場合はステップS607に移行し、受信バッファ34に構成データありと判定した場合はステップS603に移行する。ステップS603では、受信カウントが2であるか否かを判定し、受信カウントが2でないと判定した場合は、受信カウントを初期値「5」に設定してステップS607に移行する。一方、受信カウントが2であると判定した場合は、エラーカウントに1を加算し(S604)、エラーカウントが3であるか否かを判定する(S605)。ここでエラーカウントが3であると判定した場合は、3回の軽度通信エラー検出に基づく通信エラー処理(図8(B)参照)を実行し(S609)、通信エラー検出処理を終了する。一方、ステップS605でエラーカウントが3でないと判定した場合は、タイマに初期値(所定時間)を設定し(S606)、ステップS607に移行する。ステップS607では、タイマが0か否か、すなわち、設定時間の計測を満了したか否かを判定し、タイマが0でないと判定した場合は、そのまま通信エラー検出処理を終了し、タイマが0であると判定した場合は、エラーカウンタを0に初期化してから(S608)、通信エラー検出処理を終了する。
Next, the control process of the communication error detection process will be described.
12 and 13 are flowcharts showing the control contents of the communication error detection process executed by the CPU of the sub microcomputer 31. FIG. In the communication error detection process, the CPU of the sub microcomputer 31 first subtracts the reception count (S501), and then determines whether or not the reception count is 1 (S502). If it is determined that the reception count is 1, the communication error process (see FIG. 8B) is executed (S503), and the communication error detection process is terminated. If it is determined in step S502 that the reception count is not 1, if the timer for resetting the error count is not 0, 1 is subtracted from the timer (S601), and new configuration data is stored in the reception buffer 34. It is determined whether or not (S601). If it is determined that there is no new configuration data in the reception buffer 34, the process proceeds to step S607. If it is determined that there is configuration data in the reception buffer 34, the process proceeds to step S603. In step S603, it is determined whether or not the reception count is 2. If it is determined that the reception count is not 2, the reception count is set to the initial value “5”, and the process proceeds to step S607. On the other hand, when it is determined that the reception count is 2, 1 is added to the error count (S604), and it is determined whether or not the error count is 3 (S605). If it is determined that the error count is 3, communication error processing (see FIG. 8B) based on three minor communication error detections is executed (S609), and the communication error detection processing is terminated. On the other hand, if it is determined in step S605 that the error count is not 3, an initial value (predetermined time) is set in the timer (S606), and the process proceeds to step S607. In step S607, it is determined whether or not the timer is 0, that is, whether or not the measurement of the set time has expired. If it is determined that the timer is not 0, the communication error detection process is terminated and the timer is 0. If it is determined that there is an error, the error counter is initialized to 0 (S608), and the communication error detection process is terminated.

上記通信エラー検出処理の制御内容にあって、本発明に係る第一の通信エラー検出手段は、ステップS501,S502,S602,S610によって主に実現される。また、本発明に係る第二の通信エラー検出手段は、ステップS501,S602,S603,S610によって主に実現される。また、本発明に係る受信状態確認手段は、ステップS602によって主に実現される。また、本発明に係る未受信回数計数手段は、ステップS501,S610によって主に実現される。また、本発明に係るエラー計数手段は、ステップS604によって主に実現される。また、本発明に係る初期化手段は、ステップS601,S606,S607,S608によって主に実現される。また、本発明に係る第一のエラー処理実行手段は、ステップS503,S609によって主に実現される。   In the control content of the communication error detection process, the first communication error detection means according to the present invention is mainly realized by steps S501, S502, S602, and S610. The second communication error detecting means according to the present invention is mainly realized by steps S501, S602, S603, and S610. Also, the reception state confirmation means according to the present invention is mainly realized by step S602. Further, the non-reception frequency counting means according to the present invention is mainly realized by steps S501 and S610. Further, the error counting means according to the present invention is mainly realized by step S604. The initialization unit according to the present invention is mainly realized by steps S601, S606, S607, and S608. The first error processing execution means according to the present invention is mainly realized by steps S503 and S609.

本実施例は、実施例1の通信エラー検出処理を一部変更したものである。具体的には、実施例1では、重度通信エラーを検出した時と、軽度通信エラーの検出回数を計数するエラーカウントが3回に達した時に、通信エラー処理(図8(B)参照)を実行する。本実施例では、かかる通信エラー処理の実行に加えて、さらに、エラーカウントが2回に達した時に、通信エラー処理と異なる警告処理を実行する。この警告処理は、当該機において通信状態が不良である旨を、サブ制御基板15が外部信号出力基板を介して外部装置に報知するものである。この警告処理は、エラー処理の一種ではあるが、警告処理が実行されても遊技は通常どおり継続可能であり、特段のエラー解除条件も存在せず、通信エラー処理に比べて遊技者に与える影響は軽度である。このように、本実施例では、通信エラー処理の実行前に警告処理が実行されるから、かかる警告処理に基づいて遊技場の係員が当該機をチェックすれば、通信エラー処理の実行前に、通信エラーに対して穏便に対処することが可能となる。すなわち、かかる警告処理は、本発明に係る第二のエラー処理に相当するものであり、エラーカウントの2回が、本発明に係る第二の検出回数に相当する。なお、本実施例において、実施例1と共通する部分については、実施例1と共通符号を付して説明を省略する。   In this embodiment, the communication error detection process of the first embodiment is partially changed. Specifically, in the first embodiment, communication error processing (see FIG. 8B) is performed when a severe communication error is detected and when an error count for counting the number of detections of minor communication errors reaches three. Run. In this embodiment, in addition to the execution of the communication error process, a warning process different from the communication error process is executed when the error count reaches twice. In this warning process, the sub-control board 15 notifies the external device via the external signal output board that the communication state in the machine is defective. This warning process is a kind of error process, but even if the warning process is executed, the game can continue as usual, there is no special error release condition, and the effect on the player compared to the communication error process Is mild. In this way, in this embodiment, warning processing is executed before execution of the communication error processing, so if the attendant of the game hall checks the machine based on such warning processing, before execution of the communication error processing, It is possible to deal with communication errors with ease. That is, such warning processing corresponds to the second error processing according to the present invention, and two error counts correspond to the second number of detections according to the present invention. In the present embodiment, portions common to the first embodiment are denoted by the same reference numerals as those in the first embodiment and description thereof is omitted.

図14は、実施例2に係る通信エラー処理の後半の制御内容を示すフローチャートである。実施例1の通信エラー処理(図13参照)と対比するとわかるように、本実施例では、ステップS605aでエラーカウントが2であるか否かを判定し、エラーカウントが2であると判定した場合に警告処理を実行する(S605b)。すなわち、本発明に係る第二のエラー処理実行手段は、かかるステップS605a,S605bによって主に実現される。通信エラー検出処理の他の制御内容は、前半の制御内容も含めて実施例1(図12,13参照)と同じであるため、図中で同じステップ番号を用いて説明を省略する。   FIG. 14 is a flowchart illustrating the control contents in the second half of the communication error processing according to the second embodiment. As can be seen from comparison with the communication error processing of the first embodiment (see FIG. 13), in this embodiment, it is determined whether or not the error count is 2 in step S605a, and the error count is determined to be 2. A warning process is executed (S605b). That is, the second error processing execution means according to the present invention is mainly realized by such steps S605a and S605b. The other control contents of the communication error detection process are the same as those in the first embodiment (see FIGS. 12 and 13) including the first half of the control contents.

本実施例は、実施例1の通信エラー検出処理を一部変更したものである。具体的には、実施例1では、構成データの受信間隔の長さに応じて、軽度通信エラーと重度通信エラーとを検出している。これに対して、本実施例では、コマンドのチェックサム(誤り訂正符号)が不一致となった場合を軽度通信エラーとして検出し、構成データの受信間隔に基づく通信エラー検出は重度通信エラーの場合のみとする。すなわち、本実施例では、サブ用マイクロコンピュータ31のCPUが、チェックサムが格納された構成データ「CH」を受信すると、チェックサムによるチェックを行い、チェックサムが不一致であると軽度通信エラーとして検出する。そして、軽度通信エラーの検出回数は、実施例1と同様にエラーカウントとして計数し、エラーカウントが3回に達した時点で通信エラー処理を実行する。本実施例では、構成データの受信間隔でなく、構成データの内容の誤りを軽度通信エラーとして検出するため、構成データを受信できない場合に限らず、構成データが改変される場合も、不正行為として取り締まることができるという利点がある。なお、本実施例において、実施例1と共通する部分については、実施例1と共通符号を付して説明を省略する。   In this embodiment, the communication error detection process of the first embodiment is partially changed. Specifically, in the first embodiment, a minor communication error and a severe communication error are detected according to the length of the configuration data reception interval. On the other hand, in this embodiment, a case where the checksum (error correction code) of the command does not match is detected as a minor communication error, and a communication error detection based on the reception interval of the configuration data is performed only in the case of a severe communication error. And That is, in this embodiment, when the CPU of the sub microcomputer 31 receives the configuration data “CH” in which the checksum is stored, the checksum is checked, and if the checksum does not match, it is detected as a minor communication error. To do. The number of minor communication errors detected is counted as an error count as in the first embodiment, and communication error processing is executed when the error count reaches three. In this embodiment, since the error in the content of the configuration data is detected as a minor communication error instead of the reception interval of the configuration data, not only when the configuration data cannot be received, but also when the configuration data is modified, There is an advantage that it can be controlled. In the present embodiment, portions common to the first embodiment are denoted by the same reference numerals as those in the first embodiment and description thereof is omitted.

図15は、本実施例において、軽度通信エラーを検出した場合のタイミングチャートである。かかる例では、メイン制御基板14から入賞判定コマンドとアクティブコマンドが送信されるものの、何らかの原因により、入賞判定コマンドとアクティブコマンドの構成データ(「05」,「08」)が1個単位で受信バッファ34まで到達しない。この場合、サブ制御基板15では、到達しなかった2個の構成データを受信するはずのタイミング(T2,T10)で、受信バッファ34に構成データなし(Err)と判定される。そして、図中のT5,T13で、チェックサムを格納した構成データ「CH」を受信すると、チェックサムの値がチェックされ、チェックサムの不一致により軽度通信エラーとなって、エラーカウントが夫々加算される。   FIG. 15 is a timing chart when a minor communication error is detected in this embodiment. In such an example, although the winning determination command and the active command are transmitted from the main control board 14, the winning buffer determination command and the active command configuration data (“05”, “08”) are received by one unit for some reason. Do not reach 34. In this case, the sub-control board 15 determines that there is no configuration data (Err) in the reception buffer 34 at the timing (T2, T10) at which the two configuration data that have not arrived should be received. When the configuration data “CH” storing the checksum is received at T5 and T13 in the figure, the checksum value is checked, a minor communication error occurs due to the checksum mismatch, and an error count is added respectively. The

図16は、本実施例に係る通信エラー処理の後半の制御内容を示すフローチャートである。実施例1の通信エラー処理(図13参照)と対比するとわかるように、本実施例では、ステップS603aで、受信バッファ34の構成データが、コマンドの4バイト目の構成データ「CH」であるか否かを判定する。そして、4バイト目の構成データ「CH」であると判定した場合は、その直前に受信したデータ部とチェックサムが一致するか否かを判定し(S603b)、チェックサムが一致しないと判定した場合は、エラーカウントに1を加算する(S604)。通信エラー処理の他の制御内容は、前半の制御内容も含めて実施例1(図12,13参照)と同じであるため、図中で同じステップ番号を用いて説明を省略する。   FIG. 16 is a flowchart illustrating the control contents in the second half of the communication error processing according to the present embodiment. As can be seen from comparison with the communication error processing (see FIG. 13) of the first embodiment, in this embodiment, in step S603a, whether the configuration data of the reception buffer 34 is the configuration data “CH” of the fourth byte of the command. Determine whether or not. If it is determined that the configuration data “CH” is the fourth byte, it is determined whether the checksum matches the data portion received immediately before (S603b), and it is determined that the checksum does not match. In this case, 1 is added to the error count (S604). The other control contents of the communication error processing are the same as those of the first embodiment (see FIGS. 12 and 13) including the first half of the control contents.

本実施例は、実施例1からコマンドの送信態様を変更し、それに合わせて通信エラー検出処理を一部変更したものである。具体的には、実施例1では、アクティブコマンドを生成することで、メイン制御基板14が1.8ミリ秒間隔で構成データを常時送信するのに対し、本実施例では、メイン制御基板14は、アクティブコマンドを生成・送信せず、状況によって、メイン制御基板14がコマンドを送信しない休止期間が存在する。そして、本実施例では、かかる休止期間に対応するために、休止期間中は、サブ用マイクロコンピュータ31で、構成データの受信間隔に基づく通信エラーを検出しないようにする。   In the present embodiment, the command transmission mode is changed from that in the first embodiment, and the communication error detection process is partially changed accordingly. Specifically, in the first embodiment, the main control board 14 constantly transmits configuration data at 1.8 millisecond intervals by generating an active command, whereas in the present embodiment, the main control board 14 The active command is not generated / transmitted, and depending on the situation, there is a pause period in which the main control board 14 does not transmit the command. In this embodiment, in order to cope with such a suspension period, the sub microcomputer 31 is prevented from detecting a communication error based on the reception interval of the configuration data during the suspension period.

具体的には、サブ用マイクロコンピュータ31は、通信エラーの検出を有効/無効を管理するカウントフラグを備え、カウントフラグの有効時のみ通信エラーを検出するようにする。カウントフラグは、コマンドの先頭を示す構成データ「ST」を受信すると有効となり、コマンドの終端を示す構成データ「EN」を受信すると無効となる。すなわち、本実施例にあっては、サブ用マイクロコンピュータ31は、1個のコマンドの先頭から終端までの構成データを受信するまでの間、1.2ミリ秒間隔で、新規構成データを受信したか否かを判定する。そして、実施例1同様に、3回以上連続して構成データの受信を確認できない場合は重度通信エラーとして検出し、直ちに通信エラー処理を実行する。また、2回連続で構成データの受信を確認できない場合は軽度通信エラーとして検出し、エラーカウントが3回に達した時点で通信エラー処理を実行する。ここで、本実施例では、コマンドの先頭又は終端の構成データ「ST」,「EN」を正常に受信できない場合には、通信エラー検出処理が正常に実行されないため、コマンドの先頭又は終端の構成データ「ST」,「EN」が確認できない場合は、直ちに通信エラーとするよう構成される。このように、本発明は、メイン制御基板14がコマンドを送信しない休止期間のある構成にも適用できる。なお、本実施例では、コマンドの先頭と終端の構成データに基づいて、通信エラー検出の有効/無効を切り替えるようにしているが、かかる構成に替えて、コマンドの送信前と送信後に、メイン制御基板14から通信エラー検出の有効/無効を切り替えさせる信号を別途送信するようにしてもよい。   Specifically, the sub microcomputer 31 includes a count flag that manages whether communication error detection is valid / invalid, and detects a communication error only when the count flag is valid. The count flag becomes valid when the configuration data “ST” indicating the head of the command is received, and becomes invalid when the configuration data “EN” indicating the end of the command is received. That is, in the present embodiment, the sub microcomputer 31 receives new configuration data at intervals of 1.2 milliseconds until receiving configuration data from the beginning to the end of one command. It is determined whether or not. Then, as in the first embodiment, when the reception of the configuration data cannot be confirmed three or more times consecutively, it is detected as a severe communication error, and the communication error process is immediately executed. In addition, when the reception of the configuration data cannot be confirmed twice consecutively, it is detected as a minor communication error, and the communication error process is executed when the error count reaches three times. Here, in this embodiment, when the configuration data “ST” and “EN” at the beginning or end of the command cannot be received normally, the communication error detection processing is not normally executed. If the data “ST” and “EN” cannot be confirmed, a communication error is immediately set. As described above, the present invention can also be applied to a configuration having a pause period in which the main control board 14 does not transmit a command. In this embodiment, communication error detection is enabled / disabled based on the configuration data of the beginning and end of the command. However, instead of this configuration, the main control is performed before and after the transmission of the command. A signal for switching between valid / invalid of communication error detection may be separately transmitted from the substrate 14.

次に、通信エラー検出処理の実行態様を、タイミングチャートを用いて説明する。
図17(A)は、入賞判定コマンドが正常に送受信された場合のタイミングチャートである。かかる例では、メイン制御基板14は、入賞判定コマンドを構成データ毎に1.8ミリ秒間隔で送信し、その後は、コマンドの送信を休止する。かかる場合は、サブ用マイクロコンピュータ31は、入賞判定コマンドの先頭の構成データ「ST」を受信した時点(T1)で、カウントフラグが無効(N)から有効(Y)に切り替わり、1.2ミリ秒間隔で受信バッファ34の構成データの有無を確認する。そして、終端の構成データ「EN」を受信した時点(T7)で、カウントフラグが有効(Y)から無効(N)に切り替わり、サブ用マイクロコンピュータ31は、通信エラーの検出を休止する。このため、サブ用マイクロコンピュータ31は、入賞判定コマンド受信後(T8〜T15)は、構成データを受信しなくても、通信エラーとして検出せず、通信エラー処理を実行することもない。
Next, the execution mode of the communication error detection process will be described using a timing chart.
FIG. 17A is a timing chart when the winning determination command is normally transmitted and received. In such an example, the main control board 14 transmits a winning determination command for each configuration data at an interval of 1.8 milliseconds, and thereafter stops command transmission. In this case, the sub-microcomputer 31 switches the count flag from invalid (N) to valid (Y) at the time (T1) of receiving the first configuration data “ST” of the winning determination command, and 1.2 mm The presence or absence of configuration data in the reception buffer 34 is confirmed at intervals of seconds. Then, at the time (T7) when the terminal configuration data “EN” is received, the count flag switches from valid (Y) to invalid (N), and the sub microcomputer 31 stops detecting the communication error. For this reason, after receiving the winning determination command (T8 to T15), the sub microcomputer 31 does not detect the communication data and does not execute the communication error process even if it does not receive the configuration data.

図17(B)は、重度通信エラーを検出した場合のタイミングチャートである。かかる例では、メイン制御基板14は、図17(A)と同様に、入賞判定コマンドを送信後、コマンドの送信を休止する。ここで、かかる例では、入賞判定コマンドの2個の構成データ(「05」、「01」)が、連続して受信バッファ34まで到達しない。かかる場合は、入賞判定コマンドの先頭の構成データ「ST」を受信した時点で、カウントフラグが有効(Y)となっているから、サブ用マイクロコンピュータ31は、到達しなかった2個の構成データを受信するはずのタイミング(T2,T4)で、受信バッファ34に新規構成データなし(Err)と判定し、受信カウントを減算する。このため、かかる例では、図中のT4の時点で、受信カウントが「2」に減算されて重度通信エラーとなり、図中のT5の時点で通信エラー処理が実行される。   FIG. 17B is a timing chart when a severe communication error is detected. In such an example, the main control board 14 pauses the command transmission after transmitting the winning determination command, as in FIG. Here, in this example, the two pieces of configuration data (“05”, “01”) of the winning determination command do not reach the reception buffer 34 continuously. In this case, since the count flag is valid (Y) at the time when the first configuration data “ST” of the winning determination command is received, the sub microcomputer 31 does not reach the two configuration data that have not arrived. At the timing (T2, T4) at which the data is to be received, it is determined that there is no new configuration data (Err) in the reception buffer 34, and the reception count is subtracted. For this reason, in such an example, the reception count is subtracted to “2” at time T4 in the figure, resulting in a severe communication error, and communication error processing is executed at time T5 in the figure.

図18は、軽度通信エラーを検出した場合のタイミングチャートである。かかる例では、メイン制御基板14は、入賞判定コマンドを送信し、コマンドの送信を一時休止した後に、アクティブコマンドを送信する。そして、かかる例では、何らかの原因により、入賞判定コマンドとアクティブコマンドの構成データ(「05」,「08」)が1個単位で受信バッファ34まで到達しない。かかる場合は、サブ用マイクロコンピュータ31は、入賞判定コマンド及びアクティブコマンドの受信中(T1〜T7,T11〜T15)は、カウントフラグが有効(Y)になっているから、それぞれの構成データの未受信(「05」,「08」)は、受信カウントに反映され、図中のT3及びT13の時点で軽度通信エラーとなってエラーカウントが加算される。また、サブ用マイクロコンピュータ31は、入賞判定コマンドの終端の構成データ「EN」を受信してから、アクティブコマンドの先頭の構成データ「ST」を受信するまでの間(T8〜T10)は、カウントフラグが無効(N)となっているから、構成データを受信していなくても、エラーカウントが加算されることはない。   FIG. 18 is a timing chart when a minor communication error is detected. In such an example, the main control board 14 transmits a winning determination command, transmits an active command after pausing the command transmission. In this example, the composition data (“05”, “08”) of the winning determination command and the active command does not reach the reception buffer 34 by one unit for some reason. In such a case, the sub-microcomputer 31 is not receiving the configuration data because the count flag is valid (Y) while the winning determination command and the active command are being received (T1 to T7, T11 to T15). Reception ("05", "08") is reflected in the reception count, and a minor communication error occurs at time points T3 and T13 in the figure, and an error count is added. Further, the sub microcomputer 31 counts from the time when the configuration data “EN” at the end of the winning determination command is received to the time when the configuration data “ST” at the beginning of the active command is received (T8 to T10). Since the flag is invalid (N), the error count is not added even if the configuration data is not received.

なお、本実施例では、コマンドの終端の構成データを受信してから、次のコマンドの先頭の構成データを受信するまでの間、すなわち、通信エラーの検出を休止している期間は、エラーカウントをリセットするためのタイマを停止している。例えば、図19(A)のタイミングチャートは、コマンドA、C、Dの受信時に夫々軽度通信エラーが検出され、コマンドDの受信時にエラーカウントが3となって通信エラー処理が実行された例である。かかる例にあって、タイマは、各コマンドの構成データを受信している間のみ作動し、構成データを受信しない期間はタイマを停止する。具体的には、タイマは、図中のTa1,Ta2,・・・,Taxで作動し、初期設定された後に、Tb1,・・・,Tbxで作動する。なお、図19(A)では、タイマが所定時間の計測を満了せず、コマンドDの受信時にエラーカウントが3回に達しているが、例えば、図19(B)に示すように、図中のTb1,・・・,Tbxが所定時間に達すると、タイマの計測満了により、エラーカウントが0にリセットされる。   In the present embodiment, the period between the reception of the configuration data at the end of the command and the reception of the configuration data at the beginning of the next command, that is, the period during which communication error detection is suspended is the error count. The timer for resetting is stopped. For example, the timing chart of FIG. 19A is an example in which a minor communication error is detected when commands A, C, and D are received, and a communication error process is executed with an error count of 3 when command D is received. is there. In such an example, the timer operates only while receiving the configuration data of each command, and stops the timer during a period when the configuration data is not received. Specifically, the timer operates at Ta1, Ta2,..., Tax in the drawing, and after initial setting, operates at Tb1,. In FIG. 19A, the timer does not expire the predetermined time, and the error count reaches three times when the command D is received. For example, as shown in FIG. When Tb1,..., Tbx reach a predetermined time, the error count is reset to 0 when the timer measurement expires.

次に、実施例4に係る通信エラー検出処理の制御処理について説明する。
図20,21,22は、サブ用マイクロコンピュータ31のCPUで実行される通信エラー検出処理の制御内容を示すフローチャートである。通信エラー検出処理では、サブ用マイクロコンピュータ31のCPUは、まず、カウントフラグがY(有効)であるか否かを判定し(S701)、カウントフラグがN(無効)であると判定した場合は、ステップS801に移行する。一方、カウントフラグがYであると判定した場合は、受信カウントを減算し(S702)、次いで、受信カウントが1であるか否かを判定する(S703)。そして、受信カウントが1であると判定した場合は、上記通信エラー処理を実行し(S704)、通信エラー検出処理を終了する。ステップS703で受信カウントが1でないと判定した場合は、ステップS801に移行する。
Next, a control process of the communication error detection process according to the fourth embodiment will be described.
20, 21, and 22 are flowcharts showing the control contents of the communication error detection process executed by the CPU of the sub microcomputer 31. In the communication error detection process, the CPU of the sub-microcomputer 31 first determines whether or not the count flag is Y (valid) (S701), and determines that the count flag is N (invalid). The process proceeds to step S801. On the other hand, if it is determined that the count flag is Y, the reception count is subtracted (S702), and then it is determined whether or not the reception count is 1 (S703). If it is determined that the reception count is 1, the communication error process is executed (S704), and the communication error detection process is terminated. If it is determined in step S703 that the reception count is not 1, the process proceeds to step S801.

ステップS801では、カウントフラグがYであるか否かを判定し、カウントフラグがNであると判定した場合は、そのままステップS803に移行し、カウントフラグがYであると判定した場合は、タイマが0でなければタイマから1を減算してから(S802)、ステップS803に移行する。ステップS803では、受信バッファ34に新たな構成データが記憶されているか否かを判定する。ここで、受信バッファ34に構成データなしと判定した場合はステップS904に移行し、受信バッファ34に構成データありと判定した場合はステップS804に移行する。ステップS804では、受信バッファ34の構成データがコマンドの最初(1バイト目)の構成データとして受信したデータであるか否かを判定する。そして、最初の構成データであると判定した場合はステップS809に移行し、最初の構成データでないと判定した場合はステップS805に移行する。ステップS805では、受信バッファ34の構成データがコマンドの最後(5バイト目)の構成データとして受信したデータであるか否かを判定する。そして、最後のデータであると判定した場合は、受信した構成データが、コマンドの終端の構成データ「EN」であるかを判定し(S806)、終端の構成データ「EN」でないと判定した場合はステップS812に移行し、終端の構成データであると判定した場合は、カウントフラグをNに設定し(S807)、ステップS808に移行する。ステップS808では、受信カウントが2であるか否かを判定し、受信フラグが2であると判定した場合は、ステップS901に移行し、受信フラグが2でないと判定した場合は、ステップS811に移行する。ステップS809では、受信した構成データが、コマンドの先頭の構成データ「ST」であるかを判定し、先頭の構成データ「ST」でないと判定した場合はステップS812に移行し、先頭の構成データであると判定した場合は、カウントフラグをYに設定し(S810)、ステップS811で受信カウントに初期値(5)を設定し、ステップS904に移行する。また、ステップS812では、上記通信エラー処理を実行し、続いて、カウントフラグをNに設定して(S813)、通信エラー検出処理を終了する。   In step S801, it is determined whether or not the count flag is Y. If it is determined that the count flag is N, the process proceeds to step S803 as it is, and if it is determined that the count flag is Y, the timer is If it is not 0, 1 is subtracted from the timer (S802), and then the process proceeds to step S803. In step S803, it is determined whether new configuration data is stored in the reception buffer. If it is determined that there is no configuration data in the reception buffer 34, the process proceeds to step S904. If it is determined that there is configuration data in the reception buffer 34, the process proceeds to step S804. In step S804, it is determined whether or not the configuration data in the reception buffer 34 is data received as the first (first byte) configuration data of the command. If it is determined that the data is the first configuration data, the process proceeds to step S809. If it is determined that the data is not the first configuration data, the process proceeds to step S805. In step S805, it is determined whether the configuration data in the reception buffer 34 is data received as configuration data at the end (fifth byte) of the command. If it is determined that it is the last data, it is determined whether the received configuration data is the configuration data “EN” at the end of the command (S806), and it is determined that it is not the configuration data “EN” at the end. Shifts to step S812, and if it is determined that the data is the terminal configuration data, the count flag is set to N (S807), and the process shifts to step S808. In step S808, it is determined whether or not the reception count is 2. If it is determined that the reception flag is 2, the process proceeds to step S901. If it is determined that the reception flag is not 2, the process proceeds to step S811. To do. In step S809, it is determined whether the received configuration data is the first configuration data “ST” of the command. If it is determined that the received configuration data is not the first configuration data “ST”, the process proceeds to step S812. If it is determined that there is, the count flag is set to Y (S810), the initial value (5) is set to the reception count in step S811, and the process proceeds to step S904. In step S812, the communication error process is executed. Subsequently, the count flag is set to N (S813), and the communication error detection process ends.

ステップS901では、エラーカウントに1を加算し、続いて、ステップS902でエラーカウントが3であるか否かを判定する。そして、エラーカウントが3でないと判定した場合は、タイマに初期値を設定し(S903)、ステップS904に移行する。ステップS904では、タイマが0か否か、すなわち、設定時間の計測を終了したか否かを判定し、タイマが0でないと判定した場合は、そのまま通信エラー検出処理を終了し、タイマが0であると判定した場合は、エラーカウンタを初期化してから(S905)、通信エラー検出処理を終了する。一方、ステップS902で、エラーカウントが3であると判定した場合は、上記通信エラー処理を実行して(S906)、通信エラー検出処理を終了する。   In step S901, 1 is added to the error count, and then in step S902, it is determined whether or not the error count is 3. If it is determined that the error count is not 3, an initial value is set in the timer (S903), and the process proceeds to step S904. In step S904, it is determined whether or not the timer is 0, that is, whether or not the measurement of the set time has been completed. If it is determined that the timer is not 0, the communication error detection process is terminated and the timer is 0. If it is determined that there is an error, the error counter is initialized (S905), and the communication error detection process is terminated. On the other hand, if it is determined in step S902 that the error count is 3, the communication error process is executed (S906), and the communication error detection process is terminated.

なお、本発明の遊技機は、上記実施例の形態に限らず本発明の要旨を逸脱しない範囲内において種々変更を加えることができる。例えば、上記実施例は、本発明をスロットマシンに適用したものであるが、本発明は、パチンコ機等の遊技機にも同様にして適用可能である。また、上記実施例は、スロットマシンのメイン制御基板とサブ制御基板の通信に本発明を適用したものであるが、本発明は、メイン制御基板とサブ制御基板の間の通信に限定されるものではない。なお、本発明は、第一の制御手段から第二の制御手段に制御情報が一方向に送信される構成に特に有効であるが、本発明は、制御情報が双方向に送信される構成にも適用可能である。   Note that the gaming machine of the present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the present invention. For example, in the above embodiment, the present invention is applied to a slot machine, but the present invention can be similarly applied to a gaming machine such as a pachinko machine. In the above embodiment, the present invention is applied to the communication between the main control board and the sub control board of the slot machine, but the present invention is limited to the communication between the main control board and the sub control board. is not. The present invention is particularly effective for a configuration in which control information is transmitted in one direction from the first control unit to the second control unit. However, the present invention has a configuration in which control information is transmitted in both directions. Is also applicable.

また、上記実施例では、本発明の通信手段を、両制御基板14,15のシリアル通信回路32,33と信号線16とによって構成しているが、本発明の通信手段は、パラレル通信方式の通信回路によって構成することもできる。また、上記実施例では、制御情報(コマンド)が5バイトデータであり、各制御情報を1バイト単位の構成データに分割して送信しているが、本発明に係る制御情報は、可変長であってもよいし、制御情報と構成データのサイズを等しくして、制御情報を分割せず、一つの構成データとして送信することもできる。また、上記実施例では、本発明に係る第一の判定時間が、構成データの送信間隔(1.8ミリ秒)の二倍(3.6ミリ秒)に設定され、構成データを二個連続して受信できない場合を重度通信エラーとして検出しているが、本発明に係る第一の判定時間は、自然発生的な通信エラーを十分に排除し得る長さに設定すべきものであり、通信手段の仕様によっては、構成データの送信間隔の二倍以外の値に設定され得る。   In the above embodiment, the communication means of the present invention is constituted by the serial communication circuits 32 and 33 of both control boards 14 and 15, and the signal line 16. However, the communication means of the present invention is a parallel communication system. It can also be configured by a communication circuit. In the above embodiment, the control information (command) is 5-byte data, and each control information is divided into 1-byte unit data and transmitted. However, the control information according to the present invention has a variable length. Alternatively, the size of the control information and the configuration data may be equalized, and the control information may be transmitted as one configuration data without being divided. Moreover, in the said Example, the 1st determination time which concerns on this invention is set to 2 times (3.6 milliseconds) of the transmission interval (1.8 milliseconds) of composition data, and two pieces of composition data are continued. However, the first determination time according to the present invention should be set to a length that can sufficiently eliminate a spontaneous communication error. Depending on the specifications, a value other than twice the transmission interval of the configuration data may be set.

また、上記実施例では、重度通信エラー(第一の通信エラー)を検出した時に、液晶表示器10で通信エラー表示を行っているが、本発明に係る第一のエラー処理の内容や解除条件は、適宜設定可能である。また、上記実施例では、軽度通信エラー(第二の通信エラー)を高頻度で検出した時に、通信エラー処理(第一のエラー処理)を実行しているが、本発明にあっては、軽度通信エラーを一回、又は低頻度で検出した時に、通信エラー処理よりも軽度のエラー処理を実行してもかまわない。   Further, in the above embodiment, when a severe communication error (first communication error) is detected, a communication error is displayed on the liquid crystal display 10. However, the contents and release conditions of the first error processing according to the present invention are displayed. Can be set as appropriate. In the above embodiment, when a minor communication error (second communication error) is detected at a high frequency, the communication error processing (first error processing) is performed. When a communication error is detected once or at a low frequency, error processing that is milder than communication error processing may be executed.

また、上記実施例では、軽度通信エラーを検出するたびにエラーカウント(エラー計数手段)をリセットするためのタイマを初期化しているが、2回目の軽度通信エラーの検出時はタイマを初期化せず、3回目の軽度通信エラーを検出するまでの間にタイマが所定時間を計測満了した時に、エラーカウントを初期化するようにしてもよい。また、タイマの計測満了に替えて、所定コマンドを所定回数受信した場合にエラーカウントを初期化するようにしてもよい。   In the above embodiment, the timer for resetting the error count (error counting means) is initialized every time a minor communication error is detected. However, when the second minor communication error is detected, the timer is initialized. Instead, the error count may be initialized when the timer expires the predetermined time before detecting the third minor communication error. Further, instead of expiration of the timer measurement, an error count may be initialized when a predetermined command is received a predetermined number of times.

また、上記実施例3では、コマンドのチェックサムが不一致となった場合を軽度検出エラーとして検出しているが、チェックサムによるチェックに替えて、又は加えて、コマンドのうち固定値を有する構成データが、正常値であるか否かを判定するようにしても良い。例えば、上記実施例1のコマンドでは、先頭の構成データ「ST」は、いずれのコマンドであっても、固定値である「AA(16進数)」が格納されている。このため、サブ用マイクロコンピュータ31のCPUは、1バイト目の構成データを受信した場合に、受信した構成データが「AA」であるか否かを判定することで、通信エラーの発生を検出できる。   In the third embodiment, the case where the checksum of the command does not match is detected as a minor detection error. However, instead of or in addition to the checksum check, the configuration data having a fixed value in the command However, it may be determined whether it is a normal value. For example, in the command of the first embodiment, the head configuration data “ST” stores “AA (hexadecimal number)” which is a fixed value for any command. Therefore, when the CPU of the sub microcomputer 31 receives the configuration data of the first byte, it can detect the occurrence of a communication error by determining whether or not the received configuration data is “AA”. .

1 スロットマシン(遊技機)
2 筐体
3 前扉
4 視認窓
5a,5b ベットスイッチ
6 スタートスイッチ
7 ストップスイッチ
8 精算スイッチ
9 リール
10 液晶表示器
11 スピーカ
12 演出用ランプ
14 メイン制御基板
15 サブ制御基板
16 信号線
18 電源投入スイッチ
19 電源ボックス
20 ホッパーユニット
22 前扉開放検出センサ
23 反射板
30 メイン用マイクロコンピュータ(第一の制御手段)
31 サブ用マイクロコンピュータ(第二の制御手段)
32,33 シリアル通信回路
34 受信バッファ(受信手段)
1 slot machine (game machine)
2 Housing 3 Front door 4 Viewing window 5a, 5b Bet switch 6 Start switch 7 Stop switch 8 Settlement switch 9 Reel 10 Liquid crystal display 11 Speaker 12 Production lamp 14 Main control board 15 Sub control board 16 Signal line 18 Power switch 18 DESCRIPTION OF SYMBOLS 19 Power supply box 20 Hopper unit 22 Front door open detection sensor 23 Reflector 30 Main microcomputer (first control means)
31 Sub-computer (second control means)
32, 33 Serial communication circuit 34 Reception buffer (reception means)

Claims (6)

制御情報を送信する第一の制御手段と、
該第一の制御手段から受信した前記制御情報に基づいて制御を行う第二の制御手段と、
所定の構成データを転送単位として前記第一の制御手段から前記第二の制御手段にデータを転送する通信手段と
を備えた遊技機であって、
前記第一の制御手段は、
前記制御情報を生成する制御情報生成手段と、
該制御情報生成手段により生成された前記制御情報を、前記通信手段を介して前記構成データ単位で、所定の送信間隔で1個ずつ送信する送信手段とを備え、
前記第二の制御手段は、
前記通信手段を介して前記構成データ単位で前記制御情報を受信する受信手段と、
該受信手段が前記構成データを受信する受信間隔が、第一の判定時間を超えた状態を第一の通信エラーとして検出する第一の通信エラー検出手段と
を備え、
前記第一の判定時間は、前記送信手段による前記構成データの前記送信間隔の2倍以上の長さであり、
さらに、前記第一の通信エラーとは異なる事象を第二の通信エラーとして検出する第二の通信エラー検出手段と、
前記第二の通信エラーの検出回数を計数するエラー計数手段と、
所定条件の成立により前記エラー計数手段を初期化する初期化手段と、
前記第一の通信エラーを検出した場合、又は、前記エラー計数手段の計数回数が第一の検出回数に達した場合に、第一のエラー処理を実行する第一のエラー処理実行手段と
を備えることを特徴とする遊技機。
First control means for transmitting control information;
Second control means for performing control based on the control information received from the first control means;
A gaming machine comprising communication means for transferring data from the first control means to the second control means as a unit of transfer of predetermined configuration data,
The first control means includes
Control information generating means for generating the control information;
A transmission unit that transmits the control information generated by the control information generation unit one by one at a predetermined transmission interval in the configuration data unit via the communication unit;
The second control means includes
Receiving means for receiving the control information in units of the configuration data via the communication means;
A first communication error detecting means for detecting, as a first communication error, a state in which a reception interval at which the receiving means receives the configuration data exceeds a first determination time;
Wherein the first determination time, are two times or more the length der of the transmission interval of the configuration data by the transmission means,
Furthermore, a second communication error detecting means for detecting an event different from the first communication error as a second communication error,
Error counting means for counting the number of detection times of the second communication error;
Initialization means for initializing the error counting means upon establishment of a predetermined condition;
First error processing execution means for executing the first error processing when the first communication error is detected or when the number of counts of the error counting means reaches the first detection count;
Gaming machine according to claim Rukoto equipped with.
前記第二の通信エラー検出手段は、前記受信手段が前記構成データを受信する受信間隔が第二の判定時間を超えた状態を前記第二の通信エラーとして検出するものであり、
前記第二の判定時間は、前記送信手段による前記構成データの前記送信間隔以上の長さで、かつ前記第一の判定時間よりも短いことを特徴とする請求項1に記載の遊技機。
The second communication error detection means detects a state where a reception interval at which the reception means receives the configuration data exceeds a second determination time as the second communication error,
The gaming machine according to claim 1 , wherein the second determination time is longer than the transmission interval of the configuration data by the transmission unit and shorter than the first determination time.
前記第一の制御手段は、誤り訂正符号を含む制御情報を送信するものであり、
前記第二の通信エラーは、前記誤り検出符号に基づいて検出される前記制御情報の誤りであることを特徴とする請求項1に記載の遊技機。
The first control means transmits control information including an error correction code,
The gaming machine according to claim 1 , wherein the second communication error is an error in the control information detected based on the error detection code.
前記エラー計数手段の計数回数が、前記第一の検出回数未満の第二の検出回数に達した場合に、前記第一のエラー処理とは異なる第二のエラー処理を実行する第二のエラー処理実行手段を備えることを特徴とする請求項1乃至請求項3のいずれか1項に記載の遊技機。 Second error processing for executing second error processing different from the first error processing when the number of counts of the error counting means reaches a second number of detections less than the first number of detections The gaming machine according to any one of claims 1 to 3 , further comprising execution means. 制御情報を送信する第一の制御手段と、
該第一の制御手段から受信した前記制御情報に基づいて制御を行う第二の制御手段と、
所定の構成データを転送単位として前記第一の制御手段から前記第二の制御手段にデータを転送する通信手段と
を備えた遊技機であって、
前記第一の制御手段は、
前記制御情報を生成する制御情報生成手段と、
該制御情報生成手段により生成された前記制御情報を、前記通信手段を介して前記構成データ単位で、所定の送信間隔で1個ずつ送信する送信手段とを備え、
前記第二の制御手段は、
前記通信手段を介して前記構成データ単位で前記制御情報を受信する受信手段と、
該受信手段が前記構成データを受信する受信間隔が、第一の判定時間を超えた状態を第一の通信エラーとして検出する第一の通信エラー検出手段と
を備え、
前記第一の判定時間は、前記送信手段による前記構成データの前記送信間隔の2倍以上の長さであり、
前記制御情報生成手段は、前記送信手段が送信すべき前記制御情報が存在しない場合に特定の制御情報を生成するものであり、
前記送信手段は、前記特定の制御情報を送信することで、複数の前記制御情報の送信期間にわたって、前記構成データを前記送信間隔で休みなく送信することを特徴とする遊技機。
First control means for transmitting control information;
Second control means for performing control based on the control information received from the first control means;
A gaming machine comprising communication means for transferring data from the first control means to the second control means as a unit of transfer of predetermined configuration data,
The first control means includes
Control information generating means for generating the control information;
A transmission unit that transmits the control information generated by the control information generation unit one by one at a predetermined transmission interval in the configuration data unit via the communication unit;
The second control means includes
Receiving means for receiving the control information in units of the configuration data via the communication means;
A first communication error detecting means for detecting, as a first communication error, a state in which a reception interval at which the receiving means receives the configuration data exceeds a first determination time;
Wherein the first determination time, are two times or more the length der of the transmission interval of the configuration data by the transmission means,
The control information generation means generates specific control information when the control information to be transmitted by the transmission means does not exist.
The transmission unit, by transmitting the specific control information, over a plurality of transmission periods of the control information, the gaming machine characterized that you sent without rest the configuration data in the transmission interval.
前記第一の通信エラー検出手段は、
前記受信手段が前記構成データを受信したか否かを一定間隔で判定する受信状態確認手段と、
該受信状態確認手段が、前記構成データを新規に受信していないと連続して判定する回数を計数する未受信回数計数手段とを備え、
該未受信回数計数手段の計数回数が、前記第一の判定時間に相当する回数に達すると、前記第一の通信エラーとして検出するものであることを特徴とする請求項1乃至請求項5のいずれか1項に記載の遊技機。
The first communication error detecting means is
Reception state confirmation means for determining whether the reception means has received the configuration data at regular intervals;
The reception state confirmation means comprises a non-reception frequency counting means for counting the number of times of continuous determination that the configuration data has not been newly received;
6. The first communication error according to claim 1 , wherein the first communication error is detected when the number of counts of the unreceived number counting means reaches a number corresponding to the first determination time . The gaming machine according to any one of the above.
JP2012201672A 2012-09-13 2012-09-13 Game machine Active JP5750088B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012201672A JP5750088B2 (en) 2012-09-13 2012-09-13 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012201672A JP5750088B2 (en) 2012-09-13 2012-09-13 Game machine

Publications (2)

Publication Number Publication Date
JP2014054433A JP2014054433A (en) 2014-03-27
JP5750088B2 true JP5750088B2 (en) 2015-07-15

Family

ID=50612298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012201672A Active JP5750088B2 (en) 2012-09-13 2012-09-13 Game machine

Country Status (1)

Country Link
JP (1) JP5750088B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5599121B1 (en) * 2013-04-22 2014-10-01 山佐株式会社 Game machine
JP2016067575A (en) * 2014-09-30 2016-05-09 サミー株式会社 Slot machine
JP6491062B2 (en) * 2015-08-27 2019-03-27 株式会社三共 Game machine
JP6770321B2 (en) * 2016-02-16 2020-10-14 株式会社三共 Game machine

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4588011B2 (en) * 2006-10-25 2010-11-24 株式会社藤商事 Game machine
JP4858620B2 (en) * 2010-02-08 2012-01-18 株式会社三洋物産 Game machine
JP5046411B2 (en) * 2011-09-20 2012-10-10 サミー株式会社 Game machine

Also Published As

Publication number Publication date
JP2014054433A (en) 2014-03-27

Similar Documents

Publication Publication Date Title
JP5879586B2 (en) Amusement stand
JP5083886B2 (en) Amusement stand
JP5610448B2 (en) Amusement stand
JP2019195517A (en) Game machine
JP5750088B2 (en) Game machine
JP2015107356A (en) Game machine
JP5592645B2 (en) Game machine
JP5509506B1 (en) Game machine
JP6371994B2 (en) Game machine
JP5599121B1 (en) Game machine
JP2009268650A (en) Game machine
JP2011000250A (en) Game machine
JP2008295870A (en) Game machine
JP5577050B2 (en) Game machine
JP4750467B2 (en) Game machine
JP6038847B2 (en) Slot machine
JP5905530B2 (en) Game machine
JP5577051B2 (en) Game machine
JP2020073184A (en) Slot machine
JP6321715B2 (en) Game machine
JP2014117393A (en) Slot machine
JP2014223388A (en) Game machine
JP2014223386A (en) Game machine
JP2014223385A (en) Game machine
JP2014223387A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140819

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20150115

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20150220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150414

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150515

R150 Certificate of patent or registration of utility model

Ref document number: 5750088

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250