JP2015180467A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2015180467A
JP2015180467A JP2015146373A JP2015146373A JP2015180467A JP 2015180467 A JP2015180467 A JP 2015180467A JP 2015146373 A JP2015146373 A JP 2015146373A JP 2015146373 A JP2015146373 A JP 2015146373A JP 2015180467 A JP2015180467 A JP 2015180467A
Authority
JP
Japan
Prior art keywords
control means
data
group
master
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015146373A
Other languages
Japanese (ja)
Other versions
JP6040413B2 (en
Inventor
雅也 田中
Masaya Tanaka
雅也 田中
光一 松橋
Koichi Matsuhashi
光一 松橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sophia Co Ltd
Original Assignee
Sophia Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sophia Co Ltd filed Critical Sophia Co Ltd
Priority to JP2015146373A priority Critical patent/JP6040413B2/en
Publication of JP2015180467A publication Critical patent/JP2015180467A/en
Application granted granted Critical
Publication of JP6040413B2 publication Critical patent/JP6040413B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a game machine capable of reducing the number of wires for connecting a group general control means with a group unit control means, and initializing the group general control means to restore a normal condition when a data transmission/reception failure occurs between the group general control means and the group unit control means.SOLUTION: The game machine includes game control means for generally controlling games and performance control means for performing performance of games in response to a command from the game control means. Initialization means comprises: first initialization means which initializes signal level control means by an initialization signal inputted to an initialization signal input terminal; and second initialization means which initializes the signal level control means by initialization instruction data written in an initialization instruction data storage region.

Description

グループに分割された演出装置を制御する複数のグループ単位制御手段と、複数のグル
ープ単位制御手段を制御するグループ統括制御手段とを備える遊技機に関し、特に、グル
ープ単位制御手段の初期化方法に関する。
The present invention relates to a gaming machine including a plurality of group unit control means for controlling the effect devices divided into groups and a group overall control means for controlling the plurality of group unit control means, and more particularly to an initialization method for the group unit control means.

サブ中継基板と電飾基板との間の配線を簡素化することができる遊技機として、トップ
電飾領域の中央部に配置されたトップLED中央基板をサブ中継基板とシリアル接続し、
トップ電飾領域の右側部に配置されたトップLED右基板及びトップ電飾領域の左側部に
配置されたトップLED左基板をトップLED中央基板から分離して配線により接続した
構成の遊技機が知られている。これにより、サブ中継基板からトップ電飾領域への配線数
を減らして配線を簡素化することができる(例えば、特許文献1参照)。
As a gaming machine that can simplify the wiring between the sub relay board and the electrical decoration board, the top LED central board arranged in the center of the top electrical decoration area is serially connected to the sub relay board,
A gaming machine having a configuration in which a top LED right substrate disposed on the right side of the top illumination area and a top LED left substrate disposed on the left side of the top illumination area are separated from the top LED central substrate and connected by wiring. It has been. Thereby, the number of wirings from the sub relay board to the top illumination area can be reduced to simplify the wiring (for example, see Patent Document 1).

また、信号線の数を削減することができると共に不正行為の発見を容易に行うことがで
きる遊技機として、主基板と副基板との間での信号送信をI2Cバス方式により行い、主
基板及び副基板にそれぞれ双方向バスバッファを設けたものがある。この双方向バスバッ
ファは、I2Cバスを構成する二つの双方向シリアルライン(SDA、SCL)をそれぞ
れ二つの片方向シリアルラインに分岐させるためのものであり、主基板に設けられた双方
向バスバッファと副基板に設けられた双方向バスバッファとの間を、それらによって分岐
された片方向シリアルラインの信号伝送方向が互いに一致するようにして、四つのシリア
ル線で接続した構成としている(例えば、特許文献2参照)。
In addition, as a gaming machine that can reduce the number of signal lines and easily detect fraudulent activities, signal transmission between the main board and the sub board is performed by the I 2 C bus method. Some boards and sub-boards are each provided with a bidirectional bus buffer. This bidirectional bus buffer is for bifurcating the two bidirectional serial lines (SDA, SCL) constituting the I 2 C bus into two unidirectional serial lines, respectively. The bus buffer and the bidirectional bus buffer provided on the sub-board are connected by four serial lines so that the signal transmission directions of the one-way serial lines branched by them match each other ( For example, see Patent Document 2).

特開2008-212271号公報JP 2008-212271 A 特開2006-15036号公報JP 2006-15036 A

特許文献1に記載の遊技機は、CPU83からトップLED基板への通信はシリアル通
信で行っているが、CPU83からトップLED基板への一方向へのデータ送信を行うこ
としか記載されていない。
In the gaming machine described in Patent Document 1, communication from the CPU 83 to the top LED substrate is performed by serial communication, but only data transmission in one direction from the CPU 83 to the top LED substrate is described.

このため、特許文献1に記載の遊技機では、CPU83からトップLED基板へ正確に
データが送信されている保障ができない。特に、遊技機はノイズに晒される環境下に配置
されることが多いので、装飾用のLEDがノイズの影響で遊技進行どおりに発光せず、興
趣を低下させてしまう場合がある。
For this reason, the gaming machine described in Patent Document 1 cannot guarantee that data is accurately transmitted from the CPU 83 to the top LED substrate. In particular, since gaming machines are often placed in an environment exposed to noise, decorative LEDs may not emit light as the game progresses under the influence of noise, which may reduce interest.

これに対して、特許文献2に記載の遊技機は、主基板と副基板との間で双方向通信を行
う構成としているが、正確にデータが送信されたかを確認することは記載されていない。
このため、遊技機が正しく動作する保証が無い。また、データ線及びクロック線は、上り
(主基板から副基板へ)、及び下り(副基板から主基板へ)の各2本が必要となるので、
配線を十分に削減できない。
On the other hand, the gaming machine described in Patent Document 2 is configured to perform two-way communication between the main board and the sub board, but does not describe that data is correctly transmitted. .
For this reason, there is no guarantee that the gaming machine operates correctly. In addition, two data lines and one clock line are required for each of the upstream (from the main board to the sub board) and the down (from the sub board to the main board).
Wiring cannot be reduced sufficiently.

また、特許文献1及び特許文献2には、基板同士のデータ送受信の正当性を確認するた
めの技術が開示されていないため、実際にデータ送受信の不具合が発生した際の具体的な
対処を行うことができない。
Further, since Patent Literature 1 and Patent Literature 2 do not disclose a technique for confirming the validity of data transmission / reception between substrates, a specific countermeasure is taken when an actual data transmission / reception failure occurs. I can't.

本発明は、グループ統括制御手段とグループ単位制御手段とを接続する接続線の数を削
減することに加えて、グループ統括制御手段とグループ単位制御手段との間で、データ送
受信に不具合が発生には、グループ統括制御手段を初期化して正常な状態に復帰させるこ
とが可能な遊技機を提供することを目的とする。
In addition to reducing the number of connection lines connecting the group overall control means and the group unit control means, the present invention causes a problem in data transmission / reception between the group overall control means and the group unit control means. An object of the present invention is to provide a gaming machine capable of initializing the group overall control means and returning it to a normal state.

第1の発明は、遊技を統括的に制御する遊技制御手段と、該遊技制御手段からの指令に
対応して、遊技の演出を行う複数の演出装置を制御する演出制御手段と、を備える遊技機
において、前記複数の演出装置を複数グループに分割し、該分割されたグループに属する
演出装置を制御するためのグループ単位制御手段を各グループ毎に設け、前記演出制御手
段を、複数の前記グループ単位制御手段を統括的に制御するグループ統括制御手段として
構成し、前記グループ統括制御手段から前記グループ単位制御手段へタイミング信号を伝
達するタイミング信号線、及び前記グループ統括制御手段と前記グループ単位制御手段と
の間でデータを通信するデータ線によって、前記グループ統括制御手段と前記グループ単
位制御手段とが接続されて、前記グループ統括制御手段と前記各グループ単位制御手段と
の間で相互にデータ通信を可能とし、前記グループ統括制御手段は、前記演出装置の制御
に係わる演算処理を行う演算処理手段と、前記演算処理手段からの指令に基づいて、前記
データ線及びタイミング信号線の各信号レベルを制御する信号レベル制御手段と、前記演
算処理手段と前記信号レベル制御手段との間で、相互にデータを授受するデータバスと、
を備え、前記信号レベル制御手段は、前記演算処理手段からの送信指令に基づいて、前記
データ線の信号レベルを送信データに対応する信号レベルに設定しながら、前記タイミン
グ信号線の信号レベルを繰り返し変化させることによって、前記グループ単位制御手段に
データを順次送信する送信手段と、前記送信手段によるデータ送信の後に、前記グループ
単位制御手段からの返答信号を取り込む返答信号取込手段と、前記返答信号取込手段によ
って取り込まれた返答信号によってデータ送信の成否を判定する判定手段と、当該信号レ
ベル制御手段を初期化する初期化手段と、前記データバスを経由して、前記初期化手段に
対して当該信号レベル制御手段の初期化を指示する初期化指示データが書き込まれる初期
化指示データ記憶領域と、前記データバスとは別個に設けられ、前記初期化手段に対して
当該信号レベル制御手段の初期化を指示する初期化信号が入力される初期化信号入力指示
端子と、を備え、前記グループ単位制御手段は、前記送信手段がデータ送信を行った前記
データ線を介して、前記返答信号を前記グループ統括制御手段へ出力する返答信号出力手
段を備え、前記初期化信号入力指示端子は、前記演算処理手段から所定の出力ポートを経
由して、前記データバスを介さずに前記初期化信号が入力され、前記初期化手段は、前記
初期化信号入力端子に前記初期化信号が入力されることによって、当該信号レベル制御手
段を初期化する第1初期化手段と、前記初期化指示データ記憶領域に前記初期化指示デー
タが書き込まれることによって、当該信号レベル制御手段を初期化する第2初期化手段と
、を備えることを特徴とする。
A first invention is a game comprising game control means for comprehensively controlling a game, and effect control means for controlling a plurality of effect devices for effecting a game in response to a command from the game control means. In the machine, the plurality of effect devices are divided into a plurality of groups, group unit control means for controlling the effect devices belonging to the divided group is provided for each group, and the effect control means is provided for the plurality of groups. A group control unit configured to collectively control a unit control unit, a timing signal line for transmitting a timing signal from the group control unit to the group unit control unit, and the group control unit and the group unit control unit The group control unit and the group unit control unit are connected to each other by a data line that communicates data with each other. Data communication between the group overall control means and each group unit control means is enabled, and the group overall control means includes arithmetic processing means for performing arithmetic processing related to control of the rendering device, and the arithmetic processing means. And a data bus for exchanging data between the arithmetic processing means and the signal level control means, based on a command from the signal level control means for controlling the signal levels of the data line and the timing signal line. When,
And the signal level control means repeatedly sets the signal level of the timing signal line while setting the signal level of the data line to a signal level corresponding to transmission data based on a transmission command from the arithmetic processing means. A transmission unit that sequentially transmits data to the group unit control unit by changing, a response signal capturing unit that captures a response signal from the group unit control unit after data transmission by the transmission unit, and the response signal A determination unit that determines success or failure of data transmission by a response signal captured by the capture unit, an initialization unit that initializes the signal level control unit, and the initialization unit via the data bus An initialization instruction data storage area in which initialization instruction data for instructing initialization of the signal level control means is written; An initialization signal input instruction terminal that is provided separately from the data bus and receives an initialization signal that instructs the initialization means to initialize the signal level control means; and the group unit control means Comprises response signal output means for outputting the response signal to the group overall control means via the data line on which the transmission means has transmitted data, and the initialization signal input instruction terminal is the arithmetic processing means. The initialization signal is input without going through the data bus from a predetermined output port, and the initialization unit receives the initialization signal by inputting the initialization signal to the initialization signal input terminal. First initialization means for initializing the signal level control means, and the initialization instruction data is written in the initialization instruction data storage area, whereby the signal level control means Characterized in that it comprises a second initialization means for initializing, the.

第2の発明は、前記グループ統括制御手段には前記信号レベル制御手段が複数備えられ
、前記演算処理手段と、該複数の信号レベル制御手段とが、前記データバスにより接続さ
れ、前記演算処理手段から出力される前記初期化信号が、前記複数の信号レベル制御手段
に備わる前記初期化信号入力端子に入力され、前記複数の信号レベル制御手段のすべてを
初期化する場合には、当該各信号レベル制御手段に備わる前記第1初期化手段を用いて、
当該各信号レベル制御手段のすべてが初期化され、前記複数の信号レベル制御手段のうち
、一部の信号レベル制御手段のみを初期化する場合には、該一部の信号レベル制御手段に
備わる前記初期化指示データ記憶領域に前記初期化指示データを書き込むことによって、
該一部の信号レベル制御手段を初期化することを特徴とする。
According to a second aspect of the present invention, the group overall control means includes a plurality of the signal level control means, and the arithmetic processing means and the plurality of signal level control means are connected by the data bus, and the arithmetic processing means When the initialization signal output from is input to the initialization signal input terminal provided in the plurality of signal level control means and all of the plurality of signal level control means are initialized, each signal level Using the first initialization means provided in the control means,
When all the signal level control means are initialized and only some signal level control means are initialized among the plurality of signal level control means, the signal level control means provided in the part of the signal level control means By writing the initialization instruction data in the initialization instruction data storage area,
The partial signal level control means is initialized.

第3の発明は、前記グループ統括制御手段は、前記判定手段の判定結果に基づいて、前
記複数の信号レベル制御手段のうちから、異常が発生した信号レベル制御手段を検出する
異常検出手段を備え、該異常検出手段によって検出された信号レベル制御手段を、該信号
レベル制御手段に備わる前記第2初期化手段を用いて初期化させることを特徴とする。
According to a third aspect of the present invention, the group overall control unit includes an abnormality detection unit that detects a signal level control unit in which an abnormality has occurred from the plurality of signal level control units based on a determination result of the determination unit. The signal level control means detected by the abnormality detection means is initialized using the second initialization means provided in the signal level control means.

第4の発明は、前記グループ統括制御手段は、前記信号レベル制御手段が初期化された
場合に、当該信号レベル制御手段が制御するすべてのグループ単位制御手段に対して初期
化を指示することを特徴とする。
According to a fourth aspect of the present invention, when the signal control unit is initialized, the group overall control unit instructs all group unit control units controlled by the signal level control unit to perform initialization. Features.

第5の発明は、前記演出装置のグループは、発光することにより遊技機の装飾を行う発
光装置のグループと、遊技機に備わる可動部材を可動させることにより遊技機の装飾を行
う可動装置のグループと、を含み、前記グループ単位制御手段は、前記発光装置のグルー
プを制御する発光グループ単位制御手段と、前記可動装置のグループを制御する可動グル
ープ単位制御手段と、を含み、前記グループ統括制御手段は、所定条件の成立により、当
該グループ統括制御手段に複数備えられる全ての前記信号レベル制御手段を、各信号レベ
ル制御手段に備わる第1初期化手段を介して初期化し、且つ各信号レベル制御手段に接続
されるグループ単位制御手段に対して初期化を指示し、前記発光グループ単位制御手段は
、前記グループ統括制御手段から初期化を指示された場合、当該発光グループ単位制御手
段が制御する前記発光装置の出力状態を出力しない状態に制御し、前記可動グループ単位
制御手段は、前記グループ統括制御手段から初期化を指示された場合、当該可動グループ
単位制御手段が制御する前記可動部材を初期位置に戻すために前記可動装置に初期位置動
作を実行させ、該可動部材が初期位置に戻される間であっても、当該可動グループ単位制
御手段に接続される信号レベル制御手段とは異なる信号レベル制御手段は、前記グループ
単位制御手段に対して発光制御データの送信を開始することを特徴とする。
According to a fifth aspect of the present invention, the group of effect devices includes a group of light emitting devices that decorates a gaming machine by emitting light, and a group of movable devices that decorates a gaming machine by moving a movable member provided in the gaming machine. And the group unit control means includes: a light emitting group unit control means for controlling the group of the light emitting devices; and a movable group unit control means for controlling the group of the movable devices. Initializes all of the signal level control means provided in the group overall control means by means of first initialization means provided in each signal level control means when a predetermined condition is satisfied, and each signal level control means The group unit control means connected to the unit is instructed to initialize, and the light emitting group unit control means is the group overall control means. When the initialization is instructed, the output state of the light emitting device controlled by the light emitting group unit control unit is controlled so as not to output, and the movable group unit control unit is instructed to initialize by the group overall control unit. If the movable group unit control means controls the movable member to return the movable member to the initial position, the movable device performs an initial position operation, and the movable member is movable even while the movable member is returned to the initial position. A signal level control unit different from the signal level control unit connected to the group unit control unit starts transmission of light emission control data to the group unit control unit.

第6の発明は、前記演出装置のグループは、発光することにより遊技機の装飾を行う発
光装置のグループと、遊技機に備わる可動部材を可動させることにより遊技機の装飾を行
う可動装置のグループと、を含み、前記グループ単位制御手段は、前記発光装置のグルー
プを制御する発光グループ単位制御手段と、前記可動装置のグループを制御する可動グル
ープ単位制御手段と、を含み、前記異常検出手段は、前記可動グループ単位制御手段に対
するデータ送信が失敗したと、前記判定手段によって判定された場合に、当該可動グルー
プ単位制御手段に接続される信号レベル制御手段の異常を検出し、前記グループ統括制御
手段は、前記異常検出手段によって異常が検出された信号レベル制御手段を、該信号レベ
ル制御手段に備わる第2初期化手段を介して初期化し、且つ該信号レベル制御手段に接続
されるグループ単位制御手段に対して初期化を指示し、前記発光グループ単位制御手段は
、前記グループ統括制御手段から初期化を指示された場合、当該発光グループ単位制御手
段が制御する前記発光装置の出力状態を出力しない状態に制御し、前記可動グループ単位
制御手段は、前記グループ統括制御手段から初期化を指示された場合、当該可動グループ
単位制御手段が制御する前記可動部材を初期位置に戻すために前記可動装置に初期位置動
作を実行させ、該可動部材が初期位置に戻される間であっても、当該可動グループ単位制
御手段に接続される信号レベル制御手段とは異なる信号レベル制御手段は、前記グループ
単位制御手段に対して発光制御データの送信を継続することを特徴とする。
According to a sixth aspect of the present invention, the group of effect devices includes a group of light emitting devices that decorates a gaming machine by emitting light, and a group of movable devices that decorates a gaming machine by moving a movable member provided in the gaming machine. The group unit control means includes a light emission group unit control means for controlling the group of the light emitting devices, and a movable group unit control means for controlling the group of the movable devices, and the abnormality detection means is When the determination means determines that data transmission to the movable group unit control means has failed, an abnormality of the signal level control means connected to the movable group unit control means is detected, and the group overall control means The second initialization provided in the signal level control means includes the signal level control means in which the abnormality is detected by the abnormality detection means. The group unit control means connected to the signal level control means is instructed to initialize, and the light emission group unit control means is instructed to initialize from the group overall control means. The light emitting group unit control means controls the output state of the light emitting device to be in a non-output state, and when the movable group unit control means is instructed to initialize by the group overall control means, the movable group In order to return the movable member controlled by the unit control means to the initial position, the movable device performs the initial position operation, and even while the movable member is returned to the initial position, the movable group unit control means is connected. The signal level control means different from the signal level control means to be continued to transmit the light emission control data to the group unit control means. And features.

第1の発明によると、グループ統括制御手段はグループ単位制御手段へ一本のデータ線
を介してデータが送信され、グループ単位制御手段からグループ統括制御手段へも同じデ
ータ線を介して返答信号が送信されるので、基板間の配線を少なくすることができる。ま
た、グループ単位制御手段からグループ統括制御手段へ返答信号がデータ線を介して送信
されるので、データ送信が行われたかを確認できる構成となって、誤作動を防止できる。
さらに、グループ統括制御手段からグループ単位制御手段へデータを送信した直後に、グ
ループ単位制御手段からグループ統括制御手段へ返答信号を送信するので、高速なデータ
通信が可能となる。さらに、データバスを経由しない第1初期化手段と、データバスを経
由する第2初期化手段と、を状況に応じて使い分けることができる。
According to the first invention, the group overall control means transmits data to the group unit control means via one data line, and a response signal is also sent from the group unit control means to the group overall control means via the same data line. Since it is transmitted, the wiring between the substrates can be reduced. Further, since a response signal is transmitted from the group unit control means to the group overall control means via the data line, it is possible to confirm whether data transmission has been performed, thereby preventing malfunction.
Furthermore, immediately after data is transmitted from the group overall control means to the group unit control means, a response signal is transmitted from the group unit control means to the group overall control means, so that high-speed data communication is possible. Furthermore, the first initialization unit that does not pass through the data bus and the second initialization unit that passes through the data bus can be selectively used depending on the situation.

第2の発明によると、すべてのグループ統括制御手段を初期化する場合には、各グルー
プ統括制御手段に備わる第1初期化手段を用いて初期化するので、特定のグループ統括制
御手段を当該特定のグループ統括制御手段に備わる第2初期化手段を用いて初期化する場
合と比較して高速に初期化できる。また、特定のグループ統括制御手段を初期化する場合
には、当該特定のグループ統括制御手段に備わる第2初期化手段を用いて初期化するので
、すべてのグループ統括制御手段の初期化信号入力端子に個別に初期化信号を入力するよ
うな回路を必要としない。つまり、第2の発明では、すべてのグループ統括制御手段の初
期化は高速化を目的とし、特定のグループ統括制御手段の初期化は回路の簡素化を目的と
するので、特に、演出制御手段に備わるグループ統括制御手段の数が多い場合には有効と
なる。
According to the second aspect of the invention, when all the group general control means are initialized, the initialization is performed using the first initialization means provided in each group general control means, so that the specific group general control means is identified. Compared with the case of using the second initialization means provided in the group overall control means, initialization can be performed at a higher speed. Also, when initializing a specific group overall control means, initialization is performed using the second initialization means provided in the specific group overall control means, so that initialization signal input terminals of all the group overall control means There is no need for a circuit for inputting an initialization signal individually. That is, in the second invention, the initialization of all the group overall control means is aimed at speeding up, and the initialization of the specific group overall control means is aimed at simplifying the circuit. This is effective when the number of group overall control means is large.

第3の発明によると、異常が検出されたグループ統括制御手段のみを当該グループ統括
制御手段に備わる第2初期化手段を用いて初期化するので、異常が検出されていないグル
ープ統括制御手段を初期化しなくてもよい。
According to the third aspect of the invention, since only the group overall control means in which an abnormality is detected is initialized using the second initialization means provided in the group overall control means, the group overall control means in which no abnormality is detected is initialized. It does not have to be converted.

第4の発明によると、グループ統括制御手段が初期化される場合に、当該グループ統括
制御手段が制御するグループ単位制御手段も初期化できるので、確実に遊技機を初期化で
きる。
According to the fourth invention, when the group overall control means is initialized, the group unit control means controlled by the group overall control means can also be initialized, so that the gaming machine can be initialized reliably.

第5の発明によると、電源投入直後に可動部材が初期位置に戻されている最中であって
も、発光装置が動作するので、電源投入から発光装置が点灯するまでの時間が早くなるの
で、電源投入直後の発光装置の確認作業にかかる時間を短縮できる。
According to the fifth invention, since the light emitting device operates even when the movable member is being returned to the initial position immediately after the power is turned on, the time from when the power is turned on until the light emitting device is turned on is shortened. The time required for checking the light emitting device immediately after power-on can be reduced.

第6の発明によると、可動部材が初期位置に戻るまでの時間が長くなっても、可動部材
が初期位置に戻されている最中であっても、他のグループ統括制御手段はグループ単位制
御手段を制御しているため発光装置が消灯することはない。このため、ノイズ等の異常が
発生して、可動部材が初期位置に頻繁に戻っても、遊技機の盤面が暗くなることを極力抑
制できる。
According to the sixth aspect of the invention, even if the time until the movable member returns to the initial position becomes long or the movable member is being returned to the initial position, the other group overall control means performs group unit control. Since the means is controlled, the light emitting device does not turn off. For this reason, even if abnormalities such as noise occur and the movable member frequently returns to the initial position, it is possible to suppress as much as possible that the board surface of the gaming machine becomes dark.

本発明の第1実施形態の遊技機の説明図である。It is explanatory drawing of the game machine of 1st Embodiment of this invention. 本発明の第1実施形態の遊技盤の正面図である。It is a front view of the game board of a 1st embodiment of the present invention. 本発明の第1実施形態の遊技機の構成を示すブロック図である。It is a block diagram which shows the structure of the game machine of 1st Embodiment of this invention. 本発明の第1実施形態の演出制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the presentation control apparatus of 1st Embodiment of this invention. 本発明の第1実施形態の装飾制御装置の接続の説明図である。It is explanatory drawing of the connection of the decoration control apparatus of 1st Embodiment of this invention. 本発明の第1実施形態の装飾制御装置のブロック図である。It is a block diagram of the decoration control apparatus of 1st Embodiment of this invention. 本発明の第1実施形態のI2CI/Oエクスパンダのブロック図である。1 is a block diagram of an I 2 CI / O expander according to a first embodiment of this invention. 本発明の第1実施形態の装飾装置を制御する装飾制御装置のI2CI/Oエクスパンダ周辺の回路図である。It is a circuit diagram around the I 2 CI / O expander of the decoration control device that controls the decoration device of the first embodiment of the present invention. 本発明の第1実施形態の役物駆動MOT及び役物駆動SOLを制御する装飾制御装置のI2CI/Oエクスパンダ周辺の回路図である。It is a circuit diagram around the I 2 CI / O expander of the decoration control device that controls the accessory driving MOT and the accessory driving SOL of the first embodiment of the present invention. 本発明の第1実施形態の中継基板の入出力に関する接続線の回路図である。It is a circuit diagram of the connection line regarding the input / output of the relay board | substrate of 1st Embodiment of this invention. 本発明の第1実施形態の装飾制御装置の入出力に関する接続線の回路図である。It is a circuit diagram of the connecting line regarding the input / output of the decoration control apparatus of 1st Embodiment of this invention. 本発明の第1実施形態の演出制御装置から装飾制御装置に出力されるデータに含まれるスレーブアドレスの説明図である。It is explanatory drawing of the slave address contained in the data output to the decoration control apparatus from the presentation control apparatus of 1st Embodiment of this invention. 本発明の第1実施形態のI2CI/Oエクスパンダアドレステーブルの説明図である。It is an explanatory view of I 2 CI / O expander address table of the first embodiment of the present invention. 本発明の第1実施形態のI2CI/Oエクスパンダに備わる出力設定レジスタに割り当てられたワークレジスタを説明するための図である。It is a diagram for explaining the I 2 CI / O Aix work register assigned to the output setting register provided in expander of the first embodiment of the present invention. 本発明の第1実施形態のマスタICが接続線SDA及び接続線SCLを介して出力するデータのスタート条件及びストップ条件の説明図である。It is explanatory drawing of the start condition and stop condition of the data which the master IC of 1st Embodiment of this invention outputs via the connection line SDA and the connection line SCL. 本発明の第1実施形態のマスタICから出力されたデータが入力された装飾制御装置が返答信号を出力するタイミングチャートである。It is a timing chart which the decoration control apparatus into which the data output from the master IC of 1st Embodiment of this invention was input outputs a reply signal. 本発明の第1実施形態のマスタICが演出制御データを出力する場合の接続線SDA及び接続線SCLの信号レベルのタイミングチャートである。It is a timing chart of the signal level of the connection line SDA and the connection line SCL when the master IC of the first embodiment of the present invention outputs effect control data. 本発明の第1実施形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダとの間で授受されるデータのフォーマットを説明する図である。When the master IC according to the first embodiment of the present invention designates the individual address of the slave and sets the effect control data in the decoration control device, it is exchanged between the master IC and the I 2 CI / O expander. It is a figure explaining the format of data. 本発明の第1実施形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダとの間で授受される演出制御データに具体的な数値を適用したものである。When the master IC according to the first embodiment of the present invention designates the individual address of the slave and sets the effect control data in the decoration control device, it is exchanged between the master IC and the I 2 CI / O expander. Specific numerical values are applied to the production control data. 本発明の第1実施形態の演出制御データの別の形態を説明する図である。It is a figure explaining another form of presentation control data of a 1st embodiment of the present invention. 本発明の第1実施形態のマスタICがI2CI/Oエクスパンダを初期化するときに、マスタICからI2CI/Oエクスパンダへ送信される初期化指示データのデータフォーマットを説明する図である。FIG master IC of the first embodiment is to initialize the I 2 CI / O expander, illustrating the data format of the initialization instruction data transmitted to I 2 CI / O expander from the master IC of the present invention It is. 本発明の第1実施形態の異常判定テーブルを説明する図である。It is a figure explaining the abnormality determination table of 1st Embodiment of this invention. 本発明の第1実施形態の演出制御装置による処理のフローチャートである。It is a flowchart of the process by the presentation control apparatus of 1st Embodiment of this invention. 本発明の第1実施形態のI2C初期リセット処理のフローチャートである。It is a flowchart of the I 2 C initial reset process of the first embodiment of the present invention. 本発明の第1実施形態のスレーブリセット処理のフローチャートである。It is a flowchart of the slave reset process of 1st Embodiment of this invention. 本発明の第1実施形態の発光制御スレーブ出力処理のフローチャートである。It is a flowchart of the light emission control slave output process of 1st Embodiment of this invention. 本発明の第1実施形態のスレーブ連続処理のフローチャートである。It is a flowchart of the slave continuous processing of 1st Embodiment of this invention. 本発明の第1実施形態のI2C随時リセット処理のフローチャートである。It is a flowchart of an I 2 C occasional reset process according to the first embodiment of the present invention. 本発明の第1実施形態のタイマ割込が発生した場合に実行されるタイマ割込処理のフローチャートである。It is a flowchart of the timer interruption process performed when the timer interruption of 1st Embodiment of this invention generate | occur | produces. 本発明の第1実施形態のスレーブ単発出力処理のフローチャートである。It is a flowchart of the slave single output process of 1st Embodiment of this invention. 本発明の第1の実施形態の遊技機全体に設けられる装飾制御装置の接続形態を示す図である。It is a figure which shows the connection form of the decoration control apparatus provided in the whole gaming machine of the 1st Embodiment of this invention. 本発明の第2実施形態の演出制御装置と装飾制御装置との接続の説明図である。It is explanatory drawing of the connection of the presentation control apparatus and decoration control apparatus of 2nd Embodiment of this invention. 本発明の第2実施形態の異常判定テーブルの説明図である。It is explanatory drawing of the abnormality determination table of 2nd Embodiment of this invention. 本発明の第2実施形態のI2C初期リセット処理のフローチャートである。It is a flowchart of the I2C initial reset process of 2nd Embodiment of this invention. 本発明の第2実施形態のI2C随時リセット処理のフローチャートである。It is a flowchart of an I 2 C occasional reset process of the second embodiment of the present invention. 本発明の第2実施形態の電源投入によるマスタICの初期化前後のタイミングチャートである。It is a timing chart before and after initialization of the master IC by power-on according to the second embodiment of the present invention. 本発明の第2実施形態の異常が発生したマスタICの初期化前後のタイミングチャートである。It is a timing chart before and after initialization of the master IC in which the abnormality of the second embodiment of the present invention has occurred.

(第1実施形態)
以下、本発明の第1実施形態について、図1〜図32を参照して説明する。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.

図1は、本発明の第1実施形態の遊技機1の説明図である。   FIG. 1 is an explanatory diagram of the gaming machine 1 according to the first embodiment of the present invention.

遊技機1の前面枠(遊技枠)3は本体枠(外枠)2にヒンジ4を介して、遊技機1の前
面に開閉回動可能に組み付けられる。前面枠3の表側には、遊技盤10(図2参照)が収
装される。また、前面枠3には、遊技盤10の前面を覆うカバーガラス(透明部材)を備
えたガラス枠18が取り付けられている。
A front frame (game frame) 3 of the gaming machine 1 is assembled to a main body frame (outer frame) 2 via a hinge 4 so as to be openable and closable on the front surface of the gaming machine 1. A game board 10 (see FIG. 2) is accommodated on the front side of the front frame 3. Further, a glass frame 18 having a cover glass (transparent member) covering the front surface of the game board 10 is attached to the front frame 3.

ガラス枠18のカバーガラスの周囲には、装飾光が発光される装飾部材9が備えられて
いる。この装飾部材9の内部にはランプやLED等からなる装飾装置620(図3参照)
が備えられている。この装飾装置620を所定の発光態様によって発光することによって
、装飾部材9が所定の発光態様によって発光する。
A decorative member 9 that emits decorative light is provided around the cover glass of the glass frame 18. Inside the decorative member 9 is a decorative device 620 (see FIG. 3) made of a lamp, LED, or the like.
Is provided. The decoration device 620 emits light in a predetermined light emission mode, so that the decoration member 9 emits light in a predetermined light emission mode.

ガラス枠18の左右には、音響(例えば、効果音)を発するスピーカ30が備えられて
いる。また、ガラス枠18の上方には照明ユニット11が備えられている。照明ユニット
11の内部には、前述した装飾装置620が備えられている。
Speakers 30 that emit sound (for example, sound effects) are provided on the left and right sides of the glass frame 18. An illumination unit 11 is provided above the glass frame 18. Inside the lighting unit 11, the above-described decoration device 620 is provided.

照明ユニット11の右側には、遊技機1において異常が発生したことを報知するための
異常報知LED29が備えられている。
On the right side of the lighting unit 11, an abnormality notification LED 29 for notifying that an abnormality has occurred in the gaming machine 1 is provided.

前面枠3の下部の開閉パネル20には図示しない打球発射装置に遊技球を供給する上皿
21が、固定パネル22には灰皿15、下皿23及び打球発射装置の操作部24等が備え
られる。下皿23には、下皿23に貯まった遊技球を排出するための下皿球抜き機構16
が備えられる。前面枠3下部右側には、ガラス枠18を施錠するための鍵25が備えられ
ている。
The open / close panel 20 below the front frame 3 is provided with an upper tray 21 for supplying game balls to a not-shown ball hitting device, and the fixed panel 22 is provided with an ashtray 15, a lower plate 23, an operation unit 24 of the hit ball launching device and the like. . The lower plate 23 has a lower plate ball removing mechanism 16 for discharging the game balls stored in the lower plate 23.
Is provided. A key 25 for locking the glass frame 18 is provided on the lower right side of the front frame 3.

また、遊技者が操作部24を回動操作することによって、打球発射装置は、上皿21か
ら供給される遊技球を発射する。
Further, when the player turns the operation unit 24, the hitting ball launching device launches a game ball supplied from the upper plate 21.

また、上皿21の上縁部には、遊技者からの操作入力を受け付けるための演出ボタン1
7が備えられている。
In addition, an effect button 1 for accepting an operation input from a player is provided on the upper edge of the upper plate 21.
7 is provided.

遊技者が演出ボタン17を操作することによって、遊技盤10に設けられた表示装置5
3(図2参照)における特図変動表示ゲームの演出内容を選択して、表示装置53におけ
る特図変動表示ゲームに、遊技者の操作を介入させた演出を行うことができる。
The display device 5 provided on the game board 10 when the player operates the effect button 17.
3 (see FIG. 2), it is possible to select an effect content of the special figure variation display game and produce an effect in which the player's operation is intervened in the special figure variation display game on the display device 53.

なお、特図変動表示ゲームは、発射された遊技球が遊技盤10に備わる第1始動入賞口
45(図2参照)又は普通変動入賞装置36(図2参照)の第2始動入賞口に入賞した場
合に開始される。特図変動表示ゲームでは、表示装置53において複数の識別情報が変動
表示する。そして、変動表示していた識別情報が停止し、停止した識別情報の結果態様が
特定の結果態様である場合に、遊技機1の状態が遊技者に有利な状態(特典が付与される
状態)である特別遊技状態に遷移する。
In addition, in the special figure variation display game, the launched game ball is awarded to the first start winning opening 45 (see FIG. 2) provided in the game board 10 or the second starting winning opening of the normal variation winning apparatus 36 (see FIG. 2). It starts when you do. In the special figure fluctuation display game, a plurality of pieces of identification information are variably displayed on the display device 53. Then, when the identification information that has been variably displayed is stopped and the result mode of the stopped identification information is a specific result mode, the state of the gaming machine 1 is advantageous to the player (a state where a privilege is granted) Transition to a special gaming state.

上皿21の右上部には、遊技者が遊技球を借りる場合に操作する球貸ボタン26、及び
、図示しないカードユニットからプリペイドカードを排出させるために操作される排出ボ
タン27が設けられている。これらのボタン26、27の間には、プリペイドカードの残
高を表示する残高表示部28が設けられる。
In the upper right portion of the upper plate 21, a ball lending button 26 that is operated when a player borrows a game ball and a discharge button 27 that is operated to discharge a prepaid card from a card unit (not shown) are provided. . Between these buttons 26 and 27, a balance display unit 28 for displaying the balance of the prepaid card is provided.

図2は、本発明の第1実施形態の遊技盤10の正面図である。   FIG. 2 is a front view of the game board 10 according to the first embodiment of the present invention.

図1に示す遊技機1は、内部の遊技領域10a内に遊技球を発射して(弾球して)遊技
を行うもので、ガラス枠18のカバーガラスの奥側には、遊技領域10aを構成する遊技
盤10が設置されている。
The gaming machine 1 shown in FIG. 1 fires a game ball in an internal game area 10a (bounces it) to play a game, and a game area 10a is provided on the back side of the cover glass of the glass frame 18. The game board 10 which comprises is installed.

遊技盤10は、各種部材の取付ベースとなる平板状の遊技盤本体10b(木製又は合成
樹脂製)を備え、該遊技盤本体10bの前面にガイドレール32で囲まれた遊技領域10
aを有している。また、遊技盤本体10bの前面であってガイドレール32の外側には、
前面構成部材33、33、…が取り付けられている。そして、このガイドレール32で囲
まれた遊技領域10a内に発射装置から遊技球(打球;遊技媒体)を発射して遊技を行う
ようになっている。
The game board 10 includes a flat game board main body 10b (made of wood or synthetic resin) serving as a mounting base for various members, and the game area 10 surrounded by a guide rail 32 on the front surface of the game board main body 10b.
a. In addition, on the outside of the guide rail 32 on the front surface of the game board main body 10b,
Front structural members 33, 33,... Are attached. Then, a game ball (hit ball; game medium) is launched from the launching device into the game area 10a surrounded by the guide rail 32 to play a game.

遊技領域10aの略中央には、特図変動表示ゲームの表示領域となる窓部52を形成す
るセンターケース51が取り付けられている。このセンターケース51に形成された窓部
52の後方には、複数の識別情報を変動表示する特図変動表示ゲームの演出を実行可能な
演出表示装置としての表示装置53が配されるようになっている。この表示装置53は、
例えば、液晶ディスプレイを備え、表示内容が変化可能な表示部53aがセンターケース
51の窓部52を介して遊技盤10の前面側から視認可能となるように配されている。な
お、表示装置53は、液晶ディスプレイを備えるものに限らず、EL、CRT等のディス
プレイを備えるものであってもよい。
A center case 51 that forms a window 52 serving as a display area for a special figure variation display game is attached to the approximate center of the game area 10a. Behind the window portion 52 formed in the center case 51, a display device 53 is provided as an effect display device capable of executing an effect of a special figure variable display game that displays a plurality of identification information in a variable manner. ing. The display device 53 includes:
For example, a display unit 53 a that includes a liquid crystal display and whose display contents can be changed is arranged so as to be visible from the front side of the game board 10 through the window 52 of the center case 51. Note that the display device 53 is not limited to a device including a liquid crystal display, and may include a display such as an EL or a CRT.

センターケース51の窓部52の上端付近には、遊技状態に基づいて動作可能な可動役
物60が取り付けられる。
Near the upper end of the window 52 of the center case 51, a movable accessory 60 that can be operated based on the gaming state is attached.

また、遊技盤10には、普図始動ゲート34と、普図変動表示ゲームの未処理回数を表
示する普図記憶表示器47、普図変動表示ゲームを表示する普図表示器35が設けられて
いる。また、遊技領域10a内には、第1の始動入賞領域をなす第1始動入賞口45と、
第2の始動入賞領域をなす第2始動入賞口を有する普通変動入賞装置36と、が設けられ
ている。そして、遊技球が第1始動入賞口45に入賞した場合は、補助遊技として第1特
図変動表示ゲームが実行され、遊技球が普通変動入賞装置36に入賞した場合は、補助遊
技として第2特図変動表示ゲームが実行されるようになっている。
In addition, the game board 10 is provided with a general map start gate 34, a general map storage display 47 for displaying the number of unprocessed times of the general map change display game, and a general map display 35 for displaying the general map change display game. ing. Further, in the game area 10a, a first start winning opening 45 forming a first start winning area,
An ordinary variable prize winning device 36 having a second start prize opening that forms a second start prize area is provided. When the game ball has won the first start winning opening 45, the first special figure variation display game is executed as an auxiliary game, and when the game ball has won the normal variation prize winning device 36, the second game is performed as an auxiliary game. A special figure variation display game is executed.

また、遊技盤10には、第1特図変動表示ゲームを表示する第1特図表示器38と、第
2特図変動表示ゲームを表示する第2特図表示器39と、が設けられている。また、第1
特図変動表示ゲームの未処理回数(第1特図始動記憶)を表示する第1特図記憶表示器4
8と、第2特図変動表示ゲームの未処理回数(第2特図始動記憶)を表示する第2特図記
憶表示器49が設けられている。なお、普図記憶表示器47、普図表示器35、第1特図
表示器38、第2特図表示器39、第1特図記憶表示器48、第2特図記憶表示器49は
、遊技状態を表す遊技状態表示LED(図示略)と併せて、セグメントLEDとして一体
に設けられている。
Further, the game board 10 is provided with a first special figure display 38 for displaying the first special figure fluctuation display game, and a second special figure display 39 for displaying the second special figure fluctuation display game. Yes. The first
First special figure memory display 4 for displaying the number of unprocessed special figure fluctuation display games (first special figure start memory)
8 and a second special figure memory display 49 for displaying the number of unprocessed times (second special figure start memory) of the second special figure fluctuation display game. It should be noted that the common figure memory display 47, the universal figure display 35, the first special figure display 38, the second special figure display 39, the first special figure storage display 48, and the second special figure storage display 49 are: Together with a game state display LED (not shown) representing the game state, it is integrally provided as a segment LED.

さらに遊技領域10aには、上端側が手前側に倒れる方向に回動して開放可能になって
いるアタッカ形式の開閉扉42aを有し、第1特図変動表示ゲーム、第2特図変動表示ゲ
ームの結果如何によって大入賞口を閉じた状態(遊技者にとって不利な状態)から開放状
態(遊技者にとって有利な状態)に変換する特別変動入賞装置42、入賞口などに入賞し
なかった遊技球を回収するアウト穴43が設けられている。この他、遊技領域10aには
、一般入賞口44、44、…、打球方向変換部材としての風車46、多数の障害釘(図示
略)などが配設されている。
Furthermore, the game area 10a has an attacker-type opening / closing door 42a that can be opened by rotating in a direction in which the upper end side is tilted toward the front side, and the first special figure variation display game and the second special figure variation display game. As a result, the special variable winning device 42 for converting the closed state (a disadvantageous state for the player) from the closed state (a disadvantageous state for the player) to the open state (a state advantageous for the player), and the game balls that have not won the winning point etc. An out-hole 43 to be collected is provided. In addition, the game area 10a is provided with general winning holes 44, 44,..., A windmill 46 as a batting direction changing member, a number of obstacle nails (not shown), and the like.

普図始動ゲート34内には、該普図始動ゲート34を通過した遊技球を検出するための
ゲートSW34a(図3参照)が設けられている。そして、遊技領域10a内に打ち込ま
れた遊技球が普図始動ゲート34内を通過すると、普図変動表示ゲームが行われる。
A gate SW 34a (see FIG. 3) for detecting a game ball that has passed through the general chart start gate 34 is provided in the general chart start gate 34. Then, when the game ball that has been driven into the game area 10a passes through the usual figure start gate 34, a usual figure change display game is performed.

また、普図変動表示ゲームを開始できない状態中に、普図始動ゲート34を遊技球が通
過すると、普図始動記憶数が上限数未満であるならば、普図始動記憶数が1加算されて、
当該普図変動表示ゲームが当りとなるか否かを示す乱数が普図始動記憶として一つ記憶さ
れる。
In addition, when the game ball passes through the general chart start gate 34 in a state in which the normal map change display game cannot be started, if the general chart start memory number is less than the upper limit number, the general chart start memory number is incremented by one. ,
One random number indicating whether or not the normal figure change display game is won is stored as a normal figure start memory.

普図変動表示ゲームが開始できない状態とは、例えば、普図変動表示ゲームが既に行わ
れ、その普図変動表示ゲームが終了していない状態や、普図変動表示ゲームが当って普通
変動入賞装置36が開状態に変換されている状態のことをいう。
The state in which the normal map variable display game cannot be started is, for example, a state in which the normal map variable display game has already been executed and the normal map variable display game has not ended, or the normal variable display game has been hit and the normal variable prize winning device This is a state where 36 is converted to an open state.

なお、普図変動表示ゲームの始動記憶数は、LEDを備える普図記憶表示器47にて表
示される。
In addition, the starting memory | storage number of a common figure change display game is displayed on the common figure memory | storage display 47 provided with LED.

普図変動表示ゲームは、遊技盤10に設けられた普図表示器35で実行されるようにな
っている。なお、表示装置53の表示領域の一部で普図変動表示ゲームを表示するように
してもよく、この場合は識別図柄として、例えば、数字、記号、キャラクタ図柄などを用
い、この識別図柄を所定時間変動表示させた後、停止表示させることにより行うようにす
る。
The normal map display game is executed by a general map display 35 provided on the game board 10. In addition, you may make it display a common figure change display game in a part of display area of the display apparatus 53, In this case, for example, a number, a symbol, a character design etc. are used as an identification design, and this identification design is predetermined. After the time variation display, the display is stopped.

この普図変動表示ゲームの停止表示が特別の結果態様となれば、普図変動表示ゲームが
当りとなって、普通変動入賞装置36の開閉部材36a、36aが所定時間(例えば、0
.5秒間)開放される。これにより、普通変動入賞装置36に遊技球が入賞しやすくなり
、第2特図変動表示ゲームの始動が容易となる。
If the stop display of the normal variation display game becomes a special result mode, the normal variation display game is a hit, and the opening / closing members 36a and 36a of the normal variation winning device 36 are set for a predetermined time (for example, 0).
.5 seconds) Thereby, it becomes easy to win a game ball in the normal variation winning device 36, and the start of the second special figure variation display game is facilitated.

普通変動入賞装置36は左右一対の開閉部材36a、36aを具備し、第1始動入賞口
45の下部に配設される。この開閉部材36a、36aは、常時は遊技球の直径程度の間
隔をおいて閉じた状態(遊技者にとって不利な状態)を保持しているが、普図変動表示ゲ
ームの結果が所定の停止表示態様となった場合(普図変動表示ゲームが当りとなった場合
)には、駆動装置としてのソレノイド(普電SOL36b、図3参照)によって、逆「ハ
」の字状に開いて普通変動入賞装置36に遊技球が流入し易い状態(遊技者にとって有利
な状態)に変化させられるようになっている。
The normal variation winning device 36 includes a pair of left and right opening / closing members 36 a and 36 a and is disposed below the first start winning port 45. The open / close members 36a, 36a always maintain a closed state (an unfavorable state for the player) with an interval of about the diameter of the game ball. When it becomes a mode (when a normal fluctuation display game is a win), it is opened in a reverse “C” shape by a solenoid (Fuden SOL 36b, see FIG. 3) as a driving device, and a normal fluctuation prize is won. The device 36 can be changed to a state in which a game ball easily flows into the device 36 (a state advantageous to the player).

また、本実施形態の遊技機1は、特図変動表示ゲームの結果態様に基づき、遊技状態と
して、表示装置53における特図変動表示ゲームの変動表示時間を短縮する時短動作状態
(第2動作状態)を発生可能となっている。この時短動作状態(第2動作状態)は、普通
変動入賞装置36の動作状態が、通常動作状態(第1動作状態)に比べて開放状態となり
やすい状態である。
In addition, the gaming machine 1 according to the present embodiment, based on the result form of the special figure variation display game, as a gaming state, a short-time operation state (second operation state) that shortens the variation display time of the special figure variation display game on the display device 53. ) Can be generated. At this time, the short operation state (second operation state) is a state in which the operation state of the normal variation winning device 36 is more likely to be an open state than the normal operation state (first operation state).

この時短動作状態においては、上述の普図変動表示ゲームの実行時間が、通常動作状態
における長い実行時間よりも短くなるように制御され(例えば、10秒が1秒)、これに
より、単位時間当りの普通変動入賞装置36の開放回数が実質的に多くなるように制御さ
れる。また、時短動作状態においては、普図変動表示ゲームが当り結果となって普通変動
入賞装置36が開放される場合に、開放時間が通常動作状態の短い開放時間より長くされ
るように制御される(例えば、0.3秒が1.8秒)。また、時短動作状態においては、
普図変動表示ゲームの1回の当り結果に対して、普通変動入賞装置36が1回ではなく、
複数回(例えば、2回)開放される。さらに、時短動作状態においては普図変動表示ゲー
ムの当り結果となる確率が通常動作状態より高くなるように制御される。すなわち、通常
動作状態よりも普通変動入賞装置36の開放回数が増加され、普通変動入賞装置36に遊
技球が入賞しやすくなり、第2特図変動表示ゲームの始動が容易となる。
At this time, in the short operation state, the execution time of the above-mentioned general-purpose variable display game is controlled to be shorter than the long execution time in the normal operation state (for example, 10 seconds is 1 second). The number of times of opening of the normal variation winning device 36 is controlled to be substantially increased. Further, in the short-time operation state, when the normal variation winning game 36 is released as a result of the normal variation display game being won, the release time is controlled to be longer than the short release time of the normal operation state. (For example, 0.3 seconds is 1.8 seconds). In the short-time operation state,
The normal variation winning device 36 is not one time for one hit result of the normal variation display game,
Opened multiple times (for example, twice). Further, in the short-time operation state, the probability that the hit result of the normal-variable display game is higher than that in the normal operation state is controlled. That is, the number of times of opening of the normal variation winning device 36 is increased as compared to the normal operation state, and it becomes easier for the game ball to win the normal variation winning device 36, and the second special figure variation display game can be easily started.

第1始動入賞口45の内部には第1始動口SW45a(図3参照)が備えられ、この第
1始動口SW45aによって遊技球を検出することに基づき、補助遊技としての第1特図
変動表示ゲームを開始する始動権利が発生するようになっている。また、普通変動入賞装
置36の内部には第2始動口SW36d(図3参照)が備えられ、この第2始動口SW3
6dによって遊技球を検出することに基づき、補助遊技としての第2特図変動表示ゲーム
を開始する始動権利が発生するようになっている。
A first start opening SW45a (see FIG. 3) is provided in the first start winning opening 45, and based on detecting a game ball by the first start opening SW45a, a first special figure variation display as an auxiliary game is provided. A starting right to start the game is generated. In addition, the normal variation winning device 36 is provided with a second start port SW36d (see FIG. 3), and this second start port SW3.
Based on the detection of the game ball by 6d, the right to start the second special figure variation display game as an auxiliary game is generated.

この第1特図変動表示ゲームを開始する始動権利は、所定の上限数(例えば4)の範囲
内で第1始動記憶(特図1始動記憶)として記憶される。そして、この第1始動記憶数は
、第1特図記憶表示器48に表示される。また、第2特図変動表示ゲームを開始する始動
権利は、所定の上限数(例えば4)の範囲内で第2始動記憶(特図2始動記憶)として記
憶される。そして、この第2始動記憶数は、第2特図記憶表示器49にて表示される。
The right to start the first special figure variation display game is stored as a first start memory (special figure 1 start memory) within a predetermined upper limit number (for example, 4). The first start memory number is displayed on the first special figure memory display 48. The start right for starting the second special figure variation display game is stored as the second start memory (special figure 2 start memory) within a predetermined upper limit number (for example, 4). The second start memory number is displayed on the second special figure memory display 49.

そして、第1特図変動表示ゲームが開始可能な状態(第1始動記憶数及び第2始動記憶
数が0の状態)で、第1始動入賞口45に遊技球が入賞すると、始動権利の発生に伴って
抽出された乱数が第1始動記憶として記憶されて、第1始動記憶数が1加算されるととと
もに、直ちに第1始動記憶に基づいて、第1特図変動表示ゲームが開始され、この際に第
1始動記憶数が1減算される。
When the first special figure variation display game can be started (the first start memory number and the second start memory number are 0) and the game ball wins the first start winning opening 45, the start right is generated. The random number extracted with is stored as the first start memory, the first start memory number is incremented by 1, and the first special figure variation display game is immediately started based on the first start memory, At this time, 1 is subtracted from the first start memory number.

また、第2特図変動表示ゲームは第1特図変動表示ゲームよりも優先して実行されるた
め、第1始動記憶数が0でなくても、第2始動記憶数が0であれば、第2始動入賞口をな
す普通変動入賞装置36に遊技球が入賞すると、始動権利の発生に伴って抽出された乱数
が第2始動記憶として記憶されて、第2始動記憶数が1加算されるととともに、実行中の
第1特図変動表示ゲームが終了後直ちに第2始動記憶に基づいて、第2特図変動表示ゲー
ムが開始され、この際に第2始動記憶数が1減算される。
In addition, since the second special figure fluctuation display game is executed in preference to the first special figure fluctuation display game, even if the first start memory number is not zero, if the second start memory number is zero, When the game ball wins the normal variation winning device 36 that forms the second start winning opening, the random number extracted with the start right is stored as the second start memory, and the second start memory number is incremented by one. At the same time, the second special figure variation display game is started based on the second start memory immediately after the execution of the first special figure variation display game being executed, and at this time, the second start memory number is decremented by one.

一方、第1特図変動表示ゲーム又は第2特図変動表示ゲームが直ちに開始できない状態
、例えば、既に第1特図変動表示ゲーム又は第2特図変動表示ゲームが行われ、その特図
変動表示ゲームが終了していない状態や、特別遊技状態となっている場合に、第1始動入
賞口45に遊技球が入賞すると、第1始動記憶数が上限数未満(例えば、4個未満)なら
ば、第1始動記憶数が1加算されて、第1始動入賞口45に遊技球が入賞したタイミング
で抽出された乱数が第1始動記憶として一つ記憶される。
On the other hand, a state in which the first special figure fluctuation display game or the second special figure fluctuation display game cannot be started immediately, for example, the first special figure fluctuation display game or the second special figure fluctuation display game has already been performed, and the special figure fluctuation display. If a game ball is won in the first start winning opening 45 when the game is not finished or in a special game state, if the first start memory number is less than the upper limit number (for example, less than four) The first start memory number is incremented by 1, and one random number extracted at the timing when the game ball is won in the first start winning opening 45 is stored as the first start memory.

同様に、この場合に第2始動入賞口をなす普通変動入賞装置36に遊技球が入賞すると
、第2始動記憶数が上限数未満(例えば、4個未満)ならば、第2始動記憶数が1加算さ
れて、第2始動入賞口に遊技球が入賞したタイミングで抽出された乱数が第2始動記憶と
して一つ記憶される。
Similarly, in this case, when a game ball wins the normal variation winning device 36 that forms the second starting winning opening, if the second starting stored number is less than the upper limit number (for example, less than four), the second starting stored number is 1 is added, and one random number extracted at the timing when the game ball wins the second start winning opening is stored as the second start storage.

そして、第1特図変動表示ゲーム又は第2特図変動表示ゲームが開始可能な状態となる
と、第1始動記憶又は第2始動記憶に基づき第1特図変動表示ゲーム又は第2特図変動表
示ゲームが開始される。このとき、第1特図変動表示ゲームと第2特図変動表示ゲームは
同時に実行されることはなく、第2特図変動表示ゲームが第1特図変動表示ゲームよりも
優先して実行されるようになっている。
When the first special figure fluctuation display game or the second special figure fluctuation display game is ready to start, the first special figure fluctuation display game or the second special figure fluctuation display is based on the first start memory or the second start memory. The game starts. At this time, the first special figure fluctuation display game and the second special figure fluctuation display game are not executed simultaneously, and the second special figure fluctuation display game is executed with priority over the first special figure fluctuation display game. It is like that.

すなわち、第1始動記憶と第2始動記憶がある場合には、第2特図変動表示ゲームが実
行される。
That is, when there is a first start memory and a second start memory, the second special figure variation display game is executed.

補助遊技としての第1特図変動表示ゲーム、第2特図変動表示ゲームは、遊技盤10に
設けられた第1特図表示器38、第2特図表示器39で実行されるようになっており、複
数の識別情報を変動表示したのち、所定の結果態様を停止表示することで行われる。また
、表示装置53にて各特図変動表示ゲームに対応して複数種類の識別情報(例えば、数字
、記号、キャラクタ図柄など)を変動表示させる特図変動表示ゲームが実行される。そし
て、この特図変動表示ゲームの結果として、第1特図表示器38又は第2特図表示器39
の表示態様が特別結果態様となった場合には、大当たりとなって特別遊技状態(いわゆる
、大当たり状態)となる。また、これに対応して表示装置53の表示態様も特別結果態様
(例えば、「7,7,7」等のゾロ目数字の何れか)となる。なお、遊技機に第1特図表
示器38、第2特図表示器39を備えずに、表示装置53のみで特図変動表示ゲームを実
行するようにしてもよい。
The first special figure change display game and the second special figure change display game as the auxiliary game are executed by the first special figure display 38 and the second special figure display 39 provided on the game board 10. After a plurality of pieces of identification information are variably displayed, a predetermined result mode is stopped and displayed. In addition, a special figure fluctuation display game is executed in which a plurality of types of identification information (for example, numbers, symbols, character designs, etc.) are variably displayed on the display device 53 corresponding to each special figure fluctuation display game. And as a result of this special figure fluctuation display game, the first special figure display 38 or the second special figure display 39
When the display mode becomes a special result mode, a special game state (so-called jackpot state) is set. Correspondingly, the display mode of the display device 53 is also a special result mode (for example, any one of the numbers in the flat order such as “7, 7, 7”). The game machine may not be provided with the first special figure display 38 and the second special figure display 39, and the special figure variation display game may be executed only by the display device 53.

また、本実施形態の遊技機1は、特図変動表示ゲームの結果態様に基づき、遊技状態と
して確変状態(第2確率状態)を発生可能となっている。この確変状態(第2確率状態)
は、特図変動表示ゲームでの当り結果となる確率が、通常確率状態(第1確率状態)に比
べて高い状態である。なお、第1特図変動表示ゲームと第2特図変動表示ゲームのどちら
の特図変動表示ゲームの結果態様に基づき確変状態となっても、第1特図変動表示ゲーム
及び第2特図変動表示ゲームの両方が確変状態となる。また、確変状態と上述した時短動
作状態はそれぞれ独立して発生可能であり、両方を同時に発生することも可能であるし、
一方のみを発生させることも可能である。
In addition, the gaming machine 1 of the present embodiment can generate a probability variation state (second probability state) as a gaming state based on the result mode of the special figure variation display game. This probability variation state (second probability state)
Is a state in which the probability of a hit result in the special figure variation display game is higher than the normal probability state (first probability state). It should be noted that the first special figure fluctuation display game and the second special figure fluctuation regardless of whether the first special figure fluctuation display game or the second special figure fluctuation display game results in the result mode of the special figure fluctuation display game. Both display games are in a probable state. In addition, the probability variation state and the short-time operation state described above can be generated independently, and both can be generated simultaneously,
It is also possible to generate only one.

図3は、本発明の第1実施形態の遊技機1の構成を示すブロック図である。   FIG. 3 is a block diagram showing a configuration of the gaming machine 1 according to the first embodiment of the present invention.

遊技機1は、遊技を統括的に制御する遊技制御装置500、各種演出を行うために表示
装置53及びスピーカ30等を制御する演出制御装置550、遊技球を払い出すために図
示しない払出モータを制御する払出制御装置580を備える。
The gaming machine 1 includes a game control device 500 that controls the game in an integrated manner, an effect control device 550 that controls the display device 53 and the speaker 30 to perform various effects, and a payout motor (not shown) for paying out game balls. A payout control device 580 for controlling is provided.

まず、遊技制御装置500について説明する。図4では、演出制御装置550について
説明する。
First, the game control device 500 will be described. In FIG. 4, the effect control device 550 will be described.

遊技制御装置500は、遊技用マイコン501、入力I/F(Interface)5
05、出力I/F(Interface)506、及び外部通信端子507を備える。
The game control device 500 includes a game microcomputer 501 and an input I / F (Interface) 5.
05, an output I / F (Interface) 506, and an external communication terminal 507.

遊技用マイコン501は、CPU502、ROM(Read Only Memory
)503及びRAM(Random Access Memory)504を備える。
The gaming microcomputer 501 includes a CPU 502 and a ROM (Read Only Memory).
) 503 and RAM (Random Access Memory) 504.

CPU502は、遊技を統括的に制御する主制御装置であって、遊技制御を司る。RO
M503は、遊技制御のための不変の情報(プログラム、データ等)を記憶している。R
AM504は、遊技制御時にワークエリアとして利用される。
The CPU 502 is a main control device that controls the game in an integrated manner, and controls the game. RO
M503 stores invariant information (program, data, etc.) for game control. R
The AM 504 is used as a work area during game control.

外部通信端子507は、遊技制御装置500の設定情報等を検査する検査装置等の外部
機器に遊技制御装置500を接続する。
The external communication terminal 507 connects the game control device 500 to an external device such as an inspection device that inspects the setting information of the game control device 500.

CPU502は、入力I/F505を介して各種入力装置(第1始動口SW45a、第
2始動口SW36d、一般入賞口SW44a、ゲートSW34a、カウントSW42d、
ガラス枠開放SW18a、前面枠開放SW3a、球切れSW54、振動センサ55、及び
磁気センサ56)からの検出信号を受けて、大当り抽選等、種々の処理を行う。
The CPU 502 receives various input devices (a first start port SW45a, a second start port SW36d, a general winning port SW44a, a gate SW34a, a count SW42d, via an input I / F 505).
Upon receiving detection signals from the glass frame opening SW 18a, the front frame opening SW 3a, the ball break SW 54, the vibration sensor 55, and the magnetic sensor 56), various processes such as a big hit lottery are performed.

第1始動口SW45aは、第1始動入賞口45に遊技球が入賞したことを検出するスイ
ッチである。第2始動口SW36dは、普通変動入賞装置36の第2始動入賞口に遊技球
が入賞したことを検出するスイッチである。
The first start port SW 45 a is a switch that detects that a game ball has won the first start winning port 45. The second start port SW 36 d is a switch that detects that a game ball has won a second start winning port of the normal variation winning device 36.

一般入賞口SWa44a〜44nは、一般入賞口44に遊技球が入賞したことを検出す
るスイッチである。ゲートSW34aは、普図始動ゲート34を遊技球が通過したことを
検出するスイッチである。
The general winning openings SWa 44 a to 44 n are switches that detect that a game ball has won the general winning opening 44. The gate SW 34a is a switch that detects that a game ball has passed through the usual start gate 34.

カウントSW42dは、特別変動入賞装置42の大入賞口に遊技球が入賞したことを検
出するスイッチである。
The count SW 42d is a switch that detects that a game ball has won a special winning opening of the special variable winning device 42.

ガラス枠開放SW18aは、ガラス枠18が開放されたことを検出するスイッチである
。前面枠開放SW3aは、前面枠3が開放されたことを検出するスイッチである。
The glass frame opening SW 18a is a switch that detects that the glass frame 18 has been opened. The front frame opening SW 3a is a switch for detecting that the front frame 3 is opened.

球切れSW54は、遊技機1の内部に貯留され、払い出しに用いられる遊技球の数が所
定数以下になったことを検出するスイッチである。
The ball cut SW 54 is a switch that detects that the number of game balls stored in the gaming machine 1 and used for payout has become a predetermined number or less.

振動センサ55は、遊技機1に与えられた振動を検出するセンサであり、遊技機1に振
動を与えて、不当に遊技球を獲得する不正を検出する。磁気センサ56は、第1始動入賞
口45、普通変動入賞装置36の第2始動入賞口、一般入賞口44、特別変動入賞装置4
2の大入賞口、及び普図始動ゲート34付近に設けられ、磁力を検出するセンサである。
磁気センサ93は、各入賞口付近に磁石を近づけて、遊技領域10aに発射された遊技球
を各入賞口に導く不正を検出する。
The vibration sensor 55 is a sensor that detects a vibration applied to the gaming machine 1 and detects a fraud that improperly acquires a gaming ball by applying a vibration to the gaming machine 1. The magnetic sensor 56 includes the first start winning port 45, the second starting winning port of the normal variation winning device 36, the general winning port 44, and the special variable winning device 4.
2 is a sensor that detects magnetic force and is provided in the vicinity of the two prize winning openings and the normal start gate 34.
The magnetic sensor 93 detects a fraud that brings a magnet close to each winning hole and guides a game ball launched to the gaming area 10a to each winning hole.

また、CPU502は、出力I/F506を介して、第1特図表示器38、第1特図記
憶表示器48、第2特図表示器39、第2特図記憶表示器49、普図表示器35、普電S
OL36b、大入賞口SOL42b、払出制御装置580、及び演出制御装置550に指
令信号を送信して、遊技を統括的に制御する。
In addition, the CPU 502 receives the first special figure display 38, the first special figure storage display 48, the second special figure display 39, the second special figure storage display 49, and the common figure display via the output I / F 506. 35, Fudenden S
A command signal is transmitted to the OL 36b, the special winning opening SOL42b, the payout control device 580, and the effect control device 550 to control the game in an integrated manner.

第1特図表示器38には、第1始動入賞口45に遊技球が入賞した場合に補助遊技とし
て実行される第1特図変動表示ゲームが表示される。第1特図記憶表示器48には、所定
の上限数の範囲内で記憶される第1特図変動表示ゲームを開始する始動権利である第1始
動記憶数が表示される。
The first special figure display 38 displays a first special figure fluctuation display game that is executed as an auxiliary game when a game ball wins the first start winning opening 45. The first special figure memory display 48 displays a first start memory number that is a right to start the first special figure variable display game stored within a predetermined upper limit number range.

第2特図表示器39には、普通変動入賞装置36の大入賞口に遊技球が入賞した場合に
補助遊技として実行される第2特図変動表示ゲームが表示される。第2特図記憶表示器4
9には、所定の上限数の範囲内で記憶される第2特図変動表示ゲームを開始する始動権利
である第2始動記憶数が表示される。
The second special figure display 39 displays a second special figure fluctuation display game that is executed as an auxiliary game when a game ball wins a big winning opening of the normal fluctuation winning device 36. Second special figure memory display 4
In 9, a second start memory number that is a start right to start the second special figure variable display game stored within the range of the predetermined upper limit number is displayed.

普図表示器35には、遊技球が普図始動ゲート34を通過した場合に行われる普図変動
表示ゲームが表示される。
The general map display 35 displays a general map change display game that is performed when the game ball passes the general map start gate 34.

普電SOL36bは、普図表示器35で実行される普図変動表示ゲームの停止表示が特
別の結果態様となった場合に、開閉部材36a、36aを開放し、普通変動入賞装置36
の第2始動入賞口を遊技球が入賞しやすい状態にする。
The general electric power SOL 36b opens the opening and closing members 36a, 36a when the stop display of the general variable display game executed on the general display display 35 becomes a special result mode, and the normal variable prize winning device 36 is opened.
The second starting winning opening is made in a state where the game ball can easily win.

大入賞口SOL42bは、第1特図変動表示ゲーム又は第2特図変動表示ゲームの結果
が特別の結果態様となり、特別遊技状態となった場合に、特別変動入賞装置42の開閉扉
42aを開放して、大入賞口を遊技球が入賞しやすい状態に変換する。
The special winning opening SOL42b opens the open / close door 42a of the special variable winning device 42 when the result of the first special figure fluctuation display game or the second special figure fluctuation display game becomes a special result mode and becomes a special game state. Then, the big winning opening is converted into a state in which the game ball is easy to win.

また、遊技制御装置500は、遊技機データを、外部情報端子508を介して、図示し
ない情報収集端末装置を介して、図示しない遊技場管理装置に出力する。遊技場管理装置
は、遊技場に設置された遊技機1の遊技データを収集管理する計算機である。
In addition, the game control device 500 outputs the gaming machine data to a game hall management device (not shown) via an external information terminal 508 and an information collection terminal device (not shown). The gaming hall management device is a computer that collects and manages gaming data of the gaming machines 1 installed in the gaming hall.

また、払出制御装置580は、遊技球が一般入賞口44又は大入賞口に入賞した場合に
、入賞した入賞口に対応する数の遊技球の払い出し、又は球貸ボタン26が操作された場
合に、所定数の遊技球の払い出しを行う払出指令を遊技制御装置500から受信した場合
に、受信した払出指令に基づいて、図示しない払出モータを制御する。なお、払出指令に
は、払い出す遊技球の数が含まれる。
In addition, the payout control device 580 pays out the number of game balls corresponding to the winning winning opening when the gaming ball wins the general winning opening 44 or the big winning opening, or the ball lending button 26 is operated. When a payout command for paying out a predetermined number of game balls is received from the game control device 500, a payout motor (not shown) is controlled based on the received payout command. The payout command includes the number of game balls to be paid out.

遊技制御装置500は、変動開始コマンド、客待ちデモコマンド、ファンファーレコマ
ンド、確率情報コマンド、及びエラー指定コマンド等を、遊技の状況を示す遊技データと
して、出力I/F506を介して、演出制御装置550へ送信する。
The game control device 500 uses a change start command, a customer waiting demo command, a fanfare command, a probability information command, an error designation command, and the like as game data indicating the game situation via the output I / F 506, and the effect control device 550. Send to.

図4は、本発明の第1の実施形態の演出制御装置550の構成を示すブロック図である
FIG. 4 is a block diagram showing a configuration of the effect control device 550 according to the first embodiment of the present invention.

演出制御装置550は、遊技制御装置500から入力される遊技データ(表示制御指令
)に基づいて、演出内容を決定して、表示装置53、及びスピーカ30を制御するととも
に、装飾制御装置610を介して装飾装置620、役物駆動SOL560(ソレノイド)
、及び役物駆動MOT(モータ)561を制御する。詳細は後述するが、これら装飾装置
620、役物駆動SOL560、及び役物駆動MOT561(総称して演出装置という)
によって、遊技の演出が行われる。また、演出制御装置550は、演出ボタン17から当
該演出ボタン17が操作されたことを示す信号が入力される。
The effect control device 550 determines the contents of the effect based on the game data (display control command) input from the game control device 500, controls the display device 53 and the speaker 30, and via the decoration control device 610. Decoration device 620, accessory drive SOL560 (solenoid)
, And the accessory driving MOT (motor) 561 is controlled. Although details will be described later, the decoration device 620, the accessory driving SOL 560, and the accessory driving MOT 561 (collectively referred to as a production device).
As a result, the game is produced. The effect control device 550 receives a signal indicating that the effect button 17 has been operated from the effect button 17.

演出制御装置550は、CPU551、制御ROM552、RAM553、画像ROM
554、音ROM555、VDP556、音LSI557、入出力I/F558、電源投
入検出回路559、マスタIC570、及びNORゲート回路590を備える。
The production control device 550 includes a CPU 551, a control ROM 552, a RAM 553, and an image ROM.
554, sound ROM 555, VDP 556, sound LSI 557, input / output I / F 558, power-on detection circuit 559, master IC 570, and NOR gate circuit 590.

CPU551は、遊技制御装置500に接続され、遊技制御装置500から指令信号が
割込信号(INT)として入力され、入力された指令信号に基づいて、各種演出を制御す
る主制御装置である。また、CPU551には、マスタIC570の後述するコントロー
ラから割込信号が入力されるとともに、VDP556から割込信号が入力される。
The CPU 551 is connected to the game control device 500, receives a command signal from the game control device 500 as an interrupt signal (INT), and is a main control device that controls various effects based on the input command signal. In addition, an interrupt signal is input to the CPU 551 from a controller of the master IC 570 which will be described later, and an interrupt signal is input from the VDP 556.

なお、CPU551に割込信号が入力されると、CPU551は、現在実行中の処理を
中断して、入力された割込信号に対応する処理を実行する。
When an interrupt signal is input to the CPU 551, the CPU 551 interrupts the process currently being executed and executes a process corresponding to the input interrupt signal.

制御ROM552には、演出制御のための不変の情報(プログラム、データ等)が格納
されている。RAM553は、演出制御時にワークエリアとして利用される。
The control ROM 552 stores invariant information (program, data, etc.) for effect control. The RAM 553 is used as a work area during production control.

画像ROM554には、表示装置53に表示される画像データが格納され、画像ROM
554はVDP556に接続されている。音ROM555には、スピーカ30から出力さ
れる音データが格納され、音ROM555は音LSI557に接続されている。
The image ROM 554 stores image data to be displayed on the display device 53, and the image ROM
554 is connected to the VDP 556. The sound ROM 555 stores sound data output from the speaker 30, and the sound ROM 555 is connected to the sound LSI 557.

VDP556は、表示装置53への画像出力を制御するプロセッサである。音LSI5
57は、スピーカ30からの音声出力を制御する回路である。
The VDP 556 is a processor that controls image output to the display device 53. Sound LSI5
Reference numeral 57 denotes a circuit that controls the sound output from the speaker 30.

なお、VDP556は、表示装置53に表示される画像を更新する周期(33ms周期
)と同期する同期信号を発生させる同期信号発生手段を備える。同期信号発生手段は、同
期信号を発生させるごとに、発生させた同期信号をCPU551に割込信号として入力す
る。
Note that the VDP 556 includes synchronization signal generation means for generating a synchronization signal that is synchronized with a cycle (33 ms cycle) for updating an image displayed on the display device 53. Every time the synchronization signal is generated, the synchronization signal generation means inputs the generated synchronization signal to the CPU 551 as an interrupt signal.

入出力I/F558は、演出ボタン17、モータ位置検出センサ510、及びNORゲ
ート回路590に接続されるインタフェースであり、演出ボタン17からの操作信号、及
びモータ位置検出センサ510からのモータ位置検出信号をCPU551へ伝達するとと
もに、CPU551からのリセット信号をNORゲート回路590へ伝達する。
The input / output I / F 558 is an interface connected to the effect button 17, the motor position detection sensor 510, and the NOR gate circuit 590, an operation signal from the effect button 17, and a motor position detection signal from the motor position detection sensor 510. Is transmitted to the CPU 551 and a reset signal from the CPU 551 is transmitted to the NOR gate circuit 590.

なお、演出ボタン17は、上皿21の上縁部に設けられ、表示装置53で実行される第
1特図変動表示ゲーム又は第2特図変動表示ゲームにおける演出で、遊技者によって操作
される。
The effect button 17 is provided on the upper edge portion of the upper plate 21 and is operated by the player in an effect in the first special figure fluctuation display game or the second special figure fluctuation display game executed on the display device 53. .

また、モータ位置検出センサ510は、役物駆動MOT561の回転軸が初期位置まで
回転したことを検出した場合に、モータ位置検出信号を出力するセンサである。
The motor position detection sensor 510 outputs a motor position detection signal when it is detected that the rotation shaft of the accessory driving MOT 561 has rotated to the initial position.

なお、NORゲート回路590は、マスタIC570のコントローラに備わるRESE
T端子、及び初期化を必要とする他の回路に接続される。初期化を必要とする他の回路と
は、例えば、VDP556や音LSI557などである。これらは、演出制御装置550
に電源が投入されて起動したときに、CPU551により初期化されるものである。
Note that the NOR gate circuit 590 includes a RSE provided in the controller of the master IC 570.
Connected to the T terminal and other circuits that require initialization. Other circuits that require initialization include, for example, the VDP 556 and the sound LSI 557. These are the production control device 550.
When the power is turned on and started up, the CPU 551 initializes it.

CPU551、VDP556、RAM553、制御ROM552、音LSI557、及
び入出力I/F558はバス563を介してそれぞれ接続されている。
The CPU 551, VDP 556, RAM 553, control ROM 552, sound LSI 557, and input / output I / F 558 are connected via a bus 563.

電源投入検出回路559は、演出制御装置550に電源が投入された場合に、マスタI
C570の図示しないレジスタをデフォルト状態(すべて0)に初期化するリセット信号
を発生させ、発生させたリセット信号をNORゲート回路590へ出力する。
The power-on detection circuit 559 detects the master I when the production control device 550 is powered on.
A reset signal that initializes a register (not shown) of C570 to a default state (all 0s) is generated, and the generated reset signal is output to the NOR gate circuit 590.

また、CPU551は、所定の条件が成立した場合に、リセット信号をバス563を介
して入出力I/F558に出力し、入出力I/F558は入力されたリセット信号をNO
Rゲート回路590へ出力する。
The CPU 551 outputs a reset signal to the input / output I / F 558 via the bus 563 when a predetermined condition is satisfied, and the input / output I / F 558 outputs the input reset signal to NO.
Output to the R gate circuit 590.

なお、電源投入検出回路559からNORゲート回路590へ入力されるリセット信号
、及びCPU551から入出力I/F558を介してNORゲート回路590へ入力され
るリセット信号は、いずれの場合にもロウレベルの状態である場合にリセットを指令する
信号として機能する。そのため、電源投入検出回路559及びCPU551の少なくとも
一方からNORゲート回路590にリセット信号が出力されていれば、NORゲート回路
590を介してリセット信号がマスタIC570に入力される。
Note that the reset signal input from the power-on detection circuit 559 to the NOR gate circuit 590 and the reset signal input from the CPU 551 to the NOR gate circuit 590 via the input / output I / F 558 are in a low level state in any case. Function as a signal to command resetting. Therefore, if at least one of the power-on detection circuit 559 and the CPU 551 outputs a reset signal to the NOR gate circuit 590, the reset signal is input to the master IC 570 via the NOR gate circuit 590.

上述したように、NORゲート回路590は、マスタIC570及び初期化を必要とす
る他の回路に接続されるため、NORゲート回路590にリセットが入力されると、マス
タIC570及び当該NORゲート回路590に接続される初期化を必要とする他の回路
が初期化される。
As described above, since the NOR gate circuit 590 is connected to the master IC 570 and other circuits that require initialization, when a reset is input to the NOR gate circuit 590, the master IC 570 and the NOR gate circuit 590 are input to the NOR gate circuit 590. Other circuits that require initialization to be connected are initialized.

なお、初期化を必要とする他の回路がない場合には、NORゲート回路590は、マス
タIC570にのみ接続される。
Note that when there is no other circuit that requires initialization, the NOR gate circuit 590 is connected only to the master IC 570.

次に、マスタIC570について説明する。   Next, the master IC 570 will be described.

マスタIC570は、制御対象となる演出装置の装飾制御装置610のアドレスを指定
して、指定したアドレスの装飾制御装置610に演出装置の制御内容を出力する。
Master IC 570 designates the address of decoration control device 610 of the rendering device to be controlled, and outputs the control content of the rendering device to decoration control device 610 at the designated address.

マスタIC570は、接続線Vcc、接続線Vact、接続線SDA、接続線SCL、
及び接続線GND(図5参照)の5本の接続線を介して、中継基板(装飾制御装置)60
0に接続される。
The master IC 570 includes a connection line Vcc, a connection line Vact, a connection line SDA, a connection line SCL,
And the relay board (decoration control device) 60 via the five connection lines of the connection line GND (see FIG. 5).
Connected to 0.

接続線Vccは、中継基板600及び装飾制御装置610に、ロジック用の電源を供給
するための接続線である。接続線Vactは、演出装置を駆動させるための電源(例えば
、LEDを発光させるための電源)を供給するための接続線である。接続線SDAは、演
出制御装置550と装飾制御装置610との間でデータを通信するための接続線であり、
本実施形態におけるデータ線として機能する。接続線SCLは、接続線SDAでのデータ
通信に用いられるクロック信号を入出力するための接続線であり、本実施形態におけるタ
イミング信号線として機能する。図5に示す接続線GNDは、接続線Vcc及び接続線V
actで供給される電源のグランドである。
The connection line Vcc is a connection line for supplying logic power to the relay board 600 and the decoration control device 610. The connection line Vact is a connection line for supplying a power source for driving the effect device (for example, a power source for causing the LED to emit light). Connection line SDA is a connection line for communicating data between effect control device 550 and decoration control device 610.
It functions as a data line in this embodiment. The connection line SCL is a connection line for inputting and outputting a clock signal used for data communication through the connection line SDA, and functions as a timing signal line in the present embodiment. The connection line GND shown in FIG. 5 includes a connection line Vcc and a connection line V.
This is the ground of the power supplied by act.

中継基板600と装飾制御装置610との間は、マスタIC570と中継基板600と
の間と同じく、接続線Vcc、接続線Vact、接続線SDA、接続線SCL、及び接続
線GNDを介して接続される。
The relay board 600 and the decoration control device 610 are connected to each other through the connection line Vcc, the connection line Vact, the connection line SDA, the connection line SCL, and the connection line GND, similarly to the master IC 570 and the relay board 600. The

マスタIC570と装飾制御装置610とは、接続線SDA及び接続SCLによって2
ライン双方向通信を行う。
Master IC 570 and decoration control device 610 are connected to each other by connection line SDA and connection SCL.
Line bi-directional communication.

マスタIC570は、中継基板600及び装飾制御装置610にデータを送信する場合
には、まず、接続線SCLの信号レベルをHIGHに維持したまま、接続線SDAの信号
レベルをHIGHからLOWに変化させることにより、装飾制御装置610へのデータ出
力を開始するためのスタート条件を成立させる(装飾制御装置610に対してスタートコ
ンディションを発行する)。
When transmitting data to the relay board 600 and the decoration control device 610, the master IC 570 first changes the signal level of the connection line SDA from HIGH to LOW while maintaining the signal level of the connection line SCL at HIGH. Thus, a start condition for starting data output to the decoration control device 610 is established (a start condition is issued to the decoration control device 610).

この後、マスタIC570は、接続線SCLの信号レベルをLOWに変更し、接続線S
CLの信号レベルがLOWである間に接続線SDAの信号レベルを送信データの最初のビ
ットのレベルに設定し、所定時間後に接続線SCLの信号レベルをLOWからHIGHに
変化させる。接続線SCLの信号レベルがHIGHに変化すると、装飾制御装置610は
接続線SDAの信号レベルを取り込んで、送信データの最初のビットとして認識する。次
いで、マスタIC570は、接続線SCLの信号レベルをHIGHからLOWに戻す。
Thereafter, the master IC 570 changes the signal level of the connection line SCL to LOW, and connects the connection line SCL.
While the CL signal level is LOW, the signal level of the connection line SDA is set to the level of the first bit of the transmission data, and after a predetermined time, the signal level of the connection line SCL is changed from LOW to HIGH. When the signal level of the connection line SCL changes to HIGH, the decoration control device 610 takes in the signal level of the connection line SDA and recognizes it as the first bit of the transmission data. Next, the master IC 570 returns the signal level of the connection line SCL from HIGH to LOW.

この手順を1回実行すると、マスタIC570から装飾制御装置610へ1ビットのデ
ータが送信され、最終的にはこの手順が8回繰り返されることで、送信データの単位ビッ
トである8ビット全てがマスタIC570から装飾制御装置610へ送信される(1バイ
ト分のデータが送信される)。
When this procedure is executed once, 1-bit data is transmitted from the master IC 570 to the decoration control device 610. Finally, this procedure is repeated 8 times, so that all 8 bits, which are unit bits of transmission data, are master. The data is transmitted from the IC 570 to the decoration control device 610 (1 byte of data is transmitted).

そして、マスタIC570は、最後の8ビット目のデータを送信し終えて、接続線SC
Lの信号レベルをHIGHからLOWに戻した際に、接続線SDAを解放して装飾制御装
置610からの返答信号を受信することを待機する受信待機状態にする。
Then, the master IC 570 completes the transmission of the last 8-bit data and then connects to the connection line SC.
When the signal level of L is returned from HIGH to LOW, the connection line SDA is released to enter a reception standby state in which it waits to receive a response signal from the decoration control device 610.

受信待機状態になると、装飾制御装置610は、接続線SDAを介して1ビットの返答
信号(後述するACK又はNACK)をマスタIC570に返す。次いで、マスタIC5
70は、接続線SCLの信号レベルをLOWからHIGHに変化させて返答信号のレベル
を取り込み、所定時間後に接続線SCLの信号レベルをHIGHからLOWに変化させる
と、装飾制御装置610は接続線SDAを解放する。
In the reception standby state, the decoration control device 610 returns a 1-bit response signal (ACK or NACK described later) to the master IC 570 via the connection line SDA. Next, master IC5
70 changes the signal level of the connection line SCL from LOW to HIGH to capture the level of the response signal, and after a predetermined time, changes the signal level of the connection line SCL from HIGH to LOW, the decoration control device 610 causes the connection line SDA to change. To release.

マスタIC570は、このような1バイト分のデータ送信と1ビット分の返答信号の受
信とを交互に繰り返し、装飾制御装置610へ出力すべきデータがすべて出力されるまで
継続する。マスタIC570は、出力すべきデータの出力が終了した場合には、接続線S
CLの信号レベルをHIGHに維持したまま、接続線SDAの信号レベルをLOWからH
IGHに変更させることにより、装飾制御装置610へのデータ出力を終了するためのス
トップ条件を成立させる(装飾制御装置610に対してストップコンディションを発行す
る)。
The master IC 570 alternately repeats the data transmission for 1 byte and the reception of the response signal for 1 bit, and continues until all the data to be output to the decoration control device 610 is output. When the output of the data to be output is completed, the master IC 570 connects the connection line S
The signal level of the connection line SDA is changed from LOW to H while the CL signal level is kept HIGH.
By changing to IGH, a stop condition for ending data output to the decoration control device 610 is satisfied (a stop condition is issued to the decoration control device 610).

入力用BUF571は、装飾制御装置610から接続線SDAを介して入力されたデー
タが一時的に記憶される記憶装置である。
The input BUF 571 is a storage device that temporarily stores data input from the decoration control device 610 via the connection line SDA.

具体的には、マスタIC570が入力モードに設定された場合において、装飾制御装置
610からマスタIC570に送信されたデータが、フィルタ575Aによりノイズが除
去されて入力用BUF571に一時的に記憶される。
Specifically, when the master IC 570 is set to the input mode, the data transmitted from the decoration control device 610 to the master IC 570 is temporarily stored in the input BUF 571 with noise removed by the filter 575A.

出力用BUF572は、装飾制御装置610に接続線SDAを介して出力するデータが
一時的に記憶される。
The output BUF 572 temporarily stores data to be output to the decoration control device 610 via the connection line SDA.

リセットREG573は、本実施形態の初期化指示データ記憶領域として機能するもの
で、バス563に接続され、CPU551からの指令を受けてリセット信号をコントロー
ラに出力する。コントローラは、マスタIC570を統括的に制御し、各種処理を実行す
る。
The reset REG 573 functions as an initialization instruction data storage area of this embodiment, and is connected to the bus 563 and receives a command from the CPU 551 and outputs a reset signal to the controller. The controller comprehensively controls the master IC 570 and executes various processes.

送信モードREG574は、I2CI/Oエクスパンダ615へデータを送信するモー
ドを、バイトモード又はバッファモードにするかを選択するためのレジスタである。
The transmission mode REG574 is a register for selecting whether the mode for transmitting data to the I 2 CI / O expander 615 is the byte mode or the buffer mode.

バイトモードは、マスタIC570が、I2CI/Oエクスパンダ615へデータを1
バイト送信する毎に、I2CI/Oエクスパンダ615からACK又はNACKを受信し
、ACK及びNACKの何れを受信した場合でも、マスタIC570からCPU551に
割込信号を出力するモードである。
In byte mode, the master IC 570 sends 1 data to the I 2 CI / O expander 615.
In this mode, an ACK or NACK is received from the I 2 CI / O expander 615 each time a byte is transmitted, and an interrupt signal is output from the master IC 570 to the CPU 551 when either ACK or NACK is received.

バッファモードは、マスタIC570が、出力用BUF572に格納された複数バイト
のデータを、I2CI/Oエクスパンダ615へ1バイト毎送信し、その送信の都度、I2
CI/Oエクスパンダ615からACK又はNACKを受信するととともに、NACKを
受信した場合には、その時点で、割込信号をCPU551に出力するモードである。
Buffer mode, master IC570 is, data of a plurality of bytes stored in the output BUF572, sends each byte to I 2 CI / O expander 615, each of the transmission, I 2
In this mode, when an ACK or NACK is received from the CI / O expander 615 and an NACK is received, an interrupt signal is output to the CPU 551 at that time.

但し、バッファモードでは、ACKを受信した場合には、出力用BUF572に格納さ
れたすべてのデータが送信完了となった場合にのみ、割込信号をCPU551に出力し、
マスタIC570は、出力用BUF572に未送信のデータが残っている状態でI2CI
/Oエクスパンダ615からACKを受信したときには、割込信号をCPU551に出力
せずに、出力用BUF572から次の送信すべきデータを取り出して、I2CI/Oエク
スパンダ615へ出力する制御が繰り返される。
However, in the buffer mode, when an ACK is received, an interrupt signal is output to the CPU 551 only when transmission of all data stored in the output BUF 572 is completed,
The master IC 570 performs I 2 CI in a state where untransmitted data remains in the output BUF 572.
When the ACK is received from the / O expander 615, the control for outputting the next data to be transmitted from the output BUF572 without outputting the interrupt signal to the CPU 551 and outputting the data to the I 2 CI / O expander 615 is performed. Repeated.

なお、バイトモードは、マスタIC570が、後述する初期化指示データ及び可動制御
データをI2CI/Oエクスパンダ615へ出力する場合に用いられる。バッファモード
は、マスタIC570が、後述する発光制御データをI2CI/Oエクスパンダ615へ
出力する場合に用いられる。
The byte mode is used when the master IC 570 outputs initialization instruction data and movable control data described later to the I 2 CI / O expander 615. The buffer mode is used when the master IC 570 outputs light emission control data to be described later to the I 2 CI / O expander 615.

ステータスREG579は、マスタIC570がI2CI/Oエクスパンダ615から
受信した返答信号が、ACKであったのかNACKであったのかを識別するレジスタであ
る。マスタIC570は、CPU551に割込信号を出力する際に、I2CI/Oエクス
パンダ615から受信した返答信号に対応して、ステータスREG579の値を設定する
The status REG 579 is a register that identifies whether the response signal received by the master IC 570 from the I 2 CI / O expander 615 is ACK or NACK. When the master IC 570 outputs an interrupt signal to the CPU 551, the master IC 570 sets the value of the status REG 579 corresponding to the response signal received from the I 2 CI / O expander 615.

フィルタ575Aは、接続線SDAから入力されたデータのノイズを除去する。ドライ
バ576Aは、接続線SDAからデータを出力する場合に、トランジスタ578Aが動作
可能な電圧をトランジスタ578Aに印加する。
The filter 575A removes noise from data input from the connection line SDA. When the driver 576A outputs data from the connection line SDA, the driver 576A applies a voltage at which the transistor 578A can operate to the transistor 578A.

図9に示すように接続線SDAには、プルアップ抵抗Rによって所定の電圧が印加され
て、接続線SDAはフィルタ575A及びトランジスタ578Aに接続されている。
As shown in FIG. 9, a predetermined voltage is applied to the connection line SDA by the pull-up resistor R, and the connection line SDA is connected to the filter 575A and the transistor 578A.

トランジスタ578Aは、電力消費を抑えるために電界効果トランジスタ(FET)が
用いられており、トランジスタ578Aのゲートはドライバ576Aに接続され、ドレイ
ンはプルアップ抵抗Rにより所定の電圧が印加された接続線SDAに接続され、ソースは
接地されている。
The transistor 578A uses a field effect transistor (FET) to reduce power consumption. The gate of the transistor 578A is connected to the driver 576A, and the drain is a connection line SDA to which a predetermined voltage is applied by the pull-up resistor R. And the source is grounded.

トランジスタ578Aのゲートに印加される電圧がトランジスタ578Aを動作させる
所定値よりも小さければ、ドレインとソースとの間に電流が流れないので、接続線SDA
に印加された電圧は降下せず、その結果、接続線SDAはHIGHレベルとなる。一方、
トランジスタ578Aのゲートに印加される電圧がトランジスタ578Aを動作させる所
定値以上であれば、所定値の電圧が印加されたドレインから接地されているソースへ電流
が流れることによって、接続線SDAの電圧が低下し、その結果、接続線SDAはLOW
レベルとなる。
If the voltage applied to the gate of the transistor 578A is smaller than a predetermined value for operating the transistor 578A, no current flows between the drain and the source.
As a result, the connection line SDA becomes HIGH level. on the other hand,
If the voltage applied to the gate of the transistor 578A is equal to or higher than a predetermined value for operating the transistor 578A, a current flows from the drain to which the predetermined voltage is applied to the grounded source, whereby the voltage of the connection line SDA is reduced. As a result, the connection line SDA is LOW.
Become a level.

なお、トランジスタ578Aは、10ミリアンペア程度の電流をドレインからソースへ
流しても破損しない仕様のものを用いている。このため、接続線SDAには、通常のI2
Cバス使用で用いられる電流値よりもはるかに大きい10ミリアンペア程度の電流を流す
ことが可能であり、演出制御装置550と装飾制御装置610との間のデータ送信が、ノ
イズによる障害に耐えうる構成となっている。
Note that the transistor 578A has a specification that does not break even when a current of about 10 milliamperes flows from the drain to the source. For this reason, the connection line SDA has a normal I 2.
It is possible to pass a current of about 10 milliamperes that is much larger than the current value used when using the C bus, and the data transmission between the production control device 550 and the decoration control device 610 can withstand a failure due to noise. It has become.

ドライバ576Aは、データを接続線SDAから出力する場合に、トランジスタ578
Aにドレインとソースとの間に電流を流すためにトランジスタ578Aのゲートにトラン
ジスタ578Aが動作可能な値の電圧を印加する。そして、ドライバ576Aは、接続線
SDAの電圧を、HIGHレベル又はLOWレベルに設定することによって、データを接
続線SDAから出力する。
When the driver 576A outputs data from the connection line SDA, the driver 576A
In order to pass a current between the drain and the source of A, a voltage with a value that allows the transistor 578A to operate is applied to the gate of the transistor 578A. Then, the driver 576A outputs data from the connection line SDA by setting the voltage of the connection line SDA to HIGH level or LOW level.

また、フィルタ575Bは、接続線SCLから入力されたデータのノイズを除去する。
ドライバ576Bは、接続線SCLからデータを出力する場合に、トランジスタ578B
が動作可能な電圧をトランジスタ578Bに印加する。
The filter 575B removes noise from data input from the connection line SCL.
When the driver 576B outputs data from the connection line SCL, the driver 576B
Is applied to the transistor 578B.

図9に示すように接続線SCLは、プルアップ抵抗Rによって所定の電圧が印加されて
、接続線SDAはフィルタ575B及びトランジスタ578Bに接続されている。
As shown in FIG. 9, a predetermined voltage is applied to the connection line SCL by the pull-up resistor R, and the connection line SDA is connected to the filter 575B and the transistor 578B.

トランジスタ578Bは、電力消費を抑えるために電界効果トランジスタ(FET)が
用いられており、トランジスタ578Bのゲートはドライバ576Bに接続され、ドレイ
ンはプルアップ抵抗Rにより所定の電圧が印加された接続線SCLに接続され、ソースは
接地されている。
The transistor 578B uses a field effect transistor (FET) to suppress power consumption, the gate of the transistor 578B is connected to the driver 576B, and the drain is a connection line SCL to which a predetermined voltage is applied by the pull-up resistor R. And the source is grounded.

トランジスタ578Bのゲートに印加される電圧がトランジスタ578Bを動作させる
所定値よりも小さければ、ドレインとソースとの間に電流が流れないので、接続線SCL
に印加された電圧は降下せず、その結果、接続線SCLはHIGHレベルとなる。一方、
トランジスタ578Bのゲートに印加される電圧がトランジスタ578Bを動作させる所
定値以上であれば、所定値の電圧が印加されたドレインから接地されているソースへ電流
が流れることによって、接続線SCLの電圧が低下し、その結果、接続線SCLはLOW
レベルとなる。
If the voltage applied to the gate of the transistor 578B is smaller than a predetermined value for operating the transistor 578B, no current flows between the drain and the source.
As a result, the connection line SCL becomes HIGH level. on the other hand,
If the voltage applied to the gate of the transistor 578B is equal to or higher than a predetermined value for operating the transistor 578B, a current flows from the drain to which the predetermined voltage is applied to the grounded source, so that the voltage of the connection line SCL is reduced. As a result, the connection line SCL is LOW.
Become a level.

なお、トランジスタ578Bは、10ミリアンペア程度の電流をドレインからソースへ
流しても破損しない仕様のものを用いている。そのため、接続線SCLには、通常のI2
Cバス使用で用いられる電流値よりもはるかに大きい10ミリアンペア程度の電流を流す
ことが可能であり、演出制御装置550と装飾制御装置610との間のデータ送信が、ノ
イズによる障害に耐えうる構成となっている。
Note that the transistor 578B has a specification that does not break even when a current of about 10 milliamperes flows from the drain to the source. Therefore, the connection line SCL has a normal I 2.
It is possible to pass a current of about 10 milliamperes that is much larger than the current value used when using the C bus, and the data transmission between the production control device 550 and the decoration control device 610 can withstand a failure due to noise. It has become.

ドライバ576Bは、クロック信号を接続線SCLから出力する場合に、トランジスタ
578Bにドレインとソースとの間に電流を流すためにトランジスタ578Bのゲートに
トランジスタ578Bが動作可能な値の電圧を印加する。そして、ドライバ576Bは、
接続線SCLの電圧を、HIGHレベルとLOWレベルとに繰り返し変化させることによ
って、クロック信号を接続線SCLから出力する。
When the driver 576B outputs a clock signal from the connection line SCL, the driver 576B applies a voltage with a value that allows the transistor 578B to operate to the gate of the transistor 578B in order to cause a current to flow between the drain and the source of the transistor 578B. The driver 576B
A clock signal is output from the connection line SCL by repeatedly changing the voltage of the connection line SCL between a HIGH level and a LOW level.

電源投入リセット回路577は、マスタIC570に電源が投入されて、電源投入リセ
ット回路577内の電圧が所定値に達した場合に、入力用BUF571及び出力用BUF
572などの記憶領域をデフォルト状態にするためのリセット信号をコントローラに出力
する。
The power-on reset circuit 577 inputs the BUF 571 for input and the output BUF when the power is turned on to the master IC 570 and the voltage in the power-on reset circuit 577 reaches a predetermined value.
A reset signal for setting the storage area such as 572 to the default state is output to the controller.

次に、中継基板600及び装飾制御装置610について説明する。   Next, the relay board 600 and the decoration control device 610 will be described.

なお、中継基板600は、装飾制御装置610のうちマスタIC570に直接接続され
る、つまり最も上流側に位置するものである。
The relay board 600 is directly connected to the master IC 570 in the decoration control device 610, that is, located on the most upstream side.

装飾装置620は、装飾制御装置610に設けたI2CI/Oエクスパンダ615(図
6で後述)によって制御され、電流を流すことによって光が点滅して演出を行う発光装置
であり、例えばLEDなどで構成される。役物駆動ソレノイド(SOL)560は、電流
が流れると往復動作する装置であり、遊技盤10に配置される図示しない装飾のための役
物を可動させて演出を行う。役物駆動モータ(MOT)561は、電流が流れると回転動
作する装置であり、可動役物60を可動させて演出を行う。役物駆動ソレノイド(SOL
)560及び役物駆動モータ(MOT)561も、装飾制御装置610に設けたI2CI
/Oエクスパンダ615によって制御される。
The decoration device 620 is a light-emitting device that is controlled by an I 2 CI / O expander 615 (described later in FIG. 6) provided in the decoration control device 610 and flashes light when an electric current is passed. Etc. The accessory driving solenoid (SOL) 560 is a device that reciprocates when an electric current flows. The accessory driving solenoid (SOL) 560 moves an accessory for decoration (not shown) arranged on the game board 10 to produce an effect. The accessory driving motor (MOT) 561 is a device that rotates when an electric current flows, and produces an effect by moving the movable accessory 60. Actuator drive solenoid (SOL
) 560 and character object drive motor (MOT) 561 also provided in the decorative controller 610 I 2 CI
Controlled by the / O expander 615.

なお、役物駆動SOL560が可動役物60を可動させてもよいし、役物駆動MOT5
61が図示しない役物を可動させてもよい。
The accessory driving SOL 560 may move the movable accessory 60, or the accessory driving MOT5.
61 may move an unillustrated accessory.

演出制御装置550と中継基板600との接続方法、及び中継基板600と中継基板6
00以外の装飾制御装置610との接続方法は、図5で詳細を説明する。装飾制御装置6
10は、図6〜図10で詳細を説明する。
Method for connecting effect control device 550 and relay board 600, and relay board 600 and relay board 6
The connection method with the decoration control device 610 other than 00 will be described in detail with reference to FIG. Decoration control device 6
10 will be described in detail with reference to FIGS.

図5は、本発明の第1の実施形態の装飾制御装置610A〜610Fの接続の説明図で
ある。なお、説明の都合上、装飾制御装置610として、1個の中継基板600と、6個
の装飾制御装置610A〜610Fを図示しているが、実際には、遊技機の仕様に対応し
て必要な数の装飾制御装置610が接続されている。
FIG. 5 is an explanatory diagram of connections of the decoration control devices 610A to 610F according to the first embodiment of this invention. In addition, for convenience of explanation, one relay board 600 and six decoration control devices 610A to 610F are illustrated as the decoration control device 610, but actually, it is necessary to correspond to the specifications of the gaming machine. A large number of decoration control devices 610 are connected.

演出制御装置550は、接続線Vcc、接続線Vact、接続線SDA、接続線SCL
、及び接続線GND(以下、この5本の接続線を一つのハーネスという)を介して演出制
御装置550と接続される。
The production control device 550 includes a connection line Vcc, a connection line Vact, a connection line SDA, and a connection line SCL.
And the connection line GND (hereinafter, these five connection lines are referred to as one harness) and connected to the effect control device 550.

中継基板600には、二つの装飾制御装置610A及び610Dがそれぞれハーネスに
よって並列に接続される。
Two decoration control devices 610A and 610D are connected to the relay board 600 in parallel by harnesses.

装飾制御装置610Aにはハーネスを介して装飾制御装置610Bが接続され、装飾制
御装置610Bにはハーネスを介して装飾制御装置610Cが接続される。
The decoration control device 610B is connected to the decoration control device 610A via a harness, and the decoration control device 610C is connected to the decoration control device 610B via a harness.

一方、装飾制御装置610Dにはハーネスを介して装飾制御装置610Eが接続され、
装飾制御装置610Eにはハーネスを介して装飾制御装置610Fが接続される。
On the other hand, a decoration control device 610E is connected to the decoration control device 610D via a harness,
The decoration control device 610F is connected to the decoration control device 610E via a harness.

各装飾制御装置610は、ハーネスを自身に接続するための取付口となるコネクタを備
える。このコネクタは各装飾制御装置610で共通であるので、接続線を接続順の誤配線
を防止できる。
Each decoration control device 610 includes a connector serving as an attachment port for connecting the harness to itself. Since this connector is common to each decoration control device 610, it is possible to prevent erroneous wiring in the connection order of the connection lines.

ここで、装飾制御装置610に設けたI2CI/Oエクスパンダ615(図6で後述)
が装飾装置620を制御する方法について説明する。
Here, an I 2 CI / O expander 615 provided in the decoration control device 610 (described later in FIG. 6).
Describes a method of controlling the decoration device 620.

演出制御装置550は、遊技制御装置500から入力された遊技データに基づいて、演
出装置の出力態様を決定する。そして、演出制御装置550は、決定された出力態様とな
るように、制御対象となる装飾制御装置610の個別アドレス(I2CI/Oエクスパン
ダ615の個別アドレス)を含む演出制御データ(演出制御情報)を中継基板600に出
力する。このとき、演出制御データは、中継基板600を介して演出制御装置550に接
続されるすべての装飾制御装置610に対して接続線SDAから出力される。このため、
マスタIC570は、マスタIC570に接続されるすべての装飾制御装置610を制御
可能である。
The effect control device 550 determines the output mode of the effect device based on the game data input from the game control device 500. Then, the production control device 550 produces production control data (production control) including the individual address of the decoration control device 610 to be controlled (the individual address of the I 2 CI / O expander 615) so that the determined output mode is obtained. Information) is output to the relay board 600. At this time, the effect control data is output from the connection line SDA to all the decoration control devices 610 connected to the effect control device 550 via the relay board 600. For this reason,
The master IC 570 can control all the decoration control devices 610 connected to the master IC 570.

なお、本実施形態では演出装置としてLED等の発光装置を例示しているので、LED
の発光態様が演出装置の出力態様に相当する。この場合、演出制御データによって、LE
Dの点灯/点滅/消灯が指示され、同時に、LEDの点滅周期や点灯輝度も指示される。
In the present embodiment, a light-emitting device such as an LED is illustrated as the rendering device, so the LED
The light emission mode corresponds to the output mode of the rendering device. In this case, LE is determined by the production control data.
The lighting / flashing / extinguishing of D is instructed, and at the same time, the flashing cycle and lighting brightness of the LED are instructed.

各装飾制御装置610には、一意な個別アドレスが予め設定されているので、演出制御
データが入力されると、入力された演出制御データに含まれるアドレスと設定されている
個別アドレスとが一致するか否かを判定する。そして、入力された演出制御データに含ま
れるアドレスと設定されている個別アドレスとが一致すると判定された場合には、装飾制
御装置610のI2CI/Oエクスパンダ615は、演出制御データを取り込んで、対応
する装飾装置620の出力態様を制御するとともに、8ビット目のデータが入力された直
後に返答信号をマスタIC570に出力する。
Each decoration control device 610 has a unique individual address set in advance, so that when the effect control data is input, the address included in the input effect control data matches the set individual address. It is determined whether or not. If it is determined that the address included in the input effect control data matches the set individual address, the I 2 CI / O expander 615 of the decoration control device 610 captures the effect control data. Thus, the output mode of the corresponding decoration device 620 is controlled, and a response signal is output to the master IC 570 immediately after the 8th bit data is input.

なお、各装飾制御装置610には、個別アドレス以外にも、装飾制御装置610のI2
CI/Oエクスパンダ615を初期化するためのリセット用アドレスが設定されている。
このリセットアドレスは、すべてのI2CI/Oエクスパンダ615に対して共通に設け
られたアドレスであり、個別アドレスとして使用することは不可能となっている。また、
このリセットアドレスの値を変更することもできないようになっている(詳細は後述する
)。
Each decoration control device 610 includes I 2 of the decoration control device 610 in addition to the individual address.
A reset address for initializing the CI / O expander 615 is set.
This reset address is an address provided in common to all the I 2 CI / O expanders 615 and cannot be used as an individual address. Also,
The value of the reset address cannot be changed (details will be described later).

演出制御装置550は、装飾制御装置610(正確には、装飾制御装置610のI2
I/Oエクスパンダ615)を初期化する場合に、このリセット用の共通アドレスを含ん
だ初期化指示データを、中継基板600に出力する。このとき、初期化指示データ演出制
御データは、中継基板600を介して、演出制御装置550に接続されるすべての装飾制
御装置610に対して接続線SDAから出力される。
The effect control device 550 is a decoration control device 610 (more precisely, I 2 C of the decoration control device 610).
When the I / O expander 615) is initialized, initialization instruction data including the common address for resetting is output to the relay board 600. At this time, the initialization instruction data effect control data is output from the connection line SDA to all the decoration control devices 610 connected to the effect control device 550 via the relay board 600.

各装飾制御装置610には、リセット用の共通アドレスが予め設定されているので、入
力されたデータに含まれるアドレスと、予め設定されているリセット用の共通アドレスと
が一致するか否かを判定する。入力されたデータに含まれるアドレスと、予め設定されて
いるリセット用の共通アドレスとが一致すると判定された場合には、装飾制御装置610
のI2CI/Oエクスパンダ615は、返答信号をマスタIC570に出力するとともに
、入力されたデータを初期化指示データとして取り込み、I2CI/Oエクスパンダ61
5自身を初期化する。
Each decoration control device 610 has a preset common address for resetting, so it is determined whether or not the address included in the input data matches the preset common address for resetting. To do. If it is determined that the address included in the input data matches a preset common address for resetting, the decoration control device 610
The I 2 CI / O expander 615 outputs a response signal to the master IC 570, captures the input data as initialization instruction data, and outputs the I 2 CI / O expander 61.
5 Initialize itself.

なお、I2CI/Oエクスパンダ615が初期化されると、当該初期化されたI2CI/
Oエクスパンダ615によって制御される演出装置はオフ状態となる。
Incidentally, the I 2 CI / O expander 615 is initialized, the initialized I 2 CI /
The rendering device controlled by the O expander 615 is turned off.

このように、装飾制御装置610は、演出制御装置550からの指令に基づく制御を行
うので、演出制御装置550と装飾制御装置610との関係は、演出制御装置550のマ
スタIC570がマスタであり、装飾制御装置610のI2CI/Oエクスパンダ615
がスレーブである。
As described above, the decoration control device 610 performs control based on a command from the effect control device 550, and therefore, the master IC 570 of the effect control device 550 is the master of the relationship between the effect control device 550 and the decoration control device 610. I 2 CI / O expander 615 of decoration control device 610
Is a slave.

図5では、装飾制御装置610の制御対象が装飾装置620である場合について説明し
たが、装飾制御装置610の制御対象が役物駆動SOL560や役物駆動MOT561で
あってもよい。この場合、演出装置がモータやソレノイドなどの駆動源となることから、
これらの駆動源の動作態様が、演出装置の出力態様に相当することになる。この場合、演
出制御データによって、駆動源の作動/停止が指示され、同時に動作速度も指示される。
Although the case where the decoration target of the decoration control device 610 is the decoration device 620 has been described with reference to FIG. 5, the control target of the decoration control device 610 may be the accessory driving SOL 560 or the accessory driving MOT 561. In this case, since the rendering device becomes a drive source such as a motor or a solenoid,
The operation mode of these drive sources corresponds to the output mode of the rendering device. In this case, activation / deactivation of the drive source is instructed by the effect control data, and the operation speed is also instructed at the same time.

図6は、本発明の第1の実施形態の装飾制御装置610のブロック図である。   FIG. 6 is a block diagram of the decoration control device 610 according to the first embodiment of this invention.

図6では、装飾制御装置610の内部に装飾装置620であるLEDを備える装飾制御
装置610(図6の下側の装飾制御装置610)と、外部の装飾装置620に接続される
装飾制御装置610(図6の中央の装飾制御装置610)と、について説明する。
In FIG. 6, the decoration control device 610 (the decoration control device 610 on the lower side in FIG. 6) including the decoration device 620 LED inside the decoration control device 610 and the decoration control device 610 connected to the external decoration device 620. (The decoration control device 610 in the center of FIG. 6) will be described.

まず、装飾制御装置610の内部にLEDを備える装飾制御装置610について説明す
る。
First, the decoration control device 610 provided with LEDs inside the decoration control device 610 will be described.

図6の下側の装飾制御装置610は、I2CI/Oエクスパンダ615及びLED(装
飾装置20)を備える。接続線SDA及び接続線SCLは、装飾制御装置610内で二つ
に分岐し、一方は、そのまま次の装飾制御装置610に出力される。他方は、I2CI/
Oエクスパンダ615に接続される。
The decoration control device 610 on the lower side of FIG. 6 includes an I 2 CI / O expander 615 and LEDs (decoration device 20). The connection line SDA and the connection line SCL are branched into two in the decoration control device 610, and one is output to the next decoration control device 610 as it is. The other is I 2 CI /
Connected to O expander 615.

また、I2CI/Oエクスパンダ615の出力側には、制御対象となる装飾装置620
が接続される。I2CI/Oエクスパンダ615の出力側は、図7で説明するポート0〜
15によって構成される。さらに、装飾制御装置610のすべてのポートが、図8Aで後
述する電流制限抵抗R0〜R15を介して、内部のLEDに接続されている。なお、この
電流制限抵抗R0〜R15も、装飾制御装置610に備えられている。
Further, a decoration device 620 to be controlled is provided on the output side of the I 2 CI / O expander 615.
Is connected. The output side of the I 2 CI / O expander 615 has ports 0 to 0 described in FIG.
15. Furthermore, all the ports of the decoration control device 610 are connected to the internal LEDs via current limiting resistors R0 to R15 described later with reference to FIG. 8A. Note that the current control resistors R0 to R15 are also provided in the decoration control device 610.

前述したように、I2CI/Oエクスパンダ615は、演出制御装置550から入力さ
れた演出制御データに含まれるアドレスと、当該I2CI/Oエクスパンダ615に設定
されている個別アドレスとが一致する場合にのみ、演出制御データに含まれる装飾データ
に基づいて、I2CI/Oエクスパンダ615に接続されている装飾装置620を制御す
る。
As described above, the I 2 CI / O expander 615 has an address included in the effect control data input from the effect control device 550 and an individual address set in the I 2 CI / O expander 615. Only when they match, the decoration device 620 connected to the I 2 CI / O expander 615 is controlled based on the decoration data included in the effect control data.

なお、図中の電源Vledは、図5で前述した接続線Vactにより供給される電源(
LEDを発光させるための電源)に相当するものである。
Note that the power supply Vled in the figure is a power supply (supplied by the connection line Vact described above with reference to FIG.
This corresponds to a power source for causing the LED to emit light.

次に、外部の装飾装置620に接続される装飾制御装置610について説明する。   Next, the decoration control device 610 connected to the external decoration device 620 will be described.

図6の中央の装飾制御装置610は、I2CI/Oエクスパンダ615及びLED(装
飾装置20)を備え、装飾制御装置610の外部に接続される装飾装置基板625に備わ
るLEDに電流を流すための接続線、装飾装置基板625のLEDに電源電圧Vledを
供給する接続線、及び、グランドに接地する接続線を介して、装飾制御装置610と装飾
装置基板625とが接続される。
The central decoration control device 610 in FIG. 6 includes an I 2 CI / O expander 615 and an LED (decoration device 20), and allows current to flow through the LEDs provided on the decoration device substrate 625 connected to the outside of the decoration control device 610. The decoration control device 610 and the decoration device substrate 625 are connected to each other through a connection line for connecting the power supply voltage Vled to the LED of the decoration device substrate 625 and a connection wire grounded to the ground.

装飾装置基板625は、I2CI/Oエクスパンダ615を備えておらず、LEDのみ
を備えた基板である。この場合、装飾装置基板625に備えたLEDに接続される電流制
限抵抗(図8A)を、装飾装置基板625に設けることになるが、I2CI/Oエクスパ
ンダ615が備えられた装飾制御装置610に設けてもよい。
The decoration device substrate 625 does not include the I 2 CI / O expander 615 but is a substrate including only LEDs. In this case, the current limiting resistor (FIG. 8A) connected to the LED provided on the decoration device board 625 is provided on the decoration device board 625, but the decoration control device provided with the I 2 CI / O expander 615. 610 may be provided.

なお、装飾装置基板625に設けたLEDの数に対応して、装飾制御装置610から装
飾装置基板625へ渡されることになる、これらのLEDに電流を流すための接続線の数
が決定される。例えば、装飾装置基板625に二つのLEDを備えた場合には、I2CI
/Oエクスパンダ615のポートと対応するLEDとを接続するための2本の制御線と、
Vledを供給する電源線が1本とが、少なくとも必要となる。
It should be noted that the number of connection lines for passing current to these LEDs to be passed from the decoration control device 610 to the decoration device substrate 625 is determined in accordance with the number of LEDs provided on the decoration device substrate 625. . For example, in the case where the decoration device substrate 625 includes two LEDs, I 2 CI
Two control lines for connecting the port of the / O expander 615 and the corresponding LED;
At least one power supply line for supplying Vled is required.

そして、中央の装飾制御装置610に設けられたI2CI/Oエクスパンダ615も、
演出制御装置550から入力された演出制御データに含まれるアドレスと、当該I2CI
/Oエクスパンダ615に設定されている個別アドレスとが一致する場合にのみ、演出制
御データに含まれる装飾データに基づいて、I2CI/Oエクスパンダ615に接続され
ている装飾装置620を制御する。この場合、中央の装飾制御装置610に設けられた装
飾装置620と、装飾装置基板625に設けられた装飾装置620の両方が、I2CI/
Oエクスパンダ615によって制御される。
And the I 2 CI / O expander 615 provided in the central decoration control device 610 is also
The address included in the effect control data input from the effect control device 550 and the I 2 CI
The decoration device 620 connected to the I 2 CI / O expander 615 is controlled based on the decoration data included in the effect control data only when the individual address set in the / O expander 615 matches. To do. In this case, both the decoration device 620 provided in the central decoration control device 610 and the decoration device 620 provided on the decoration device substrate 625 are connected to the I 2 CI /
Controlled by O expander 615.

このように、装飾装置基板625を設けて、装飾制御装置610から一部の装飾装置(
LED)を分離させることで、離れた箇所に配置されたLEDであっても、共通のI2
I/Oエクスパンダ615により制御することができる。
In this way, the decoration device substrate 625 is provided, and a part of the decoration device (
LED) is separated, and even if the LEDs are arranged at remote locations, the common I 2 C
It can be controlled by the I / O expander 615.

なお、装飾制御装置610は、装飾装置620の代わりに、役物駆動SOL560や役
物駆動MOT561を接続し、これらを制御してもよいが、詳細は、図8Bで後述する。
Note that the decoration control device 610 may connect and control the accessory driving SOL 560 and the accessory driving MOT 561 in place of the decoration device 620, but details will be described later with reference to FIG. 8B.

図7は、本発明の第1の実施形態のI2CI/Oエクスパンダ615のブロック図であ
る。
FIG. 7 is a block diagram of the I 2 CI / O expander 615 according to the first embodiment of this invention.

2CI/Oエクスパンダ615は、接続線SDAに接続されるトランジスタ630、
接続線SDAに接続されるフィルタ631、接続線SDAに接続されるドライバ632、
接続線SCLに接続されるフィルタ633、バスコントローラ634、出力設定レジスタ
635、出力コントローラ636、I2CI/Oエクスパンダ615の出力側の各ポート
0〜15に接続されるドライバ637、各ポート0〜15に接続されるトランジスタ63
8A〜638P、及びリセット信号発生回路639を備える。
The I 2 CI / O expander 615 includes a transistor 630 connected to the connection line SDA,
A filter 631 connected to the connection line SDA, a driver 632 connected to the connection line SDA,
A filter 633 connected to the connection line SCL, a bus controller 634, an output setting register 635, an output controller 636, a driver 637 connected to each port 0-15 on the output side of the I 2 CI / O expander 615, and each port 0 Transistor 63 connected to -15
8A to 638P and a reset signal generation circuit 639.

フィルタ631は、接続線SDAに接続され、接続線SDAから入力されたデータのノ
イズを除去し、ノイズが除去されたデータをバスコントローラ634に出力する。ドライ
バ632は、返答信号を接続線SDAから出力する場合に、トランジスタ630が動作可
能な電圧をトランジスタ630に印加する。
The filter 631 is connected to the connection line SDA, removes noise of data input from the connection line SDA, and outputs the data from which noise has been removed to the bus controller 634. When the driver 632 outputs a response signal from the connection line SDA, the driver 632 applies a voltage at which the transistor 630 can operate to the transistor 630.

ドライバ632は、接続線SDAからデータ(返答信号)を出力する場合に、トランジ
スタ630が動作可能な電圧をトランジスタ630に印加する。
When the driver 632 outputs data (response signal) from the connection line SDA, the driver 632 applies a voltage at which the transistor 630 can operate to the transistor 630.

トランジスタ630は、電力消費を抑えるために電界効果トランジスタ(FET)が用
いられており、トランジスタ630のゲートはドライバ632に接続され、ドレインはプ
ルアップ抵抗R(図4参照)により所定の電圧が印加された接続線SDAに接続され、ソ
ースは接地されている。
The transistor 630 uses a field effect transistor (FET) to suppress power consumption, the gate of the transistor 630 is connected to the driver 632, and a predetermined voltage is applied to the drain by a pull-up resistor R (see FIG. 4). Connected to the connected connection line SDA, and the source is grounded.

トランジスタ630のゲートに印加される電圧がトランジスタ630を動作させる所定
値よりも小さければ、ドレインとソースとの間に電流が流れない。一方、トランジスタ6
30のゲートに印加される電圧がトランジスタ630を動作させる所定値以上であれば、
所定値の電圧が印加されたドレインから接地されているソースへ電流が流れることによっ
て、接続線SDAの電圧が低下する。なお、トランジスタ630は、10ミリアンペア程
度の電流をドレインからソースへ流しても破損しない仕様のものを用いている。
If the voltage applied to the gate of the transistor 630 is smaller than a predetermined value for operating the transistor 630, no current flows between the drain and the source. On the other hand, transistor 6
If the voltage applied to the gate of 30 is not less than a predetermined value for operating the transistor 630,
When a current flows from the drain to which a predetermined voltage is applied to the grounded source, the voltage of the connection line SDA decreases. Note that the transistor 630 has a specification that does not break even when a current of about 10 milliamperes flows from the drain to the source.

ドライバ632は、データ(返答信号)を接続線SDAから出力する場合に、トランジ
スタ630にドレインとソースとの間に電流を流すためにトランジスタ630のゲートに
トランジスタ630が動作可能な値の電圧を印加する。そして、ドライバ632は、接続
線SDAの電圧をHIGHからLOWへ繰り返し変化させることによって、データを接続
線SDAから出力する。
When the driver 632 outputs data (response signal) from the connection line SDA, the driver 632 applies a voltage of a value that allows the transistor 630 to operate to the gate of the transistor 630 so that a current flows between the drain and the source. To do. The driver 632 outputs data from the connection line SDA by repeatedly changing the voltage of the connection line SDA from HIGH to LOW.

フィルタ633は、接続線SCLに接続され、接続線SCLから入力されたデータのノ
イズを除去し、ノイズが除去されたデータをバスコントローラ634に出力する。
The filter 633 is connected to the connection line SCL, removes noise of data input from the connection line SCL, and outputs the data from which noise has been removed to the bus controller 634.

また、I2CI/Oエクスパンダ615には、当該I2CI/Oエクスパンダ615に備
わるアドレス設定用端子A0〜A3によって固有のアドレスが設定されており、バスコン
トローラ634に入力されている。さらに、I2CI/Oエクスパンダ615をリセット
するためのアドレスも、予め設定されている。
In addition, the I 2 CI / O expander 615, is set a unique address by the address setting terminals A0~A3 provided in the I 2 CI / O expander 615 is input to the bus controller 634. Further, an address for resetting the I 2 CI / O expander 615 is also set in advance.

バスコントローラ634は、接続線SDAから入力されたデータのアドレスがI2CI
/Oエクスパンダ615に設定された固有のアドレスと一致するか否かを判定し、一致し
ている場合に当該データを演出制御データとして取り込む。
In the bus controller 634, the address of data input from the connection line SDA is I 2 CI.
It is determined whether or not the address matches the unique address set in the / O expander 615. If the address matches, the data is fetched as effect control data.

また、バスコントローラ634は、接続線SDAから入力されたデータのアドレスがI
2CI/Oエクスパンダ615に予め設定されたリセット用のアドレスと一致するか否か
を判定し、入力されたデータのアドレスとI2CI/Oエクスパンダ615に予め設定さ
れたリセット用のアドレスとが一致している場合に当該データを初期化指示データとして
取り込み、当該I2CI/Oエクスパンダ615を初期化する。
In addition, the bus controller 634 receives the address of data input from the connection line SDA as I
It is determined whether or not it matches the reset address preset in the 2 CI / O expander 615, and the address of the input data and the reset address preset in the I 2 CI / O expander 615 Is matched as initialization instruction data, the I 2 CI / O expander 615 is initialized.

また、バスコントローラ634は、SCL接続線の信号レベルのLOWからHIGHへ
の変化回数が8回に達し8ビット目のデータを取り込んだ後、SCL接続線の信号レベル
がHIGHからLOWへ変化すると、返答信号を接続線SDAからマスタIC570に出
力する。さらに、SCL接続線の信号レベルがLOWからHIGHへ変化することが確認
され、再度SCL接続線の信号レベルがHIGHからLOWへ変化すると、接続線SDA
を開放する。つまり、SCL接続線の信号レベルのLOWからHIGHへの変化回数が9
回になるタイミングで返答信号を出力する。
In addition, the bus controller 634 changes the signal level of the SCL connection line from LOW to HIGH and takes in the 8th bit data, and then changes the signal level of the SCL connection line from HIGH to LOW. A response signal is output from the connection line SDA to the master IC 570. Furthermore, when it is confirmed that the signal level of the SCL connection line changes from LOW to HIGH, and the signal level of the SCL connection line changes from HIGH to LOW again, the connection line SDA
Is released. That is, the number of changes in the signal level of the SCL connection line from LOW to HIGH is 9
A response signal is output at the time of turning.

出力設定レジスタ635には、当該I2CI/Oエクスパンダ615の動作モードやポ
ート0〜15の出力状態が設定される。バスコントローラ634が接続線SDAから初期
化指示データを取り込んで、当該I2CI/Oエクスパンダ615が初期化された場合に
は、出力設定レジスタ635は、すべてのポート0〜15に電流が流れないように初期状
態に設定される。
In the output setting register 635, the operation mode of the I 2 CI / O expander 615 and the output state of the ports 0 to 15 are set. When the bus controller 634 fetches the initialization instruction data from the connection line SDA and the I 2 CI / O expander 615 is initialized, the output setting register 635 causes a current to flow to all the ports 0 to 15. It is set to the initial state so that there is no.

出力コントローラ636は、出力設定レジスタ635に設定されたデータに基づいて、
ポートドライバ637を介して、各ポート0〜15に接続された演出装置に電流を流すこ
とによって、演出装置の出力状態を実際に制御する。この出力状態は、バスコントローラ
634が接続線SDAから演出制御データを取り込むと、取り込んだ演出制御データに指
定されている内容に更新される。
The output controller 636 is based on the data set in the output setting register 635.
The output state of the effect device is actually controlled by flowing current through the port driver 637 to the effect devices connected to the ports 0 to 15. When the bus controller 634 fetches the effect control data from the connection line SDA, this output state is updated to the contents specified in the fetched effect control data.

ドライバ637は、ポートに電流を流す場合に、電流を流すポートに接続されるトラン
ジスタ638A〜638Pが動作可能な電圧を当該トランジスタに印加する。
When a current flows through a port, the driver 637 applies a voltage at which the transistors 638A to 638P connected to the port through which the current flows can operate.

トランジスタ638A〜638Pのゲートはドライバ637に接続され、ドレインは図
8A及び図8Bに示すように演出装置を動作させるための電圧が印加された接続線に接続
するポート端子に接続され、ソースは接地されている。
The gates of the transistors 638A to 638P are connected to the driver 637, the drain is connected to the port terminal connected to the connection line to which the voltage for operating the rendering device is applied as shown in FIGS. 8A and 8B, and the source is grounded Has been.

トランジスタ638A〜638Pのゲートに印加される電圧がトランジスタ638A〜
638Pを動作させる所定値よりも小さければ、ドレインとソースとの間に電流が流れな
い。一方、638A〜638Pのゲートに印加される電圧がトランジスタ638を動作さ
せる所定値以上であれば、図8Aに示す電源Vled、又は図8Bに示す電源Vmotや
電源Vsolからゲートに印加されている所定の電圧が、トランジスタ638のドレイン
を介して接地されているソースへ電流が流れることによって、ポート端子に接続された演
出装置の出力状態を制御できる。
The voltage applied to the gates of the transistors 638A to 638P is the transistor 638A to
If it is smaller than a predetermined value for operating 638P, no current flows between the drain and the source. On the other hand, if the voltage applied to the gates of 638A to 638P is equal to or higher than a predetermined value for operating the transistor 638, the power supply Vled shown in FIG. 8A or the power supply Vmot or the power supply Vsol shown in FIG. Current flows to the source grounded through the drain of the transistor 638, so that the output state of the effect device connected to the port terminal can be controlled.

また、装飾制御装置610のI2CI/Oエクスパンダ615は、I2CI/Oエクスパ
ンダ615のポート端子に接続された全ての演出装置を同時期に制御することが可能であ
るので、I2CI/Oエクスパンダ615のポート端子に接続された一つの演出装置を一
つのグループとして制御することができる。
Further, the I 2 CI / O expander 615 of the decoration control device 610 can control all the rendering devices connected to the port terminals of the I 2 CI / O expander 615 at the same time. 2 One rendering device connected to the port terminal of the CI / O expander 615 can be controlled as one group.

そして、各装飾制御装置610に備わるI2CI/Oエクスパンダ615同士は、互い
に異なる個別アドレスが割り当てられているので、演出装置が複数のグループに分割され
た形態となっている。即ち、各装飾制御装置610に備わるI2CI/Oエクスパンダ6
15は、演出装置をグループ単位で制御可能なグループ単位制御手段として構成されてい
るものである。
Since the I 2 CI / O expanders 615 included in each decoration control device 610 are assigned different individual addresses, the rendering device is divided into a plurality of groups. That is, the I 2 CI / O expander 6 provided in each decoration control device 610.
15 is configured as a group unit control means capable of controlling the effect device in units of groups.

従って、装飾制御装置610を統括する演出制御装置550は、グループ単位制御手段
を統括して制御するグループ統括制御手段として機能している。
Therefore, the effect control device 550 that controls the decoration control device 610 functions as a group control unit that controls the group unit control unit.

リセット信号発生回路639には、I2CI/Oエクスパンダ615に電源を供給する
接続線Vccと接続されるVcc端子、及び外部からのリセット信号を受け付けるRES
ET端子が接続されている。
The reset signal generation circuit 639 has a Vcc terminal connected to the connection line Vcc that supplies power to the I 2 CI / O expander 615, and a RES that receives an external reset signal.
The ET terminal is connected.

リセット信号発生回路639は、I2CI/Oエクスパンダ615に電源が投入され、
電圧が所定値まで立ち上がった場合、リセット信号を発生させ、発生させたリセット信号
をバスコントローラ634、出力設定レジスタ635、及び出力コントローラ636に入
力する。
The reset signal generation circuit 639 is powered on to the I 2 CI / O expander 615,
When the voltage rises to a predetermined value, a reset signal is generated, and the generated reset signal is input to the bus controller 634, the output setting register 635, and the output controller 636.

なお、外部からLOWレベルのリセット信号が入力された場合には、リセット信号発生
回路639はリセット信号を出力するので、演出制御装置550のCPU551から、N
ORゲート回路590を経由して、RESET端子からリセット信号を入力するようにし
てもよい。RESET端子を使用しない場合は、図8A及び図8Bに示すようにRESE
T端子はHIGHにプルアップされていてもよい。
When a reset signal of LOW level is input from the outside, the reset signal generation circuit 639 outputs a reset signal, so that the CPU 551 of the effect control device 550 outputs N
A reset signal may be input from the RESET terminal via the OR gate circuit 590. When the RESET terminal is not used, as shown in FIGS. 8A and 8B,
The T terminal may be pulled up to HIGH.

図8Aは、本発明の第1の実施形態の装飾装置620を制御する装飾制御装置610の
2CI/Oエクスパンダ615周辺の回路図である。
FIG. 8A is a circuit diagram around the I 2 CI / O expander 615 of the decoration control device 610 that controls the decoration device 620 according to the first embodiment of the present invention.

2CI/Oエクスパンダ615は、入力端子としてNC端子、RESET端子、SC
L端子、SDA端子、Vcc端子、A0〜A3端子、及びGND端子を備え、出力端子と
して、PORT0〜PORT15を備える。
The I 2 CI / O expander 615 has an NC terminal, a RESET terminal, and an SC as input terminals.
L terminal, SDA terminal, Vcc terminal, A0 to A3 terminal, and GND terminal are provided, and PORT0 to PORT15 are provided as output terminals.

RESET端子には、プルアップ抵抗Rを介してI2CI/Oエクスパンダ615に供
給される電源が接続されている。このため、リセット端子に印加される電圧は常にHIG
Hに維持されている。
A power source supplied to the I 2 CI / O expander 615 is connected to the RESET terminal via a pull-up resistor R. For this reason, the voltage applied to the reset terminal is always HIG
H is maintained.

SCL端子は接続線SCLに接続され、SDA端子は接続線SDAに接続される。   The SCL terminal is connected to the connection line SCL, and the SDA terminal is connected to the connection line SDA.

Vcc端子には、I2CI/Oエクスパンダ615に供給される電源が接続される。ま
た、Vcc端子には、電源ノイズを除去するコンデンサCPが接続される。
A power supply supplied to the I 2 CI / O expander 615 is connected to the Vcc terminal. Further, a capacitor CP for removing power supply noise is connected to the Vcc terminal.

A0端子〜A3端子は、I2CI/Oエクスパンダ615に固有のアドレスを設定する
ための端子である。なお、通常I2CI/Oエクスパンダ615のアドレスは、4ビット
で表現され、この端子にI2CI/Oエクスパンダ615の電源が印加されている場合に
はバスコントローラ634に「1」が設定され、この端子がグランドに接続されている場
合にはバスコントローラ634に「0」が設定される。
The A0 to A3 terminals are terminals for setting unique addresses for the I 2 CI / O expander 615. Note that the address of the normal I 2 CI / O expander 615 is represented by 4 bits. When the power of the I 2 CI / O expander 615 is applied to this terminal, “1” is displayed in the bus controller 634. When this terminal is connected to the ground, “0” is set in the bus controller 634.

したがって、図8Aに示すI2CI/Oエクスパンダ615のアドレスは「0100」
であり、図8Bに示すI2CI/Oエクスパンダ615のアドレスは「0110」である
。GND端子は、電圧をグランドするための端子である。
Therefore, the address of the I 2 CI / O expander 615 shown in FIG. 8A is “0100”.
The address of the I 2 CI / O expander 615 shown in FIG. 8B is “0110”. The GND terminal is a terminal for grounding a voltage.

各PORT0端子〜PORT15端子は、電流制限抵抗R0〜R15を介して各LED
0〜LED15からなる装飾装置620に接続される。なお、PORT0にように、ポー
ト1個に対して1個のLEDを接続してもよいが、PORT1〜15のように、ポート1
個に対して複数個のLEDを接続してもよい。
Each PORT0 terminal to PORT15 terminal is connected to each LED via current limiting resistors R0 to R15.
0 to a decoration device 620 composed of LEDs 15. One port may be connected to one port as in PORT0, but port 1 as in PORT1-15.
A plurality of LEDs may be connected to each.

全てのポートにLEDを1個ずつ設ける場合は、1個のI2CI/Oエクスパンダ61
5によって、最大で16個のLEDを制御できることになる。また、各ポートに接続され
るLEDの個数が異なる場合は、1個のポートに直列に接続された全てのLEDを1種類
のLEDということにすれば、1個のI2CI/Oエクスパンダ615によって、最大で
16種類のLEDを制御できることになる。
One I 2 CI / O expander 61 when one LED is provided for each port
5 can control a maximum of 16 LEDs. If the number of LEDs connected to each port is different, assuming that all LEDs connected in series to one port are one type of LED, one I 2 CI / O expander is used. By 615, up to 16 kinds of LEDs can be controlled.

PORT0端子〜PORT15端子に接続されるトランジスタ638A〜638P(図
7参照)のゲートに対してドライバ637から電圧が印加されると、電圧が印加されたト
ランジスタ638A〜638Pのドレインからソースへ電流が流れることが可能になり、
PORT0端子〜PORT15端子に接続されるLED0〜LED15に電流が流れ、各
LED0〜LED15は点灯する。
When a voltage is applied from the driver 637 to the gates of the transistors 638A to 638P (see FIG. 7) connected to the PORT0 terminal to the PORT15 terminal, a current flows from the drain to the source of the transistors 638A to 638P to which the voltage is applied. Is possible,
A current flows through the LEDs 0 to 15 connected to the PORT0 terminal to the PORT15 terminal, and the LEDs 0 to 15 are turned on.

一方、ドライバ637がトランジスタ638A〜638Pのゲートに電圧を印加しなけ
れば、各LED0〜LED15に電流が流れない状態になり、各LED0〜LED15は
点灯しない。
On the other hand, if the driver 637 does not apply a voltage to the gates of the transistors 638A to 638P, no current flows through each LED0 to LED15, and each LED0 to LED15 is not lit.

なお、I2CI/Oエクスパンダ615のPORT0端子〜PORT15端子には、L
EDの代わりに、モーターやソレノイドを接続することも可能であるので、I2CI/O
エクスパンダ615を用いて、モーターやソレノイドを駆動する場合について説明する。
Note that the PORT0 to PORT15 terminals of the I 2 CI / O expander 615 have L
Since it is possible to connect a motor or solenoid instead of ED, I 2 CI / O
A case where a motor or a solenoid is driven using the expander 615 will be described.

図8Bは、本発明の第1の実施形態の役物駆動MOT561及び役物駆動SOL560
を制御する装飾制御装置610のI2CI/Oエクスパンダ615周辺の回路図である。
FIG. 8B illustrates the accessory driving MOT 561 and the accessory driving SOL 560 according to the first embodiment of this invention.
6 is a circuit diagram around the I 2 CI / O expander 615 of the decoration control device 610 for controlling the control.

役物駆動MOT561はステッピングモータにより構成され、ステッピングモータを駆
動する各相の信号端子に、所定の電圧を順次印加することで回動する。本実施形態では、
役物駆動MOT561の各相の信号端子が、PORT0端子〜PORT3端子に接続され
る。
The accessory driving MOT 561 is composed of a stepping motor, and rotates by sequentially applying a predetermined voltage to signal terminals of respective phases that drive the stepping motor. In this embodiment,
The signal terminal of each phase of the accessory driving MOT 561 is connected to the PORT0 terminal to the PORT3 terminal.

役物駆動MOT561に接続されているPORT0端子〜PORT3端子に接続される
トランジスタ638A〜638Dのいずれかのゲートに対してドライバ637から電圧が
印加されると、電圧が印加されたトランジスタ638A〜638Dのドレインからソース
へ電流が流れることが可能になり、PORT0端子〜PORT3端子に接続される役物駆
動MOT561に電流が流れ、役物駆動MOT561が駆動する。
When a voltage is applied from the driver 637 to any one of the gates of the transistors 638A to 638D connected to the PORT0 terminal to the PORT3 terminal connected to the accessory driving MOT561, the transistors 638A to 638D to which the voltage is applied are applied. The current can flow from the drain to the source, the current flows to the accessory driving MOT 561 connected to the PORT0 terminal to the PORT3 terminal, and the accessory driving MOT561 is driven.

なお、各PORT0端子〜PORT3端子と役物駆動MOT561とを接続する接続線
は分岐し、分岐した一方の接続線は、役物駆動MOT561に供給される電源にダイオー
ドD及びツェナダイオードZDを介して接続される。
The connection lines connecting the PORT0 terminal to the PORT3 terminal and the accessory driving MOT 561 are branched, and one of the branched connection lines is connected to the power supplied to the accessory driving MOT 561 via the diode D and the Zener diode ZD. Connected.

また、PORT端子15は、役物駆動SOL560に接続される。役物駆動SOL56
0に接続されているPORT15端子に接続されるトランジスタ638Pのゲートに対し
てドライバ637から電圧が印加されると、電圧が印加されたトランジスタ638Pのド
レインからソースへ電流が流れることが可能になり、PORT15端子に接続される役物
駆動SOL560に電流が流れ、役物駆動SOL560が駆動する。
The PORT terminal 15 is connected to the accessory driving SOL 560. Actor-driven SOL56
When a voltage is applied from the driver 637 to the gate of the transistor 638P connected to the PORT15 terminal connected to 0, a current can flow from the drain to the source of the transistor 638P to which the voltage is applied, A current flows through the accessory driving SOL 560 connected to the PORT 15 terminal, and the accessory driving SOL 560 is driven.

なお、図8Bでは、I2CI/Oエクスパンダ615に役物駆動MOT561及び役物
駆動SOL560の双方が接続されているが、一つのI2CI/Oエクスパンダ615に
対して、役物駆動MOT561及び役物駆動SOL560の少なくとも一方だけを接続し
た構成でもよい。
In FIG. 8B, with respect to I 2 CI / O Aix although both character object drive MOT561 and character object drive SOL560 Panda 615 are connected, one I 2 CI / O expander 615, the character object drive A configuration in which at least one of the MOT 561 and the accessory driving SOL 560 is connected may be used.

例えば、ステッピングモーターだけを制御するグループとしてのI2CI/Oエクスパ
ンダ615を専用に設けたり、ソレノイドだけを制御するグループとしてのI2CI/O
エクスパンダ615を専用に設けるようにしてもよい。このような構成により、同一グル
ープに属する演出装置を同じタイミングで制御することが可能となるので、高速処理が必
要な演出装置だけをグループ化して効率よく制御することも可能となる。
For example, a dedicated I 2 CI / O expander 615 that controls only the stepping motor is provided, or an I 2 CI / O that controls only the solenoid.
The expander 615 may be provided exclusively. With such a configuration, it is possible to control the rendering devices belonging to the same group at the same timing, and therefore it becomes possible to group and control only the rendering devices that require high-speed processing.

図9は、本発明の第1実施形態の中継基板600の入出力に関する接続線の回路図であ
る。
FIG. 9 is a circuit diagram of connection lines related to input / output of the relay board 600 according to the first embodiment of the present invention.

中継基板600は、上流コネクタ601、二つの下流コネクタ602A、602B、及
びI2CI/Oエクスパンダ615を備える。
The relay board 600 includes an upstream connector 601, two downstream connectors 602A and 602B, and an I 2 CI / O expander 615.

上流コネクタ601は中継基板600よりも上流のマスタIC570に接続されるコネ
クタであり、コネクタ602A、602Bは、中継基板600よりも下流の装飾制御装置
610に接続される。
The upstream connector 601 is a connector connected to the master IC 570 upstream of the relay board 600, and the connectors 602 A and 602 B are connected to the decoration control device 610 downstream of the relay board 600.

二つの下流コネクタ602A、602Bに接続線SDAを接続するために、上流コネク
タ601から延びる内部接続線SDA911は分岐901で第1接続線SDA921と第
2接続線SDA931とに分岐する。第1接続線SDA921は下流コネクタ602Aに
接続され、第2接続線SDA931は下流コネクタ602Bに接続される。
In order to connect the connection line SDA to the two downstream connectors 602A and 602B, the internal connection line SDA911 extending from the upstream connector 601 branches at a branch 901 into a first connection line SDA921 and a second connection line SDA931. The first connection line SDA921 is connected to the downstream connector 602A, and the second connection line SDA931 is connected to the downstream connector 602B.

同じく、上流コネクタ601から延びる内部接続線SCL912は分岐902で第1接
続線SCL922と第2接続線SCL932とに分岐する。第1接続線SCL922は下
流コネクタ602Aに接続され、第2接続線SCL932は下流コネクタ602Bに接続
される。
Similarly, the internal connection line SCL912 extending from the upstream connector 601 branches at a branch 902 into a first connection line SCL922 and a second connection line SCL932. The first connection line SCL922 is connected to the downstream connector 602A, and the second connection line SCL932 is connected to the downstream connector 602B.

接続線SDAをI2CI/Oエクスパンダ615に接続するために、第2接続線SDA
931は分岐903で分岐し、分岐した第2接続線SDA931はI2CI/Oエクスパ
ンダ615の図8A及び図8に示すSDA端子に接続される。また、接続線SCLをI2
CI/Oエクスパンダ615に接続するために、第2接続線SCL932は分岐904で
分岐し、分岐した第2接続線SCL932はI2CI/Oエクスパンダ615の図8A及
び図8Bに示すSCL端子に接続される。
In order to connect the connection line SDA to the I 2 CI / O expander 615, the second connection line SDA
931 branches at a branch 903, and the branched second connection line SDA931 is connected to the SDA terminal shown in FIGS. 8A and 8 of the I 2 CI / O expander 615. Also, connect the connection line SCL to I 2
In order to connect to the CI / O expander 615, the second connection line SCL932 is branched at the branch 904, and the branched second connection line SCL932 is an SCL terminal shown in FIGS. 8A and 8B of the I 2 CI / O expander 615. Connected to.

なお、I2CI/Oエクスパンダ615には、I2CI/Oエクスパンダ615の電源電
圧となる電圧Vccが供給されている。また、図9では図示されていないが、I2CI/
Oエクスパンダ615からは、中継基板600に設けたLED(装飾装置200)を駆動
する各ポート0〜15の信号線(図8A参照)が出力されている。
Note that the I 2 CI / O expander 615 is supplied with a voltage Vcc that is a power supply voltage of the I 2 CI / O expander 615. Although not shown in FIG. 9, I 2 CI /
From the O expander 615, signal lines (see FIG. 8A) of the ports 0 to 15 for driving the LEDs (decoration apparatus 200) provided on the relay substrate 600 are output.

また、I2CI/Oエクスパンダ615は、第2接続線SDA931及び第2接続線S
CL932が接続されるとしたが、第1接続線SDA921及び第1接続線SCL922
に接続されてもよい。
The I 2 CI / O expander 615 includes a second connection line SDA931 and a second connection line S.
Although the CL 932 is connected, the first connection line SDA921 and the first connection line SCL922 are connected.
May be connected.

2CI/Oエクスパンダ615が上流のマスタIC570に接続線SDAを介して出
力する信号、及び上流のマスタIC570から中継基板600のI2CI/Oエクスパン
ダ615へ接続線SDAを介して入力される信号のノイズを除去するために、内部接続線
SDA911にはツェナダイオードZD941が接続されている。
I 2 CI / O Aix input expander 615 via the connection line SDA signal is output via the connection line SDA upstream of the master IC570, and from the upstream of the master IC570 to I 2 CI / O expander 615 of the relay board 600 The Zener diode ZD941 is connected to the internal connection line SDA911 in order to remove the noise of the generated signal.

具体的には、内部接続線SDA911は分岐905で分岐し、分岐した内部接続線SD
A911はツェナダイオードZD941のカソード側に接続され、ツェナダイオードZD
941のアノード側は接地されている。
Specifically, the internal connection line SDA911 branches at the branch 905, and the branched internal connection line SD.
A911 is connected to the cathode side of the Zener diode ZD941, and the Zener diode ZD94
The anode side of 941 is grounded.

このため、内部接続線SDA911に印加された所定以上の電圧(例えば、パルス性の
ノイズ信号)は、ツェナダイオードZD941によって逃がされる。
For this reason, a voltage (for example, a pulsed noise signal) higher than a predetermined voltage applied to the internal connection line SDA911 is released by the Zener diode ZD941.

また、上流のマスタIC570から中継基板600のI2CI/Oエクスパンダ615
へ接続線SCLを介して入力される信号のノイズを除去するために、内部接続線SCL9
12にはツェナダイオードZD942が接続されている。
Further, the upstream master IC 570 to the I 2 CI / O expander 615 of the relay board 600
In order to remove noise from the signal input via the connection line SCL, the internal connection line SCL9
12 is connected to a Zener diode ZD942.

具体的には、内部接続線SCL912は分岐906で分岐し、分岐した内部接続線SC
L912はツェナダイオードZD942のカソード側に接続され、ツェナダイオードZD
942のアノード側は接地されている。
Specifically, the internal connection line SCL912 branches at a branch 906, and the branched internal connection line SC.
L912 is connected to the cathode side of the Zener diode ZD942, and the Zener diode ZD94
The anode side of 942 is grounded.

このため、内部接続線SCL912に印加された所定以上の電圧(例えば、パルス性の
ノイズ信号)は、ツェナダイオードZD942によって逃がされる。
For this reason, a voltage (for example, a pulsed noise signal) applied to the internal connection line SCL912 is released by the Zener diode ZD942.

中継基板600のI2CI/Oエクスパンダ615が下流コネクタ602Aに接続され
た装飾制御装置610に接続線SDAを介して出力する信号、及び下流コネクタ602A
に接続された装飾制御装置610から中継基板600のI2CI/Oエクスパンダ615
へ接続線SDAを介して入力される信号のノイズを除去するために、第1接続線SDA9
21にはツェナダイオードZD943が接続されている。
A signal output from the I 2 CI / O expander 615 of the relay board 600 to the decoration control device 610 connected to the downstream connector 602A via the connection line SDA, and the downstream connector 602A
I 2 CI / O expander 615 of relay board 600 from decoration control device 610 connected to
In order to remove noise from the signal input to the connection line SDA, the first connection line SDA9
A zener diode ZD943 is connected to 21.

具体的には、第1接続線SDA921は分岐907で分岐し、分岐した第1接続線SD
A921はツェナダイオードZD943のカソード側に接続され、ツェナダイオードZD
943のアノード側は接地されている。
Specifically, the first connection line SDA921 branches off at the branch 907, and the branched first connection line SD.
A921 is connected to the cathode side of Zener diode ZD943, and Zener diode ZD
The anode side of 943 is grounded.

このため、内部接続線SDA921に印加された所定以上の電圧(例えば、パルス性の
ノイズ信号)は、ツェナダイオードZD943によって逃がされる。
Therefore, a voltage (for example, a pulsed noise signal) higher than a predetermined voltage applied to the internal connection line SDA921 is released by the Zener diode ZD943.

また、第1接続線SDA921に接続されるツェナダイオードZD943と同じく、第
2接続線SDA931にもツェナダイオード945が接続される。
Similarly to the Zener diode ZD943 connected to the first connection line SDA921, the Zener diode 945 is also connected to the second connection line SDA931.

また、中継基板600のI2CI/Oエクスパンダ615から下流コネクタ602Aに
接続された装飾制御装置610へ接続線SCLを介して入力される信号のノイズを除去す
るために、第1接続線SCL922にはツェナダイオードZD944が接続されている。
The first connection line SCL922 is used to remove noise of a signal input from the I 2 CI / O expander 615 of the relay board 600 to the decoration control device 610 connected to the downstream connector 602A via the connection line SCL. Is connected to a Zener diode ZD944.

具体的には、第1接続線SCL922は分岐908で分岐し、分岐した第1接続線SC
L922はツェナダイオードZD944のカソード側に接続され、ツェナダイオードZD
944のアノード側は接地されている。
Specifically, the first connection line SCL 922 branches at the branch 908, and the branched first connection line SC.
L922 is connected to the cathode side of the Zener diode ZD944 and the Zener diode ZD
The anode side of 944 is grounded.

このため、内部接続線SCL922に印加された所定以上の電圧(例えば、パルス性の
ノイズ信号)は、ツェナダイオードZD944によって逃がされる。
For this reason, a voltage (for example, a pulse noise signal) of a predetermined level or higher applied to the internal connection line SCL922 is released by the Zener diode ZD944.

また、第1接続線SCL922に接続されるツェナダイオードZD944と同じく、第
2接続線SCL932にもツェナダイオードZD946が接続される。
Similarly to the Zener diode ZD944 connected to the first connection line SCL922, the Zener diode ZD946 is also connected to the second connection line SCL932.

また、マスタIC570に接続される上流側の接続線SDA、及び装飾制御装置610
に接続される下流側の接続線SDAの電圧をプルアップするためのプルアップ抵抗R95
1が、第1接続線SDA921に接続される。同じく、マスタIC570に接続される上
流側の接続線SCL、及び装飾制御装置610に接続される下流側の接続線SCLの電圧
をプルアップするためのプルアップ抵抗R952が、第1接続線SDA922に接続され
る。
Further, the upstream connection line SDA connected to the master IC 570 and the decoration control device 610.
Pull-up resistor R95 for pulling up the voltage of the downstream connection line SDA connected to
1 is connected to the first connection line SDA921. Similarly, a pull-up resistor R952 for pulling up the voltage of the upstream connection line SCL connected to the master IC 570 and the downstream connection line SCL connected to the decoration control device 610 is provided in the first connection line SDA922. Connected.

具体的には、第1接続線SDA921は分岐909で分岐し、分岐した第1接続線SD
A921はプルアップ抵抗R951に接続される。同じく第1接続線SCL922は分岐
910で分岐し、分岐した第1接続線SCL922はプルアップ抵抗R952に接続され
る。
Specifically, the first connection line SDA921 branches at the branch 909, and the branched first connection line SD.
A921 is connected to a pull-up resistor R951. Similarly, the first connection line SCL922 branches at a branch 910, and the branched first connection line SCL922 is connected to a pull-up resistor R952.

なお、接続線SDA及び接続線SCLの電圧をプルアップするプルアップ抵抗951、
952は、中継基板600が備えなくてもよく、マスタIC570が備えてもよいし、中
継基板600以外の装飾制御装置610が備えてもよい。要するに、接続線SDA及び接
続線SCLを駆動するトランジスタのドレインの端子に、電圧Vccを供給できる箇所で
あれば、どこでもよい。
A pull-up resistor 951 that pulls up the voltages of the connection line SDA and the connection line SCL,
952 may not be provided in the relay board 600, may be provided in the master IC 570, or may be provided in the decoration control device 610 other than the relay board 600. In short, it may be anywhere as long as the voltage Vcc can be supplied to the drain terminals of the transistors that drive the connection line SDA and the connection line SCL.

中継基板600のI2CI/Oエクスパンダ615に電源電圧を供給する接続線Vcc
に接続される上流コネクタ601のVcc端子から延びる内部接続線Vcc971と、上
流コネクタ601のGND端子から延び、接地されている内部接続線GND972とは、
平滑コンデンサC961及びバイパスコンデンサ962を介して接続されている。
Connection line Vcc for supplying a power supply voltage to the I 2 CI / O expander 615 of the relay board 600
The internal connection line Vcc971 extending from the Vcc terminal of the upstream connector 601 connected to the internal connection line GND972 extending from the GND terminal of the upstream connector 601 and grounded,
They are connected via a smoothing capacitor C961 and a bypass capacitor 962.

平滑コンデンサC961は、電源の電圧波形を滑らかにするためのコンデンサであり、
バイパスコンデンサCP962は、電源の電圧のノイズを除去するためのコンデンサであ
る。
The smoothing capacitor C961 is a capacitor for smoothing the voltage waveform of the power supply,
The bypass capacitor CP962 is a capacitor for removing noise from the power supply voltage.

このため、中継基板600のI2CI/Oエクスパンダ615に供給される電源電圧は
、平滑コンデンサC961により電圧が平滑化され、バイパスコンデンサ962によりノ
イズが除去されて、I2CI/Oエクスパンダ615に供給される。
For this reason, the power supply voltage supplied to the I 2 CI / O expander 615 of the relay board 600 is smoothed by the smoothing capacitor C961, and noise is removed by the bypass capacitor 962, so that the I 2 CI / O expander is removed. 615 is supplied.

同じく、下流コネクタ602A、602BのVcc端子から延びる内部接続線Vcc9
73と、GND端子から延びる内部接続線GND974とは、平滑コンデンサC961及
びバイパスコンデンサ962を介して接続されている。これによって、平滑化され、ノイ
ズが除去された電圧が下流の装飾制御装置610に接続される接続線Vccに印加される
Similarly, the internal connection line Vcc9 extending from the Vcc terminal of the downstream connectors 602A and 602B
73 and the internal connection line GND974 extending from the GND terminal are connected via a smoothing capacitor C961 and a bypass capacitor 962. As a result, the smoothed and noise-free voltage is applied to the connection line Vcc connected to the downstream decoration control device 610.

図10は、本発明の第1実施形態の装飾制御装置610の入出力に関する接続線の回路
図である。
FIG. 10 is a circuit diagram of connection lines related to input / output of the decoration control device 610 according to the first embodiment of the present invention.

装飾制御装置610は、上流コネクタ611、I2CI/Oエクスパンダ615、及び
下流コネクタ612を備える。
The decoration control device 610 includes an upstream connector 611, an I 2 CI / O expander 615, and a downstream connector 612.

上流コネクタ611には、中継基板600又は上流側の装飾制御装置610からバスが
接続される。下流コネクタ612には、下流側の装飾制御装置610に接続するバスが接
続される。
A bus is connected to the upstream connector 611 from the relay board 600 or the decoration control device 610 on the upstream side. The downstream connector 612 is connected to a bus connected to the decoration control device 610 on the downstream side.

上流コネクタ611のSDA端子と下流コネクタ612のSDA端子とは、内部接続線
SDA1011によって接続されている。また、上流コネクタ611のSCL端子と下流
コネクタ612のSCL端子とは、内部接続線SCL1012によって接続されている。
The SDA terminal of the upstream connector 611 and the SDA terminal of the downstream connector 612 are connected by an internal connection line SDA1011. The SCL terminal of the upstream connector 611 and the SCL terminal of the downstream connector 612 are connected by an internal connection line SCL1012.

接続線SDAをI2CI/Oエクスパンダ615に接続するために、内部接続線SDA
1011は分岐1001で分岐し、分岐した内部接続線SDA1011はI2CI/Oエ
クスパンダ615の図8A及び図8に示すSDA端子に接続される。また、接続線SCL
をI2CI/Oエクスパンダ615に接続するために、内部接続線SCL1012は分岐
1002で分岐し、分岐した内部接続線SCL1012はI2CI/Oエクスパンダ61
5の図8A及び図8Bに示すSCL端子に接続される。
In order to connect the connection line SDA to the I 2 CI / O expander 615, the internal connection line SDA
Reference numeral 1011 branches at the branch 1001, and the branched internal connection line SDA 1011 is connected to the SDA terminal shown in FIGS. 8A and 8 of the I 2 CI / O expander 615. Connection line SCL
Are connected to the I 2 CI / O expander 615, the internal connection line SCL1012 branches at the branch 1002, and the branched internal connection line SCL1012 is connected to the I 2 CI / O expander 61.
5 is connected to the SCL terminal shown in FIGS. 8A and 8B.

なお、I2CI/Oエクスパンダ615には、I2CI/Oエクスパンダ615の電源電
圧となる電圧Vccが供給されている。また、図10では図示されていないが、I2CI
/Oエクスパンダ615からは、当該装飾制御装置610に係わるLED(装飾装置20
0)を駆動する各ポート0〜15の信号線(図8A参照)が出力されている。
Note that the I 2 CI / O expander 615 is supplied with a voltage Vcc that is a power supply voltage of the I 2 CI / O expander 615. Although not shown in FIG. 10, I 2 CI
From the / O expander 615, an LED (decoration apparatus 20) related to the decoration control apparatus 610
The signal lines (see FIG. 8A) of the ports 0 to 15 that drive 0) are output.

図10に示す装飾制御装置610のI2CI/Oエクスパンダ615が上流コネクタ6
11に接続された上流の装飾制御装置610又は中継基板600に接続線SDAを介して
出力する信号、及び上流コネクタ611に接続された上流の装飾制御装置610又は中継
基板600から図10に示す装飾制御装置610のI2CI/Oエクスパンダ615へ接
続線SDAを介して入力される信号のノイズを除去するために、内部接続線SDA101
1にはツェナダイオードZD1041が接続されている。
The I 2 CI / O expander 615 of the decoration control device 610 shown in FIG.
10 from the upstream decoration control device 610 or relay board 600 connected to the terminal 11 via the connection line SDA, and the decoration shown in FIG. 10 from the upstream decoration control device 610 or relay board 600 connected to the upstream connector 611. In order to remove noise from the signal input to the I 2 CI / O expander 615 of the control device 610 via the connection line SDA, the internal connection line SDA101 is used.
1 is connected to a Zener diode ZD1041.

具体的には、内部接続線SDA1011は分岐1003で分岐し、分岐した内部接続線
SDA1011はツェナダイオードZD1041のカソード側に接続され、ツェナダイオ
ードZD1041のアノード側は接地されている。
Specifically, the internal connection line SDA1011 branches at a branch 1003, the branched internal connection line SDA1011 is connected to the cathode side of the Zener diode ZD1041, and the anode side of the Zener diode ZD1041 is grounded.

このため、内部接続線SDA1011に印加された所定以上の電圧(例えば、パルス性
のノイズ信号)は、ツェナダイオードZD1041によって逃がされる。
For this reason, a voltage (for example, a pulsed noise signal) higher than a predetermined voltage applied to the internal connection line SDA1011 is released by the Zener diode ZD1041.

また、上流コネクタ611に接続される上流の装飾制御装置610又は中継基板600
から図10に示す装飾制御装置610のI2CI/Oエクスパンダ615へ接続線SCL
を介して入力される信号のノイズを除去するために、内部接続線SCL1012にはツェ
ナダイオードZD942が接続されている。
Further, the upstream decoration control device 610 or the relay board 600 connected to the upstream connector 611.
To the I 2 CI / O expander 615 of the decoration control device 610 shown in FIG.
Zener diode ZD942 is connected to the internal connection line SCL1012 in order to remove noise from the signal input through the internal connection line SCL1012.

具体的には、内部接続線SCL1012は分岐1004で分岐し、分岐した内部接続線
SCL1012はツェナダイオードZD1042のカソード側に接続され、ツェナダイオ
ードZD1042のアノード側は接地されている。
Specifically, the internal connection line SCL1012 branches at a branch 1004, the branched internal connection line SCL1012 is connected to the cathode side of the Zener diode ZD1042, and the anode side of the Zener diode ZD1042 is grounded.

このため、内部接続線SCL1012に印加された所定以上の電圧(例えば、パルス性
のノイズ信号)は、ツェナダイオードZD1042によって逃がされる。
For this reason, a voltage (for example, a pulsed noise signal) applied to the internal connection line SCL 1012 at a predetermined level or more is released by the Zener diode ZD1042.

図10に示す装飾制御装置610のI2CI/Oエクスパンダ615が下流コネクタ6
12に接続された下流の装飾制御装置610に接続線SDAを介して出力する信号、及び
下流コネクタ612に接続された下流の装飾制御装置610から図10に示す装飾制御装
置のI2CI/Oエクスパンダ615へ接続線SDAを介して入力される信号のノイズを
除去するために、内部接続線SDA1011にはツェナダイオードZD1043が接続さ
れている。
The I 2 CI / O expander 615 of the decoration control device 610 shown in FIG.
10, a signal output via the connection line SDA to the downstream decoration control device 610 connected to 12, and the I 2 CI / O of the decoration control device shown in FIG. 10 from the downstream decoration control device 610 connected to the downstream connector 612. A Zener diode ZD1043 is connected to the internal connection line SDA1011 in order to remove noise of a signal input to the expander 615 via the connection line SDA.

具体的には、内部接続線SDA1011は分岐1005で分岐し、分岐した内部接続線
SDA1011はツェナダイオードZD1043のカソード側に接続され、ツェナダイオ
ードZD1043のアノード側は接地されている。
Specifically, the internal connection line SDA1011 branches at a branch 1005, the branched internal connection line SDA1011 is connected to the cathode side of the Zener diode ZD1043, and the anode side of the Zener diode ZD1043 is grounded.

このため、内部接続線SDA1011に印加された所定以上の電圧(例えば、パルス性
のノイズ信号)は、ツェナダイオードZD1043によって逃がされる。
For this reason, a voltage (for example, a pulse noise signal) of a predetermined level or more applied to the internal connection line SDA1011 is released by the Zener diode ZD1043.

また、図10に示す装飾制御装置610のI2CI/Oエクスパンダ615から下流コ
ネクタ612に接続された下流の装飾制御装置610へ接続線SCLを介して入力される
信号のノイズを除去するために、内部接続線SCL1012にはツェナダイオードZD1
044が接続されている。
Further, in order to remove noise of a signal input via the connection line SCL from the I 2 CI / O expander 615 of the decoration control device 610 shown in FIG. 10 to the downstream decoration control device 610 connected to the downstream connector 612. In addition, a Zener diode ZD1 is connected to the internal connection line SCL1012.
044 is connected.

具体的には、内部接続線SCL1012は分岐1006で分岐し、分岐した内部接続線
SCL1012はツェナダイオードZD1044のカソード側に接続され、ツェナダイオ
ードZD1044のアノード側は接地されている。
Specifically, the internal connection line SCL1012 branches at a branch 1006, the branched internal connection line SCL1012 is connected to the cathode side of the Zener diode ZD1044, and the anode side of the Zener diode ZD1044 is grounded.

このため、内部接続線SCL1012に印加された所定以上の電圧(例えば、パルス性
のノイズ信号)は、ツェナダイオードZD1044によって逃がされる。
For this reason, a voltage (for example, a pulse noise signal) applied to the internal connection line SCL 1012 is more than a predetermined voltage and is released by the Zener diode ZD1044.

装飾制御装置610のI2CI/Oエクスパンダ615に電源電圧を供給する接続線V
ccに接続される上流コネクタ611のVcc端子から延びる内部接続線Vcc1071
と、上流コネクタ611のGND端子から延び、接地されている内部接続線GND107
2とは、平滑コンデンサC1061及びバイパスコンデンサ1062を介して接続されて
いる。
Connection line V for supplying power supply voltage to the I 2 CI / O expander 615 of the decoration control device 610
Internal connection line Vcc1071 extending from the Vcc terminal of upstream connector 611 connected to cc
And the internal connection line GND107 extending from the GND terminal of the upstream connector 611 and grounded
2 is connected via a smoothing capacitor C1061 and a bypass capacitor 1062.

平滑コンデンサC1061は図9に示す平滑コンデンサC961と同じコンデンサであ
り、バイパスコンデンサCP1062は図9に示すバイパスコンデンサ962と同じコン
デンサである。
The smoothing capacitor C1061 is the same capacitor as the smoothing capacitor C961 shown in FIG. 9, and the bypass capacitor CP1062 is the same capacitor as the bypass capacitor 962 shown in FIG.

また、下流コネクタ612のVcc端子から延びる内部接続線Vcc1073と、GN
D端子から延びる内部接続線GND1074とは、平滑コンデンサC1061及びバイパ
スコンデンサ1062を介して接続されている。
Further, an internal connection line Vcc 1073 extending from the Vcc terminal of the downstream connector 612, GN
The internal connection line GND 1074 extending from the D terminal is connected via a smoothing capacitor C 1061 and a bypass capacitor 1062.

図11は、本発明の第1の実施形態の演出制御装置550から装飾制御装置610に出
力されるデータに含まれるスレーブアドレス1100の説明図である。
FIG. 11 is an explanatory diagram of the slave address 1100 included in the data output from the presentation control device 550 to the decoration control device 610 according to the first embodiment of this invention.

スレーブアドレス1100は、上位3ビットからなる固定アドレス部1101及び下位
5ビットからなる可変アドレス部1102を含む。
The slave address 1100 includes a fixed address part 1101 consisting of upper 3 bits and a variable address part 1102 consisting of lower 5 bits.

固定アドレス部1101は、「110」が予め設定されていて、I2CI/Oエクスパ
ンダ615が変更できないアドレスである。
The fixed address portion 1101 is an address that is preset with “110” and cannot be changed by the I 2 CI / O expander 615.

可変アドレス部1102は、I2CI/Oエクスパンダ615に設定可能なアドレスで
あり、制御対象となるI2CI/Oエクスパンダ615のA0〜A3の端子に設定されて
いるパターンに対応した4ビットのI2CI/Oエクスパンダアドレス1103と、当該
データが読み出し要求であるのか書き込み要求であるのかを示す1ビットのR/W識別デ
ータ1104と、が含まれる。
Variable address portion 1102 is a configurable address I 2 CI / O expander 615, corresponding to a pattern that is set to A0~A3 terminal of I 2 CI / O expander 615 to be controlled 4 A bit I 2 CI / O expander address 1103 and 1-bit R / W identification data 1104 indicating whether the data is a read request or a write request are included.

演出制御装置550から装飾制御装置610に出力される演出制御データは、書き込み
要求であるので、R/W識別データ1104には、通常「0」が登録される。
Since the effect control data output from the effect control device 550 to the decoration control device 610 is a write request, “0” is normally registered in the R / W identification data 1104.

図12は、本発明の第1の実施形態のI2CI/Oエクスパンダアドレステーブル12
00の説明図である。
FIG. 12 shows the I 2 CI / O expander address table 12 according to the first embodiment of this invention.
FIG.

2CI/Oエクスパンダアドレステーブル1200は、マスタIC570によって管
理されるテーブルである。I2CI/Oエクスパンダアドレステーブル1200は、スレ
ーブアドレス1201とI2CI/Oエクスパンダアドレス1202との対応関係を示し
ている。
The I 2 CI / O expander address table 1200 is a table managed by the master IC 570. The I 2 CI / O expander address table 1200 shows the correspondence between the slave address 1201 and the I 2 CI / O expander address 1202.

スレーブアドレス1201には、演出制御装置550により送受信の対象として指定さ
れる装飾制御装置610のスレーブアドレスが格納されている。スレーブアドレスは、図
13で前述したように、上位3ビットからなる固定アドレス部と、4ビットのI2CI/
Oエクスパンダアドレスと、1ビットのR/W識別データとを組み合わせて構成される。
The slave address 1201 stores the slave address of the decoration control device 610 specified by the effect control device 550 as a transmission / reception target. As described above with reference to FIG. 13, the slave address includes a fixed address portion consisting of the upper 3 bits and a 4-bit I 2 CI /
It is configured by combining an O expander address and 1-bit R / W identification data.

2CI/Oエクスパンダアドレス1202には、図8Aや図8Bで前述したように、
各スレーブアドレスに対応する4ビットのI2CI/Oエクスパンダアドレスが登録され
る。
In the I 2 CI / O expander address 1202, as described above with reference to FIGS. 8A and 8B,
A 4-bit I 2 CI / O expander address corresponding to each slave address is registered.

ただし、I2CI/Oエクスパンダアドレスのうち、アドレス「1000」及びアドレ
ス「1011」は、各I2CI/Oエクスパンダ615を相互に識別するための固有のア
ドレスとしては使用できない。
However, among the I 2 CI / O expander addresses, the address “1000” and the address “1011” cannot be used as unique addresses for identifying the I 2 CI / O expanders 615 from each other.

「1000」は、すべての装飾制御装置610に対する指令を出力する場合に指定され
るアドレス(オールコールアドレス)の電源投入時のデフォルト値として用いられる。「
1011」はソフトウェアによって、マスタIC570に接続されている全ての装飾制御
装置610を無条件にリセットする場合に用いられる共通アドレスである。
“1000” is used as a default value at the time of power-on of an address (all call address) specified when outputting commands to all the decoration control devices 610. "
“1011” is a common address used when all the decoration control devices 610 connected to the master IC 570 are unconditionally reset by software.

このように、装飾制御装置610のI2CI/Oエクスパンダ615に設定可能な固有
アドレスは14個であるために、演出制御装置550は、14個のI2CI/Oエクスパ
ンダ615を制御できる。また、一つの装飾制御装置610は、PORT0〜PORT1
5を備えるので、16個(言い換えれば16種類)のLEDを制御できる。よって、演出
制御装置550は、224個(言い換えれば224種類)のLEDを制御できる。
As described above, since there are 14 unique addresses that can be set in the I 2 CI / O expander 615 of the decoration control device 610, the effect control device 550 controls the 14 I 2 CI / O expanders 615. it can. In addition, one decoration control device 610 includes PORT0 to PORT1.
Since 5 are provided, 16 (in other words, 16 types) LEDs can be controlled. Therefore, the production control device 550 can control 224 (in other words, 224 types) LEDs.

図13は、本発明の第1の実施形態のI2CI/Oエクスパンダ615に備わる出力設
定レジスタ635(図7参照)に割り当てられたワークレジスタを説明するための図であ
る。
FIG. 13 is a diagram for explaining a work register assigned to the output setting register 635 (see FIG. 7) included in the I 2 CI / O expander 615 according to the first embodiment of this invention.

2CI/Oエクスパンダ615の出力設定レジスタ635には、ワークレジスタ(デ
バイスレジスタ)と、コントロールレジスタ(制御レジスタ)とが割り当てられている。
ワークレジスタは、I2CI/Oエクスパンダ615に対して予め定義されている設定を
行うための情報や、I2CI/Oエクスパンダ615に接続されている演出装置(例えば
、LED)の出力態様を特定するための情報を記憶するものである。また、コントロール
レジスタは、ワークレジスタへのデータ書き込み手順を規定する情報を記憶するもである
A work register (device register) and a control register (control register) are assigned to the output setting register 635 of the I 2 CI / O expander 615.
Work register, and information for setting the predefined relative I 2 CI / O Expander 615, the output of the effect device connected to the I 2 CI / O expander 615 (e.g., LED) Information for specifying an aspect is stored. The control register also stores information defining the procedure for writing data to the work register.

なお、図13に示すように、ワークレジスタは、複数の情報を異なる記憶領域に分散し
て記憶する構成となっており、各記憶領域毎に異なるレジスタ番号が付与されている。
As shown in FIG. 13, the work register has a configuration in which a plurality of pieces of information are distributed and stored in different storage areas, and different register numbers are assigned to the respective storage areas.

レジスタ番号が「00h」となる記憶領域には、「MODE1」というレジスタ名が付
与されており、また、レジスタ番号が「01h」となる記憶領域には、「MODE2」と
いうレジスタ名が付与されている。レジスタ番号「00h」及び「01h」の記憶領域に
値が書き込まれると、書き込まれた値に基づいて、I2CI/Oエクスパンダ615の初
期設定が行われる。
A register name “MODE1” is assigned to the storage area with the register number “00h”, and a register name “MODE2” is assigned to the storage area with the register number “01h”. Yes. When values are written in the storage areas of the register numbers “00h” and “01h”, the I 2 CI / O expander 615 is initialized based on the written values.

レジスタ番号が「02h」〜「11h」となる記憶領域には、「PWM0」〜「PWM
15」というレジスタ名が付与されている。レジスタ番号「02h」〜「11h」の記憶
領域のいずれかに値が書き込まれると、I2CI/Oエクスパンダ615に接続される発
光装置を構成する16個のLEDのうち、値が書き込まれたレジスタ番号に対応するLE
Dの輝度が、書き込まれた値に基づいて調整される。例えば、レジスタ番号「02h」の
記憶領域に値が書き込まれた場合には、図8Aに示すポート0に接続されたLED0の輝
度が調整される。
In the storage areas where the register numbers are “02h” to “11h”, “PWM0” to “PWM
The register name “15” is assigned. When a value is written in any of the storage areas of register numbers “02h” to “11h”, the value is written out of the 16 LEDs constituting the light emitting device connected to the I 2 CI / O expander 615. LE corresponding to the registered register number
The brightness of D is adjusted based on the written value. For example, when a value is written in the storage area of the register number “02h”, the luminance of the LED 0 connected to the port 0 shown in FIG. 8A is adjusted.

なお、I2CI/Oエクスパンダ615に役物駆動SOL560が接続される場合には
、役物駆動SOL560が接続されるポートに対応するレジスタ番号の記憶領域には、役
物駆動SOL560を通電して作動するか、通電せずに未作動状態にするかを示す値が書
き込まれる。
When the accessory driving SOL 560 is connected to the I 2 CI / O expander 615, the accessory driving SOL 560 is energized in the storage area of the register number corresponding to the port to which the accessory driving SOL 560 is connected. A value indicating whether to operate or not to energize is written.

また、I2CI/Oエクスパンダ615に役物駆動MOT561が接続される場合には
、役物駆動MOT561が接続されるポートに対応するレジスタ番号の記憶領域には、役
物駆動MOT561の目標回転位置を示す値が書き込まれる。
When the accessory driving MOT 561 is connected to the I 2 CI / O expander 615, the target rotation of the accessory driving MOT 561 is stored in the storage area of the register number corresponding to the port to which the accessory driving MOT 561 is connected. A value indicating the position is written.

レジスタ番号が「12h」となる記憶領域には、「GRPPWM」というレジスタ名が
付与され、レジスタ番号が「13h」となる記憶領域には、「GRPFREQ」というレ
ジスタ名が付与されている。レジスタ番号「12h」及び「13h」の記憶領域に値が書
き込まれると、書き込まれた値に基づいて、全体のLED(16個のLED)の点滅パタ
ーンが設定される。
A register name “GRPPWM” is assigned to the storage area with the register number “12h”, and a register name “GRPFREQ” is assigned to the storage area with the register number “13h”. When a value is written in the storage areas of the register numbers “12h” and “13h”, a blinking pattern of all LEDs (16 LEDs) is set based on the written value.

具体的には、レジスタ番号「12h」の記憶領域に値が書き込まれた場合には、全体の
LEDのオン・オフ比率であるデューティサイクルが設定され、レジスタ番号「13h」
の記憶領域に値が書き込まれた場合には、全体のLEDの点滅周期が設定される。
Specifically, when a value is written in the storage area of the register number “12h”, the duty cycle that is the on / off ratio of the entire LED is set, and the register number “13h” is set.
When a value is written in the storage area, the blinking cycle of the entire LED is set.

レジスタ番号が「14h」となる記憶領域には、「LEDOUT0」というレジスタ名
が付与されている。レジスタ番号「14h」の記憶領域に値が書き込まれると、書き込ま
れた値に基づいて、LED0〜LED3の出力状態が設定される。
A register name “LEDOUT0” is given to the storage area where the register number is “14h”. When a value is written in the storage area of the register number “14h”, the output states of the LEDs 0 to LED3 are set based on the written value.

レジスタ番号が「15h」となる記憶領域には、「LEDOUT1」というレジスタ名
が付与されている。レジスタ番号「15h」の記憶領域に値が書き込まれると、書き込ま
れた値に基づいて、LED4〜LED7の出力状態が設定される。
A register name “LEDOUT1” is given to the storage area where the register number is “15h”. When a value is written in the storage area of the register number “15h”, the output states of the LEDs 4 to 7 are set based on the written value.

レジスタ番号が「16h」となる記憶領域には、「LEDOUT2」というレジスタ名
が付与されている。レジスタ番号「16h」の記憶領域に値が書き込まれると、書き込ま
れた値に基づいて、LED8〜LED11の出力状態が設定される。
A register name “LEDOUT2” is assigned to the storage area where the register number is “16h”. When a value is written in the storage area of the register number “16h”, the output states of the LEDs 8 to 11 are set based on the written value.

レジスタ番号が「17h」となる記憶領域には、「LEDOUT3」というレジスタ名
が付与されている。レジスタ番号「17h」の記憶領域に値が書き込まれると、書き込ま
れた値に基づいて、LED12〜LED15の出力状態が設定される。
A register name “LEDOUT3” is given to the storage area where the register number is “17h”. When a value is written in the storage area of the register number “17h”, the output states of the LEDs 12 to 15 are set based on the written value.

レジスタ番号が「18h」〜「1Ah」となる記憶領域には、「SUBADR1」〜「
SUBADR3」というレジスタ名が付与されている。レジスタ番号「18h」〜「1A
h」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、第1サブアドレス〜
第3サブアドレスが設定される。
In the storage areas where the register numbers are “18h” to “1Ah”, “SUBADR1” to “
The register name “SUBADR3” is assigned. Register numbers “18h” to “1A
When a value is written in the storage area of “h”, the first sub-address to
A third subaddress is set.

レジスタ番号が「1Bh」となる記憶領域には、「ALLCALLADR」というレジ
スタ名が付与されている。レジスタ番号「1Bh」の記憶領域に値が書き込まれると、書
き込まれた値に基づいて、オールコールアドレスが設定される。
A register name “ALLCALLADR” is given to the storage area whose register number is “1Bh”. When a value is written in the storage area of the register number “1Bh”, an all-call address is set based on the written value.

図14は、本発明の第1の実施形態のマスタIC570が接続線SDA及び接続線SC
Lを介して出力するデータのスタート条件及びストップ条件の説明図である。
FIG. 14 shows that the master IC 570 according to the first embodiment of the present invention has a connection line SDA and a connection line SC.
It is explanatory drawing of the start condition and stop condition of the data output via L.

接続線SCLは、データの非送信時に信号レベルがHIGHになっており、マスタIC
570は、装飾制御装置610にデータを出力する際に、接続線SCLの信号レベルをL
OWからHIGHに変化させ、装飾制御装置610が接続線SDAのデータを取り込むた
めのストローブ信号として作用させる。
The connection line SCL has a signal level HIGH when data is not transmitted, and the master IC
When 570 outputs data to the decoration control device 610, the signal level of the connection line SCL is set to L.
The decoration control device 610 operates as a strobe signal for taking in the data of the connection line SDA by changing from OW to HIGH.

接続線SDAは、データの非送信時に信号レベルがHIGHになっており、接続線SC
Lのクロック信号に合わせて接続線SDAからデータが出力される。
The connection line SDA has a signal level HIGH when data is not transmitted, and the connection line SC
Data is output from the connection line SDA in accordance with the L clock signal.

マスタIC570は、接続線SCLの信号レベルをHIGHに維持したまま、接続線S
DAの信号レベルをHIGHからLOWに変化させることで、データの出力が開始するこ
とを示すスタート条件となる信号を出力する。
The master IC 570 maintains the signal level of the connection line SCL at HIGH while maintaining the connection line SCL.
By changing the DA signal level from HIGH to LOW, a signal serving as a start condition indicating that data output starts is output.

装飾制御装置610のI2CI/Oエクスパンダ615は、接続線SDA及び接続線S
CLからスタート条件となる信号が入力されると、データの出力が開始することを把握す
る。
The I 2 CI / O expander 615 of the decoration control device 610 includes a connection line SDA and a connection line S.
When a signal serving as a start condition is input from CL, it is understood that data output starts.

マスタIC570は、接続線SCLの信号レベルをHIGHに維持したまま、接続線S
DAの信号レベルをLOWからHIGHに変化させることで、データの出力が終了するこ
とを示すストップ条件を示す信号を出力する。
The master IC 570 maintains the signal level of the connection line SCL at HIGH while maintaining the connection line SCL.
By changing the DA signal level from LOW to HIGH, a signal indicating a stop condition indicating the end of data output is output.

装飾制御装置610のI2CI/Oエクスパンダ615は、ストップ条件が入力される
と、データの出力が終了することを把握する。
The I 2 CI / O expander 615 of the decoration control device 610 grasps that the output of data ends when the stop condition is input.

図15は、本発明の第1の実施形態のマスタIC570から出力されたデータが入力さ
れた装飾制御装置610が返答信号を出力するタイミングチャートである。
FIG. 15 is a timing chart at which the decoration control device 610 to which the data output from the master IC 570 according to the first embodiment of the present invention is input outputs a response signal.

装飾制御装置610は、スタート条件が成立してから接続線SCLの信号レベルの変化
回数を計数し、接続線SCLのクロック信号に合わせて接続線SDAから入力されるデー
タを取り込む。
The decoration control device 610 counts the number of changes in the signal level of the connection line SCL after the start condition is satisfied, and takes in data input from the connection line SDA in accordance with the clock signal of the connection line SCL.

そして、装飾制御装置610は、スタート条件が成立してから接続線SCLの信号レベ
ルの変化回数が9回に達する直前に、返答信号をマスタIC570に接続線SDAを介し
て出力する。換言すると、装飾制御装置610は、接続線SDAから8ビット目のデータ
を取り込んだ後に、接続線SCLの信号レベルがHIGHからLOWに変化することを契
機に、返答信号を当該接続線SDAを介して出力する。
Then, the decoration control device 610 outputs a response signal to the master IC 570 via the connection line SDA immediately after the start condition is satisfied and immediately before the signal line change number of the connection line SCL reaches nine. In other words, the decoration control device 610 receives a response signal via the connection line SDA when the signal level of the connection line SCL changes from HIGH to LOW after taking the 8th bit data from the connection line SDA. Output.

なお、図に示すように、データの受信に成功したことを示す返答信号(ACKの返答信
号)はLOWレベルによって示され、データの受信に失敗したことを示す返答信号(NA
CKの返答信号、図ではACK出力なしに相当)はHIGHレベルによって示される。
As shown in the figure, a response signal (ACK response signal) indicating that the data has been successfully received is indicated by a LOW level, and a response signal (NA) indicating that the data reception has failed.
The CK response signal (corresponding to no ACK output in the figure) is indicated by a HIGH level.

また、マスタIC570は、スタート条件が成立してから接続線SCLの信号レベルが
8回変化すると、接続線SDAを解放することによって、装飾制御装置610から返答信
号の入力を待機する。そして、マスタIC570は、接続線SDAを解放したまま、接続
線SCLの信号レベルを変化させて、装飾制御装置610からの返答信号を取り込む。
Further, when the signal level of the connection line SCL changes eight times after the start condition is satisfied, the master IC 570 waits for a response signal from the decoration control device 610 by releasing the connection line SDA. Then, the master IC 570 changes the signal level of the connection line SCL while releasing the connection line SDA, and takes in the response signal from the decoration control device 610.

図16は、本発明の第1の実施形態のマスタIC570が演出制御データを出力する場
合の接続線SDA及び接続線SCLの信号レベルのタイミングチャートである。
FIG. 16 is a timing chart of signal levels of the connection line SDA and the connection line SCL when the master IC 570 according to the first embodiment of the present invention outputs effect control data.

まず、マスタIC570は、データの出力を開始する場合には、接続線SCLの信号レ
ベルをHIGHに維持したまま、接続線SDAの信号レベルをHIGHからLOWに変化
させることによって、スタート条件を示す信号を出力し、これからデータを出力すること
を装飾制御装置610に通知する。
First, when starting output of data, the master IC 570 changes the signal level of the connection line SDA from HIGH to LOW while maintaining the signal level of the connection line SCL at HIGH, thereby indicating a start condition signal. And the decoration control device 610 is notified that data will be output.

次に、マスタIC570は、合計7ビットからなる制御対象となる装飾制御装置610
のスレーブアドレスを出力する。次に、マスタIC570は、読み出し要求である書き込
み要求であるかを示すデータを8ビット目に出力する。
Next, the master IC 570 has a decoration control device 610 that is a control target having a total of 7 bits.
Outputs the slave address. Next, the master IC 570 outputs data indicating whether the write request is a read request to the eighth bit.

そして、マスタIC570は、接続線SCLの信号レベルが9回目にHIGHになると
きに、装飾制御装置610から返答信号が入力されるので、ACKの返答信号であれば接
続線SDAの信号レベルがLOWに変化し、NACKの返答信号であれば接続線SDAの
信号レベルがHIGHに変化する。
The master IC 570 receives a response signal from the decoration control device 610 when the signal level of the connection line SCL becomes HIGH for the ninth time. Therefore, if the response signal is an ACK response signal, the signal level of the connection line SDA is LOW. If the response signal is NACK, the signal level of the connection line SDA changes to HIGH.

次に、マスタIC570は、アドレスデータの出力後、データを、8の倍数となるビッ
ト数で出力する。マスタIC570は、データの8ビット目を出力した後、ACKの返答
信号が入力されるのを待ってデータの9ビット目を出力する。以降、8の倍数番目に相当
するビットのデータを出力すると、ACKの返答信号が入力されるのを確認してから、(
8の倍数+1)番目のビットを出力し、全データが出力されるまで繰り返す。
Next, after outputting the address data, the master IC 570 outputs the data in the number of bits that is a multiple of 8. After outputting the eighth bit of data, master IC 570 outputs the ninth bit of data after waiting for an ACK response signal to be input. After that, when data of a bit corresponding to a multiple of 8 is output, after confirming that an ACK response signal is input,
Output a multiple of 8 + 1) -th bit and repeat until all data is output.

なお、マスタIC570は、データの8の倍数番目となるビットを出力した後、所定時
間経過してもACKの返答信号が入力されない場合には、データの送信に失敗したものと
みなして、再度スタート条件を送信する。次いで、接続線SDAを介して、再度アドレス
データを出力し、ACKの返答信号を確認しながら、もう一度、データを1ビット目から
出力する。
If the master IC 570 outputs a bit that is a multiple of 8 after the data has been output and the ACK response signal is not received after a predetermined time, the master IC 570 assumes that the data transmission has failed and starts again. Send the condition. Next, the address data is output again via the connection line SDA, and the data is output again from the first bit while confirming the ACK response signal.

また、マスタIC570は、データの最後のビットのデータを出力した後、ACKの返
答信号が入力されるのを待って、ストップ条件を示す信号を出力する。
The master IC 570 outputs the signal indicating the stop condition after outputting the data of the last bit of the data and waiting for the ACK response signal to be input.

なお、図16では、スタート条件を示す信号を出力してからストップ条件を示す信号を
出力するまでの間に、合計24ビット(スレーブアドレス8ビット、データ16ビット)
のデータを出力しているが、24ビット以上であってもよいし、24ビット以下であって
もよい。
In FIG. 16, there is a total of 24 bits (slave address 8 bits, data 16 bits) from when the signal indicating the start condition is output until the signal indicating the stop condition is output.
However, it may be 24 bits or more or 24 bits or less.

図17は、本発明の第1の実施形態のマスタIC570が、スレーブの個別アドレスを
指定して装飾制御装置610に演出制御データを設定する場合において、マスタIC57
0とI2CI/Oエクスパンダ615との間で授受されるデータのフォーマットを説明す
る図である。
FIG. 17 shows the master IC 57 when the master IC 570 according to the first embodiment of the present invention sets the presentation control data in the decoration control device 610 by specifying the slave individual address.
FIG. 6 is a diagram illustrating a format of data exchanged between 0 and an I 2 CI / O expander 615.

はじめに出力される8ビットのデータ1801には、データ送信の対象となる装飾制御
装置610のアドレス「A0〜A6」と、当該データが読み出し要求であるのか書き込み
要求であるのかを示す1ビットのR/W識別データとが含まれる。このアドレス「A0〜
A6」のうち、「A4〜A6」は値「110」となる固定アドレス部であり、「A0〜A
3」はI2CI/Oエクスパンダ615のA0〜A3の端子に設定されているアドレスに
相当する(図8参照)。なお、このデータ1801は、図16における「ADRESS」
及び「R/W」に対応するものである。
The 8-bit data 1801 that is output first includes an address “A0 to A6” of the decoration control device 610 that is the target of data transmission, and a 1-bit R that indicates whether the data is a read request or a write request. / W identification data. This address "A0
Among “A6”, “A4 to A6” are fixed address portions having a value “110”, and “A0 to A6”.
“3” corresponds to the address set in the terminals A0 to A3 of the I 2 CI / O expander 615 (see FIG. 8). The data 1801 is “ADRESS” in FIG.
And “R / W”.

次に、出力される8ビットのデータ1802には、I2CI/Oエクスパンダ615の
出力設定レジスタ635(図7参照)に割り当てられているコントロールレジスタへの設
定データが含まれる。このデータ1802は、図16において1番目に送信される「DA
TA」に対応するものである。
Next, the output 8-bit data 1802 includes setting data for the control register assigned to the output setting register 635 (see FIG. 7) of the I 2 CI / O expander 615. This data 1802 is “DA” transmitted first in FIG.
Corresponds to “TA”.

ここで、コントロールレジスタについて説明する。コントロールレジスタは8ビットか
らなり、上位3ビット「AI0〜AI2」が出力設定レジスタ635のワークレジスタへ
の書き込み又は読み出し方法を指定する自動書込パラメータであり、下位5ビット「D0
〜D4」がワークレジスタにおけるアクセス開始位置(書き込みを開始する先頭位置、又
は読み出しを開始する先頭位置)を指定するレジスタアドレスである。
Here, the control register will be described. The control register is composed of 8 bits, and the upper 3 bits “AI0 to AI2” are automatic write parameters for designating the writing or reading method to the work register of the output setting register 635, and the lower 5 bits “D0”.
˜D4 ”is a register address that specifies an access start position (a start position at which writing is started or a start position at which reading is started) in the work register.

自動書込パラメータは、マスタIC570によって、レジスタアドレスが指定するアク
セス開始位置の領域のみをアクセス(オートインクリメントを禁止)するのか、指定する
アクセス開始位置の領域に隣接する領域も含んでアクセス(オートインクリメントを許可
)するのかを指定するパラメータであり、具体的には「000」、「100」、「101
」、「110」、「111」の何れかの値を設定することができる。
The automatic write parameter is accessed by the master IC 570 including only the area at the access start position specified by the register address (auto-increment is prohibited) or including the area adjacent to the area at the access start position specified. Is specifically designated as “000”, “100”, “101”.
"," 110 ", or" 111 "can be set.

自動書込パラメータに「000」の値を設定すると、オートインクリメントが禁止され
、レジスタアドレスが指定するアクセス開始位置の領域のみにアクセスし、開始位置以外
の領域にはアクセスしない。例えば、レジスタアドレスが「10100」であれば、レジ
スタ番号が「14h」となる記憶領域のみにアクセスし、他の記憶領域にはアクセスしな
い。
When a value of “000” is set in the automatic write parameter, auto-increment is prohibited, and only the area at the access start position specified by the register address is accessed, and the area other than the start position is not accessed. For example, if the register address is “10100”, only the storage area with the register number “14h” is accessed, and the other storage areas are not accessed.

自動書込パラメータに「100」の値を設定すると、オートインクリメントが許可され
、レジスタアドレスが指定するアクセス開始位置の領域にアクセスした後は、レジスタ番
号が増加する方向に領域を移動しながら順にアクセスを繰り返す。そして、レジスタ番号
が最終の「1Bh」となる記憶領域にアクセスした後は、レジスタ番号が「00h」とな
る記憶領域にアクセスし、再度、レジスタ番号が増加する方向に領域を移動しながら順に
アクセスを繰り返す。例えば、レジスタアドレスが「10100」であれば、レジスタ番
号が「14h」となる記憶領域にアクセスした後は、レジスタ番号が「15h」→「16
h」→・・→「1Bh」→「00h」→「01h」→・・となる領域(即ち、全ての領域
)に、繰り返しアクセスする。
When the value of “100” is set in the auto-write parameter, auto-increment is permitted, and after accessing the area at the access start position specified by the register address, the area is accessed in order while moving the area in the direction of increasing the register number. repeat. Then, after accessing the storage area where the register number is “1Bh” at the end, the storage area where the register number is “00h” is accessed and accessed again sequentially while moving the area in the direction in which the register number increases. repeat. For example, if the register address is “10100”, the register number becomes “15h” → “16” after accessing the storage area where the register number becomes “14h”.
"h"->->"1Bh"->"00h"->"01h"->... (i.e., all areas) are repeatedly accessed.

自動書込パラメータに「101」の値を設定すると、自動書込パラメータに「100」
の値を設定した場合と同様に、レジスタアドレスが指定するアクセス開始位置の領域にア
クセスした後は、レジスタ番号が増加する方向に領域を移動しながら順にアクセスを繰り
返す。但し、一旦、レジスタ番号が「11h」となる記憶領域にアクセスした後は、レジ
スタ番号が「02h」となる記憶領域にアクセスし、以降、レジスタ番号が「02h」〜
「11h」となる区間の記録領域(LEDの輝度調整に関する領域)に繰り返しアクセス
する。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「14h」
となる記憶領域にアクセスした後は、レジスタ番号が「15h」→「16h」→・・→「
1Bh」→「00h」→「01h」→・・となる領域に、順にアクセスする。そして、レ
ジスタ番号が「11h」となる記憶領域にアクセスした後は、レジスタ番号が「02h」
→「03h」→・・→「11h」→「02h」→「03h」→・・となる領域に、繰り返
しアクセスする。
When the value “101” is set in the automatic writing parameter, “100” is set in the automatic writing parameter.
As in the case where the value of is set, after accessing the area at the access start position specified by the register address, the access is repeated in order while moving the area in the direction of increasing the register number. However, once the storage area with the register number “11h” is accessed, the storage area with the register number “02h” is accessed.
The recording area (area related to LED brightness adjustment) in the section “11h” is repeatedly accessed. For example, if the register address is “10100”, the register number is “14h”.
After accessing the storage area, the register number is “15h” → “16h” →
1Bh ”→“ 00h ”→“ 01h ”→.. After accessing the storage area where the register number is “11h”, the register number is “02h”.
→ “03h” →... “11h” → “02h” → “03h” →...

自動書込パラメータに「110」の値を設定すると、自動書込パラメータに「100」
の値を設定した場合と同様に、レジスタアドレスが指定するアクセス開始位置の領域にア
クセスした後は、レジスタ番号が増加する方向に領域を移動しながら順にアクセスを繰り
返す。但し、一旦、レジスタ番号が「13h」となる記憶領域にアクセスした後は、レジ
スタ番号が「12h」となる記憶領域にアクセスし、以降、レジスタ番号が「12h」〜
「13h」となる区間の記録領域(LEDの点滅周期に関する領域)を繰り返しアクセス
する。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「14h」
となる記憶領域にアクセスした後は、レジスタ番号が「15h」→「16h」→・・→「
1Bh」→「00h」→「01h」→・・となる領域に、順にアクセスする。そして、レ
ジスタ番号が「13h」となる記憶領域にアクセスした後は、レジスタ番号が「12h」
→「13h」→「12h」→「13h」→・・となる領域に、繰り返しアクセスする。
When the value “110” is set in the automatic writing parameter, “100” is set in the automatic writing parameter.
As in the case where the value of is set, after accessing the area at the access start position specified by the register address, the access is repeated in order while moving the area in the direction of increasing the register number. However, once the storage area with the register number “13h” is accessed, the storage area with the register number “12h” is accessed.
The recording area (area relating to the LED blinking cycle) in the section “13h” is repeatedly accessed. For example, if the register address is “10100”, the register number is “14h”.
After accessing the storage area, the register number is “15h” → “16h” →
1Bh ”→“ 00h ”→“ 01h ”→.. After accessing the storage area where the register number is “13h”, the register number is “12h”.
→ "13h" → "12h" → "13h" → ... repeatedly access the area.

自動書込パラメータに「111」の値を設定すると、自動書込パラメータに「100」
の値を設定した場合と同様に、レジスタアドレスが指定するアクセス開始位置の領域にア
クセスした後は、レジスタ番号が増加する方向に領域を移動しながら順にアクセスを繰り
返す。但し、一旦、レジスタ番号が「13h」となる記憶領域にアクセスした後は、レジ
スタ番号が「02h」となる記憶領域にアクセスし、以降、レジスタ番号が「02h」〜
「13h」となる区間の記録領域(LEDの輝度及び点滅周期に関する領域)に繰り返し
アクセスする。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「
14h」となる記憶領域にアクセスした後は、レジスタ番号が「15h」→「16h」→
・・→「1Bh」→「00h」→「01h」→・・となる領域に、順にアクセスする。そ
して、レジスタ番号が「13h」となる記憶領域にアクセスした後は、レジスタ番号が「
02h」→「03h」→・・→「13h」→「02h」→「03h」→・・となる領域に
、繰り返しアクセスする。
When the value “111” is set in the automatic writing parameter, “100” is set in the automatic writing parameter.
As in the case where the value of is set, after accessing the area at the access start position specified by the register address, the access is repeated in order while moving the area in the direction of increasing the register number. However, once the storage area with the register number “13h” is accessed, the storage area with the register number “02h” is accessed.
The recording area (area relating to LED brightness and blinking cycle) in the section “13h” is repeatedly accessed. For example, if the register address is “10100”, the register number is “
After accessing the storage area of “14h”, the register number is “15h” → “16h” →
・ →→ Access the areas in the order of “1Bh” → “00h” → “01h” → Then, after accessing the storage area where the register number is “13h”, the register number is “
“02h” → “03h” →... “13h” → “02h” → “03h” →...

図17に戻り、コントロールレジスタへの設定データ1802に続いて、ワークレジス
タへの設定データ1803が出力される。この設定データ1803は、図16において2
番目以降に送信される「DATA」に対応するものである。
Returning to FIG. 17, the setting data 1803 to the work register is output following the setting data 1802 to the control register. This setting data 1803 is 2 in FIG.
This corresponds to “DATA” transmitted after the first.

自動書込パラメータを「000」とした場合には、この設定データ1803は、レジス
タアドレスが指定する1箇所の記憶領域を更新するために必要な8ビットのデータとなる
。自動書込パラメータを「000」以外の値とした場合には、この設定データ1803は
、レジスタアドレスが指定する記憶領域を先頭に、複数の領域を繰り返し更新するために
必要な8の倍数となるビットのデータとなる。
When the automatic writing parameter is “000”, the setting data 1803 is 8-bit data necessary for updating one storage area designated by the register address. When the automatic write parameter is set to a value other than “000”, the setting data 1803 is a multiple of 8 necessary for repeatedly updating a plurality of areas starting from the storage area specified by the register address. Bit data.

図18は、本発明の第1の実施形態のマスタIC570が、スレーブの個別アドレスを
指定して装飾制御装置610に演出制御データを設定する場合において、マスタIC57
0とI2CI/Oエクスパンダ615との間で授受される演出制御データに具体的な数値
を適用したものである。本図では、オートインクリメントを禁止して、ワークレジスタの
1箇所の記憶領域だけを更新する演出制御データを例示しており、I2CI/Oエクスパ
ンダ615のPORT0端子〜PORT3端子に接続されるLEDの発光状態を更新する
場合を想定している。
FIG. 18 shows the master IC 57 when the master IC 570 of the first embodiment of the present invention specifies the slave individual address and sets the effect control data in the decoration control device 610.
A specific numerical value is applied to effect control data exchanged between 0 and the I 2 CI / O expander 615. This figure illustrates the presentation control data that prohibits auto-increment and updates only one storage area of the work register, and is connected to the PORT0 terminal to the PORT3 terminal of the I 2 CI / O expander 615. The case where the light emission state of LED is updated is assumed.

まず、はじめに出力される8ビットのデータ1901には、送信先の装飾制御装置61
0のI2CI/Oエクスパンダ615のスレーブアドレスを示す「1101100」が割
り当てられている。
First, 8-bit data 1901 that is output first includes the destination decoration control device 61.
“1101100” indicating the slave address of the 0 I 2 CI / O expander 615 is assigned.

次に出力される8ビットのデータ1902には、自動書込パラメータ、及びLEDの出
力データを設定するために割り当てられているI2CI/Oエクスパンダ615の出力設
定レジスタ635のコントロールレジスタに設定される値が含まれる。
The 8-bit data 1902 to be output next is set in the control register of the output setting register 635 of the I 2 CI / O expander 615 assigned to set the automatic writing parameter and LED output data. Value to be included.

ここでは、I2CI/Oエクスパンダ615のPORT0端子〜PORT3端子に接続
されるLEDの発光状態を設定するので、レジスタアドレスにはLEDOUT0(アドレ
ス=10100)を指定することにする。
Here, since the light emission state of the LED connected to the PORT0 terminal to the PORT3 terminal of the I 2 CI / O expander 615 is set, LEDOUT0 (address = 10100) is designated as the register address.

なお、自動書込パラメータには、オートインクリメントを禁止するために「000」が
指定されている。
Note that “000” is designated in the auto-write parameter to prohibit auto-increment.

次に、出力される8ビットのデータ1903には、送信先の装飾制御装置610によっ
て制御される装飾装置620の発光態様を設定するデータが含まれる。具体的には、LE
DOUT0レジスタに設定されるデータが割り当てられている。これにより、I2CI/
Oエクスパンダ615のPORT0端子〜PORT3端子に接続されるLEDの発光状態
(点灯、消灯、点滅など)が指定され、指定された状態でLEDが発光する。
Next, the output 8-bit data 1903 includes data for setting the light emission mode of the decoration device 620 controlled by the destination decoration control device 610. Specifically, LE
Data to be set in the DOUT0 register is assigned. As a result, I 2 CI /
The light emission state (lighting, extinguishing, blinking, etc.) of the LED connected to the PORT0 terminal to the PORT3 terminal of the O expander 615 is designated, and the LED emits light in the designated state.

このようにして、I2CI/Oエクスパンダ615のPORT0端子〜PORT3端子
のLEDの発光状態が制御されるが、I2CI/Oエクスパンダ615の他のPORT端
子(PORT4〜PORT15)も、コントロールレジスタに書き込むデータ1902の
値を指定して、出力データ1903を設定することで制御可能である。PORT端子に、
モーターやソレノイドが接続されていても、同様に制御される。
In this way, the light emission state of the LED PORT0 terminal ~PORT3 terminal I 2 CI / O expander 615 is controlled, the other PORT terminal I 2 CI / O expander 615 (PORT4~PORT15) also Control can be performed by specifying the value of data 1902 to be written to the control register and setting output data 1903. To the PORT terminal
Even if a motor or solenoid is connected, the same control is performed.

図19は、本発明の第1の実施形態の演出制御データの別の形態を説明する図である。
本図では、オートインクリメントを許可して、ワークレジスタの全ての記憶領域を更新す
る場合を想定しており、演出制御データに含まれる各データの送信順序を規定している。
FIG. 19 is a diagram illustrating another form of effect control data according to the first embodiment of this invention.
In this figure, it is assumed that auto-increment is permitted and all storage areas of the work register are updated, and the transmission order of each data included in the presentation control data is defined.

まず、マスタIC570は、制御対象となる装飾制御装置610の個別アドレスを特定
可能な8ビットのデータ(図18のデータ1901と同一フォーマットのデータ)を送信
する。
First, the master IC 570 transmits 8-bit data (data having the same format as the data 1901 in FIG. 18) that can specify the individual address of the decoration control device 610 to be controlled.

次に、マスタIC570は、制御対象のI2CI/Oエクスパンダ615の出力設定レ
ジスタ635のコントロールレジスタに設定されるデータ(図18のデータ1902と同
一フォーマットのデータ)を送信する。本図においては、オートインクリメントを許可し
てワークレジスタの全ての記憶領域を更新するため、自動書込パラメータには「100」
が指定され、書き込み先又は読み出しの開始位置を指定するレジスタアドレスには、ワー
クレジスタの先頭領域となる「00h」が指定される。
Next, the master IC 570 transmits data (data having the same format as the data 1902 in FIG. 18) set in the control register of the output setting register 635 of the I 2 CI / O expander 615 to be controlled. In this figure, since the auto-increment is permitted and all the storage areas of the work register are updated, the automatic write parameter is “100”.
Is specified, and “00h” that is the head area of the work register is specified as the register address that specifies the write destination or the read start position.

このため、コントロールレジスタ設定値を受信した後の制御対象となる装飾制御装置6
10のI2CI/Oエクスパンダ615においては、レジスタ番号が「00h」の記憶領
域(MODE1レジスタ)が最初に更新されることになる。
Therefore, the decoration control device 6 to be controlled after receiving the control register set value
In the 10 I 2 CI / O expander 615, the storage area (MODE1 register) whose register number is “00h” is updated first.

次いで、マスタIC570は、コントロールレジスタ設定値の送信後、MODE1レジ
スタに書き込む値(合計8ビット)を送信する。I2CI/Oエクスパンダ615は、当
該書き込み値を受信するとMODE1レジスタの値を更新し、レジスタ番号をインクリメ
ントして次の「01h」の記憶領域(MODE2レジスタ)を更新するための準備をする
Next, after transmitting the control register set value, the master IC 570 transmits a value (total of 8 bits) to be written to the MODE1 register. When the I 2 CI / O expander 615 receives the write value, it updates the value of the MODE 1 register, increments the register number, and prepares to update the next “01h” storage area (MODE 2 register). .

次いで、マスタIC570は、MODE2レジスタに書き込む値(合計8ビット)を送
信し、以降、レジスタ番号が「02h」〜「1Bh」となる残りの記憶領域のレジスタに
対して、順に設定値を送信する。I2CI/Oエクスパンダ615は、当該書き込み値を
受信する毎に対応するレジスタの値を更新し、レジスタ番号をインクリメントして次の記
憶領域を更新するための準備を繰り返すことで、ワークレジスタに割り当てられた「00
h」〜「1Bh」の全てのレジスタの値が更新される。
Next, the master IC 570 transmits values to be written to the MODE2 register (8 bits in total), and thereafter transmits the set values in order to the remaining storage area registers whose register numbers are “02h” to “1Bh”. . Each time the I 2 CI / O expander 615 receives the write value, the I 2 CI / O expander 615 updates the value of the corresponding register, increments the register number, and repeats the preparation for updating the next storage area. “00” assigned to
The values of all the registers “h” to “1Bh” are updated.

なお、I2CI/Oエクスパンダ615は、ワークレジスタの最終となる「1Bh」の
記憶領域を更新すると、レジスタ番号は「00h」に変更して、MODE1レジスタの更
新を待つ状態となる。
When the I 2 CI / O expander 615 updates the storage area of “1Bh”, which is the last of the work registers, the register number is changed to “00h” and waits for the update of the MODE1 register.

図20は、本発明の第1の実施形態のマスタIC570がI2CI/Oエクスパンダ6
15を初期化するときに、マスタIC570からI2CI/Oエクスパンダ615へ送信
される初期化指示データのデータフォーマットを説明する図である。
FIG. 20 shows the case where the master IC 570 according to the first embodiment of the present invention uses the I 2 CI / O expander 6.
5 is a diagram illustrating a data format of initialization instruction data transmitted from the master IC 570 to the I 2 CI / O expander 615 when initializing 15.

演出制御装置550のCPU551がマスタIC570に対して装飾制御装置610の
初期化を行うように指示すると、マスタIC570は、配下に接続している全ての装飾制
御装置610に初期化指示データを送信する。
When the CPU 551 of the effect control device 550 instructs the master IC 570 to initialize the decoration control device 610, the master IC 570 transmits initialization instruction data to all the decoration control devices 610 connected thereto. .

はじめに出力される8ビットのデータ2001には、図18に示す固定アドレス「11
0」と、共通アドレスであるリセットアドレス「1011」(図12参照)とが含まれる
。なお、このデータ2001は、図16における「ADRESS」に対応するものであり
、「R/W」のビットには、書き込みを示す「0」が設定される。
The 8-bit data 2001 output first includes a fixed address “11” shown in FIG.
0 ”and a reset address“ 1011 ”(see FIG. 12), which is a common address. This data 2001 corresponds to “ADDRESS” in FIG. 16, and “0” indicating writing is set in the bit of “R / W”.

次に出力される8ビットのデータ2002では、第1所定値「10100101」が出
力さて、次に出力される8ビットのデータ2003では、第2所定値「01011010
」が出力される。なお、このデータ2002は、図16において1番目に送信される「D
ATA」に対応し、データ2003は、図16において2番目に送信される「DATA」
に対応する。
In the 8-bit data 2002 to be output next, the first predetermined value “10100101” is output, and in the 8-bit data 2003 to be output next, the second predetermined value “01011010”.
Is output. This data 2002 is “D” transmitted first in FIG.
Corresponding to “ATA”, the data 2003 is “DATA” transmitted second in FIG.
Corresponding to

マスタIC570に接続されるすべてのI2CI/Oエクスパンダ615は、リセット
アドレス、第1所定値、及び第2所定値から構成される初期化指示データを受信すると、
自身の初期化を行う。
When all the I 2 CI / O expanders 615 connected to the master IC 570 receive initialization instruction data including a reset address, a first predetermined value, and a second predetermined value,
Initialize itself.

リセットアドレスの出力後に、第1所定値及び第2所定値を出力するようにしたのは、
マスタIC570がリセットアドレス「1011」を送信していないにもかかわらず、ノ
イズなどの影響で、I2CI/Oエクスパンダ615が誤ってリセットアドレス「101
1」を取り込んでしまい、誤ったタイミングで初期化が行われることを防止するためであ
る。
After outputting the reset address, the first predetermined value and the second predetermined value are output.
Although the master IC 570 has not transmitted the reset address “1011”, the I 2 CI / O expander 615 erroneously causes the reset address “101” due to the influence of noise or the like.
This is to prevent the initialization at the wrong timing by fetching “1”.

また、リセットアドレスは、個別アドレスとは異なって、全て(換言すれば複数)のI
2CI/Oエクスパンダ615に共通なアドレスである。そのため、リセットアドレスを
含んだ初期化指示データを1回送信するだけで、全て(複数)のI2CI/Oエクスパン
ダ615を選択して初期化することになるので、I2CI/Oエクスパンダ615を個別
に選択して初期化を指示する方法と比較すると、高速に初期化を指示することが可能とな
る。
In addition, the reset address is different from the individual address, and all (in other words, a plurality of) I addresses.
2 An address common to the CI / O expander 615. Therefore, only transmit once initialization instruction data including the reset address, it means that initialize Select I 2 CI / O expander 615 all (plural), I 2 CI / O Aix Compared with the method of individually selecting the panda 615 and instructing initialization, it is possible to instruct initialization at high speed.

なお、図20では、第1所定値と第2所定値とを異なる値としたが、同じ値であっても
よい。また、第1所定値及び第2所定値のいずれかが1回送信されるようにしてもよい。
In FIG. 20, the first predetermined value and the second predetermined value are different from each other, but may be the same value. Further, either the first predetermined value or the second predetermined value may be transmitted once.

図21は、本発明の第1の実施形態の異常判定テーブル2100を説明する図である。   FIG. 21 is a diagram illustrating the abnormality determination table 2100 according to the first embodiment of this invention.

異常判定テーブル2100は、演出制御装置550のRAM553に格納される。異常
判定テーブル2100は、演出制御装置550のマスタIC570と当該マスタIC57
0に接続されるI2CI/Oエクスパンダ615との接続状態を監視するものであり、接
続状態の確認結果に対応して、該当するI2CI/Oエクスパンダ615に対応した後述
のエラーフラグ2105が設定される。
The abnormality determination table 2100 is stored in the RAM 553 of the effect control device 550. The abnormality determination table 2100 includes the master IC 570 and the master IC 57 of the effect control device 550.
This is for monitoring the connection state with the I 2 CI / O expander 615 connected to 0, and corresponding to the confirmation result of the connection state, an error described later corresponding to the corresponding I 2 CI / O expander 615. A flag 2105 is set.

異常判定テーブル2100は、I/Oエクスパンダアドレス2101、スレーブアドレ
ス2102、エラーカウンタ2103、比較値2104、及びエラーフラグ2105を含
む。
The abnormality determination table 2100 includes an I / O expander address 2101, a slave address 2102, an error counter 2103, a comparison value 2104, and an error flag 2105.

I/Oエクスパンダアドレス2101は、マスタIC570に接続されるI2CI/O
エクスパンダ615のA0〜A3の端子に設定されているアドレス(図8参照)に対応し
ている。
The I / O expander address 2101 is an I 2 CI / O connected to the master IC 570.
This corresponds to the addresses (see FIG. 8) set in the terminals A0 to A3 of the expander 615.

スレーブアドレス2102には、図12に示すI2CI/Oエクスパンダアドレステー
ブル1200に登録されているスレーブアドレスが登録される。
In the slave address 2102, the slave address registered in the I 2 CI / O expander address table 1200 shown in FIG. 12 is registered.

エラーカウンタ2103は、マスタIC570からI2CI/Oエクスパンダ615へ
の演出制御データの送信に対して、I2CI/Oエクスパンダ615からのACKが受信
できたか否かを監視した際に、このACKの受信に2回連続して失敗するとインクリメン
トされるものである。
When the error counter 2103 monitors whether or not the ACK from the I 2 CI / O expander 615 has been received in response to the transmission of the effect control data from the master IC 570 to the I 2 CI / O expander 615, It is incremented when it fails to receive this ACK twice in succession.

比較値2104には所定値が登録される。エラーフラグ2105には、当該エントリの
2CI/Oエクスパンダ615との接続状態に異常が発生したか否かを示すエラーフラ
グが登録される。
A predetermined value is registered in the comparison value 2104. In the error flag 2105, an error flag indicating whether or not an abnormality has occurred in the connection state of the entry with the I 2 CI / O expander 615 is registered.

具体的には、インクリメントされたエラーカウンタ2103の値が、比較値2104に
登録された所定値に達した場合に、エラーフラグ2105にONが設定されて当該エント
リのI2CI/Oエクスパンダ615に異常が発生したことが登録される。
Specifically, when the incremented value of the error counter 2103 reaches a predetermined value registered in the comparison value 2104, the error flag 2105 is set to ON, and the I 2 CI / O expander 615 of the entry. It is registered that an error has occurred.

なお、I/Oエクスパンダアドレス2101に登録された「0110」のI2CI/O
エクスパンダ615は、図8Bに示すように、役物駆動SOL560や役物駆動MOT5
61といった可動装置を制御している。そこで、このI2CI/Oエクスパンダ615を
備える装飾制御装置610を、可動制御装置(可動グループ単位制御手段)ということに
する。
The I 2 CI / O of “0110” registered in the I / O expander address 2101
As shown in FIG. 8B, the expander 615 includes the accessory driving SOL560 and the accessory driving MOT5.
A movable device 61 is controlled. Therefore, the decoration control device 610 including the I 2 CI / O expander 615 is referred to as a movable control device (movable group unit control means).

一方、I/Oエクスパンダアドレス2101に登録された「0110」以外のI2CI
/Oエクスパンダ615は、図8Aに示すように、LED等の発光装置を制御している。
そのため、このI2CI/Oエクスパンダ615を備える装飾制御装置610を、前述の
可動制御装置と区別するために、発光制御装置(発光グループ単位制御手段)ということ
にする。
On the other hand, an I 2 CI other than “0110” registered in the I / O expander address 2101
The / O expander 615 controls a light emitting device such as an LED as shown in FIG. 8A.
For this reason, the decoration control device 610 including the I 2 CI / O expander 615 is referred to as a light emission control device (light emission group unit control means) in order to distinguish it from the aforementioned movable control device.

図21では、可動制御装置(I/Oエクスパンダアドレス2101に登録された値が「
0110」)のエントリが存在せず、発光制御装置のエントリのみが登録されている。
In FIG. 21, the value registered in the movable control device (I / O expander address 2101 is “
No entry of “0110”) exists, and only the entry of the light emission control device is registered.

可動制御装置に異常が発生している場合には、役物駆動MOT561が回転しすぎて、
可動役物60が動作可能な範囲を超えて可動してしまい、可動役物60及び可動役物付近
の部材を破損してしまうことを防止するため、発光制御装置よりも短時間で異常判定する
必要がある。そのため、可動制御装置の接続監視タイミングと発光制御装置の接続監視タ
イミングとが異なるので、換言すると、可動制御装置の接続監視の構成と発光制御装置の
接続監視の構成とが異なるので、異常判定テーブル2100から可動制御装置のエントリ
が除外されているのである。
When an abnormality occurs in the movable control device, the accessory driving MOT 561 rotates too much,
In order to prevent the movable accessory 60 from moving beyond the operable range and damaging the movable accessory 60 and members in the vicinity of the movable accessory, an abnormality is determined in a shorter time than the light emission control device. There is a need. Therefore, since the connection monitoring timing of the movable control device and the connection monitoring timing of the light emission control device are different, in other words, the configuration of the connection monitoring of the movable control device is different from the configuration of the connection monitoring of the light emission control device. The entry of the movable control device is excluded from 2100.

具体的には、本実施形態では、後述するように、発光制御装置のデータ出力処理(図2
2参照)は、VDP割込(約33.3ms周期)に同期して実行されるようし、可動制御
装置のデータ出力処理をタイマ割込(2ms周期)に同期して実行されるようにしている
Specifically, in this embodiment, as will be described later, the data output process of the light emission control device (FIG. 2).
2) is executed in synchronization with the VDP interrupt (approximately 33.3 ms cycle), and the data output process of the movable control device is performed in synchronization with the timer interrupt (2 ms cycle). Yes.

前述したように、マスタIC570から、発光制御装置に備えられるI2CI/Oエク
スパンダ615への2回目の演出制御データの送信に対して、当該I2CI/Oエクスパ
ンダ615からのACKが受信できなければ、エラーカウンタ2103がインクリメント
される。
As described above, in response to the second transmission of the effect control data from the master IC 570 to the I 2 CI / O expander 615 provided in the light emission control device, an ACK from the I 2 CI / O expander 615 is received. If not received, the error counter 2103 is incremented.

したがって、発光制御装置に異常が発生している場合には、データ出力処理の実行周期
が33msで、比較値2104が「300」であるので、33.3ms×300≒10s
で発光制御装置に異常が発生したことを検出する。
Therefore, when an abnormality has occurred in the light emission control device, the execution period of the data output process is 33 ms and the comparison value 2104 is “300”, so 33.3 ms × 300≈10 s.
To detect that an abnormality has occurred in the light emission control device.

なお、可動制御装置に異常が発生している場合には、データ出力処理の実行周期が2m
sであり、後述するように、次の実行周期を待つことなく、異常が発生したことを検出す
るので、極めて短時間(2ms程度の時間)で可動制御装置に異常が発生したことを検出
できる。
When an abnormality has occurred in the movable control device, the data output processing execution cycle is 2 m.
As will be described later, since it is detected that an abnormality has occurred without waiting for the next execution cycle, it can be detected that an abnormality has occurred in the movable control device in a very short time (about 2 ms). .

このため、可動制御装置のエラー判定が発光制御装置のエラー判定よりも頻繁に行われ
、可動制御装置に異常が発生したことを発光制御装置に異常が発生したことよりも早く検
出することができるので、可動役物60が動作可能な範囲を超えて可動してしまい、可動
役物60及び可動役物付近の部材を破損してしまうことを防止できる。
For this reason, the error determination of the movable control device is performed more frequently than the error determination of the light emission control device, and it is possible to detect that an abnormality has occurred in the movable control device earlier than the abnormality has occurred in the light emission control device. Therefore, it is possible to prevent the movable accessory 60 from moving beyond the operable range and damaging the movable accessory 60 and members in the vicinity of the movable accessory.

これに対して、LED等の発光装置は、誤動作によって破損する恐れが少ないため、発
光制御装置に関する異常判定に時間を要しても問題が生じることはない。
On the other hand, a light emitting device such as an LED is less likely to be damaged due to a malfunction, and therefore no problem occurs even if it takes time to determine an abnormality related to the light emission control device.

従って、異常判定を短時間で行う必要がある装飾制御装置610に限定して判定の周期
を短縮し、他の装飾制御装置610の異常判定を余裕のある周期で行うので、処理負担の
バランスを考慮した異常判定処理を実行することが可能となる。
Therefore, the determination cycle is limited to the decoration control device 610 that needs to perform the abnormality determination in a short time, and the abnormality determination of the other decoration control devices 610 is performed with a sufficient period, so that the processing load is balanced. It is possible to execute the abnormality determination process in consideration.

図22は、本発明の第1実施形態の演出制御装置550による処理のフローチャートで
ある。
FIG. 22 is a flowchart of processing by the effect control device 550 according to the first embodiment of the present invention.

図22に示す演出制御装置550の処理は、演出制御装置550のCPU551によっ
て実行される。
The processing of the effect control device 550 shown in FIG. 22 is executed by the CPU 551 of the effect control device 550.

演出制御装置550は、演出制御装置550に電源が投入されると、まずステップ22
01〜2210の処理を実行した後、VDP556から画像更新周期と同期する同期信号
(例えば、33ms秒周期の同期信号)がCPU551に入力されるまで待機する。そし
て、以降は、VDP556から画像更新周期と同期する同期信号がCPU551に入力さ
れる毎に、ステップ2204〜2210の処理を繰り返し実行する。
When the production control device 550 is turned on, first, the production control device 550 is step 22.
After executing the processing of 01 to 2210, the process waits until a synchronization signal (for example, a synchronization signal having a 33 ms-second cycle) synchronized with the image update cycle is input from the VDP 556 to the CPU 551. Thereafter, each time the synchronization signal synchronized with the image update cycle is input from the VDP 556 to the CPU 551, the processing of steps 2204 to 2210 is repeatedly executed.

まず、演出制御装置550は、演出制御装置550のRAM553を初期化する(22
01)。このとき、当該演出制御装置550への電源投入時を基点として、CPU551
からVDP556や音LSI557に出力される、初回の制御データも生成される。
First, the effect control device 550 initializes the RAM 553 of the effect control device 550 (22).
01). At this time, the CPU 551 is based on the power-on time of the production control device 550.
The first control data to be output to the VDP 556 and the sound LSI 557 is also generated.

次に、演出制御装置550は、マスタIC570、及びマスタIC570に接続された
装飾制御装置610、を初期化するI2C初期リセット処理を実行する(2202)。I2
C初期リセット処理は、図23で詳細を説明する。このI2C初期リセット処理が実行さ
れると、役物駆動MOT561、及び役物駆動SOL560の初期化動作も開始される。
Next, the effect control device 550 executes an I 2 C initial reset process for initializing the master IC 570 and the decoration control device 610 connected to the master IC 570 (2202). I 2
Details of the C initial reset process will be described with reference to FIG. When this I 2 C initial reset process is executed, initialization operations of the accessory driving MOT 561 and the accessory driving SOL 560 are also started.

そして、演出制御装置550は、VDP556から画像更新周期と同期する同期信号(
VDP割込)、及びタイマ割込の受け入れを許可する(2203)。
Then, the effect control device 550 synchronizes with the image update cycle from the VDP 556 (the synchronization signal (
(VDP interrupt) and timer interrupt acceptance are permitted (2203).

そして、演出制御装置550は、表示装置53に画像を表示するために、VDP556
に画像を表示させる指令となるデータを出力し(2204)、スピーカ30から音を遊技
状態に応じて出力させるために、音制御データを音LSI557に出力し、音LSI55
7に音制御データに基づいてスピーカ30から音を出力させる(2205)。
Then, the effect control device 550 displays the image on the display device 53 in order to display the VDP 556.
In order to output data as a command to display an image on the screen (2204), and to output sound from the speaker 30 according to the gaming state, sound control data is output to the sound LSI 557, and the sound LSI 55 is output.
7 is caused to output a sound from the speaker 30 based on the sound control data (2205).

次に、演出制御装置550は、発光制御装置に演出制御データをマスタIC570から
出力する発光制御スレーブ出力処理を実行する(2206)。発光制御スレーブ出力処理
は、図25で詳細を説明する。
Next, the effect control device 550 executes light emission control slave output processing for outputting effect control data from the master IC 570 to the light emission control device (2206). Details of the light emission control slave output processing will be described with reference to FIG.

そして、演出制御装置550は、VDP556に次に出力されるデータを編集し(22
07)、音LSI557に次に出力される音制御データを編集し(2208)、各グルー
プの発光制御装置に次に出力される演出制御データを編集する(2209)。
Then, the effect control device 550 edits the next data output to the VDP 556 (22
07), the sound control data output next to the sound LSI 557 is edited (2208), and the effect control data output next to the light emission control device of each group is edited (2209).

次に、演出制御装置550は、異常判定テーブル2100を参照して、すべての発光制
御装置のエラーフラグ2105がONになっている場合にリセット条件が成立したとみな
し、マスタIC570、役物駆動MOT561、マスタIC570に接続されたすべての
2CI/Oエクスパンダ615、及び役物駆動SOL560の初期化を指示するI2C随
時リセット処理を実行し(2210)、その後、VDP556から同期信号がCPU55
1に入力されるまで待機する。I2C随時リセット処理は、図27で詳細を説明する。
Next, the effect control device 550 refers to the abnormality determination table 2100 and regards that the reset condition is satisfied when the error flags 2105 of all the light emission control devices are ON, and the master IC 570 and the accessory driving MOT 561 Then, the I 2 C ad hoc reset process for instructing the initialization of all the I 2 CI / O expanders 615 and the accessory driving SOL 560 connected to the master IC 570 is executed (2210), and then the synchronization signal is sent from the VDP 556 to the CPU 55
Wait until 1 is entered. Details of the I 2 C occasional reset process will be described with reference to FIG.

図22による処理では、表示装置53の画像を更新する周期と同期して、演出制御装置
550のマスタIC570から装飾制御装置610のI2CI/Oエクスパンダ615へ
演出制御データを送信し、I2CI/Oエクスパンダ615は受信した演出制御データに
基づいて装飾装置620を制御するので、表示装置53における演出と装飾装置620に
おける演出とが調和し、遊技者に違和感を与えないので、興趣を高めることができる。
In the process according to FIG. 22, in synchronization with the cycle of updating the image on the display device 53, the effect control data is transmitted from the master IC 570 of the effect control device 550 to the I 2 CI / O expander 615 of the decoration control device 610. 2 Since the CI / O expander 615 controls the decoration device 620 based on the received effect control data, the effect on the display device 53 and the effect on the decoration device 620 are harmonized, and the player does not feel uncomfortable. Can be increased.

また、表示装置53の画像を更新する周期と同期してマスタIC570から送信された
演出制御データが装飾制御装置610で受信されると、その都度、I2CI/Oエクスパ
ンダ615によってワークレジスタの値が更新される。そのため、毎回ワークレジスタの
値が最新の状態に更新されるので、ノイズ等でワークレジスタの値が破壊されても、正常
な値に復帰することが可能である。
Also, whenever the decoration control device 610 receives the effect control data transmitted from the master IC 570 in synchronization with the cycle of updating the image on the display device 53, the I 2 CI / O expander 615 updates the work register. The value is updated. Therefore, since the value of the work register is updated to the latest state every time, even if the value of the work register is destroyed due to noise or the like, it can be restored to a normal value.

また、表示装置53の画像を更新する周期と同期して、ステップ2211の処理で実行
されるエラー判定処理を実行するので、エラー判定の実行頻度を適切にできる、つまり、
エラー判定処理の実行頻度が多すぎると、演出制御装置550のCPU551の処理負荷
が増大してしまい、逆に、エラー判定処理の実行頻度が少なすぎると、異常が発生したこ
とを適切に検出できなくなってしまうことになるので、適度な頻度でエラー判定を行うこ
とにより処理の不具合を防止することができる。
Further, since the error determination process executed in the process of step 2211 is executed in synchronization with the cycle of updating the image of the display device 53, the error determination execution frequency can be made appropriate.
If the execution frequency of the error determination process is too high, the processing load of the CPU 551 of the effect control device 550 increases. Conversely, if the execution frequency of the error determination process is too low, it is possible to appropriately detect that an abnormality has occurred. Therefore, it is possible to prevent processing problems by performing error determination at an appropriate frequency.

図23は、本発明の第1実施形態のI2C初期リセット処理のフローチャートである。 FIG. 23 is a flowchart of the I 2 C initial reset process according to the first embodiment of this invention.

2C初期リセット処理は、演出制御装置550への電源投入の直後に、マスタIC5
70、マスタIC570に接続されたすべてのI2CI/Oエクスパンダ615の初期化
を指示する処理であり、図22に示すステップ2202の処理で実行される。なお、当該
処理中にて、役物駆動MOT561、及び役物駆動SOL560の初期化動作の開始が指
示される
まず、演出制御装置550のCPU551は、初期化中であることを示すリセット要求
フラグを設定し(2301)、入出力I/F558とNORゲート回路590とを介して
リセットパルスをマスタIC570へ入力し、マスタIC570をハード的に初期化(ハ
ードリセット)する(2302)。
The I 2 C initial reset process is performed immediately after the power to the production control device 550 is turned on.
70, a process for instructing initialization of all the I 2 CI / O expanders 615 connected to the master IC 570, and is executed in the process of step 2202 shown in FIG. During the process, the start of the initialization operation of the accessory driving MOT 561 and the accessory driving SOL 560 is instructed. First, the CPU 551 of the effect control device 550 displays a reset request flag indicating that initialization is in progress. Setting is performed (2301), a reset pulse is input to the master IC 570 via the input / output I / F 558 and the NOR gate circuit 590, and the master IC 570 is initialized (hard reset) in hardware (2302).

ハードリセットとは、マスタIC570の図示しないリセット回路にマスタIC570
のRESET端子が接続されており、RESET端子に印加される電圧が所定時間ローレ
ベルに保持されることによって、マスタIC570のリセット回路がマスタIC570自
身をリセットすることをいう。なお、このRESET端子は、本実施形態における初期化
信号入力指示端子として機能している。
The hard reset means that a master IC 570 is connected to a reset circuit (not shown) of the master IC 570.
This means that the reset circuit of the master IC 570 resets the master IC 570 itself when the voltage applied to the RESET terminal is held at a low level for a predetermined time. The RESET terminal functions as an initialization signal input instruction terminal in the present embodiment.

本実施形態では、このRESET端子に印加されるリセット信号が、前述したように、
演出制御装置550に備わっている他の回路にも接続されている。この他の回路とは、例
えば、VDP556や音LSI557などであり、演出制御装置550に電源が投入され
て起動したときに、CPU551により初期化されるものである。従って、電源投入時に
は、ハードリセットによって、マスタIC570とともに、これらの回路もあわせて初期
化できるため、処理の高速化が期待できる。
In the present embodiment, as described above, the reset signal applied to the RESET terminal is as follows.
It is also connected to other circuits provided in the effect control device 550. The other circuits are, for example, the VDP 556 and the sound LSI 557, and are initialized by the CPU 551 when the presentation control device 550 is powered on and activated. Therefore, when the power is turned on, these circuits can be initialized together with the master IC 570 by a hard reset, so that high-speed processing can be expected.

次に、演出制御装置550は、マスタIC570に接続されたすべての装飾制御装置6
10のI2CI/Oエクスパンダ615を初期化するために、マスタIC570から初期
化指示データを出力するスレーブリセット処理を実行する(2303)。スレーブリセッ
ト処理は、図24で詳細を説明する。
Next, the effect control device 550 includes all the decoration control devices 6 connected to the master IC 570.
In order to initialize the 10 I 2 CI / O expander 615, slave reset processing for outputting initialization instruction data from the master IC 570 is executed (2303). The slave reset process will be described in detail with reference to FIG.

次に、演出制御装置550は、ステップ2302の処理、及びステップ2303の処理
でマスタIC570及びI2CI/Oエクスパンダ615の初期化が完了したので、リセ
ット要求フラグを解除する(2304)。そして、演出制御装置550は、役物駆動MO
T561が初期化中であることを示すモータ初期化フラグを設定する(2305)。なお
、役物駆動MOT561の初期化とは、役物駆動MOT561の回転軸を初期位置に戻す
処理であり、図28に示すタイマ割込処理で行われる。
Next, since the initialization of the master IC 570 and the I 2 CI / O expander 615 has been completed in the process of step 2302 and the process of step 2303, the effect control device 550 cancels the reset request flag (2304). And the production control device 550 is the accessory driving MO.
A motor initialization flag indicating that T561 is being initialized is set (2305). The initialization of the accessory driving MOT 561 is a process of returning the rotation axis of the accessory driving MOT 561 to the initial position, and is performed by a timer interrupt process shown in FIG.

次に、演出制御装置550は、役物駆動MOT561を初期化する場合に役物駆動MO
T561に出力されるモータ出力データをRAM553に設定する(2306)。そして
、演出制御装置550は、役物駆動SOL560を初期化するために、役物駆動SOL5
60の通電状態を非通電状態にするオフデータを役物駆動SOL560に出力し(230
7)、図22に示すステップ2203の処理に進む。なお、役物駆動SOL560の初期
化とは、役物駆動SOL560の通電状態を非通電状態にすることである。
Next, the effect control device 550, when initializing the accessory driving MOT 561, the accessory driving MO
The motor output data output to T561 is set in the RAM 553 (2306). Then, the effect control device 550 initializes the accessory driving SOL 560 to perform the accessory driving SOL5.
The off data for changing the energized state of 60 to the de-energized state is output to the accessory drive SOL 560 (230
7) The process proceeds to step 2203 shown in FIG. The initialization of the accessory driving SOL 560 is to change the energized state of the accessory driving SOL 560 to a non-energized state.

なお、CPU551は、入出力I/F558とNORゲート回路590とを介してリセ
ットパルスをマスタIC570へ入力し、マスタIC570をハード的にリセットすると
したが、CPU551から、バス563を介してリセットレジスタ573に情報を書き込
むことにより、マスタIC570をソフト的にリセットしてもよい。
The CPU 551 inputs a reset pulse to the master IC 570 via the input / output I / F 558 and the NOR gate circuit 590 to reset the master IC 570 in hardware. However, the CPU 551 resets the reset register 573 via the bus 563. The master IC 570 may be reset by software by writing information into the.

図24は、本発明の第1実施形態のスレーブリセット処理のフローチャートである。   FIG. 24 is a flowchart of slave reset processing according to the first embodiment of this invention.

スレーブリセット処理は、I2CI/Oエクスパンダ615を初期化するための初期化
指示データをI2CI/Oエクスパンダ615に送信する処理であり、図23に示すステ
ップ2303の処理、及び図27に示すステップ2706の処理で実行される。
Slave reset process is a process of transmitting an initialization instruction data for initializing the I 2 CI / O expander 615 to I 2 CI / O expander 615, the process of step 2303 shown in FIG. 23, and FIG. This is executed in the process of step 2706 shown in FIG.

初期化指示データは、マスタIC570からバイトモードで送信される。バイトモード
では、マスタIC570は、I2CI/Oエクスパンダ615へデータを1バイト送信す
る毎に、I2CI/Oエクスパンダ615からACK又はNACKを受信し、ACK及び
NACKの何れを受信した場合でも、割込信号をCPU551に出力する。つまり、マス
タIC570からI2CI/Oエクスパンダ615へ1バイトのデータを送信することが
完了すれば、ACK/NACKの受信に拘らず、必ず、マスタIC570からCPU55
1へ割込信号が出力される。
The initialization instruction data is transmitted from the master IC 570 in the byte mode. In byte mode, the master IC570, every time one byte transmit data to I 2 CI / O expander 615 receives the ACK or NACK from the I 2 CI / O expander 615, receiving either an ACK or NACK Even in this case, an interrupt signal is output to the CPU 551. In other words, if transmission of 1-byte data from the master IC 570 to the I 2 CI / O expander 615 is completed, the master IC 570 always sends the CPU 55 to the CPU 55 regardless of reception of ACK / NACK.
An interrupt signal is output to 1.

まず、マスタIC570は、接続線SDA及び接続線SCLの信号レベルを、スタート
条件を示す信号レベルに変化させる(2401)。
First, the master IC 570 changes the signal levels of the connection line SDA and the connection line SCL to a signal level indicating a start condition (2401).

次に、CPU551は、リセットアドレス(図20参照)を示す1バイト分のデータを
出力用BUF572に設定する(2402)。
Next, the CPU 551 sets 1-byte data indicating the reset address (see FIG. 20) in the output BUF 572 (2402).

そして、CPU551は、マスタIC570へデータ送信の開始を指示した時点から、
マスタIC570がCPU551へ割込信号を伝達させるまでの時間を監視するために、
バイトモード用の監視タイマの起動を開始する(2403)。以降、この監視時間をバイ
トモード監視時間ということにする。
Then, from the time when the CPU 551 instructs the master IC 570 to start data transmission,
In order to monitor the time until the master IC 570 transmits an interrupt signal to the CPU 551,
Start of the monitoring timer for the byte mode is started (2403). Hereinafter, this monitoring time is referred to as byte mode monitoring time.

CPU551は、バイトモード時間の監視を開始してから所定時間経過しても、マスタ
IC570から割込信号を受け付けていない場合には、タイムアウトが発生したとして、
データ送信を中断するために、マスタIC570にストップ条件を出力させ(2415)
、その後、ステップ2401の処理に戻り、再度マスタIC570にスタート条件を出力
させてから、初期化指示データを初めのデータから送信する。
If the CPU 551 does not accept an interrupt signal from the master IC 570 even after a predetermined time has elapsed since the start of monitoring of the byte mode time, a time-out occurs.
In order to interrupt the data transmission, the master IC 570 outputs a stop condition (2415).
Thereafter, the process returns to step 2401, and the master IC 570 is made to output the start condition again, and then the initialization instruction data is transmitted from the first data.

次に、マスタIC570は、ステップ2402の処理で出力用バッファ572に設定さ
れたリセットアドレスをI2CI/Oエクスパンダ615に出力する(2404)。マス
タIC570は、このリセットアドレスを出力する際に、一旦、ドライバ576Aをオフ
させて接続線SDAを解放する(ハイレベルに変化させる)動作を行う。そして、接続線
SDAが解放されていない場合(ドライバ576Aをオフしても、接続線SDAがハイレ
ベルにならずロウレベルのままで維持されているとき)には、このリセットアドレスの出
力は、接続線SDAが開放される(接続線SDAがハイレベルになる)まで待機する。
Next, the master IC 570 outputs the reset address set in the output buffer 572 in the process of step 2402 to the I 2 CI / O expander 615 (2404). When outputting the reset address, the master IC 570 temporarily turns off the driver 576A to release the connection line SDA (change it to high level). If the connection line SDA is not released (even if the driver 576A is turned off, the connection line SDA remains at a low level instead of a high level), the reset address output is It waits until the line SDA is released (the connection line SDA becomes high level).

次に、マスタIC570は、1バイト分のデータ出力完了から、所定時間(前述したバ
イトモード監視時間よりも短い監視時間となっている)以内にACKの返答信号がマスタ
IC570に入力されたか否かを確認する(2405)。
Next, the master IC 570 determines whether or not an ACK response signal has been input to the master IC 570 within a predetermined time (a monitoring time shorter than the above-described byte mode monitoring time) from the completion of data output for one byte. Is confirmed (2405).

そして、マスタIC570は、ステップ2405の処理の確認結果に基づいて、データ
が出力されてから所定時間以内にACKの返答信号が入力されているか否かを判定する(
2406)。
Then, the master IC 570 determines whether or not an ACK response signal is input within a predetermined time after the data is output based on the confirmation result of the processing in step 2405 (
2406).

ステップ2406の処理で、データが出力されてから所定時間以内にACKの返答信号
が入力されていないと判定された場合、マスタIC570は、ステータスREG579に
返答信号がNACKであった旨の情報を設定したうえで、割込信号を発生させる。これに
より、I2CI/Oエクスパンダ615からNACKの返答信号を受信したことが、CP
U551に通知される。このとき、CPU551はバイトモードの時間監視を終了する(
2407)。
If it is determined in step 2406 that an ACK response signal has not been input within a predetermined time after data is output, master IC 570 sets information indicating that the response signal is NACK in status REG579. Then, generate an interrupt signal. As a result, the NACK response signal is received from the I 2 CI / O expander 615.
U551 is notified. At this time, the CPU 551 ends the time monitoring in the byte mode (
2407).

次いで、CPUは、データ送信を中断するために、マスタIC570にストップ条件を
出力させ(2415)、その後、ステップ2401の処理に戻り、再度マスタIC570
にスタート条件を出力させてから、初期化指示データを再度出力する。
Next, the CPU outputs a stop condition to the master IC 570 in order to interrupt the data transmission (2415), and then returns to the processing of step 2401 and again master IC 570.
After outputting the start condition, the initialization instruction data is output again.

ステップ2406の処理で、データが出力されてから所定時間以内にACKの返答信号
が入力されたと判定された場合、マスタIC570は、ステータスREG579に返答信
号がACKであった旨の情報を設定したうえで、割込信号を発生させる。これにより、I
2CI/Oエクスパンダ615からACKの返答信号を受信したことが、CPU551に
通知される。このとき、CPU551はバイトモードの時間監視を終了する(2408)
If it is determined in step 2406 that an ACK response signal is input within a predetermined time after the data is output, the master IC 570 sets information indicating that the response signal is ACK in the status REG579. Then, an interrupt signal is generated. As a result, I
2 The CPU 551 is notified that an ACK response signal has been received from the CI / O expander 615. At this time, the CPU 551 ends the time monitoring in the byte mode (2408).
.

そして、CPU551は、初期化指示データを構成する3種類のデータ(図20に示す
、リセットアドレスを含むデータ2001、第1所定値のデータ2002、及び第2所定
値のデータ2003)をすべて出力したか否かを判定する(2409)。なお、これらの
データは出力順序が予め定められているので、ステップ2409の処理では、第2所定値
のデータ2003が出力された直後か否かを判定すればよい。
The CPU 551 outputs all three types of data constituting the initialization instruction data (data 2001 including the reset address, data 2002 of the first predetermined value, and data 2003 of the second predetermined value shown in FIG. 20). It is determined whether or not (2409). Since the output order of these data is determined in advance, in the processing of step 2409, it may be determined whether or not it is immediately after the data 2003 of the second predetermined value is output.

ステップ2409の処理で、初期化指示データを構成するすべてのデータを出力したと
判定された場合、つまり、図20に示す第2所定値を示すデータを出力した場合には、マ
スタIC570は、接続線SDA及び接続線SCLの信号レベルを、ストップ条件を示す
信号レベルに変化させ(2410)、スレーブリセット処理を終了する。
If it is determined in step 2409 that all the data constituting the initialization instruction data has been output, that is, if data indicating the second predetermined value shown in FIG. 20 has been output, the master IC 570 connects The signal levels of the line SDA and the connection line SCL are changed to signal levels indicating a stop condition (2410), and the slave reset process is terminated.

ステップ2409の処理で、初期化指示データ構成するすべてのデータ出力していない
と判定された場合には、CPU551は、次に送信される1バイトのデータを出力用BU
F572に設定する(2411)。リセットアドレスを出力した直後に実行されるステッ
プ2411の処理では、出力用BUF572には、図20に示す第1所定値のデータ20
02が設定され、第1所定値のデータを出力した直後に実行されるステップ2411の処
理では、出力用BUF572には、図20に示す第2所定値のデータ2002が設定され
る。
If it is determined in step 2409 that all the data constituting the initialization instruction data has not been output, the CPU 551 uses the 1-byte data to be transmitted next as the output BU.
F572 is set (2411). In the processing of step 2411 executed immediately after outputting the reset address, the output BUF 572 contains the first predetermined value data 20 shown in FIG.
In the process of step 2411 executed immediately after the data of the first predetermined value is set and 02, the data 2002 of the second predetermined value shown in FIG. 20 is set in the output BUF 572.

そして、CPU551は、マスタIC570へデータ送信の開始を指示した時点から、
マスタIC570がCPU551へ割込信号を伝達させるまでの時間を監視するために、
バイトモード用の監視タイマの起動を開始する(2412)。
Then, from the time when the CPU 551 instructs the master IC 570 to start data transmission,
In order to monitor the time until the master IC 570 transmits an interrupt signal to the CPU 551,
Start of the monitoring timer for the byte mode is started (2412).

次に、マスタIC570は、接続線SDAの電圧レベルを監視し、接続線SDAが解放
されていることを確認してから(2413)、出力用BUF572に設定された1バイト
のデータを出力し(2414)、ステップ2405の処理に進む。ステップ2413の処
理は、グループ単位制御手段からの返答信号の出力が終了するまでは、接続線SDAが返
答信号により占有されているので、マスタIC570は、グループ単位制御手段からの返
答信号の出力が終了し、接続線SDAが解放されるまで待機する処理である。
Next, the master IC 570 monitors the voltage level of the connection line SDA, confirms that the connection line SDA is released (2413), and then outputs 1-byte data set in the output BUF 572 ( 2414), the process proceeds to step 2405. In the processing of step 2413, the connection line SDA is occupied by the response signal until the output of the response signal from the group unit control means is completed, so that the master IC 570 outputs the response signal from the group unit control means. This is a process of waiting until the connection line SDA is released.

以上より、初期化指示データは、1バイトのデータを出力するごとに(つまり、3バイ
トの初期化指示データを送信する途中で)、出力した1バイトのデータに対する返答信号
が否かを示す割込信号が出力されるか否かを監視するバイトモードで送信される。
As described above, every time 1-byte data is output (that is, during the transmission of 3-byte initialization data), the initialization instruction data indicates whether or not there is a response signal for the output 1-byte data. Is transmitted in a byte mode for monitoring whether or not an output signal is output.

なお、ステップ2403の処理、及びステップ2412の処理において、1バイトのデ
ータを送信してからマスタIC570から割込信号が出力されるまでの時間の監視は、C
PU551が行ったが、マスタIC570自身が、1バイトのデータを送信してからマス
タIC570から割込信号を出力するまでの時間を監視してもよい。
In the processing of step 2403 and the processing of step 2412, monitoring of the time from when 1-byte data is transmitted until the interrupt signal is output from the master IC 570 is
Although it is performed by the PU 551, the time from when the master IC 570 itself transmits 1-byte data to when the master IC 570 outputs an interrupt signal may be monitored.

図25は、本発明の第1実施形態の発光制御スレーブ出力処理のフローチャートである
FIG. 25 is a flowchart of light emission control slave output processing according to the first embodiment of this invention.

発光制御スレーブ出力処理は、発光装置に接続されるI2CI/Oエクスパンダ615
(発光制御装置)に発行制御データを送信する処理であり、図22に示すステップ220
6の処理で実行される。
The light emission control slave output process is performed by the I 2 CI / O expander 615 connected to the light emitting device.
This is a process of transmitting the issuance control data to the (light emission control device), and step 220 shown in FIG.
6 is executed.

演出制御装置550は、複数の発光制御装置から、一つの発光制御装置を選択し(25
01)、ステップ2501の処理で選択された発光制御装置にマスタIC570からデー
タを出力するスレーブ連続処理を実行する(2502)。スレーブ連続処理は、図26で
詳細を説明する。
The effect control device 550 selects one light emission control device from a plurality of light emission control devices (25
01), a slave continuous process for outputting data from the master IC 570 to the light emission control device selected in the process of step 2501 is executed (2502). Details of the slave continuous processing will be described with reference to FIG.

そして、演出制御装置550は、すべての発光制御装置にデータを出力したか否かを判
定する(2503)。
Then, the effect control device 550 determines whether data is output to all the light emission control devices (2503).

ステップ2503の処理で、すべての発光制御装置にデータを出力していないと判定さ
れた場合、次の発光装飾制御装置を選択し(2504)、ステップ2504の処理で選択
された発光制御装置にマスタIC570からデータを出力するスレーブ連続処理を実行す
る(2502)。
If it is determined in step 2503 that data has not been output to all the light emission control devices, the next light emission decoration control device is selected (2504), and the light emission control device selected in step 2504 is mastered. Slave continuous processing for outputting data from the IC 570 is executed (2502).

一方、ステップ2503の処理で、すべての発光制御装置にデータを出力したと判定さ
れた場合、CPU551は、マスタIC570にストップ条件を出力させて発光制御スレ
ーブ出力処理を終了し(2505)、図22に示すステップ2207の処理に進む。
On the other hand, if it is determined in step 2503 that data has been output to all the light emission control devices, the CPU 551 causes the master IC 570 to output a stop condition to end the light emission control slave output processing (2505), and FIG. The process proceeds to step 2207 shown in FIG.

図26は、本発明の第1実施形態のスレーブ連続処理のフローチャートである。   FIG. 26 is a flowchart of slave continuous processing according to the first embodiment of this invention.

スレーブ連続処理は、発光装置に接続されるI2CI/Oエクスパンダ615に、演出
制御データである発光制御データを送信する処理であり、図25に示すステップ2502
の処理で実行される。
The slave continuous processing is processing for transmitting the light emission control data, which is the effect control data, to the I 2 CI / O expander 615 connected to the light emitting device. Step 2502 shown in FIG.
This process is executed.

発光制御データは、マスタIC570からバッファモードで送信される。バッファモー
ドでは、マスタIC570は、出力用BUF572に格納された複数バイトのデータを、
2CI/Oエクスパンダ615へ1バイト毎送信し、その送信の都度、I2CI/Oエク
スパンダ615からACK又はNACKを受信する。そして、NACKを受信した場合に
は、その時点で、割込信号をCPU551に出力する。
The light emission control data is transmitted from the master IC 570 in the buffer mode. In the buffer mode, the master IC 570 receives a plurality of bytes of data stored in the output BUF 572,
I 2 CI / O Aix to expander 615 transmits each byte, each of the transmission and receives an ACK or NACK from the I 2 CI / O expander 615. When a NACK is received, an interrupt signal is output to the CPU 551 at that time.

ただし、ACKを受信した場合には、出力用BUF572に格納されたすべてのデータ
が送信完了となった場合にのみ、割込信号をCPU551に出力する。マスタIC570
は、出力用BUF572に未送信のデータが残っている状態でI2CI/Oエクスパンダ
615からACKを受信したときには、割込信号をCPU551に出力せずに、出力用B
UF572から次の送信すべきデータを取り出して、I2CI/Oエクスパンダ615へ
出力する。
However, when ACK is received, an interrupt signal is output to the CPU 551 only when transmission of all data stored in the output BUF 572 is completed. Master IC 570
When an ACK is received from the I 2 CI / O expander 615 with unsent data remaining in the output BUF 572, the output B is not output to the CPU 551.
The next data to be transmitted is extracted from the UF 572 and output to the I 2 CI / O expander 615.

つまり、バッファモードの場合には、マスタIC570は、出力用BUF572に格納
されたデータがI2CI/Oエクスパンダ615にすべて送信されるまでの間は、I2CI
/Oエクスパンダ615からACKを受信し続けている限り、CPU551に処理を引き
渡すことなく、処理を継続することとなる。
In other words, in the buffer mode, the master IC 570 does not transmit the data stored in the output BUF 572 to the I 2 CI / O expander 615 until I 2 CI.
As long as ACK is continuously received from the / O expander 615, the processing is continued without passing the processing to the CPU 551.

まず、CPU551は、ACKの返答信号の受信に失敗したことを計数するACKカウ
ンタに0を設定する(2601)。
First, the CPU 551 sets 0 to an ACK counter that counts failure in receiving an ACK response signal (2601).

次に、CPU551は、選択されている装飾制御装置610に出力するデータを生成す
る(2602)。
Next, the CPU 551 generates data to be output to the selected decoration control device 610 (2602).

そして、CPU551は、ステップ2602の処理で生成されたデータを出力用BUF
572に設定するバッファ設定処理を実行する(2603)。設定されるデータは、図1
9に示す演出制御データのフォーマットとなっており、図19に示す送信順序に従って、
1バイト毎に区切られながら、I2CI/Oエクスパンダ615へ送信される。
Then, the CPU 551 outputs the data generated by the processing of step 2602 to the output BUF.
The buffer setting process set to 572 is executed (2603). The data to be set is shown in FIG.
9 is the format of the production control data shown in FIG. 9, and according to the transmission order shown in FIG.
The data is transmitted to the I 2 CI / O expander 615 while being divided for each byte.

そして、マスタIC570は、接続線SDA及び接続線SCLの信号レベルを、スター
ト条件を示す信号レベルに変化させる(2604)。
Then, the master IC 570 changes the signal levels of the connection line SDA and the connection line SCL to a signal level indicating a start condition (2604).

具体的には、マスタIC570は、接続線SCLの信号レベルをHIGHに維持したま
ま、接続線SDAの信号レベルをHIGHからLOWに変化させることよってスタート条
件を示す信号を出力する。
Specifically, the master IC 570 outputs a signal indicating a start condition by changing the signal level of the connection line SDA from HIGH to LOW while maintaining the signal level of the connection line SCL at HIGH.

なお、マスタIC570は、スタート条件を示す信号を出力後、制御対象となる装飾制
御装置610へデータを送るために、接続線SCLのレベルをLOWに変更する。
Note that, after outputting a signal indicating the start condition, the master IC 570 changes the level of the connection line SCL to LOW in order to send data to the decoration control device 610 to be controlled.

次に、CPU551は、マスタIC570へデータ送信の開始を指示した時点から、マ
スタIC570がCPU551へ割込信号を伝達させるまでの時間を監視するために、バ
ッファモード用の監視タイマの起動を開始する(2605)。以降、この監視時間をバッ
ファモード監視時間ということにする。
Next, the CPU 551 starts activation of the monitoring timer for the buffer mode in order to monitor the time from when the master IC 570 is instructed to start data transmission until the master IC 570 transmits the interrupt signal to the CPU 551. (2605). Hereinafter, this monitoring time is referred to as buffer mode monitoring time.

そして、マスタIC570は、出力用BUF572に設定されているデータの先頭から
、制御対象となる装飾制御装置610のスレーブアドレスに相当する8ビット分のデータ
を取得し、このアドレスの値を接続線SCLの信号レベルを変化させながら、接続線SD
Aを介して出力する(2606)。
Then, the master IC 570 obtains data for 8 bits corresponding to the slave address of the decoration control device 610 to be controlled from the head of the data set in the output BUF 572, and uses the value of this address as the connection line SCL. The connection line SD while changing the signal level of
Output via A (2606).

ステップ2606の処理で出力されるアドレスデータは8ビットのデータ列であるため
、1回の出力処理(接続線SCLが8回HIGHに変化する間の出力)でアドレスデータ
が出力される。
Since the address data output in the process of Step 2606 is an 8-bit data string, the address data is output in one output process (output while the connection line SCL changes to HIGH for 8 times).

なお、マスタIC570は、このスレーブアドレスを出力する際に、一旦、ドライバ5
76Aをオフさせて接続線SDAを解放する(ハイレベルに変化させる)動作を行う。そ
して、接続線SDAが解放されていない場合には、このスレーブアドレスの出力は、接続
線SDAが開放されるまで待機する。
When the master IC 570 outputs the slave address, the driver 5 temporarily
The operation of turning off 76A to release the connection line SDA (change it to high level) is performed. If the connection line SDA is not released, the slave address output waits until the connection line SDA is released.

ステップ2606の処理で出力されたアドレスデータがI2CI/Oエクスパンダ61
5に入力された場合、I2CI/Oエクスパンダ615は、入力されたアドレスデータと
自身に設定されているアドレスとが一致するか否かを判定する。
The address data output in step 2606 is the I 2 CI / O expander 61.
5, the I 2 CI / O expander 615 determines whether or not the input address data matches the address set in itself.

入力されたアドレスデータと一致するアドレスが設定されているI2CI/Oエクスパ
ンダ615は、接続線SCLのLOWからHIGHへの変更回数が8回目になった直後で
あって、そのHIGHレベルとなっている接続線SCLがLOWレベルへと変化すること
を契機として、返答信号を接続線SDAからマスタIC570に出力する。
The I 2 CI / O expander 615 in which an address that matches the input address data is set immediately after the connection line SCL is changed from LOW to HIGH for the eighth time, A response signal is output from the connection line SDA to the master IC 570 when the connected connection line SCL changes to the LOW level.

次に、マスタIC570は、ステップ2605の処理でアドレスデータが出力されてか
ら所定時間以内にACKの返答信号がマスタIC570に入力されたか否かを確認する(
2607)。
Next, the master IC 570 confirms whether or not an ACK response signal is input to the master IC 570 within a predetermined time after the address data is output in the process of step 2605 (
2607).

次に、マスタIC570は、ステップ2606の処理の確認結果に基づいて、ステップ
2602の処理でアドレスデータが出力されてから所定時間以内にACKの返答信号が入
力されているか否かを判定する(2608)。
Next, the master IC 570 determines whether or not an ACK response signal is input within a predetermined time after the address data is output in the process of step 2602 based on the confirmation result of the process of step 2606 (2608). ).

ステップ2605の処理でアドレスデータが出力されてから所定時間以内にACKの返
答信号が入力されていないと、ステップ2608の処理で判定された場合には、マスタI
C570は、ステータスREG579に返答信号がNACKであった旨の情報を設定した
うえで、割込信号を発生させる。これにより、I2CI/Oエクスパンダ615からNA
CKの返答信号を受信したことが、CPU551に通知される。このとき、CPU551
は、バイトモードの時間監視を終了する(2609)。
If it is determined in step 2608 that an ACK response signal is not input within a predetermined time after the address data is output in step 2605, the master I
C570 sets information indicating that the response signal is NACK in the status REG579, and then generates an interrupt signal. This causes the I 2 CI / O expander 615 to
The CPU 551 is notified that the CK response signal has been received. At this time, the CPU 551
Ends the time monitoring in the byte mode (2609).

CPU551は、ステップ2609で割込信号を受けつけると、マスタIC570に対
して、ストップ条件を発行するように指示する。ストップ条件の発行を指示されたマスタ
IC570は、接続線SDA及び接続線SCLの信号レベルを制御して、ストップ条件を
発行する(2610)。その後、ACKカウンタが0であるか否かを判定する(2611
)。
When the CPU 551 receives an interrupt signal in step 2609, it instructs the master IC 570 to issue a stop condition. The master IC 570 instructed to issue the stop condition controls the signal levels of the connection line SDA and the connection line SCL, and issues a stop condition (2610). Thereafter, it is determined whether or not the ACK counter is 0 (2611).
).

ステップ2611の処理で、ACKカウンタが0であると判定された場合、ACKの返
答信号の受信に失敗したことを計数するためにACKカウンタを+1更新し(2612)
、再度同じデータを当該装飾制御装置610に送信するために、ステップ2602の処理
に戻る。
If it is determined in step 2611 that the ACK counter is 0, the ACK counter is updated by 1 to count that the reception of the ACK response signal has failed (2612).
In order to transmit the same data to the decoration control device 610 again, the processing returns to step 2602.

一方、ステップ2611の処理で、ACKカウンタが0でないと判定された場合、CP
U551は、異常判定テーブル2100に登録されたエントリのうち、I/Oエクスパン
ダアドレス2101が選択された装飾制御装置610のI2CI/Oエクスパンダ615
のアドレスと一致するエントリを選択し、選択されたエントリのエラーカウンタ2103
をインクリメントする(2613)。
On the other hand, if it is determined in step 2611 that the ACK counter is not 0, CP
U551 is the I 2 CI / O expander 615 of the decoration control device 610 in which the I / O expander address 2101 is selected from the entries registered in the abnormality determination table 2100.
The entry matching the address of the selected entry is selected, and the error counter 2103 of the selected entry is selected.
Is incremented (2613).

そして、CPU551は、ステップ2613の処理でインクリメントされたエラーカウ
ンタ2103の値が比較値2104に達しているか否かを判定する(2614)。
Then, the CPU 551 determines whether or not the value of the error counter 2103 incremented in step 2613 has reached the comparison value 2104 (2614).

ステップ2613の処理でインクリメントされたエラーカウンタ2103の値が比較値
2104に達していると、ステップ2614の処理で判定された場合、CPU551は、
異常判定テーブル2100に登録されたエントリのうち、選択された装飾制御装置610
のエントリのエラーフラグをONに設定し(2615)、スレーブ連続出力処理を終了す
る。
If it is determined in step 2614 that the value of the error counter 2103 incremented in step 2613 has reached the comparison value 2104, the CPU 551
Of the entries registered in the abnormality determination table 2100, the selected decoration control device 610 is selected.
Is set to ON (2615), and the slave continuous output process is terminated.

一方、ステップ2613の処理でインクリメントされたエラーカウンタ2103の値が
比較値2104に達していないと、ステップ2614の処理で判定された場合、スレーブ
連続出力処理を終了する。
On the other hand, if the error counter 2103 incremented in the process of step 2613 has not reached the comparison value 2104, if it is determined in the process of step 2614, the slave continuous output process is terminated.

一方、所定時間以内にACKの返答信号が入力されたと、ステップ2608の処理で判
定された場合には、マスタIC570は、出力用BUF572に記憶されているすべての
データを出力したか否かを判定する(2616)。
On the other hand, if it is determined in step 2608 that an ACK response signal has been input within a predetermined time, the master IC 570 determines whether all data stored in the output BUF 572 has been output. (2616).

ステップ2616の処理で、出力用BUF572に記憶されているすべてのデータを出
力したと判定された場合には、マスタIC570は、ステータスREG579に返答信号
がACKであった旨の情報を設定したうえで、割込信号を発生させる。これにより、I2
CI/Oエクスパンダ615への全バイトデータの送信を完了したことが、CPU551
に通知される。このとき、CPU551は、バッファモードの時間監視を終了する(26
19)。
If it is determined in step 2616 that all data stored in the output BUF 572 has been output, the master IC 570 sets information indicating that the response signal is ACK in the status REG 579. Generate an interrupt signal. As a result, I 2
The completion of the transmission of all the byte data to the CI / O expander 615 indicates that the CPU 551
Will be notified. At this time, the CPU 551 ends the time monitoring in the buffer mode (26
19).

そして、CPU551は、ステップ2619の処理の実行後に、異常判定テーブル21
00に登録されたエントリのうち、I/Oエクスパンダアドレス2101が選択された装
飾制御装置610のI2CI/Oエクスパンダ615のアドレスと一致するエントリを選
択し、選択されたエントリのエラーカウンタ2103をゼロに初期化し(2620)、当
該エントリのエラーフラグ2105をオフに設定し(2621)、ステップ2615の処
理に進み、マスタIC570にストップ条件を示す信号を出力させる。
Then, the CPU 551 performs the abnormality determination table 21 after executing the processing of step 2619.
Of the entries registered in 00, the entry that matches the address of the I 2 CI / O expander 615 of the decoration control device 610 for which the I / O expander address 2101 is selected is selected, and the error counter of the selected entry is selected. 2103 is initialized to zero (2620), the error flag 2105 of the entry is set to OFF (2621), the process proceeds to step 2615, and the master IC 570 outputs a signal indicating a stop condition.

一方、ステップ2616の処理で、出力用BUF572に記憶されているすべてのデー
タを出力していないと判定された場合には、マスタIC570は、接続線SDAの電圧レ
ベルを監視し、接続線SDAが開放されていることを確認してから(2617)、出力用
BUF572に記憶されたデータのうち次に送信すべき1バイトのデータを送信し(26
18)、ステップ2607の処理に進む。
On the other hand, if it is determined in step 2616 that all data stored in the output BUF 572 has not been output, the master IC 570 monitors the voltage level of the connection line SDA, and the connection line SDA After confirming that it is open (2617), 1-byte data to be transmitted next is transmitted among the data stored in the output BUF 572 (26).
18) The process proceeds to step 2607.

以上より、発光制御データは、1バイトのデータを出力するごとに(つまり、発光制御
データを送信する途中で)、返答信号の受信が監視されるものの、マスタIC570へA
CKの返答信号が入力されている限り、出力用BUF572に記憶されている全てのデー
タが送信完了となるまでマスタIC570からCPU551へ処理を引き渡さない構成と
なっているバッファモードで送信される。
As described above, the emission control data is monitored by the master IC 570 every time 1-byte data is output (that is, while the emission control data is being transmitted).
As long as the CK response signal is input, all data stored in the output BUF 572 is transmitted in the buffer mode in which the processing is not delivered from the master IC 570 to the CPU 551 until the transmission is completed.

ここで、共通アドレスを含む初期化指示データは、バイトモードで送信されており、図
24に示すように1バイトのデータの送信を開始するごとに、その都度、マスタIC57
0からCPU551へ割込信号が返ってくるまでの時間(バイトモード監視時間)が監視
されている。
Here, the initialization instruction data including the common address is transmitted in the byte mode. As shown in FIG. 24, every time transmission of 1-byte data is started, the master IC 57
The time (byte mode monitoring time) from 0 until the interrupt signal is returned to the CPU 551 is monitored.

一方、個別アドレスとなるスレーブアドレスを含む発光制御データは、バッファモード
で送信されており、図26に示すように、出力用BUF572に保存されている、先頭バ
イトのデータ送信の開始から、最終バイトのデータ送信の終了までの時間(バッファモー
ド監視時間)が監視されている。
On the other hand, the light emission control data including the slave address serving as the individual address is transmitted in the buffer mode. As shown in FIG. 26, the last byte is stored from the start of data transmission of the first byte stored in the output BUF572. The time until the end of data transmission (buffer mode monitoring time) is monitored.

本実施形態では、演出制御装置550から装飾制御装置610へデータを送信する場合
に、前述したバイトモード若しくはバッファモードの何れかのモードを選択する。ここで
、バイトモード及びバッファモードの特徴について説明する。
In the present embodiment, when data is transmitted from the effect control device 550 to the decoration control device 610, either the byte mode or the buffer mode described above is selected. Here, characteristics of the byte mode and the buffer mode will be described.

バイトモードでは、マスタIC570から送信された1バイトのデータに対して、装飾
制御装置610から如何なる返答信号が入力されても(ACKでもNACKでも)、直ち
に割込信号がマスタIC570からCPU551へ伝達される。このとき、バイトモード
監視時間には、1バイトのデータ送信と返答信号の受信に要する時間に合わせた時間値が
設定されている。
In the byte mode, no matter what response signal is input from the decoration control device 610 (either ACK or NACK) to 1-byte data transmitted from the master IC 570, an interrupt signal is immediately transmitted from the master IC 570 to the CPU 551. The At this time, in the byte mode monitoring time, a time value is set in accordance with the time required for transmitting 1-byte data and receiving a response signal.

CPU551は、装飾制御装置610からマスタIC570へACKの返答信号が伝達
された場合に、1バイトのデータ送信が成功したと判断して、次の処理を行う。一方で、
CPU551は、装飾制御装置610からマスタIC570へNACKの返答信号が伝達
された場合に、或いは、バイトモード監視時間がタイムアウトした場合に、データ送信に
異常が発生したものと判断して、必要な処理を行う。
When an ACK response signal is transmitted from the decoration control device 610 to the master IC 570, the CPU 551 determines that 1-byte data transmission has been successful and performs the following processing. On the other hand,
The CPU 551 determines that an error has occurred in data transmission when a NACK response signal is transmitted from the decoration control device 610 to the master IC 570, or when the byte mode monitoring time has timed out, and necessary processing is performed. I do.

これに対して、バッファモードでは、マスタIC570から送信された1バイトのデー
タに対して、装飾制御装置610からNACKの返答信号が入力された場合に限り、直ち
に割込信号がマスタIC570からCPU551へ伝達される。しかしながら、装飾制御
装置610からACKの返答信号が入力された場合には、出力用BUF572に保存され
ているデータが全て送信されたタイミングでないと、割込信号がマスタIC570からC
PU551へ伝達されず、マスタIC570は、出力用BUF572に保存されているデ
ータを次々と送信する処理を行うことになる。
On the other hand, in the buffer mode, an interrupt signal is immediately sent from the master IC 570 to the CPU 551 only when a NACK response signal is input from the decoration control device 610 to 1-byte data transmitted from the master IC 570. Communicated. However, when an ACK response signal is input from the decoration control device 610, an interrupt signal is transmitted from the master IC 570 to the C if the data stored in the output BUF 572 is not all transmitted.
Without being transmitted to the PU 551, the master IC 570 performs a process of successively transmitting data stored in the output BUF 572.

そのため、バッファモードによるデータ送信では、バイトモードによるデータ送信と比
較して、割込信号がマスタIC570からCPU551へ伝達される回数が少なくなるた
め、マスタIC570からCPU551へ処理を引き渡す回数が少なくなり、複数バイト
のデータを送信するときの全体的な送信時間を短縮することができる。
Therefore, in the data transmission in the buffer mode, the number of times that the interrupt signal is transmitted from the master IC 570 to the CPU 551 is smaller than in the data transmission in the byte mode. The overall transmission time when transmitting a plurality of bytes of data can be shortened.

その一方で、バッファモードでは、装飾制御装置610からACKの返答信号が入力さ
れ続ける限り、送信すべきデータの全てが送信完了となるまで、マスタIC570からC
PU551へ処理が引き渡されない。そのため、データ送信中に、何らかの理由で、接続
線SDAを用いてデータ送信ができない状態が発生すると、その都度、マスタIC570
によってデータ送信が中断され、マスタIC570からCPU551へ処理が引き渡され
るまでの時間が、非常に長くなってしまう恐れもあり得る。
On the other hand, in the buffer mode, as long as the ACK response signal is continuously input from the decoration control device 610, until the transmission of all the data to be transmitted is completed from the master IC 570
Processing is not handed over to PU551. Therefore, whenever a state in which data cannot be transmitted using the connection line SDA occurs for some reason during data transmission, the master IC 570 is generated each time.
As a result, data transmission is interrupted and the time from when the master IC 570 is transferred to the CPU 551 may become very long.

なお、マスタIC570からCPU551へ処理が引き渡されるまでの時間を監視する
ために、前述のバッファモード監視時間には、送信する全バイトのデータ送信と返答信号
の受信に要する時間に合わせた時間値が設定されている。必然的に、このバッファモード
監視時間は、前述のバイトモード監視時間よりも長い時間が設定されることになる。
In order to monitor the time until the process is transferred from the master IC 570 to the CPU 551, the above-mentioned buffer mode monitoring time has a time value that matches the time required for data transmission of all bytes to be transmitted and reception of the response signal. Is set. Inevitably, the buffer mode monitoring time is set longer than the byte mode monitoring time described above.

CPU551は、装飾制御装置610からマスタIC570へACKの返答信号が伝達
された場合に、送信すべき全バイトのデータ送信が成功したと判断して、次の処理を行う
。一方で、CPU551は、装飾制御装置610からマスタIC570へNACKの返答
信号が伝達された場合に、或いは、バッファモード監視時間がタイムアウトした場合に、
データ送信に異常が発生したものと判断して、必要な処理を行う。
When an ACK response signal is transmitted from the decoration control device 610 to the master IC 570, the CPU 551 determines that data transmission of all the bytes to be transmitted has been successful, and performs the following processing. On the other hand, when a response signal of NACK is transmitted from the decoration control device 610 to the master IC 570 or when the buffer mode monitoring time has timed out, the CPU 551
Determine that an error has occurred in data transmission and perform the necessary processing.

以上のことから、データ送信に関して全く異常が発生しないという前提であれば、複数
バイトのデータ(必然的に送信単位である8ビットよりも長いビット数のデータとなる)
を送信する場合には、バッファモードを用いたデータ送信の方が、バイトモードを用いた
データ送信よりも高速な処理を行えるのは確かである。しかしながら、データ送信時に異
常が発生する可能性を考慮すると、バイトモードにはデータ送信の完了を1バイト毎に確
認しながら処理を行えるという利点を有するので、どちらのモードが優れているのかは単
純には比較できない。
From the above, if it is assumed that no abnormality will occur with respect to data transmission, data of a plurality of bytes (necessarily becomes data having a bit number longer than 8 bits which is a transmission unit).
When data is transmitted, it is certain that data transmission using the buffer mode can perform higher-speed processing than data transmission using the byte mode. However, considering the possibility of anomalies during data transmission, the byte mode has the advantage that processing can be performed while confirming the completion of data transmission for each byte, so which mode is superior Cannot be compared.

本実施形態では、初期化指示データをバイトモードで送信し、発光制御データをバッフ
ァモードで送信しており、そのような構成により奏する効果について説明する。
In the present embodiment, initialization instruction data is transmitted in the byte mode, and the light emission control data is transmitted in the buffer mode. The effects achieved by such a configuration will be described.

まず、共通アドレスを含む初期化指示データに対しては、共通アドレスが予め割り当て
られたすべての装飾制御装置610からACKの返答信号が出力される。一方、個別アド
レスを含む発光制御データに対しては、個別アドレスが予め割り当てられた一つの装飾制
御装置610からACKの返答信号が出力される。
First, for initialization instruction data including a common address, an ACK response signal is output from all the decoration control devices 610 to which the common address is assigned in advance. On the other hand, for the light emission control data including the individual address, an ACK response signal is output from one decoration control device 610 to which the individual address is assigned in advance.

このため、初期化指示データを送信した場合には複数の装飾制御装置610から返答信
号が出力されるので、初期化指示データの1バイトのデータを送信した後の接続線SDA
が解放されるまでの待機時間は、当該複数の装飾制御装置610の全てが接続線SDAを
開放するまでの時間に依存する。これに対して、発光制御データの1バイトのデータを送
信した後の接続線SDAが解放されるまでの待機時間は、送信対象の一つの装飾制御装置
610のみが接続線SDAを開放するまでの時間に依存する。従って、前者の方が接続線
SDAが解放されるまでの待機時間が長くなる。
Therefore, when the initialization instruction data is transmitted, response signals are output from the plurality of decoration control devices 610. Therefore, the connection line SDA after transmitting the 1-byte data of the initialization instruction data.
The waiting time until the release is released depends on the time until all of the decoration control devices 610 release the connection line SDA. On the other hand, the waiting time until the connection line SDA is released after the 1-byte data of the light emission control data is transmitted is the time until only one decoration control device 610 to be transmitted opens the connection line SDA. Depends on time. Therefore, the former has a longer waiting time until the connection line SDA is released.

なお、初期化指示データは、共通アドレスのデータ2001、第1所定値のデータ20
02、及び第2所定値のデータ2003というように3回に分けて送信される。さらに、
この3種類の初期化指示データが正確に装飾制御装置610に伝達されない場合には、装
飾制御装置610を確実に初期化するために、何度でも初期化指示データの送信を繰り返
す処理が行われる。
The initialization instruction data includes common address data 2001 and first predetermined value data 20.
02 and the second predetermined value data 2003 are transmitted in three times. further,
When these three types of initialization instruction data are not accurately transmitted to the decoration control device 610, a process of repeatedly transmitting the initialization instruction data is performed many times in order to reliably initialize the decoration control device 610. .

ここで、バッファモードを用いて初期化指示データを送信した場合と、バイトモードを
用いて初期化指示データを送信した場合とを比較する。それぞれのモードにおいて、最初
の共通アドレスのデータ2001の送信後、又は次の第1所定値のデータ2002の送信
後に、何らかの理由によって、接続線SDAが解放されない異常状態が発生した場合を想
定するとどうなるかを説明する。
Here, the case where the initialization instruction data is transmitted using the buffer mode is compared with the case where the initialization instruction data is transmitted using the byte mode. In each mode, what happens when an abnormal state occurs in which the connection line SDA is not released for some reason after the transmission of the first common address data 2001 or after the transmission of the next first predetermined value data 2002? Explain how.

初期化指示データがバッファモードで送信されると、バッファモード監視時間には、共
通アドレスのデータ2001の送信開始から第2所定値のデータ2003の送信によるA
CKの受信までの、少なくとも3バイト分のデータ送信に必要な時間が設定されなければ
ならない。このため、初期化指示データをバッファモードで送信するようにした場合には
、接続線SDAが解放されない異常が発生すると、CPU551は、バッファモード監視
時間のタイムアップを待つことになる。
When the initialization instruction data is transmitted in the buffer mode, the buffer mode monitoring time includes A by transmission of the second predetermined value data 2003 from the start of transmission of the common address data 2001.
The time required for transmitting data of at least 3 bytes until the reception of CK must be set. For this reason, when the initialization instruction data is transmitted in the buffer mode, if an abnormality occurs in which the connection line SDA is not released, the CPU 551 waits for the buffer mode monitoring time to expire.

一方、初期化指示データがバイトモードで送信されると、バイトモード監視時間には、
少なくとも1バイト分のデータ送信に必要な時間が設定されなければならない。このため
、初期化指示データをバイトモードで送信するようにした場合には、接続線SDAが解放
されない異常が発生すると、CPU551は、バイトモード監視時間のタイムアップを待
つことになる。
On the other hand, when the initialization instruction data is transmitted in the byte mode, the byte mode monitoring time includes
The time required to transmit at least one byte of data must be set. For this reason, when the initialization instruction data is transmitted in the byte mode, if an abnormality occurs in which the connection line SDA is not released, the CPU 551 waits for the time-up of the byte mode monitoring time.

このため、初期化指示データをバッファモードで送信するようにした場合には、接続線
SDAが解放されない異常が発生すると、CPU551は、長いタイムアップ時間の経過
を待ってから異常解除をすることになるので、却って非効率なデータ送信を行うことにな
ってしまう。
For this reason, when the initialization instruction data is transmitted in the buffer mode, if an abnormality occurs in which the connection line SDA is not released, the CPU 551 waits for a long time-up time to elapse before canceling the abnormality. As a result, inefficient data transmission is performed.

一方、初期化指示データをバイトモードで送信するようにした場合には、接続線SDA
が解放されない異常が発生しても、CPU551は、短いタイムアップ時間の経過を待っ
てから異常解除をするとになるので、無駄な時間を抑制でき、効率的なデータ送信を行う
ことができる。
On the other hand, when the initialization instruction data is transmitted in the byte mode, the connection line SDA
Even if an abnormality that cannot be released occurs, the CPU 551 cancels the abnormality after waiting for a short time-up time, so that useless time can be suppressed and efficient data transmission can be performed.

このため、本実施形態では、初期化指示データをバイトモードで送信するようにしたの
で、接続線SDAが解放されない異常をいち早く検出できるようにしたので、結果として
データ送信の時間を短縮できる。
For this reason, in this embodiment, since the initialization instruction data is transmitted in the byte mode, an abnormality that the connection line SDA is not released can be detected quickly, and as a result, the data transmission time can be shortened.

特に、前述したように、初期化指示データは複数の装飾制御装置610に送信され、こ
れらの装飾制御装置610から全ての返答信号が出力されることを監視するので、接続線
SDAが解放されるまでの待機時間が長くなる傾向にあり、監視時間自体を長めに設定す
る必要があることから、バイトモードを用いて時間監視を行うことが好ましい。
In particular, as described above, the initialization instruction data is transmitted to the plurality of decoration control devices 610, and since it is monitored that all response signals are output from these decoration control devices 610, the connection line SDA is released. Since it is necessary to set the monitoring time itself longer, it is preferable to perform time monitoring using the byte mode.

一方で、本実施形態では、発光制御データはバッファモードで送信される。これは、上
述したように、バッファモードによるデータ送信では、バイトモードのときと比較して、
割込信号がマスタIC570からCPU551へ伝達される回数が少なくなるため、マス
タIC570からCPU551へ処理を引き渡す回数が少なくなり、複数バイトのデータ
を送信するときの全体的な送信時間を短縮することができるからである。
On the other hand, in the present embodiment, the light emission control data is transmitted in the buffer mode. As described above, in the data transmission in the buffer mode, compared to the byte mode,
Since the number of times the interrupt signal is transmitted from the master IC 570 to the CPU 551 is reduced, the number of times the processing is transferred from the master IC 570 to the CPU 551 is reduced, and the overall transmission time when transmitting a plurality of bytes of data can be shortened. Because it can.

なお、発光制御データをバッファモードで送信し、何らかの理由によって、接続線SD
Aが解放されない異常状態が発生した場合には、バッファモード監視時間のタイムアップ
を待って異常を解除し、1回だけ装飾制御装置610へ発光制御データを再送する。もし
、2回連続して発光制御データの送信異常が発生した場合には、発光制御データの送信を
中止する。
Note that the emission control data is transmitted in the buffer mode, and for some reason, the connection line SD
When an abnormal state in which A is not released occurs, the abnormality is canceled after the buffer mode monitoring time is up, and the light emission control data is retransmitted to the decoration control device 610 only once. If a transmission abnormality of the light emission control data occurs twice consecutively, the transmission of the light emission control data is stopped.

したがって、発光制御データを送信する場合には、接続線SDAが解放されない異常を
検出するまでの無駄な時間を減少させるよりも割込信号が出力される回数を減少させてC
PU551にかかる処理負荷を軽減させたほうがデータ送信の時間が短縮できるので、発
光制御データは割込信号が出力される回数がバイトモードよりも少ないバッファモードで
送信されるようにしている。
Therefore, when transmitting the light emission control data, the number of times the interrupt signal is output is reduced by reducing the number of times the interrupt signal is output, rather than reducing the useless time until the abnormality in which the connection line SDA is not released is detected.
Since the data transmission time can be shortened by reducing the processing load applied to the PU 551, the light emission control data is transmitted in the buffer mode in which the number of times the interrupt signal is output is smaller than that in the byte mode.

また、図24に示すように、初期化指示データにおいては、接続線SDAが解放されず
タイムアウトが発生した場合、又は、1バイトのデータに対する返答信号がマスタIC5
70に入力されなかった場合には、初期化指示データの最初のデータ(共通アドレスを含
むデータ2001)から再送信を行い、初期化指示データがI2CI/Oエクスパンダ6
15によって受信されるまで当該再送信が繰り返し行われるので、初期化指示データは正
確にI2CI/Oエクスパンダ615に受信されるので、正確にI2CI/Oエクスパンダ
615を初期化できる。また、図26に示すように、発光制御データにおいては、接続線
SDAが解放されずタイムアウトが発生した場合、又は、1バイトのデータに対する返答
信号がマスタIC570に入力されなかった場合には、発光制御データの最初のデータか
ら再送信を1回のみ行うので、高速なデータ送信が可能となる。
Also, as shown in FIG. 24, in the initialization instruction data, when the connection line SDA is not released and a timeout occurs, or a response signal for 1-byte data is sent to the master IC 5.
If it is not input to 70, retransmission is performed from the first data (data 2001 including the common address) of the initialization instruction data, and the initialization instruction data is the I 2 CI / O expander 6
Since the retransmitted until received is repeatedly performed by 15, since the initialization command data is correctly received I 2 CI / O expander 615 can be accurately initialize the I 2 CI / O expander 615 . As shown in FIG. 26, in the light emission control data, if the connection line SDA is not released and a timeout occurs, or if a response signal for 1-byte data is not input to the master IC 570, the light emission is performed. Since re-transmission is performed only once from the first data of the control data, high-speed data transmission is possible.

2CI/Oエクスパンダ615の初期化は異常発生時において発生した異常を解消す
るために行う処理であるため、確実に初期化が行われるように、初期化指示データがI2
CI/Oエクスパンダ615に確実に受信されるまで再送信を繰り返し行うようにしてい
る。これに対して、発光制御データはI2CI/Oエクスパンダ615に受信されなくと
も発光装置の出力態様が前回の出力態様で停止するのみであるので、データ送信の高速性
を重視して、1回のみ再送信を行うようにしている。
Since the initialization of the I 2 CI / O expander 615 is a process that is performed in order to eliminate the abnormality that occurred when the abnormality occurred, the initialization instruction data is I 2 so that the initialization can be performed reliably.
The retransmission is repeatedly performed until the CI / O expander 615 receives the data reliably. On the other hand, even if the emission control data is not received by the I 2 CI / O expander 615, the output mode of the light emitting device only stops in the previous output mode. Re-transmission is performed only once.

図27は、本発明の第1実施形態のI2C随時リセット処理のフローチャートである。 FIG. 27 is a flowchart of the I 2 C occasional reset process according to the first embodiment of this invention.

2C随時リセット処理は、マスタIC570、役物駆動MOT561、マスタIC5
70に接続されたすべてのI2CI/Oエクスパンダ615、及び役物駆動SOL560
の初期化を指示する処理であり、図22に示すステップ2210の処理である。
The I 2 C occasional reset process includes master IC 570, accessory driving MOT 561, master IC 5
70, all I 2 CI / O expanders 615 connected to 70, and the accessory drive SOL 560
This is a process for instructing initialization, and is the process of step 2210 shown in FIG.

まず、演出制御装置550は、リセット要求フラグがオンであるか否かを判定する(2
701)。
First, the effect control device 550 determines whether or not the reset request flag is ON (2
701).

ステップ2701の処理でリセット要求フラグがオンでないと判定された場合、演出制
御装置550は、リセットを指示する条件が成立しているか否かを判定するために、異常
判定テーブル2100を参照して、マスタIC570に接続されるI2CI/Oエクスパ
ンダ615のうち、装飾装置が接続されたすべてのI2CI/Oエクスパンダ615から
所定回数連続してACKの返答信号を受信できなかったか否かを確認する(2702)。
If it is determined in step 2701 that the reset request flag is not on, the effect control device 550 refers to the abnormality determination table 2100 to determine whether or not a condition for instructing reset is satisfied. Whether or not an ACK response signal has been continuously received a predetermined number of times from all of the I 2 CI / O expanders 615 to which the decoration device is connected among the I 2 CI / O expanders 615 connected to the master IC 570 Is confirmed (2702).

具体的には、演出制御装置550は、異常判定テーブル2100に登録されたすべての
エントリのエラーフラグ2105にオンが登録されているか否かを判定する。
Specifically, the effect control device 550 determines whether or not “ON” is registered in the error flag 2105 of all entries registered in the abnormality determination table 2100.

次に、演出制御装置550は、ステップ2702の処理の確認結果に基づいて、リセッ
ト条件が成立しているか否かを判定する(2703)。
Next, the effect control device 550 determines whether or not a reset condition is satisfied based on the confirmation result of the processing in step 2702 (2703).

具体的には、ステップ2702の処理の時点ですべてのエラーフラグ2105がONに
なっている場合(エラーフラグ2105がOFFとなっている発光制御装置が存在しない
場合)には、ステップ2703の処理でリセット条件が成立しているとみなされる。その
他の場合は、ステップ2703の処理でリセット条件が成立していないとみなされる。
Specifically, when all the error flags 2105 are ON at the time of the processing in step 2702 (when there is no light emission control device in which the error flag 2105 is OFF), the processing in step 2703 is performed. It is considered that the reset condition is satisfied. In other cases, it is considered that the reset condition is not satisfied in step 2703.

ステップ2703の処理で、リセット条件が成立しているとみなされた場合、演出制御
装置550は、初期化中であることを示すリセット要求フラグを設定する(2704)。
If it is determined in step 2703 that the reset condition is satisfied, the effect control device 550 sets a reset request flag indicating that initialization is in progress (2704).

そして、演出制御装置550は、マスタIC570をソフトリセットする(2705)
。具体的には、CPU551が、データバスを介してマスタIC570に備わるリセット
REG573に所定の値を書き込む。マスタIC570に備わるリセットREG573に
所定の値が書き込まれると、マスタIC570のコントローラは、入力用BUF571、
出力用BUF572、リセットREG573、及び送信モードREG574の値を初期値
に設定し、マスタIC570を初期化する。CPU551がデータバスを介してマスタI
C570に備わるリセットREG573に所定の値を書き込むことによって、マスタIC
570を初期化することをソフトリセットという。
Then, the production control device 550 soft resets the master IC 570 (2705).
. Specifically, the CPU 551 writes a predetermined value to the reset REG 573 provided in the master IC 570 via the data bus. When a predetermined value is written in the reset REG 573 provided in the master IC 570, the controller of the master IC 570 causes the input BUF 571,
The values of the output BUF 572, the reset REG 573, and the transmission mode REG 574 are set to initial values, and the master IC 570 is initialized. The CPU 551 is connected to the master I via the data bus.
By writing a predetermined value into the reset REG 573 provided in the C570, the master IC
Initializing 570 is called soft reset.

本実施形態では、マスタIC570をハードリセットすると、前述したように、演出制
御装置550に備わっている他の回路(VDP556や音LSI557などの電源投入時
に初期化される回路)も初期化してしまうが、マスタIC570に異常が発生したと判定
された場合には、このようなソフトリセットを行うことで、異常が発生したマスタICの
みに対してリセットを行い、マスタIC570と直接関係のない回路までもリセットして
しまうことを防止する。
In this embodiment, when the master IC 570 is hard reset, as described above, other circuits (circuits initialized when the power such as the VDP 556 and the sound LSI 557 are turned on) provided in the effect control device 550 are also initialized. When it is determined that an abnormality has occurred in the master IC 570, by performing such a soft reset, only the master IC in which the abnormality has occurred is reset, and even a circuit that is not directly related to the master IC 570 is reset. Prevents resetting.

次に、演出制御装置550は、マスタIC570に接続されたすべての装飾制御装置6
10のI2CI/Oエクスパンダ615を初期化するために、マスタIC570からリセ
ット信号を出力する図24に示すスレーブリセット処理を実行する(2706)。
Next, the effect control device 550 includes all the decoration control devices 6 connected to the master IC 570.
In order to initialize the 10 I 2 CI / O expander 615, the slave reset process shown in FIG. 24 for outputting a reset signal from the master IC 570 is executed (2706).

このように、マスタIC570が初期化されると、当該マスタIC570に接続された
すべてのI2CI/Oエクスパンダ615に対して初期化指示データを送信するので、確
実に遊技機1を初期化することができる。
As described above, when the master IC 570 is initialized, the initialization instruction data is transmitted to all the I 2 CI / O expanders 615 connected to the master IC 570, so that the gaming machine 1 is surely initialized. can do.

そして、演出制御装置550は、役物駆動MOT561が初期化中であることを示すモ
ータ初期化フラグを設定し(2707)、役物駆動MOT561を初期化する場合に役物
駆動MOT561に出力されるモータ出力データをRAM553に設定する(2708)
。そして、演出制御装置550は、役物駆動SOL560を初期化するために、役物駆動
SOL560の通電状態を非通電状態にするオフデータをRAM553に設定し(270
9)、リセット要求フラグを解除して(2710)、I2C随時リセット処理を終了する
Then, the effect control device 550 sets a motor initialization flag indicating that the accessory driving MOT 561 is being initialized (2707), and is output to the accessory driving MOT 561 when initializing the accessory driving MOT 561. Motor output data is set in the RAM 553 (2708).
. Then, in order to initialize the accessory driving SOL 560, the effect control device 550 sets off data in the RAM 553 to turn off the energization state of the accessory driving SOL 560 (270).
9) The reset request flag is canceled (2710), and the I 2 C optional reset process is terminated.

ステップ2701の処理で、リセット要求フラグが設定されていると判定された場合に
は、初期化をすぐに実行しなければならないので、リセット条件が成立しているか否かを
判定せずに、ステップ2705の処理に進む。
If it is determined in step 2701 that the reset request flag is set, the initialization must be executed immediately, so that it is not determined whether the reset condition is satisfied. The process proceeds to 2705.

また、ステップ2704の処理で、リセット条件が成立していないと判定された場合、
初期化を行う必要はないので、ステップ2710の処理に進み、リセット要求フラグを解
除し、I2C随時リセット処理を終了する。
If it is determined in step 2704 that the reset condition is not satisfied,
Since initialization is not necessary, the process proceeds to step 2710, the reset request flag is canceled, and the I 2 C optional reset process is terminated.

このように、リセット条件が成立したと判定された場合には、ステップ2706の処理
で、マスタIC570に接続されるすべてのI2CI/Oエクスパンダ615に対して、
同時に初期化を指示するので、言い換えれば、すべてのI2CI/Oエクスパンダ615
を同時に選択して初期化することになるので、I2CI/Oエクスパンダ615を個別に
選択して初期化を指示する方法と比較すると、高速に初期化を行うことができ、I2CI
/Oエクスパンダ615を正常な状態へ高速に復帰させることができる。
As described above, when it is determined that the reset condition is satisfied, in the process of step 2706, for all the I 2 CI / O expanders 615 connected to the master IC 570,
Since initialization is simultaneously instructed, in other words, all I 2 CI / O expanders 615
Since the I 2 CI / O expander 615 is individually selected and the initialization is instructed, the initialization can be performed at a higher speed and the I 2 CI can be initialized.
The / O expander 615 can be returned to a normal state at high speed.

なお、すべてのI2CI/Oエクスパンダ615へ入力されるRESET端子(図7参
照)とCPU551とを電気的に接続し、CPU551から一斉に、全てのI2CI/O
エクスパンダ615のRESET端子へリセット信号を送信する構成としても、全てのI
2CI/Oエクスパンダ615を同時に選択して初期化することは可能である。
Note that the RESET terminal (see FIG. 7) input to all the I 2 CI / O expanders 615 is electrically connected to the CPU 551, and all the I 2 CI / O are simultaneously transmitted from the CPU 551.
Even if the reset signal is transmitted to the RESET terminal of the expander 615, all I
It is possible to select and initialize 2 CI / O expanders 615 simultaneously.

なお、ステップ2702の処理でリセット条件成立とみなされた場合は、マスタIC5
70において異常が発生していることが考えられるので、ステップ2705の処理でマス
タIC570も初期化するようにしている。
If the reset condition is deemed to be satisfied in the process of step 2702, the master IC 5
70, the master IC 570 is also initialized by the processing in step 2705.

マスタIC570は、CPU551からの指令によって、接続線SDA及び接続線SC
Lの信号レベルを制御する信号レベル制御手段として機能しているので、すべての発光制
御装置にてデータ送信に関する異常が発生している場合には、マスタIC570自身に異
常が発生していることも考えられる。
The master IC 570 receives the connection line SDA and the connection line SC in response to a command from the CPU 551.
Since it functions as a signal level control means for controlling the L signal level, if an abnormality relating to data transmission occurs in all the light emission control devices, an abnormality may have occurred in the master IC 570 itself. Conceivable.

そのため、すべての装飾制御装置610にてデータ送信に関する異常が発生している場
合には、念のために、CPU551(演算処理手段)によりマスタIC570が初期化さ
れる。これにより、マスタIC570で異常が発生している場合であっても確実にマスタ
IC570を制御可能にすることができる。
Therefore, when an abnormality relating to data transmission occurs in all the decoration control devices 610, the master IC 570 is initialized by the CPU 551 (arithmetic processing means) just in case. Accordingly, even if an abnormality occurs in the master IC 570, the master IC 570 can be reliably controlled.

また、図22に示すように、表示装置53の画像を更新する周期と同期して、演出制御
装置550のマスタIC570からI2CI/Oエクスパンダ615へ発光制御データを
送信し、I2CI/Oエクスパンダ615は受信した発光制御に基づいて発光装置を制御
するので、表示装置53における演出と発光装置における演出とが調和し、遊技者に違和
感を与えないので、興趣を高めることができる。
Also, as shown in FIG. 22, in synchronization with the cycle of updating the image on the display device 53, the emission control data is transmitted from the master IC 570 of the effect control device 550 to the I 2 CI / O expander 615, and the I 2 CI Since the / O expander 615 controls the light-emitting device based on the received light-emission control, the effect on the display device 53 and the effect on the light-emitting device are harmonized and does not give the player a sense of incongruity. .

また、表示装置53の画像を更新する周期と同期してマスタIC570から送信された
発光制御データが装飾制御装置610で受信されると、その都度、I2CI/Oエクスパ
ンダ615によってワークレジスタの値が更新される。そのため、毎回ワークレジスタの
値が最新の状態に更新されるので、ノイズ等でワークレジスタの値が破壊されても、正常
な値に復帰することが可能である。
Further, whenever the decoration control device 610 receives the light emission control data transmitted from the master IC 570 in synchronization with the cycle of updating the image on the display device 53, the I 2 CI / O expander 615 updates the work register. The value is updated. Therefore, since the value of the work register is updated to the latest state every time, even if the value of the work register is destroyed due to noise or the like, it can be restored to a normal value.

また、表示装置53の画像を更新する周期と同期して、エラー判定処理を実行するので
、エラー判定の実行頻度を適切にできる、つまり、エラー判定処理の実行頻度が多すぎる
と、演出制御装置550のCPU551の処理負荷が増大してしまい、逆に、エラー判定
処理の実行頻度が少なすぎると、異常が発生したことを適切に検出できなくなってしまう
ことになるので、適度な頻度でエラー判定を行うことにより処理の不具合を防止すること
ができる。
In addition, since the error determination process is executed in synchronization with the cycle of updating the image on the display device 53, the error determination execution frequency can be made appropriate. That is, if the error determination process is executed too frequently, the effect control apparatus If the processing load of the CPU 551 of the 550 increases and, on the contrary, the frequency of execution of the error determination process is too low, it becomes impossible to properly detect that an abnormality has occurred. It is possible to prevent processing problems by performing the above.

図28は、本発明の第1実施形態のタイマ割込が発生した場合に実行されるタイマ割込
処理のフローチャートである。
FIG. 28 is a flowchart of timer interrupt processing executed when a timer interrupt occurs according to the first embodiment of this invention.

タイマ割込は、タイマ割込が許可されているという条件の下で、2ms周期で発生する
タイマ割込をCPU551が受け付けた場合に、図22に示す処理に割り込む形態で実行
される。
The timer interrupt is executed in a form of interrupting the process shown in FIG. 22 when the CPU 551 accepts a timer interrupt generated at a cycle of 2 ms under the condition that the timer interrupt is permitted.

タイマ割込処理は、役物駆動MOT561及び役物駆動SOL560(可動物)に接続
されたI2CI/Oエクスパンダ615(可動制御装置)へ制御データを出力し、可動物
を制御する処理である。
The timer interruption process is a process for outputting control data to the I 2 CI / O expander 615 (movable control device) connected to the accessory driving MOT 561 and the accessory driving SOL 560 (movable object) to control the movable object. is there.

まず、演出制御装置550は、リセット要求フラグが設定されているか否かを判定する
(2801)。
First, the effect control device 550 determines whether a reset request flag is set (2801).

ステップ2801の処理で、リセット要求フラグが設定されていると判定された場合に
は、可動制御装置を含む装飾制御装置600のリセット処理が開始するのを待機している
状態であるので、タイマ割込処理を終了する。
If it is determined in step 2801 that the reset request flag has been set, the process waits for the reset processing of the decoration control device 600 including the movable control device to start. Finish the process.

一方、ステップ2801の処理で、リセット要求フラグが設定されていないと判定され
た場合には、制御対象となる可動制御装置を選択し(2802)、ステップ2802の処
理で選択された可動制御装置へ、演出制御データである可動制御データを送信するスレー
ブ単発出力処理を実行する(2803)。スレーブ単発出力処理は、図29で詳細を説明
する。
On the other hand, if it is determined in step 2801 that the reset request flag is not set, the movable control device to be controlled is selected (2802), and the movable control device selected in step 2802 is selected. Then, a slave single output process for transmitting the movable control data which is the effect control data is executed (2803). The slave single output process will be described in detail with reference to FIG.

次に、演出制御装置550は、ステップ2803の処理で実行されたスレーブ単発出力
処理が正常に終了したか否かを判定する(2804)。スレーブ単発出力処理では、ステ
ップ2802の処理で選択された可動制御装置へ1回目のデータ出力が失敗し、さらに2
回目のデータ出力も失敗した場合には、異常終了する。
Next, the effect control device 550 determines whether or not the slave single-shot output process executed in the process of step 2803 has ended normally (2804). In the slave single output process, the first data output to the movable control device selected in the process of step 2802 has failed, and 2
If the second data output fails, the process ends abnormally.

ステップ2804の処理で、スレーブ単発出力処理が正常に終了していないと判定され
た場合、つまり、スレーブ単発出力処理が異常終了したと判定された場合、演出制御装置
550は、役物駆動MOT561が初期化中であることを示すモータ初期化フラグを設定
し(2805)、装飾制御装置600のリセット処理を開始するためにリセット要求フラ
グを設定する(2806)。
If it is determined in step 2804 that the slave single-shot output process has not ended normally, that is, if it is determined that the slave single-shot output process has ended abnormally, the effect control device 550 causes the accessory drive MOT 561 to A motor initialization flag indicating that initialization is in progress is set (2805), and a reset request flag is set to start the reset processing of the decoration control device 600 (2806).

そして、演出制御装置550は、役物駆動MOT561を初期化する場合に可動制御装
置に出力されるモータ出力データをRAM553に設定し(2807)、役物駆動SOL
560を初期化する場合に可動制御装置に出力される、役物駆動SOL560の通電状態
を非通電状態にするオフデータをRAM553に設定し(2808)、タイマ割込処理を
終了する。
Then, the effect control device 550 sets the motor output data output to the movable control device in the RAM 553 when initializing the accessory driving MOT 561 (2807), and the accessory driving SOL.
Off data for turning off the energization state of the accessory driving SOL 560, which is output to the movable control device when initializing 560, is set in the RAM 553 (2808), and the timer interrupt process is terminated.

一方、ステップ2804の処理で、スレーブ単発出力処理が正常に終了したと判定され
た場合、役物駆動MOT561の初期化を実行するか否かを判定するために、モータ初期
化フラグが設定されているか否かを判定する(2809)。
On the other hand, if it is determined in step 2804 that the slave single-shot output processing has ended normally, the motor initialization flag is set to determine whether or not to initialize the accessory driving MOT 561. It is determined whether or not (2809).

ステップ2809の処理で、モータ初期化フラグが設定されていると判定された場合に
は、モータ位置検出センサ510が役物駆動MOT561の回転軸が初期位置に戻ったこ
とを検出したか否かを判定する(2810)。
If it is determined in step 2809 that the motor initialization flag is set, it is determined whether or not the motor position detection sensor 510 has detected that the rotation axis of the accessory driving MOT 561 has returned to the initial position. Determine (2810).

ステップ2810の処理で、モータ位置検出センサ510が役物駆動MOT561の回
転軸が初期位置に戻ったことを検出していないと判定された場合、ステップ2807の処
理に進み、役物駆動MOT561を初期化する場合に可動制御装置に出力されるモータ出
力データをRAM553に設定する。
If it is determined in step 2810 that the motor position detection sensor 510 has not detected that the rotation axis of the accessory driving MOT 561 has returned to the initial position, the processing proceeds to step 2807 to initialize the accessory driving MOT 561. The motor output data that is output to the movable control device in the case of conversion is set in the RAM 553.

一方、ステップ2810の処理で、モータ位置検出センサ510が役物駆動MOT56
1の回転軸が初期位置に戻ったことを検出したと判定された場合、役物駆動MOT561
の回転を停止させる停止データを可動制御装置に出力するために、RAM553に設定し
(2811)、役物駆動MOT561の初期化が完了したので、モータ初期化フラグを解
除し(2812)、タイマ割込処理を終了する。
On the other hand, in the process of step 2810, the motor position detection sensor 510 performs the accessory driving MOT 56.
When it is determined that the rotation axis of 1 has returned to the initial position, the accessory driving MOT 561 is detected.
In order to output stop data for stopping the rotation of the motor to the movable control device, it is set in the RAM 553 (2811). Since the initialization of the accessory driving MOT 561 is completed, the motor initialization flag is canceled (2812), Finish the process.

ステップ2809の処理で、モータ初期化フラグが設定されていないと判定された場合
には、演出制御装置550は、役物駆動MOT561で動作異常が検出されたか否かを判
定する(2813)。
If it is determined in step 2809 that the motor initialization flag has not been set, the effect control device 550 determines whether an operation abnormality has been detected in the accessory driving MOT 561 (2813).

ステップ2813の処理で、役物駆動MOT561で動作異常が検出されたと判定され
た場合には、役物駆動MOT561を初期化するために、ステップ2805の処理に進む
If it is determined in step 2813 that an abnormality has been detected in the accessory driving MOT 561, the process proceeds to step 2805 to initialize the accessory driving MOT 561.

一方、ステップ2813の処理で、役物駆動MOT561で動作異常が検出されていな
いと判定された場合には、演出制御装置550は、役物駆動MOT561の回転軸を目標
値まで回転させるための制御データを可動制御装置に出力するために、RAM553に設
定し(2814)、役物駆動SOL560を通電状態にするか非通電状態にするかを示す
ソレノイド出力データを可動制御装置に出力するために、RAM553に設定し(281
5)、タイマ割込処理を終了する。
On the other hand, if it is determined in step 2813 that no abnormal operation is detected in the accessory driving MOT 561, the effect control device 550 performs control for rotating the rotation axis of the accessory driving MOT 561 to the target value. In order to output data to the movable control device, it is set in the RAM 553 (2814), and solenoid output data indicating whether the accessory driving SOL 560 is to be energized or de-energized is output to the movable control device. Set to RAM553 (281
5) The timer interrupt process is terminated.

図29は、本発明の第1実施形態のスレーブ単発出力処理のフローチャートである。   FIG. 29 is a flowchart of slave single output processing according to the first embodiment of this invention.

スレーブ単発出力処理は、可動制御装置に可動制御データを送信する処理であり、図2
8に示すステップ2803の処理で実行される。
The slave single output process is a process for transmitting the movable control data to the movable control device.
This is executed in the process of step 2803 shown in FIG.

可動制御データは、マスタIC570からバイトモードで送信される。バイトモードで
は、マスタIC570は、I2CI/Oエクスパンダ615へデータを1バイト送信する
毎に、I2CI/Oエクスパンダ615からACK又はNACKを受信し、ACK及びN
ACKの何れを受信した場合でも、割込信号をCPU551に出力する。つまり、マスタ
IC570からI2CI/Oエクスパンダ615へ1バイトのデータを送信することが完
了すれば、ACK/NACKの受信に拘らず、必ず、マスタIC570からCPU551
へ割込信号が出力される。
The movable control data is transmitted from the master IC 570 in the byte mode. In byte mode, the master IC570, every time one byte transmit data to I 2 CI / O expander 615 receives the ACK or NACK from the I 2 CI / O expander 615, ACK and N
When any ACK is received, an interrupt signal is output to the CPU 551. That is, if transmission of 1-byte data from the master IC 570 to the I 2 CI / O expander 615 is completed, the master IC 570 always receives the CPU 551 regardless of reception of ACK / NACK.
An interrupt signal is output.

まず、CPU551は、ACKの返答信号の受信に失敗したことを計数するACKカウ
ンタに0を設定する(2901)。
First, the CPU 551 sets 0 to an ACK counter that counts failure in receiving an ACK response signal (2901).

そして、マスタIC570は、接続線SDA及び接続線SCLの信号レベルを、スター
ト条件を示す信号レベルに変化させる(2902)。
Then, the master IC 570 changes the signal levels of the connection line SDA and the connection line SCL to a signal level indicating a start condition (2902).

具体的には、マスタIC570は、接続線SCLの信号レベルをHIGHに維持したま
ま、接続線SDAの信号レベルをHIGHからLOWに変化させることよってスタート条
件を示す信号を出力する。
Specifically, the master IC 570 outputs a signal indicating a start condition by changing the signal level of the connection line SDA from HIGH to LOW while maintaining the signal level of the connection line SCL at HIGH.

なお、マスタIC570は、スタート条件を示す信号を出力後、制御対象となる装飾制
御装置610へデータを送るために、接続線SCLのレベルをLOWに変更する。
Note that, after outputting a signal indicating the start condition, the master IC 570 changes the level of the connection line SCL to LOW in order to send data to the decoration control device 610 to be controlled.

次に、CPU551は、送信対象として選択されている可動制御装置のアドレスデータ
を出力用BUF572に設定する(2903)。
Next, the CPU 551 sets the address data of the movable control device selected as the transmission target in the output BUF 572 (2903).

そして、CPU551は、マスタIC570へデータ送信の開始を指示した時点から、
マスタIC570がCPU551へ割込信号を伝達させるまでの時間を監視するために、
バイトモード用の監視タイマの起動を開始する(2904)。
Then, from the time when the CPU 551 instructs the master IC 570 to start data transmission,
In order to monitor the time until the master IC 570 transmits an interrupt signal to the CPU 551,
Start of the monitoring timer for the byte mode is started (2904).

CPU551は、バイトモード時間の監視を開始してから所定時間経過しても、割込信
号を受け付けていない場合には、データ送信を中断するために、マスタIC570にスト
ップ条件を出力させ(2912)、その後、ACKカウンタの値を一つ加算して、ステッ
プ2902の処理に戻り、再度マスタIC570にスタート条件を出力させてから、可動
制御データを初めのデータ(可動制御装置のアドレス)から送信する。ただし、ACKカ
ウンタの値がステップ2913の時点で所定値(例えば「1」)となっている場合には、
処理を終了する。
If the interrupt signal is not received even after a predetermined time has elapsed since the start of the monitoring of the byte mode time, the CPU 551 causes the master IC 570 to output a stop condition in order to interrupt the data transmission (2912). Thereafter, the value of the ACK counter is incremented by one, and the process returns to step 2902 to output the start condition again to the master IC 570, and then transmit the movable control data from the first data (address of the movable control device). . However, if the value of the ACK counter is a predetermined value (eg, “1”) at the time of step 2913,
The process ends.

そして、CPU551は、ステップ2902の処理で出力用BUF572に設定された
アドレスデータを送信する指令をマスタIC57に出力し、マスタIC570は、当該指
令を受け付けると、ステップ2902の処理で出力用BUF572に設定されたアドレス
データを、接続線SCLの信号レベルを変化させながら、接続線SDAを介してI2CI
/Oエクスパンダ615に送信する(2905)。マスタIC570は、このアドレスデ
ータを出力する際に、一旦、ドライバ576Aをオフさせて接続線SDAを解放する(ハ
イレベルに変化させる)動作を行う。そして、接続線SDAが解放されていない場合(ド
ライバ576Aをオフしても、接続線SDAがハイレベルにならずロウレベルのままで維
持されているとき)には、このアドレスデータの出力は、接続線SDAが開放される(接
続線SDAがハイレベルになる)まで待機する。
Then, the CPU 551 outputs a command for transmitting the address data set in the output BUF 572 in the process of step 2902 to the master IC 57, and when the master IC 570 receives the command, the CPU 551 sets the output BUF 572 in the process of step 2902. The address data thus obtained is connected to the I 2 CI via the connection line SDA while changing the signal level of the connection line SCL.
The data is transmitted to the / O expander 615 (2905). When the master IC 570 outputs the address data, the master IC 570 temporarily turns off the driver 576A to release the connection line SDA (change it to high level). If the connection line SDA is not released (even if the driver 576A is turned off, the connection line SDA remains at a low level instead of a high level), the output of this address data is It waits until the line SDA is released (the connection line SDA becomes high level).

ステップ2905の処理で出力されるアドレスデータは8ビットのデータ列であるため
、1回の出力処理(接続線SCLが8回HIGHに変化する間の出力)でアドレスデータ
が出力される。
Since the address data output in step 2905 is an 8-bit data string, the address data is output in one output process (output while the connection line SCL changes to HIGH eight times).

ステップ2905の処理で出力されたアドレスデータがI2CI/Oエクスパンダ61
5に入力された場合、I2CI/Oエクスパンダ615は、入力されたアドレスデータと
自身に設定されているアドレスとが一致するか否かを判定する。
The address data output in step 2905 is the I 2 CI / O expander 61.
5, the I 2 CI / O expander 615 determines whether or not the input address data matches the address set in itself.

入力されたアドレスデータと一致するアドレスが設定されているI2CI/Oエクスパ
ンダ615は、接続線SCLのLOWからHIGHへの変更回数が8回目になった直後で
あって、そのHIGHレベルとなっている接続線SCLがLOWレベルへと変化すること
を契機として、返答信号を接続線SDAからマスタIC570に出力する。
The I 2 CI / O expander 615 in which an address that matches the input address data is set immediately after the connection line SCL is changed from LOW to HIGH for the eighth time, A response signal is output from the connection line SDA to the master IC 570 when the connected connection line SCL changes to the LOW level.

次に、マスタIC570は、1バイト分のデータ出力完了から、所定時間(前述したバ
イトモード監視時間よりも短い監視時間となっている)以内にACKの返答信号がマスタ
IC570に入力されたか否かを確認する(2906)。
Next, the master IC 570 determines whether or not an ACK response signal has been input to the master IC 570 within a predetermined time (a monitoring time shorter than the above-described byte mode monitoring time) from the completion of data output for one byte. Is confirmed (2906).

次に、マスタIC570は、ステップ2906の処理の確認結果に基づいて、ステップ
2905の処理でアドレスデータが出力されてから所定時間以内にACKの返答信号が入
力されているか否かを判定する(2907)。
Next, the master IC 570 determines whether or not an ACK response signal is input within a predetermined time after the address data is output in the process of step 2905 based on the confirmation result of the process of step 2906 (2907). ).

ステップ2905の処理でアドレスデータが出力されてから所定時間以内にACKの返
答信号が入力されていないと、ステップ2907の処理で判定された場合には、マスタI
C570は、ステータスREG579に返答信号がNACKであった旨の情報を設定した
うえで、割込信号を発生させる。これにより、I2CI/Oエクスパンダ615からNA
CKの返答信号を受信したことが、CPU551に通知される。このとき、CPU551
はバイトモードの時間監視を終了する(2911)。
If it is determined in step 2907 that an ACK response signal has not been input within a predetermined time after the address data is output in step 2905, the master I
C570 sets information indicating that the response signal is NACK in the status REG579, and then generates an interrupt signal. This causes the I 2 CI / O expander 615 to
The CPU 551 is notified that the CK response signal has been received. At this time, the CPU 551
Terminates the byte mode time monitoring (2911).

次いで、CPU551は、データ送信を中断するために、マスタIC570にストップ
条件を出力させ(2912)、ACKカウンタが所定値であるか否かを判定する(291
3)。
Next, in order to interrupt data transmission, the CPU 551 causes the master IC 570 to output a stop condition (2912), and determines whether or not the ACK counter is a predetermined value (291).
3).

ステップ2912の処理で、ACKカウンタが所定値であると判定された場合、スレー
ブ単発出力処理を異常終了する。
If it is determined in step 2912 that the ACK counter is a predetermined value, the slave single output process is abnormally terminated.

一方、ステップ2913の処理で、ACKカウンタが所定値でないと判定された場合、
ACKカウンタをインクリメントし、ステップ2902の処理に戻り、再度マスタIC5
70にスタート条件を出力させてから、再度同じ可動制御データを出力する(可動制御装
置のアドレスから再出力する)。
On the other hand, if it is determined in step 2913 that the ACK counter is not a predetermined value,
The ACK counter is incremented, and the processing returns to step 2902 and the master IC 5 again.
After the start condition is output to 70, the same movable control data is output again (re-output from the address of the movable control device).

一方、ステップ2905の処理で、1バイト分のデータ出力完了から、所定時間以内に
ACKの返答信号が入力されたと、ステップ2907の処理で判定された場合には、マス
タIC570は、ステータスREG579に返答信号がACKであった旨の情報を設定し
たうえで、割込信号を発生させる。これにより、I2CI/Oエクスパンダ615からA
CKの返答信号を受信したことが、CPU551に通知される。このとき、CPU551
はバイトモードの時間監視を終了する(2908)。
On the other hand, if it is determined in step 2907 that an ACK response signal has been input within a predetermined time after completion of outputting 1 byte of data in the processing of step 2905, the master IC 570 returns a response to status REG579. An interrupt signal is generated after setting information indicating that the signal is ACK. This causes the I 2 CI / O expander 615 to
The CPU 551 is notified that the CK response signal has been received. At this time, the CPU 551
Terminates the byte mode time monitoring (2908).

次に、CPU551は、可動制御装置に出力すべきデータをすべて出力したか否かを判
定する(2909)。
Next, the CPU 551 determines whether or not all data to be output to the movable control device has been output (2909).

ステップ2909の処理で、可動制御装置に出力すべきデータをすべて出力したと判定
された場合、接続線SDA及び接続線SCLの信号レベルを、ストップ条件を示す信号レ
ベルに変化させて(2910)、スレーブ単発出力処理を正常終了する。
If it is determined in step 2909 that all data to be output to the movable control device has been output, the signal levels of the connection line SDA and the connection line SCL are changed to signal levels indicating a stop condition (2910). Complete the slave single output process normally.

一方、ステップ2909の処理で、可動制御装置に出力すべきデータを未だ出力してい
ないと判定された場合、CPU551は、可動制御装置に出力すべき次の1バイト分のデ
ータを出力用BUF572に設定する(2915)。
On the other hand, if it is determined in step 2909 that the data to be output to the movable control device has not yet been output, the CPU 551 supplies the next 1-byte data to be output to the movable control device to the output BUF 572. Set (2915).

次に、CPU551は、マスタIC570へデータ送信の開始を指示した時点から、マ
スタIC570がCPU551へ割込信号を伝達させるまでの時間を監視するために、バ
イトモード用の監視タイマの起動を開始する(2916)。
Next, in order to monitor the time from when the master IC 570 instructs the master IC 570 to start data transmission until the master IC 570 transmits the interrupt signal to the CPU 551, the CPU 551 starts to start the monitoring timer for the byte mode. (2916).

1バイトのデータを送信してからマスタIC570から当該1バイトのデータに対する
ACKである返答信号が入力されたか否かを通知するための割込が発行されるまでの時間
(バイトモード時間)の監視を開始する(2916)。
Monitoring of the time (byte mode time) from when 1-byte data is transmitted until an interrupt is issued to notify whether or not a response signal that is an ACK for the 1-byte data is input from the master IC 570 Is started (2916).

前述したように、CPU551は、バイトモード時間の監視を開始してから所定時間経
過しても、割込信号を受け付けていない場合には、データ送信を中断するために、マスタ
IC570にストップ条件を出力させ(2912)、その後、ACKカウンタの値を1つ
加算して、ステップ2902の処理に戻り、再度マスタIC570にスタート条件を出力
させてから、可動制御データを初めのデータ(可動制御装置のアドレス)から送信する。
ただし、ACKカウンタの値がステップ2913の時点で所定値となっている場合には、
処理を終了する。
As described above, the CPU 551 sets a stop condition to the master IC 570 in order to interrupt data transmission when an interrupt signal is not received after a predetermined time has elapsed since the start of monitoring of the byte mode time. After that, the value of the ACK counter is incremented by one, and the process returns to the step 2902 to output the start condition to the master IC 570 again, and then the movable control data is set to the initial data (of the movable control device). Address).
However, if the value of the ACK counter is a predetermined value at the time of step 2913,
The process ends.

次に、マスタIC570は、接続線SDAの電圧レベルを監視し、接続線SDAが解放
されていることを確認してから(2917)、出力用BUF572に設定された1バイト
のデータを出力し(2918)、ステップ2906の処理に進む。ステップ2917の処
理は、グループ単位制御手段からの返答信号の出力が終了するまでは、接続線SDAが返
答信号により占有されているので、マスタIC570は、グループ単位制御手段からの返
答信号の出力が終了し、接続線SDAが解放されるまで待機する処理である。
Next, the master IC 570 monitors the voltage level of the connection line SDA, confirms that the connection line SDA is released (2917), and then outputs 1-byte data set in the output BUF572 ( 2918), the process proceeds to Step 2906. In the process of step 2917, since the connection line SDA is occupied by the response signal until the output of the response signal from the group unit control means is completed, the master IC 570 outputs the response signal from the group unit control means. This is a process of waiting until the connection line SDA is released.

以後、可動制御データを順に送信し、全ての可動制御データの送信が完了すると、前述
したようにステップ2910の処理を経て、正常終了する。
Thereafter, the movable control data is sequentially transmitted, and when the transmission of all the movable control data is completed, the process ends normally through the process of step 2910 as described above.

送信される可動動制御データの順序は、発光制御データと同様に図19に示すフォーマ
ットとなっているが、可動動制御データはバイトモードで送信されるため、図19に示す
フォーマットの全データを、一度に出力用BUF572に設定するのではなく、先頭から
1バイト毎に区切って、出力用BUF572に設定しながら、データの送信を行う。その
ため、図19に示すフォーマットの全データ(モータやソレノイドの制御データを含んで
いる)は、RAM553に一時的に記憶されることになる。
The order of the movable motion control data to be transmitted is in the format shown in FIG. 19 like the light emission control data. However, since the movable motion control data is transmitted in the byte mode, all data in the format shown in FIG. Instead of setting the output BUF 572 at a time, the data is transmitted while setting the output BUF 572 by dividing it by one byte from the beginning. Therefore, all data in the format shown in FIG. 19 (including motor and solenoid control data) is temporarily stored in the RAM 553.

これにより、可動制御装置が制御する役物駆動MOT561及び役物駆動SOL560
は、VDP割込(約33.3ms周期)に同期して可動制御データを出力するのでは、演
出に合わせて可動部材を制御できないため、VDP割込よりも周期の短いタイマ割込(2
ms周期)に同期して可動制御データが出力されるようにしている。これによって、遊技
状態に合わせた可動部材による演出を行うことができる。
Thereby, the accessory driving MOT 561 and the accessory driving SOL 560 controlled by the movable control device.
Outputs the movable control data in synchronization with the VDP interrupt (a period of about 33.3 ms). Since the movable member cannot be controlled in accordance with the production, a timer interrupt with a shorter period than the VDP interrupt (2
The movable control data is output in synchronization with the ms cycle. Thereby, it is possible to produce an effect by the movable member in accordance with the gaming state.

また、可動制御データは、図29に示すように、バイトモードで送信される。これは、
接続線SDAが解放されない異常が発生した場合には可動制御装置が制御できなくなり、
役物駆動MOT561が予め設定されている可動部材の可動可能な範囲を超えて可動部材
を可動させるおそれがあるので、バイトモード監視時間による短時間のタイムアップ監視
を行って、接続線SDAが解放されない異常を即座に検出するためである。
The movable control data is transmitted in the byte mode as shown in FIG. this is,
When an abnormality that does not release the connection line SDA occurs, the movable control device cannot be controlled,
The accessory drive MOT 561 may move the movable member beyond the preset movable range of the movable member. Therefore, the connection line SDA is released by performing a short time-up monitoring by the byte mode monitoring time. This is to immediately detect an abnormality that is not performed.

図26、及び図29による処理では、マスタIC570は、8ビットのデータを出力後
に、装飾制御装置610からの返答信号を取り込むことにより、データ転送の成否を判定
し、データ転送が失敗している場合(つまり、NACKの返答信号がマスタIC570に
入力された場合)、出力したデータを1回だけ再度出力するので、装飾制御装置610に
データを可能な限り確実に出力することができ、演出装置の誤動作を防止できる。
In the processing according to FIGS. 26 and 29, the master IC 570 determines the success or failure of the data transfer by fetching the response signal from the decoration control device 610 after outputting the 8-bit data, and the data transfer has failed. In this case (that is, when a NACK response signal is input to the master IC 570), the output data is output again only once, so that the data can be output to the decoration control device 610 as reliably as possible. Can be prevented from malfunctioning.

なお、マスタIC570がスタート条件を送信する際には、接続線SDAがHIGHに
なっている必要があるが、ノイズ等の影響によって、接続線SDAがLOWとなったまま
変化しない状態が発生する場合がある。
Note that when the master IC 570 transmits the start condition, the connection line SDA needs to be HIGH. However, due to the influence of noise or the like, the connection line SDA remains LOW and does not change. There is.

本実施形態では、マスタIC570が装飾制御装置610のI2CI/Oエクスパンダ
615に送信するスレーブアドレスには、R/W識別データが「0」(書き込みを意味す
る)となっているものだけを用いている(図11参照)が、ノイズ等の影響によって、R
/W識別データが「1」(読み出しを意味する)となった状態で、I2CI/Oエクスパ
ンダ615へ伝わることがある。
In the present embodiment, only the slave address that the master IC 570 transmits to the I 2 CI / O expander 615 of the decoration control device 610 has R / W identification data “0” (means writing). (See FIG. 11), but due to the influence of noise and the like, R
The / W identification data may be transmitted to the I 2 CI / O expander 615 in a state where the identification data is “1” (meaning reading).

この場合、I2CI/Oエクスパンダ615は読み出しモードとなり、マスタIC57
0によって接続線SCLの信号レベルが変化することに対応して、I2CI/Oエクスパ
ンダ615からマスタIC570へ、接続線SDAを介してデータを1ビットごと伝送す
る処理を行う。
In this case, the I 2 CI / O expander 615 enters the read mode, and the master IC 57
In response to the signal level of the connection line SCL being changed by 0, processing for transmitting data bit by bit from the I 2 CI / O expander 615 to the master IC 570 via the connection line SDA is performed.

このとき、I2CI/Oエクスパンダ615は、8ビットのデータを伝送するごとに、
マスタIC570から接続線SDAを介してアクノリッジ信号を受信する処理を行い、ア
クノリッジ信号を受信するとさらに8ビットのデータ伝送を行い、以後、この8ビットの
データ伝送とアクノリッジ信号の確認を繰り返すが、この間は、接続線SDAがI2CI
/Oエクスパンダ615によって専有されている状態となる。
At this time, every time the I 2 CI / O expander 615 transmits 8-bit data,
A process of receiving an acknowledge signal from the master IC 570 via the connection line SDA is performed, and when the acknowledge signal is received, further 8-bit data transmission is performed. Thereafter, the 8-bit data transmission and the acknowledge signal confirmation are repeated. The connection line SDA is I 2 CI
/ O expander 615 is in a dedicated state.

一方で、I2CI/Oエクスパンダ615は、8ビットのデータ伝送後に、マスタIC
570から接続線SDAを介してアクノリッジ信号を受信できないときは、接続線SDA
を解放してデータ伝送を中止する。なお、I2CI/Oエクスパンダ615は、マスタI
C570から接続線SDAを介してアクノリッジ信号を受信する際には、接続線SDAが
LOWレベルであればアクノリッジ信号を受信したと解釈し、接続線SDAがHIGHレ
ベルであればアクノリッジ信号を受信しないと解釈する。
On the other hand, the I 2 CI / O expander 615 performs the master IC after the 8-bit data transmission.
When an acknowledge signal cannot be received from the 570 via the connection line SDA, the connection line SDA
Is released to cancel data transmission. Note that the I 2 CI / O expander 615 is the master I
When receiving an acknowledge signal from the C570 via the connection line SDA, if the connection line SDA is at the LOW level, it is interpreted that the acknowledge signal has been received. If the connection line SDA is at the HIGH level, the acknowledge signal must be received. Interpret.

よって、マスタIC570からのデータがノイズ等の影響により変化し、この変化した
データを勝手に受信して読み出しモードとなったI2CI/Oエクスパンダ615が発生
してしまうと、接続線SDAがいつまでも解放されないことになる。
Therefore, when the data from the master IC 570 changes due to the influence of noise or the like, and the I 2 CI / O expander 615 that receives the changed data and enters the read mode is generated, the connection line SDA is changed. It will not be released forever.

このような場合に、接続線SDAの信号レベルはLOWに維持されたままになり、マス
タIC570と、本来送信を行うことを意図していた装飾制御装置610のI2CI/O
エクスパンダ615との間で接続線SDAを介した通信が行えなくなる。
In such a case, the signal level of the connection line SDA remains LOW, and the master IC 570 and the I 2 CI / O of the decoration control device 610 that was originally intended to transmit.
Communication with the expander 615 via the connection line SDA cannot be performed.

そこで、マスタIC570は、スタート条件を示す信号を出力する前に、接続線SDA
からデータが出力できる状態であるか否かを判定するために、接続線SDAの信号レベル
がHIGHであるか否かを判定する。
Therefore, the master IC 570 outputs the connection line SDA before outputting a signal indicating the start condition.
In order to determine whether or not data is ready to be output, it is determined whether or not the signal level of the connection line SDA is HIGH.

接続線SDAの信号レベルがHIGHでないと判定された場合、接続線SDAからデー
タが出力できないので、ドライバ576Aによりトランジスタ578Aに動作可能な電圧
を印加しないことによってトランジスタ578Aをオンさせずに(接続線SDAを解放し
た状態で)、接続SCLの信号レベルを少なくとも9回変化させる。
When it is determined that the signal level of the connection line SDA is not HIGH, data cannot be output from the connection line SDA. Therefore, the driver 576A does not apply an operable voltage to the transistor 578A without turning on the transistor 578A (connection line With the SDA released, the signal level of the connection SCL is changed at least nine times.

このような処理を行うことで、読み出しモードとなったI2CI/Oエクスパンダ61
5は、接続SCLの信号レベルの変化に合わせて接続線SDAにデータを出力するが、接
続SCLの信号レベルの変化が少なくとも9回行われる途中において、マスタIC570
からのアクノリッジ信号を確認するタイミングが発生する。このとき、接続線SDAは解
放されているのでHIGHレベルとなり、読み出しモードとなったI2CI/Oエクスパ
ンダ615は、アクノリッジ信号を受信しなかったと判断するので、データ伝送をやめて
接続線SDAを解放することになる。
By performing such processing, the I 2 CI / O expander 61 that has entered the read mode is used.
5 outputs data to the connection line SDA in accordance with the change in the signal level of the connection SCL, but in the middle of the change of the signal level of the connection SCL at least nine times, the master IC 570
The timing for confirming the acknowledge signal from is generated. At this time, since the connection line SDA is released, it becomes HIGH level, and the I 2 CI / O expander 615 that has entered the read mode determines that it has not received an acknowledge signal, so it stops data transmission and disconnects the connection line SDA. Will be released.

なお、この処理は、スタート条件を示す信号を出力する前だけでなく、マスタIC57
0が装飾制御装置610へ実際のデータを出力する前に行われるようにしてもよい。
This process is performed not only before the signal indicating the start condition is output, but also in the master IC 57.
0 may be performed before the actual data is output to the decoration control device 610.

このようにして、読み出しモードとなった装飾制御装置610のI2CI/Oエクスパ
ンダ615から強制的に接続線SDAを解放させるので、接続線SDAの信号レベルはH
IGHに維持されるようになる。
In this way, the connection line SDA is forcibly released from the I 2 CI / O expander 615 of the decoration control device 610 in the read mode, so that the signal level of the connection line SDA is H
It will be maintained at IGH.

図30は、本発明の第1の実施形態の遊技機全体に設けられる装飾制御装置610の接
続形態を示す図であり、特に前面枠3に設けられる装飾制御装置610について説明する
図である。
FIG. 30 is a diagram illustrating a connection form of the decoration control device 610 provided in the entire gaming machine according to the first embodiment of the present invention, and is a diagram illustrating the decoration control device 610 provided in the front frame 3 in particular.

装飾制御装置610は、主に、遊技盤10及び前面枠3に取り付けられている。前面枠
3に取り付けられた装飾制御装置610が制御するLEDは、装飾部材9、照明ユニット
11、及び異常報知LED29を照射するものである。
The decoration control device 610 is mainly attached to the game board 10 and the front frame 3. The LED controlled by the decoration control device 610 attached to the front frame 3 irradiates the decoration member 9, the illumination unit 11, and the abnormality notification LED 29.

遊技機には複数の仕様があり、通常版遊技機1と廉価版遊技機1とがある。通常版遊技
機1は、標準仕様の装飾部材9を備える前面枠3(通常版前面枠)を備えている。廉価版
遊技機1は、標準仕様の装飾部材9よりも廉価なコストで構成された装飾部材9’を備え
る前面枠3(廉価版前面枠)を備えている。
The gaming machine has a plurality of specifications, and there are a normal version gaming machine 1 and a low price gaming machine 1. The normal version gaming machine 1 includes a front frame 3 (normal version front frame) including a decorative member 9 of standard specifications. The low-priced gaming machine 1 includes a front frame 3 (low-priced front frame) including a decorative member 9 ′ configured at a lower cost than a standard decorative member 9.

通常版前面枠3と廉価版前面枠3とは、装飾部材9を照射するために取り付けられる装
飾制御装置610の数が相違する。具体的には、通常版前面枠3の装飾部材9は四つの装
飾制御装置610により照射され、廉価版前面枠3の装飾部材9’は二つの装飾制御装置
610により照射される。装飾部材9は最大60個のLEDによって照射されるのに対し
て、装飾部材9’は最大30個のLEDによって照射されるので、装飾部材9のほうが装
飾部材9’よりも明るくなる。このため、通常版前面枠3が取り付けられた場合の装飾制
御装置610の制御と、廉価版前面枠3が取り付けられた場合の装飾制御装置610の制
御とが異なる。
The number of the decoration control devices 610 attached to irradiate the decorative member 9 is different between the normal plate front frame 3 and the inexpensive plate front frame 3. Specifically, the decoration member 9 of the normal plate front frame 3 is irradiated by four decoration control devices 610, and the decoration member 9 ′ of the inexpensive plate front frame 3 is irradiated by two decoration control devices 610. The decoration member 9 is illuminated by a maximum of 60 LEDs, whereas the decoration member 9 ′ is illuminated by a maximum of 30 LEDs, so that the decoration member 9 is brighter than the decoration member 9 ′. For this reason, the control of the decoration control device 610 when the normal plate front frame 3 is attached is different from the control of the decoration control device 610 when the inexpensive plate front frame 3 is attached.

通常版前面枠3に取り付けられる装飾制御装置610のI2CI/Oエクスパンダ61
5のアドレスと廉価版前面枠3に取り付けられる装飾制御装置610のI2CI/Oエク
スパンダ615の固有アドレスとが同じであると、通常版前面枠3が取り付けられた場合
の制御を行う通常版用の演出制御装置550と、廉価版前面枠3が取り付けられた場合の
制御を行う廉価版用の演出制御装置550と、を用意して、取り付けられる前面枠3に対
応して演出制御装置550を取り換えなければならない。したがって、製造メーカーが遊
技機1を出荷する場合に、通常版用の演出制御装置550と廉価版用の演出制御装置55
0とを用意しなければならず、製造コストが高くなってしまう。
I 2 CI / O expander 61 of the decoration control device 610 attached to the normal front frame 3
If the address of 5 is the same as the unique address of the I 2 CI / O expander 615 of the decoration control device 610 attached to the low-priced front frame 3, normal control is performed when the normal plate front frame 3 is attached. An effect control device 550 for the plate and an effect control device 550 for the cheap version that performs control when the cheap plate front frame 3 is attached are prepared, and the effect control device corresponding to the front frame 3 to be attached 550 must be replaced. Therefore, when the manufacturer ships the gaming machine 1, the effect control device 550 for the normal version and the effect control device 55 for the low-cost version.
0 must be prepared, which increases the manufacturing cost.

このため、本実施形態では、通常版前面枠3と廉価版前面枠3とで制御が異なる装飾制
御装置610のI2CI/Oエクスパンダ615の個別アドレスには、異なるアドレスを
割り当て、一つの演出制御装置550が通常版用の制御と廉価版用の制御とを行えるよう
にした。これによって、通常版用の演出制御装置550と廉価版用の演出制御装置550
とを用意する必要がなくなり、製造コストを削減できる。
For this reason, in this embodiment, different addresses are assigned to the individual addresses of the I 2 CI / O expander 615 of the decoration control device 610 whose control is different between the normal version front frame 3 and the inexpensive version front frame 3. The production control device 550 can perform control for the normal version and control for the inexpensive version. As a result, the production control device 550 for the normal version and the production control device 550 for the low-priced version.
It is no longer necessary to prepare the device and manufacturing costs can be reduced.

具体的には、通常版前面枠3の装飾部材9を照射するLEDに接続される四つの装飾制
御装置610(第1の仕様依存型グループ単位制御手段)のI2CI/Oエクスパンダ6
15の固有アドレスには、「1001」、「1010」、「1100」、及び「1101
」が割り当てられる。
Specifically, the I 2 CI / O expander 6 of the four decoration control devices 610 (first specification-dependent group unit control means) connected to the LEDs that irradiate the decoration member 9 of the normal plate front frame 3.
The 15 unique addresses include “1001”, “1010”, “1100”, and “1101”.
Is assigned.

一方、廉価版前面枠3の装飾部材9’を照射するLEDに接続される二つの装飾制御装
置610のI2CI/Oエクスパンダ615(第2の仕様依存型グループ単位制御手段)
のアドレスには、通常版前面枠3の装飾部材9を照射するLEDに接続される四つの装飾
制御装置610のI2CI/Oエクスパンダ615の固有アドレスと異なる「1110」
及び「1111」が割り当てられる。
On the other hand, the I 2 CI / O expander 615 (second specification-dependent group unit control means) of the two decoration control devices 610 connected to the LEDs that irradiate the decoration member 9 ′ of the inexpensive front frame 3.
Is different from the unique address of the I 2 CI / O expander 615 of the four decoration control devices 610 connected to the LEDs that irradiate the decoration member 9 of the normal plate front frame 3.
And “1111” are assigned.

そして、通常版前面枠3と廉価版前面枠3の何れに使用される場合であっても、演出制
御装置550からは、装飾部材9、9’のI2CI/Oエクスパンダ615に割り当てら
れた固有アドレスである「1001」、「1010」、「1100」、「1101」、「
1110」及び「1111」の全てを含んだ演出制御データが、装飾制御装置610に送
信される。
Then, regardless of whether it is used for the normal version front frame 3 or the cheap version front frame 3, the effect control device 550 assigns it to the I 2 CI / O expander 615 of the decoration members 9, 9 ′. Unique addresses “1001”, “1010”, “1100”, “1101”, “
Production control data including all of “1110” and “1111” is transmitted to the decoration control device 610.

したがって、通常版用の制御と廉価版用の制御とを行えるようにした一つの演出制御装
置550で通常版前面枠3の装飾制御装置610と廉価版用の装飾制御装置610とを制
御できるので、製造コストを削減できる。
Therefore, the decoration control device 610 of the normal plate front frame 3 and the decoration control device 610 for the low cost version can be controlled by one production control device 550 that can perform the control for the normal version and the control for the low cost version. Manufacturing cost can be reduced.

また、通常版前面枠3と廉価版前面枠3とで同じ制御をする照明ユニット11及び異常
報知LED29を照射するLEDに接続された装飾制御装置610のI2CI/Oエクス
パンダ615には、通常版前面枠3と廉価版前面枠3とで異なるアドレスにする必要はな
く、同じアドレスが割り当てられる。
In addition, the I 2 CI / O expander 615 of the decoration control device 610 connected to the illumination unit 11 that performs the same control in the normal version front frame 3 and the inexpensive version front frame 3 and the LED that emits the abnormality notification LED 29 includes: It is not necessary to use different addresses for the normal version front frame 3 and the low cost version front frame 3, and the same address is assigned.

なお、廉価版前面枠3では、固有アドレスが「1001」、「1010」、「1100
」、「1101」となるI2CI/Oエクスパンダ615は使用されず、通常版前面枠3
では、固有アドレスが「1110」、「1111」となるI2CI/Oエクスパンダ61
5は使用されない。そのため、何れの仕様の前面枠3であっても、異常判定テーブル21
00(図21)において、接続されないI2CI/Oエクスパンダ615が存在すること
になるが、前述したように、異常判定テーブル2100に登録されているI2CI/Oエ
クスパンダ615の一つと、マスタIC570との間でデータ送受信が行われれば、正常
な状態として処理されるので問題はない。
In the low-priced front frame 3, the unique addresses are “1001”, “1010”, “1100
”And“ 1101 ”, the I 2 CI / O expander 615 is not used, and the normal version front frame 3
Then, the I 2 CI / O expander 61 whose unique addresses are “1110” and “1111”.
5 is not used. Therefore, the abnormality determination table 21 is used for the front frame 3 of any specification.
00 (FIG. 21), there is an unconnected I 2 CI / O expander 615. As described above, one of the I 2 CI / O expanders 615 registered in the abnormality determination table 2100 If data transmission / reception is performed with the master IC 570, it is processed as a normal state, so there is no problem.

(第2実施形態)
本発明の第2実施形態を図31〜図36を用いて説明する。
(Second Embodiment)
A second embodiment of the present invention will be described with reference to FIGS.

本発明の第2実施形態は、演出制御装置550が複数のマスタIC570を備える場合
の実施形態である。
The second embodiment of the present invention is an embodiment in the case where the effect control device 550 includes a plurality of master ICs 570.

図31は、本発明の第2実施形態の演出制御装置550と装飾制御装置610との接続
の説明図である。
FIG. 31 is an explanatory diagram of the connection between the effect control device 550 and the decoration control device 610 according to the second embodiment of the present invention.

第2の実施形態では、演出制御装置550は複数のマスタIC570を備えた構成とな
っている。
In the second embodiment, the effect control device 550 includes a plurality of master ICs 570.

図31では、演出制御装置550は、三つのマスタIC570A〜570Cを備える。   In FIG. 31, the production control device 550 includes three master ICs 570A to 570C.

マスタIC570Aは、中継基板600Aと接続され、中継基板600Aは、装飾制御
装置610A〜610Cと直列に接続されるとともに、装飾制御装置610D〜610F
と直列に接続される。
The master IC 570A is connected to the relay board 600A, and the relay board 600A is connected in series with the decoration control devices 610A to 610C and the decoration control devices 610D to 610F.
Connected in series.

マスタIC570Bは、中継基板600Bと接続され、中継基板600Bは、装飾制御
装置610G〜610Iと直列に接続されるとともに、装飾制御装置610J〜610L
と直列に接続される。
The master IC 570B is connected to the relay board 600B, and the relay board 600B is connected in series with the decoration control devices 610G to 610I and the decoration control devices 610J to 610L.
Connected in series.

マスタIC570Cは、中継基板600Cと接続され、中継基板600Cは、装飾制御
装置610M〜610Oと直列に接続されるとともに、役物駆動SOL560及び役物駆
動MOT561に接続される装飾制御装置610Pに直列に接続される。
The master IC 570C is connected to the relay board 600C. The relay board 600C is connected in series to the decoration control devices 610M to 610O, and is connected in series to the decoration control device 610P connected to the accessory driving SOL560 and the accessory driving MOT561. Connected.

ここで、一つのマスタIC570に接続されている装飾制御装置610群を系統という
。系統とは、具体的には、マスタIC570Aであれば、中継基板600A、装飾制御装
置610A〜610Fである。
Here, the decoration control device 610 group connected to one master IC 570 is referred to as a system. Specifically, in the case of the master IC 570A, the system is the relay board 600A and the decoration control devices 610A to 610F.

マスタIC570は、接続されている装飾制御装置610にデータを出力可能であるた
め、マスタIC570は、接続されている装飾制御装置610を制御可能である。
Since the master IC 570 can output data to the connected decoration control device 610, the master IC 570 can control the connected decoration control device 610.

このような構成により、1個のマスタIC570で制御できるI2CI/Oエクスパン
ダ615の数の制限(図12に示すように14個を上限とする)がなくなり、多彩な演出
制御を可能とすることが期待できる。
With such a configuration, the number of I 2 CI / O expanders 615 that can be controlled by one master IC 570 is eliminated (up to 14 as shown in FIG. 12), and a variety of presentation control is possible. Can be expected to do.

本実施形態でも、異常判定テーブル2100(図32参照)に登録されたI2CI/O
エクスパンダ615のうちの一つのI2CI/Oエクスパンダ615とマスタIC570
との間でデータ送受信が行われれば、正常な状態として処理が行われるが、異常の判定、
並びに、I2CI/Oエクスパンダ615及びマスタIC570の初期化の処理を、各系
統毎に独立して行う点が第1の実施形態とは異なっている。
Also in this embodiment, the I 2 CI / O registered in the abnormality determination table 2100 (see FIG. 32).
One I 2 CI / O expander 615 of the expander 615 and the master IC 570
If data is sent to and received from, the process is performed in a normal state.
In addition, the first embodiment is different from the first embodiment in that initialization processing of the I 2 CI / O expander 615 and the master IC 570 is performed independently for each system.

本実施形態では、図32に示すように、異常判定テーブル2100が各系統毎に用意さ
れている。換言すると、各マスタIC570に対応する異常判定テーブル2100が演出
制御装置550のRAM553に記憶されている。
In the present embodiment, as shown in FIG. 32, an abnormality determination table 2100 is prepared for each system. In other words, the abnormality determination table 2100 corresponding to each master IC 570 is stored in the RAM 553 of the effect control device 550.

これらの異常判定テーブル2100について具体的に説明する。図32は、本発明の第
2実施形態の異常判定テーブル2100の説明図である。
The abnormality determination table 2100 will be specifically described. FIG. 32 is an explanatory diagram of the abnormality determination table 2100 according to the second embodiment of this invention.

マスタIC570Aと装飾制御装置610A〜610Fとの間で行われるデータ送受信
の異常を装飾制御装置毎に判定する第1異常判定テーブル2100Aと、マスタIC57
0Bと装飾制御装置610G〜610Lとの間で行われるデータ送受信の異常を装飾制御
装置毎に判定する第2異常判定テーブル2100Bと、マスタIC570Cと装飾制御装
置610M〜610Oとの間で行われるデータ送受信の異常を装飾制御装置毎に判定する
第3異常判定テーブル2100Cの3種類のテーブルが存在する。
A first abnormality determination table 2100A for determining an abnormality in data transmission / reception performed between the master IC 570A and the decoration control devices 610A to 610F for each decoration control device, and a master IC 57
A second abnormality determination table 2100B for determining an abnormality in data transmission / reception performed between 0B and the decoration control devices 610G to 610L for each decoration control device, and data performed between the master IC 570C and the decoration control devices 610M to 610O. There are three types of tables, a third abnormality determination table 2100C for determining transmission / reception abnormality for each decoration control device.

なお、マスタIC570と可動制御装置(装飾制御装置610P)とのデータ送受信の
異常は、第3異常判定テーブル2100Cに登録されない。マスタIC570と可動制御
装置とのデータ送信の異常は、図29の処理が正常終了か異常終了したかによって判定さ
れ、異常終了と判定された場合には、図28の処理で役物駆動MOT561及び役物駆動
SOL560を初期化するからである。
An abnormality in data transmission / reception between the master IC 570 and the movable control device (decoration control device 610P) is not registered in the third abnormality determination table 2100C. The abnormality in data transmission between the master IC 570 and the movable control device is determined based on whether the process in FIG. 29 is completed normally or abnormally. If it is determined that the process ends abnormally, in the process in FIG. This is because the accessory driving SOL 560 is initialized.

そして、何れかの異常判定テーブルにて、すべてのI2CI/Oエクスパンダ615に
関してデータ送受信異常が発生したと判定された場合には、当該異常判定テーブルに属す
るすべての装飾制御装置610を初期化し、あわせて対応するマスタIC570も初期化
する。但し、他の異常判定テーブルに属する装飾制御装置610やマスタIC570は初
期化しない。
If any abnormality determination table determines that a data transmission / reception abnormality has occurred with respect to all the I 2 CI / O expanders 615, all the decoration control devices 610 belonging to the abnormality determination table are initialized. At the same time, the corresponding master IC 570 is also initialized. However, the decoration control device 610 and the master IC 570 belonging to other abnormality determination tables are not initialized.

例えば、前述した第1の異常判定テーブルにて、全てのI2CI/Oエクスパンダ61
5に関してデータ送受信異常が発生したと判定された場合には、マスタIC570A及び
装飾制御装置610A〜610Fのみを初期化し、他の、マスタIC570B、570C
、及び装飾制御装置610G〜610Pは初期化しない。
For example, in the first abnormality determination table described above, all the I 2 CI / O expanders 61
5, when it is determined that a data transmission / reception abnormality has occurred, only the master IC 570A and the decoration control devices 610A to 610F are initialized, and the other master ICs 570B, 570C are initialized.
The decoration control devices 610G to 610P are not initialized.

このため、データ送信異常が発生したマスタIC570及びデータ送信異常が発生した
マスタIC570に接続される装飾制御装置610が初期化中であっても、異常が発生し
ていないマスタIC570と装飾制御装置610との間で、装飾制御データが送受信でき
るので、遊技の途中で装飾装置620による演出が突然一時停止してしまうことを防止で
きる。
For this reason, even if the master IC 570 in which the data transmission abnormality has occurred and the decoration control device 610 connected to the master IC 570 in which the data transmission abnormality has occurred are being initialized, the master IC 570 and the decoration control device 610 in which no abnormality has occurred. Since the decoration control data can be transmitted / received between the two, the effect by the decoration device 620 can be prevented from being suddenly stopped during the game.

なお、各マスタIC570A〜570Cを初期化する方法として、ソフトリセットとハ
ードリセットとがある。
As a method for initializing the master ICs 570A to 570C, there are a soft reset and a hard reset.

ソフトリセットでは、CPU551によって各マスタIC570A〜570Cのうちの
一つが初期化される。
In the soft reset, the CPU 551 initializes one of the master ICs 570A to 570C.

具体的には、各マスタIC570A〜570Cには、各々リセットREG573(図4
参照)を備えている。CPU551がバス563を介してこのリセットレジスタに特定値
(初期化指示データ)を書き込むと、特定値を書き込まれたリセットREG573を備え
るマスタIC570だけが初期化される。
Specifically, each of the master ICs 570A to 570C has a reset REG 573 (FIG. 4).
See). When the CPU 551 writes a specific value (initialization instruction data) to the reset register via the bus 563, only the master IC 570 including the reset REG 573 written with the specific value is initialized.

ハードリセットでは、入出力I/F558及び電源投入検出回路559に接続されるN
ORゲート回路590に各マスタIC570A〜570CのRESET端子が接続されて
おり、NORゲート回路590に印加される電圧が所定時間ローに保持されると、RES
ET端子に印加される電圧も所定時間ローに保持され、全てのマスタIC570A〜57
0Cが初期化される。
In the hard reset, N connected to the input / output I / F 558 and the power-on detection circuit 559
When the RESET terminal of each of the master ICs 570A to 570C is connected to the OR gate circuit 590, and the voltage applied to the NOR gate circuit 590 is held low for a predetermined time, the RES
The voltage applied to the ET terminal is also held low for a predetermined time, and all the master ICs 570A-57
0C is initialized.

NORゲート回路590は、すべてのマスタIC570のRESET端子に接続されて
おり、NORゲート回路590に印加される電圧が所定時間ローに保持されると、すべて
のマスタIC570のRESET端子に印加される電圧も所定時間ローになり、すべての
マスタIC570に初期化信号として取り込まれる。
The NOR gate circuit 590 is connected to the RESET terminal of all the master ICs 570. When the voltage applied to the NOR gate circuit 590 is held low for a predetermined time, the voltage applied to the RESET terminals of all the master ICs 570. Also goes low for a predetermined time and is taken as an initialization signal by all the master ICs 570.

なお、NORゲート回路590とマスタIC570のRESET端子とを接続する線は
、バス563とは別個の線である。
Note that a line connecting the NOR gate circuit 590 and the RESET terminal of the master IC 570 is a separate line from the bus 563.

本実施形態では、電源投入時には、ハードリセットによって、全てのマスタIC570
A〜570Cを初期化し、合せて対応する装飾制御装置610を初期化する。そして、何
れかの異常判定テーブルにて、全てのI2CI/Oエクスパンダ615に関してデータ送
受信異常が発生したと判定された場合には、当該異常判定テーブルに属するマスタICの
みをソフトリセットにより初期化し、合わせて対応する装飾制御装置610を初期化する
が、他のマスタICや装飾制御装置610はリセットしない。
In the present embodiment, all the master ICs 570 are reset by hardware reset when the power is turned on.
A to 570C are initialized, and the corresponding decoration control device 610 is initialized. If any abnormality determination table determines that a data transmission / reception abnormality has occurred with respect to all the I 2 CI / O expanders 615, only the master IC belonging to the abnormality determination table is initialized by a soft reset. At the same time, the corresponding decoration control device 610 is initialized, but the other master IC and decoration control device 610 are not reset.

このように、演出制御装置550に複数のマスタIC570が備わる場合に、異常が発
生したマスタICのみに対してリセットを行うので、遊技機1全体の装飾が一時停止する
ことなく、遊技者に違和感を与えることを抑制できる。また、すべてのマスタIC570
を同時に高速にリセットしたい場合には、ハードリセットによりリセットが行えるので、
様々な態様のリセット処理を実施することができる。
As described above, when the production control device 550 includes a plurality of master ICs 570, only the master IC in which an abnormality has occurred is reset, so that the decoration of the entire gaming machine 1 does not pause and the player feels uncomfortable. Can be suppressed. All master ICs 570
If you want to reset at a high speed at the same time, you can reset by hard reset,
Various forms of reset processing can be implemented.

第2実施形態では、第1実施形態と同じ処理を実行するが、第1実施形態と異なる処理
のみ、図33及び図34で詳細を説明する。
In the second embodiment, the same processing as that of the first embodiment is executed, but only the processing different from that of the first embodiment will be described in detail with reference to FIGS. 33 and 34.

図33は、本発明の第2実施形態のI2C初期リセット処理のフローチャートである。
図33では、図23に示すI2C初期リセット処理と同じ処理は同じ符号を付与し、説明
を省略する。
FIG. 33 is a flowchart of the I 2 C initial reset process according to the second embodiment of this invention.
In FIG. 33, the same process as the I 2 C initial reset process shown in FIG.

2C初期リセット処理は電源投入時に実行される処理であり、第2実施形態のI2C初
期リセット処理では、各マスタIC570に接続される装飾制御装置610に初期化指示
データを送信する。
I 2 C initial reset process is a process executed when the power is turned, in I 2 C initial reset process of the second embodiment transmits an initialization instruction data to the decoration control device 610 which is connected to each master IC570.

具体的には、ステップ2302の処理ですべてのマスタIC570がハードリセットさ
れた後、CPU551は、第1のマスタIC570Aを選択して(3301)、ステップ
3301の処理で選択されたマスタIC570Aに接続される装飾制御装置610A〜6
10Fに初期化指示データを送信するスレーブリセット処理を実行し(2303)、マス
タIC570Aに接続される装飾制御装置610A〜610Fを初期化する。
Specifically, after all the master ICs 570 are hard reset in the process of step 2302, the CPU 551 selects the first master IC 570A (3301) and is connected to the master IC 570A selected in the process of step 3301. Decoration control devices 610A-6
Slave reset processing for transmitting initialization instruction data to 10F is executed (2303), and the decoration control devices 610A to 610F connected to the master IC 570A are initialized.

そして、CPU551は、第2のマスタIC570Bを選択して(3302)、ステッ
プ3302の処理で選択されたマスタIC570Bに接続される装飾制御装置610G〜
610Lに初期化指示データを送信するスレーブリセット処理を実行し(2303)、マ
スタIC570Bに接続される装飾制御装置610G〜610Lを初期化する。
Then, the CPU 551 selects the second master IC 570B (3302), and the decoration control devices 610G to 610G connected to the master IC 570B selected in the process of step 3302 are displayed.
Slave reset processing for transmitting initialization instruction data to 610L is executed (2303), and the decoration control devices 610G to 610L connected to the master IC 570B are initialized.

そして、CPU551は、第3のマスタIC570Cを選択して(3303)、ステッ
プ3303の処理で選択されたマスタIC570Cに接続される装飾制御装置610M〜
610Pに初期化指示データを送信するスレーブリセット処理を実行し(2303)、マ
スタIC570Cに接続される装飾制御装置610M〜610Pを初期化する。
Then, the CPU 551 selects the third master IC 570C (3303), and the decoration control device 610M to be connected to the master IC 570C selected in the process of step 3303.
Slave reset processing for transmitting initialization instruction data to 610P is executed (2303), and the decoration control devices 610M to 610P connected to the master IC 570C are initialized.

図34は、本発明の第2実施形態のI2C随時リセット処理のフローチャートである。
図34では、図27に示すI2C随時リセット処理と同じ処理は同じ符号を付与し、説明
を省略する。
FIG. 34 is a flowchart of the I 2 C optional reset process according to the second embodiment of this invention.
In FIG. 34, the same processes as the I 2 C occasional reset process shown in FIG.

ステップ2701の処理でリセット要求フラグが設定されていると判定された場合、又
は、ステップ2703の処理でリセット条件が成立していると判定された場合、CPU5
51は、リセット条件が成立したマスタIC570を選択し(3401)、ステップ34
01の処理でマスタIC570に備わるリセットREG573に所定の値を書き込み、当
該マスタIC570をソフトリセットする(3402)。
If it is determined in step 2701 that the reset request flag is set, or if it is determined in step 2703 that the reset condition is satisfied, the CPU 5
51 selects the master IC 570 for which the reset condition is satisfied (3401).
In the process 01, a predetermined value is written in the reset REG 573 provided in the master IC 570, and the master IC 570 is soft reset (3402).

そして、CPU551は、ステップ3401の処理で選択されたマスタIC570に接
続されるすべての装飾制御装置610に初期化指示データを送信するスレーブリセット処
理を実行する(2706)。
Then, the CPU 551 executes slave reset processing for transmitting initialization instruction data to all the decoration control devices 610 connected to the master IC 570 selected in step 3401 (2706).

次に、CPU551は、リセット条件が成立したマスタIC570が可動制御装置に接
続されたマスタIC570(図31ではマスタIC570C)であるか否かを判定する(
3403)。
Next, the CPU 551 determines whether or not the master IC 570 in which the reset condition is satisfied is the master IC 570 (master IC 570C in FIG. 31) connected to the movable control device (
3403).

ステップ3403の処理で、リセット条件が成立したマスタIC570が可動制御装置
に接続されたマスタIC570であると判定された場合、可動制御装置が制御する役物駆
動MOT561及び役物駆動SOL560を初期位置に戻す初期化処理を実行するので、
ステップ2707の処理に進む。
If it is determined in step 3403 that the master IC 570 for which the reset condition is satisfied is the master IC 570 connected to the movable control device, the accessory driving MOT 561 and the accessory driving SOL 560 controlled by the movable control device are set to the initial positions. Since the initialization process to return is executed,
Proceed to step 2707.

一方、ステップ3403の処理で、リセット条件が成立したマスタIC570が可動制
御装置に接続されたマスタIC570でないと判定された場合、ステップ2710の処理
に進む。
On the other hand, if it is determined in step 3403 that the master IC 570 for which the reset condition is satisfied is not the master IC 570 connected to the movable control device, the process proceeds to step 2710.

このように、本実施形態では、異常が検出されたマスタIC570のみをソフトリセッ
トするので、異常が検出されていないマスタIC570を初期化しなくてもよいので、遊
技中に出力が一時停止する装飾装置の数を最小限に抑えることができ、遊技者に与える違
和感を減少させることができる。
Thus, in this embodiment, since only the master IC 570 in which an abnormality is detected is soft reset, it is not necessary to initialize the master IC 570 in which no abnormality is detected, so that the decoration device whose output is temporarily stopped during the game The number of players can be minimized, and the uncomfortable feeling given to the player can be reduced.

また、ハードリセット又はソフトリセットによってマスタIC570が初期化されると
、初期化されるマスタIC570に接続されるすべての装飾制御装置610も初期化され
るので、確実に異常を解消できる。
Further, when the master IC 570 is initialized by a hard reset or a software reset, all the decoration control devices 610 connected to the master IC 570 to be initialized are also initialized, so that the abnormality can be reliably eliminated.

図35は、本発明の第2実施形態の電源投入によるマスタIC570の初期化前後のタ
イミングチャートである。
FIG. 35 is a timing chart before and after initialization of the master IC 570 upon power-on according to the second embodiment of the present invention.

遊技機1に電源が投入されると、CPU551は、図22の処理を実行して、ステップ
220の処理で、図33に示すI2C初期リセット処理を実行する。図33に示すステッ
プ2302の処理で、演出制御装置550に備わるすべてのマスタIC570のRESE
T端子に印加される所定時間ローに保持され、演出制御装置550に備わるすべてのマス
タIC570はハードリセットされる。
When the gaming machine 1 is powered on, the CPU 551 executes the process of FIG. 22 and executes the I 2 C initial reset process shown in FIG. In the process of Step 2302 shown in FIG. 33, all the master ICs 570 provided in the effect control device 550 have the RSE.
All the master ICs 570 provided in the effect control device 550 are held low for a predetermined time applied to the T terminal, and are hard reset.

そして、ステップ3301の処理で第1マスタIC570Aが選択されて、第1マスタ
IC570Aに接続されるすべてのI2CI/Oエクスパンダ615に初期化指示データ
が送信される。
In step 3301, the first master IC 570A is selected, and initialization instruction data is transmitted to all the I 2 CI / O expanders 615 connected to the first master IC 570A.

次に、ステップ3302の処理で第2マスタIC570Bが選択されて、第2マスタI
C570Bに接続されるすべてのI2CI/Oエクスパンダ615に初期化指示データが
送信される。
Next, the second master IC 570B is selected in the process of step 3302, and the second master I
The initialization instruction data is transmitted to all the I 2 CI / O expanders 615 connected to C570B.

次に、ステップ3303の処理で第3マスタIC570Cが選択されて、第3マスタI
C570Cに接続されるすべてのI2CI/Oエクスパンダ615に初期化指示データが
送信される。
Next, the third master IC 570C is selected in the process of step 3303, and the third master I
Initialization instruction data is transmitted to all the I 2 CI / O expanders 615 connected to C570C.

そして、可動制御装置(装飾制御装置610P)が第3マスタIC570からの初期化
指示データを受信すると、役物駆動MOT561の回転軸を初期位置に戻すモータ初期化
動作を行うので、図33に示すステップ2305の処理でモータ初期化フラグが設定され
て、ステップ2306の処理で初期化時のモータの出力データが出力されると、役物駆動
MOT561の回転軸を初期位置に戻すモータ初期化動作が実行される。
When the movable control device (decoration control device 610P) receives the initialization instruction data from the third master IC 570, the motor initialization operation for returning the rotation axis of the accessory driving MOT 561 to the initial position is performed, which is shown in FIG. When the motor initialization flag is set in the process of step 2305 and the output data of the motor at the time of initialization is output in the process of step 2306, the motor initialization operation for returning the rotating shaft of the accessory driving MOT 561 to the initial position is performed. Executed.

そして、図33に示すI2C初期リセット処理が終了すると、図22に示すステップ2
203の処理で、タイマ割込が許可される。以降、図22に示すVDP割込がCPU55
1に入力されるたびに、図22に示すステップ2204〜2210の処理を繰り返し実行
し、タイマ割込が2ms周期でCPU551に入力されると、図28に示すタイマ割込処
理を実行される。
When the I 2 C initial reset process shown in FIG. 33 is completed, step 2 shown in FIG.
In the process 203, timer interruption is permitted. Thereafter, the VDP interrupt shown in FIG.
Each time 1 is input, the processing of steps 2204 to 2210 shown in FIG. 22 is repeatedly executed. When a timer interrupt is input to the CPU 551 in a cycle of 2 ms, the timer interrupt processing shown in FIG. 28 is executed.

モータ初期化動作中であっても、図22に示すステップ2206の処理が実行されて、
発光制御装置のみが接続されているマスタIC570A、570Bは、発光制御データを
発光制御装置に送信する。これにより、マスタIC570A、570Bに接続される発光
制御装置では、通常の装飾演出の制御が行われる。
Even during the motor initialization operation, the process of step 2206 shown in FIG.
Master ICs 570A and 570B, to which only the light emission control device is connected, transmit light emission control data to the light emission control device. Thereby, in the light emission control device connected to the master ICs 570A and 570B, normal decoration effect control is performed.

一方、2ms周期で実行される図28に示すタイマ割込処理では、モータ初期化動作中
である場合には、ステップ2810の処理で役物駆動MOT561の回転軸が初期位置に
戻されたことを検出するまで、モータ初期化動作が実行される。このモータ初期化動作中
の間は、マスタIC570Cに接続される発光制御装置では、通常の装飾演出を行なわず
に待機している。この待機期間中は、マスタIC570Cから発光制御装置に発光制御デ
ータを送信しないようになっており、マスタIC570Cに接続される発光制御装置に接
続された発光装置では、発光が開始されない。
On the other hand, in the timer interruption process shown in FIG. 28 executed at a cycle of 2 ms, if the motor initialization operation is being performed, it is confirmed that the rotation axis of the accessory driving MOT 561 has been returned to the initial position in the process of step 2810. The motor initialization operation is executed until detection. During the motor initialization operation, the light emission control device connected to the master IC 570C stands by without performing a normal decoration effect. During this standby period, the light emission control data is not transmitted from the master IC 570C to the light emission control device, and the light emission device connected to the light emission control device connected to the master IC 570C does not start light emission.

なお、ステップ2810の処理で役物駆動MOT561の回転軸が初期位置に戻された
ことが検出されて、モータ初期化動作が終了すると、図28に示すステップ2814の処
理で通常時のモータ出力データが送信されるので、役物駆動MOT561による装飾演出
動作が可能となる。このとき、マスタIC570Cに接続される発光制御装置でも、通常
の装飾演出の制御が開始される。
When it is detected in step 2810 that the rotation shaft of the accessory driving MOT 561 has been returned to the initial position and the motor initialization operation is completed, the normal motor output data is obtained in step 2814 shown in FIG. Is transmitted, the decoration effect operation by the accessory driving MOT 561 becomes possible. At this time, normal decoration effect control is also started in the light emission control device connected to the master IC 570C.

以上のように、電源投入により役物駆動MOT561が初期化動作中であっても、初期
化動作中である役物駆動MOT561を制御する可動制御装置に接続されたマスタIC5
70以外のマスタIC570は、装飾制御装置610へ通常の演出制御を行うための装飾
制御データを送信するので、電源投入直後から発光装置が装飾表示を開始するので、電源
投入から発光装置が点灯するまでの時間を短縮でき、電源投入直後の発光装置の確認作業
にかかる時間を短縮できる。
As described above, even if the accessory driving MOT 561 is in the initialization operation by turning on the power, the master IC 5 connected to the movable control device that controls the accessory driving MOT 561 in the initialization operation.
Master ICs 570 other than 70 transmit decoration control data for performing normal presentation control to the decoration control device 610. Therefore, the light emitting device starts decoration display immediately after the power is turned on, so that the light emitting device is turned on after the power is turned on. The time required for checking the light emitting device immediately after power-on can be shortened.

これに対し、初期化動作中である役物駆動MOT561を制御する可動制御装置に接続
されたマスタIC570では、役物駆動MOT561が初期化動作中に、再度マスタIC
570が初期化される可能性があるので、この再度マスタIC570を介して発光制御す
る発光装置の発光を待機させ、異常な点灯を行わないように制御している。
On the other hand, in the master IC 570 connected to the movable control device that controls the accessory driving MOT 561 during the initialization operation, the master IC 570 again during the initialization operation.
Since there is a possibility that 570 may be initialized, the light emission of the light emitting device that performs light emission control again is made to stand by via the master IC 570 so that abnormal lighting is not performed.

図36は、本発明の第2実施形態の異常が発生したマスタIC570の初期化前後のタ
イミングチャートである。
FIG. 36 is a timing chart before and after initialization of the master IC 570 in which an abnormality has occurred according to the second embodiment of the present invention.

図36では、可動制御装置に接続される第3マスタIC570Cにリセット条件が成立
した場合、つまり、第3マスタIC570Cに異常が検出された場合について説明する。
FIG. 36 illustrates a case where a reset condition is established in the third master IC 570C connected to the movable control device, that is, a case where an abnormality is detected in the third master IC 570C.

第3マスタIC570に異常が検出されると、図34に示すステップ3401の処理で
第3マスタIC570が選択されて、ステップ3402の処理で第3マスタIC570が
ソフトリセットされる。
When an abnormality is detected in the third master IC 570, the third master IC 570 is selected in the process of step 3401 shown in FIG. 34, and the third master IC 570 is soft reset in the process of step 3402.

そして、図34に示すステップ2706の処理で、第3マスタIC570に接続される
すべての装飾装置620に初期化指示データが送信される。そして、可動制御のマスタI
C570Cで異常が検出されたので、ステップ2707の処理でモータ初期化フラグが設
定され、ステップ2708の処理で、初期化時のモータ出力データが出力される。
In step 2706 shown in FIG. 34, initialization instruction data is transmitted to all the decoration devices 620 connected to the third master IC 570. And master I of movable control
Since an abnormality is detected in C570C, a motor initialization flag is set in step 2707, and motor output data at the time of initialization is output in step 2708.

なお、モータ初期化動作中であっても、図22に示すステップ2206の処理が実行さ
れて、発光制御装置のみが接続されているマスタIC570A、570Bは、発光制御デ
ータを発光制御装置に送信する。これにより、マスタIC570A、570Bに接続され
る発光制御装置では、通常の装飾演出の制御が継続して行われる。
Even during the motor initialization operation, the processing of step 2206 shown in FIG. 22 is executed, and master ICs 570A and 570B to which only the light emission control device is connected transmit the light emission control data to the light emission control device. . Thereby, in the light emission control device connected to the master ICs 570A and 570B, normal decoration effect control is continuously performed.

一方、2ms周期で実行される図28に示すタイマ割込処理では、モータ初期化動作中
である場合には、ステップ2810の処理で役物駆動MOT561の回転軸が初期位置に
戻されたことを検出するまで、モータ初期化動作が実行される。
On the other hand, in the timer interruption process shown in FIG. 28 executed at a cycle of 2 ms, if the motor initialization operation is being performed, it is confirmed that the rotation axis of the accessory driving MOT 561 has been returned to the initial position in the process of step 2810. The motor initialization operation is executed until detection.

このモータ初期化動作中の間は、マスタIC570Cに接続される発光制御装置では、
通常の装飾演出を行なわずに待機している。この待機期間中は、マスタIC570Cから
発光制御装置に発光制御データを送信しないようになっており、マスタIC570Cに接
続される発光制御装置に接続された発光装置では、発光が開始されない。
During the motor initialization operation, in the light emission control device connected to the master IC 570C,
Waiting without performing normal decoration effects. During this standby period, the light emission control data is not transmitted from the master IC 570C to the light emission control device, and the light emission device connected to the light emission control device connected to the master IC 570C does not start light emission.

なお、ステップ2810の処理で役物駆動MOT561の回転軸が初期位置に戻された
ことが検出されて、モータ初期化動作が終了すると、図28に示すステップ2814の処
理で通常時のモータ出力データが送信されるので、役物駆動MOT561による装飾演出
動作が可能となる。このとき、マスタIC570Cに接続される発光制御装置でも、通常
の装飾演出の制御が開始される。
When it is detected in step 2810 that the rotation shaft of the accessory driving MOT 561 has been returned to the initial position and the motor initialization operation is completed, the normal motor output data is obtained in step 2814 shown in FIG. Is transmitted, the decoration effect operation by the accessory driving MOT 561 becomes possible. At this time, normal decoration effect control is also started in the light emission control device connected to the master IC 570C.

以上のように、異常が発生したことにより役物駆動MOT561が初期化動作中であっ
ても、初期化動作中である役物駆動MOT561を制御する可動制御装置に接続されたマ
スタIC570以外のマスタIC570は、装飾制御装置610へ通常の演出制御を行う
ための装飾制御データを継続して送信するので、頻繁に役物駆動MOT561が初期化動
作されても、遊技機1の盤面が暗くなることを防止できる。
As described above, a master other than the master IC 570 connected to the movable control device that controls the accessory driving MOT 561 during the initialization operation even if the accessory driving MOT 561 is in the initialization operation due to the occurrence of an abnormality. Since the IC 570 continuously transmits decoration control data for performing normal presentation control to the decoration control device 610, the board surface of the gaming machine 1 becomes dark even if the accessory driving MOT 561 is frequently initialized. Can be prevented.

なお、本明細書に開示されている実施の形態は、パチンコ機のみならずパチスロ機等の
他の遊技機でも適用可能であることは当然意図されるものである。
It should be noted that the embodiments disclosed in the present specification are naturally intended to be applicable not only to pachinko machines but also to other gaming machines such as pachislot machines.

また、実施の形態として、変動表示ゲームの結果に対応して特別遊技状態を発生するパ
チンコ機が開示されているが、変動表示ゲームに限らず、他の補助遊技の結果に対応して
特別遊技状態を発生する遊技機であっても構わないことは当然意図されるものである。
Also, as an embodiment, a pachinko machine that generates a special game state corresponding to the result of the variable display game is disclosed, but not limited to the variable display game, the special game corresponding to the result of other auxiliary games Of course, it may be a gaming machine that generates a state.

例えば、所定条件の成立によって特定の入賞装置の入口が開口し(特定入賞装置の可動
部材が作動して入口が開口し)、入賞装置内部へ取り込まれた遊技球が、入賞装置内部に
設けられた何れの入賞領域(特定入賞領域と一般入賞領域とがある)に入賞するかを抽選
する遊技を補助遊技としてもよい。この場合、入賞装置内部へ取り込まれた遊技球が特定
入賞領域に入賞することで、特別遊技状態が発生することになる。
For example, when a predetermined condition is satisfied, an entrance of a specific winning device is opened (the movable member of the specified winning device is actuated to open the entrance), and a game ball taken into the winning device is provided inside the winning device. A game in which lottery is selected for which winning area (there is a specific winning area or a general winning area) may be used as an auxiliary game. In this case, a special game state occurs when the game ball taken into the winning device wins a specific winning area.

また、実施の形態として、特図変動表示ゲームの結果に対応して特別遊技状態を発生す
るパチンコ機が開示されているが、普図変動表示ゲームの結果に対応して(或いは、普図
変動表示ゲームの結果に起因して)、特別遊技状態を発生する様なパチンコ機であっても
、本発明が適用可能であることは当然意図されるものである。例えば、普図変動表示ゲー
ムの結果により特定の入賞装置の入口が開口し、入賞装置内部へ取り込まれた遊技球が特
定入賞領域へ入賞した場合に特別遊技状態を発生するパチンコ機であっても、本発明は適
用可能である。
In addition, as an embodiment, a pachinko machine that generates a special game state corresponding to the result of the special figure variation display game is disclosed, but in response to the result of the general figure variation display game (or It is naturally intended that the present invention can be applied even to a pachinko machine that generates a special gaming state (due to the result of the display game). For example, even a pachinko machine that generates a special game state when the entrance of a specific winning device is opened according to the result of the normal game display game and a game ball taken into the winning device wins a specific winning area. The present invention is applicable.

また、実施の形態として、遊技制御装置と演出制御装置とが分離されている構成が開示
されているが、遊技制御装置と演出制御装置とが一体となって一つの制御装置を構成して
いても差し支えないものであり、或いは、遊技制御装置自身がグループ統括制御手段とし
て構成されていても差し支えないことは当然意図されることである。
Further, as an embodiment, a configuration in which the game control device and the effect control device are separated is disclosed, but the game control device and the effect control device constitute a single control device. Of course, it is intended that the game control device itself may be configured as a group overall control means.

なお、今回開示した実施の形態は、全ての点で例示であって制限的なものではない。ま
た、本発明の範囲は前述した発明の説明ではなくて特許請求の範囲によって示され、特許
請求の範囲と均等の意味及び内容の範囲での全ての変更が含まれることが意図される。
The embodiment disclosed this time is illustrative in all points and is not restrictive. The scope of the present invention is shown not by the above description of the invention but by the scope of claims, and is intended to include all modifications within the scope and meaning equivalent to the scope of claims.

以上のように、本発明は、演出制御装置が装飾制御装置を制御する遊技機に適用可能で
ある。
As described above, the present invention can be applied to a gaming machine in which an effect control device controls a decoration control device.

1 遊技機
2 本体枠(外枠)
3 前面枠
4 ヒンジ
10 遊技盤
11 照明ユニット
17 演出ボタン
18 ガラス枠
34 普図始動ゲート
36 普通変動入賞装置
42 特別変動入賞装置
44 一般入賞口
45 第1始動入賞口
51 センターケース
52 窓部
53 表示装置
55 振動センサ
60 可動役物
500 遊技制御装置
550 演出制御装置
560 役物駆動SOL
561 役物駆動MOT
570 マスタIC
573 リセットREG
574 送信モードREG
580 払出制御装置
600 中継基板(装飾制御装置)
610 装飾制御装置
620 装飾装置
2100 異常判定テーブル
1 gaming machine 2 body frame (outer frame)
3 Front frame 4 Hinge 10 Game board 11 Illumination unit 17 Production button 18 Glass frame 34 Regular start gate 36 Regular variation prize device 42 Special variation prize device 44 General prize opening 45 First start prize opening 51 Center case 52 Window 53 Display Device 55 Vibration sensor 60 Movable accessory 500 Game control device 550 Production control device 560 Actor drive SOL
561 Actor Drive MOT
570 Master IC
573 Reset REG
574 Transmission mode REG
580 Dispensing control device 600 Relay board (decoration control device)
610 decoration device 620 decoration device 2100 abnormality determination table

特許文献1に記載された遊技機は、配線を十分に削減することができなかった。 In the game machine described in Patent Document 1, it is impossible to sufficiently reduce wiring.

本発明は、グループ統括制御手段とグループ単位制御手段とを接続する接続線の数を削減することできる遊技機を提供することを目的とする。 The present invention aims to provide a game machine capable of reducing the number of connection lines for connecting the group supervisory controlling means and each group control unit.

発明は、数の演出装置を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段を各グループに設けるとともに、前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段を設け、前記グループ統括制御手段と前記各グループ単位制御手段との間に、タイミング信号を伝達するタイミング信号線と、データ信号を伝達するデータ信号線と、を備えることにより前記グループ統括制御手段と前記各グループ単位制御手段との間でデータ送信を可能とし、前記グループ統括制御手段は、当該グループ統括制御手段に電源供給が開始されると自身の初期化を行う初期化手段を備え、前記タイミング信号線及び前記データ信号線には、所定の電源電圧を印加したプルアップ抵抗が各々接続され、前記グループ統括制御手段と前記プルアップ抵抗を、同一の制御装置内に配置するようにし、遊技を統括的に制御する遊技制御手段からの指令に基づいて、遊技に係る演出を制御可能な演出制御手段を、前記グループ単位制御手段を統括的に制御するグループ統括制御手段として構成するようにしたことを特徴とする。 The present invention Rutotomoni provided to divide the effect producing device for several to several groups, the group-unit control unit for controlling the effect device belonging to the divided groups in each group, each of said group unit control means A group overall control means for overall control, a timing signal line for transmitting a timing signal, a data signal line for transmitting a data signal, between the group overall control means and each group unit control means, Data transmission between the group overall control means and each group unit control means, and the group overall control means initializes itself when power supply to the group overall control means is started. The timing signal line and the data signal line have a pull-up resistor to which a predetermined power supply voltage is applied. The group overall control means and the pull-up resistor are arranged in the same control device, and the effects related to the game are controlled based on a command from the game control means for overall control of the game. The possible production control means is configured as a group overall control means for comprehensively controlling the group unit control means .

発明によると、グループ統括制御手段とグループ単位制御手段とを接続する接続線の数を削減することができる。 According to the present invention, it is possible to reduce the number of connection lines connecting the group overall control unit and the group unit control unit.

Claims (6)

遊技を統括的に制御する遊技制御手段と、該遊技制御手段からの指令に対応して、遊技
の演出を行う複数の演出装置を制御する演出制御手段と、を備える遊技機において、
前記複数の演出装置を複数グループに分割し、該分割されたグループに属する演出装置
を制御するためのグループ単位制御手段を各グループ毎に設け、
前記演出制御手段を、複数の前記グループ単位制御手段を統括的に制御するグループ統
括制御手段として構成し、
前記グループ統括制御手段から前記グループ単位制御手段へタイミング信号を伝達する
タイミング信号線、及び前記グループ統括制御手段と前記グループ単位制御手段との間で
データを通信するデータ線によって、前記グループ統括制御手段と前記グループ単位制御
手段とが接続されて、前記グループ統括制御手段と前記各グループ単位制御手段との間で
相互にデータ通信を可能とし、
前記グループ統括制御手段は、
前記演出装置の制御に係わる演算処理を行う演算処理手段と、
前記演算処理手段からの指令に基づいて、前記データ線及びタイミング信号線の各信号
レベルを制御する信号レベル制御手段と、
前記演算処理手段と前記信号レベル制御手段との間で、相互にデータを授受するデータ
バスと、を備え、
前記信号レベル制御手段は、
前記演算処理手段からの送信指令に基づいて、前記データ線の信号レベルを送信データ
に対応する信号レベルに設定しながら、前記タイミング信号線の信号レベルを繰り返し変
化させることによって、前記グループ単位制御手段にデータを順次送信する送信手段と、
前記送信手段によるデータ送信の後に、前記グループ単位制御手段からの返答信号を取
り込む返答信号取込手段と、
前記返答信号取込手段によって取り込まれた返答信号によってデータ送信の成否を判定
する判定手段と、
当該信号レベル制御手段を初期化する初期化手段と、
前記データバスを経由して、前記初期化手段に対して当該信号レベル制御手段の初期化
を指示する初期化指示データが書き込まれる初期化指示データ記憶領域と、
前記データバスとは別個に設けられ、前記初期化手段に対して当該信号レベル制御手段
の初期化を指示する初期化信号が入力される初期化信号入力指示端子と、を備え、
前記グループ単位制御手段は、前記送信手段がデータ送信を行った前記データ線を介し
て、前記返答信号を前記グループ統括制御手段へ出力する返答信号出力手段を備え、
前記初期化信号入力指示端子は、前記演算処理手段から所定の出力ポートを経由して、
前記データバスを介さずに前記初期化信号が入力され、
前記初期化手段は、
前記初期化信号入力端子に前記初期化信号が入力されることによって、当該信号レベル
制御手段を初期化する第1初期化手段と、
前記初期化指示データ記憶領域に前記初期化指示データが書き込まれることによって、
当該信号レベル制御手段を初期化する第2初期化手段と、を備えることを特徴とする遊技
機。
In a gaming machine comprising game control means for overall control of a game and effect control means for controlling a plurality of effect devices for effecting a game in response to a command from the game control means,
Dividing the plurality of effect devices into a plurality of groups, and providing group unit control means for each group to control the effect devices belonging to the divided group,
The production control means is configured as a group overall control means for overall control of the plurality of group unit control means,
The group control unit includes a timing signal line for transmitting a timing signal from the group control unit to the group unit control unit, and a data line for communicating data between the group control unit and the group unit control unit. And the group unit control means are connected to enable data communication between the group overall control means and each group unit control means,
The group overall control means is:
Arithmetic processing means for performing arithmetic processing related to the control of the rendering device;
Signal level control means for controlling each signal level of the data line and the timing signal line based on a command from the arithmetic processing means;
A data bus that exchanges data with each other between the arithmetic processing means and the signal level control means,
The signal level control means includes
The group unit control means by repeatedly changing the signal level of the timing signal line while setting the signal level of the data line to a signal level corresponding to transmission data based on a transmission command from the arithmetic processing means. Transmitting means for sequentially transmitting data to
A reply signal fetching means for fetching a reply signal from the group unit control means after data transmission by the sending means;
Determining means for determining success or failure of data transmission according to the response signal captured by the response signal capturing means;
Initialization means for initializing the signal level control means;
An initialization instruction data storage area in which initialization instruction data for instructing initialization of the signal level control means is written to the initialization means via the data bus;
An initialization signal input instruction terminal that is provided separately from the data bus and receives an initialization signal that instructs the initialization means to initialize the signal level control means;
The group unit control means includes a response signal output means for outputting the response signal to the group overall control means via the data line on which the transmission means has transmitted data,
The initialization signal input instruction terminal passes through a predetermined output port from the arithmetic processing means,
The initialization signal is input without going through the data bus,
The initialization means includes
First initialization means for initializing the signal level control means by inputting the initialization signal to the initialization signal input terminal;
By writing the initialization instruction data in the initialization instruction data storage area,
And a second initialization means for initializing the signal level control means.
前記グループ統括制御手段には前記信号レベル制御手段が複数備えられ、
前記演算処理手段と、該複数の信号レベル制御手段とが、前記データバスにより接続さ
れ、
前記演算処理手段から出力される前記初期化信号が、前記複数の信号レベル制御手段に
備わる前記初期化信号入力端子に入力され、
前記複数の信号レベル制御手段のすべてを初期化する場合には、当該各信号レベル制御
手段に備わる前記第1初期化手段を用いて、当該各信号レベル制御手段のすべてが初期化
され、
前記複数の信号レベル制御手段のうち、一部の信号レベル制御手段のみを初期化する場
合には、該一部の信号レベル制御手段に備わる前記初期化指示データ記憶領域に前記初期
化指示データを書き込むことによって、該一部の信号レベル制御手段を初期化することを
特徴とする請求項1に記載の遊技機。
The group overall control means includes a plurality of the signal level control means,
The arithmetic processing means and the plurality of signal level control means are connected by the data bus,
The initialization signal output from the arithmetic processing means is input to the initialization signal input terminal provided in the plurality of signal level control means,
When initializing all of the plurality of signal level control means, using the first initialization means provided in the signal level control means, all of the signal level control means are initialized,
When only a part of the plurality of signal level control means is initialized, the initialization instruction data is stored in the initialization instruction data storage area provided in the part of the signal level control means. 2. The gaming machine according to claim 1, wherein the part of the signal level control means is initialized by writing.
前記グループ統括制御手段は、前記判定手段の判定結果に基づいて、前記複数の信号レ
ベル制御手段のうちから、異常が発生した信号レベル制御手段を検出する異常検出手段を
備え、
該異常検出手段によって検出された信号レベル制御手段を、該信号レベル制御手段に備
わる前記第2初期化手段を用いて初期化させることを特徴とする請求項2に記載の遊技機
The group overall control unit includes an abnormality detection unit that detects a signal level control unit in which an abnormality has occurred from the plurality of signal level control units based on a determination result of the determination unit,
3. The gaming machine according to claim 2, wherein the signal level control means detected by the abnormality detection means is initialized using the second initialization means provided in the signal level control means.
前記グループ統括制御手段は、前記信号レベル制御手段が初期化された場合に、当該信
号レベル制御手段が制御するすべてのグループ単位制御手段に対して初期化を指示するこ
とを特徴とする請求項2又は請求項3に記載の遊技機。
3. The group overall control unit, when the signal level control unit is initialized, instructs all group unit control units controlled by the signal level control unit to perform initialization. Or the game machine of Claim 3.
前記演出装置のグループは、発光することにより遊技機の装飾を行う発光装置のグルー
プと、遊技機に備わる可動部材を可動させることにより遊技機の装飾を行う可動装置のグ
ループと、を含み、
前記グループ単位制御手段は、前記発光装置のグループを制御する発光グループ単位制
御手段と、前記可動装置のグループを制御する可動グループ単位制御手段と、を含み、
前記グループ統括制御手段は、所定条件の成立により、当該グループ統括制御手段に複
数備えられる全ての前記信号レベル制御手段を、各信号レベル制御手段に備わる第1初期
化手段を介して初期化し、且つ各信号レベル制御手段に接続されるグループ単位制御手段
に対して初期化を指示し、
前記発光グループ単位制御手段は、前記グループ統括制御手段から初期化を指示された
場合、当該発光グループ単位制御手段が制御する前記発光装置の出力状態を出力しない状
態に制御し、
前記可動グループ単位制御手段は、前記グループ統括制御手段から初期化を指示された
場合、当該可動グループ単位制御手段が制御する前記可動部材を初期位置に戻すために前
記可動装置に初期位置動作を実行させ、
該可動部材が初期位置に戻される間であっても、当該可動グループ単位制御手段に接続
される信号レベル制御手段とは異なる信号レベル制御手段は、前記グループ単位制御手段
に対して発光制御データの送信を開始することを特徴とする請求項2に記載の遊技機。
The group of effect devices includes a group of light emitting devices that decorate the gaming machine by emitting light, and a group of movable devices that decorate the gaming machine by moving a movable member provided in the gaming machine,
The group unit control means includes a light emission group unit control means for controlling a group of the light emitting devices, and a movable group unit control means for controlling a group of the movable devices,
The group overall control means initializes all of the signal level control means provided in the group overall control means via a first initialization means provided in each signal level control means when a predetermined condition is satisfied, and Instruct initialization to the group unit control means connected to each signal level control means,
When the light emission group unit control means is instructed to initialize from the group overall control means, the light emission group unit control means controls the output state of the light emitting device controlled by the light emission group unit control means to not output,
When the movable group unit control means is instructed to initialize by the group overall control means, the movable group unit control means executes an initial position operation on the movable device to return the movable member controlled by the movable group unit control means to the initial position. Let
Even while the movable member is returned to the initial position, the signal level control means different from the signal level control means connected to the movable group unit control means transmits the light emission control data to the group unit control means. The gaming machine according to claim 2, wherein transmission is started.
前記演出装置のグループは、発光することにより遊技機の装飾を行う発光装置のグルー
プと、遊技機に備わる可動部材を可動させることにより遊技機の装飾を行う可動装置のグ
ループと、を含み、
前記グループ単位制御手段は、前記発光装置のグループを制御する発光グループ単位制
御手段と、前記可動装置のグループを制御する可動グループ単位制御手段と、を含み、
前記異常検出手段は、前記可動グループ単位制御手段に対するデータ送信が失敗したと
、前記判定手段によって判定された場合に、当該可動グループ単位制御手段に接続される
信号レベル制御手段の異常を検出し、
前記グループ統括制御手段は、前記異常検出手段によって異常が検出された信号レベル
制御手段を、該信号レベル制御手段に備わる第2初期化手段を介して初期化し、且つ該信
号レベル制御手段に接続されるグループ単位制御手段に対して初期化を指示し、
前記発光グループ単位制御手段は、前記グループ統括制御手段から初期化を指示された
場合、当該発光グループ単位制御手段が制御する前記発光装置の出力状態を出力しない状
態に制御し、
前記可動グループ単位制御手段は、前記グループ統括制御手段から初期化を指示された
場合、当該可動グループ単位制御手段が制御する前記可動部材を初期位置に戻すために前
記可動装置に初期位置動作を実行させ、
該可動部材が初期位置に戻される間であっても、当該可動グループ単位制御手段に接続
される信号レベル制御手段とは異なる信号レベル制御手段は、前記グループ単位制御手段
に対して発光制御データの送信を継続することを特徴とする請求項3に記載の遊技機。
The group of effect devices includes a group of light emitting devices that decorate the gaming machine by emitting light, and a group of movable devices that decorate the gaming machine by moving a movable member provided in the gaming machine,
The group unit control means includes a light emission group unit control means for controlling a group of the light emitting devices, and a movable group unit control means for controlling a group of the movable devices,
The abnormality detection unit detects an abnormality of the signal level control unit connected to the movable group unit control unit when the determination unit determines that data transmission to the movable group unit control unit has failed,
The group overall control unit initializes a signal level control unit in which an abnormality is detected by the abnormality detection unit via a second initialization unit provided in the signal level control unit, and is connected to the signal level control unit. Instruct the group unit control means to initialize,
When the light emission group unit control means is instructed to initialize from the group overall control means, the light emission group unit control means controls the output state of the light emitting device controlled by the light emission group unit control means to not output,
When the movable group unit control means is instructed to initialize by the group overall control means, the movable group unit control means executes an initial position operation on the movable device to return the movable member controlled by the movable group unit control means to the initial position. Let
Even while the movable member is returned to the initial position, the signal level control means different from the signal level control means connected to the movable group unit control means transmits the light emission control data to the group unit control means. 4. The gaming machine according to claim 3, wherein transmission is continued.
JP2015146373A 2015-07-24 2015-07-24 Game machine Active JP6040413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015146373A JP6040413B2 (en) 2015-07-24 2015-07-24 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015146373A JP6040413B2 (en) 2015-07-24 2015-07-24 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013057721A Division JP5799380B2 (en) 2013-03-21 2013-03-21 Game machine

Publications (2)

Publication Number Publication Date
JP2015180467A true JP2015180467A (en) 2015-10-15
JP6040413B2 JP6040413B2 (en) 2016-12-07

Family

ID=54329003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015146373A Active JP6040413B2 (en) 2015-07-24 2015-07-24 Game machine

Country Status (1)

Country Link
JP (1) JP6040413B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07240969A (en) * 1994-02-28 1995-09-12 Yamaha Motor Co Ltd On-vehicle electronic apparatus communication equipment
JP2001252402A (en) * 2000-03-13 2001-09-18 Heiwa Corp Game control power system device
JP2006346369A (en) * 2005-06-20 2006-12-28 Daiichi Shokai Co Ltd Game machine
JP2008212271A (en) * 2007-03-01 2008-09-18 Heiwa Corp Game machine
JP5906232B2 (en) * 2013-11-14 2016-04-20 株式会社ソフイア Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07240969A (en) * 1994-02-28 1995-09-12 Yamaha Motor Co Ltd On-vehicle electronic apparatus communication equipment
JP2001252402A (en) * 2000-03-13 2001-09-18 Heiwa Corp Game control power system device
JP2006346369A (en) * 2005-06-20 2006-12-28 Daiichi Shokai Co Ltd Game machine
JP2008212271A (en) * 2007-03-01 2008-09-18 Heiwa Corp Game machine
JP5906232B2 (en) * 2013-11-14 2016-04-20 株式会社ソフイア Game machine

Also Published As

Publication number Publication date
JP6040413B2 (en) 2016-12-07

Similar Documents

Publication Publication Date Title
JP5572821B2 (en) Game machine
JP5286489B2 (en) Game machine
JP5390962B2 (en) Game machine
JP5651858B2 (en) Game machine
JP5286491B2 (en) Game machine
JP5286490B2 (en) Game machine
JP5604709B2 (en) Game machine
JP5426944B2 (en) Game machine
JP5906232B2 (en) Game machine
JP4782234B2 (en) Game machine
JP5421672B2 (en) Game machine
JP6286719B2 (en) Game machine
JP6040413B2 (en) Game machine
JP6040411B2 (en) Game machine
JP5568731B2 (en) Game machine
JP6040412B2 (en) Game machine
JP5799378B2 (en) Game machine
JP5799380B2 (en) Game machine
JP5706947B2 (en) Game machine
JP5938686B2 (en) Game machine
JP5799379B2 (en) Game machine
JP6340517B2 (en) Gaming machine
JP5829740B2 (en) Game machine
JP5451830B2 (en) Game machine
JP2016034556A (en) Game machine

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150821

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160712

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160713

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160909

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161007

R150 Certificate of patent or registration of utility model

Ref document number: 6040413

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250