JP6156471B2 - Slot machine - Google Patents
Slot machine Download PDFInfo
- Publication number
- JP6156471B2 JP6156471B2 JP2015229803A JP2015229803A JP6156471B2 JP 6156471 B2 JP6156471 B2 JP 6156471B2 JP 2015229803 A JP2015229803 A JP 2015229803A JP 2015229803 A JP2015229803 A JP 2015229803A JP 6156471 B2 JP6156471 B2 JP 6156471B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- control command
- sub
- command
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Slot Machines And Peripheral Devices (AREA)
Description
本発明は、複数ビットのデータを並列に出力可能な出力ポートを使用して周辺機器の制御信号を出力するスロットマシンに関するものである。 The present invention relates to a slot machine that outputs a control signal of a peripheral device using an output port capable of outputting a plurality of bits of data in parallel.
従来より、メイン制御手段からサブ制御手段に対してパラレル通信でコマンドを送信する遊技機が知られている(たとえば、特許文献1参照)。
特許文献1では、メイン制御手段からサブ制御手段に対して、8ビットのコマンドデータを8ビットのパラレル通信線で送信するとともに、1ビットのストローブ信号を1ビットの通信線で送信している。
なお、特許文献1の図36は、12ピンのコネクタにおけるピン番号・ピン配列と信号名との対応関係を示したものであり、コマンドデータやストローブ信号の出力ポートを示すものではない。
2. Description of the Related Art Conventionally, a gaming machine that transmits a command from a main control unit to a sub control unit by parallel communication is known (for example, see Patent Document 1).
In
Note that FIG. 36 of
従来の遊技機では、8ビットの出力ポートを使用してストローブ信号を出力すると、ストローブ信号の出力に使用するビットは1ビットであるため、ストローブ信号の出力に使用するビット以外のビットが余剰となっていた。
すなわち、複数ビットのデータを並列に出力可能な出力ポートを使用して周辺機器の制御信号を出力すると、制御信号の出力に使用するビット以外のビットが余剰となる。
本発明が解決しようとする課題は、複数ビットのデータを並列に出力可能な出力ポートを使用して周辺機器の制御信号を出力する場合において、出力ポートを有効に活用することである。
In the conventional gaming machine, when the strobe signal is output using the 8-bit output port, the bit used for the output of the strobe signal is 1 bit. Therefore, the bits other than the bits used for the output of the strobe signal are the surplus. It was.
That is, when a peripheral device control signal is output using an output port capable of outputting a plurality of bits of data in parallel, bits other than the bits used to output the control signal become redundant.
The problem to be solved by the present invention is to effectively utilize an output port when outputting a control signal of a peripheral device using an output port capable of outputting a plurality of bits of data in parallel.
本発明は、以下の解決手段によって上述の課題を解決する。なお、かっこ書きで、対応する実施形態の構成を示す。
請求項1の発明は、
複数のリール(31)と、
遊技の進行を制御するメイン制御手段(メイン制御基板60)と、
演出を制御するサブ制御手段(サブ制御基板80)と、
前記メイン制御手段によって制御可能な所定周辺機器(1枚〜3枚投入表示LED73e〜g)と、
前記複数のリールを回転させる複数のモータ(32)と
を備え、
前記メイン制御手段は、
遊技の進行のためのメイン処理を実行可能であり、
メイン処理中に割込み処理を実行可能であり、
メイン処理により、前記サブ制御手段に送信するコマンド(第1〜第2制御コマンド(サブ制御データ信号1〜16))を生成可能であり、かつ生成したコマンドをバッファ(制御コマンドバッファ)に記憶可能であり、
割込み処理により、前記バッファに記憶されているコマンドを前記サブ制御手段に送信可能であり、かつ前記複数のモータの駆動を制御可能であり、
前記メイン制御手段は、
複数ビット(8ビット)のデータを並列に出力可能な第1出力ポート(出力ポート7〜8)及び第2出力ポート(出力ポート2)を備え、
第1出力ポートからは、前記サブ制御手段に送信するコマンドを出力可能であり、
第2出力ポートの所定ビット(D0〜D2ビット(1Q〜3Q出力端子))からは、前記所定周辺機器を制御する所定制御信号(1枚〜3枚投入表示LED信号)を出力可能であり、
第2出力ポートにおける前記所定ビット以外の特定ビット(D7ビット(8Q出力端子))からは、第1出力ポートから出力するコマンドの取得タイミングを示すストローブ信号(サブ制御データストローブ信号)を出力可能であり、
前記所定ビットに対応するデータを前記所定制御信号の出力態様(1枚〜3枚投入表示LED信号それぞれのオン/オフのパターン)に対応するデータ(「0」又は「1」)とし、かつ前記特定ビットに対応するデータをストローブ信号のオン又はオフ(サブ制御データストローブ信号のオン/オフ)に対応するデータ(「0」又は「1」)とした複数ビットのデータを生成して、これを第2出力ポートから出力し、
1回の割込み処理の時間内において、前記複数のモータの駆動を制御し、その後に、コマンドを送信するためのコマンド送信処理を実行し、
コマンド送信処理において、前記バッファに記憶されているコマンドを前記サブ制御手段に送信するときは、第1出力ポートにおけるコマンドの出力をオンにし、コマンドの出力オンから所定時間(1.75μs)経過後に第2出力ポートの前記特定ビットにおけるストローブ信号の出力をオンにする
ことを特徴とする。
The present invention solves the above problems by the following means. The configuration of the corresponding embodiment is shown in parentheses.
The invention of
A plurality of reels (31);
Main control means (main control board 60) for controlling the progress of the game;
Sub-control means (sub-control board 80) for controlling the production;
Predetermined peripheral devices (1 to 3 on / off display LEDs 73e to 73g) that can be controlled by the main control means;
A plurality of motors (32) for rotating the plurality of reels;
The main control means includes
The main process for the progress of the game can be executed,
Interrupt processing can be executed during main processing.
By main processing, commands (first to second control commands (sub
By interrupt processing, the command stored in the buffer can be transmitted to the sub-control means, and the driving of the plurality of motors can be controlled,
The main control means includes
A first output port (
From the first output port, it is possible to output a command to be transmitted to the sub-control means,
From a predetermined bit (D0 to D2 bit (1Q to 3Q output terminal)) of the second output port, it is possible to output a predetermined control signal (1 to 3 sheets input display LED signal) for controlling the predetermined peripheral device.
From a specific bit (D7 bit (8Q output terminal)) other than the predetermined bit at the second output port, a strobe signal (sub control data strobe signal) indicating the acquisition timing of the command output from the first output port can be output. Yes,
The data corresponding to the predetermined bit is the data (“0” or “1”) corresponding to the output mode of the predetermined control signal (the ON / OFF pattern of each of the 1 to 3 on / off display LED signals), and Data corresponding to a specific bit is generated as data ("0" or "1") corresponding to ON / OFF of the strobe signal (ON / OFF of the sub-control data strobe signal), and this is generated. Output from the second output port,
Within the time of one interrupt process, the drive of the plurality of motors is controlled, and then a command transmission process for transmitting a command is executed,
In the command transmission processing, when transmitting the commands stored in said buffer to said sub-control means, the output of the command at the first output port is turned on, the output on the command after a predetermined time (1.75μs) elapsed The output of the strobe signal at the specific bit of the second output port is turned on.
本発明によれば、出力ポートから並列に出力する複数ビットのデータによって、所定周辺機器及びサブ制御手段を制御することができ、出力ポートにおいて余剰となるビットを減らすことができるので、出力ポートを有効に活用することができる。 According to the present invention, the predetermined peripheral device and the sub-control means can be controlled by the data of a plurality of bits output in parallel from the output port, and excess bits in the output port can be reduced. It can be used effectively.
本明細書において、用語の意味は、以下の通りである。
「RT」とは、リプレイを含む条件装置の種類、数及びその当選確率が特有の遊技状態であることを意味する。
「メイン遊技状態」とは、RTとは異なる概念であって、いわゆる通常中/AT前兆中/AT準備中/AT中や、非内部中/内部中、通常中/特別遊技中のいずれであるかを示す概念である。
「遊技媒体」とは、遊技の用に供する媒体をいい、本実施形態では「メダル」である。ただしこれに限らず、遊技球を使用することも可能である。また、遊技媒体には、実際のメダルの他に、遊技機内部に電気的に貯留(クレジット、記憶)された遊技媒体(遊技媒体に係るデータ)も含まれる。
In the present specification, the meanings of terms are as follows.
“RT” means that the type and number of conditional devices including replay and the winning probability are in a unique gaming state.
“Main game state” is a concept different from RT, and is any of so-called normal / AT precursor / AT preparation / AT, non-internal / internal, normal / special game It is the concept which shows.
The “game medium” refers to a medium used for a game, and is a “medal” in the present embodiment. However, the present invention is not limited to this, and a game ball can be used. In addition to the actual medals, the game media include game media (data related to the game media) that are electrically stored (credit, stored) inside the gaming machine.
「ベット」とは、遊技を行うためにメダル(遊技媒体)を賭けることをいう。本実施形態において、ベット可能な最大(限界)枚数は、いずれのRTであっても「3」枚に設定されている。ただし、これに限らず、通常遊技(非特別遊技)では「3」枚に設定し、特別遊技(1BB遊技等)は「2」枚に設定すること等が挙げられる。
「貯留」とは、上記「ベット」とは異なり、スロットマシン10内部にメダルをクレジットすることをいう。「貯留」は、ベットを含む意味で用いられる場合もあるが、本明細書では、「貯留」というときは、「ベット」を含まない意味で使用する。本実施形態において、貯留可能な最大(限界)枚数は、遊技状態等にかかわらず、「50」枚に設定されている。
“Bet” refers to betting a medal (game medium) to play a game. In the present embodiment, the maximum (limit) number that can be bet is set to “3” regardless of the RT. However, the present invention is not limited to this, and “3” is set for normal games (non-special games), and “2” is set for special games (1BB games, etc.).
“Reservation” refers to crediting a medal into the slot machine 10, unlike the “bet”. “Storage” may be used to include a bet, but in this specification, “storage” is used to mean that “bet” is not included. In the present embodiment, the maximum (limit) number that can be stored is set to “50” regardless of the gaming state or the like.
「手入れ」とは、遊技者が、後述するメダル投入口43からメダルを直接投入することをいう。
「手入れベット」とは、遊技者が、メダル投入口43からメダルを手入れすることにより、メダルをベットすることをいう。
「手入れ貯留」とは、遊技者が、メダル投入口43からメダルを手入れすることにより、メダルを貯留する(クレジットを加算する)ことをいう。
「ベットメダル」とは、ベットされているメダルをいう。
「貯留メダル」とは、クレジットとして貯留されているメダルをいう。
“Care” means that a player directly inserts a medal from a medal insertion slot 43 described later.
The “care bet” means that the player bets a medal by cleaning the medal from the medal insertion slot 43.
“Maintenance storage” means that a player stores medals by adding medals from the medal slot 43 (adding credits).
“Bet medal” means a bet medal.
“Reserved medals” refers to medals stored as credits.
「貯留ベット」とは、遊技者が後述するベットスイッチ40を操作することにより、当該遊技でベット可能な範囲内において、クレジットとして貯留されているメダルの一部又は全部を、遊技を行うためにベットすることをいう。
「自動ベット」とは、リプレイが入賞したときに、スロットマシン10の内部制御処理により、前回遊技でベットされていた数のメダルを自動でベットすることをいう。
「投入」とは、上記の手入れベット、手入れ貯留、貯留ベット、及び自動ベットを含み、メダルをベット又は貯留することをいう。
「精算」とは、ベットメダル及び/又は貯留メダルを遊技者に対して払い出すことをいう。
The “reserved bet” is a game in which a player operates a bet switch 40, which will be described later, to play a part or all of the medals stored as credits within a possible bet range of the game. To bet.
“Automatic bet” means that when a replay wins, the number of medals bet in the previous game is automatically bet by the internal control processing of the slot machine 10.
“Inserting” means betting or storing medals, including the above-described care bets, care storage, storage bets, and automatic bets.
“Checkout” refers to paying out a bet medal and / or a stored medal to a player.
「払出し」とは、役の入賞に基づきメダルを遊技者に払い出すこと、又は上記精算によりメダルを払い出すことをいう。役の入賞に基づきメダルを遊技者に払い出すときは、クレジットとして貯留すること、及び払出し口(図示せず)から実際のメダルを払い出すことの双方を含む。本実施形態における払出しは、「50」枚を限界枚数としてクレジットに貯留し、貯留数が「50」を超えた分のメダルは、遊技者に対して実際に払い出すように制御する。 “Payout” means that a medal is paid out to a player based on a winning combination, or a medal is paid out by the above-described payment. When paying out a medal to a player based on a winning combination of a combination, both storing it as a credit and paying out an actual medal from a payout slot (not shown) are included. The payout in the present embodiment is controlled so that “50” is the limit number and stored in the credit, and medals for which the stored number exceeds “50” are actually paid out to the player.
本明細書において、末尾(特に、8ビット)に「B」を付した数値は、2進数を意味する。同様に、末尾に「H」を付した数値は、16進数を意味する。具体的には、たとえば10進数で「16」を示す数値は、2進数では「00010000B」又は「00010000(B)」と表記し、16進数では「10H」又は「10(H)」と表記する。
ただし、8ビットの数値以外の2進数表記については、「B」の末尾は省略する。たとえば、「レジスタ値が「0」」のような表記における「0」は、実際には「00000000B」の2進数を意味している。したがって、末尾に「B」を付していない数値は常に2進数でないことを意味するものではない。同様に、末尾に「H」を付していない数値は常に16進数でないことを意味するものではない。
In the present specification, a numerical value with “B” at the end (in particular, 8 bits) means a binary number. Similarly, a numerical value with “H” at the end means a hexadecimal number. Specifically, for example, a numerical value indicating “16” in a decimal number is expressed as “00010000B” or “00010000 (B)” in a binary number, and “10H” or “10 (H)” in a hexadecimal number. .
However, the end of “B” is omitted for binary numbers other than 8-bit numbers. For example, “0” in a notation such as “register value is“ 0 ”” actually means a binary number of “00000000B”. Therefore, a numerical value without “B” at the end does not always mean that it is not a binary number. Similarly, a numerical value without “H” at the end does not always mean that it is not a hexadecimal number.
「パラレル通信」とは、複数本の通信線を用いて、複数ビットの信号を並列に送信する通信方式を意味する。
「ストローブ信号」とは、パラレル通信で送信される信号の取得(読込み)タイミングを示す信号を意味する。
「シリアル通信」とは、1本の通信線を用いて、複数ビットの信号を1ビットずつ逐次的に送信する通信方式を意味する。
“Parallel communication” means a communication method in which a plurality of bits are transmitted in parallel using a plurality of communication lines.
The “strobe signal” means a signal indicating acquisition (reading) timing of a signal transmitted by parallel communication.
“Serial communication” means a communication method in which a single communication line is used to sequentially transmit a plurality of bits of signals one bit at a time.
「出力ポート」とは、CPUが周辺機器に対して信号を送信するときに用いる回路であって、ビット値「0」又は「1」を出力することができる回路を意味する。
「入力ポート」とは、CPUが周辺機器から信号を受信するときに用いる回路であって、ビット値「0」又は「1」を取得する(読み込む)ことができる回路を意味する。
「信号をオンにする」とは、ビット値「1」を出力すること、すなわち、電圧を「High」レベルにすることを意味する。
「信号をオフにする」とは、ビット値「0」を出力すること、すなわち、電圧を「Low」レベルにすることを意味する。
The “output port” means a circuit that is used when the CPU transmits a signal to the peripheral device and can output a bit value “0” or “1”.
The “input port” means a circuit that is used when the CPU receives a signal from a peripheral device and can acquire (read) a bit value “0” or “1”.
“Turn the signal on” means that the bit value “1” is output, that is, the voltage is set to the “High” level.
“Turn off the signal” means that the bit value “0” is output, that is, the voltage is set to the “Low” level.
以下、図面等を参照して、本発明の一実施形態について説明する。
図1は、本実施形態におけるスロットマシン10の制御の概略を示すブロック図である。
スロットマシン10に設けられた代表的な制御基板として、メイン制御基板60とサブ制御基板80とを備える。
メイン制御基板60は、入力ポート(0〜2)及び出力ポート(0〜10)を有し、RWM(メインメモリ)61、ROM62、メインCPU63等を備える(図1で図示したもののみを備える意味ではない)。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing an outline of control of the slot machine 10 in the present embodiment.
As a typical control board provided in the slot machine 10, a main control board 60 and a
The main control board 60 has an input port (0 to 2) and an output port (0 to 10), and includes an RWM (main memory) 61, a ROM 62, a main CPU 63, and the like (meaning only include those illustrated in FIG. 1). is not).
RWM61は、遊技の進行等に基づいた各種データ(変数)を記憶(更新)可能な記憶媒体である。
ROM62は、遊技の進行に必要なプログラムや各種データ(たとえば、データテーブル)等を記憶しておく記憶媒体である。
メインCPU63は、メイン制御基板60上に設けられたCPUを指し、遊技の進行に必要なプログラムの実行、演算等を行い、具体的には、役の抽選、リール31の駆動制御、及び入賞時の払出し等を実行する。
メインCPU63は、レジスタを内蔵する。特に本実施形態では、レジスタは複数設けられている。
The RWM 61 is a storage medium that can store (update) various data (variables) based on the progress of the game.
The ROM 62 is a storage medium that stores programs necessary for the progress of the game, various data (for example, a data table), and the like.
The main CPU 63 refers to a CPU provided on the main control board 60, and executes programs and calculations necessary for the progress of the game. Specifically, the lottery of the combination, the drive control of the reel 31, and the winning Execute paying out.
The main CPU 63 contains a register. In particular, in this embodiment, a plurality of registers are provided.
図1において、メイン制御基板60と、図1で図示したベットスイッチ40等の操作スイッチを含む遊技進行用の周辺機器とは、入力ポート又は出力ポートを介して電気的に接続されている。入力ポートは、操作スイッチ等の信号が入力される接続部であり、出力ポートは、モータ32等の周辺機器に対して信号を送信する接続部である。 In FIG. 1, a main control board 60 and a peripheral device for game progress including operation switches such as the bet switch 40 shown in FIG. 1 are electrically connected via an input port or an output port. The input port is a connection unit to which signals such as operation switches are input, and the output port is a connection unit that transmits signals to peripheral devices such as the motor 32.
図1中、入力用の周辺機器は、その周辺機器からの信号がメイン制御基板60に向かう矢印で表示しており、出力用の周辺機器は、メイン制御基板60からその周辺機器に向かう矢印で示している(サブ制御基板80も同様である)。
なお、サブ制御基板80と接続されたプッシュボタン25(「プッシュボタンユニット」ともいう。)は、双方向で信号の送受信が可能となっている。具体的には、プッシュボタン25の操作に基づいてサブ制御基板80に操作が行われた旨の信号を送信し、サブ制御基板80からプッシュボタン25に設けられたランプを発光させる。
In FIG. 1, an input peripheral device is indicated by an arrow from the peripheral device to the main control board 60, and an output peripheral device is an arrow from the main control board 60 to the peripheral device. It is shown (the same applies to the sub-control board 80).
The push button 25 (also referred to as a “push button unit”) connected to the
図1において、メダル投入口43から投入されたメダルは、メダルセレクタを通過するように構成されている。
メダルセレクタは、図1に示すように、通路センサ43a、ブロッカ45、投入センサ44a及び44bを備え(ただし、これらに限定されるものではない)、メイン制御基板60と電気的に接続されている。
メダル投入口43からメダルが投入されると、最初に、通路センサ43aにより検知されるように構成されている。
In FIG. 1, medals inserted from the medal insertion slot 43 are configured to pass through a medal selector.
As shown in FIG. 1, the medal selector includes a passage sensor 43a, a blocker 45, and insertion sensors 44a and 44b (but not limited to these), and is electrically connected to the main control board 60. .
When a medal is inserted from the medal slot 43, the passage sensor 43a first detects the medal.
さらに、通路センサ43aの下流側には、ブロッカ45が設けられている。ブロッカ45は、メダルの投入を許可/不許可にするためのものであり、メダルの投入が不許可状態のときは、メダル投入口43から投入されたメダルを払出し口から返却するメダル通路を形成する。これに対し、メダルの投入が許可状態のときは、メダル投入口43から投入されたメダルをホッパー35aに案内するメダル通路を形成する。 Further, a blocker 45 is provided on the downstream side of the passage sensor 43a. The blocker 45 is for permitting / disallowing the insertion of medals, and forms a medal passage for returning the medals inserted from the medal insertion slot 43 from the payout slot when the insertion of medals is not permitted. To do. On the other hand, when the medal insertion is permitted, a medal passage for guiding the medal inserted from the medal insertion port 43 to the hopper 35a is formed.
ここで、ブロッカ45は、遊技中(リール31の回転開始時から、全リール31が停止し、役の入賞時には入賞役に対応する払出しの終了時まで)は、メダルの投入を不許可状態とする。すなわち、ブロッカ45がメダルの投入を許可するのは、少なくとも遊技が行われていないときである。 Here, the blocker 45 is in a state where the insertion of medals is not permitted during the game (from the start of the rotation of the reels 31 until all the reels 31 are stopped and the payout corresponding to the winning combination is completed at the time of winning the winning combination). To do. That is, the blocker 45 permits the insertion of medals at least when a game is not being performed.
ブロッカ45のさらに下流側には、投入センサ44a及び44b(光学センサ)が設けられている。したがって、メダル投入口43から投入されたメダルは、通路センサ43aによって検知された後、さらに、投入センサ44a(上流側)及び44b(下流側)により検知されるように構成されている。なお、上流側の投入センサ44aを投入センサ1、下流側の投入センサ44bを投入センサ2と称する場合もある。
On the further downstream side of the blocker 45, input sensors 44a and 44b (optical sensors) are provided. Therefore, the medals inserted from the medal insertion slot 43 are further detected by the insertion sensors 44a (upstream side) and 44b (downstream side) after being detected by the passage sensor 43a. The upstream closing sensor 44a may be referred to as closing
また、図1に示すように、メイン制御基板60には、遊技者が操作する操作スイッチとして、ベットスイッチ40、スタートスイッチ41、(左、中、右)ストップスイッチ42、及び精算スイッチ46が電気的に接続されている。
ベットスイッチ40(40a又は40b)は、貯留されたメダルを当該遊技のためにベットするときに遊技者が操作するスイッチである。本実施形態では、1枚のメダルを投入するための1ベットスイッチ40aと、3枚(最大数)のメダルを投入するための3ベットスイッチ40bとを備える。
さらに、これに限らず、2枚ベット用のベットスイッチを設けてもよい。
As shown in FIG. 1, the main control board 60 includes a bet switch 40, a start switch 41, a (left, middle, right) stop
The bet switch 40 (40a or 40b) is a switch operated by the player when betting a stored medal for the game. In the present embodiment, a 1-bet switch 40a for inserting one medal and a 3-bet switch 40b for inserting three (maximum number) medals are provided.
In addition to this, a bet switch for two bets may be provided.
また、スタートスイッチ41は、(左、中、右のすべての)リール31を始動させるときに遊技者が操作するスイッチである。
さらにまた、ストップスイッチ42は、3つ(左、中、右)のリール31に対応して3つ設けられ、対応するリール31を停止させるときに遊技者が操作するスイッチである。
さらに、精算スイッチ46は、スロットマシン10内部に貯留(クレジット)されたメダルを払い戻す(ペイアウトする)ときに遊技者が操作するスイッチである。
The start switch 41 is a switch operated by the player when starting the reels 31 (all of left, middle and right).
Furthermore, three
Further, the settlement switch 46 is a switch operated by the player when paying out (paying out) medals stored (credited) in the slot machine 10.
この表示基板70には、貯留数表示LED71、獲得数表示LED72、及び状態表示LED73が接続されている。これらのLED71〜73は、遊技者が操作する操作スイッチの近傍に設けられ、遊技者が常に視認できる位置に設けられている。なお、1つの表示基板70上にすべてのLED71〜73が設けられている必要はなく、たとえば表示基板70A、70B、・・・のように複数の表示基板70を備え、いずれかの表示基板70にいずれかのLED71〜73が設けられていればよい。
A storage number display LED 71, an acquisition number display LED 72, and a status display LED 73 are connected to the
貯留数表示LED71は、スロットマシン10内部に貯留されたメダル枚数を表示するLEDである。
本実施形態では、貯留数表示LED71は、「00」〜「50」(整数)の間の数字を表示する。
The storage number display LED 71 is an LED that displays the number of medals stored in the slot machine 10.
In the present embodiment, the storage number display LED 71 displays a number between “00” and “50” (integer).
たとえば、メダルが全くベット及び貯留されていない状態では、貯留数表示LED71の表示は、「00」となっている。ここで、1枚のメダルが手入れされると、当該遊技のためにその1枚のメダルがベットされる。さらに2枚を追加投入すると、当該遊技のために3枚のメダルがベットされる(ベット限界枚数が3枚の場合)。したがって、手入れされたメダルが3枚までのときは、そのメダルはベットされ、貯留されない。さらにメダルが手入れされ続けると、スロットマシン10内部にメダルが貯留されるとともに、その貯留枚数が貯留数表示LED71によって表示される。 For example, in a state where no medals are bet and stored, the display of the storage number display LED 71 is “00”. Here, when one medal is maintained, the one medal is bet for the game. When two more cards are additionally inserted, three medals are bet for the game (when the bet limit number is three). Therefore, when up to three medals are maintained, the medals are bet and not stored. As medals continue to be maintained, medals are stored in the slot machine 10 and the number of stored medals is displayed by the stored number display LED 71.
本実施形態では、最大で50枚までのメダルを貯留可能となっている。したがって、貯留枚数が50枚となったとき(貯留数表示LED71に「50」と表示されたとき)は、それ以上、メダルは貯留されない。この状態で、仮に、メダル投入口43からメダルが手入れされると、ブロッカ45により、手入れされたメダルは、払出し口から返却される。 In this embodiment, up to 50 medals can be stored. Therefore, when the number of stored sheets reaches 50 (when “50” is displayed on the stored number display LED 71), medals are not stored any more. In this state, if a medal is maintained from the medal insertion slot 43, the maintained medal is returned from the payout slot by the blocker 45.
ここで、メダル払出しのある役(リプレイを除く)が入賞してその役に対応するメダルが払い出されるときは、払出し口から実際にメダルが払い出されることよりも優先して、スロットマシン10内部にメダルが貯留される。たとえば、役入賞前の貯留枚数が「10」である場合において、9枚役が入賞すると、貯留数表示LED71の表示が「10」から「19」に更新される。 Here, when a winning combination (excluding replay) is awarded and a medal corresponding to the winning combination is paid out, the slot machine 10 has priority over actually paying out a medal from the payout slot. Medals are stored. For example, in the case where the stored number before winning a winning combination is “10”, when the nine winning combination is won, the display of the storing number display LED 71 is updated from “10” to “19”.
さらにまた、役の入賞時に、貯留枚数が「50」を超えるときは、「50」を超えた分については払出し口から実際に払い出さされる。たとえば、役の入賞前に貯留枚数が「47」であり、9枚役の入賞によって9枚のメダルが払い出されるとき、3枚は貯留されて貯留枚数が「50」となり、「50」を超える6枚については払出し口から払い出される。 Furthermore, when the winning number of the winning combination exceeds “50”, the portion exceeding “50” is actually paid out from the payout opening. For example, when the number of reserved coins is “47” before winning a winning combination and nine medals are paid out for winning nine winning combinations, three are stored and the number of storing is “50”, which exceeds “50”. Six cards are paid out from the payout slot.
さらに、リプレイの入賞時は、メダルの貯留及び払出しは行われず、当該遊技でベットされていた枚数のメダルが再遊技のために自動ベットされる。たとえば、当該遊技を3ベット(3枚)で行い、リプレイが入賞したときは、3枚のメダルが自動ベットされる。そして、リプレイの入賞に基づく自動ベットは、再遊技を行うためのメダルの投入であるので、その後に精算(返却)操作を行っても、当該メダルを精算することはできない。 Further, at the time of replay winning, medals are not stored and paid out, and the number of medals bet in the game are automatically bet for replay. For example, when the game is played with 3 bets (3 cards) and a replay is won, 3 medals are automatically bet. Since the automatic bet based on the replay winning is the insertion of medals for replaying, even if the settlement (return) operation is performed thereafter, the medals cannot be settled.
なお、「遊技機の認定及び型式の検定等に関する規則」では、リプレイに対応する図柄の組合せが有効ラインに停止したときは、再遊技に係る条件装置の作動であって「入賞」ではないと解釈されている。しかし、本明細書では、リプレイについても役の1つとして扱い(再遊技役)、リプレイに対応する図柄の組合せが有効ラインに停止したことを「リプレイの入賞」と称する。 According to the “Rules for Game Machine Approval and Type Approval, etc.”, if the combination of symbols corresponding to replay is stopped on the active line, it is the operation of the condition device related to replay and not “winning”. Interpreted. However, in this specification, the replay is also treated as one of the roles (replaying role), and the combination of symbols corresponding to the replay stopped on the active line is referred to as “replay winning”.
獲得数表示LED72は、役の入賞時に、払出し数(遊技者の獲得数)を表示するLEDである。
メダルの払出しがないときは、獲得数表示LED72の表示は「00」であるが、たとえば9枚役が入賞して9枚のメダルが払い出されるときは、獲得数表示LED72の表示は「09」となる。
また、獲得数表示LED72は、通常は獲得数を表示するが、エラー発生時にはエラーの内容(種類)を表示するLEDとして機能する。よって、本実施形態における獲得数表示LED72は、獲得数、及びエラー内容の表示を兼ねるLEDである。
The acquisition number display LED 72 is an LED that displays the number of payouts (the number of players acquired) when winning a winning combination.
When the medal is not paid out, the display of the acquisition number display LED 72 is “00”. However, for example, when nine winning combinations are won and nine medals are paid out, the display of the acquisition number display LED 72 is “09”. It becomes.
The acquisition number display LED 72 normally displays the acquisition number, but functions as an LED that displays the content (type) of the error when an error occurs. Therefore, the acquisition number display LED 72 in this embodiment is an LED that also serves as a display of the acquisition number and error contents.
状態表示LED73は、7個のLED(73a〜73g)から構成されている。
リプレイ表示LED73aは、リプレイの入賞時に点灯するLEDである。リプレイの入賞に基づく自動ベットが行われると、リプレイ表示LED73aが点灯し、自動ベット状態であることを遊技者に知らせる。
The status display LED 73 is composed of seven LEDs (73a to 73g).
The
投入可表示LED73bは、メダルを投入可能な状態のときに点灯するLEDである。すなわち、遊技が終了し、次遊技に移行するためのメダルが投入される前に点灯し、いわゆるベット待ち状態を示す。なお、本実施形態ではリプレイが作動した後であっても貯留枚数に応じてベット可能なときには点灯する。
精算表示LED73cは、本実施形態では、精算処理中に点灯するLEDである。貯留メダル及び/又はベットメダル(リプレイ入賞時の自動ベットを除く)を有する状態で、精算スイッチ46がオンされたときに、メダルを実際に払い出している最中に点灯する。
The insertable display LED 73b is an LED that lights up when a medal can be inserted. That is, it lights up before the game is finished and a medal for shifting to the next game is inserted, indicating a so-called bet waiting state. In the present embodiment, even after the replay is activated, it lights up when a bet can be made according to the number of stored items.
In the present embodiment, the settlement display LED 73c is an LED that is lit during the settlement process. When the settlement switch 46 is turned on in a state where there is a stored medal and / or a bet medal (excluding an automatic bet at the time of replay winning), the light is lit while the medal is actually paid out.
遊技開始LED73dは、メダルが投入され、スタートスイッチ41を操作可能な状態となったときに点灯するLEDである。したがって、メダルがベットされていない(又はリプレイの自動投入がされていない)状態では点灯しない。 The game start LED 73d is an LED that lights up when a medal is inserted and the start switch 41 becomes operable. Therefore, it does not light up when no medal is bet (or when replay is not automatically inserted).
(1枚、2枚、3枚)投入表示LED73e〜73gは、それぞれ、ベットされているメダル枚数を表示するLEDであり、1枚のメダルがベットされたときは「1BET(1枚投入表示LED73e)」が点灯し、2枚のメダルがベットされたときは、「1BET(1枚投入表示LED73e)」及び「2BET(2枚投入表示LED73f)」が点灯し、3枚のメダルがベットされたときは、「1BET(1枚投入表示LED73e)」、「2BET(2枚投入表示LED73f)」及び「3BET(3枚投入表示LED73g)」が点灯する。
The (1 piece, 2 pieces, 3 pieces) insertion display LEDs 73e to 73g are LEDs for displaying the number of medals bet, respectively. When one medal is bet, “1 BET (1 piece insertion display LED 73e) is displayed. ) ”Is lit and when two medals are bet,“ 1 BET (one-sheet insertion display LED 73e) ”and“ 2 BET (two-sheet insertion display LED 73f) ”are lit and three medals are betted. At this time, “1 BET (1 sheet insertion display LED 73e)”, “2 BET (2 sheet insertion display LED 73f)” and “3 BET (3 sheet
メイン制御基板60には、図柄表示装置30が電気的に接続されている。
図柄表示装置30は、図柄を表示する(本実施形態では3つの)リール31と、各リール31をそれぞれ駆動するモータ32と、リール31の位置を検出するためのリールセンサ39とを含む。
A symbol display device 30 is electrically connected to the main control board 60.
The symbol display device 30 includes a reel 31 (three in this embodiment) that displays symbols, a motor 32 that drives each reel 31, and a reel sensor 39 that detects the position of the reel 31.
モータ32は、リール31を回転させるためのものであり、各リール31の回転中心部に連結され、後述するリール制御手段63gによって制御される。
ここで、リール31は、左リール31、中リール31、右リール31からなり、左リール31を停止させるときに操作するストップスイッチ42が左ストップスイッチ42であり、中リール31を停止させるときに操作するストップスイッチ42が中ストップスイッチ42であり、右リール31を停止させるときに操作するストップスイッチ42が右ストップスイッチ42である。
The motor 32 is for rotating the reels 31, is connected to the center of rotation of each reel 31, and is controlled by a reel control means 63 g described later.
Here, the reel 31 includes a left reel 31, a middle reel 31, and a right reel 31, and a
リール31は、リング状のものであって、その外周面には複数種類の図柄(役に対応する図柄の組合せを構成している図柄)を印刷したリールテープを貼付したものである。
また、各リール31には、1個(2個以上であってもよい)のインデックスが設けられている。インデックスは、リール31の例えば周側面に凸状に設けられており、リール31が所定位置を通過したか否かや、1回転したか否か等を検出するときに用いられる。
The reel 31 is ring-shaped, and a reel tape on which a plurality of types of symbols (designs constituting a combination of symbols corresponding to the combination) is attached is attached to the outer peripheral surface thereof.
Each reel 31 is provided with one (or two or more) index. The index is provided in a convex shape on, for example, the circumferential side surface of the reel 31 and is used when detecting whether the reel 31 has passed a predetermined position, whether it has rotated one time, or the like.
また、各インデックスは、リールセンサ39により検知される。さらに、リールセンサ39は、メイン制御基板60に電気的に接続されている。そして、リールセンサ39がインデックスを検知すると、その入力信号がメイン制御基板60に入力され、そのリール31が所定位置を通過したことが検知される。
また、リールセンサ39がリール31のインデックスを検知した瞬間の基準位置上の図柄を予めROM62に記憶している。これにより、インデックスを検知した瞬間の基準位置上の図柄を検知することができる。
Each index is detected by the reel sensor 39. Further, the reel sensor 39 is electrically connected to the main control board 60. When the reel sensor 39 detects the index, the input signal is input to the main control board 60, and it is detected that the reel 31 has passed a predetermined position.
Further, a symbol on the reference position at the moment when the reel sensor 39 detects the index of the reel 31 is stored in the ROM 62 in advance. Thereby, the symbol on the reference position at the moment when the index is detected can be detected.
メイン制御基板60には、メダル払出し装置35が電気的に接続されている。
メダル払出し装置35は、メダルを溜めておくためのホッパー35aと、ホッパー35aのメダルを払出し口から払い出すときに駆動するホッパーモータ36と、ホッパー35aから払い出されたメダルを検出するための払出しセンサ37a及び37bを備える。
A medal payout device 35 is electrically connected to the main control board 60.
The medal payout device 35 is a hopper 35a for storing medals, a hopper motor 36 that is driven when paying out medals of the hopper 35a from the payout port, and a payout for detecting medals paid out from the hopper 35a. Sensors 37a and 37b are provided.
メダル投入口43から手入れされ、受け付けられたメダルは、所定の通路(「シュート部」とも称する。)を通してホッパー35a内に収容されるように形成されている。
払出しセンサ37a及び37bは、投入センサ44a及び44bと同様に、上流側に払出しセンサ37aが設けられ、下流側に払出しセンサ37bが設けられている。
なお、上流側の払出しセンサ37aを払出しセンサ1、下流側の払出しセンサ37bを払出しセンサ2と称する場合もある。
The medals that are maintained and received from the medal slot 43 are formed so as to be accommodated in the hopper 35a through a predetermined passage (also referred to as “chute portion”).
The payout sensors 37a and 37b are provided with a payout sensor 37a on the upstream side and a payout sensor 37b on the downstream side, similarly to the input sensors 44a and 44b.
The upstream payout sensor 37a may be referred to as the
払出しセンサ37aと37bとは、所定距離を隔てて配置され、メダルが払出しセンサ37aにより検知されてから所定時間を経過した後に払出しセンサ37bにより検知されるように構成されている。そして、払出しセンサ37a及び37bがそれぞれオン/オフとなるタイミングに基づいて、メダルが正しく払い出されたか否かを判断する。 The payout sensors 37a and 37b are arranged at a predetermined distance, and are configured to be detected by the payout sensor 37b after a predetermined time has elapsed since the medal was detected by the payout sensor 37a. Then, based on the timing when the payout sensors 37a and 37b are turned on / off, it is determined whether or not the medals have been paid out correctly.
たとえば、ホッパーモータ36が駆動しているにもかかわらず、払出しセンサ37a及び37bの信号がいずれもオフであるときは、メダルが払い出されていないと判断し、ホッパーエラー(メダルなし)と検知される。
一方、払出しセンサ37a又は37bの信号の少なくとも1つがオンのままとなったときは、メダル詰まりが生じたと検知する。なお、払出しセンサ37を1つだけ設け、上記エラーを検知するようにしてもよい。
満杯センサ38は、ホッパー35aから溢れたメダルを収容するサブタンク35bの満杯を検知するセンサであり、サブタンク35bのメダルが満杯となったときにメダルが接触することで通電する回路から構成される。
For example, when the signals of the payout sensors 37a and 37b are both off despite the hopper motor 36 being driven, it is determined that no medal has been paid out, and a hopper error (no medal) is detected. Is done.
On the other hand, when at least one of the signals from the payout sensor 37a or 37b remains on, it is detected that a medal jam has occurred. Note that only one payout sensor 37 may be provided to detect the error.
The full sensor 38 is a sensor that detects the fullness of the sub tank 35b that accommodates medals overflowing from the hopper 35a, and is configured by a circuit that energizes when the medals come into contact when the medals in the sub tank 35b become full.
ドアスイッチ16は、スロットマシン10のフロントカバー(図示せず)の開閉を検知するためのスイッチであり、フロントカバーを開けたときにオンとなり、フロントカバーを閉じたときにオフとなるように構成されている。
電源スイッチ51は、スロットマシン10の電源のオン/オフを行うスイッチである。
設定キースイッチ52は、設定変更時又は設定確認時に用いられるスイッチであり、設定キー挿入口から設定キーが挿入され、右90度に回転しているときにオンとなるように構成されている。
The door switch 16 is a switch for detecting opening / closing of a front cover (not shown) of the slot machine 10 and is configured to be turned on when the front cover is opened and turned off when the front cover is closed. Has been.
The power switch 51 is a switch for turning on / off the power of the slot machine 10.
The setting key switch 52 is a switch used at the time of setting change or setting confirmation, and is configured to be turned on when a setting key is inserted from a setting key insertion slot and rotated 90 degrees to the right.
設定変更/リセットスイッチ53は、1つのスイッチで設定変更スイッチとリセットスイッチとを兼ねているスイッチである。なお、設定変更スイッチとリセットスイッチとは、別々に設けられていてもよい。
設定変更/リセットスイッチ53は、設定値を変更するときに操作される。また、設定キースイッチ52をオンにしつつ電源スイッチ51がオンにされると、リセットすなわち初期化処理が行われ、RWM61に記憶されている所定のデータがクリアされる。
The setting change / reset switch 53 is a switch that serves as both a setting change switch and a reset switch. Note that the setting change switch and the reset switch may be provided separately.
The setting change / reset switch 53 is operated when changing a setting value. When the power switch 51 is turned on while the setting key switch 52 is turned on, reset, that is, initialization processing is performed, and predetermined data stored in the RWM 61 is cleared.
設定ドアスイッチ54は、設定キースイッチ52及び設定変更/リセットスイッチ53を覆う設定ドア(図示せず)の開閉を検知するためのスイッチであり、設定ドアを開けたときにオンとなり、設定ドアを閉じたときにオフとなるように構成されている。
なお、たとえば設定ドアスイッチ54がオフ、すなわち設定ドアが開けられていない状態で、設定キースイッチ52がオンであるとき等は、エラーとなる。
The setting door switch 54 is a switch for detecting opening and closing of a setting door (not shown) that covers the setting key switch 52 and the setting change / reset switch 53. The setting door switch 54 is turned on when the setting door is opened. It is configured to turn off when closed.
For example, when the setting door switch 54 is off, that is, when the setting key switch 52 is on with the setting door not opened, an error occurs.
図2は、メイン制御基板60からサブ制御基板80に対してコマンドを送信するための通信線を示す回路図である。コマンドは、メイン制御基板60からサブ制御基板80に対して一方向で送信する。
図2に示すように、メイン制御基板60上には、メインCPU63、4つのフリップフロップ(フリップフロップ1〜4)、及びLED可視ランプが搭載されている。
また、サブ制御基板80上には、サブCPU83、2つのインバータバッファ(インバータバッファ1及び2)、トランシーババッファ、及びバッファが搭載されている。
なお、メイン制御基板60及びサブ制御基板80上には、これら以外にも電子部品が搭載されているが、本実施形態では図示を省略している。
FIG. 2 is a circuit diagram showing a communication line for transmitting a command from the main control board 60 to the
As shown in FIG. 2, a main CPU 63, four flip-flops (flip-
On the
In addition to the above, electronic components are mounted on the main control board 60 and the
メインCPU63は、D0〜D7出力端子を有している。
フリップフロップ1は、出力ポート2を構成するものであり、フリップフロップ2は、出力ポート7を構成するものであり、フリップフロップ3は、出力ポート8を構成するものであり、フリップフロップ4は、出力ポート6を構成するものである。
The main CPU 63 has D0 to D7 output terminals.
The flip-
また、フリップフロップ1は、1D〜8D入力端子及び1Q〜8Q出力端子を有しており、これらはそれぞれ対応している。フリップフロップ2〜4についても、フリップフロップ1と同様に、1D〜8D入力端子及び1Q〜8Q出力端子を有しており、これらはそれぞれ対応している。
そして、メインCPU63のD0〜D7出力端子は、フリップフロップ1の1D〜8D入力端子、フリップフロップ2の1D〜8D入力端子、フリップフロップ3の1D〜8D入力端子、及びフリップフロップ4の1D〜8D入力端子にそれぞれ接続されている。
The flip-
The D0 to D7 output terminals of the main CPU 63 are the 1D to 8D input terminals of the flip-
また、フリップフロップ1の1Q出力端子(出力ポート2のD0ビット)は、3枚投入表示LED73gに接続されている。同様に、2Q出力端子(D1ビット)は、2枚投入表示LED73fに接続され、3Q出力端子(D2ビット)は、1枚投入表示LED73eに接続されている。
そして、フリップフロップ1の1Q出力端子からは、3枚投入表示LED73gを点灯させるための3枚投入表示LED信号が出力される。同様に、2Q出力端子からは、2枚投入表示LED73fを点灯させるための2枚投入表示LED信号が出力され、3Q出力端子からは、1枚投入表示LED73eを点灯させるための1枚投入表示LED信号が出力される。3枚投入表示LED信号、2枚投入表示LED信号、及び1枚投入表示LED信号を総称して、投入枚数表示LED信号という。
なお、フリップフロップ1の4Q〜7Q出力端子は、未使用(NC)である。
The 1Q output terminal of the flip-flop 1 (D0 bit of the output port 2) is connected to the three-sheet
Then, from the 1Q output terminal of the flip-
Note that the 4Q to 7Q output terminals of the flip-
また、フリップフロップ1の8Q出力端子(出力ポート2のD7ビット)は、サブ制御基板80上のインバータバッファ1の3A入力端子に接続されている。さらにまた、インバータバッファ1の3A入力端子と3Y出力端子とが対応しているとともに、インバータバッファ2の2A入力端子と2Y出力端子とが対応している。さらに、インバータバッファ1の3Y出力端子は、インバータバッファ2の2A入力端子に接続され、インバータバッファ2の2Y出力端子は、サブCPU83のIRQ5入力端子に接続されている。
The 8Q output terminal of the flip-flop 1 (D7 bit of the output port 2) is connected to the 3A input terminal of the
そして、フリップフロップ1の8Q出力端子からは、後述するサブ制御データ信号1〜16(第1制御コマンド及び第2制御コマンド)の取得(読込み)タイミングを示すサブ制御データストローブ信号が出力される。
なお、インバータバッファ1及びインバータバッファ2を直列に接続しているが、これはサブ制御データストローブ信号にノイズが入るのを防止するためである。
Then, a sub control data strobe signal indicating an acquisition (reading) timing of sub control data signals 1 to 16 (first control command and second control command) to be described later is output from the 8Q output terminal of the flip-
The
ここで、サブ制御データストローブ信号は、1ビットの信号である。これに対し、サブ制御データストローブ信号を出力する出力ポート2(フリップフロップ1)は、D0〜D7ビット(1Q〜8Q出力端子)の8ビットを有している。
このため、出力ポート2のD7ビット以外(D0〜D6ビット)の7ビットを、メイン制御基板60に接続された他の周辺機器(たとえば、貯留数表示LED71、獲得数表示LED72、状態表示LED73、モータ32、又はホッパーモータ36等)を制御するための信号の出力端子として用いている。
Here, the sub control data strobe signal is a 1-bit signal. On the other hand, the output port 2 (flip-flop 1) that outputs the sub control data strobe signal has 8 bits of D0 to D7 bits (1Q to 8Q output terminals).
Therefore, 7 bits other than the D7 bit (D0 to D6 bits) of the output port 2 are replaced with other peripheral devices connected to the main control board 60 (for example, the storage number display LED 71, the acquisition number display LED 72, the status display LED 73, It is used as an output terminal of a signal for controlling the motor 32 or the hopper motor 36).
具体的には、上述したように、出力ポート2のD0ビットは、3枚投入表示LED信号の出力端子として用い、出力ポート2のD1ビットは、2枚投入表示LED信号の出力端子として用い、出力ポート2のD2ビットは、1枚投入表示LED信号の出力端子として用いている。
これにより、サブ制御データストローブ信号の出力ポートと、3枚投入表示LED信号、2枚投入表示LED信号、及び1枚投入表示LED信号の出力ポートとを兼用にしている。
Specifically, as described above, the D0 bit of the output port 2 is used as an output terminal for a three-sheet input display LED signal, and the D1 bit of the output port 2 is used as an output terminal for a two-sheet input display LED signal. The D2 bit of the output port 2 is used as the output terminal of the single-load display LED signal.
Thereby, the output port of the sub control data strobe signal is also used as the output port of the three-sheet insertion display LED signal, the two-sheet insertion display LED signal, and the one-sheet insertion display LED signal.
そして、後述するように、サブ制御データストローブ信号、3枚投入表示LED信号、2枚投入表示LED信号、及び1枚投入表示LED信号を含む8ビットのデータを出力ポート2に出力する。
すなわち、出力ポート2に出力する8ビットのデータで、3枚投入表示LED73g、2枚投入表示LED73f、及び1枚投入表示LED73eの点灯又は消灯を制御するとともに、サブ制御データ信号1〜16(第1制御コマンド及び第2制御コマンド)の取得(読込み)タイミングをサブ制御基板80に伝える。
Then, as will be described later, 8-bit data including a sub control data strobe signal, a three-sheet insertion display LED signal, a two-sheet insertion display LED signal, and a one-sheet insertion display LED signal is output to the output port 2.
That is, the 8-bit data output to the output port 2 controls turning on / off of the three-sheet
また、フリップフロップ2の1Q〜8Q出力端子(出力ポート7のD0〜D7ビット)は、サブ制御基板80上のトランシーババッファの2A8〜2A1入力端子にそれぞれ接続されている。さらにまた、トランシーババッファの2A8〜2A1入力端子と2B8〜2B1出力端子とがそれぞれ対応している。さらに、トランシーババッファの2B8〜2B1出力端子は、サブCPU83のD0〜D7入力端子にそれぞれ接続されている。そして、フリップフロップ2の1Q〜8Q出力端子からは、サブ制御データ信号1〜8(第2制御コマンド)がそれぞれ出力される。
The 1Q to 8Q output terminals of the flip-flop 2 (D0 to D7 bits of the output port 7) are connected to the 2A8 to 2A1 input terminals of the transceiver buffer on the
同様に、フリップフロップ3の1Q〜8Q出力端子(出力ポート8のD0〜D7ビット)は、サブ制御基板80上のトランシーババッファの1A8〜1A1入力端子にそれぞれ接続されている。さらにまた、トランシーババッファの1A8〜1A1入力端子と1B8〜1B1出力端子とがそれぞれ対応している。さらに、トランシーババッファの1B8〜1B1出力端子は、サブCPU83のD8〜D15入力端子にそれぞれ接続されている。そして、フリップフロップ3の1Q〜8Q出力端子からは、サブ制御データ信号9〜16(第1制御コマンド)がそれぞれ出力される。
Similarly, 1Q to 8Q output terminals of the flip-flop 3 (D0 to D7 bits of the output port 8) are connected to 1A8 to 1A1 input terminals of the transceiver buffer on the
このように、フリップフロップ2の1Q〜8Q出力端子(出力ポート7のD0〜D7ビット)とトランシーババッファの2A8〜2A1入力端子とを繋ぐ通信線により、サブ制御データ信号1〜8(第2制御コマンド)が8ビットのパラレル通信で送信されるとともに、フリップフロップ3の1Q〜8Q出力端子(出力ポート8のD0〜D7ビット)とトランシーババッファの1A8〜1A1入力端子とを繋ぐ通信線により、サブ制御データ信号9〜16(第1制御コマンド)が8ビットのパラレル通信で送信される。 As described above, the sub control data signals 1 to 8 (second control) are provided by the communication line connecting the 1Q to 8Q output terminals of the flip-flop 2 (D0 to D7 bits of the output port 7) and the 2A8 to 2A1 input terminals of the transceiver buffer. Command) is transmitted by 8-bit parallel communication, and the communication line connecting the 1Q to 8Q output terminals of the flip-flop 3 (D0 to D7 bits of the output port 8) and the 1A8 to 1A1 input terminals of the transceiver buffer Control data signals 9 to 16 (first control command) are transmitted by 8-bit parallel communication.
なお、上述したように、第1制御コマンド及び第2制御コマンドの取得(読込み)タイミングを示すサブ制御データストローブ信号は、第1制御コマンドを送信するための8ビットのパラレル通信線及び第2制御コマンドを送信するための8ビットのパラレル通信線とは別の通信線で送信される。 As described above, the sub-control data strobe signal indicating the acquisition (reading) timing of the first control command and the second control command is the 8-bit parallel communication line for transmitting the first control command and the second control command. It is transmitted through a communication line different from the 8-bit parallel communication line for transmitting the command.
また、フリップフロップ4の1Q〜8Q出力端子(出力ポート6のD0〜D7ビット)は、サブ制御基板80上のバッファのA1〜A8入力端子にそれぞれ接続されている。さらにまた、バッファのA1〜A8入力端子とY1〜Y8出力端子とがそれぞれ対応している。さらに、バッファのY1〜Y8出力端子は、サブCPU83のD0〜D7入力端子にそれぞれ接続されている。そして、フリップフロップ4の1Q〜8Q出力端子からは、サブ制御データ信号17〜24(第3制御コマンド)がそれぞれ出力される。
The 1Q to 8Q output terminals of the flip-flop 4 (D0 to D7 bits of the output port 6) are connected to the A1 to A8 input terminals of the buffer on the
このように、フリップフロップ4の1Q〜8Q出力端子(出力ポート6のD0〜D7ビット)とバッファのA1〜A8入力端子とを繋ぐ通信線により、サブ制御データ信号17〜24(第3制御コマンド)が8ビットのパラレル通信で送信される。
すなわち、第3制御コマンドは、第1制御コマンドを送信するための8ビットのパラレル通信線及び第2制御コマンドを送信するための8ビットのパラレル通信線とは別の8ビットのパラレル通信線で送信される。
As described above, the sub control data signals 17 to 24 (third control command) are transmitted by the communication line connecting the 1Q to 8Q output terminals of the flip-flop 4 (D0 to D7 bits of the output port 6) and the A1 to A8 input terminals of the buffer. ) Is transmitted by 8-bit parallel communication.
That is, the third control command is an 8-bit parallel communication line different from the 8-bit parallel communication line for transmitting the first control command and the 8-bit parallel communication line for transmitting the second control command. Sent.
また、LED可視ランプのA端子(アノード)は、メイン制御基板60上の+5Vの電源端子に接続され、LED可視ランプのK端子(カソード)は、コネクタ接続モニタと称する配線を介して、サブ制御基板80上のGND端子(グランド)に接続されている。
このコネクタ接続モニタは、メイン制御基板60とサブ制御基板80との接続不良をチェックするためのものである。このコネクタ接続モニタが抜けると、LED可視ランプが点灯するように構成されている。これにより、メイン制御基板60とサブ制御基板80との間で接続不良が生じていることがわかるようにしている。
Further, the A terminal (anode) of the LED visible lamp is connected to a +5 V power supply terminal on the main control board 60, and the K terminal (cathode) of the LED visible lamp is sub-controlled through a wiring called a connector connection monitor. It is connected to a GND terminal (ground) on the
This connector connection monitor is for checking a connection failure between the main control board 60 and the
図3は、メイン制御基板60に設けられた入力ポート0〜2を示す図である。また、図4〜図6は、メイン制御基板60に設けられた出力ポート0〜10を示す図である。
本実施形態の入力ポート0〜2及び出力ポート0〜10は、D0〜D7の8ビットが入力又は出力可能な1バイトのポートである。
FIG. 3 is a diagram illustrating the input ports 0 to 2 provided on the main control board 60. 4 to 6 are views showing output ports 0 to 10 provided on the main control board 60. FIG.
In this embodiment, the input ports 0 to 2 and the output ports 0 to 10 are 1-byte ports to which 8 bits D0 to D7 can be input or output.
なお、入力ポート及び出力ポートは、上記以外にも設けられているが、本実施形態では説明を省略する。
また、図3〜図6中、未使用と表示したポートは、実際に使用されていないか、又は本実施形態において説明を省略する信号の入出力ポートを意味する(信号の入出力がないポートは、すべて未使用という意味ではない)。
Although the input port and the output port are provided in addition to the above, description thereof is omitted in this embodiment.
3 to 6, a port indicated as unused means a signal input / output port that is not actually used or a description of which is omitted in the present embodiment (a port without signal input / output). Does not mean all unused).
図3において、入力ポート0は、精算スイッチ46、ベットスイッチ40(1ベットスイッチ40a及び3ベットスイッチ40b)、スタートスイッチ41、及びストップスイッチ42のオン/オフを示す信号が入力される。たとえば、入力ポート0のD0ビットが「0」のときは、精算スイッチ46がオフであることを示し、「1」のときは、オンであることを示す。D1〜D3及びD5〜D7ビットについてもD0ビットと同様に、「0」のときはオフであることを示し、「1」のときはオンであることを示す。
なお、図3の例では、1ベットスイッチ信号(D1ビット)と3ベットスイッチ信号(D2ビット)とを分けているが、3ベットスイッチ40のみが設けられる仕様のスロットマシン10であるときは、入力ポート0のD1ビットは未使用となる。
In FIG. 3, the input port 0 receives signals indicating ON / OFF of the settlement switch 46, the bet switch 40 (1-bet switch 40a and 3-bet switch 40b), the start switch 41, and the
In the example of FIG. 3, the 1-bet switch signal (D1 bit) and the 3-bet switch signal (D2 bit) are separated, but when the slot machine 10 has a specification in which only the 3-bet switch 40 is provided, The D1 bit of input port 0 is unused.
入力ポート1には、通路センサ43a、ドアスイッチ16、設定ドアスイッチ54、設定キースイッチ52、設定変更/リセットスイッチ53、(左、中、右)リールセンサ39のオン/オフを示す信号が入力される。「0」のときはオフであることを示し、「1」のときはオンであることを示すことは、入力ポート0のD0ビットと同様である。
The
入力ポート2には、電源断信号(電源断が発生したときに出力される信号)、投入センサ1(44a)及び2(44b)の信号、払出しセンサ1(37a)及び2(37b)の信号、満杯センサ38の信号が入力される。入力ポート2のD0ビットが「0」のときは、電源断が発生していないことを示し、「1」のときは、電源断が発生したことを示す。入力ポート2のD1〜D5ビットについては、入力ポート0のD0ビットと同様に、「0」のときはオフであることを示し、「1」のときはオンであることを示す。
なお、設定ドアスイッチ54を設けていない仕様のスロットマシン10であるときには、入力ポート1のD2ビットは未使用となる。
The input port 2 includes a power-off signal (a signal output when a power-off occurs), a signal from the input sensors 1 (44a) and 2 (44b), and a signal from the payout sensors 1 (37a) and 2 (37b). The signal of the full sensor 38 is input. When the D0 bit of the input port 2 is “0”, it indicates that the power is not cut off, and when it is “1”, it indicates that the power is cut off. As for the D1 to D5 bits of the input port 2, as in the case of the D0 bit of the input port 0, “0” indicates that the bit is off, and “1” indicates that the bit is on.
When the slot machine 10 is not provided with the setting door switch 54, the D2 bit of the
そして、後述するように、遊技を進行する情報処理として、1遊技あたり1回行うメイン処理(後述する図11;M_MAIN)(メインループともいう。)が設けられている。メイン処理では、投入されたメダルの検知や、全リール31が停止した後の入賞処理等が行われる処理である。 As will be described later, main processing (FIG. 11 described later; M_MAIN) (also referred to as main loop) that is performed once per game is provided as information processing for proceeding with the game. The main process is a process in which inserted medals are detected or a winning process is performed after all reels 31 are stopped.
このメイン処理中に、メイン処理を一旦抜けて、割込み処理(タイマ割込み処理)を実行する(後述する図17;I_INTR)。そして、割込み処理では、入力ポート0〜2を検知する処理(図17中、ステップS607)を実行し、その処理の実行後、再度、メイン処理に戻る処理を定期的に行っている。その割込み処理の間隔は、本実施形態では2.235msである。すなわち、2.235ms間隔の割込み処理ごとに、入力ポート0〜2のデータを取得する。 During this main process, the main process is temporarily exited and an interrupt process (timer interrupt process) is executed (FIG. 17; I_INTR described later). In the interrupt process, a process of detecting the input ports 0 to 2 (step S607 in FIG. 17) is executed, and after the process is executed, a process of returning to the main process is periodically performed again. The interval of the interrupt processing is 2.235 ms in this embodiment. That is, the data of the input ports 0 to 2 is acquired for each interrupt process at intervals of 2.235 ms.
そして、取得したデータに基づいて、入力ポート0〜2のそれぞれについて、レベルデータ(各ビットのオン/オフを示すデータ)、入力ポートの立ち上がりデータ(前回割込み時がオフで、今回割込み時がオンになったデータがどのビットであるかを示すデータ)、入力ポートの立ち下がりデータ(前回割込み時がオンで、今回割込み時がオフになったデータがどのビットであるかを示すデータ)を生成し、記憶する。したがって、これらのデータは、2.235msごとに更新されていく。 Based on the acquired data, for each of the input ports 0 to 2, level data (data indicating ON / OFF of each bit), rising data of the input port (when the previous interrupt is off, this interrupt is on) Data indicating which bit the data has become), and falling data of the input port (data indicating which bit is the data that was on at the time of the previous interrupt and turned off at the time of the current interrupt) And remember. Therefore, these data are updated every 2.235 ms.
また、割込み処理がいつ行われたかにかかわらず、入力ポート0〜2のD0〜D7ビットのすべてを検知する。たとえば、リール31の回転中(ストップスイッチ42が操作される前)は、遊技者によってベットスイッチ40が操作されることはあり得ないので、必ずしも入力ポート0のD1及びD2ビットのデータを取得する必要はないが、本実施形態では、すべてのビットのデータを取得する。そして、全ビットのデータを取得すれば、エラー判定を行うことも可能となる。たとえばリール31の回転中にベットスイッチ40の立ち上がりデータがオンになった場合が挙げられる。
また、たとえば入力ポート0の1バイトデータ(8ビット)を取得すれば、すべての操作スイッチのオン/オフの状況を知ることができる。
Also, all D0 to D7 bits of the input ports 0 to 2 are detected regardless of when the interrupt processing is performed. For example, since the player cannot operate the bet switch 40 while the reel 31 is rotating (before the
For example, if 1 byte data (8 bits) of the input port 0 is acquired, it is possible to know the on / off status of all the operation switches.
図4の出力ポート0では、D0〜D3ビットからは、左リール31のモータ32のφ0〜φ3の各信号が出力される。本実施形態のモータ32は、1−2相励磁によりリール31を回転するように構成されており、φ0〜φ3の4相の励磁の組合せでリール31を駆動するようにしているため、各相の信号がそれぞれ所定のビットから出力される。 In the output port 0 of FIG. 4, the signals φ0 to φ3 of the motor 32 of the left reel 31 are output from the D0 to D3 bits. The motor 32 of this embodiment is configured to rotate the reel 31 by 1-2 phase excitation, and the reel 31 is driven by a combination of four-phase excitations of φ0 to φ3. Are respectively output from predetermined bits.
また、出力ポート0のD6ビットからは、ブロッカ45を制御する信号(ブロッカ信号)が出力される。さらにまた、出力ポート0のD7ビットからは、ホッパーモータ36を駆動させるためのホッパーモータ駆動信号が出力される。
ここで、ブロッカ45は、ブロッカ信号が「1」(オン)であるときは、メダル投入口43とホッパー35aとを連結するメダル通路を形成し、「0」(オフ)であるときは、メダル投入口43と払出し口とを連結する通路(返却通路)を形成する。
そして、割込み処理により、ブロッカ45の駆動時には、出力ポート0のD6ビットからブロッカ信号として「1」を出力し、ブロッカ45の非駆動時には、出力ポート0のD6ビットからブロッカ信号として「0」を出力する。
A signal (blocker signal) for controlling the blocker 45 is output from the D6 bit of the output port 0. Furthermore, a hopper motor drive signal for driving the hopper motor 36 is output from the D7 bit of the output port 0.
Here, when the blocker signal is “1” (on), the blocker 45 forms a medal passage connecting the medal insertion port 43 and the hopper 35a, and when it is “0” (off), the medal A passage (return passage) that connects the inlet 43 and the outlet is formed.
When the blocker 45 is driven, “1” is output from the D6 bit of the output port 0 as a blocker signal, and “0” is output from the D6 bit of the output port 0 as the blocker signal when the blocker 45 is not driven. Output.
出力ポート1のD0〜D3ビットからは、中リール31のモータ32のφ0〜φの各信号が出力される。同様に、D4〜D7ビットからは、右リール31のモータ32のφ0〜φの各信号が出力される。
出力ポート2のD0ビットからは、3枚投入表示LED73gを点灯させるための3枚投入表示LED信号が出力され、D1ビットからは、2枚投入表示LED73fを点灯させるための2枚投入表示LED信号が出力され、D2ビットからは、1枚投入表示LED73eを点灯させるための1枚投入表示LED信号が出力される。
From the D0 to D3 bits of the
The D0 bit of output port 2 outputs a three-sheet insertion display LED signal for lighting the three-sheet
出力ポート2のD7ビットからは、サブ制御データストローブ信号が出力される。
ここで、サブ制御データストローブ信号とは、後述するサブ制御データ信号1〜16(第1制御コマンド及び第2制御コマンド)とともにサブ制御基板80に送信する信号であって、サブ制御データ信号1〜16の取得(読込み)タイミングを示す信号である。
サブ制御基板80は、サブ制御データストローブ信号を受信すると、このサブ制御データストローブ信号の立ち上がりに基づいて、サブ制御データ信号1〜16のデータをサブ制御基板80に設けられたバッファから取得するように制御する。なお、信号の送信タイミング等については後述する(図20)。
A sub control data strobe signal is output from the D7 bit of the output port 2.
Here, the sub-control data strobe signal is a signal transmitted to the
When receiving the sub control data strobe signal, the
出力ポート3は、LEDデジット信号の出力用に用いられる。また、出力ポート4は、LEDセグメント信号の出力用に用いられる。これらのLEDデジット信号及びLEDセグメント信号は、設定値表示LED64、貯留数表示LED71、獲得数表示LED72、状態表示LED73を点灯/消灯させるための信号である。出力ポート3でどのデジットを点灯させるかを定め、出力ポート4でどのセグメントを点灯させるかを定める。 The output port 3 is used for outputting an LED digit signal. The output port 4 is used for outputting an LED segment signal. These LED digit signal and LED segment signal are signals for turning on / off the set value display LED 64, the storage number display LED 71, the acquisition number display LED 72, and the status display LED 73. Which digit is lit at the output port 3 and which segment is lit at the output port 4 are determined.
ここで、「デジット」とは、表示部(ディスプレイ)を意味する。本実施形態では、デジットは、セブンセグメントディスプレイ(セブンセグメント表示部)から構成されている。また、セブンセグメントディスプレイは、8個のセグメントを備える。
そして、LEDデジット信号は、複数個のセブンセグメントディスプレイのうち、いずれのセブンセグメントディスプレイを点灯させるかを示す。また、LEDセグメント信号は、LEDデジット信号が示すセブンセグメントディスプレイが備える8個のセグメントのうち、いずれのセグメントを点灯させるかを示す。
Here, “digit” means a display unit (display). In this embodiment, the digit is composed of a seven segment display (seven segment display unit). The seven segment display has eight segments.
The LED digit signal indicates which of the plurality of seven segment displays is to be lit. The LED segment signal indicates which of the eight segments included in the seven segment display indicated by the LED digit signal is to be lit.
出力ポート5からは、外部信号1〜5、メダル払出し信号、及びメダル投入(ベット)信号が出力される。「外部信号」とは、外部集中端子板100を介してスロットマシン10の外部(ホールコンピュータや、ホールに設置されているデータカウンタ等)に出力するための信号である。
From the output port 5,
出力ポート6〜8は、サブ制御データ信号(サブ制御基板80に送信する制御コマンド)を出力するポートである。
出力ポート6のD0〜D7ビットからは、サブ制御データ信号17〜24(第3制御コマンド)が出力され、出力ポート7のD0〜D7ビットからは、サブ制御データ信号1〜8(第2制御コマンド)が出力され、出力ポート8のD0〜D7ビットからは、サブ制御データ9〜16(第1制御コマンド)が出力される。
The output ports 6 to 8 are ports for outputting sub control data signals (control commands transmitted to the sub control board 80).
Sub-control data signals 17 to 24 (third control command) are output from the D0 to D7 bits of the output port 6, and sub-control data signals 1 to 8 (second control command) are output from the D0 to D7 bits of the
本実施形態では、第1制御コマンド(サブ制御データ信号9〜16)及び第2制御コマンド(サブ制御データ信号1〜8)の2バイト(16ビット)で1つのコマンドを構成する。また、第1制御コマンド(上位1バイト)は、コマンドの種別を示し、第2制御コマンド(下位1バイト)は、その内容を示す。さらにまた、コマンドの種別として、たとえば、各種スイッチのオン/オフの状態を示す状態コマンド、各種エラーの検知/未検知を示すエラーコマンド、設定変更中又は設定確認中であるか否かを示す管理コマンド等を挙げることができる。 In this embodiment, one command is composed of 2 bytes (16 bits) of the first control command (sub control data signals 9 to 16) and the second control command (sub control data signals 1 to 8). The first control command (upper 1 byte) indicates the type of command, and the second control command (lower 1 byte) indicates the content thereof. Furthermore, as a command type, for example, a status command indicating the on / off state of various switches, an error command indicating detection / non-detection of various errors, management indicating whether the setting is being changed or is being confirmed. Commands etc. can be mentioned.
また、第1制御コマンドとして、状態コマンドを示すデータが設定されているときは、第2制御コマンドについては、サブ制御データ信号1(D0ビット)は、右ストップスイッチ42のオン/オフの状態を示す。同様に、サブ制御データ信号2(D1ビット)は、中ストップスイッチ42のオン/オフの状態を示し、サブ制御データ信号3(D2ビット)は、左ストップスイッチ42のオン/オフの状態を示し、サブ制御データ信号4(D3ビット)は、3ベットスイッチ40bのオン/オフの状態を示し、サブ制御データ信号5(D4ビット)は、スタートスイッチ41のオン/オフの状態を示す。
When data indicating a state command is set as the first control command, the sub control data signal 1 (D0 bit) indicates the on / off state of the
この場合、サブ制御データ信号1が「0」のときは、右ストップスイッチ42がオフの状態であることを示し、「1」のときは、オンの状態であることを示す。サブ制御データ信号2〜5についてもサブ制御データ信号1と同様に、「0」のときはオフの状態であることを示し、「1」のときはオンの状態であることを示す。
なお、サブ制御データ信号6〜8(D5〜D7ビット)についても所定の情報が割り当てられているが、本実施形態では説明を省略する。
In this case, when the sub control data signal 1 is “0”, it indicates that the
Although predetermined information is also assigned to the sub control data signals 6 to 8 (D5 to D7 bits), description thereof is omitted in this embodiment.
また、第1制御コマンドとして、エラーコマンドを示すデータが設定されているときは、第2制御コマンドについては、サブ制御データ信号1は、通路センサーエラーの検知/未検知を示し、サブ制御データ信号2は、投入センサーエラーの検知/未検知を示し、サブ制御データ信号3は、払出しセンサーエラーの検知/未検知を示す。 When data indicating an error command is set as the first control command, for the second control command, the sub control data signal 1 indicates detection / non-detection of the passage sensor error, and the sub control data signal 2 indicates detection / non-detection of the input sensor error, and the sub-control data signal 3 indicates detection / non-detection of the payout sensor error.
この場合、サブ制御データ信号1が「0」のときは、通路センサエラーを検知していない(未検知である)ことを示し、「1」のときは、通路センサエラーを検知したことを示す。サブ制御データ信号2及び3についてもサブ制御データ信号1と同様に、「0」のときは未検知を示し、「1」のときは検知を示す。
なお、サブ制御データ信号4〜8についても所定の情報が割り当てられているが、本実施形態では説明を省略する。
In this case, when the sub control data signal 1 is “0”, it indicates that a passage sensor error is not detected (not detected), and when it is “1”, it indicates that a passage sensor error has been detected. . Similarly to the sub-control data signal 1, the sub-control data signals 2 and 3 indicate “not detected” when “0” and indicate detected when “1”.
Although predetermined information is also assigned to the sub control data signals 4 to 8, description thereof is omitted in the present embodiment.
また、第1制御コマンドとして、管理コマンドを示すデータが設定されているときは、第2制御コマンドについては、サブ制御データ信号1は、設定変更中であるか否かを示し、サブ制御データ信号2は、設定確認中であるか否かを示す。
この場合、サブ制御データ信号1が「0」のときは、設定変更中でないことを示し、「1」のときは、設定変更中であることを示す。同様に、サブ制御データ信号2が「0」のときは、設定確認中でないことを示し、「1」のときは、設定確認中であることを示す。
なお、サブ制御データ信号3〜8についても所定の情報が割り当てられているが、本実施形態では説明を省略する。
When data indicating a management command is set as the first control command, for the second control command, the sub control data signal 1 indicates whether the setting is being changed, and the sub control data signal 2 indicates whether the setting is being confirmed.
In this case, when the sub control data signal 1 is “0”, it indicates that the setting is not being changed, and when it is “1”, it indicates that the setting is being changed. Similarly, when the sub control data signal 2 is “0”, it indicates that the setting is not being confirmed, and when it is “1”, it indicates that the setting is being confirmed.
Although predetermined information is also assigned to the sub-control data signals 3 to 8, description thereof is omitted in this embodiment.
第3制御コマンドは、1バイト(8ビット)で1つのコマンドを構成する。第3制御コマンドについては、サブ制御データ信号17(D0ビット)は、右ストップスイッチ42が操作を受付け可能な状態であるか否かを示し、サブ制御データ信号18(D1ビット)は、中ストップスイッチ42が操作を受付け可能な状態であるか否かを示し、サブ制御データ信号19(D2ビット)は、左ストップスイッチ42が操作を受付け可能な状態であるか否かを示す。
また、サブ制御データ信号20(D3ビット)は、3ベットスイッチ40bが操作を受付け可能な状態であるか否かを示す。
The third control command constitutes one command with one byte (8 bits). For the third control command, the sub control data signal 17 (D0 bit) indicates whether or not the
The sub control data signal 20 (D3 bit) indicates whether or not the 3-bet switch 40b is ready to accept an operation.
さらにまた、サブ制御データ信号21(D4ビット)は、設定変更/リセットスイッチ53のオン/オフの状態を示し、サブ制御データ信号22(D5ビット)は、設定キースイッチ52のオン/オフの状態を示し、サブ制御データ信号23(D6ビット)は、ドアスイッチ16のオン/オフの状態を示し、サブ制御データ信号24(D7ビット)は、設定ドアスイッチ54のオン/オフの状態を示す。 Furthermore, the sub control data signal 21 (D4 bit) indicates the ON / OFF state of the setting change / reset switch 53, and the sub control data signal 22 (D5 bit) indicates the ON / OFF state of the setting key switch 52. The sub control data signal 23 (D6 bit) indicates the ON / OFF state of the door switch 16, and the sub control data signal 24 (D7 bit) indicates the ON / OFF state of the setting door switch 54.
そして、サブ制御データ信号17が「0」のときは、右ストップスイッチ42が操作を受付け不可の状態であることを示し、「1」のときは、操作を受付け可能な状態であることを示す。サブ制御データ信号18〜20についてもサブ制御データ信号17と同様に、「0」のときは操作を受付け不可の状態であることを示し、「1」のときは操作を受付け可能な状態であることを示す。
When the sub control data signal 17 is “0”, it indicates that the
また、サブ制御データ信号21が「0」のときは、設定変更/リセットスイッチ53がオフの状態であることを示し、「1」のときは、オンの状態であることを示す。サブ制御データ信号22〜24についてもサブ制御データ信号21と同様に、「0」のときはオフの状態であることを示し、「1」のときはオンの状態であることを示す。 Further, when the sub control data signal 21 is “0”, it indicates that the setting change / reset switch 53 is in an off state, and when it is “1”, it indicates that it is in an on state. Similarly to the sub control data signal 21, the sub control data signals 22 to 24 indicate that the sub control data signals 22 to 24 are in an off state, and “1” indicates that the sub control data signals 22 to 24 are in an on state.
たとえば、左、中、及び右ストップスイッチ42が操作を受付け可能な状態であり、かつ3ベットスイッチ40bが操作を受付け不可の状態であり、かつ設定変更/リセットスイッチ53、設定キースイッチ52、ドアスイッチ16、及び設定ドアスイッチ54がオフの状態であるとする。
この場合、出力ポート6からは、第3制御コマンド(サブ制御データ信号17〜24)として、「00000111B」が出力される。
For example, the left, middle, and right stop switches 42 are in a state that can accept an operation, and the 3-bet switch 40b is in a state that cannot accept an operation, and a setting change / reset switch 53, a setting key switch 52, a door Assume that the switch 16 and the setting door switch 54 are off.
In this case, “00000111B” is output from the output port 6 as the third control command (sub-control data signals 17 to 24).
出力ポート9及び10は、試験機に対して所定の信号(情報)を送信するポートに設定されている。ここで、「試験信号」とは、スロットマシン10(遊技機)と試験機とを接続し、スロットマシン10から試験機に対して所定の信号を送信することで、スロットマシン10が「遊技機の認定及び型式の検定等に関する規則」に則って設計されているかを確認するために用いられる信号である。なお、スロットマシン10と試験機との接続は、直接接続されるものだけでなく、中継するためのインターフェイスボードを介して接続してもよい。 The output ports 9 and 10 are set as ports that transmit predetermined signals (information) to the testing machine. Here, the “test signal” means that the slot machine 10 connects the slot machine 10 (game machine) and the test machine and transmits a predetermined signal from the slot machine 10 to the test machine. It is a signal used to confirm whether it is designed according to the “Rules for Certification and Type Verification”. The connection between the slot machine 10 and the testing machine is not limited to a direct connection, but may be connected via an interface board for relaying.
出力ポート9には、条件装置1〜8信号が割り当てられている。ここで、「条件装置」とは、いわゆる当選番号(当選の種類)を示すものである。出力ポート9から信号を出力することにより、当該遊技ではどの条件装置がオンであるか(どの当選となったか)を外部に知らせることができる。
また、出力ポート10は、試験信号1〜8の出力ポートである。
以上のようにして、一割込み内で、入力ポート0〜2の信号に基づくデータ(「レベルデータ」と称する。)を記憶するとともに、出力ポート0〜10に対しては、記憶されている制御データに基づき信号を出力する。
The output port 10 is an output port for the
As described above, data (referred to as “level data”) based on the signals of the input ports 0 to 2 is stored within one interrupt, and the stored control for the output ports 0 to 10 is stored. A signal is output based on the data.
図7は、RWM61に記憶されるデータの格納アドレス(番地)とその内容を示す図である。なお、RWM61に記憶されるデータは、図7に示すデータに限られるものではない。
図7において、アドレス「F113」〜「F153」の「_BF_SUBCMD」は、制御コマンドバッファ(リングバッファ)の記憶領域であり、サブ制御基板80に送信する制御コマンドが記憶される。この記憶領域は、「F113」〜「F153」(H)の64バイト確保されている。制御コマンドバッファには、アドレス順に制御コマンドが記憶されていき、アドレス「F153」に制御コマンドが記憶されると、次に制御コマンドが記憶されるアドレスは、「F113」となる。
FIG. 7 is a diagram showing a storage address (address) of data stored in the RWM 61 and its contents. Note that the data stored in the RWM 61 is not limited to the data shown in FIG.
In FIG. 7, “_BF_SUBCMD” of addresses “F113” to “F153” is a storage area of the control command buffer (ring buffer), and stores a control command to be transmitted to the
アドレス「F017」の「_NB_CMDREAD 」は、制御コマンド読み込みポインタ値の記憶領域である。この値は、制御コマンドバッファのどのアドレスを読み込めばよいかを記憶する値であり、当該アドレスの制御コマンドバッファのデータが読み込まれると、「1」インクリメントされる。
アドレス「F018」の「_NB_CMDSTORE」は、制御コマンド書き込みポインタ値の記憶領域である。この値は、制御コマンドバッファのどのアドレスに制御コマンドを書き込めばよいかを記憶する値であり、当該アドレスの制御コマンドバッファに制御コマンドが書き込まれると、「1」インクリメントされる。
“_NB_CMDREAD” of the address “F017” is a storage area of the control command read pointer value. This value is a value for storing which address of the control command buffer should be read, and is incremented by “1” when the data of the control command buffer at the address is read.
“_NB_CMDSTORE” of the address “F018” is a storage area of the control command write pointer value. This value is a value for storing at which address in the control command buffer the control command should be written, and is incremented by “1” when the control command is written into the control command buffer at the address.
ここで、スロットマシン10での遊技の進行の概略を示す。
遊技の開始時には、遊技者は、ベットスイッチ40を操作して予め貯留されたメダルを投入するか、又はメダル投入口43からメダルを投入し、スタートスイッチ41を操作(オン)する。スタートスイッチ41が操作されると、そのときに発生する信号がメイン制御基板60に入力される。メイン制御基板60(具体的には、後述するリール制御手段63g)は、この信号を受信すると、すべてのモータ32を駆動制御して、すべてのリール31を回転させるように制御する。このようにしてリール31がモータ32によって回転することで、リール31上の図柄は所定の速度で表示窓内で上下方向に移動表示される。
Here, an outline of the progress of the game in the slot machine 10 is shown.
At the start of the game, the player operates the bet switch 40 to insert a previously stored medal, or inserts a medal from the medal insertion slot 43, and operates (turns on) the start switch 41. When the start switch 41 is operated, a signal generated at that time is input to the main control board 60. When receiving this signal, the main control board 60 (specifically, a reel control unit 63g described later) controls to drive all the motors 32 and rotate all the reels 31. As the reel 31 is rotated by the motor 32 in this manner, the symbols on the reel 31 are moved and displayed in the vertical direction in the display window at a predetermined speed.
そして、遊技者は、ストップスイッチ42を押すことで、そのストップスイッチ42に対応するリール31(たとえば、左ストップスイッチ42に対応する左リール31)の回転を停止させる。ストップスイッチ42が操作されると、そのときに発生する信号がメイン制御基板60に入力される。メイン制御基板60(具体的には、後述するリール制御手段63g)は、この信号を受信すると、そのストップスイッチ42に対応するモータ32を駆動制御して、そのモータ32に係るリール31の停止制御を行う。
Then, the player presses the
そして、すべてのリール31の停止時における図柄の組合せにより、当該遊技の遊技結果を表示する。さらに、いずれかの役に対応する図柄の組合せが有効ラインに停止したとき(その役の入賞となったとき)は、入賞した役に対応するメダルの払出し等が行われる。 Then, the game result of the game is displayed by the combination of symbols when all the reels 31 are stopped. Furthermore, when the combination of symbols corresponding to any of the winning combinations stops on the active line (when the winning combination of the winning combination), a medal corresponding to the winning combination is paid out.
次に、メイン制御基板60の具体的構成について説明する。
図1に示すように、メイン制御基板60のメインCPU63は、以下の設定変更手段63a等を備える。なお、本実施形態における以下の各手段は例示であり、本実施形態で示した手段に限定されるものではない。
Next, a specific configuration of the main control board 60 will be described.
As shown in FIG. 1, the main CPU 63 of the main control board 60 includes the following setting change means 63a and the like. Note that the following means in the present embodiment are examples, and are not limited to the means shown in the present embodiment.
設定変更手段63aは、設定値を変更・決定する手段である。
ここで、設定値とは、遊技者の有利度、より具体的にはメダルの投入枚数に対する払出し枚数の期待値(遊技者が獲得できるメダル)の程度を定めるものであり、本実施形態では設定1〜設定6の6段階を設けている。
そして、設定値が高くなるほど、少なくとも一部の役(特に、特別役)の当選確率が高く設定される等、遊技者にとっての有利度が高くなるように設定している。
また、設定値が高くなるほど、ATに当選する確率が高くなるように設定している。
なお、ATに移行する確率を高くすることのみに限られるものではなく、たとえばAT中の遊技回数や払出し枚数を上乗せする確率を高くしたり、ATを継続する確率を高くしてもよい。
The setting change means 63a is a means for changing and determining the set value.
Here, the set value defines the degree of player's advantage, more specifically, the expected value of the payout number with respect to the number of inserted medals (medals that can be acquired by the player), and is set in this embodiment. 1 to setting 6 stages are provided.
Then, the higher the set value, the higher the advantage for the player, such as the higher the winning probability of at least some of the combinations (particularly, special combinations).
Also, the higher the set value, the higher the probability of winning the AT.
In addition, it is not restricted only to making the probability which transfers to AT high, For example, the probability of adding up the number of games and payout number in AT may be made high, and the probability of continuing AT may be made high.
設定値を設定・変更するには、電源スイッチ51、設定キースイッチ52、設定変更/リセットスイッチ53が用いられる。
本実施形態では、電源スイッチ51を一旦オフにし、電源断をした後に、設定キー挿入口に設定キーを差し込み、これを時計回りに90度回転させると、設定キースイッチ52がオンとなる。この状態で電源スイッチ51を再度オンにすると、設定変更中、すなわち設定変更モードになる。この場合、通常の立ち上げ処理は行われない。したがって、設定変更中にするためには、電源スイッチ51のオン/オフ操作が必要である。
In order to set / change the set value, a power switch 51, a setting key switch 52, and a setting change / reset switch 53 are used.
In the present embodiment, when the power switch 51 is once turned off and the power is turned off, a setting key is inserted into the setting key insertion slot and rotated 90 degrees clockwise, the setting key switch 52 is turned on. When the power switch 51 is turned on again in this state, the setting is being changed, that is, the setting changing mode is entered. In this case, normal startup processing is not performed. Therefore, in order to change the setting, the power switch 51 needs to be turned on / off.
設定変更モードでは、設定変更手段63aは、設定値表示LED64に、現在の設定値を表示する。
また、設定変更手段63aは、設定変更/リセットスイッチ53が1回操作(オン)されるごとに、設定値の表示を、・・・→「1」→「2」→「3」→「4」→「5」→「6」→「1」→「2」→・・・と順次変化させる。
In the setting change mode, the setting changing means 63a displays the current setting value on the setting value display LED 64.
The setting change means 63a displays the set value every time the setting change / reset switch 53 is operated (turned on) once... → “1” → “2” → “3” → “4” “→” 5 ”→“ 6 ”→“ 1 ”→“ 2 ”→...
さらに、設定変更手段63aは、スタートスイッチ41がオンにされると、このときに設定値表示LED64に表示していた数値で設定値を決定し、設定値が決定されたことを示す「0」を設定値表示LED64に表示する。ここで決定された設定値は、RWM61の所定記憶領域に、設定値データとして記憶される。
そして、設定キーを反時計回りに90度回転させて設定キースイッチ52をオフにすると、設定変更後の設定値で遊技が可能となる。
Further, when the start switch 41 is turned on, the setting change means 63a determines the setting value with the numerical value displayed on the setting value display LED 64 at this time, and “0” indicating that the setting value has been determined. Is displayed on the set value display LED 64. The set value determined here is stored as set value data in a predetermined storage area of the RWM 61.
Then, if the setting key switch 52 is turned off by rotating the setting key 90 degrees counterclockwise, the game can be performed with the setting value after the setting change.
なお、本実施形態では、設定キースイッチ52のオフの判定は、設定キースイッチ52の立ち下がりデータに基づいて実行されるように構成されているが、設定キースイッチ52のオン/オフの状態に基づいて実行されるように構成してもよい。
また、設定キー挿入口から設定キーを抜かなければ設定変更後の設定値で遊技ができないように構成してもよい。
さらに、設定キーを反時計回りに90度回転させて設定キースイッチ52をオフにし、設定キー挿入口から設定キーを抜き、この状態で電源スイッチ51を一旦オフにした後に再度オンにしなければ、設定変更後の設定値で遊技ができないように構成してもよい。
In this embodiment, the determination of the setting key switch 52 being turned off is performed based on the falling data of the setting key switch 52. However, the setting key switch 52 is turned on / off. You may comprise so that it may be performed based on.
Further, it may be configured so that the game cannot be performed with the setting value after the setting change unless the setting key is removed from the setting key insertion slot.
Further, if the setting key is rotated 90 degrees counterclockwise to turn off the setting key switch 52, the setting key is removed from the setting key insertion slot, and the power switch 51 is once turned off in this state and then not turned on again. You may comprise so that a game cannot be performed with the setting value after a setting change.
また、メダルがベットされていない状態で、かつ役抽選が行われていない状態(スタートスイッチ41の操作前)で、設定キーが設定キー挿入口に挿入され、設定キースイッチ52がオンにされると、設定確認中、すなわち、設定確認モードになる。このように、設定値を確認するだけの場合には、電源スイッチ51のオン/オフは不要である。設定確認中は、設定変更中と同様に、現時点での設定値が設定表示LED64に表示される。
さらにまた、設定キースイッチ52がオンにされた状態で、電源スイッチ51がオンにされると、リセット、すなわち初期化処理が行われる。
In addition, in the state where no medals are bet and the part lottery is not performed (before the start switch 41 is operated), the setting key is inserted into the setting key insertion slot, and the setting key switch 52 is turned on. In the setting confirmation mode, that is, the setting confirmation mode is entered. Thus, when only the set value is confirmed, it is not necessary to turn on / off the power switch 51. During the setting confirmation, the setting value at the present time is displayed on the setting display LED 64 as in the case of the setting change.
Furthermore, when the power switch 51 is turned on while the setting key switch 52 is turned on, reset, that is, initialization processing is performed.
条件装置抽選手段63bは、条件装置(すなわち、当選役)の抽選(決定、選択)を行う。ここで、「条件装置」とは、1又は複数の役からなる役抽選対象であり、たとえば一つの条件装置に当選(決定、選択)すると、その条件装置に含まれる役の当選となる。
したがって、条件装置抽選手段63bは、役抽選手段、当選役決定(又は選択)手段、等とも称される。
The condition device lottery means 63b performs lottery (determination, selection) of the condition device (that is, the winning combination). Here, the “condition device” is a winning lottery object composed of one or a plurality of roles. For example, when one condition device is won (determined or selected), the winning combination included in the condition device is won.
Accordingly, the condition device lottery means 63b is also referred to as a role lottery means, a winning combination determination (or selection) means, and the like.
また、「条件装置の当選」は、役抽選結果、当選番号、当選結果、等とも称される。
条件装置抽選手段63bは、たとえば、抽選用の乱数発生手段(ハードウェア乱数等)と、この乱数発生手段が発生する乱数を抽出する乱数抽出手段と、乱数抽出手段が抽出した乱数値に基づいて、条件装置の当選の有無及び当選した条件装置を判定する判定手段とを備えている。
Also, “winning condition device” is also referred to as a role lottery result, a winning number, a winning result, or the like.
The condition device lottery means 63b is based on, for example, a random number generating means (hardware random number, etc.) for lottery, a random number extracting means for extracting a random number generated by the random number generating means, and a random value extracted by the random number extracting means. And determining means for determining whether or not the condition device has been won and for determining the selected condition device.
乱数発生手段は、所定の領域(たとえば10進数で「0」〜「65535」)の乱数を発生させる。乱数は、たとえば200n(ナノ)secで1カウントを行うカウンターが「0」〜「65535」の範囲を1サイクルとしてカウントし続ける乱数であり、スロットマシン10の電源が投入されている間は、乱数をカウントし続ける。
乱数抽出手段は、乱数発生手段によって発生した乱数を、所定の時、本実施形態では遊技者によりスタートスイッチ41が操作(オン)された時に抽出する。判定手段は、乱数抽出手段により抽出された乱数値を、条件装置抽選テーブルと照合することにより、その乱数値が属する領域に対応する条件装置を決定する。
The random number generation means generates random numbers in a predetermined area (for example, “0” to “65535” in decimal numbers). The random number is, for example, a random number for which a counter that performs 1 count at 200 n (nano) sec continues to count as a cycle in a range of “0” to “65535”. While the slot machine 10 is powered on, the random number Keep counting.
The random number extraction means extracts the random number generated by the random number generation means at a predetermined time, in the present embodiment, when the start switch 41 is operated (turned on) by the player. The judging means collates the random number value extracted by the random number extracting means with the condition device lottery table, thereby determining the condition device corresponding to the region to which the random number value belongs.
当選フラグ制御手段63cは、条件装置抽選手段63bによる抽選結果に基づいて、各役に対応する当選フラグのオン/オフを制御するものである。本実施形態では、すべての役について、各役ごとに当選フラグを備える。そして、条件装置抽選手段63bによる抽選においていずれかの条件装置の当選となったときは、その条件装置に含まれる役の当選フラグをオンにする(当選フラグを立てる)。 The winning flag control means 63c controls the on / off of the winning flag corresponding to each combination based on the lottery result by the condition device lottery means 63b. In this embodiment, a winning flag is provided for each combination for all combinations. When any of the condition devices is won in the lottery by the condition device lottery means 63b, the winning flag of the combination included in the condition device is turned on (the winning flag is set).
また、特別役以外の小役及びリプレイの当選は持ち越されないので、当該遊技で小役又はリプレイに当選し、これらの役の当選フラグがオンにされても、当該遊技の終了時にその当選フラグがオフにされる。
これに対し、特別役の当選は持ち越されるので、当該遊技で特別役に当選し、当選した特別役に係る当選フラグが一旦オンになったときは、その特別役が入賞するまでオンの状態が維持され、その特別役が入賞した時点でオフにされる。
In addition, since winnings for small roles other than special roles and replays are not carried over, even if a small role or replay is won in the game and the winning flags for these roles are turned on, the winning flag at the end of the game Is turned off.
On the other hand, since the winning of the special role is carried over, when the special role is won in the game, and the winning flag related to the selected special role is once turned on, it remains on until the special role is won. It is maintained and turned off when the special role wins.
リール制御手段63gは、リール31の回転開始命令を受けたとき、本実施形態ではスタートスイッチ41が操作(オン)されたときに、すべて(3つ)のリール31の回転を開始するように制御する。さらに、リール制御手段63gは、条件装置抽選手段63bにより条件装置の抽選が行われた後、当該遊技における当選フラグのオン/オフを参照して、当選フラグのオン/オフに対応する停止位置決定テーブルを選択するとともに、ストップスイッチ42が操作されたときに、ストップスイッチ42が操作されたときのタイミングに基づいて、そのストップスイッチ42に対応するリール31の停止位置を決定するとともに、モータ32を駆動制御して、その決定した位置にそのリール31を停止させるように制御する。
The reel control means 63g controls to start rotation of all (three) reels 31 when a rotation start command for the reels 31 is received, or when the start switch 41 is operated (turned on) in this embodiment. To do. Furthermore, after the conditional device lottery means 63b performs the lottery of the condition device, the reel control unit 63g refers to the on / off of the winning flag in the game, and determines the stop position corresponding to the on / off of the winning flag. The table is selected, and when the
たとえば、リール制御手段63gは、少なくとも1つの当選フラグがオンである遊技では、リール31の停止制御の範囲内において、当選役(当選フラグがオンになっている役)に対応する図柄の組合せを有効ラインに停止可能にリール31を停止制御するとともに、当選役以外の役(当選フラグがオフになっている役)に対応する図柄の組合せを有効ラインに停止させないようにリール31を停止制御する。 For example, in a game in which at least one winning flag is on, the reel control means 63g selects a combination of symbols corresponding to the winning combination (the combination with the winning flag turned on) within the range of the stop control of the reel 31. The reel 31 is stopped and controlled so as to be able to stop on the active line, and the reel 31 is stopped and controlled so as not to stop the combination of symbols corresponding to the winning combination other than the winning combination (the winning combination is off) on the effective line. .
ここで、「リール31の停止制御の範囲内」とは、ストップスイッチ42が操作された瞬間からリール31が実際に停止するまでの時間又はリール31の回転量(移動コマ(図柄)数)の範囲内を意味する。
本実施形態では、リール31は、定速時は1分間で約80回転する速度で回転する。また、ストップスイッチ42が操作されたときは、ストップスイッチ42が操作された瞬間からリール31を停止させるまでの時間が190ms以内に設定されている。これにより、本実施形態では、ストップスイッチ42が操作された瞬間の図柄からリール31が停止するまでの最大移動コマ数が4コマに設定されている。
Here, “within the range of stop control of the reel 31” means the time from the moment when the
In the present embodiment, the reel 31 rotates at a speed of about 80 rotations per minute at a constant speed. Further, when the
そして、ストップスイッチ42の操作を検知した瞬間に、リール31の停止制御の範囲内にある図柄のいずれかが所定の有効ラインに停止させるべき図柄であるときは、ストップスイッチ42が操作されたときに、その図柄が所定の有効ラインに停止するように制御する。
すなわち、ストップスイッチ42が操作された瞬間に直ちにリール31を停止させると、当選役に係るその図柄が所定の有効ラインに停止しないときには、リール31を停止させるまでの間に、リール31の停止制御の範囲内においてリール31を回転移動制御することで、当選役に係る図柄をできる限り所定の有効ラインに停止させるように制御する(引込み停止制御)。
At the moment when the operation of the
That is, if the reel 31 is stopped immediately at the moment when the
また逆に、ストップスイッチ42が操作された瞬間に直ちにリール31を停止させると、当選していない役に対応する図柄の組合せが有効ラインに停止してしまうときは、リール31の停止時に、リール31の停止制御の範囲内においてリール31を回転移動制御することで、当選していない役に対応する図柄の組合せを有効ラインに停止させないように制御する(蹴飛ばし停止制御)。
さらに、複数の役に当選している遊技では、ストップスイッチ42の押し順や、ストップスイッチ42の操作タイミング等に応じて、入賞させる役の優先順位が予め定められており、所定の優先順位によって、最も優先する図柄の引込み停止制御を行う。
Conversely, if the reel 31 is stopped immediately at the moment when the
Furthermore, in a game in which a plurality of winning combinations are won, the priority order of winning combinations is determined in advance according to the pressing order of the
さらに、リール制御手段63gは、ストップスイッチ42の押し順(操作順番)を検出する。リール制御手段63gは、遊技者によりストップスイッチ42が操作されたときに、左、中、及び右ストップスイッチ42のうち、いずれが操作されたかを検出する。
ストップスイッチ42が操作されると、そのストップスイッチ42が操作された旨の信号がリール制御手段63gに入力される。この信号を判別することで、リール制御手段63gは、どのストップスイッチ42が操作されたかを検出する。そして、操作されたストップスイッチ42に対応するリール31の停止制御を実行する。
Further, the reel control means 63g detects the pressing order (operation order) of the
When the
さらに、リール制御手段63gは、各条件装置ごとに停止位置決定テーブルを備える。停止位置決定テーブルは、ストップスイッチ42が操作された瞬間のリール31の位置に対する、リール31の停止位置を定めたものである。そして、各停止位置決定テーブルには、たとえば1番の図柄が中段を通過する瞬間にストップスイッチ42が操作されたときは、何図柄だけ移動制御して(何コマスベリで)、何番の図柄を中段に停止させる、というように停止位置が事前に定められている。
Further, the reel control means 63g includes a stop position determination table for each condition device. The stop position determination table defines the stop position of the reel 31 with respect to the position of the reel 31 at the moment when the
また、適切なリール31の位置で(対象図柄を最大移動コマ数の範囲内において有効ラインに停止可能な操作タイミングで)ストップスイッチ42を操作しなければ、対象図柄を有効ラインに停止させる(有効ラインまで引き込む)ことができないことを、「PB(引込み率)≠1」と称する。
これに対し、ストップスイッチ42が操作された瞬間のリール31がどの位置であっても(ストップスイッチ42の操作タイミングにかかわらず)、対象図柄を常に有効ラインに停止させる(引き込む)ことができることを、「PB=1」と称する。
If the
On the other hand, regardless of the position of the reel 31 at the moment when the
そして、「PB=1」は、その役について、全リール31がそのようになっている場合と、特定の(一部の)リール31についてのみそのようになっている場合とを有する。
本実施形態では、最大移動コマ数は「4」であるので、5図柄以内の間隔で対象図柄が配列されているときは、「PB=1」となり、5図柄を超える(6図柄以上の)間隔で配列されているときは、「PB≠1」となる。
“PB = 1” has a case in which all the reels 31 are in such a role and a case in which only a specific (partial) reel 31 is in that role.
In the present embodiment, since the maximum number of moving frames is “4”, when the target symbols are arranged at intervals of 5 symbols or less, “PB = 1”, which exceeds 5 symbols (more than 6 symbols). When arranged at intervals, “PB ≠ 1”.
また、複数の小役が同時に当選(重複当選)している場合のリール31を停止制御する方法としては、以下の方法が挙げられる。
第1優先として、当選している図柄の組合せを構成する(当該リール31の)図柄のすべてを有効ラインに停止可能であるときは、その位置でリール31を停止させる。
Further, as a method for stopping and controlling the reel 31 when a plurality of small combinations are simultaneously won (duplicate win), the following methods can be mentioned.
As the first priority, when all of the symbols constituting the winning symbol combination (of the reel 31) can be stopped on the active line, the reel 31 is stopped at that position.
次に、「当選している図柄の組合せを構成する図柄のすべてを有効ラインに停止させる」ことができないとき(第1優先を採用することができないとき)は、第2優先として、「枚数優先」又は「個数優先」のいずれかによりリール31を停止制御する。
ここで、「枚数優先」とは、重複当選している図柄の組合せのうち、払出し枚数の最も多い図柄の組合せを構成する当該リール31の図柄を優先して有効ラインに停止させる(引き込む)ことをいう。
一方、「個数優先」とは、有効ラインに停止可能となる図柄の組合せ数が最も多くなるように、当該リール31の図柄を有効ラインに停止させることをいう。
Next, when it is not possible to “stop all of the symbols that make up the winning symbol combination on the active line” (when the first priority cannot be adopted), the second priority is set to “number priority” ”Or“ number priority ”, the reel 31 is controlled to stop.
Here, the “number priority” is to stop (pull in) the symbol of the reel 31 that constitutes the symbol combination having the largest number of payouts among the combinations of symbols that are selected in duplicate, with priority on the line. Say.
On the other hand, “number priority” means that the symbols on the reel 31 are stopped on the effective line so that the number of combinations of symbols that can be stopped on the effective line is maximized.
入賞判定手段63hは、リール31の停止時に、有効ラインに停止したリール31の図柄の組合せが、いずれかの役に対応する図柄の組合せと一致するか否か(いずれかの役が入賞したか否か)を判断するものである。入賞判定手段63hは、たとえばモータ32の停止時の角度やステップ数等を検知することにより、有効ライン上の図柄を判断する。 The winning determination means 63h determines whether the combination of symbols on the reel 31 stopped on the active line matches the combination of symbols corresponding to any combination when the reel 31 is stopped (whether any combination has won a prize). Or not). The winning determination means 63h determines the symbol on the active line by detecting, for example, the angle when the motor 32 is stopped, the number of steps, and the like.
払出し手段63iは、入賞判定手段63hにより、リール31の停止時に有効ラインに停止した図柄の組合せがいずれかの役に対応する図柄の組合せと一致すると判断され、その役の入賞となったときに、その入賞役に応じて所定枚数のメダルを遊技者に対して払い出すか、又はクレジットの加算等の処理を行うものである。また、リプレイの入賞時には、メダルを払い出すことなく、当該遊技で投入されたメダル枚数を自動投入するように制御する。 The payout means 63i determines that the combination of symbols stopped on the active line when the reel 31 is stopped matches the combination of symbols corresponding to any of the combinations by the winning determination unit 63h, and the winning combination 63i Depending on the winning combination, a predetermined number of medals are paid out to the player, or credits are added. Also, when winning a replay, control is performed so that the number of medals inserted in the game is automatically inserted without paying out medals.
サブ制御基板80は、遊技中及び遊技待機中における演出(情報)の選択や出力等を制御するものである。
メイン制御基板60とサブ制御基板80とは、電気的に接続されており、メイン制御基板60から、パラレル通信によってサブ制御基板80に一方向で演出等に必要な情報(制御コマンド等)を送信する。
The
The main control board 60 and the
また、メイン制御基板60と同様に、サブ制御基板80は、RWM81、ROM(サブROM)82、及びサブCPU83等を備える。
RWM(サブメモリ)81は、サブCPU83が演出を制御するときに取り込んだデータ等を一時的に記憶可能な記憶媒体である。
また、ROM(サブROM)82は、演出用データとして、演出に係る抽選を行うとき等のプログラムや各種データ等を記憶しておく記憶媒体である。
Similarly to the main control board 60, the
The RWM (sub memory) 81 is a storage medium capable of temporarily storing data and the like captured when the sub CPU 83 controls the effect.
A ROM (sub-ROM) 82 is a storage medium for storing programs such as a lottery for production, various data, etc. as production data.
サブ制御基板80には、入力ポート又は出力ポート(図1では図示を省略する)を介して、図1に示すような以下の演出用の周辺機器が電気的に接続されている。ただし、演出用の周辺機器は、これらに限られるものではない。
演出ランプ21は、たとえばLED等からなり、所定の条件を満たしたときに、それぞれ所定のパターンで点灯する。なお、演出ランプ21には、各リール31の内周側に配置され、リール31に表示された図柄(表示窓から見える上下に連続する3図柄)を背後から照らすためのバックランプ、リール31の上部からリール31上の図柄を照光する蛍光灯、スロットマシン10のフロントカバー前面に配置され、役の入賞時等に点滅する枠ランプ等が含まれる。
1 is connected to the
The effect lamp 21 is made of an LED, for example, and lights up in a predetermined pattern when a predetermined condition is satisfied. The effect lamp 21 is arranged on the inner peripheral side of each reel 31, and a back lamp for illuminating from behind the symbols displayed on the reel 31 (three symbols that are continuously visible from the display window). Fluorescent lamps that illuminate the symbols on the reel 31 from above, and a frame lamp that is arranged on the front surface of the front cover of the slot machine 10 and blinks when winning a winning combination.
また、スピーカ22は、遊技中に各種の演出を行うべく、所定の条件を満たしたときに、所定のサウンドを出力するものである。
さらにまた、画像表示装置23は、液晶ディスプレイ、有機ELディスプレイ、ドットディスプレイ等からなるものであり、遊技中に各種の演出画像(1BB遊技中及びAT中の押し順、条件装置の抽選結果に対応する演出等)や、遊技情報(1BB遊技及びAT中の遊技回数や獲得枚数等)等を表示するものである。
また、十字キー24及びプッシュボタン25は、遊技者が意図する情報を表示させたりするときや、ホール管理者(店長等)が各種の設定を変更するとき等に用いられる。
The speaker 22 outputs a predetermined sound when a predetermined condition is satisfied in order to perform various effects during the game.
Furthermore, the image display device 23 is composed of a liquid crystal display, an organic EL display, a dot display, and the like, and supports various effect images during the game (push order during 1BB game and AT, lottery results of condition devices) Etc.), game information (1BB game, number of games during AT, number of acquired games, etc.), and the like are displayed.
The cross key 24 and the push button 25 are used when displaying information intended by the player or when a hall manager (store manager or the like) changes various settings.
サブCPU83は、演出出力制御手段83aを備える。
演出出力制御手段83aは、メイン制御基板60から送信されてくる制御コマンドに基づいて、どのようなタイミングで(スタートスイッチ41の操作時や各ストップスイッチ42の操作時等)、どのような演出を出力するか(ランプ21をどのように点灯、点滅又は消灯させるか、スピーカ22からどのようなサウンドを出力するか、及び画像表示装置23にどのような画像を表示させるか等)の具体的な演出内容を抽選によって決定する。
The sub CPU 83 includes effect output control means 83a.
The production output control means 83a, based on the control command transmitted from the main control board 60, at what timing (when the start switch 41 is operated, when each
そして、演出出力制御手段83aは、その決定に従い、演出ランプ21、スピーカ22、画像表示装置23の出力を制御する。また、1BB遊技中やAT中は、ストップスイッチ42の押し順、獲得枚数、残り遊技回数等を画像表示する。
さらに、演出出力制御手段83aは、AT中に、メイン制御基板60から送信される押し順指示番号を受信すると、受信した押し順指示番号に対応する正解押し順を報知する。
Then, the effect output control means 83a controls the output of the effect lamp 21, the speaker 22, and the image display device 23 in accordance with the determination. Further, during 1BB game or AT, the push order of the
Furthermore, when receiving the push order instruction number transmitted from the main control board 60 during the AT, the effect output control means 83a notifies the correct push order corresponding to the received push order instruction number.
続いて、メイン制御基板60(メインCPU63)による情報処理について、フローチャートに基づき説明する。
図8は、メイン制御基板60によるプログラムを開始するときの処理(M_PRG_START )を示すフローチャートである。
Next, information processing by the main control board 60 (main CPU 63) will be described based on a flowchart.
FIG. 8 is a flowchart showing a process (M_PRG_START) when starting a program by the main control board 60.
図8において、ステップS11でプログラムが開始されると、次のステップS12において、メイン制御基板60は、レジスタを初期化する。
次にステップS13に進み、メイン制御基板60は、電源断処理済フラグが正常値であるか否かを判断する。本実施形態では、電源断時に、後述するステップS652(図18)において、電源断処理済みフラグ(RWM61の所定のアドレスに記憶される。本実施形態では図示を省略する。)を記憶する。この電源断処理済みフラグは、電源オン時に、前回の電源断が正常に行われたか否かを判断するためのフラグである。そして、ステップS13において、電源断処理済みフラグが正常値であると判断したときは、ステップS14に進み、正常値でないと判断したときは、ステップS14及びS15のチェックサムデータの算出を行うことなくステップS16に進む。
In FIG. 8, when the program is started in step S11, the main control board 60 initializes the register in the next step S12.
Next, proceeding to step S13, the main control board 60 determines whether or not the power-off process completion flag is a normal value. In the present embodiment, when the power is turned off, a power-off process completion flag (stored in a predetermined address of the RWM 61. The illustration is omitted in the present embodiment) is stored in step S652 (FIG. 18) described later. This power-off processing completion flag is a flag for determining whether or not the previous power-off was normally performed when the power was turned on. In step S13, when it is determined that the power-off processing completed flag is a normal value, the process proceeds to step S14. When it is determined that the flag is not a normal value, the checksum data is not calculated in steps S14 and S15. Proceed to step S16.
ステップS14では、RWM61のチェックサムの算出を実行する。具体的には、電源断処理時に実行したRWM61のチェックサム(図18のステップS653)と同範囲(たとえば、プログラムで使用する作業領域、未使用領域、スタックエリア)のチェックサム算出(対象となるアドレスのデータ値の加算)を実行する。
本実施形態では、RWM61の所定範囲のチェックサムを行うとともに、チェックサムによってデータが「0」となるように、RWM61のチェックサムデータが設定されている。
In step S14, a checksum of the RWM 61 is calculated. Specifically, the checksum calculation (targeted) is the same range (for example, work area used in the program, unused area, stack area) as the checksum of the RWM 61 (step S653 in FIG. 18) executed during the power-off process. Add address data value).
In this embodiment, the checksum data of the RWM 61 is set so that the checksum of a predetermined range of the RWM 61 is performed and the data becomes “0” by the checksum.
ステップS15では、チェックサムを算出するRWM61の範囲が完了したか否かを判定する。具体的には、現時点でのチェックサムを算出したRWM61のアドレスから次のアドレスを指定し、次のアドレスがチェックサムを算出するアドレスであるか否かを判断する。チェックサムの算出が終了していないと判断したときはステップS14に進む。一方、チェックサムを算出するRWM61の範囲が完了したと判断したときはステップS16に進む。
なお、以降の処理においてもRWM61の複数範囲(アドレス)に記憶されたデータを初期化する場合には、本実施形態では指定されたRWM61の範囲で同様の処理を実行するものとする。
In step S15, it is determined whether or not the range of the RWM 61 for calculating the checksum has been completed. Specifically, the next address is designated from the address of the RWM 61 that calculated the current checksum, and it is determined whether or not the next address is an address for calculating the checksum. When it is determined that the checksum calculation has not been completed, the process proceeds to step S14. On the other hand, when it is determined that the range of the RWM 61 for calculating the checksum has been completed, the process proceeds to step S16.
In the subsequent processing, when data stored in a plurality of ranges (addresses) of the RWM 61 is initialized, the same processing is executed in the range of the specified RWM 61 in the present embodiment.
ステップS16では、メイン制御基板60は、電源断復帰データを所定のレジスタに記憶する。ここで、電源断処理済みフラグが正常値であり、かつRWM61のチェックサムデータが正常値であると判断したときは、電源断復帰データとして正常値を記憶する。一方、電源断処理済みフラグが異常値であったとき(ステップS13で「No」のとき)、及び/又はRWM61のチェックサムデータが異常値である(ステップS14で算出された、全範囲のチェックサムデータ値が「0」でない)と判断したときは、電源断復帰データとして異常値を記憶する。 In step S16, the main control board 60 stores the power-off recovery data in a predetermined register. Here, when it is determined that the power-off processing completed flag is a normal value and the checksum data of the RWM 61 is a normal value, the normal value is stored as the power-off recovery data. On the other hand, when the power-off processing completed flag is an abnormal value (“No” in step S13), and / or the checksum data of the RWM 61 is an abnormal value (the entire range check calculated in step S14). When it is determined that the sum data value is not “0”), an abnormal value is stored as the power-off recovery data.
次のステップS17では、入力ポート1(図3)のレベルデータを所定のレジスタに記憶する。次にステップS18に進み、入力ポート1のレベルデータに基づいて、指定スイッチがオンであるか否かを判断する。ここで「指定スイッチ」とは、本実施形態では、入力ポート1のうち、ドアスイッチ16の信号(D1)、設定ドアスイッチ54の信号(D2)、設定キースイッチ52の信号(D3)の3つである。
In the next step S17, the level data of the input port 1 (FIG. 3) is stored in a predetermined register. In step S18, it is determined whether the designated switch is on based on the level data of the
そして、ドアスイッチ16の信号がオンであり(フロントカバー(筐体)が開けられており)、設定ドアスイッチ54の信号がオンであり(設定ドアが開けられており、)、かつ、設定キースイッチ52の信号がオンであるとき(設定キーが挿入されているとき)に限り設定変更を許可する。3個全ての指定スイッチがオンであるときは、ステップS22の設定変更処理に移行可能となるが、少なくとも1つの指定スイッチがオンでないときは、ステップS22の設定変更処理に移行することを許可しない。
つまり、ドアスイッチ16の信号がオフのときや(フロントカバーが閉じられている)、設定ドアスイッチ54の信号がオフのとき(設定ドアが閉じられている)にもかかわらず、設定キースイッチ52の信号がオンになることはあり得ず、不正の可能性が高いことから、設定変更処理への移行を許可しない。
The signal of the door switch 16 is on (the front cover (housing) is opened), the signal of the setting door switch 54 is on (the setting door is opened), and the setting key The setting change is permitted only when the signal of the switch 52 is ON (when the setting key is inserted). When all three designated switches are on, it is possible to shift to the setting change process of step S22. However, when at least one designated switch is not on, it is not permitted to shift to the setting change process of step S22. .
That is, the setting key switch 52 regardless of whether the signal of the door switch 16 is off (the front cover is closed) or the signal of the setting door switch 54 is off (the setting door is closed). This signal cannot be turned on, and since there is a high possibility of fraud, the transition to the setting change process is not permitted.
したがって、ステップS18で全指定スイッチがオンであると判断したときはステップS19に進み、オンでないと判断したときはステップS21に進む。
ステップS19では、メイン制御基板60は、電源断復帰データが異常値であるか否かを判断する。この電源断復帰データは、ステップS16でレジスタに記憶したデータである。
Therefore, when it is determined in step S18 that all the designated switches are on, the process proceeds to step S19, and when it is determined that the switch is not on, the process proceeds to step S21.
In step S19, the main control board 60 determines whether the power-off recovery data is an abnormal value. This power-off recovery data is the data stored in the register in step S16.
そして、電源断復帰データが異常値であると判断したときは、電源断復帰データが異常値である旨(ステップS16で記憶したデータ)を保持しつつステップS22の設定変更処理に進み、異常値でないと判断したときはステップS20に進む。ステップS20では、設定変更不可フラグがオンであるか否かを判断する。ここで、設定変更不可フラグは、条件装置の抽選処理(ステップS50)〜遊技終了チェック処理(ステップS73)までの間は不可にされるフラグである。そして、設定変更不可フラグがオンであるときはステップS21に進み、オンでないときは電源断復帰データが正常値である旨(ステップS16で記憶したデータ)を保持しつつステップS22の設定変更処理に進む。このようにして、本実施形態では、電源断復帰データが異常値であるときの設定変更処理と、電源断復帰データが正常値であるときの設定変更処理とを有する。
なお、本実施形態では、設定変更不可フラグを設けたが、常時設定変更が可能に構成されている場合には、設定変更不可フラグを設けなくてもよい。その場合、ステップS20に相当する処理は不要となる。
When it is determined that the power-off recovery data is an abnormal value, the process proceeds to the setting change process of step S22 while holding that the power-off recovery data is an abnormal value (the data stored in step S16). If it is determined that it is not, the process proceeds to step S20. In step S20, it is determined whether or not a setting change disable flag is on. Here, the setting change impossibility flag is a flag that is disabled during the period from the lottery process (step S50) to the game end check process (step S73) of the condition device. If the setting change disable flag is on, the process proceeds to step S21. If the setting change disable flag is not on, the setting change process in step S22 is performed while holding that the power-off recovery data is a normal value (the data stored in step S16). move on. As described above, the present embodiment includes the setting change process when the power-off recovery data is an abnormal value and the setting change process when the power-off recovery data is a normal value.
In the present embodiment, the setting change impossibility flag is provided. However, when the setting change is always possible, the setting change impossibility flag may not be provided. In that case, the process corresponding to step S20 becomes unnecessary.
ステップS21では、メイン制御基板60は、電源断復帰データが正常値であるか否かを判断する。この処理は、ステップS19と同等の処理であり、ステップS16でレジスタに記憶したデータを参照する。そして、電源断復帰データが正常値であると判断したときはステップS23に進んで電源復帰処理(M_POWER_ON;図10)を行う。これに対し、電源断復帰データが正常値でないと判断したときはステップS24に進んで復帰不可能エラー処理を行う。ステップS21において電源断復帰データが正常値でないと判断されたときのエラーは、本実施形態では「E1」エラーと称し、「E1」である旨を所定のデジットに表示する。復帰不可能エラーは、設定変更処理が実行されないと解除されないエラーである。 In step S21, the main control board 60 determines whether or not the power-off recovery data is a normal value. This process is equivalent to step S19, and refers to the data stored in the register in step S16. Then, when it is determined that the power-off recovery data is a normal value, the process proceeds to step S23, and the power-recovery process (M_POWER_ON; FIG. 10) is performed. On the other hand, when it is determined that the power-off recovery data is not a normal value, the process proceeds to step S24, and an unrecoverable error process is performed. In this embodiment, an error when it is determined in step S21 that the power-off recovery data is not a normal value is referred to as an “E1” error, and “E1” is displayed in a predetermined digit. The unrecoverable error is an error that cannot be canceled unless the setting change process is executed.
以上のように、プログラム開始処理(M_PRG_START )では、電源断復帰データが正常値である場合及び異常値である場合のいずれも、設定変更が可能なときは設定変更処理に進む。
また、指定スイッチがオンでない場合(ステップS18で「No」)又は設定変更が不可である場合において、電源断復帰データが異常値であるとき(ステップS21で「No」)は復帰不可能エラー処理に進み、電源断復帰データが正常値であるとき(ステップS21で「Yes」)は電源復帰処理(M_POWER_ON)に進む。
As described above, in the program start process (M_PRG_START), the process proceeds to the setting change process when the setting change is possible in both cases where the power-off recovery data is a normal value and an abnormal value.
Further, when the designated switch is not on (“No” in step S18) or when the setting cannot be changed and the power-off recovery data is an abnormal value (“No” in step S21), the unrecoverable error processing is performed. When the power-off recovery data is a normal value (“Yes” in step S21), the process proceeds to the power recovery process (M_POWER_ON).
図9は、ステップS22における設定変更処理(M_RANK_SET)を示すフローチャートである。
先ず、ステップS131において、RWM61の初期化範囲として、「所定範囲」をレジスタに記憶する。ここでは、電源断処理が正常に実行されたと判断した場合に備えるためのセットであり、設定値データ、遊技状態(たとえば、RT状態)、当選フラグを初期化しないようにした初期化範囲を「所定範囲」とする。
FIG. 9 is a flowchart showing the setting change process (M_RANK_SET) in step S22.
First, in step S131, “predetermined range” is stored in the register as the initialization range of the RWM 61. Here, it is a set for preparing when it is determined that the power-off process has been normally executed, and the initialization range in which the set value data, the gaming state (for example, the RT state), and the winning flag are not initialized is “ A predetermined range.
次にステップS132に進み、メイン制御基板60は、電源断復帰データ(ステップS16で記憶した値)が正常値であるか否かを判断する。電源断復帰データが正常値であると判断されたときは、ステップS134に進み、ステップS131における「所定範囲」の記憶を維持する。一方、ステップS132において電源断復帰データが正常値でないと判断されたときはステップS133に進み、メイン制御基板60は、RWM61の初期化範囲として、「特定範囲」をレジスタに記憶する。ここで、電源断が正常でないと判断したときは、設定値データ、遊技状態、当選フラグについても初期化の対象とした初期化範囲として、「特定範囲」とする。 Next, proceeding to step S132, the main control board 60 determines whether or not the power-off recovery data (value stored in step S16) is a normal value. When it is determined that the power-off recovery data is a normal value, the process proceeds to step S134, and the storage of the “predetermined range” in step S131 is maintained. On the other hand, when it is determined in step S132 that the power-off recovery data is not a normal value, the process proceeds to step S133, and the main control board 60 stores “specific range” in the register as the initialization range of the RWM 61. Here, when it is determined that the power-off is not normal, the set value data, the gaming state, and the winning flag are also set as “specific range” as the initialization range to be initialized.
そして、ステップS134に進み、ステップS131でセットした所定範囲又はステップS133でセットした特定範囲の初期化を開始する。次のステップS135では、ステップS134で開始した初期化が終了したか否かを判断する。初期化が終了したと判断したときはステップS136に進む。 In step S134, initialization of the predetermined range set in step S131 or the specific range set in step S133 is started. In the next step S135, it is determined whether or not the initialization started in step S134 is completed. When it is determined that the initialization is completed, the process proceeds to step S136.
ステップS136では、割込み処理の起動設定を行う。ここでは、ステップS12で指定した割込み処理に対応する各種レジスタの設定を行う。本実施形態では割込み処理としてタイマ割込み処理を使用しているため、タイマ割込みの周期(本実施形態では、「2.235ms」)を設定する処理等が対応する。そして、このステップS136の処理後に割込み処理が実行される。いいかえれば、「割込み起動」前は、割込み処理が実行されないように構成されている。次のステップS137では、設定変更開始時の出力要求セットを行う。この処理は、設定変更処理を開始することをサブ制御基板80側に知らせるために、サブ制御基板80に送信する制御コマンドをレジスタにセット(記憶)する処理である。
In step S136, an interrupt process activation setting is performed. Here, various registers corresponding to the interrupt processing designated in step S12 are set. In the present embodiment, timer interrupt processing is used as interrupt processing, and therefore processing for setting a timer interrupt cycle (in this embodiment, “2.235 ms”) corresponds. Then, interrupt processing is executed after the processing of step S136. In other words, the interrupt process is not executed before “interrupt activation”. In the next step S137, an output request set at the start of setting change is performed. This process is a process of setting (storing) a control command to be transmitted to the
なお、「出力要求セット」は、以下に説明する処理においてもしばしば実行されるものであるが、このステップS137と同様に、サブ制御基板80に送信するための制御コマンドをセットする処理を意味する。また、ここでの制御コマンドは、実際に送信するコマンドのみを意味しているものではなく、実際に送信するコマンドの元となるコマンドも意味している。
The “output request set” is often executed also in the process described below, but means a process for setting a control command to be transmitted to the
次にステップS138に進み、メインCPU62は、制御コマンドセット1(R_CMD_SET )を実行する。この処理は、制御コマンドバッファ(リングバッファ(RWM61のアドレス「F113」〜「F153」の_BF_SUBCMD))に、サブ制御基板80に送信する制御コマンドをセットする処理である。
なお、「制御コマンドセット1」は、以下に説明する処理においてもしばしば実行されるものであるが、このステップS138と同様に、サブ制御基板80に送信するための制御コマンドをセットする処理を意味する。
In step S138, the main CPU 62 executes control command set 1 (R_CMD_SET). This process is a process of setting a control command to be transmitted to the
Note that “control command set 1” is often executed in the processing described below, but means processing for setting a control command to be transmitted to the
上述したように、本実施形態では、第1制御コマンド及び第2制御コマンドの2バイト(16ビット)で1つのコマンドを構成する。また、第1制御コマンド(上位1バイト)は、コマンドの種別を示し、第2制御コマンド(下位1バイト)は、その内容を示す。
そして、制御コマンドセット1では、第1制御コマンド及び第2制御コマンドを制御コマンドバッファにセットする。また、出力要求に応じて、種別及び内容が異なる第1制御コマンド及び第2制御コマンドを制御コマンドバッファにセットする。
As described above, in this embodiment, one command is composed of 2 bytes (16 bits) of the first control command and the second control command. The first control command (upper 1 byte) indicates the type of command, and the second control command (lower 1 byte) indicates the content thereof.
In the control command set 1, the first control command and the second control command are set in the control command buffer. Further, according to the output request, the first control command and the second control command having different types and contents are set in the control command buffer.
次にステップS139に進み、メイン制御基板60は、待ち時間をセットし、次のステップS140においてその待ち時間の間、ウェイト処理を実行する。本実施形態では、待ち時間として、割込み回数「224」がセットされる。そして、ステップS140において、割込み回数が「224」をカウントするまで(割込み回数ごとに1減算し、セットされた割込み回数が「0」となるまで)ウェイト処理が実行される。 Next, proceeding to step S139, the main control board 60 sets a waiting time, and executes wait processing during the waiting time in the next step S140. In this embodiment, the interrupt count “224” is set as the waiting time. In step S140, wait processing is executed until the number of interrupts counts “224” (until 1 is subtracted for each interrupt count and the set interrupt count becomes “0”).
これにより、1割込みあたり、上述したように「2.235ms」であるので、「2.235ms×224回=500.64ms(約0.5秒)」のウェイト処理が行われることとなる。
以降、「ウェイト処理」とは、所定の時間が経過するまで次の処理(ステップ)を実行しないように待機する処理を指す。ただし、図17の割込み処理は実行される。
Accordingly, since “2.235 ms” per interrupt is “2.235 ms”, a wait process of “2.235 ms × 224 times = 500.64 ms (about 0.5 seconds)” is performed.
Hereinafter, the “wait process” refers to a process of waiting so that the next process (step) is not executed until a predetermined time elapses. However, the interrupt process of FIG. 17 is executed.
この処理は、メイン制御基板60側におけるRWM61の初期化処理(ステップS134)は比較的短時間で終了するのに対し、サブ制御基板80側のRWM81の初期化処理には時間がかかるため、メイン制御基板60側でウェイト処理を実行している。特に、メイン制御基板60側では、サブ制御基板80側で初期化処理が終了したか否かを知り得ないからである。
In this process, the initialization process of the RWM 61 on the main control board 60 side (step S134) is completed in a relatively short time, whereas the initialization process of the RWM 81 on the
したがって、サブ制御基板80側で未だ初期化処理中のときに、メイン制御基板60側では初期化を既に終了し、さらに処理が進んで、メイン制御基板60の制御処理の進行と、サブ制御基板80の制御処理の進行とが同期しなくなることを防止することができる。
また、設定変更開始時の出力要求セット及び制御コマンドセット1の実行後、サブ制御基板80がRWM81の初期化を開始するが、RWM81の初期化が終了するために十分な時間をウェイト時間として設定する。これにより、サブ制御基板80側でRWM81の初期化処理を終了した後に、メイン制御基板60側でステップS141以降の処理に進むようにする。
Therefore, when the initialization process is still in progress on the
In addition, after execution of the output request set and control command set 1 at the start of setting change, the
なお、ステップS137及びステップS138においてセットした設定変更開始時の制御コマンドは、ステップS140のウェイト処理中であってもサブ制御基板80に送信される。ただし、ステップS140でウェイト処理が実行されている間は、ステップS141以降の処理には進まない(メインループが進行しない)。
The control command at the start of setting change set in step S137 and step S138 is transmitted to the
このように構成することによって、サブ制御基板80に対し、設定変更開始時の制御コマンドを送信することができる。また、ステップS141以降の処理(設定変更の終了や、遊技の開始等)を、ウェイト時間だけ遅延させることができる。さらにまた、ステップS141以降の処理の遅延により、ステップS141以降の処理に付随する各種制御コマンド(設定変更終了時のコマンド、ベットスイッチ40の操作時のコマンド、スタートスイッチ41の操作に基づく役抽選結果に関するコマンド等)の送信タイミングを遅らせることができる。これにより、サブ制御基板80は、メイン制御基板60の処理と同期したタイミングで、各種コマンドに基づいて演出の制御及び出力が可能となる。
With this configuration, it is possible to transmit a control command at the start of setting change to the
これに対し、ステップS140のウェイト処理を実行しなかった場合には、メイン制御基板60の処理が先に実行されてしまう。その結果、たとえばスタートスイッチ41の操作に基づき役抽選結果Aとなり、リール31の回転開始時に演出aを出力したいとき、リール31の回転開始のタイミングで演出aが出力されず、少し遅れて演出aが出力されてしまう。 On the other hand, when the wait process of step S140 is not executed, the process of the main control board 60 is executed first. As a result, for example, when the start switch 41 is operated, the winning lottery result A is obtained, and when the effect a is output at the start of the rotation of the reel 31, the effect a is not output at the timing of starting the rotation of the reel 31, and the effect a is slightly delayed. Will be output.
ウェイト処理の終了後、ステップS141に進み、設定値が正常範囲であるか否かを判断する。本実施形態では、設定値は、「1」〜「6」のいずれか(整数)であるので、これら「1」〜「6」のいずれかであるかを判断する。設定値が正常範囲であると判断したときはステップS143に進み、設定値が正常範囲でない(設定値を記憶するRWM61の記憶領域に「7」や「255」などを示す値が記憶されている)と判断したときはステップS142に進む。ステップS142では、設定値として「1」を記憶する。 After the end of the wait process, the process proceeds to step S141 to determine whether or not the set value is in the normal range. In the present embodiment, since the set value is any one of “1” to “6” (integer), it is determined whether any of these “1” to “6”. If it is determined that the set value is in the normal range, the process proceeds to step S143, and the set value is not in the normal range (values such as “7” and “255” are stored in the storage area of the RWM 61 that stores the set value). ), The process proceeds to step S142. In step S142, “1” is stored as the set value.
ステップS143では、設定変更中に特有のLED表示制御を行う。具体的には、出力ポート3から所定のLEDデジット信号を出力するとともに、出力ポート4から所定のLEDセグメント信号を出力することにより、設定値表示LED64に設定値を表示可能とする。
次にステップS144に進み、設定変更/リセットスイッチ53の操作を検出したか否かを判断する。ここでは、入力ポート1の立ち上がりデータを判断し、D4ビットが「1」となったか否かを判断する。設定変更/リセットスイッチ53の操作を検出したと判断したときはステップS145に進み、検出していないと判断したときはステップS146に進む。
ステップS145では、設定値を更新する。具体的には、設定値をRWM61の所定領域に記憶(更新)する。また、設定値が更新された後に割込み処理が実行されることにより、設定値表示LED64の表示値は更新された値を表示する。
In step S143, specific LED display control is performed during setting change. Specifically, by outputting a predetermined LED digit signal from the output port 3 and outputting a predetermined LED segment signal from the output port 4, the set value can be displayed on the set value display LED 64.
In step S144, it is determined whether an operation of the setting change / reset switch 53 has been detected. Here, the rising data of the
In step S145, the set value is updated. Specifically, the set value is stored (updated) in a predetermined area of the RWM 61. Further, the interrupt process is executed after the set value is updated, whereby the display value of the set value display LED 64 displays the updated value.
次のステップS146では、スタートスイッチ41の操作を検出したか否かを判断する。本実施形態では、設定変更中にスタートスイッチ41が操作されたときは、その時点における設定値を確定させる。
スタートスイッチ41が操作されたと判断したときはステップS147に進み、操作されていないと判断したときはステップS144に戻る。
In the next step S146, it is determined whether or not an operation of the start switch 41 is detected. In this embodiment, when the start switch 41 is operated during the setting change, the set value at that time is determined.
When it is determined that the start switch 41 has been operated, the process proceeds to step S147, and when it is determined that the start switch 41 has not been operated, the process returns to step S144.
ステップS147では、設定キースイッチ52がオフにされたか否かを判断する。設定キースイッチ52がオフにされたと判断すると、ステップS148に進み、設定変更中に特有のLED表示制御を終了する。
次にステップS149に進み、ステップS137と同様に、設定変更終了時の出力要求セットを行う。この処理は、設定変更処理を終了すること、及び決定された設定値をサブ制御基板80側に知らせる制御コマンドをセットする処理である。次に、ステップS150に進み、ステップS138と同様に、メインCPU62は、制御コマンドセット1を実行する。そして、ステップS40のメイン処理(M_MAIN)(図11)に移行する。
In step S147, it is determined whether or not the setting key switch 52 has been turned off. If it is determined that the setting key switch 52 has been turned off, the process proceeds to step S148, and the unique LED display control is ended during the setting change.
Next, the process proceeds to step S149, and an output request set at the end of the setting change is performed as in step S137. This process is a process of ending the setting change process and setting a control command for informing the determined setting value to the
図10は、電源復帰処理(M_POWER_ON)を示すフローチャートである。
先ず、ステップS831では、スタックポインタを復帰させる。ここで、スタックポインタとは、レジスタの1つであって、電源断が生じた場合に、電源断発生時のデータ(例えば、レジスタ値、割込み処理前のメイン処理の命令処理(戻り番地)等)を保存するRWM61の領域(スタック領域とも称する)のうち、次に保存されるRWM61のアドレスを指す。つまり、スタックポインタの復帰とは、電源断時に記憶されたスタックポインタを一度RWM61に記憶しておき、RWM61に記憶しておいたデータをスタックポインタに再度記憶し直す処理を指す。
FIG. 10 is a flowchart showing the power recovery process (M_POWER_ON).
First, in step S831, the stack pointer is restored. Here, the stack pointer is one of the registers, and when power is cut off, data when the power is cut off (for example, register value, instruction processing (return address) of main processing before interrupt processing, etc.) ) In the area of the RWM 61 (also referred to as a stack area). That is, the return of the stack pointer refers to a process in which the stack pointer stored when the power is turned off is once stored in the RWM 61, and the data stored in the RWM 61 is stored again in the stack pointer.
次のステップS832では、RWM61の所定のアドレス(本実施形態では図示せず。)に記憶されている設定値データを読み込み、設定値の範囲が正常範囲であるか(「1」〜「6」の範囲内であるか)否かを判断する。設定値が正常範囲であると判断したときはステップS833に進み、設定値が正常範囲でないと判断したときはステップS839に進み、復帰不可能エラー処理に移行する。この場合のエラーは、本実施形態では「E6」エラーと称し、「E6」である旨を獲得数表示LED72に表示する。 In the next step S832, set value data stored in a predetermined address (not shown in the present embodiment) of the RWM 61 is read, and whether the set value range is the normal range (“1” to “6”). Whether or not it is within the range. If it is determined that the set value is within the normal range, the process proceeds to step S833. If it is determined that the set value is not within the normal range, the process proceeds to step S839, and the process proceeds to an unrecoverable error process. In this embodiment, the error in this case is referred to as an “E6” error, and “E6” is displayed on the acquisition number display LED 72.
ステップS833に進むと、RWM61の未使用領域の初期化範囲をレジスタにセットする。そして次のステップS834において、ステップS833でセットした範囲のRWM61の初期化を実行する。ここで、未使用領域であってもノイズ等によりRWM61に値が記憶されてしまうことが考えられる。万が一、未使用領域に値が記憶されると、不正等のゴトにつながる可能性があるため、未使用領域は電源の投入時に(通常であれば1日に1回)初期化するようにしている。 In step S833, the initialization range of the unused area of the RWM 61 is set in the register. In the next step S834, initialization of the RWM 61 in the range set in step S833 is executed. Here, it is conceivable that a value is stored in the RWM 61 due to noise or the like even in an unused area. If a value is stored in an unused area, there is a possibility that it may lead to fraud etc. Therefore, the unused area should be initialized when the power is turned on (usually once a day). Yes.
次のステップS835では、RWM61の初期化を終了したか否かを判断し、終了したと判断したときはステップS836に進む。ステップS836では、入力ポート0〜2の読み込みを行う。この処理は、電源断前の入力ポートの各データ(レベルデータ、立ち上がりデータ、立ち下がりデータ)を最新のデータに更新するための処理である。
次にステップS837に進み、割込みを起動させる。この処理は、たとえばタイマ割込みの周期を設定する処理等であり、当該処理以降から所定の周期(本実施形態では、2.235ms)ごとに割込み処理が実行される。
次にステップS838に進み、上述した電源断処理済フラグをクリア、すなわち「0」にする。そして本フローチャートによる処理を終了する。
In the next step S835, it is determined whether or not the initialization of the RWM 61 is completed. If it is determined that the initialization is completed, the process proceeds to step S836. In step S836, the input ports 0 to 2 are read. This process is a process for updating each data (level data, rising data, falling data) of the input port before power-off to the latest data.
In step S837, an interrupt is activated. This process is, for example, a process for setting a timer interruption period, and the interruption process is executed every predetermined period (in this embodiment, 2.235 ms) after the process.
In step S838, the above-described power-off process completion flag is cleared, that is, set to “0”. And the process by this flowchart is complete | finished.
上記の電源復帰処理においては、入力ポート0〜2の読み込みを実行した(ステップS836)後に、割込み処理を起動(ステップS837)させている。その理由は、以下の通りである。
本実施形態では、遊技待機中に、設定キーを挿入して、設定値の確認ができるように構成されている。ここで、設定キースイッチ52の立ち下がり信号が「1」になったときに、設定値の確認を終了したと判断している。
しかし、たとえば設定確認中に電源断が生じ、この電源断中に設定キースイッチ52をオフにして(設定キーを抜いて)電源を立ち上げたと仮定する。
In the power recovery process described above, after the input ports 0 to 2 are read (step S836), the interrupt process is started (step S837). The reason is as follows.
In the present embodiment, it is configured such that a set key can be inserted and a set value can be confirmed during game standby. Here, when the falling signal of the setting key switch 52 becomes “1”, it is determined that the confirmation of the setting value is completed.
However, for example, it is assumed that the power is cut off during setting confirmation, and the power is turned on by turning off the setting key switch 52 (with the setting key removed) during the power cut.
この場合、電源断復帰後の割込み処理により、設定キースイッチ52がオフであることに基づいて、設定キースイッチ52の立ち下がり信号が「1」になるので、設定キースイッチの立ち下がりが検知される。
その結果、電源断復帰時の状態と、電源断前の状態とで、異なる状態となってしまう。具体的には、電源断前の状態では、設定キースイッチ52の立ち下がり信号が「0」であるのに対し、電源断復帰時に、設定キースイッチ52の立ち下がり信号が「1」となる。
よって、このように、電源断前後で異なる状態となってしまうことを回避するために、電源断復帰時には、入力ポート0〜2のRWM61の値を最新の状態に更新する。そこで、入力ポート0〜2読み込み処理を実行した後、割込み処理を起動させている。
In this case, the falling signal of the setting key switch 52 is set to “1” based on the fact that the setting key switch 52 is turned off by the interrupt processing after the power is restored, so that the falling of the setting key switch is detected. The
As a result, the state at the time of power-off recovery is different from the state before the power-off. Specifically, the falling signal of the setting key switch 52 is “0” in the state before the power is turned off, whereas the falling signal of the setting key switch 52 is “1” when the power is restored.
Therefore, in order to avoid the situation before and after the power is turned off, the value of the RWM 61 of the input ports 0 to 2 is updated to the latest state when the power is restored. Therefore, after executing the input port 0-2 read processing, the interrupt processing is activated.
図11は、本実施形態におけるメイン処理(M_MAIN)処理を示すフローチャートである。そして、このメイン処理中に、2.235msごとに割込み処理(I_INTR;図17)を行う。
図11において、ステップS41では、スタックポインタをセットする。ここでのスタックポインタのセットは、上述したステップS831の処理と同様の処理を実行する。
次のステップS42では、遊技開始セット処理(MS_GAME_SET )を行う。ステップS42に進むと、後述する図12の処理に移行する。
FIG. 11 is a flowchart showing main processing (M_MAIN) processing in the present embodiment. During this main process, an interrupt process (I_INTR; FIG. 17) is performed every 2.235 ms.
In FIG. 11, in step S41, a stack pointer is set. In this case, the stack pointer is set by executing the same process as that in step S831 described above.
In the next step S42, game start set processing (MS_GAME_SET) is performed. If it progresses to step S42, it will transfer to the process of FIG. 12 mentioned later.
次のステップS43ではベットメダルの読み込みを行う。この処理は、現時点においてベットされているメダル枚数が何枚であるかを読み込む処理である。
次のステップS44では、ステップS43で読み込んだベット枚数に基づき、ベットメダルの有無を判断する。
ステップS44でベットメダルありと判断したときはステップS46に進み、ベットメダルなしと判断したときはステップS45に進んでメダル投入待ち処理を行い、ステップS46に進む。
In the next step S43, a bet medal is read. This process is a process of reading how many medals are bet at the present time.
In the next step S44, the presence / absence of a bet medal is determined based on the bet number read in step S43.
If it is determined in step S44 that there is a bet medal, the process proceeds to step S46. If it is determined that there is no bet medal, the process proceeds to step S45 to perform a medal insertion waiting process, and the process proceeds to step S46.
ステップS46では、投入されたメダルの管理処理を行う。この処理の詳細については説明を省略するが、その概要は、投入センサ44及び44b、ベットスイッチ40の信号の立ち上がり、精算スイッチ46の信号の立ち上がりを検知し、投入センサ44a及び44bによりメダル投入を検知したときは、メダル手入れチェック処理に進み、正常なメダル手入れであると判断したときは、ベット処理又は貯留加算処理に進む。また、ベットスイッチ40の信号の立ち上がりを検知したときは、貯留ベット処理に進み、精算スイッチ46の信号の立ち上がりを検知したときは、精算処理に進む。 In step S46, a management process for inserted medals is performed. Although the details of this process are omitted, the outline thereof is that the rise of the signals of the insertion sensors 44 and 44b and the bet switch 40 and the rise of the signal of the settlement switch 46 are detected, and the insertion of the medal is performed by the insertion sensors 44a and 44b. When it is detected, the process proceeds to a medal care check process, and when it is determined that the medal care is normal, the process proceeds to a bet process or a storage addition process. Further, when the rising of the signal of the bet switch 40 is detected, the process proceeds to the storage bet process, and when the rising of the signal of the settlement switch 46 is detected, the process proceeds to the settlement process.
次のステップS47では、ソフト乱数の更新処理を行う。この処理は、条件装置抽選手段63bで使用する乱数(ハード乱数、又は内蔵乱数)に加工(演算処理)するための加工用乱数を更新(たとえば「1」ずつ加算)する処理である。ソフト乱数は、0〜65535の範囲を有する16ビット乱数である。なお、更新方法として、更新前の値に、割込みカウント値(割込み時にインクリメントされるカウント値(変数))を加算する処理を実行してもよい。 In the next step S47, a soft random number update process is performed. This process is a process of updating (for example, adding “1” by one) a processing random number for processing (arithmetic processing) into a random number (hard random number or built-in random number) used in the condition device lottery means 63b. The soft random number is a 16-bit random number having a range of 0 to 65535. As an update method, a process of adding an interrupt count value (a count value (variable) incremented at the time of an interrupt) to a value before update may be executed.
次のステップS48では、メイン制御基板60は、スタートスイッチ41が操作されたか否かを判断する。スタートスイッチ41が操作されたと判断したときは、ステップS49に進み、スタートスイッチ41が操作されていないと判断したときはステップS43に戻る。なお、スタートスイッチ41が操作された場合であっても、ベット数が当該遊技の規定数に達していないときは、ステップS48で「No」と判断される。 In the next step S48, the main control board 60 determines whether or not the start switch 41 has been operated. When it is determined that the start switch 41 has been operated, the process proceeds to step S49, and when it is determined that the start switch 41 has not been operated, the process returns to step S43. Even when the start switch 41 is operated, if the number of bets has not reached the prescribed number of the game, “No” is determined in step S48.
ステップS49では、スタートスイッチ受付け時の処理を実行する。この処理は、内蔵乱数の読み込み、ブロッカ45をオフにする処理、リール31の回転開始処理、設定値が正常であるか否かの判断等を行うものである。
ステップS50では、条件装置抽選手段63bは、スタートスイッチ41が操作されたタイミングで、すなわちスタートスイッチ41の操作信号の受信時に、条件装置の抽選を実行する。なお、条件装置抽選時の乱数値はステップS49で取得する。そして、ステップS50において、取得した乱数値が、いずれかの条件装置番号に該当する乱数値であるか否かを、条件装置抽選テーブルを用いて判定する処理を行う。
In step S49, a process at the time of receiving the start switch is executed. This process includes reading a built-in random number, turning off the blocker 45, starting the rotation of the reel 31, determining whether the set value is normal, and the like.
In step S50, the condition device lottery means 63b executes the condition device lottery at the timing when the start switch 41 is operated, that is, when the operation signal of the start switch 41 is received. In addition, the random value at the time of conditional device lottery is acquired by step S49. In step S50, a process is performed to determine whether the acquired random number value is a random value corresponding to one of the condition device numbers using the condition device lottery table.
次のステップS51では、メイン制御基板60は、当選した条件装置に基づいて、AT抽選テーブルを用いて、ATの抽選を実行する。なお、この抽選では、ATに当選する場合の他に、ATには当選しないが、AT抽選状態が移行する場合がある。
次にステップS52に進み、メイン制御基板60は、当該遊技でのメイン遊技状態の更新を行う。たとえば、ステップS51の抽選でATに当選したときは、通常時に対応するメイン遊技状態から、AT前兆に対応するメイン遊技状態に更新するように制御する。
In the next step S51, the main control board 60 performs AT lottery using the AT lottery table based on the selected condition device. In this lottery, in addition to winning the AT, the AT lottery state may be shifted although the AT is not won.
Next, proceeding to step S52, the main control board 60 updates the main game state in the game. For example, when an AT is won in the lottery of step S51, control is performed so that the main game state corresponding to the normal time is updated to the main game state corresponding to the AT precursor.
次のステップS53では、メイン制御基板60は、押し順指示番号セット処理を実行する。この処理は、現在のメイン遊技状態と、当選した条件装置とに応じて、押し順指示番号の選択等を行う処理である。この処理により、押し順指示情報を表示する遊技では、獲得数表示LED72に押し順指示情報が表示される。
次にステップS54に進み、メイン制御基板60は、演出グループ番号セット処理を実行する。この処理は、当選した条件装置に対応する演出グループ番号の選択を行う処理である。
In the next step S53, the main control board 60 executes a push order instruction number setting process. This process is a process of selecting a push order instruction number according to the current main game state and the selected condition device. With this processing, in the game displaying the push order instruction information, the push order instruction information is displayed on the acquisition number display LED 72.
Next, proceeding to step S54, the main control board 60 executes effect group number setting processing. This process is a process of selecting an effect group number corresponding to the selected condition device.
次のステップS55では、割込み処理を禁止する。ここで割込み処理を禁止するのは、次のステップS56の図柄停止信号セット処理の実行中は、割込み処理が行われないように制御するためである。
そして、ステップS56に進み、図柄停止信号セット処理を実行する。この処理は、スロットマシン10から試験機に対して、当該遊技で当選した条件装置に基づいて、ストップスイッチ42の押し順や操作タイミングの情報(試験信号)を送信(出力)するための処理である。
In the next step S55, interrupt processing is prohibited. The reason why the interrupt process is prohibited is to control the interrupt process not to be performed during the execution of the symbol stop signal setting process in the next step S56.
And it progresses to step S56 and performs a symbol stop signal set process. This process is a process for transmitting (outputting) information (test signal) about the pressing order of the
なお、スロットマシン10と試験機とが接続された状態では、このメイン処理において、遊技開始時に、毎遊技、ステップS56において試験機に対して図柄停止信号を送信(出力)する。一方、スロットマシン10が市場に出た場合(ホール等に設置された場合)には、そのスロットマシン10は試験機とは接続されていないので、試験機に対して実際の図柄停止信号を送信することはないが、たとえばホールに設置された後であっても、毎遊技、ステップS56の処理は実行される。
ステップS56の後、ステップS57に進み、ステップS55で禁止した割込み処理を許可する。
In the state where the slot machine 10 and the test machine are connected, in this main process, at the start of the game, a symbol stop signal is transmitted (output) to the test machine at each game, step S56. On the other hand, when the slot machine 10 is put on the market (when installed in a hall or the like), the slot machine 10 is not connected to the test machine, so an actual symbol stop signal is transmitted to the test machine. Although it does not do, even after it is installed in the hall, for example, every game, the process of step S56 is executed.
After step S56, the process proceeds to step S57, and the interrupt process prohibited in step S55 is permitted.
次のステップS58におけるコマンド送信テーブル2セット処理は、コマンド送信テーブル2のデータが記憶された先頭アドレスを所定のレジスタに記憶する処理である。
次のステップS59では、制御コマンド連続セット処理(M_CMD_LIST)を実行する。この処理は、ステップS58でセットしたコマンド送信テーブル2に基づいて、サブ制御基板80に対してコマンドを送信するための処理である。ステップS59に進むと、図14の処理に移行する。
The command transmission table 2 set process in the next step S58 is a process for storing the head address where the data of the command transmission table 2 is stored in a predetermined register.
In the next step S59, a control command continuous set process (M_CMD_LIST) is executed. This process is a process for transmitting a command to the
次にステップS60に進むと、リール回転開始準備処理を実行する。リール回転開始準備処理は、最小遊技時間(リール31の回転開始時から、次回遊技でリール31の回転を開始するまでの最小時間)が経過したか否かを判断等する処理である。本実施形態では、最小遊技時間は、4.1秒に設定されている。
次にステップS61に進み、リール制御手段63gは、リール31の回転を開始する。次のステップS62では、リール31の停止受付けをチェックする。ここでは、ストップスイッチ42の操作信号を受信したか否かを検知し、操作信号を受信したときは、条件装置の抽選結果とリール31の位置とに基づいてリール31の停止位置を決定し、その決定した位置にリール31を停止させるように制御する。
In step S60, a reel rotation start preparation process is executed. The reel rotation start preparation process is a process for determining whether or not the minimum game time (minimum time from the start of rotation of the reel 31 to the start of rotation of the reel 31 in the next game) has elapsed. In this embodiment, the minimum game time is set to 4.1 seconds.
In step S61, the reel control unit 63g starts rotating the reel 31. In the next step S62, the stop acceptance of the reel 31 is checked. Here, it is detected whether or not the operation signal of the
次のステップS63では、リール制御手段63gは、全リール31が停止したか否かをチェックし、ステップS64に進む。ステップS64では、全リール31が停止したか否かを判断し、全リール31が停止したと判断したときはステップS65に進み、全リール31が停止していないと判断したときはステップS62に戻る。 In the next step S63, the reel control means 63g checks whether or not all the reels 31 have stopped, and proceeds to step S64. In step S64, it is determined whether or not all the reels 31 are stopped. When it is determined that all the reels 31 are stopped, the process proceeds to step S65. When it is determined that all the reels 31 are not stopped, the process returns to step S62. .
ステップS65では、当該遊技で獲得数表示LED72に押し順指示情報を表示したときは、その情報を消去するため、獲得枚数データのクリア処理を行う。
次のステップS66では、図柄の表示判定を行う。ここでは、入賞判定手段63hにより、有効ラインに、役に対応する図柄の組合せが停止したか否かを判断する。
次にステップS67に進み、図柄の表示エラーが発生したか否かを判断する。図柄の表示エラーが発生したと判断したときはステップS76に進み、表示エラーが発生していないと判断したときはステップS68に進む。
In step S65, when pressing order indication information is displayed on the acquired number display LED 72 in the game, the acquired number data clear process is performed to delete the information.
In the next step S66, the symbol display is determined. Here, the winning determination means 63h determines whether or not the symbol combination corresponding to the winning combination has been stopped on the active line.
In step S67, it is determined whether or not a symbol display error has occurred. If it is determined that a symbol display error has occurred, the process proceeds to step S76. If it is determined that no display error has occurred, the process proceeds to step S68.
ここで、リール31の停止は、停止位置決定テーブルに基づき実行されるので、通常は、停止位置決定テーブルで定められた位置以外の位置でリール31が停止する場合はない。しかし、図柄の表示判定の結果、有効ライン上に、本来表示されてはいけない図柄(蹴飛ばし図柄)が表示されたときは、異常であると判定し、ステップS76に進み、復帰不可能エラー処理を実行する。この図柄組合せ異常エラーは、「E5」エラーと称し、獲得数表示LED72に「E5」と表示し、メイン処理を停止する。 Here, since the stop of the reel 31 is executed based on the stop position determination table, the reel 31 does not normally stop at a position other than the position determined by the stop position determination table. However, as a result of the display determination of the symbol, when a symbol that should not be displayed (a kicked symbol) is displayed on the active line, it is determined to be abnormal, and the process proceeds to step S76 to perform an unrecoverable error process. Run. This symbol combination abnormality error is referred to as an “E5” error, and “E5” is displayed on the acquired number display LED 72, and the main process is stopped.
なお、復帰不可能エラーの発生時に、それを解除するためには、電源のオン/オフと、設定値の再設定が必要となる。復帰不可能エラーの発生時には、電源をオフにし、設定キーを差し込んで90度時計回りに回転させ、電源をオンにする。これにより、RWM61の所定範囲(設定値情報、RT情報、当選役情報)がクリアされる。そして、設定値を設定し、他のエラーがなければ、復帰処理が行われる。
一方、満杯エラー等の復帰可能エラーの発生時は、エラー内容を表示して処理を停止するが、ホール店員がエラー解除操作を実行し(エラー要因を除去し)、リセットスイッチ53を操作すると、エラーが解除されたか否かを判断して、エラーが解除されたと判断したときは、処理を再開する。
When an unrecoverable error occurs, it is necessary to turn on / off the power and reset the set value in order to cancel the error. When an unrecoverable error occurs, the power is turned off, the setting key is inserted and rotated 90 degrees clockwise, and the power is turned on. As a result, a predetermined range (setting value information, RT information, winning combination information) of the RWM 61 is cleared. Then, a set value is set, and if there is no other error, a return process is performed.
On the other hand, when a recoverable error such as a full error occurs, the error content is displayed and the process is stopped. However, when the hall clerk performs an error canceling operation (removing the error factor) and operates the reset switch 53, It is determined whether or not the error has been cancelled. When it is determined that the error has been cancelled, the processing is resumed.
ステップS68では、入賞役に応じて、メダル払出し枚数の更新処理を行う。この処理は、ステップS66の表示判定に基づいて、小役(メダル払出しを有する役)が入賞したときは、入賞した小役に対応する枚数のメダル払出し枚数データ、及びメダル払出し枚数データバッファの更新処理を実行する。
次のステップS69では、特別役(1BB)の入賞があったか否かを判断する。特別役が入賞したと判断したときはステップS70に進み、特別役が入賞していないと判断したときはステップS72に進む。
In step S68, the medal payout number is updated according to the winning combination. This processing is based on the display determination in step S66, and when the small combination (comb with medal payout) wins, the medal payout number data and the medal payout number data buffer corresponding to the winning small combination are updated. Execute the process.
In the next step S69, it is determined whether or not a special combination (1BB) has been won. When it is determined that the special combination has won, the process proceeds to step S70, and when it is determined that the special combination has not won, the process proceeds to step S72.
ステップS70では、特別役の入賞時の待機時間をセットする。この処理は、所定のレジスタに所定値をセットする処理である。本実施形態では、所定のレジスタに「2000」(約4470ms相当)をセットする。そして、次のステップS71で、2バイト時間待ち処理を実行する。
このように、特別役入賞時にウェイト時間を設定するのは、その間、サブ制御基板80側で、特別役入賞時の演出を出力し、かつ、その演出時間中は、遊技者によるベットスイッチ40の操作による演出キャンセルを行わせないようにするためである。このように、メイン処理においてウェイト時間を設けてメイン処理を停止することにより、遊技者に対し、特別役入賞時の演出を確実に見せることができる。なお、2バイト時間待ち処理を実行している間であっても、割込み処理は実行されるように構成されている。
In step S70, the waiting time for winning a special role is set. This process is a process for setting a predetermined value in a predetermined register. In this embodiment, “2000” (corresponding to about 4470 ms) is set in a predetermined register. In a next step S71, a 2-byte time waiting process is executed.
As described above, the wait time is set when the special combination is won, during which the
次のステップS72では、払出し手段63iは、入賞役に対応するメダルの払出しを行う。この処理は、貯留枚数が「50」未満であるときは、貯留枚数が「50」に到達するまで貯留枚数の加算処理を行い、貯留枚数が「50」以上となったときは、ホッパーモータ36を駆動して、ホッパー35aからメダルを遊技者に払い出すように制御する処理である。
次にステップS73に進む。ステップS73では、メイン制御基板60は、遊技終了チェック処理を行う。また、ステップS73では、入力ポート2のD5ビットである満杯センサ38の信号を判断し、オンであるときは、満杯エラーを表示する。満杯エラーは、本実施形態では「FEエラー」と称し、獲得数表示LED72に「FE」と表示する。
In the next step S72, the payout means 63i pays out medals corresponding to the winning combination. In this process, when the number of stored sheets is less than “50”, the number of stored sheets is added until the number of stored sheets reaches “50”. When the number of stored sheets reaches “50” or more, the hopper motor 36 Is controlled to pay out medals from the hopper 35a to the player.
Next, the process proceeds to step S73. In step S73, the main control board 60 performs a game end check process. In step S73, the signal of the full sensor 38, which is the D5 bit of the input port 2, is determined, and when it is on, a full error is displayed. The full error is referred to as “FE error” in this embodiment, and “FE” is displayed on the acquisition number display LED 72.
次のステップS74では、遊技終了時の出力要求をセットする。この処理は、1遊技が終了した旨をサブ制御基板80に送信するための制御コマンドをセットする処理である。
次にステップS75に進み、メイン制御基板60は、制御コマンドセット1(R_CMD_SET )を実行する。この処理は、制御コマンドバッファ(RWM61のアドレス「F113」〜「F153」の_BF_SUBCMD)に、サブ制御基板80に送信する制御コマンドを記憶する処理である。
そして、ステップS75の処理を終了すると、再度、ステップS40に戻る。
以上のようにして、1遊技ごとに、図11に示すメイン処理を繰り返す。
In the next step S74, an output request at the end of the game is set. This process is a process for setting a control command for transmitting to the
In step S75, the main control board 60 executes control command set 1 (R_CMD_SET). This process is a process of storing a control command to be transmitted to the
And when the process of step S75 is complete | finished, it returns to step S40 again.
As described above, the main process shown in FIG. 11 is repeated for each game.
図12は、図11のステップS42における遊技開始セット(MS_GAME_SET )を示すフローチャートである。
まず、ステップS80では、遊技待機表示時間をセットする(RWM61の所定記憶領域(図示せず)に記憶する)。本実施形態では、遊技待機表示時間としては、「26846」割込み(≒60000ms、すなわち約60秒(1分))をセットする。このステップS81で遊技待機表示時間がセットされると、この時点から割込み処理ごとに値が「1」ずつ減算される。
FIG. 12 is a flowchart showing the game start set (MS_GAME_SET) in step S42 of FIG.
First, in step S80, a game standby display time is set (stored in a predetermined storage area (not shown) of the RWM 61). In this embodiment, “26846” interrupt (≈60,000 ms, that is, about 60 seconds (1 minute)) is set as the game standby display time. When the game standby display time is set in step S81, the value is subtracted by “1” for each interrupt process from this point.
遊技待機表示時間が「0」となると、図11のステップS45(メダル投入待ち)において、獲得枚数データをクリアする。これにより、獲得数表示LED72には「00」が表示される。たとえば、前回遊技に払い出されたメダル枚数が「9」枚であり、かつ、遊技者が精算スイッチ43の操作により精算し、遊技を終了したとしても、約1分後には「00」が表示される。これにより、ホールの店員や別の遊技者が空き台として認識できることにより空き台を減少させることができるという効果を有する。 When the game standby display time becomes “0”, the acquired number data is cleared in step S45 (waiting for medal insertion) in FIG. As a result, “00” is displayed on the acquisition number display LED 72. For example, even if the number of medals paid out in the previous game is “9” and the player pays out by operating the checkout switch 43 and ends the game, “00” is displayed after about one minute. Is done. Thereby, it has the effect that a vacant stand can be reduced by being able to recognize a hall clerk and another player as a vacant stand.
次にステップS81に進み、押し順指示番号の初期化処理を実行する。この処理は、RWM61の所定のアドレスに記憶された押し順指示番号をクリアする処理に相当する。
次のステップS82では、図柄組合せ表示フラグのデータを取得する。この処理は、前遊技でのリール31の停止後における有効ライン上の図柄組合せ、すなわち図柄組合せ表示フラグのデータを所定のレジスタに記憶する処理である。
次のステップS83では、1BB作動図柄が表示されたか否かを判断する。そして、1BB作動図柄が表示されたと判断したときはステップS84に進み、表示されていないと判断したときはステップS87に進む。
Next, the process proceeds to step S81, and the push order instruction number initialization process is executed. This process corresponds to a process of clearing the push order instruction number stored at a predetermined address of the RWM 61.
In the next step S82, data of the symbol combination display flag is acquired. This process is a process of storing the symbol combination on the active line after the reel 31 is stopped in the previous game, that is, the symbol combination display flag data in a predetermined register.
In the next step S83, it is determined whether or not a 1BB operation symbol is displayed. When it is determined that the 1BB operation symbol is displayed, the process proceeds to step S84. When it is determined that the 1BB operation symbol is not displayed, the process proceeds to step S87.
ステップS84では、1BB作動時(1BB遊技時)の獲得可能枚数を保存する。この処理は、RWM61に「450」の値を保存(記憶)する処理である。この「450」は、1BB遊技における獲得可能な最大枚数である。そしてステップS87に進む。
ステップS87では、作動状態フラグを生成し、次のステップS88では、作動状態フラグを更新し、さらに次のステップS89では、作動状態フラグを保存(記憶)する。
In step S84, the acquirable number at the time of 1BB operation (at the time of 1BB game) is stored. This process is a process of storing (storing) the value “450” in the RWM 61. This “450” is the maximum number that can be acquired in a 1BB game. Then, the process proceeds to step S87.
In step S87, an operating state flag is generated, in the next step S88, the operating state flag is updated, and in the next step S89, the operating state flag is saved (stored).
ステップS90では、RB作動が開始したか否かを判断し、次のステップS91では、RB作動時の遊技回数及び入賞回数を保存する。
ステップS92では、ステップS82で取得した図柄組合せ表示フラグのデータに基づいて、リプレイの図柄の組合せが表示されたか(リプレイが入賞したか)否かを判断する。リプレイの図柄の組合せが表示されたと判断したときはステップS93に進み、表示されていないと判断したときはステップS95に進む。
In step S90, it is determined whether or not the RB operation has started. In the next step S91, the number of games and the number of winnings at the time of RB operation are stored.
In step S92, based on the symbol combination display flag data acquired in step S82, it is determined whether or not a combination of symbols for replay is displayed (whether replay has won a prize). When it is determined that the replay symbol combination is displayed, the process proceeds to step S93. When it is determined that the replay pattern combination is not displayed, the process proceeds to step S95.
ステップS93では、メイン制御基板60は、ベットメダルの読み込みを行う。この処理は、前回遊技でベットされていたメダル枚数を読み込む処理である。次にステップS94に進み、自動ベット数データをセットする。
次にステップS95に進み、コマンド送信テーブル1のセット処理を行う。
次のステップS96では、制御コマンド連続セット処理(M_CMD_LIST)を実行する。この処理は、ステップS95でセットしたコマンド送信テーブル1に基づいて、サブ制御基板80に対してコマンドを送信するための処理である。
ステップS96に進むと、図14の処理に移行し、次のステップS97に進むと、メダル受付け開始処理に移行する。メダル受付け開始処理は、前遊技におけるベット枚数をクリアし、投入表示LED(73e〜73g)を消灯等する処理である。そして、このメダル受付け開始処理が終了すると、本フローチャートによる処理を終了する。
In step S93, the main control board 60 reads a bet medal. This process is a process of reading the number of medals bet in the previous game. In step S94, automatic bet number data is set.
In step S95, the command transmission table 1 is set.
In the next step S96, a control command continuous set process (M_CMD_LIST) is executed. This process is a process for transmitting a command to the
If it progresses to step S96, it will transfer to the process of FIG. 14, and if it progresses to the following step S97, it will transfer to a medal acceptance start process. The medal acceptance start process is a process of clearing the number of bets in the previous game and turning off the insertion display LEDs (73e to 73g). Then, when the medal acceptance start process ends, the process according to this flowchart ends.
図13は、図11のステップS45におけるメダル投入待ち(MS_STANDBY_DSP)を示すフローチャートである。
先ず、ステップS411では、メイン制御基板60は、設定キースイッチ52の信号がオンであるか否かを判断する。ここでは、入力ポート1のD3ビットが「1」であるか否かを判断する。設定キースイッチ52の信号がオンであるときはステップS412に進み、オンでないと判断したときはステップS421に進む。すなわち、メダル投入待ち状態において、設定キースイッチ52がオンにされると(設定キー挿入口から設定キーが挿入されると)、設定確認モードとなり、ステップS411〜ステップS420の処理が実行される。設定確認モードは、現設定値を確認(管理者が目視にて確認)するモードであり、設定値の変更はできない。
FIG. 13 is a flowchart showing the medal insertion wait (MS_STANDBY_DSP) in step S45 of FIG.
First, in step S411, the main control board 60 determines whether or not the signal of the setting key switch 52 is on. Here, it is determined whether or not the D3 bit of the
ステップS412では、ブロッカ45がオフにされる。これにより、メダルがメダル投入口43から投入されても払出し口から返却される。
次のステップS413では、メイン制御基板60は、設定値表示開始時の出力要求をセットする。そして、次のステップS414で、サブ制御基板80に対して送信する、設定値表示開始時の制御コマンドデータをセットする。
次にステップS415に進み、メイン制御基板60は、設定値表示LED64を点灯可能にし、現在の設定値を表示可能にすることができる。なお、設定値表示LED64を実際に点灯/消灯する処理は、割込み処理におけるLED表示制御にて行われる。
In step S412, the blocker 45 is turned off. Thereby, even if a medal is inserted from the medal insertion slot 43, it is returned from the payout slot.
In the next step S413, the main control board 60 sets an output request at the start of setting value display. In the next step S414, control command data to be transmitted to the
Next, proceeding to step S415, the main control board 60 can turn on the set value display LED 64 and display the current set value. The process of actually turning on / off the set value display LED 64 is performed by the LED display control in the interrupt process.
次にステップS416に進み、設定キースイッチ52の信号がオフになったか否かを判断し続ける。この処理は、ステップS411とは反対に、入力ポート1のD3ビットが「0」になったか否かを判断する。設定キースイッチ52の信号がオフになったと判断されたときはステップS417に進み、メイン制御基板60は、設定値表示LED64を消灯させる。
Next, the process proceeds to step S416, and it is continuously determined whether or not the signal of the setting key switch 52 has been turned off. In this process, contrary to step S411, it is determined whether or not the D3 bit of the
次に、ステップS418に進み、メイン制御基板60は、設定値表示終了時の出力要求をセットする。そして、次のステップS419で、サブ制御基板80に対して送信する、設定値表示終了時の制御コマンドデータをセットする。
次のステップS420では、メイン制御基板60は、ブロッカ45をオンにする。
次にステップS421に進み、メイン制御基板60は、遊技待機表示時間が、ステップS80(図12)でセットした「26846」割込み(約60秒)を経過したか否かを判断する。
Next, proceeding to step S418, the main control board 60 sets an output request at the end of setting value display. Then, in the next step S419, control command data at the end of setting value display, which is transmitted to the
In the next step S420, the main control board 60 turns on the blocker 45.
Next, proceeding to step S421, the main control board 60 determines whether or not the game standby display time has passed the “26846” interrupt (about 60 seconds) set at step S80 (FIG. 12).
遊技待機表示時間を経過したと判断したときは、ステップS422に進み、獲得数表示LED72の表示をクリアする処理を実行する。そして、本フローチャートによる処理を終了する。一方、ステップS421において、遊技待機表示時間を経過していないと判断したときは、本フローチャートによる処理を終了する。
つまり、本実施形態では、所定時間、遊技が行われなかった場合には、獲得数表示LED72の表示をクリアするが、リプレイ表示LED73a、貯留数表示LED71、投入表示LED73e〜73gはクリアしないように構成している。これにより、ベットされていること、再遊技が可能なこと、又は精算可能な貯留枚数は、表示され続けているため、遊技者が一旦離席しようとしたときに、他の遊技者やホール関係者に対してその遊技者が遊技を終了したとは感じさせないことが可能となる。これにより、遊技者が不利益を被ることを少なくすることができる。
When it is determined that the game standby display time has elapsed, the process proceeds to step S422, and a process of clearing the display of the acquired number display LED 72 is executed. And the process by this flowchart is complete | finished. On the other hand, when it is determined in step S421 that the game standby display time has not elapsed, the processing according to this flowchart is terminated.
That is, in this embodiment, when the game is not performed for a predetermined time, the display of the acquisition number display LED 72 is cleared, but the
また、獲得枚数(たとえば8枚)の獲得があった旨を表示し続けることは、遊技者が遊技を終了(精算処理等を行って離席)したときに、獲得枚数が表示され続けることによって、他の遊技者やホール関係者に対してその遊技者が遊技を終了したとは感じさせないこと(まだ遊技者が遊技をしようとしているかも)と混同してしまうため、獲得枚数はクリアしている。 In addition, the fact that the number of acquired numbers (for example, 8) has been acquired is continuously displayed by the display of the acquired number of sheets when the player finishes the game (leaves the seat by performing a checkout process). , Because it is confused with other players and people involved in the hall that the player has not finished playing (even if the player is still trying to play) Yes.
図14は、制御コマンド連続セット(M_CMD_LIST)を示すフローチャートであり、図11のステップS59や図12のステップS96の処理に相当する。
ステップS201では、コマンド送信数をセットし、次のステップS202では、テーブルアドレスの更新処理を行い、次のステップS203では、制御コマンドを取得する。
FIG. 14 is a flowchart showing a control command continuous set (M_CMD_LIST), which corresponds to the processing in step S59 in FIG. 11 and step S96 in FIG.
In step S201, the command transmission number is set. In the next step S202, a table address update process is performed, and in the next step S203, a control command is acquired.
次にステップS204に進み、制御コマンドセット1処理(R_CMD_SET )を実行する。ステップS204に進むと、後述する図15の処理に移行する。この処理は、制御コマンドをサブ制御基板80に送信するための処理である。
次にステップS205に進み、本処理が終了したか否かを判断する。そして、本処理が終了したと判断したときは、制御コマンド連続セット処理を終了すると判断し、本フローチャートによる処理を終了する。これに対し、本処理が終了していないと判断したときは、ステップS203に戻る。
In step S204, control command set 1 processing (R_CMD_SET) is executed. If it progresses to step S204, it will transfer to the process of FIG. 15 mentioned later. This process is a process for transmitting a control command to the
Next, the process proceeds to step S205, and it is determined whether or not the present process is completed. When it is determined that this process has been completed, it is determined that the control command continuous setting process is to be terminated, and the process according to this flowchart is terminated. On the other hand, when it is determined that this process has not ended, the process returns to step S203.
図15は、制御コマンドセット1(R_CMD_SET )の処理を示すフローチャートである。
まず、ステップS501では、第2制御コマンドを取得する。
次のステップS502では、割込み禁止処理を実行し、次のステップS503では、制御コマンドセット2(C_CMD_SET )(図16)を実行する。そしてステップS504に進み、ステップS502で禁止した割込み処理を解除(すなわち割込み許可)を実行する。以上の処理により、制御コマンドセット2の実行中は、割込み処理が禁止される。
FIG. 15 is a flowchart showing the processing of the control command set 1 (R_CMD_SET).
First, in step S501, a second control command is acquired.
In the next step S502, interrupt prohibition processing is executed, and in the next step S503, control command set 2 (C_CMD_SET) (FIG. 16) is executed. In step S504, the interrupt process prohibited in step S502 is canceled (that is, interrupt permission) is executed. Through the above processing, interrupt processing is prohibited during execution of the control command set 2.
そして、制御コマンドセット2では、以下に示すように、制御コマンドの書き込みを行うが、制御コマンドセット2の実行中は、上述したように割込み処理が禁止されている。したがって、制御コマンドの書き込み処理中に割込み処理が実行されることによる誤作動(正常の書き込みアドレスとは異なるアドレスに書き込んでしまうこと等)を防止することができる。 In the control command set 2, the control command is written as shown below. While the control command set 2 is being executed, interrupt processing is prohibited as described above. Therefore, it is possible to prevent malfunction (such as writing to an address different from the normal write address) due to execution of interrupt processing during control command write processing.
ここで、割込みの禁止/解除を記憶するための割込みフラグが設けられている。割込みフラグは、ステップS502で割込み処理を禁止した後、次の割込み処理を実行するタイミング(割込み処理を禁止した時から2.235ms以内)が到来したときにオンにされる。そして、メインCPU63は、禁止した割込み処理を解除するときは、その後、割込みフラグをクリアする。
メイン制御基板60は、割込み処理を実行するタイミングが到来したときは、割込みフラグのオン/オフを判断し、割込み処理の禁止/許可を判断する。
Here, an interrupt flag for storing the prohibition / release of the interrupt is provided. The interrupt flag is turned on when the timing for executing the next interrupt process (within 2.235 ms from the time when the interrupt process is disabled) comes after the interrupt process is disabled in step S502. The main CPU 63 then clears the interrupt flag when canceling the prohibited interrupt processing.
When it is time to execute interrupt processing, the main control board 60 determines whether the interrupt flag is on or off, and determines whether interrupt processing is prohibited / permitted.
図16は、制御コマンドセット2(C_CMD_SET )を示すフローチャートである。
まず、ステップS511では、制御コマンドバッファのアドレスをセットする。この処理は、制御コマンドバッファの先頭アドレスをセットする処理である。
具体的には、制御コマンドバッファ(_BF_SUBCMD)の先頭アドレス(本実施形態では、図7に示すように、「F113」)に「1」を加算した値、すなわち「F114」をHLレジスタに記憶する。これにより、
HLレジスタ値=F114
となる。
FIG. 16 is a flowchart showing the control command set 2 (C_CMD_SET).
First, in step S511, the address of the control command buffer is set. This process is a process for setting the head address of the control command buffer.
Specifically, a value obtained by adding “1” to the start address of the control command buffer (_BF_SUBCMD) (in this embodiment, “F113” as shown in FIG. 7), that is, “F114” is stored in the HL register. . This
HL register value = F114
It becomes.
次のステップS512では、制御コマンド書き込みポインタ値の取得を行う。制御コマンド書き込みポインタは、制御コマンドのデータを、RWM61のどのアドレスに書き込むかを指定するためのものであり、現時点での書き込みポインタが記憶されているので、その書き込みポインタを読み込む処理を行う。なお、制御コマンド書き込みポインタ値(_NB_CMDSTORE)は、RWM61のアドレス「F018」に記憶される(図7)。
ここでの処理は、制御コマンド書き込みポインタ値をAレジスタ値に記憶する。たとえば、制御コマンド書き込みポインタ値(「F018」に記憶されている値)が「1」であるときは、Aレジスタ値=「1」とする。
In the next step S512, a control command write pointer value is acquired. The control command write pointer is for designating which address of the RWM 61 the control command data is to be written. Since the current write pointer is stored, a process for reading the write pointer is performed. The control command write pointer value (_NB_CMDSTORE) is stored in the address “F018” of the RWM 61 (FIG. 7).
In this process, the control command write pointer value is stored in the A register value. For example, when the control command write pointer value (value stored in “F018”) is “1”, the A register value = “1”.
次のステップS513では、指定アドレスを取得する。この処理は、制御コマンドバッファの先頭アドレスと、書き込みポインタの現在位置を示すデータとから、書き込む(RWM61の)アドレスを求めるものである。
具体的には、HLレジスタ値にAレジスタ値を加算した値をHLレジスタ値とする処理を実行する。たとえば、
HLレジスタ値=F114(H)
Aレジスタ値=1(H)
HLレジスタ値(加算後)=F115(H)
となる。
In the next step S513, a designated address is acquired. In this process, a write address (in the RWM 61) is obtained from the start address of the control command buffer and data indicating the current position of the write pointer.
Specifically, a process is performed in which a value obtained by adding the A register value to the HL register value is used as the HL register value. For example,
HL register value = F114 (H)
A register value = 1 (H)
HL register value (after addition) = F115 (H)
It becomes.
次にステップS514に進み、指定アドレスのデータを取得する。この処理は、前処理のステップS513で求めたアドレスのRWM61の記憶領域に保存されているデータを読み込む処理である。
具体的には、HLレジスタ値にAレジスタ値を加算した値をHLレジスタ値とし、HLレジスタ値が示すアドレスに記憶されたデータをAレジスタに記憶する。
上記の例では、
HLレジスタ値=F115(H)
Aレジスタ値=1(H)
HLレジスタ値(加算後)=F116(H)
となる。
Next, proceeding to step S514, data at a specified address is acquired. This process is a process of reading data stored in the storage area of the RWM 61 at the address obtained in step S513 of the preprocess.
Specifically, a value obtained by adding the A register value to the HL register value is used as the HL register value, and the data stored at the address indicated by the HL register value is stored in the A register.
In the above example,
HL register value = F115 (H)
A register value = 1 (H)
HL register value (after addition) = F116 (H)
It becomes.
次のステップS515における「制御コマンド<64?」では、指定アドレスのデータ(ステップS514で記憶したAレジスタ値)の値が「0」であるか否かを判断し、「0」であるときは、「Yes」と判断する処理である。
ここで、ステップS515で「No」と判断されるのは、Aレジスタ値が「0」でないときである。Aレジスタ値が「0」でないときは、制御コマンド書き込みポインタ値(_NB_CMDSTORE)が示すアドレスの制御コマンドバッファにはデータが既に書き込まれており、当該アドレスにはデータを書き込めないことを意味する。このようにして、指定アドレスにデータがあるときは、データの書き込み処理を実行しないので、指定アドレスにデータがあるときの上書きが防止される。
ステップS515で「Yes」と判断されたときはステップS516に進み、「No」と判断されたときは本フローチャートによる処理を終了する。
In “control command <64?” In the next step S515, it is determined whether or not the value of the designated address data (the A register value stored in step S514) is “0”. , “Yes”.
Here, “No” is determined in step S515 when the A register value is not “0”. When the A register value is not “0”, this means that data has already been written in the control command buffer at the address indicated by the control command write pointer value (_NB_CMDSTORE), and data cannot be written to the address. In this way, when there is data at the designated address, the data writing process is not executed, so that overwriting when there is data at the designated address is prevented.
When “Yes” is determined in step S515, the process proceeds to step S516, and when “No” is determined, the process according to this flowchart is terminated.
次のステップS516における「制御コマンドをRWMに記憶」では、HLレジスタ値を「1」減算する。そして、HLレジスタ値が示すアドレスに、Eレジスタ値を記憶するとともに、「HL+1」レジスタ値が示すアドレスにDレジスタ値を記憶する。すなわち、
HLレジスタ値=HLレジスタ値−1
Eレジスタ値=HLレジスタ値が示すアドレスの値
Dレジスタ値=「HL+1」レジスタ値が示すアドレスの値
となる。
たとえば、ステップS516に進んだときのHLレジスタ値が「F116」であったときは、
Eレジスタ値=アドレス「F115」に記憶された値
Dレジスタ値=アドレス「F116」に記憶された値
となる。
ここで、Dレジスタに記憶されたデータ及びEレジスタに記憶されたデータが、1つの制御コマンドとなる。また、Dレジスタに記憶されたデータは、コマンドの種別を示す定義データとなり、Eレジスタに記憶されたデータは、当該コマンドの種別の内容を示す変数データとなる。
In the “store control command in RWM” in the next step S516, “1” is subtracted from the HL register value. Then, the E register value is stored at the address indicated by the HL register value, and the D register value is stored at the address indicated by the “HL + 1” register value. That is,
HL register value = HL register value-1
E register value = address value indicated by HL register value D register value = address value indicated by “HL + 1” register value
For example, when the HL register value when proceeding to step S516 is “F116”,
E register value = value stored at address “F115” D register value = value stored at address “F116”.
Here, the data stored in the D register and the data stored in the E register become one control command. The data stored in the D register is definition data indicating the command type, and the data stored in the E register is variable data indicating the content of the command type.
次のステップS517では、制御コマンド書き込みポインタ値の更新処理を行う。
この処理では、まず、HLレジスタに、制御コマンド書き込みポインタ値(アドレス「F018」に記憶された値)を記憶する。
次に、HLレジスタに記憶した値に「1」を加算する。ここで、「1」を加算した結果、「64(10進数)」を超えているときは、「0」にする。
そして、加算後の値(HLレジスタに記憶した値)を、制御コマンド書き込みポインタ値(アドレス「F018」)に記憶する。これで、本フローチャートによる処理を終了する。
In the next step S517, the control command write pointer value is updated.
In this processing, first, the control command write pointer value (value stored in the address “F018”) is stored in the HL register.
Next, “1” is added to the value stored in the HL register. Here, when “64” (decimal number) is exceeded as a result of adding “1”, it is set to “0”.
Then, the value after addition (the value stored in the HL register) is stored in the control command write pointer value (address “F018”). This completes the processing according to this flowchart.
図17は、メイン制御基板60(メインCPU63)による割込み処理(I_INTR)を示すフローチャートである。上述したように、メイン制御基板60は、図11のメイン処理と並行して、2.235ms周期で、図17に示す割込み処理を行う。
先ず、ステップS601の割込み処理に移行すると、ステップS602では、初期処理として、レジスタ値の退避及び重複割込みの禁止処理を行う。ここでは、メイン処理で使用しているメインCPU63のレジスタを割込み処理で使用するため、現在のレジスタ値をRWM61のスタック領域に退避する。さらに、割込み処理中に次の割込み処理が開始されないように、割込み禁止フラグをオンにする。このようにするのは、たとえば電源断処理の実行中に割込み処理の実行要求が行われるときがあるからである。
FIG. 17 is a flowchart showing interrupt processing (I_INTR) by the main control board 60 (main CPU 63). As described above, the main control board 60 performs the interrupt process shown in FIG. 17 in a cycle of 2.235 ms in parallel with the main process of FIG.
First, when the process proceeds to the interrupt process in step S601, in step S602, as an initial process, a register value saving process and a duplicate interrupt prohibition process are performed. Here, since the register of the main CPU 63 used in the main process is used in the interrupt process, the current register value is saved in the stack area of the RWM 61. Further, the interrupt prohibition flag is turned on so that the next interrupt process is not started during the interrupt process. This is because, for example, an interrupt process execution request may be made during the power-off process.
次のステップS603では、電源断を検知したか否かを判断する。ここでは、(図示しない)メイン制御基板60上に設けられた電圧監視装置(電源断検出回路)により、電源電圧が所定値以下になったときには、図3中、入力ポート2のD0ビットに電源断検知信号が入力されるので、その信号の入力があったか否かを検知する。
そして、電源断を検知したときはステップS620の電源断処理(IS_POWER_DOWN ;図18)に進み、電源断を検知していないと判断したときはステップS604に進む。
In the next step S603, it is determined whether or not power-off is detected. Here, when the power supply voltage becomes a predetermined value or less by a voltage monitoring device (power-off detection circuit) provided on the main control board 60 (not shown), the D0 bit of the input port 2 in FIG. Since the disconnection detection signal is input, it is detected whether or not the signal is input.
When power-off is detected, the process proceeds to power-off processing (IS_POWER_DOWN; FIG. 18) in step S620. When it is determined that power-off is not detected, the process proceeds to step S604.
ステップS604では、割込みカウンタ値の更新を行う。
次のステップS605では、入力ポート0〜2の読み込み処理を行う。これにより、ベットスイッチ40、スタートスイッチ41、ストップスイッチ42等の信号や、各種センサの入力信号を読み込み、入力ポート0〜2に基づくデータを生成し、RWM61の所定アドレスに記憶する。
次にステップS606に進み、リール31の駆動制御を行う。そして、リール31の駆動制御が終了するとステップS607に進み、ポート出力処理を行う。この処理は、モータ32、ホッパーモータ36、及びブロッカ45の励磁出力を行う処理である。
In step S604, the interrupt counter value is updated.
In the next step S605, the input ports 0 to 2 are read. As a result, signals from the bet switch 40, start switch 41, stop
In step S606, the reel 31 is controlled to be driven. Then, when the drive control of the reel 31 is completed, the process proceeds to step S607, and port output processing is performed. This process is a process for performing excitation output of the motor 32, the hopper motor 36, and the blocker 45.
次のステップS608では、制御コマンド送信(I_CMD_OUT ;図19)を行う。この処理は、第1制御コマンド(サブ制御データ信号9〜16)を、出力ポート8のD0〜D7ビットから8ビットのパラレル通信でサブ制御基板80に送信するとともに、第2制御コマンド(サブ制御データ信号1〜8)を、出力ポート7のD0〜D7ビットから8ビットのパラレル通信でサブ制御基板80に送信する処理である。
In the next step S608, control command transmission (I_CMD_OUT; FIG. 19) is performed. In this process, the first control command (sub-control data signals 9 to 16) is transmitted from the D0 to D7 bits of the output port 8 to the
また、この制御コマンド送信では、出力要求セット及び制御コマンドセット1において制御コマンドバッファ(リングバッファ(RWM61のアドレス「F113」〜「F153」の「_BF_SUBCMD」))に書き込まれた制御コマンドを、先に書き込まれたものから順に、出力ポート7及び出力ポート8からサブ制御基板80に送信する。
具体的には、出力要求セット及び制御コマンドセット1において制御コマンドが制御コマンドバッファに書き込まれると、その時点以降の割込み処理(制御コマンドバッファが空の場合は、原則としては、その時点の次に到来する割込み処理)において、このステップS608によって制御コマンドがサブ制御基板80に送信される。
In this control command transmission, the control command written in the control command buffer (ring buffer (RBF 61 addresses “F113” to “F153” “_BF_SUBCMD”)) in the output request set and control command set 1 is first sent. The data is transmitted from the
Specifically, when a control command is written to the control command buffer in the output request set and the control command set 1, interrupt processing after that point (in principle, if the control command buffer is empty, In the incoming interrupt processing), the control command is transmitted to the
次にステップS609に進み、LED表示制御を行う。この処理は、スロットマシン10の状態に応じて、LED71〜73を点灯させることにより、設定値、貯留枚数、獲得枚数、エラー表示内容(エラーコード)等を表示する処理である。設定変更中や設定確認中の設定値、貯留枚数、獲得枚数、復帰可能なエラーの表示は、割込み処理時ごとに、このLED表示制御にて行う。 In step S609, LED display control is performed. This process is a process of displaying a set value, a stored number, an acquired number, an error display content (error code), and the like by turning on the LEDs 71 to 73 in accordance with the state of the slot machine 10. Display of setting values during setting change and setting confirmation, the number of stored items, the number of acquired items, and recoverable errors is performed by this LED display control at every interrupt processing.
次のステップS610では、サブ報知データ出力(I_SUB_INF ;図21)を行う。この処理は、サブ報知データ(第3制御コマンド/サブ制御データ信号17〜24)を、出力ポート6のD0〜D7ビットから8ビットのパラレル通信でサブ制御基板80に送信する処理である。
ここで、上述したステップS608の制御コマンド送信では、制御コマンドバッファに書き込まれた第1制御コマンド(サブ制御データ信号9〜16)及び第2制御コマンド(サブ制御データ信号1〜8)を出力ポート8及び出力ポート7からそれぞれサブ制御基板80に送信する。
In the next step S610, sub broadcast data output (I_SUB_INF; FIG. 21) is performed. This process is a process of transmitting the sub notification data (third control command / sub control data signals 17 to 24) to the
Here, in the control command transmission in step S608 described above, the first control command (sub control data signals 9 to 16) and the second control command (sub control data signals 1 to 8) written in the control command buffer are output ports. 8 and the
このため、第1制御コマンド及び第2制御コマンドについては、制御コマンドバッファに書き込んでからサブ制御基板80に送信するまでに、割込み処理の間隔(2.235ms)より大きいタイムラグが生じることがある。
特に、第1制御コマンド及び第2制御コマンドを制御コマンドバッファに書き込むときに、未送信の制御コマンドが制御コマンドバッファに記憶されていると、その未送信の制御コマンドの送信を完了してから、第1制御コマンド及び第2制御コマンドを送信することになるので、その未送信の制御コマンドの送信を完了するまでに要する時間の分、タイムラグが生じることとなる。
For this reason, the first control command and the second control command may have a time lag greater than the interrupt processing interval (2.235 ms) from when they are written to the control command buffer to when they are transmitted to the
In particular, when writing the first control command and the second control command to the control command buffer, if an untransmitted control command is stored in the control command buffer, the transmission of the untransmitted control command is completed, Since the first control command and the second control command are transmitted, there is a time lag corresponding to the time required to complete the transmission of the untransmitted control command.
これに対し、ステップS610のサブ報知データ出力では、第3制御コマンド(サブ制御データ信号17〜24)を、制御コマンドバッファを介さずに出力ポート6のD0〜D7ビットに直接書き込んで、サブ制御基板80に送信する。
また、ステップS610のサブ報知データ出力では、第3制御コマンドの内容(たとえば、設定キースイッチ52のオン/オフの状態)に変化があったか否かにかかわらず、割込み処理ごとに、第3制御コマンドを出力ポート6のD0〜D7ビットに書き込んでサブ制御基板80に送信する。
On the other hand, in the sub notification data output in step S610, the third control command (sub control data signals 17 to 24) is directly written to the D0 to D7 bits of the output port 6 without going through the control command buffer, and the sub control is performed. Transmit to the
Further, in the sub notification data output in step S610, the third control command is provided for each interrupt process regardless of whether or not the content of the third control command (for example, the on / off state of the setting key switch 52) has changed. Is written in the D0 to D7 bits of the output port 6 and transmitted to the
このため、第3制御コマンドについては、出力ポート6に書き込んでからサブ制御基板80に送信するまでに、割込み処理の間隔(2.235ms)より大きいタイムラグが生じないようにすることができる。
また、第3制御コマンドを、制御コマンドバッファを介して出力ポート7及び出力ポート8からサブ制御基板80に送信するのではなく、制御コマンドバッファを介さずに出力ポート6からサブ制御基板80に送信することにより、制御コマンドバッファに書き込む制御コマンドの数を少なくすることができるとともに、制御コマンドバッファを介して送信される制御コマンドの送信待ちの時間を短くすることができる。
For this reason, it is possible to prevent a time lag greater than the interrupt processing interval (2.235 ms) from writing to the output port 6 to transmission to the
Further, the third control command is not transmitted from the
次のステップS611では、タイマ計測を行う。この処理は、メイン処理でセットした時間を減算等する処理である。
次にステップS612に進み、内蔵乱数のチェック処理を行う。本実施形態では、内蔵乱数にエラーが発生するとオンになるフラグが設けられており、このフラグがオンであるか否かが判断される。
In the next step S611, timer measurement is performed. This process is a process of subtracting the time set in the main process.
In step S612, the internal random number is checked. In the present embodiment, a flag that is turned on when an error occurs in the built-in random number is provided, and it is determined whether or not this flag is turned on.
具体的には、たとえば役抽選用の乱数のクロック周波数異常(乱数更新が遅い場合等)を検知したときは、当該エラーフラグがオンにされる。より具体的には、MPUに入力されるSCLK(発振源:12MHz)とRCK(発振源:9MHZ)を備え、RCKに基づいて内蔵乱数を更新するものとする。このとき、「RCK<SCLK/2」を満たした場合にエラーフラグがオンになる。 Specifically, for example, when an abnormality in the clock frequency of the random numbers for the lottery (for example, when the random number update is late), the error flag is turned on. More specifically, it is assumed that SCLK (oscillation source: 12 MHz) and RCK (oscillation source: 9 MHz) input to the MPU are provided, and the built-in random number is updated based on RCK. At this time, the error flag is turned on when “RCK <SCLK / 2” is satisfied.
そして、ステップS613に進み、内蔵乱数にエラーが発生しているか否か(エラーフラグがオンか否か)を判断し、エラーが発生していないと判断されたときはステップS614に進み、エラーが発生していると判断したときは、ステップS621に進んで、復帰不可能エラー処理に移行する。このときのエラー表示内容は、「E7」となる。 In step S613, it is determined whether an error has occurred in the built-in random number (whether the error flag is on). If it is determined that no error has occurred, the process proceeds to step S614, where an error is detected. If it is determined that the error has occurred, the process proceeds to step S621 to shift to a non-recoverable error process. The error display content at this time is “E7”.
ステップS614では、入力エラーチェック処理を実行する。この処理は、各種センサに異常がないか否かを判断する処理である。
次にステップS615に進み、RWM61に記憶されている外部信号のためのデータをレジスタに記憶する。そして、次のステップS616では、出力ポート5にデータを書き込む(セットする)ことにより、外部信号の出力(外部集中端子板100への信号の送信)を行う。
In step S614, an input error check process is executed. This process is a process for determining whether or not various sensors are abnormal.
In step S615, data for the external signal stored in the RWM 61 is stored in the register. In the next step S616, data is written (set) to the output port 5 to output an external signal (transmission of a signal to the external concentrated terminal board 100).
次のステップS617では、試験信号及び条件装置情報の出力処理を行う。この処理は、RWM61に記憶されているデータに基づいて出力ポート9及び10にデータを書き込む(セットする)ことにより、スロットマシン10が法律に従って適切に設計されているか否かを判断するときの試験機に対して試験信号を送信する処理である。
次にステップS618に進み、乱数更新処理を行う。次のステップS619では、ステップS602で退避したレジスタ値を復帰させ、次回割込みの許可を行う。具体的には、割込み処理開始時に記憶していたレジスタデータを復帰するとともに、次回の割込み処理を開始できるように、割込禁止フラグをオフにする。そして本フローチャートによる処理を終了する。
In the next step S617, a test signal and condition device information output process is performed. This process is a test for determining whether the slot machine 10 is properly designed according to the law by writing (setting) data to the output ports 9 and 10 based on the data stored in the RWM 61. This is a process of transmitting a test signal to the machine.
In step S618, random number update processing is performed. In the next step S619, the register value saved in step S602 is restored, and the next interrupt is permitted. Specifically, the register data stored at the start of interrupt processing is restored and the interrupt prohibition flag is turned off so that the next interrupt processing can be started. And the process by this flowchart is complete | finished.
以上の処理に示すように、2.235msごとの割込み処理により、貯留数表示LED71、獲得数表示LED72、状態表示LED73(73a〜73g)、設定値表示LED64の点灯/消灯が制御される。
また、制御コマンドバッファに未送信の制御コマンドが記憶されているときは、割込み処理ごとに、その制御コマンドを出力ポート7及び出力ポート8からサブ制御基板80に送信する。
さらにまた、第3制御コマンド(サブ制御データ信号17〜24)の内容に変化があったか否かにかかわらず、割込み処理ごとに、第3制御コマンドを出力ポート6からサブ制御基板80に送信する。
As shown in the above processing, lighting / extinguishing of the storage number display LED 71, the acquisition number display LED 72, the status display LEDs 73 (73a to 73g), and the set value display LED 64 is controlled by interruption processing every 2.235 ms.
When an untransmitted control command is stored in the control command buffer, the control command is transmitted from the
Furthermore, the third control command is transmitted from the output port 6 to the
なお、復帰不可能エラー処理時には、割込み処理を行わない。
復帰不可能エラーは、通常では起こり得ない重大なエラーであり、異常データに基づく処理(入力ポートからのデータに基づくRWM61のデータ更新や、サブ制御基板80への制御コマンドの送信)等を実行しないようにするために、割込み自体を禁止している。
Note that interrupt processing is not performed during non-recoverable error processing.
An unrecoverable error is a serious error that cannot occur normally, and executes processing based on abnormal data (data update of the RWM 61 based on data from the input port, transmission of a control command to the sub-control board 80), etc. To prevent this, the interrupt itself is prohibited.
いいかえれば、復帰不可能エラー時には、メイン制御基板60からサブ制御基板80への制御コマンドの送信を行わないので、制御コマンドセット1を実行しても意味がない。
さらに、復帰不可能エラーの発生時に、制御コマンドバッファに未送信の制御コマンドが記憶されているときは、その制御コマンドをサブ制御基板80に送信しない。制御コマンドバッファに記憶されている制御コマンドが正しくないおそれがあるからである。
In other words, at the time of an unrecoverable error, the control command set 1 is not transmitted from the main control board 60 to the
Further, if an untransmitted control command is stored in the control command buffer when an unrecoverable error occurs, the control command is not transmitted to the
図18は、図17のステップS603において、電源断を検知し、ステップS620に進んだときの電源断処理(IS_POWER_DOWN )を示すフローチャートである。
先ず、ステップS651では、全出力ポートの出力をオフにする。次にステップS652に進み、電源断処理済みフラグをRWM61に記憶する。この処理は、正常な電源断処理が実行されたことを示すデータをRWM61に記憶する処理である。具体的には、RWM61の所定のアドレスに「01(H)」を記憶する。これにより、正常な電源断処理が行われるとステップS652を経由して電源断処理済みフラグとして「01(H)」が記憶されるが、それ以外の電源断の場合には電源断処理済みフラグとして当該アドレスに「01(H)」は記憶されない。
FIG. 18 is a flowchart showing the power-off processing (IS_POWER_DOWN) when the power-off is detected in step S603 of FIG. 17 and the process proceeds to step S620.
First, in step S651, all the output ports are turned off. Next, proceeding to step S652, the power-off process completion flag is stored in the RWM 61. This process is a process of storing in the RWM 61 data indicating that a normal power-off process has been executed. Specifically, “01 (H)” is stored in a predetermined address of the RWM 61. As a result, when normal power-off processing is performed, “01 (H)” is stored as a power-off processing completed flag via step S652, but in the case of other power-off processing, the power-off processing completed flag As a result, “01 (H)” is not stored in the address.
次のステップS653では、RWM61のチェックサムデータを算出する。この処理は、プログラムで使用する作業領域(RWM61)を含むチェックサムを算出するものであり、対象となるプログラム使用領域としては、プログラム作業領域、未使用領域、スタックエリア等が挙げられる。
そして、次のステップS654で、チェックサムの全範囲の算出が終了したか否かを判断し、終了していないと判断したときはステップS653に戻ってチェックサムの算出を継続する。一方、チェックサムの算出が終了したと判断したときはステップS655に進む。
In the next step S653, checksum data of the RWM 61 is calculated. This process calculates a checksum including a work area (RWM 61) used in the program. Examples of the program use area to be processed include a program work area, an unused area, and a stack area.
In the next step S654, it is determined whether or not the calculation of the entire range of the checksum has been completed. If it is determined that the calculation has not been completed, the process returns to step S653 and the calculation of the checksum is continued. On the other hand, when it is determined that the checksum calculation has been completed, the process proceeds to step S655.
ステップS655では、算出したチェックサムを、RWM61の所定のアドレスに記憶する。ここで、RWM61に記憶するデータは、RWM61のチェックサム時に、プログラム使用領域の全データと、上記所定のアドレスに記憶した値とを加算したとき、「0」となる1バイトデータ(補数データともいう)である。具体的には、対象となるRWM61のプログラム使用領域(プログラム作業領域、未使用領域、スタックエリア等)の全データを加算し、そのときの下位8ビットの値がたとえば「00000001」(01H)であったときは、前記所定のアドレスに記憶されるチェックサムデータは、「11111111」(FFH)となる。 In step S655, the calculated checksum is stored in a predetermined address of the RWM 61. Here, the data stored in the RWM 61 is 1-byte data (both complement data) that is “0” when all the data in the program use area and the value stored in the predetermined address are added at the time of the RWM 61 checksum. Say). Specifically, all data in the program usage area (program work area, unused area, stack area, etc.) of the target RWM 61 is added, and the value of the lower 8 bits at that time is, for example, “00000001” (01H) If there is, the checksum data stored at the predetermined address is “11111111” (FFH).
そして、プログラム開始時に、RWM61のチェックサムを実行する場合は、上記と同範囲のRWM61のプログラム使用領域の全データと、チェックサムデータとを加算する。これによって算出されるチェックサムデータが「0」であれば正常値であると判断し、「0」でなければ異常値であると判断する。 When the checksum of the RWM 61 is executed at the start of the program, all the data in the program use area of the RWM 61 in the same range as above and the checksum data are added. If the checksum data calculated thereby is “0”, it is determined as a normal value, and if it is not “0”, it is determined as an abnormal value.
次に、ステップS656に進み、リセット待ち状態にする。ここでは、電圧が所定値になると、メイン制御基板60に設けられた電圧監視装置(電源断検出回路)からリセット信号が出力されるので、そのリセット信号の出力を待つ状態となる。ここで、電圧監視装置は、電源電圧が所定値以下になったときには、入力ポート2(図3)のD0ビットに電源断検知信号が入力され、その後、コンデンサと抵抗からなる回路によって所定時間経過した後にリセット信号がMPUに入力されるように構成されている。このとき、電源断時の処理が正常に実行される時間となるようにコンデンサや抵抗値が設計されている。 Next, the process proceeds to step S656 to enter a reset wait state. Here, when the voltage reaches a predetermined value, a reset signal is output from the voltage monitoring device (power-off detection circuit) provided on the main control board 60, so that the output of the reset signal is awaited. Here, when the power supply voltage falls below a predetermined value, the voltage monitoring device inputs a power-off detection signal to the D0 bit of the input port 2 (FIG. 3), and then a predetermined time elapses by a circuit composed of a capacitor and a resistor. After that, the reset signal is input to the MPU. At this time, the capacitor and the resistance value are designed so that it is time for the processing when the power is cut off to be normally executed.
図19は、図17のステップS608における制御コマンド送信(I_CMD_OUT )を示すフローチャートである。
ステップS661では、制御コマンドバッファのアドレスをセットする。この処理は、HLレジスタに、制御コマンドバッファ(_BF_SUBCMD)の先頭アドレスである「F113(H)」を記憶する処理である。
次のステップS662では、制御コマンドの読み込みポインタ値を取得する。この処理は、RWM61におけるアドレス「F017」の制御コマンド読み込みポインタ値を、Aレジスタに記憶する処理である。
FIG. 19 is a flowchart showing control command transmission (I_CMD_OUT) in step S608 of FIG.
In step S661, the control command buffer address is set. This process is a process of storing “F113 (H)” which is the start address of the control command buffer (_BF_SUBCMD) in the HL register.
In the next step S662, the read pointer value of the control command is acquired. This process is a process of storing the control command read pointer value of the address “F017” in the RWM 61 in the A register.
次のステップS663では、指定アドレスをセットする。この処理は、HLレジスタに記憶されているデータとAレジスタに記憶されているデータとを加算し、加算後のデータをHLレジスタに記憶する処理である。
次のステップS664では、送信対象となる制御コマンドバッファのアドレスをセットする。この処理は、ステップS663と同様に、HLレジスタに記憶されているデータとAレジスタに記憶されているデータとを加算し、加算後のデータをHLレジスタに記憶する処理である。
上記のステップS663及びS664の処理により、HLレジスタに記憶されるデータに対して、Aレジスタに記憶されているデータを2倍にしたデータが加算される。
In the next step S663, a designated address is set. In this process, the data stored in the HL register and the data stored in the A register are added, and the data after the addition is stored in the HL register.
In the next step S664, the address of the control command buffer to be transmitted is set. Similar to step S663, this process is a process of adding the data stored in the HL register and the data stored in the A register, and storing the added data in the HL register.
Through the processes in steps S663 and S664 described above, data obtained by doubling the data stored in the A register is added to the data stored in the HL register.
次のステップS665では、制御コマンドを有する(制御コマンドバッファに制御コマンドが記憶されている)か否かを判断する。ここでは、以下の(1)〜(3)の処理を実行する。
(1)HLレジスタ値が示すアドレスに記憶されたデータをEレジスタに記憶する。
(2)HLレジスタ値に「1」を加算した値が示すアドレスに記憶されたデータをDレジスタに記憶する。
(3)Eレジスタに記憶されたデータ、及びDレジスタに記憶されたデータが「0」であるとき、制御コマンドを有さない(No)と判断する。
そして、制御コマンドを有すると判断したときはステップS666に進み、制御コマンドを有さないと判断したときはステップS670に進む。
In the next step S665, it is determined whether or not it has a control command (a control command is stored in the control command buffer). Here, the following processes (1) to (3) are executed.
(1) The data stored at the address indicated by the HL register value is stored in the E register.
(2) The data stored at the address indicated by the value obtained by adding “1” to the HL register value is stored in the D register.
(3) When the data stored in the E register and the data stored in the D register are “0”, it is determined that there is no control command (No).
If it is determined that the control command is included, the process proceeds to step S666. If it is determined that the control command is not included, the process proceeds to step S670.
次のステップS666では、制御コマンドを出力する。この処理は、Eレジスタに記憶されているデータを、第2制御コマンド(サブ制御データ信号1〜8)として出力ポート7に出力するとともに、Dレジスタに記憶されているデータを、第1制御コマンド(サブ制御データ信号9〜16)として出力ポート8に出力する処理である。
In the next step S666, a control command is output. In this process, the data stored in the E register is output to the
次のステップS667では、サブ制御データストローブ信号をオンにする。具体的には、以下の(1)〜(3)の処理を実行する。
(1)投入枚数表示LED信号データの値をAレジスタに記憶する。
(2)Aレジスタに記憶されているデータと、「10000000B」とをOR演算し、その演算結果をAレジスタに記憶する。
(3)Aレジスタに記憶されているデータを出力ポート2に出力する。
In the next step S667, the sub control data strobe signal is turned on. Specifically, the following processes (1) to (3) are executed.
(1) Store the value of the input number display LED signal data in the A register.
(2) OR the data stored in the A register and “10000000B”, and store the operation result in the A register.
(3) The data stored in the A register is output to the output port 2.
このステップS667の処理により、出力ポート2のD7ビットの出力は常に「1」になる。すなわち、サブ制御データストローブ信号がオンになる。そして、サブ制御データストローブ信号がオンになると、その立ち上がりを契機に、サブ制御基板80側では、出力ポート7及び出力ポート8のデータを取得する。
また、出力ポート2のD7ビット以外の出力は、ステップS667の処理の前後で変化しない。よって、1枚投入表示LED73e、2枚投入表示LED73f、及び3枚投入表示LED73gの点灯又は消灯の状態は、ステップS667の処理の前後で変化することがない。
With the processing in step S667, the output of the D7 bit of the output port 2 is always “1”. That is, the sub control data strobe signal is turned on. Then, when the sub control data strobe signal is turned on, the data of the
Further, the output other than the D7 bit of the output port 2 does not change before and after the process of step S667. Therefore, the lighting or extinguishing state of the one-sheet insertion display LED 73e, the two-sheet insertion display LED 73f, and the three-sheet
ここで、1枚投入表示LED信号が「1」であるときは、1枚投入表示LED信号がオンであることを示し、1枚投入表示LED73eが点灯する。これに対し、1枚投入表示LED信号が「0」であるときは、1枚投入表示LED信号がオフであることを示し、1枚投入表示LED73eが消灯する。
2枚投入表示LED信号及び3枚投入表示LED信号についても1枚投入表示LED信号と同様に、「1」であるときはオンであることを示し、「0」であるときはオフであることを示す。そして、「1」(オン)のときは2枚投入表示LED73f及び3枚投入表示LED73gが点灯し、「0」(オフ)のときは2枚投入表示LED73f及び3枚投入表示LED73gが消灯する。
Here, when the single-loading display LED signal is “1”, it indicates that the single-loading display LED signal is on, and the single-loading display LED 73e is lit. On the other hand, when the single-loading display LED signal is “0”, it indicates that the single-loading display LED signal is off, and the single-loading display LED 73e is turned off.
Similarly to the 1-sheet insertion display LED signal, the 2-sheet insertion display LED signal and the 3-sheet insertion display LED signal are turned on when “1”, and are turned off when “0”. Indicates. When “1” (ON), the two-sheet insertion display LED 73f and the three-sheet
また、1枚〜3枚投入表示LED信号が「1」(オン)のときは、OR演算前のAレジスタのデータは「00000111B」となる。このとき、このAレジスタのデータと、「10000000B」とをOR演算すると、「10000111B」となる。これにより、1枚〜3枚投入表示LED信号がオンの状態を維持したまま、サブ制御データストローブ信号をオフからオンにすることができる。 Further, when the 1 to 3 sheet display LED signal is “1” (ON), the data in the A register before the OR operation is “00000111B”. At this time, the OR operation of the data in the A register and “10000000B” yields “10000111B”. Thereby, the sub-control data strobe signal can be turned on from off while the one- to three-sheet display LED signal is kept on.
さらにまた、1枚〜3枚投入表示LED信号が「0」(オフ)のときは、OR演算前のAレジスタのデータは「00000000B」となる。このとき、このAレジスタのデータと、「10000000B」とをOR演算すると、「10000000B」となる。これにより、1枚〜3枚投入表示LED信号がオフの状態を維持したまま、サブ制御データストローブ信号をオフからオンにすることができる。 Furthermore, when the 1 to 3 sheet display LED signal is “0” (off), the data in the A register before the OR operation is “00000000B”. At this time, when the OR operation is performed on the data in the A register and “10000000B”, “10000000B” is obtained. Thereby, the sub-control data strobe signal can be turned on from off while maintaining the state in which the one to three pieces of display LED signals are off.
なお、1枚投入表示LED信号がオン、2枚及び3枚投入表示LED信号がオフのときは、OR演算前のAレジスタのデータは「00000100B」となる。このとき、このAレジスタのデータと、「10000000B」とをOR演算すると、「10000100B」となる。
また、1枚及び2枚投入表示LED信号がオン、3枚投入表示LED信号がオフのときは、OR演算前のAレジスタのデータは「00000110B」となる。このとき、このAレジスタのデータと、「10000000B」とをOR演算すると、「10000110B」となる。
When the 1-sheet insertion display LED signal is on, the 2-sheet and 3-sheet insertion display LED signals are off, the data in the A register before the OR operation is “00000100B”. At this time, when the OR operation is performed on the data in the A register and “10000000B”, “10000100B” is obtained.
When the 1-sheet and 2-sheet insertion display LED signals are on and the 3-sheet insertion display LED signal is off, the data in the A register before the OR operation is “00000110B”. At this time, when the OR operation is performed on the data of the A register and “10000000B”, “1000010B” is obtained.
このように、出力ポート2のD0〜D2ビットに対応するデータを、1枚〜3枚投入表示LED信号の出力態様(各信号のオン/オフのパターン)に対応するデータとし、かつ出力ポート2のD7ビットに対応するデータを、サブ制御データストローブ信号の出力態様(オン/オフ)に対応するデータとした8ビットデータを生成する。そして、生成した8ビットデータを出力ポート2に出力する。 As described above, the data corresponding to the D0 to D2 bits of the output port 2 is set to data corresponding to the output mode (on / off pattern of each signal) of the 1 to 3 input display LED signals, and the output port 2 The 8-bit data is generated with the data corresponding to the D7 bit as data corresponding to the output mode (ON / OFF) of the sub-control data strobe signal. Then, the generated 8-bit data is output to the output port 2.
次のステップS668では、送信済みのコマンド保存バッファのクリア処理を行う。この処理は、HLレジスタ値が示すアドレスに記憶されているデータ、及びHLレジスタ値に「1」を加算した値が示すアドレスに記憶されているデータをクリアする(「0」にする)処理である。
次にステップS669に進み、制御コマンド読み込みポインタ値を更新する。ここでは、以下の(1)〜(3)の処理を実行する。
(1)アドレス「F017」の制御コマンド読み込みポインタ値(_NB_CMDREAD )のアドレスをHLレジスタに記憶する。
(2)HLレジスタ値に「1」を加算する。
(3)加算後のHLレジスタ値が「31」(10進数)を超えるか否かを判断し、「31」を超えないときは、その値を制御コマンド読み込みポインタ値に記憶する。一方、「31」を超えたときは、「0」を制御コマンド読み込みポインタ値に記憶する。
In the next step S668, the transmitted command storage buffer is cleared. In this process, the data stored at the address indicated by the HL register value and the data stored at the address indicated by the value obtained by adding “1” to the HL register value are cleared (set to “0”). is there.
In step S669, the control command read pointer value is updated. Here, the following processes (1) to (3) are executed.
(1) The address of the control command read pointer value (_NB_CMDREAD) at the address “F017” is stored in the HL register.
(2) Add “1” to the HL register value.
(3) It is determined whether or not the HL register value after addition exceeds “31” (decimal number), and if it does not exceed “31”, that value is stored in the control command read pointer value. On the other hand, when “31” is exceeded, “0” is stored in the control command read pointer value.
次のステップS670では、サブ制御データストローブ信号をオフにする。具体的には、以下の(1)及び(2)の処理を実行する。
(1)投入枚数表示LED信号データの値をAレジスタに記憶する。
(2)Aレジスタに記憶されているデータを出力ポート2に出力する。
In the next step S670, the sub control data strobe signal is turned off. Specifically, the following processes (1) and (2) are executed.
(1) Store the value of the input number display LED signal data in the A register.
(2) The data stored in the A register is output to the output port 2.
このステップS670の処理により、出力ポート2のD7ビットの出力は常に「0」になる。すなわち、サブ制御データストローブ信号がオフになる。そして、サブ制御データストローブ信号がオフのときは、サブ制御基板80側では、出力ポート7及び出力ポート8のデータを取得することはない。
また、出力ポート2のD7ビット以外の出力は、ステップS670の処理の前後で変化しない。よって、1枚投入表示LED73e、2枚投入表示LED73f、及び3枚投入表示LED73gの点灯又は消灯の状態は、ステップS667の処理の前後で変化することはない。
By the processing in step S670, the output of the D7 bit of the output port 2 is always “0”. That is, the sub control data strobe signal is turned off. When the sub control data strobe signal is OFF, the data of the
Further, the output other than the D7 bit of the output port 2 does not change before and after the process of step S670. Therefore, the lighting or extinguishing state of the one-sheet insertion display LED 73e, the two-sheet insertion display LED 73f, and the three-sheet
ここで、1枚〜3枚投入表示LED信号が「1」(オン)のときは、Aレジスタのデータは「00000111B」である。このため、このAレジスタのデータを出力ポート2に出力することにより、1枚〜3枚投入表示LED信号の出力がオンの状態を維持したまま、サブ制御データストローブ信号の出力をオンからオフにすることができる。
また、1枚〜3枚投入表示LED信号が「0」(オフ)のときは、Aレジスタのデータは「00000000B」である。このため、このAレジスタのデータを出力ポート2に出力することにより、1枚〜3枚投入表示LED信号の出力がオフの状態を維持したまま、サブ制御データストローブ信号の出力をオンからオフにすることができる。
Here, when the 1 to 3 sheet insertion display LED signal is “1” (ON), the data in the A register is “00000111B”. For this reason, by outputting the data of the A register to the output port 2, the output of the sub control data strobe signal is changed from on to off while the output of the 1 to 3 pieces of display LED signal is kept on. can do.
Further, when the 1 to 3 sheet insertion display LED signal is “0” (off), the data in the A register is “00000000B”. For this reason, by outputting the data of the A register to the output port 2, the output of the sub-control data strobe signal is changed from on to off while the output of the one to three pieces display LED signal is kept off. can do.
なお、1枚投入表示LED信号がオン、2枚及び3枚投入表示LED信号がオフのときは、Aレジスタのデータは「00000100B」である。また、1枚及び2枚投入表示LED信号がオン、3枚投入表示LED信号がオフのときは、Aレジスタのデータは「00000110B」である。そして、このAレジスタのデータを出力ポート2に出力することにより、1枚〜3枚投入表示LED信号の出力態様(各信号のオン/オフのパターン)を維持したまま、サブ制御データストローブ信号をオンからオフにすることができる。 When the 1-sheet insertion display LED signal is on, the 2-sheet and 3-sheet insertion display LED signals are off, the data in the A register is “00000100B”. When the 1-sheet and 2-sheet insertion display LED signals are on and the 3-sheet insertion display LED signal is off, the data in the A register is “00000110B”. Then, by outputting the data of the A register to the output port 2, the sub-control data strobe signal is output while maintaining the output mode of the 1-to-3-sheet display LED signal (on / off pattern of each signal). Can be turned off from on.
次のステップS671では、制御コマンドクリアデータを出力する。この処理は、出力ポート7及び出力ポート8にそれぞれ「00000000B」を出力する処理である。そして、ステップS671の処理を終了すると、本フローチャートによる処理を終了する。
上述したように、本実施形態では、第1制御コマンド(出力ポート8)及び第2制御コマンド(出力ポート7)の2バイト(16ビット)で1つのコマンドを構成する。第1制御コマンド(上位1バイト)は、コマンドの種別を示し、第2制御コマンド(下位1バイト)は、その内容を示す。
In the next step S671, control command clear data is output. This process is a process of outputting “00000000B” to the
As described above, in this embodiment, one command is composed of 2 bytes (16 bits) of the first control command (output port 8) and the second control command (output port 7). The first control command (upper 1 byte) indicates the type of command, and the second control command (lower 1 byte) indicates the content thereof.
また、本実施形態では、出力ポート7及び出力ポート8に出力する「00000000/00000000」(「/」は、上位1バイトと下位1バイトとの境目を示す。)を制御コマンドクリアデータに設定している。また、制御コマンドクリアデータは、サブ制御基板80での処理に不必要なデータであることを意味するものである。
そして、サブ制御基板80側では、出力ポート7及び出力ポート8から取得したデータが「00000000/00000000」であるときは、制御コマンドクリアデータであると判断して、これを破棄する(捨てる)。
In this embodiment, “00000000/00000000” (“/” indicates the boundary between the upper 1 byte and the lower 1 byte) to be output to the
On the
このため、本実施形態では、「00000000/00000000」(制御コマンドクリアデータ)以外の2バイト(16ビット)のデータで、第1制御コマンド及び第2制御コマンドを構成するようにしている。
したがって、第1制御コマンド及び第2制御コマンドによって、「00000000/00000000」を除く65535(65536−1)通りの情報をメイン制御基板60からサブ制御基板80に送信することができる。
For this reason, in the present embodiment, the first control command and the second control command are composed of data of 2 bytes (16 bits) other than “00000000/00000000” (control command clear data).
Therefore, 65535 (65536-1) information excluding “00000000/00000000” can be transmitted from the main control board 60 to the
なお、第1制御コマンド(1バイト)単独では、「00000000B」を除く255(256−1)通りの情報をメイン制御基板60からサブ制御基板80に送信することができ、第2制御コマンド(1バイト)単独でも、255通りの情報をメイン制御基板60からサブ制御基板80に送信することができる。
The first control command (1 byte) alone can transmit 255 (256-1) information except for “00000000B” from the main control board 60 to the
ここで、従来のスロットマシンでは、メイン制御基板からサブ制御基板にコマンドを送信するために、8ビットのパラレル通信線を1組のみ使用していた。
また、従来のスロットマシンにおいても、本実施形態と同様に、コマンドの種別を示す第1制御コマンド(8ビット)及びコマンドの内容を示す第2制御コマンド(8ビット)で、1つのコマンド(16ビット)を構成していた。
Here, in the conventional slot machine, only one set of 8-bit parallel communication lines is used to transmit a command from the main control board to the sub control board.
Also, in the conventional slot machine, as in the present embodiment, one command (16) includes a first control command (8 bits) indicating the type of command and a second control command (8 bits) indicating the content of the command. Bit).
さらに、従来のスロットマシンでは、16ビットのコマンド(第1制御コマンド及び第2制御コマンド)を8ビットのパラレル通信線で送信するために、一の割込み処理で第1制御コマンドを送信し、次の割込み処理で第2制御コマンドを送信していた。
そして、サブ制御基板側で第1制御コマンドか第2制御コマンドかを識別可能にするために、たとえば、第1制御コマンドの特定のビットには常に「1」をセットし、第2制御コマンドの特定のビットには常に「0」をセットしていた。すなわち、特定のビットを、第1制御コマンドか第2制御コマンドかを識別するための識別用のビットとしていた。
Further, in the conventional slot machine, in order to transmit a 16-bit command (first control command and second control command) through an 8-bit parallel communication line, the first control command is transmitted in one interrupt process. The second control command was transmitted in the interrupt process.
In order to make it possible to identify the first control command or the second control command on the sub-control board side, for example, a specific bit of the first control command is always set to “1”, and the second control command A specific bit was always set to “0”. That is, the specific bit is used as an identification bit for identifying the first control command or the second control command.
このため、従来のスロットマシンでは、第1制御コマンド(8ビット)単独では、特定のビット(識別用のビット)以外の7ビットを用いて、128通りの情報しかメイン制御基板からサブ制御基板に送信することができず、第2制御コマンド(8ビット)単独でも、特定のビット以外の7ビットを用いて、128通りの情報しかメイン制御基板からサブ制御基板に送信することができなかった。 For this reason, in the conventional slot machine, the first control command (8 bits) alone uses only 7 bits other than a specific bit (identification bit), and only 128 types of information are transferred from the main control board to the sub control board. The second control command (8 bits) alone could not be transmitted, and only 128 kinds of information could be transmitted from the main control board to the sub control board using 7 bits other than the specific bits.
また、従来のスロットマシンでは、特定のビットを、識別用のビットとしていたため、特定のビットの「0」は、第1制御コマンドか第2制御コマンドかを識別するために必要なデータであった。
したがって、従来のスロットマシンでは、「00000000B」を、サブ制御基板での処理に不必要なデータとして設定することができなかった。
In addition, in the conventional slot machine, a specific bit is used as an identification bit. Therefore, “0” of the specific bit is data necessary to identify the first control command or the second control command. It was.
Therefore, in the conventional slot machine, “00000000B” cannot be set as data unnecessary for processing on the sub-control board.
これに対し、本実施形態では、8ビットのパラレル通信線を2組使用し、一方のパラレル通信線で第1制御コマンドを送信し、他方のパラレル通信線で第2制御コマンドを送信する。このため、一方のパラレル通信線で送信されたか他方のパラレル通信線で送信されたかによって、第1制御コマンドか第2制御コマンドかを識別可能であるので、識別用のビットを設ける必要がない。 In contrast, in the present embodiment, two sets of 8-bit parallel communication lines are used, the first control command is transmitted through one parallel communication line, and the second control command is transmitted through the other parallel communication line. For this reason, since it can be identified whether the first control command or the second control command is transmitted by one parallel communication line or the other parallel communication line, there is no need to provide an identification bit.
また、本実施形態では、識別用のビットを設ける必要がないため、「00000000B」を、サブ制御基板での処理に不必要なデータ(制御コマンドクリアデータ)として設定することができる。
したがって、本実施形態では、第1制御コマンド(8ビット)単独で、「00000000B」(制御コマンドクリアデータ)を除く255(256−1)通りの情報を送信することができるとともに、第2制御コマンド(8ビット)単独でも、255通りの情報を送信することができる。
In this embodiment, since it is not necessary to provide a bit for identification, “00000000B” can be set as data (control command clear data) unnecessary for processing on the sub control board.
Therefore, in the present embodiment, the first control command (8 bits) alone can transmit 255 (256-1) kinds of information excluding “00000000B” (control command clear data), and the second control command Even by (8 bits) alone, 255 kinds of information can be transmitted.
また、従来のスロットマシンでは、一のコマンドを出力ポートに出力したときは、次のコマンドを出力ポートに出力するまで、一のコマンドを出力ポートに出力した状態を維持していた。
さらにまた、従来のスロットマシンでは、一のコマンドを出力ポートに出力した後に、一のコマンドに対応するストローブ信号をオンにし、サブ制御基板が一のコマンドを取得するために必要な時間を経過したときは、一のコマンドに対応するストローブ信号をオフにしていた。
In the conventional slot machine, when one command is output to the output port, the state in which the one command is output to the output port is maintained until the next command is output to the output port.
Furthermore, in the conventional slot machine, after outputting one command to the output port, the strobe signal corresponding to one command is turned on, and the time required for the sub control board to acquire one command has elapsed. When the strobe signal corresponding to one command was turned off.
このため、従来のスロットマシンでは、一のコマンドに対応するストローブ信号をオフにしてから、次のコマンドに対応するストローブ信号をオンにするまでの間に、ストローブ信号にノイズが入ると、サブ制御基板側では、一のコマンドを再度取得することとなり、これにより意図しない処理を実行してしまうおそれがあった。 For this reason, in the conventional slot machine, if noise enters the strobe signal between turning off the strobe signal corresponding to one command and turning on the strobe signal corresponding to the next command, the sub-control On the substrate side, one command is acquired again, which may cause unintended processing.
これに対し、本実施形態では、サブ制御基板80が第1制御コマンド及び第2制御コマンドを取得するために必要な所定時間の間は、出力ポート7に第2制御コマンドを出力し、かつ出力ポート8に第1制御コマンドを出力し、それ以外は、出力ポート7及び出力ポート8にそれぞれ「00000000B」(制御コマンドクリアデータ)を出力する。
また、第1制御コマンド及び第2制御コマンドを出力している所定時間の間に、サブ制御データストローブ信号をオフからオンにした後にオンからオフにする。
In contrast, in the present embodiment, the second control command is output to the
Further, during a predetermined time during which the first control command and the second control command are output, the sub control data strobe signal is turned from off to on.
このため、本実施形態では、サブ制御データストローブ信号がオフのときは、出力ポート7及び出力ポート8の出力が「00000000/00000000」であり、このときサブ制御データストローブ信号にノイズが入り、出力ポート7及び出力ポート8に出力されているデータをサブ制御基板80が取得しても、サブ制御基板80は、制御コマンドクリアデータであると判断して、これを破棄する(捨てる)。
したがって、サブ制御データストローブ信号がオフのときにノイズが入っても、サブ制御基板80側では、意図しない処理を実行しないようにすることができる。
For this reason, in this embodiment, when the sub control data strobe signal is OFF, the output of the
Therefore, even if noise occurs when the sub control data strobe signal is off, it is possible to prevent unintended processing from being executed on the
図20は、第1制御コマンド、第2制御コマンド、及びサブ制御データストローブ信号の出力タイミングを示すタイムチャートである。
図19のステップS666において、出力ポート8に第1制御コマンド(サブ制御データ信号9〜16)を出力すると同時に、出力ポート7に第2制御コマンド(サブ制御データ信号1〜8)を出力する(図20中、出力開始)。
FIG. 20 is a time chart showing the output timing of the first control command, the second control command, and the sub control data strobe signal.
In step S666 of FIG. 19, the first control command (sub control data signals 9 to 16) is output to the output port 8 and the second control command (sub control data signals 1 to 8) is output to the
その後、図19のステップS667において、出力ポート2のD7ビットの出力を「0」から「1」にする。すなわち、サブ制御データストローブ信号をオフからオンにする(図20中、サブ制御データストローブ信号の立ち上がり)。
その後、図19のステップS670において、出力ポート2のD7ビットの出力を「1」から「0」にする。すなわち、サブ制御データストローブ信号をオンからオフにする(図20中、サブ制御データストローブ信号の立ち下がり)。
Thereafter, in step S667 of FIG. 19, the output of the D7 bit of the output port 2 is changed from “0” to “1”. That is, the sub control data strobe signal is turned on from off (rising of the sub control data strobe signal in FIG. 20).
Thereafter, in step S670 of FIG. 19, the output of the D7 bit of the output port 2 is changed from “1” to “0”. That is, the sub control data strobe signal is turned off from on (the falling of the sub control data strobe signal in FIG. 20).
その後、図19のステップS671において、出力ポート8に「00000000B」を出力すると同時に、出力ポート7に「00000000B」を出力する。すなわち、第1制御コマンド及び第2制御コマンドの出力を終了するとともに、制御コマンドクリアデータの出力を開始する(図20中、出力終了)。
ここで、第1制御コマンド及び第2制御コマンドの出力を開始してからサブ制御データストローブ信号をオンにするまで(ステップS666からS667まで)の時間は、「1.75μs」である(図20中、「A」)。
Thereafter, in step S671 in FIG. 19, “00000000B” is output to the output port 8 and simultaneously “00000000B” is output to the
Here, the time from when the output of the first control command and the second control command is started until the sub-control data strobe signal is turned on (from step S666 to S667) is “1.75 μs” (FIG. 20). Middle, "A").
また、サブ制御データストローブ信号をオンにしている間(ステップS667からS670まで)の時間は、「4.25μs」である(図20中、「B」)。
さらにまた、サブ制御データストローブ信号をオフにしてから第1制御コマンド及び第2制御コマンドの出力を終了するまで(ステップS670からS671まで)の時間は、「1.19μs」である(図20中、「C」)。
The time during which the sub-control data strobe signal is turned on (from step S667 to S670) is “4.25 μs” (“B” in FIG. 20).
Furthermore, the time from when the sub control data strobe signal is turned off until the output of the first control command and the second control command is completed (from step S670 to S671) is “1.19 μs” (in FIG. 20). , “C”).
さらに、本実施形態では、ステップS666からS671までの処理を実行するのに、「7.19(1.75+4.25+1.19)μs」を要する。このため、「7.19μs」の間にわたって、出力ポート7に第2制御コマンドを出力するとともに、出力ポート8に第1制御コマンドを出力することになる。
また、第1制御コマンド及び第2制御コマンドを出力している「7.19μs」の間に、サブ制御データストローブ信号をオフからオンにし、その後、オンからオフにする。そして、サブ制御基板80は、サブ制御データストローブ信号の立ち上がりを契機に、出力ポート7に出力されたデータ(第2制御コマンド)及び出力ポート8に出力されたデータ(第1制御コマンド)を取得する。
Further, in the present embodiment, “7.19 (1.75 + 4.25 + 1.19) μs” is required to execute the processing from step S666 to S671. For this reason, the second control command is output to the
Further, the sub control data strobe signal is turned on from off during “7.19 μs” during which the first control command and the second control command are output, and then turned on from off. Then, the
また、本実施形態では、出力ポート7とサブ制御基板80とが8ビットのパラレル通信線で接続されるとともに、出力ポート8とサブ制御基板80とが8ビットのパラレル通信線で接続されている。このため、サブ制御基板80は、サブ制御データストローブ信号の立ち上がりを契機に、出力ポート7に出力された第2制御コマンドを取得すると同時に、出力ポート8に出力された第1制御コマンドを取得することができる。
In this embodiment, the
また、本実施形態では、サブ制御基板80は、「7.19μs」の間に、第1制御コマンド(出力ポート8)及び第2制御コマンド(出力ポート7)をそれぞれn回(n≧2、たとえば4回)取得可能に構成されている。
そして、サブ制御基板80は、「7.19μs」の間に、同一内容の第1制御コマンドをm回(n≧m≧2、たとえば2回)連続して取得し、かつ同一内容の第2制御コマンドをm回連続して取得したときは、制御コマンドを正常に取得したと判断する。
これに対し、同一内容の第1制御コマンドをm回連続して取得することができなかったとき、及び/又は同一内容の第2制御コマンドをm回連続して取得することができなかったときは、制御コマンドを正常に取得することができなかった判断する。
In the present embodiment, the
Then, the
On the other hand, when the first control command having the same content cannot be obtained m times continuously and / or when the second control command having the same content cannot be obtained m times continuously. Determines that the control command could not be acquired normally.
具体的には、サブ制御基板80は、まず、第1制御コマンド及び第2制御コマンドをそれぞれ2回連続して取得する。次に、1回目に取得した第1制御コマンドと2回目に取得した第1制御コマンドとを比較するとともに、1回目に取得した第2制御コマンドと2回目に取得した第2制御コマンドとを比較する。そして、1回目に取得した第1制御コマンドと2回目に取得した第1制御コマンドとが一致し、かつ1回目に取得した第2制御コマンドと2回目に取得した第2制御コマンドとが一致したときは、その時点で、制御コマンドを正常に取得したと判断する。
Specifically, the
また、サブ制御基板80は、1回目に取得した第1制御コマンドと2回目に取得した第1制御コマンドとが一致しなかったとき、及び/又は1回目に取得した第2制御コマンドと2回目に取得した第2制御コマンドとが一致しなかったときは、その時点では、制御コマンドを正常に取得することができなかったと判断する。
In addition, the
この場合、さらにもう1回、第1制御コマンド及び第2制御コマンドをそれぞれ取得する。そして、今度は、2回目に取得した第1制御コマンドと3回目に取得した第1制御コマンドとを比較するとともに、2回目に取得した第2制御コマンドと3回目に取得した第2制御コマンドとを比較する。その結果、2回目に取得した第1制御コマンドと3回目に取得した第1制御コマンドとが一致し、かつ2回目に取得した第2制御コマンドと3回目に取得した第2制御コマンドとが一致したときは、その時点で、正常に取得したと判断する。なお、1回目に取得した第1制御コマンド及び/又は1回目に取得した第2制御コマンドがノイズ等により破壊されていると、このようなパターンになる。 In this case, the first control command and the second control command are respectively acquired once more. Then, this time, the first control command acquired the second time and the first control command acquired the third time are compared, and the second control command acquired the second time and the second control command acquired the third time, Compare As a result, the first control command acquired the second time matches the first control command acquired the third time, and the second control command acquired the second time matches the second control command acquired the third time. If so, it is determined that it was acquired normally at that time. Note that this pattern is obtained when the first control command acquired at the first time and / or the second control command acquired at the first time is destroyed by noise or the like.
また、サブ制御基板80は、2回目に取得した第1制御コマンドと3回目に取得した第1制御コマンドとが一致しなかったとき、及び/又は2回目に取得した第2制御コマンドと3回目に取得した第2制御コマンドとが一致しなかったときは、その時点でも、制御コマンドを正常に取得することができなかったと判断する。
In addition, the
この場合、さらにもう1回、第1制御コマンド及び第2制御コマンドをそれぞれ取得する。そして、今度は、3回目に取得した第1制御コマンドと4回目に取得した第1制御コマンドとを比較するとともに、3回目に取得した第2制御コマンドと4回目に取得した第2制御コマンドとを比較する。その結果、3回目に取得した第1制御コマンドと4回目に取得した第1制御コマンドとが一致し、かつ3回目に取得した第2制御コマンドと4回目に取得した第2制御コマンドとが一致したときは、その時点で、制御コマンドを正常に取得したと判断する。なお、2回目に取得した第1制御コマンド及び/又は2回目に取得した第2制御コマンドがノイズ等により破壊されていると、このようなパターンになる。 In this case, the first control command and the second control command are respectively acquired once more. This time, the first control command acquired at the third time is compared with the first control command acquired at the fourth time, and the second control command acquired at the third time and the second control command acquired at the fourth time are compared. Compare As a result, the first control command acquired at the third time matches the first control command acquired at the fourth time, and the second control command acquired at the third time matches the second control command acquired at the fourth time. If so, it is determined that the control command has been successfully acquired at that time. In addition, when the 1st control command acquired for the 2nd time and / or the 2nd control command acquired for the 2nd time are destroyed by noise etc., it becomes such a pattern.
また、本実施形態では、サブ制御基板80は、第1制御コマンド及び第2制御コマンドを1回取得するために「1μs」程度を要する。さらに、第1制御コマンド及び第2制御コマンドを取得してから、次に第1制御コマンド及び第2制御コマンドを取得するまでの間隔として「1μs」程度を要する。このため、サブ制御基板80側で第1制御コマンド及び第2制御コマンドを4回取得するためには「7μs」程度を要する。したがって、「7.19μs」あれば、サブ制御基板80側で第1制御コマンド及び第2制御コマンドを4回取得することができる。
In the present embodiment, the
換言すれば、本実施形態では、サブ制御基板80側で第1制御コマンド及び第2制御コマンドを4回取得するために必要な時間だけ、メイン制御基板60側で第1制御コマンド及び第2制御コマンドを出力するとともに、メイン制御基板60側で第1制御コマンド及び第2制御コマンドを出力する時間を、ステップS666からS671までの処理を実行する時間で稼いでいる。
In other words, in the present embodiment, the first control command and the second control are performed on the main control board 60 side only for the time necessary to acquire the first control command and the second control command four times on the
また、本実施形態では、割込み処理の間隔は「2.235ms」であり、そのうち「7.19μs」の間(ステップS666からS671までの間)は、出力ポート7に第2制御コマンドを出力するとともに、出力ポート8に第1制御コマンドを出力し、それ以外は、出力ポート7及び出力ポート8にそれぞれ「00000000B」を出力する。
すなわち、「7.19μs」は、割込み処理の間隔より短い時間であって、サブ制御基板80が第1制御コマンド及び第2制御コマンドを取得するために必要な時間である。
さらに、第1制御コマンド及び第2制御コマンドを出力している「7.19μs」のうち、「4.25μs」の間(ステップS667からS670までの間)は、サブ制御データストローブ信号をオンにし、それ以外は、サブ制御データストローブ信号をオフにする。
In this embodiment, the interval of the interrupt processing is “2.235 ms”, and the second control command is output to the
That is, “7.19 μs” is a time shorter than the interval of the interrupt processing, and is a time necessary for the
Further, among “7.19 μs” outputting the first control command and the second control command, the sub-control data strobe signal is turned on during “4.25 μs” (from step S667 to S670). Otherwise, the sub-control data strobe signal is turned off.
このため、サブ制御データストローブ信号がオフのときは、出力ポート7及び出力ポート8の出力が「00000000/00000000」である。よって、このときサブ制御データストローブ信号にノイズが入り、出力ポート7及び出力ポート8に出力されているデータをサブ制御基板80が取得しても、サブ制御基板80は、制御コマンドクリアデータであると判断して、これを破棄する(捨てる)。
したがって、サブ制御データストローブ信号がオフのときにサブ制御データストローブ信号にノイズが入っても、サブ制御基板80側では、意図しない処理を実行しないようにすることができる。
For this reason, when the sub control data strobe signal is OFF, the outputs of the
Therefore, even if noise enters the sub control data strobe signal when the sub control data strobe signal is off, it is possible to prevent unintended processing from being executed on the
図21は、図17のステップS610におけるサブ報知データ出力(I_SUB_INF )を示すフローチャートである。
このサブ報知データ出力(I_SUB_INF )は、サブ報知データ(第3制御コマンド/サブ制御データ信号17〜24)を、出力ポート6のD0〜D7ビットから8ビットのパラレル通信でサブ制御基板80に送信する処理である。
FIG. 21 is a flowchart showing the sub broadcast data output (I_SUB_INF) in step S610 of FIG.
This sub broadcast data output (I_SUB_INF) transmits the sub broadcast data (third control command / sub control data signals 17 to 24) to the
ステップS701に進むと、(左、中、右)停止受付け報知データをセットする。ここで、左停止受付け報知データ(サブ制御データ信号19)は、左ストップスイッチ42が操作を受付け可能な状態であるか否かを示すデータであり、中停止受付け報知データ(サブ制御データ信号18)は、中ストップスイッチ42が操作を受付け可能な状態であるか否かを示すデータであり、右停止受付け報知データ(サブ制御データ信号17)は、右ストップスイッチ42が操作を受付け可能な状態であるか否かを示すデータである。
In step S701, stop acceptance notification data is set (left, middle, right). Here, the left stop acceptance notification data (sub control data signal 19) is data indicating whether or not the
そして、このステップS701では、右停止受付け報知データ(サブ制御データ信号17)を出力ポート6のD0ビットにセットし、中停止受付け報知データ(サブ制御データ信号18)を出力ポート6のD1ビットにセットし、左停止受付け報知データ(サブ制御データ信号19)を出力ポート6のD2ビットにセットする。また、操作を受付け可能な状態であるときは「1」をセットし、操作を受付け不可の状態であるときは「0」をセットする。 In step S701, the right stop acceptance notification data (sub control data signal 17) is set in the D0 bit of the output port 6, and the middle stop acceptance notification data (sub control data signal 18) is set in the D1 bit of the output port 6. The left stop acceptance notification data (sub control data signal 19) is set in the D2 bit of the output port 6. Also, “1” is set when the operation can be accepted, and “0” is set when the operation cannot be accepted.
次のステップS702では、メダル限界チェックを行う。この処理は、限界枚数(ベット可能な最大枚数、本実施形態では3枚)のメダルがベットされているか否かをチェックする処理である。
次のステップS703では、限界枚数のメダルがベットされているか否かを判断する。そして、限界枚数のメダルがベットされていると判断したときはステップS709に進み、限界枚数のメダルがベットされていないと判断したときはステップS704に進む。
In the next step S702, a medal limit check is performed. This process is a process for checking whether or not a limit number of medals (the maximum number that can be bet, three in this embodiment) is bet.
In the next step S703, it is determined whether or not a limit number of medals have been bet. If it is determined that the limit number of medals is bet, the process proceeds to step S709. If it is determined that the limit number of medals is not bet, the process proceeds to step S704.
ステップS704に進むと、ブロッカ信号がオフか否かを判断する。ここで、ブロッカ45は、ブロッカ信号がオン(「1」)のときは、メダル投入口43とホッパー35aとを連結するメダル通路を形成し、ブロッカ信号がオフ(「0」)のときは、メダル投入口43と払出し口とを連結する通路(返却通路)を形成する。そして、ブロッカ信号がオフであると判断したときはステップS709に進み、ブロッカ信号がオフでない(オンである)と判断したときはステップS705に進む。 In step S704, it is determined whether the blocker signal is off. Here, when the blocker signal is on (“1”), the blocker 45 forms a medal passage connecting the medal slot 43 and the hopper 35a, and when the blocker signal is off (“0”), A passage (return passage) that connects the medal slot 43 and the payout slot is formed. When it is determined that the blocker signal is off, the process proceeds to step S709, and when it is determined that the blocker signal is not off (on), the process proceeds to step S705.
ステップS705に進むと、貯留枚数読込み(R_CREDIT_READ )を行う。この処理は、メダルの貯留枚数を示すデータを読み込み、貯留枚数の有無をチェックする処理である。
次のステップS706では、メダルの貯留枚数が「0」か否かを判断する。そして、メダルの貯留枚数が「0」であると判断したときはステップS709に進み、メダルの貯留枚数が「0」でないと判断したときはステップS707に進む。
In step S705, the stored number is read (R_CREDIT_READ). This process is a process of reading data indicating the number of stored medals and checking for the number of stored medals.
In the next step S706, it is determined whether or not the number of stored medals is “0”. If it is determined that the number of stored medals is “0”, the process proceeds to step S709. If it is determined that the number of stored medals is not “0”, the process proceeds to step S707.
ステップS707に進むと、メダルが投入センサ44a(上流側)及び44b(下流側)を通過したか否かを判断する。そして、通過したと判断したときはステップS709に進み、通過していないと判断したときはステップS708に進む。
ステップS708に進むと、3ベット報知データをセットする。ここで、3ベット報知データ(サブ制御データ信号20)は、3ベットスイッチ40bが操作を受付け可能な状態であるか否かを示すデータである。そして、このステップS708では、3ベット報知データ(サブ制御データ信号20)を出力ポート6のD3ビットにセットする。また、操作を受付け可能な状態であるときは「1」をセットし、操作を受付け不可の状態であるときは「0」をセットする。
In step S707, it is determined whether or not the medal has passed through the insertion sensors 44a (upstream side) and 44b (downstream side). If it is determined that it has passed, the process proceeds to step S709. If it is determined that it has not passed, the process proceeds to step S708.
In step S708, 3-bet notification data is set. Here, the 3-bet notification data (sub-control data signal 20) is data indicating whether or not the 3-bet switch 40b can accept an operation. In step S708, the 3-bet notification data (sub-control data signal 20) is set in the D3 bit of the output port 6. Also, “1” is set when the operation can be accepted, and “0” is set when the operation cannot be accepted.
ステップS709に進むと、設定変更/リセット報知データ、設定キー報知データ、ドア報知データ、及び設定ドア報知データをセットする。
ここで、設定変更/リセット報知データ(サブ制御データ信号21)は、設定変更/リセットスイッチ53のオン/オフの状態を示すデータであり、設定キー報知データ(サブ制御データ信号22)は、設定キースイッチ52のオン/オフの状態を示すデータであり、ドア報知データ(サブ制御データ信号23)は、ドアスイッチ16のオン/オフの状態を示すデータであり、設定ドア報知データ(サブ制御データ信号24)は、設定ドアスイッチ54のオン/オフの状態を示すデータである。
In step S709, setting change / reset notification data, setting key notification data, door notification data, and setting door notification data are set.
Here, the setting change / reset notification data (sub control data signal 21) is data indicating the on / off state of the setting change / reset switch 53, and the setting key notification data (sub control data signal 22) is set. The data indicating the on / off state of the key switch 52, and the door notification data (sub control data signal 23) is the data indicating the on / off state of the door switch 16, and the set door notification data (sub control data). The signal 24) is data indicating the ON / OFF state of the setting door switch 54.
そして、このステップS709では、設定変更/リセット報知データ(サブ制御データ信号21)を出力ポート6のD4ビットにセットし、設定キー報知データ(サブ制御データ信号22)を出力ポート6のD5ビットにセットし、ドア報知データ(サブ制御データ信号23)を出力ポート6のD6ビットにセットし、設定ドア報知データ(サブ制御データ信号24)を出力ポート6のD7ビットにセットする。また、オンの状態であるときは「1」をセットし、オフの状態であるときは「0」をセットする。 In step S709, the setting change / reset notification data (sub control data signal 21) is set in the D4 bit of the output port 6, and the setting key notification data (sub control data signal 22) is set in the D5 bit of the output port 6. The door notification data (sub control data signal 23) is set in the D6 bit of the output port 6, and the set door notification data (sub control data signal 24) is set in the D7 bit of the output port 6. Further, “1” is set when it is on, and “0” is set when it is off.
次のステップS710では、出力ポート6のD0〜D7ビットにセットしたサブ報知データ(第3制御コマンド/サブ制御データ信号17〜24)を出力する。
たとえば、左、中、及び右ストップスイッチ42が操作を受付け可能な状態であり、かつ3ベットスイッチ40bが操作を受付け不可の状態であり、かつ設定変更/リセットスイッチ53、設定キースイッチ52、ドアスイッチ16、及び設定ドアスイッチ54がオフの状態であるとする。この場合、出力ポート6のD0〜D7ビットから「00000111B」を出力する。これにより、第3制御コマンドを8ビットのパラレル通信でサブ制御基板80に送信することができる。そして、本フローチャートによる処理を終了する。
In the next step S710, the sub notification data (third control command / sub control data signals 17 to 24) set in the D0 to D7 bits of the output port 6 is output.
For example, the left, middle, and right stop switches 42 are in a state that can accept an operation, and the 3-bet switch 40b is in a state that cannot accept an operation, and a setting change / reset switch 53, a setting key switch 52, a door Assume that the switch 16 and the setting door switch 54 are off. In this case, “00000111B” is output from the D0 to D7 bits of the output port 6. Thereby, the third control command can be transmitted to the
図22は、図21のステップS702におけるメダル限界チェック(C_MDLMAX_CHK)を示すフローチャートである。
このメダル限界チェック(C_MDLMAX_CHK)は、限界枚数(ベット可能な最大枚数、本実施形態では3枚)のメダルがベットされているか否かをチェックする処理である。
FIG. 22 is a flowchart showing the medal limit check (C_MDLMAX_CHK) in step S702 of FIG.
This medal limit check (C_MDLMAX_CHK) is a process for checking whether or not a limit number of medals (the maximum number that can be bet, three in this embodiment) is bet.
ステップS721に進むと、メダル限界セット(M_MDLMAX_SET)を行う。このメダル限界セット(M_MDLMAX_SET)は、メダルの限界枚数を示すデータをセットする処理である。
次のステップS722では、メダル読込み(R_PLYMDL_READ )を行う。このメダル読込み(R_PLYMDL_READ )は、メダルの投入枚数を示すデータを読み込み、これをセットする処理である。
In step S721, a medal limit set (M_MDLMAX_SET) is performed. This medal limit set (M_MDLMAX_SET) is a process for setting data indicating the limit number of medals.
In the next step S722, medal reading (R_PLYMDL_READ) is performed. This medal reading (R_PLYMDL_READ) is a process of reading data indicating the number of inserted medals and setting it.
次のステップS723では、ステップS722でセットしたメダルの投入枚数を示すデータと、ステップS721でセットしたメダルの限界枚数を示すデータとを比較する。そして、本フローチャートによる処理を終了する。 In the next step S723, the data indicating the number of inserted medals set in step S722 is compared with the data indicating the limit number of medals set in step S721. And the process by this flowchart is complete | finished.
図23は、図22のステップS721におけるメダル限界セット(M_MDLMAX_SET)を示すフローチャートである。
ステップS731に進むと、再遊技作動時のメダル限界枚数をセットする。この処理は、再遊技作動時(リプレイが入賞した遊技の次遊技)には、前遊技(リプレイが入賞した遊技)におけるメダルの投入枚数を示すデータをセットする処理である。
FIG. 23 is a flowchart showing the medal limit set (M_MDLMAX_SET) in step S721 of FIG.
In step S731, the medal limit number at the time of re-game operation is set. This process is a process of setting data indicating the number of inserted medals in the previous game (game in which the replay has been won) when the re-game is activated (the game next to the game in which the replay has won).
次のステップS732では、再遊技作動時か否かを判断する。すなわち、リプレイが入賞した遊技の次遊技か否かを判断する。そして、再遊技作動時でないと判断したときは次のステップS733に進み、再遊技作動時であると判断したときはステップS733をスキップして本フローチャートによる処理を終了する。
次のステップS733では、メダルの限界枚数である3枚をセットする。そして、本フローチャートによる処理を終了する。
In the next step S732, it is determined whether or not the re-game is in operation. That is, it is determined whether or not the replay is a game next to the winning game. If it is determined that the re-game operation is not being performed, the process proceeds to the next step S733. If it is determined that the re-game operation is being performed, step S733 is skipped and the processing according to this flowchart is terminated.
In the next step S733, three medals, which are the limit number of medals, are set. And the process by this flowchart is complete | finished.
図24は、図22のステップS722におけるメダル読込み(R_PLYMDL_READ )を示すフローチャートである。
ステップS741に進むと、メダルの投入枚数を示すデータが記憶されているRWM61のアドレスをセットする。
次のステップS742では、ステップS741でセットされたアドレスに記憶されているメダルの投入枚数を示すデータを取得する。そして、本フローチャートによる処理を終了する。
FIG. 24 is a flowchart showing medal reading (R_PLYMDL_READ) in step S722 of FIG.
In step S741, the address of the RWM 61 in which data indicating the number of inserted medals is stored is set.
In the next step S742, data indicating the number of inserted medals stored at the address set in step S741 is acquired. And the process by this flowchart is complete | finished.
図25は、図21のステップS705における貯留枚数読込み(R_CREDIT_READ )を示すフローチャートである。
ステップS751に進むと、メダルの貯留枚数を示すデータを取得する。そして、本フローチャートによる処理を終了する。
FIG. 25 is a flowchart showing the stored number reading (R_CREDIT_READ) in step S705 of FIG.
In step S751, data indicating the number of stored medals is acquired. And the process by this flowchart is complete | finished.
続いて、サブ制御基板80(サブCPU83)による情報処理について、フローチャートに基づき説明する。
図26は、サブ制御基板80によるエラー報知処理を示すフローチャートである。
ステップS801では、サブ制御基板80は、設定キースイッチ52がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつドアスイッチ16がオンの状態であるか否かを判断する。
なお、図26において、「∩」は、便宜上、「かつ」を意味し、「∪」は、「又は」を意味するものとする。
Next, information processing by the sub control board 80 (sub CPU 83) will be described with reference to a flowchart.
FIG. 26 is a flowchart showing error notification processing by the
In step S801, the
In FIG. 26, “∩” means “and” for the sake of convenience, and “∪” means “or”.
具体的には、第3制御コマンドは、設定キースイッチ52のオン/オフの状態を示す設定キー報知データ(サブ制御データ信号22)、ドアスイッチ16のオン/オフの状態を示すドア報知データ(サブ制御データ信号23)、及び設定ドアスイッチ54のオン/オフの状態を示す設定ドア報知データ(サブ制御データ信号24)を含む。 Specifically, the third control command includes setting key notification data (sub control data signal 22) indicating the ON / OFF state of the setting key switch 52, and door notification data indicating the ON / OFF state of the door switch 16 ( Sub-control data signal 23) and setting door notification data (sub-control data signal 24) indicating the ON / OFF state of the setting door switch 54.
また、サブ制御基板80は、第3制御コマンドに基づいて、設定キースイッチ52がオンの状態であるか否か、設定ドアスイッチ54がオンの状態であるか否か、及びドアスイッチ16がオンの状態であるか否かを判断する。そして、設定キースイッチ52がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつドアスイッチ16がオンの状態であると判断したときはステップS802に進み、これらのスイッチのうち少なくとも1つがオフの状態であると判断したときはステップS810に進む。
Further, the
ステップS802に進むと、サブ制御基板80は、設定変更中又は設定確認中であるか否かを判断する。
具体的には、第1制御コマンドとして、管理コマンドを示すデータが設定されているときは、第2制御コマンドは、設定変更中であるか否かを示すデータ(サブ制御データ信号1)、及び設定確認中であるか否かを示すデータ(サブ制御データ信号2)を含む。
In step S802, the
Specifically, when data indicating a management command is set as the first control command, the second control command includes data indicating whether the setting is being changed (sub-control data signal 1), and It includes data (sub control data signal 2) indicating whether the setting is being confirmed.
また、サブ制御基板80は、第1制御コマンド及び第2制御コマンドに基づいて、設定変更中又は設定確認中であるか否かを判断する。そして、設定変更中又は設定確認中でないと判断したときはステップS803に進み、設定変更中又は設定確認中であると判断したときは本フローチャートによる処理を終了する。
Further, the
ステップS803に進むと、サブ制御基板80は、設定変更不可エラー中又は設定確認不可エラー中であるか否かを判断する。そして、設定変更不可エラー中又は設定確認不可エラー中でないと判断したときはステップS804に進み、設定変更不可エラー中又は設定確認不可エラー中であると判断したときは本フローチャートによる処理を終了する。
In step S803, the
ステップS804に進むと、サブ制御基板80は、エラー監視用タイマの値が「0」より大きいか否かを判断する。
そして、エラー監視用タイマの値が「0」より大きいと判断したときはステップS805に進み、「0」であると判断したときはステップS811に進む。
ステップS805では、サブ制御基板80は、エラー監視用タイマの値から「1」を減算する。そして、次のステップS806に進む。
In step S804, the
When it is determined that the value of the error monitoring timer is greater than “0”, the process proceeds to step S805, and when it is determined to be “0”, the process proceeds to step S811.
In step S805, the
ここで、エラー監視用タイマは、設定キースイッチ52がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつドアスイッチ16がオンの状態であることを示す第3制御コマンドを受信してからの時間を計測するためのものである。
すなわち、エラー監視用タイマは、受信した第3制御コマンドに基づいて、設定キースイッチ52がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつドアスイッチ16がオンの状態であると判断したときに、時間の計測を開始する。
Here, the error monitoring timer receives a third control command indicating that the setting key switch 52 is on, the setting door switch 54 is on, and the door switch 16 is on. This is for measuring the time since reception.
That is, the error monitoring timer is based on the received third control command when the setting key switch 52 is on, the setting door switch 54 is on, and the door switch 16 is on. When it is determined that there is, time measurement is started.
また、サブ制御基板80は、エラー監視用タイマによる時間の計測を開始するときは、エラー監視用タイマに初期値として「4」をセットする。その後、16msごとに、エラー監視用タイマの値から「1」を減算する。そして、エラー監視用タイマの値が「0」になると、タイムアウトとなる。
このため、エラー監視用タイマの値が「0」となったときは、設定キースイッチ52、設定ドアスイッチ54、及びドアスイッチ16がオンの状態であると判断してから64(16×4)msが経過したことになる。すなわち、エラー監視用タイマは、設定キースイッチ52、設定ドアスイッチ54、及びドアスイッチ16がオンの状態であると判断してから64msが経過したか否かを判断するものである。
Further, the
Therefore, when the value of the error monitoring timer becomes “0”, 64 (16 × 4) after determining that the setting key switch 52, the setting door switch 54, and the door switch 16 are on. ms has passed. That is, the error monitoring timer determines whether or not 64 ms has elapsed since it was determined that the setting key switch 52, the setting door switch 54, and the door switch 16 are on.
ステップS806では、サブ制御基板80は、エラー監視用タイマの値が「0」か否かを判断する。そして、「0」であると判断したときはステップS807に進み、「0」でないと判断したときは本フローチャートによる処理を終了する。
ステップS807に進むと、サブ制御基板80は、電源投入から所定時間が経過したか否かを判断する。具体的には、サブ制御基板80は、電源スイッチ51がオンされてからの時間を計測する稼動時間タイマを備える。そして、この稼動時間タイマの計測時間により、電源投入から2秒経過したか否かを判断する。そして、電源投入から2秒経過していないと判断したときはステップS808に進み、電源投入から2秒経過したと判断したときはステップS809に進む。
In step S806, the
In step S807, the
ステップS808に進むと、サブ制御基板80は、設定変更不可エラー報知を行う(設定変更不可エラー中となる)。そして、本フローチャートによる処理を終了する。
ステップS809に進むと、サブ制御基板80は、設定確認不可エラー報知を行う(設定確認不可エラー中となる)。そして、本フローチャートによる処理を終了する。
In step S808, the
In step S809, the
ステップS810では、サブ制御基板80は、エラー監視用タイマの値を「0」にする(クリアする)。そして、本フローチャートによる処理を終了する。
ステップS811では、サブ制御基板80は、エラー監視用タイマに初期値の「4」をセットする。そして、本フローチャートによる処理を終了する。
In step S810, the
In step S811, the
ここで、設定変更時又は設定確認時には、フロントカバー(図示せず)を開け、設定ドア(図示せず)を開け、設定キースイッチ52をオンにする。このため、ドアスイッチ16の信号がオンになり、かつ設定ドアスイッチ54の信号がオンになり、かつ設定キースイッチ52の信号がオンになる。 Here, when changing the setting or checking the setting, the front cover (not shown) is opened, the setting door (not shown) is opened, and the setting key switch 52 is turned on. Therefore, the signal of the door switch 16 is turned on, the signal of the setting door switch 54 is turned on, and the signal of the setting key switch 52 is turned on.
したがって、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す(サブ制御データ信号22〜24に「1」がセットされている)第3制御コマンドがメイン制御基板60からサブ制御基板80に送信される。
これにより、サブ制御基板80側では、フロントカバーが開いており、かつ設定ドアが開いており、かつ設定キースイッチ52がオンであると判断することができる。
Therefore, the door switch 16 is in the on state, the setting door switch 54 is in the on state, and the setting key switch 52 is in the on state (“1” in the sub control data signals 22 to 24). The third control command is transmitted from the main control board 60 to the
Thereby, on the
また、設定変更中は、その旨を示す(サブ制御データ信号9〜16には管理コマンドを示すデータがセットされ、サブ制御データ信号1には「1」がセットされ、サブ制御データ信号2には「0」がセットされている)第1制御コマンド及び第2制御コマンドがメイン制御基板60からサブ制御基板80に送信される。
Further, during the setting change, this is indicated (data indicating a management command is set in the sub control data signals 9 to 16, “1” is set in the sub control data signal 1, and the sub control data signal 2 is set in the sub control data signal 2. The first control command and the second control command are transmitted from the main control board 60 to the
さらにまた、設定確認中は、その旨を示す(サブ制御データ信号9〜16には管理コマンドを示すデータがセットされ、サブ制御データ信号1には「0」がセットされ、サブ制御データ信号2には「1」がセットされている)第1制御コマンド及び第2制御コマンドがメイン制御基板60からサブ制御基板80に送信される。
これにより、サブ制御基板80側では、設定変更中又は設定確認中であると判断することができる。
Furthermore, during setting confirmation, this is indicated (data indicating a management command is set in the sub control data signals 9 to 16, “0” is set in the sub control data signal 1, and the sub control data signal 2 is set. The first control command and the second control command are transmitted from the main control board 60 to the
Thereby, the
しかし、本実施形態では、第1制御コマンド及び第2制御コマンドは、一旦、制御コマンドバッファ(リングバッファ)に書き込まれる。そして、制御コマンドバッファに書き込まれた第1制御コマンド及び第2制御コマンドが、割込み処理ごとに、出力ポート7及び出力ポート8から出力される。
これに対し、第3制御コマンドは、制御コマンドバッファを介さずに、割込み処理ごとに、出力ポート6に直接書き込まれて出力される。
However, in the present embodiment, the first control command and the second control command are once written in the control command buffer (ring buffer). The first control command and the second control command written in the control command buffer are output from the
In contrast, the third control command is directly written and output to the output port 6 for each interrupt process without going through the control command buffer.
このため、サブ制御基板80は、先に、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドを取得し、その後に、設定変更中又は設定確認中であることを示す第1制御コマンド及び第2制御コマンドを取得することになる。
For this reason, the
すなわち、サブ制御基板80は、設定変更中又は設定確認中であることを示す第1制御コマンド及び第2制御コマンドを取得する前に、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドを取得することになる。
そこで、サブ制御基板80は、図26のエラー報知処理を実行することにより、設定変更中、設定確認中、設定変更不可エラー中、又は設定確認不可エラー中のいずれであるかを判断して、その判断結果に応じた報知を行う。
That is, before the
Therefore, the
ここで、メイン制御基板60側において、図8のプログラム開始(M_PRG_START )のステップS18で「Yes」(ドアスイッチ16がオン、かつ設定ドアスイッチ54がオン、かつ設定キースイッチ52がオン)と判断した後、ステップS19で「Yes」と判断するか、又はステップS20で「No」と判断すると、設定変更処理(M_RANK_SET)に進む。すなわち、設定変更中となる。
これに対し、メイン制御基板60側において、図8のステップS19で「No」と判断し、次のステップS20で「Yes」と判断すると、設定変更不可エラーとなる。このとき、サブ制御基板80側では、電源スイッチ51のオンから2秒経過する前に、図26のステップS807に進むことになる。
Here, on the main control board 60 side, “Yes” (the door switch 16 is turned on, the setting door switch 54 is turned on, and the setting key switch 52 is turned on) is determined in step S18 of the program start (M_PRG_START) in FIG. After that, if “Yes” is determined in step S19 or “No” is determined in step S20, the process proceeds to a setting change process (M_RANK_SET). That is, the setting is being changed.
On the other hand, if “No” is determined in step S19 of FIG. 8 and “Yes” is determined in the next step S20 on the main control board 60 side, a setting change impossible error occurs. At this time, on the side of the
また、メイン制御基板60側において、図11のメイン処理(M_MAIN)のステップS44で「No」(ベットメダルなし)と判断してステップS45のメダル投入待ち(MS_STANDBY_DSP)に進み、図13のステップS411で「Yes」(設定キースイッチ52がオン)と判断すると、設定確認中となる。
これに対し、メイン制御基板60側において、図11のステップS44で「Yes」(ベットメダルあり)と判断してからステップS73で遊技終了チェック処理を行うまでの間に設定キースイッチ52がオンにされると、設定確認不可エラーとなる。このとき、サブ制御基板80側では、電源スイッチ51のオンから2秒経過した後に、図26のステップS807に進むことになる。
Further, on the main control board 60 side, it is determined as “No” (no bet medal) in step S44 of the main process (M_MAIN) in FIG. If it is determined “Yes” (setting key switch 52 is on), setting confirmation is in progress.
On the other hand, on the main control board 60 side, the setting key switch 52 is turned on after the determination of “Yes” (with a bet medal) in step S44 of FIG. 11 until the game end check process is performed in step S73. If this happens, a setting confirmation error will occur. At this time, on the side of the
したがって、サブ制御基板80側では、図26のステップS807において、電源スイッチ51のオンから2秒経過したか否かを判断することにより、設定変更不可エラー、又は設定確認不可エラーのいずれの報知を行うべきかを判断することができる。そして、電源スイッチ51のオンから2秒経過していないと判断したときは、ステップS808に進んで、設定変更不可エラーを報知し、電源スイッチ51のオンから2秒経過したと判断したときは、ステップS809に進んで、設定確認不可エラーを報知する。
Therefore, on the
また、本実施形態では、サブ制御基板80側では、16msごとに、エラー報知処理を実行するように設定している。
さらにまた、本実施形態では、ステップS811において、エラー監視用タイマの初期値として「4」をセットする。このため、ステップS804で4回連続して「Yes」と判断し、4回連続してステップS805に進むと、エラー監視用タイマが「0」になり(ステップS806で「Yes」になり)、ステップS807に進むことになる。
したがって、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドを最初に取得してから64(16×4)ms程度で、ステップS807に進むことになる。
In the present embodiment, the
Furthermore, in this embodiment, “4” is set as the initial value of the error monitoring timer in step S811. For this reason, it is determined as “Yes” four times continuously in Step S804, and when the process proceeds to Step S805 four times continuously, the error monitoring timer becomes “0” (“Yes” in Step S806). The process proceeds to step S807.
Accordingly, the first control command 64 indicating that the door switch 16 is on, the setting door switch 54 is on, and the setting key switch 52 is on is first acquired. The process proceeds to step S807 in about (16 × 4) ms.
また、メイン制御基板60側で設定変更中となるときは、サブ制御基板80側では、エラー監視用タイマが「0」になる前(ステップS807に進む前)に、設定変更中であることを示す第1制御コマンド及び第2制御コマンドを取得して、ステップS802で「Yse」と判断することになる。この場合、サブ制御基板80側では、設定変更中であることを示す第1制御コマンド及び第2制御コマンドに基づいて、設定変更中であることを示す報知を行う。
Further, when the setting is being changed on the main control board 60 side, on the
また、メイン制御基板60側で設定確認中となるときは、サブ制御基板80側では、エラー監視用タイマが「0」になる前(ステップS807に進む前)に、設定確認中であることを示す第1制御コマンド及び第2制御コマンドを取得して、ステップS802で「Yse」と判断することになる。この場合、サブ制御基板80側では、設定確認中であることを示す第1制御コマンド及び第2制御コマンドに基づいて、設定確認中であることを示す報知を行う。
Further, when the setting check is being performed on the main control board 60 side, it is confirmed that the setting is being confirmed on the
すなわち、エラー監視用タイマが「0」になる前に設定変更中であることを示す第1制御コマンド及び第2制御コマンドを取得したときは、設定変更中である旨を報知する。
また、エラー監視用タイマが「0」になる前に設定確認中であることを示す第1制御コマンド及び第2制御コマンドを取得したときは、設定確認中である旨を報知する。
That is, when the first control command and the second control command indicating that the setting is being changed before the error monitoring timer becomes “0”, the fact that the setting is being changed is notified.
When the first control command and the second control command indicating that the setting is being confirmed before the error monitoring timer becomes “0” are acquired, the fact that the setting is being confirmed is notified.
さらにまた、エラー監視用タイマが「0」になった場合において、設定変更中又は設定確認中であることを示す第1制御コマンド及び第2制御コマンドを取得しておらず、かつ稼動時間タイマが2秒経過していないときは、設定値を変更することができない旨を報知する。
さらに、エラー監視用タイマが「0」になった場合において、設定変更中又は設定確認中であることを示す第1制御コマンド及び第2制御コマンドを取得しておらず、かつ稼動時間タイマが2秒経過しているときは、設定値を確認することができない旨を報知する。
Furthermore, when the error monitoring timer becomes “0”, the first control command and the second control command indicating that the setting is being changed or the setting is being confirmed have not been acquired, and the operation time timer is not set. If 2 seconds have not elapsed, a notification is made that the set value cannot be changed.
Furthermore, when the error monitoring timer becomes “0”, the first control command and the second control command indicating that the setting is being changed or the setting is being confirmed have not been acquired, and the operation time timer is 2 When the second has elapsed, a notification is made that the set value cannot be confirmed.
このように、サブ制御基板80は、設定変更中又は設定確認中であることを示す第1制御コマンド及び第2制御コマンドを受信することなく、設定キースイッチ52がオンの状態であることを示す第3制御コマンドを受信してから所定時間(64ms)が経過したときは、電源がオンにされてからの経過時間に応じた内容の情報を報知する。
As described above, the
また、サブ制御基板80は、設定変更中又は設定確認中であることを示す第1制御コマンド及び第2制御コマンドを受信することなく、設定キースイッチ52がオンの状態であることを示す第3制御コマンドを受信してから所定時間(64ms)が経過した場合において、電源がオンにされてから規定時間(2秒)が経過していないときは、設定値を変更することができない旨を報知する。
In addition, the
さらにまた、サブ制御基板80は、設定変更中又は設定確認中であることを示す第1制御コマンド及び第2制御コマンドを受信することなく、設定キースイッチ52がオンの状態であることを示す第3制御コマンドを受信してから所定時間(64ms)が経過した場合において、電源がオンにされてから規定時間(2秒)が経過しているときは、設定値を確認することができない旨を報知する。
Furthermore, the
さらに、サブ制御基板80は、設定キースイッチ52がオンの状態であることを示す第3制御コマンドを受信してから所定時間(64ms)が経過する前に、設定変更中であることを示す第1制御コマンド及び第2制御コマンドを受信したときは、設定変更中である旨を報知する。
また、サブ制御基板80は、設定キースイッチ52がオンの状態であることを示す第3制御コマンドを受信してから所定時間(64ms)が経過する前に、設定確認中であることを示す第1制御コマンド及び第2制御コマンドを受信したときは、設定確認中である旨を報知する。
Further, the
Further, the
以下、サブ制御基板80によるエラー報知処理の具体例を示す。
たとえば、リール31の回転中に設定確認の操作を行った場合には、以下に示すようになる。
まず、電源スイッチ51がオンの状態で、フロントカバーが開けられ、設定ドアが開けられ、設定キースイッチ52がオンにされる。このため、メイン制御基板60は、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドをサブ制御基板80に送信する。
Hereinafter, a specific example of error notification processing by the
For example, when a setting confirmation operation is performed while the reel 31 is rotating, the operation is as follows.
First, with the power switch 51 turned on, the front cover is opened, the setting door is opened, and the setting key switch 52 is turned on. For this reason, the main control board 60 outputs a third control command indicating that the door switch 16 is on, the setting door switch 54 is on, and the setting key switch 52 is on. Transmit to the
また、メイン制御基板60側では、図11のステップS44で「Yes」と判断してからステップS73で遊技終了チェック処理を行うまでの間に設定キースイッチ52がオンにされることから、設定確認不可エラーとなる。このため、メイン制御基板60は、設定確認中であることを示す第1制御コマンド及び第2制御コマンドをサブ制御基板80に送信することはない。
Further, on the main control board 60 side, the setting key switch 52 is turned on after the determination of “Yes” in step S44 in FIG. 11 until the game end check process is performed in step S73. An impossible error occurs. For this reason, the main control board 60 does not transmit to the
さらにまた、サブ制御基板80側では、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドは受信するが、設定確認中であることを示す第1制御コマンド及び第2制御コマンドは受信しない。
このため、サブ制御基板80側では、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドを最初に受信してから64ms程度で、図26のステップS807に進むことになる。
Furthermore, on the
For this reason, on the
さらに、リール31の回転中に設定確認の操作が行われるため、電源スイッチ51のオンから2秒経過した後に、図26のステップS807に進むことになる。
したがって、サブ制御基板80は、図26のステップS807において、電源スイッチ51のオンから2秒経過したと判断し、図26のステップS809に進んで、設定確認不可エラーを報知する。
Furthermore, since a setting confirmation operation is performed while the reel 31 is rotating, the process proceeds to step S807 in FIG. 26 after two seconds have elapsed since the power switch 51 was turned on.
Therefore, the
また、たとえば、リール31の回転中に設定変更の操作を行った場合には、以下に示すようになる。
まず、リール31の回転中に、フロントカバーが開けられて、電源スイッチ51がオフにされ、その後、設定ドアが開けられ、設定キースイッチ52がオンの状態で、電源スイッチ51がオンにされる。このため、メイン制御基板60は、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドをサブ制御基板80に送信する。
Further, for example, when a setting change operation is performed while the reel 31 is rotating, the operation is as follows.
First, while the reel 31 is rotating, the front cover is opened and the power switch 51 is turned off. Thereafter, the setting door is opened, and the setting key switch 52 is turned on and the power switch 51 is turned on. . For this reason, the main control board 60 outputs a third control command indicating that the door switch 16 is on, the setting door switch 54 is on, and the setting key switch 52 is on. Transmit to the
また、メイン制御基板60側では、条件装置抽選(図11のステップS50)から遊技終了チェック処理(図11のステップS73)までの間は、設定変更不可フラグをオンにする。この状態で電源スイッチ51が一旦オフにされた後に再度オンにされることから、設定変更不可フラグがオンのまま、図8のステップS20に進むことになるので、設定変更不可エラーとなる。このため、メイン制御基板60は、設定変更中であることを示す第1制御コマンド及び第2制御コマンドをサブ制御基板80に送信することはない。
On the main control board 60 side, the setting change impossibility flag is set to ON from the condition device lottery (step S50 in FIG. 11) to the game end check process (step S73 in FIG. 11). In this state, since the power switch 51 is once turned off and then turned on again, the setting change impossible flag remains on and the process proceeds to step S20 in FIG. 8, resulting in a setting change impossible error. For this reason, the main control board 60 does not transmit the first control command and the second control command indicating that the setting is being changed to the
さらにまた、サブ制御基板80側では、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドは受信するが、設定変更中であることを示す第1制御コマンド及び第2制御コマンドは受信しない。
このため、サブ制御基板80側では、ドアスイッチ16がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつ設定キースイッチ52がオンの状態であることを示す第3制御コマンドを最初に受信してから64ms程度で、図26のステップS807に進むことになる。
Furthermore, on the
For this reason, on the
さらに、電源スイッチ51のオンから64ms程度で(2秒経過する前に)、図26のステップS807に進むことになる。
したがって、サブ制御基板80は、図26のステップS807において、電源スイッチ51のオンから2秒経過していないと判断し、図26のステップS808に進んで、設定変更不可エラーを報知する。
Further, in about 64 ms after the power switch 51 is turned on (before 2 seconds elapses), the process proceeds to step S807 in FIG.
Accordingly, the
また、第3制御コマンドについて、D0ビットは、右ストップスイッチ42が操作を受付け可能な状態であるか否かを示し、D1ビットは、中ストップスイッチ42が操作を受付け可能な状態であるか否かを示し、D2ビットは、左ストップスイッチ42が操作を受付け可能な状態であるか否かを示し、D3ビットは、3ベットスイッチ40bが操作を受付け可能な状態であるか否かを示す。
In the third control command, the D0 bit indicates whether or not the
さらに、第3制御コマンドのD0〜D3ビットについて、「0」のときは、操作を受付け不可の状態であることを示し、「1」のときは、操作を受付け可能な状態であることを示す。
このため、正常時には、第3制御コマンドのD0〜D3ビットがすべて「1」である場合はない。同様に、正常時には、D0ビット及びD3ビットの2つが「1」である場合、D1ビット及びD3ビットの2つが「1」である場合、D2ビット及びD3ビットの2つが「1」である場合もない。
Further, regarding the D0 to D3 bits of the third control command, when it is “0”, it indicates that the operation cannot be accepted, and when it is “1”, it indicates that the operation is acceptable. .
For this reason, in normal times, the D0 to D3 bits of the third control command are not all “1”. Similarly, when the D0 bit and the D3 bit are both “1” in the normal state, when both the D1 bit and the D3 bit are “1”, and when both the D2 bit and the D3 bit are “1” Nor.
そして、サブ制御基板80は、D0〜D3ビットがすべて「1」である第3制御コマンドを取得したときは、通信エラーと判断して、その旨を報知する。
また、サブ制御基板80は、D0ビット及びD3ビットの2つが「1」である第3制御コマンドを取得したとき、D1ビット及びD3ビットの2つが「1」である第3制御コマンドを取得したとき、D2ビット及びD3ビットの2つが「1」である第3制御コマンドを取得したときについても、通信エラーと判断して、その旨を報知する。
When the
In addition, when the
<第2実施形態>
第1実施形態では、メイン制御基板60からサブ制御基板80に対して、パラレル通信でコマンドを送信した。
これに対し、第2実施形態では、メイン制御基板60からサブ制御基板80に対して、シリアル通信でコマンドを送信する。
Second Embodiment
In the first embodiment, a command is transmitted from the main control board 60 to the
On the other hand, in the second embodiment, a command is transmitted from the main control board 60 to the
図27は、第2実施形態を示す図であって、メイン制御基板60からサブ制御基板80に対してコマンドを送信するための通信線を示す回路図である。コマンドは、メイン制御基板60からサブ制御基板80に対して一方向で送信する。
図27に示すように、メイン制御基板60上には、メインCPU63、及び2つのインバータバッファ(インバータバッファ1及び2)が搭載されている。
また、サブ制御基板80には、サブCPU83、及びバッファが搭載されている。
なお、メイン制御基板60及びサブ制御基板80上には、これら以外にも電子部品が搭載されているが、本実施形態では図示を省略している。
FIG. 27 is a circuit diagram showing a communication line for transmitting a command from the main control board 60 to the
As shown in FIG. 27, on the main control board 60, a main CPU 63 and two inverter buffers (
The
In addition to the above, electronic components are mounted on the main control board 60 and the
メインCPU63は、シリアル通信回路65を備えている。また、シリアル通信回路65は、送信用レジスタ65aを備えている。さらに、メインCPU63は、TX3出力端子を備えている。そして、メイン制御基板60からサブ制御基板80へのコマンドの送信には、シリアル通信回路65を用いる。具体的には、生成したコマンドを送信用レジスタ65aに書き込むと、送信用レジスタ65aに書き込まれたコマンドがTX3出力端子から出力される。
The main CPU 63 includes a serial communication circuit 65. The serial communication circuit 65 includes a transmission register 65a. Further, the main CPU 63 has a TX3 output terminal. A serial communication circuit 65 is used to transmit a command from the main control board 60 to the
また、インバータバッファ1及び2は、出力ポートを構成するものである。インバータバッファ1の5A入力端子と5Y出力端子とが対応しているとともに、インバータバッファ2の6A入力端子と6Y出力端子とが対応している。さらに、メインCPU63のTX3出力端子は、インバータバッファ1の5A入力端子に接続され、インバータバッファ1の5Y出力端子は、インバータバッファ2の6A入力端子に接続されている。
なお、インバータバッファ1及び2を直列に接続しているが、これはコマンドにノイズが入るのを防止するためである。
The inverter buffers 1 and 2 constitute an output port. The 5A input terminal and 5Y output terminal of the
Note that the
また、メイン制御基板60上のインバータバッファ2の6Y出力端子は、サブ制御基板80上のバッファの1A入力端子に接続されている。さらにまた、サブ制御基板80上のバッファの1A入力端子と1Y出力端子とが対応している。さらに、バッファの1Y出力端子は、サブCPU83のRxD0入力端子に接続されている。そして、メイン制御基板60上のインバータバッファ2の6Y出力端子からは、サブ制御データ信号(制御コマンド)が出力される。
このように、第2実施形態では、メイン制御基板60上のインバータバッファ2の6Y出力端子と、サブ制御基板80上のバッファの1A入力端子とを繋ぐ通信線により、サブ制御データ信号(制御コマンド)がシリアル通信で送信される。
The 6Y output terminal of the inverter buffer 2 on the main control board 60 is connected to the 1A input terminal of the buffer on the
As described above, in the second embodiment, the sub control data signal (control command) is transmitted by the communication line that connects the 6Y output terminal of the inverter buffer 2 on the main control board 60 and the 1A input terminal of the buffer on the sub control board 80. ) Is sent via serial communication.
図28は、第2実施形態におけるサブ制御データ信号の波形を示す図である。
スタートビットは、データの開始を示すビットである。スタートビットの幅は1ビットであり、スタートビットの値は「0」である。
また、スタートビットの後のビット0〜ビット7の8ビットがデータビットである。
FIG. 28 is a diagram illustrating a waveform of a sub control data signal in the second embodiment.
The start bit is a bit indicating the start of data. The width of the start bit is 1 bit, and the value of the start bit is “0”.
Further, 8 bits from bit 0 to
さらにまた、パリティビットは、データが正常に送信されたか否かをチェックするためのビットである。パリティビットの幅は1ビットである。パリティタイプとして、偶数パリティ又は奇数パリティを選択することができる。偶数パリティを選択したときは、データビット(ビット0〜ビット7)及びパリティビットにおける「1」の数が偶数になるように、パリティビットに「0」又は「1」がセットされる。奇数パリティを選択したときは、データビット及びパリティビットにおける「1」の数が奇数になるように、パリティビットに「0」又は「1」がセットされる。すなわち、「1」の数が偶数又は奇数になるように、パリティビットで調整する。 Furthermore, the parity bit is a bit for checking whether data has been transmitted normally. The width of the parity bit is 1 bit. Even parity or odd parity can be selected as the parity type. When even parity is selected, “0” or “1” is set in the parity bit so that the number of data bits (bit 0 to bit 7) and “1” in the parity bit is an even number. When odd parity is selected, “0” or “1” is set in the parity bit so that the number of “1” s in the data bit and parity bit is odd. That is, the parity bit is adjusted so that the number of “1” is an even number or an odd number.
たとえば、偶数パリティが選択されている場合において、データビットが「10011011B」のときは、パリティビットには「1」がセットされる。
また、奇数パリティが選択されている場合において、データビットが「10011011B」のときは、パリティビットには「0」がセットされる。
さらにまた、偶数パリティが選択されている場合において、データビットが「10011010B」のときは、パリティビットには「0」がセットされる。
さらに、奇数パリティが選択されている場合において、データビットが「10011010B」のときは、パリティビットには「1」がセットされる。
For example, when even parity is selected, when the data bit is “10011011B”, “1” is set in the parity bit.
When odd parity is selected and the data bit is “10011011B”, “0” is set in the parity bit.
Furthermore, when even parity is selected and the data bit is “10011010B”, “0” is set in the parity bit.
Further, when odd parity is selected and the data bit is “10011010B”, “1” is set in the parity bit.
また、ストップビットは、データの終了を示すビットである。ストップビットの幅は1ビットであり、ストップビットの値は「1」である。
そして、スタートビットからストップビットまでの11ビットで1フレームとされ、この1フレームで1つの制御コマンドを構成する。
さらに、本実施形態では、第1制御コマンドから第「n」制御コマンドまでの「n」個の制御コマンドで一連の制御コマンド群を構成する。
The stop bit is a bit indicating the end of data. The width of the stop bit is 1 bit, and the value of the stop bit is “1”.
One frame is composed of 11 bits from the start bit to the stop bit, and one control command is composed of this one frame.
Further, in the present embodiment, a series of control commands are configured by “n” control commands from the first control command to the “n” control command.
また、本実施形態では、第2制御コマンドから第「n」制御コマンドまでの「n−1」個の各制御コマンドにおいて、8ビットのデータビットのうち特定のビットは、継続する制御コマンドを有するか(一連の制御コマンド群の最後の制御コマンドであるか)否かを識別するためのビットとされている。そして、第2制御コマンドから第「n−1」制御コマンドまでの各制御コマンドでは、8ビットのデータビットのうち特定のビットには「1」がセットされ、第「n」制御コマンドでは、8ビットのデータビットのうち特定のビットには「0」がセットされる。 In the present embodiment, in each of the “n−1” control commands from the second control command to the “n” control command, a specific bit among the 8 data bits has a control command to be continued. Or (the last control command in a series of control command groups) or not. In each control command from the second control command to the “n−1” th control command, “1” is set to a specific bit among the 8 data bits, and in the “n” th control command, 8 is set. “0” is set to a specific bit among the data bits.
具体的には、本実施形態では、継続する制御コマンドを有するか否かを識別するための特定のビットとして、ビット「6」を割り当てている。そして、ビット「6」に「1」がセットされているときは、継続する制御コマンドを有する(一連の制御コマンド群の最後の制御コマンドでない)ことを示し、ビット「6」に「0」がセットされているときは、継続する制御コマンドを有しない(一連の制御コマンド群の最後の制御コマンドである)ことを示す。
これにより、サブ制御基板80側では、制御コマンドがまだ継続するのか否かを判断することができる。
Specifically, in this embodiment, bit “6” is assigned as a specific bit for identifying whether or not there is a continuous control command. When “1” is set in the bit “6”, this indicates that the control command is continued (not the last control command in the series of control commands), and “0” is set in the bit “6”. When set, it indicates that there is no control command to continue (the last control command in a series of control commands).
Thereby, the
また、本実施形態では、第1制御コマンドから第「n」制御コマンドまでの「n」個の制御コマンドの後に、一連の制御コマンド群の終了を示すSUMコマンドがセットされる。さらにまた、8ビットのデータビットのうち他の特定のビットは、一連の制御コマンド群が終了するか否かを識別するためのビットとされている。そして、第1制御コマンドから第「n」制御コマンドまでの各制御コマンドでは、8ビットのデータビットのうち他の特定のビットには「0」がセットされ、SUMコマンドでは、8ビットのデータビットのうち他の特定のビットには「1」がセットされる。 In the present embodiment, a SUM command indicating the end of a series of control commands is set after “n” control commands from the first control command to the “n” control command. Furthermore, other specific bits among the 8 data bits are bits for identifying whether or not a series of control command groups are to be ended. In each control command from the first control command to the “n” control command, “0” is set to the other specific bits of the 8-bit data bits, and in the SUM command, the 8-bit data bits are set. “1” is set to the other specific bits.
具体的には、本実施形態では、一連の制御コマンド群が終了するか否かを識別するための他の特定のビットとして、ビット「7」を割り当てている。そして、ビット「7」に「0」がセットされているときは、一連の制御コマンド群が終了しない(第1制御コマンドから第「n」制御コマンドまでのいずれかである)ことを示し、ビット「7」に「1」がセットされているときは、一連の制御コマンド群が終了する(SUMコマンドである)ことを示す。
これにより、サブ制御基板80側では、一連の制御コマンド群が終了するのか否かを判断することができる。
Specifically, in this embodiment, bit “7” is assigned as another specific bit for identifying whether or not a series of control command groups ends. When bit “7” is set to “0”, it indicates that a series of control command groups do not end (any one from the first control command to the “n” control command). When “1” is set to “7”, it indicates that a series of control command groups is finished (SUM command).
Thereby, on the
また、本実施形態では、第1制御コマンドから第3制御コマンドまでの3個の制御コマンドで一連の制御コマンド群を構成する場合、第1制御コマンドから第4制御コマンドまでの4個の制御コマンドで一連の制御コマンド群を構成する場合、及び第1制御コマンドから第5制御コマンドまでの5個の制御コマンドで一連の制御コマンド群を構成する場合を有する。 In the present embodiment, when a series of control commands is composed of three control commands from the first control command to the third control command, four control commands from the first control command to the fourth control command are used. A series of control command groups, and a case where a series of control command groups is composed of five control commands from the first control command to the fifth control command.
すなわち、一連の制御コマンド群における制御コマンドの個数を示す「n」は、「3」から「5」までの範囲内で可変とされている。「n」の最小値は「3」であり、最大値は「5」である。これにより、一連の制御コマンド群を可変長とすることができる。
また、第1制御コマンドは、少なくとも、コマンドの種別を示す情報、及び一連の制御コマンド群における制御コマンドの個数を示す情報を含み、第2制御コマンド〜第「n」制御コマンドは、コマンドの内容を示す情報を含む。
That is, “n” indicating the number of control commands in a series of control command groups is variable within a range from “3” to “5”. The minimum value of “n” is “3”, and the maximum value is “5”. Thereby, a series of control command groups can be made variable length.
The first control command includes at least information indicating the type of command and information indicating the number of control commands in a series of control commands, and the second control command to the “n” control command include command contents. Contains information indicating.
なお、第2制御コマンド〜第「n」制御コマンドでは、ビット「6」を、継続する制御コマンドを有するか否かの識別用に使用し、ビット「7」を、一連の制御コマンド群が終了するか否かの識別用に使用している。このため、第2制御コマンド〜第「n」制御コマンドでは、ビット「0」〜ビット「5」の5ビットを、コマンドの内容の送信用に使用することになる。 In the second control command to the “n” control command, the bit “6” is used for identifying whether or not there is a continuing control command, and the bit “7” is terminated by a series of control commands. It is used for identifying whether or not to do. For this reason, in the second control command to the “n” control command, 5 bits from bit “0” to bit “5” are used for transmitting the contents of the command.
また、コマンドの種別として、たとえば、各種スイッチのオン/オフの状態を示す状態コマンド、各種エラーの検知/未検知を示すエラーコマンド、設定変更中又は設定確認中であるか否かを示す管理コマンド等を挙げることができる。
さらに、SUMコマンドのビット「0」〜ビット「6」には、第1制御コマンド〜第「n」制御コマンドの数値を加算し、さらに制御コマンドの個数を加算して得た数値がセットされる。
Also, as command types, for example, a status command indicating the on / off status of various switches, an error command indicating detection / non-detection of various errors, a management command indicating whether settings are being changed or settings are being confirmed Etc.
Further, the numerical values obtained by adding the numerical values of the first control command to the “n” control command to the bits “0” to “6” of the SUM command and further adding the number of control commands are set. .
具体的には、たとえば、第1制御コマンドから第4制御コマンドまでの4個の制御コマンドで一連の制御コマンド群を構成することができる。
すなわち、「第1制御コマンド+第2制御コマンド+第3制御コマンド+第4制御コマンド+SUMコマンド」からなる一連のデータをメイン制御基板60からサブ制御基板80に送信することができる。
Specifically, for example, a series of control command groups can be configured by four control commands from the first control command to the fourth control command.
That is, a series of data consisting of “first control command + second control command + third control command + fourth control command + SUM command” can be transmitted from the main control board 60 to the
この場合、第1制御コマンドのデータビットには、制御コマンドの個数が4個であることを示す「00000100B」がセットされる。また、第2制御コマンド及び第3制御コマンドのデータビットのビット「6」には、継続する制御コマンドを有することを示す「1」がセットされ、第4制御コマンドのデータビットのビット「6」には、継続する制御コマンドを有しないことを示す「0」がセットされる。さらに、第1制御コマンドから第4制御コマンドまでのデータビットのビット「7」には、一連の制御コマンド群が終了しないことを示す「0」がセットされ、SUMコマンドのデータビットのビット「7」には、一連の制御コマンド群が終了することを示す「1」がセットされる。 In this case, “00000100B” indicating that the number of control commands is four is set in the data bits of the first control command. In addition, the bit “6” of the data bit of the second control command and the third control command is set to “1” indicating that the control command is continued, and the bit “6” of the data bit of the fourth control command is set. Is set to “0” indicating that no control command is continued. Further, the bit “7” of the data bit from the first control command to the fourth control command is set to “0” indicating that the series of control command groups do not end, and the bit “7” of the data bit of the SUM command is set. "" Is set to "1" indicating that a series of control command groups is terminated.
また、たとえば、第1制御コマンド及び第2制御コマンドの2個の制御コマンドを2回繰り返して一連の制御コマンド群を構成することができる。
すなわち、「第1制御コマンド+第2制御コマンド+第1制御コマンド+第2制御コマンド+SUMコマンド」からなる一連のデータをメイン制御基板60からサブ制御基板80に送信することができる。
Further, for example, a series of control commands can be configured by repeating two control commands of the first control command and the second control command twice.
That is, a series of data consisting of “first control command + second control command + first control command + second control command + SUM command” can be transmitted from the main control board 60 to the
この場合、第1制御コマンドのデータビットには、制御コマンドの個数が2個であることを示す「00000010B」がセットされる。また、第2制御コマンドのデータビットのビット「6」には、継続する制御コマンドを有しないことを示す「0」がセットされる。さらに、第1制御コマンド及び第2制御コマンドのデータビットのビット「7」には、一連の制御コマンド群が終了しないことを示す「0」がセットされ、SUMコマンドのデータビットのビット「7」には、一連の制御コマンド群が終了することを示す「1」がセットされる。 In this case, “00000010B” indicating that the number of control commands is two is set in the data bits of the first control command. Also, “0” indicating that there is no continuing control command is set in the bit “6” of the data bit of the second control command. Further, the bit “7” of the data bit of the first control command and the second control command is set to “0” indicating that the series of control command groups do not end, and the bit “7” of the data bit of the SUM command is set. Is set to “1” indicating that a series of control command groups is terminated.
また、メイン制御基板60(メインCPU63)は、生成した制御コマンドを、制御コマンドバッファ(リングバッファ)に記憶させることなく送信用レジスタ65aに直接書き込んで、サブ制御基板80に送信する。
本実施形態では、送信用レジスタ65aは、64バイトの記憶領域を有している。また、1個の制御コマンドは、1バイトのデータで構成されている。このため、送信用レジスタ65aは、64個のコマンドを記憶可能とされている。
Further, the main control board 60 (main CPU 63) directly writes the generated control command to the transmission register 65a without transmitting it to the control command buffer (ring buffer), and transmits it to the
In the present embodiment, the transmission register 65a has a 64-byte storage area. One control command is composed of 1-byte data. For this reason, the transmission register 65a can store 64 commands.
また、一連の制御コマンド群における制御コマンドの個数は、最大で5個である。このため、メイン制御基板60は、送信用レジスタ65aにおける未使用の記憶領域が5バイト以上(使用済みの記憶領域が60バイト未満)のときは、送信用レジスタ65aへの制御コマンドの書き込みを許可するが、送信用レジスタ65aにおける未使用の記憶領域が5バイト未満(使用済みの記憶領域が60バイト以上)のときは、送信用レジスタ65aへの制御コマンドの書き込みを禁止する。 Further, the maximum number of control commands in a series of control command groups is five. For this reason, when the unused storage area in the transmission register 65a is 5 bytes or more (the used storage area is less than 60 bytes), the main control board 60 permits the writing of the control command to the transmission register 65a. However, when the unused storage area in the transmission register 65a is less than 5 bytes (the used storage area is 60 bytes or more), writing of a control command to the transmission register 65a is prohibited.
すなわち、送信用レジスタ65aにおける未使用の記憶領域に「n」個の制御コマンドを書き込むことが可能なときは、送信用レジスタ65aへの制御コマンドの書込みを許可する。
これに対し、送信用レジスタ65aにおける未使用の記憶領域に「n」個の制御コマンドを書き込むことが可能でないときは、送信用レジスタ65aへの制御コマンドの書込みを禁止する。
これにより、制御コマンドが送信用レジスタ65aの記憶領域から溢れないようにしている。
That is, when “n” number of control commands can be written to an unused storage area in the transmission register 65a, writing of the control command to the transmission register 65a is permitted.
On the other hand, when “n” control commands cannot be written to an unused storage area in the transmission register 65a, writing of the control command to the transmission register 65a is prohibited.
This prevents the control command from overflowing from the storage area of the transmission register 65a.
また、メイン制御基板60は、送信用レジスタ65aに書き込まれている制御コマンドを、割込み処理が実行されたか否かにかかわらず、サブ制御基板80に送信する。
具体的には、本実施形態では、動作モードは、FIFO(Firet In First Out)モードに設定され、ボーレートは、38400bpsに設定されている。FIFOモードは、送信用レジスタ65aに書き込まれている制御コマンドを、送信用レジスタ65aに書き込まれた順に、サブ制御基板80に送信するものである。また、ボーレートは、1秒あたりに送信するビット数(bps)を単位とする通信速度をいう。1秒あたりに38400ビットのデータを送信可能であるので、1フレーム(11ビット)の制御コマンドを0.286msで送信することができる。
In addition, the main control board 60 transmits the control command written in the transmission register 65a to the
Specifically, in this embodiment, the operation mode is set to a FIFO (Firet In First Out) mode, and the baud rate is set to 38400 bps. In the FIFO mode, the control commands written in the transmission register 65a are transmitted to the
また、メイン制御基板60は、電源断発生時には、図18の電源断処理(IS_POWER_DOWN )が終了する前に、送信用レジスタ65aに書き込まれている制御コマンドをサブ制御基板80に送信することができる。メイン制御基板60は、1秒あたりに38400ビットのデータを送信可能であることから、64フレームの制御コマンドを18.304msで送信することができるが、電源断処理(IS_POWER_DOWN )には、18.304msより長い時間を要するためである。
Further, the main control board 60 can transmit the control command written in the transmission register 65a to the
さらにまた、サブ制御基板80は、SUMコマンドを受信したか否かによって、可変長な制御コマンド群に含まれる制御コマンドをすべて受信したか否かを判断することができる。そして、サブ制御基板80は、SUMコマンドを受信するまでは、それまでに受信した制御コマンドをサブ制御基板80上のRWM81に格納する処理を実行せず、SUMコマンドを受信すると、それまでに受信した制御コマンドをサブ制御基板80上のRWM81に格納する処理を実行する。
Furthermore, the
さらに、メイン制御基板60は、サブ制御基板80に対し、同一の制御コマンド群を2回連続で送信する。そして、サブ制御基板80は、同一の制御コマンド群を2回連続して受信したときは、その制御コマンド群を正常に受信したと判断する。
なお、シリアル通信線は、有線に限られるものではなく、たとえば、無線にしてもよい。また、たとえば、光ファイバでシリアル通信線を構成することもできる。
Further, the main control board 60 transmits the same control command group to the
The serial communication line is not limited to a wired line, and may be wireless, for example. Further, for example, a serial communication line can be configured with an optical fiber.
以上、本発明の一実施形態について説明したが、本発明は、上記実施形態に限定されるものではなく、たとえば、以下のような種々の変形が可能である。
(1)本実施形態では、割込み処理の間隔は、「2.235ms」としたが、この値に限られるものではない。たとえば「1ms」等、種々の時間が挙げられる。
(2)本実施形態で示したフローチャートにおいて、処理の順序は、図で示した順序に限られるものではなく、処理の順序を入替え可能な場合には、処理の順序を入れ替えることも可能である。
As mentioned above, although one Embodiment of this invention was described, this invention is not limited to the said embodiment, For example, the following various deformation | transformation are possible.
(1) In this embodiment, the interval of interrupt processing is “2.235 ms”, but is not limited to this value. For example, there are various times such as “1 ms”.
(2) In the flowchart shown in the present embodiment, the order of processing is not limited to the order shown in the figure. When the order of processing can be changed, the order of processing can be changed. .
(3)第1実施形態では、メイン制御基板60は、「7.19μs」の間にわたって、出力ポート7から第2制御コマンドを出力するとともに、出力ポート8から第1制御コマンドを出力し、その後、出力ポート7及び出力ポート8からそれぞれ制御コマンドクリアデータ(「00000000B」)を出力した。しかし、第1制御コマンド及び第2制御コマンドを出力する時間は、「7.19μs」に限られるものではない。たとえば、「6μs」又は「10μs」等、第1制御コマンド及び第2制御コマンドの出力時間は、サブ制御基板80が取得可能な範囲内で、適宜設定することができる。
(3) In the first embodiment, the main control board 60 outputs the second control command from the
(4)第1実施形態では、サブ制御基板80は、サブ制御データストローブ信号の立ち上がりを契機に、第1制御コマンド及び第2制御コマンドを取得したが、これに限られるものではない。サブ制御基板80は、たとえば、サブ制御データストローブ信号の立ち下がりを契機に、第1制御コマンド及び第2制御コマンドを取得してもよい。
(4) In the first embodiment, the
(5)第1実施形態では、サブ制御基板80は、第1制御コマンド及び第2制御コマンドが出力されている「7.19μs」の間に、これらをそれぞれ4回取得可能としたが、これに限られるものではない。サブ制御基板80が第1制御コマンド及び第2制御コマンドを取得する回数は、たとえば「3回」又は「5回」等、第1制御コマンド及び第2制御コマンドの出力時間に応じて、適宜設定することができる。
(5) In the first embodiment, the
(6)第1実施形態では、サブ制御基板80は、同一内容の第1制御コマンドを2回連続して取得し、かつ同一内容の第2制御コマンドを2回連続して取得したときは、制御コマンドを正常に取得したと判断したが、これに限られるものではない。たとえば、サブ制御基板80は、第1制御コマンド及び第2制御コマンドをそれぞれ1回ずつ取得するようにしてもよい。
(6) In the first embodiment, when the
(7)第1実施形態では、サブ制御基板80は、D0ビット(右ストップスイッチ42が操作を受付け可能な状態であるか否か)、D1ビット(中ストップスイッチ42が操作を受付け可能な状態であるか否か)、D2ビット(左ストップスイッチ42が操作を受付け可能な状態であるか否か)、及びD3ビット(3ベットスイッチ40bが操作を受付け可能な状態であるか否か)がすべて「1」である(操作を受付け可能な状態である旨を示す)第3制御コマンドを取得したときは、通信エラーと判断して、その旨を報知した。
(7) In the first embodiment, the
しかし、これに限られるものではない。たとえば、サブ制御基板80は、D0〜D3ビットがすべて「1」である第3制御コマンドを取得したときは、通信エラーの報知をすることなく、D0〜D3をすべて「0」に書き換えて、その後の処理を進めるようにしてもよい。
However, it is not limited to this. For example, when the
(8)第1実施形態では、サブ制御データストローブ信号は、フリップフロップ1の8Q出力端子(出力ポート2のD7ビット)から出力したが、これに限られるものではなく、出力ポート2のD0〜D6ビットのいずれか1つから出力するようにしてもよい。
(9)第1実施形態では、フリップフロップ1の1Q出力端子(出力ポート2のD0ビット)からは、3枚投入表示LED信号を出力し、同2Q出力端子(同D1ビット)からは、2枚投入表示LED信号を出力し、同3Q出力端子(同D2ビット)からは、1枚投入表示LED信号を出力した。
(8) In the first embodiment, the sub-control data strobe signal is output from the 8Q output terminal of the flip-flop 1 (D7 bit of the output port 2). However, the present invention is not limited to this. You may make it output from any one of D6 bits.
(9) In the first embodiment, from the 1Q output terminal of the flip-flop 1 (D0 bit of the output port 2), a three-sheet display LED signal is output, and from the 2Q output terminal (same D1 bit), 2 A sheet loading display LED signal was output, and a sheet loading display LED signal was output from the 3Q output terminal (same D2 bit).
すなわち、サブ制御データストローブ信号の出力ポートと、3枚投入表示LED信号、2枚投入表示LED信号、及び1枚投入表示LED信号の出力ポートとを兼用にした。
しかし、サブ制御データストローブ信号と出力ポートを兼用にするのは、3枚投入表示LED信号、2枚投入表示LED信号、及び1枚投入表示LED信号に限られるものではない。
That is, the output port of the sub control data strobe signal is also used as the output port of the three-sheet input display LED signal, the two-sheet input display LED signal, and the one-sheet input display LED signal.
However, sharing the sub-control data strobe signal with the output port is not limited to the three-sheet input display LED signal, the two-sheet input display LED signal, and the one-sheet input display LED signal.
たとえば、出力ポート2のD0ビットからは、左ストップスイッチ42に対応して設けられている左ストップ用LEDを青色に発光させるための青左信号を出力し、同D1ビットからは、中ストップスイッチ42に対応して設けられている中ストップ用LEDを青色に発光させるための青中信号を出力し、同D2ビットからは、右ストップスイッチ42に対応して設けられている右ストップ用LEDを青色に発光させるための青右信号を出力することができる。
For example, from the D0 bit of the output port 2, a blue left signal for causing the left stop LED provided corresponding to the
また、同D3ビットからは、左ストップ用LEDを赤色に発光させるための赤左信号を出力し、同D4ビットからは、中ストップ用LEDを赤色に発光させるための赤中信号を出力し、同D5ビットからは、右ストップ用LEDを赤色に発光させるための赤右信号を出力することができる。 In addition, from the D3 bit, a red left signal for causing the left stop LED to emit red light is output, and from the D4 bit, a red middle signal for causing the middle stop LED to emit red light is output. From the D5 bit, a red / right signal for causing the right stop LED to emit red light can be output.
さらにまた、同D6ビットからは、サブ制御データストローブ信号を出力し、同D7ビットからは、ホッパーモータ36を駆動させるためのホッパーモータ駆動信号を出力することができる。
このように、サブ制御データストローブ信号の出力ポートと、青左信号、青中信号、青右信号、赤左信号、赤中信号、赤右信号、及びホッパーモータ駆動信号の出力ポートとを兼用にすることができる。
Furthermore, the sub-control data strobe signal can be output from the D6 bit, and the hopper motor drive signal for driving the hopper motor 36 can be output from the D7 bit.
In this way, the sub control data strobe signal output port is also used as the blue left signal, blue middle signal, blue right signal, red left signal, red middle signal, red right signal, and hopper motor drive signal output port. can do.
また、左、中、及び右ストップ用LEDを赤色に発光させ、サブ制御データストローブ信号をオフにし、ホッパーモータ36を駆動させるときは、「10111000B」というパターンの8ビットデータを生成して、これを出力ポート2から出力する。
さらにまた、左、中、及び右ストップ用LEDを赤色に発光させ、サブ制御データストローブ信号をオフにし、ホッパーモータ36を駆動させないときは、「00111000B」というパターンの8ビットデータを生成して、これを出力ポート2から出力する。
When the left, middle, and right stop LEDs are lit red, the sub-control data strobe signal is turned off, and the hopper motor 36 is driven, 8-bit data with a pattern of “10111000B” is generated, Is output from the output port 2.
Furthermore, when the left, middle, and right stop LEDs are lit red, the sub-control data strobe signal is turned off, and the hopper motor 36 is not driven, 8-bit data having a pattern of “00111000B” is generated, This is output from the output port 2.
さらに、左、中、及び右ストップ用LEDを消灯させ、サブ制御データストローブ信号をオフにし、ホッパーモータ36を駆動させるときは、「10000000B」というパターンの8ビットデータを生成して、これを出力ポート2から出力する。
また、左、中、及び右ストップ用LEDを消灯させ、サブ制御データストローブ信号をオフにし、ホッパーモータ36を駆動させないときは、「00000000B」というパターンの8ビットデータを生成して、これを出力ポート2から出力する。
Furthermore, when the left, middle and right stop LEDs are turned off, the sub-control data strobe signal is turned off, and the hopper motor 36 is driven, 8-bit data with a pattern of “10000000B” is generated and output. Output from port 2.
When the left, middle, and right stop LEDs are turned off, the sub control data strobe signal is turned off, and the hopper motor 36 is not driven, 8-bit data having a pattern of “00000000B” is generated and output. Output from port 2.
すなわち、赤左信号、赤中信号、及び赤右信号がオンの状態で、ホッパーモータ駆動信号をオンにするときは、赤左信号、赤中信号、及び赤右信号に対応するビットのデータを、オンであることを示すデータとし、かつホッパーモータ駆動信号に対応するビットのデータを、オンであることを示すデータとした8ビットデータを生成して、これを出力ポート2から出力する。 That is, when the hopper motor drive signal is turned on while the red left signal, red middle signal, and red right signal are on, the bit data corresponding to the red left signal, red middle signal, and red right signal are stored. 8 bit data is generated with the data indicating ON and the bit data corresponding to the hopper motor drive signal as data indicating ON, and this is output from the output port 2.
また、赤左信号、赤中信号、及び赤右信号がオンの状態で、ホッパーモータ駆動信号をオフにするときは、赤左信号、赤中信号、及び赤右信号に対応するビットのデータを、オンであることを示すデータとし、かつホッパーモータ駆動信号に対応するビットのデータを、オフであることを示すデータとした8ビットデータを生成して、これを出力ポート2から出力する。 Also, when turning off the hopper motor drive signal while the red left signal, red middle signal, and red right signal are on, the bit data corresponding to the red left signal, red middle signal, and red right signal are stored. Then, 8-bit data having the data indicating ON and the data indicating the bit corresponding to the hopper motor drive signal as data indicating OFF is generated and output from the output port 2.
さらにまた、赤左信号、赤中信号、及び赤右信号がオフの状態で、ホッパーモータ駆動信号をオンにするときは、赤左信号、赤中信号、及び赤右信号に対応するビットのデータを、オフであることを示すデータとし、かつホッパーモータ駆動信号に対応するビットのデータを、オンであることを示すデータとした8ビットデータを生成して、これを出力ポート2から出力する。 Furthermore, when the hopper motor drive signal is turned on while the red left signal, red middle signal, and red right signal are off, the bit data corresponding to the red left signal, red middle signal, and red right signal Is generated as 8-bit data with the data indicating that it is OFF and the bit data corresponding to the hopper motor drive signal as data indicating ON, and this is output from the output port 2.
さらに、赤左信号、赤中信号、及び赤右信号がオフの状態で、ホッパーモータ駆動信号をオフにするときは、赤左信号、赤中信号、及び赤右信号に対応するビットのデータを、オフであることを示すデータとし、かつホッパーモータ駆動信号に対応するビットのデータを、オフであることを示すデータとした8ビットデータを生成して、これを出力ポート2から出力する。 In addition, when the hopper motor drive signal is turned off while the red left signal, red middle signal, and red right signal are off, the bit data corresponding to the red left signal, red middle signal, and red right signal are stored. Then, 8-bit data having the data indicating that it is OFF and the bit data corresponding to the hopper motor drive signal as data indicating OFF is generated and output from the output port 2.
また、たとえば、出力ポート2のD0〜D3ビットからは、左リール31のモータ32を1−2相励磁で駆動させるφ0〜φ3の各信号を出力し、出力ポート2のD7ビットからは、サブ制御データストローブ信号を出力することができる。すなわち、サブ制御データストローブ信号の出力ポートと、左リール31のモータ32を1−2相励磁で駆動させるφ0〜φ3の各信号の出力ポートとを兼用にすることができる。 Further, for example, from the D0 to D3 bits of the output port 2, each signal of φ0 to φ3 that drives the motor 32 of the left reel 31 by 1-2 phase excitation is output. A control data strobe signal can be output. That is, the output port of the sub control data strobe signal and the output port of each signal of φ0 to φ3 that drives the motor 32 of the left reel 31 by 1-2 phase excitation can be shared.
この場合、出力ポート2のD0〜D3ビットに対応するデータを、左リール31のモータ32の駆動信号の出力態様(φ0〜φ3の各信号のオン/オフのパターン)に対応するデータとし、かつ出力ポート2のD7ビットに対応するデータを、サブ制御データストローブ信号の出力態様(オン/オフ)に対応するデータとした8ビットデータを生成して、これを出力ポート2に出力する。 In this case, the data corresponding to the D0 to D3 bits of the output port 2 is the data corresponding to the output mode of the drive signal of the motor 32 of the left reel 31 (ON / OFF pattern of each signal of φ0 to φ3), and 8-bit data in which data corresponding to the D7 bit of the output port 2 is used as data corresponding to the output mode (on / off) of the sub-control data strobe signal is generated and output to the output port 2.
(10)第1実施形態では、エラー監視用タイマは、設定キースイッチ52がオンの状態であり、かつ設定ドアスイッチ54がオンの状態であり、かつドアスイッチ16がオンの状態であることを示す第3制御コマンドを受信してからの時間を計測するとした。
しかし、これに限らず、エラー監視用タイマは、たとえば、設定キースイッチ52がオンの状態であることを示す第3制御コマンドを受信してからの時間を計測してもよい。すなわち、エラー監視用タイマは、受信した第3制御コマンドに基づいて、設定キースイッチ52がオンの状態であると判断したときは、設定ドアスイッチ54及びドアスイッチ16がオンの状態であるか否かにかかわらず、時間の計測を開始してもよい。
(10) In the first embodiment, the error monitoring timer indicates that the setting key switch 52 is on, the setting door switch 54 is on, and the door switch 16 is on. It is assumed that the time after receiving the third control command is measured.
However, the present invention is not limited to this, and the error monitoring timer may measure, for example, the time after receiving the third control command indicating that the setting key switch 52 is on. That is, when the error monitoring timer determines that the setting key switch 52 is in the ON state based on the received third control command, whether or not the setting door switch 54 and the door switch 16 are in the ON state. Regardless, time measurement may be started.
(11)第1実施形態では、エラー監視用タイマは、初期値を「4」とし、16msごとに値を「1」減算し、値が「0」になるとタイムアウトになるとした。
しかし、初期値は「4」に限らず、種々設定することができる。
また、タイムアウトになるときの値は「0」に限らず、種々設定することができる。
さらにまた、カウント動作は、16msごとに値を「1」減算する場合に限らず、たとえば、20msごとに値を「1」減算したり、1msごとに値を「10」減算したり、1msごとに値を「1」加算するなど、種々設定することができる。
(11) In the first embodiment, the error monitoring timer sets the initial value to “4”, subtracts “1” from the value every 16 ms, and times out when the value becomes “0”.
However, the initial value is not limited to “4” and can be variously set.
Further, the value at the time of timeout is not limited to “0”, and various values can be set.
Furthermore, the count operation is not limited to the case where the value is subtracted by “1” every 16 ms. For example, the value is subtracted by “1” every 20 ms, the value is subtracted by “10” every 1 ms, or every 1 ms. Various settings such as adding “1” to the value can be made.
(12)第1実施形態では、稼動時間タイマは、電源投入からの時間を計測した。
しかし、これに限らず、稼動時間タイマは、たとえば、電源投入後、サブ制御基板80側の制御プログラムが起動してからの時間を計測してもよい。
また、電源投入されたときに、稼動時間タイマに初期値として「2秒」をセットし、その後、稼動時間タイマをカウントダウンさせてもよい。そして、稼動時間タイマが「0」か否かを判断することで、電源投入から2秒経過したか否かを判断してもよい。
さらにまた、稼動時間タイマにより計測する電源投入からの経過時間は「2秒」に限られるものではなく、適宜設定することができる。
(12) In the first embodiment, the operation time timer measures the time from power-on.
However, the present invention is not limited to this, and the operation time timer may measure, for example, the time after the control program on the
Further, when the power is turned on, “2 seconds” may be set as an initial value in the operating time timer, and thereafter the operating time timer may be counted down. Then, it may be determined whether or not 2 seconds have elapsed since the power was turned on by determining whether or not the operating time timer is “0”.
Furthermore, the elapsed time from power-on measured by the operating time timer is not limited to “2 seconds”, and can be set as appropriate.
(13)第2実施形態では、第1制御コマンドから第「n」制御コマンドまでのn個の制御コマンドで一連の制御コマンド群を構成し、「n」は、「3」から「5」までの範囲内で可変とした。すなわち、一連の制御コマンド群における制御コマンドの個数は、最小で3個、最大で5個とした。しかし、これに限られるものではなく、「n」は、たとえば、「3」から「4」までの範囲内で可変としてもよく、また、「3」から「8」までの範囲内で可変としてもよい。
(14)第2実施形態では、送信用レジスタ65aは、64バイトの記憶領域を有するとしたが、送信用レジスタ65aの記憶領域は64バイトに限られるものではない。たとえば、32バイト又は128バイト等、送信用レジスタ65aの記憶領域は適宜設定することができる。
(13) In the second embodiment, a series of control command groups are composed of n control commands from the first control command to the “n” control command, where “n” is from “3” to “5”. It was made variable within the range. That is, the number of control commands in a series of control command groups is set to 3 at the minimum and 5 at the maximum. However, the present invention is not limited to this, and “n” may be variable, for example, within a range from “3” to “4”, and may be variable within a range from “3” to “8”. Also good.
(14) In the second embodiment, the transmission register 65a has a storage area of 64 bytes, but the storage area of the transmission register 65a is not limited to 64 bytes. For example, the storage area of the transmission register 65a, such as 32 bytes or 128 bytes, can be set as appropriate.
(15)第2実施形態では、メイン制御基板60は、送信用レジスタ65aの未使用の記憶領域が5バイト以上のときは、送信用レジスタ65aへの制御コマンドの書き込みを許可し、送信用レジスタ65aの未使用の記憶領域が5バイト未満のときは、送信用レジスタ65aへの制御コマンドの書き込みを禁止するとしたが、これに限られるものではない。
一連の制御コマンド群における制御コマンドの個数を示す「n」の最大値を「nmax」とし、送信用レジスタ65aの記憶領域をmバイト(m>nmax)とする。
(15) In the second embodiment, when the unused storage area of the transmission register 65a is 5 bytes or more, the main control board 60 permits writing of a control command to the transmission register 65a, and transmits the transmission register 65a. When the unused storage area of 65a is less than 5 bytes, the writing of the control command to the transmission register 65a is prohibited, but the present invention is not limited to this.
The maximum value of “n” indicating the number of control commands in a series of control commands is “nmax”, and the storage area of the transmission register 65a is m bytes (m> nmax).
この場合、メイン制御基板60は、送信用レジスタ65aの未使用の記憶領域が「nmax」バイト以上(使用済みの記憶領域が「m−nmax+1」バイト未満)のときは、送信用レジスタ65aへの制御コマンドの書き込みを許可し、送信用レジスタ65aの未使用の記憶領域が「nmax」バイト未満(使用済みの記憶領域が「m−nmax+1」バイト以上)のときは、送信用レジスタ65aへの制御コマンドの書き込みを禁止する。
このように、制御コマンドの書き込みを許可又は禁止するときの送信用レジスタ65aの未使用の記憶領域のバイト数は、「n」及び「nmax」の値に応じて決定されるものである。
In this case, when the unused storage area of the transmission register 65a is equal to or larger than “nmax” bytes (the used storage area is less than “m−
Thus, the number of bytes in the unused storage area of the transmission register 65a when the control command writing is permitted or prohibited is determined according to the values of “n” and “nmax”.
(16)本実施形態では、遊技機の一例としてスロットマシン10を例に挙げたが、弾球遊技機や封入式遊技機等にも適用可能である。
(17)本実施形態及び上記の各種の変形例は、単独で実施されることに限らず、適宜組み合わせて実施することが可能である。
(16) In this embodiment, the slot machine 10 is taken as an example of a gaming machine, but the present invention can also be applied to a ball game machine, an enclosed game machine, and the like.
(17) The present embodiment and the above-described various modifications are not limited to being implemented independently, and can be implemented in appropriate combination.
<付記>
本願の当初明細書等に記載した発明(当初発明)は、たとえば以下の当初発明1〜5を挙げることができ、それぞれ、当初発明が解決しようとする課題、当初発明に係る課題を解決するための手段及び当初発明の効果は、以下の通りである。ただし、当初発明は、以下の当初発明1〜5に限ることを意味するものではない。
なお、本願の請求項に係る当初発明は、以下の当初発明2に相当する。
<Appendix>
The invention (initial invention) described in the initial specification of the present application can include, for example, the following
The initial invention according to the claims of the present application corresponds to the following initial invention 2.
1.当初発明1
(a)当初発明1が解決しようとする課題
当初発明は、メイン制御手段からサブ制御手段に対してパラレル通信でコマンドを送信する遊技機に関するものである。
従来より、メイン制御手段からサブ制御手段に対してパラレル通信でコマンドを送信する遊技機が知られている(たとえば、特開平11−114166号公報参照)。
従来の遊技機では、一のコマンドを出力したときは、次のコマンドを出力するまで、一のコマンドを出力した状態を維持していた。
また、一のコマンドを出力した後に、一のコマンドに対応するストローブ信号をオンにし、サブ制御手段が一のコマンドを取得するために必要な時間を経過したときは、一のコマンドに対応するストローブ信号をオフにしていた。
このため、一のコマンドに対応するストローブ信号をオフにしてから、次のコマンドに対応するストローブ信号をオンにするまでの間に、ストローブ信号にノイズが入ると、サブ制御手段側では、一のコマンドを再度取得することとなり、これにより意図しない処理を実行してしまうおそれがあった。
当初発明が解決しようとする課題は、ストローブ信号にノイズが入っても、サブ制御手段側で意図しない処理を実行しないようにすることである。
1.
(A) Problem to be Solved by
2. Description of the Related Art Conventionally, a gaming machine that transmits a command from a main control unit to a sub-control unit by parallel communication is known (see, for example, JP-A-11-114166).
In a conventional gaming machine, when one command is output, the state in which the one command is output is maintained until the next command is output.
Also, after outputting one command, the strobe signal corresponding to one command is turned on, and when the time required for the sub-control means to acquire one command has elapsed, the strobe corresponding to the one command is The signal was off.
For this reason, if noise enters the strobe signal between turning off the strobe signal corresponding to one command and turning on the strobe signal corresponding to the next command, the sub-control means side As a result, the command is acquired again, which may cause unintended processing.
The problem to be solved by the present invention is to prevent unintended processing from being executed on the sub-control means side even if noise enters the strobe signal.
(b)当初発明1の課題を解決するための手段(なお、かっこ書きで、対応する実施形態を記載する。)
第1の解決手段は、
遊技の進行を制御するメイン制御手段(メイン制御基板60)と、
演出を制御するサブ制御手段(サブ制御基板80)と
を備え、
前記メイン制御手段から前記サブ制御手段に対してパラレル通信によって一方向でコマンドを送信するように構成され(図2のサブ制御データ信号1〜8及びサブ制御データ信号9〜16)、
前記メイン制御手段は、
前記サブ制御手段に対してコマンド(第1制御コマンド及び第2制御コマンド)を送信可能な出力ポート(出力ポート7及び出力ポート8)を備え、
前記サブ制御手段に対して割込み処理(図17)によってコマンドを送信する(図17のステップS608)ように構成され、
割込み処理の間隔より短い時間であって前記サブ制御手段がコマンドを取得するために必要な時間である所定時間(図20のA+B+C=7.19μs)の間は、前記出力ポートにコマンドを出力し(図19のステップS666)、前記所定時間の経過後(図20の出力終了より後)は、前記出力ポートに、前記サブ制御手段での処理に不必要なデータであるクリアデータ(制御コマンドクリアデータ)を出力する(図19のステップS671)
ことを特徴とする。
第2の解決手段は、第1の解決手段において、
前記サブ制御手段は、前記クリアデータを取得したときは、不必要なデータであると判断して、これを破棄する
ことを特徴とする。
第3の解決手段は、第1又は第2の解決手段において、
前記メイン制御手段は、前記所定時間の期間内に、コマンドの取得タイミングを示すストローブ信号をオフからオンにした後にオンからオフにする(図19のステップS667及びステップS670、図20)
ことを特徴とする。
第4の解決手段は、第1〜第3の解決手段において、
前記サブ制御手段は、前記所定時間の期間内に、コマンドをn回(n≧2)(4回)取得可能に構成されているとともに、同一内容のコマンドをm回(n≧m≧2)(2回)連続して取得したときは、コマンドを正常に取得したと判断する
ことを特徴とする。
第5の解決手段は、第1〜第4の解決手段において、
前記出力ポートとして、第1出力ポート(出力ポート7)及び第2出力ポート(出力ポート8)を備え、
前記メイン制御手段は、
前記サブ制御手段に対して、第1出力ポートから第1コマンド(第2制御コマンド)を送信し、かつ第2出力ポートから第2コマンド(第1制御コマンド)を送信するように構成され、
前記所定時間の間は、第1出力ポートに第1コマンドを出力するとともに、第2出力ポートに第2コマンドを出力し、前記所定時間の経過後は、第1出力ポート及び第2出力ポートにそれぞれ前記クリアデータを出力する
ことを特徴とする。
(B) Means for solving the problem of the first invention 1 (the corresponding embodiment will be described in parentheses)
The first solution is
Main control means (main control board 60) for controlling the progress of the game;
Sub-control means (sub-control board 80) for controlling the production,
The main control unit is configured to transmit a command in one direction by parallel communication to the sub control unit (sub control data signals 1 to 8 and sub control data signals 9 to 16 in FIG. 2).
The main control means includes
Comprising output ports (
A command is transmitted to the sub-control means by interrupt processing (FIG. 17) (step S608 in FIG. 17).
A command is output to the output port for a predetermined time (A + B + C = 7.19 μs in FIG. 20) which is shorter than the interval of interrupt processing and is necessary for the sub-control means to acquire a command. (Step S666 in FIG. 19) After the lapse of the predetermined time (after the end of output in FIG. 20), clear data (control command clear) that is unnecessary data for processing by the sub-control means is output to the output port. Data) is output (step S671 in FIG. 19).
It is characterized by that.
The second solving means is the first solving means,
When the clear data is acquired, the sub-control means determines that the data is unnecessary and discards it.
The third solution means in the first or second solution means,
The main control means turns the strobe signal indicating the command acquisition timing from off to on and then off from on to off within the predetermined time period (steps S667 and S670 in FIG. 19 and FIG. 20).
It is characterized by that.
The fourth solving means is the first to third solving means,
The sub-control means is configured to be able to obtain a command n times (n ≧ 2) (4 times) within the predetermined time period and to receive a command having the same content m times (n ≧ m ≧ 2). (Twice) When it is obtained continuously, it is judged that the command is obtained normally.
The fifth solving means is the first to fourth solving means,
The output port includes a first output port (output port 7) and a second output port (output port 8),
The main control means includes
A first command (second control command) is transmitted from the first output port to the sub-control means, and a second command (first control command) is transmitted from the second output port;
During the predetermined time, the first command is output to the first output port and the second command is output to the second output port. After the predetermined time has elapsed, the first output port and the second output port are output. Each of them outputs the clear data.
(c)当初発明1の効果
当初発明によれば、ストローブ信号にノイズが入っても、サブ制御手段側では、クリアデータを取得することとなり、不必要なデータであると判断することができるので、意図しない処理を実行しないようにすることができる。
(C) Effect of
2.当初発明2
(a)当初発明2が解決しようとする課題
当初発明は、複数ビットのデータを並列に出力可能な出力ポートを使用して周辺機器の制御信号を出力する遊技機に関するものである。
従来より、メイン制御手段からサブ制御手段に対してパラレル通信でコマンドを送信する遊技機が知られている(たとえば、特開2001−038021号公報参照)。
特開2001−038021号公報の技術では、メイン制御手段からサブ制御手段に対して、8ビットのコマンドデータを8ビットのパラレル通信線で送信するとともに、1ビットのストローブ信号を1ビットの通信線で送信している。
なお、特開2001−038021号公報の図36は、12ピンのコネクタにおけるピン番号・ピン配列と信号名との対応関係を示したものであり、コマンドデータやストローブ信号の出力ポートを示すものではない。
従来の遊技機では、8ビットの出力ポートを使用してストローブ信号を出力すると、ストローブ信号の出力に使用するビットは1ビットであるため、ストローブ信号の出力に使用するビット以外のビットが余剰となっていた。
すなわち、複数ビットのデータを並列に出力可能な出力ポートを使用して周辺機器の制御信号を出力すると、制御信号の出力に使用するビット以外のビットが余剰となる。
当初発明が解決しようとする課題は、複数ビットのデータを並列に出力可能な出力ポートを使用して周辺機器の制御信号を出力する場合において、出力ポートを有効に活用することである。
2. Initial invention 2
(A) Problem to be Solved by Initial Invention 2 The initial invention relates to a gaming machine that outputs a control signal of a peripheral device using an output port capable of outputting a plurality of bits of data in parallel.
2. Description of the Related Art Conventionally, a gaming machine that transmits commands from a main control unit to a sub-control unit by parallel communication is known (see, for example, Japanese Patent Application Laid-Open No. 2001-038021).
In the technique disclosed in Japanese Patent Laid-Open No. 2001-038021, 8-bit command data is transmitted from the main control unit to the sub-control unit via an 8-bit parallel communication line, and a 1-bit strobe signal is transmitted to a 1-bit communication line. Sending in.
Note that FIG. 36 of Japanese Patent Laid-Open No. 2001-038021 shows the correspondence between pin numbers / pin arrangements and signal names in a 12-pin connector, and does not show command data or strobe signal output ports. Absent.
In the conventional gaming machine, when the strobe signal is output using the 8-bit output port, the bit used for the output of the strobe signal is 1 bit. Therefore, the bits other than the bits used for the output of the strobe signal are the surplus. It was.
That is, when a peripheral device control signal is output using an output port capable of outputting a plurality of bits of data in parallel, bits other than the bits used to output the control signal become redundant.
The problem to be solved by the invention is to effectively utilize the output port when outputting the control signal of the peripheral device using the output port capable of outputting a plurality of bits of data in parallel.
(b)当初発明2の課題を解決するための手段(なお、かっこ書きで、対応する実施形態を記載する。)
第1の解決手段は、
遊技の進行を制御するメイン制御手段(メイン制御基板60)と、
前記メイン制御手段によって制御可能な第1周辺機器(1枚〜3枚投入表示LED73e〜g)及び第2周辺機器(サブ制御基板80)と
を備え、
前記メイン制御手段は、
複数ビット(8ビット)のデータを並列に出力可能な出力ポート(出力ポート2)を備え、
前記出力ポートの所定ビット(D0〜D2ビット(1Q〜3Q出力端子))からは、第1周辺機器を制御する第1制御信号(1枚〜3枚投入表示LED信号)を出力可能であり、
前記出力ポートにおける前記所定ビット以外の特定ビット(D7ビット(8Q出力端子))からは、第2周辺機器を制御する第2制御信号(サブ制御データストローブ信号)を出力可能であり、
前記所定ビットに対応するデータを第1制御信号の出力態様(1枚〜3枚投入表示LED信号それぞれのオン/オフのパターン)に対応するデータ(「0」又は「1」)とし、かつ前記特定ビットに対応するデータを第2制御信号の出力態様(サブ制御データストローブ信号のオン/オフ)に対応するデータ(「0」又は「1」)とした複数ビットのデータを生成して、これを前記出力ポートから出力する
ことを特徴とする。
第2の解決手段は、第1の解決手段において、
第1制御信号の出力態様が出力態様P1(1枚〜3枚投入表示LED信号がすべてオン)の状態で、第2制御信号の出力態様を出力態様Q1(サブ制御データストローブ信号をオン)にするときは、前記所定ビットに対応するデータを出力態様P1に対応するデータ(D0〜D2ビットをそれぞれ「1」)とし、かつ前記特定ビットに対応するデータを出力態様Q1に対応するデータ(D7ビットを「1」)とした複数ビットのデータを生成して、これを前記出力ポートから出力し、
第1制御信号の出力態様が出力態様P1の状態で、第2制御信号の出力態様を出力態様Q2(Q2≠Q1)(サブ制御データストローブ信号をオフ)にするときは、前記所定ビットに対応するデータを出力態様P1に対応するデータとし、かつ前記特定ビットに対応するデータを出力態様Q2に対応するデータ(D7ビットを「0」)とした複数ビットのデータを生成して、これを前記出力ポートから出力し、
第1制御信号の出力態様が出力態様P2(P2≠P1)(1枚〜3枚投入表示LED信号がすべてオフ)の状態で、第2制御信号の出力態様を出力態様Q1にするときは、前記所定ビットに対応するデータを出力態様P2に対応するデータ(D0〜D2ビットをそれぞれ「0」)とし、かつ前記特定ビットに対応するデータを出力態様Q1に対応するデータとした複数ビットのデータを生成して、これを前記出力ポートから出力し、
第1制御信号の出力態様が出力態様P2の状態で、第2制御信号の出力態様を出力態様Q2にするときは、前記所定ビットに対応するデータを出力態様P2に対応するデータとし、かつ前記特定ビットに対応するデータを出力態様Q2に対応するデータとした複数ビットのデータを生成して、これを前記出力ポートから出力する
ことを特徴とする。
第3の解決手段は、第1の解決手段において、
第2周辺機器として、演出を制御するサブ制御手段(サブ制御基板80)を備え、
前記メイン制御手段は、
前記出力ポートとして、第1出力ポート(出力ポート6〜8)及び第2出力ポート(出力ポート2)を備え、
第1出力ポートからは、前記サブ制御手段に送信するコマンド(第1〜第3制御コマンド(サブ制御データ信号1〜24))を出力可能であり、
第2出力ポートの前記所定ビットからは、第1制御信号を出力可能であり、
第2出力ポートの前記特定ビットからは、第2制御信号として、前記サブ制御手段に送信するコマンドの取得タイミングを示すストローブ信号を出力可能であり、
前記所定ビットに対応するデータを第1制御信号の出力態様に対応するデータとし、かつ前記特定ビットに対応するデータを前記ストローブ信号のオン又はオフに対応するデータとした複数ビットのデータを生成して、これを第2出力ポートから出力する
ことを特徴とする。
第4の解決手段は、第3の解決手段において、
第1制御信号の出力態様が所定出力態様(1枚〜3枚投入表示LED信号がすべてオン)の状態で、前記ストローブ信号をオンにするときは、前記所定ビットに対応するデータを前記所定出力態様に対応するデータ(D0〜D2ビットをそれぞれ「1」)とし、かつ前記特定ビットに対応するデータを前記ストローブ信号がオンであることを示すデータ(D7ビットを「1」)とした複数ビットのデータを生成して、これを第2出力ポートから出力し、
第1制御信号の出力態様が前記所定出力態様の状態で、前記ストローブ信号をオフにするときは、前記所定ビットに対応するデータを前記所定出力態様に対応するデータとし、かつ前記特定ビットに対応するデータを前記ストローブ信号がオフであることを示すデータ(D7ビットを「0」)とした複数ビットのデータを生成して、これを第2出力ポートから出力し、
第1制御信号の出力態様が前記所定出力態様と異なる特定出力態様(1枚〜3枚投入表示LED信号がすべてオフ)の状態で、前記ストローブ信号をオンにするときは、前記所定ビットに対応するデータを前記特定出力態様に対応するデータ(D0〜D2ビットをそれぞれ「0」)とし、かつ前記特定ビットに対応するデータを前記ストローブ信号がオンであることを示すデータとした複数ビットのデータを生成して、これを第2出力ポートから出力し、
第1制御信号の出力態様が前記特定出力態様の状態で、前記ストローブ信号をオフにするときは、前記所定ビットに対応するデータを前記特定出力態様に対応するデータとし、かつ前記特定ビットに対応するデータを前記ストローブ信号がオフであることを示すデータとした複数ビットのデータを生成して、これを第2出力ポートから出力する
ことを特徴とする。
第5の解決手段は、第4の解決手段において、
前記メイン制御手段は、第1出力ポートにコマンドを出力している間(図19のステップS666〜S671の間、図20の第1制御コマンド及び第2制御コマンドの出力開始から出力終了までの間)に、前記ストローブ信号をオフからオンに(図19のステップS667、図20のサブ制御データストローブ信号の立ち上がり)した後にオンからオフに(図19のステップS670、図20のサブ制御データストローブ信号の立ち下がり)する
ことを特徴とする。
(B) Means for Solving the Problem of the Initial Invention 2 (Note that the corresponding embodiment is described in parentheses)
The first solution is
Main control means (main control board 60) for controlling the progress of the game;
A first peripheral device (1 to 3 sheet insertion display LEDs 73e to 73g) and a second peripheral device (sub-control board 80) that can be controlled by the main control means;
The main control means includes
It has an output port (output port 2) that can output multiple bits (8 bits) of data in parallel.
From the predetermined bits (D0 to D2 bits (1Q to 3Q output terminal)) of the output port, it is possible to output a first control signal (1 to 3 sheets input display LED signal) for controlling the first peripheral device,
From a specific bit (D7 bit (8Q output terminal)) other than the predetermined bit at the output port, a second control signal (sub control data strobe signal) for controlling the second peripheral device can be output.
The data corresponding to the predetermined bit is the data (“0” or “1”) corresponding to the output mode of the first control signal (the ON / OFF pattern of each of the 1 to 3 LED display signals), and The data corresponding to the specific bit is generated as data (“0” or “1”) corresponding to the output mode of the second control signal (ON / OFF of the sub control data strobe signal), and this is generated. Is output from the output port.
The second solving means is the first solving means,
When the output mode of the first control signal is the output mode P1 (all 1 to 3 sheet display LED signals are on), the output mode of the second control signal is set to the output mode Q1 (sub-control data strobe signal is on). When doing so, the data corresponding to the predetermined bit is set as data corresponding to the output mode P1 (D0 to D2 bits are each “1”), and the data corresponding to the specific bit is set as data corresponding to the output mode Q1 (D7). A plurality of bits of data having a bit “1”) are generated and output from the output port;
When the output mode of the first control signal is the output mode P1 and the output mode of the second control signal is set to the output mode Q2 (Q2 ≠ Q1) (the sub control data strobe signal is turned off), it corresponds to the predetermined bit. The data to be generated is data corresponding to the output mode P1, and data corresponding to the specific bit is generated as data corresponding to the output mode Q2 (D7 bit is “0”). Output from the output port,
When the output mode of the first control signal is in the output mode P2 (P2 ≠ P1) (all 1 to 3 sheet input display LED signals are off), and the output mode of the second control signal is set to the output mode Q1, The data corresponding to the predetermined bit is the data corresponding to the output mode P2 (D0 to D2 bits are “0” respectively), and the data corresponding to the specific bit is the data corresponding to the output mode Q1 And output this from the output port,
When the output mode of the first control signal is the output mode P2 and the output mode of the second control signal is set to the output mode Q2, the data corresponding to the predetermined bit is the data corresponding to the output mode P2, and the A plurality of bits of data in which data corresponding to a specific bit is data corresponding to the output mode Q2 is generated and output from the output port.
The third solving means is the first solving means,
As a second peripheral device, provided with sub-control means (sub-control board 80) for controlling the production,
The main control means includes
The output port includes a first output port (output ports 6 to 8) and a second output port (output port 2),
From the first output port, it is possible to output commands (first to third control commands (sub control data signals 1 to 24)) to be transmitted to the sub control means,
A first control signal can be output from the predetermined bit of the second output port,
From the specific bit of the second output port, a strobe signal indicating the acquisition timing of a command to be transmitted to the sub-control means can be output as a second control signal.
A plurality of bits of data are generated in which the data corresponding to the predetermined bit is data corresponding to the output form of the first control signal, and the data corresponding to the specific bit is data corresponding to ON or OFF of the strobe signal. This is output from the second output port.
The fourth solution means is the third solution means,
When the strobe signal is turned on when the output mode of the first control signal is in a predetermined output mode (all 1 to 3 LED display signals are on), the data corresponding to the predetermined bit is output to the predetermined output A plurality of bits in which data corresponding to the mode (D0 to D2 bits are each “1”) and data corresponding to the specific bit is data indicating that the strobe signal is on (D7 bit is “1”) Is generated and output from the second output port,
When the strobe signal is turned off when the output mode of the first control signal is in the predetermined output mode, the data corresponding to the predetermined bit is set as data corresponding to the predetermined output mode and corresponds to the specific bit. A plurality of bits of data indicating that the strobe signal is off (D7 bit is “0”), and outputting the data from the second output port;
When the strobe signal is turned on when the output mode of the first control signal is in a specific output mode different from the predetermined output mode (all of the 1- to 3-sheet input display LED signals are off), it corresponds to the predetermined bit. Multi-bit data in which the data corresponding to the specific output mode (D0 to D2 bits are each “0”) and the data corresponding to the specific bit is data indicating that the strobe signal is on Is output from the second output port,
When the output mode of the first control signal is the specific output mode and the strobe signal is turned off, the data corresponding to the predetermined bit is set as the data corresponding to the specific output mode and corresponds to the specific bit A plurality of bits of data, in which the strobe signal is turned off, is generated from the data to be output and output from the second output port.
The fifth solving means is the fourth solving means,
While the main control means is outputting a command to the first output port (during steps S666 to S671 in FIG. 19, from the start of output of the first control command and the second control command to the end of output in FIG. ), The strobe signal is changed from off to on (step S667 in FIG. 19, rising of the sub-control data strobe signal in FIG. 20) and then turned on (step S670 in FIG. 19, sub-control data strobe signal in FIG. 20). It is characterized by falling).
(c)当初発明2の効果
当初発明によれば、出力ポートから並列に出力する複数ビットのデータによって、第1周辺機器及び第2周辺機器の駆動を制御することができ、出力ポートにおいて余剰となるビットを減らすことができるので、出力ポートを有効に活用することができる。
(C) Effect of the Initial Invention 2 According to the initial invention, the driving of the first peripheral device and the second peripheral device can be controlled by a plurality of bits of data output in parallel from the output port. Therefore, the output port can be used effectively.
3.当初発明3
(a)当初発明3が解決しようとする課題
当初発明は、メイン制御手段からサブ制御手段に対してシリアル通信でコマンドを送信する遊技機に関するものである。
従来より、メイン制御手段からサブ制御手段に対してシリアル通信でコマンドを送信する遊技機が知られている(たとえば、特開2014−188060号公報参照)。
特開2014−188060号公報の技術では、第1コマンド及び第2コマンドの2個のコマンドでコマンド群を構成している。また、第1コマンドは、コマンドの種別を示し、第2コマンドは、その内容を示している。さらにまた、第1コマンド及び第2コマンドの特定のビットにセットする情報を異ならせることで、第1コマンド又は第2コマンドを識別している。
そして、メイン制御手段は、生成した第1コマンド及び第2コマンドを、一旦バッファに記憶させ、バッファに記憶されている第1コマンド及び第2コマンドを、割込み処理によってサブ制御手段に送信していた。
上述したように、従来の遊技機では、コマンド群を構成する2個のコマンドのうち、第1コマンドは、コマンドの種別を示すものであり、また、第1コマンド及び第2コマンドの特定のビットは、第1コマンド又は第2コマンドを識別するためのものであった。このため、1回のコマンド送信でサブ制御手段に伝達可能な情報量が限られていたので、コマンドの送信効率を高めることが求められていた。
当初発明が解決しようとする課題は、メイン制御手段からサブ制御手段に対してシリアル通信でコマンドを送信する場合において、コマンドの送信効率を高めることである。
3. Initial invention 3
(A) Problem to be Solved by Initial Invention 3 The initial invention relates to a gaming machine that transmits a command from a main control means to a sub-control means by serial communication.
2. Description of the Related Art Conventionally, a gaming machine that transmits a command by serial communication from a main control unit to a sub-control unit is known (see, for example, JP-A-2014-188060).
In the technique of Japanese Patent Application Laid-Open No. 2014-188060, a command group is composed of two commands, a first command and a second command. The first command indicates the type of command, and the second command indicates the content thereof. Furthermore, the first command or the second command is identified by making different information to be set in specific bits of the first command and the second command.
Then, the main control unit temporarily stores the generated first command and second command in the buffer, and transmits the first command and second command stored in the buffer to the sub-control unit by interrupt processing. .
As described above, in the conventional gaming machine, the first command among the two commands constituting the command group indicates the type of the command, and specific bits of the first command and the second command Was for identifying the first command or the second command. For this reason, since the amount of information that can be transmitted to the sub-control means by one command transmission is limited, it has been demanded to increase the command transmission efficiency.
The problem to be solved by the invention at first is to increase command transmission efficiency when a command is transmitted from the main control means to the sub-control means by serial communication.
(b)当初発明3の課題を解決するための手段(なお、かっこ書きで、対応する実施形態を記載する。)
第1の解決手段は、
遊技の進行を制御するメイン制御手段(メイン制御基板60)と、
演出を制御するサブ制御手段(サブ制御基板80)と
を備え、
第1コマンドから第「n」コマンド(n≧3)までの「n」個のコマンドから構成されるコマンド群を前記メイン制御手段から前記サブ制御手段に対してシリアル通信によって一方向で送信するように構成され、
前記メイン制御手段は、前記コマンド群を構成する「n」個のコマンドをバッファに記憶させることなく送信用レジスタ(65a)に記憶させることで、前記コマンド群を前記サブ制御手段に送信可能であり、
前記送信用レジスタは、「m」個(m>n)(64個)のコマンドを記憶可能な記憶領域を有し、
前記メイン制御手段は、
前記送信用レジスタにおける未使用の記憶領域に「n」個のコマンドを書き込むことが可能なときは、前記送信用レジスタへのコマンドの書込みを許可し、
前記送信用レジスタにおける未使用の記憶領域に「n」個のコマンドを書き込むことが可能でないときは、前記送信用レジスタへのコマンドの書込みを禁止する
ことを特徴とする。
第2の解決手段は、第1の解決手段において、
前記メイン制御手段は、前記コマンド群を構成する「n」個のコマンドのうち、第2コマンドから第「n」コマンドまでの「n−1」個の各コマンドの特定ビット(ビット「6」)には、継続するコマンドを有するか否かを示す特定情報(継続する制御コマンドを有することを示す「1」、又は継続する制御コマンドを有しないことを示す「0」)をセットする
ことを特徴とする。
第3の解決手段は、第2の解決手段において、
前記メイン制御手段は、前記コマンド群を構成する「n」個のコマンドの後に、前記コマンド群の終了を示す特定コマンド(SUMコマンド)をセットして前記サブ制御手段に送信する
ことを特徴とする。
(B) Means for Solving the Problem of the Initial Invention 3 (Note that the corresponding embodiment is described in parentheses)
The first solution is
Main control means (main control board 60) for controlling the progress of the game;
Sub-control means (sub-control board 80) for controlling the production,
A command group composed of “n” commands from the first command to the “n” command (n ≧ 3) is transmitted in one direction by serial communication from the main control means to the sub control means. Composed of
The main control means can transmit the command group to the sub-control means by storing “n” commands constituting the command group in the transmission register (65a) without storing them in the buffer. ,
The transmission register has a storage area capable of storing “m” (m> n) (64) commands,
The main control means includes
When “n” commands can be written to an unused storage area in the register for transmission, the command is allowed to be written to the register for transmission;
When “n” commands cannot be written to an unused storage area in the transmission register, writing of commands to the transmission register is prohibited.
The second solving means is the first solving means,
The main control means is a specific bit (bit “6”) of “n−1” commands from the second command to the “n” command among “n” commands constituting the command group. Is set with specific information (“1” indicating that the control command is continued or “0” indicating that the control command is not continued) indicating whether or not the command is continued. And
The third solution means is the second solution means,
The main control means sets a specific command (SUM command) indicating the end of the command group after “n” commands constituting the command group, and transmits it to the sub-control means. .
(c)当初発明3の効果
当初発明によれば、3個以上のコマンドを一群として送信することができるので、コマンドの送信効率を高めることができる。
(C) Effect of the Initial Invention 3 According to the initial invention, since three or more commands can be transmitted as a group, the command transmission efficiency can be increased.
4.当初発明4
(a)当初発明4が解決しようとする課題
当初発明は、メイン制御手段からサブ制御手段に対してコマンドを送信する遊技機に関するものである。
従来より、メイン制御手段からサブ制御手段に対してコマンドを送信する遊技機が知られている(たとえば、特開2015−008872号公報参照)。
特開2015−008872号公報の技術では、メイン制御手段は、サブ制御手段に送信する複数種類のコマンドを、一旦バッファに記憶させる。そして、バッファに記憶されているコマンドを、先にバッファに記憶されたものから順に、割込み処理によって、同一の通信線を通して、サブ制御手段に送信している。
また、複数種類のコマンドのうち、所定のコマンドについては、メイン制御手段は、10割込みごとに、所定のコマンドを構成するデータに変化があったか否かを判断する。そして、変化があったと判断したときは、所定のコマンドを生成して、これをバッファに記憶させる。
さらにまた、複数種類のコマンドのうち、所定のコマンドより重要度が高い特定のコマンドについては、メイン制御手段は、8割込みごとに、特定のコマンドを構成するデータに変化があったか否かを判断する。そして、変化があったと判断したときは、特定のコマンドを生成して、これをバッファに記憶させる。
このようにして、特開2015−008872号公報の技術では、特定のコマンドの生成を優先しつつ、バッファがコマンドで溢れないようにしている。
上述した従来の遊技機では、8割込みごとに、特定のコマンドを構成するデータに変化があったか否かを判断する処理や、10割込みごとに、所定のコマンドを構成するデータに変化があったか否かを判断する処理が、メイン制御手段側で大きな負担となっていた。
当初発明が解決しようとする課題は、バッファがコマンドで溢れないようにしつつ、メイン制御手段側でのコマンド送信の処理負担を軽減することである。
4). Initial invention 4
(A) Problem to be Solved by Initial Invention 4 The initial invention relates to a gaming machine that transmits a command from a main control means to a sub-control means.
2. Description of the Related Art Conventionally, a gaming machine that transmits a command from a main control unit to a sub control unit is known (see, for example, JP-A-2015-008872).
In the technique disclosed in Japanese Patent Application Laid-Open No. 2015-008872, the main control unit temporarily stores a plurality of types of commands to be transmitted to the sub control unit in a buffer. And the command memorize | stored in the buffer is transmitted to a sub-control means through the same communication line by the interruption process in an order from what was memorize | stored previously in the buffer.
For a predetermined command among a plurality of types of commands, the main control means determines whether or not the data constituting the predetermined command has changed every 10 interrupts. When it is determined that there is a change, a predetermined command is generated and stored in the buffer.
Furthermore, for a specific command having a higher importance than a predetermined command among a plurality of types of commands, the main control means determines whether or not the data constituting the specific command has changed every 8 interrupts. . When it is determined that there is a change, a specific command is generated and stored in the buffer.
In this way, the technique disclosed in Japanese Patent Application Laid-Open No. 2015-008872 gives priority to the generation of a specific command and prevents the buffer from overflowing with commands.
In the above-described conventional gaming machine, the process of determining whether or not the data constituting a specific command has changed every 8 interrupts, and whether or not the data constituting a predetermined command has changed every 10 interrupts. The process for determining the above has been a heavy burden on the main control means side.
The problem to be solved by the invention is to reduce the processing load of command transmission on the main control means side while preventing the buffer from overflowing with commands.
(b)当初発明4の課題を解決するための手段(なお、かっこ書きで、対応する実施形態を記載する。)
第1の解決手段は、
遊技の進行を制御するメイン制御手段(メイン制御基板60)と、
演出を制御するサブ制御手段(サブ制御基板80)と、
前記メイン制御手段から前記サブ制御手段に対して一方向でコマンドを送信可能な通信線と
を備え、
前記サブ制御手段に送信するコマンドとして、第1コマンド(第1制御コマンド、第2制御コマンド)及び第2コマンド(第3制御コマンド)を有し、
前記通信線として、第1コマンドを送信可能な第1通信線(サブ制御データ信号1〜8用の通信線、サブ制御データ信号9〜16用の通信線)、及び第2コマンドを送信可能な第2通信線(サブ制御データ信号17〜24用の通信線)を有し、
前記メイン制御手段は、
前記サブ制御手段に送信するコマンドを記憶可能なバッファ(制御コマンドバッファ(リングバッファ))を備え、
所定情報を含む第1コマンドを前記バッファに記憶させ、
前記バッファに記憶されている第1コマンドを、割込み処理によって、第1通信線を通して前記サブ制御手段に送信し、
前記所定情報と異なる情報を含む第2コマンドを、前記バッファに記憶させることなく、前記割込み処理によって、第2通信線を通して前記サブ制御手段に送信する
ことを特徴とする。
第2の解決手段は、第1の解決手段において、
第2コマンドは、正常時には同時にオンとなることがない複数の特定情報(左ストップスイッチ42が操作を受付け可能な状態であるか否かを示す情報(D2ビット)、及び3ベットスイッチ40bが操作を受付け可能な状態であるか否かを示す情報(D3ビット))を含み、
前記サブ制御手段は、受信した第2コマンドに含まれる前記複数の特定情報がオン(「1」)であるときは、通信エラーと判断して、その旨を報知する
ことを特徴とする。
(B) Means for Solving the Problem of the Initial Invention 4 (Note that the corresponding embodiment is described in parentheses)
The first solution is
Main control means (main control board 60) for controlling the progress of the game;
Sub-control means (sub-control board 80) for controlling the production;
A communication line capable of transmitting a command in one direction from the main control means to the sub-control means,
As commands to be transmitted to the sub-control means, there are a first command (first control command, second control command) and a second command (third control command),
As the communication line, a first communication line capable of transmitting a first command (a communication line for sub control data signals 1 to 8, a communication line for sub control data signals 9 to 16), and a second command can be transmitted. Having a second communication line (communication line for sub-control data signals 17-24),
The main control means includes
A buffer (control command buffer (ring buffer)) capable of storing a command to be transmitted to the sub-control means;
Storing a first command including predetermined information in the buffer;
Sending the first command stored in the buffer to the sub-control means through the first communication line by interrupt processing;
A second command including information different from the predetermined information is transmitted to the sub-control means through the second communication line by the interrupt process without being stored in the buffer.
The second solving means is the first solving means,
The second command includes a plurality of pieces of specific information (information indicating whether or not the
When the plurality of specific information included in the received second command is ON (“1”), the sub-control unit determines that a communication error has occurred and notifies the fact.
(c)当初発明4の効果
当初発明によれば、第1コマンドと異なる情報を含む第2コマンドを、バッファに記憶させることなく、第1コマンドを通す第1通信線とは別の第2通信線を通してサブ制御手段に送信するので、バッファがコマンドで溢れないようにしつつ、メイン制御手段側でのコマンド送信の処理負担を軽減することができる。
(C) Effect of Initial Invention 4 According to the initial invention, the second command including the information different from the first command is not stored in the buffer, and the second communication is different from the first communication line through which the first command is passed. Since the data is transmitted to the sub-control means through the line, the processing load of command transmission on the main control means side can be reduced while preventing the buffer from overflowing with commands.
5.当初発明5
(a)当初発明5が解決しようとする課題
当初発明は、メイン制御手段側から送信されたコマンドに基づいてサブ制御手段側でエラーの報知を行う遊技機に関するものである。
従来より、メイン制御手段側から送信されたコマンドに基づいてサブ制御手段側でエラーの報知を行う遊技機が知られている(たとえば、特開2015−029877号公報参照)。
ここで、遊技機では、セキュリティの関係上、メイン制御手段側のメモリの容量に一定の制限がある。
このため、遊技の進行の制御とは関係のない設定変更又は設定確認に関するエラーの有無をサブ制御手段側で判断することが考えられる。
しかし、設定変更又は設定確認に関するエラーの有無をサブ制御手段側で判断しようとすると、設定変更又は設定確認時にメイン制御手段からサブ制御手段に送信するコマンドが増加することになるため、サブ制御手段側での処理に混乱が生じるおそれがある。
当初発明が解決しようとする課題は、メイン制御手段側から送信されたコマンドに基づいて、サブ制御手段側において設定変更又は設定確認に関するエラーの有無を適切に判断して報知することである。
5. Initial invention 5
(A) Problem to be Solved by Initial Invention 5 The initial invention relates to a gaming machine that performs error notification on the sub-control means side based on a command transmitted from the main control means side.
2. Description of the Related Art Conventionally, there is known a gaming machine that performs error notification on a sub-control means side based on a command transmitted from the main control means side (see, for example, Japanese Patent Laid-Open No. 2015-029877).
Here, in the gaming machine, the memory capacity on the main control means side has a certain limitation due to security.
For this reason, it is conceivable that the sub-control means side determines whether or not there is an error relating to a setting change or setting confirmation that is not related to the game progress control.
However, if the sub-control means tries to determine whether there is an error related to setting change or setting confirmation, the number of commands transmitted from the main control means to the sub-control means at the time of setting change or setting confirmation increases. The processing on the side may be confused.
The problem to be solved by the invention at first is to appropriately determine the presence or absence of an error related to setting change or setting confirmation on the sub-control means side based on a command transmitted from the main control means side, and to notify it.
(b)当初発明5の課題を解決するための手段(なお、かっこ書きで、対応する実施形態を記載する。)
第1の解決手段は、
遊技の進行を制御するメイン制御手段(メイン制御基板60)と、
演出を制御するサブ制御手段(サブ制御基板80)と、
前記メイン制御手段と電気的に接続され、遊技者にとっての有利度に係る設定値の変更が可能な設定変更モード又は前記設定値の確認が可能な設定確認モードに移行させるときに操作する設定スイッチ(設定キースイッチ52)と、
前記メイン制御手段から前記サブ制御手段に対して一方向でコマンドを送信可能な通信線と
を備え、
前記サブ制御手段に送信するコマンドとして、第1コマンド(第1制御コマンド、第2制御コマンド)及び第2コマンド(第3制御コマンド)を有し、
前記通信線として、第1コマンドを送信可能な第1通信線(サブ制御データ信号1〜8用の通信線、サブ制御データ信号9〜16用の通信線)、及び第2コマンドを送信可能な第2通信線(サブ制御データ信号17〜24用の通信線)を有し、
前記メイン制御手段は、
前記設定スイッチがオンの状態で電源がオフからオンにされたことを条件に前記設定変更モードへの移行を可能とし、
電源がオンの状態で前記設定スイッチがオフからオンにされたことを条件に前記設定確認モードへの移行を可能とし、
前記設定変更モードに移行したときは、前記設定変更モードであることを示す第1コマンドを第1通信線を通して前記サブ制御手段に送信し、
前記設定確認モードに移行したときは、前記設定確認モードであることを示す第1コマンドを第1通信線を通して前記サブ制御手段に送信し、
前記設定スイッチがオンの状態であることを検知したときは、前記設定スイッチがオンの状態であることを示す第2コマンドを第2通信線を通して前記サブ制御手段に送信し、
前記サブ制御手段は、前記設定変更モード又は前記設定確認モードであることを示す第1コマンドを受信することなく、前記設定スイッチがオンの状態であることを示す第2コマンドを受信してから所定時間(64ms)が経過したときは、電源がオンにされてからの経過時間(2秒が経過したか否か)に応じた内容の情報を報知する
ことを特徴とする。
第2の解決手段は、第1の解決手段において、
前記サブ制御手段は、前記設定変更モード又は前記設定確認モードであることを示す第1コマンドを受信することなく、前記設定スイッチがオンの状態であることを示す第2コマンドを受信してから前記所定時間が経過した場合において、電源がオンにされてから規定時間(2秒)が経過していないときは、前記設定値を変更することができない旨を報知する
ことを特徴とする。
第3の解決手段は、第1又は第2の解決手段において、
前記サブ制御手段は、前記設定変更モード又は前記設定確認モードであることを示す第1コマンドを受信することなく、前記設定スイッチがオンの状態であることを示す第2コマンドを受信してから前記所定時間が経過した場合において、電源がオンにされてから規定時間(2秒)が経過しているときは、前記設定値を確認することができない旨を報知する
ことを特徴とする。
第4の解決手段は、第1〜第3の解決手段において、
前記サブ制御手段は、前記設定スイッチがオンの状態であることを示す第2コマンドを受信してから前記所定時間が経過する前に、前記設定変更モードであることを示す第1コマンドを受信したときは、前記設定変更モードである旨を報知する
ことを特徴とする。
第5の解決手段は、第1〜第4の解決手段において、
前記サブ制御手段は、前記設定スイッチがオンの状態であることを示す第2コマンドを受信してから前記所定時間が経過する前に、前記設定確認モードであることを示す第1コマンドを受信したときは、前記設定確認モードである旨を報知する
ことを特徴とする。
第6の解決手段は、第1〜第5の解決手段において、
前記メイン制御手段は、
前記サブ制御手段に送信するコマンドを記憶可能なバッファ(制御コマンドバッファ(リングバッファ))を備え、
第1コマンドを生成したときは、生成した第1コマンドを前記バッファに記憶させ、
前記バッファに記憶されている第1コマンドを、割込み処理によって、第1通信線を通して前記サブ制御手段に送信し、
第2コマンドを生成したときは、生成した第2コマンドを、前記バッファに記憶させることなく、前記割込み処理によって、第2通信線を通して前記サブ制御手段に送信する
ことを特徴とする。
(B) Means for Solving the Problem of the Initial Invention 5 (Note that the corresponding embodiment is described in parentheses)
The first solution is
Main control means (main control board 60) for controlling the progress of the game;
Sub-control means (sub-control board 80) for controlling the production;
A setting switch that is electrically connected to the main control means and that is operated when shifting to a setting change mode in which a setting value related to the advantage for a player can be changed or a setting check mode in which the setting value can be checked. (Setting key switch 52),
A communication line capable of transmitting a command in one direction from the main control means to the sub-control means,
As commands to be transmitted to the sub-control means, there are a first command (first control command, second control command) and a second command (third control command),
As the communication line, a first communication line capable of transmitting a first command (a communication line for sub control data signals 1 to 8, a communication line for sub control data signals 9 to 16), and a second command can be transmitted. Having a second communication line (communication line for sub-control data signals 17-24),
The main control means includes
Enabling the transition to the setting change mode on the condition that the power switch is turned on from the off state with the setting switch being on,
Enabling the transition to the setting confirmation mode on the condition that the setting switch is turned on from off while the power is on,
When transitioning to the setting change mode, a first command indicating the setting change mode is transmitted to the sub-control means through the first communication line,
When transitioning to the setting confirmation mode, a first command indicating the setting confirmation mode is transmitted to the sub-control means through the first communication line,
When it is detected that the setting switch is on, a second command indicating that the setting switch is on is transmitted to the sub-control means through a second communication line,
The sub-control means receives a second command indicating that the setting switch is in an on state without receiving a first command indicating that the setting change mode or the setting confirmation mode is being performed, and then performs predetermined processing. When the time (64 ms) elapses, the content information corresponding to the elapsed time (whether 2 seconds have passed) since the power was turned on is notified.
The second solving means is the first solving means,
The sub-control means receives the second command indicating that the setting switch is on without receiving the first command indicating the setting change mode or the setting confirmation mode, and then receiving the second command. When the predetermined time has elapsed and the specified time (2 seconds) has not elapsed since the power was turned on, the fact that the set value cannot be changed is notified.
The third solution means in the first or second solution means,
The sub-control means receives the second command indicating that the setting switch is on without receiving the first command indicating the setting change mode or the setting confirmation mode, and then receiving the second command. When a predetermined time has elapsed and a specified time (2 seconds) has elapsed since the power was turned on, the fact that the set value cannot be confirmed is notified.
The fourth solving means is the first to third solving means,
The sub-control unit receives the first command indicating the setting change mode before the predetermined time has elapsed after receiving the second command indicating that the setting switch is on. When this is the case, it is notified that it is the setting change mode.
The fifth solving means is the first to fourth solving means,
The sub-control unit receives the first command indicating the setting confirmation mode before the predetermined time has elapsed after receiving the second command indicating that the setting switch is on. Is notified that it is in the setting confirmation mode.
The sixth solving means is the first to fifth solving means,
The main control means includes
A buffer (control command buffer (ring buffer)) capable of storing a command to be transmitted to the sub-control means;
When the first command is generated, the generated first command is stored in the buffer,
Sending the first command stored in the buffer to the sub-control means through the first communication line by interrupt processing;
When the second command is generated, the generated second command is transmitted to the sub-control means through the second communication line by the interrupt process without being stored in the buffer.
(c)当初発明5の効果
当初発明によれば、設定スイッチがオンの状態のときは、通常は、設定変更モード又は設定確認モードに移行する。このため、設定スイッチがオンの状態であることを示す第2コマンドを受信してから所定時間が経過しても、設定変更モード又は設定確認モードであることを示す第1コマンドを受信しないと、エラーが発生したと判断することができる。
また、設定変更モードに移行させるときは、設定スイッチがオンの状態で電源をオンにし、設定確認モードに移行させるときは、電源がオンの状態で設定スイッチをオンにする。このため、エラーが発生したと判断したときは、電源オンからの経過時間によって、エラーの種類(設定変更又は設定確認のいずれのエラーか)を判断することができる。
したがって、当初発明によれば、設定変更又は設定確認に関するエラーの有無を適切に判断して報知することができる。
(C) Effect of Initial Invention 5 According to the initial invention, when the setting switch is in the ON state, the mode is normally shifted to the setting change mode or the setting confirmation mode. For this reason, if the first command indicating the setting change mode or the setting confirmation mode is not received even after a predetermined time has elapsed after receiving the second command indicating that the setting switch is in the ON state, It can be determined that an error has occurred.
Further, when shifting to the setting change mode, the power is turned on while the setting switch is on, and when shifting to the setting confirmation mode, the setting switch is turned on while the power is on. For this reason, when it is determined that an error has occurred, it is possible to determine the type of error (whether the error is a setting change or a setting check) based on the elapsed time from power-on.
Therefore, according to the initial invention, it is possible to appropriately determine and notify the presence / absence of an error relating to setting change or setting confirmation.
10 スロットマシン
11 表示窓
16 ドアスイッチ
21 演出ランプ
22 スピーカ
23 画像表示装置
24 十字キー
25 プッシュボタン
30 図柄表示装置
31 リール
32 モータ
35 メダル払出し装置
35a ホッパー
35b サブタンク
36 ホッパーモータ
37a、37b 払出しセンサ
38 満杯センサ
39 リールセンサ
40a 1ベットスイッチ
40b 3ベットスイッチ
41 スタートスイッチ
42 ストップスイッチ
43 メダル投入口
43a 通路センサ
44a、44b 投入センサ
45 ブロッカ
46 精算スイッチ
51 電源スイッチ
52 設定キースイッチ
53 設定変更/リセットスイッチ
54 設定ドアスイッチ
60 メイン制御基板(メイン制御手段)
61 RWM
62 ROM
63 メインCPU
63a 設定変更手段
63b 条件装置抽選手段
63c 当選フラグ制御手段
63g リール制御手段
63h 入賞判定手段
63i 払出し手段
64 設定値表示LED
65 シリアル通信回路
65a 送信用レジスタ
70 表示基板
71 貯留数表示LED
72 獲得数表示LED
73 状態表示LED
73a リプレイ表示LED
73b 投入可表示LED
73c 精算表示LED
73d 遊技開始LED
73e 1枚投入表示LED
73f 2枚投入表示LED
73g 3枚投入表示LED
80 サブ制御基板(サブ制御手段)
81 RWM
82 ROM
83 サブCPU
83a 演出出力制御手段
100 外部集中端子板
DESCRIPTION OF SYMBOLS 10 Slot machine 11 Display window 16 Door switch 21 Effect lamp 22 Speaker 23 Image display apparatus 24 Cross key 25 Push button 30 Symbol display apparatus 31 Reel 32 Motor 35 Medal paying-out apparatus 35a Hopper 35b Sub tank 36 Hopper motor 37a, 37b Discharge sensor 38 full Sensor 39
61 RWM
62 ROM
63 Main CPU
63a Setting change means 63b Condition device lottery means 63c Winning flag control means 63g Reel control means 63h Winning judgment means 63i Payout means 64 Set value display LED
65 Serial communication circuit
72 Acquisition number display LED
73 Status display LED
73a Replay display LED
73b LED indicating that it can be inserted
73c Checkout LED
73d Game start LED
73e Single-load indicator LED
73f Two-sheet loading display LED
73g Three-sheet loading indicator LED
80 Sub-control board (sub-control means)
81 RWM
82 ROM
83 Sub CPU
83a Production output control means 100 External concentration terminal board
Claims (1)
遊技の進行を制御するメイン制御手段と、
演出を制御するサブ制御手段と、
前記メイン制御手段によって制御可能な所定周辺機器と、
前記複数のリールを回転させる複数のモータと
を備え、
前記メイン制御手段は、
遊技の進行のためのメイン処理を実行可能であり、
メイン処理中に割込み処理を実行可能であり、
メイン処理により、前記サブ制御手段に送信するコマンドを生成可能であり、かつ生成したコマンドをバッファに記憶可能であり、
割込み処理により、前記バッファに記憶されているコマンドを前記サブ制御手段に送信可能であり、かつ前記複数のモータの駆動を制御可能であり、
前記メイン制御手段は、
複数ビットのデータを並列に出力可能な第1出力ポート及び第2出力ポートを備え、
第1出力ポートからは、前記サブ制御手段に送信するコマンドを出力可能であり、
第2出力ポートの所定ビットからは、前記所定周辺機器を制御する所定制御信号を出力可能であり、
第2出力ポートにおける前記所定ビット以外の特定ビットからは、第1出力ポートから出力するコマンドの取得タイミングを示すストローブ信号を出力可能であり、
前記所定ビットに対応するデータを前記所定制御信号の出力態様に対応するデータとし、かつ前記特定ビットに対応するデータをストローブ信号のオン又はオフに対応するデータとした複数ビットのデータを生成して、これを第2出力ポートから出力し、
1回の割込み処理の時間内において、前記複数のモータの駆動を制御し、その後に、コマンドを送信するためのコマンド送信処理を実行し、
コマンド送信処理において、前記バッファに記憶されているコマンドを前記サブ制御手段に送信するときは、第1出力ポートにおけるコマンドの出力をオンにし、コマンドの出力オンから所定時間経過後に第2出力ポートの前記特定ビットにおけるストローブ信号の出力をオンにする
ことを特徴とするスロットマシン。 Multiple reels,
Main control means for controlling the progress of the game;
Sub-control means for controlling the production;
Predetermined peripheral devices that can be controlled by the main control means;
A plurality of motors for rotating the plurality of reels, and
The main control means includes
The main process for the progress of the game can be executed,
Interrupt processing can be executed during main processing.
The main process can generate a command to be transmitted to the sub-control means, and the generated command can be stored in a buffer.
By interrupt processing, the command stored in the buffer can be transmitted to the sub-control means, and the driving of the plurality of motors can be controlled,
The main control means includes
A first output port and a second output port capable of outputting a plurality of bits of data in parallel;
From the first output port, it is possible to output a command to be transmitted to the sub-control means,
A predetermined control signal for controlling the predetermined peripheral device can be output from a predetermined bit of the second output port,
A strobe signal indicating the acquisition timing of a command output from the first output port can be output from a specific bit other than the predetermined bit in the second output port,
Generating a plurality of bits of data corresponding to the output form of the predetermined control signal as data corresponding to the predetermined bit, and data corresponding to ON or OFF of the strobe signal as data corresponding to the specific bit , Output this from the second output port,
Within the time of one interrupt process, the drive of the plurality of motors is controlled, and then a command transmission process for transmitting a command is executed,
In the command transmission process, when the command stored in the buffer is transmitted to the sub-control means , the output of the command at the first output port is turned on, and after the predetermined time elapses after the command output is turned on, A slot machine which turns on output of a strobe signal in the specific bit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015229803A JP6156471B2 (en) | 2015-11-25 | 2015-11-25 | Slot machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015229803A JP6156471B2 (en) | 2015-11-25 | 2015-11-25 | Slot machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017093845A JP2017093845A (en) | 2017-06-01 |
| JP6156471B2 true JP6156471B2 (en) | 2017-07-05 |
Family
ID=58803231
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015229803A Active JP6156471B2 (en) | 2015-11-25 | 2015-11-25 | Slot machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6156471B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6414293B1 (en) * | 2017-07-27 | 2018-10-31 | サミー株式会社 | Game machine |
| JP6414292B1 (en) * | 2017-07-27 | 2018-10-31 | サミー株式会社 | Game machine |
| JP6414290B1 (en) * | 2017-07-27 | 2018-10-31 | サミー株式会社 | Game machine |
| JP6414291B1 (en) * | 2017-07-27 | 2018-10-31 | サミー株式会社 | Game machine |
| JP7257058B2 (en) * | 2021-02-04 | 2023-04-13 | 株式会社大一商会 | game machine |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007029200A (en) * | 2005-07-22 | 2007-02-08 | Sanyo Product Co Ltd | Game machine |
| JP4994878B2 (en) * | 2007-02-20 | 2012-08-08 | 株式会社大都技研 | Amusement stand |
| JP5272192B2 (en) * | 2007-09-05 | 2013-08-28 | 株式会社大一商会 | Game machine |
| JP2008188474A (en) * | 2008-05-14 | 2008-08-21 | Sankyo Co Ltd | Slot machine |
| JP6363824B2 (en) * | 2013-05-20 | 2018-07-25 | 株式会社ソフイア | Slot machine |
| JP5907508B2 (en) * | 2013-08-07 | 2016-04-26 | サミー株式会社 | Slot machine |
-
2015
- 2015-11-25 JP JP2015229803A patent/JP6156471B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017093845A (en) | 2017-06-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6095021B1 (en) | Game machine | |
| JP6137283B2 (en) | Game machine | |
| JP6575280B2 (en) | Game machine | |
| JP6156471B2 (en) | Slot machine | |
| JP6120285B2 (en) | Game machine | |
| JP2016083256A (en) | Game machine | |
| JP2016083264A (en) | Game machine | |
| JP5911031B2 (en) | Game machine | |
| JP6168027B2 (en) | Game machine | |
| JP2016055014A (en) | Game machine | |
| JP2016083262A (en) | Game machine | |
| JP6213442B2 (en) | Game machine | |
| JP2017093844A (en) | Game machine | |
| JP2016055008A (en) | Game machine | |
| JP2017093846A (en) | Game machine | |
| JP6572717B2 (en) | Game machine | |
| JP6572716B2 (en) | Game machine | |
| JP6213431B2 (en) | Game machine | |
| JP6358383B2 (en) | Game machine | |
| JP6572714B2 (en) | Game machine | |
| JP6572715B2 (en) | Game machine | |
| JP6375807B2 (en) | Game machine | |
| JP6307391B2 (en) | Game machine | |
| JP6310432B2 (en) | Game machine | |
| JP6661111B2 (en) | Gaming machine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170223 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20170509 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170522 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6156471 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| 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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |