JP2016083179A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2016083179A
JP2016083179A JP2014217875A JP2014217875A JP2016083179A JP 2016083179 A JP2016083179 A JP 2016083179A JP 2014217875 A JP2014217875 A JP 2014217875A JP 2014217875 A JP2014217875 A JP 2014217875A JP 2016083179 A JP2016083179 A JP 2016083179A
Authority
JP
Japan
Prior art keywords
command
reception
board
sub
interval
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.)
Granted
Application number
JP2014217875A
Other languages
Japanese (ja)
Other versions
JP6371994B2 (en
Inventor
伊織 小林
Iori Kobayashi
伊織 小林
健二 白田
Kenji Shirata
健二 白田
恭好 森下
Yasuyoshi Morishita
恭好 森下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympia KK
Original Assignee
Olympia KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympia KK filed Critical Olympia KK
Priority to JP2014217875A priority Critical patent/JP6371994B2/en
Publication of JP2016083179A publication Critical patent/JP2016083179A/en
Application granted granted Critical
Publication of JP6371994B2 publication Critical patent/JP6371994B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent an execution of a fraudulent command by a fraudulent board disposed between a main board and a sub board.SOLUTION: A game machine includes a main board for performing processing related to games and a sub board for performing processing related to presentations on the basis of commands from the main board. In the game machine where commands are transmitted from the main board to the sub board, a duration time of no reception signal in the sub board is compared to a predetermined threshold value, and if the duration time becomes longer than the threshold value, a command is read out to check the length of the command. If the length of the command is different from a predetermined reference length, the command is cancelled. A fraudulent command is combined to an earlier or later command, and as the result cancelled. In this way, a fraudulent command can be prevented from being handled like a legitimate command in the sub board.SELECTED DRAWING: Figure 14

Description

本発明は、スロットマシン等の遊技機に関し、特にメイン基板からサブ基板へコマンドを送る遊技機に関する。   The present invention relates to a gaming machine such as a slot machine, and more particularly to a gaming machine that sends a command from a main board to a sub board.

スロットマシン等の遊技機にはメダルの投入口が設けられており、遊技者は所定の枚数のメダルを投入してゲームを楽しむことができる。遊技に必要なメダルは、遊技ホール内に設けられたメダル貸機等で借りることができ、所望の遊技機のメダル投入口に投入することによりゲームを開始することができる。   A gaming machine such as a slot machine is provided with a medal slot so that a player can enjoy a game by inserting a predetermined number of medals. The medals necessary for the game can be borrowed with a medal lending machine provided in the game hall, and the game can be started by inserting it into the medal slot of a desired gaming machine.

従来の遊技機の動作は次のようなものであった。
先ず、スタートスイッチが操作されることにより、スタートスイッチがONとなる。これを受けて遊技機内部の当選判定手段により抽選処理が行われる。ここで所定の役に当選すると当選フラグがセットされる。回転リール(回胴)の回転が開始する。ストップボタンが操作されることにより、ストップボタンがONとなる。そして、対応する回胴の回転が停止する。全部の回胴に対応するストップボタンの操作が行われた後、当選フラグ成立中に当該当選フラグに対応する入賞図柄が有効入賞ライン上に揃ったか否か、すなわち、入賞が確定したか否かが判定される。入賞が確定したと判定された場合、入賞図柄に相当するメダルが払い出される。
The operation of the conventional gaming machine was as follows.
First, when the start switch is operated, the start switch is turned on. In response to this, a lottery process is performed by the winning determination means inside the gaming machine. Here, when a predetermined combination is won, a winning flag is set. The rotation of the rotating reel starts. When the stop button is operated, the stop button is turned on. Then, the rotation of the corresponding rotating cylinder stops. After the stop buttons corresponding to all the spinning cylinders are operated, whether or not the winning symbols corresponding to the winning flag are aligned on the effective winning line while the winning flag is established, that is, whether or not the winning is confirmed Is determined. When it is determined that the winning is confirmed, a medal corresponding to the winning symbol is paid out.

抽選処理の評価が例えば外れの場合は所定の図柄が揃わないように設定され(いわゆる蹴飛ばし)、当たりの場合はストップボタンが所定のタイミングで押下されることなどを条件に所定の図柄が揃うように設定される(いわゆる引き込み)。つまり、抽選処理において当選しているときのみ所定の条件の下で図柄が揃い入賞することにより、メダルが払い出されるが、当選しないときはストップボタンをどのように操作してもメダルが払い出されることはない。これはメダルの払い出しを一定確率に保つためである。これを実現するため抽選処理において乱数発生器が用いられている。   For example, when the evaluation of the lottery process is out of place, it is set so that the predetermined symbols are not aligned (so-called kicking), and when winning, the predetermined symbols are aligned on the condition that the stop button is pressed at a predetermined timing. (So-called pull-in). In other words, only when winning in the lottery process, medals are paid out by winning a winning pattern under the predetermined conditions, but when not winning, medals are paid out no matter how the stop button is operated. There is no. This is to keep the medal payout at a certain probability. In order to realize this, a random number generator is used in the lottery process.

特開2013−52286号公報 主制御回路から副制御回路へ送信すべきコマンドデータが無い場合には、正規コマンドデータである無操作コマンドデータを演出制御手段に送信する。常に、正規コマンドデータが必ず送信されるので、不正により偽のコマンドデータが送信されることを回避し、偽のコマンドデータによって遊技者に有利な報知演出が行われることを防止する。JP, 2013-52286, A When there is no command data which should be transmitted from a main control circuit to a sub control circuit, no operation command data which is regular command data is transmitted to an effect control means. Since regular command data is always transmitted, fake command data is prevented from being transmitted illegally, and a fake command data is prevented from giving a notice effect advantageous to the player.

上記遊技機において、所定の当選役に当選したとき、正解となる押し順で停止操作を行うことにより、特定の図柄組合せが表示され、この特定の図柄組合せが表示されたことに基づいて、リプレイが高確率で当選する状態とするとともに、当該状態において当選役を報知する状態(打順報知、詳細は後述)とするものがある。   In the above gaming machine, when a predetermined winning combination is won, a specific symbol combination is displayed by performing a stop operation in the correct pressing order, and a replay is performed based on the display of this specific symbol combination. Is in a state of winning with a high probability and in a state of notifying the winning combination in this state (notification of batting order, details will be described later).

上記打順報知された状態において、一般遊技状態と比べて、当選役が「ハズレ」となる確率が減り、また、特に、メダルの払出しに係る当選役(小役)が入賞する確率が増えることから、その状態においては、払出されるメダルを増加させることができるため、ボーナスと同時に遊技者の興味を引き、その遊技性を高めるものとなっている。   In the state in which the batting order is notified, the probability that the winning combination becomes “losing” is reduced as compared with the general gaming state, and in particular, the probability that the winning combination (small role) related to the payout of medals is increased. In this state, since the medals to be paid out can be increased, the player's interest is enhanced at the same time as the bonus, and the gameability is enhanced.

また、上記遊技機では、BB作動中に特定の当選役に当選していれば、BB終了後の一般遊技状態において上述した所定の当選役に当選したとき、正解となる押し順が報知されることとなっている。この報知は、上述のようにメイン基板からのコマンドを受信したサブ基板によって行われている。   Also, in the above gaming machine, if a specific winning combination is won during BB operation, when the above-mentioned predetermined winning combination is won in the general gaming state after the end of BB, the correct push order is notified. It is supposed to be. This notification is performed by the sub-board that has received the command from the main board as described above.

従来の遊技機では、メイン基板からサブ基板へ送信すべきコマンドが無い場合には、コマンド送信を行っていなかった。この点を突いて、メイン基板からサブ基板へのデータ伝送路に不正にアクセスし、上記報知を不正に行わせる、いわゆるゴト行為が行われることがある。   In the conventional gaming machine, when there is no command to be transmitted from the main board to the sub board, command transmission is not performed. At this point, there is a case where a so-called goto action is performed in which the data transmission path from the main board to the sub board is illegally accessed and the notification is illegally performed.

具体的には、メイン基板からサブ基板へコマンドを送る伝送路に不正な基板を接続し、例えば、BB作動中において特定の当選役に当選していないにも関わらず、不正アクセスによってサブ基板に特定の当選役に当選したという情報を送信することで、上記報知を不正に行わせるものである。   Specifically, an unauthorized board is connected to a transmission path for sending a command from the main board to the sub board. For example, even if the player does not win a specific winning role during BB operation, By transmitting information that a specific winning combination has been won, the above notification is illegally performed.

特許文献1は、上記不正を防止するために、メイン基板からサブ基板へ送信すべきコマンドデータが無い場合には、正規コマンドデータである無操作コマンドデータを演出制御手段に送信し、常に、正規コマンドデータが必ず送信されるようにする。これにより、不正なコマンドデータを送信する隙を無くしている。   In order to prevent the above-described fraud, when there is no command data to be transmitted from the main board to the sub-board, Patent Document 1 transmits no-operation command data, which is regular command data, to the effect control means. Ensure that command data is sent. This eliminates the opportunity to send illegal command data.

特許文献1において、コマンドデータが無い場合に送信される無操作コマンドデータは、正規コマンドデータであり、コマンドの構成の点で違いはない。特許文献1の段落0156乃至0158の記載によれば、コマンドデータ及び無操作コマンドデータは、各々が1バイトからなる8つのデータによって構成され、これら8つのデータによって1パケットを構成している。「コマンド種別」としては、「01H」〜「10H」の10種類あり、「10H」は、無操作コマンドに相当する。   In Patent Document 1, non-operation command data transmitted when there is no command data is regular command data, and there is no difference in the command configuration. According to the description in paragraphs 0156 to 0158 of Patent Document 1, the command data and the no-operation command data are configured by 8 data each consisting of 1 byte, and one packet is configured by these 8 data. There are ten types of “command types”, “01H” to “10H”, and “10H” corresponds to a no-operation command.

特許文献1によれば、不正なコマンドデータの送信を防止できるが、次のような課題が有る。   According to Patent Document 1, it is possible to prevent unauthorized transmission of command data, but there are the following problems.

(1)無操作コマンドデータも正規コマンドデータとしているため、正規コマンドの数が減ってしまう。上記例で言えば本来10種類のコマンドを定義できるはずのところ、無操作コマンドの分だけ減り、最大9種類のコマンドしか定義できない。 (1) Since no-operation command data is also regular command data, the number of regular commands is reduced. In the above example, it should be possible to define 10 types of commands, but it is reduced by the amount of no-operation commands and only 9 types of commands can be defined.

(2)受信側(サブ基板)で、正規コマンドデータかそれとも無操作コマンドデータであるかを判別するためには、コマンドデータの中身を解析しなければならない。これでは破棄することになる無操作コマンドデータについても正規コマンドデータと同じ処理を適用することになり、処理が複雑になるとともにCPUの処理負荷が増えてしまう。 (2) To determine whether the receiving side (sub-board) is regular command data or no-operation command data, the contents of the command data must be analyzed. In this case, the same processing as that of the regular command data is applied to the non-operation command data to be discarded, and the processing becomes complicated and the processing load of the CPU increases.

無操作コマンドデータは意味のないコマンドであり、このような意味のないコマンドを送信することは、できれば避けたい。コマンドとコマンドの隙間に不正なコマンドデータを挿入されることが問題であるが、その隙間の大きさによっては無操作コマンドデータを送らずとも、受信側の処理で不正なコマンドを無効化することが可能である。   Non-operation command data is a meaningless command, and it is desirable to avoid sending such meaningless commands if possible. The problem is that invalid command data is inserted in the gap between commands, but depending on the size of the gap, invalid command may be invalidated in the processing on the receiving side without sending no-operation command data. Is possible.

本発明は上記課題を解決するためになされたもので、受信側の処理により上記不正なコマンドデータを無効化できる遊技機を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a gaming machine that can invalidate the illegal command data by processing on the receiving side.

この発明は、遊技に関する処理を行うメイン基板と、前記メイン基板からのコマンドに基づき演出に関する処理を行うサブ基板とを備える遊技機において、
前記メイン基板から前記サブ基板へ、前記サブ基板に予め定められた処理を行わせるためのコマンドが送信され、
前記コマンドの長さは予め定められ(以下、前記サブ基板に予め定められた処理を行わせるための前記コマンドの長さを「基準長」と記す)、
前記メイン基板は、
前記コマンドを前記サブ基板へ予め定められた間隔で送信するコマンド送信部を備え、
前記サブ基板は、
前記メイン基板から受けた前記コマンドを受信するコマンド受信部と、
前記コマンド受信部で受けた前記コマンドを保存する受信バッファと、
前記受信バッファから前記コマンドを読み出して解析し、前記サブ基板に予め定められた処理を行わせるコマンド解析部とを備え、
前記コマンド受信部は、前記コマンドの受信状況を調べ、前記コマンドを受信しているときは前記コマンドを前記受信バッファに記憶し、前記コマンドを受信していないときは受信無の信号を出力し、
前記コマンド解析部は、
前記コマンド受信部から前記受信無の信号を受けたとき、前記受信無の信号が連続する期間(以下「継続時間」)を予め定められた閾値と比較し、
前記継続時間が前記閾値と同じか又はそれよりも長くなったとき、前記コマンドの長さを調べ、
前記コマンドの長さが、予め定められた基準長に一致するときは、前記コマンドを解析して前記サブ基板に予め定められた処理を行わせ、
前記コマンドの長さが、予め定められた基準長と異なるときは、前記コマンドを破棄する、ものである。
The present invention relates to a gaming machine including a main board that performs processing related to a game, and a sub-board that performs processing related to effects based on a command from the main board.
A command for causing the sub-board to perform a predetermined process is transmitted from the main board to the sub-board.
The length of the command is predetermined (hereinafter, the length of the command for causing the sub-substrate to perform a predetermined process is referred to as “reference length”),
The main board is
A command transmission unit that transmits the command to the sub-board at a predetermined interval;
The sub-board is
A command receiver for receiving the command received from the main board;
A reception buffer for storing the command received by the command receiver;
A command analysis unit that reads and analyzes the command from the reception buffer and causes the sub-board to perform a predetermined process;
The command reception unit checks the reception status of the command, stores the command in the reception buffer when the command is received, and outputs a signal indicating no reception when the command is not received,
The command analysis unit
When the non-reception signal is received from the command receiving unit, the period during which the non-reception signal continues (hereinafter referred to as “duration”) is compared with a predetermined threshold value,
When the duration is equal to or longer than the threshold, examine the length of the command;
When the length of the command matches a predetermined reference length, the command is analyzed to cause the sub-board to perform a predetermined process,
When the length of the command is different from a predetermined reference length, the command is discarded.

例えば、
前記コマンドの受信間隔の最小値を最小受信間隔、最大値を最大受信間隔とし、
前記コマンドの受信に要する時間をコマンド受信時間とし、
(閾値)<(最小受信間隔)−(コマンド受信時間)、
かつ、
(閾値)>(最大受信間隔)/2−(コマンド受信時間)
となるように前記閾値が定められている。
For example,
The minimum value of the command reception interval is the minimum reception interval, and the maximum value is the maximum reception interval.
The time required to receive the command is the command reception time,
(Threshold) <(minimum reception interval) − (command reception time),
And,
(Threshold)> (Maximum reception interval) / 2− (Command reception time)
The threshold is determined so that

例えば、
前記コマンド送信部は、予め定められた間隔で発生するタイミングにおいて前記コマンドの送信処理を実行するものであり、
前記コマンドの受信間隔が略一定であるとし、
前記コマンドの受信に要する時間をコマンド受信時間とし、
(閾値)<(受信間隔)−(コマンド受信時間)、
かつ、
(閾値)>(受信間隔)/2−(コマンド受信時間)
となるように前記閾値が定められている。
For example,
The command transmission unit executes the command transmission process at a timing that occurs at a predetermined interval.
Suppose that the command reception interval is substantially constant,
The time required to receive the command is the command reception time,
(Threshold value) <(reception interval) − (command reception time),
And,
(Threshold)> (Reception interval) / 2- (Command reception time)
The threshold is determined so that

この発明は、遊技に関する処理を行うメイン基板と、前記メイン基板からのコマンドに基づき演出に関する処理を行うサブ基板とを備える遊技機において、
前記メイン基板から前記サブ基板へ、前記サブ基板に予め定められた処理を行わせるためのコマンドが送信され、
前記コマンドの長さは予め定められ(以下、前記サブ基板に予め定められた処理を行わせるための前記コマンドの長さを「基準長」と記す)、
前記メイン基板は、
前記コマンドを前記サブ基板へ予め定められた間隔で送信するコマンド送信部を備え、
前記サブ基板は、
前記メイン基板から受けた前記コマンドを受信するコマンド受信部と、
前記コマンド受信部で受けた前記コマンドを保存する受信バッファと、
前記受信バッファから前記コマンドを読み出して解析し、前記サブ基板に予め定められた処理を行わせるコマンド解析部とを備え、
前記コマンド受信部は、前記コマンドの受信状況を調べ、前記コマンドを受信しているときは前記コマンドを前記受信バッファに記憶し、前記コマンドを受信していないときは受信無の信号を出力し、
前記コマンド解析部は、
予め定められた間隔のコマンド受信チェックタイミングで前記コマンド受信部から前記受信無の信号を受けたかどうか判定し、連続して前記受信無であると判定した回数を計数し、この回数(以下「受信無継続回数」)を予め定められた回数閾値と比較し、
前記受信無継続回数が前記回数閾値と同じか又はそれよりも多くなったとき、前記コマンドの長さを調べ、
前記コマンドの長さが、予め定められた基準長に一致するときは、前記コマンドを解析して前記サブ基板に予め定められた処理を行わせ、
前記コマンドの長さが、予め定められた基準長と異なるときは、前記コマンドを破棄する、ものである。
The present invention relates to a gaming machine including a main board that performs processing related to a game, and a sub-board that performs processing related to effects based on a command from the main board.
A command for causing the sub-board to perform a predetermined process is transmitted from the main board to the sub-board.
The length of the command is predetermined (hereinafter, the length of the command for causing the sub-substrate to perform a predetermined process is referred to as “reference length”),
The main board is
A command transmission unit that transmits the command to the sub-board at a predetermined interval;
The sub-board is
A command receiver for receiving the command received from the main board;
A reception buffer for storing the command received by the command receiver;
A command analysis unit that reads and analyzes the command from the reception buffer and causes the sub-board to perform a predetermined process;
The command reception unit checks the reception status of the command, stores the command in the reception buffer when the command is received, and outputs a signal indicating no reception when the command is not received,
The command analysis unit
It is determined whether or not the non-reception signal has been received from the command reception unit at a command reception check timing at a predetermined interval, and the number of times that the non-reception has been determined is counted continuously. Compare no-recess times ”) with a predetermined number threshold,
When the non-reception continuation count is equal to or greater than the count threshold, check the length of the command,
When the length of the command matches a predetermined reference length, the command is analyzed to cause the sub-board to perform a predetermined process,
When the length of the command is different from a predetermined reference length, the command is discarded.

例えば、
前記コマンドの受信間隔の最小値を最小受信間隔、最大値を最大受信間隔とし、
前記コマンドの受信に要する時間をコマンド受信時間とし、
(閾値)<(最小受信間隔)−(コマンド受信時間)、
かつ、
(閾値)>(最大受信間隔)/2−(コマンド受信時間)
となるように閾値が定められ、前記閾値を前記コマンド受信チェックタイミングの間隔で除したときの商を前記回数閾値とする。
For example,
The minimum value of the command reception interval is the minimum reception interval, and the maximum value is the maximum reception interval.
The time required to receive the command is the command reception time,
(Threshold) <(minimum reception interval) − (command reception time),
And,
(Threshold)> (Maximum reception interval) / 2− (Command reception time)
The quotient when the threshold is divided by the command reception check timing interval is defined as the number-of-times threshold.

例えば、
前記コマンド送信部は、予め定められた間隔で発生するタイミングにおいて前記コマンドの送信処理を実行するものであり、
前記コマンドの受信間隔が略一定であるとし、
前記コマンドの受信に要する時間をコマンド受信時間とし、
(閾値)<(受信間隔)−(コマンド受信時間)、
かつ、
(閾値)>(受信間隔)/2−(コマンド受信時間)
となるように閾値が定められ、前記閾値を前記コマンド受信チェックタイミングの間隔で除したときの商を前記回数閾値とする。
For example,
The command transmission unit executes the command transmission process at a timing that occurs at a predetermined interval.
Suppose that the command reception interval is substantially constant,
The time required to receive the command is the command reception time,
(Threshold value) <(reception interval) − (command reception time),
And,
(Threshold)> (Reception interval) / 2- (Command reception time)
The quotient when the threshold is divided by the command reception check timing interval is defined as the number-of-times threshold.

予め定められた処理を行わせるための前記コマンド(この項において「正規コマンド」)とともに、前記メイン基板から前記サブ基板へ、前記サブ基板に何らの処理も行わせることのないダミーコマンドが送信され、
前記ダミーコマンドの長さは、前記正規コマンドの長さよりも短く、
前記メイン基板の前記コマンド送信部は、
送信すべき前記正規コマンドが存在するときは、前記正規コマンドを前記サブ基板へ送信し、
送信すべき前記正規コマンドが存在しないときは、前記ダミーコマンドを前記サブ基板へ送信するようにしてもよい。
A dummy command that does not cause the sub-board to perform any processing is transmitted from the main board to the sub-board together with the command for performing a predetermined process (“regular command” in this section). ,
The length of the dummy command is shorter than the length of the regular command,
The command transmission unit of the main board is
When the regular command to be transmitted exists, the regular command is transmitted to the sub-board,
When there is no regular command to be transmitted, the dummy command may be transmitted to the sub-board.

前記ダミーコマンドにより、前記コマンドの受信間隔を略一定となるようにできる。   The dummy command can make the command reception interval substantially constant.

前記コマンド送信部は、予め定められた間隔で発生するタイミングにおいて前記コマンドの送信処理を実行するものであり、
前記メイン基板は、電源断からの復帰の際に前記コマンドの送信を禁止する禁止区間を設けるものであり、
前記コマンド送信部は、前記禁止区間の終了後の最初の前記タイミングでは前記コマンドの送信処理を実行せず、二回目以降の前記タイミングにおいて前記コマンドの送信処理を実行するようにしてもよい。
The command transmission unit executes the command transmission process at a timing that occurs at a predetermined interval.
The main board is provided with a prohibition section for prohibiting the transmission of the command when returning from a power-off.
The command transmission unit may execute the command transmission process at the second and subsequent timings without executing the command transmission process at the first timing after the prohibition period ends.

あるいは、
この発明は、遊技に関する処理を行うメイン基板と、前記メイン基板からのコマンドに基づき演出に関する処理を行うサブ基板とを備える遊技機において、
前記メイン基板から前記サブ基板へ、前記サブ基板に予め定められた処理を行わせるためのコマンドが送信され、
前記メイン基板は、前記コマンドを前記サブ基板へ送信するコマンド送信部を備え、
前記サブ基板は、前記コマンドを受信し、前記コマンドを解析して前記サブ基板に予め定められた処理を行わせるコマンド受信部を備え、
前記コマンド送信部は、予め定められた間隔で発生するタイミングにおいて前記コマンドの送信処理を実行するものであり、
前記メイン基板は、電源断からの復帰の際に前記コマンドの送信を禁止する禁止区間を設けるものであり、
前記コマンド送信部は、前記禁止区間の終了後の最初の前記タイミングでは前記コマンドの送信処理を実行せず、二回目以降の前記タイミングにおいて前記コマンドの送信処理を実行する、ものである。
Or
The present invention relates to a gaming machine including a main board that performs processing related to a game, and a sub-board that performs processing related to effects based on a command from the main board.
A command for causing the sub-board to perform a predetermined process is transmitted from the main board to the sub-board.
The main board includes a command transmission unit that transmits the command to the sub-board,
The sub-board includes a command receiving unit that receives the command, analyzes the command, and causes the sub-board to perform a predetermined process.
The command transmission unit executes the command transmission process at a timing that occurs at a predetermined interval.
The main board is provided with a prohibition section for prohibiting the transmission of the command when returning from a power-off.
The command transmission unit does not execute the command transmission process at the first timing after the end of the prohibited section, and executes the command transmission process at the second and subsequent timings.

あるいは、
前記メイン基板は、前記正規コマンドを記憶するリングバッファを備え、
前記コマンド送信部は、前記リングバッファの予め定められた位置の記憶内容を読み出し、前記記憶内容に基づき前記ダミーコマンドを生成する。
Or
The main board includes a ring buffer for storing the regular command,
The command transmission unit reads out the stored content at a predetermined position of the ring buffer and generates the dummy command based on the stored content.

あるいは、
前記メイン基板は、遊技に関する処理に係る設定を変更するための設定変更処理を実行するものであり、前記設定変更処理により前記リングバッファの内容がクリアされ、
前記コマンド送信部は、前記設定変更処理の後において、前記リングバッファに前記正規コマンドが記憶されたときに、前記ダミーコマンドを生成する。
Or
The main board executes a setting change process for changing a setting related to a process related to a game, and the contents of the ring buffer are cleared by the setting change process,
The command transmission unit generates the dummy command when the regular command is stored in the ring buffer after the setting change process.

この発明によれば、サブ基板において、受信無の信号の継続時間を予め定められた閾値と比較し、前記継続時間が前記閾値よりも長くなったときコマンドを読み出し、そのコマンドの長さを調べ、前記コマンドの長さが、予め定められた基準長と異なるときは前記コマンドを破棄するようにしたので、不正なコマンドはその前又は後のコマンドと結合され、この結果破棄される。これにより、不正なコマンドがサブ基板で正規コマンドのように扱われることを防止できる。   According to the present invention, the sub-board compares the duration of the signal without reception with a predetermined threshold, reads the command when the duration is longer than the threshold, and examines the length of the command. Since the command is discarded when the length of the command is different from a predetermined reference length, an invalid command is combined with a command before or after the command, and is discarded as a result. Thereby, it is possible to prevent an illegal command from being treated like a regular command on the sub-board.

前扉を閉めた状態を示すスロットマシンの正面図である。It is a front view of the slot machine which shows the state which closed the front door. 前扉を開いた状態を示すスロットマシンの正面図である。It is a front view of the slot machine which shows the state which opened the front door. スロットマシンのブロック図である。It is a block diagram of a slot machine. スロットマシンの遊技処理のフローチャートである。It is a flowchart of the gaming process of the slot machine. スロットマシンのメイン基板のハードウエアブロック図である。It is a hardware block diagram of the main board of a slot machine. メイン基板のブロック図である(コマンド送信処理に関する部分のみを示す)。It is a block diagram of a main board (only a part about command transmission processing is shown). コマンドバッファの説明図である。It is explanatory drawing of a command buffer. 図8(a)はコマンド(正規コマンド)の構造の説明図、図8(b)は発明の実施の形態に係るダミーコマンドの構造の説明図である。FIG. 8A is an explanatory diagram of a command (regular command) structure, and FIG. 8B is an explanatory diagram of a dummy command structure according to the embodiment of the invention. 発明の実施の形態に係るコマンド送信処理(割込処理)のフローチャートである。It is a flowchart of the command transmission process (interrupt process) which concerns on embodiment of invention. メイン基板のコマンド送信処理(割込処理)のタイミングチャートである。It is a timing chart of command transmission processing (interrupt processing) of the main board. サブ基板のブロック図である(コマンド受信処理に関する部分のみを示す)。It is a block diagram of a sub board | substrate (only the part regarding command reception processing is shown). 発明の実施の形態に係るコマンド受信部の処理フローチャートである。It is a process flowchart of the command receiving part which concerns on embodiment of invention. 発明の実施の形態に係るコマンド解析部のコマンド確定処理のフローチャートである。It is a flowchart of the command confirmation process of the command analysis part which concerns on embodiment of invention. 発明の実施の形態に係るコマンド解析部の処理フローチャートである。It is a process flowchart of the command analysis part which concerns on embodiment of invention. 発明の実施の形態に係るコマンド送信及びコマンド受信についてのタイミングチャートである(不正コマンドが無い場合)。It is a timing chart about command transmission and command reception concerning an embodiment of the invention (when there is no illegal command). 発明の実施の形態に係るコマンド送信及びコマンド受信についてのタイミングチャートである(不正コマンドが有る場合)。It is a timing chart about command transmission and command reception concerning an embodiment of the invention (when there is an illegal command). 図17(a)は最小受信間隔におけるGAP2(閾値)の最大値の説明図(タイミングチャート)、図17(b)は最大受信間隔におけるGAP2(閾値)の最小値の説明図(タイミングチャート)である。17A is an explanatory diagram (timing chart) of the maximum value of GAP2 (threshold value) at the minimum reception interval, and FIG. 17B is an explanatory diagram (timing chart) of the minimum value of GAP2 (threshold value) at the maximum reception interval. is there. 電源投入時におけるメイン基板のコマンド送信処理(割込処理)のタイミングチャートである(比較例)。It is a timing chart of the command transmission process (interrupt process) of the main board at the time of power-on (comparative example). 発明の実施の形態に係る、電源投入時におけるメイン基板のコマンド送信処理(割込処理)のタイミングチャートである。It is a timing chart of the command transmission process (interrupt process) of the main board | substrate at the time of power activation based on embodiment of invention.

図1は前扉を閉めた状態を示すスロットマシンの正面図、図2は前扉を180度開いた状態を示すスロットマシンの正面図を示す。   FIG. 1 is a front view of the slot machine with the front door closed, and FIG. 2 is a front view of the slot machine with the front door opened 180 degrees.

図1及び図2中、100はスロットマシンを示すもので、このスロットマシン100は、図1に示すように、スロットマシン本体120と、このスロットマシン本体120の前面片側にヒンジ等により開閉可能に取り付けられた前扉130とを備えている。前記前扉130の前面には、図1に示すように、ほぼ中央にゲーム表示部131を設け、ゲーム表示部131の右下隅部に、遊技者がメダルを投入するためのメダル投入口132を設け、メダル投入口132の下側には、メダル投入口132から投入され、詰まってしまったメダルをスロットマシン100外に強制的に排出するためのリジェクトボタン133が設けられている。   1 and 2, reference numeral 100 denotes a slot machine. As shown in FIG. 1, the slot machine 100 can be opened and closed by a hinge or the like on the slot machine main body 120 and one side of the front surface of the slot machine main body 120. And a front door 130 attached thereto. As shown in FIG. 1, a game display unit 131 is provided substantially in the center of the front door 130, and a medal insertion slot 132 for a player to insert medals is provided at the lower right corner of the game display unit 131. Provided below the medal insertion slot 132 is a reject button 133 for forcibly discharging a clogged medal inserted from the medal insertion slot 132 to the outside of the slot machine 100.

また、前記ゲーム表示部131の左下方には、ゲームを開始するためのスタートスイッチ134を設けてあり、3つの回胴のそれぞれに対応して3つのストップボタン140を設けてある。前扉の下端部中央には、メダルの払出し口135を設けてある。前記ゲーム表示部131の上側には、液晶表示装置LCDが設けてある。   A start switch 134 for starting a game is provided at the lower left of the game display unit 131, and three stop buttons 140 are provided corresponding to the three spinning cylinders. A medal payout port 135 is provided at the center of the lower end of the front door. A liquid crystal display device LCD is provided above the game display unit 131.

スロットマシン本体120の内部には、図2に示すように、その内底面に固定され、内部に複数のメダルを貯留して、貯留したメダルを前扉130の前面に設けた払出し口135に1枚ずつ払い出すためのホッパ装置121が設置されている。このホッパ装置121の上部には、上方に向けて開口し、内部に複数のメダルを貯留するホッパタンク122を備えている。スロットマシン本体120の内部には、前扉130を閉めたときにゲーム表示部131が来る位置に三個の回胴からなるリール(回胴)ユニット203が設置されている。リールユニット203は、外周面に複数種類の図柄が配列されている3つの回胴(第1回胴〜第3回胴)を備えている。ゲーム表示部131には開口部が設けられていて、それを通して遊技者が前記リールユニット203の各回転回胴の図柄を見ることができるようになっている。ホッパ装置121の左側には電源部205が設けられている。   As shown in FIG. 2, the slot machine main body 120 is fixed to the inner bottom surface, stores a plurality of medals therein, and stores the stored medals at a payout port 135 provided on the front surface of the front door 130. A hopper device 121 for paying out the sheets one by one is installed. An upper portion of the hopper device 121 is provided with a hopper tank 122 that opens upward and stores a plurality of medals therein. Inside the slot machine main body 120, a reel (rotating cylinder) unit 203 including three rotating cylinders is installed at a position where the game display unit 131 comes when the front door 130 is closed. The reel unit 203 includes three spinning cylinders (first to third drums) in which a plurality of types of symbols are arranged on the outer peripheral surface. The game display unit 131 is provided with an opening through which the player can see the symbols of the rotating drums of the reel unit 203. A power supply unit 205 is provided on the left side of the hopper device 121.

前記前扉130の裏面には、図2に示すように、メダル(コイン)セレクタ1が、前扉130の前面に設けられたメダル投入口132の裏側に取り付けられている。このメダルセレクタ1は、メダル投入口132から投入されたメダルの通過を検出しながら、当該メダルをホッパ装置121に向かって転動させ、外径が所定寸法と違う異径メダルや、鉄又は鉄合金で作製された不正メダルを選別して排除するとともに、1ゲームあたりに投入可能な所定枚数以上のメダルを選別して排除するための装置である。   As shown in FIG. 2, the medal (coin) selector 1 is attached to the back side of the front door 130 on the back side of the medal slot 132 provided on the front surface of the front door 130. This medal selector 1 rolls the medal toward the hopper device 121 while detecting the passage of the medal inserted from the medal insertion slot 132, and has a different diameter medal or iron or iron whose outer diameter is different from the predetermined dimension. This is an apparatus for selecting and removing illegal medals made of an alloy and selecting and eliminating a predetermined number or more of medals that can be inserted per game.

また、メダルセレクタ1の下側には、図2に示すように、その下部側を覆って前扉130の払出し口135に連通する導出路136が設けられている。メダルセレクタ1により振り分けられたメダルは、この導出路136を介して払出し口135から遊技者に返却される。   Further, as shown in FIG. 2, a lead-out path 136 that covers the lower side and communicates with the payout port 135 of the front door 130 is provided below the medal selector 1. The medals distributed by the medal selector 1 are returned to the player from the payout port 135 via the derivation path 136.

図3は発明の実施の形態に係るスロットマシン100の機能ブロック図を示す。
この図において電源系統についての表示は省略されている。図示しないが、スロットマシンは商用電源(AC100V)から直流電源(+5Vなど)を発生するための電源部を備える。
FIG. 3 shows a functional block diagram of the slot machine 100 according to the embodiment of the invention.
In this figure, the display about the power supply system is omitted. Although not shown, the slot machine includes a power supply unit for generating a DC power supply (+5 V or the like) from a commercial power supply (AC 100 V).

スロットマシン100は、その主要な処理装置としてメイン基板(処理部)10とこれからコマンドを受けて動作するサブ基板20とを備える。なお、少なくともメイン基板10は、外部から接触不能となるようにケース内部に収容され、これら基板を取り外す際に痕跡が残るように封印処理が施されている。   The slot machine 100 includes a main substrate (processing unit) 10 and a sub substrate 20 that operates in response to a command from the main substrate (processing unit) 10 as main processing devices. At least the main substrate 10 is accommodated inside the case so that it cannot be contacted from the outside, and is sealed so that traces remain when these substrates are removed.

メイン基板10は、遊技者の操作を受けて内部抽選を行ったり、リールの回転・停止やメダルの払い出しなどの処理(遊技処理)を行うためのものである。メイン基板10は、予め設定されたプログラムに従って制御動作を行うCPUと、前記プログラムを記憶する記憶手段であるROMおよび処理結果などを一時的に記憶するRAMを含む。   The main board 10 is for performing an internal lottery in response to a player's operation, and performing processing (game processing) such as reel rotation / stop and medal payout. The main board 10 includes a CPU that performs a control operation according to a preset program, a ROM that is a storage unit that stores the program, and a RAM that temporarily stores processing results and the like.

サブ基板20は、メイン基板10からコマンド信号を受けて内部抽選の結果を報知したり各種演出を行うためのものである。サブ基板20は、前記コマンド信号に応じた予め設定されたプログラムに従って制御動作を行うCPUと、前記プログラムを記憶する記憶手段であるROMおよび処理結果などを一時的に記憶するRAMを含む。   The sub board 20 is for receiving a command signal from the main board 10 and notifying the result of the internal lottery and performing various effects. The sub-board 20 includes a CPU that performs a control operation in accordance with a preset program corresponding to the command signal, a ROM that is a storage unit that stores the program, and a RAM that temporarily stores processing results and the like.

前記コマンド信号に基づきサブ基板20が行う動作には、打順報知がある。打順報知は、遊技機において、所定の当選役に当選したとき、正解となる押し順で停止操作を行うことにより、特定の図柄組合せが表示され、この特定の図柄組合せが表示されたことに基づいて、リプレイが高確率で当選する状態とするとともに、当該状態において当選役を報知する状態とするものである。   An operation performed by the sub-board 20 based on the command signal includes a batting order notification. The batting order notification is based on the fact that when a predetermined winning combination is won in a gaming machine, a specific symbol combination is displayed by performing a stop operation in the correct pressing order, and this specific symbol combination is displayed. In this state, the replay is won with a high probability and the winning combination is notified in this state.

打順報知は、例えば次のようなものである。   The batting order notification is, for example, as follows.

メイン基板が行う内部抽選で選択される当選領域(メモリ上のエリア)には、複数の小役が重複当選している領域があり、そのエリアに当選した場合に、正解打順で停止操作が行われると、重複当選した複数の小役のうち、配当の高い小役が入賞するようになっている。通常、遊技者は正解打順がわからないため、正解打順での停止操作をすることができずに、配当の高い小役の入賞による利益を得ることができない。そこで、所定の場合に正解打順を報知させるために、特定の当選役に当選したという情報(コマンド)をメイン基板からサブ基板へ送る。これに基づきサブ基板が遊技者にとって有利な報知として、内部抽選で当選したエリアの正解打順の報知を行うことで、遊技者は正解打順で停止操作を行い、配当の高い小役の入賞による利益を得ることができる。   The winning area (area on the memory) selected in the internal lottery performed by the main board has an area where multiple small roles are won simultaneously. When that area is won, the stop operation is performed in the correct hit order. As a result, among the multiple winning small prizes, the winning small paying prize will be awarded. Usually, since the player does not know the correct hit order, the player cannot stop in the correct hit order, and cannot obtain a profit due to winning a small role with a high payout. Therefore, in order to notify the correct hit order in a predetermined case, information (command) that a specific winning combination is won is sent from the main board to the sub board. Based on this, the sub-board informs the player of the correct hit order of the area won by the internal lottery as a notice that is advantageous to the player, so that the player performs a stop operation in the correct hit order and gains from winning a small role with high dividend Can be obtained.

コマンドの流れはメイン基板10からサブ基板20への一方のみであり、逆にサブ基板20からメイン基板10へコマンド等が出されることはない。   Only one command flows from the main board 10 to the sub board 20, and conversely, no command is issued from the sub board 20 to the main board 10.

メイン基板10には、ベットスイッチBET、スタートスイッチ134,ストップボタン140,リールユニット(リール駆動装置を含む)203,リール位置検出回路71、ホッパ駆動部80、ホッパ81及びホッパ81から払い出されたメダルの枚数を数えるためのメダル検出部82(これらは前述のホッパ装置121を構成する)が接続されている。サブ基板20には液晶表示装置の制御用の液晶制御基板200、スピーカ基板201、LED基板202などの周辺基板(デバイス制御基板)が接続されている。周辺基板とは、サブ基板20により制御されるものであり、主に映像、光、音響により演出を行うものである。   The main board 10 is paid out from a bet switch BET, a start switch 134, a stop button 140, a reel unit (including a reel driving device) 203, a reel position detection circuit 71, a hopper driving unit 80, a hopper 81 and a hopper 81. A medal detection unit 82 for counting the number of medals (these constitute the hopper device 121 described above) is connected. A peripheral substrate (device control substrate) such as a liquid crystal control substrate 200 for controlling the liquid crystal display device, a speaker substrate 201, and an LED substrate 202 is connected to the sub substrate 20. The peripheral board is controlled by the sub-board 20 and produces effects mainly by video, light, and sound.

メイン基板10には、さらに、メダルセレクタ1のメダルセンサS1及びS2が接続されている。   Further, medal sensors S1 and S2 of the medal selector 1 are connected to the main board 10.

メダルセレクタ1には、メダルを計数するためのメダルセンサS1及びS2が設けられている。メダルセンサS1及びS2は、メダルセレクタ1に設けられた図示しないメダル通路の下流側(出口近傍)に設けられている(メダル通路の上流側はメダル投入口132に連通している)。2つのメダルセンサS1とS2は、メダルの進行方向に沿って所定間隔を空けて並べて設けられている。メダルセンサS1、S2は、例えば、互いに対向した発光部と受光部とを有して断面コ字状に形成され、その検出光軸をメダル通路内に上方から臨ませて位置するフォトインタラプタである。各フォトインタラプタにより、途中で阻止されずに送られてきたメダルの通過が検出される。なお、フォトインタラプタを2つ隣接させたのは、メダル枚数を検出するだけでなく、メダルの通過が正常か否かを監視するためである。すなわち、フォトインタラプタを2つ隣接させて設けることにより、メダルの通過速度や通過方向を検出することができ、これによりメダル枚数だけでなく、逆方向に移動する不正行為を感知することができる。   The medal selector 1 is provided with medal sensors S1 and S2 for counting medals. The medal sensors S1 and S2 are provided on the downstream side (near the exit) of a medal passage (not shown) provided in the medal selector 1 (the upstream side of the medal passage communicates with the medal slot 132). The two medal sensors S1 and S2 are arranged side by side at a predetermined interval along the medal traveling direction. The medal sensors S1 and S2 are, for example, photointerrupters that have a light emitting portion and a light receiving portion that face each other, are formed in a U-shaped cross section, and are positioned so that the detection optical axis faces the medal passage from above. . Each photo interrupter detects the passage of a medal sent without being blocked on the way. The reason why two photo interrupters are adjacent is not only to detect the number of medals but also to monitor whether or not the passage of medals is normal. That is, by providing two photo interrupters adjacent to each other, it is possible to detect the passing speed and passing direction of medals, thereby detecting not only the number of medals but also an illegal act moving in the reverse direction.

ホッパ駆動部80は、ホッパ81を回転駆動して、メイン基板10によって指示された払出数のメダルを払い出す動作を行う。遊技機は、メダルを1枚払い出す毎に作動するメダル検出部82を備えており、メイン基板10は、メダル検出部82からの入力信号に基づいてホッパ81から実際に払い出されたメダルの数を管理することができる。   The hopper driving unit 80 rotates the hopper 81 and performs an operation of paying out medals of the payout number instructed by the main board 10. The gaming machine includes a medal detection unit 82 that operates every time a medal is paid out, and the main board 10 receives a medal actually paid out from the hopper 81 based on an input signal from the medal detection unit 82. You can manage the number.

投入受付手段1050は、メダルセレクタ1のメダルセンサS1とS2の出力を受け、遊技毎にメダルの投入を受け付けて、規定投入数に相当するメダルが投入されたことに基づいて、スタートスイッチ134に対する第1リール〜第3リールの回転開始操作を許可する処理を行う。なお、スタートスイッチ134の押下操作が、第1リール〜第3リールの回転を開始させる契機となっているとともに、内部抽選を実行する契機となっている。また、遊技状態に応じて規定投入数を設定し、通常状態およびボーナス成立状態では規定投入数を3枚に設定し、ボーナス状態では規定投入数を1枚に設定する。   The insertion accepting means 1050 receives the outputs of the medal sensors S1 and S2 of the medal selector 1, accepts the insertion of medals for each game, and based on the fact that medals corresponding to the prescribed number of insertions have been inserted, A process of permitting the rotation start operation of the first reel to the third reel is performed. Note that the pressing operation of the start switch 134 is an opportunity to start rotation of the first reel to the third reel and an opportunity to execute the internal lottery. Also, a prescribed number of throws is set according to the gaming state, the prescribed number of throws is set to 3 in the normal state and the bonus established state, and the prescribed number of throws is set to 1 in the bonus state.

メダルが投入されると、遊技状態に応じた規定投入数を限度として、投入されたメダルを投入状態に設定する。あるいは、遊技機にメダルがクレジットされた状態で、ベットスイッチBETが押下されると、遊技状態に応じた規定投入数を限度して、クレジットされたメダルを投入状態に設定する。メダルの投入を受け付けるかどうかは、メイン基板10が制御する。メダルの投入を受け付ける状態になっていないときは(許可されていないときは)、メダルを投入してもメダルセンサS1、S2でカウントされず、そのまま返却される。同様に、メイン基板10はベットスイッチBETの有効/無効を制御する。ベットスイッチBETが有効になっていないときは(許可されていないときは)、ベットスイッチBETを押下しても、それは無視される。   When medals are inserted, the inserted medals are set to the inserted state up to a specified number of insertions according to the gaming state. Alternatively, when the bet switch BET is pressed in a state where medals have been credited to the gaming machine, the credited medals are set to the inserted state by limiting the prescribed number of insertions according to the gaming state. The main board 10 controls whether or not to accept a medal. When it is not in a state of accepting insertion of medals (when not permitted), even if medals are inserted, they are not counted by the medal sensors S1 and S2 and are returned as they are. Similarly, the main board 10 controls the validity / invalidity of the bet switch BET. When the bet switch BET is not valid (when not permitted), even if the bet switch BET is pressed, it is ignored.

メイン基板10は、乱数発生手段1100を内蔵する。乱数発生手段1100は、抽選用の乱数値を発生させる手段である。乱数値は、例えば、インクリメントカウンタ(所定のカウント範囲を循環するように数値をカウントするカウンタ)のカウント値に基づいて発生させることができる。なお本実施形態において「乱数値」には、数学的な意味でランダムに発生する値のみならず、その発生自体は規則的であっても、その取得タイミング等が不規則であるために実質的に乱数として機能しうる値も含まれる。   The main board 10 incorporates random number generating means 1100. The random number generation means 1100 is a means for generating a random number for lottery. The random value can be generated based on, for example, a count value of an increment counter (a counter that counts numerical values so as to circulate a predetermined count range). In this embodiment, the “random number value” is not only a value that is randomly generated in a mathematical sense, but even if the generation itself is regular, the acquisition timing and the like are irregular. Includes a value that can function as a random number.

内部抽選手段1200は、遊技者がスタートスイッチ134からのスタート信号に基づいて、役の当否を決定する内部抽選を行う。すなわち、メイン基板10のメモリ(図示せず)に記憶されている抽選テーブル(図示せず)を選択する抽選テーブル選択処理、乱数発生手段1100から得た乱数の当選を判定する乱数判定処理、当選の判定結果で大当たりなどに当選したときにその旨のフラグを設定する抽選フラグ設定処理などを行う。   The internal lottery means 1200 performs an internal lottery in which the player determines whether or not the winning combination is based on a start signal from the start switch 134. That is, a lottery table selection process for selecting a lottery table (not shown) stored in a memory (not shown) of the main board 10, a random number determination process for determining the winning of a random number obtained from the random number generating means 1100, The lottery flag setting process for setting a flag to that effect when a big win or the like is won by the determination result is performed.

抽選テーブル選択処理では、図示しない記憶手段(ROM)に格納されている複数の抽選テーブル(図示せず)のうち、いずれの抽選テーブルを用いて内部抽選を行うかを決定する。抽選テーブルでは、複数の乱数値(例えば、0〜65535の65536個の乱数値)のそれぞれに対して、リプレイ、小役(ベル、チェリー)、レギュラーボーナス(RB:ボーナス)、およびビッグボーナス(BB:ボーナス)などの各種の役が対応づけられている。また、遊技状態として、通常状態、ボーナス成立状態、およびボーナス状態が設定可能とされ、さらにリプレイの抽選状態として、リプレイ無抽選状態、リプレイ低確率状態、リプレイ高確率状態が設定可能とされる。   In the lottery table selection process, a lottery table (not shown) stored in a storage unit (ROM) (not shown) is used to determine which lottery table is used for internal lottery. In the lottery table, for each of a plurality of random values (for example, 65536 random values from 0 to 65535), replay, small role (bell, cherry), regular bonus (RB: bonus), and big bonus (BB :), etc., are associated with each other. In addition, a normal state, a bonus establishment state, and a bonus state can be set as the gaming state, and a replay lottery state, a replay low probability state, and a replay high probability state can be set as replay lottery states.

乱数判定処理では、スタートスイッチ134からのスタート信号に基づいて、遊技毎に前記乱数発生手段(図示せず)から乱数値(抽選用乱数)を取得し、取得した乱数値について前記抽選テーブルを参照して役に当選したか否かを判定する。   In the random number determination process, a random value (lottery random number) is acquired from the random number generation means (not shown) for each game based on a start signal from the start switch 134, and the lottery table is referred to for the acquired random value. Then, it is determined whether or not the winning combination is won.

抽選フラグ設定処理では、乱数判定処理の結果に基づいて、当選したと判定された役の抽選フラグを非当選状態(第1のフラグ状態、オフ状態)から当選状態(第2のフラグ状態、オン状態)に設定する。2種類以上の役が重複して当選した場合には、重複して当選した2種類以上の役のそれぞれに対応する抽選フラグが当選状態に設定される。抽選フラグの設定情報は、記憶手段(RAM)に格納される。   In the lottery flag setting process, the lottery flag of the winning combination determined to be won based on the result of the random number determination process is changed from the non-winning state (first flag state, off state) to the winning state (second flag state, on Status). When two or more types of winning combinations are won, a lottery flag corresponding to each of the two or more types of winning winning combinations is set to the winning state. The lottery flag setting information is stored in storage means (RAM).

入賞するまで次回以降の遊技に当選状態を持ち越し可能な抽選フラグ(持越可能フラグ)と、入賞の如何に関わらず次回以降の遊技に当選状態を持ち越さずに非当選状態にリセットされる抽選フラグ(持越不可フラグ)とが用意されていることがある。この場合、前者の持越可能フラグが対応づけられる役としては、レギュラーボーナス(RB)およびビッグボーナス(BB)があり、それ以外の役(例えば、小役、リプレイ)は後者の持越不可フラグに対応づけられている。すなわち抽選フラグ設定処理では、内部抽選でレギュラーボーナスに当選すると、レギュラーボーナスの抽選フラグの当選状態を、レギュラーボーナスが入賞するまで持ち越す処理を行い、内部抽選でビッグボーナスに当選すると、ビッグボーナスの抽選フラグの当選状態を、ビッグボーナスが入賞するまで持ち越す処理を行う。このときメイン基板10は、内部抽選機能により、レギュラーボーナスやビッグボーナスの抽選フラグの当選状態が持ち越されている遊技でも、レギュラーボーナスおよびビッグボーナス以外の役(小役およびリプレイ)についての当否を決定する内部抽選を行っている。すなわち抽選フラグ設定処理では、レギュラーボーナスの抽選フラグの当選状態が持ち越されている遊技において、内部抽選で小役あるいはリプレイが当選した場合には、既に当選しているレギュラーボーナスの抽選フラグと内部抽選で当選した小役あるいはリプレイの抽選フラグとからなる2種類以上の役に対応する抽選フラグを当選状態に設定し、ビッグボーナスの抽選フラグの当選状態が持ち越されている遊技において、内部抽選で小役あるいはリプレイが当選した場合には、既に当選しているビッグボーナスの抽選フラグと内部抽選で当選した小役あるいはリプレイの抽選フラグとからなる2種類以上の役に対応する抽選フラグを当選状態に設定する。   A lottery flag (possible carryover flag) that can carry over the winning state for the next game until winning, and a lottery flag that is reset to the non-winning state without bringing the winning state to the next game regardless of winning Carry-over impossible flag) may be provided. In this case, there are a regular bonus (RB) and a big bonus (BB) as a combination to which the former carry-over possible flag is associated, and other combinations (for example, small role, replay) correspond to the latter carry-over impossible flag. It is attached. In other words, in the lottery flag setting process, when a regular bonus is won by internal lottery, the winning state of the regular bonus lottery flag is carried over until the regular bonus is won, and when the big bonus is won by internal lottery, the big bonus lottery A process of carrying over the winning state of the flag until the big bonus is won is performed. At this time, the main board 10 determines whether or not a role other than the regular bonus and the big bonus (small role and replay) is used even in a game in which the winning state of the regular bonus or big bonus lottery flag is carried over by the internal lottery function. An internal lottery is performed. In other words, in the lottery flag setting process, in a game in which the winning state of the regular bonus lottery flag is carried over, if a small role or replay is won in the internal lottery, the regular bonus lottery flag and the internal lottery already won In a game in which the lottery flags corresponding to two or more types of winning combinations or replay lottery flags won in the win state are set to the winning state and the winning state of the big bonus lottery flag is carried over, it is small in the internal lottery When a winning combination or replay is won, a lottery flag corresponding to two or more kinds of winning combinations including a big bonus lottery flag that has already been won and a small bonus or replay lottery flag that has been won in an internal lottery is set to a winning state. Set.

リプレイ処理手段1600は、所定条件下で内部抽選におけるリプレイの当選確率を変動させる制御を行うことがある。リプレイ処理手段1600については、後に再度説明を加える。リプレイの抽選状態として、リプレイが内部抽選の対象から除外されるリプレイ無抽選状態、リプレイの当選確率が約1/7.3に設定されるリプレイ低確率状態、およびリプレイの当選確率が約1/6に設定されるリプレイ高確率状態という複数種類の抽選状態を設定可能とされている。リプレイの抽選状態を変化させることにより、内部抽選におけるリプレイの当選確率を変動させる。   The replay processing unit 1600 may perform control to change the winning probability of replay in the internal lottery under a predetermined condition. The replay processing unit 1600 will be described later again. The replay lottery states include a replay no lottery state in which replay is excluded from the internal lottery, a replay low probability state in which the replay winning probability is set to about 1 / 7.3, and a replay winning probability of about 1 / A plurality of lottery states such as a high replay probability state set to 6 can be set. By changing the replay lottery state, the winning probability of the replay in the internal lottery is changed.

リール制御手段1300は、遊技者がスタートスイッチ134の押下操作(回転開始操作)によるスタート信号に基づいて、第1リール〜第3リールをステッピングモータにより回転駆動して、第1リール〜第3リールの回転速度が所定速度(約80rpm:1分間あたり約80回転となる回転速度)に達した状態において回転中のリールにそれぞれ対応する3つのストップボタン140の押下操作(停止操作)を許可する制御を行うとともに、ステッピングモータにより回転駆動されている第1リール〜第3リールを抽選フラグの設定状態(内部抽選の結果)に応じて停止させる制御を行う。   The reel control means 1300 rotates the first to third reels by a stepping motor based on a start signal generated by the player pressing the start switch 134 (rotation start operation), and the first to third reels are driven. Control that permits the pressing operation (stop operation) of the three stop buttons 140 respectively corresponding to the rotating reels in a state in which the rotation speed of the motor reaches a predetermined speed (about 80 rpm: a rotation speed of about 80 rotations per minute). And a control to stop the first reel to the third reel, which are rotationally driven by the stepping motor, according to the lottery flag setting state (result of the internal lottery).

また、リール制御手段1300は、3つのストップボタン140に対する押下操作(停止操作)が許可(有効化)された状態において、遊技者が3つのストップボタン140を押下することにより、そのリール停止信号に基づいて、リールユニット203のステッピングモータへの駆動パルス(モータ駆動信号)の供給を停止することにより、第1リール〜第3リールの各リールを停止させる制御を行う。   In addition, the reel control means 1300 receives the reel stop signal when the player presses the three stop buttons 140 in a state where the pressing operation (stop operation) with respect to the three stop buttons 140 is permitted (validated). Based on this, by stopping the supply of drive pulses (motor drive signals) to the stepping motor of the reel unit 203, control is performed to stop each of the first to third reels.

すなわち、リール制御手段1300は、3つのストップボタン140の各ボタンが押下される毎に、第1リール〜第3リールのうち押下されたボタンに対応するリールの停止位置を決定して、決定された停止位置でリールを停止させる制御を行っている。具体的には、記憶手段(ROM)に記憶されている停止制御テーブル(図示せず)を参照して3つのストップボタンの押下タイミングや押下順序等(停止操作の態様)に応じた第1リール〜第3リールの停止位置を決定し、決定された停止位置で第1リール〜第3リールを停止させる制御を行う。   That is, the reel control means 1300 determines the stop position of the reel corresponding to the pressed button among the first to third reels each time the three stop buttons 140 are pressed. The reel is stopped at the stop position. Specifically, referring to a stop control table (not shown) stored in the storage means (ROM), the first reel according to the pressing timing, pressing order, etc. (stop operation mode) of the three stop buttons. The stop position of the third reel is determined, and the first reel to the third reel are stopped at the determined stop position.

ここで停止制御テーブルでは、ストップボタン140の作動時点における第1リール〜第3リールの位置(押下検出位置)と、第1リール〜第3リールの実際の停止位置(または押下検出位置からの滑りコマ数)との対応関係が設定されている。抽選フラグの設定状態に応じて、第1リール〜第3リールの停止位置を定めるための停止制御テーブルが用意されることもある。   Here, in the stop control table, the position of the first reel to the third reel (press detection position) at the time when the stop button 140 is operated and the actual stop position (or the slip from the press detection position) of the first reel to the third reel. (Number of frames) is set. Depending on the setting state of the lottery flag, a stop control table for determining the stop positions of the first reel to the third reel may be prepared.

遊技機では、リールユニット203がフォトセンサからなるリールインデックス(図示せず)を備えており、リール制御手段1300は、リールが1回転する毎にリールインデックスで検出される基準位置信号に基づいて、リールの基準位置(リールインデックスによって検出されるコマ)からの回転角度(ステップモータの回転軸の回転ステップ数)を求めることによって、現在のリールの回転状態を監視することができるようになっている。すなわち、メイン基板10は、ストップボタン140の作動時におけるリールの位置を、リールの基準位置からの回転角度を求めることにより得ることができる。   In the gaming machine, the reel unit 203 includes a reel index (not shown) made of a photosensor, and the reel control means 1300 is based on a reference position signal detected by the reel index every time the reel rotates once. By determining the rotation angle (the number of rotation steps of the rotation axis of the step motor) from the reel reference position (the frame detected by the reel index), the current rotation state of the reel can be monitored. . That is, the main board 10 can obtain the position of the reel when the stop button 140 is operated by determining the rotation angle from the reference position of the reel.

リール制御手段1300は、いわゆる引き込み処理と蹴飛ばし処理とをリールを停止させる制御として行っている。引き込み処理とは、抽選フラグが当選状態に設定された役に対応する図柄が有効な入賞判定ライン上に停止するように(当選した役を入賞させることができるように)リールを停止させる制御処理である。一方蹴飛ばし処理とは、抽選フラグが非当選状態に設定された役に対応する図柄が有効な入賞判定ライン上に停止しないように(当選していない役を入賞させることができないように)リールを停止させる制御処理である。すなわち本実施形態の遊技機では、上記引き込み処理及び蹴飛ばし処理を実現させるべく、抽選フラグの設定状態、ストップボタン140の押下タイミング、押下順序、既に停止しているリールの停止位置(表示図柄の種類)などに応じて各リールの停止位置が変化するように停止制御テーブルが設定されている。このように、メイン基板10は、抽選フラグが当選状態に設定された役の図柄を入賞の形態で停止可能にし、一方で抽選フラグが非当選状態に設定された役の図柄が入賞の形態で停止しないように第1リール〜第3リールを停止させる制御を行っている。   The reel control means 1300 performs so-called pull-in processing and kick-out processing as control for stopping the reel. The pull-in process is a control process for stopping the reel so that the symbol corresponding to the combination whose lottery flag is set to the winning state is stopped on the winning determination line (so that the winning combination can be won). It is. On the other hand, the kicking process means that the reel corresponding to the combination for which the lottery flag is set to the non-winning state does not stop on the valid winning determination line (so that the non-winning combination cannot be won) This is a control process to be stopped. That is, in the gaming machine of the present embodiment, the lottery flag setting state, the stop button 140 pressing timing, the pressing order, and the stop position of the reels that have already stopped (types of display symbols) in order to realize the pull-in processing and kicking processing. ) Etc., the stop control table is set so that the stop position of each reel changes. In this way, the main board 10 can stop the symbol of the combination for which the lottery flag is set to the winning state in a winning form, while the symbol of the combination for which the lottery flag is set to the non-winning state is in the winning form. Control is performed to stop the first reel to the third reel so as not to stop.

本実施形態の遊技機では、第1リール〜第3リールが、ストップボタン140が押下された時点から190ms以内に、押下されたストップボタンに対応する回転中のリールを停止させる制御状態に設定されている。すなわち回転している各リールの停止位置を決めるための停止制御テーブルでは、ストップボタン140の押下時点から各リールが停止するまでに要するコマ数が0コマ〜4コマの範囲(所定の引き込み範囲)で設定されている。   In the gaming machine of the present embodiment, the first to third reels are set to a control state in which the rotating reel corresponding to the pressed stop button is stopped within 190 ms from the time when the stop button 140 is pressed. ing. That is, in the stop control table for determining the stop position of each rotating reel, the number of frames required from when the stop button 140 is pressed until each reel stops is in the range of 0 to 4 frames (predetermined pull-in range). Is set in

入賞判定手段1400は、第1リール〜第3リールの停止態様に基づいて、役が入賞したか否かを判定する処理を行う。具体的には、記憶手段(ROM)に記憶されている入賞判定テーブルを参照しながら、第1リール〜第3リールの全てが停止した時点で入賞判定ライン上に表示されている図柄組合せが、予め定められた役の入賞の形態であるか否かを判定する。   The winning determination means 1400 performs a process of determining whether or not a winning combination has been won based on the stop mode of the first reel to the third reel. Specifically, referring to the winning determination table stored in the storage means (ROM), the symbol combination displayed on the winning determination line when all of the first reel to the third reel are stopped, It is determined whether or not it is a predetermined winning combination.

入賞判定手段1400は、その判定結果に基づいて、入賞時処理を実行する。入賞時処理としては、例えば、小役が入賞した場合にはホッパ81を駆動してメダルの払出制御処理が行われるか、あるいはクレジットの増加され(規定の最大枚数例えば50枚まで増加され、それを超えた分だけ実際にメダル払い出される)、リプレイが入賞した場合にはリプレイ処理が行われ、ビッグボーナスやレギュラーボーナスが入賞した場合には遊技状態を移行させる遊技状態移行制御処理が行われる。   The winning determination means 1400 executes a winning process based on the determination result. As a process at the time of winning a prize, for example, when a small role wins, the hopper 81 is driven to perform a medal payout control process, or a credit is increased (a predetermined maximum number is increased to 50, for example, When the replay is won, a replay process is performed. When a big bonus or a regular bonus is won, a game state transition control process for shifting the game state is performed.

払出制御手段1500は、遊技結果に応じたメダルの払い出しに関する払出制御処理を行う。具体的には、小役が入賞した場合に、役毎に予め定められている配当に基づいて遊技におけるメダルの払出数を決定し、決定された払出数に相当するメダルを、ホッパ駆動部80でホッパ81を駆動して払い出させる。この際に、ホッパ81に内蔵される図示しないモータに電流が流れることになる。   The payout control means 1500 performs payout control processing relating to the payout of medals according to the game result. Specifically, when a small combination wins, the number of medals to be paid out in the game is determined based on a payout predetermined for each combination, and the medals corresponding to the determined number of payouts are determined by the hopper driving unit 80. Then, the hopper 81 is driven to pay out. At this time, a current flows through a motor (not shown) built in the hopper 81.

メダルのクレジット(内部貯留)が許可されている場合には、ホッパ81によって実際にメダルの払い出しを行う代わりに、記憶手段(RAM)のクレジット記憶領域(図示省略)に記憶されているクレジット数(クレジットされたメダルの数)に対して払出数を加算するクレジット加算処理を行って仮想的にメダルを払い出す処理を行う。   When medal credits (internal storage) are permitted, instead of actually paying out medals by the hopper 81, the number of credits stored in a credit storage area (not shown) of the storage means (RAM) (not shown) A credit addition process for adding the number of payouts to the number of credited medals is performed to virtually pay out medals.

リプレイ処理手段1600は、リプレイが入賞した場合に、次回の遊技に関して遊技者の所有するメダルの投入を要さずに前回の遊技と同じ準備状態に設定するリプレイ処理(再遊技処理)を行う。リプレイが入賞した場合には、遊技者の手持ちのメダル(クレジットメダルを含む)を使わずに前回の遊技と同じ規定投入数のメダルが自動的に投入状態に設定される自動投入処理が行われ、遊技機が前回の遊技と同じ入賞判定ラインを有効化した状態で次回の遊技における回転開始操作(遊技者によるスタートスイッチ134の押下操作)を待機する状態に設定される。   When the replay is won, the replay processing means 1600 performs a replay process (regame process) for setting the same preparatory state as the previous game without requiring insertion of medals owned by the player for the next game. When a replay wins, an automatic insertion process is performed in which the same number of medals as the previous game is automatically set to the insertion state without using the player's own medals (including credit medals). The game machine is set in a state of waiting for a rotation start operation (pressing operation of the start switch 134 by the player) in the next game in a state where the same winning determination line as the previous game is validated.

また、メイン基板10は、通常状態、ボーナス成立状態、およびボーナス状態の間で遊技状態を移行させる制御を行うことがある(遊技状態移行制御機能)。遊技状態の移行条件は、1の条件が定められていてもよいし、複数の条件が定められていてもよい。複数の条件が定められている場合には、複数の条件のうち1の条件が成立したこと、あるいは複数の条件の全てが成立したことに基づいて、遊技状態を他の遊技状態へ移行させることができる。   Further, the main board 10 may perform control to shift the gaming state between the normal state, the bonus establishment state, and the bonus state (gaming state transition control function). As the game condition transition condition, one condition may be defined, or a plurality of conditions may be defined. When a plurality of conditions are established, transitioning the gaming state to another gaming state based on the fact that one of the plurality of conditions is satisfied or all of the plurality of conditions are satisfied Can do.

通常状態は、複数種類の遊技状態の中で初期状態に相当する遊技状態で、通常状態からはボーナス成立状態への移行が可能となっている。ボーナス成立状態は、内部抽選でビッグボーナスあるいはレギュラーボーナスに当選したことを契機として移行する遊技状態である。ボーナス成立状態では、通常状態における内部抽選でビッグボーナスが当選した場合、ビッグボーナスが入賞するまでビッグボーナスに対応する抽選フラグが当選状態に維持され、通常状態における内部抽選でレギュラーボーナスが当選した場合、レギュラーボーナスが入賞するまでレギュラーボーナスに対応する抽選フラグが当選状態に維持される。ボーナス状態では、ボーナス遊技によって払い出されたメダルの合計数により終了条件が成立したか否かを判断し、入賞したボーナスの種類に応じて予め定められた払出上限数を超えるメダルが払い出されると、ボーナス状態を終了させて、遊技状態を通常状態へ復帰させる。   The normal state is a game state corresponding to the initial state among a plurality of types of game states, and a transition from the normal state to the bonus establishment state is possible. The bonus establishment state is a gaming state that shifts when a big bonus or a regular bonus is won in the internal lottery. In the bonus establishment state, when the big bonus is won in the internal lottery in the normal state, the lottery flag corresponding to the big bonus is maintained in the winning state until the big bonus is won, and the regular bonus is won in the internal lottery in the normal state Until the regular bonus is won, the lottery flag corresponding to the regular bonus is maintained in the winning state. In the bonus state, it is determined whether or not the end condition is satisfied based on the total number of medals paid out by the bonus game, and medals exceeding a predetermined payout limit number are paid out according to the type of bonus won. The bonus state is terminated and the gaming state is returned to the normal state.

リールユニット203は、図示しない3つのリールを備えるが、3つのリールそれぞれにひとつづつステッピングモータが取り付けられている。ステッピングモータは、回転子(ロータ)として歯車状の鉄心あるいは永久磁石を備え、固定子(ステータ)として複数の巻線(コイル)を備え、電流を流す巻線を切り替えることによって回転動作させるものである。すなわち、固定子の巻線に電流を流して磁力を発生させ、回転子を引きつけることで回転するものである。回転軸を指定された角度で停止させることが可能なことから、スロットマシンのリールの回転駆動に使用されている。複数の巻線がひとつの相を構成する。相の数として、例えば、2つ(二相)、4つ(4相)、5つ(5相)のものもある。   The reel unit 203 includes three reels (not shown), and one stepping motor is attached to each of the three reels. A stepping motor includes a gear-shaped iron core or permanent magnet as a rotor (rotor), a plurality of windings (coils) as a stator (stator), and is rotated by switching windings through which current flows. is there. That is, a current is passed through the windings of the stator to generate a magnetic force, and the rotor is rotated by attracting the rotor. Since the rotation axis can be stopped at a specified angle, it is used to drive the rotation of the reel of the slot machine. A plurality of windings constitute one phase. As the number of phases, for example, there are two (two phases), four (four phases), and five (five phases).

次に、遊技機における遊技処理について図4を参照して説明を加える。
一般的に、遊技機において、メダルの投入(クレジットの投入)に始まり、払い出しが終了するまで(又はクレジット数の増加が終了するまで)が一遊技である。一遊技が終了するまでは次回の遊技に進めないという決まりがある。
Next, game processing in the gaming machine will be described with reference to FIG.
Generally, in a gaming machine, one game is started from the insertion of medals (insertion of credits) until the end of payout (or until the increase in the number of credits is completed). There is a rule that it is not possible to proceed to the next game until one game is finished.

先ず、規定枚数のメダルが投入されることでスタートスイッチ134が有効になり、図4の処理が開始される。   First, when a prescribed number of medals are inserted, the start switch 134 is activated, and the processing of FIG. 4 is started.

ステップS1において、スタートスイッチ134が操作されることにより、スタートスイッチ134がONとなる。そして、次のステップS2に進む。   In step S1, the start switch 134 is turned on by operating the start switch 134. Then, the process proceeds to the next step S2.

ステップS2において、メイン基板10により抽選処理が行われる。そして、次のステップS3に進む。   In step S2, a lottery process is performed by the main board 10. Then, the process proceeds to next Step S3.

ステップS3において、第1リール〜第3リールの回転が開始する。そして、次のステップS4に進む。   In step S3, the rotation of the first reel to the third reel starts. Then, the process proceeds to the next step S4.

ステップS4において、ストップボタン140が操作されることにより、ストップボタン140がONとなる。そして、次のステップS5に進む。   In step S4, when the stop button 140 is operated, the stop button 140 is turned ON. Then, the process proceeds to the next step S5.

ステップS5において、第1リール〜第3リールのうち押下されたストップボタン140に対応するリールについて回転停止処理が行われる。そして、次のステップS6に進む。   In step S5, rotation stop processing is performed on the reel corresponding to the pressed stop button 140 among the first to third reels. Then, the process proceeds to the next step S6.

ステップS6において、三個のリールに対応するストップボタン140の操作が行われたか否かが判定される。そして、三個のリールに対応する3つのストップボタン140すべての操作が行われたと判定された場合、次のステップS7に進む。   In step S6, it is determined whether or not the operation of the stop button 140 corresponding to the three reels has been performed. If it is determined that all three stop buttons 140 corresponding to the three reels have been operated, the process proceeds to the next step S7.

ステップS7において、抽選フラグ成立中に当該抽選フラグに対応する入賞図柄が有効入賞ライン上に揃ったか否か、すなわち、入賞が確定したか否かが判定される。そして、入賞が確定したと判定された場合、次のステップS8に進む。なお、入賞が確定しなかったときは、抽選フラグが成立していてもメダルの払い出しは行われない。   In step S7, it is determined whether or not the winning symbols corresponding to the lottery flag are aligned on the effective winning line while the lottery flag is established, that is, whether or not the winning is confirmed. If it is determined that the winning is confirmed, the process proceeds to the next step S8. If the winning is not confirmed, no medals are paid out even if the lottery flag is established.

ステップS8において、入賞図柄に相当するメダルが払い出される。   In step S8, medals corresponding to winning symbols are paid out.

メダルの投入からステップS8の実行完了までが、一遊技である。ステップS8の待機処理が終了すると、処理はフローチャートの最初に戻る。言い換えれば、次の遊技が可能な状態になる(次遊技へ移行する)。   The process from the insertion of the medal to the completion of the execution of step S8 is one game. When the standby process in step S8 ends, the process returns to the beginning of the flowchart. In other words, the next game is possible (transition to the next game).

図5は、メイン基板10のハードウエア構成の説明図である。メイン基板10は、実際には図5のハードウエア構成で実現される。すなわち、複数のビット(配線)からなるBUSに、CPU(処理装置)、ROM(不揮発性記憶部)、メモリRWM(読み出し及び書き込み可能なメモリ)及びI/O(入出力装置)、タイマ回路TMなどが接続されている。   FIG. 5 is an explanatory diagram of the hardware configuration of the main board 10. The main board 10 is actually realized by the hardware configuration shown in FIG. That is, a CPU (processing device), a ROM (nonvolatile storage unit), a memory RWM (a readable / writable memory), an I / O (input / output device), a timer circuit TM, a BUS composed of a plurality of bits (wirings). Etc. are connected.

図5のCPUは、予め定められたプログラムに従い、複数の処理を所定の順番で繰り返し実行するメイン処理と、予め定められた間隔で行われる割込処理とを実行する。   The CPU shown in FIG. 5 executes a main process that repeatedly executes a plurality of processes in a predetermined order and an interrupt process that is performed at a predetermined interval in accordance with a predetermined program.

タイマ回路TMは、処理部CPUに対して割込を一定間隔でかけるものであり、例えば専用のICなどのハードウエアで実現されるが、ソフトウエア(プログラム)で実現するようにしてもよい。I/Oは、例えば通信処理用のICであり、所定のプロトコルにしたがってデータ通信を行う。図示しないレジスタにアドレス及びデータを設定することで、サブ基板20との通信を自動的に行う。   The timer circuit TM interrupts the processing unit CPU at regular intervals, and is realized by hardware such as a dedicated IC, but may be realized by software (program). The I / O is an IC for communication processing, for example, and performs data communication according to a predetermined protocol. By setting an address and data in a register (not shown), communication with the sub board 20 is automatically performed.

CPUは、電源が投入されると、データバスを介してROMの所定エリアに格納された分周用のデータをタイマ回路TMに送信する。タイマ回路TMは、受信した分周用のデータを基に割込時間を決定し、この割込時間ごとに、割込要求をCPUに送信する。CPUは、この割込要求を契機に、各センサ等の監視などの割込処理を実行する。例えば、CPUのシステムクロックを8MHz、タイマ回路TMの分周値を1/256、ROMの分周用のデータを47に設定した場合、この割込の基準時間は、256×47÷8MHz=1.504msとなる。   When the power is turned on, the CPU transmits data for frequency division stored in a predetermined area of the ROM to the timer circuit TM via the data bus. The timer circuit TM determines an interrupt time based on the received frequency division data, and transmits an interrupt request to the CPU for each interrupt time. In response to this interrupt request, the CPU executes interrupt processing such as monitoring of each sensor. For example, when the CPU system clock is set to 8 MHz, the timer circuit TM frequency dividing value is set to 1/256, and the ROM frequency dividing data is set to 47, the interrupt reference time is 256 × 47 ÷ 8 MHz = 1. 504 ms.

<コマンド送信装置>
図6は、発明の実施の形態に係る送信装置のブロック図である。図6はメイン基板10において実現される機能のブロック図であり、発明の実施の形態に関連する部分のみを示している。
<Command transmission device>
FIG. 6 is a block diagram of a transmission apparatus according to an embodiment of the invention. FIG. 6 is a block diagram of functions realized in the main board 10 and shows only parts related to the embodiment of the invention.

30は、予め定められた数のコマンドを一時的に保存するコマンドバッファである。コマンドバッファ30は先入れ先出しバッファ(FIFO)であり、所定のデータ(コマンド)を記憶し、記憶したデータをその順番で出力するものである。   Reference numeral 30 denotes a command buffer that temporarily stores a predetermined number of commands. The command buffer 30 is a first-in first-out buffer (FIFO) that stores predetermined data (commands) and outputs the stored data in that order.

31は、予め定められたコマンドを生成するコマンド生成部である。コマンドの生成手順は公知であるので、その説明は省略する。また、コマンドの種類及び内容は公知であるので、その説明も省略する。   Reference numeral 31 denotes a command generation unit that generates a predetermined command. Since the command generation procedure is known, the description thereof is omitted. Further, since the types and contents of commands are known, the description thereof is also omitted.

32は、少なくとも、様々なコマンドをコマンドバッファ30に書き込むコマンド書込部である。   A command writing unit 32 writes at least various commands to the command buffer 30.

34は、コマンドバッファ30から所定のコマンドを読み出してサブ基板20へ送信するコマンド送信部である。コマンド送信部34は、例えば通信処理用のICであり、所定の割込タイミングで処理を開始し、コマンドバッファ30からコマンドを読み出してサブ基板20へ送る。   A command transmission unit 34 reads a predetermined command from the command buffer 30 and transmits it to the sub-board 20. The command transmission unit 34 is, for example, an IC for communication processing, starts processing at a predetermined interrupt timing, reads a command from the command buffer 30, and sends it to the sub-board 20.

コマンドの受信間隔、すなわち送信されるコマンドの間隔は、(最小受信間隔)と(最大受信間隔)の間であり(伝播時間は無視している)、これらは(コマンド確定に要する時間)の一部であるGAP2(後述の図17及びその説明参照)が存在するように定められる。好ましくは、コマンド送信間隔は一定である(例えば図10)。   The command reception interval, that is, the interval between commands to be transmitted is between (minimum reception interval) and (maximum reception interval) (propagation time is ignored), and these are one of (time required for command confirmation). GAP2 (refer to FIG. 17 and its description to be described later) is determined to exist. Preferably, the command transmission interval is constant (for example, FIG. 10).

コマンド送信間隔が大きくばらつくようなときには、ダミーコマンドを送信するようにしてもよい。この場合、送信されるコマンドには正規コマンド(サブ基板20に受信され解析されて所定の処理を行うためのもの)とダミーコマンド(サブ基板20で受信されるが破棄され、何らの処理も行わないもの)がある。ダミーコマンドについては後にさらに説明を加える。なお、以下の説明において特に断らない場合は、単に「コマンド」と記したときは正規コマンドを意味するものとする。   A dummy command may be transmitted when the command transmission interval varies greatly. In this case, the command to be transmitted includes a regular command (received by the sub-board 20 and analyzed to perform predetermined processing) and a dummy command (received by the sub-board 20 but discarded, and any processing is performed). There is no one). The dummy command will be further described later. In the following description, unless otherwise specified, when “command” is simply written, it means a regular command.

図7は、コマンドバッファ30の説明図である。コマンドバッファ30は、先入れ先出しバッファであるが、環状のリングバッファとして構成されている。リングバッファは公知であるので、その説明は省略する。コマンド書込部32は、コマンドバッファ30の最後(BF128)にコマンドを書き込んだ後は最初に戻り(BF1)、コマンドの書き込みを続ける。図7の例では、コマンドバッファ30は128バイトの記憶領域(BF1〜BF128)をもつ。   FIG. 7 is an explanatory diagram of the command buffer 30. The command buffer 30 is a first-in first-out buffer, but is configured as an annular ring buffer. Since the ring buffer is known, its description is omitted. After writing the command at the end (BF128) of the command buffer 30, the command writing unit 32 returns to the beginning (BF1) and continues writing the command. In the example of FIG. 7, the command buffer 30 has a 128-byte storage area (BF1 to BF128).

図8(a)はコマンド(正規コマンド)の構造を示す。コマンドは、4バイトのコマンド本体とこれら4バイトのチェックサムを格納するチェックサムの1バイトの合計5バイトからなる。コマンド(正規コマンド)の長さは予め定められている(正規コマンドの長さを「基準長」と記すことがある。図8の例では「基準長」=5バイト)。   FIG. 8A shows the structure of a command (regular command). The command is composed of a total of 5 bytes including a 4-byte command body and a checksum for storing the 4-byte checksum. The length of the command (regular command) is predetermined (the length of the regular command may be referred to as “reference length”. In the example of FIG. 8, “reference length” = 5 bytes).

図8(b)はダミーコマンドの構造を示す。ダミーコマンドは、3バイトのコマンド本体とこれら3バイトのチェックサムを格納するチェックサムの1バイトの合計4バイトからなる。   FIG. 8B shows the structure of the dummy command. The dummy command is composed of a total of 4 bytes including a 3-byte command body and a checksum for storing these 3-byte checksums.

後述のように、ダミーコマンドは、これを受信したサブ基板20において破棄されるものであり、そのためにあえてコマンド(正規コマンド)とは異なる構造を採用している。この点から言えば、ダミーコマンドはその本体が1バイト以上、かつ、正規コマンドの4バイト以外であれば(要するに合計5バイトでなければ)何でもよい。   As will be described later, the dummy command is discarded in the sub-board 20 that has received the dummy command, and for this purpose, a structure different from the command (regular command) is adopted. In this respect, the dummy command may be anything as long as the main body is 1 byte or more and it is not 4 bytes of the regular command (in other words, it is not 5 bytes in total).

しかし、好ましくは、ダミーコマンドのバイト数は次の条件を満たすことが好ましい。   However, it is preferable that the number of bytes of the dummy command satisfies the following condition.

(条件1)連続する2つのそれぞれ別個のコマンド(正規コマンド又はダミーコマンド)を隙間なく受信すると、サブ基板20はひとつのコマンドと判定して破棄し、この結果、コマンドが失われることがある(隙間については図13及びその説明も参照されたい)。これを避けるために、ダミーコマンドに続けてコマンド(正規コマンド)を送信した場合に受信側においてそれらの間に隙間が生じるように、ダミーコマンドは、隙間よりも短くする。上記例では、ダミーコマンド本体をコマンド本体4バイトよりも短い、1、2、3バイトのいずれかにすればよい。長くすると隙間がなくなるおそれがある。一般的には、ダミーコマンドを挿入する前のコマンド間の隙間の長さをGAP(バイト)、としたとき、ダミーコマンド長<GAPとする。なお、後述のようにコマンド受信チェックを所定間隔で行っており、この間隔分の誤差が生じる。したがって隙間を確実に設けるように、この間隔の1、2個分のマージンを設けることが好ましい。 (Condition 1) When two consecutive separate commands (regular command or dummy command) are received without a gap, the sub-board 20 determines that the command is a single command and discards it. As a result, the command may be lost ( For the gap, see FIG. 13 and the description thereof). In order to avoid this, the dummy command is made shorter than the gap so that when a command (regular command) is transmitted after the dummy command, a gap is generated between them on the receiving side. In the above example, the dummy command body may be any one of 1, 2, 3 bytes shorter than the command body 4 bytes. If it is long, there is a risk that the gap will disappear. In general, when the length of the gap between commands before inserting a dummy command is GAP (bytes), the dummy command length is smaller than GAP. Note that the command reception check is performed at a predetermined interval as will be described later, and an error corresponding to this interval occurs. Therefore, it is preferable to provide a margin corresponding to one or two of the intervals so as to provide a gap with certainty.

(条件2)上記(条件1)のようにすれば正規コマンドとダミーコマンドの間に隙間が生じるが、この隙間に不正なコマンドを挿入できない程度にダミーコマンドを長くする。上記(条件1)の例では、ダミーコマンド本体は1、2、3バイトのいずれかであったから、3バイトが好ましい。一般的には、正規コマンド長>(GAP−ダミーコマンド長)とする。(GAP−ダミーコマンド長)は、ダミーコマンド挿入後の隙間の最大長である。マージンを設ける点は同様である。 (Condition 2) If the above (Condition 1) is used, a gap is generated between the regular command and the dummy command. The dummy command is lengthened to such an extent that an illegal command cannot be inserted into this gap. In the example of (Condition 1) above, the dummy command body is 1, 2, or 3 bytes, so 3 bytes is preferable. Generally, normal command length> (GAP−dummy command length). (GAP-dummy command length) is the maximum length of the gap after the dummy command is inserted. The point of providing a margin is the same.

なお、正規コマンドの数が減り、サブ基板20の処理負荷が増えるという問題が生じるが、ダミーコマンドの長さを正規コマンドの長さと同じにしてもよい。   Although the number of regular commands decreases and the processing load on the sub-board 20 increases, the length of the dummy command may be the same as the length of the regular command.

コマンドバッファ30はリングバファであり、1つのコマンド(正規コマンド)に対して4バイトの領域を使用するから、32個のコマンドが書き込まれるとコマンドバッファ30は一杯になり、これ以降は上書きされていく(上書きされる前に送信されるので問題ない)。   Since the command buffer 30 is a ring buffer and uses a 4-byte area for one command (regular command), the command buffer 30 becomes full when 32 commands are written, and is overwritten thereafter. (Since it is sent before being overwritten, there is no problem).

ダミーコマンド本体として、例えば、コマンドバッファ30の任意の3バイトが使用される。例えば、図7のBF1〜BF3の記憶内容が使用される。コマンドバッファ30の内容は常に更新されているので、ダミーコマンドの内容も変化する。これによりダミーコマンドであるかどうかの判別を困難にでき、不正行為をやりにくくできる。   As the dummy command body, for example, arbitrary 3 bytes of the command buffer 30 are used. For example, the stored contents of BF1 to BF3 in FIG. 7 are used. Since the contents of the command buffer 30 are constantly updated, the contents of the dummy command also change. This makes it difficult to determine whether the command is a dummy command, and makes it difficult to cheat.

<コマンド送信処理>
図9は、メイン基板10のコマンド送信処理のフローチャートである。図10は、コマンド送信のタイミングを説明するためのタイミングチャートである。以下、これらの図に基づき、発明の実施の形態に係るコマンド送信処理を説明する。
<Command transmission processing>
FIG. 9 is a flowchart of command transmission processing of the main board 10. FIG. 10 is a timing chart for explaining command transmission timing. Hereinafter, command transmission processing according to embodiments of the present invention will be described with reference to these drawings.

図10において、Tは割込処理の間隔であり、例えば1.5msである。t1、t2、t3、t4、・・・が割込処理の始期(割込処理開始タイミング)である。図9のコマンド送信処理は、2回に1回実行される。例えば、図10のt2においてコマンド送信処理が開始される(t4においても同様である)。その間隔は3msである。このため、コマンド(ダミーコマンドを含む)の送信間隔は3msとなる。なお、t2などにおいてコマンド(正規コマンド)が送信されるか、ダミーコマンドが送信されるかは、図9のST11の判定結果に従う。   In FIG. 10, T is an interval of interrupt processing, and is, for example, 1.5 ms. t1, t2, t3, t4,... are the start of the interrupt process (interrupt process start timing). The command transmission process of FIG. 9 is executed once every two times. For example, the command transmission process is started at t2 in FIG. 10 (the same is true at t4). The interval is 3 ms. For this reason, the transmission interval of commands (including dummy commands) is 3 ms. Whether a command (regular command) or a dummy command is transmitted at t2 or the like depends on the determination result of ST11 in FIG.

図9を参照して処理手順を説明する。   The processing procedure will be described with reference to FIG.

ST10:コマンド送信部34は、コマンド送信タイミングであるかどうか判定する。
図10のt2とt4であればYESとなりST11に進み、t1とt3であればNOとなり、図10の処理を終える。
ST10: The command transmission unit 34 determines whether it is command transmission timing.
If t2 and t4 in FIG. 10, YES is determined, and the process proceeds to ST11. If t1 and t3, NO is determined, and the process in FIG.

ST11:コマンド送信部34は、コマンドバッファ30を調べ未送信コマンドがあるかどうか判定する。
未送信コマンドがあるかどうかは例えばリングバッファのインデックスに基づき判定するが、この処理は公知であるので説明は省略する。
ST11: The command transmission unit 34 checks the command buffer 30 and determines whether there is an untransmitted command.
Whether or not there is an untransmitted command is determined based on, for example, the index of the ring buffer.

ST12:未送信コマンドがあるとき(ST11でYES)、コマンド送信部34はコマンドバッファ30からコマンド(4バイト)を読出し、これのチェックサムを求めて追加し(図8(a))、サブ基板20へ送信する(例えば図10のt2)。 ST12: When there is an untransmitted command (YES in ST11), the command transmitter 34 reads the command (4 bytes) from the command buffer 30, obtains and adds a checksum thereof (FIG. 8 (a)), and sub-board 20 (for example, t2 in FIG. 10).

ST13:未送信コマンドがないとき(ST11でNO)、コマンド送信部34はコマンドバッファ30から3バイトのデータ(例えば先頭の3バイトBF1〜BF3)を読出し、これのチェックサムを求めて追加し(図8(b))、サブ基板20へ送信する(例えば図10のt2)。 ST13: When there is no untransmitted command (NO in ST11), the command transmitter 34 reads out 3 bytes of data (for example, the first 3 bytes BF1 to BF3) from the command buffer 30, and obtains and adds the checksum thereof ( 8B), the data is transmitted to the sub board 20 (for example, t2 in FIG. 10).

なお、抽選テーブルを選択するための設定変更時においては、コマンドバッファ30の内容BF1〜BF128が全て0で埋められる。このため、設定変更時においてその先頭の3バイトBF1〜BF3に基づき生成されるダミーコマンドは、全てのビットが0である特殊なものとなる。このような特殊なコマンドを送信すると、メイン基板10からサブ基板20への通信を傍受している不正行為者に、遊技機が設定変更中であると容易に気づかせてしまう。これは好ましくないので、ダミーコマンドの送信は、設定変更が終了した後であって、正規コマンドが生成されてコマンドバッファ30の少なくともBF1〜BF3が0以外になってから行うことが好ましい。この点については、後に再度説明を加える。   When the setting is changed to select the lottery table, the contents BF1 to BF128 of the command buffer 30 are all filled with zeros. For this reason, the dummy command generated based on the first three bytes BF1 to BF3 when the setting is changed is a special one in which all bits are 0. When such a special command is transmitted, an unauthorized person who intercepts communication from the main board 10 to the sub board 20 is easily made aware that the game machine is changing the setting. Since this is not preferable, it is preferable that the transmission of the dummy command is performed after the setting change is completed and after the regular command is generated and at least BF1 to BF3 of the command buffer 30 are other than zero. This will be explained again later.

<コマンド受信装置>
次にコマンド受信装置について説明を加える。コマンド受信装置(サブ基板20)の説明においては、「コマンド」は、上記と異なり、特に断らない限り正規コマンドとダミーコマンドの両方を含むものとする。受信側において正規コマンドとダミーコマンドを区別できるのは判定処理(図12のST22)を行った後であるので、それ以前は受信したコマンドは正規コマンド又はダミーコマンドのいずれかであるとして扱うことが妥当である。
<Command receiving device>
Next, the command receiving device will be described. In the description of the command receiving device (sub-board 20), “command” is different from the above, and includes both regular commands and dummy commands unless otherwise specified. Since it is after the determination process (ST22 in FIG. 12) that the regular command and the dummy command can be distinguished on the receiving side, the received command can be treated as either a regular command or a dummy command. It is reasonable.

サブ基板20は、メイン基板10と同様な構成(図5)を備える。すなわち、複数のビット(配線)からなるBUSに、CPU(処理装置)、ROM(不揮発性記憶部)、メモリRWM(読み出し及び書き込み可能なメモリ)及びI/O(入出力装置)、タイマ回路TMなどが接続されている。   The sub board 20 has the same configuration as that of the main board 10 (FIG. 5). That is, a CPU (processing device), a ROM (nonvolatile storage unit), a memory RWM (a readable / writable memory), an I / O (input / output device), a timer circuit TM, a BUS composed of a plurality of bits (wirings). Etc. are connected.

サブ基板20のCPUは、予め定められたプログラムに従い、複数の処理を所定の順番で繰り返し実行するメイン処理と、予め定められた間隔で行われる割込処理とを実行する。   The CPU of the sub-board 20 executes a main process that repeatedly executes a plurality of processes in a predetermined order and an interrupt process that is performed at a predetermined interval according to a predetermined program.

図11は、発明の実施の形態に係る受信装置のブロック図である。図11はサブ基板20において実現される機能のブロック図であり、発明の実施の形態に関連する部分のみを示している。   FIG. 11 is a block diagram of a receiving apparatus according to an embodiment of the invention. FIG. 11 is a block diagram of functions realized in the sub-board 20, and shows only parts related to the embodiment of the invention.

40は、メイン基板10から受けたコマンドを受信するコマンド受信部である。コマンド受信部40は、例えば通信処理用のICであり、自動的にコマンドを受信する。   Reference numeral 40 denotes a command receiving unit that receives a command received from the main board 10. The command receiving unit 40 is, for example, an IC for communication processing, and automatically receives commands.

41は、コマンド受信部40で受けたコマンドを一時的に保存する受信バッファである。受信バッファ41は先入れ先出しバッファ(FIFO)であり、所定のデータ(コマンド)を記憶し、記憶したデータをその順番で出力するものである。   A reception buffer 41 temporarily stores commands received by the command reception unit 40. The reception buffer 41 is a first-in first-out buffer (FIFO) that stores predetermined data (commands) and outputs the stored data in that order.

受信バッファ41は、FIFOなどのメモリICで構成することもできる。あるいは、複数のメモリで構成することもできる。例えば、CPUの内部レジスタ又はメモリを受信バッファ(その1)とし、プログラムでアクセスされるメモリの一部を受信バッファ(その2)及び受信バッファ(その3)とし、これら受信バッファ(その1)〜(その3)全体が受信バッファ41を構成するようにしてもよい。例えば、メイン基板10からのコマンドは最初に受信バッファ(その1)に格納され、次に受信バッファ(その2)に格納され、その後受信バッファ(その3)に格納される。   The reception buffer 41 can also be configured by a memory IC such as a FIFO. Alternatively, it can be constituted by a plurality of memories. For example, a CPU internal register or memory is a reception buffer (part 1), a part of memory accessed by a program is a reception buffer (part 2) and a reception buffer (part 3), and these reception buffers (part 1) to (No. 3) The reception buffer 41 may be configured as a whole. For example, a command from the main board 10 is first stored in the reception buffer (part 1), then stored in the reception buffer (part 2), and then stored in the reception buffer (part 3).

42は、受信バッファ41からコマンドを読み出して解析し、サブ基板20のCPUへ送るコマンド解析部である。コマンド解析部42は、例えば、所定の割込タイミング(例えば図13のコマンド受信チェックタイミング)で処理を開始する。   Reference numeral 42 denotes a command analysis unit that reads and analyzes a command from the reception buffer 41 and sends the command to the CPU of the sub-board 20. For example, the command analysis unit 42 starts processing at a predetermined interrupt timing (for example, command reception check timing in FIG. 13).

<コマンド受信処理(その1)>
図12は、コマンド受信部40の処理フローチャートである。この処理は、例えば、図15のt10〜t21のチェックタイミングにおいて実行される。
<Command reception process (part 1)>
FIG. 12 is a process flowchart of the command receiving unit 40. This process is executed, for example, at check timings t10 to t21 in FIG.

ST191:受信状況を判定する。
例えば、コマンド受信部40に入力されている信号が変化しているときは受信有とし、変化がないときは受信無とする。
ST191: The reception status is determined.
For example, when the signal input to the command receiving unit 40 is changing, reception is performed, and when there is no change, reception is not performed.

ST192:受信有のときは、その旨を意味する「受信有」の信号を発生し、例えばコマンド解析部42へ出力する。 ST192: When reception is present, a “reception present” signal indicating that is generated and output to the command analysis unit 42, for example.

ST193:コマンド受信部40は、変化している信号からデータを抽出し、受信バッファ41に格納する。上記コマンドはバイトを単位としているので、バイトごとにデータを格納する。データの抽出処理は公知であるので、その説明は省略する。 ST193: The command receiving unit 40 extracts data from the changing signal and stores it in the receiving buffer 41. Since the above command uses bytes as a unit, data is stored for each byte. Since the data extraction process is known, the description thereof is omitted.

ST194:受信無のときは、その旨を意味する「受信無」の信号を発生し、例えばコマンド解析部42へ出力する。 ST194: When there is no reception, a “no reception” signal indicating that is generated and output to the command analysis unit 42, for example.

<コマンド受信処理(その2)>
図13はコマンドを確定する処理、つまり、コマンドを構成する全てのデータを受信したかどうかと判定し、受信したときにこれらのデータをひとつのまとまりとして解析するためにコマンド解析部42に取り込む処理である。コマンドを構成する全てのデータを受信したと判定することを「コマンド確定」と記すことにする。図13の処理については、図15等を参照して後に具体的に説明を加える。
<Command reception process (2)>
FIG. 13 shows a process for determining a command, that is, a process for determining whether or not all data composing the command has been received, and for receiving these data into the command analysis unit 42 for analysis as a single unit. It is. Determining that all data composing the command has been received is referred to as “command confirmation”. The processing in FIG. 13 will be specifically described later with reference to FIG.

図13の処理全体が、図14のST20に相当する(ST201の「受信無」、ST203の「係数値≦閾値」は、ST20の「NO」に対応する)。   The entire process in FIG. 13 corresponds to ST20 in FIG. 14 (“No reception” in ST201, “Coefficient value ≦ Threshold” in ST203 corresponds to “NO” in ST20).

図13の処理は、例えば、図15のt10〜t21のチェックタイミングにおいて実行される。   The process in FIG. 13 is executed, for example, at check timings t10 to t21 in FIG.

ST201:コマンド解析部42は、受信状況を判定する。
図12のST192又はST194により「受信有」又は「受信無」の信号が送られてくるので、これに基づき受信状況を「受信有」又は「受信無」のいずれかに判定する。
ST201: The command analysis unit 42 determines the reception status.
Since ST192 or ST194 in FIG. 12 sends a signal “with reception” or “without reception”, the reception status is determined as “with reception” or “without reception” based on this signal.

ST202:コマンド解析部42は、「受信無」の回数を計数する。ここでの計数は、連続する「受信無」を計数するものとする。例えば、図15のt12とt13で計数値は2回となる。「受信有」になったら、計数値をリセットする。例えば、図15のt15で計数値は4となるが、t16で0に戻る。この計数値は、後述のGAPの時間に相当する(図17及びその説明参照)。 ST202: The command analysis unit 42 counts the number of “no reception”. In this case, it is assumed that consecutive “no reception” is counted. For example, the count value becomes twice at t12 and t13 in FIG. When “Received” is set, the count value is reset. For example, the count value becomes 4 at t15 in FIG. 15, but returns to 0 at t16. This count value corresponds to the GAP time described later (see FIG. 17 and its description).

ST202は、受信無の信号が連続する期間(以下「継続時間」又は「受信無継続回数」)を予め定められた時間と比較することに相当する。例えば、連続する「受信無」の計数値に、コマンド受信チェックタイミングの間隔を乗じた期間を、継続時間とすることができる。以下の説明では、説明の便宜上、受信無の信号が連続する期間を、単に「継続時間」と記載する。   ST202 corresponds to comparing a period in which a signal without reception continues (hereinafter referred to as “duration” or “number of times without reception”) with a predetermined time. For example, a period obtained by multiplying consecutive “no reception” count values by an interval of the command reception check timing can be set as the duration. In the following description, for convenience of description, a period in which a signal without reception continues is simply referred to as “duration”.

ST203:コマンド解析部42は、計数値を閾値と比較する。
係数値が閾値以上又は閾値を超えたとき、ST204を実行する。そうでないときは処理を終了する。
ST203: The command analysis unit 42 compares the count value with a threshold value.
When the coefficient value is equal to or greater than the threshold value or exceeds the threshold value, ST204 is executed. Otherwise, the process is terminated.

閾値は後述のGAP2に相当する。これについては後述する。   The threshold corresponds to GAP2 described later. This will be described later.

ST204:コマンド解析部42は、受信バッファ41からコマンドを読み出す。
受信バッファ41には受信したデータであって、まだ読み出されていないデータが格納されているので、それらを読み出す。これらのデータは、前回コマンド確定した際において、S203で計数値>閾値と判定され、ST204で読み出された後に格納されたデータである。それらデータ全体がひとつのコマンドを構成する。このコマンドが適正なものであるかどうかは、図14の処理で判定する。図15の例ではt13とt19でコマンドを読み出す。
ST204: The command analysis unit 42 reads a command from the reception buffer 41.
The reception buffer 41 stores received data that has not yet been read out, and therefore reads them. These data are data stored after being read in ST204 when it is determined that the count value> threshold value in S203 when the previous command is confirmed. The entire data constitutes one command. Whether or not this command is appropriate is determined by the processing of FIG. In the example of FIG. 15, the command is read at t13 and t19.

なお、受信無が連続するような場合もST203で係数値>閾値となるが、この場合は受信バッファ41の中にデータが無いのでST204はスキップされる。図15の例ではt14、t15においてST204はスキップされる。   In the case where no reception continues, the coefficient value> threshold value in ST203, but in this case, since there is no data in the reception buffer 41, ST204 is skipped. In the example of FIG. 15, ST204 is skipped at t14 and t15.

<コマンド受信処理(その3)>
図14は、サブ基板20のコマンド受信処理のフローチャートである。図15及び図16は、コマンド受信のタイミングを説明するためのタイミングチャートである。以下、これらの図に基づき、発明の実施の形態に係るコマンド送信処理を説明する。
<Command reception processing (part 3)>
FIG. 14 is a flowchart of command reception processing of the sub-board 20. 15 and 16 are timing charts for explaining command reception timing. Hereinafter, command transmission processing according to embodiments of the present invention will be described with reference to these drawings.

図15及び図16の符号を説明する。   Reference numerals in FIGS. 15 and 16 will be described.

tm1、tm5はメイン基板10におけるコマンド送信開始タイミングである。   tm1 and tm5 are command transmission start timings in the main board 10.

tm2、tm6はメイン基板10におけるコマンド送信終了タイミングである。   tm2 and tm6 are command transmission end timings in the main board 10.

ts1、ts5はサブ基板20におけるコマンド受信開始タイミングである。   ts1 and ts5 are command reception start timings in the sub-board 20.

ts2、ts6はサブ基板20におけるコマンド受信終了タイミングである。   ts2 and ts6 are command reception end timings in the sub-board 20.

tm1とts1の差は、コマンドの伝播時間に相当する。サブ基板20のコマンド受信の箱の下の受信状況は、コマンド受信部40の受信状況を示す。   The difference between tm1 and ts1 corresponds to the command propagation time. The reception status under the command reception box of the sub-board 20 indicates the reception status of the command receiving unit 40.

t10〜t21は、コマンド解析部42によるコマンド受信のチェックタイミングである。この間隔はメイン基板10のコマンド送信タイミング(3ms)に応じて定められ、例えば500μsである。この下のコマンド受信チェック結果「受信有」「受信無」は、t10〜t21においてコマンドを受信していたか否かの判定結果である。   t10 to t21 are command reception check timings by the command analysis unit 42. This interval is determined according to the command transmission timing (3 ms) of the main board 10 and is, for example, 500 μs. The command reception check results “received” and “not received” below are determination results as to whether or not a command has been received from t10 to t21.

GAPはデータを受信しない期間(隙間)である。   GAP is a period (gap) during which no data is received.

コマンド受信部40は、メイン基板10からコマンドを受けると、受けた順番に受信バッファ41に書き込んでいく。例えば、ts1からts2において合計5バイトのデータが受信バッファ41に書き込まれる。   When receiving a command from the main board 10, the command receiving unit 40 writes it in the reception buffer 41 in the order received. For example, a total of 5 bytes of data is written to the reception buffer 41 from ts1 to ts2.

コマンド解析部42はt10においてコマンド受信チェックを行う(図12)。   The command analysis unit 42 performs command reception check at t10 (FIG. 12).

あるいは、前回の受信チェックのとき(図示せず)と比較してt10において受信バッファ41に新たなデータが書き込まれているので、コマンド解析部42は「受信有」と判定するようにもできる。この判定は、例えば、受信バッファ41のインデックスの位置に基づき行う。   Alternatively, since new data is written in the reception buffer 41 at t10 as compared to the previous reception check (not shown), the command analysis unit 42 can determine that “reception is present”. This determination is made based on the index position of the reception buffer 41, for example.

コマンド解析部42はt11においてコマンド受信チェックを行うが、t10〜ts2の間に新たなデータを受信し、これが受信バッファ41に書き込まれているので、コマンド解析部42は「受信有」と判定する。   The command analysis unit 42 performs a command reception check at t11. However, since new data is received between t10 and ts2, and this is written in the reception buffer 41, the command analysis unit 42 determines that “reception is present”. .

コマンド解析部42はt12においてコマンド受信チェックを行うが、受信バッファ41のデータはt11のときと変わらないので、コマンド解析部42は「受信無」と判定する。   The command analysis unit 42 performs a command reception check at t12. Since the data in the reception buffer 41 is not changed from that at t11, the command analysis unit 42 determines “no reception”.

t13以降も同様である。   The same applies after t13.

コマンド確定には、コマンドの受信開始ts1から受信無確定のt13までの期間を要する(他も同様)。   To confirm the command, a period from the command reception start ts1 to t13 when the command is not confirmed is required (the same applies to others).

図13からわかるように、コマンド確定に要する時間(ts1〜t13)は、コマンドの実際の受信時間(ts1〜ts2)よりも長い。例えば、コマンド受信のチェックタイミングの間隔(500μs)の2倍程度長くなる。   As can be seen from FIG. 13, the time required for command confirmation (ts1 to t13) is longer than the actual command reception time (ts1 to ts2). For example, it is about twice as long as the command reception check timing interval (500 μs).

他方、コマンド受信チェックによる「受信無」の期間は、コマンドの実際の受信無の時間(ts2〜ts5、隙間GAP)よりも短い。なお、コマンドを正しく受信するためには、複数のコマンド間に「受信無」の期間が少なくともひとつ(以下の例では少なくとも2つ)必要である。この条件を満たすようにダミーコマンドの長さは選択される(前記(条件1)参照)。   On the other hand, the period of “no reception” by the command reception check is shorter than the actual no reception time of the command (ts2 to ts5, gap GAP). In order to correctly receive a command, at least one “no reception” period (at least two in the following example) is required between a plurality of commands. The length of the dummy command is selected so as to satisfy this condition (see (Condition 1) above).

図14を参照して処理手順を説明する。この処理は、t10〜t21のタイミングで起動される。   The processing procedure will be described with reference to FIG. This process is started at a timing from t10 to t21.

ST20:コマンド解析部42は、コマンドを受信したかどうか判定する。
この処理は、図13のST201〜ST204からなる。
コマンドを受信した(YES)となるのは、ST203で係数値>閾値となったときである(図15のt13、t19)。これ以外の場合、例えば「受信有」のときはコマンド受信中でありコマンド受信未了なので、コマンドを受信していない(NO)となる。「受信無」が連続している場合も同様である(NO)。このケースはそもそもデータを受信していない。
ST20: The command analysis unit 42 determines whether a command has been received.
This process consists of ST201 to ST204 in FIG.
The command is received (YES) when the coefficient value> threshold value in ST203 (t13, t19 in FIG. 15). In other cases, for example, when “reception is present”, since the command is being received and the command has not been received, the command is not received (NO). The same applies when “no reception” continues (NO). In this case, no data is received.

「YES」であればST21に進む。「NO」であれば図12の処理を終了する。   If “YES”, the process proceeds to ST21. If “NO”, the process of FIG. 12 is terminated.

ST21:コマンド解析部42は、受信バッファ41から受信したコマンドを読み出し、その構成を調べ、その長さをチェックする。
コマンド(正規コマンド)はチェックサムを含む5バイトである。ダミーコマンドはチェックサムを含む4バイトである。
ST21: The command analysis unit 42 reads the received command from the reception buffer 41, examines its configuration, and checks its length.
The command (regular command) is 5 bytes including a checksum. The dummy command is 4 bytes including the checksum.

また、後述のように、不正コマンドの場合は、複数のコマンドが結合されて5バイトよりも長くなる(図16及びその説明参照)。   As will be described later, in the case of an illegal command, a plurality of commands are combined to be longer than 5 bytes (see FIG. 16 and the description thereof).

ST22:コマンド解析部42は、コマンド長さが適正かどうか判定する。
上記例では、適正な長さ(基準長)は5バイトである。5バイトのとき「YES」、これ以外の長さのコマンドは「NO」となる。4バイト以下、6バイト以上はいずれも「NO」である。
ST22: The command analysis unit 42 determines whether the command length is appropriate.
In the above example, the appropriate length (reference length) is 5 bytes. “YES” for 5 bytes, “NO” for other length commands. 4 bytes or less and 6 bytes or more are both “NO”.

ST23:ST22で「YES」のとき、コマンド解析部42は当該コマンドを解析して、解析結果をサブ基板20のCPUに渡す。解析処理は公知なので説明は省略する。 ST23: When “YES” in ST22, the command analysis unit 42 analyzes the command and passes the analysis result to the CPU of the sub-board 20. Since the analysis process is publicly known, a description thereof is omitted.

ST24:ST22で「NO」のとき、コマンド解析部42は当該コマンドを破棄する。当該コマンドはCPUに渡されず、サブ基板20の処理に影響を与えない。「NO」となるのは例えばダミーコマンドであり、その長さは4バイトであり、基準長≠4バイトである。あるいは他のコマンドと結合された不正なコマンドであり、その長さは10バイト以上である。 ST24: When “NO” in ST22, the command analysis unit 42 discards the command. The command is not passed to the CPU and does not affect the processing of the sub-board 20. “NO” is, for example, a dummy command, the length of which is 4 bytes, and the reference length ≠ 4 bytes. Or it is an illegal command combined with another command, and its length is 10 bytes or more.

なお、図12においては、ST22で「NO」のときの処理の意義を明確にするために「コマンド破棄」処理を示しているが、「コマンド破棄」とはこのコマンドを次の処理に渡すことをせず、保持することもしないという意味である。実際には、何もせず処理12を終了するようにしてよい。すなわち、ST24の処理は不要である。   In FIG. 12, “command discard” processing is shown to clarify the significance of processing when “NO” in ST22, but “command discard” refers to passing this command to the next processing. It means not holding or holding. Actually, the process 12 may be terminated without doing anything. That is, the process of ST24 is unnecessary.

図15を参照して、図14の処理の具体例を説明する。図15は、不正コマンドが存在しない場合である。   A specific example of the processing of FIG. 14 will be described with reference to FIG. FIG. 15 shows a case where there is no illegal command.

t10とt11では図13のST201で「受信有」となるが、t12〜t15では「受信無」となる。閾値=1とすれば、t12では計数値=1であるのでST203で「計数値≦閾値」となり、ST204は実行されない。t13では計数値=2であるのでST203で「計数値>閾値」となり、ST204が実行される。これによりコマンド確定となる。ST204で読み出されたコマンド(ts1〜ts2で受信したもの)は、コマンド解析部42で解析される。すなわち、図14のST21以降が実行される。コマンド(ts1〜ts2で受信したもの)は正規コマンドであるので、ST22でYES、S23が実行される。   At t10 and t11, “Received” is indicated at ST201 of FIG. 13, but “Not received” is indicated at t12 to t15. If threshold value = 1, since count value = 1 at t12, “count value ≦ threshold value” is satisfied in ST203, and ST204 is not executed. Since the count value = 2 at t13, “count value> threshold” is set in ST203, and ST204 is executed. This confirms the command. The command read in ST204 (received in ts1 to ts2) is analyzed by the command analysis unit 42. That is, ST21 and subsequent steps in FIG. 14 are executed. Since the command (received at ts1 to ts2) is a regular command, YES and S23 are executed at ST22.

図16を参照して、図14の処理の具体例を説明する。図16は、不正コマンドが存在する場合である。   A specific example of the process of FIG. 14 will be described with reference to FIG. FIG. 16 shows a case where an illegal command exists.

t10とt11では図13のST201で「受信有」となるが、t12では「受信無」となる。閾値=1とすれば、t12では計数値=1であるのでST203で「計数値≦閾値」となり、ST204は実行されない。   At t10 and t11, “Received” is indicated at ST201 in FIG. 13, but “Not received” at t12. If threshold value = 1, since count value = 1 at t12, “count value ≦ threshold value” is satisfied in ST203, and ST204 is not executed.

tx1〜tx2で受信した不正コマンドがあるため、t13で再び「受信有」となる。ここで計数値がリセットされる。   Since there is an illegal command received at tx1 to tx2, it becomes “Received” again at t13. Here, the count value is reset.

t15では計数値=1であるのでST203で「計数値≦閾値」となり、ST204は実行されない。   Since the count value = 1 at t15, “count value ≦ threshold” is satisfied in ST203, and ST204 is not executed.

t19で初めて計数値=2となり、ST203で「計数値>閾値」となり、ST204が実行される。これによりコマンド確定となる。ST204で読み出されたコマンドは、コマンド解析部42で解析される。   For the first time at t19, the count value = 2, and in ST203, “count value> threshold”, and ST204 is executed. This confirms the command. The command read in ST204 is analyzed by the command analysis unit 42.

t19で読み出されるものは、ts〜ts2及びts5〜ts6のコマンドとtx1〜tx2の不正コマンドが結合されたものである。受信バッファ41はこれらのデータが残っているので、それら全てがひとまとまりのデータでありひとつのコマンドとして扱われる。したがって、t19で読み出されたコマンドは非常に長いもの(15バイト)となり、図14のST22で「NO」となり、破棄される。   What is read at t19 is a combination of the commands from ts to ts2 and ts5 to ts6 and the illegal commands from tx1 to tx2. Since these data remain in the reception buffer 41, all of them are a group of data and are handled as one command. Therefore, the command read at t19 is very long (15 bytes), and becomes “NO” in ST22 of FIG. 14 and discarded.

受信バッファ41が、複数のメモリ(前述の受信バッファ(その1)〜(その3))で構成される場合について補足する。   The case where the reception buffer 41 includes a plurality of memories (the above-described reception buffers (part 1) to (part 3)) will be supplemented.

メイン基板10から送られてきたコマンドは、まずサブ基板20のCPU内部の受信バッファ(その1)に、CPUの受信処理に伴い自動的に格納される。   The command sent from the main board 10 is first automatically stored in the reception buffer (part 1) inside the CPU of the sub board 20 in accordance with the reception process of the CPU.

ソフトウエア処理により、受信バッファ(その1)を備えるCPUから、メモリ内の受信バッファ(その2)に受信したコマンドを移動させる。具体的には、コマンド受信タイミングで、受信バッファ(その1)にコマンドが格納されるとき(コマンド受信チェック結果が受信有)のとき、受信バッファ(その1)から受信バッファ(その2)にコマンドが移動される。   The received command is moved from the CPU including the reception buffer (part 1) to the reception buffer (part 2) in the memory by software processing. Specifically, when the command is stored in the reception buffer (part 1) at the command reception timing (the command reception check result is received), the command is sent from the reception buffer (part 1) to the reception buffer (part 2). Is moved.

受信バッファ(その1)に格納されているコマンドがなくなり、受信コマンドチェック結果が受信無を2回繰り返したとき、1つのコマンドが確定する。このときに受信バッファ(その2)に格納されたコマンド長を判定する(ST22)。正規のコマンド長であれば、受信バッファ(その3)に移し、解析する(ST23)。   When there is no command stored in the reception buffer (part 1) and the reception command check result repeats no reception twice, one command is determined. At this time, the command length stored in the reception buffer (part 2) is determined (ST22). If the command length is normal, the command is moved to the reception buffer (part 3) and analyzed (ST23).

この例では、受信バッファ41が複数のメモリで構成され、それらの間を移動する間にコマンド長を判定しているが、このように構成してもよい。この場合、受信バッファ41がコマンド解析部42の一部を含むと考えてもよい。コマンド長の判定は、コマンド受信部40内部に一時的なバッファを備えているとしてその出力で行うこともできるし、上述のように受信バッファ41の内部で行うこともできる。また、コマンド解析部42でコマンドを受ける際に行うようにしてもよい。   In this example, the reception buffer 41 is composed of a plurality of memories, and the command length is determined while moving between them, but it may be configured in this way. In this case, it may be considered that the reception buffer 41 includes a part of the command analysis unit 42. The determination of the command length can be performed based on the output of a temporary buffer provided in the command receiver 40, or can be performed in the reception buffer 41 as described above. Alternatively, it may be performed when the command analysis unit 42 receives a command.

この発明の実施の形態によれば、受信バッファ41からの読み出しを、ST203の係数値>閾値のときに行うので、メイン基板からサブ基板へのデータ伝送路に不正にアクセスし、上記報知を不正に行わせる、いわゆるゴト行為を防止することができる。   According to the embodiment of the present invention, since reading from the reception buffer 41 is performed when the coefficient value of ST203> threshold, the data transmission path from the main board to the sub board is illegally accessed, and the notification is illegally performed. It is possible to prevent so-called goto action.

すなわち、この発明の実施の形態によれば、サブ基板において、受信無の信号の継続時間を閾値(GAP2)と比較し、継続時間が閾値よりも長くなったときコマンドを読み出すので、通常よりも隙間の狭い複数のコマンド(ダミーコマンド、不正なコマンドを含む)が一緒に受信バッファ41に記憶され、それらがひとつのコマンドとして読み出される。つまり、不正なコマンドはその前及び/又は後のコマンドと結合される。そして、そのコマンドの長さを調べ、コマンドの長さが予め定められた基準長と異なるときはコマンドを破棄するようにしたので、通常よりも隙間の狭い複数のコマンドは、破棄される(不正なコマンドが挿入されると隙間が通常よりも狭くなる)。これにより、不正なコマンドがサブ基板で正規コマンドのように扱われることを防止できる。   That is, according to the embodiment of the present invention, the sub-board compares the duration of the signal without reception with the threshold (GAP2), and reads out the command when the duration is longer than the threshold. A plurality of commands with narrow gaps (including dummy commands and illegal commands) are stored together in the reception buffer 41 and read out as one command. That is, an illegal command is combined with a command before and / or after the command. Then, the length of the command is checked, and when the command length is different from a predetermined reference length, the command is discarded. Therefore, a plurality of commands having a narrower gap than usual are discarded (invalid When a simple command is inserted, the gap becomes narrower than usual). Thereby, it is possible to prevent an illegal command from being treated like a regular command on the sub-board.

例えば、所定の当選役に当選したとき、正解となる押し順で停止操作を行うことにより、特定の図柄組合せが表示され、この特定の図柄組合せが表示されたことに基づいて、リプレイが高確率で当選する状態とするとともに、当該状態において当選役を報知する打順報知とするためのコマンドに関して、その不正を防止することができる。不正行為者が、正解打順を報知させるために、特定の当選役に当選したという情報(コマンド)を不正基板からサブ基板へ送ることができず、不正行為者は正解打順で停止操作を行えず、配当の高い小役の入賞による利益を得ることができない。   For example, when a predetermined winning combination is won, a specific symbol combination is displayed by performing a stop operation in the correct pressing order, and the replay is highly probable based on the display of this specific symbol combination. It is possible to prevent fraud with respect to a command for making a winning order notification in which the winning combination is notified in this state. In order for the fraudster to notify the correct beating order, information (command) that the specific winning role has been won cannot be sent from the fraudulent board to the sub-board, and the fraudulent person cannot perform stop operation in the correct beating order. , You can not get a profit from winning a small payout.

この発明の実施の形態は、「不正行為者の付け入る隙」を与えない。図15及び図16のように隙間GAPの一部をコマンド確定に使用しているので、コマンドとコマンドの間の隙間が狭くなる。このため、この狭くなった隙間で不正コマンドを送ることができない。この隙間GAPで不正コマンドを送ると図16に示すようにコマンドを分離できず、複数のコマンドが連結されて解釈される。コマンド長が正規の長さ(5バイト)を超えてしまうから異常と判定され、当該コマンドは破棄され、実行されることがない。不正行為者は不正な利益を得ることができない。   The embodiment of the present invention does not provide “a chance for a fraudster”. Since a part of the gap GAP is used for command confirmation as shown in FIGS. 15 and 16, the gap between commands is narrowed. For this reason, an illegal command cannot be sent in this narrow gap. When an illegal command is sent through this gap GAP, the commands cannot be separated as shown in FIG. 16, and a plurality of commands are concatenated and interpreted. Since the command length exceeds the normal length (5 bytes), it is determined to be abnormal, and the command is discarded and not executed. A fraudster cannot gain an unfair advantage.

なお、発明の実施の形態では、サブ基板20のコマンドの受信間隔を一定にするためにダミーコマンドを送信しているが、このダミーコマンドは正規コマンドよりも短いので、以下に述べるように特許文献1の問題は生じない。コマンド長で正規コマンドとダミーコマンドを区別しているので、正規コマンドの種類を減らすことがなく、また、コマンド解析の処理負荷を増やすことがない。   In the embodiment of the invention, a dummy command is transmitted in order to make the command reception interval of the sub-board 20 constant, but this dummy command is shorter than the regular command. Problem 1 does not occur. Since the command length distinguishes regular commands from dummy commands, the types of regular commands are not reduced, and the processing load of command analysis is not increased.

特許文献1によれば、不正なコマンドデータの送信を防止できるが、前述の(1)(2)という問題があった。   According to Patent Document 1, it is possible to prevent unauthorized transmission of command data, but there are problems (1) and (2) described above.

(1)は「コマンドの種類が減少する」というものであるが、発明の実施の形態によればコマンド長で正規コマンドとダミーコマンドを区別しているので、特定のコード(例えば10H)をダミーコマンドに割り当てる必要がなく、したがって正規コマンドに使用できるコードが減るといったことがない。   (1) is “reduced command types”, but according to the embodiment of the invention, the command length distinguishes regular commands and dummy commands, so a specific code (eg, 10H) is assigned to a dummy command. Does not need to be assigned, so there is no reduction in code that can be used for regular commands.

(2)は「ダミーコマンドも正規コマンドと同様に解析しなければならない(そうしないと両者を区別できない)」というものであるが、発明の実施の形態によればコマンド長で正規コマンドとダミーコマンドを区別しているので、コマンド解析の前にその構造の違いで両者を区別できる。したがって、コマンド解析のためにCPUの処理負荷が増えるという問題が生じない。   (2) is that “the dummy command must be analyzed in the same way as the regular command (otherwise, the two cannot be distinguished from each other)”, but according to the embodiment of the invention, the regular command and the dummy command are based on the command length. Are distinguished from each other by the difference in structure before command analysis. Therefore, there is no problem that the processing load of the CPU increases for command analysis.

<「閾値」の検討>
次に、図17を参照して、図13の閾値の定め方について検討する。閾値を適切に定めることにより、不正コマンドデータの送信防止という効果を奏することができる。
<Examination of “Threshold”>
Next, with reference to FIG. 17, a method for determining the threshold value in FIG. 13 will be examined. By appropriately setting the threshold value, it is possible to prevent illegal command data from being transmitted.

コマンド受信間隔が一定の範囲内に収まっているとして、その最小値を最小受信間隔、その最大値を最大受信間隔とする。図17(a)は最小受信間隔のときのタイミングチャートを示し、図17(b)は最大受信間隔のときのタイミングチャートを示す。GAPは、不正コマンド以外のコマンド間の隙間である。GAP2は閾値に相当する。GAP2は、実際はコマンド受信チェックタイミングの間隔を単位とする離散値であるが、ここでは説明を簡単にするために連続値とする。   Assuming that the command reception interval is within a certain range, the minimum value is the minimum reception interval, and the maximum value is the maximum reception interval. FIG. 17A shows a timing chart at the minimum reception interval, and FIG. 17B shows a timing chart at the maximum reception interval. GAP is a gap between commands other than illegal commands. GAP2 corresponds to a threshold value. GAP2 is actually a discrete value with the interval of the command reception check timing as a unit, but here it is assumed to be a continuous value for simplicity of explanation.

図17(b)は不正コマンドが結合されるか、されないかの境界事例を示している。つまり、図17(b)は不正コマンドを連結する最小のGAP2を示している。GAP2がこれよりも少しでも短くなると、不正コマンドが正規コマンドとして扱われてしまう。   FIG. 17B shows a boundary example of whether or not an illegal command is combined. That is, FIG. 17B shows the minimum GAP2 for connecting illegal commands. If GAP2 becomes slightly shorter than this, an illegal command is treated as a regular command.

図13において閾値は自然数であるが、これはコマンド受信を一定間隔で行っていて当該間隔を単位として計時していることに相当する。したがって、図13のST203での判断の基礎としているのは時間である。閾値(時間)は、次の条件を満たす必要がある。   In FIG. 13, the threshold value is a natural number, which corresponds to the fact that command reception is performed at regular intervals and time is measured in units of the intervals. Therefore, time is the basis of the determination in ST203 of FIG. The threshold (time) needs to satisfy the following conditions.

(条件3)正規コマンドを誤って結合して破棄されることがないこと (Condition 3) A regular command cannot be accidentally combined and discarded.

(条件4)不正コマンドを誤って正規コマンドと認識することがないこと。言い換えれば、隙間GAPに挿入された不正コマンドは常に隣接する正規コマンド(又はダミーコマンド)と結合されること。 (Condition 4) An illegal command is not mistakenly recognized as a regular command. In other words, an illegal command inserted into the gap GAP is always combined with an adjacent regular command (or dummy command).

<(条件3)の検討>
図17(a)はコマンドが結合されない状態を示す。図17(a)によれば、次の関係が成立する。なお、この項において、「コマンド」は正規コマンドとダミーコマンドの両方を指すものとする。
(コマンド確定に要する時間)=(コマンド受信時間)+GAP2
(コマンド確定に要する時間)<(最小受信間隔)
<Examination of (Condition 3)>
FIG. 17A shows a state where commands are not combined. According to FIG. 17A, the following relationship is established. In this section, “command” refers to both regular commands and dummy commands.
(Time required for command confirmation) = (Command reception time) + GAP2
(Time required for command confirmation) <(Minimum reception interval)

ダミーコマンドを含む場合、コマンド長の違いに起因して(コマンド受信時間)は正規コマンドとダミーコマンドで異なるが、ここでは説明を簡単にするために両者は同じであるとする(より正確に検討するときは、それぞれの受信確率に基づきその受信時間の期待値を求めるとよい)。   When a dummy command is included, due to the difference in command length (command reception time) differs between the regular command and the dummy command, but for the sake of simplicity, it is assumed here that the two are the same (more accurate examination). When doing so, it is better to calculate the expected value of the reception time based on the respective reception probabilities).

上記式から、
(コマンド受信時間)+GAP2<(最小受信間隔)
GAP2<(最小受信間隔)−(コマンド受信時間)
From the above formula,
(Command reception time) + GAP2 <(Minimum reception interval)
GAP2 <(minimum reception interval)-(command reception time)

GAP2(閾値)を上記のように定めれば、コマンド確定に要する時間が経過した後に次のコマンドを受信するので、正規コマンドを誤って結合して破棄されることがなくなる。   If GAP2 (threshold value) is determined as described above, the next command is received after the time required for command confirmation has elapsed, so that the regular command is not erroneously combined and discarded.

<(条件4)の検討>
図17(b)によれば、次の関係が成立する。
(コマンド受信時間)+GAP2+(不正コマンド受信時間)+GAP2=(コマンドの最大受信間隔)
<Examination of (Condition 4)>
According to FIG. 17B, the following relationship is established.
(Command reception time) + GAP2 + (illegal command reception time) + GAP2 = (maximum command reception interval)

不正コマンドは、自身を正規コマンドとして実行させることを目的とし、正規コマンドと同じ構造をしているから、(コマンド受信時間)=(不正コマンド受信時間)である。したがって、
GAP2=(コマンドの最大受信間隔)/2−(コマンド受信時間)
が得られる。
The illegal command is intended to execute itself as a regular command and has the same structure as the regular command, so (command reception time) = (illegal command reception time). Therefore,
GAP2 = (maximum command reception interval) / 2− (command reception time)
Is obtained.

図17(b)のGAP2は、(条件4)を満たす最小値を示すから、GAP2が満たすべき条件は次のようになる(境界値は含めないようにした)。
GAP2>(コマンドの最大受信間隔)/2−(コマンド受信時間)
Since GAP2 in FIG. 17B shows the minimum value that satisfies (Condition 4), the conditions that GAP2 should satisfy are as follows (the boundary value is not included).
GAP2> (Maximum command reception interval) / 2- (Command reception time)

GAP2(閾値)を上記のように定めれば、コマンド確定に要する時間が複数のコマンド(不正コマンドを含む)に跨がり、不正コマンドは常にその前又は後のコマンドと結合されるので、不正コマンドを誤って正規コマンドと認識することがなくなる。   If GAP2 (threshold value) is determined as described above, the time required for command confirmation spans multiple commands (including illegal commands), and illegal commands are always combined with commands before or after that. Are no longer recognized as regular commands.

なお、「受信無継続回数」で判断する場合は、GAP2をコマンド受信チェックタイミングの間隔で除したときの商が閾値(回数閾値)となる。前述の例では、回数閾値=2であった。   Note that, when the determination is made based on the “number of times of non-reception”, the quotient when GAP2 is divided by the interval of the command reception check timing is the threshold (number threshold). In the example described above, the number threshold is = 2.

なお、コマンド受信間隔が一定でなくても、その変動幅が(条件3)と(条件4)を同時に満たすGAP2の存在し得る範囲であれば、本発明の実施の形態に係る処理を適用することができる。よって、ダミーコマンドを送信することは、必須ではない。   Note that even if the command reception interval is not constant, the processing according to the embodiment of the present invention is applied as long as the fluctuation range is within a range in which GAP2 that simultaneously satisfies (Condition 3) and (Condition 4) can exist. be able to. Therefore, it is not essential to send a dummy command.

(コマンドの最大受信間隔)が大きくなり、(コマンドの最小受信間隔)が小さくなると、つまり、コマンドの受信間隔の変動幅が大きくなると、(条件3)と(条件4)を同時に満たすことができなくなる。この場合、何らかの手法で(コマンドの最大受信間隔)と(コマンドの最小受信間隔)の差を小さくする必要がある(例えばダミーコマンド)。(コマンドの最大受信間隔)と(コマンドの最小受信間隔)を完全に一致させることは必須ではないが、そのようにしてもよい。   When (Maximum command reception interval) increases and (Minimum command reception interval) decreases, that is, when the fluctuation range of the command reception interval increases, (Condition 3) and (Condition 4) can be satisfied simultaneously. Disappear. In this case, it is necessary to reduce the difference between (maximum command reception interval) and (minimum command reception interval) (for example, a dummy command). Although it is not essential that (maximum command reception interval) and (minimum command reception interval) coincide with each other, it may be so.

<コマンド受信間隔が一定の場合>
コマンド受信間隔がほぼ一定、つまり(コマンドの最小受信間隔)≒(コマンドの最大受信間隔)であるとき、これらを(コマンドの受信間隔)とすると、
(コマンドの受信間隔)/2−(コマンド受信時間)<GAP2<(コマンドの受信間隔)−(コマンド受信時間)
となる。
<When command reception interval is constant>
When the command reception interval is almost constant, that is, (minimum command reception interval) ≒ (maximum command reception interval), if these are (command reception interval),
(Command reception interval) / 2- (Command reception time) <GAP2 <(Command reception interval)-(Command reception time)
It becomes.

この式からわかるように、コマンド受信間隔が一定であれば、(条件3)と(条件4)を同時に満たすGAP2が常に存在する(ただし、(コマンドの受信間隔)≠0)。   As can be seen from this equation, if the command reception interval is constant, there is always GAP2 that satisfies both (Condition 3) and (Condition 4) at the same time (where (Reception interval of command) ≠ 0).

図15の例に基づきGAP2(閾値)を計算してみる。以下の例では、「受信無継続回数」で判断するものとし、以下の数値は、コマンド受信チェックタイミングの間隔を単位とする計数値とする。図15の例では、(コマンドの受信間隔)=6、(コマンド受信時間)=2である(コマンド受信チェックタイミングの間隔を1とした。例えば、1単位=t11−t10)。   Let us calculate GAP2 (threshold) based on the example of FIG. In the following example, the determination is made based on “the number of non-receptions”, and the following numerical value is a count value in units of command reception check timing intervals. In the example of FIG. 15, (command reception interval) = 6 and (command reception time) = 2 (the command reception check timing interval is set to 1, for example, 1 unit = t11−t10).

(コマンドの受信間隔)/2−(コマンド受信時間)=6÷2−2=1
(コマンドの受信間隔)−(コマンド受信時間)=6−2=4
1<GAP2<4となり、したがって、GAP2=2又は3となる。
(Command reception interval) / 2− (Command reception time) = 6 ÷ 2-2 = 1
(Command reception interval)-(Command reception time) = 6-2 = 4
1 <GAP2 <4, so GAP2 = 2 or 3.

図15の例は、GAP2=2の例を示すが、図15によれば、GAP2=3でも(条件3)を満たすことが理解できる。また、図16によれば、GAP2=3でも(条件4)を満たすことが理解できる。   The example of FIG. 15 shows an example of GAP2 = 2, but according to FIG. 15, it can be understood that (condition 3) is satisfied even when GAP2 = 3. Moreover, according to FIG. 16, it can be understood that (condition 4) is satisfied even when GAP2 = 3.

<電源断からの復帰の際の処理>
コマンド送信は、図10に示すように一定間隔Tで実行されている。この間隔Tは、サブ基板20の受信の際にコマンドとコマンドの間に隙間が生じるように予め定められている。この隙間によりコマンドの受信が完了したこと、具体的には図14のST20でYESと判定できるようになる。この隙間が無いと、サブ基板20において、複数のコマンドがひとつのコマンドとして誤認され、電文過多(バイト数が予め定められた数よりも多い)となり、エラーとなる。
<Processing at the time of recovery from power interruption>
The command transmission is executed at regular intervals T as shown in FIG. This interval T is determined in advance so that a gap is generated between commands when the sub-board 20 is received. With this gap, it is possible to determine that the reception of the command has been completed, specifically, YES in ST20 of FIG. Without this gap, a plurality of commands are mistaken as one command on the sub-board 20, resulting in an excessive number of messages (the number of bytes is larger than a predetermined number), resulting in an error.

通常の場合はコマンド送信が一定間隔Tで行われるが、特定の場合、例えば、遊技機の電源をオフにしてから再度電源をオンにするという、電源断からの復帰の際にはこの間隔が崩れることがある。   In normal cases, command transmission is performed at a constant interval T. However, in certain cases, for example, when the game machine is turned off and then turned on again, this interval may be May collapse.

このことについて図18を用いて説明する。電源断からの復帰すると所定の復帰処理が実行され、タイマによる割込が発生するが、電源断からの復帰処理を行っている間は割込が禁止される(tAからtB)。この間のts1とts2は、割込のタイミングであっても割込処理は実行されない。割込禁止が解除された時点tBで割込が再開され、割込処理がt2’で実行される。ts2’はts2と同じでなく、これらの間に時間差αが存在する。図18の例ではts2’はts2よりも遅く、この結果次の割込処理による割込開始タイミングts3との間隔が、通常の間隔よりもα分短くなっている(短い間隔=T−α)。   This will be described with reference to FIG. When the power supply is restored, a predetermined restoration process is executed and an interrupt is generated by the timer, but the interruption is prohibited during the restoration process from the power interruption (from tA to tB). Ts1 and ts2 during this period are not executed even if they are interrupt timings. The interrupt is resumed at the time tB when the interrupt prohibition is released, and the interrupt process is executed at t2 '. ts2 'is not the same as ts2, and there is a time difference α between them. In the example of FIG. 18, ts2 ′ is later than ts2, and as a result, the interval from the interrupt start timing ts3 by the next interrupt processing is shorter by α than the normal interval (short interval = T−α). .

図18に示すように、電源断からの復帰の際に割込禁止期間が設定されるため、その解除の直後のコマンド送信間隔が崩れている。割込再開のタイミングは不定であり、ts1などの割込処理の開始タイミングとは同期していない。このため、図18のように割込処理の間隔が通常よりも短くなることがある。これにより隙間が無くなり、サブ基板20において電文過多エラーが発生するおそれがある。   As shown in FIG. 18, since an interrupt prohibition period is set when returning from a power failure, the command transmission interval immediately after the cancellation is broken. The interrupt restart timing is indefinite, and is not synchronized with the interrupt processing start timing such as ts1. For this reason, as shown in FIG. 18, the interval of interrupt processing may be shorter than usual. As a result, there is no gap, and there is a possibility that an excessive telegram error may occur in the sub-board 20.

上記不具合を回避するためには、図19に示すように、電断復帰後の最初の割込開始タイミングts2’ではコマンド送信処理を実行せず、二回目以降の割込開始タイミングts3でコマンド送信処理を実行する。コマンド送信間隔T(3ms)が守られるため、サブ基板20において電文過多エラーが発生することがなくなる。   In order to avoid the above problem, as shown in FIG. 19, the command transmission process is not executed at the first interrupt start timing ts2 ′ after the return from power interruption, and the command is transmitted at the second and subsequent interrupt start timings ts3. Execute the process. Since the command transmission interval T (3 ms) is maintained, an excessive message error does not occur in the sub-board 20.

なお、図19の「電断復帰後の最初の割込開始タイミングではコマンド送信処理を実行しない」処理は、ダミーコマンドを送信しない場合にも適用することができる。この場合も同様に電文過多エラーの発生を防止できる。   Note that the process of “not executing the command transmission process at the first interrupt start timing after the return from power interruption” in FIG. 19 can be applied even when a dummy command is not transmitted. In this case as well, the occurrence of an excessive message error can be prevented.

<設定変更時のダミーコマンド生成の一時中断>
遊技機の電源がオンになるとメイン処理が起動する。初期設定の後に最初に行われるのが設定変更処理である。前述のように、抽選テーブル選択処理では、図示しない記憶手段(ROM)に格納されている複数の抽選テーブルのうち、いずれの抽選テーブルを用いて内部抽選を行うかを決定するが、設定変更処理はどの抽選テーブルを用いるかを設定するためのものである。遊技機の電源のオンは、ホール店員が遊技機の前扉を開けて、内部の電源スイッチをオンにすることで行うが、その際に設定変更スイッチを操作することで設定変更処理が実行される。設定変更スイッチが操作されなければ設定変更処理はスキップされる。設定変更処理は公知であるので、その詳しい説明は省略する。
<Temporary suspension of dummy command generation when setting is changed>
When the gaming machine is turned on, the main process starts. The setting change process is performed first after the initial setting. As described above, in the lottery table selection process, it is determined which lottery table to use for the internal lottery among a plurality of lottery tables stored in a storage means (ROM) (not shown). Is for setting which lottery table to use. The power of the gaming machine is turned on by the hall clerk opening the front door of the gaming machine and turning on the internal power switch. At that time, the setting change process is executed by operating the setting change switch. The If the setting change switch is not operated, the setting change process is skipped. Since the setting change process is publicly known, detailed description thereof is omitted.

抽選テーブルを選択するための設定変更時においては、コマンドバッファ30の内容BF1〜BF128が全て0で埋められる。このため、設定変更時においてその先頭の3バイトBF1〜BF3に基づき生成されるダミーコマンドは、全てのビットが0である特殊なものとなり、好ましくない。   When the setting for selecting the lottery table is changed, the contents BF1 to BF128 of the command buffer 30 are all filled with zeros. For this reason, the dummy command generated based on the first three bytes BF1 to BF3 when the setting is changed becomes a special one in which all bits are 0, which is not preferable.

そこで、ダミーコマンドの生成及び送信は、設定変更が終了した後であって、正規コマンドが生成されてコマンドバッファ30の少なくともBF1〜BF3が0以外になってから行うようにする。具体的には、正規コマンドが所定数(例えば1つ以上)生成されたことを確認したときに初めてダミーコマンドを生成する。正規コマンドが生成されたかどうかはコマンドバッファ30のインデックスに基づき判定することができる。あるいは、設定変更終了時点にタイマで計時を開始し、所定時間経過したときにダミーコマンドを生成してもよい。   Therefore, the generation and transmission of the dummy command is performed after the setting change is completed and after the regular command is generated and at least BF1 to BF3 of the command buffer 30 are other than zero. Specifically, the dummy command is generated only when it is confirmed that a predetermined number (for example, one or more) of regular commands have been generated. Whether or not a regular command has been generated can be determined based on the index of the command buffer 30. Alternatively, time measurement may be started with a timer at the end of setting change, and a dummy command may be generated when a predetermined time has elapsed.

本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.

10 メイン基板
20 サブ基板
30 コマンドバッファ
31 コマンド生成部
32 コマンド書込部
34 コマンド送信部
40 コマンド受信部
41 受信バッファ
42 コマンド解析部
DESCRIPTION OF SYMBOLS 10 Main board | substrate 20 Sub board | substrate 30 Command buffer 31 Command production | generation part 32 Command writing part 34 Command transmission part 40 Command reception part 41 Reception buffer 42 Command analysis part

Claims (8)

遊技に関する処理を行うメイン基板と、前記メイン基板からのコマンドに基づき演出に関する処理を行うサブ基板とを備える遊技機において、
前記メイン基板から前記サブ基板へ、前記サブ基板に予め定められた処理を行わせるためのコマンドが送信され、
前記コマンドの長さは予め定められ(以下、前記サブ基板に予め定められた処理を行わせるための前記コマンドの長さを「基準長」と記す)、
前記メイン基板は、
前記コマンドを前記サブ基板へ予め定められた間隔で送信するコマンド送信部を備え、
前記サブ基板は、
前記メイン基板から受けた前記コマンドを受信するコマンド受信部と、
前記コマンド受信部で受けた前記コマンドを保存する受信バッファと、
前記受信バッファから前記コマンドを読み出して解析し、前記サブ基板に予め定められた処理を行わせるコマンド解析部とを備え、
前記コマンド受信部は、前記コマンドの受信状況を調べ、前記コマンドを受信しているときは前記コマンドを前記受信バッファに記憶し、前記コマンドを受信していないときは受信無の信号を出力し、
前記コマンド解析部は、
前記コマンド受信部から前記受信無の信号を受けたとき、前記受信無の信号が連続する期間(以下「継続時間」)を予め定められた閾値と比較し、
前記継続時間が前記閾値と同じか又はそれよりも長くなったとき、前記コマンドの長さを調べ、
前記コマンドの長さが、予め定められた基準長に一致するときは、前記コマンドを解析して前記サブ基板に予め定められた処理を行わせ、
前記コマンドの長さが、予め定められた基準長と異なるときは、前記コマンドを破棄する、ことを特徴とする遊技機。
In a gaming machine comprising a main board that performs processing related to games, and a sub-board that performs processing related to effects based on commands from the main board,
A command for causing the sub-board to perform a predetermined process is transmitted from the main board to the sub-board.
The length of the command is predetermined (hereinafter, the length of the command for causing the sub-substrate to perform a predetermined process is referred to as “reference length”),
The main board is
A command transmission unit that transmits the command to the sub-board at a predetermined interval;
The sub-board is
A command receiver for receiving the command received from the main board;
A reception buffer for storing the command received by the command receiver;
A command analysis unit that reads and analyzes the command from the reception buffer and causes the sub-board to perform a predetermined process;
The command reception unit checks the reception status of the command, stores the command in the reception buffer when the command is received, and outputs a signal indicating no reception when the command is not received,
The command analysis unit
When the non-reception signal is received from the command receiving unit, the period during which the non-reception signal continues (hereinafter referred to as “duration”) is compared with a predetermined threshold value,
When the duration is equal to or longer than the threshold, examine the length of the command;
When the length of the command matches a predetermined reference length, the command is analyzed to cause the sub-board to perform a predetermined process,
A gaming machine, wherein when the length of the command is different from a predetermined reference length, the command is discarded.
前記コマンドの受信間隔の最小値を最小受信間隔、最大値を最大受信間隔とし、
前記コマンドの受信に要する時間をコマンド受信時間とし、
(閾値)<(最小受信間隔)−(コマンド受信時間)、
かつ、
(閾値)>(最大受信間隔)/2−(コマンド受信時間)
となるように前記閾値が定められていることを特徴とする請求項1記載の遊技機。
The minimum value of the command reception interval is the minimum reception interval, and the maximum value is the maximum reception interval.
The time required to receive the command is the command reception time,
(Threshold) <(minimum reception interval) − (command reception time),
And,
(Threshold)> (Maximum reception interval) / 2− (Command reception time)
The gaming machine according to claim 1, wherein the threshold value is set so that
前記コマンド送信部は、予め定められた間隔で発生するタイミングにおいて前記コマンドの送信処理を実行するものであり、
前記コマンドの受信間隔が略一定であるとし、
前記コマンドの受信に要する時間をコマンド受信時間とし、
(閾値)<(受信間隔)−(コマンド受信時間)、
かつ、
(閾値)>(受信間隔)/2−(コマンド受信時間)
となるように前記閾値が定められていることを特徴とする請求項1記載の遊技機。
The command transmission unit executes the command transmission process at a timing that occurs at a predetermined interval.
Suppose that the command reception interval is substantially constant,
The time required to receive the command is the command reception time,
(Threshold value) <(reception interval) − (command reception time),
And,
(Threshold)> (Reception interval) / 2- (Command reception time)
The gaming machine according to claim 1, wherein the threshold value is set so that
遊技に関する処理を行うメイン基板と、前記メイン基板からのコマンドに基づき演出に関する処理を行うサブ基板とを備える遊技機において、
前記メイン基板から前記サブ基板へ、前記サブ基板に予め定められた処理を行わせるためのコマンドが送信され、
前記コマンドの長さは予め定められ(以下、前記サブ基板に予め定められた処理を行わせるための前記コマンドの長さを「基準長」と記す)、
前記メイン基板は、
前記コマンドを前記サブ基板へ予め定められた間隔で送信するコマンド送信部を備え、
前記サブ基板は、
前記メイン基板から受けた前記コマンドを受信するコマンド受信部と、
前記コマンド受信部で受けた前記コマンドを保存する受信バッファと、
前記受信バッファから前記コマンドを読み出して解析し、前記サブ基板に予め定められた処理を行わせるコマンド解析部とを備え、
前記コマンド受信部は、前記コマンドの受信状況を調べ、前記コマンドを受信しているときは前記コマンドを前記受信バッファに記憶し、前記コマンドを受信していないときは受信無の信号を出力し、
前記コマンド解析部は、
予め定められた間隔のコマンド受信チェックタイミングで前記コマンド受信部から前記受信無の信号を受けたかどうか判定し、連続して前記受信無であると判定した回数を計数し、この回数(以下「受信無継続回数」)を予め定められた回数閾値と比較し、
前記受信無継続回数が前記回数閾値と同じか又はそれよりも多くなったとき、前記コマンドの長さを調べ、
前記コマンドの長さが、予め定められた基準長に一致するときは、前記コマンドを解析して前記サブ基板に予め定められた処理を行わせ、
前記コマンドの長さが、予め定められた基準長と異なるときは、前記コマンドを破棄する、ことを特徴とする遊技機。
In a gaming machine comprising a main board that performs processing related to games, and a sub-board that performs processing related to effects based on commands from the main board,
A command for causing the sub-board to perform a predetermined process is transmitted from the main board to the sub-board.
The length of the command is predetermined (hereinafter, the length of the command for causing the sub-substrate to perform a predetermined process is referred to as “reference length”),
The main board is
A command transmission unit that transmits the command to the sub-board at a predetermined interval;
The sub-board is
A command receiver for receiving the command received from the main board;
A reception buffer for storing the command received by the command receiver;
A command analysis unit that reads and analyzes the command from the reception buffer and causes the sub-board to perform a predetermined process;
The command reception unit checks the reception status of the command, stores the command in the reception buffer when the command is received, and outputs a signal indicating no reception when the command is not received,
The command analysis unit
It is determined whether or not the non-reception signal has been received from the command reception unit at a command reception check timing at a predetermined interval, and the number of times that the non-reception has been determined is counted continuously. Compare no-recess times ”) with a predetermined number threshold,
When the non-reception continuation count is equal to or greater than the count threshold, check the length of the command,
When the length of the command matches a predetermined reference length, the command is analyzed to cause the sub-board to perform a predetermined process,
A gaming machine, wherein when the length of the command is different from a predetermined reference length, the command is discarded.
前記コマンドの受信間隔の最小値を最小受信間隔、最大値を最大受信間隔とし、
前記コマンドの受信に要する時間をコマンド受信時間とし、
(閾値)<(最小受信間隔)−(コマンド受信時間)、
かつ、
(閾値)>(最大受信間隔)/2−(コマンド受信時間)
となるように閾値が定められ、前記閾値を前記コマンド受信チェックタイミングの間隔で除したときの商を前記回数閾値としたことを特徴とする請求項4記載の遊技機。
The minimum value of the command reception interval is the minimum reception interval, and the maximum value is the maximum reception interval.
The time required to receive the command is the command reception time,
(Threshold) <(minimum reception interval) − (command reception time),
And,
(Threshold)> (Maximum reception interval) / 2− (Command reception time)
The gaming machine according to claim 4, wherein a threshold value is defined so that the threshold value is divided by the command reception check timing interval, and the quotient is set as the number-of-times threshold value.
前記コマンド送信部は、予め定められた間隔で発生するタイミングにおいて前記コマンドの送信処理を実行するものであり、
前記コマンドの受信間隔が略一定であるとし、
前記コマンドの受信に要する時間をコマンド受信時間とし、
(閾値)<(受信間隔)−(コマンド受信時間)、
かつ、
(閾値)>(受信間隔)/2−(コマンド受信時間)
となるように閾値が定められ、前記閾値を前記コマンド受信チェックタイミングの間隔で除したときの商を前記回数閾値としたことを特徴とする請求項4記載の遊技機。
The command transmission unit executes the command transmission process at a timing that occurs at a predetermined interval.
Suppose that the command reception interval is substantially constant,
The time required to receive the command is the command reception time,
(Threshold value) <(reception interval) − (command reception time),
And,
(Threshold)> (Reception interval) / 2- (Command reception time)
The gaming machine according to claim 4, wherein a threshold value is defined so that the threshold value is divided by the command reception check timing interval, and the quotient is set as the number-of-times threshold value.
予め定められた処理を行わせるための前記コマンド(この項において「正規コマンド」)とともに、前記メイン基板から前記サブ基板へ、前記サブ基板に何らの処理も行わせることのないダミーコマンドが送信され、
前記ダミーコマンドの長さは、前記正規コマンドの長さよりも短く、
前記メイン基板の前記コマンド送信部は、
送信すべき前記正規コマンドが存在するときは、前記正規コマンドを前記サブ基板へ送信し、
送信すべき前記正規コマンドが存在しないときは、前記ダミーコマンドを前記サブ基板へ送信することを特徴とする請求項1乃至請求項6いずれかに記載の遊技機。
A dummy command that does not cause the sub-board to perform any processing is transmitted from the main board to the sub-board together with the command for performing a predetermined process (“regular command” in this section). ,
The length of the dummy command is shorter than the length of the regular command,
The command transmission unit of the main board is
When the regular command to be transmitted exists, the regular command is transmitted to the sub-board,
7. The gaming machine according to claim 1, wherein when there is no regular command to be transmitted, the dummy command is transmitted to the sub-board.
前記コマンド送信部は、予め定められた間隔で発生するタイミングにおいて前記コマンドの送信処理を実行するものであり、
前記メイン基板は、電源断からの復帰の際に前記コマンドの送信を禁止する禁止区間を設けるものであり、
前記コマンド送信部は、前記禁止区間の終了後の最初の前記タイミングでは前記コマンドの送信処理を実行せず、二回目以降の前記タイミングにおいて前記コマンドの送信処理を実行する、ことを特徴とする請求項1乃至請求項7いずれかに記載の遊技機。
The command transmission unit executes the command transmission process at a timing that occurs at a predetermined interval.
The main board is provided with a prohibition section for prohibiting the transmission of the command when returning from a power-off.
The command transmission unit does not execute the command transmission process at the first timing after the end of the prohibited section, and executes the command transmission process at the second and subsequent timings. The gaming machine according to any one of claims 1 to 7.
JP2014217875A 2014-10-25 2014-10-25 Game machine Active JP6371994B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014217875A JP6371994B2 (en) 2014-10-25 2014-10-25 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014217875A JP6371994B2 (en) 2014-10-25 2014-10-25 Game machine

Publications (2)

Publication Number Publication Date
JP2016083179A true JP2016083179A (en) 2016-05-19
JP6371994B2 JP6371994B2 (en) 2018-08-15

Family

ID=55971510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014217875A Active JP6371994B2 (en) 2014-10-25 2014-10-25 Game machine

Country Status (1)

Country Link
JP (1) JP6371994B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018134222A (en) * 2017-02-21 2018-08-30 株式会社オリンピア Game machine
JP2021129713A (en) * 2020-02-19 2021-09-09 株式会社サンセイアールアンドディ Game machine
JP2022031536A (en) * 2018-10-24 2022-02-18 株式会社藤商事 Game machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005261786A (en) * 2004-03-19 2005-09-29 Sankyo Kk Slot machine
JP2010099526A (en) * 2010-02-08 2010-05-06 Sanyo Product Co Ltd Game machine
JP2014193250A (en) * 2013-03-29 2014-10-09 Heiwa Corp Game machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005261786A (en) * 2004-03-19 2005-09-29 Sankyo Kk Slot machine
JP2010099526A (en) * 2010-02-08 2010-05-06 Sanyo Product Co Ltd Game machine
JP2014193250A (en) * 2013-03-29 2014-10-09 Heiwa Corp Game machine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018134222A (en) * 2017-02-21 2018-08-30 株式会社オリンピア Game machine
JP2022031536A (en) * 2018-10-24 2022-02-18 株式会社藤商事 Game machine
JP7305738B2 (en) 2018-10-24 2023-07-10 株式会社藤商事 game machine
JP2021129713A (en) * 2020-02-19 2021-09-09 株式会社サンセイアールアンドディ Game machine
JP7349728B2 (en) 2020-02-19 2023-09-25 株式会社サンセイアールアンドディ gaming machine

Also Published As

Publication number Publication date
JP6371994B2 (en) 2018-08-15

Similar Documents

Publication Publication Date Title
JP5684472B2 (en) Slot machine
JP2008000534A (en) Game machine
JP2016146944A (en) Game machine
JP2005013282A (en) Game management device
JP2008142148A (en) Game machine, program for game machine and recording medium
JP5394798B2 (en) Slot machine
JP2012239598A (en) Slot machine
JP2014054397A (en) Game machine
JP5685489B2 (en) Game machine
JP6371994B2 (en) Game machine
JP4843215B2 (en) Game stand and management device
JP5592645B2 (en) Game machine
JP2011115291A (en) Slot machine
JP2008005962A (en) Game machine
JP2014064748A (en) Slot machine
JP6371993B2 (en) Game machine
JP6085133B2 (en) Game machine
JP5599121B1 (en) Game machine
JP5938765B2 (en) Game machine
JP6017976B2 (en) Game machine management device
JP6232635B2 (en) Game machine
JP2017051343A (en) Slot machine
JP5813075B2 (en) Slot machine
JP6232565B2 (en) Game machine
JP5501301B2 (en) Revolving machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170712

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180531

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180605

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180620

R150 Certificate of patent or registration of utility model

Ref document number: 6371994

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250