JP4809284B2 - Mobile control device and slot machine using the same - Google Patents

Mobile control device and slot machine using the same Download PDF

Info

Publication number
JP4809284B2
JP4809284B2 JP2007115096A JP2007115096A JP4809284B2 JP 4809284 B2 JP4809284 B2 JP 4809284B2 JP 2007115096 A JP2007115096 A JP 2007115096A JP 2007115096 A JP2007115096 A JP 2007115096A JP 4809284 B2 JP4809284 B2 JP 4809284B2
Authority
JP
Japan
Prior art keywords
signal
detection result
moving body
unit
stepping motor
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
JP2007115096A
Other languages
Japanese (ja)
Other versions
JP2008264416A (en
Inventor
卓 山口
Original Assignee
山佐株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 山佐株式会社 filed Critical 山佐株式会社
Priority to JP2007115096A priority Critical patent/JP4809284B2/en
Publication of JP2008264416A publication Critical patent/JP2008264416A/en
Application granted granted Critical
Publication of JP4809284B2 publication Critical patent/JP4809284B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Description

本発明は、基体に移動可能に設けられた移動体をステッピングモータで駆動するとともに、予め設定された所定位置に達した前記移動体を当該所定位置に停止させるべく、前記ステッピングモータの動作を停止させる移動体制御装置、及び、この移動体制御装置を利用したスロットマシンに関する。   The present invention drives a movable body provided on a base body to be movable by a stepping motor and stops the operation of the stepping motor to stop the movable body that has reached a predetermined position at a predetermined position. The present invention relates to a moving body control device to be operated and a slot machine using the moving body control device.

従来から、基体に設定された二位置の間を移動可能に設けられた移動体をモータで駆動する移動体駆動機構が利用されている。
このような移動体駆動機構には、その動作を自動制御するために、一般的に、前述の二位置のそれぞれに配置されるとともに、移動体の近接を検出するフォトインタラプタ等の近接センサと、移動体の動きを制御するとともに、マイクロコンピュータを含んで構成される制御装置とが設けられる。
このうち、制御装置は、予め定められた事象を契機として、前述の二位置の一方から他方へ向かって移動体の移動を開始させ、この後、近接センサからの信号に基づいて、前述の二位置の他方に移動体が到着したと判定すると、当該移動体を停止させる制御を行うものである。
2. Description of the Related Art Conventionally, a moving body driving mechanism that drives a moving body that is provided so as to be movable between two positions set on a base with a motor has been used.
In order to automatically control the operation of such a moving body drive mechanism, in general, a proximity sensor such as a photo interrupter that is disposed at each of the two positions described above and detects the proximity of the moving body, and A control device configured to control the movement of the moving body and include a microcomputer is provided.
Among these, the control device starts the movement of the moving body from one of the two positions to the other, triggered by a predetermined event, and thereafter, based on the signal from the proximity sensor, When it is determined that the moving body has arrived at the other position, control is performed to stop the moving body.

ここで、制御装置は、内部に設けられている各回路同士の間で処理の同期を取るために、クロックジェネレータといわれる発振器にクロック信号を周期的に発生させ、このクロック信号を基準にして各処理を実行していくようになっている。
例えば、前述の移動体を停止させる制御を行うにあたり、近接センサの出力信号をサンプリングするサンプリングタイミングとして、クロック信号の発生タイミングを利用している。換言すると、制御装置は、クロックジェネレータが発生するクロック信号を基準にしたタイミングで、近接センサからの信号をサンプリングし、この信号に基づいて、前述の二位置の他方に移動体が到着したと判定し、当該移動体を停止させるようになっている。
Here, in order to synchronize processing between the circuits provided inside, the control device periodically generates a clock signal in an oscillator called a clock generator, and each clock signal is used as a reference. The process is to be executed.
For example, in performing the above-described control for stopping the moving body, the generation timing of the clock signal is used as the sampling timing for sampling the output signal of the proximity sensor. In other words, the control device samples the signal from the proximity sensor at a timing based on the clock signal generated by the clock generator, and determines that the moving body has arrived at the other of the two positions based on this signal. Then, the moving body is stopped.

一方、近接センサは、移動体に設けられた被検知部の近接を検知する検知部を有し、且つ、被検知部が検知部に近接すると、例えば、出力信号がローレベルからハイレベルへ移行するものとなっている。また、近接センサは、機械的振動や周囲の電磁ノイズ等により、移動体がまだ所定の位置に達していないのに、出力信号が瞬間的にハイレベルに移行するチャタリングを生じることがある。このため、近接センサからの信号を受信する前述の制御装置は、次のようにして、チャタリングを取り除いている。
すなわち、マイクロコンピュータを含んで構成される制御装置は、前述のクロック信号を基準にして動作しており、前述したように、クロック信号を基準にしたタイミングで、近接センサの出力信号をサンプリングして、サンプルデータを得ている。
On the other hand, the proximity sensor has a detection unit that detects the proximity of the detection unit provided on the moving body, and when the detection unit is close to the detection unit, for example, the output signal shifts from a low level to a high level. It is supposed to be. Further, the proximity sensor may cause chattering in which the output signal instantaneously shifts to a high level due to mechanical vibration, ambient electromagnetic noise, or the like even though the moving body has not yet reached the predetermined position. For this reason, the control device described above that receives a signal from the proximity sensor removes chattering as follows.
That is, the control device including the microcomputer operates on the basis of the clock signal described above, and samples the output signal of the proximity sensor at the timing based on the clock signal as described above. , Getting sample data.

そして、サンプリングしたサンプルデータを時系列順に記憶し、所定数のサンプルデータが連続してハイレベルとなっているか否かを判別するようになっている。
ここで、所定数のサンプルデータが連続してハイレベルとなっていない場合には、チャタリングにより出力信号が瞬間的にハイレベルに移行したと見なせるので、当該出力信号のハイレベルへの移行を無効とし、移動体が近接していないと判定する。
逆に、所定数のサンプルデータが連続してハイレベルとなっている場合には、近接センサの出力信号が適正にハイレベルに移行したと見なせるので、移動体が近接したと判定する。
The sampled sample data is stored in chronological order, and it is determined whether or not a predetermined number of sample data is continuously at a high level.
Here, if the predetermined number of sample data is not continuously at the high level, it can be considered that the output signal has instantaneously shifted to the high level due to chattering, so the transition of the output signal to the high level is invalidated. It is determined that the moving body is not in proximity.
On the other hand, when the predetermined number of sample data is continuously at the high level, it can be considered that the output signal of the proximity sensor has appropriately shifted to the high level, and therefore it is determined that the moving body has approached.

このようにすれば、近接センサの出力信号からチャタリングを取り除くことができるので、制御装置は、近接センサの出力信号に基づいて、移動体が二位置のいずれかに到達したことを正しく判定できるようになり、移動体の動作を適切に制御することができる(例えば、特許文献1参照)。
ところで、回転リールの図柄を揃える遊技で人々に娯楽を提供するスロットマシンが広く利用されている。このようなスロットマシンにおいて、その前扉前面にリトラクタブル式照明装置を設け、遊技者が当たりを引き当てた場合に、リトラクタブル式照明装置を出現させて点灯させることにより、演出効果を向上することが考えられる。
In this way, since chattering can be removed from the output signal of the proximity sensor, the control device can correctly determine that the moving body has reached one of the two positions based on the output signal of the proximity sensor. Thus, the operation of the moving body can be appropriately controlled (see, for example, Patent Document 1).
By the way, a slot machine that provides entertainment to people by playing games with rotating reels is widely used. In such a slot machine, a retractable lighting device is provided on the front face of the front door, and when the player wins a win, the retractable lighting device appears and is lit to improve the production effect. It is done.

ここで、リトラクタブル式照明装置をスロットマシンに設けると、リトラクタブル式照明装置が出入りする開口を開閉するシャッターと、このシャッターを移動体として制御する制御装置とをスロットマシンに設ける必要が生じる。
特開2000−270575号(第9頁第16欄、図10)
Here, when the retractable illumination device is provided in the slot machine, it is necessary to provide the slot machine with a shutter that opens and closes an opening through which the retractable illumination device enters and exits and a control device that controls the shutter as a moving body.
JP 2000-270575 (page 9, column 16, column 10)

しかしながら、前述のような制御装置では、マイクロコンピュータ内部で発生するクロック信号の発生周期が、ステッピングモータの駆動タイミングとなる駆動信号の発信間隔よりも遙かに短いので、センサの出力信号を読み取るタイミングが必ずしもステッピングモータの動作状況に対応していないうえ、クロック信号を基準としたタイミングでサンプリングすると、単位時間当たりに得られるデータ数が、ステッピングモータの動作を制御するには過多となって、得られたサンプルデータの中に多数の不要なデータが含まれることとなる。
そして、このような不要なデータが多く含まれたサンプルデータを取り扱うと、マイクロコンピュータの負荷が必要以上に増えるので、マイクロコンピュータに無用の負荷がかかる、という問題がある。
However, in the control device as described above, the generation period of the clock signal generated inside the microcomputer is much shorter than the transmission interval of the drive signal that becomes the drive timing of the stepping motor. However, it does not necessarily correspond to the operation status of the stepping motor, and if sampling is performed with the timing based on the clock signal, the number of data obtained per unit time becomes excessive to control the operation of the stepping motor. A lot of unnecessary data will be included in the sampled data.
When sample data containing a lot of such unnecessary data is handled, the load on the microcomputer increases more than necessary, and there is a problem that an unnecessary load is applied to the microcomputer.

さらに、クロック信号を基準としたタイミングでサンプリングを行うと、短い時間でサンプリングするので、出力信号が立ち上がる際に瞬間的に発生するチャタリングを拾ってしまい、チャタリングの影響が無視できなくなることから、サンプリングしたサンプルデータに基づいてチャタリングを取り除く処理が行われるが、サンプルデータの中に含まれる不要なデータについてもチャタリングを取り除く処理が行われるので、この点からも、マイクロコンピュータに加わる無用の負荷がかかる、という問題が発生する。
また、スロットマシンにリトラクタブル式照明装置を設けて演出効果を向上することが考えられるが、この場合、シャッター等の移動体の動作を制御するにあたり、スロットマシンの遊技動作を制御している制御装置に移動体の動作制御を行わせると、マイクロコンピュータを含んで構成された制御装置に無用の負荷をかけることとなる。このため、遊技動作を制御するために設けた制御装置に移動体の制御を行わせても、当該制御装置に無用の負荷が加わらないようにしたい、という要望がある。
In addition, if sampling is performed at a timing based on the clock signal, sampling is performed in a short time, so the chattering that occurs instantaneously when the output signal rises is picked up, and the influence of chattering cannot be ignored. Processing to remove chattering is performed based on the sampled data, but processing to remove chattering is also performed for unnecessary data included in the sample data, and from this point also unnecessary load on the microcomputer is applied. The problem occurs.
In addition, it is conceivable to improve the effect by providing a retractable lighting device in the slot machine. When the operation control of the moving body is performed, an unnecessary load is applied to the control device including the microcomputer. For this reason, there is a demand for preventing unnecessary load from being applied to the control device even if the control device provided for controlling the game operation is controlled by the moving body.

そこで、各請求項にそれぞれ記載された各発明は、上記した従来の技術の有する問題点に鑑みてなされたものであり、その目的とするところは、移動体の動作制御において無用の負荷が加わらないようになる移動体制御装置、及び、遊技動作を制御する制御装置に移動体の制御を行わせても、当該制御装置に無用の負荷が加わらないようになるスロットマシンを提供することである。   Accordingly, each invention described in each claim has been made in view of the above-described problems of the prior art, and the object is to add an unnecessary load in the operation control of the moving body. To provide a slot machine that prevents a useless load from being applied to the control device even when the control device that controls the mobile operation is controlled by the control device that controls the game operation. .

各請求項にそれぞれ記載された各発明は、前述の目的を達成するためになされたものである。以下に、各発明の特徴点を、図面に示した発明の実施の形態を用いて説明する。
なお、符号は、発明の実施の形態において用いた符号を示し、本発明の技術的範囲を限定するものではない。
(請求項1)
(特徴点)
請求項1記載の発明は、次の点を特徴とする。
すなわち、請求項1に記載された発明は、基体(30)に設定された所定の二位置の間を移動可能に設けられた移動体(54)をステッピングモータ(58)で駆動するにあたり、前記ステッピングモータへ駆動信号を送出するとともに、所定の二位置のいずれかに前記移動体(54)が達すると、前記ステッピングモータ(58)の動作を停止させる移動体制御装置であって、制御に必要な各種の信号を入力するための信号入力部(71)と、前記ステッピングモータ(58)の動作を制御するための制御信号を出力する制御信号出力部(72)と、前記信号入力部(71)に入力された信号に基づいて前記制御信号出力部(72)から出力する制御信号を生成する処理を行う制御手段と、前記移動体(54)の制御を行うための移動体制御手段と、を備え、前記移動体制御手段は、前記制御手段からの指令信号に基づいて前記ステッピングモータ(58)に対して駆動信号を送出する電動機駆動制御部(81)と、前記移動体(54)が前記所定の二位置のいずれかに近接すると、出力すべき検知結果信号の状態が非検知レベルから検知レベルへ移行し、反対に前記移動体(54)が前記所定の二位置のいずれかから離れると、検知結果信号の状態が検知レベルから非検知レベルへ移行する移動体検知手段(63, 64)と、前記ステッピングモータ(58)へ送出される駆動信号の送出時間間隔に基づき、かつこの送出時間間隔以上の間隔で、前記移動体検知手段(63, 64)が出力している検知結果信号を記憶するタイミングを制御するための記憶契機信号を出力する手段と、を備えるとともに、前記記憶契機信号を出力する手段が前記記憶契機信号を出力すると、前記移動体検知手段(63, 64)が出力している検知結果信号を時系列順に記憶していく検知結果記憶手段(83,84、93,94)と、この検知結果記憶手段(83,84、93,94)が記憶している検知結果信号を取得していき、当該検知結果信号が連続して所定回数以上続けて検知レベルとなっている場合に、前記移動体(54)が前記二位置のいずれかに到達したと判定する到達判定手段(85, 97)と、前記到達判定手段(85, 97)が前記移動体(54)が前記二位置のいずれかに到達したと判定すると前記ステッピングモータ(58)に対して停止信号を出力する電動機停止制御部(86)と、さらに備えていることを特徴とする。
Each invention described in each claim is made to achieve the above-mentioned object. The features of each invention will be described below with reference to the embodiments of the invention shown in the drawings.
In addition, a code | symbol shows the code | symbol used in embodiment of this invention, and does not limit the technical scope of this invention.
(Claim 1)
(Feature point)
The invention described in claim 1 is characterized by the following points.
That is, when the moving body (54) provided to be movable between two predetermined positions set on the base body (30) is driven by the stepping motor (58), the invention described in claim 1 sends out a drive signal to the stepping motor, a predetermined when the moving body to one of the two-position (54) reaches, the mobile control device to stop the operation of the stepping motor (58), necessary for control A signal input unit (71) for inputting various signals, a control signal output unit (72) for outputting a control signal for controlling the operation of the stepping motor (58), and the signal input unit (71 ) Based on the signal input to the control signal output unit (72) to generate a control signal to be processed, a control unit for performing the control of the mobile unit (54), a mobile unit control unit The moving body control means includes: Motor drive control unit for sending a drive signal to the stepping motor (58) based on the decree signal (81), when the moving body (54) is adjacent to one of said predetermined two positions, to be output When the state of the detection result signal shifts from the non-detection level to the detection level and, conversely, when the moving body (54) moves away from one of the two predetermined positions, the state of the detection result signal changes from the detection level to the non-detection level. a moving body detection unit that transition (63, 64), before SL based on the transmission time interval of the drive signal sent to the stepping motor (58), and at intervals of more than the transmission time interval, the moving body detection unit (63 , 64) , and a means for outputting a storage trigger signal for controlling the timing of storing the detection result signal output from the storage device, and when the means for outputting the storage trigger signal outputs the storage trigger signal, Said moving body detecting means Detection result storage means (83, 84, 93, 94) for storing the detection result signals output by (63, 64) in chronological order, and this detection result storage means (83, 84, 93, 94) Is acquired, and when the detection result signal is continuously at a detection level for a predetermined number of times or more, the moving body (54) is in one of the two positions. Reaching determination means (85, 97) for determining that the vehicle has arrived, and stepping motor (58) if the arrival determination means (85, 97) determines that the mobile body (54) has reached one of the two positions. characterized in that it further comprises motor stop control unit for outputting a stop signal (86), against.

ここで、「移動体(54)が前記所定の二位置のいずれかに近接する」とは、移動体(54)が移動体検知手段(63, 64)のいずれかの検知可能範囲まで近づいたことをいう。
(請求項2)
(特徴点)
請求項2記載の発明は、前述した請求項1記載の発明において、次の特徴点を備えているものである。
すなわち、請求項2記載の発明は、前記記憶契機信号を出力する手段は、前記ステッピングモータ(58)へ送出される駆動信号を取得し、取得した駆動信号の取得数をカウントしていき、取得数が所定数になると記憶契機信号を出力するカウント手段であることを特徴とする。
(請求項3)
(特徴点)
請求項3記載の発明は、前述した請求項1記載の発明において、次の特徴点を備えているものである。
Here, “the moving body (54) is close to one of the two predetermined positions” means that the moving body (54) has approached one of the detectable ranges of the moving body detection means (63, 64). That means.
(Claim 2)
(Feature point)
The invention described in claim 2 is the invention described in claim 1 described above, and has the following features.
That is, according to the second aspect of the invention, the means for outputting the memory trigger signal acquires the drive signal sent to the stepping motor (58), counts the number of acquired drive signals, and acquires the drive signal. number you wherein counting means der Rukoto for outputting the stored trigger signal reaches a predetermined number.
(Claim 3)
(Feature point)
According to a third aspect of the invention of claim 1 Symbol placement described above, in which has the following characteristic points.

すなわち、請求項3記載の発明は、前記記憶契機信号を出力する手段は、前記電動機駆動制御部(81)がステッピングモータ(58)に対して駆動信号を送出するタイミングを制御するための送出契機信号及び前記記憶契機信号を発生するタイミング制御部(100)を備えるとともに、前記タイミング制御部(100)は、同一のクロック信号を予め定められた分周比によりそれぞれ分周することで送出契機信号および記憶契機信号の送出間隔を設定することで、記憶契機信号の送出間隔が送出契機信号の送出間隔以上の間隔に設定されることを特徴とする。
(請求項4)
(特徴点)
請求項4記載の発明は、前述した請求項1から請求項3までのいずれかに記載の発明において、次の特徴点を備えているものである。
That is, the invention according to claim 3 is characterized in that the means for outputting the memory trigger signal is a sending trigger for controlling the timing at which the motor drive control section (81) sends the drive signal to the stepping motor (58). A timing control unit (100) for generating a signal and the storage trigger signal, and the timing control unit (100) is configured to divide the same clock signal by a predetermined frequency division ratio, respectively, thereby sending a transmission trigger signal and transmission interval of the storage trigger signal by setting a transmission interval of the storage trigger signal is set to the interval of more than the transmission interval of the transmission trigger signal, characterized in Rukoto.
(Claim 4)
(Feature point)
The invention described in claim 4 is the invention described in any one of claims 1 to 3 described above, and has the following characteristic points.

すなわち、請求項4記載の発明は、前記検知結果信号として検知レベル又は非検知レベルのいずれかが連続して所定回数以上続いた場合に、前記ステッピングモータ(58)に異常が発生したと判断するエラー判断手段(99)を備えていることを特徴とする。
(請求項5)
(特徴点)
請求項5記載の発明は、前述した請求項4記載の発明において、次の特徴点を備えているものである。
すなわち、請求項5記載の発明は前記エラー判断手段(99)が前記ステッピングモータ(58)に異常が発生したと判断する前記所定回数は、前記到達判定手段(85, 97)が前記移動体(54)が前記二位置のいずれかに到達したと判定する前記所定回数を上回ることを特徴とする。
(請求項6)
(特徴点)
請求項6記載の発明は、前述した請求項1から請求項3までのいずれかに記載の発明において、次の特徴点を備えているものである。
すなわち、請求項6記載の発明は、前記二位置のいずれかに停止していた前記移動体(54)を当該位置から離隔させるために、前記ステッピングモータ(58)への駆動信号の送出が開始された際に、前記検知結果記憶手段(83,84,、93,94)が記憶している検知結果信号を取得していき、当該検知結果信号が連続して所定回数以上続けて検知レベルとなっている場合に、前記ステッピングモータ(58)に異常が発生したと判断するエラー判断手段(99)を備えていることを特徴とする。
(請求項7)
(特徴点)
請求項7記載の発明は、前述した請求項4から請求項6までのいずれかに記載の発明において、次の特徴点を備えているものである。
すなわち、請求項7記載の発明は、前記移動体制御手段は、前記制御手段からの最初の指令信号に基づいて検知結果記憶手段(83,84、93,94)の記憶データの所定数のビットから成る初期値を設定するとともに、 検知結果信号取得のたびに前記初期値が更新され、前記検知結果記憶手段(83,84、93,94)に記憶される記憶データと、この記憶データと同数のビットから成り、チャタリングによるノイズの影響を除去するための調整用の乗数値との間で、互いに対応するビット同士を掛け合わせて論理積を算出する時系列データ論理積演算部(95)と、前記二位置のいずれかに前記移動体(54)が到達したことを判定する際に参照されるとともに、当該判定の基準値となる、前記記憶データと同数のビットから成る参照値の保持及び記憶を行う参照値保持部(96)と、前記論理積と前記参照値とが一致するか否かに基づいて前記移動体(54)の到着の判定を行う時系列データ論理積比較部(97)と、をさらに備えたことを特徴とする。
(請求項
(特徴点)
請求項記載の発明は、前述した請求項1から請求項までのいずれかに記載の発明において、次の特徴点を備えているものである。
That is, the invention according to claim 4 determines that an abnormality has occurred in the stepping motor (58) when either the detection level or the non-detection level continues as the detection result signal continuously for a predetermined number of times or more. An error determination means (99) is provided.
(Claim 5)
(Feature point)
The invention described in claim 5 is the invention described in claim 4 described above, and has the following characteristic points.
That is, according to the fifth aspect of the present invention, the arrival determination means (85, 97) determines that the error determination means (99) determines that an abnormality has occurred in the stepping motor (58). 54) exceeds the predetermined number of times for determining that one of the two positions has been reached.
(Claim 6)
(Feature point)
The invention described in claim 6 is the invention described in any one of claims 1 to 3 described above, and has the following characteristic points.
That is, according to the sixth aspect of the present invention, in order to separate the moving body (54) that has been stopped at one of the two positions from the position, transmission of a drive signal to the stepping motor (58) is started. The detection result signal stored in the detection result storage means (83, 84, 93, 94) is acquired, and the detection result signal is continuously detected for a predetermined number of times. In this case, an error determining means (99) for determining that an abnormality has occurred in the stepping motor (58) is provided.
(Claim 7)
(Feature point)
The invention described in claim 7 is the invention described in any one of claims 4 to 6 described above, and has the following characteristic points.
That is, in the invention according to claim 7, the moving body control unit is configured to generate a predetermined number of bits of the stored data of the detection result storage unit (83, 84, 93, 94) based on an initial command signal from the control unit. The initial value is updated each time a detection result signal is acquired, and the stored data stored in the detection result storage means (83, 84, 93, 94) and the same number as the stored data A time-series data logical product operation unit (95) that calculates a logical product by multiplying the bits corresponding to each other with an adjustment multiplier value for removing the influence of noise due to chattering A reference value comprising the same number of bits as the stored data, which is referred to when determining that the mobile body (54) has reached one of the two positions, and which serves as a reference value for the determination, and A reference value holding unit (96) for storing, A time-series data logical product comparison unit (97) that determines whether the mobile object (54) arrives based on whether the logical product and the reference value match, further comprising: .
(Claim 8 )
(Feature point)
The invention according to claim 8 is the invention according to any one of claims 1 to 7 , which has the following characteristic points.

すなわち、請求項記載の発明は、前記移動体検知手段として、前記移動体(54)が前記二位置の一方の位置に達したことを検知するための第1移動体検知手段(63, 64)と、前記移動体が前記二位置の他方の位置に達したことを検知するための第2移動検知手段(64, 63)とが設けられ、当該移動体制御装置(43)には、前記第1移動体検知手段(63, 64)の検知結果信号及び前記第2移動体検知手段(64, 63)の検知結果信号の両方を取得するとともに、その論理和を演算して、その演算結果である論理和値を前記検知結果記憶手段へ送出する論理和演算手段(92)が設けられていることを特徴とするものである。 That is, the invention according to claim 8 is the first moving body detecting means (63, 64) for detecting that the moving body (54) has reached one of the two positions as the moving body detecting means. ) And second movement detecting means (64, 63) for detecting that the moving body has reached the other of the two positions, the moving body control device (43) Obtain both the detection result signal of the first moving body detection means (63, 64) and the detection result signal of the second moving body detection means (64, 63), calculate the logical sum, and calculate the result. Ru der which is characterized in that the logical sum operation means (92) is provided for transmitting a logical OR value to the detection result storage means is.

(請求項1、2及び3の効果)
以上のように構成されている本発明は、以下に記載されるような効果を奏する。
すなわち、請求項1、2及び3記載の発明によれば、ステッピングモータの駆動タイミングとなる駆動信号の送出時間間隔以上の間隔で移動体検知手段からの検知結果信号を検知結果記憶手段が記憶していくので、検知結果記憶手段に記憶される単位時間当たりのデータ数がステッピングモータの動作を制御するのに多すぎることがなく、得られたサンプルデータの中に多数の不要なデータが含まれることもない。
そして、このような検知結果記憶手段に記憶されるデータに基づいてステッピングモータの動作の停止を制御するので、移動体制御装置をマイクロコンピュータを含んで構成しても、移動体制御装置のマイクロコンピュータの負荷が必要以上に増えることがなく、従って、移動体制御装置に無用の負荷がかかることを回避することができる。
(Effects of claims 1 , 2 and 3 )
The present invention configured as described above has the following effects.
That is, according to the first , second, and third aspects of the invention, the detection result storage means stores the detection result signal from the moving body detection means at intervals equal to or longer than the drive signal transmission time interval that is the driving timing of the stepping motor. Therefore, the number of data per unit time stored in the detection result storage means is not too much to control the operation of the stepping motor, and a lot of unnecessary data is included in the obtained sample data There is nothing.
Since the stop of the operation of the stepping motor is controlled based on the data stored in the detection result storage means, the microcomputer of the moving body control device can be configured even if the moving body control device includes a microcomputer. Therefore, it is possible to avoid applying unnecessary load to the mobile body control device.

しかも、検知結果記憶手段が移動体検知手段からの検知結果信号を記憶していく間隔がより長くなるので、瞬間的に信号がハイレベルに移行するチャタリングの影響を受けにくくなるうえ、移動体の制御に不必要なデータが記憶されないので、チャタリングを取り除く処理を行っても、多数の無用なデータについての処理がなされることがなくなり、この点からも、移動体制御装置のマイクロコンピュータの負荷が必要以上に増えることがなく、移動体制御装置に無用の負荷がかかることを回避することができる。 In addition, since the interval at which the detection result storage means stores the detection result signal from the moving body detection means becomes longer, it is less susceptible to chattering in which the signal instantaneously shifts to a high level. Since data unnecessary for control is not stored, even if processing for removing chattering is performed, processing for a lot of useless data is not performed. From this point as well, the load on the microcomputer of the mobile control device is reduced. without more than necessary, Ru can be avoided that the load of useless is applied to the mobile station controller.

また、移動体検知手段からの検知結果信号を検知結果記憶手段が時系列順に記憶していく間隔を、ステッピングモータへ送出される駆動信号の送出時間間隔に基づいて設定したので、移動体検知手段からの検知結果信号を記憶するタイミングがステッピングモータの動作状況に対応するようになり、検知結果記憶手段には、単位時間当たり、ステッピングモータの動作を制御するのに適した数量のデータが記憶され、得られたサンプルデータに不要なデータが含まれることを抑制でき、従って、移動体制御装置に無用の負荷がかかることを確実に防止することができる。 In addition , since the interval in which the detection result storage means stores the detection result signal from the moving body detection means in chronological order is set based on the transmission time interval of the drive signal sent to the stepping motor, the moving body detection means The timing of storing the detection result signal from the control unit corresponds to the operation status of the stepping motor, and the detection result storage means stores a quantity of data suitable for controlling the operation of the stepping motor per unit time. , obtained sample data can be suppressed with unwanted data, therefore, Ru can be reliably prevented that the load of useless is applied to the mobile station controller.

また、駆動信号の取得数が所定数になるとカウント手段から記憶契機信号が出力され、この記憶契機信号が出力されるタイミングで検知結果記憶手段が移動体検知手段からの検知結果信号を記憶するようにしたので、検知結果記憶手段にデータが記憶されるタイミングがステッピングモータの動作状況に対応するようになるうえ、検知結果記憶手段に時系列順に記憶される複数のデータで時系列データを形成しても、不要なデータが時系列データに含まれることがなくなり、当該時系列データが無用に大きくなることが防止され、コンピュータ等の内部における時系列データの取り扱いが容易になる。また、この時系列データに基づいて移動体の動作を制御するにあたり、予め記憶しておいた参照時系列データと、検知結果記憶手段に記憶された時系列データとを比較し、その結果を利用して移動体を停止させるべきか否かの判断を行うようにしても、時系列データ及び参照時系列データの両方が過度に大きくなることがなく、この点からも、移動体制御装置のマイクロコンピュータの負荷が必要以上に増えることがなく、移動体制御装置に無用の負荷がかかることを回避することができる。 Further , when the drive signal acquisition number reaches a predetermined number, a storage trigger signal is output from the counting means, and the detection result storage means stores the detection result signal from the moving body detection means at the timing when the storage trigger signal is output. Therefore, the timing at which data is stored in the detection result storage means corresponds to the operation status of the stepping motor, and time series data is formed by a plurality of data stored in time series in the detection result storage means. However, unnecessary data is not included in the time series data, the time series data is prevented from becoming unnecessarily large, and the handling of the time series data inside a computer or the like is facilitated. Further, when controlling the operation of the moving body based on the time series data, the reference time series data stored in advance is compared with the time series data stored in the detection result storage means, and the result is used. Thus, even if it is determined whether or not the moving body should be stopped, both the time-series data and the reference time-series data are not excessively large. The load on the computer does not increase more than necessary, and it is possible to avoid applying unnecessary load on the mobile control device.

(請求項4、5、6及び7の効果)
請求項4、5、6及び7記載の発明によれば、上記した請求項1から請求項3までのいずれかに記載の発明の効果に加え、次のような効果を奏する。
すなわち、請求項4、5、6及び7記載の発明によれば、検知結果記憶手段に記憶されている検知結果信号の時系列データに基づいて、ステッピングモータについて異常があるか否かを判断するエラー判断手段を設けたので、ステッピングモータに異常が発生し、移動体の移動開始時に、ステッピングモータへの電力供給が開始されているにもかかわらず、移動体が移動を開始しない場合には、時系列データに含まれる検知結果信号が所定回以上続けて検知レベルとなるので、エラー判断手段によって、ステッピングモータの異常を確実に検出することができる。これにより、ステッピングモータの異常を確実に管理者に報知することもでき、ひいては、異常発生から修理完了までの時間を短縮することも図れるようになる。
(Effects of claims 4 , 5, 6 and 7 )
According to invention of Claim 4 , 5, 6 and 7 , in addition to the effect of the invention in any one of Claim 1 to Claim 3, there exists the following effect.
That is, according to the inventions according to claims 4 , 5, 6 and 7 , it is determined whether or not there is an abnormality in the stepping motor based on the time-series data of the detection result signal stored in the detection result storage means. Since the error determination means is provided, when an abnormality occurs in the stepping motor and the moving body does not start moving even though the power supply to the stepping motor is started when the moving body starts moving, Since the detection result signal included in the time-series data continuously reaches the detection level for a predetermined number of times, the error determination means can reliably detect the abnormality of the stepping motor. As a result, the abnormality of the stepping motor can be surely notified to the administrator, and as a result, the time from the occurrence of the abnormality to the completion of the repair can be shortened.

(請求項の効果)
請求項記載の発明によれば、上記した請求項1から請求項までのいずれかに記載の発明の効果に加え、次のような効果を奏する。
すなわち、請求項記載の発明によれば、故障等の不具合が発生していない限り、第1移動体検知手段及び第2移動体検知手段の両方が、同時に、検知レベル及び非検知レベルの一方から他方へ移行することがないので、ステッピングモータを駆動させるための駆動指令が示す移動方向、換言すれば、移動体を二位置のどちらに到達させるべきかを参照すれば、論理和演算手段の出力信号のみを監視することにより、二位置のいずれかに移動体が到達したことを判定することができる。そして、この際、第1移動体検知手段及び第2移動体検知手段の一方を状況に応じて選択する処理も不要となる。
(Effect of Claim 8 )
According to the invention described in claim 8 , in addition to the effect of the invention described in any one of claims 1 to 7 , the following effect can be obtained.
That is, according to the eighth aspect of the present invention, as long as no trouble such as a failure occurs, both the first moving body detecting means and the second moving body detecting means can simultaneously detect one of the detection level and the non-detection level. Therefore, referring to the moving direction indicated by the driving command for driving the stepping motor, in other words, to which of the two positions the moving body should be reached, the OR operation means By monitoring only the output signal, it can be determined that the moving body has reached one of the two positions. At this time, the process of selecting one of the first moving body detecting means and the second moving body detecting means according to the situation becomes unnecessary.

従って、第1移動体検知手段及び第2移動体検知手段からの二つの検知結果信号を別個且つ同時に監視する場合よりも、移動体の移動制御を行う移動体制御装置の負荷が減るので、移動体制御装置で、移動体の動作を制御するのと同時に、さらに別の制御対象を制御する場合、この別の制御対象を制御する処理を容易にすることができる。
また、故障等の不具合の発生が原因で、第1移動体検知手段及び第2移動体検知手段の両方、あるいは、そのいずれかの検知結果信号が、検知レベル及び非検知レベルの一方に膠着状態となった場合には、論理和演算手段からの出力信号も、ある時点から、検知レベル及び非検知レベルの一方に膠着状態となるので、論理和演算手段の出力信号が変化しなくなったことを検知する検知手段を設ければ、第1移動体検知手段及び第2移動体検知手段の異常を検出することもできる。
Accordingly, the load on the mobile body control device that controls the movement of the mobile body is reduced as compared with the case where the two detection result signals from the first mobile body detection means and the second mobile body detection means are separately and simultaneously monitored. When the body control device controls the operation of the moving body and simultaneously controls another control object, the process of controlling the other control object can be facilitated.
Also, due to the occurrence of a malfunction such as a failure, both the first moving body detecting means and the second moving body detecting means, or one of the detection result signals is stuck to one of the detection level and the non-detection level. In this case, since the output signal from the OR operation means also becomes stuck to one of the detection level and the non-detection level from a certain point in time, the output signal of the OR operation means has stopped changing. If a detecting means for detecting is provided, an abnormality in the first moving body detecting means and the second moving body detecting means can be detected.

以下に、本発明を実施するための最良の形態である実施形態について、図面に基づいて説明する。
[第1実施形態]
図1から図5までの図面は、本発明に係る第1実施形態を示すものである。図1は、本実施形態に係るスロットマシンを示す正面図、図2は、図1のII−II線における拡大断面図、図3は、本実施形態に係る遊技制御装置を示すブロック図、図4は、本実施形態に係るシャッター制御手段を示すブロック図、図5は、本実施形態に係るタイミング制御部を示すブロック図である。
[スロットマシン10の概要]
本実施形態に係るスロットマシン10は、図1に示すように、略六面体の箱状に形成された筐体20を備えている。
Hereinafter, an embodiment which is the best mode for carrying out the present invention will be described with reference to the drawings.
[First Embodiment]
The drawings from FIG. 1 to FIG. 5 show a first embodiment according to the present invention. 1 is a front view showing a slot machine according to the present embodiment, FIG. 2 is an enlarged sectional view taken along line II-II in FIG. 1, and FIG. 3 is a block diagram showing a game control device according to the present embodiment, FIG. 4 is a block diagram illustrating a shutter control unit according to the present embodiment, and FIG. 5 is a block diagram illustrating a timing control unit according to the present embodiment.
[Overview of slot machine 10]
As shown in FIG. 1, the slot machine 10 according to the present embodiment includes a housing 20 formed in a substantially hexahedral box shape.

筐体20は、遊技用の機器や装置を収納するために、前面が開口された箱状に形成されたものである。筐体20の内部には、横並びにされた3個の回転リール41を有するリールユニット40等遊技装置が収納されている。
筐体20の前面の開口は、当該開口に対応した形状の前扉30により塞がれている。この前扉30は、筐体20に回動可能に取り付けられ、これにより、筐体20の前面開口は、全体が開放可能となっている。また、前扉30のほぼ中央には、リール窓42を備えた前扉30が当該前面開口部を覆うように設けられている。
前扉30に設けられたリール窓42は、3個の回転リール41に記された図柄を外部に露出させるための窓であり、3個すべての回転リール41の回転が停止した際に、縦横3個ずつ配列された計9個の図柄が表示できるように形成されている。
The housing 20 is formed in a box shape having an open front surface for housing gaming devices and devices. A gaming device such as a reel unit 40 having three rotating reels 41 arranged side by side is housed inside the housing 20.
The opening on the front surface of the housing 20 is closed by a front door 30 having a shape corresponding to the opening. The front door 30 is rotatably attached to the housing 20, whereby the entire front opening of the housing 20 can be opened. A front door 30 having a reel window 42 is provided at substantially the center of the front door 30 so as to cover the front opening.
The reel window 42 provided in the front door 30 is a window for exposing the symbols written on the three rotary reels 41 to the outside. When the rotation of all the three rotary reels 41 stops, A total of nine symbols arranged in groups of three are displayed.

リール窓42の下方近傍には、左側から、貯留メダルを1枚ずつ投入するためのベットスイッチ33と、回転リール41の回転を開始させるためのスタートレバー35と、貯留メダルを3枚ずつ投入するためのマックスベットスイッチ34と、3個の回転リール41の回転をそれぞれ停止させる3個のストップボタン36と、メダルが投入されるメダル投入口31とが設けられている。
また、前扉30の下部には、入賞時にメダルを払い出すための払出口32が設けられている。この払出口32の下方には、受け皿39が設けられ、払出口32の図中右方には、演出音等を発するスピーカ38が設けられている。一方、前扉30の上部には、入賞時などに点滅する演出用ランプ37等が設けられている。
In the vicinity of the lower part of the reel window 42, from the left side, a bet switch 33 for inserting stored medals one by one, a start lever 35 for starting rotation of the rotating reel 41, and three stored medals are inserted. There are provided a max bet switch 34, three stop buttons 36 for stopping the rotation of the three rotary reels 41, and a medal insertion slot 31 into which a medal is inserted.
Also, a payout port 32 for paying out medals at the time of winning a prize is provided at the lower part of the front door 30. A tray 39 is provided below the payout port 32, and a speaker 38 that emits an effect sound or the like is provided to the right of the payout port 32 in the drawing. On the other hand, on the upper part of the front door 30, an effect lamp 37 and the like blinking at the time of winning or the like are provided.

筐体20の内部には、前述したリールユニット40の他に、スロットマシン10の遊技における動作を制御する遊技制御装置43が収納されている。
遊技制御装置43は、スロットマシン10の遊技動作そのものを制御するための電子回路が形成された図示しないメイン基板と、スロットマシン10の演出動作を制御するための電子回路が形成された図示しないサブ基板とに分割されたものである。
このうち、メイン基板は、筐体20の裏面に配置された側壁の内面に取り付けられた基板ケース44の内部に収納されている。この基板ケース44は、透明な合成樹脂を平たい直方体状に成形したものとなっている。
In addition to the reel unit 40 described above, a game control device 43 that controls the operation of the slot machine 10 in the game is housed inside the housing 20.
The game control device 43 includes a main board (not shown) on which an electronic circuit for controlling the gaming operation itself of the slot machine 10 is formed, and a sub (not shown) on which an electronic circuit for controlling the presentation operation of the slot machine 10 is formed. It is divided into a substrate.
Among these, the main board is housed in the board case 44 attached to the inner surface of the side wall disposed on the back surface of the housing 20. The substrate case 44 is formed by molding a transparent synthetic resin into a flat rectangular parallelepiped shape.

一方、サブ基板は、図1中左方に配置された側壁の内面に取り付けられた基板ケース45の内部に収納されている。この基板ケース45は、基板ケース44と同様に、透明な合成樹脂を平たい直方体状に成形したものとなっている。
[リトラクタブル式照明装置50]
ここで、リール窓42の図1中上方には、遊技者が大当たりを引き当てた際の演出のために点灯されるリトラクタブル式照明装置50が設けられている。
リトラクタブル式照明装置50は、遊技者が大当たりを引き当てるまでは、前扉30の内部に引き込まれて格納された状態とされ、遊技者が大当たりを引き当てると、前扉30の内部から迫り出してくるものとなっている。
On the other hand, the sub-board is housed in a board case 45 attached to the inner surface of the side wall arranged on the left side in FIG. Similar to the substrate case 44, the substrate case 45 is formed by molding a transparent synthetic resin into a flat rectangular parallelepiped shape.
[Retractable lighting device 50]
Here, a retractable illumination device 50 that is turned on for the effect when the player wins the jackpot is provided above the reel window 42 in FIG.
The retractable lighting device 50 is in a state of being retracted and stored inside the front door 30 until the player wins the jackpot, and when the player wins the jackpot, the retractable lighting device 50 comes out of the front door 30. It has become a thing.

すなわち、前扉30の前面には、図2に示すように、リトラクタブル式照明装置50に応じて形成された開口51が設けられている。
一方、リトラクタブル式照明装置50は、キセノンランプ等の強力な光源52を保持した光源保持部53と、この光源保持部53が裏面に固定されたシャッター54とを備えている。
このうち、シャッター54は、図2中上方に配置された端縁部分が、前扉30の裏面における開口51の図2中上方の部分に設けられたヒンジ部55を介して前扉30の裏面に取り付けられている。これにより、光源保持部53は、開口51を通じて前扉30の裏側へ没入可能且つ前扉30の表側へ突出可能となっている。
That is, an opening 51 formed according to the retractable illumination device 50 is provided on the front surface of the front door 30 as shown in FIG.
On the other hand, the retractable illumination device 50 includes a light source holder 53 that holds a powerful light source 52 such as a xenon lamp, and a shutter 54 that has the light source holder 53 fixed to the back surface.
Among these, the shutter 54 has a rear surface of the front door 30 through the hinge portion 55 provided at the upper portion in FIG. 2 of the opening 51 in the rear surface of the front door 30 at the upper edge portion in FIG. Is attached. Thereby, the light source holding part 53 can be immersed in the back side of the front door 30 through the opening 51 and can protrude to the front side of the front door 30.

この際、光源保持部53は、凹面状に形成された反射板56を備え、この反射板56の内部に前述の光源52が配置され、光源保持部53が開口51を通じて前扉30の表側に突出すると、遊技者の頭部位置に向かって、光源52が発する光を照射するものとなっている。
一方、シャッター54は、前扉30の前面に設けられた開口51を閉鎖可能なサイズに形成されて、光源保持部53が開口51を通じて前扉30の裏側に没すると、開口51を塞ぐものとなっている。このようなシャッター54は、ヒンジ部55で前扉30の裏面に取り付けられていることから、開口51を閉鎖する閉鎖位置及び開口51を開放する開放位置の二位置間を回動可能となっている。
At this time, the light source holding part 53 includes a reflecting plate 56 formed in a concave shape, the light source 52 described above is arranged inside the reflecting plate 56, and the light source holding part 53 is located on the front side of the front door 30 through the opening 51. When protruding, the light emitted from the light source 52 is emitted toward the head position of the player.
On the other hand, the shutter 54 is formed in a size that can close the opening 51 provided on the front surface of the front door 30, and when the light source holding part 53 is immersed in the back side of the front door 30 through the opening 51, the shutter 54 closes the opening 51. It has become. Since such a shutter 54 is attached to the back surface of the front door 30 by a hinge portion 55, it can be rotated between two positions, a closed position for closing the opening 51 and an open position for opening the opening 51. Yes.

そして、シャッター54を回動可能にしているヒンジ部55には、その回動軸55A と同軸位置に配置されるとともに、その外周縁に歯車の歯が多数形成された扇形状のラック57が設けられている。
また、ヒンジ部55の回動軸55A の近傍には、シャッター54を開閉駆動するステッピングモータ58が設けられている。
ステッピングモータ58の回転駆動力は、ステッピングモータ58の出力軸58A に固定されたピニヨン59A と、ラック57との間に設けられた歯車59B によって減速されてラック57に伝達されている。このステッピングモータ58の回転駆動力でシャッター54が開閉されるようになっている。
The hinge portion 55 that allows the shutter 54 to turn is provided with a fan-shaped rack 57 that is arranged coaxially with the turning shaft 55A and has a large number of gear teeth on the outer periphery thereof. It has been.
Further, a stepping motor 58 for opening and closing the shutter 54 is provided in the vicinity of the rotation shaft 55A of the hinge portion 55.
The rotational driving force of the stepping motor 58 is decelerated and transmitted to the rack 57 by a gear 59B provided between the pinion 59A fixed to the output shaft 58A of the stepping motor 58 and the rack 57. The shutter 54 is opened and closed by the rotational driving force of the stepping motor 58.

ここにおいて、前扉30は、移動体であるシャッター54が所定の二位置の間を移動可能に設けられている基体となっている。
このように、閉鎖位置及び開放位置の二位置間を回動可能となったシャッター54側には、シャッター54の位置を検出するために、被検知部としてのタブ61が設けられている。
より具体的に説明すると、シャッター54の裏面に固定された光源保持部53には、前扉30の表側に突出する位置に移動した状態でも、前扉30の裏側に没入したままとなる被隠蔽部62が設けられている。この被隠蔽部62には、ヒンジ部55とは反対側となる回動端縁から径方向外側へ延びる長方形状の突起が設けられ、この突起が前述のタブ61となっている。
Here, the front door 30 is a base on which a shutter 54 as a moving body is provided so as to be movable between two predetermined positions.
In this way, on the side of the shutter 54 that can be rotated between the closed position and the open position, a tab 61 as a detected part is provided in order to detect the position of the shutter 54.
More specifically, the light source holding portion 53 fixed to the back surface of the shutter 54 is concealed so as to remain immersed in the back side of the front door 30 even when moved to a position protruding to the front side of the front door 30. A part 62 is provided. The concealed portion 62 is provided with a rectangular protrusion extending radially outward from a rotating end edge opposite to the hinge portion 55, and the protrusion serves as the tab 61 described above.

一方、前扉30の裏側には、シャッター54側に設けられた被検知部であるタブ61の近接を検知する二つのフォトインタラプタ63,64が設けられている。
フォトインタラプタ63は、シャッター54が開放位置に達したことを検知するためのシャッター開放検知手段である。このフォトインタラプタ63の設置位置は、前扉30側に設定された検知位置であって、シャッター54が開放位置に達した際にタブ61が配置される位置に対応した位置、換言すると、前扉30の表面に近接する位置となっている。
フォトインタラプタ64は、シャッター54が閉鎖位置に達したことを検知するためのシャッター閉鎖検知手段である。このフォトインタラプタ64の設置位置は、前扉30側に設定された検知位置であって、シャッター54が閉鎖位置に達した際にタブ61が配置される位置に対応した位置、換言すると、前扉30の表面から離隔した位置となっている。
On the other hand, on the back side of the front door 30, two photointerrupters 63 and 64 for detecting the proximity of the tab 61, which is a detected portion provided on the shutter 54 side, are provided.
The photo interrupter 63 is a shutter opening detection means for detecting that the shutter 54 has reached the open position. The installation position of the photo interrupter 63 is a detection position set on the front door 30 side, and corresponds to the position where the tab 61 is arranged when the shutter 54 reaches the open position, in other words, the front door. The position is close to 30 surfaces.
The photo interrupter 64 is shutter closing detection means for detecting that the shutter 54 has reached the closed position. The installation position of the photo interrupter 64 is a detection position set on the front door 30 side, and corresponds to a position where the tab 61 is arranged when the shutter 54 reaches the closed position, in other words, the front door. It is located away from 30 surfaces.

これらのフォトインタラプタ63,64は、リトラクタブル式照明装置50に設けられたシャッター54の開閉動作の制御を行うためのセンサであり、後述するシャッター制御手段80を構成する構成要素の一部である。フォトインタラプタ63,64の各々は、シャッター54側のタブ61が近接したことを検知する検知部65を備えている。各検知部65には、図示しない投光素子及び受光素子が設けられている。
そして、シャッター54側のタブ61が検知部65に近接して、検知部65に備えられた図示しない投光素子と受光素子との間に進入し、図示しない投光素子が発する光を遮ると、フォトインタラプタ63,64の各々は、出力すべき出力信号である検知結果信号の状態が非検知レベルから検知レベルへ移行するようになっている。
These photo interrupters 63 and 64 are sensors for controlling the opening / closing operation of the shutter 54 provided in the retractable illumination device 50, and are part of the constituent elements of the shutter control means 80 described later. Each of the photo interrupters 63 and 64 includes a detection unit 65 that detects that the tab 61 on the shutter 54 side is close. Each detector 65 is provided with a light projecting element and a light receiving element (not shown).
Then, when the tab 61 on the shutter 54 side is close to the detection unit 65 and enters between the light projecting element (not shown) and the light receiving element provided in the detection unit 65, the light emitted by the light projecting element (not shown) is blocked. Each of the photo interrupters 63 and 64 is configured such that the state of the detection result signal, which is an output signal to be output, shifts from the non-detection level to the detection level.

反対に、タブ61が検知部65から離れて、検知部65に備えられた図示しない投光素子と受光素子との間から逸脱し、図示しない投光素子が発する光を受光素子が受光すると、フォトインタラプタ63,64の各々は、検知結果信号の状態が検知レベルから非検知レベルへ移行するようになっている。
なお、本実施形態においては、検知結果信号のレベル値として、「1」が検知レベルとして、「0」が非検知レベルとして採用されている。
[遊技制御装置43の概要]
以上のようなリトラクタブル式照明装置50は、前述した遊技制御装置43により、その動作が制御されるようになっている。
On the contrary, the tab 61 moves away from the detection unit 65, deviates from between the light projecting element (not shown) and the light receiving element provided in the detection unit 65, and when the light receiving element receives light emitted by the light projecting element (not shown), Each of the photo interrupters 63 and 64 is configured such that the state of the detection result signal shifts from the detection level to the non-detection level.
In the present embodiment, “1” is used as the detection level and “0” is used as the non-detection level as the level value of the detection result signal.
[Outline of Game Control Device 43]
The operation of the retractable lighting device 50 as described above is controlled by the game control device 43 described above.

すなわち、遊技制御装置43は、マイクロコンピュータを利用したCPU並びにROM及びRAM等の記憶手段を含んで構成されたハードウェアに、演出動作制御や遊技動作制御を行うためのソフトウェアがインストールされたものである。
また、遊技制御装置43は、遊技者により操作されるスタートレバー35及びストップボタン36からの信号を受信し、これらの信号に基づいてリトラクタブル式照明装置50やリールユニット40等の各装置の動作を制御するようになっている。
この遊技制御装置43により、リトラクタブル式照明装置50のステッピングモータ58、リトラクタブル式照明装置50の光源52、演出用の音声を出力するための音源装置22A 、入賞時に遊技者へのメダルの払い出しを行うホッパーユニット21等の動作が制御されるようになっている。
In other words, the game control device 43 is obtained by installing software for performing presentation operation control and game operation control on hardware configured to include a CPU using a microcomputer and storage means such as ROM and RAM. is there.
In addition, the game control device 43 receives signals from the start lever 35 and the stop button 36 operated by the player, and based on these signals, operates the devices such as the retractable lighting device 50 and the reel unit 40. It comes to control.
By this game control device 43, the stepping motor 58 of the retractable lighting device 50, the light source 52 of the retractable lighting device 50, the sound source device 22A for outputting the sound for production, and paying out medals to the player at the time of winning a prize The operation of the hopper unit 21 and the like is controlled.

このような遊技制御装置43には、図3の如く、制御に必要な各種の信号を入力するための信号入力部71と、ホッパーユニット21やリールユニット40等の動作を制御するための制御信号を出力する制御信号出力部72と、信号入力部71に入力された信号に基づいて制御信号出力部72から出力する制御信号を生成する処理を行う遊技制御手段73と、リトラクタブル式照明装置50の動作制御を行うためのシャッター制御手段80とが設けられている。
ここで、信号入力部71には、スタートレバー35、ストップボタン36、及び、フォトインタラプタ63,64等が電気的に接続されている。
一方、制御信号出力部72には、リールユニット40の回転リール41を駆動するためのリール駆動装置40A 、ホッパーユニット21を駆動するためのホッパー駆動装置21A 、演出用の音源装置22A 、光源52を点灯するための照明駆動装置23、シャッター54を駆動するステッピングモータ58等が電気的に接続されている。
In such a game control device 43, as shown in FIG. 3, a signal input unit 71 for inputting various signals necessary for control, and a control signal for controlling the operation of the hopper unit 21, the reel unit 40, etc. Of the control signal output unit 72 that outputs the signal, the game control means 73 that performs the process of generating the control signal output from the control signal output unit 72 based on the signal input to the signal input unit 71, and the retractable lighting device 50 Shutter control means 80 for performing operation control is provided.
Here, the signal input unit 71 is electrically connected to the start lever 35, the stop button 36, the photo interrupters 63 and 64, and the like.
On the other hand, the control signal output unit 72 includes a reel driving device 40A for driving the rotating reel 41 of the reel unit 40, a hopper driving device 21A for driving the hopper unit 21, a sound source device 22A for production, and a light source 52. An illumination driving device 23 for lighting, a stepping motor 58 for driving the shutter 54, and the like are electrically connected.

なお、音源装置22A には、当該音源装置22A の生成した音声信号を増幅する増幅器22B が接続されている。音源装置22A が生成した演出用の音声は、増幅器22B に接続されたスピーカユニット22C からが出力されるようになっている。
[シャッター制御手段80]
ここで、シャッター制御手段80は、リトラクタブル式照明装置50に設けられたシャッター54の開閉動作の制御を主に行うものであり、シャッター54の動作制御に係る構成を以下に詳しく説明する。なお、シャッター制御手段80は、シャッター54の開閉動作に対応して、照明駆動装置23に点灯指令信号及び消灯指令信号のいずれか一方を送り、これにより、光源52を点灯又は消灯する制御機能も有しているが、この光源52の制御に係る説明は省略する。
Note that an amplifier 22B that amplifies the audio signal generated by the sound source device 22A is connected to the sound source device 22A. The production sound generated by the sound source device 22A is output from the speaker unit 22C connected to the amplifier 22B.
[Shutter control means 80]
Here, the shutter control means 80 mainly controls the opening / closing operation of the shutter 54 provided in the retractable illumination device 50, and the configuration relating to the operation control of the shutter 54 will be described in detail below. Incidentally, the shutter control means 80 also sends a lighting command signal or a light-off command signal to the illumination driving device 23 in response to the opening / closing operation of the shutter 54, and thereby has a control function for turning on or off the light source 52. However, the description relating to the control of the light source 52 is omitted.

シャッター制御手段80は、図4に示すように、遊技制御手段73からの開指令信号及び閉指令信号を交互に受信(取得)するようになっている。そして、シャッター制御手段80は、受信した開指令信号及び閉指令信号に従ってシャッター54を開閉させるべく、ステッピングモータ58に対して正回転駆動信号及び逆回転駆動信号を送出するものとなっている。
これらの正回転駆動信号又は逆回転駆動信号をシャッター制御手段80から受信(取得)すると、ステッピングモータ58は、受信した正回転駆動信号又は逆回転駆動信号に対応した方向に回転するようになっている。なお、本実施形態では、正回転駆動信号及び逆回転駆動信号を形成する駆動信号として、おおよそ1msec程度の周期を有するパルス信号を採用することができる。
As shown in FIG. 4, the shutter control means 80 receives (acquires) the open command signal and the close command signal from the game control means 73 alternately. The shutter control means 80 sends a forward rotation drive signal and a reverse rotation drive signal to the stepping motor 58 so as to open and close the shutter 54 in accordance with the received opening command signal and closing command signal.
When these forward rotation drive signals or reverse rotation drive signals are received (acquired) from the shutter control means 80, the stepping motor 58 rotates in a direction corresponding to the received forward rotation drive signal or reverse rotation drive signal. Yes. In the present embodiment, a pulse signal having a period of about 1 msec can be adopted as a drive signal for forming a forward rotation drive signal and a reverse rotation drive signal.

また、シャッター制御手段80は、開放位置からの検知結果信号、すなわち、フォトインタラプタ63からの検知結果信号、及び、閉鎖位置からの検知結果信号、すなわち、フォトインタラプタ64からの検知結果信号を受信(取得)するようになっている。そして、シャッター制御手段80は、受信した開放位置からの検知結果信号、及び、閉鎖位置からの検知結果信号に基づいて、作動しているシャッター54を停止させるべく、ステッピングモータ58に対して停止信号を送出するものとなっている。
このようなシャッター制御手段80には、遊技制御手段73からの指令信号に基づいてステッピングモータ58の駆動信号を送出する電動機駆動制御部81と、ステッピングモータ58の駆動方向に応じてフォトインタラプタ63からの検知結果信号及びフォトインタラプタ64からの検知結果信号の一方を選択する検知結果信号選択部82と、検知結果信号選択部82が選択した検知結果信号を所定のタイミングで読み取ってバッファー的に保持する検知結果信号保持部83と、フォトインタラプタ63, 64から送られてきた検知結果信号を時系列データにして保持する時系列データ保持部84と、この時系列データ保持部84に保持されている時系列データが所定パターンと一致するか否かを判定する時系列データ判定部85と、この時系列データ判定部85の判定結果に応じて、ステッピングモータ58の停止信号を送出する電動機停止制御部86と、電動機駆動制御部81が送出する駆動信号の送出タイミング等を制御するための駆動信号を送出するタイミング制御部100 が設けられている。
Further, the shutter control means 80 receives the detection result signal from the open position, that is, the detection result signal from the photo interrupter 63, and the detection result signal from the closed position, that is, the detection result signal from the photo interrupter 64 ( Acquisition). The shutter control means 80 then sends a stop signal to the stepping motor 58 to stop the shutter 54 that is operating based on the received detection result signal from the open position and the detection result signal from the closed position. Is to be sent out.
Such a shutter control means 80 includes an electric motor drive control unit 81 for sending a drive signal for the stepping motor 58 based on a command signal from the game control means 73, and a photo interrupter 63 according to the drive direction of the stepping motor 58. Detection result signal selection unit 82 for selecting one of the detection result signal and the detection result signal from the photo interrupter 64, and the detection result signal selected by the detection result signal selection unit 82 is read at a predetermined timing and held in a buffer The detection result signal holding unit 83, the time series data holding unit 84 that holds the detection result signal sent from the photo interrupters 63 and 64 as time series data, and the time series data holding unit 84 A time-series data determination unit 85 that determines whether or not the series data matches a predetermined pattern, and a scan result according to the determination result of the time-series data determination unit 85. An electric motor stop control unit 86 for transmitting a stop signal for the tapping motor 58, and a timing control unit 100 for transmitting a drive signal for controlling the transmission timing of the drive signal transmitted by the electric motor drive control unit 81 are provided. .

電動機駆動制御部81は、遊技制御手段73からの開指令信号及び閉指令信号の二つの信号を交互に受信(取得)し、受信した開指令信号及び閉指令信号の一方に応じて、ステッピングモータ58へ正回転駆動信号及び逆回転駆動信号のいずれか一方を出力するものとなっている。
ここで、電動機駆動制御部81は、正回転駆動信号及び逆回転駆動信号を送出するにあたり、その送出タイミングを、タイミング制御部100 から送出されてくるタイミング制御用のパルス信号に同期させるように形成されている。換言すると、電動機駆動制御部81は、タイミング制御部100 からタイミング制御用のパルス信号を受信(取得)する毎に、正回転駆動信号及び逆回転駆動信号のいずれか一方の駆動信号を送出するようになっている。
The electric motor drive control unit 81 alternately receives (acquires) two signals of the opening command signal and the closing command signal from the game control means 73, and in accordance with one of the received opening command signal and closing command signal, the stepping motor One of the forward rotation drive signal and the reverse rotation drive signal is output to 58.
Here, the motor drive control unit 81 is configured to synchronize the transmission timing with the timing control pulse signal transmitted from the timing control unit 100 when transmitting the forward rotation drive signal and the reverse rotation drive signal. Has been. In other words, each time the motor drive control unit 81 receives (acquires) a timing control pulse signal from the timing control unit 100, the motor drive control unit 81 sends one of the forward rotation drive signal and the reverse rotation drive signal. It has become.

例えば、ステッピングモータ58が正回転するとシャッター54が開くように構成されている場合、電動機駆動制御部81としては、開指令信号を受信(取得)すると、タイミング制御部100 からのパルス信号を受信する毎に、正回転駆動信号を出力し、閉指令信号を受信(取得)すると、タイミング制御部100 からのパルス信号を受信する毎に、逆回転駆動信号を出力するものが採用できる。
また、電動機駆動制御部81は、遊技制御手段73からの開指令信号及び閉指令信号の一方を受信すると、受信した開指令信号及び閉指令信号に応じて、ステッピングモータ58の回転方向を示す開方向信号及び閉方向信号の一方を検知結果信号選択部82へ出力するものとなっている。
For example, when the shutter 54 is configured to open when the stepping motor 58 rotates forward, the motor drive controller 81 receives a pulse signal from the timing controller 100 when receiving (acquiring) an open command signal. Whenever a forward rotation drive signal is output and a close command signal is received (acquired) every time a pulse signal from the timing controller 100 is received, a reverse rotation drive signal can be output.
In addition, when the motor drive control unit 81 receives one of the open command signal and the close command signal from the game control means 73, the motor drive control unit 81 displays the opening direction indicating the rotation direction of the stepping motor 58 according to the received open command signal and the close command signal. One of the direction signal and the closing direction signal is output to the detection result signal selection unit 82.

検知結果信号選択部82は、電動機駆動制御部81からの信号に応じて、フォトインタラプタ63からの検知結果信号及びフォトインタラプタ64からの検知結果信号の一方を選択して検知結果信号保持部83へ送出するものである。具体的には、検知結果信号選択部82は、電動機駆動制御部81から開方向信号を受信(取得)すると、開放位置に配置されたフォトインタラプタ63からの検知結果信号を選択する一方、電動機駆動制御部81から閉方向信号を受信すると、閉鎖位置に配置されたフォトインタラプタ64からの検知結果信号を選択するようになっている。
検知結果信号保持部83は、タイミング制御部100 が送出するパルス信号である記憶契機信号を受信(取得)する毎に、検知結果信号選択部82が選択した検知結果信号を読み取るとともに、読み取った検知結果信号のレベル値を、時系列データ保持部84がデータ更新のための準備処理を完了するまで保持するものである。
The detection result signal selection unit 82 selects one of the detection result signal from the photo interrupter 63 and the detection result signal from the photo interrupter 64 according to the signal from the electric motor drive control unit 81 and supplies the detection result signal to the detection result signal holding unit 83. To be sent. Specifically, when the detection result signal selection unit 82 receives (acquires) the opening direction signal from the motor drive control unit 81, the detection result signal selection unit 82 selects the detection result signal from the photo interrupter 63 disposed at the open position, while driving the motor. When the closing direction signal is received from the control unit 81, the detection result signal from the photo interrupter 64 arranged at the closing position is selected.
The detection result signal holding unit 83 reads the detection result signal selected by the detection result signal selection unit 82 every time it receives (acquires) a memory trigger signal that is a pulse signal sent out by the timing control unit 100 and reads the detected detection signal. The level value of the result signal is held until the time-series data holding unit 84 completes the preparation process for data update.

時系列データ保持部84は、所定数のビット(例えば、4ビット)からなるデータを保持することが可能とされるともに、記憶しているデータを上位側へ1ビットずつシフトして最下位のビットを空にする準備処理を行った後、空になった最下位のビットに、検知結果信号保持部83に保持されている最新の検知結果信号を格納していくものとなっている。
これにより、時系列データ保持部84の内部には、フォトインタラプタ63, 64の検知結果信号が時系列順に配列された時系列データが形成され、この時系列データが記憶されている。換言すれば、時系列データ保持部84は、時系列データを記憶する検知結果記憶手段となっている。
The time series data holding unit 84 is capable of holding data consisting of a predetermined number of bits (for example, 4 bits), and shifts the stored data bit by bit to the upper side to shift the lowest order After the preparation process for emptying the bit, the latest detection result signal held in the detection result signal holding unit 83 is stored in the lowest-order bit that is empty.
Thus, time series data in which the detection result signals of the photo interrupters 63 and 64 are arranged in time series is formed in the time series data holding unit 84, and this time series data is stored. In other words, the time-series data holding unit 84 is a detection result storage unit that stores time-series data.

これにより、時系列データ保持部84がデータの上位側へのシフトを行う準備処理を完了させ、新たな1ビットデータの保持が可能となるまでの間、検知結果信号保持部83が検知結果信号のレベル値を保持するので、所定のタイミングで読み取った検知結果信号のレベル値で確実に時系列データ保持部84の時系列データを構成できるようになっている。換言すれば、検知結果信号保持部83の検知結果信号保持により、フォトインタラプタ63, 64の検知結果信号の読取処理を予め決められた所定のタイミング毎に確実に行うことができるようになっている。
ここにおいて、検知結果信号保持部83及び時系列データ保持部84は、ステッピングモータ58に所定の時間間隔をおいて送出される駆動信号の送出時間間隔以上の周期で、シャッター検知手段であるフォトインタラプタ63, 64が出力している検知結果信号を時系列順に記憶していく検知結果記憶手段を構成するものとなっている。
Thus, the detection result signal holding unit 83 completes the preparation process for shifting the data to the upper side and the new 1-bit data can be held until the detection result signal holding unit 83 detects the detection result signal. Therefore, the time series data of the time series data holding unit 84 can be configured with certainty by the level value of the detection result signal read at a predetermined timing. In other words, by holding the detection result signal in the detection result signal holding unit 83, the reading processing of the detection result signal of the photo interrupters 63 and 64 can be reliably performed at predetermined timings. .
Here, the detection result signal holding unit 83 and the time-series data holding unit 84 are a photointerrupter that is a shutter detection unit at a period equal to or longer than the transmission time interval of the drive signal transmitted to the stepping motor 58 at a predetermined time interval. The detection result storage means for storing the detection result signals output from 63 and 64 in chronological order is configured.

時系列データ判定部85は、シャッター54が開放位置及び閉鎖位置のいずれかに到達したと判定する到達判定手段である。
すなわち、時系列データ判定部85は、同一レベル値のデータが所定数配列されたデータパターンとしての所定パターンに、時系列データ保持部84が記憶している時系列データが一致するか否かを判定するものである。
換言すると、時系列データ判定部85は、時系列データ保持部84が記憶している検知結果信号を取得していき、当該検知結果信号が連続して所定回数以上続けて検知レベルとなっているか否かを判定する。そして、時系列データ判定部85は、時系列データが所定パターンと一致する場合に、開放位置及び閉鎖位置のいずれかにシャッター54が到達したと判定し、電動機停止制御部86へシャッター到達信号を送出するようになっている。
The time-series data determination unit 85 is an arrival determination unit that determines that the shutter 54 has reached either the open position or the closed position.
That is, the time-series data determination unit 85 determines whether or not the time-series data stored in the time-series data holding unit 84 matches a predetermined pattern as a data pattern in which a predetermined number of data of the same level value is arranged. Judgment.
In other words, the time-series data determination unit 85 acquires the detection result signal stored in the time-series data holding unit 84, and whether the detection result signal continuously reaches a detection level for a predetermined number of times. Determine whether or not. Then, when the time-series data matches the predetermined pattern, the time-series data determination unit 85 determines that the shutter 54 has reached either the open position or the closed position, and sends a shutter arrival signal to the motor stop control unit 86. It is supposed to be sent out.

電動機停止制御部86は、時系列データ判定部85からのシャッター到達信号を受信(取得)すると、ステッピングモータ58へ停止信号を出力するものとなっている。
タイミング制御部100 は、図示しないクロック信号発生回路が発生するクロック信号を分周することにより、電動機駆動制御部81等へ送出するタイミング制御用のパルス信号を発生するものとなっている。
すなわち、タイミング制御部100 には、図5に示すように、電動機駆動制御部81の駆動信号送出タイミングを制御するためのパルス信号である送出契機信号を発生する駆動信号送出用分周部101 と、この駆動信号送出用分周部101の分周比の設定及び記憶を行うための分周比(1/n)設定記憶部102 と、検知結果信号保持部83が検知結果信号を読み取るタイミングを制御するための記憶契機信号を発生する記憶契機信号発生用分周部103 と、この記憶契機信号発生用分周部103 の分周比の設定及び記憶を行うための分周比(1/m)設定記憶部104 とが設けられている。
When the motor stop control unit 86 receives (acquires) the shutter arrival signal from the time-series data determination unit 85, the motor stop control unit 86 outputs a stop signal to the stepping motor 58.
The timing control unit 100 divides a clock signal generated by a clock signal generation circuit (not shown) to generate a timing control pulse signal to be sent to the motor drive control unit 81 and the like.
That is, as shown in FIG. 5, the timing control unit 100 includes a drive signal transmission frequency dividing unit 101 that generates a transmission trigger signal that is a pulse signal for controlling the drive signal transmission timing of the electric motor drive control unit 81, and The frequency division ratio (1 / n) setting storage unit 102 for setting and storing the frequency division ratio of the drive signal transmission frequency dividing unit 101 and the timing at which the detection result signal holding unit 83 reads the detection result signal are set. A memory trigger signal generating frequency dividing unit 103 that generates a memory trigger signal for controlling, and a frequency dividing ratio (1 / m for setting and storing the frequency dividing ratio of the memory trigger signal generating frequency dividing unit 103 ) Setting storage unit 104.

駆動信号送出用分周部101 は、分周比(1/n)設定記憶部102 に設定・記憶されている分周比の設定値nを受信(取得)し、クロック信号を1/nに分周するものである。例えば、10MHzのクロック信号に対して、設定値nが1×10 4 に設定されているとすると、駆動信号送出用分周部101 は、1kHzの送出契機信号を電動機駆動制御部81へ送出するようになっている。
記憶契機信号発生用分周部103 は、分周比(1/m)設定記憶部104 に設定・記憶されている分周比の設定値mを受信(取得)し、クロック信号を1/mに分周するものである。例えば、10MHzのクロック信号に対して、設定値mが1×10 5 に設定されているとすると、記憶契機信号発生用分周部103 は、100Hzの記憶契機信号を検知結果信号保持部83へ送出するようになっている。
The drive signal transmission frequency divider 101 receives (acquires) the frequency division ratio setting value n set and stored in the frequency division ratio (1 / n) setting storage unit 102, and sets the clock signal to 1 / n. Divide frequency. For example, if the set value n is set to 1 × 10 4 with respect to a 10 MHz clock signal, the drive signal sending frequency dividing unit 101 sends a 1 kHz sending trigger signal to the motor drive control unit 81. It is like that.
The memory trigger signal generation frequency dividing unit 103 receives (acquires) the frequency division ratio setting value m set and stored in the frequency division ratio (1 / m) setting storage unit 104, and receives the clock signal as 1 / m. The frequency is divided. For example, if the set value m is set to 1 × 10 5 with respect to the 10 MHz clock signal, the storage trigger signal generation frequency dividing unit 103 sends the 100 Hz storage trigger signal to the detection result signal holding unit 83. It is supposed to be sent out.

ここで、分周比(1/m)設定記憶部104 に設定・記憶されている分周比の設定値mは、分周比(1/n)設定記憶部102 に設定・記憶されている分周比の設定値nに基づいて設定されるものであり、具体的には、m=A×nとなっている。なお、Aは、1以上の正整数である。
また、記憶契機信号発生用分周部103 が記憶契機信号を送出する送出時間間隔は、検知結果記憶手段(検知結果信号保持部83及び時系列データ保持部84)が移動体検知手段であるフォトインタラプタ63, 64からの検知結果信号を時系列順に記憶していく間隔となっている。そして、記憶契機信号の送出時間間隔は、分周比(1/m)設定記憶部104 に設定・記憶されている分周比の設定値mによって決定されるものである。
Here, the division ratio setting value m set and stored in the division ratio (1 / m) setting storage unit 104 is set and stored in the division ratio (1 / n) setting storage unit 102. The frequency division ratio is set based on the set value n, and specifically m = A × n. A is a positive integer of 1 or more.
The transmission time interval at which the memory trigger signal generating frequency dividing unit 103 sends out the memory trigger signal is a photo result in which the detection result storage unit (the detection result signal holding unit 83 and the time-series data holding unit 84) is the moving body detection unit. This is an interval for storing the detection result signals from the interrupters 63 and 64 in chronological order. The transmission time interval of the storage trigger signal is determined by the division ratio setting value m set and stored in the division ratio (1 / m) setting storage unit 104.

このため、記憶契機信号の送出時間間隔は、ステッピングモータ58へ送出される駆動信号の送出時間間隔に基づいて設定されたものとなっており、ステッピングモータ58への駆動信号の送出時間間隔以上の間隔に設定されている。
以上により、検知結果記憶手段(検知結果信号保持部83及び時系列データ保持部84)は、ステッピングモータ58へ送出される駆動信号の送出時間間隔以上の間隔で、フォトインタラプタ63, 64からの検知結果信号を時系列順に記憶していくようになっている。
前述のような本実施形態によれば、次のような効果が得られる。
すなわち、ステッピングモータ58の駆動タイミングとなる駆動信号の送出時間間隔以上の間隔で、フォトインタラプタ63, 64からの検知結果信号を検知結果信号保持部83及び時系列データ保持部84が記憶していくので、検知結果信号保持部83及び時系列データ保持部84に記憶される単位時間当たりのデータ数がステッピングモータ58の動作を制御するのに多すぎることがなく、得られたサンプルデータの中に多数の不要なデータが含まれないようにすることができる。
For this reason, the sending time interval of the memory trigger signal is set based on the sending time interval of the drive signal sent to the stepping motor 58, and is longer than the sending time interval of the drive signal to the stepping motor 58. The interval is set.
As described above, the detection result storage means (the detection result signal holding unit 83 and the time-series data holding unit 84) detects from the photo interrupters 63 and 64 at intervals equal to or longer than the transmission time interval of the drive signal sent to the stepping motor 58. Result signals are stored in chronological order.
According to this embodiment as described above, the following effects can be obtained.
That is, the detection result signal holding unit 83 and the time-series data holding unit 84 store the detection result signals from the photo interrupters 63 and 64 at intervals equal to or longer than the transmission time interval of the drive signal that is the drive timing of the stepping motor 58. Therefore, the number of data per unit time stored in the detection result signal holding unit 83 and the time-series data holding unit 84 is not too much to control the operation of the stepping motor 58, and the obtained sample data A large amount of unnecessary data can be prevented from being included.

そして、このような検知結果信号保持部83及び時系列データ保持部84に記憶されるデータに基づいてステッピングモータ58の動作を制御するので、マイクロコンピュータを含んで遊技制御装置43を構成しても、遊技制御装置43のマイクロコンピュータの負荷が必要以上に増えることがなく、従って、遊技制御装置43に無用の負荷がかかることを回避することができる。
しかも、検知結果信号保持部83及び時系列データ保持部84がフォトインタラプタ63, 64からの検知結果信号を記憶していく間隔がより長くなるので、瞬間的に信号がハイレベルに移行するチャタリングの影響を受けにくくなるうえ、シャッター54の制御に不必要なデータが記憶されないので、チャタリングを取り除く処理を行っても、多数の無用なデータについての処理がなされることがなくなり、この点からも、遊技制御装置43のマイクロコンピュータの負荷が必要以上に増えることがなく、遊技制御装置43に無用の負荷がかかることを回避することができる。
Since the operation of the stepping motor 58 is controlled based on the data stored in the detection result signal holding unit 83 and the time series data holding unit 84, the game control device 43 including the microcomputer may be configured. Thus, the load of the microcomputer of the game control device 43 does not increase more than necessary, and therefore it is possible to avoid applying unnecessary load to the game control device 43.
In addition, since the detection result signal holding unit 83 and the time-series data holding unit 84 store the detection result signals from the photo interrupters 63 and 64 for a longer time, chattering for instantaneously shifting the signal to a high level is performed. In addition to being less affected, data unnecessary for controlling the shutter 54 is not stored, so even if processing to remove chattering is performed, processing for many unnecessary data will not be performed. The load of the microcomputer of the game control device 43 does not increase more than necessary, and it is possible to avoid applying unnecessary load to the game control device 43.

また、フォトインタラプタ63, 64からの検知結果信号を検知結果信号保持部83及び時系列データ保持部84が時系列順に記憶していく間隔を、ステッピングモータ58へ送出される駆動信号の送出時間間隔に基づいて設定したので、フォトインタラプタ63, 64からの検知結果信号を記憶するタイミングがステッピングモータ58の動作状況に対応するようになり、検知結果信号保持部83及び時系列データ保持部84には、単位時間当たり、ステッピングモータ58の動作を制御するのに適した数量のデータが記憶され、得られたサンプルデータに不要なデータが含まれることを抑制でき、従って、遊技制御装置43に無用の負荷がかかることを確実に防止することができる。   The interval at which the detection result signal holding unit 83 and the time series data holding unit 84 store the detection result signals from the photo interrupters 63 and 64 in time series order is the transmission time interval of the drive signal sent to the stepping motor 58. Therefore, the timing for storing the detection result signals from the photo interrupters 63 and 64 corresponds to the operation state of the stepping motor 58, and the detection result signal holding unit 83 and the time series data holding unit 84 The amount of data suitable for controlling the operation of the stepping motor 58 per unit time is stored, and it is possible to suppress unnecessary data from being included in the obtained sample data. It is possible to reliably prevent the load from being applied.

[第2実施形態]
図6には、本発明の第2実施形態に係るシャッター制御手段80A が示されている。本第2実施形態は、前記第1実施形態におけるクロック信号から形成された記憶契機信号を、駆動信号から形成された記憶契機信号としたものである。
すなわち、図6の如く、シャッター制御手段80A は、前記第1実施形態におけるシャッター制御手段80からタイミング制御部100 を省略し、その代わりに、クロック分周部105 及び駆動信号計数部106 を加えたものである。
クロック分周部105 は、電動機駆動制御部81の駆動信号送出タイミングを制御するためのパルス信号である送出契機信号を発生する図示しない駆動信号送出用分周部と、この駆動信号送出用分周部の分周比の設定及び記憶を行うための図示しない分周比(1/n)設定記憶部とを備えたものである。
[Second Embodiment]
FIG. 6 shows shutter control means 80A according to the second embodiment of the present invention. In the second embodiment, the memory trigger signal formed from the clock signal in the first embodiment is used as the memory trigger signal formed from the drive signal.
That is, as shown in FIG. 6, the shutter control unit 80A omits the timing control unit 100 from the shutter control unit 80 in the first embodiment, and adds a clock frequency dividing unit 105 and a drive signal counting unit 106 instead. Is.
The clock dividing unit 105 includes a drive signal sending frequency dividing unit (not shown) that generates a sending trigger signal that is a pulse signal for controlling the drive signal sending timing of the electric motor drive control unit 81, and the drive signal sending frequency dividing unit. A frequency division ratio (1 / n) setting storage unit (not shown) for setting and storing the frequency division ratio of the unit is provided.

駆動信号送出用分周部及び分周比(1/n)設定記憶部は、前記実施形態における駆動信号送出用分周部101 及び分周比(1/n)設定記憶部102 と同様のものである。
すなわち、駆動信号送出用分周部は、分周比(1/n)設定記憶部に設定・記憶されている分周比の設定値nを受信(取得)し、クロック信号を1/nに分周するものである。
例えば、10MHzのクロック信号に対して、設定値nが1×10 4 に設定されているとすると、駆動信号送出用分周部は、1kHzの送出契機信号を電動機駆動制御部81へ送出するようになっている。
電動機駆動制御部81は、この送出契機信号を受信(取得)する毎に、ステッピングモータ58へ正回転駆動信号又は逆回転駆動信号を送出するように形成されている。
The drive signal transmission frequency dividing unit and the frequency division ratio (1 / n) setting storage unit are the same as the drive signal transmission frequency division unit 101 and the frequency division ratio (1 / n) setting storage unit 102 in the above embodiment. It is.
That is, the drive signal transmission frequency divider receives (acquires) the frequency division ratio setting value n set and stored in the frequency division ratio (1 / n) setting storage unit, and sets the clock signal to 1 / n. Divide frequency.
For example, assuming that the set value n is set to 1 × 10 4 with respect to a 10 MHz clock signal, the drive signal transmission frequency dividing section sends a 1 kHz transmission trigger signal to the motor drive control section 81. It has become.
The electric motor drive control unit 81 is configured to send a forward rotation drive signal or a reverse rotation drive signal to the stepping motor 58 every time the transmission trigger signal is received (acquired).

駆動信号計数部106 は、電動機駆動制御部81から正回転駆動信号又は逆回転駆動信号を受信(取得)し、受信した駆動信号の数を計数(カウント)するカウント手段である。そして、駆動信号計数部106 は、計数した駆動信号の数が、予め設定された設定値Aに達すると、記憶契機信号を検知結果信号保持部83へ送出するようになっている。
例えば、設定値Aとして「10」が設定されている場合、10MHzのクロック信号に対して、クロック分周部105が1kHzの送出契機信号を送出し、これに応じて、電動機駆動制御部81が1kHzの正回転駆動信号を送出するので、駆動信号計数部106 は、100Hzの記憶契機信号を検知結果信号保持部83へ送出するようになっている。
The drive signal counting unit 106 is a counting unit that receives (acquires) a normal rotation drive signal or a reverse rotation drive signal from the electric motor drive control unit 81 and counts (counts) the number of received drive signals. Then, when the number of counted drive signals reaches a preset setting value A, the drive signal counting unit 106 sends a storage trigger signal to the detection result signal holding unit 83.
For example, when “10” is set as the set value A, the clock frequency dividing unit 105 transmits a 1 kHz transmission trigger signal to the 10 MHz clock signal, and the motor drive control unit 81 responds accordingly. Since the 1 kHz forward rotation drive signal is sent out, the drive signal counting unit 106 sends out a 100 Hz storage trigger signal to the detection result signal holding unit 83.

これにより、記憶契機信号の送出時間間隔は、ステッピングモータ58へ送出される駆動信号の送出時間間隔に基づいて設定されたものとなっており、ステッピングモータ58への駆動信号の送出時間間隔以上の間隔に設定されている。
以上により、検知結果記憶手段(検知結果信号保持部83及び時系列データ保持部84)は、ステッピングモータ58へ送出される駆動信号の送出時間間隔以上の間隔で、フォトインタラプタ63, 64からの検知結果信号を時系列順に記憶していくようになっている。
[シャッター制御手段80A の動作]
次いで、本実施形態に係るシャッター制御手段80A の制御動作について、図7のフローチャートを参照しながら説明する。
Thereby, the sending time interval of the memory trigger signal is set based on the sending time interval of the drive signal sent to the stepping motor 58, and is longer than the sending time interval of the drive signal to the stepping motor 58. The interval is set.
As described above, the detection result storage means (the detection result signal holding unit 83 and the time-series data holding unit 84) detects from the photo interrupters 63 and 64 at intervals equal to or longer than the transmission time interval of the drive signal sent to the stepping motor 58. Result signals are stored in chronological order.
[Operation of shutter control means 80A]
Next, the control operation of the shutter control means 80A according to this embodiment will be described with reference to the flowchart of FIG.

本実施形態に係るシャッター制御手段80A が行う制御処理は、スロットマシン10の基本的な遊技動作を制御するために行われる他の処理とともに時分割処理により並列処理されるものである。換言すれば、シャッター制御手段80A の制御処理は、スロットマシン10の遊技中に繰り返し行われるメインの制御ループを形成するために、複数設けられたサブの制御ループのうちの一つである。
従って、シャッター制御手段80A の制御処理は、スロットマシン10の遊技中に、ステッピングモータ58に駆動信号を出力する周期と同一の周期で何度も繰り返して実行されるようになっている。
The control processing performed by the shutter control means 80A according to the present embodiment is performed in parallel by time division processing together with other processing performed to control the basic game operation of the slot machine 10. In other words, the control process of the shutter control means 80A is one of a plurality of sub control loops provided in order to form a main control loop that is repeatedly performed during the game of the slot machine 10.
Therefore, the control process of the shutter control means 80A is repeatedly executed at the same cycle as the cycle of outputting the drive signal to the stepping motor 58 during the game of the slot machine 10.

すなわち、シャッター制御手段80A の制御処理が開始されると、図7に示すように、ステップS1000において、ステッピングモータ58が動作しているか否かが判断される。具体的には、ステッピングモータ58の駆動状態を示すモータ駆動状態フラグFが成立しているか否か、換言すると、モータ駆動状態フラグFが「1」であるか否かが判断される。
なお、大当たりが引き当てられていない場合には、その演出が行われることがなく、リトラクタブル式照明装置50が作動せず、シャッター54を駆動するステッピングモータ58も動作していない。この場合には、モータ駆動状態フラグFが「0」となる。
一方、大当たりが引き当てられ、その演出を行うために、リトラクタブル式照明装置50が作動を開始すると、シャッター54を駆動するステッピングモータ58が動作するので、このようなときには、モータ駆動状態フラグFが「1」となる。
That is, when the control process of the shutter control means 80A is started, as shown in FIG. 7, it is determined in step S1000 whether or not the stepping motor 58 is operating. Specifically, it is determined whether or not the motor drive state flag F indicating the drive state of the stepping motor 58 is satisfied, in other words, whether or not the motor drive state flag F is “1”.
When the jackpot is not allocated, the effect is not performed, the retractable illumination device 50 does not operate, and the stepping motor 58 that drives the shutter 54 does not operate. In this case, the motor drive state flag F is “0”.
On the other hand, when the retractable illuminating device 50 starts to operate in order to win the jackpot, the stepping motor 58 that drives the shutter 54 operates. In such a case, the motor drive state flag F is set to “ 1 ".

ステップS1000において、モータ駆動状態フラグFが「1」でないと判断されると、ステップS2000へ進む一方、モータ駆動状態フラグFが「1」であると判断されると、ステップS3000へ進む。
ステップS2000では、遊技制御手段73からの起動指令、すなわち、開指令信号及び閉指令信号のいずれかが発信されたか否かが判断される。このステップS2000で、起動指令が発信されていないと判断された場合には、シャッター制御手段80A の制御処理が一旦終了となるので、メインの制御ループへ戻る。一方、ステップS2000で、起動指令が発信されたと判断された場合には、次のステップS2100へ進む。
If it is determined in step S1000 that the motor drive state flag F is not “1”, the process proceeds to step S2000. If it is determined that the motor drive state flag F is “1”, the process proceeds to step S3000.
In step S2000, it is determined whether an activation command from the game control means 73, that is, one of the open command signal and the close command signal is transmitted. If it is determined in step S2000 that the start command has not been transmitted, the control process of the shutter control means 80A is temporarily terminated, and the process returns to the main control loop. On the other hand, if it is determined in step S2000 that an activation command has been transmitted, the process proceeds to the next step S2100.

ステップS2100では、時系列データDのリセット処理を行う。具体的には、時系列データ保持部84に記憶されている時系列データDのすべてのビット、例えば、4つのビットをすべて「0」にする。このリセット処理が完了したら、次のステップS2200へ進む。
ステップS2200では、検知結果信号保持部83がフォトインタラプタ63, 64からの検知結果信号を読み取るタイミングを間接的に決定するタイマ変数Tの初期値を設定する初期値設定処理、例えば、タイマ変数Tの値を「9」に設定する初期値設定処理が行われる。なお、ここで設定される初期値は、前述の駆動信号計数部106 に予め設定された設定値Aが採用されるようになっている。
In step S2100, the time series data D is reset. Specifically, all the bits of the time-series data D stored in the time-series data holding unit 84, for example, all four bits are set to “0”. When this reset process is completed, the process proceeds to the next step S2200.
In step S2200, the detection result signal holding unit 83 sets an initial value of the timer variable T that indirectly determines the timing for reading the detection result signal from the photo interrupters 63 and 64. An initial value setting process for setting the value to “9” is performed. Note that, as the initial value set here, the set value A set in advance in the drive signal counter 106 is adopted.

ここで、検知結果信号保持部83がフォトインタラプタ63, 64からの検知結果信号を読み取るタイミングは、ステッピングモータ58に駆動信号が送出される送出時間間隔以上の周期で設定される。具体的に説明すると、ステッピングモータ58へ駆動信号を送出する回数がタイマ変数Tの値、例えば、「10」を超える毎に、検知結果信号保持部83がフォトインタラプタ63, 64からの検知結果信号を読み取るようになっている。
このようなステップS2200におけるタイマ変数Tの初期値設定処理が完了したら、次のステップS2300へ進む。
ステップS2300では、ステッピングモータ58へ駆動信号(パルス信号)を送出させる処理を行う。
Here, the timing at which the detection result signal holding unit 83 reads the detection result signal from the photointerrupters 63 and 64 is set at a cycle equal to or longer than the transmission time interval at which the drive signal is sent to the stepping motor 58. More specifically, every time the number of times that the drive signal is sent to the stepping motor 58 exceeds the value of the timer variable T, for example, “10”, the detection result signal holding unit 83 detects the detection result signal from the photo interrupters 63 and 64. Is supposed to read.
When the initial value setting process of the timer variable T in step S2200 is completed, the process proceeds to next step S2300.
In step S2300, processing for sending a drive signal (pulse signal) to the stepping motor 58 is performed.

例えば、シャッター54を開放する際には、ステップS2300において、電動機駆動制御部81からステッピングモータ58へ正回転駆動信号、すなわち、ステッピングモータ58を正回転駆動する駆動信号を送出する処理が行われる。
逆に、シャッター54を閉鎖する際には、ステップS2300において、電動機駆動制御部81からステッピングモータ58へ逆回転駆動信号、すなわち、ステッピングモータ58を逆回転駆動する駆動信号を送出する処理が行われる。
このような駆動信号を送出する処理が完了したら、次のステップS2400へ進む。
ステップS2400では、ステッピングモータ58の駆動状態を示すモータ駆動状態フラグFを成立させる処理、換言すると、モータ駆動状態フラグFの値を「1」に設定する処理を行う。このモータ駆動状態フラグFを成立させる処理が完了したら、シャッター制御手段80の制御処理が一旦終了となるので、メインの制御ループへ戻る。
For example, when opening the shutter 54, in step S2300, a process of sending a forward rotation drive signal from the motor drive control unit 81 to the stepping motor 58, that is, a drive signal for driving the stepping motor 58 to rotate forward is performed.
On the other hand, when closing the shutter 54, in step S2300, a process of sending a reverse rotation drive signal from the motor drive control unit 81 to the stepping motor 58, that is, a drive signal for driving the stepping motor 58 to rotate backward is performed. .
When the process of sending such a drive signal is completed, the process proceeds to the next step S2400.
In step S2400, a process of establishing a motor drive state flag F indicating the drive state of the stepping motor 58, in other words, a process of setting the value of the motor drive state flag F to “1” is performed. When the process for establishing the motor drive state flag F is completed, the control process of the shutter control means 80 is temporarily terminated, and the process returns to the main control loop.

ところで、前述したステップS1000において、モータ駆動状態フラグFが「1」であると判断されたために、ステップS3000へ進んだ場合、このステップS3000では、ステップS2300と同様に、ステッピングモータ58を駆動する駆動信号(パルス信号)を送出させる処理が行われる。そして、この駆動信号を送出させる処理が完了したら、次のステップS3100に進む。
ステップS3100では、タイマ変数Tの値が「0」よりも大きいか否かが判断される。このステップS3100で、タイマ変数Tの値が「0」よりも大きいと判断された場合には、ステップS3200へ進み、ステップS3200でタイマ変数Tの値から1を減算する処理を行う。このステップS3200における減算処理が完了したら、シャッター制御手段80A の制御処理が一旦終了となるので、メインの制御ループへ戻る。
By the way, when it is determined in step S1000 that the motor drive state flag F is “1” and the process proceeds to step S3000, in step S3000, the drive for driving the stepping motor 58 is performed as in step S2300. Processing for sending a signal (pulse signal) is performed. Then, when the process of sending out the drive signal is completed, the process proceeds to the next step S3100.
In step S3100, it is determined whether or not the value of timer variable T is greater than “0”. If it is determined in step S3100 that the value of the timer variable T is larger than “0”, the process proceeds to step S3200, and a process of subtracting 1 from the value of the timer variable T is performed in step S3200. When the subtraction process in step S3200 is completed, the control process of the shutter control means 80A is temporarily terminated, and the process returns to the main control loop.

一方、ステップS3100で、タイマ変数Tの値が「0」よりも大きくないと判断された場合には、ステップS3300へ進む。
ステップS3300では、ステッピングモータ58が開方向へ駆動しているか否かが判断される。このステップS3300で、ステッピングモータ58が開方向へ駆動していると判断された場合には、ステップS3410へ進み、ステップS3410において、開位置に配置されたセンサであるフォトインタラプタ63の検知結果信号が読み取られ、この検知結果信号の値が保持値Sとして検知結果信号保持部83に保持される保持処理が行われる。この保持処理が完了したら、ステップS3500へ進む。
On the other hand, if it is determined in step S3100 that the value of the timer variable T is not greater than “0”, the process proceeds to step S3300.
In step S3300, it is determined whether or not stepping motor 58 is driven in the opening direction. If it is determined in step S3300 that the stepping motor 58 is driven in the opening direction, the process proceeds to step S3410. A holding process is performed in which the value of the detection result signal is read and held in the detection result signal holding unit 83 as the holding value S. When this holding process is completed, the process proceeds to step S3500.

反対にステップS3300で、ステッピングモータ58が閉方向へ駆動していると判断された場合には、ステップS3420へ進み、ステップS3420において、閉位置に配置されたセンサであるフォトインタラプタ64の検知結果信号が読み取られ、この検知結果信号の値が保持値Sとして検知結果信号保持部83に保持される保持処理が行われる。この保持処理が完了したら、ステップS3500へ進む。
ここで、フォトインタラプタ63, 64からの検知結果信号の読み取りを行う保持処理は、ステップS2200で初期値が設定され、且つ、ステップS3200で1を減算されたタイマ変数Tの値が「0」よりも小さくなったときにのみ行われる。例えば、タイマ変数Tの初期値が「10」に設定された場合、ステップS2300又はステップS3000において行われるステッピングモータ58への駆動パルスの供給が11回完了する毎に、検知結果信号の読み取りが1回だけ行われるようになっている。これにより、ステッピングモータ58に所定の時間間隔をおいて送出される駆動信号(パルス信号)の送出時間間隔以上に長い周期で、フォトインタラプタ63, 64が出力している検知結果信号が、時系列順に、検知結果記憶手段の一部である検知結果信号保持部83に記憶(保持)されていくようになっている。
On the other hand, if it is determined in step S3300 that the stepping motor 58 is driven in the closing direction, the process proceeds to step S3420, and in step S3420, the detection result signal of the photo interrupter 64, which is a sensor arranged at the closed position. And a holding process is performed in which the value of the detection result signal is held in the detection result signal holding unit 83 as the holding value S. When this holding process is completed, the process proceeds to step S3500.
Here, in the holding processing for reading the detection result signal from the photo interrupters 63 and 64, the initial value is set in step S2200, and the value of the timer variable T obtained by subtracting 1 in step S3200 is “0”. Only when it gets smaller. For example, when the initial value of the timer variable T is set to “10”, the detection result signal is read by 1 every time the supply of the drive pulse to the stepping motor 58 performed in step S2300 or step S3000 is completed 11 times. Only once. As a result, the detection result signals output from the photo interrupters 63 and 64 are time-sequentially with a period longer than the transmission time interval of the drive signal (pulse signal) transmitted to the stepping motor 58 at a predetermined time interval. In order, the result is stored (held) in the detection result signal holding unit 83 which is a part of the detection result storage means.

ステップS3500では、時系列データDの更新処理を行う。具体的には、ステップS3500においては、時系列データ保持部84に記憶されている時系列データDを上位側へ1ビットずつシフトして最下位のビットを空にした後、空になった最下位のビットに、検知結果信号保持部83に保持されている最新の検知結果信号の値である保持値Sを格納することで、時系列データDの内容を更新する更新処理を行う。このような更新処理が完了したら、次のステップS3600へ進む。
ステップS3600では、時系列データDの全ビットが「1」であるか否かが判断される。このステップS3600で、時系列データDの全ビットが「1」ではないと判断された場合には、シャッター54が未だ開放位置又は閉鎖位置に到達していないと判断できるので、次のステップS3700及びステップS3800をスキップしてステップS3900へ進む。
In step S3500, the time series data D is updated. Specifically, in step S3500, the time-series data D stored in the time-series data holding unit 84 is shifted one bit at a time to make the least significant bit empty, and then the most empty data becomes empty. By storing the holding value S, which is the value of the latest detection result signal held in the detection result signal holding unit 83, in the lower bits, update processing for updating the contents of the time-series data D is performed. When such an update process is completed, the process proceeds to the next step S3600.
In step S3600, it is determined whether or not all bits of time-series data D are “1”. If it is determined in step S3600 that all the bits of the time-series data D are not “1”, it can be determined that the shutter 54 has not yet reached the open position or the closed position. Step S3800 is skipped and the process proceeds to step S3900.

一方、ステップS3600で、時系列データDの全ビットが「1」であると判断された場合には、シャッター54が開放位置又は閉鎖位置に到達したと判断できるので、次のステップS3700へ進み、ステップS3700でステッピングモータ58を停止する停止処理を行う。この後、ステップS3800へ進み、ステップS3800において、ステッピングモータ58の駆動状態を示すモータ駆動状態フラグFをリセットするリセット処理、具体的には、モータ駆動状態フラグFの値を「0」に設定するリセット処理を行い、このようなリセット処理が完了したら、その次のステップS3900へ進む。
ステップS3900では、タイマ変数Tを初期値に戻す初期化処理、例えば、タイマ変数Tの値を初期値である「10」に設定する初期化処理が行われる。このステップS3900における初期化処理が完了したら、シャッター制御手段80A の制御処理が終了となるので、メインの制御ループへ戻る。
On the other hand, if it is determined in step S3600 that all the bits of the time-series data D are “1”, it can be determined that the shutter 54 has reached the open position or the closed position, and the process proceeds to the next step S3700. In step S3700, stop processing for stopping the stepping motor 58 is performed. Thereafter, the process proceeds to step S3800. In step S3800, a reset process for resetting the motor drive state flag F indicating the drive state of the stepping motor 58, specifically, the value of the motor drive state flag F is set to “0”. A reset process is performed, and when such a reset process is completed, the process proceeds to the next step S3900.
In step S3900, initialization processing for returning the timer variable T to the initial value, for example, initialization processing for setting the value of the timer variable T to “10”, which is the initial value, is performed. When the initialization process in step S3900 is completed, the control process of the shutter control means 80A is completed, and the process returns to the main control loop.

前述のような本実施形態によれば、前記第1実施形態の効果に加えて次のような効果が得られる。
すなわち、駆動信号の取得数が所定数になると駆動信号計数部106 から記憶契機信号が出力され、この記憶契機信号が出力されるタイミングで検知結果信号保持部83及び時系列データ保持部84がフォトインタラプタ63, 64からの検知結果信号を記憶するようにしたので、検知結果信号保持部83及び時系列データ保持部84にデータが記憶されるタイミングがステッピングモータの動作状況に対応するようになるうえ、時系列データ保持部84に時系列順に記憶される複数のデータで時系列データを形成しても、不要なデータが時系列データに含まれることがなくなり、当該時系列データが無用に大きくなることが防止され、コンピュータ等の内部における時系列データの取り扱いが容易になり、この点からも、遊技制御装置43のマイクロコンピュータの負荷が必要以上に増えることがなく、遊技制御装置43に無用の負荷がかかることを回避することができる。
According to the present embodiment as described above, the following effects can be obtained in addition to the effects of the first embodiment.
That is, when the number of drive signal acquisitions reaches a predetermined number, a drive signal is output from the drive signal counting unit 106, and the detection result signal holding unit 83 and the time-series data holding unit 84 perform Since the detection result signals from the interrupters 63 and 64 are stored, the timing at which the data is stored in the detection result signal holding unit 83 and the time series data holding unit 84 corresponds to the operation state of the stepping motor. Even if the time series data is formed by a plurality of data stored in the time series data holding unit 84 in the time series order, unnecessary data is not included in the time series data, and the time series data becomes unnecessarily large. This makes it easy to handle time-series data inside a computer or the like. From this point of view, the microcomputer of the game control device 43 is negatively affected. The load does not increase more than necessary, and it is possible to avoid applying unnecessary load to the game control device 43.

[第3実施形態]
図8には、本発明の第3実施形態に係るシャッター制御手段90が示されている。本第3実施形態は、前記第2実施形態におけるフォトインタラプタ63, 64の一方を選択し、選択された一方の検知結果信号に基づいてその後の処理を行う信号選択方式のシャッター制御手段80A を、フォトインタラプタ63, 64から出力される二つの検知結果信号の論理和を演算し、演算された論理和に基づいてその後の処理を行う論理和演算式のシャッター制御手段90としたものである。
[シャッター制御手段90]
すなわち、シャッター制御手段90は、図8に示すように、前記第2実施形態と同様に、クロック分周部105 及び駆動信号計数部106 を備えたものとなっている。
[Third Embodiment]
FIG. 8 shows shutter control means 90 according to the third embodiment of the present invention. In the third embodiment, one of the photointerrupters 63 and 64 in the second embodiment is selected, and a signal selection type shutter control means 80A for performing subsequent processing based on the selected one detection result signal, This is a logical OR operation type shutter control means 90 that calculates a logical sum of two detection result signals output from the photo interrupters 63 and 64 and performs the subsequent processing based on the calculated logical sum.
[Shutter control means 90]
That is, as shown in FIG. 8, the shutter control means 90 includes a clock frequency divider 105 and a drive signal counter 106 as in the second embodiment.

クロック分周部105 は、クロック信号を分周したことにより、送出契機信号を発生するものであり、駆動信号計数部106 は、取得した駆動信号の数を計数(カウント)することにより、記憶契機信号を送出するものである。
また、シャッター制御手段90には、クロック分周部105 及び駆動信号計数部106 に加えて、遊技制御手段73からの指令信号に基づいてステッピングモータ58の起動指令信号を送出する電動機駆動制御部91と、フォトインタラプタ63, 64から出力される二つの検知結果信号の論理和を演算する論理和演算部92と、この論理和演算部92が演算した論理和を所定のタイミングで読み取ってバッファー的に保持する検知結果信号保持部93と、検知結果信号保持部93が保持した論理和の値を時系列データにして保持する時系列データ保持部94と、時系列データ保持部94が保持している時系列データ及び調整用の乗数値の論理積を求める論理演算を行う時系列データ論理積演算部95と、時系列データ論理積演算部95が算出した論理積の比較対象となる所定の参照値を保持している参照値保持部96と、時系列データ論理積演算部95の論理積及び参照値保持部96の参照値を相互に比較する時系列データ論理積比較部97と、この時系列データ論理積比較部97の比較結果に応じて、ステッピングモータ58の停止信号を送出する電動機停止制御部98と、時系列データ保持部94が保持している時系列データに基づいてステッピングモータ58の動作エラーを検知するエラー検知部99とが設けられている。
The clock divider 105 generates a transmission trigger signal by dividing the clock signal, and the drive signal counter 106 counts (counts) the number of acquired drive signals, thereby storing the trigger. A signal is transmitted.
In addition to the clock frequency dividing unit 105 and the drive signal counting unit 106, the shutter control unit 90 includes an electric motor drive control unit 91 that sends a start command signal for the stepping motor 58 based on a command signal from the game control unit 73. A logical sum operation unit 92 that calculates the logical sum of the two detection result signals output from the photointerrupters 63 and 64, and reads the logical sum calculated by the logical sum operation unit 92 at a predetermined timing. The detection result signal holding unit 93 to hold, the time series data holding unit 94 to hold the logical sum value held by the detection result signal holding unit 93 as time series data, and the time series data holding unit 94 Time series data AND operation unit 95 for performing a logical operation for obtaining a logical product of time series data and a multiplier value for adjustment, and a predetermined reference value to be compared with the logical product calculated by the time series data logical product operation unit 95 Keep The reference value holding unit 96, the time series data logical product operation unit 95 and the time series data logical product comparison unit 97 for comparing the logical value of the reference value holding unit 96 and the reference value of the reference value holding unit 96 with each other. The motor stop control unit 98 that sends a stop signal of the stepping motor 58 according to the comparison result of the product comparison unit 97, and the operation error of the stepping motor 58 based on the time series data held by the time series data holding unit 94 And an error detection unit 99 for detecting.

電動機駆動制御部91は、遊技制御手段73からの開指令信号及び閉指令信号の二つの信号を交互に受信(取得)し、受信した開指令信号及び閉指令信号の一方に応じて、ステッピングモータ58へ正回転駆動信号及び逆回転駆動信号のいずれか一方を送出するものとなっている。
論理和演算部92は、フォトインタラプタ63の検知結果信号の値と、フォトインタラプタ64の検知結果信号の値との論理和を信号の値とする論理和信号を送出するものである。さらに具体的に説明すれば、論理和演算部92は、フォトインタラプタ63の検知結果信号値、及び、フォトインタラプタ64の検知結果信号値の少なくとも一方が「1」である場合に、その値が「1」となった検知結果信号を送出し、フォトインタラプタ63の検知結果信号値、及び、フォトインタラプタ64の検知結果信号値の両方がともに「0」である場合にのみ、その値が「0」となった検知結果信号を送出するように構成されている。
The electric motor drive control unit 91 alternately receives (acquires) two signals of the open command signal and the close command signal from the game control means 73, and in accordance with one of the received open command signal and close command signal, the stepping motor One of the forward rotation drive signal and the reverse rotation drive signal is sent to 58.
The OR operation unit 92 sends out a logical sum signal having the signal value as the logical sum of the value of the detection result signal of the photo interrupter 63 and the value of the detection result signal of the photo interrupter 64. More specifically, the logical sum operation unit 92, when at least one of the detection result signal value of the photo interrupter 63 and the detection result signal value of the photo interrupter 64 is “1”, the value is “ Only when both the detection result signal value of the photointerrupter 63 and the detection result signal value of the photointerrupter 64 are “0”, the value is “0”. It is configured to send out the detection result signal.

検知結果信号保持部93は、ステッピングモータ58に供給される駆動信号の供給時間間隔以上に長い周期で、論理和演算部92が送出した論理和信号を読み取るとともに、読み取った論理和信号のレベル値を、時系列データ保持部94がデータ更新のための準備処理を完了するまで保持するものである。
時系列データ保持部94は、所定数のビット(例えば、16ビット)からなるデータを保持することが可能とされるともに、記憶しているデータを上位側へ1ビットずつシフトして最下位のビットを空にする準備処理を行った後、空になった最下位のビットに、検知結果信号保持部93に保持されている最新の検知結果信号を格納していくものとなっている。
The detection result signal holding unit 93 reads the logical sum signal sent from the logical sum operation unit 92 at a cycle longer than the supply time interval of the drive signal supplied to the stepping motor 58, and the level value of the read logical sum signal Until the time series data holding unit 94 completes the preparation process for data update.
The time-series data holding unit 94 is capable of holding data consisting of a predetermined number of bits (for example, 16 bits), and shifts the stored data bit by bit to the upper side so that the lowest order is obtained. After the preparation process for emptying the bit, the latest detection result signal held in the detection result signal holding unit 93 is stored in the lowest-order bit that is empty.

これにより、時系列データ保持部94の内部には、フォトインタラプタ63, 64の検知結果信号の論理和が時系列順に配列されて、下位のビットほど新しい検知結果信号の値となった時系列データが形成され、且つ、この時系列データが記憶されることとなる。換言すれば、時系列データ保持部94は、フォトインタラプタ63, 64の検知結果信号の論理和からなる時系列データを記憶する検知結果記憶手段となっている。
時系列データ論理積演算部95は、時系列データ保持部94が保持している時系列データからチャタリングによる影響を取り除くために、当該時系列データ及び調整用の乗数値の互いに対応するビット同士を掛け合わせて論理積を算出するものである。
As a result, the logical sum of the detection result signals of the photointerrupters 63 and 64 is arranged in time series in the time series data holding unit 94, and the time series data in which the lower bits become the new detection result signal value. And the time-series data is stored. In other words, the time-series data holding unit 94 is a detection result storage unit that stores time-series data composed of the logical sum of the detection result signals of the photo interrupters 63 and 64.
The time-series data AND operation unit 95 removes the influence of chattering from the time-series data held by the time-series data holding unit 94, and sets the corresponding bits of the time-series data and the multiplier value for adjustment to each other. Multiplication is performed to calculate a logical product.

ここで、調整用の乗数値は、時系列データと同じビット長を有するとともに、開放位置及び閉鎖位置のいずれかにシャッター54が到達したことを判定する際に、検査対象となる時系列データの下位部分の直前に配置された中間部分に相当するビットが「0」に設定されるとともに、残りのビットがすべて「1」に設定されたパターンの数値列である。
例えば、時系列データが16ビットの数値列を形成するとともに、時系列データの下6桁がシャッター54の到達判定時における検査対象となる場合、調整用の乗数値としては、「1111−1100−0011−1111」が採用できる。
このような調整用の乗数値を採用した時系列データ論理積演算部95は、調整用の乗数値及び時系列データの互いに対応するビット同士を掛け合わせることにより、時系列データの検査対象となる下1桁目から下6桁目までの数値を維持したまま、その直前位置に配置された下7桁目から下10桁目までの数値をすべて「0」にし、これにより、検査直前にチャタリングによるノイズが発生していても、そのノイズの影響を除去することができるようになっている。
Here, the multiplier value for adjustment has the same bit length as the time series data, and when determining that the shutter 54 has reached either the open position or the closed position, the time series data to be inspected This is a numeric string of patterns in which the bits corresponding to the middle part arranged immediately before the lower part are set to “0” and all the remaining bits are set to “1”.
For example, when the time-series data forms a 16-bit numeric string and the last 6 digits of the time-series data are the inspection target at the time of arrival determination of the shutter 54, the multiplier value for adjustment is “1111-1100− "0011-1111" can be adopted.
The time-series data logical product operation unit 95 adopting such a multiplier value for adjustment becomes an inspection target of the time-series data by multiplying the corresponding multiplier values of the adjustment and the bits of the time-series data. While maintaining the numerical values from the first digit to the lower six digits, all the numerical values from the lower seventh digit to the lower tenth digit placed at the position immediately before that are set to “0”, thereby chattering immediately before the inspection. Even if noise is generated due to the noise, the influence of the noise can be removed.

参照値保持部96は、開放位置及び閉鎖位置のいずれかにシャッター54が到達したことを判定する際に参照されるとともに、当該判定の基準値となる参照値の保持及び記憶を行うものである。ここで、参照値は、時系列データと同じビット長を有するとともに、開放位置及び閉鎖位置のいずれかにシャッター54が到達した際に時系列データが呈するのと同じパターンの数値列である。具体的には、参照値は、検査対象となる時系列データの下位部分に相当するビットが「1」に設定されるとともに、残りのビットがすべて「0」に設定されたパターンの数値列である。
例えば、時系列データが16ビットの数値列を形成するとともに、時系列データの下6桁がシャッター54の到達判定時における検査対象となる場合、参照値としては、「0000−0000−0011−1111」が採用できる。
The reference value holding unit 96 is referred to when determining that the shutter 54 has reached either the open position or the closed position, and holds and stores a reference value serving as a reference value for the determination. . Here, the reference value is a numerical string having the same bit length as that of the time series data and having the same pattern as that of the time series data when the shutter 54 reaches either the open position or the closed position. Specifically, the reference value is a numerical string having a pattern in which the bits corresponding to the lower part of the time-series data to be inspected are set to “1” and all the remaining bits are set to “0”. is there.
For example, when the time series data forms a 16-bit numeric string and the last 6 digits of the time series data are to be inspected when the shutter 54 arrives, the reference value is “0000-0000-0011-1111”. Can be adopted.

時系列データ論理積比較部97は、シャッター54が開放位置及び閉鎖位置のいずれかに到達したと判定する到達判定手段である。
すなわち、時系列データ論理積比較部97は、時系列データ論理積演算部95の論理積及び参照値保持部96の参照値を相互に比較し、論理積と参照値とが一致するか否かに基づいてシャッター54の到着の判定を行うものである。そして、時系列データ論理積比較部97は、論理積と参照値とが一致する場合に、開放位置及び閉鎖位置のいずれかにシャッター54が到達したと判定し、電動機停止制御部98へシャッター到達信号を送出するようになっている。
The time-series data logical product comparison unit 97 is an arrival determination unit that determines that the shutter 54 has reached either the open position or the closed position.
That is, the time-series data logical product comparison unit 97 compares the logical product of the time-series data logical product operation unit 95 and the reference value of the reference value holding unit 96, and determines whether the logical product and the reference value match. Based on the above, the arrival of the shutter 54 is determined. Then, when the logical product and the reference value match, the time-series data logical product comparison unit 97 determines that the shutter 54 has reached either the open position or the closed position, and reaches the motor stop control unit 98. A signal is sent out.

電動機停止制御部98は、時系列データ論理積比較部97からのシャッター到達信号を受信(取得)すると、ステッピングモータ58へ停止信号を送出するものとなっている。
エラー検知部99は、時系列データ保持部94が保持している時系列データの全ビットが同一の値であるか否かに基づいて、ステッピングモータ58の動作において動作エラーが発生したことの検知及び判定を行うエラー判定手段である。
換言すると、エラー検知部99は、時系列データ保持部94の時系列データのビットの値がすべて「0」及び「1」のいずれかである場合に、ステッピングモータ58の動作において動作エラーが発生したと判定するものである。そして、エラー検知部99は、ステッピングモータ58の動作エラー発生を検知すると、図示しないエラー発生警報装置等にエラー発生信号を送出して、その旨を報知するようになっている。
[シャッター制御手段90の動作]
次いで、本実施形態に係るシャッター制御手段90の制御動作について、図9のフローチャートを参照しながら説明する。
When the motor stop control unit 98 receives (acquires) the shutter arrival signal from the time-series data logical product comparison unit 97, the motor stop control unit 98 sends a stop signal to the stepping motor 58.
The error detection unit 99 detects that an operation error has occurred in the operation of the stepping motor 58 based on whether or not all bits of the time series data held by the time series data holding unit 94 have the same value. And error determination means for performing determination.
In other words, the error detection unit 99 generates an operation error in the operation of the stepping motor 58 when the bit values of the time-series data in the time-series data holding unit 94 are all “0” and “1”. It is determined that it was done. When the error detection unit 99 detects the occurrence of an operation error of the stepping motor 58, the error detection unit 99 sends an error occurrence signal to an error occurrence alarm device or the like (not shown) to notify the fact.
[Operation of shutter control means 90]
Next, the control operation of the shutter control unit 90 according to the present embodiment will be described with reference to the flowchart of FIG.

本実施形態に係るシャッター制御手段90が行う制御処理は、前記第2実施形態に係るシャッター制御手段80A と同様に、スロットマシン10の基本的な遊技動作制御処理とともに並列処理されるものであり、具体的には、スロットマシン10の遊技中に、ステッピングモータ58に駆動信号を送出する周期と同一の周期で何度も繰り返して実行されるようになっている。
すなわち、シャッター制御手段90の制御処理が開始されると、図9に示すように、ステップS5000において、ステッピングモータ58の駆動状態を示すモータ駆動状態フラグFが「1」であるか否かが判断される。ステップS1000で、モータ駆動状態フラグFが「1」でないと判断されると、ステップS6000へ進む一方、モータ駆動状態フラグFが「1」であると判断されると、ステップS7000へ進む。
The control process performed by the shutter control means 90 according to the present embodiment is performed in parallel with the basic game operation control process of the slot machine 10, as with the shutter control means 80A according to the second embodiment. Specifically, during the game of the slot machine 10, it is repeatedly executed at the same cycle as the cycle of sending the drive signal to the stepping motor 58.
That is, when the control process of the shutter control means 90 is started, as shown in FIG. 9, it is determined in step S5000 whether or not the motor drive state flag F indicating the drive state of the stepping motor 58 is “1”. Is done. If it is determined in step S1000 that the motor drive state flag F is not "1", the process proceeds to step S6000. If it is determined that the motor drive state flag F is "1", the process proceeds to step S7000.

ステップS6000では、遊技制御手段73からの起動指令、すなわち、開指令信号及び閉指令信号のいずれかが送出されたか否かが判断される。このステップS6000で、起動指令が送出されていないと判断された場合には、シャッター制御手段90の制御処理が一旦終了となるので、メインの制御ループへ戻る。一方、ステップS6000で、起動指令が送出されたと判断された場合には、次のステップS6100へ進む。
ステップS6100では、時系列データDの初期値を時系列データ保持部94に保持させる。ここで、時系列データDの初期値としては、エラー検知部99によってエラー発生と見なされないものであれば、適宜な形態のパターンに設定された数値列が採用でき、例えば、時系列データが16ビットの数値列を形成する場合、「1111−1111−1111−1110」が採用できる。このステップS6100で時系列データDの初期値保持処理が完了したら、次のステップS6110へ進む。
In step S6000, it is determined whether or not an activation command from the game control means 73, that is, either an open command signal or a close command signal has been sent. If it is determined in step S6000 that the start command has not been sent, the control process of the shutter control means 90 is temporarily terminated, and the process returns to the main control loop. On the other hand, if it is determined in step S6000 that an activation command has been sent, the process proceeds to the next step S6100.
In step S6100, the initial value of the time series data D is held in the time series data holding unit 94. Here, as an initial value of the time-series data D, a numerical string set in an appropriate pattern can be adopted as long as the error detection unit 99 does not regard the occurrence of an error as an example. When forming a 16-bit numeric string, “1111-1111-1111-1110” can be adopted. When the initial value holding process of the time series data D is completed in step S6100, the process proceeds to next step S6110.

ステップS6110では、時系列データ論理積演算部95に調整用の乗数値Cを保持させるとともに、時系列データ論理積比較部97が比較及び参照に用いる参照値Gを参照値保持部96に保持させる。このステップS6110で乗数値C及び参照値Gの保持処理が完了したら、次のステップS6200へ進む。
ステップS6200では、検知結果信号保持部93がフォトインタラプタ63, 64からの検知結果信号を読み取るタイミングを間接的に決定するタイマ変数Tの初期値を設定する初期値設定処理、例えば、タイマ変数Tの値を「9」に設定する初期値設定処理が行われる。このタイマ変数Tの初期値設定処理が完了したら、次のステップS6300へ進む。
In step S6110, the time series data logical product operation unit 95 holds the multiplier value C for adjustment, and the time series data logical product comparison unit 97 holds the reference value G used for comparison and reference in the reference value holding unit 96. . When the holding processing of the multiplier value C and the reference value G is completed in step S6110, the process proceeds to the next step S6200.
In step S6200, the detection result signal holding unit 93 sets an initial value of the timer variable T for indirectly determining the timing for reading the detection result signal from the photo interrupters 63 and 64, for example, the timer variable T An initial value setting process for setting the value to “9” is performed. When the initial value setting process for the timer variable T is completed, the process proceeds to the next step S6300.

ステップS6300では、ステッピングモータ58を駆動する駆動信号(パルス信号)を送出させる処理、例えば、ステッピングモータ58を正回転駆動又は逆回転駆動する駆動信号を送出する処理が行われる。このような駆動信号を送出する処理が完了したら、次のステップS6400へ進む。
ステップS6400では、ステッピングモータ58の駆動状態を示すモータ駆動状態フラグFを成立させる処理、換言すると、モータ駆動状態フラグFの値を「1」に設定する処理が行われる。このモータ駆動状態フラグFを成立させる処理が完了したら、シャッター制御手段90の制御処理が一旦終了となるので、メインの制御ループへ戻る。
In step S6300, a process for sending a drive signal (pulse signal) for driving the stepping motor 58, for example, a process for sending a drive signal for driving the stepping motor 58 to rotate forward or reversely is performed. When the process of sending such a drive signal is completed, the process proceeds to the next step S6400.
In step S6400, a process of establishing a motor drive state flag F indicating the drive state of the stepping motor 58, in other words, a process of setting the value of the motor drive state flag F to “1” is performed. When the process for establishing the motor drive state flag F is completed, the control process of the shutter control means 90 is temporarily terminated, and the process returns to the main control loop.

一方、前述のステップS5000において、モータ駆動状態フラグFが「1」であると判断されたために、ステップS7000へ進んだ場合、このステップS7000では、ステップS6300と同様に、ステッピングモータ58を駆動する駆動信号(パルス信号)を送出させる処理が行われる。そして、この駆動信号を送出させる処理が完了したら、次のステップS7100に進む。
ステップS7100では、タイマ変数Tの値が「0」よりも大きいか否かが判断される。
このステップS7100で、タイマ変数Tの値が「0」よりも大きいと判断された場合には、ステップS7200へ進み、ステップS7200でタイマ変数Tの値から1を減算する処理が行われる。このステップS7200における減算処理が完了したら、シャッター制御手段90の制御処理が一旦終了となるので、メインの制御ループへ戻る。
On the other hand, if it is determined in step S5000 that the motor drive state flag F is “1” and the process proceeds to step S7000, the drive for driving the stepping motor 58 is performed in step S7000, as in step S6300. Processing for sending a signal (pulse signal) is performed. Then, when the process of sending out the drive signal is completed, the process proceeds to the next step S7100.
In step S7100, it is determined whether or not the value of timer variable T is greater than “0”.
If it is determined in step S7100 that the value of the timer variable T is greater than “0”, the process proceeds to step S7200, and a process of subtracting 1 from the value of the timer variable T is performed in step S7200. When the subtraction process in step S7200 is completed, the control process of the shutter control means 90 is temporarily ended, and the process returns to the main control loop.

反対にステップS7100で、タイマ変数Tの値が「0」よりも大きくないと判断された場合には、ステップS7300へ進む。
ステップS7300では、フォトインタラプタ63の検知結果信号S1の値と、フォトインタラプタ64の検知結果信号S2の値との論理和Bを論理和演算部92に算出させ、算出された論理和Bの値を保持する検知結果信号保持部93に保持させる論理和演算処理が行われ、この論理和演算処理が完了したら、次のステップS7310へ進む。
ステップS7310では、時系列データDの更新処理が行われる。具体的には、ステップS7310においては、時系列データ保持部94に記憶されている時系列データDを上位側へ1ビットずつシフトして最下位のビットを空にした後、空になった最下位のビットに、検知結果信号保持部93に保持されている最新の論理和Bを格納することにより、時系列データDの内容を更新する更新処理が行われる。このような更新処理が完了したら、次のステップS7320へ進む。
Conversely, if it is determined in step S7100 that the value of the timer variable T is not greater than “0”, the process proceeds to step S7300.
In step S7300, the logical sum B is calculated by calculating the logical sum B of the value of the detection result signal S1 of the photo interrupter 63 and the value of the detection result signal S2 of the photo interrupter 64, and the calculated value of the logical sum B is calculated. A logical sum operation process to be held in the held detection result signal holding unit 93 is performed, and when this logical sum operation process is completed, the process proceeds to the next step S7310.
In step S7310, time series data D is updated. Specifically, in step S7310, the time series data D stored in the time series data holding unit 94 is shifted one bit at a time to make the least significant bit empty, and then the most empty data becomes empty. An update process for updating the contents of the time-series data D is performed by storing the latest logical sum B held in the detection result signal holding unit 93 in the lower bits. When such update processing is completed, the process proceeds to next Step S7320.

ステップS7320では、時系列データ保持部94に記憶されている時系列データDを構成するビットの値がすべて「0」及び「1」のいずれかであるか否かが判断される。
このステップS7320で、時系列データDのビットがすべて同じ、すなわち、「0」及び「1」のいずれか一方であると判断された場合には、ステップS7500へ進む。
反対に、ステップS7320において、時系列データDのビットがすべて同じではない、換言すると、時系列データDが「0」及び「1」の両方を含んでいると判断された場合には、ステップS7400へ進む。
ステップS7400では、調整用の乗数値C及び時系列データDの互いに対応するビット同士を掛け合わせる論理演算を時系列データ論理積演算部95に行わせることにより、その演算結果である論理積Eを算出する論理積演算処理が行われ、この論理積演算処理が完了したら、次のステップS7410へ進む。
In step S7320, it is determined whether or not the values of the bits constituting the time series data D stored in the time series data holding unit 94 are all “0” and “1”.
If it is determined in step S7320 that all the bits of the time-series data D are the same, that is, one of “0” and “1”, the process proceeds to step S7500.
On the other hand, if it is determined in step S7320 that the bits of the time series data D are not all the same, in other words, the time series data D includes both “0” and “1”, step S7400 Proceed to
In step S7400, the time series data logical product operation unit 95 is caused to perform a logical operation of multiplying mutually corresponding bits of the multiplier value C for adjustment and the time series data D, so that the logical product E as the operation result is obtained. The calculated logical product operation process is performed, and when this logical product operation process is completed, the process advances to step S7410.

ステップS7410では、ステップS7400で算出した論理積Eと、参照値保持部96が保持している参照値Gとを相互に比較する比較処理が行われる。この比較処理が完了したら、次のステップS7420へ進む。
ステップS7420では、ステップS7410の比較結果に基づき論理積Eと参照値Gとが一致しているか否かが判断される。
このステップS7420で、論理積Eと参照値Gとが一致していないと判断された場合には、次のステップS7430及びステップS7440をスキップして、ステップS7450へ進む。
一方、ステップS7420で、論理積Eと参照値Gとが一致していると判断された場合には、次のステップS7430へ進む。
In step S7410, a comparison process is performed in which the logical product E calculated in step S7400 and the reference value G held by the reference value holding unit 96 are compared with each other. When this comparison process is completed, the process proceeds to next Step S7420.
In step S7420, it is determined whether or not the logical product E and the reference value G match based on the comparison result in step S7410.
If it is determined in step S7420 that the logical product E and the reference value G do not coincide with each other, the next step S7430 and step S7440 are skipped, and the process proceeds to step S7450.
On the other hand, if it is determined in step S7420 that the logical product E and the reference value G match, the process proceeds to the next step S7430.

ステップS7430では、ステッピングモータ58を停止する停止処理を行う。この停止処理が完了したら、ステップS7440へ進み、このステップS7440において、ステッピングモータ58の駆動状態を示すモータ駆動状態フラグFをリセットするリセット処理、具体的には、モータ駆動状態フラグFの値を「0」に設定するリセット処理を行い、このようなリセット処理が完了したら、その次のステップS7450へ進む。
ステップS7450では、タイマ変数Tを初期値に戻す初期化処理、例えば、タイマ変数Tの値を初期値である「10」に設定する初期化処理が行われる。このステップS7450における初期化処理が完了したら、シャッター制御手段90の制御処理が終了となるので、メインの制御ループへ戻る。
In step S7430, a stop process for stopping the stepping motor 58 is performed. When this stop process is completed, the process proceeds to step S7440. In step S7440, the reset process for resetting the motor drive state flag F indicating the drive state of the stepping motor 58, specifically, the value of the motor drive state flag F is set to “ The reset process is set to “0”, and when such a reset process is completed, the process proceeds to the next step S7450.
In step S7450, initialization processing for returning the timer variable T to the initial value, for example, initialization processing for setting the value of the timer variable T to “10”, which is the initial value, is performed. When the initialization process in step S7450 is completed, the control process of the shutter control means 90 ends, and the process returns to the main control loop.

ところで、前述したステップS7320において、時系列データ保持部94に記憶されている時系列データDを構成するビットの値がすべて「0」及び「1」のいずれかであると判断されたために、ステップS7500へ進んだ場合、ステッピングモータ58等にエラーが発生したと判断されるので、ステップS7500において、エラーの発生に対処するために、エラー発生時の処理が実行され、このエラー発生時の処理が完了したら、次のステップS7510に進む。
ステップS7510では、ステッピングモータ58を停止する停止処理を行う。この停止処理が完了したら、ステップS7520へ進み、このステップS7520において、ステッピングモータ58の駆動状態を示すモータ駆動状態フラグFをリセットするリセット処理、具体的には、モータ駆動状態フラグFの値を「0」に設定するリセット処理を行い、このようなリセット処理が完了したら、シャッター制御手段90の制御処理がエラー終了する。そして、シャッター制御手段90の制御処理がエラー終了すると、その後に、メインの制御ループへ戻り、メインの制御ループにおいて、スロットマシン10の遊技を中断する等のエラーに対応する処理が行われるようになっている。
By the way, since it is determined in step S7320 described above that the values of the bits constituting the time series data D stored in the time series data holding unit 94 are all “0” and “1”, If the process proceeds to S7500, it is determined that an error has occurred in the stepping motor 58 or the like. Therefore, in step S7500, in order to deal with the occurrence of the error, processing at the time of occurrence of the error is executed. When completed, the process proceeds to next Step S7510.
In step S7510, stop processing for stopping the stepping motor 58 is performed. When this stop processing is completed, the process proceeds to step S7520. In step S7520, reset processing for resetting the motor drive state flag F indicating the drive state of the stepping motor 58, specifically, the value of the motor drive state flag F is set to “ A reset process set to “0” is performed, and when such a reset process is completed, the control process of the shutter control means 90 ends in error. Then, when the control process of the shutter control unit 90 ends in error, the process returns to the main control loop, and the process corresponding to the error such as interruption of the game of the slot machine 10 is performed in the main control loop. It has become.

前述のような本第3実施形態によれば、前記第2実施形態と同様の効果を達成できる他、次のような効果を付加できる。
すなわち、時系列データ保持部94に記憶されている検知結果信号の時系列データに基づいて、ステッピングモータ58について異常があるか否かを判断するエラー判断手段としてエラー検知部99を設けたので、ステッピングモータ58に異常が発生し、シャッター54の移動開始時に、ステッピングモータ58への駆動信号の送出が開始されているにもかかわらず、シャッター54が移動を開始しない場合には、時系列データに含まれる検知結果信号が所定回以上続けて検知レベルとなるので、エラー検知部99によって、ステッピングモータ58の異常を確実に検出することができる。これにより、ステッピングモータ58の異常を確実に管理者に報知することもでき、ひいては、異常発生から修理完了までの時間を短縮することも図れるようになる。
According to the third embodiment as described above, the same effects as the second embodiment can be achieved, and the following effects can be added.
That is, since the error detection unit 99 is provided as error determination means for determining whether there is an abnormality in the stepping motor 58 based on the time series data of the detection result signal stored in the time series data holding unit 94, If an error occurs in the stepping motor 58 and the shutter 54 does not start moving when the shutter 54 starts to move but the shutter 54 does not start moving, the time series data is displayed. Since the included detection result signal continues at a predetermined level or more to reach the detection level, the error detection unit 99 can reliably detect an abnormality in the stepping motor 58. As a result, an abnormality of the stepping motor 58 can be surely notified to the administrator, and as a result, the time from the occurrence of the abnormality to the completion of the repair can be shortened.

また、故障等の不具合が発生していない限り、フォトインタラプタ63及びフォトインタラプタ64の両方が、同時に、検知レベル及び非検知レベルの一方から他方へ移行することがないので、ステッピングモータ58を駆動させるための駆動指令が示す移動方向、換言すれば、シャッター54を二位置のどちらに到達させるべきかを参照すれば、論理和演算部92の出力信号のみを監視することにより、二位置のいずれかにシャッター54が到達したことを判定することができる。そして、この際、フォトインタラプタ63及びフォトインタラプタ64の一方を状況に応じて選択する処理も不要となる。
従って、フォトインタラプタ63及びフォトインタラプタ64からの二つの検知結果信号を別個且つ同時に監視する場合よりも、シャッター54の移動制御を行う遊技制御装置43の負荷が減るので、遊技制御装置43で、遊技動作を制御しながら、シャッター54の動作を制御する処理を容易にすることができる。
In addition, both the photo interrupter 63 and the photo interrupter 64 do not shift from one of the detection level and the non-detection level to the other at the same time as long as no trouble such as a failure occurs, so that the stepping motor 58 is driven. By referring only to the movement direction indicated by the drive command for the movement, in other words, to which of the two positions the shutter 54 should be reached, by monitoring only the output signal of the logical sum operation unit 92, either of the two positions is monitored. It can be determined that the shutter 54 has reached. At this time, the process of selecting one of the photo interrupter 63 and the photo interrupter 64 according to the situation becomes unnecessary.
Therefore, since the load of the game control device 43 for controlling the movement of the shutter 54 is reduced as compared with the case where the two detection result signals from the photo interrupter 63 and the photo interrupter 64 are separately and simultaneously monitored, The process of controlling the operation of the shutter 54 can be facilitated while controlling the operation.

さらに、故障等の不具合の発生が原因で、フォトインタラプタ63及びフォトインタラプタ64の両方、あるいは、そのいずれかの検知結果信号が、検知レベル及び非検知レベルの一方に膠着状態となった場合に、論理和演算部92からの出力信号も、ある時点から、検知レベル及び非検知レベルの一方に膠着状態となる。ここで、論理和演算部92の出力信号が変化しなくなったことをエラー検知部99で検知するようにしたので、このエラー検知部99により、フォトインタラプタ63及びフォトインタラプタ64の異常を検出することもできる。
また、ステッピングモータ58の動作エラー発生を検知するエラー検知部99として、時系列データ保持部94の時系列データのビットの値がすべて「0」及び「1」のいずれかである場合に、ステッピングモータ58の動作エラーが発生したと判定するものを採用したので、時系列データを検査する際に、そのビットの値がすべて同じ値であることを検知できればよいこととなり、簡単な構成でエラー検知部99を形成することができる。
Furthermore, due to the occurrence of a malfunction such as a failure, both the photo interrupter 63 and the photo interrupter 64, or when one of the detection result signals is stuck to one of the detection level and the non-detection level, The output signal from the OR operation unit 92 is also stuck to one of the detection level and the non-detection level from a certain point in time. Here, since the error detection unit 99 detects that the output signal of the logical sum operation unit 92 is not changed, the error detection unit 99 detects an abnormality in the photo interrupter 63 and the photo interrupter 64. You can also.
In addition, as the error detection unit 99 that detects the occurrence of an operation error of the stepping motor 58, when the bit values of the time series data in the time series data holding unit 94 are all “0” and “1”, the stepping is performed. Since it is determined that an operation error has occurred in the motor 58, it is only necessary to detect that all bit values are the same when examining time-series data. Part 99 can be formed.

そのうえ、シャッター54が開放位置及び閉鎖位置のいずれかに膠着状態となっている場合には、時系列データ保持部94の時系列データに含まれる値がすべて「1」となり、シャッター54が開放位置と閉鎖位置との間の途中位置で膠着状態となっている場合には、時系列データ保持部94の時系列データに含まれる値がすべて「0」となることから、ステッピングモータ58の動作エラー発生を検出するにあたり、時系列データのビットの値がすべて同じ値であることを検知すればよいので、簡単な構成のエラー検知部99でも、ステッピングモータ58の動作エラー発生を確実に検知することができる。
なお、本発明は、前記実施形態に限定されるものではなく、本発明の目的を達成できる範囲における変形及び改良などをも含むものである。
In addition, when the shutter 54 is stuck in either the open position or the closed position, the values included in the time series data in the time series data holding unit 94 are all “1”, and the shutter 54 is in the open position. Since the values included in the time-series data in the time-series data holding unit 94 are all “0” in the middle of the position between the closed position and the closed position, an operation error of the stepping motor 58 In detecting occurrence, it is only necessary to detect that the bit values of the time-series data are all the same value, so even the error detection unit 99 with a simple configuration must reliably detect the operation error of the stepping motor 58. Can do.
In addition, this invention is not limited to the said embodiment, The deformation | transformation in the range which can achieve the objective of this invention, improvement, etc. are included.

例えば、前記実施形態では、基体である前扉側に、フォトインタラプタの本体である検知部を設け、移動体であるシャッター側にフォトインタラプタに検知される被検知部としてのタブを設けたが、逆に、基体である前扉側に、フォトインタラプタに検知される被検知部を設け、移動体であるシャッター側に、フォトインタラプタの本体である検知部を設けてもよく、移動体検知手段の設置位置は、実施にあたり適宜設定できる。
また、移動体検知手段(シャッター検知手段)としては、フォトインタラプタに限らず、磁気式の近接センサや静電容量式の近接センサ等、他の検知方式を利用したものでもよい。
For example, in the above-described embodiment, the detection unit that is the main body of the photo interrupter is provided on the front door side that is the base body, and the tab that is detected by the photo interrupter is provided on the shutter side that is the moving body. On the contrary, the detection part which is detected by the photo interrupter may be provided on the front door side which is the base, and the detection part which is the main body of the photo interrupter may be provided on the shutter side which is the moving body. The installation position can be appropriately set for implementation.
Further, the moving body detection means (shutter detection means) is not limited to a photo interrupter, and may use other detection methods such as a magnetic proximity sensor and a capacitance proximity sensor.

さらに、前記第1実施形態では、駆動信号送出用分周部101 と、記憶契機信号発生用分周部103 とに対して、それぞれ別々に分周比が設定されるタイミング制御部100 を採用していたが、タイミング制御部としては、これに限らず、図10に示すように、駆動信号送出用分周部101 について分周比の設定がなされると、これに連動して、記憶契機信号発生用分周部103 についても分周比の設定が自動的なされるタイミング制御部100Aを採用してもよい。
具体的には、図10の如く、タイミング制御部100Aは、タイミング制御部100 から分周比(1/m)設定記憶部104 が取り除かれ、その代わりに、分周比乗算(1/A)設定部105 及び定数(A)設定部106 とが設けられたものである。
Further, in the first embodiment, the timing control unit 100 in which the frequency division ratio is set separately for the drive signal transmission frequency division unit 101 and the storage trigger signal generation frequency division unit 103 is adopted. However, the timing control unit is not limited to this, and as shown in FIG. 10, when the frequency division ratio is set for the drive signal transmission frequency dividing unit 101, the storage trigger signal is linked to this. The generation frequency dividing unit 103 may also employ a timing control unit 100A that automatically sets the frequency division ratio.
Specifically, as shown in FIG. 10, in the timing control unit 100A, the division ratio (1 / m) setting storage unit 104 is removed from the timing control unit 100, and instead, the division ratio multiplication (1 / A) is performed. A setting unit 105 and a constant (A) setting unit 106 are provided.

分周比乗算(1/A)設定部105 は、分周比(1/n)設定記憶部102 から分周比(1/n)を受信(取得)し、受信した分周比(1/n)に定数(A)の逆数(1/A)を掛け合わせて分周比(1/m)を算出し、算出した分周比(1/m)を記憶契機信号発生用分周部103 へ送出するものである。記憶契機信号発生用分周部103 は、分周比乗算(1/A)設定部105 から受信(取得)した分周比でクロック信号を分周するようになっている。
定数(A)設定部106 は、分周比乗算(1/A)設定部105 に設定すべき定数(A)の設定するものである。分周比乗算(1/A)設定部105 は、定数(A)設定部106 から定数(A)を受信(取得)し、この定数(A)で乗算を行うようになっている。
The frequency division ratio multiplication (1 / A) setting unit 105 receives (acquires) the frequency division ratio (1 / n) from the frequency division ratio (1 / n) setting storage unit 102, and receives the frequency division ratio (1 / n). n) is multiplied by the reciprocal (1 / A) of the constant (A) to calculate the frequency division ratio (1 / m), and the calculated frequency division ratio (1 / m) is stored in the memory trigger signal generation frequency divider 103. To send to. The memory trigger signal generating frequency dividing unit 103 divides the clock signal by the frequency dividing ratio received (acquired) from the frequency dividing ratio multiplying (1 / A) setting unit 105.
The constant (A) setting unit 106 sets a constant (A) to be set in the frequency division ratio multiplication (1 / A) setting unit 105. The division ratio multiplication (1 / A) setting unit 105 receives (acquires) the constant (A) from the constant (A) setting unit 106, and performs multiplication with the constant (A).

以上により、分周比(1/n)設定記憶部102 によって駆動信号送出用分周部101対して分周比(1/n)が設定されると、分周比(1/n)設定記憶部102 から分周比(1/n)が分周比乗算(1/A)設定部105 へも送出され、分周比乗算(1/A)設定部105 によって、記憶契機信号発生用分周部103 に対しても分周比(1/m)が自動的に設定されるようになる。
また、前記実施形態では、スロットマシンのシャッターの回動制御に本発明を適用したが、パチンコ機等の弾球遊技機において、ステッピングモータで駆動される電動役物の動作を制御する場合、あるいは、家電製品において所定の二位置間を自動的に移動させられる部位を有するもの、例えば、CDプレーヤ装置において、スライド可能に設けられたディスクトレーをステッピングモータで駆動する際に、その動作を制御する場合に本発明を適用することができ、要するに、本発明は、所定の二位置の間を移動可能に設けられた移動体をステッピングモータで駆動する装置全般に適用することができる。
As described above, when the frequency division ratio (1 / n) is set for the drive signal transmission frequency dividing section 101 by the frequency division ratio (1 / n) setting storage section 102, the frequency division ratio (1 / n) setting memory is stored. The frequency division ratio (1 / n) is also sent from the section 102 to the frequency division ratio multiplication (1 / A) setting section 105, and the frequency division ratio multiplication (1 / A) setting section 105 uses the frequency division for memory trigger signal generation. The frequency division ratio (1 / m) is automatically set for the unit 103 as well.
In the embodiment, the present invention is applied to the rotation control of the shutter of the slot machine. However, in the case of a ball game machine such as a pachinko machine, when controlling the operation of the electric accessory driven by the stepping motor, or A home appliance having a part that can be automatically moved between two predetermined positions, for example, in a CD player device, when a disc tray provided in a slidable manner is driven by a stepping motor, its operation is controlled. The present invention can be applied to a case, and in short, the present invention can be applied to all devices that drive a movable body provided between two predetermined positions by a stepping motor.

本発明の第1実施形態に係るスロットマシンを示す正面図である。FIG. 3 is a front view showing the slot machine according to the first embodiment of the present invention. 図2は、図1のII−II線における拡大断面図である。FIG. 2 is an enlarged cross-sectional view taken along line II-II in FIG. 前記第1実施形態に係る遊技制御装置を示すブロック図である。It is a block diagram which shows the game control apparatus which concerns on the said 1st Embodiment. 前記第1実施形態に係るシャッター制御手段を示すブロック図である。It is a block diagram which shows the shutter control means which concerns on the said 1st Embodiment. 前記第1実施形態に係るタイミング制御部を示すブロック図である。It is a block diagram which shows the timing control part which concerns on the said 1st Embodiment. 本発明の第2実施形態に係るシャッター制御手段を示すブロック図である。It is a block diagram which shows the shutter control means which concerns on 2nd Embodiment of this invention. 前記第2実施形態の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the said 2nd Embodiment. 本発明の第3実施形態に係るシャッター制御手段を示すブロック図である。It is a block diagram which shows the shutter control means which concerns on 3rd Embodiment of this invention. 前記第3実施形態の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the said 3rd Embodiment. 本発明の変形例を示す図5に相当する図である。It is a figure equivalent to FIG. 5 which shows the modification of this invention.

符号の説明Explanation of symbols

10 スロットマシン
20 筐体
30 基体としての前扉
43 移動体制御装置(シャッター制御装置)としての遊技制御装置
51 開口
54 移動体としてのシャッター
58 ステッピングモータ
63, 64 移動体検知手段(シャッター検知手段)としてのフォトインタラプタ
83, 93 検知結果記憶手段を構成する検知結果信号保持部
84, 94 検知結果記憶手段を構成する時系列データ保持部
85 到達判定手段としての時系列データ判定部
92 論理和演算手段としての論理和演算部
97 到達判定手段としての時系列データ論理積比較部
99 エラー判断手段としてのエラー検知部
10 slot machine
20 enclosure
30 Front door as base
43 Game control device as a mobile control device (shutter control device)
51 opening
54 Shutter as a moving object
58 Stepping motor
63, 64 Photo interrupter as moving body detection means (shutter detection means)
83, 93 Detection result signal holding unit constituting detection result storage means
84, 94 Time-series data holding unit constituting detection result storage means
85 Time-series data judgment unit as arrival judgment means
92 OR operation part as OR operation means
97 Time Series Data Logical Product Comparison Unit as Arrival Judgment Means
99 Error detection unit as error judgment means

Claims (8)

基体に設定された所定の二位置の間を移動可能に設けられた移動体をステッピングモータで駆動するにあたり、前記ステッピングモータへ駆動信号を送出するとともに、所定の二位置のいずれかに前記移動体が達すると、前記ステッピングモータの動作を停止させる移動体制御装置であって、
制御に必要な各種の信号を入力するための信号入力部と、
前記ステッピングモータの動作を制御するための制御信号を出力する制御信号出力部と、
前記信号入力部に入力された信号に基づいて前記制御信号出力部から出力する制御信号を生成する処理を行う制御手段と、
前記移動体の制御を行うための移動体制御手段と、を備え、
前記移動体制御手段は、
前記制御手段からの指令信号に基づいて前記ステッピングモータに対して駆動信号を送出する電動機駆動制御部と、
前記移動体が前記所定の二位置のいずれかに近接すると、出力すべき検知結果信号の状態が非検知レベルから検知レベルへ移行し、反対に前記移動体が前記所定の二位置のいずれかから離れると、検知結果信号の状態が検知レベルから非検知レベルへ移行する移動体検知手段と、
記ステッピングモータへ送出される駆動信号の送出時間間隔に基づき、かつこの送出時間間隔以上の間隔で、前記移動体検知手段が出力している検知結果信号を記憶するタイミングを制御するための記憶契機信号を出力する手段と、を備えるとともに、
前記記憶契機信号を出力する手段が前記記憶契機信号を出力すると、前記移動体検知手段が出力している検知結果信号を時系列順に記憶していく検知結果記憶手段と、
この検知結果記憶手段が記憶している検知結果信号を取得していき、当該検知結果信号が連続して所定回数以上続けて検知レベルとなっている場合に、前記移動体が前記二位置のいずれかに到達したと判定する到達判定手段と
前記到達判定手段が前記移動体が前記二位置のいずれかに到達したと判定すると前記ステッピングモータに対して停止信号を出力する電動機停止制御部と、さらに備えていることを特徴とする移動体制御装置。
When driving a movable body provided between two predetermined positions set on the base body by a stepping motor, a driving signal is sent to the stepping motor and the movable body is moved to one of the two predetermined positions. Is reached, the moving body control device that stops the operation of the stepping motor,
A signal input unit for inputting various signals necessary for control;
A control signal output unit for outputting a control signal for controlling the operation of the stepping motor;
Control means for performing a process of generating a control signal output from the control signal output unit based on a signal input to the signal input unit;
Moving body control means for controlling the moving body,
The moving body control means includes
An electric motor drive control unit for sending a drive signal to the stepping motor based on a command signal from the control means;
When the moving body approaches one of the two predetermined positions, the state of the detection result signal to be output shifts from the non-detection level to the detection level, and conversely, the moving body moves from one of the two predetermined positions. Moving object detection means that the state of the detection result signal shifts from the detection level to the non-detection level when leaving,
Based on the transmission time interval of the drive signal sent to the pre-Symbol stepping motor, and at intervals over the transmission time interval, memory for controlling the timing for storing the detection result signal, wherein the moving body detecting means is outputting Means for outputting an opportunity signal,
When the means for outputting the storage trigger signal outputs the storage trigger signal, the detection result storage means for storing the detection result signals output by the moving body detection means in chronological order;
When the detection result signal stored in the detection result storage means is acquired, and the detection result signal is continuously at a detection level for a predetermined number of times or more, the moving body is in any of the two positions. Arrival determination means for determining that the crab has been reached ;
Mobile, characterized in that the arrival determination means further comprises a, a motor stop control unit for outputting a stop signal to the stepping motor and determines that the moving body reaches one of the two positions Control device.
前記記憶契機信号を出力する手段は、前記ステッピングモータへ送出される駆動信号を取得し、取得した駆動信号の取得数をカウントしていき、取得数が所定数になると記憶契機信号を出力するカウント手段であることを特徴とする請求項1記載の移動体制御装置。 The means for outputting the memory trigger signal acquires a drive signal sent to the stepping motor, counts the number of acquired drive signals, and outputs a memory trigger signal when the acquired number reaches a predetermined number mobile control device according to claim 1, wherein the means der Rukoto. 前記記憶契機信号を出力する手段は、前記電動機駆動制御部がステッピングモータに対して駆動信号を送出するタイミングを制御するための送出契機信号及び前記記憶契機信号を発生するタイミング制御部を備えるとともに、
前記タイミング制御部は、同一のクロック信号を予め定められた分周比によりそれぞれ分周することで送出契機信号および記憶契機信号の送出間隔を設定することで、記憶契機信号の送出間隔が送出契機信号の送出間隔以上の間隔に設定されることを特徴とする請求項1記載の移動体制御装置。
The means for outputting the memory trigger signal includes a timing controller for generating a transmission trigger signal for controlling the timing at which the electric motor drive controller transmits a drive signal to the stepping motor and the memory trigger signal, and
The timing control unit sets the transmission interval of the transmission trigger signal and the storage trigger signal by dividing the same clock signal by a predetermined division ratio, respectively, thereby setting the transmission interval of the storage trigger signal as the transmission trigger. signal the mobile control apparatus according to claim 1 Symbol placement is assigned to a distance of more than the transmission interval and said Rukoto of.
記検知結果信号として検知レベル又は非検知レベルのいずれかが連続して所定回数以上続いた場合に、前記ステッピングモータに異常が発生したと判断するエラー判断手段を備えていることを特徴とする請求項1から請求項3までのいずれかに記載の移動体制御装置。 And characterized in that either the detection level or non-detection level as before dangerous intellectual result signal when had continued more than a predetermined number of consecutive, and includes an error determining means for determining an abnormality in the stepper motor is generated The mobile body control device according to any one of claims 1 to 3. 前記エラー判断手段が前記ステッピングモータに異常が発生したと判断する前記所定回数は、前記到達判定手段が前記移動体が前記二位置のいずれかに到達したと判定する前記所定回数を上回ることを特徴とする請求項4記載の移動体制御装置。 Wherein the predetermined number of times to determine that said error determining means is abnormal occurs in the stepping motor, Rukoto exceeded the predetermined number of times is determined that the arrival determination means the moving body reaches one of the two positions mobile control device Motomeko 4 SL placing you characterized. 前記二位置のいずれかに停止していた前記移動体を当該位置から離隔させるために、前記ステッピングモータへの駆動信号の送出が開始された際に、前記検知結果記憶手段が記憶している検知結果信号を取得していき、当該検知結果信号が連続して所定回数以上続けて検知レベルとなっている場合に、前記ステッピングモータに異常が発生したと判断するエラー判断手段を備えていることを特徴とする請求項1から請求項3までのいずれかに記載の移動体制御装置。  A detection result stored in the detection result storage means when sending of the drive signal to the stepping motor is started in order to separate the moving body that has stopped at one of the two positions from the position. It is provided with an error determination means for acquiring a result signal and determining that an abnormality has occurred in the stepping motor when the detection result signal is continuously at a detection level for a predetermined number of times or more. The moving body control device according to any one of claims 1 to 3, wherein 前記移動体制御手段は、前記制御手段からの最初の指令信号に基づいて検知結果記憶手段の記憶データの所定数のビットから成る初期値を設定するとともに、  The moving body control means sets an initial value consisting of a predetermined number of bits of data stored in the detection result storage means based on an initial command signal from the control means,
検知結果信号取得のたびに前記初期値が更新され、前記検知結果記憶手段に記憶される記憶データと、この記憶データと同数のビットから成り、チャタリングによるノイズの影響を除去するための調整用の乗数値との間で、互いに対応するビット同士を掛け合わせて論理積を算出する時系列データ論理積演算部と、  The initial value is updated each time a detection result signal is acquired, and consists of storage data stored in the detection result storage means and the same number of bits as the storage data, and is used for adjustment to remove the influence of noise due to chattering. A time series data AND operation unit that calculates a logical product by multiplying bits corresponding to each other between multiplier values,
前記二位置のいずれかに前記移動体が到達したことを判定する際に参照されるとともに、当該判定の基準値となる、前記記憶データと同数のビットから成る参照値の保持及び記憶を行う参照値保持部と、  A reference for holding and storing a reference value consisting of the same number of bits as the stored data, which is referred to when determining that the mobile body has reached one of the two positions, and which serves as a reference value for the determination A value holding unit;
前記論理積と前記参照値とが一致するか否かに基づいて前記移動体の到着の判定を行う時系列データ論理積比較部と、をさらに備えたことを特徴とする請求項4から請求項6までのいずれかに記載の移動体制御装置。  The time series data logical product comparison part which determines the arrival of the said mobile body based on whether the said logical product and the said reference value correspond is further provided. The moving body control device according to any one of 6 to 6.
前記移動体検知手段として、前記移動体が前記二位置の一方の位置に達したことを検知するための第1移動体検知手段と、前記移動体が前記二位置の他方の位置に達したことを検知するための第2移動検知手段とが設けられ、  As the moving body detecting means, a first moving body detecting means for detecting that the moving body has reached one of the two positions, and the moving body has reached the other position of the two positions. A second movement detecting means for detecting
当該移動体制御装置には、前記第1移動体検知手段の検知結果信号及び前記第2移動体検知手段の検知結果信号の両方を取得するとともに、その論理和を演算して、その演算結果である論理和値を前記検知結果記憶手段へ送出する論理和演算手段が設けられていることを特徴とする請求項1から請求項7までのいずれかに記載の移動体制御装置。  The mobile body control device acquires both the detection result signal of the first mobile body detection means and the detection result signal of the second mobile body detection means, calculates the logical sum thereof, 8. The mobile control apparatus according to claim 1, further comprising: a logical sum operation means for sending a logical sum value to the detection result storage means.
JP2007115096A 2007-04-25 2007-04-25 Mobile control device and slot machine using the same Active JP4809284B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007115096A JP4809284B2 (en) 2007-04-25 2007-04-25 Mobile control device and slot machine using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007115096A JP4809284B2 (en) 2007-04-25 2007-04-25 Mobile control device and slot machine using the same

Publications (2)

Publication Number Publication Date
JP2008264416A JP2008264416A (en) 2008-11-06
JP4809284B2 true JP4809284B2 (en) 2011-11-09

Family

ID=40044749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007115096A Active JP4809284B2 (en) 2007-04-25 2007-04-25 Mobile control device and slot machine using the same

Country Status (1)

Country Link
JP (1) JP4809284B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5488782B2 (en) * 2009-01-30 2014-05-14 株式会社三洋物産 Game machine
JP5800163B2 (en) * 2014-02-28 2015-10-28 株式会社三洋物産 Game machine
JP2016000321A (en) * 2015-08-28 2016-01-07 株式会社三洋物産 Game machine

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61205018A (en) * 1985-03-08 1986-09-11 Ascii Corp Chattering eliminating circuit
JP2004275586A (en) * 2003-03-18 2004-10-07 Samii Kk Device for opening and closing display part of game machine
JP4133720B2 (en) * 2003-10-06 2008-08-13 株式会社オリンピア Game machine
JP4359276B2 (en) * 2005-08-09 2009-11-04 株式会社オリンピア Game machine

Also Published As

Publication number Publication date
JP2008264416A (en) 2008-11-06

Similar Documents

Publication Publication Date Title
JP4415057B1 (en) Amusement stand
JP4684328B2 (en) Amusement stand
JP2014176474A (en) Game machine
JP2016067426A (en) Game machine
JP6429560B2 (en) Game machine
JP4809284B2 (en) Mobile control device and slot machine using the same
JP5057579B2 (en) Game machine
JP2006239319A (en) Game machine, winning judgment method of game machine and program
JP6180167B2 (en) Game machine
JP2009005826A (en) Game machine
JP2017064266A (en) Game machine
JP2016067428A (en) Game machine
JP5181296B2 (en) Amusement stand
JP4409908B2 (en) Slot machine
JP2017108809A (en) Game machine
JP2009136707A (en) Game machine
JP2010075400A (en) Game machine
JP6654033B2 (en) Gaming machine
JP2007037771A (en) Game machine and rotary reel
JP5499377B2 (en) Game machine
JP6425693B2 (en) Gaming machine
JP2020156809A (en) Game machine
JP2010005432A (en) Slot machine
JP4818445B2 (en) Slot machine
JP2018117752A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090216

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110509

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20110624

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20110624

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110818

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140826

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4809284

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250