JP7018266B2 - Pachinko machine - Google Patents

Pachinko machine Download PDF

Info

Publication number
JP7018266B2
JP7018266B2 JP2017114215A JP2017114215A JP7018266B2 JP 7018266 B2 JP7018266 B2 JP 7018266B2 JP 2017114215 A JP2017114215 A JP 2017114215A JP 2017114215 A JP2017114215 A JP 2017114215A JP 7018266 B2 JP7018266 B2 JP 7018266B2
Authority
JP
Japan
Prior art keywords
game
medal
state
detection
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017114215A
Other languages
Japanese (ja)
Other versions
JP2018202075A (en
Inventor
敏男 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sankyo Co Ltd
Original Assignee
Sankyo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2017114215A priority Critical patent/JP7018266B2/en
Publication of JP2018202075A publication Critical patent/JP2018202075A/en
Application granted granted Critical
Publication of JP7018266B2 publication Critical patent/JP7018266B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Description

本発明は、パチンコ遊技機やスロットマシン等の遊技機に関する。 The present invention relates to a gaming machine such as a pachinko gaming machine or a slot machine.

この種の遊技機としては、起動時に初期化条件が成立している場合に、制御状態を初期化した後、遊技を進行させるためのメイン処理に移行し、メイン処理において遊技を進行させるための信号が検出されることで、遊技を進行させるようにしたものが提案されている(例えば、特許文献1参照)。 In this type of gaming machine, when the initialization condition is satisfied at the time of startup, after initializing the control state, the game shifts to the main process for advancing the game, and the game is advanced in the main process. It has been proposed that a game is advanced by detecting a signal (see, for example, Patent Document 1).

特開2016-129555号公報Japanese Unexamined Patent Publication No. 2016-129555

特許文献1に記載の遊技機では、エラーの中にはメダル詰まりなど解消する作業を行わなければ根本的な解決にならないものもあり、エラーが生じた状態のまま起動時に初期化条件が成立することでエラーも初期化されると、初期化された後、遊技を進行させるための信号が検出されて遊技が進行してしまうと、エラーが解消しないまま遊技が進行してしまう虞がある。 In the gaming machine described in Patent Document 1, some errors cannot be fundamentally solved unless work such as clogging of medals is performed, and the initialization condition is satisfied at startup with the error occurring. As a result, if the error is also initialized, and then the signal for advancing the game is detected and the game progresses after the initialization, there is a risk that the game will proceed without the error being resolved.

本発明は、このような問題点に着目してなされたものであり、エラーが確実に解消した状態で遊技を進行させることができる遊技機を提供することを目的とする。 The present invention has been made by paying attention to such a problem, and an object of the present invention is to provide a gaming machine capable of advancing a game in a state where an error is surely resolved.

上記課題を解決するために、本発明の請求項1の遊技機は、
遊技を行う遊技機において、
プログラムを記憶可能な記憶領域を有する記憶手段と、
記憶手段に記憶されたプログラムに基づいて制御を行う制御手段と、
遊技媒体を投入可能な投入口と、
前記投入口に投入された遊技媒体が通過しているときに検出信号を出力する投入検出手段と、
遊技媒体を払出可能な払出手段と、
前記払出手段から払い出された遊技媒体が通過しているときに検出信号を出力する払出検出手段と、
を備え、
前記制御手段は、
遊技を進行させるための遊技進行信号が検出されているか否かを判定する検出判定手段と、
遊技媒体の投入を判定する投入判定手段と、
前記投入検出手段から出力された検出信号に基づいて異常が生じているか否かを判定し、異常が生じていると判定したときに投入異常フラグを設定する投入異常フラグ設定手段と、
前記払出検出手段から出力された検出信号に基づいて異常が生じているか否かを判定し、異常が生じていると判定したときに払出異常フラグを設定する払出異常フラグ設定手段と、
前記投入異常フラグが設定されているか否か及び前記払出異常フラグが設定されているか否かを判定する異常判定手段と、
前記異常判定手段により前記投入異常フラグまたは前記払出異常フラグの少なくとも一方が設定されていると判定されたときに遊技の進行を不能化する不能化状態に制御する不能化状態制御手段と、
初期化条件が成立したときに、前記不能化状態を含む遊技の進行に関する制御状態を初期化する初期化手段と、
を含み、
前記異常判定手段は、
前記初期化手段により遊技の進行に関する制御状態が初期化された後、前記検出判定手段により最初に遊技進行信号が検出されているか否かが判定される前に、前記投入異常フラグが設定されているか否か及び前記払出異常フラグが設定されているか否かを判定し、
前記不能化状態が解除された後、前記検出判定手段により最初に遊技進行信号が検出されているか否かが判定される前に、前記投入異常フラグが設定されているか否か及び前記払出異常フラグが設定されているか否かを判定し、
前記記憶手段の記憶領域は、
第1プログラムが記憶される第1プログラム領域と、
前記第1プログラムによって呼び出される第2プログラムが記憶される第2プログラム領域と、
を含み、
前記第1プログラムにおいて前記投入検出手段から出力された検出信号に基づいて遊技媒体の通過を検出する第1検出処理を行い、
前記第2プログラムにおいて前記投入検出手段から出力された検出信号に基づいて遊技媒体の通過を検出する第2検出処理を行い、
前記投入判定手段は、前記第1プログラムにおいて前記第2検出処理により遊技媒体の通過が検出されたか否かを判定し、前記第2検出処理により遊技媒体の通過が検出されたと判定したときに、前記第1検出処理を行い、前記第1検出処理により遊技媒体の通過が検出されたときに、遊技媒体の投入を判定する
ことを特徴としている。
本発明の手段1の遊技機は、
遊技を行う遊技機(スロットマシン1)において、
遊技を進行させるための遊技進行信号(メダル投入信号、MAXBETスイッチ6の検出信号)が検出されているか否かを判定する検出判定手段(メダル投入信号処理、操作入力受付処理)と、
特定エラー(払出期間外で払出センサ34cがメダル等を検出する異常)が発生しているか否かを判定する特定エラー判定手段(メダル投入払出エラーチェック処理)と、
特定エラーが発生していると判定されたときに遊技の進行を不能化する不能化状態(エラー状態)に制御する不能化状態制御手段(エラー処理)と、
初期化条件が成立したときに、不能化状態を含む遊技の進行に関する制御状態を初期化する初期化手段(設定変更時初期化処理)と、
を備え、
前記特定エラー判定手段は、前記初期化手段により遊技の進行に関する制御状態が初期化された後、前記検出判定手段により最初に遊技進行信号が検出されているか否かが判定される前に、特定エラーが発生しているか否かを判定する
ことを特徴としている。
この特徴によれば、特定エラーの発生に伴い不能化状態に制御されており、特定エラーの原因が解消しないまま初期化条件が成立した場合でも、遊技に関する制御状態が初期化されることに伴って不能化状態も初期化されてしまうこととなるが、このような場合でも、遊技に関する制御状態が初期化された後、最初に遊技進行信号が検出されているか否かが判定される前に、特定エラーが発生しているか否かが判定され、特定エラーが発生していると判定された場合には、遊技進行信号が検出されて遊技が進行する前に再び不能化状態に制御されることとなり、特定エラーの原因が解消していないにも関わらず遊技が進行してしまうことがなく、エラーが確実に解消した状態で遊技を進行させることができる。
In order to solve the above problems, the gaming machine according to claim 1 of the present invention is
In a gaming machine that plays games
A storage means having a storage area that can store a program,
A control means that controls based on a program stored in the storage means,
A slot where game media can be inserted, and
A charging detection means that outputs a detection signal when the gaming medium loaded in the slot is passing through, and
Withdrawal means that can pay out game media,
A payout detection means that outputs a detection signal when the game medium paid out from the payout means is passing through, and a payout detection means.
Equipped with
The control means is
A detection determination means for determining whether or not a game progress signal for advancing a game has been detected, and
An input determination means for determining the input of the game medium, and
An input abnormality flag setting means that determines whether or not an abnormality has occurred based on the detection signal output from the input detection means and sets an input abnormality flag when it is determined that an abnormality has occurred.
A payout abnormality flag setting means that determines whether or not an abnormality has occurred based on the detection signal output from the payout detection means and sets a payout abnormality flag when it is determined that an abnormality has occurred.
An abnormality determining means for determining whether or not the input abnormality flag is set and whether or not the payout abnormality flag is set, and
A disabling state control means for controlling the progress of the game to a disabling state when it is determined by the abnormality determining means that at least one of the input abnormality flag and the payout abnormality flag is set.
When the initialization condition is satisfied, the initialization means for initializing the control state regarding the progress of the game including the disabled state, and the initialization means.
Including
The abnormality determination means is
After the control state regarding the progress of the game is initialized by the initialization means, and before it is determined whether or not the game progress signal is first detected by the detection determination means, the input abnormality flag is set. It is determined whether or not the payout abnormality flag is set, and whether or not the payout abnormality flag is set.
Whether or not the input abnormality flag is set and the payout abnormality flag after the disabling state is released and before the detection determination means first determines whether or not the game progress signal is detected. Judges whether or not is set,
The storage area of the storage means is
The first program area where the first program is stored and
A second program area in which the second program called by the first program is stored, and
Including
In the first program, the first detection process for detecting the passage of the game medium is performed based on the detection signal output from the input detection means.
In the second program, a second detection process for detecting the passage of the game medium is performed based on the detection signal output from the input detection means.
The input determination means determines whether or not the passage of the game medium is detected by the second detection process in the first program, and when it is determined that the passage of the game medium is detected by the second detection process, the input determination means determines. The first detection process is performed, and when the passage of the game medium is detected by the first detection process, the input of the game medium is determined.
It is characterized by that.
The gaming machine of means 1 of the present invention is
In a gaming machine (slot machine 1) that plays games
Detection determination means (medal insertion signal processing, operation input reception processing) for determining whether or not a game progress signal (medal insertion signal, detection signal of MAXBET switch 6) for advancing the game is detected,
Specific error determining means (medal insertion / withdrawal error check processing) for determining whether or not a specific error (abnormality in which the payout sensor 34c detects medals, etc. outside the payout period) has occurred, and
Disabling state control means (error processing) that controls the disabling state (error state) that disables the progress of the game when it is determined that a specific error has occurred,
When the initialization condition is satisfied, the initialization means (initialization process at the time of setting change) that initializes the control state related to the progress of the game including the disabled state, and
Equipped with
The specific error determination means is specified after the control state regarding the progress of the game is initialized by the initialization means and before it is determined whether or not the game progress signal is first detected by the detection determination means. It is characterized by determining whether or not an error has occurred.
According to this feature, it is controlled to the disabled state when a specific error occurs, and even if the initialization condition is satisfied without eliminating the cause of the specific error, the control state related to the game is initialized. However, even in such a case, after the control state related to the game is initialized, before it is first determined whether or not the game progress signal is detected. , Whether or not a specific error has occurred is determined, and if it is determined that a specific error has occurred, the game progress signal is detected and controlled to the disabled state again before the game progresses. Therefore, the game does not proceed even though the cause of the specific error has not been resolved, and the game can be played in a state where the error is surely resolved.

本発明の手段2の遊技機は、手段1に記載の遊技機であって、
前記初期化手段(設定変更時初期化処理)は、初期化条件が成立したときに、特定エラー(払出期間外で払出センサ34cがメダル等を検出する異常)が発生しているか否かに関わらず、遊技の進行に関する制御状態を初期化する
ことを特徴としている。
この特徴によれば、遊技の進行に関する制御状態を初期化することで大半のエラーは解消することから、初期化条件が成立したときに、特定エラーが発生しているか否かに関わらず、遊技の進行に関する制御状態を初期化することで、初期化に係る制御を簡素化できる。
The gaming machine of the means 2 of the present invention is the gaming machine according to the means 1.
The initialization means (initialization process at the time of setting change) is related to whether or not a specific error (an abnormality in which the payout sensor 34c detects a medal or the like outside the payout period) occurs when the initialization condition is satisfied. Instead, it is characterized by initializing the control state related to the progress of the game.
According to this feature, most of the errors are eliminated by initializing the control state related to the progress of the game. Therefore, when the initialization condition is satisfied, the game is played regardless of whether or not a specific error has occurred. By initializing the control state related to the progress of the above, the control related to the initialization can be simplified.

本発明の手段3の遊技機は、手段1または2に記載の遊技機であって、
特定エラーは、物理的に解消する必要のある事象が生じたことにより発生するエラー(払出期間外で払出センサ34cがメダル等を検出する異常)である
ことを特徴としている。
この特徴によれば、特定エラーの原因が物理的に解消していないにも関わらず遊技が進行してしまうことがなく、エラーが確実に解消した状態で遊技を進行させることができる。
The gaming machine of the means 3 of the present invention is the gaming machine according to the means 1 or 2.
The specific error is characterized by an error (an abnormality in which the payout sensor 34c detects a medal or the like outside the payout period) caused by an event that needs to be physically resolved.
According to this feature, the game does not proceed even though the cause of the specific error is not physically eliminated, and the game can be advanced in a state where the error is surely resolved.

本発明の手段4の遊技機は、手段1~3のいずれかに記載の遊技機であって、
一定期間毎に定期処理(タイマ割込処理)を実行する定期処理実行手段(メイン制御部41)を備え、
前記定期処理は、前記遊技機(スロットマシン1)に設けられた検出手段の検出状況を取得する処理を含み、
前記特定エラー判定手段(メダル投入払出エラーチェック処理)は、少なくとも1の定期処理が実行されることを待った後、特定エラー(払出期間外で払出センサ34cがメダル等を検出する異常)が発生しているか否かを判定する
ことを特徴としている。
この特徴によれば、検出手段の検出状況が取得され、最新の状態で特定エラーが発生しているか否かを判定することができる。
The gaming machine of the means 4 of the present invention is the gaming machine according to any one of the means 1 to 3.
A periodic processing execution means (main control unit 41) that executes periodic processing (timer interrupt processing) at regular intervals is provided.
The periodic process includes a process of acquiring the detection status of the detection means provided in the gaming machine (slot machine 1).
The specific error determining means (medal insertion / withdrawal error check process) waits for at least one periodic process to be executed, and then a specific error (an abnormality in which the payout sensor 34c detects a medal or the like outside the payout period) occurs. It is characterized by determining whether or not it is.
According to this feature, the detection status of the detection means can be acquired, and it can be determined whether or not a specific error has occurred in the latest state.

本発明の手段5の遊技機は、手段4に記載の遊技機であって、
前記定期処理(タイマ割込処理)が実行される毎に、前記特定エラー判定手段(メダル投入払出エラーチェック処理)により特定エラー(払出期間外で払出センサ34cがメダル等を検出する異常)が発生しているか否かが判定され、前記検出判定手段(メダル投入信号処理、操作入力受付処理)により遊技進行信号(メダル投入信号、MAXBETスイッチ6の検出信号)が検出されているか否かが判定される
ことを特徴としている。
この特徴によれば、検出手段の検出状況が取得され、最新の状態に更新される毎に、特定エラーが発生しているか否か、遊技進行信号が検出されているか否かを判定することができる。
The gaming machine of the means 5 of the present invention is the gaming machine according to the means 4.
Every time the periodic process (timer interrupt process) is executed, a specific error (an abnormality in which the payout sensor 34c detects a medal or the like outside the payout period) occurs by the specific error determination means (medal insertion / withdrawal error check process). It is determined whether or not the game progress signal (medal insertion signal, detection signal of the MAXBET switch 6) is detected by the detection determination means (medal insertion signal processing, operation input reception processing). It is characterized by the fact that it is.
According to this feature, every time the detection status of the detection means is acquired and updated to the latest state, it is possible to determine whether or not a specific error has occurred and whether or not a game progress signal has been detected. can.

本発明の手段6の遊技機は、手段1~5のいずれかに記載の遊技機であって、
前記特定エラー判定手段(メダル投入払出エラーチェック処理)は、前記不能化手段による不能化状態(エラー状態)が解除された後、前記検出判定手段(メダル投入信号処理、操作入力受付処理)により最初に遊技進行信号(メダル投入信号、MAXBETスイッチ6の検出信号)が検出されているか否かが判定される前に、特定エラー(払出期間外で払出センサ34cがメダル等を検出する異常)が発生しているか否かを判定する
ことを特徴としている。
この特徴によれば、特定エラーの発生に伴い不能化状態に制御されており、特定エラーの原因が解消しないまま不能化状態が解除された場合に、特定エラーが解消されていない場合でも遊技が進行可能となるが、このような場合でも、不能化状態が解除された後、最初に遊技進行信号が検出されているか否かが判定される前に、特定エラーが発生しているか否かが判定され、特定エラーが発生していると判定された場合には、遊技進行信号が検出されて遊技が進行する前に再び不能化状態に制御されることとなり、特定エラーの原因が解消していないにも関わらず遊技が進行してしまうことがなく、エラーが確実に解消した状態で遊技を進行させることができる。
The gaming machine of the means 6 of the present invention is the gaming machine according to any one of the means 1 to 5.
The specific error determination means (medal insertion / withdrawal error check processing) is first performed by the detection determination means (medal insertion signal processing, operation input reception processing) after the disabling state (error state) by the disabling means is released. A specific error (an abnormality in which the payout sensor 34c detects a medal or the like outside the payout period) occurs before it is determined whether or not the game progress signal (medal insertion signal, detection signal of the MAXBET switch 6) is detected. It is characterized by determining whether or not it is done.
According to this feature, it is controlled to the disabled state with the occurrence of a specific error, and when the disabled state is canceled without eliminating the cause of the specific error, the game can be played even if the specific error is not resolved. It is possible to proceed, but even in such a case, whether or not a specific error has occurred after the disabled state is released and before it is first determined whether or not the game progress signal is detected. If it is determined and it is determined that a specific error has occurred, the game progress signal is detected and controlled to the disabled state again before the game progresses, and the cause of the specific error has been eliminated. The game does not progress even though there is no error, and the game can be progressed in a state where the error is surely resolved.

本発明の手段7の遊技機は、手段1~6のいずれかに記載の遊技機であって、
プログラムを記憶可能な記憶領域を有する記憶手段(ROM41b)と、
記憶手段に記憶されたプログラムに基づいて制御を行う制御手段(メインCPU41a)と、
を備え、
前記記憶手段(ROM41b)の記憶領域は、
遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、
前記遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、
を含み、
前記遊技プログラムにおいて第1条件(投入メダルセンサの入力データON→OFF)が成立することで遊技媒体(メダル)の通過を検出する第1検出処理(メダル投入信号処理)を行い、
前記非遊技プログラムにおいて第2条件(メダル検知及び正常通過)が成立することで遊技媒体の通過を検出する第2検出処理(メダルセンサチェック処理)を行い、
前記遊技プログラムでは、前記第1検出処理(メダル投入信号処理)及び前記第2検出処理(メダルセンサチェック処理)の双方で遊技媒体の通過が検出されたときに遊技媒体の通過を判定する
ことを特徴としている。
この特徴によれば、遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、が別個に割り当てられた構成において、遊技プログラムにおいて第1条件が成立することで遊技媒体の通過を検出する第1検出処理、及び遊技プログラムにおいて第2条件が成立することで遊技媒体の通過を検出する第2検出処理の双方で遊技媒体の通過が検出されたときに遊技媒体の通過を判定するので、遊技プログラムの容量を増やすことなく、遊技媒体の通過を適切に判定することができる。
The gaming machine of the means 7 of the present invention is the gaming machine according to any one of the means 1 to 6.
A storage means (ROM41b) having a storage area capable of storing a program, and
A control means (main CPU 41a) that performs control based on a program stored in the storage means, and
Equipped with
The storage area of the storage means (ROM41b) is
A game program area in which a game program related to the progress of the game is stored, and
A non-game program area that is a program called by the game program and stores a non-game program that is not related to the progress of the game, and a non-game program area.
Including
When the first condition (input data ON → OFF of the inserted medal sensor) is satisfied in the game program, the first detection process (medal insertion signal processing) for detecting the passage of the game medium (medal) is performed.
In the non-game program, the second detection process (medal sensor check process) for detecting the passage of the game medium is performed when the second condition (medal detection and normal passage) is satisfied.
In the game program, when the passage of the game medium is detected by both the first detection process (medal insertion signal processing) and the second detection process (medal sensor check process), the passage of the game medium is determined. It is a feature.
According to this feature, a game program area in which a game program related to the progress of a game is stored, a non-game program area in which a non-game program that is called by the game program and is not related to the progress of the game is stored, and a non-game program area. Is separately assigned, the first detection process for detecting the passage of the game medium when the first condition is satisfied in the game program, and the detection of the passage of the game medium when the second condition is satisfied in the game program. Since the passage of the game medium is determined when the passage of the game medium is detected in both of the second detection processes, the passage of the game medium can be appropriately determined without increasing the capacity of the game program.

尚、本発明は、本発明の請求項に記載された発明特定事項のみを有するものであって良いし、本発明の請求項に記載された発明特定事項とともに該発明特定事項以外の構成を有するものであっても良い。 The present invention may have only the invention-specific matters described in the claims of the present invention, and has a configuration other than the invention-specific matters together with the invention-specific matters described in the claims of the present invention. It may be a thing.

本発明が適用された実施例のスロットマシンの正面図である。It is a front view of the slot machine of the Example to which this invention was applied. スロットマシンの構成を示すブロック図である。It is a block diagram which shows the structure of a slot machine. メイン制御部が搭載するRAMにおける遊技領域と非遊技領域との関係を示す図である。It is a figure which shows the relationship between the gaming area and the non-gaming area in the RAM mounted on the main control unit. メイン制御部が行う初期設定処理の制御内容を示すフロー図である。It is a flow diagram which shows the control content of the initial setting process performed by the main control unit. メイン制御部が行うメイン処理の制御内容を示すフロー図である。It is a flow diagram which shows the control content of the main processing performed by the main control unit. メイン制御部が行う遊技開始待ち処理の制御内容を示すフロー図である。It is a flow diagram which shows the control content of the game start waiting process performed by the main control unit. メイン制御部が行うメダル投入信号処理の制御内容を示すフロー図である。It is a flow diagram which shows the control content of the medal insertion signal processing performed by a main control unit. メダル投入信号処理においてメダルの正常な通過が判定されるメダル投入信号の状態遷移について説明するためのタイミングチャートである。It is a timing chart for demonstrating the state transition of the medal insertion signal which determines the normal passage of a medal in the medal insertion signal processing. メイン制御部が行うタイマ割込み処理(メイン)の制御内容を示すフロー図である。It is a flow diagram which shows the control content of a timer interrupt process (main) performed by a main control unit.

本発明に係る遊技機を実施するための形態を実施例に基づいて以下に説明する。 A mode for carrying out the gaming machine according to the present invention will be described below based on examples.

本発明が適用された遊技機であるスロットマシンの実施例について図面を用いて説明する。本実施例のスロットマシン1の内部には、互いに識別可能な複数種類の図柄が所定の順序で、それぞれ同数ずつ配列されたリール2L、2C、2R(以下、左リール、中リール、右リール)が水平方向に並設されており、図1に示すように、これらリール2L、2C、2Rに配列された図柄のうち連続する3つの図柄が、スロットマシン1の正面の略中央に設けられた透視窓3において各々上中下三段に表示されて遊技者側から見えるように配置されている。 An embodiment of a slot machine, which is a gaming machine to which the present invention is applied, will be described with reference to the drawings. Inside the slot machine 1 of this embodiment, reels 2L, 2C, and 2R (hereinafter, left reel, middle reel, right reel) in which a plurality of types of symbols that can be distinguished from each other are arranged in the same number in a predetermined order. Are arranged side by side in the horizontal direction, and as shown in FIG. 1, three consecutive symbols among the symbols arranged on the reels 2L, 2C, and 2R are provided substantially in the center of the front surface of the slot machine 1. In the see-through window 3, they are displayed in the upper, middle, and lower three stages, respectively, and are arranged so as to be visible from the player side.

尚、本実施例では、3つのリールを用いた構成を例示しているが、リールを1つのみ用いた構成、2つのリールを用いた構成、4つ以上のリールを用いた構成としても良い。また、本実施例では、リール2L、2C、2Rにより図柄を可変表示させる可変表示部を構成しているが、可変表示部は、リール以外であっても良く、例えば、外周面に複数の図柄が配置されたベルトを移動させることで図柄を変動表示させることが可能な構成も良い。また、本実施例では、物理的なリールにて可変表示部を構成しているが、液晶表示器などの画像表示装置にて可変表示部を構成しても良い。 Although the configuration using three reels is illustrated in this embodiment, a configuration using only one reel, a configuration using two reels, and a configuration using four or more reels may be used. .. Further, in the present embodiment, the variable display unit for variably displaying the symbols by the reels 2L, 2C, and 2R is configured, but the variable display unit may be other than the reel, for example, a plurality of symbols on the outer peripheral surface. It is also possible to change the design by moving the belt on which the reels are placed. Further, in this embodiment, the variable display unit is configured by a physical reel, but the variable display unit may be configured by an image display device such as a liquid crystal display.

スロットマシン1の正面には、図1に示すように、メダルを投入可能なメダル投入部4、メダルが払い出されるメダル払出口9、クレジット(遊技者所有の遊技用価値として記憶されているメダル数)を用いて、その範囲内において遊技状態に応じて定められた規定数の賭数のうち最大の賭数を設定する際に操作されるMAXBETスイッチ6、クレジットとして記憶されているメダル及び賭数の設定に用いたメダルを精算する(クレジット及び賭数の設定に用いた分のメダルを返却させる)際に操作される精算スイッチ10、ゲームを開始する際に操作されるスタートスイッチ7、リール2L、2C、2Rの回転を各々停止する際に操作されるストップスイッチ8L、8C、8Rが遊技者により操作可能にそれぞれ設けられている。 As shown in FIG. 1, on the front of the slot machine 1, there are a medal insertion section 4 in which medals can be inserted, a medal payout exit 9 in which medals are paid out, and credits (number of medals stored as game value owned by the player). ) Is used to set the MAXBET switch 6, the medals and bets stored as credits, which are operated when setting the maximum bet number among the specified number of bets determined according to the gaming state within the range. Settlement switch 10 operated when paying the medals used for setting (returning the medals used for setting the credit and bet number), start switch 7 operated when starting the game, reel 2L The stop switches 8L, 8C, and 8R, which are operated when the rotations of the 2C, 2R, and 2R are stopped, are provided so as to be operable by the player.

また、スロットマシン1の正面には、図1に示すように、クレジットとして記憶されているメダル枚数が表示されるクレジット表示器11、入賞の発生により払い出されたメダル枚数やエラー発生時にその内容を示すエラーコード等が表示される遊技補助表示器12、賭数が1設定されている旨を点灯により報知する1BETLED14、賭数が2設定されている旨を点灯により報知する2BETLED15、賭数が3設定されている旨を点灯により報知する3BETLED16、メダルの投入が可能な状態を点灯により報知する投入要求LED17、スタートスイッチ7の操作によるゲームのスタート操作が有効である旨を点灯により報知するスタート有効LED18、ウェイト(前回のゲーム開始から一定期間経過していないためにリールの回転開始を待機している状態)中である旨を点灯により報知するウェイト中LED19、リプレイゲーム中である旨を点灯により報知するリプレイ中LED20が設けられた遊技用表示部13が設けられている。 Further, on the front of the slot machine 1, as shown in FIG. 1, a credit display 11 displaying the number of medals stored as credits, the number of medals paid out due to the occurrence of a prize, and the contents when an error occurs. Game auxiliary display 12, which displays an error code indicating an error code, etc., 1BETLED14 which notifies by lighting that the bet number is set to 1, 2BETLED15 which notifies by lighting that the bet number is set to 2, and the bet number is 3 3BETLED16 that notifies by lighting that it is set, insertion request LED17 that notifies by lighting that a medal can be inserted, and start that notifies by lighting that the game start operation by operating the start switch 7 is effective. Effective LED 18, weighting LED19 that notifies by lighting that the wait (a state of waiting for the start of rotation of the reel because a certain period has not passed since the previous game start) is in progress, lighting that the replay game is in progress. A game display unit 13 is provided with an LED 20 during replay to be notified by.

MAXBETスイッチ6の内部には、MAXBETスイッチ6の操作による賭数の設定操作が有効である旨を点灯により報知するBETスイッチ有効LED21(図2参照)が設けられており、ストップスイッチ8L、8C、8Rの内部には、該当するストップスイッチ8L、8C、8Rによるリールを停止させる操作が有効である旨を点灯により報知する左、中、右停止有効LED22L、22C、22R(図2参照)がそれぞれ設けられている。 Inside the MAXBET switch 6, a BET switch effective LED21 (see FIG. 2) is provided to notify by lighting that the setting operation of the bet number by the operation of the MAXBET switch 6 is effective, and the stop switches 8L, 8C, Inside the 8R, there are left, middle, and right stop effective LEDs 22L, 22C, and 22R (see FIG. 2) that notify by lighting that the operation to stop the reel by the corresponding stop switches 8L, 8C, and 8R is effective. It is provided.

スロットマシン1の内部には、所定のキー操作によりスロットマシン1の外部から後述するエラー状態を解除するためのリセット操作を検出するリセットスイッチ23、後述する設定値の変更中や設定値の確認中にその時点の設定値が表示される設定値表示器24、メダル投入部4から投入されたメダルの流路を、スロットマシン1の内部に設けられた後述のホッパータンク(図示略)側またはメダル払出口9側のいずれか一方に選択的に切り替えるための流路切替ソレノイド30、メダル投入部4から投入され、ホッパータンク側に流下したメダルを検出する投入メダルセンサ31a~31cを有するメダルセレクタが設けられている。 Inside the slot machine 1, there is a reset switch 23 that detects a reset operation for canceling an error state described later from the outside of the slot machine 1 by a predetermined key operation, and the setting value described later is being changed or the setting value is being confirmed. The hopper tank (not shown) side or the medal, which will be described later, is provided inside the slot machine 1 so that the flow path of the medal inserted from the set value display 24 and the medal insertion unit 4 on which the set value at that time is displayed is displayed. A medal selector having a flow path switching solenoid 30 for selectively switching to either one of the payout outlets 9 and a medal selector 31a to 31c for detecting medals inserted from the medal insertion unit 4 and flowing down to the hopper tank side. It is provided.

スロットマシン1の内部には、前述したリール2L、2C、2R、リールモータ32L、32C、32R、各リール2L、2C、2Rのリール基準位置をそれぞれ検出可能なリールセンサ33L、33C、33R(図2参照)からなるリールユニット、メダル投入部4から投入されたメダルを貯留するホッパータンク(図示略)、ホッパータンクに貯留されたメダルをメダル払出口9より払い出すためのホッパーモータ34b(図2参照)、ホッパーモータ34bの駆動により払い出されたメダルを検出する払出センサ34c(図2参照)からなるホッパーユニットが設けられている。 Inside the slot machine 1, reel sensors 33L, 33C, 33R that can detect the reel reference positions of the above-mentioned reels 2L, 2C, 2R, reel motors 32L, 32C, 32R, reels 2L, 2C, and 2R, respectively (FIG. 2), a hopper tank (not shown) for storing medals inserted from the medal insertion unit 4, and a hopper motor 34b for discharging medals stored in the hopper tank from the medal payout outlet 9 (FIG. 2). A hopper unit including a payout sensor 34c (see FIG. 2) for detecting medals paid out by driving a hopper motor 34b is provided.

ホッパーユニット34の側部には、ホッパータンクからあふれたメダルが貯留されるオーバーフロータンク35が設けられている。オーバーフロータンク35の内部には、貯留されたメダルが満タン状態となったことを検出する満タンセンサ35aが設けられている。 An overflow tank 35 for storing medals overflowing from the hopper tank is provided on the side of the hopper unit 34. Inside the overflow tank 35, a full tank sensor 35a for detecting that the stored medals are full is provided.

また、スロットマシン1の内部には、設定変更状態または設定確認状態に切り替えるための設定キースイッチ37、通常時においてはエラー状態を解除するためのリセットスイッチとして機能し、設定変更状態においては後述する内部抽選の当選確率(出玉率)の設定値を変更するための設定スイッチとして機能するリセット/設定スイッチ38が設けられている。 Further, inside the slot machine 1, it functions as a setting key switch 37 for switching to a setting change state or a setting confirmation state, and a reset switch for canceling an error state in a normal state, and will be described later in the setting change state. A reset / setting switch 38 that functions as a setting switch for changing the set value of the winning probability (ball output rate) of the internal lottery is provided.

尚、設定キースイッチ37、リセット/設定スイッチ38は、スロットマシン1の内部に設けられており、所定のキー操作により開放可能な扉を開放しない限り操作不可能とされており、所定のキーを所持する店員のみが操作可能となる。特に、設定キースイッチ37は、さらにキー操作を要することから、遊技店の店員のなかでも、設定キースイッチ37の操作を行うキーを所持する店員のみ操作が可能とされている。また、リセットスイッチ23は、扉を開放する必要はないが、所定のキーを用いたキー操作を必要とするため、所定のキーを所持する店員のみが操作可能となる。 The setting key switch 37 and the reset / setting switch 38 are provided inside the slot machine 1 and cannot be operated unless the door that can be opened is opened by a predetermined key operation. Only the clerk who owns it can operate it. In particular, since the setting key switch 37 requires further key operation, only the clerk who has the key to operate the setting key switch 37 can be operated among the clerk of the game store. Further, the reset switch 23 does not need to open the door, but requires a key operation using a predetermined key, so that only a store clerk who possesses the predetermined key can operate the reset switch 23.

図2は、スロットマシン1の構成を示すブロック図である。スロットマシン1には、図2に示すように、遊技制御基板40、演出制御基板90が設けられており、遊技制御基板40によって遊技の制御が行われ、演出制御基板90によって遊技状態に応じた演出の制御が行われる。 FIG. 2 is a block diagram showing the configuration of the slot machine 1. As shown in FIG. 2, the slot machine 1 is provided with a game control board 40 and an effect control board 90. The game control board 40 controls the game, and the effect control board 90 responds to the game state. The production is controlled.

遊技制御基板40には、前述したMAXBETスイッチ6、スタートスイッチ7、ストップスイッチ8L、8C、8R、精算スイッチ10、リセットスイッチ23、投入メダルセンサ31a~31c、リールセンサ33L、33C、33R、払出センサ34c、満タンセンサ35a、設定キースイッチ37、リセット/設定スイッチ38が接続されており、これら接続されたスイッチ類の検出信号が入力されるようになっている。また、遊技制御基板40には、前述したクレジット表示器11、遊技補助表示器12、1~3BETLED14~16、投入要求LED17、スタート有効LED18、ウェイト中LED19、リプレイ中LED20、BETスイッチ有効LED21、左、中、右停止有効LED22L、22C、22R、設定値表示器24、流路切替ソレノイド30、リールモータ32L、32C、32R、ホッパーモータ34bが接続されており、これら電気部品は、遊技制御基板40に搭載されたメイン制御部41の制御に基づいて駆動されるようになっている。 The game control board 40 includes the MAXBET switch 6, the start switch 7, the stop switch 8L, 8C, 8R, the settlement switch 10, the reset switch 23, the input medal sensors 31a to 31c, the reel sensors 33L, 33C, 33R, and the payout sensor. A 34c, a full tank sensor 35a, a setting key switch 37, and a reset / setting switch 38 are connected, and detection signals of these connected switches are input. Further, on the game control board 40, the above-mentioned credit display 11, game auxiliary display 12, 1 to 3 BETLED 14 to 16, input request LED 17, start effective LED 18, wait LED 19, replay LED 20, BET switch effective LED 21, left. , Middle, right stop effective LED 22L, 22C, 22R, set value display 24, flow path switching solenoid 30, reel motor 32L, 32C, 32R, hopper motor 34b are connected, and these electric parts are the game control board 40. It is driven based on the control of the main control unit 41 mounted on the vehicle.

遊技制御基板40には、メインCPU41a、ROM41b、RAM41c、I/Oポート41dを備えたマイクロコンピュータにより構成され、遊技の制御を行うメイン制御部41が搭載されている。 The game control board 40 is composed of a microcomputer provided with a main CPU 41a, ROM 41b, RAM 41c, and I / O port 41d, and has a main control unit 41 that controls the game.

メイン制御部41は、遊技の進行に伴う操作が検出されることに応じて遊技を進行させるための各種の制御を行うとともに、サブ制御部91に各種のコマンドを送信する。メイン制御部41からサブ制御部91へ送信されるコマンドは一方向のみで送られ、サブ制御部91からメイン制御部41へ向けてコマンドが送られることはない。 The main control unit 41 performs various controls for advancing the game in response to the detection of an operation accompanying the progress of the game, and transmits various commands to the sub control unit 91. The command transmitted from the main control unit 41 to the sub control unit 91 is sent in only one direction, and the command is not sent from the sub control unit 91 to the main control unit 41.

また、メイン制御部41は、後述するように、メイン処理として遊技制御基板40に接続された各種スイッチ類の検出状態が変化するまでは制御状態に応じた処理を繰り返しループし、各種スイッチ類の検出状態の変化に応じて段階的に移行する処理を実行する。また、メイン制御部41は、一定時間間隔(本実施例では、約0.56ミリ秒)毎にタイマ割込処理を実行する。尚、タイマ割込処理の実行間隔は、メイン処理において制御状態に応じて繰り返す処理が一巡する時間とタイマ割込処理の実行時間とを合わせた時間よりも長い時間に設定されており、今回と次回のタイマ割込処理との間で必ず制御状態に応じて繰り返す処理が最低でも一巡することとなる。 Further, as will be described later, the main control unit 41 repeatedly loops the processing according to the control state until the detection state of the various switches connected to the game control board 40 changes as the main processing, and the various switches. Execute the process of gradual transition according to the change of the detection state. Further, the main control unit 41 executes the timer interrupt process at regular time intervals (about 0.56 milliseconds in this embodiment). The execution interval of the timer interrupt process is set to be longer than the total time of the time in which the process repeated according to the control state in the main process completes and the execution time of the timer interrupt process. The process of repeating according to the control state always completes at least one cycle with the next timer interrupt process.

演出制御基板90には、液晶表示器51(図1参照)、リールLED(図示略)等の演出装置が接続されており、これら演出装置は、演出制御基板90に搭載されたサブ制御部91による制御に基づいて駆動されるようになっている。サブ制御部91は、メイン制御部41から送信されるコマンドを受けて、演出を行うための各種の制御等を行うことが可能である。 A liquid crystal display 51 (see FIG. 1), a reel LED (not shown), and other effect devices are connected to the effect control board 90, and these effect devices are mounted on the effect control board 90. It is driven based on the control by. The sub control unit 91 can receive a command transmitted from the main control unit 41 and perform various controls for performing the effect.

本実施例のスロットマシン1は、設定値に応じてメダルの払出率が変わる構成である。詳しくは、内部抽選等の遊技者に対する有利度に影響する抽選において設定値に応じた当選確率を用いることにより、メダルの払出率が変わるようになっている。設定値は1~6の6段階からなり、6が最も払出率が高く、5、4、3、2、1の順に値が小さくなるほど払出率が低くなる。すなわち設定値として6が設定されている場合には、遊技者にとって最も有利度が高く、5、4、3、2、1の順に値が小さくなるほど有利度が段階的に低くなる。 The slot machine 1 of this embodiment has a configuration in which the medal payout rate changes according to the set value. Specifically, the medal payout rate is changed by using the winning probability according to the set value in the lottery that affects the advantage to the player such as the internal lottery. The set value consists of 6 stages from 1 to 6, with 6 having the highest payout rate, and the smaller the value in the order of 5, 4, 3, 2, 1 the lower the payout rate. That is, when 6 is set as the set value, the advantage is highest for the player, and the smaller the value in the order of 5, 4, 3, 2, 1 is, the lower the advantage is.

設定値を変更するためには、設定キースイッチ37をon状態としてからスロットマシン1の電源をonする必要がある。設定キースイッチ37をon状態として電源をonすると、設定値表示器24にRAM41cから読み出された設定値が表示値として表示され、リセット/設定スイッチ38の操作による設定値の変更が可能な設定変更状態に移行する。設定変更状態において、リセット/設定スイッチ38が操作されると、設定値表示器24に表示された表示値が1ずつ更新されていく(設定値6からさらに操作されたときは、設定値1に戻る)。そして、スタートスイッチ7が操作されると表示値を設定値として確定する。そして、設定キースイッチ37がoffされると、確定した表示値(設定値)がメイン制御部41のRAM41cに格納され、遊技の進行が可能な状態に移行する。 In order to change the set value, it is necessary to turn on the power of the slot machine 1 after turning on the setting key switch 37. When the power is turned on with the setting key switch 37 turned on, the setting value read from the RAM 41c is displayed as a display value on the setting value display 24, and the setting value can be changed by operating the reset / setting switch 38. Move to the changed state. When the reset / setting switch 38 is operated in the setting change state, the display value displayed on the setting value display 24 is updated by 1 (when the setting value 6 is further operated, the setting value is changed to 1). return). Then, when the start switch 7 is operated, the display value is fixed as the set value. Then, when the setting key switch 37 is turned off, the confirmed display value (setting value) is stored in the RAM 41c of the main control unit 41, and the game shifts to a state in which the game can proceed.

本実施例のスロットマシン1は、遊技状態に応じて設定可能な賭数の規定数が定められており、遊技状態に応じて定められた規定数の賭数が設定されたことを条件にゲームを開始させることが可能となる。尚、本実施例では、遊技状態に応じた規定数の賭数が設定された時点で、入賞ラインLNが有効化される。 In the slot machine 1 of the present embodiment, a specified number of bets that can be set according to the gaming state is determined, and the game is provided on the condition that the specified number of bets is set according to the gaming state. Can be started. In this embodiment, the winning line LN is activated when a predetermined number of bets are set according to the gaming state.

入賞ラインとは、各リール2L、2C、2Rの透視窓3に表示された図柄の組合せが入賞図柄の組合せであるかを判定するために設定されるラインである。本実施例では、図1に示すように、リール2Lの中段、リール2Cの中段、リール2Rの中段、すなわち中段に水平方向に並んだ図柄に跨がって設定された入賞ラインLNのみが入賞ラインとして定められている。尚、本実施例では、1本の入賞ラインのみを適用しているが、複数の入賞ラインを適用しても良い。 The winning line is a line set to determine whether the combination of symbols displayed on the perspective windows 3 of the reels 2L, 2C, and 2R is a combination of winning symbols. In this embodiment, as shown in FIG. 1, only the winning line LN set across the symbols arranged horizontally in the middle stage of the reel 2L, the middle stage of the reel 2C, and the middle stage of the reel 2R, that is, the middle stage, wins a prize. It is defined as a line. In this embodiment, only one winning line is applied, but a plurality of winning lines may be applied.

そして、本実施例では、全てのリール2L、2C、2Rが停止した際に、有効化された入賞ライン(本実施例の場合、常に入賞ラインLNが有効化されるため、以下では、有効化された入賞ラインLNを単に入賞ラインという)上に役と呼ばれる図柄の組合せが揃うと入賞となる。役は、同一図柄の組合せであっても良いし、異なる図柄を含む組合せであっても良い。 Then, in this embodiment, the winning line that is activated when all the reels 2L, 2C, and 2R are stopped (in the case of this embodiment, the winning line LN is always enabled, so that it is enabled in the following. The winning line LN is simply called the winning line), and a winning combination is obtained when a combination of symbols called a role is aligned. The combination may be a combination of the same symbols or a combination including different symbols.

本実施例のスロットマシン1においてゲームを行う場合には、まず、メダルをメダル投入部4から投入するか、あるいはMAXBETスイッチ6を操作してクレジットを使用して賭数を設定する。遊技状態に応じて定められた規定数の賭数が設定されると、入賞ラインLN(図1参照)が有効となり、スタートスイッチ7の操作が有効な状態、すなわち、ゲームが開始可能な状態となる。尚、遊技状態に対応する規定数のうち最大数を超えてメダルが投入された場合には、その分はクレジットに加算される。 When playing a game on the slot machine 1 of this embodiment, first, a medal is inserted from the medal insertion unit 4, or a MAXBET switch 6 is operated to set a bet number using credits. When the specified number of bets determined according to the game state is set, the winning line LN (see FIG. 1) becomes valid, and the operation of the start switch 7 is valid, that is, the game can be started. Become. If more than the maximum number of medals are inserted out of the specified number corresponding to the gaming state, the amount will be added to the credit.

ゲームが開始可能な状態でスタートスイッチ7を操作すると、各リール2L、2C、2Rが回転され、各リール2L、2C、2Rの図柄が連続的に変動される。リール2L、2C、2Rが回転されている状態で、いずれかのストップスイッチ8L、8C、8Rを操作すると、対応するリール2L、2C、2Rの回転が停止され、当該リールの図柄が透視窓3に表示結果として導出表示される。 When the start switch 7 is operated while the game can be started, the reels 2L, 2C, and 2R are rotated, and the symbols of the reels 2L, 2C, and 2R are continuously changed. When any of the stop switches 8L, 8C, 8R is operated while the reels 2L, 2C, and 2R are rotated, the rotation of the corresponding reels 2L, 2C, and 2R is stopped, and the design of the reel is the see-through window 3. It is derived and displayed as a display result.

そして全てのリール2L、2C、2Rが停止されることで1ゲームが終了し、入賞ラインLN上に予め定められた図柄の組合せ(以下、役ともいう)が各リール2L、2C、2Rの表示結果として停止した場合には入賞が発生し、その入賞に応じて定められた枚数のメダルが遊技者に対して付与され、クレジットに加算される。また、クレジットが上限数(本実施例では50)に達した場合には、メダルが直接メダル払出口9(図1参照)から払い出されるようになっている。また、入賞ラインLN上に、遊技状態の移行を伴う図柄の組合せが各リール2L、2C、2Rの表示結果として停止した場合には図柄の組合せに応じた遊技状態に移行するようになっている。 When all reels 2L, 2C, and 2R are stopped, one game ends, and a predetermined combination of symbols (hereinafter, also referred to as a combination) on the winning line LN is displayed for each reel 2L, 2C, and 2R. If the game is stopped as a result, a prize will be awarded, and a number of medals determined according to the prize will be given to the player and added to the credit. Further, when the credit reaches the upper limit (50 in this embodiment), the medal is directly paid out from the medal payout exit 9 (see FIG. 1). Further, when the combination of symbols accompanied by the transition of the gaming state stops on the winning line LN as a display result of each reel 2L, 2C, 2R, the combination of symbols is shifted to the gaming state according to the combination of symbols. ..

入賞となる役の種類は、遊技状態に応じて定められ、メダルの払い出しを伴う小役と、賭数の設定を必要とせずに次のゲームを開始可能となる再遊技役と、遊技者にとって有利な遊技状態への移行を伴う特別役と、がある。以下では、小役と再遊技役をまとめて一般役とも呼ぶ。遊技状態に応じて定められた各役の入賞が発生するためには、内部抽選に当選して、当該役の当選フラグが設定されている必要がある。内部抽選は、メイン制御部41が、上記した各役への入賞を許容するか否かを、全てのリール2L、2C、2Rの表示結果が導出される以前(具体的には、スタートスイッチ7の検出時)に乱数を用いて決定するものである。 The type of winning combination is determined according to the game status, and for the player, a small role that involves paying out medals, a replaying role that allows the next game to be started without the need to set the number of bets, and a player. There is a special role that accompanies the transition to a favorable gaming state. In the following, the small role and the replaying role are collectively referred to as the general role. In order for each winning combination determined according to the gaming state to be won, it is necessary to win the internal lottery and set the winning flag for the winning combination. In the internal lottery, whether or not the main control unit 41 allows the winning of each of the above-mentioned combinations is before the display results of all reels 2L, 2C, and 2R are derived (specifically, the start switch 7). It is determined by using a random number at the time of detection).

尚、本実施例では、スタートスイッチ7の操作が有効な状態でスタートスイッチ7の操作が検出されたときにゲームが開始し、全てのリールが停止したときにゲームが終了する。また、ゲームを実行するための1単位の制御(ゲーム制御)は、前回のゲームの終了に伴う全ての制御が完了したときに開始し、当該ゲームの終了に伴う全ての制御が完了したときに終了する。 In this embodiment, the game starts when the operation of the start switch 7 is detected while the operation of the start switch 7 is valid, and the game ends when all the reels are stopped. In addition, one unit of control for executing the game (game control) starts when all the controls associated with the end of the previous game are completed, and when all the controls associated with the end of the game are completed. finish.

[メイン制御部のメモリ領域とプログラムについて]
本実施例のメイン制御部41は、上述のようにROM41b、RAM41cを備え、ROM41bのメモリ領域には、プログラム及び固定データが予め記憶されているプログラム/データ領域が含まれ、RAM41cのメモリ領域には、ワークとして使用可能な使用可能領域と、メイン制御部41に搭載されている各機能を制御するためのレジスタ群が格納される内部機能レジスタ領域とが含まれる。
[About the memory area and program of the main control unit]
As described above, the main control unit 41 of the present embodiment includes the ROM 41b and the RAM 41c, and the memory area of the ROM 41b includes a program / data area in which a program and fixed data are stored in advance, and the memory area of the RAM 41c includes a program / data area. Includes a usable area that can be used as a work, and an internal function register area in which a group of registers for controlling each function mounted on the main control unit 41 is stored.

ROM41bにおけるプログラム/データ領域は、遊技の進行に係わる遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムが用いる遊技データが記憶される遊技データ領域と、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、非遊技プログラムが用いる非遊技データが記憶される非遊技データ領域と、を含む。 The program / data area in the ROM 41b stores a game program area in which a game program related to the progress of the game is stored, a game data area in which the game data used by the game program is stored, and a non-game program not related to the progress of the game. It includes a non-game program area to be played and a non-game data area in which non-game data used by the non-game program is stored.

尚、遊技の進行とは、遊技を構成する一連のプロセスを進行させることであり、スロットマシンであれば、賭数を設定してゲームを開始可能とする段階、ゲームを開始してリールを回転させる段階、リールを停止させて表示結果を導出させる段階、表示結果に応じてメダル等の価値を付与する段階、を進行させることである。 The progress of the game is to proceed with a series of processes constituting the game, and if it is a slot machine, the stage where the bet number is set and the game can be started, the game is started and the reel is rotated. The stage of causing the reel to be stopped, the stage of deriving the display result, and the stage of giving the value of a medal or the like according to the display result are advanced.

RAM41cの使用可能領域は、遊技プログラムがワークとして用いる遊技RAM領域と、非遊技プログラムがワークとして用いる非遊技RAM領域と、を含んでおり、遊技RAM領域には、特別ワークと、重要ワークと、一般ワークと、遊技プログラムがデータを退避する遊技スタック領域と、が含まれ、非遊技RAM領域には、遊技プログラムが参照可能な領域と、遊技プログラムが参照不可能な領域と、非遊技プログラムがデータを退避する非遊技スタック領域と、が含まれる。尚、本実施例では、遊技スタック領域と非遊技スタック領域とをそれぞれ異なる領域に個別に備える構成であるが、遊技プログラム及び非遊技プログラムが共用する一のスタック領域を備える構成としても良い。 The usable area of the RAM 41c includes a game RAM area used as a work by the game program and a non-game RAM area used as a work by the non-game program, and the game RAM area includes a special work, an important work, and an important work. The general work and the game stack area in which the game program saves data are included, and the non-game RAM area includes an area in which the game program can be referred, an area in which the game program cannot be referred, and a non-game program. A non-game stack area for saving data and a non-game stack area are included. In this embodiment, the game stack area and the non-game stack area are individually provided in different areas, but a configuration in which one stack area shared by the game program and the non-game program may be provided may be provided.

以下では、遊技プログラム領域、遊技データ領域及び遊技RAM領域をまとめて遊技領域と称す場合があり、非遊技プログラム領域、非遊技データ領域及び非遊技RAM領域をまとめて非遊技領域と称す場合がある。 In the following, the game program area, the game data area, and the game RAM area may be collectively referred to as a game area, and the non-game program area, the non-game data area, and the non-game RAM area may be collectively referred to as a non-game area. ..

本実施例においてメイン制御部41のメインCPU41aは、図3に示すように、遊技プログラムに基づく処理において非遊技プログラムを呼び出して非遊技プログラムに基づく処理を実行し、非遊技プログラムに基づく処理の終了後、遊技プログラムに基づく処理に復帰する。 In this embodiment, as shown in FIG. 3, the main CPU 41a of the main control unit 41 calls the non-game program in the process based on the game program, executes the process based on the non-game program, and ends the process based on the non-game program. After that, it returns to the processing based on the game program.

図3に示すように、メインCPU41aは、原則として遊技プログラムに基づく処理を実行するにあたり、遊技データ領域の遊技データを参照して遊技プログラムに基づく処理を実行するとともに、遊技RAM領域をワークとして使用し、遊技RAM領域の内容を参照及び更新することが可能である。また、メインCPU41aは、原則として非遊技プログラムに基づく処理を実行するにあたり、非遊技データ領域の遊技データを参照して非遊技プログラムに基づく処理を実行するとともに、非遊技RAM領域をワークとして使用し、非遊技RAM領域の内容を参照及び更新することが可能である。 As shown in FIG. 3, when executing the process based on the game program in principle, the main CPU 41a executes the process based on the game program with reference to the game data in the game data area, and uses the game RAM area as a work. However, it is possible to refer to and update the contents of the game RAM area. Further, in principle, when the main CPU 41a executes the process based on the non-game program, the main CPU 41a executes the process based on the non-game program with reference to the game data in the non-game data area, and uses the non-game RAM area as a work. , It is possible to refer to and update the contents of the non-gaming RAM area.

また、メインCPU41aは、遊技プログラムに基づく処理を実行するにあたり、非遊技データ領域を参照することはなく、非遊技RAM領域を更新することはないが、非遊技RAM領域を参照することは可能であり、非遊技プログラムに基づく処理を実行するにあたり、遊技データ領域を参照することはなく、遊技RAM領域を更新することはないが、遊技RAM領域を参照することは可能である。 Further, the main CPU 41a does not refer to the non-game data area and does not update the non-game RAM area when executing the process based on the game program, but it is possible to refer to the non-game RAM area. Yes, in executing the process based on the non-game program, the game data area is not referred to and the game RAM area is not updated, but the game RAM area can be referred to.

また、遊技プログラムに基づく処理は、非遊技RAM領域のうち遊技プログラムに必要な特定の領域(例えば、異常の検知を示すエラーフラグの設定領域等)のみ参照可能とされており、非遊技プログラムに基づく処理は、遊技RAM領域のうち非遊技プログラムに必要な特定の領域(例えば、内部当選フラグの設定領域、遊技状態の設定領域、RTの設定領域等)のみ参照可能とされている。 Further, in the processing based on the game program, only a specific area required for the game program (for example, an error flag setting area indicating abnormality detection) can be referred to in the non-game RAM area, and the non-game program can be used. The processing based on the game RAM area can be referred only to a specific area required for the non-game program (for example, an internal winning flag setting area, a game state setting area, an RT setting area, etc.).

次に、メイン制御部41が遊技プログラム及び非遊技プログラムを実行することで行う各種処理の制御内容について、図4~図9に基づいて説明する。 Next, the control contents of various processes performed by the main control unit 41 by executing the game program and the non-game program will be described with reference to FIGS. 4 to 9.

[メイン制御部41が実行する起動時設定処理と初期設定処理について]
メイン制御部41が行う起動時設定処理と初期設定処理について、図4に基づいて説明する。起動時設定処理、初期設定処理は、遊技プログラムに含まれるサブルーチンである。
[About startup setting processing and initial setting processing executed by the main control unit 41]
The startup setting process and the initial setting process performed by the main control unit 41 will be described with reference to FIG. The startup setting process and the initial setting process are subroutines included in the game program.

メイン制御部41は、スロットマシン1への電力供給が開始された際に、リセットの発生によりタイマ割込みが禁止に設定された状態で起動し、ROM41bに格納されているプログラムに従って各種処理を行う。起動した後は、まず、遊技プログラムに含まれる起動時設定処理を行って、すべての出力ポートを初期化し、メイン制御部41が備える内部レジスタをROM41bの所定領域に予め設定されている内蔵レジスタ初期化テーブルに基づいて初期化する。そして、起動時設定処理を終了させた後、タイマ割込みを禁止に設定した状態で、遊技プログラムに含まれる初期設定処理を開始させる。 When the power supply to the slot machine 1 is started, the main control unit 41 starts up in a state where the timer interrupt is set to be disabled due to the occurrence of a reset, and performs various processes according to the program stored in the ROM 41b. After starting, first, the startup setting process included in the game program is performed to initialize all the output ports, and the internal register provided in the main control unit 41 is initially set in the predetermined area of the ROM 41b. Initialize based on the conversion table. Then, after terminating the startup setting process, the initial setting process included in the game program is started with the timer interrupt set to be disabled.

図5に示すように、初期設定処理では、まず、RAM41cの所定領域のパリティ等に基づいてRAM41cが正常であるか否かを診断するRAM診断処理を行う(Sa1)。 As shown in FIG. 5, in the initial setting process, first, a RAM diagnostic process for diagnosing whether or not the RAM 41c is normal is performed based on the parity of a predetermined area of the RAM 41c (Sa1).

RAM診断処理では、RAM41cの所定領域のパリティや、前回のスロットマシン1への電力供給が停止されたときにRAM41cの所定領域に設定されたRAM破壊診断用固定データに基づき、RAM41cに異常があるか否かを判定する。そして、当該判定の結果を特定可能な診断結果データをRAM41cの所定領域に設定して、RAM診断処理を終了する。 In the RAM diagnosis process, there is an abnormality in the RAM 41c based on the parity of the predetermined area of the RAM 41c and the fixed data for RAM destruction diagnosis set in the predetermined area of the RAM 41c when the power supply to the slot machine 1 was stopped last time. Judge whether or not. Then, the diagnosis result data that can specify the result of the determination is set in the predetermined area of the RAM 41c, and the RAM diagnosis process is terminated.

Sa1のステップにおいてRAM診断処理を行った後、所定の入力ポートを参照して、設定キースイッチ37がON状態であるか否かを判定する(Sa2)。そして、設定キースイッチ37がON状態でないと判定した場合は、Sa1のステップにおけるRAM診断処理により設定された診断結果データに基づいてRAM41cに異常があるか否かを判定して(Sa3)、RAM41cに異常がないと判定した場合は、復帰処理を行う(Sa4)。 After performing the RAM diagnostic processing in the step of Sa1, it is determined whether or not the setting key switch 37 is in the ON state with reference to a predetermined input port (Sa2). When it is determined that the setting key switch 37 is not in the ON state, it is determined whether or not there is an abnormality in the RAM 41c based on the diagnosis result data set by the RAM diagnosis process in the step of Sa1 (Sa3), and the RAM 41c is determined. If it is determined that there is no abnormality in, a return process is performed (Sa4).

復帰処理では、外部出力基板から外部出力信号を出力するための出力バッファをクリアする処理、スタックポインタを電断時の状態に復帰させる処理、パラレル入力ポート511に入力される各種スイッチ類の検出信号等の入力状態に関する入力状態データ(各種スイッチ類の現在の入力状態を示す入力データ、前回と今回の入力データが同じ状態である旨を示す確定データ、前回から確定データが変化した旨を示すエッジデータ)を更新する処理、電断前の制御状態に復帰した旨を示す復帰コマンドをサブ制御部91に送信する処理等を行う。 In the recovery process, the process of clearing the output buffer for outputting the external output signal from the external output board, the process of returning the stack pointer to the state at the time of power failure, and the detection signals of various switches input to the parallel input port 511. Input status data related to input status such as (input data indicating the current input status of various switches, confirmed data indicating that the previous and current input data are in the same state, edge indicating that the confirmed data has changed from the previous time. The process of updating the data), the process of transmitting a return command indicating that the control state before the power failure has been restored to the sub-control unit 91, and the like are performed.

Sa4のステップにおいて復帰処理を行った後は、タイマ割込みを許可に設定して(Sa5)、初期設定処理を終了させ、タイマ割込処理(メイン)に移行させた後、スロットマシン1への電力供給が停止される前に実行していたメイン処理における処理に復帰する。 After performing the return processing in the step of Sa4, the timer interrupt is set to enable (Sa5), the initial setting processing is terminated, the process is shifted to the timer interrupt processing (main), and then the power to the slot machine 1 is supplied. It returns to the processing in the main processing that was executed before the supply was stopped.

一方、Sa3のステップにおいて、RAM41cに異常があると判定した場合は、タイマ割込みを許可に設定した後(Sa6)、エラー処理に移行させる(Sa7)。 On the other hand, if it is determined in the step of Sa3 that there is an abnormality in the RAM 41c, the timer interrupt is set to enable (Sa6), and then the process proceeds to error processing (Sa7).

エラー処理では、遊技の進行を不能化するエラー状態に制御する。また、発生しているエラーの種類を特定可能なエラーコードをサブ制御部91に対して送信するとともに、当該エラーコードを遊技補助表示器12に表示させるように制御する。そして、発生しているエラーの種類に応じたエラー状態の解除条件が成立したことが特定されるまでエラー状態の制御を行う。初期設定処理においてRAMに異常があると判定されたことにより移行されたエラー処理では、設定キースイッチ37をONにした状態でスロットマシン1への電力供給を開始させることによって設定変更状態に移行させ、RAM41cのすべての記憶領域を初期化させることで、RAM41cのデータの異常を確実に解消してエラー状態を解除することができるようになっている。一方、設定キースイッチ37をON状態にせずにスロットマシン1への電力供給を開始させた場合には、RAM41cの異常が再び検出されて、再度、エラー状態となるようになっている。 In the error processing, the error state that makes the progress of the game impossible is controlled. Further, an error code that can specify the type of the error that has occurred is transmitted to the sub control unit 91, and the error code is controlled to be displayed on the game auxiliary display 12. Then, the error state is controlled until it is specified that the error state release condition according to the type of the error occurring is satisfied. In the error processing that was migrated because it was determined that there was an error in the RAM in the initial setting processing, the setting was shifted to the setting change state by starting the power supply to the slot machine 1 with the setting key switch 37 turned on. By initializing all the storage areas of the RAM 41c, it is possible to surely eliminate the abnormality of the data of the RAM 41c and cancel the error state. On the other hand, when the power supply to the slot machine 1 is started without turning on the setting key switch 37, the abnormality of the RAM 41c is detected again, and the error state is reached again.

Sa2のステップにおいて設定キースイッチ37がON状態であると判定した場合は、設定値変更処理を開始して設定変更状態に移行させる(Sa8)。 If it is determined in the step of Sa2 that the setting key switch 37 is in the ON state, the setting value change process is started to shift to the setting change state (Sa8).

設定値変更処理では、遊技場側にて設定値を変更することが可能な設定変更状態に移行させる。そして、設定変更状態において、リセット/設定スイッチ38及びスタートスイッチ7が所定の手順で操作されることにより設定値を確定させ、設定キースイッチ37がOFFにされたことが検出されることで、設定値変更処理を終了させる。 In the setting value change process, the setting value is changed to a setting change state in which the setting value can be changed on the playground side. Then, in the setting change state, the reset / setting switch 38 and the start switch 7 are operated in a predetermined procedure to fix the set value, and it is detected that the setting key switch 37 is turned off, so that the setting is made. End the value change process.

Sa8のステップにおいて、設定変更処理を行った後は、設定変更時の初期化処理を行う(Sa9)。設定変更時の初期化処理では、設定変更処理が行われて設定値が確定されたことに伴って、RAM41cのメモリ領域のうち、確定された設定値が記憶されている所定領域を除くすべての使用可能領域を初期化する。当該使用可能領域の初期化により、メイン制御部41による遊技の進行に関する制御状態を含む所定データが予め定められた所定の初期値に再設定(初期化)されることとなる。尚、遊技の進行に関する制御状態には、後述する遊技開始待ち処理などの各処理においてエラーが検出された場合に制御されるエラー状態が含まれる。 In the step of Sa8, after the setting change processing is performed, the initialization processing at the time of setting change is performed (Sa9). In the initialization process at the time of setting change, all the memory areas of the RAM 41c except the predetermined area in which the determined setting value is stored are all along with the setting change processing being performed and the setting value being determined. Initialize the available area. By initializing the usable area, predetermined data including the control state regarding the progress of the game by the main control unit 41 is reset (initialized) to a predetermined predetermined initial value. The control state related to the progress of the game includes an error state that is controlled when an error is detected in each process such as the game start waiting process described later.

そして、Sa9のステップにおいて、設定変更時の初期化処理を行った後は、メイン処理に移行させ、メイン処理の先頭のステップの処理(Sb1のステップにおける遊技開始待ち処理)から各処理を順次行わせる。 Then, in the step of Sa9, after the initialization process at the time of setting change is performed, the process is shifted to the main process, and each process is sequentially performed from the process of the first step of the main process (the process of waiting for the game start in the step of Sb1). Let me.

このように、本実施例のメイン制御部41は、設定キースイッチ37がON状態でスロットマシン1への電力供給が開始されることで、初期設定処理設定において設定キースイッチ37がON状態であると判定した場合に、設定変更処理を行うようになっている。 As described above, in the main control unit 41 of the present embodiment, the setting key switch 37 is in the ON state in the initial setting processing setting by starting the power supply to the slot machine 1 in the ON state. When it is determined that, the setting change process is performed.

そして、設定変更処理に移行させ、設定変更操作が行われることで初期化条件が成立したときに、設定変更時の初期化処理を行って、設定変更処理により確定された設定値が記憶されている所定領域を除くすべての使用可能領域を初期化することで、RAM41cに記憶されているエラー状態を含む遊技の進行に関する制御状態を初期化するようになっている。 Then, when the initialization condition is satisfied by shifting to the setting change processing and performing the setting change operation, the initialization processing at the time of setting change is performed, and the setting value confirmed by the setting change processing is stored. By initializing all the usable areas except the predetermined area, the control state regarding the progress of the game including the error state stored in the RAM 41c is initialized.

また、設定変更処理に移行させ、エラー状態を含む遊技の進行に関する制御状態を初期化した後は、メイン処理の先頭の処理に移行させるようになっている。 Further, after shifting to the setting change process and initializing the control state related to the progress of the game including the error state, the process is shifted to the first process of the main process.

また、初期設定処理では、設定変更処理に移行して設定変更操作が行われることで、初期化条件が成立し、メダルの投入や払出に関する異常が発生しているか否かに関わらず、RAM41cに記憶されている遊技の進行に関する制御状態を初期化するようになっている。 Further, in the initial setting process, the initialization condition is satisfied by shifting to the setting change process and performing the setting change operation, and the RAM 41c is set regardless of whether or not an abnormality related to the insertion or withdrawal of medals has occurred. The control state regarding the progress of the stored game is initialized.

[メイン処理について]
メイン制御部41が行うメイン処理の制御内容について、図5に基づいて説明する。尚、メイン処理は、一単位の遊技毎に繰り返し実行される。そして、メイン処理の一周期が遊技の一単位に相当している。また、メイン処理は、遊技プログラムに含まれ、複数の処理を含む。以下、特に非遊技プログラムに含まれる旨を示さない処理は、遊技プログラムに含まれる。尚、遊技プログラムにより呼び出される遊技プログラムには、非遊技プログラムを呼び出すものもある。
[About main processing]
The control content of the main process performed by the main control unit 41 will be described with reference to FIG. The main process is repeatedly executed for each unit of game. And one cycle of the main process corresponds to one unit of the game. Further, the main process is included in the game program and includes a plurality of processes. Hereinafter, processes not particularly indicated to be included in the non-game program are included in the game program. Some of the game programs called by the game program call non-game programs.

図5に示すように、メイン処理では、遊技が開始されるまで待機する遊技開始待ち処理(Sb1)、遊技が開始されることに伴って内部抽選を行う内部抽選処理(Sb2)、リール2L、2C、2Rを回転及び停止させる制御を行うリール制御処理(Sb3)、全てのリール2L、2C、2Rが停止されて遊技が終了される際に各種設定等を行う遊技終了時設定処理(Sb4)が、順次繰り返し実行される。 As shown in FIG. 5, in the main processing, a game start waiting process (Sb1) that waits until the game is started, an internal lottery process (Sb2) that performs an internal lottery with the start of the game, a reel 2L, Reel control process (Sb3) that controls the rotation and stop of 2C and 2R, and game end setting process (Sb4) that makes various settings when all reels 2L, 2C and 2R are stopped and the game ends. However, it is executed repeatedly in sequence.

また、メイン処理では、ゲームの進行に応じてコマンドを生成してコマンドキューに設定するコマンド格納処理を適宜実行し、設定されたコマンドは、その後のタイマ割込処理(メイン)において実行されるコマンド送信処理によりサブ制御部91に対して送信されるようになっている。 In the main process, the command storage process that generates a command and sets it in the command queue according to the progress of the game is executed as appropriate, and the set command is the command executed in the subsequent timer interrupt process (main). It is configured to be transmitted to the sub-control unit 91 by the transmission process.

[遊技開始待ち処理について]
次に、本実施例のメイン制御部41が行う遊技開始待ち処理の制御内容について、図6に基づいて説明する。尚、遊技開始待ち処理は、遊技プログラムに含まれており、遊技プログラムに含まれるメイン処理において呼び出されるサブルーチンである。
[About the game start waiting process]
Next, the control content of the game start waiting process performed by the main control unit 41 of this embodiment will be described with reference to FIG. The game start waiting process is included in the game program and is a subroutine called in the main process included in the game program.

図6に示すように、遊技開始待ち処理では、まず、メダル投入枚数表示処理を行い(Sc1)、スロットマシン1に投入済みのメダル枚数に応じた1~3BETLED14~16をON状態(点灯状態)に制御する。その後、ホッパータンクが満タン状態である旨を特定可能なエラーコード(E1)を所定のレジスタに準備し(Sc2)、所定のポート入力バッファを参照して、満タンセンサ35aの確定データに基づいてホッパータンクが満タン状態であるか否かを判定する(Sc3)。 As shown in FIG. 6, in the game start waiting process, first, the medal insertion number display process is performed (Sc1), and 1 to 3 BETLEDs 14 to 16 according to the number of medals already inserted into the slot machine 1 are turned on (lighting state). To control. After that, an error code (E1) that can identify that the hopper tank is full is prepared in a predetermined register (Sc2), and with reference to a predetermined port input buffer, based on the confirmed data of the full tank sensor 35a. It is determined whether or not the hopper tank is full (Sc3).

Sc3のステップにおいてホッパータンクが満タン状態であると判定した場合には、エラー処理を行う(Sc4)。エラー処理では、遊技の進行が不能化されるエラー状態に制御する。また、所定のレジスタに準備されているエラーコード(E1)を特定可能なエラーコマンドをサブ制御部91に対して送信し、当該エラーコード(E1)をRAM41cの所定領域にその他の処理でも参照可能なエラーフラグとして設定する。また、当該エラーコード(E1)を遊技補助表示器12に表示させるように制御する。その後は、所定のレジスタに準備されているエラーコード(E1)に応じたエラー状態の解除条件が成立したことが特定されるまでエラー状態の制御を行う。エラーコード(E1)がレジスタに設定されてエラー状態に移行された場合には、満タンセンサ35aの確定データがOFF状態となるまで待機し、当該満タンセンサ35aの確定データがOFF状態となることで、エラー状態を解除する旨のエラーコマンド(解除)をサブ制御部91に対して送信し、エラー処理を終了させて、Sc5のステップへ進む。 If it is determined in the step of Sc3 that the hopper tank is full, error processing is performed (Sc4). In error processing, control is performed in an error state in which the progress of the game is disabled. Further, an error command capable of specifying an error code (E1) prepared in a predetermined register is transmitted to the sub-control unit 91, and the error code (E1) can be referred to in a predetermined area of the RAM 41c by other processing. Set as an error flag. Further, the error code (E1) is controlled to be displayed on the game assist display 12. After that, the error state is controlled until it is specified that the error state release condition corresponding to the error code (E1) prepared in the predetermined register is satisfied. When the error code (E1) is set in the register and the state shifts to the error state, the process waits until the confirmed data of the full tank sensor 35a is turned off, and the confirmed data of the full tank sensor 35a is turned off. , An error command (cancellation) to cancel the error state is transmitted to the sub control unit 91, the error processing is terminated, and the process proceeds to the Sc5 step.

Sc3のステップにおいてホッパータンクが満タン状態でないと判定した場合、及びSc4のステップにおけるエラー処理を終了した場合には、RAM41cの所定領域に設定されている再遊技用メダルカウンタの値を所定のレジスタに読み込む(Sc5)。尚、再遊技用メダルカウンタには、メイン処理における前回の遊技終了時設定処理により、前回の遊技の結果に応じた値が設定されており、前回の遊技において再遊技役が入賞して再遊技が付与された場合には、遊技を行うために必要な賭数の規定数に相当する数値(例えば、3)が設定されている一方で、前回の遊技において再遊技が付与されなかった場合には、0が設定されている。 When it is determined in the Sc3 step that the hopper tank is not full, or when the error processing in the Sc4 step is completed, the value of the replay medal counter set in the predetermined area of the RAM 41c is set to a predetermined register. Read into (Sc5). In the re-game medal counter, a value corresponding to the result of the previous game is set by the setting process at the end of the previous game in the main process, and the re-game combination wins the re-game in the previous game. Is given, when a numerical value (for example, 3) corresponding to the specified number of bets required to play the game is set, but the re-game is not given in the previous game. Is set to 0.

その後、RAM41cの再遊技用メダルカウンタをクリアし(Sc6)、Sc5のステップにおいて読み込んだ再遊技用メダルカウンタの値が0より大きいか否か、すなわち再遊技が付与されている否かを判定し(Sc7)、再遊技が付与されている場合には、メダル投入実行処理を行う(Sc8)。メダル投入実行処理では、再遊技用メダルカウンタの値を賭数に設定するとともに、1~3BETLED14~16をON状態(点灯状態)に設定して規定数の賭数(本実施例では、3)が設定されている旨を報知する。また、賭数の設定に使用されたメダル枚数を特定可能な投入枚数コマンドをサブ制御部91に対して送信する。 After that, the replay medal counter of the RAM 41c is cleared (Sc6), and it is determined whether or not the value of the replay medal counter read in the step of Sc5 is larger than 0, that is, whether or not the replay is granted. (Sc7) If a replay is granted, a medal insertion execution process is performed (Sc8). In the medal insertion execution process, the value of the medal counter for replay is set as the bet number, and the 1 to 3 BETLEDs 14 to 16 are set to the ON state (lighting state) and the specified number of bets (3 in this embodiment). Notifies that is set. Further, a command for the number of inserted medals that can specify the number of medals used to set the number of bets is transmitted to the sub-control unit 91.

Sc7のステップにおいて再遊技用メダルカウンタの値が0である、すなわち再遊技が付与されていないと判定した場合、及びSc8のステップにおいて再遊技が付与されたことによりメダル投入実行処理を行った後は、メダル手入れ許可設定処理を行う(Sc9)。メダル手入れ許可設定処理では、RAM41cの所定領域に設定されているクレジットの値を参照し、当該クレジットの値が最大値(本実施例では、50)に達していない場合に、メダル投入部4からのメダルの投入を許可する旨を示すメダル手入れ許可フラグをRAM41cの所定領域に設定する。 When it is determined that the value of the medal counter for replay is 0 in the step of Sc7, that is, the replay is not given, and after the medal insertion execution process is performed because the replay is given in the step of Sc8. Performs a medal care permission setting process (Sc9). In the medal care permission setting process, the value of the credit set in the predetermined area of the RAM 41c is referred to, and when the value of the credit does not reach the maximum value (50 in this embodiment), the medal insertion unit 4 starts. A medal care permission flag indicating that the medal of the above is permitted to be inserted is set in a predetermined area of the RAM 41c.

Sc9のステップにおいてメダル手入れ許可設定処理を行った後は、割込み1回待ち処理を行う(Sc10)。割込み1回待ち処理を行うことで、タイマ割込み処理(メイン)が行われて各種スイッチ類の検出状態やLEDの点灯状態、各種タイマ等が更新されることとなり、これらの各種スイッチ類の検出状態が更新された状態で、その後の処理(例えば、後述のメダル投入払出エラーチェック処理、メダル投入信号処理、操作入力受付処理)を行わせるようになっている。 After performing the medal care permission setting process in the step of Sc9, the process of waiting for one interrupt is performed (Sc10). By performing one interrupt wait processing, timer interrupt processing (main) is performed and the detection status of various switches, the lighting status of LEDs, various timers, etc. are updated, and the detection status of these various switches is updated. Is updated, and subsequent processing (for example, medal insertion / withdrawal error check processing, medal insertion signal processing, operation input reception processing, which will be described later) is performed.

Sc10のステップにおいて割込み1回待ち処理を行ってタイマ割込みが1回行われた後は、メダル投入部4からのメダルの投入に関する異常やホッパーからのメダルの払い出しに関する異常が検出されているか否かを判定するメダル投入払出エラーチェック処理を行う(Sc11)。 After the interrupt wait process is performed once in the Sc10 step and the timer interrupt is performed once, whether or not an abnormality related to medal insertion from the medal insertion unit 4 or an abnormality related to medal payout from the hopper is detected. Performs medal insertion / withdrawal error check processing (Sc11).

メダル投入払出エラーチェック処理では、後述するタイマ割込処理によりRAM41cの所定領域に投入エラーフラグや払出エラーフラグが設定されているか否かに基づいて、メダルの投入や払出に関する異常が発生しているか否かを判定し、メダルの投入に関する異常が発生していると判定した場合は、メダルの投入に関する異常が発生している旨を示すエラーコード(E5)を所定のレジスタに準備するとともに、エラー処理が実行する旨を特定可能なエラー実行フラグをRAM41cの所定領域に設定して、エラー処理を行う。また、メダルの払出に関する異常が発生していると判定した場合は、メダルの払出に関する異常が発生している旨を示すエラーコード(E4)を所定のレジスタに準備するとともに、エラー処理が実行する旨を特定可能なエラー実行フラグをRAM41cの所定領域に設定して、エラー処理を行う。 In the medal insertion / withdrawal error check process, is there an abnormality related to the insertion / withdrawal of medals based on whether or not the insertion error flag and the withdrawal error flag are set in the predetermined area of the RAM 41c by the timer interrupt processing described later? If it is determined whether or not an error has occurred regarding the insertion of a medal, an error code (E5) indicating that an abnormality has occurred regarding the insertion of a medal is prepared in a predetermined register, and an error occurs. An error execution flag that can specify that the process is executed is set in a predetermined area of the RAM 41c, and the error process is performed. If it is determined that an abnormality related to medal payout has occurred, an error code (E4) indicating that an abnormality related to medal payout has occurred is prepared in a predetermined register, and error processing is executed. An error execution flag that can specify the effect is set in a predetermined area of the RAM 41c, and error processing is performed.

投入エラーフラグは、メダルの投入に関する異常が発生している旨を示すフラグであり、後述するセンサ監視処理により、後述のメダル手入れ許可フラグが設定されていない期間、すなわちメダル投入部4からのメダルの投入が許可されている期間外において、投入メダルセンサ31a~31cによりメダル等(メダルや異物等)が検出されたことに基づいて、タイマ割込処理によりRAM41cの所定領域に設定される。また、払出エラーフラグは、メダルの払出に関する異常が発生している旨を示すフラグであり、後述するセンサ監視処理により、メダルが払出される払出期間外において、払出センサ34cによりメダル等が検出されたことに基づいて、タイマ割込処理によりRAM41cの所定領域に設定される。 The insertion error flag is a flag indicating that an abnormality related to the insertion of medals has occurred, and is a period during which the medal care permission flag described later is not set by the sensor monitoring process described later, that is, the medal from the medal insertion unit 4. Based on the detection of medals (medals, foreign objects, etc.) by the inserted medal sensors 31a to 31c outside the period during which the insertion of medals is permitted, the timer interrupt process sets the RAM 41c to a predetermined area. Further, the payout error flag is a flag indicating that an abnormality related to medal payout has occurred, and the payout sensor 34c detects the medal or the like outside the payout period when the medal is paid out by the sensor monitoring process described later. Based on this, it is set in a predetermined area of the RAM 41c by the timer interrupt process.

Sc11のステップにおいてメダル投入払出エラーチェック処理を行った後は、RAM41cの所定領域にエラー実行フラグが設定されているか否かに基づいて、メダル投入払出エラーチェック処理にてエラー処理が実行されたか否かを判定する(Sc12)。 After performing the medal insertion / withdrawal error check process in the Sc11 step, whether or not the error process is executed in the medal insertion / withdrawal error check process based on whether or not the error execution flag is set in the predetermined area of the RAM 41c. Is determined (Sc12).

Sc12のステップにおいてエラーチェック処理にてエラー処理が実行されたと判定した場合は、Sc10のステップに戻り、Sc10~Sc12のステップの各処理を再び行う。その後、メダルの投入や払出に関する異常が検出されない状態で、Sc10~Sc12のステップの各処理が行われることで、エラー実行フラグが設定されていない状態で、Sc12のステップの処理が行われることとなる。 If it is determined in the error check process that the error process has been executed in the step of Sc12, the process returns to the step of Sc10, and each process of the steps Sc10 to Sc12 is performed again. After that, each process of the steps Sc10 to Sc12 is performed in a state where an abnormality related to the insertion and withdrawal of medals is not detected, so that the process of the step Sc12 is performed in a state where the error execution flag is not set. Become.

一方、Sc12のステップにおいてエラー実行フラグが設定されていないと判定した場合は、メダル投入信号処理を行う(Sc13)。メダル投入信号処理では、メダル投入信号の遷移に基づいてメダルの投入状況を判定する。そして、正常なメダルの投入が検出された場合は、賭数の設定やクレジットにメダルを受け付けて、メダル投入信号処理を終了する。一方、異常なメダルの投入が検出された場合は、エラーコード(E5)を準備してエラー処理を行う。その後、エラー状態が解除されてエラー処理が終了されることで、メダル投入信号処理を終了する。 On the other hand, if it is determined that the error execution flag is not set in the step of Sc12, the medal insertion signal processing is performed (Sc13). In the medal insertion signal processing, the medal insertion status is determined based on the transition of the medal insertion signal. Then, when a normal medal insertion is detected, the medal is accepted for the setting of the bet number and the credit, and the medal insertion signal processing is terminated. On the other hand, when an abnormal medal insertion is detected, an error code (E5) is prepared and error processing is performed. After that, the error state is cleared and the error processing is completed, so that the medal insertion signal processing is completed.

Sc13のステップにおいてメダル投入信号処理を行った後は、各種スイッチの操作を受け付ける有効化して、操作が有効化されているスイッチの操作が行われることで、当該スイッチによる操作を受け付ける操作入力受付処理を行う(Sc14)。 After performing the medal insertion signal processing in the step of Sc13, the operation of the various switches is enabled, and the operation of the switched is performed, so that the operation of the switch is accepted. (Sc14).

操作入力受付処理では、メダル投入信号の遷移に基づいてメダルが通過中でないときに、RAM41cの所定領域に設定されているクレジットが、1以上である場合には、MAXBETスイッチ6による操作の受け付けを有効化する。また、メダル投入信号の遷移に基づいてメダルが通過中でないときに、RAM41cの所定領域に設定されている賭数が規定数である場合には、スタートスイッチ7による操作の受け付けを有効化する。また、メダル投入信号の遷移に基づいてメダルが通過中でない場合に、精算スイッチ10及び設定キースイッチ37による操作の受け付けを有効化する。 In the operation input acceptance process, when the medal is not passing based on the transition of the medal insertion signal and the credit set in the predetermined area of the RAM 41c is 1 or more, the operation is accepted by the MAXBET switch 6. Activate. Further, when the number of bets set in the predetermined area of the RAM 41c is a specified number when the medal is not passing based on the transition of the medal insertion signal, the acceptance of the operation by the start switch 7 is enabled. Further, when the medal is not passing based on the transition of the medal insertion signal, the acceptance of the operation by the settlement switch 10 and the setting key switch 37 is enabled.

また、操作入力受付処理では、スタートスイッチ7による操作が有効な状態で、スタートスイッチ7の操作が検出された場合には、スタートスイッチ7が操作された旨を示すスタートフラグを所定レジスタに設定した後、流路切替ソレノイド30をOFF状態としてメダルの流路をメダル払出口9側に切り替える処理を行う。また、設定キースイッチ37による操作が有効な状態で、設定キースイッチ37による操作が検出された場合には、設定値表示器24に設定値を表示させる設定値表示処理を行う。また、精算スイッチ10による操作が有効な状態で、精算スイッチ10による操作が検出された場合には、クレジットに記憶されている分のメダルを遊技者に返却する精算処理を行う。また、MAXBETスイッチ6による操作が有効な状態で、MAXBETスイッチ6による操作が検出された場合には、クレジットに基づいて可能な範囲で規定数までのメダル枚数を賭数に設定し、賭数に設定した分のメダル枚数をクレジットから減算する処理を行う。操作が検出されたスイッチ類に応じた処理を行った後、操作入力受付処理を終了させる。 Further, in the operation input reception process, when the operation by the start switch 7 is valid and the operation of the start switch 7 is detected, a start flag indicating that the start switch 7 has been operated is set in the predetermined register. After that, the flow path switching solenoid 30 is turned off and the flow path of the medal is switched to the medal payout outlet 9 side. Further, when the operation by the setting key switch 37 is detected while the operation by the setting key switch 37 is enabled, the setting value display process for displaying the set value on the setting value display 24 is performed. Further, when the operation by the settlement switch 10 is detected while the operation by the settlement switch 10 is valid, the settlement process of returning the medals stored in the credit to the player is performed. Further, when the operation by the MAXBET switch 6 is enabled and the operation by the MAXBET switch 6 is detected, the number of medals up to the specified number is set as the bet number within the possible range based on the credit, and the bet number is set. Performs the process of subtracting the set number of medals from the credit. After performing the processing according to the switches for which the operation is detected, the operation input acceptance processing is terminated.

Sc14のステップにおいて操作入力受付処理を行った後は、スタートフラグに基づいてスタートスイッチ7による有効な操作が検出されたか否かを判定する(Sc15)。所定のレジスタにスタートフラグが設定されておらず、スタートスイッチ7による有効な操作が検出されなかったと判定した場合は、Sc16のステップに進み、スタート有効LED18の点灯状態を制御するLED表示処理を行う。 After performing the operation input acceptance process in the step of Sc14, it is determined whether or not a valid operation by the start switch 7 is detected based on the start flag (Sc15). If it is determined that the start flag is not set in the predetermined register and the effective operation by the start switch 7 is not detected, the process proceeds to the Sc16 step and the LED display process for controlling the lighting state of the start effective LED 18 is performed. ..

LED表示処理では、Sc14のステップの操作入力受付処理によりスタートスイッチ7による操作が有効に設定されている状態において、リセットスイッチ23以外のスイッチ類の操作が検出されない場合に、スタート有効LED18をON状態(点灯状態)に制御し、スタートスイッチ7による操作が有効に設定されている状態において、リセットスイッチ23以外のスイッチ類の操作が検出される場合、及びスタートスイッチ7による操作が有効に設定されていない場合に、スタート有効LED18をOFF状態(消灯状態)に制御して、スタート有効LED18の点灯状態によりスタートスイッチ7による操作が有効であるか無効であるかを報知する。 In the LED display process, the start valid LED 18 is turned on when the operation of switches other than the reset switch 23 is not detected in the state where the operation by the start switch 7 is effectively set by the operation input reception process of the step of Sc14. When the operation of switches other than the reset switch 23 is detected in the state where the operation by the start switch 7 is enabled under the control of (lighting state), and the operation by the start switch 7 is enabled. If not, the start valid LED 18 is controlled to the OFF state (off state), and it is notified whether the operation by the start switch 7 is valid or invalid depending on the lighting state of the start valid LED 18.

Sc15のステップにおいて、所定のレジスタにスタートフラグが設定されており、スタートスイッチ7による有効な操作が検出されたと判定した場合は、内部抽選用の乱数値を乱数回路から取得して、RAM41cの所定領域に設定する(Sc17)。その後、設定されている賭数を特定可能なメダル投入状態データをRAM41cの所定領域に設定し(Sc18)、スタート有効LED18をOFF状態(消灯状態)に設定し(Sc19)、メダル手入れ許可フラグをRAM41cの所定領域からクリアし(Sc20)、遊技補助表示器12における払出枚数の表示をクリアするように制御して(Sc21)、遊技開始待ち処理を終了させ、メイン処理に戻る。その後、メイン処理では、Sc17のステップにおいて取得された乱数値を用いて内部抽選が行われ、スタートスイッチ7の操作が検出されたことに応じてリール2L、2C、2Rの回転が開始されることで、一遊技が開始されることとなる。 In the step of Sc15, when the start flag is set in the predetermined register and it is determined that the effective operation by the start switch 7 is detected, the random number value for the internal lottery is acquired from the random number circuit and the predetermined value of the RAM 41c is determined. Set in the area (Sc17). After that, the medal insertion state data that can specify the set number of bets is set in the predetermined area of the RAM 41c (Sc18), the start valid LED 18 is set to the OFF state (off state) (Sc19), and the medal care permission flag is set. It is cleared from the predetermined area of the RAM 41c (Sc20), controlled to clear the display of the number of payouts on the game auxiliary display 12 (Sc21), the game start waiting process is terminated, and the process returns to the main process. After that, in the main process, an internal lottery is performed using the random number value acquired in the step of Sc17, and the rotation of the reels 2L, 2C, and 2R is started according to the detection of the operation of the start switch 7. Then, one game will be started.

このように、メイン制御部41は、遊技開始待ち処理において、メダル投入信号処理や操作入力受付処理を行うようになっている。そして、メダル投入信号処理では、投入メダルセンサ31a~31cにより正常なメダルの投入を示すメダル投入信号が検出されているか否かを判定することが可能である。また、操作入力受付処理では、MAXBETスイッチ6等のスイッチ類の操作状況を示す信号が検出されているか否かを判定することが可能である。 As described above, the main control unit 41 is configured to perform medal insertion signal processing and operation input reception processing in the game start waiting process. Then, in the medal insertion signal processing, it is possible to determine whether or not the medal insertion signal indicating normal medal insertion is detected by the insertion medal sensors 31a to 31c. Further, in the operation input reception process, it is possible to determine whether or not a signal indicating the operation status of the switches such as the MAXBET switch 6 is detected.

また、メイン制御部41は、遊技開始待ち処理において、メダル投入払出エラーチェック処理を行うようになっており、当該メダル投入払出エラーチェック処理において、メダルの投入や払出に関する異常が発生しているか否かを判定し、異常が発生しているときには、遊技の進行を不能化するエラー状態に制御するエラー処理を実行する。 Further, the main control unit 41 is configured to perform a medal insertion / withdrawal error check process in the game start waiting process, and whether or not an abnormality related to medal insertion / withdrawal has occurred in the medal insertion / withdrawal error check process. When an abnormality has occurred, error processing is executed to control the error state that makes the progress of the game impossible.

また、上述のように、初期設定処理では、遊技の進行に関する制御状態を初期化した後、メイン処理の先頭の処理、すなわち遊技開始待ち処理に移行するようになっており、遊技開始待ち処理では、遊技を進行させる投入メダルセンサ31a~31c、払出センサ34c、MAXBETスイッチ6等の各種センサやスイッチ類の信号が検出されているか否かが判定されるメダル投入信号処理や操作入力受付処理を最初に行う前に、メダル投入払出エラーチェック処理を実行してメダルの投入や払出に関する異常が発生しているかを判定するようになっている。 Further, as described above, in the initial setting process, after initializing the control state related to the progress of the game, the process shifts to the first process of the main process, that is, the game start waiting process. , The medal insertion signal processing and the operation input reception processing for determining whether or not the signals of various sensors and switches such as the insertion medal sensors 31a to 31c, the payout sensor 34c, and the MAXBET switch 6 for advancing the game are detected first. Before this is done, a medal insertion / withdrawal error check process is executed to determine whether or not an abnormality related to medal insertion / withdrawal has occurred.

また、メダルの投入に関する異常は、例えば、メダルセレクタ29内に配置された投入メダルセンサ31a~31cの検出範囲内にメダル等が詰まっていること等により、メダル投入部4からのメダルの投入が許可されている期間外において、投入メダルセンサ31a~31cによりメダル等(メダルや異物等)が検出されることで、当該異常が発生していると判定され、投入メダルセンサ31a~31cの検出範囲内に詰まっているメダル等を物理的に取り除くことで解消可能である。 Further, the abnormality related to the insertion of medals is that, for example, medals or the like are clogged within the detection range of the insertion medal sensors 31a to 31c arranged in the medal selector 29, so that the medals are inserted from the medal insertion unit 4. When medals (medals, foreign objects, etc.) are detected by the inserted medal sensors 31a to 31c outside the permitted period, it is determined that the abnormality has occurred, and the detection range of the inserted medal sensors 31a to 31c. It can be solved by physically removing the medals and the like that are stuck inside.

また、メダルの払出に関する異常は、例えば、払出センサ34cの検出範囲内にメダル等が詰まっていること等により、メダルの払出制御が行われる期間外において、払出センサ34cによりメダル等(メダルや異物等)が検出されることで、当該異常が発生していると判定され、払出センサ34cの検出範囲内に詰まっているメダル等を物理的に取り除くことで解消可能である。 Further, an abnormality related to medal payout is caused by, for example, a medal or the like being clogged within the detection range of the payout sensor 34c, and the medal or the like (medal or foreign matter) is used by the payout sensor 34c outside the period during which the medal payout control is performed. Etc.) is detected, it is determined that the abnormality has occurred, and the problem can be solved by physically removing the medals or the like that are clogged within the detection range of the payout sensor 34c.

また、遊技開始待ち処理では、割込1回待ち処理を実行して少なくとも1回のタイマ割込処理が実行されることを待った後、メダル投入払出エラーチェック処理を実行して、メダルの投入や払出に関する異常が発生しているか否かを判定するようになっている。 Further, in the game start waiting process, after executing the interrupt once wait process and waiting for the timer interrupt process to be executed at least once, the medal insertion / withdrawal error check process is executed to insert medals. It is designed to determine whether or not an abnormality related to payout has occurred.

また、遊技開始待ち処理では、割込1回待ち処理を実行して1回のタイマ割込処理が実行される毎に、メダル投入払出エラーチェック処理、メダル投入信号処理、操作入力受付処理を実行し、メダル投入払出エラーチェック処理において、メダルの投入や払出に関する異常が発生しているか否かを判定し、メダル投入信号処理及び操作入力受付処理において、遊技を進行させる投入メダルセンサ31a~31c、払出センサ34c、MAXBETスイッチ6等の各種センサやスイッチ類の信号が検出されているか否かを判定するようになっている。 Further, in the game start waiting process, the medal insertion / withdrawal error check process, the medal insertion signal process, and the operation input acceptance process are executed every time the interrupt one-time wait process is executed and the timer interrupt process is executed once. Then, in the medal insertion / withdrawal error check process, it is determined whether or not an abnormality related to the insertion / withdrawal of the medal has occurred, and in the medal insertion signal processing and the operation input acceptance processing, the insertion medal sensors 31a to 31c, which advance the game. It is designed to determine whether or not signals of various sensors such as the payout sensor 34c and the MAXBET switch 6 and switches are detected.

また、遊技開始待ち処理では、メダル投入払出エラーチェック処理を実行し、当該メダル投入払出エラーチェック処理では、メダルの投入や払出に関する異常が発生しているか否かを判定し、異常が発生しているときには、遊技の進行を不能化するエラー状態に制御するエラー処理を実行する。そして、エラー状態が解除されることで、メダル投入払出エラーチェック処理を終了させた後、メダル投入信号処理や操作入力受付処理により最初に遊技を進行させる各種センサやスイッチ類の信号が検出されているか否かが判定される前に、再びメダル投入払出エラーチェック処理を実行して、メダルの投入や払出に関する異常が発生しているか否かを判定するようになっている。 Further, in the game start waiting process, a medal insertion / withdrawal error check process is executed, and in the medal insertion / withdrawal error check process, it is determined whether or not an abnormality has occurred in the medal insertion / withdrawal, and an abnormality occurs. If so, error processing is executed to control the error state that disables the progress of the game. Then, by canceling the error state, after the medal insertion / withdrawal error check processing is completed, the signals of various sensors and switches that first advance the game are detected by the medal insertion signal processing and the operation input reception processing. Before it is determined whether or not the medal is inserted or withdrawn, the medal insertion / withdrawal error check process is executed again to determine whether or not an abnormality related to the insertion or withdrawal of the medal has occurred.

[メダル投入信号処理について]
次に、本実施例のメイン制御部41が遊技開始待ち処理から呼び出して行うメダル投入信号処理の制御内容について、図7に基づいて説明する。尚、メダル投入信号処理は、遊技プログラムに含まれており、遊技プログラムに含まれる遊技開始待ち処理において呼び出されるサブルーチンである。
[About medal insertion signal processing]
Next, the control content of the medal insertion signal processing called from the game start waiting process by the main control unit 41 of the present embodiment will be described with reference to FIG. 7. The medal insertion signal processing is included in the game program, and is a subroutine called in the game start waiting process included in the game program.

図7に示すように、メダル投入信号処理では、まず、上述の遊技開始待ち処理のメダル手入れ許可設定処理においてメダル投入部4からのメダルの投入を許可する旨を示すメダル手入れ許可フラグが設定されているか否かを判定する(Sd1)。そして、メダル手入れ許可フラグが設定されていない場合は、メダル投入信号処理を終了して、呼び出し元の遊技開始待ち処理に戻る。一方、メダル手入れ許可フラグが設定されている場合は、RAM41cの所定領域に設定されているメダル投入信号状態遷移データを参照する(Sd2)。メダル投入信号状態遷移データは、投入メダルセンサ31a~31cの検出信号(以下、メダル投入信号と呼ぶ場合がある)の状態の遷移を特定可能なデータであり、非遊技プログラムに含まれるメダルセンサチェック処理により、投入メダルセンサ31a~31cの入力データ等に基づいて所定のタイミングで更新されて、RAM41cの非遊技RAM領域の所定領域に設定されている。 As shown in FIG. 7, in the medal insertion signal processing, first, in the above-mentioned medal maintenance permission setting process of the game start waiting process, a medal care permission flag indicating that the medal insertion from the medal insertion unit 4 is permitted is set. It is determined whether or not it is (Sd1). If the medal care permission flag is not set, the medal insertion signal processing is terminated and the process returns to the caller's game start waiting process. On the other hand, when the medal care permission flag is set, the medal insertion signal state transition data set in the predetermined area of the RAM 41c is referred to (Sd2). The medal insertion signal state transition data is data that can identify the state transition of the detection signals (hereinafter, may be referred to as medal insertion signals) of the insertion medal sensors 31a to 31c, and is the medal sensor check included in the non-game program. By the processing, it is updated at a predetermined timing based on the input data and the like of the input medal sensors 31a to 31c, and is set in the predetermined area of the non-gaming RAM area of the RAM 41c.

そして、Sd2のステップにおいて参照したメダル投入信号状態遷移データに基づいて、メダルセレクタ29における投入メダルセンサ31a~31cの検出範囲を、メダル投入部4から投入されたメダルが通過中であるか否かを判定する(Sd3)。投入メダルセンサ31a~31cの検出範囲をメダルが通過中でないと判定した場合は、流路切替ソレノイド30をON状態に制御して(Sd4)、メダル投入部4から投入されたメダルがメダルセレクタ29内のメダル流入流路29a及びメダル受入流路29bを流下してホッパータンクに導かれるように、メダル投入部4から投入されたメダルの流路をスロットマシン1の内部に設けられたホッパータンク側に切替えるように制御する。その後、メダル投入部4からメダルを投入可能である旨を示す投入要求LED17をON状態に制御し(Sd5)、メダル投入信号無視タイマをクリアする(Sd6)。 Then, based on the medal insertion signal state transition data referred to in the step of Sd2, whether or not the medal inserted from the medal insertion unit 4 is passing through the detection range of the insertion medal sensors 31a to 31c in the medal selector 29. Is determined (Sd3). When it is determined that the medal is not passing through the detection range of the inserted medal sensors 31a to 31c, the flow path switching solenoid 30 is controlled to the ON state (Sd4), and the medal inserted from the medal insertion unit 4 is the medal selector 29. The flow path of medals inserted from the medal insertion unit 4 is provided on the hopper tank side inside the slot machine 1 so as to flow down the medal inflow flow path 29a and the medal receiving flow path 29b and be guided to the hopper tank. Control to switch to. After that, the insertion request LED 17 indicating that the medal can be inserted is controlled from the medal insertion unit 4 to the ON state (Sd5), and the medal insertion signal ignore timer is cleared (Sd6).

ここで、メダル投入信号無視タイマは、流路切替ソレノイド30をOFF状態に設定する際に、少なくとも流路切替ソレノイド30をOFF状態とする制御信号の出力を設定してから、当該流路切替ソレノイド30が作動してメダル投入部4から投入されたメダルの流路がメダル払出口9側に実際に切り替えられるまでの切替時間の経過を計時して、切替時間の計時中には所定処理においてメダル投入信号を無視するように制御するためのタイマである。メダル投入信号無視タイマには、メダルの流路を切り替えるために流路切替ソレノイド30の制御信号の出力が設定された際に、少なくとも流路切替ソレノイド30の制御信号の出力設定を行ってから実際にメダルの流路が切り替えられるまでの所定時間(本実施例では、504ミリ秒)が設定される。その後、タイマ割込み処理(メイン)によりメダル投入信号無視タイマが減算されて更新され、0となることで切替時間が経過したことを特定できるようになっている。 Here, when the medal insertion signal ignoring timer is set to the OFF state, at least the output of the control signal for turning the flow path switching solenoid 30 to the OFF state is set, and then the flow path switching solenoid 30 is set. The elapse of the switching time until the 30 is activated and the flow path of the medal inserted from the medal insertion unit 4 is actually switched to the medal payout outlet 9 side is timed, and during the time of the switching time, the medal is processed in a predetermined process. It is a timer for controlling to ignore the input signal. When the output of the control signal of the flow path switching solenoid 30 is set for switching the flow path of the medal in the medal insertion signal ignore timer, at least the output of the control signal of the flow path switching solenoid 30 is set before the actual operation. A predetermined time (504 milliseconds in this embodiment) until the flow path of the medal is switched to is set. After that, the medal insertion signal ignore timer is subtracted and updated by the timer interrupt process (main), and when it becomes 0, it is possible to specify that the switching time has elapsed.

Sd3のステップにおいて投入メダルセンサ31a~31cの検出範囲をメダルが通過中であると判定した場合、及びSd6のステップにおいてメダル投入信号無視タイマをクリアした後は、メイン制御部41が備えるレジスタのうち演算結果が格納されるフラグレジスタの値を、遊技RAM領域の遊技スタック領域に所定の順序で記憶させることで退避させた後(Sd7)、タイマ割込みを禁止に設定し(Sd8)、非遊技プログラムに含まれるメダルセンサ処理を行った後(Sd9)、タイマ割込みを許可に設定し(Sd10)、Sd7のステップにおいて退避させたレジスタの値を、退避させるときと逆の順序で遊技スタック領域から順次読み出してフラグレジスタに設定することで、当選情報出力処理を行う前の状態にフラグレジスタを復帰させる(Sd11)。 Among the registers provided in the main control unit 41, when it is determined that the medal is passing through the detection range of the insertion medal sensors 31a to 31c in the step of Sd3, and after the medal insertion signal ignore timer is cleared in the step of Sd6. After saving the value of the flag register in which the calculation result is stored by storing it in the game stack area of the game RAM area in a predetermined order (Sd7), the timer interrupt is set to disabled (Sd8), and the non-game program. After performing the medal sensor processing included in (Sd9), the timer interrupt is set to enable (Sd10), and the values of the registers saved in the step of Sd7 are sequentially set from the game stack area in the reverse order of saving. By reading it out and setting it in the flag register, the flag register is restored to the state before the winning information output process is performed (Sd11).

メダルセンサ処理では、まず、呼び出し元の遊技プログラムにより使用されていたスタックポインタSPが示すアドレスの値を非遊技RAM領域の所定領域に記憶させて退避させる。その後、当該スタックポインタSPの値として非遊技スタック領域の所定アドレス(前回の非遊技プログラムの終了時に記憶されたアドレス)を設定することで、スタックポインタSPを非遊技プログラム用に設定する。そして、メイン制御部41が備えるすべてのレジスタの値を非遊技スタック領域に所定の順序で記憶させることで退避させる。 In the medal sensor processing, first, the value of the address indicated by the stack pointer SP used by the calling game program is stored in a predetermined area of the non-game RAM area and saved. After that, the stack pointer SP is set for the non-game program by setting a predetermined address of the non-game stack area (the address stored at the end of the previous non-game program) as the value of the stack pointer SP. Then, the values of all the registers included in the main control unit 41 are stored in the non-game stack area in a predetermined order to save them.

その後、メダル投入信号状態遷移データが正常であるか否かを判定する。そして、メダル投入信号状態遷移データが正常である場合には、メダルが投入メダルセンサ31a~31cの検出範囲を正常に通過した旨を示すメダル通過状態参照データ(正常通過)またはメダルが投入メダルセンサ31a~31cの検出範囲を通過し始めたことを検知した旨を示すメダル通過状態参照データ(メダル検知)、投入メダルセンサ31a~31cの検出範囲でのメダルの通過状態が前回の判定時から変化していない旨を示すメダル通過状態参照データ(変化なし)をRAM41cの非遊技RAM領域の所定領域に設定する。その後、投入メダルセンサ31a~31cの入力データに基づいてメダル投入信号状態遷移データを更新する。一方、メダル投入信号状態遷移データに異常がある場合には、メダル投入信号に関する異常が検出された旨を示すエラーコード(E5)を特定可能なメダル関連エラーデータを非遊技RAM領域の所定領域に設定する等の処理を行う。また、メダルが投入メダルセンサ31a~31cの検出範囲を通過し始めたことを検知することで、非遊技RAM領域に設定されているメダル通過時間タイマによる計時を新たに開始させるように設定し、メダルが投入メダルセンサ31a~31cの検出範囲を正常に通過したことを検知することで、メダル通過時間タイマによる計時を終了させるように設定する。 After that, it is determined whether or not the medal insertion signal state transition data is normal. When the medal insertion signal state transition data is normal, the medal passing state reference data (normal passage) indicating that the medal has normally passed the detection range of the insertion medal sensors 31a to 31c or the medal is the insertion medal sensor. The medal passing state reference data (medal detection) indicating that it has started to pass through the detection range of 31a to 31c, and the passing state of medals in the detection range of the inserted medal sensors 31a to 31c have changed from the previous judgment. The medal passing state reference data (no change) indicating that the medal has not been passed is set in a predetermined area of the non-gaming RAM area of the RAM 41c. After that, the medal insertion signal state transition data is updated based on the input data of the insertion medal sensors 31a to 31c. On the other hand, when there is an abnormality in the medal insertion signal state transition data, the medal-related error data that can identify the error code (E5) indicating that the abnormality related to the medal insertion signal has been detected is set in a predetermined area of the non-gaming RAM area. Perform processing such as setting. Further, by detecting that the medal has started to pass through the detection range of the inserted medal sensors 31a to 31c, it is set to newly start the time counting by the medal passing time timer set in the non-game RAM area. By detecting that the medal has normally passed the detection range of the inserted medal sensors 31a to 31c, the time counting by the medal passing time timer is set to end.

そして、メダルセンサ処理を開始した際に退避させていたレジスタの値を非遊技スタック領域から順次読み出して、メダルセンサ処理を開始したときの状態にすべてのレジスタを復帰させる。その後、メダルセンサ処理を開始した際に非遊技RAM領域の所定領域に退避させたスタックポインタSPの値を、スタックポインタSPに設定することで、メダルセンサ処理を開始したときの状態にスタックポインタSPを復帰させて、メダルセンサ処理を終了させる。 Then, the values of the registers saved when the medal sensor processing is started are sequentially read from the non-game stack area, and all the registers are restored to the state when the medal sensor processing is started. After that, by setting the value of the stack pointer SP saved in the predetermined area of the non-gaming RAM area to the stack pointer SP when the medal sensor processing is started, the stack pointer SP is set to the state when the medal sensor processing is started. Is restored to end the medal sensor processing.

Sd11のステップにおいてレジスタを復帰させた後には、非遊技RAM領域の所定領域を参照してメダル関連エラーデータを所定のレジスタに読み込み(Sd12)、エラーコード(E5)が設定されているか否かを判定する(Sd13)。そして、エラーコード(E5)が設定されている場合すなわちメダル関連エラーデータが所定のレジスタに読み込まれて、エラーコード(E5)が所定のレジスタに準備されている場合には、エラー処理を行って(Sd14)、遊技の進行を不能化するエラー状態に制御する。 After the register is restored in the step of Sd11, the medal-related error data is read into the predetermined register (Sd12) with reference to the predetermined area of the non-gaming RAM area, and whether or not the error code (E5) is set is determined. Judgment (Sd13). Then, when the error code (E5) is set, that is, when the medal-related error data is read into the predetermined register and the error code (E5) is prepared in the predetermined register, error processing is performed. (Sd14), the error state that makes the progress of the game impossible is controlled.

エラー処理では、エラー処理では、遊技の進行が不能化されるエラー状態に制御する。また、所定のレジスタに準備されているエラーコード(E5)を特定可能なエラーコマンドをサブ制御部91に対して送信し、当該エラーコード(E5)をRAM41cの所定領域にその他の処理でも参照可能なエラーフラグとして設定する。また、当該エラーコード(E5)を遊技補助表示器12に表示させるように制御する。その後は、所定のレジスタに準備されているエラーコード(E5)に応じたエラー状態の解除条件が成立したことが特定されるまでエラー状態の制御を行う。エラーコード(E5)が所定のレジスタに準備されてエラー状態に移行された場合には、エラー状態の解除条件として、投入メダルセンサ31a~31cの検出状態がOFF状態であり、かつリセット/設定スイッチ38またはリセットスイッチ23がON状態となったことが成立するまで、遊技を進行させる制御を行わずに待機する。そして、当該解除条件が成立することで、エラー状態を解除する旨のエラーコマンド(解除)をサブ制御部91に対して送信し、エラー処理を終了させてメダル投入信号処理に戻る。 In error processing, in error processing, control is performed in an error state in which the progress of the game is disabled. Further, an error command capable of specifying an error code (E5) prepared in a predetermined register is transmitted to the sub-control unit 91, and the error code (E5) can be referred to a predetermined area of the RAM 41c in other processing. Set as an error flag. Further, the error code (E5) is controlled to be displayed on the game assist display 12. After that, the error state is controlled until it is specified that the error state release condition corresponding to the error code (E5) prepared in the predetermined register is satisfied. When the error code (E5) is prepared in a predetermined register and the state shifts to the error state, the detection state of the inserted medal sensors 31a to 31c is the OFF state and the reset / setting switch is set as the condition for canceling the error state. Until it is established that the 38 or the reset switch 23 is turned on, the player waits without controlling the progress of the game. Then, when the release condition is satisfied, an error command (release) to cancel the error state is transmitted to the sub control unit 91, the error processing is terminated, and the medal insertion signal processing is returned.

Sd13のステップにおいてメダル関連エラーデータとしてエラーコード(E5)が設定されていないと判定した場合、及びSd14のステップのエラー処理が終了した後は、RAM41cの非遊技RAM領域の所定領域に設定されているメダル通過状態参照データを参照して(Sd15)、メダル通過状態参照データの内容を判定する(Sd16、Sd17)。 When it is determined that the error code (E5) is not set as the medal-related error data in the step of Sd13, and after the error processing of the step of Sd14 is completed, the error code (E5) is set in a predetermined area of the non-gaming RAM area of the RAM 41c. With reference to the medal passing state reference data (Sd15), the content of the medal passing state reference data is determined (Sd16, Sd17).

Sd16のステップにおいて、メダル通過状態参照データ(変化なし)が設定されていると判定した場合は、メダル投入信号処理を終了して遊技開始待ち処理に戻る。一方、Sd16のステップにおいて、メダル通過状態参照データ(変化なし)が設定されていないと判定し、Sd17のステップにおいて、メダル通過状態参照データ(メダル検知)が設定されていると判定した場合は、Sd18のステップに進み、Sd17のステップにおいて、メダル通過状態参照データ(正常通過)が設定されており、メダル通過状態参照データ(メダル検知)が設定されていないと判定した場合には、Sd21のステップへ進む。 If it is determined in the step of Sd16 that the medal passing state reference data (no change) is set, the medal insertion signal processing is terminated and the game return to the game start waiting processing. On the other hand, if it is determined that the medal passing state reference data (no change) is not set in the step of Sd16, and it is determined that the medal passing state reference data (medal detection) is set in the step of Sd17, it is determined. If it is determined in the step of Sd17 that the medal passing state reference data (normal passing) is set and the medal passing state reference data (medal detection) is not set, the process proceeds to the step of Sd18, and the step of Sd21. Proceed to.

Sd17のステップにおいてメダル通過状態参照データ(メダル検知)が設定されていると判定した場合には、投入状況判定処理を行う(Sd18)。投入状況判定処理では、RAM41cの所定領域に設定されている現在のクレジット数を計数するクレジットカウンタを参照し、当該クレジットカウンタの値がスロットマシン1のクレジットの最大値(本実施例では、50)より1少ない状況、すなわち次に受け付けるメダルがクレジットに加算可能な最終メダルとなる状況であるか否かを判定する。そして、次に受け付けるメダルがクレジットに加算可能な最終メダルであるか否かを特定可能な最終受付フラグを所定のレジスタに設定して、投入状況判定処理を終了する。 When it is determined that the medal passing state reference data (medal detection ) is set in the step of Sd17, the insertion status determination process is performed (Sd18). In the input status determination process, the credit counter that counts the current number of credits set in the predetermined area of the RAM 41c is referred to, and the value of the credit counter is the maximum value of the credit of the slot machine 1 (50 in this embodiment). It is determined whether or not the situation is one less, that is, the next accepted medal is the final medal that can be added to the credit. Then, a final acceptance flag that can specify whether or not the next medal to be accepted is the final medal that can be added to the credit is set in a predetermined register, and the insertion status determination process is terminated.

Sd18のステップにおいて投入状況判定処理を行った後は、所定のレジスタに設定されている最終受付フラグに基づいて、次に受け付けるメダルがクレジットに加算可能な最終メダルであると判定される場合には、メダルブロッカオフ処理を行って(Sd20)、流路切替ソレノイド30をOFF状態に設定することで、メダル投入部4から投入されたメダルの流路をホッパータンク側からメダル払出口9側に切り替えて、投入メダルセンサ31cにより検出されているメダルより後にメダル投入部4に投入されたメダルを、メダル返却流路29cを介してメダル払出口9から返却するように制御する。 After the insertion status determination process is performed in the step of Sd18, if it is determined that the next medal to be accepted is the final medal that can be added to the credit based on the final acceptance flag set in the predetermined register. By performing the medal blocker off process (Sd20) and setting the flow path switching solenoid 30 to the OFF state, the flow path of the medal inserted from the medal insertion unit 4 is switched from the hopper tank side to the medal payout outlet 9. Then, the medals inserted into the medal insertion unit 4 after the medals detected by the insertion medal sensor 31c are controlled to be returned from the medal payout outlet 9 via the medal return flow path 29c.

また、メダルブロッカオフ処理では、流路切替ソレノイド30をOFF状態に設定した後、遊技RAM領域に設定されているメダル投入信号状態遷移データを参照して、投入メダルセンサ31a~31cの検出範囲をメダルが通過中か否かを判定し、当該検出範囲をメダルが通過中である場合には、上述のメダル投入信号無視タイマに所定値(本実施例では、504ミリ秒に対応する値)を設定して、メダル投入信号無視タイマによる所定時間の計時を開始させる。これにより、メダルブロッカオフ処理の終了後から所定時間にわたり後述のセンサ監視処理において、メダル投入信号の状態にかかわらず、メダル投入信号の異常が判定されてセンサエラー参照データ(投入メダルセンサ)が設定されるようなことがないようになっている。 Further, in the medal blocker off processing, after the flow path switching solenoid 30 is set to the OFF state, the detection range of the inserted medal sensors 31a to 31c is determined by referring to the medal insertion signal state transition data set in the game RAM area. It is determined whether or not the medal is passing, and if the medal is passing through the detection range, a predetermined value (in this embodiment, a value corresponding to 504 milliseconds) is set in the above-mentioned medal insertion signal ignore timer. Set and start the time counting of the predetermined time by the medal insertion signal ignore timer. As a result, in the sensor monitoring process described later for a predetermined time after the end of the medal blocker off process, an abnormality of the medal insertion signal is determined and sensor error reference data (inserted medal sensor) is set regardless of the state of the medal insertion signal. It is designed so that it will not be done.

Sd20のステップにおいてメダルブロッカオフ処理を行った後は、メダル投入信号処理を終了させて遊技開始待ち処理に戻る。一方、最終受付フラグに基づいて、次に受け付けるメダルがクレジットに加算可能な最終メダルでないと判定される場合には、メダルブロッカオフ処理を行わずにメダル投入信号処理を終了させて遊技開始待ち処理に戻る。 After performing the medal blocker off processing in the step of Sd20, the medal insertion signal processing is terminated and the process returns to the game start waiting processing. On the other hand, if it is determined based on the final reception flag that the next medal to be accepted is not the final medal that can be added to the credit, the medal insertion signal processing is terminated without performing the medal blocker off processing, and the game start waiting processing is performed. Return to.

Sd17のステップにおいてメダル通過状態参照データ(メダル検知)が設定されており、メダル通過状態参照データ(正常通過)が設定されていないと判定した場合には、ポート入力バッファの所定領域を参照して、投入メダルセンサ31bの確定データを取得し(Sd21)、当該確定データがON状態であるか否かを判定する(Sd22)。そして、投入メダルセンサ31bの確定データがON状態であると判定した場合は、ポート入力バッファの所定領域を参照して、投入メダルセンサ31cの入力データを取得し(Sd23)、当該入力データがOFF状態であるか否かを判定する(Sd24)。 When it is determined that the medal passing state reference data ( medal detection ) is set in the step of Sd17 and the medal passing state reference data (normal passing) is not set, the predetermined area of the port input buffer is referred to. , The confirmed data of the input medal sensor 31b is acquired (Sd21), and it is determined whether or not the confirmed data is in the ON state (Sd22). Then, when it is determined that the confirmed data of the inserted medal sensor 31b is in the ON state, the input data of the inserted medal sensor 31c is acquired by referring to the predetermined area of the port input buffer (Sd23), and the input data is turned OFF. It is determined whether or not it is in a state (Sd24).

Sd19のステップにおいて投入メダルセンサ31bの確定データがON状態でないと判定した場合、及び、投入メダルセンサ31bの確定データがON状態であり、かつ、Sd20のステップにおいて当該投入メダルセンサ31bの入力データがOFF状態でないと判定した場合、すなわちメダル受入流路29bをメダルが通過中である場合または当該メダル受入流路29bにメダルがない場合には、メダル投入信号処理を終了させる。一方、Sd22のステップにおいて投入メダルセンサ31bの確定データがON状態であると判定し、かつ、Sd24のステップにおいて当該投入メダルセンサ31bの入力データがOFF状態である判定した場合、すなわちメダル受入流路29bにおいて投入メダルセンサ31cがメダルを検出可能な検出位置をメダルが通過し終えたときである場合には、メダル投入処理を行う(Sd25)。 When it is determined that the confirmed data of the inserted medal sensor 31b is not in the ON state in the step of Sd19, and the confirmed data of the inserted medal sensor 31b is in the ON state, and the input data of the inserted medal sensor 31b is in the step of Sd20. If it is determined that the state is not OFF, that is, if the medal is passing through the medal receiving flow path 29b or if there is no medal in the medal receiving flow path 29b, the medal insertion signal processing is terminated. On the other hand, when it is determined in the step of Sd22 that the confirmed data of the inserted medal sensor 31b is in the ON state, and in the step of Sd24, it is determined that the input data of the inserted medal sensor 31b is in the OFF state, that is, the medal acceptance flow path. When the medal has passed the detection position where the inserted medal sensor 31c can detect the medal in 29b, the medal insertion process is performed (Sd25).

メダル投入処理では、RAM41cの所定領域に記憶されている現在設定されている賭数を参照して、規定数の賭数が設定されているか否かを判定する。そして、規定数の賭数が設定されていない場合には、現在の賭数に1加算し、既に、規定数の賭数が設定されている場合には、クレジットカウンタに1加算する。 In the medal insertion process, it is determined whether or not a predetermined number of bets is set by referring to the currently set number of bets stored in the predetermined area of the RAM 41c. Then, when the specified number of bets is not set, 1 is added to the current bet number, and when the specified number of bets is already set, 1 is added to the credit counter.

Sd25のステップにおいてメダル投入処理を行った後は、メダル手入れ許可設定処理を行って(Sd26)、クレジットカウンタに基づいてクレジットの値が最大値(本実施例では、50)に達していない場合に、メダル投入部4からのメダルの投入を許可する旨を示すメダル手入れ許可フラグをRAM41cの所定領域に設定する。 After the medal insertion process is performed in the step of Sd25, the medal care permission setting process is performed (Sd26), and the credit value does not reach the maximum value (50 in this embodiment) based on the credit counter. , A medal care permission flag indicating that the medal insertion from the medal insertion unit 4 is permitted is set in a predetermined area of the RAM 41c.

Sd26のステップにおいてメダル手入れ許可設定処理を行った後、メダル手入れ許可フラグが設定されていない場合は、メダル投入信号無視タイマに予め定められた所定値(本実施例では、504ミリ秒に対応する値)を設定してメダル投入信号無視タイマによる所定時間の計時を開始させた後(Sd28)、メダル投入信号処理を終了させる。一方、メダル手入れ許可フラグが設定されている場合は、メダル投入信号無視タイマの設定を行わずに、メダル投入信号処理を終了させる。尚、メダル投入信号無視タイマは、Sd28のステップにおいて所定値(本実施例では、504ミリ秒に対応する値)が設定された後、所定時間毎に減算されて、予め定められた所定時間(本実施例では4.1秒)が経過したときに、0となるようになっておりメダル投入信号無視タイマが0か否かに基づいて所定時間が経過したか否かを判定できるようになっている。 If the medal care permission flag is not set after the medal care permission setting process is performed in the step of Sd26, a predetermined value predetermined in the medal insertion signal ignore timer (in this embodiment, 504 milliseconds is supported). After setting the value) and starting the time counting of the predetermined time by the medal insertion signal ignore timer (Sd28), the medal insertion signal processing is terminated. On the other hand, when the medal care permission flag is set, the medal insertion signal processing is terminated without setting the medal insertion signal ignore timer. The medal insertion signal ignore timer is decremented every predetermined time after a predetermined value (value corresponding to 504 milliseconds in this embodiment) is set in the step of Sd28, and the predetermined time (predetermined time) ( In this embodiment, it becomes 0 when 4.1 seconds) has elapsed, and it is possible to determine whether or not a predetermined time has elapsed based on whether or not the medal insertion signal ignore timer is 0. ing.

[メダルセンサ処理でのメダル投入信号遷移状態の判定について]
図8に示すように、非遊技プログラムに含まれるメダルセンサ処理におけるメダル投入信号状態遷移が正しいか否かの判定では、投入メダルセンサ1~3(投入メダルセンサ31a~31c)により当該投入メダルセンサ1~3の検出範囲をメダルが通過し始めたことが検出される際には、投入メダルセンサ1(投入メダルセンサ31a)がOFF状態からON状態となった後、投入メダルセンサ2(投入メダルセンサ31b)がOFF状態からON状態となり、その後、投入メダルセンサ3(投入メダルセンサ31b)がOFF状態からON状態となる遷移が、メダル投入信号遷移状態データに基づいて特定される場合に、メダル投入信号状態遷移が正しいと判定されるようになっている。
[Determination of medal insertion signal transition state in medal sensor processing]
As shown in FIG. 8, in determining whether or not the medal insertion signal state transition in the medal sensor processing included in the non-game program is correct, the insertion medal sensors 1 to 3 (insertion medal sensors 31a to 31c) are used to determine whether or not the insertion medal signal state transition is correct. When it is detected that the medal has begun to pass through the detection range of 1 to 3, the insertion medal sensor 1 (insertion medal sensor 31a) is changed from the OFF state to the ON state, and then the insertion medal sensor 2 (insertion medal) A medal when the transition from the OFF state to the ON state of the sensor 31b) and then from the OFF state to the ON state of the insertion medal sensor 3 (insertion medal sensor 31b) is specified based on the medal insertion signal transition state data. The input signal state transition is determined to be correct.

また、投入メダルセンサ1~3により当該投入メダルセンサ1~3の検出範囲をメダルが通過したことが検出される際には、投入メダルセンサ1がON状態からOFF状態となった後、投入メダルセンサ2がON状態からOFF状態となり、その後、投入メダルセンサ3がON状態からOFF状態となる遷移が、メダル投入信号遷移状態データに基づいて特定される場合、及び投入メダルセンサ1がON状態からOFF状態となった後、投入メダルセンサ3がON状態からOFF状態となり、その後、投入メダルセンサ2がON状態からOFF状態となる遷移が、メダル投入信号遷移状態データに基づいて特定される場合に、メダル投入信号状態遷移が正しいと判定されるようになっている。 Further, when it is detected by the inserted medal sensors 1 to 3 that the medal has passed the detection range of the inserted medal sensors 1 to 3, the inserted medal sensor 1 is changed from the ON state to the OFF state, and then the inserted medal. When the transition from the ON state to the OFF state of the sensor 2 and then from the ON state to the OFF state of the insertion medal sensor 3 is specified based on the medal insertion signal transition state data, and when the insertion medal sensor 1 is from the ON state. When the transition from the ON state to the OFF state of the inserted medal sensor 3 and then from the ON state to the OFF state of the inserted medal sensor 2 is specified based on the medal insertion signal transition state data. , The medal insertion signal state transition is determined to be correct.

そして、メダルセンサ処理では、メダル投入信号遷移状態データが正しいと判定されており、かつ投入メダルセンサ1~3のいずれかがON状態であると判定されることで、メダル通過状態参照データ(検知)が設定されることとなる。すなわち、投入メダルセンサ1~3のうち投入メダルセンサ1が最初にOFF状態からON状態に変化する場合に、メダル投入信号遷移状態データが正しいと判定されるので、メダル投入信号遷移状態データが正しいと判定されており、かつ投入メダルセンサ1がON状態となったときに、メダル通過状態参照データ(検知)が設定されることとなる。 Then, in the medal sensor processing, it is determined that the medal insertion signal transition state data is correct, and it is determined that any of the insertion medal sensors 1 to 3 is in the ON state, so that the medal passing state reference data (detection) is obtained. ) Will be set. That is, when the inserted medal sensor 1 of the inserted medal sensors 1 to 3 first changes from the OFF state to the ON state, it is determined that the medal insertion signal transition state data is correct, so that the medal insertion signal transition state data is correct. And when the inserted medal sensor 1 is turned on, the medal passing state reference data (detection) is set.

また、メダル投入信号遷移状態データが正しいと判定されており、かつ投入メダルセンサ1~3のすべてがON状態であると判定されることで、メダル通過状態参照データ(正常通過)が設定されることとなる。すなわち、投入メダルセンサ1~3のうち投入メダルセンサ2が最後にON状態からOFF状態に変化する場合、及び投入メダルセンサ3が最後にON状態からOFF状態に変化する場合に、メダル投入信号遷移状態データが正しいと判定されるので、メダル投入信号遷移状態データが正しいと判定されており、かつ投入メダルセンサ2及び3がOFF状態となったときに、メダル通過状態参照データ(正常通過)が設定されることとなる。 Further, the medal passing state reference data (normal passing) is set by determining that the medal insertion signal transition state data is correct and that all of the insertion medal sensors 1 to 3 are in the ON state. It will be. That is, when the inserted medal sensor 2 of the inserted medal sensors 1 to 3 finally changes from the ON state to the OFF state, and when the inserted medal sensor 3 finally changes from the ON state to the OFF state, the medal insertion signal transitions. Since it is determined that the status data is correct, when the medal insertion signal transition status data is determined to be correct and the inserted medal sensors 2 and 3 are in the OFF state, the medal passing status reference data (normal passage) is displayed. It will be set.

遊技プログラムに含まれる上述のメダル投入信号処理では、Sd16及びSd17のステップによりメダル通過状態参照データ(正常通過)が設定されていると判定した後に、Sd21~Sd24のステップにより投入メダルセンサ1~3の入力データがON状態からOFF状態となったことが特定される場合に、その後のメダル投入処理等に進むようになっている。すなわち、メダルセンサチェック処理によりメダル通過状態参照データ(正常通過)が設定された際に、投入メダルセンサ2または3のON状態からOFF状態への立下りが検出されることで、正常なメダルの投入が検出されるようになっている。 In the above-mentioned medal insertion signal processing included in the game program, after it is determined that the medal passage status reference data (normal passage) is set by the steps Sd16 and Sd17, the insertion medal sensors 1 to 3 are determined by the steps Sd21 to Sd24. When it is specified that the input data of the above is changed from the ON state to the OFF state, the process proceeds to the subsequent medal insertion process or the like. That is, when the medal passing state reference data (normal passing) is set by the medal sensor check process, the falling of the inserted medal sensor 2 or 3 from the ON state to the OFF state is detected, so that the normal medal The input is detected.

[タイマ割込み処理について]
本実施例のメイン制御部41が行うタイマ割込み処理(メイン)の制御内容について、図9に基づいて説明する。尚、タイマ割込み処理(メイン)は、遊技プログラムに含まれるサブルーチンである。
[Timer interrupt processing]
The control content of the timer interrupt process (main) performed by the main control unit 41 of this embodiment will be described with reference to FIG. The timer interrupt process (main) is a subroutine included in the game program.

図9に示すように、タイマ割込み処理(メイン)では、まず、すべての表レジスタと裏レジスタを交換した後(Se1)、タイマ割込を禁止に設定し(Se2)、電断が発生しているか否かを判定する電断判定処理を行う(Se3)。電断判定処理では、スロットマシン1が備える各電気機器等に電力を供給するための電源ボックスから出力される出力電圧が予め定められた所定の閾値より低下した状態が、予め定められた所定期間以上にわたり継続されているか否かを判定し、当該出力電圧が所定の閾値より低下した状態が所定期間(本実施例では、連続する2回のタイマ割込みが行わる期間)以上にわたり継続していると判定した場合は、スロットマシン1への電力供給が停止されて電断が発生していると判定して、その旨を示す電断フラグをRAM41cの所定領域に設定して、当該電断判定処理を終了する。一方、電源ボックスの出力電圧が所定の閾値より低下した状態が所定期間(本実施例では、連続する2回のタイマ割込みが行わる期間)以上にわたり継続していないと判定した場合は、スロットマシン1への電力供給が正常に継続されているので、電断フラグを設定せずに、電断判定処理を終了する。 As shown in FIG. 9, in the timer interrupt processing (main), first, after exchanging all the front registers and the back registers (Se1), the timer interrupt is set to prohibit (Se2), and a power failure occurs. Performs a power failure determination process to determine whether or not it is present (Se3). In the power failure determination process, a state in which the output voltage output from the power supply box for supplying electric power to each electric device included in the slot machine 1 is lower than a predetermined threshold value is set for a predetermined predetermined period. It is determined whether or not the output voltage is continued over the above, and the state in which the output voltage is lower than the predetermined threshold is continued for a predetermined period (in this embodiment, a period in which two consecutive timer interrupts are performed). If it is determined that the power supply to the slot machine 1 is stopped and a power failure has occurred, a power failure flag indicating that effect is set in a predetermined area of the RAM 41c, and the power failure determination is made. End the process. On the other hand, if it is determined that the state in which the output voltage of the power supply box has dropped below a predetermined threshold value has not continued for a predetermined period (in this embodiment, a period in which two consecutive timer interrupts are performed), the slot machine is used. Since the power supply to 1 is normally continued, the power failure determination process is terminated without setting the power failure flag.

Se3のステップにおいて電断判定処理を行った後は、RAM41cの所定領域に設定されているか否かを判定し(Se4)、電断フラグが設定されていると判定した場合には、電断処理を行う。 After performing the power failure determination process in the step of Se3, it is determined whether or not the RAM 41c is set in the predetermined area (Se4), and if it is determined that the power failure flag is set, the power failure process is performed. I do.

電断処理では、メイン制御部41が備えるすべてのレジスタの値、スタックポインタSPにより示される遊技スタック領域の現在のアドレス、遊技RAM領域の所定領域の内容を、バックアップ電源によりバックアップされている遊技RAM領域の所定領域に記憶させることで退避させる。尚、バックアップ電源によりバックアップされている遊技RAM領域は、スロットマシン1への電力供給が停止しても、バックアップ電源により電力が供給される限り当該遊技RAM領域の記憶内容が保存されるようになっている。 In the power interruption process, the values of all the registers included in the main control unit 41, the current address of the game stack area indicated by the stack pointer SP, and the contents of the predetermined area of the game RAM area are backed up by the backup power supply. It is saved by storing it in a predetermined area of the area. In the game RAM area backed up by the backup power supply, even if the power supply to the slot machine 1 is stopped, the stored contents of the game RAM area are saved as long as the power is supplied by the backup power supply. ing.

そして、メイン制御部41が備えるパラレル出力ポートを、所定の順序で順次の初期化して出力状態をOFF状態にする。また、RAM41cの所定領域に破壊診断用データ、RAM41cのパリティ調整用データを、バックアップ電源によりバックアップされている遊技RAM領域の所定領域に設定する。その後、RAM41cへのアクセスを禁止に設定し、ループ処理に入る。この状態で、電源ボックスの出力電圧が、メイン制御部41の動作に必要な電圧よりも低下すると、メイン制御部41は内部的に動作停止状態になる。 Then, the parallel output ports provided in the main control unit 41 are sequentially initialized in a predetermined order to turn off the output state. Further, the destruction diagnosis data and the parity adjustment data of the RAM 41c are set in the predetermined area of the RAM 41c in the predetermined area of the game RAM area backed up by the backup power supply. After that, the access to the RAM 41c is set to be prohibited, and the loop processing is started. In this state, when the output voltage of the power supply box becomes lower than the voltage required for the operation of the main control unit 41, the main control unit 41 is internally stopped.

スロットマシン1への電力供給が停止される場合に、電断処理が実行され、電断前のレジスタの値が退避されるとともに、RAM41cの遊技RAM領域の所定領域の内容もバックアップ電源が供給されることで保持されることで、スロットマシン1への電力供給が再開された際に実行される初期設定処理において、電断前の制御状態に復帰させることができるようになっている。 When the power supply to the slot machine 1 is stopped, the power interruption process is executed, the value of the register before the power interruption is saved, and the backup power is also supplied to the contents of the predetermined area of the game RAM area of the RAM 41c. By holding the power supply to the slot machine 1, it is possible to return to the control state before the power failure in the initial setting process executed when the power supply to the slot machine 1 is restarted.

Se4のステップにおいて、電断フラグが設定されていないと判定した場合は、メイン処理により制御されるゲームの進行段階に応じて各種制御を行うための処理(例えば、各種センサやスイッチ類の入力データ等の更新に関するポート入力処理、投入メダルセンサ31a~31cや払出センサ34cの検出信号の遷移に異常があるか否かを判定するセンサ監視処理、メダル通過時間タイマを更新するメダル通過時間タイマ更新処理、出力ポートに接続された各種LED等の表示器(例えば、クレジット表示器11等)をダイナミック点灯させるLEDダイナミック表示処理等)を順次実行する。 If it is determined in the Se4 step that the power failure flag is not set, processing for performing various controls according to the progress stage of the game controlled by the main processing (for example, input data of various sensors and switches). Port input processing related to updating, etc., sensor monitoring processing to determine whether there is an abnormality in the transition of the detection signals of the input medal sensors 31a to 31c and the payout sensor 34c, medal passage time timer update processing to update the medal passage time timer , LED dynamic display processing for dynamically lighting a display such as various LEDs connected to an output port (for example, a credit display 11 or the like) is sequentially executed.

タイマ割込処理では、当該タイマ割込処理において行う複数の処理の一つとして、例えば、ポート入力処理(Se6)や、センサ監視処理、メダル通過時間タイマ更新処理、LEDダイナミック表示処理等を実行する。 In the timer interrupt process, for example, port input process (Se6), sensor monitoring process, medal passage time timer update process, LED dynamic display process, etc. are executed as one of a plurality of processes performed in the timer interrupt process. ..

ポート入力処理では、該タイマ割込処理(メイン)が行われた時点で入力ポートから入力される各種センサやスイッチ類の検出状態に基づいて、各種センサやスイッチ類毎に入力データ、確定データ、エッジデータ(ONエッジデータ及びOFFエッジデータ)を各々生成して、各データをRAM41cの所定領域に設けられたポート入力バッファの所定領域に設定する。ポート入力バッファに設定された各種センサやスイッチ類の入力データ、確定データ、エッジデータは、上述のメイン処理の遊技開始時待ち処理において行われる操作入力受付処理等の各種処理にて参照され、センサやスイッチ類の入力状況に応じてゲームの進行に関する処理が行われることとなる。 In the port input process, input data, confirmation data, and input data for each sensor and switch are based on the detection status of various sensors and switches input from the input port when the timer interrupt process (main) is performed. Edge data (ON edge data and OFF edge data) are generated respectively, and each data is set in a predetermined area of a port input buffer provided in a predetermined area of the RAM 41c. The input data, confirmation data, and edge data of various sensors and switches set in the port input buffer are referred to in various processes such as the operation input reception process performed in the game start wait process of the above-mentioned main process, and the sensors are used. Processing related to the progress of the game will be performed according to the input status of the switches and switches.

センサ監視処理は、非遊技プログラムに含まれ、上述のメダル手入れ許可フラグが設定されていない期間、すなわちメダル投入部4からのメダルの投入が許可されている期間外において、投入メダルセンサ31a~31cによりメダル等が検出されたか否かを判定し、投入メダルセンサ31a~31cによりメダル等が検出された場合に、メダルの投入に関する異常が発生している旨を示すセンサエラー参照データを非遊技RAM領域の所定領域に設定する。また、上述のメイン処理により実行される遊技終了時設定処理により小役の入賞に伴いメダルを払い出す払出制御が行われている期間外において、払出センサ34cによりメダル等が検出されたか否かを判定し、払出センサ34cによりメダル等が検出された場合に、メダルの払出に関する異常が発生している旨を示すセンサエラー参照データを非遊技RAM領域の所定領域に設定する。 The sensor monitoring process is included in the non-game program, and the inserted medal sensors 31a to 31c are included in the period in which the above-mentioned medal care permission flag is not set, that is, outside the period in which the medal insertion from the medal insertion unit 4 is permitted. It is determined whether or not a medal or the like has been detected, and when a medal or the like is detected by the inserted medal sensors 31a to 31c, the sensor error reference data indicating that an abnormality related to the insertion of the medal has occurred is stored in the non-gaming RAM. Set to a predetermined area of the area. Further, it is determined whether or not the medal or the like is detected by the payout sensor 34c outside the period during which the payout control for paying out the medal is performed according to the winning of the small winning combination by the game end setting process executed by the above-mentioned main process. When the determination is made and a medal or the like is detected by the payout sensor 34c, sensor error reference data indicating that an abnormality related to the payout of the medal has occurred is set in a predetermined area of the non-gaming RAM area.

センサ監視処理により設定されたセンサエラー参照データは、センサ監視処理の終了後にタイマ割込処理において行われる遊技プログラムに含まれる所定処理により参照され、当該所定処理により、設定されているセンサエラー参照データに基づいて特定される異常に応じて、投入エラーフラグ、払出エラーフラグが遊技RAM領域の所定領域に設定される。そして、当該投入エラーフラグ、払出エラーフラグは、上述のメダル投入払出エラーチェック処理において参照され、投入エラーフラグ、払出エラーフラグが設定されている場合には、対応するエラー状態に制御されることとなる。 The sensor error reference data set by the sensor monitoring process is referred to by a predetermined process included in the game program performed in the timer interrupt process after the end of the sensor monitor process, and the sensor error reference data set by the predetermined process. The input error flag and the payout error flag are set in a predetermined area of the game RAM area according to the abnormality identified based on the above. The insertion error flag and the payout error flag are referred to in the above-mentioned medal insertion / withdrawal error check process, and when the insertion error flag and the payout error flag are set, they are controlled to the corresponding error states. Become.

メダル通過時間タイマ更新処理では、上述のメダルセンサ処理によりメダル通過時間タイマによる計時を開始する旨が設定された後、当該計時を終了させる旨が設定されるときまでの期間にわたり、メダル通過時間タイマ更新処理が実行される毎に、メダル通過時間タイマの値に所定値を加算することで更新する。 In the medal passing time timer update process, the medal passing time timer is set for a period from the time when it is set to start the time counting by the medal passing time timer by the above-mentioned medal sensor processing until the time when it is set to end the time counting. Each time the update process is executed, the update is performed by adding a predetermined value to the value of the medal passing time timer.

LEDダイナミック表示処理では、出力ポートに接続された各種LED等の表示器(クレジット表示器11、遊技補助表示器12、1~3BETLED14~16、投入要求LED17、スタート有効LED18、ウェイト中LED19、リプレイ中LED20等)の点灯状態をメイン処理等の各処理による設定に応じてダイナミック点灯させるための点灯信号を設定し、各種LED等の表示器に対して送信するように制御する。これにより、各種LED等の表示器が所定点灯態様に制御されることとなる。 In the LED dynamic display processing, various LEDs and other indicators connected to the output port (credit display 11, game auxiliary display 12, 1 to 3 BETLED 14 to 16, input request LED 17, start effective LED 18, wait LED 19, replaying). A lighting signal for dynamically lighting the lighting state of the LED 20 and the like according to the setting by each process such as the main process is set, and control is performed so as to transmit to indicators such as various LEDs. As a result, indicators such as various LEDs are controlled to a predetermined lighting mode.

Se4のステップにおいて、電断フラグが設定されていないと判定し、タイマ割込処理において行う複数の処理が全て終了した後は、すべての表レジスタと裏レジスタを交換し(Se7)、タイマ割込を許可に設定して(Se8)、タイマ割込み処理を終了させて、当該タイマ割込み処理が開始されたときのメイン処理に復帰させる。 In the step of Se4, it is determined that the power interruption flag is not set, and after all the plurality of processes performed in the timer interrupt process are completed, all the front registers and the back registers are exchanged (Se7), and the timer interrupt is interrupted. Is set to allow (Se8), the timer interrupt processing is terminated, and the process returns to the main processing when the timer interrupt processing is started.

このように、メイン制御部41は、タイマ割込処理において、遊技制御基板40に接続された投入メダルセンサ31a~31cや払出センサ34c、MAXBETスイッチ6等の各種センサやスイッチ類の検出状況を取得して、これら各種センサやスイッチ類の入力データ、確定データ、エッジデータを更新するポート入力処理を実行するようになっている。これにより、上述の遊技開始待ち処理における割込1回待ち処理が行われて、タイマ割込処理が行われる毎に、各種センサやスイッチ類の入力データ、確定データ、エッジデータが更新されるようになっている。 In this way, the main control unit 41 acquires the detection status of various sensors and switches such as the input medal sensors 31a to 31c, the payout sensor 34c, and the MAXBET switch 6 connected to the game control board 40 in the timer interruption process. Then, the port input process for updating the input data, the definite data, and the edge data of these various sensors and switches is executed. As a result, the interrupt one-time wait process in the above-mentioned game start wait process is performed, and the input data, confirmation data, and edge data of various sensors and switches are updated each time the timer interrupt process is performed. It has become.

[作用効果について]
従来の遊技機では、起動時に初期化条件が成立している場合に、制御状態を初期化した後、遊技を進行させるためのメイン処理に移行し、メイン処理において遊技を進行させるための信号が検出されることで、遊技を進行させるようにした構成のものがある。
[About action and effect]
In the conventional gaming machine, when the initialization condition is satisfied at the time of startup, after initializing the control state, it shifts to the main process for advancing the game, and a signal for advancing the game in the main process is output. There is a configuration that allows the game to proceed by being detected.

このような構成では、エラーの中にはメダル詰まりなど解消する作業を行わなければ根本的な解決にならないものもあり、エラーが生じた状態のまま起動時に初期化条件が成立することでエラーも初期化されると、初期化された後、遊技を進行させるための信号が検出されて遊技が進行してしまうと、エラーが解消しないまま遊技が進行してしまう虞がある。 In such a configuration, some errors cannot be fundamentally resolved unless work such as medal jamming is performed, and errors can also occur if the initialization conditions are satisfied at startup with the error occurring. If it is initialized, after the initialization, if a signal for advancing the game is detected and the game progresses, there is a possibility that the game will proceed without eliminating the error.

これに対して、本実施例の遊技機であるスロットマシン1は、遊技の制御を行うメイン制御部41を備え、当該メイン制御部41は、メダル投入信号処理を実行することで、遊技を進行させるための遊技進行信号として、投入メダルセンサ31a~31cにより正常なメダルの投入を示すメダル投入信号が検出されているか否かを判定することが可能であり、操作入力受付処理を実行することで、遊技を進行させるための遊技進行信号として、MAXBETスイッチ6等のスイッチ類の操作状況を示す信号が検出されているか否かを判定することが可能であり、メダル投入払出エラーチェック処理を実行することで、メダルの投入や払出に関する異常が発生しているか否かを判定し、異常が発生しているときには、遊技の進行を不能化するエラー状態に制御するエラー処理を実行することが可能であり、初期設定処理を実行することで、設定変更処理に移行させ、設定変更操作が行われることで初期化条件が成立したときに、RAM41cに記憶されているエラー状態を含む遊技の進行に関する制御状態を初期化することが可能な構成であり、メイン制御部41は、初期設定処理において遊技の進行に関する制御状態を初期化した後、遊技開始待ち処理のメダル投入信号処理や操作入力受付処理において遊技進行信号が検出されているか否かが判定される前に、メダル投入払出エラーチェック処理を実行して特定エラーが発生しているか否かを判定する構成である。 On the other hand, the slot machine 1 which is the gaming machine of the present embodiment includes a main control unit 41 that controls the game, and the main control unit 41 advances the game by executing the medal insertion signal processing. It is possible to determine whether or not the medal insertion signal indicating normal medal insertion is detected by the insertion medal sensors 31a to 31c as the game progress signal for the game, and by executing the operation input acceptance process. , It is possible to determine whether or not a signal indicating the operation status of switches such as the MAXBET switch 6 is detected as the game progress signal for advancing the game, and the medal insertion / withdrawal error check process is executed. By doing so, it is possible to determine whether or not an abnormality related to the insertion or withdrawal of medals has occurred, and when an abnormality has occurred, execute error processing that controls an error state that makes the progress of the game impossible. Yes, by executing the initial setting process, the process shifts to the setting change process, and when the initialization condition is satisfied by performing the setting change operation, control regarding the progress of the game including the error state stored in the RAM 41c. The configuration is such that the state can be initialized, and the main control unit 41 initializes the control state related to the progress of the game in the initial setting process, and then performs the medal insertion signal processing and the operation input reception process of the game start waiting process. Before it is determined whether or not the game progress signal is detected, the medal insertion / withdrawal error check process is executed to determine whether or not a specific error has occurred.

この構成によれば、特定エラーの発生に伴いエラー状態に制御されており、特定エラーの原因が解消しないまま初期化条件が成立した場合でも、遊技に関する制御状態が初期化されることに伴ってエラー状態も初期化されてしまうこととなるが、このような場合でも、初期設定処理において遊技に関する制御状態が初期化された後、最初に遊技進行信号が検出されているか否かが判定される前に、メダル投入払出エラーチェック処理が実行されることで、特定エラーが発生しているか否かが判定され、特定エラーが発生していると判定された場合には、遊技進行信号が検出されて遊技が進行する前に、再びエラー処理が実行されてエラー状態に制御されることとなり、特定エラーの原因が解消していないにも関わらず遊技が進行してしまうことがなく、特定エラーが確実に解消した状態で遊技を進行させることができる。 According to this configuration, the error state is controlled when a specific error occurs, and even if the initialization condition is satisfied without eliminating the cause of the specific error, the control state related to the game is initialized. The error state will also be initialized, but even in such a case, it is determined whether or not the game progress signal is detected first after the control state related to the game is initialized in the initial setting process. Before, by executing the medal insertion / withdrawal error check process, it is determined whether or not a specific error has occurred, and if it is determined that a specific error has occurred, a game progress signal is detected. Before the game progresses, error processing is executed again and the error state is controlled, and the game does not proceed even though the cause of the specific error has not been resolved, and the specific error occurs. The game can be advanced in a state where it is surely resolved.

尚、本実施例では、メイン制御部41は、メダル投入払出エラーチェック処理において、メダル投入部4からのメダルの投入が許可されている期間外において、投入メダルセンサ31a~31cによりメダル等が検出された場合や、メダルの払出制御が行われている期間外において、払出センサ34cによりメダル等が検出された場合に、メダルの投入や払出に関する異常が発生していると判定して、エラー状態に制御する構成であるが、メダル投入払出エラーチェック処理では、メダルセレクタ29内にメダル等が詰まっており、投入メダルセンサ31a~31cにより所定時間以上の期間にわたりメダル等の検出状態が継続されたことに基づいて、メダルの投入に関する異常が発生していると判定する構成や、メダル払出口9の付近にメダル等が詰まっており、払出センサ34cにより所定時間以上の期間にわたりメダル等の検出状態が継続されたことに基づいて、メダルの払出に関する異常が発生していると判定する構成、投入メダルセンサ31a~31cの検出信号の遷移に異常が検出されたことに基づいて、メダルの投入に関する異常が発生していると判定する構成、払出センサ34cの検出信号の遷移に異常が検出されたことに基づいて、メダルの払出に関する異常が発生していると判定する構成でも良い。 In this embodiment, the main control unit 41 detects medals and the like by the inserted medal sensors 31a to 31c in the medal insertion / withdrawal error check process outside the period in which the insertion of medals from the medal insertion unit 4 is permitted. If a medal is detected or a medal or the like is detected by the payout sensor 34c outside the period during which the medal payout control is performed, it is determined that an abnormality related to the insertion or payout of the medal has occurred, and an error state is established. In the medal insertion / withdrawal error check process, the medal selector 29 is clogged with medals, etc., and the insertion medal sensors 31a to 31c continue to detect the medals, etc. for a predetermined time or longer. Based on this, there is a configuration in which it is determined that an abnormality related to the insertion of medals has occurred, medals or the like are clogged near the medal payout exit 9, and the payout sensor 34c detects the medals or the like for a period of a predetermined time or longer. Is related to the insertion of medals based on the configuration in which it is determined that an abnormality related to the payout of medals has occurred based on the continuation of the above, and the abnormality is detected in the transition of the detection signals of the insertion medal sensors 31a to 31c. It may be configured to determine that an abnormality has occurred, or to determine that an abnormality related to medal payout has occurred based on the detection of an abnormality in the transition of the detection signal of the payout sensor 34c.

本実施例のメイン制御部41は、初期設定処理において、設定変更処理に移行して設定変更操作が行われることで、初期化条件が成立したときに、特定エラーが発生しているか否かに関わらず、RAM41cに記憶されている遊技の進行に関する制御状態を初期化する構成である。 In the initial setting process, the main control unit 41 of the present embodiment shifts to the setting change process and performs the setting change operation, so that whether or not a specific error has occurred when the initialization condition is satisfied. Regardless of this, the configuration is such that the control state regarding the progress of the game stored in the RAM 41c is initialized.

この構成によれば、遊技の進行に関する制御状態を初期化することで大半のエラーは解消することから、初期化条件が成立したときに、特定エラーが発生しているか否かに関わらず、遊技の進行に関する制御状態を初期化することで、初期化に係る制御を簡素化できる。 According to this configuration, most of the errors are resolved by initializing the control state related to the progress of the game. Therefore, when the initialization condition is satisfied, the game is played regardless of whether or not a specific error has occurred. By initializing the control state related to the progress of the above, the control related to the initialization can be simplified.

本実施例のメイン制御部41は、初期設定処理にて遊技の進行に関する制御状態を初期化した後、遊技開始待ち処理において実行されるメダル投入信号処理や操作入力受付処理により最初に遊技進行信号が検出されているか否かが判定される前に、メダル投入払出エラーチェック処理を実行して特定エラーが発生しているか否かを判定する構成であり、メダル投入払出エラーチェック処理において、特定エラーとして、メダルの払出に関する異常が発生しているか否かを判定し、異常が発生しているときには、遊技の進行を不能化するエラー状態に制御するエラー処理を実行することが可能であり、特定エラーであるメダルの払出に関する異常は、払出センサ34cの検出範囲内に詰まっているメダル等を物理的に取り除くことで解消可能である。 The main control unit 41 of this embodiment initializes the control state related to the progress of the game in the initial setting process, and then first performs the game progress signal by the medal insertion signal process and the operation input reception process executed in the game start waiting process. Is configured to execute a medal insertion / withdrawal error check process to determine whether or not a specific error has occurred before it is determined whether or not is detected. In the medal insertion / withdrawal error check process, a specific error is determined. As a result, it is possible to determine whether or not an abnormality related to medal payout has occurred, and if an abnormality has occurred, it is possible to execute error processing that controls an error state that makes the progress of the game impossible. The error related to the payout of medals can be resolved by physically removing the medals and the like that are clogged within the detection range of the payout sensor 34c.

この構成によれば、特定エラーとしてメダルの払出に関する異常が発生している場合には、払出センサ34cの検出範囲内に詰まっているメダル等を物理的に取り除くことで特定エラーの原因を物理的に解消可能であり、初期設定処理にて遊技の進行に関する制御状態を初期化した後、最初に遊技進行信号が検出されているか否かが判定される前に、メダル投入払出エラーチェック処理を実行して特定エラーが発生しているか否かを判定するので、特定エラーの原因が物理的に解消していないにも関わらず遊技が進行してしまうことがなく、エラーが確実に解消した状態で遊技を進行させることができる。 According to this configuration, when an abnormality related to the payout of medals occurs as a specific error, the cause of the specific error is physically removed by physically removing the medals and the like that are clogged within the detection range of the payout sensor 34c. After initializing the control state related to the progress of the game in the initial setting process, the medal insertion / withdrawal error check process is executed before it is first determined whether or not the game progress signal is detected. Since it is determined whether or not a specific error has occurred, the game does not proceed even though the cause of the specific error has not been physically resolved, and the error is definitely resolved. The game can be advanced.

本実施例のメイン制御部41は、各種スイッチ類の検出状態の変化に応じて段階的に移行するメイン処理と、一定時間間隔(本実施例では、約0.56ミリ秒)毎に所定の処理を行うタイマ割込処理と、を実行可能であり、タイマ割込処理において、遊技制御基板40に接続された投入メダルセンサ31a~31cや払出センサ34cの検出状況を取得するポート入力処理を実行し、メイン処理に含まれる遊技開始待ち処理において、割込1回待ち処理を実行して少なくとも1回のタイマ割込処理が実行されることを待った後、メダル投入払出エラーチェック処理を実行して、特定エラーが発生しているか否かを判定する構成である。 The main control unit 41 of this embodiment has a main process that gradually shifts according to a change in the detection state of various switches, and a predetermined time interval (about 0.56 milliseconds in this embodiment). It is possible to execute a timer interrupt process for processing, and in the timer interrupt process, execute a port input process for acquiring the detection status of the input medal sensors 31a to 31c and the payout sensor 34c connected to the game control board 40. Then, in the game start waiting process included in the main process, the interrupt once wait process is executed, the timer interrupt process is waited to be executed at least once, and then the medal insertion / withdrawal error check process is executed. , It is a configuration to determine whether or not a specific error has occurred.

この構成によれば、割込1回待ち処理の実行により行われるタイマ割込処理のポート入力処理によって投入メダルセンサ31a~31cや払出センサ34cの最新の検出状況が取得された後に、メダル投入払出エラーチェック処理を実行することで、最新の状態で特定エラーが発生しているか否かを判定することができる。 According to this configuration, after the latest detection status of the input medal sensors 31a to 31c and the payout sensor 34c is acquired by the port input process of the timer interrupt process performed by executing the interrupt once wait process, the medal insertion / withdrawal is performed. By executing the error check process, it is possible to determine whether or not a specific error has occurred in the latest state.

本実施例のメイン制御部41は、メイン処理とタイマ割込処理とを実行可能であり、タイマ割込処理において、遊技制御基板40に接続された投入メダルセンサ31a~31cや払出センサ34c、MAXBETスイッチ6等のスイッチ類の検出状況を取得するポート入力処理を実行し、メイン処理に含まれる遊技開始待ち処理において、割込1回待ち処理を実行して1回のタイマ割込処理が実行される毎に、メダル投入払出エラーチェック処理、メダル投入信号処理、操作入力受付処理を実行し、メダル投入払出エラーチェック処理において、メダルの投入や払出に関する異常が発生しているか否かを判定し、メダル投入信号処理及び投入操作入力受付処理において、遊技進行信号が検出されているか否かを判定する構成である。 The main control unit 41 of this embodiment can execute the main process and the timer interrupt process, and in the timer interrupt process, the input medal sensors 31a to 31c, the payout sensor 34c, and the MAXBET connected to the game control board 40. A port input process for acquiring the detection status of switches such as the switch 6 is executed, and in the game start wait process included in the main process, one interrupt wait process is executed and one timer interrupt process is executed. Each time, the medal insertion / withdrawal error check process, the medal insertion / withdrawal signal process, and the operation input acceptance process are executed, and it is determined whether or not an abnormality related to the medal insertion / withdrawal has occurred in the medal insertion / withdrawal error check process. It is configured to determine whether or not a game progress signal is detected in the medal insertion signal processing and the insertion operation input reception processing.

この構成によれば、タイマ割込処理が実行されてポート入力処理により、投入メダルセンサ31a~31c、払出センサ34c、MAXBETスイッチ6等のスイッチ類の検出状況が取得され、最新の状態に更新される毎に、特定エラーが発生しているか否かを判定すること、遊技進行信号が検出されているか否かを判定することができる。 According to this configuration, the timer interrupt processing is executed and the detection status of the switches such as the input medal sensors 31a to 31c, the payout sensor 34c, and the MAXBET switch 6 is acquired by the port input processing and updated to the latest state. It is possible to determine whether or not a specific error has occurred and whether or not a game progress signal has been detected.

本実施例のメイン制御部41は、メダル投入信号処理、操作入力受付処理において、遊技を進行させるための遊技進行信号が検出されているか否かを判定することが可能であり、メダル投入払出エラーチェック処理を実行することで、メダルの投入や払出に関する異常が発生しているか否かを判定し、異常が発生しているときには、遊技の進行を不能化するエラー状態に制御するエラー処理を実行することが可能な構成であり、不能化手段によるエラー状態が解除された後、メダル投入信号処理、操作入力受付処理により最初に遊技進行信号が検出されているか否かが判定される前に、メダル投入払出エラーチェック処理を実行して、特定エラーが発生しているか否かを判定する構成である。 The main control unit 41 of the present embodiment can determine whether or not a game progress signal for advancing the game is detected in the medal insertion signal processing and the operation input reception processing, and the medal insertion / withdrawal error. By executing the check process, it is determined whether or not an abnormality related to the insertion or withdrawal of medals has occurred, and if an abnormality has occurred, an error process for controlling the error state that makes the progress of the game impossible is executed. It is a configuration that can be performed, and after the error state by the disabling means is cleared, before it is determined whether or not the game progress signal is first detected by the medal insertion signal processing and the operation input reception processing. The medal insertion / withdrawal error check process is executed to determine whether or not a specific error has occurred.

この構成によれば、特定エラーの発生に伴いエラー状態に制御されており、特定エラーの原因が解消しないままエラー状態が解除された場合に、特定エラーが解消されていない場合でも遊技が進行可能となるが、このような場合でも、エラー状態が解除された後、最初に遊技進行信号が検出されているか否かが判定される前に、メダル投入払出エラーチェック処理が実行されて、特定エラーが発生しているか否かが判定され、特定エラーが発生していると判定された場合には、遊技進行信号が検出されて遊技が進行する前に再びエラー状態に制御されることとなり、特定エラーの原因が解消していないにも関わらず遊技が進行してしまうことがなく、エラーが確実に解消した状態で遊技を進行させることができる。 According to this configuration, the error state is controlled when a specific error occurs, and if the error state is canceled without eliminating the cause of the specific error, the game can proceed even if the specific error is not resolved. However, even in such a case, after the error state is cleared and before it is first determined whether or not the game progress signal is detected, the medal insertion / withdrawal error check process is executed and a specific error is executed. If it is determined that a specific error has occurred, the game progress signal is detected and the error state is controlled again before the game progresses. The game does not proceed even though the cause of the error has not been resolved, and the game can be played in a state where the error is definitely resolved.

従来の遊技機では、遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、がそれぞれ別個にROMに割り当てられた構成のものがある。このような構成では、非遊技プログラムにおいてメダルの通過の不正を検知しているが、遊技プログラムにおいては投入されたメダルの通過のみを判定しているため、非遊技プログラムが正常に動作しなかった場合に、不正が行われていてもメダルの通過が判定されてしまう虞がある。 In the conventional gaming machine, a game program area in which a game program related to the progress of the game is stored and a non-game program area in which a non-game program not related to the progress of the game are stored are separately assigned to the ROM. There is a composition. In such a configuration, the non-game program detects fraudulent passage of medals, but the game program determines only the passage of inserted medals, so that the non-game program does not operate normally. In that case, there is a risk that the passage of the medal will be determined even if the fraud is committed.

これに対して、本実施例の遊技機であるスロットマシン1は、プログラムを記憶可能な記憶領域を有するROM41bと、当該ROM41bに記憶されたプログラムに基づいて制御を行うメイン制御部41と、を備え、ROM41bの記憶領域は、遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、を含み、遊技プログラムにおいて第1条件として、投入メダルセンサ31bまたは31cの確定データがON状態であり、かつ入力データがOFF状態であること、すなわち入力データがON状態からOFF状態に変化したことが成立することで、遊技媒体であるメダルの通過を検出する第1検出処理(メダル投入信号処理)を行い、非遊技プログラムにおいて第2条件として、投入メダルセンサ31a~31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行い、遊技プログラムでは、第1検出処理及び第2検出処理の双方で遊技媒体の通過が検出されたときに賭け数及びクレジットに加算する遊技媒体が通過したことを判定する構成である。 On the other hand, the slot machine 1 which is the gaming machine of the present embodiment has a ROM 41b having a storage area capable of storing a program, and a main control unit 41 which controls based on the program stored in the ROM 41b. The storage area of the ROM 41b is a game program area in which a game program related to the progress of the game is stored, and a non-game program area in which a non-game program not related to the progress of the game is stored, which is a program called by the game program. As the first condition in the game program, the confirmation data of the input medal sensor 31b or 31c is in the ON state, and the input data is in the OFF state, that is, the input data has changed from the ON state to the OFF state. When the fact is established, the first detection process (medal insertion signal processing) for detecting the passage of the medal, which is the game medium, is performed, and the second condition in the non-game program is based on the detection state of the insertion medal sensors 31a to 31c. The passage of the medal, which is a game medium, is detected when it is established that the medal insertion signal state transition data specified by the above is normal and the confirmation data of the insertion medal sensor 31b or 31c has changed from the ON state to the OFF state. The second detection process (medal sensor check process) is performed, and in the game program, when the passage of the game medium is detected in both the first detection process and the second detection process, the game medium to be added to the bet number and the credit is passed. It is a configuration to determine that it has been done.

このような構成では、遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、が別個に割り当てられた構成において、遊技プログラムにおいて第1条件が成立することで遊技媒体の通過を検出する第1検出処理、及び遊技プログラムにおいて第2条件が成立することで遊技媒体の通過を検出する第2検出処理の双方で遊技媒体の通過が検出されたときに遊技媒体の通過を判定するので、遊技プログラムの容量を増やすことなく、遊技媒体の通過を適切に判定することができる。 In such a configuration, a game program area in which a game program related to the progress of the game is stored, a non-game program area in which a non-game program that is a program called by the game program and is not related to the progress of the game is stored, and a non-game program area. In the configuration in which is separately assigned, the first detection process for detecting the passage of the game medium when the first condition is satisfied in the game program, and the detection of the passage of the game medium when the second condition is satisfied in the game program. Since the passage of the game medium is determined when the passage of the game medium is detected in both of the second detection processes, the passage of the game medium can be appropriately determined without increasing the capacity of the game program.

本実施例のスロットマシン1は、第1条件として、投入メダルセンサ31bまたは31cの確定データがON状態であり、かつ入力データがOFF状態であることが成立することで、遊技媒体であるメダルの通過を検出する第1検出処理(メダル投入信号処理)を行い、第2条件として、投入メダルセンサ31a~31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行う構成であり、第2条件は、第1条件よりも多くの情報を含むメダル投入信号の状態遷移に基づいて成立する構成である。このような構成では、遊技プログラムの容量を増やすことなく、遊技媒体の通過に係る不正を排除することができる。 In the slot machine 1 of the present embodiment, as the first condition, it is established that the confirmed data of the inserted medal sensor 31b or 31c is in the ON state and the input data is in the OFF state, so that the medal that is the game medium can be used. The first detection process (medal insertion signal processing) for detecting passage is performed, and as the second condition, the medal insertion signal state transition data specified based on the detection states of the insertion medal sensors 31a to 31c is normal and insertion. A second detection process (medal sensor check process) for detecting the passage of a medal, which is a game medium, is performed by establishing that the confirmed data of the medal sensor 31b or 31c has changed from the ON state to the OFF state. The two conditions are configured to be satisfied based on the state transition of the medal insertion signal containing more information than the first condition. With such a configuration, it is possible to eliminate fraud related to the passage of the game medium without increasing the capacity of the game program.

本実施例のスロットマシン1は、非遊技プログラムであるメダルセンサチェック処理において、第2条件として、投入メダルセンサ31a~31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行う構成であり、第2検出処理により遊技媒体の通過が正常に検出されなかったときに異常と判定して、メダル関連エラー参照データ(E5)を設定する構成である。このような構成では、遊技プログラムの容量を増やすことなく、遊技媒体の通過に係る不正を検知することができる。 In the slot machine 1 of the present embodiment, in the medal sensor check process, which is a non-gaming program, the medal insertion signal state transition data specified based on the detection states of the insertion medal sensors 31a to 31c is normal as the second condition. In addition, the second detection process (medal sensor check process) for detecting the passage of the medal, which is the game medium, is performed by establishing that the confirmed data of the inserted medal sensor 31b or 31c has changed from the ON state to the OFF state. There is a configuration in which a medal-related error reference data (E5) is set by determining an abnormality when the passage of the game medium is not normally detected by the second detection process. With such a configuration, fraud related to the passage of the game medium can be detected without increasing the capacity of the game program.

本実施例のスロットマシン1は、第1条件として、投入メダルセンサ31bまたは31cの確定データがON状態であり、かつ入力データがOFF状態であることが成立することで、遊技媒体であるメダルの通過を検出する第1検出処理(メダル投入信号処理)を行い、第2条件として、投入メダルセンサ31a~31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行う構成であり、第1検出処理及び第2検出処理において、共通の投入メダルセンサ31a~31cを用いて遊技媒体の通過を検出する構成である。このような構成では、共通のセンサを対象として遊技プログラムと非遊技プログラムの双方で遊技媒体の通過を検出するため、遊技プログラムの容量を増やすことなく、遊技媒体の通過を適切に判定することができる。 In the slot machine 1 of the present embodiment, as the first condition, it is established that the confirmed data of the inserted medal sensor 31b or 31c is in the ON state and the input data is in the OFF state, so that the medal that is the game medium can be used. The first detection process (medal insertion signal processing) for detecting passage is performed, and as the second condition, the medal insertion signal state transition data specified based on the detection states of the insertion medal sensors 31a to 31c is normal and insertion. A second detection process (medal sensor check process) for detecting the passage of a medal, which is a game medium, is performed by establishing that the confirmed data of the medal sensor 31b or 31c has changed from the ON state to the OFF state. In the 1st detection process and the 2nd detection process, the passage of the game medium is detected by using the common input medal sensors 31a to 31c. In such a configuration, since the passage of the game medium is detected in both the game program and the non-game program by targeting a common sensor, it is possible to appropriately determine the passage of the game medium without increasing the capacity of the game program. can.

本実施例のスロットマシン1は、一定期間毎に定期処理を実行するタイマ割込み処理(メイン)により、投入メダルセンサ31a~31cの検出状態を取得可能であり、第1条件として、投入メダルセンサ31bまたは31cの確定データがON状態であり、かつ入力データがOFF状態であることが成立することで、遊技媒体であるメダルの通過を検出する第1検出処理(メダル投入信号処理)を行い、第2条件として、投入メダルセンサ31a~31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行う構成であり、第1検出処理及び第2検出処理では、同じタイマ割込み処理(メイン)にて取得された投入メダルセンサ31a~31cの検出状態を用いて遊技媒体の通過を検出する構成である。このような構成では、同じタイマ割込み処理(メイン)にて取得した投入メダルセンサ31a~31cの検出状態を用いて遊技プログラムと非遊技プログラムの双方で遊技媒体の通過を検出するため、遊技プログラムの容量を増やすことなく、遊技媒体の通過を適切に判定することができる。 The slot machine 1 of the present embodiment can acquire the detection state of the insertion medal sensors 31a to 31c by the timer interrupt processing (main) that executes the periodic processing at regular intervals, and as the first condition, the insertion medal sensor 31b Alternatively, when it is established that the confirmed data of 31c is in the ON state and the input data is in the OFF state, the first detection process (medal insertion signal process) for detecting the passage of the medal, which is the game medium, is performed, and the first is performed. As two conditions, the medal insertion signal state transition data specified based on the detection state of the insertion medal sensors 31a to 31c is normal, and the confirmation data of the insertion medal sensor 31b or 31c has changed from the ON state to the OFF state. The second detection process (medal sensor check process) for detecting the passage of the medal, which is the game medium, is performed when is satisfied. In the first detection process and the second detection process, the same timer interrupt process (main) is used. The configuration is such that the passage of the game medium is detected by using the detection states of the input medal sensors 31a to 31c acquired in the above steps. In such a configuration, the passage of the game medium is detected in both the game program and the non-game program by using the detection states of the input medal sensors 31a to 31c acquired by the same timer interrupt process (main). It is possible to appropriately determine the passage of the game medium without increasing the capacity.

以上、本発明の実施例を図面により説明してきたが、本発明はこの実施例に限定されるものではなく、本発明の主旨を逸脱しない範囲における変更や追加があっても本発明に含まれることは言うまでもない。 Although the embodiments of the present invention have been described above with reference to the drawings, the present invention is not limited to the present invention and is included in the present invention even if there are changes or additions within the range not deviating from the gist of the present invention. Needless to say.

前記実施例では、本発明を遊技用価値としてメダル並びにクレジットを用いて賭数が設定されるスロットマシンに適用した例について説明したが、遊技用価値として遊技球を用いて賭数を設定するスロットマシンや、遊技用価値としてクレジットのみを使用して賭数を設定する完全クレジット式のスロットマシンに適用しても良い。遊技球を遊技用価値として用いる場合は、例えば、メダル1枚分を遊技球5個分に対応させることができ、前記実施例で賭数として3を設定する場合は、15個の遊技球を用いて賭数を設定するものに相当する。 In the above embodiment, an example in which the present invention is applied to a slot machine in which a bet number is set by using medals and credits as a game value has been described, but a slot in which a bet number is set by using a game ball as a game value has been described. It may be applied to machines or fully credited slot machines that set the number of bets using only credits as a gaming value. When the game ball is used as the game value, for example, one medal can be associated with five game balls, and when the bet number is set to 3 in the above embodiment, 15 game balls are used. Corresponds to setting the number of bets using.

さらに、メダル及び遊技球等の複数種類の遊技用価値のうちいずれか1種類のみを用いるものに限定されるものではなく、例えば、メダル及び遊技球等の複数種類の遊技用価値を併用できるものであっても良い。すなわち、メダル及び遊技球等の複数種類の遊技用価値のいずれを用いても賭数を設定してゲームを行うことが可能であり、かつ入賞の発生によってメダル及び遊技球等の複数種類の遊技用価値のいずれをも払い出し得るスロットマシンを適用しても良い。 Further, the value is not limited to one using only one of a plurality of types of game values such as medals and game balls, and for example, a plurality of types of game values such as medals and game balls can be used together. It may be. That is, it is possible to set the number of bets and play a game by using any of a plurality of types of game values such as medals and game balls, and a plurality of types of games such as medals and game balls are generated depending on the occurrence of a prize. You may apply a slot machine that can pay out any value.

また、前記実施例及び変形例では、本発明が遊技機の一例であるスロットマシン1に適用された例が示されていたが、本発明はこれに限定されるものではなく、遊技機の他の一例であり、遊技領域に遊技球を発射することにより遊技を行うパチンコ遊技機等においても適用可能である。 Further, in the above-mentioned Examples and Modifications, an example in which the present invention is applied to the slot machine 1 which is an example of a gaming machine has been shown, but the present invention is not limited to this, and the present invention is not limited to this. This is an example, and can be applied to a pachinko gaming machine or the like that plays a game by launching a gaming ball into the gaming area.

1 スロットマシン
2L、2C、2R リール
6 MAXBETスイッチ
7 スタートスイッチ
8L、8C、8R ストップスイッチ
41 メイン制御部
91 サブ制御部
1 Slot machine 2L, 2C, 2R reel 6 MAXBET switch 7 Start switch 8L, 8C, 8R Stop switch 41 Main control unit 91 Sub control unit

Claims (1)

遊技を行う遊技機において、
プログラムを記憶可能な記憶領域を有する記憶手段と、
記憶手段に記憶されたプログラムに基づいて制御を行う制御手段と、
遊技媒体を投入可能な投入口と、
前記投入口に投入された遊技媒体が通過しているときに検出信号を出力する投入検出手段と、
遊技媒体を払出可能な払出手段と、
前記払出手段から払い出された遊技媒体が通過しているときに検出信号を出力する払出検出手段と、
を備え、
前記制御手段は、
遊技を進行させるための遊技進行信号が検出されているか否かを判定する検出判定手段と、
遊技媒体の投入を判定する投入判定手段と、
前記投入検出手段から出力された検出信号に基づいて異常が生じているか否かを判定し、異常が生じていると判定したときに投入異常フラグを設定する投入異常フラグ設定手段と、
前記払出検出手段から出力された検出信号に基づいて異常が生じているか否かを判定し、異常が生じていると判定したときに払出異常フラグを設定する払出異常フラグ設定手段と、
前記投入異常フラグが設定されているか否か及び前記払出異常フラグが設定されているか否かを判定する異常判定手段と、
前記異常判定手段により前記投入異常フラグまたは前記払出異常フラグの少なくとも一方が設定されていると判定されたときに遊技の進行を不能化する不能化状態に制御する不能化状態制御手段と、
初期化条件が成立したときに、前記不能化状態を含む遊技の進行に関する制御状態を初期化する初期化手段と、
含み
前記異常判定手段は、
前記初期化手段により遊技の進行に関する制御状態が初期化された後、前記検出判定手段により最初に遊技進行信号が検出されているか否かが判定される前に、前記投入異常フラグが設定されているか否か及び前記払出異常フラグが設定されているか否かを判定し、
前記不能化状態が解除された後、前記検出判定手段により最初に遊技進行信号が検出されているか否かが判定される前に、前記投入異常フラグが設定されているか否か及び前記払出異常フラグが設定されているか否かを判定し、
前記記憶手段の記憶領域は、
第1プログラムが記憶される第1プログラム領域と、
前記第1プログラムによって呼び出される第2プログラムが記憶される第2プログラム領域と、
を含み、
前記第1プログラムにおいて前記投入検出手段から出力された検出信号に基づいて遊技媒体の通過を検出する第1検出処理を行い、
前記第2プログラムにおいて前記投入検出手段から出力された検出信号に基づいて遊技媒体の通過を検出する第2検出処理を行い、
前記投入判定手段は、前記第1プログラムにおいて前記第2検出処理により遊技媒体の通過が検出されたか否かを判定し、前記第2検出処理により遊技媒体の通過が検出されたと判定したときに、前記第1検出処理を行い、前記第1検出処理により遊技媒体の通過が検出されたときに、遊技媒体の投入を判定する、遊技機。
In a gaming machine that plays games
A storage means having a storage area that can store a program,
A control means that controls based on a program stored in the storage means,
A slot where game media can be inserted, and
A charging detection means that outputs a detection signal when the gaming medium loaded in the slot is passing through, and
Withdrawal means that can pay out game media,
A payout detection means that outputs a detection signal when the game medium paid out from the payout means is passing through, and a payout detection means.
Equipped with
The control means is
A detection determination means for determining whether or not a game progress signal for advancing a game has been detected, and
An input determination means for determining the input of the game medium, and
An input abnormality flag setting means that determines whether or not an abnormality has occurred based on the detection signal output from the input detection means and sets an input abnormality flag when it is determined that an abnormality has occurred.
A payout abnormality flag setting means that determines whether or not an abnormality has occurred based on the detection signal output from the payout detection means and sets a payout abnormality flag when it is determined that an abnormality has occurred.
An abnormality determining means for determining whether or not the input abnormality flag is set and whether or not the payout abnormality flag is set , and
A disabling state control means for controlling the progress of the game to a disabling state when it is determined by the abnormality determining means that at least one of the input abnormality flag and the payout abnormality flag is set .
When the initialization condition is satisfied, the initialization means for initializing the control state regarding the progress of the game including the disabled state, and the initialization means.
Including
The abnormality determination means is
After the control state regarding the progress of the game is initialized by the initialization means, and before it is determined whether or not the game progress signal is first detected by the detection determination means, the input abnormality flag is set. It is determined whether or not the payout abnormality flag is set, and whether or not the payout abnormality flag is set .
Whether or not the input abnormality flag is set and the payout abnormality flag after the disabling state is released and before the detection determination means first determines whether or not the game progress signal is detected. Judges whether or not is set,
The storage area of the storage means is
The first program area where the first program is stored and
A second program area in which the second program called by the first program is stored, and
Including
In the first program, the first detection process for detecting the passage of the game medium is performed based on the detection signal output from the input detection means.
In the second program, a second detection process for detecting the passage of the game medium is performed based on the detection signal output from the input detection means.
The input determination means determines whether or not the passage of the gaming medium is detected by the second detection process in the first program, and when it is determined that the passage of the gaming medium is detected by the second detection process, the input determination means determines. A gaming machine that performs the first detection process and determines that the gaming medium is loaded when the passage of the gaming medium is detected by the first detection process .
JP2017114215A 2017-06-09 2017-06-09 Pachinko machine Active JP7018266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017114215A JP7018266B2 (en) 2017-06-09 2017-06-09 Pachinko machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017114215A JP7018266B2 (en) 2017-06-09 2017-06-09 Pachinko machine

Publications (2)

Publication Number Publication Date
JP2018202075A JP2018202075A (en) 2018-12-27
JP7018266B2 true JP7018266B2 (en) 2022-02-10

Family

ID=64955913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017114215A Active JP7018266B2 (en) 2017-06-09 2017-06-09 Pachinko machine

Country Status (1)

Country Link
JP (1) JP7018266B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019013464A (en) * 2017-07-07 2019-01-31 株式会社三共 Game machine

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006006901A (en) 2004-05-24 2006-01-12 Kita Denshi Corp Slot machine
JP2009247716A (en) 2008-04-09 2009-10-29 Olympia:Kk Game machine, its program and computer-readable memory medium storing the program
JP2011078650A (en) 2009-10-08 2011-04-21 Sankyo Co Ltd Slot machine
JP5382482B1 (en) 2013-04-15 2014-01-08 株式会社北電子 Game machine
JP5931254B1 (en) 2015-06-29 2016-06-08 サミー株式会社 Slot machine
JP2016179086A (en) 2015-03-24 2016-10-13 京楽産業.株式会社 Game machine
JP2017018493A (en) 2015-07-14 2017-01-26 株式会社藤商事 Game machine
JP2017018494A (en) 2015-07-14 2017-01-26 株式会社藤商事 Game machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006006901A (en) 2004-05-24 2006-01-12 Kita Denshi Corp Slot machine
JP2009247716A (en) 2008-04-09 2009-10-29 Olympia:Kk Game machine, its program and computer-readable memory medium storing the program
JP2011078650A (en) 2009-10-08 2011-04-21 Sankyo Co Ltd Slot machine
JP5382482B1 (en) 2013-04-15 2014-01-08 株式会社北電子 Game machine
JP2016179086A (en) 2015-03-24 2016-10-13 京楽産業.株式会社 Game machine
JP5931254B1 (en) 2015-06-29 2016-06-08 サミー株式会社 Slot machine
JP2017018493A (en) 2015-07-14 2017-01-26 株式会社藤商事 Game machine
JP2017018494A (en) 2015-07-14 2017-01-26 株式会社藤商事 Game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019013464A (en) * 2017-07-07 2019-01-31 株式会社三共 Game machine
JP7191503B2 (en) 2017-07-07 2022-12-19 株式会社三共 game machine

Also Published As

Publication number Publication date
JP2018202075A (en) 2018-12-27

Similar Documents

Publication Publication Date Title
JP7055692B2 (en) Slot machine
JP7007953B2 (en) Slot machine
JP6965081B2 (en) Pachinko machine
JP2004016733A (en) Game machine
JP7088739B2 (en) Slot machine
JP6820683B2 (en) Slot machine
JP6999844B2 (en) Pachinko machine
JP2020065821A (en) Game machine
JP7018266B2 (en) Pachinko machine
JP7191503B2 (en) game machine
JP2020065674A (en) Game machine
JP7017351B2 (en) Pachinko machine
JP6792691B2 (en) Game machine
JP7058529B2 (en) Slot machine
JP7007954B2 (en) Slot machine
JP7007956B2 (en) Slot machine
JP7007955B2 (en) Slot machine
JP7088684B2 (en) Slot machine
JP7041536B2 (en) Slot machine
JP6824657B2 (en) Slot machine
JP6929157B2 (en) Slot machine
JP6570574B2 (en) Game machine
JP6735626B2 (en) Amusement machine
JP2019050980A (en) Game machine
JP7074544B2 (en) Slot machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211005

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220131

R150 Certificate of patent or registration of utility model

Ref document number: 7018266

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150