JP6518180B2 - Gaming machine - Google Patents

Gaming machine Download PDF

Info

Publication number
JP6518180B2
JP6518180B2 JP2015207947A JP2015207947A JP6518180B2 JP 6518180 B2 JP6518180 B2 JP 6518180B2 JP 2015207947 A JP2015207947 A JP 2015207947A JP 2015207947 A JP2015207947 A JP 2015207947A JP 6518180 B2 JP6518180 B2 JP 6518180B2
Authority
JP
Japan
Prior art keywords
data
master
control device
expander
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015207947A
Other languages
Japanese (ja)
Other versions
JP2016034556A (en
Inventor
光一 松橋
光一 松橋
Original Assignee
株式会社ソフイア
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社ソフイア filed Critical 株式会社ソフイア
Priority to JP2015207947A priority Critical patent/JP6518180B2/en
Publication of JP2016034556A publication Critical patent/JP2016034556A/en
Application granted granted Critical
Publication of JP6518180B2 publication Critical patent/JP6518180B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

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

サブ中継基板と電飾基板との間の配線を簡素化することができる遊技機として、トップ
電飾領域の中央部に配置されたトップLED中央基板をサブ中継基板とシリアル接続し、
トップ電飾領域の右側部に配置されたトップLED右基板及びトップ電飾領域の左側部に
配置されたトップLED左基板をトップLED中央基板から分離して配線により接続した
構成の遊技機が知られている。これにより、サブ中継基板からトップ電飾領域への配線数
を減らして配線を簡素化することができる(例えば、特許文献1参照)。
As a gaming machine capable of simplifying the wiring between the sub relay board and the electric decoration board, the top LED central board disposed in the center of the top electric decoration area is serially connected to the sub relay board,
A gaming machine is known in which the top LED right substrate disposed on the right side of the top illumination area and the 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 is done. As a result, the number of wires from the sub relay board to the top illumination area can be reduced to simplify the wires (see, for example, 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 activity, it performs signal transmission between the main substrate and the sub substrate by the I 2 C bus system, and Some substrates and sub substrates are provided with bidirectional bus buffers, respectively. This bi-directional bus buffer is for branching the two bi-directional serial lines (SDA, SCL) constituting the I 2 C bus into two unidirectional serial lines, respectively. Between the bus buffer and the bidirectional bus buffer provided on the sub board, the signal transmission directions of the unidirectional serial lines branched by them are made to coincide with each other, and they are connected by four serial lines (see FIG. See, for example, Patent Document 2).

特開2008-212271号公報Japanese Patent Application Publication No. 2008-212271 特開2006-15036号公報Japanese Patent Application Publication No. 2006-15036

本発明は、グループ統括制御手段とグループ単位制御手段とを接続する接続線の数を削
減しつつ、正しく動作することができる遊技機を提供することを目的とする。
An object of the present invention is to provide a gaming machine which can operate properly while reducing the number of connection lines connecting the group general control means and the group unit control means.

本発明は、遊技の演出を行う複数の演出装置を備える遊技機において、前記複数の演出装置を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段をグループ毎に設けるとともに、前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段を設け、前記グループ単位制御手段と前記グループ統括制御手段との間を、前記グループ統括制御手段から前記グループ単位制御手段にタイミング信号を伝達するタイミング信号線と、データ信号を伝達するデータ線と、前記グループ単位制御手段に電源電圧を供給する電源線と、を含むハーネスによりコネクタを介して接続し、前記グループ統括制御手段が前記グループ単位制御手段に伝達するデータには、前記グループ単位制御手段に設けられた記憶領域のうちの所定のアドレスを示すアドレス情報と、複数の制御データと、前記記憶領域の範囲内においてアドレスを更新する際の上限アドレスと戻りアドレスを特定可能なアドレス更新情報と、が含まれ、前記グループ統括制御手段は、当該グループ統括制御手段に電源供給が開始されると、当該グループ統括制御手段自身を電源供給による電圧上昇に基づいて初期化可能であり、前記グループ単位制御手段は、前記ハーネスの再接続により当該グループ単位制御手段に電源供給が開始されると、当該グループ単位制御手段自身を電源供給による電圧上昇に基づいて初期化可能であり、前記アドレス情報が示すアドレスを記憶先の開始アドレスとして、伝達された制御データを記憶し、制御データを記憶する毎に記憶先のアドレスを順次更新し、前記上限アドレスが示す記憶領域に制御データを記憶した場合は、前記戻りアドレスに戻るように記憶先のアドレスを更新するThe present invention relates to a gaming machine including a plurality of effect devices for effecting a game, wherein the plurality of effect devices are divided into a plurality of groups, and group unit control means for controlling the effect devices belonging to the divided groups. A group general control means is provided for each group and comprehensively controls each of the group unit control means, and the group general control means is provided with the group general control means between the group unit control means and the group general control means. a timing signal line for transmitting a timing signal to the unit control means, and a data line for transmitting data signals, and a power supply line for supplying a power supply voltage to the group-unit control unit, via the connector by a harness including connecting said The data transmitted to the group unit control means by the group general control means includes the group unit control means. Address information indicating a predetermined address in the storage area provided in the storage area, a plurality of control data, and address update information capable of specifying an upper limit address and a return address when updating the address within the range of the storage area , include the group supervisory controlling means, when the power supply to the group supervisory controlling means is started, it is possible initialized based the group supervisory controlling means itself to the voltage rise due to the power supply, said group unit control means, when the power supply to the group-unit control unit is started by the re-connection of the harness, Ri initializability der based the group-unit control unit itself to the voltage rise due to the power supply, the address information The transmitted control data is stored with the indicated address as the start address of the storage destination, and the storage destination is stored each time the control data is stored. Sequentially updating the address, when storing the control data in the storage area in which the upper address indicates updates the address of the storage destination back to the return address.

本発明によると、グループ統括制御手段とグループ単位制御手段間の配線を少なくすることができる。また、適切なデータ送信を行うことができ、誤作動を防止することができる。 According to the present invention, the wiring between the group general control means and the group unit control means can be reduced. In addition, appropriate data transmission can be performed, and malfunction can be prevented.

本発明の第1実施形態の遊技機の説明図である。BRIEF DESCRIPTION OF THE DRAWINGS 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 1st Embodiment of this invention. 本発明の第1実施形態の遊技機の構成を示すブロック図である。It is a block diagram showing composition of a game machine of a 1st embodiment of the present 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 an explanatory view of connection of a decoration control device of a 1st embodiment of the present invention. 本発明の第1実施形態の装飾制御装置のブロック図である。It is a block diagram of a decoration control device of a 1st embodiment of the present invention. 本発明の第1実施形態のI2CI/Oエクスパンダのブロック図である。It is a block diagram of a I 2 CI / O expander of the first embodiment of the present invention. 本発明の第1実施形態の装飾装置を制御する装飾制御装置のI2CI/Oエクスパンダ周辺の回路図である。It is a circuit diagram of a I 2 CI / O expander neighborhood decorative control device for controlling the decoration apparatus of the first embodiment of the present invention. 本発明の第1実施形態の役物駆動MOT及び役物駆動SOLを制御する装飾制御装置のI2CI/Oエクスパンダ周辺の回路図である。It is a circuit diagram of a I 2 CI / O expander near decoration controller for controlling the character object driving MOT and character object drive SOL of the first embodiment of the present invention. 本発明の第1実施形態の中継基板の入出力に関する接続線の回路図である。It is a circuit diagram of a connection line regarding input and output of a relay board of a first embodiment of the present invention. 本発明の第1実施形態の装飾制御装置の入出力に関する接続線の回路図である。It is a circuit diagram of the connection line regarding input and output of a decoration control device of a 1st embodiment of the present invention. 本発明の第1実施形態の演出制御装置から装飾制御装置に出力されるデータに含まれるスレーブアドレスの説明図である。It is explanatory drawing of the slave address contained in the data output to a 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を介して出力するデータのスタート条件及びストップ条件の説明図である。FIG. 7 is an explanatory diagram of start conditions and stop conditions of data output by the master IC of the first embodiment of the present invention via connection lines SDA and SCL. 本発明の第1実施形態のマスタICから出力されたデータが入力された装飾制御装置が返答信号を出力するタイミングチャートである。It is a timing chart in which a decoration control device to which data output from a master IC of the first embodiment of the present invention is input outputs a response signal. 本発明の第1実施形態のマスタICが演出制御データを出力する場合の接続線SDA及び接続線SCLの信号レベルのタイミングチャートである。It is a timing chart of the signal level of connecting line SDA and connecting line SCL in case master IC of a 1st embodiment of the present invention outputs presentation control data. 本発明の第1実施形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダとの間で授受されるデータのフォーマットを説明する図である。The master IC according to the first embodiment of the present invention is exchanged between the master IC and the I 2 CI / O expander when the effect control data is set in the decoration control device by designating the individual address of the slave. It is a figure explaining the format of data. 本発明の第1実施形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダとの間で授受される演出制御データに具体的な数値を適用したものである。The master IC according to the first embodiment of the present invention is exchanged between the master IC and the I 2 CI / O expander when the effect control data is set in the decoration control device by designating the individual address of the slave. A concrete numerical value is applied to the effect 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 flow chart of I 2 C initial reset processing of a 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 processing 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 flow chart of I 2 C occasional reset processing of a 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 flow chart of slave single output processing of a 1st embodiment of the present invention. 本発明の第1実施形態の遊技機全体に設けられる装飾制御装置の接続形態を示す図である。It is a figure which shows the connection form of the decoration control apparatus provided in the whole game machine of 1st Embodiment of this invention. 本発明の第2実施形態の複数のマスタICとI2CI/Oエクスパンダとの接続の説明図である。It is an explanatory view of connection of a plurality of master ICs and an I 2 CI / O expander according to a second embodiment of the present invention. 本発明の第2実施形態の異常判定テーブルの説明図である。It is explanatory drawing of the abnormality determination table of 2nd Embodiment of this invention. 本発明の第2実施形態のI2C初期リセット処理のフローチャートである。It is a flowchart of I 2 C initial reset processing of a second embodiment of the present invention. 本発明の第2実施形態のI2C随時リセット処理のフローチャートである。It is a flowchart of I 2 C occasional reset processing of a second embodiment of the present invention.

(第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 view of a gaming machine 1 according to a first embodiment of the present invention.

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

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

ガラス枠18の左右には、音響(例えば、効果音)を発するスピーカ30が備えられて
いる。また、ガラス枠18の上方には照明ユニット11が備えられている。照明ユニット
11の内部には、前述した装飾装置620が備えられている。
At the left and right of the glass frame 18, speakers 30 for emitting sound (for example, sound effects) are provided. Further, a lighting 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が備えられている。
An abnormality notification LED 29 is provided on the right side of the lighting unit 11 to notify that an abnormality has occurred in the gaming machine 1.

前面枠3の下部の開閉パネル20には図示しない打球発射装置に遊技球を供給する上皿
21が、固定パネル22には灰皿15、下皿23及び打球発射装置の操作部24等が備え
られる。下皿23には、下皿23に貯まった遊技球を排出するための下皿球抜き機構16
が備えられる。前面枠3下部右側には、ガラス枠18を施錠するための鍵25が備えられ
ている。
An upper tray 21 for supplying gaming balls to a hitting launch device (not shown) is provided at the lower opening and closing panel 20 of the front frame 3, and the fixed tray 22 is provided with an ashtray 15, a lower tray 23 and an operating unit 24 of the hitting launcher. . The lower plate 23 has a lower plate ball removing mechanism 16 for discharging the gaming 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か
ら供給される遊技球を発射する。
In addition, when the player rotates the operation unit 24, the ball hitting and launching device shoots the game ball supplied from the upper tray 21.

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

遊技者が演出ボタン17を操作することによって、遊技盤10に設けられた表示装置5
3(図2参照)における特図変動表示ゲームの演出内容を選択して、表示装置53におけ
る特図変動表示ゲームに、遊技者の操作を介入させた演出を行うことができる。
The display device 5 provided on the game board 10 by the player operating the effect button 17
The effect contents of the special view variation display game in 3 (refer to FIG. 2) can be selected, and the special view variation display game in the display device 53 can be performed by causing the player's operation to intervene.

なお、特図変動表示ゲームは、発射された遊技球が遊技盤10に備わる第1始動入賞口
45(図2参照)又は普通変動入賞装置36(図2参照)の第2始動入賞口に入賞した場
合に開始される。特図変動表示ゲームでは、表示装置53において複数の識別情報が変動
表示する。そして、変動表示していた識別情報が停止し、停止した識別情報の結果態様が
特定の結果態様である場合に、遊技機1の状態が遊技者に有利な状態(特典が付与される
状態)である特別遊技状態に遷移する。
In the special view variation display game, the first starting winning opening 45 (see FIG. 2) or the second starting winning opening of the normal variation winning device 36 (see FIG. 2) provided on the game board 10 with the launched game ball It will be started if you In the special view variable display game, a plurality of identification information is variably displayed on the display device 53. Then, when the identification information which 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 (the state in which a bonus is given) Transition to the special game state that is.

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

図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 is to play a game by firing a gaming ball into the internal gaming area 10a (playing a ball), and on the back side of the cover glass of the glass frame 18, the gaming area 10a is 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 body 10b (made of wood or synthetic resin) serving as a mounting base for various members, and the game area 10 surrounded by the guide rails 32 on the front of the game board body 10b.
have a. In addition, on the front of the game board main body 10b and outside the guide rail 32,
The front components 33, 33, ... are attached. Then, a game ball (ball: game medium) is fired from the launch device into the game area 10a surrounded by the guide rails 32 to play a game.

遊技領域10aの略中央には、特図変動表示ゲームの表示領域となる窓部52を形成す
るセンターケース51が取り付けられている。このセンターケース51に形成された窓部
52の後方には、複数の識別情報を変動表示する特図変動表示ゲームの演出を実行可能な
演出表示装置としての表示装置53が配されるようになっている。この表示装置53は、
例えば、液晶ディスプレイを備え、表示内容が変化可能な表示部53aがセンターケース
51の窓部52を介して遊技盤10の前面側から視認可能となるように配されている。な
お、表示装置53は、液晶ディスプレイを備えるものに限らず、EL、CRT等のディス
プレイを備えるものであってもよい。
At the approximate center of the game area 10a, a center case 51 is attached, which forms a window 52 serving as a display area of the special view variable display game. Behind the window portion 52 formed in the center case 51, a display device 53 as an effect display device capable of executing an effect of a special view fluctuation display game in which a plurality of identification information are variably displayed is disposed. ing. This display device 53 is
For example, a liquid crystal display is provided, and a display unit 53a whose display content 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. The display device 53 is not limited to one provided with a liquid crystal display, but may be provided with a display such as an EL, a CRT or the like.

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

また、遊技盤10には、普図始動ゲート34と、普図変動表示ゲームの未処理回数を表
示する普図記憶表示器47、普図変動表示ゲームを表示する普図表示器35が設けられて
いる。また、遊技領域10a内には、第1の始動入賞領域をなす第1始動入賞口45と、
第2の始動入賞領域をなす第2始動入賞口を有する普通変動入賞装置36と、が設けられ
ている。そして、遊技球が第1始動入賞口45に入賞した場合は、補助遊技として第1特
図変動表示ゲームが実行され、遊技球が普通変動入賞装置36に入賞した場合は、補助遊
技として第2特図変動表示ゲームが実行されるようになっている。
Further, the game board 10 is provided with a common drawing start gate 34, a common drawing memory display 47 for displaying the number of unprocessed times of the common drawing change display game, and a common drawing display 35 for displaying the common drawing change display game. ing. In addition, in the game area 10a, there is a first start winning opening 45 which forms a first start winning area,
A normal fluctuation winning device 36 having a second starting winning opening that constitutes a second starting winning area is provided. Then, when the gaming ball wins the first start winning opening 45, the first special view fluctuation display game is executed as an auxiliary game, and when the gaming ball wins the normal fluctuation winning device 36, the second auxiliary game. A special figure variation display game is to be 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として一体
に設けられている。
In addition, the game board 10 is provided with a first special view display 38 for displaying a first special view fluctuation display game and a second special view display 39 for displaying a second special view fluctuation display game. There is. Also, the first
First special view memory display 4 for displaying the number of times the special view variation display game has not been processed (first special view start memory)
A second special view storage display 49 is provided to display the number 8 and the number of unprocessed times (second special view start storage) of the second special view variation display game. The common view storage display 47, the common view display 35, the first special view display 38, the second special view display 39, the first special view storage display 48, and the second special view storage display 49 It is integrally provided as a segment LED together with a game state display LED (not shown) indicating a game state.

さらに遊技領域10aには、上端側が手前側に倒れる方向に回動して開放可能になって
いるアタッカ形式の開閉扉42aを有し、第1特図変動表示ゲーム、第2特図変動表示ゲ
ームの結果如何によって大入賞口を閉じた状態(遊技者にとって不利な状態)から開放状
態(遊技者にとって有利な状態)に変換する特別変動入賞装置42、入賞口などに入賞し
なかった遊技球を回収するアウト穴43が設けられている。この他、遊技領域10aには
、一般入賞口44、44、…、打球方向変換部材としての風車46、多数の障害釘(図示
略)などが配設されている。
Furthermore, in the game area 10a, there is an open / close door 42a of the attacker type that can be opened by turning in the direction in which the upper end side falls to the front side, and the first special view change display game, the second special view change display game As a result, the special variation winning device 42, which converts the large winning opening closed (a disadvantage for the player) to the open condition (a favorable condition for the player), the gaming ball that did not win the winning opening etc. An out hole 43 for collecting is provided. Besides, in the game area 10a, general winning openings 44, 44,..., A windmill 46 as a hitting direction changing member, a large number of obstacle nails (not shown), etc. are disposed.

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

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

普図変動表示ゲームが開始できない状態とは、例えば、普図変動表示ゲームが既に行わ
れ、その普図変動表示ゲームが終了していない状態や、普図変動表示ゲームが当って普通
変動入賞装置36が開状態に変換されている状態のことをいう。
The state in which the common drawing fluctuation display game can not be started means, for example, a state in which the common drawing fluctuation display game has already been played and the common drawing fluctuation display game has not ended, or the common drawing fluctuation display game hits 36 refers to a state in which it is converted to the open state.

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

普図変動表示ゲームは、遊技盤10に設けられた普図表示器35で実行されるようにな
っている。なお、表示装置53の表示領域の一部で普図変動表示ゲームを表示するように
してもよく、この場合は識別図柄として、例えば、数字、記号、キャラクタ図柄などを用
い、この識別図柄を所定時間変動表示させた後、停止表示させることにより行うようにす
る。
The common drawing variation display game is to be executed by the common drawing indicator 35 provided on the game board 10. It should be noted that a common drawing variation display game may be displayed in a part of the display area of the display device 53. In this case, for example, numbers, symbols, character symbols etc. are used as identification symbols, and the identification symbols are specified. It is made to carry out by making it stop display, after displaying time variation.

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

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

また、本実施形態の遊技機1は、特図変動表示ゲームの結果態様に基づき、遊技状態と
して、表示装置53における特図変動表示ゲームの変動表示時間を短縮する時短動作状態
(第2動作状態)を発生可能となっている。この時短動作状態(第2動作状態)は、普通
変動入賞装置36の動作状態が、通常動作状態(第1動作状態)に比べて開放状態となり
やすい状態である。
In addition, the gaming machine 1 of the present embodiment shortens the fluctuation display time of the special view fluctuation display game on the display device 53 as the gaming state based on the result mode of the special drawing fluctuation display game (second operation state (second operation state ) Can be generated. At this time, the short operating state (second operating state) is a state in which the operating state of the normal fluctuation winning device 36 is more likely to be open than the normal operating state (first operating 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 common view variation display game is controlled to be shorter than the long execution time in the normal operation state (for example, 10 seconds is one second), whereby The number of opening of the normal fluctuation winning device 36 is controlled to be substantially increased. Further, in the time-saving operation state, when the regular drawing fluctuation display game is hit and the normal fluctuation winning apparatus 36 is opened, the opening time is controlled to be longer than the opening time for which the normal operation state is short. (For example, 0.3 seconds is 1.8 seconds). Also, in the short-time operation state,
The normal fluctuation winning device 36 is not one time per hit result of the common drawing fluctuation display game,
It is opened multiple times (for example, twice). Furthermore, in the short-time operation state, the probability of being a hit result of the common view variation display game is controlled to be higher than that in the normal operation state. That is, the number of times the normal fluctuation winning device 36 is opened is increased more than in the normal operation state, the gaming ball easily wins the normal fluctuation winning device 36, and the start of the second special view fluctuation display game becomes easy.

第1始動入賞口45の内部には第1始動口SW45a(図3参照)が備えられ、この第
1始動口SW45aによって遊技球を検出することに基づき、補助遊技としての第1特図
変動表示ゲームを開始する始動権利が発生するようになっている。また、普通変動入賞装
置36の内部には第2始動口SW36d(図3参照)が備えられ、この第2始動口SW3
6dによって遊技球を検出することに基づき、補助遊技としての第2特図変動表示ゲーム
を開始する始動権利が発生するようになっている。
A first starting opening SW 45a (see FIG. 3) is provided inside the first starting winning opening 45, and based on the detection of the game ball by the first starting opening SW 45a, a first special view variation display as an auxiliary game The right to start the game is to be generated. Further, a second starting opening SW 36 d (see FIG. 3) is provided inside the normal fluctuation winning device 36, and this second starting opening SW 3
Based on the detection of the game ball by 6d, a start right to start a second special view 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 view variable display game is stored as a first start storage (special view 1 start storage) within a predetermined upper limit number (for example, 4). Then, the first start memory number is displayed on the first special view memory display 48. The right to start the second special view variable display game is stored as a second start storage (special view 2 start storage) within a predetermined upper limit number (for example, 4). Then, the second start memory number is displayed on the second special view memory display 49.

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

また、第2特図変動表示ゲームは第1特図変動表示ゲームよりも優先して実行されるた
め、第1始動記憶数が0でなくても、第2始動記憶数が0であれば、第2始動入賞口をな
す普通変動入賞装置36に遊技球が入賞すると、始動権利の発生に伴って抽出された乱数
が第2始動記憶として記憶されて、第2始動記憶数が1加算されるととともに、実行中の
第1特図変動表示ゲームが終了後直ちに第2始動記憶に基づいて、第2特図変動表示ゲー
ムが開始され、この際に第2始動記憶数が1減算される。
Further, since the second special view variation display game is executed prior to the first special view variation display game, even if the first start storage number is not zero, if the second start storage number is zero, When the game ball wins in the normal variation winning device 36 forming the second starting winning opening, the random number extracted with the occurrence of the starting right is stored as the second starting memory, and the second starting memory number is incremented by one. At the same time, the second special view variable display game is started based on the second start memory immediately after the end of the first special view variable 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, the first special view variation display game or the second special view variation display game can not be started immediately, for example, the first special view variation display game or the second special view variation display game is already played, and the special view variation display game is performed. If the game ball does not end the game or is in the special game state, and the game ball is won in the first start winning opening 45, if the first start memory number is less than the upper limit number (for example, less than 4) The first start memory number is incremented by one, and one random number extracted at the timing when the gaming ball has won in the first start winning opening 45 is stored as a first start memory.

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

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

すなわち、第1始動記憶と第2始動記憶がある場合には、第2特図変動表示ゲームが実
行される。
That is, when there is the first start storage and the second start storage, the second special view 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 view variation display game and the second special view variation display game as auxiliary games are to be executed by the first special view display 38 and the second special view display 39 provided on the game board 10. After a plurality of identification information are variably displayed, the predetermined result mode is displayed in a stopped state. In addition, a special figure variation display game in which a plurality of types of identification information (for example, numbers, symbols, character patterns, etc.) are variably displayed corresponding to the respective special figure variation display games on the display device 53 is executed. Then, as a result of the special view variation display game, the first special view display 38 or the second special view display 39
When the display mode of is a special result mode, it becomes a jackpot and becomes a special gaming state (a so-called jackpot state). In addition, in response to this, the display mode of the display device 53 is also a special result mode (for example, any of Zoro's numeral such as "7, 7, 7"). The special view variation display game may be executed only by the display device 53 without providing the first special view display 38 and the second special view display 39 in the gaming machine.

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

図3は、本発明の第1実施形態の遊技機1の構成を示すブロック図である。   FIG. 3 is a block diagram showing the 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 for controlling the game in an integrated manner, a presentation control device 550 for controlling the display device 53 and the speaker 30 to perform various effects, and a payout motor (not shown) to pay out the gaming ball. It has a payout control device 580 to control.

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

遊技制御装置500は、遊技用マイコン501、入力I/F(Interface)5
05、出力I/F(Interface)506、及び外部通信端子507を備える。
The gaming control device 500 includes a gaming 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 has a CPU 502 and a ROM (Read Only Memory).
503 and a random access memory (RAM) 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 control. RO
M 503 stores invariable information (program, data, etc.) for game control. R
AM 504 is used as a work area at the time of 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 setting information and the like of the game control device 500.

CPU502は、入力I/F505を介して各種入力装置(第1始動口SW45a、第
2始動口SW36d、一般入賞口SW44a、ゲートSW34a、カウントSW42d、
ガラス枠開放SW18a、前面枠開放SW3a、球切れSW54、振動センサ55、及び
磁気センサ56)からの検出信号を受けて、大当り抽選等、種々の処理を行う。
The CPU 502 can input various input devices (a first start port SW 45 a, a second start port SW 36 d, a general winning port SW 44 a, a gate SW 34 a, a count SW 42 d) via the input I / F 505.
In response to detection signals from the glass frame opening switch 18a, the front frame opening switch 3a, the ball breakage switch 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 starting opening SW 45 a is a switch for detecting that the gaming ball has won the first starting winning opening 45. The second starting opening SW 36 d is a switch for detecting that the gaming ball has won the second starting winning opening of the normal variation winning device 36.

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

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

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

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

振動センサ55は、遊技機1に与えられた振動を検出するセンサであり、遊技機1に振
動を与えて、不当に遊技球を獲得する不正を検出する。磁気センサ56は、第1始動入賞
口45、普通変動入賞装置36の第2始動入賞口、一般入賞口44、特別変動入賞装置4
2の大入賞口、及び普図始動ゲート34付近に設けられ、磁力を検出するセンサである。
磁気センサ93は、各入賞口付近に磁石を近づけて、遊技領域10aに発射された遊技球
を各入賞口に導く不正を検出する。
The vibration sensor 55 is a sensor that detects the vibration given to the gaming machine 1 and gives a vibration to the gaming machine 1 to detect an injustice that illegally acquires the gaming ball. The magnetic sensor 56 includes a first start winning opening 45, a second starting winning opening of the normal fluctuation winning device 36, a general winning opening 44, and the special fluctuation winning device 4.
A sensor for detecting the magnetic force is provided near the winning opening 2 of FIG.
The magnetic sensor 93 brings a magnet close to each winning opening, and detects an injustice leading the gaming balls fired to the game area 10a to each winning opening.

また、CPU502は、出力I/F506を介して、第1特図表示器38、第1特図記
憶表示器48、第2特図表示器39、第2特図記憶表示器49、普図表示器35、普電S
OL36b、大入賞口SOL42b、払出制御装置580、及び演出制御装置550に指
令信号を送信して、遊技を統括的に制御する。
In addition, the CPU 502, through the output I / F 506, the first special view display 38, the first special view storage display 48, the second special view display 39, the second special view storage display 49, a generic view display Unit 35, Puden S
A command signal is transmitted to the OL 36b, the special winning opening SOL 42b, 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始
動記憶数が表示される。
On the first special view display 38, a first special view variation display game to be executed as an auxiliary game when the gaming ball has won in the first start winning opening 45 is displayed. The first special view storage display 48 displays a first start storage number which is a start right to start the first special view variation display game stored within a predetermined upper limit number range.

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

普図表示器35には、遊技球が普図始動ゲート34を通過した場合に行われる普図変動
表示ゲームが表示される。
The common drawing indicator 35 displays a common drawing fluctuation display game to be performed when the gaming ball passes the common drawing start gate 34.

普電SOL36bは、普図表示器35で実行される普図変動表示ゲームの停止表示が特
別の結果態様となった場合に、開閉部材36a、36aを開放し、普通変動入賞装置36
の第2始動入賞口を遊技球が入賞しやすい状態にする。
When the stop display of the common drawing fluctuation display game executed by the common drawing indicator 35 becomes a special result mode, the common electric switch SOL 36b opens the opening and closing members 36a, 36a, and the normal fluctuation winning apparatus 36
The game ball makes it easy to win the second start winning opening of the game.

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

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

また、払出制御装置580は、遊技球が一般入賞口44又は大入賞口に入賞した場合に
、入賞した入賞口に対応する数の遊技球の払い出し、又は球貸ボタン26が操作された場
合に、所定数の遊技球の払い出しを行う払出指令を遊技制御装置500から受信した場合
に、受信した払出指令に基づいて、図示しない払出モータを制御する。なお、払出指令に
は、払い出す遊技球の数が含まれる。
Further, the payout control device 580 pays out the game balls of the number corresponding to the winning opening that has won, or the ball lending button 26 is operated, when the gaming ball has won the general winning opening 44 or the large winning opening. When a payout command for payout of a predetermined number of gaming 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 gaming balls to be paid out.

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

図4は、本発明の第1の実施形態の演出制御装置550の構成を示すブロック図である
FIG. 4 is a block diagram showing the configuration of the effect control device 550 of 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 effect contents based on the game data (display control command) input from the game control device 500 and controls the display device 53 and the speaker 30, and also via the decoration control device 610. Decoration device 620, product drive SOL 560 (solenoid)
, And controls the accessory drive MOT (motor) 561. Although the details will be described later, the decoration device 620, the feature drive SOL 560, and the feature drive MOT 561 (collectively referred to as a rendering device)
An effect of the game is performed. Further, 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 effect control device 550 includes a CPU 551, a control ROM 552, a RAM 553 and an image ROM.
A sound ROM 555, a VDP 556, a sound LSI 557, an input / output I / F 558, a power on detection circuit 559, a master IC 570, and a NOR gate circuit 590 are provided.

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

制御ROM552には、演出制御のための不変の情報(プログラム、データ等)が格納
されている。RAM553は、演出制御時にワークエリアとして利用される。
The control ROM 552 stores invariable information (program, data, etc.) for effect control. The RAM 553 is used as a work area at the time of effect 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.
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 LSI 5
Reference numeral 57 denotes a circuit for controlling an audio output from the speaker 30.

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

入出力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, and the operation signal from the effect button 17 and the motor position detection signal from the motor position detection sensor 510. And the reset signal from the CPU 551 to the NOR gate circuit 590.

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

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

なお、NORゲート回路590は、マスタIC570のコントローラに備わるRESE
T端子、及び初期化を必要とする他の回路に接続される。初期化を必要とする他の回路と
は、例えば、VDP556や音LSI557などである。これらは、演出制御装置550
に電源が投入されて起動したときに、CPU551により初期化されるものである。
NOR gate circuit 590 is a reset circuit provided in the controller of master IC 570.
It is connected to the T terminal and other circuits that require initialization. The other circuits requiring initialization are, for example, the VDP 556 and the sound LSI 557. These are effect control devices 550
When the power is turned on to start 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 to one another via a bus 563.

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

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

なお、電源投入検出回路559からNORゲート回路590へ入力されるリセット信号
、及びCPU551から入出力I/F558を介してNORゲート回路590へ入力され
るリセット信号は、いずれの場合にもロウレベルの状態である場合にリセットを指令する
信号として機能する。そのため、電源投入検出回路559及びCPU551の少なくとも
一方からNORゲート回路590にリセット信号が出力されていれば、NORゲート回路
590を介してリセット信号がマスタIC570に入力される。
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 the low level state in either case. Functions as a signal instructing reset. Therefore, when 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 requiring initialization, when the reset is input to the NOR gate circuit 590, the master IC 570 and the NOR gate circuit 590 are reset. Other circuits requiring initialization to be connected are initialized.

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

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

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

マスタIC570は、接続線Vcc、接続線Vact、接続線SDA、接続線SCL、
及び接続線GND(図5参照)の5本の接続線を介して、中継基板(装飾制御装置)60
0に接続される。
Master IC 570 includes connection line Vcc, connection line Vact, connection line SDA, connection line SCL,
And the relay substrate (decorative control device) 60 via 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 a power supply for logic to the relay substrate 600 and the decoration control device 610. The connection line Vact is a connection line for supplying a power source for driving the rendering device (for example, a power source for emitting an LED). The connection line SDA is a connection line for communicating data between the effect control device 550 and the decoration control device 610,
It functions as a data line in the present embodiment. The connection line SCL is a connection line for inputting and outputting a clock signal used for data communication in the connection line SDA, and functions as a timing signal line in the present embodiment. Connection line GND shown in FIG. 5 is formed of connection line Vcc and connection line V.
It is the ground of the power supplied by act.

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

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

マスタIC570は、中継基板600及び装飾制御装置610にデータを送信する場合
には、まず、接続線SCLの信号レベルをHIGHに維持したまま、接続線SDAの信号
レベルをHIGHからLOWに変化させることにより、装飾制御装置610へのデータ出
力を開始するためのスタート条件を成立させる(装飾制御装置610に対してスタートコ
ンディションを発行する)。
When transmitting data to relay board 600 and decoration control device 610, master IC 570 first changes the signal level of connection line SDA from HIGH to LOW while maintaining the signal level of connection line SCL at HIGH. Thus, the start condition for starting data output to the decoration control device 610 is satisfied (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に戻す。
After this, master IC 570 changes the signal level of connection line SCL to LOW, and connection line S
While the signal level of CL 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 changes 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, one bit of data is transmitted from the master IC 570 to the decoration control device 610, and by repeating this procedure eight times finally, all eight bits which are unit bits of the transmission data become the master. It is transmitted from IC 570 to decoration control unit 610 (one byte of data is transmitted).

そして、マスタIC570は、最後の8ビット目のデータを送信し終えて、接続線SC
Lの信号レベルをHIGHからLOWに戻した際に、接続線SDAを解放して装飾制御装
置610からの返答信号を受信することを待機する受信待機状態にする。
Then, master IC 570 completes transmission of the last eighth bit data, and connection line SC
When the signal level of L is returned from HIGH to LOW, the connection line SDA is released to be in a reception standby state to wait 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を解放する。
When 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. Then, master IC 5
70 changes the signal level of the connection line SCL from LOW to HIGH to capture the level of the response signal, and changes the signal level of the connection line SCL from HIGH to LOW after a predetermined time, the decoration control device 610 detects the connection line SDA. Release

マスタIC570は、このような1バイト分のデータ送信と1ビット分の返答信号の受
信とを交互に繰り返し、装飾制御装置610へ出力すべきデータがすべて出力されるまで
継続する。マスタIC570は、出力すべきデータの出力が終了した場合には、接続線S
CLの信号レベルをHIGHに維持したまま、接続線SDAの信号レベルをLOWからH
IGHに変更させることにより、装飾制御装置610へのデータ出力を終了するためのス
トップ条件を成立させる(装飾制御装置610に対してストップコンディションを発行す
る)。
Master IC 570 alternately repeats such 1-byte data transmission and 1-bit response reception, and continues until all data to be output to decoration control device 610 is output. When output of data to be output is completed, master IC 570
The signal level of the connection line SDA is changed from LOW to H while keeping the signal level of CL 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 for temporarily storing 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 511 with the 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 in the present embodiment, is connected to the bus 563, receives a command from the CPU 551, and outputs a reset signal to the controller. The controller generally controls the master IC 570 to execute various processes.

送信モードREG574は、I2CI/Oエクスパンダ615へデータを送信するモー
ドを、バイトモード又はバッファモードにするかを選択するためのレジスタである。
The transmission mode REG 574 is a register for selecting whether to set the mode for transmitting data to the I 2 CI / O expander 615 to 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 transfers 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 the master IC 570 outputs an interrupt signal to the CPU 551 regardless of whether the ACK or NACK is received.

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

但し、バッファモードでは、ACKを受信した場合には、出力用BUF572に格納さ
れたすべてのデータが送信完了となった場合にのみ、割込信号をCPU551に出力し、
マスタIC570は、出力用BUF572に未送信のデータが残っている状態でI2CI
/Oエクスパンダ615からACKを受信したときには、割込信号をCPU551に出力
せずに、出力用BUF572から次の送信すべきデータを取り出して、I2CI/Oエク
スパンダ615へ出力する制御が繰り返される。
However, in the buffer mode, 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 can not perform I 2 CI with unsent data remaining in output BUF 572.
When an ACK is received from the / O expander 615, the control for taking out the next data to be transmitted from the output BUF 572 without outputting an interrupt signal to the CPU 551 and outputting it to the I 2 CI / O expander 615 is 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 to be 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 an ACK or a NACK. When outputting an interrupt signal to CPU 551, master IC 570 sets the value of status REG 579 in response to the response signal received from I 2 CI / O expander 615.

フィルタ575Aは、接続線SDAから入力されたデータのノイズを除去する。ドライ
バ576Aは、接続線SDAからデータを出力する場合に、トランジスタ578Aが動作
可能な電圧をトランジスタ578Aに印加する。
The filter 575A removes noise of 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に接続され、ソースは
接地されている。
Transistor 578A uses a field effect transistor (FET) to reduce power consumption, the gate of transistor 578A is connected to driver 576A, and the drain is a connection line SDA to which a predetermined voltage is applied by a 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 transistor 578A is smaller than the predetermined value for operating transistor 578A, no current flows between the drain and the source.
The applied voltage does not drop, and as a result, the connection line SDA goes high. on the other hand,
If the voltage applied to the gate of the transistor 578A is equal to or higher than the predetermined value for operating the transistor 578A, the current flows from the drain to which the voltage of the predetermined value is applied to the source grounded, whereby the voltage of the connection line SDA As a result, connecting line SDA is LOW.
It becomes a level.

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

ドライバ576Aは、データを接続線SDAから出力する場合に、トランジスタ578
Aにドレインとソースとの間に電流を流すためにトランジスタ578Aのゲートにトラン
ジスタ578Aが動作可能な値の電圧を印加する。そして、ドライバ576Aは、接続線
SDAの電圧を、HIGHレベル又はLOWレベルに設定することによって、データを接
続線SDAから出力する。
When driver 576A outputs data from connection line SDA, transistor 578
In order to cause current to flow between the drain and the source in A, a voltage of an operable value 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 the HIGH level or the LOW level.

また、フィルタ575Bは、接続線SCLから入力されたデータのノイズを除去する。
ドライバ576Bは、接続線SCLからデータを出力する場合に、トランジスタ578B
が動作可能な電圧をトランジスタ578Bに印加する。
In addition, the filter 575B removes noise of data input from the connection line SCL.
When driver 576 B outputs data from connection line SCL, transistor 578 B
Apply an operable voltage 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 reduce 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 transistor 578B is smaller than the predetermined value for operating transistor 578B, no current flows between the drain and the source.
The applied voltage does not drop, as a result, the connection line SCL goes high. on the other hand,
If the voltage applied to the gate of the transistor 578B is equal to or higher than the predetermined value for operating the transistor 578B, a current flows from the drain to which the voltage of the predetermined value is applied to the source grounded, whereby the voltage of the connection line SCL As a result, connecting line SCL is LOW.
It becomes a level.

なお、トランジスタ578Bは、10ミリアンペア程度の電流をドレインからソースへ
流しても破損しない仕様のものを用いている。そのため、接続線SCLには、通常のI2
Cバス使用で用いられる電流値よりもはるかに大きい10ミリアンペア程度の電流を流す
ことが可能であり、演出制御装置550と装飾制御装置610との間のデータ送信が、ノ
イズによる障害に耐えうる構成となっている。
Note that the transistor 578B has a specification which is not damaged even when a current of about 10 milliamperes flows from the drain to the source. Therefore, the connection line SCL is usually I 2
A current of about 10 milliamperes which is much larger than the current value used in the C bus use can be supplied, and data transmission between the presentation control device 550 and the decoration control device 610 can withstand noise interference. 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 an operable value to the gate of the transistor 578B in order to flow a current between the drain and the source in the transistor 578B. And driver 576B is
A clock signal is output from the connection line SCL by repeatedly changing the voltage of the connection line SCL between the high level and the low level.

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

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

なお、中継基板600は、装飾制御装置610のうちマスタIC570に直接接続され
る、つまり最も上流側に位置するものである。
The relay substrate 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 produces light by flashing light when current flows. And so on. The accessory driving solenoid (SOL) 560 is a device that reciprocates when a current flows, and moves an accessory for decoration (not shown) disposed on the game board 10 to perform rendering. The accessory driving motor (MOT) 561 is a device that rotates when a current flows, and causes the movable antenna 60 to move for effect. Feature drive solenoid (SOL
) 560 and the character drive motor (MOT) 561 are also provided in the decoration control device 610 with I 2 CI.
/ O expander 615 controls.

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

演出制御装置550と中継基板600との接続方法、及び中継基板600と中継基板6
00以外の装飾制御装置610との接続方法は、図5で詳細を説明する。装飾制御装置6
10は、図6〜図10で詳細を説明する。
A method of connecting the effect control device 550 and the relay substrate 600, and the relay substrate 600 and the relay substrate 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 connection of the decoration control devices 610A to 610F according to the first embodiment of this invention. Although one relay board 600 and six decoration control devices 610A to 610F are illustrated as the decoration control device 610 for convenience of explanation, in actuality, it is necessary to correspond to the specification of the gaming machine. A number of decoration control devices 610 are connected.

演出制御装置550は、接続線Vcc、接続線Vact、接続線SDA、接続線SCL
、及び接続線GND(以下、この5本の接続線を一つのハーネスという)を介して演出制
御装置550と接続される。
The effect 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 are connected to the effect control device 550.

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

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

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

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

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

演出制御装置550は、遊技制御装置500から入力された遊技データに基づいて、演
出装置の出力態様を決定する。そして、演出制御装置550は、決定された出力態様とな
るように、制御対象となる装飾制御装置610の個別アドレス(I2CI/Oエクスパン
ダ615の個別アドレス)を含む演出制御データ(演出制御情報)を中継基板600に出
力する。このとき、演出制御データは、中継基板600を介して演出制御装置550に接
続されるすべての装飾制御装置610に対して接続線SDAから出力される。このため、
マスタIC570は、マスタIC570に接続されるすべての装飾制御装置610を制御
可能である。
Based on the game data input from game control device 500, effect control device 550 determines the output mode of the effect device. Then, the effect control device 550 includes effect control data (effect 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) such 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 substrate 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 a rendering device, so the LED
The light emission aspect of corresponds to the output aspect of the effect device. In this case, the effect control data causes LE to
The lighting / blinking / lighting out of D is instructed, and at the same time, the blinking cycle of the LED and the lighting luminance are also instructed.

各装飾制御装置610には、一意な個別アドレスが予め設定されているので、演出制御
データが入力されると、入力された演出制御データに含まれるアドレスと設定されている
個別アドレスとが一致するか否かを判定する。そして、入力された演出制御データに含ま
れるアドレスと設定されている個別アドレスとが一致すると判定された場合には、装飾制
御装置610のI2CI/Oエクスパンダ615は、演出制御データを取り込んで、対応
する装飾装置620の出力態様を制御するとともに、8ビット目のデータが入力された直
後に返答信号をマスタIC570に出力する。
Since unique individual addresses are set in advance in each decoration control device 610, when the effect control data is input, the address included in the input effect control data matches the individual address set. It is determined whether or not. When 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 takes in the effect control data. Then, while controlling the output mode of the corresponding decoration device 620, immediately after the data of the 8th bit is input, the reply signal is output to the master IC 570.

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

演出制御装置550は、装飾制御装置610(正確には、装飾制御装置610のI2
I/Oエクスパンダ615)を初期化する場合に、このリセット用の共通アドレスを含ん
だ初期化指示データを、中継基板600に出力する。このとき、初期化指示データ演出制
御データは、中継基板600を介して、演出制御装置550に接続されるすべての装飾制
御装置610に対して接続線SDAから出力される。
The presentation 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 this reset is output to the relay substrate 600. At this time, the initialization instruction data presentation control data is output from the connection line SDA to all the decoration control devices 610 connected to the presentation control device 550 via the relay substrate 600.

各装飾制御装置610には、リセット用の共通アドレスが予め設定されているので、入
力されたデータに含まれるアドレスと、予め設定されているリセット用の共通アドレスと
が一致するか否かを判定する。入力されたデータに含まれるアドレスと、予め設定されて
いるリセット用の共通アドレスとが一致すると判定された場合には、装飾制御装置610
のI2CI/Oエクスパンダ615は、返答信号をマスタIC570に出力するとともに
、入力されたデータを初期化指示データとして取り込み、I2CI/Oエクスパンダ61
5自身を初期化する。
Since a reset common address is preset in each decoration control device 610, it is determined whether the address included in the input data matches the preset reset common address. Do. If it is determined that the address included in the input data matches the preset reset common address, the decoration control device 610
The I 2 CI / O expander 615 outputs a response signal to the master IC 570, and takes in input data as initialization instruction data, and 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
がスレーブである。
Thus, since the decoration control device 610 performs control based on a command from the effect control device 550, the master IC 570 of the effect control device 550 is the master in the relationship between the effect control device 550 and the decoration control device 610, I 2 CI / O Expander 615 of Decoration Controller 610
Is the slave.

図5では、装飾制御装置610の制御対象が装飾装置620である場合について説明し
たが、装飾制御装置610の制御対象が役物駆動SOL560や役物駆動MOT561で
あってもよい。この場合、演出装置がモータやソレノイドなどの駆動源となることから、
これらの駆動源の動作態様が、演出装置の出力態様に相当することになる。この場合、演
出制御データによって、駆動源の作動/停止が指示され、同時に動作速度も指示される。
Although FIG. 5 describes the case where the control target of the decoration control device 610 is the decoration device 620, the control target of the decoration control device 610 may be the gift driving SOL 560 or the gift driving MOT 561. In this case, the effect device is 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, the effect control data instructs the operation / stop of the drive source and at the same time the operation speed.

図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 at the lower side of FIG. 6) including the LED that is the decoration device 620 inside the decoration control device 610 and the decoration control device 610 connected to the external decoration device 620 (The decoration control device 610 at the center of FIG. 6) will be described.

まず、装飾制御装置610の内部にLEDを備える装飾制御装置610について説明す
る。
First, the decoration control device 610 including the LED 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 an LED (decorative 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 /
O expander 615 is connected.

また、I2CI/Oエクスパンダ615の出力側には、制御対象となる装飾装置620
が接続される。I2CI/Oエクスパンダ615の出力側は、図7で説明するポート0〜
15によって構成される。さらに、装飾制御装置610のすべてのポートが、図8Aで後
述する電流制限抵抗R0〜R15を介して、内部のLEDに接続されている。なお、この
電流制限抵抗R0〜R15も、装飾制御装置610に備えられている。
In addition, on the output side of the I 2 CI / O expander 615, the decoration device 620 to be controlled
Is connected. The output side of the I 2 CI / O expander 615 is connected to the port 0 described in FIG.
It is comprised by 15. Furthermore, all ports of the decoration control device 610 are connected to the internal LEDs via current limiting resistors R0 to R15 described later in FIG. 8A. The current limiting resistors R0 to R15 are also included 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 includes the address included in the effect control data input from the effect control device 550 and the individual address set in the I 2 CI / O expander 615. Only when it matches, the decoration device 620 connected to the I 2 CI / O expander 615 is controlled based on the decoration data included in the presentation 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.
It corresponds to the power supply for making LED light-emit).

次に、外部の装飾装置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 decoration control device 610 in the center of FIG. 6 includes an I 2 CI / O expander 615 and an LED (decorative device 20), and supplies current to the LED provided on the decorative 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 via the connection line for supplying the power supply voltage Vled to the LED of the decoration device substrate 625 and the connection line grounded to the ground.

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

なお、装飾装置基板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 causing current to flow to the decoration device substrate 625 is determined corresponding to the number of LEDs provided on the decoration device substrate 625. . For example, if the decor substrate 625 is equipped with two LEDs, then I 2 CI
Two control lines for connecting the port of the / O expander 615 to 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
An address included in the effect control data input from the effect control device 550 and the I 2 CI
Controls the decoration device 620 connected to the I 2 CI / O expander 615 based on the decoration data included in the presentation control data only when the individual address set in the / O expander 615 matches. Do. In this case, both the decoration device 620 provided in the central decoration control device 610 and the decoration device 620 provided in the decoration device substrate 625 are I 2 CI /
It is controlled by O expander 615.

このように、装飾装置基板625を設けて、装飾制御装置610から一部の装飾装置(
LED)を分離させることで、離れた箇所に配置されたLEDであっても、共通のI2
I/Oエクスパンダ615により制御することができる。
Thus, the decoration device substrate 625 is provided to
Even if the LEDs are placed at a distant place by separating the LEDs), 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 gift drive SOL 560 and the gift drive MOT 561 instead of the decoration device 620, but the 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 of the first embodiment of the present 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.
Filter 631 connected to connection line SDA, driver 632 connected to 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 to 15 on the output side of the I 2 CI / O expander 615, each port 0 Transistor 63 connected to
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 the data input from the connection line SDA, and outputs the data from which the noise is 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 (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.

トランジスタ630は、電力消費を抑えるために電界効果トランジスタ(FET)が用
いられており、トランジスタ630のゲートはドライバ632に接続され、ドレインはプ
ルアップ抵抗R(図4参照)により所定の電圧が印加された接続線SDAに接続され、ソ
ースは接地されている。
The transistor 630 uses a field effect transistor (FET) to reduce power consumption, the gate of the transistor 630 is connected to the driver 632 and the drain is applied with a predetermined voltage by the pull-up resistor R (see FIG. 4). 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 the predetermined value for operating the transistor 630, no current flows between the drain and the source. Meanwhile, transistor 6
If the voltage applied to the gate of 30 is equal to or greater than the predetermined value for operating the transistor 630,
When a current flows from the drain to which the voltage of a predetermined value is applied to the source grounded, the voltage of the connection line SDA decreases. Note that the transistor 630 has a specification which is not broken 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から出力する。
The driver 632 applies a voltage having an operable value of the transistor 630 to the gate of the transistor 630 in order to flow current between the drain and the source in the transistor 630 when outputting data (a response signal) from the connection line SDA. Do. Then, 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 the noise is 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. Furthermore, an address for resetting the I 2 CI / O expander 615 is also preset.

バスコントローラ634は、接続線SDAから入力されたデータのアドレスがI2CI
/Oエクスパンダ615に設定された固有のアドレスと一致するか否かを判定し、一致し
ている場合に当該データを演出制御データとして取り込む。
The bus controller 634 sets the address of the data input from the connection line SDA to 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 taken as effect control data.

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

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

出力設定レジスタ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 takes in initialization instruction data from the connection line SDA and the I 2 CI / O expander 615 is initialized, the output setting register 635 causes current to flow to all the ports 0-15. It is set to the initial state so as not to.

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

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

トランジスタ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 It is done.

トランジスタ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
If it is smaller than the 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 the predetermined value for operating the transistor 638, the predetermined voltage applied to the gate from the power supply Vled shown in FIG. 8A or the power supply Vmot shown in FIG. When the voltage of the current flows through the drain of the transistor 638 to the grounded source, the output state of the rendering device connected to the port terminal can be controlled.

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

そして、各装飾制御装置610に備わるI2CI/Oエクスパンダ615同士は、互い
に異なる個別アドレスが割り当てられているので、演出装置が複数のグループに分割され
た形態となっている。即ち、各装飾制御装置610に備わるI2CI/Oエクスパンダ6
15は、演出装置をグループ単位で制御可能なグループ単位制御手段として構成されてい
るものである。
And since I 2 CI / O expanders 615 provided 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
Reference numeral 15 is configured as group unit control means capable of controlling the rendering device in group units.

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

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

リセット信号発生回路639は、I2CI/Oエクスパンダ615に電源が投入され、
電圧が所定値まで立ち上がった場合、リセット信号を発生させ、発生させたリセット信号
をバスコントローラ634、出力設定レジスタ635、及び出力コントローラ636に入
力する。
The reset signal generation circuit 639 supplies power 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にプルアップされていてもよい。
Since the reset signal generation circuit 639 outputs a reset signal when a low level reset signal is externally input, 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, RESE 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 this invention.

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

RESET端子には、プルアップ抵抗Rを介してI2CI/Oエクスパンダ615に供
給される電源が接続されている。このため、リセット端子に印加される電圧は常にHIG
Hに維持されている。
The power supply supplied to the I 2 CI / O expander 615 via the pull-up resistor R is connected to the RESET terminal. Therefore, 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が接続される。
The 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」が設定される。
Terminals A0 to A3 are terminals for setting an address unique to the I 2 CI / O expander 615. The address of the I 2 CI / O expander 615 is usually expressed by 4 bits, and when the power of the I 2 CI / O expander 615 is applied to this terminal, “1” is given to the bus controller 634. When set, if this terminal is connected to ground, the bus controller 634 is set to "0".

したがって、図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を接続してもよい。
The PORT0 to PORT15 terminals are connected to the LEDs via the current limiting resistors R0 to R15.
It is connected to a decoration device 620 consisting of 0 to 15 LEDs. As in PORT0, one LED may be connected to one port, but as in PORT 1-15, port 1
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を制御できることになる。
If one LED is provided for every port, one I 2 CI / O expander 61
5 will allow up to 16 LEDs to be controlled. In addition, when the number of LEDs connected to each port is different, if all LEDs connected in series to one port are one type of LED, one I 2 CI / O expander With 615, up to 16 types 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. Becomes possible,
A current flows through the LEDs 0 to 15 connected to the PORT 0 terminal to the PORT 15 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 in the LEDs 0 to 15 and the LEDs 0 to 15 do not light.

なお、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 are L
Since a motor or a solenoid can be connected instead of the ED, a case where the motor or the solenoid is driven using the I 2 CI / O expander 615 will be described.

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

役物駆動MOT561はステッピングモータにより構成され、ステッピングモータを駆
動する各相の信号端子に、所定の電圧を順次印加することで回動する。本実施形態では、
役物駆動MOT561の各相の信号端子が、PORT0端子〜PORT3端子に接続され
る。
The accessory driving MOT 561 is configured by a stepping motor, and rotates by sequentially applying a predetermined voltage to signal terminals of respective phases that drive the stepping motor. In the present embodiment,
The signal terminals of each phase of the bonus drive MOT 561 are 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 gate of the transistors 638A to 638D connected to the PORT0 terminal to the PORT3 terminal connected to the product driving MOT 561, the voltage applied to the transistors 638A to 638D The current can flow from the drain to the source, and the current flows to the accessory driving MOT 561 connected to the PORT0 terminal to the PORT3 terminal, and the accessory driving MOT 561 is driven.

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

また、PORT端子15は、役物駆動SOL560に接続される。役物駆動SOL56
0に接続されているPORT15端子に接続されるトランジスタ638Pのゲートに対し
てドライバ637から電圧が印加されると、電圧が印加されたトランジスタ638Pのド
レインからソースへ電流が流れることが可能になり、PORT15端子に接続される役物
駆動SOL560に電流が流れ、役物駆動SOL560が駆動する。
In addition, the PORT terminal 15 is connected to the bonus drive SOL 560. Feature drive SOL 56
When a voltage is applied from the driver 637 to the gate of the transistor 638P connected to the PORT 15 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 in the item drive SOL 560 connected to the PORT 15 terminal, and the item drive 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 only at least one of the MOT 561 and the item drive SOL 560 is connected may be used.

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

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

中継基板600は、上流コネクタ601、二つの下流コネクタ602A、602B、及
びI2CI/Oエクスパンダ615を備える。
The relay substrate 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 substrate 600, and the connectors 602 A and 602 B are connected to the decoration control device 610 downstream of the relay substrate 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 into a first connection line SDA921 and a second connection line SDA931 at a branch 901. The first connection line SDA 921 is connected to the downstream connector 602A, and the second connection line SDA 931 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 SCL 912 extending from the upstream connector 601 branches at a branch 902 into a first connection line SCL 922 and a second connection line SCL 932. The first connection line SCL 922 is connected to the downstream connector 602A, and the second connection line SCL 932 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
The branch 931 branches at a branch 903, and the branched second connection line SDA 931 is connected to the SDA terminal shown in FIGS. 8A and 8 of the I 2 CI / O expander 615. Also, I 2
In order to connect to the CI / O expander 615, the second connection line SCL 932 branches at branch 904, and the branched second connection line SCL 932 is the 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参照)が出力されている。
The I 2 CI / O expander 615 is supplied with a voltage Vcc which is a power supply voltage of the I 2 CI / O expander 615. Also, although not shown in FIG. 9, I 2 CI /
The O expander 615 outputs signal lines (see FIG. 8A) of ports 0 to 15 for driving the LEDs (decorative device 200) provided on the relay substrate 600.

また、I2CI/Oエクスパンダ615は、第2接続線SDA931及び第2接続線S
CL932が接続されるとしたが、第1接続線SDA921及び第1接続線SCL922
に接続されてもよい。
In addition, the I 2 CI / O expander 615 includes the second connection line SDA 931 and the second connection line S.
Although it is assumed that the CL 932 is connected, the first connection line SDA 921 and the first connection line SCL 922
It may be connected to

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

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

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

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

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

このため、内部接続線SCL912に印加された所定以上の電圧(例えば、パルス性の
ノイズ信号)は、ツェナダイオードZD942によって逃がされる。
For this reason, a voltage (for example, a pulse noise signal) higher than a predetermined voltage 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 substrate 600 to the decoration control device 610 connected to the downstream connector 602A via the connection line SDA, and the downstream connector 602A
The I 2 CI / O expander 615 of the relay board 600 from the decoration control device 610 connected to
In order to remove noise of the signal input through connection line SDA, first connection line SDA9
The Zener diode ZD943 is connected to the reference numeral 21.

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

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

また、第1接続線SDA921に接続されるツェナダイオードZD943と同じく、第
2接続線SDA931にもツェナダイオード945が接続される。
Further, 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が接続されている。
In addition, in order to remove noise of a signal input from the I 2 CI / O expander 615 of the relay substrate 600 to the decoration control device 610 connected to the downstream connector 602A via the connection line SCL, the first connection line SCL922 Zener diode ZD 944 is connected to.

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

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

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

また、マスタIC570に接続される上流側の接続線SDA、及び装飾制御装置610
に接続される下流側の接続線SDAの電圧をプルアップするためのプルアップ抵抗R95
1が、第1接続線SDA921に接続される。同じく、マスタIC570に接続される上
流側の接続線SCL、及び装飾制御装置610に接続される下流側の接続線SCLの電圧
をプルアップするためのプルアップ抵抗R952が、第1接続線SDA922に接続され
る。
Also, 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 SDA 921. 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 connected to the first connection line SDA922. Connected

具体的には、第1接続線SDA921は分岐909で分岐し、分岐した第1接続線SD
A921はプルアップ抵抗R951に接続される。同じく第1接続線SCL922は分岐
910で分岐し、分岐した第1接続線SCL922はプルアップ抵抗R952に接続され
る。
Specifically, the first connection line SDA 921 branches at a branch 909, and the branched first connection line SD
A 921 is connected to pull-up resistor R 951. 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を供給できる箇所で
あれば、どこでもよい。
Note that a pull-up resistor 951 pulls up the voltage of the connection line SDA and the connection line SCL,
The relay substrate 600 may not be provided 952, but may be provided in the master IC 570, or may be provided in the decoration control device 610 other than the relay substrate 600. In short, it may be anywhere as long as the voltage Vcc can be supplied to the terminal of the drain of the transistor driving 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 that supplies power supply voltage to I 2 CI / O expander 615 of relay board 600
The internal connection line Vcc 971 extending from the Vcc terminal of the upstream connector 601 connected to and the internal connection line GND 972 extending from the GND terminal of the upstream connector 601 and grounded are:
It is connected via the smoothing capacitor C 961 and the 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 of the voltage of the power supply.

このため、中継基板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 substrate 600 is smoothed by the smoothing capacitor C 961 and the noise is removed by the bypass capacitor 962 to obtain the I 2 CI / O expander. It is supplied to 615.

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

図10は、本発明の第1実施形態の装飾制御装置610の入出力に関する接続線の回路
図である。
FIG. 10 is a circuit diagram of connection lines regarding input and 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 substrate 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 connection line SDA to I 2 CI / O expander 615, internal connection line SDA
1011 is branched at 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. Also, connection line SCL
In order to connect the I 2 CI / O expander 615, the internal connection line SCL1012 branches at a branch 1002, and the branched internal connection line SCL1012 is a 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参照)が出力されている。
The I 2 CI / O expander 615 is supplied with a voltage Vcc which is a power supply voltage of the I 2 CI / O expander 615. Although not shown in FIG. 10, I 2 CI
LED relating to the decoration control device 610 (decorative device 20)
Signal lines (see FIG. 8A) of ports 0 to 15 for driving 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.
A signal shown in FIG. 10 from an upstream decoration control device 610 or relay board 600 connected to the upstream connector 611 and a signal output via the connection line SDA to the upstream decoration control device 610 or relay board 600 connected to 11. In order to remove noise of a signal input to I 2 CI / O expander 615 of control device 610 through connection line SDA, internal connection line SDA 101.
The Zener diode ZD1041 is connected to 1.

具体的には、内部接続線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 pulsating noise signal) applied to the internal connection line SDA1011 is exceeded by the Zener diode ZD1041.

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

具体的には、内部接続線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によって逃がされる。
Therefore, a voltage (for example, a pulse noise signal) higher than a predetermined voltage applied to the internal connection line SCL1012 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.
A signal output to the downstream decoration control device 610 connected to 12 via the connection line SDA, and 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 In order to remove noise of a signal input to the expander 615 via the connection line SDA, a Zener diode ZD1043 is connected to the internal connection line SDA1011.

具体的には、内部接続線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によって逃がされる。
Therefore, a voltage (for example, a pulse noise signal) higher than a predetermined voltage 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が接続されている。
Also, in order to remove noise of a signal input via connection line SCL from I 2 CI / O expander 615 of decoration control device 610 shown in FIG. 10 to decoration control device 610 downstream connected to downstream connector 612. In the internal connection line SCL1012, the Zener diode ZD1
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によって逃がされる。
Therefore, a voltage (for example, a pulse noise signal) higher than a predetermined voltage applied to the internal connection line SCL1012 is released by the Zener diode ZD1044.

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

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

また、下流コネクタ612のVcc端子から延びる内部接続線Vcc1073と、GN
D端子から延びる内部接続線GND1074とは、平滑コンデンサC1061及びバイパ
スコンデンサ1062を介して接続されている。
Also, 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 the smoothing capacitor C 1061 and the bypass capacitor 1062.

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

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

固定アドレス部1101は、「110」が予め設定されていて、I2CI/Oエクスパ
ンダ615が変更できないアドレスである。
The fixed address portion 1101 is an address in which “110” is set in advance and the I 2 CI / O expander 615 can not change.

可変アドレス部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 a slave address of the decoration control device 610 designated as a target of transmission and reception by the effect control device 550. The slave address is, as described above with reference to FIG. 13, a fixed address portion consisting of upper 3 bits and a 4-bit I 2 CI /
It is configured by combining the O expander address and 1-bit R / W identification data.

2CI/Oエクスパンダアドレス1202には、図8Aや図8Bで前述したように、
各スレーブアドレスに対応する4ビットのI2CI/Oエクスパンダアドレスが登録され
る。
As described above with reference to FIGS. 8A and 8B, the I 2 CI / O expander address 1202
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” can not be used as unique addresses for mutually identifying the respective I 2 CI / O expanders 615.

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

このように、装飾制御装置610のI2CI/Oエクスパンダ615に設定可能な固有
アドレスは14個であるために、演出制御装置550は、14個のI2CI/Oエクスパ
ンダ615を制御できる。また、一つの装飾制御装置610は、PORT0〜PORT1
5を備えるので、16個(言い換えれば16種類)のLEDを制御できる。よって、演出
制御装置550は、224個(言い換えれば224種類)のLEDを制御できる。
Thus, 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 presentation control device 550 controls the 14 I 2 CI / O expander 615. it can. In addition, one decoration control device 610 includes PORT0 to PORT1.
Since 5 is provided, 16 (16 in other words) LEDs can be controlled. Thus, the effect control device 550 can control 224 LEDs (in other words, 224 types).

図13は、本発明の第1の実施形態のI2CI/Oエクスパンダ615に備わる出力設
定レジスタ635(図7参照)に割り当てられたワークレジスタを説明するための図であ
る。
FIG. 13 is a diagram for describing a work register assigned to the output setting register 635 (see FIG. 7) provided 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) It stores information for specifying an aspect. The control register also stores information that defines the procedure for writing data to the work register.

なお、図13に示すように、ワークレジスタは、複数の情報を異なる記憶領域に分散し
て記憶する構成となっており、各記憶領域毎に異なるレジスタ番号が付与されている。
As shown in FIG. 13, the work register is configured to distribute and store a plurality of pieces of information 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 where the register number is "00h", and a register name "MODE2" is assigned to the storage area where the register number is "01h" There is. When values are written to the storage areas of register numbers “00h” and “01h”, initialization of the I 2 CI / O expander 615 is performed 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 area where the register number is “02h” to “11h”, “PWM 0” to “PWM”
The register name "15" is given. When a value is written to 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 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 to the storage area of the register number “02h”, the brightness of the LED 0 connected to the port 0 shown in FIG. 8A is adjusted.

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

また、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 number 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 given to the storage area having the register number "12h", and a register name "GRPFREQ" is given to the storage area having the register number "13h". When values are written in the storage areas of the register numbers “12h” and “13h”, the blinking patterns of the entire LEDs (16 LEDs) are set based on the written values.

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

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

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

レジスタ番号が「16h」となる記憶領域には、「LEDOUT2」というレジスタ名
が付与されている。レジスタ番号「16h」の記憶領域に値が書き込まれると、書き込ま
れた値に基づいて、LED8〜LED11の出力状態が設定される。
The register name "LEDOUT2" is assigned to the storage area where the register number is "16h". When a value is written to 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の出力状態が設定される。
The register name "LEDOUT3" is assigned to the storage area where the register number is "17h". When a value is written to 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 area where the register number is “18h” to “1Ah”, “SUBADR1” to
The register name "SUBADR3" is given. Register number “18h” to “1A
When a value is written to the storage area “h”, the first sub-address
The third subaddress is set.

レジスタ番号が「1Bh」となる記憶領域には、「ALLCALLADR」というレジ
スタ名が付与されている。レジスタ番号「1Bh」の記憶領域に値が書き込まれると、書
き込まれた値に基づいて、オールコールアドレスが設定される。
The register name "ALLCALLADR" is assigned to the storage area where the register number is "1 Bh". When the value is written to the storage area of the register number "1Bh", the 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 the connection line SDA and the connection line SC.
It is explanatory drawing of the start condition and stop condition of the data output via L. FIG.

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

接続線SDAは、データの非送信時に信号レベルがHIGHになっており、接続線SC
Lのクロック信号に合わせて接続線SDAからデータが出力される。
Connection line SDA has a signal level HIGH when data is not transmitted, and 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に変化させることで、データの出力が開始するこ
とを示すスタート条件となる信号を出力する。
Master IC 570 keeps connection signal S high while keeping the signal level at connection line S high.
By changing the signal level of DA 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 has 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に変化させることで、データの出力が終了するこ
とを示すストップ条件を示す信号を出力する。
Master IC 570 keeps connection signal S high while keeping the signal level at connection line S high.
By changing the signal level of DA from LOW to HIGH, a signal indicating a stop condition indicating that the output of data ends is output.

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

図15は、本発明の第1の実施形態のマスタIC570から出力されたデータが入力さ
れた装飾制御装置610が返答信号を出力するタイミングチャートである。
FIG. 15 is a timing chart in which the decoration control device 610 to which data output from the master IC 570 according to the first embodiment of this 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 before the start condition is satisfied and immediately before the number of times of change in the signal level of the connection line SCL reaches nine. In other words, the decoration control device 610 receives the data of the 8th bit from the connection line SDA, and then, when the signal level of the connection line SCL changes from HIGH to LOW, a response signal is sent via the connection line SDA. Output.

なお、図に示すように、データの受信に成功したことを示す返答信号(ACKの返答信
号)はLOWレベルによって示され、データの受信に失敗したことを示す返答信号(NA
CKの返答信号、図ではACK出力なしに相当)はHIGHレベルによって示される。
As shown in the figure, a response signal (ACK response signal) indicating that data reception was successful is indicated by a LOW level, and a response signal (NA) indicates that data reception failed.
The CK response signal (corresponding to no ACK output in the figure) is indicated by the 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 the input of the response signal from the decoration control device 610 by releasing the connection line SDA. Then, while releasing connection line SDA, master IC 570 changes the signal level of connection line SCL, and takes in the response signal from 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 to output data, master IC 570 changes the signal level of connection line SDA from HIGH to LOW while maintaining the signal level of connection line SCL to a signal indicating a start condition. And notify the decoration control device 610 that data is to be output from this.

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

そして、マスタIC570は、接続線SCLの信号レベルが9回目にHIGHになると
きに、装飾制御装置610から返答信号が入力されるので、ACKの返答信号であれば接
続線SDAの信号レベルがLOWに変化し、NACKの返答信号であれば接続線SDAの
信号レベルがHIGHに変化する。
Then, the master IC 570 receives a response signal from the decoration control device 610 when the signal level of the connection line SCL goes high for the ninth time, so if it 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 the output of the address data, the master IC 570 outputs the data as a multiple of eight bits. After outputting the 8th bit of data, the master IC 570 waits for an ACK response signal to be input, and outputs the 9th bit of data. Thereafter, when data of bits corresponding to multiples of 8 is output, after confirming that an ACK response signal is input,
Output a multiple of 8 plus 1) th bit and repeat until all data is output.

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

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

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

図17は、本発明の第1の実施形態のマスタIC570が、スレーブの個別アドレスを
指定して装飾制御装置610に演出制御データを設定する場合において、マスタIC57
0とI2CI/Oエクスパンダ615との間で授受されるデータのフォーマットを説明す
る図である。
FIG. 17 shows a case where the master IC 570 according to the first embodiment of the present invention specifies the slave's individual address and sets the effect control data in the decoration control device 610.
FIG. 10 is a diagram for explaining the format of data exchanged between 0 and the 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 to be output first includes the address “A0 to A6” of the decoration control device 610 to be subjected to data transmission and a 1-bit R indicating whether the data is a read request or a write request. / W identification data is included. This address “A0
Of A6, "A4 to A6" is a fixed address portion having a value "110", and "A0 to A
“3” corresponds to the address set to the terminals A0 to A3 of the I 2 CI / O expander 615 (see FIG. 8). This data 1801 corresponds to "ADRESS" in FIG.
And “R / W”.

次に、出力される8ビットのデータ1802には、I2CI/Oエクスパンダ615の
出力設定レジスタ635(図7参照)に割り当てられているコントロールレジスタへの設
定データが含まれる。このデータ1802は、図16において1番目に送信される「DA
TA」に対応するものである。
Next, 8-bit data 1802 to be output includes setting data to 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 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 consists of 8 bits, and the upper 3 bits "AI0 to AI2" are automatic write parameters that specify the method of writing to or reading from the work register of the output setting register 635. The lower 5 bits "D0"
".About.D4" is a register address specifying the access start position (the start position to start writing or the start position to start reading) in the work register.

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

自動書込パラメータに「000」の値を設定すると、オートインクリメントが禁止され
、レジスタアドレスが指定するアクセス開始位置の領域のみにアクセスし、開始位置以外
の領域にはアクセスしない。例えば、レジスタアドレスが「10100」であれば、レジ
スタ番号が「14h」となる記憶領域のみにアクセスし、他の記憶領域にはアクセスしな
い。
When the value of "000" is set to the automatic writing parameter, auto-increment is inhibited, only the area of the access start position designated 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 whose register number is "14h" is accessed, and 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 automatic write parameter, auto-increment is permitted, and after accessing the area of the access start position specified by the register address, the area is moved in the direction of increasing the register number and accessed in order repeat. Then, after accessing the last storage area where the register number is “1 Bh”, the storage area where the register number is “00 h” is accessed, and the area is moved again in the direction in which the register number increases. repeat. For example, if the register address is "10100", after accessing the storage area where the register number is "14h", the register number is "15h" → "16".
h "→ to ·· →" 1Bh "→" 00h "→" 01h "→ ·· and a region (that is, all of the area), repeatedly access.

自動書込パラメータに「101」の値を設定すると、自動書込パラメータに「100」
の値を設定した場合と同様に、レジスタアドレスが指定するアクセス開始位置の領域にア
クセスした後は、レジスタ番号が増加する方向に領域を移動しながら順にアクセスを繰り
返す。但し、一旦、レジスタ番号が「11h」となる記憶領域にアクセスした後は、レジ
スタ番号が「02h」となる記憶領域にアクセスし、以降、レジスタ番号が「02h」〜
「11h」となる区間の記録領域(LEDの輝度調整に関する領域)に繰り返しアクセス
する。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「14h」
となる記憶領域にアクセスした後は、レジスタ番号が「15h」→「16h」→・・→「
1Bh」→「00h」→「01h」→・・となる領域に、順にアクセスする。そして、レ
ジスタ番号が「11h」となる記憶領域にアクセスした後は、レジスタ番号が「02h」
→「03h」→・・→「11h」→「02h」→「03h」→・・となる領域に、繰り返
しアクセスする。
When the value of "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 of the access start position designated 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 having the register number "11h" is accessed, the storage area having the register number "02h" is accessed, and thereafter, the register number "02h" to
The recording area (area related to the brightness adjustment of the LED) of the section to be “11h” is repeatedly accessed. For example, if the register address is "10100", the register number is "14h"
Register number is “15h” → “16h” →.
The areas are sequentially accessed as follows: 1Bh → 00h → 01h →. Then, after accessing the storage area where the register number is "11h", the register number is "02h"
→ Repeatedly access the area where "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 of "110" is set in the automatic writing parameter, "100" in the automatic writing parameter
As in the case where the value of is set, after accessing the area of the access start position designated 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 having the register number “13h” is accessed, the storage area having the register number “12h” is accessed, and thereafter, the register number “12h” to
The recording area (area related to the blinking cycle of the LED) of the section of “13h” is repeatedly accessed. For example, if the register address is "10100", the register number is "14h"
Register number is “15h” → “16h” →.
The areas are sequentially accessed as follows: 1Bh → 00h → 01h →. Then, after accessing the storage area where the register number is "13h", the register number is "12h"
→ Repeatedly access the area where “13h” → “12h” → “13h” →.

自動書込パラメータに「111」の値を設定すると、自動書込パラメータに「100」
の値を設定した場合と同様に、レジスタアドレスが指定するアクセス開始位置の領域にア
クセスした後は、レジスタ番号が増加する方向に領域を移動しながら順にアクセスを繰り
返す。但し、一旦、レジスタ番号が「13h」となる記憶領域にアクセスした後は、レジ
スタ番号が「02h」となる記憶領域にアクセスし、以降、レジスタ番号が「02h」〜
「13h」となる区間の記録領域(LEDの輝度及び点滅周期に関する領域)に繰り返し
アクセスする。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「
14h」となる記憶領域にアクセスした後は、レジスタ番号が「15h」→「16h」→
・・→「1Bh」→「00h」→「01h」→・・となる領域に、順にアクセスする。そ
して、レジスタ番号が「13h」となる記憶領域にアクセスした後は、レジスタ番号が「
02h」→「03h」→・・→「13h」→「02h」→「03h」→・・となる領域に
、繰り返しアクセスする。
When the value of "111" is set to the automatic writing parameter, "100" to the automatic writing parameter
As in the case where the value of is set, after accessing the area of the access start position designated 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 having the register number “13h” is accessed, the storage area having the register number “02h” is accessed, and thereafter, the register number “02h” to
The recording area (area related to the brightness of the LED and the blinking cycle) of 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” →
·· → "1Bh" → to "00h" → the "01h" → ·· area, in order to access. 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」に対応するものである。
Referring back to FIG. 17, following the setting data 1802 to the control register, the setting data 1803 to the work register is output. This setting data 1803 is two in FIG.
Corresponds to “DATA” transmitted after the

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

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

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

次に出力される8ビットのデータ1902には、自動書込パラメータ、及びLEDの出
力データを設定するために割り当てられているI2CI/Oエクスパンダ615の出力設
定レジスタ635のコントロールレジスタに設定される値が含まれる。
The next output 8-bit data 1902 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 the LED output data. Value is 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 as the automatic writing parameter in order to inhibit 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 decoration control device 610 of the transmission destination. Specifically, LE
Data to be set in the DOUT0 register is allocated. This makes I 2 CI /
The light emission state (on, off, blink, 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 is possible by specifying the value of data 1902 to be written in the control register and setting output data 1903. In the PORT terminal,
Even if a motor or solenoid is connected, it is similarly controlled.

図19は、本発明の第1の実施形態の演出制御データの別の形態を説明する図である。
本図では、オートインクリメントを許可して、ワークレジスタの全ての記憶領域を更新す
る場合を想定しており、演出制御データに含まれる各データの送信順序を規定している。
FIG. 19 is a diagram for explaining another form of effect control data according to the first embodiment of the present 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 effect control data is defined.

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

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

このため、コントロールレジスタ設定値を受信した後の制御対象となる装飾制御装置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 (MODE 1 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 (8 bits in total) to be written to the MODE 1 register. When receiving the write value, the I 2 CI / O expander 615 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, master IC 570 transmits the value (total 8 bits) to be written to the MODE 2 register, and subsequently transmits the set values to the registers of the remaining storage areas whose register numbers are “02h” to “1 Bh”. . The I 2 CI / O expander 615 updates the value of the corresponding register each time the write value is received, increments the register number, and repeats the preparation for updating the next storage area, thereby the work register Assigned to "00
The values of all the registers h "to" 1 Bh "are updated.

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

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

演出制御装置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 thereunder. .

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

次に出力される8ビットのデータ2002では、第1所定値「10100101」が出
力さて、次に出力される8ビットのデータ2003では、第2所定値「01011010
」が出力される。なお、このデータ2002は、図16において1番目に送信される「D
ATA」に対応し、データ2003は、図16において2番目に送信される「DATA」
に対応する。
Next, in the 8-bit data 2002 to be output, 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.
"Is output. Note that this data 2002 is transmitted first in FIG.
The data 2003 corresponds to “ATA”, and the data 2003 is transmitted second in FIG.
Corresponds to

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

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

また、リセットアドレスは、個別アドレスとは異なって、全て(換言すれば複数)のI
2CI/Oエクスパンダ615に共通なアドレスである。そのため、リセットアドレスを
含んだ初期化指示データを1回送信するだけで、全て(複数)のI2CI/Oエクスパン
ダ615を選択して初期化することになるので、I2CI/Oエクスパンダ615を個別
に選択して初期化を指示する方法と比較すると、高速に初期化を指示することが可能とな
る。
Also, unlike the individual addresses, the reset addresses are all (in other words, plural) I
2 This is 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 As compared with the method of individually selecting the pandas 615 and instructing initialization, initialization can be instructed at high speed.

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

図21は、本発明の第1の実施形態の異常判定テーブル2100を説明する図である。   FIG. 21 is a diagram for explaining 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 of the effect control device 550 and the master IC 57.
It monitors the connection status with the I 2 CI / O expander 615 connected to 0, and the error described later corresponding to the corresponding I 2 CI / O expander 615 according to the confirmation result of the connection status. The 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 I 2 CI / O connected to the master IC 570
It corresponds to the address (see FIG. 8) set to the terminals A0 to A3 of the expander 615.

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

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

比較値2104には所定値が登録される。エラーフラグ2105には、当該エントリの
2CI/Oエクスパンダ615との接続状態に異常が発生したか否かを示すエラーフラ
グが登録される。
A predetermined value is registered as the comparison value 2104. The error flag 2105 registers 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.

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

なお、I/Oエクスパンダアドレス2101に登録された「0110」のI2CI/O
エクスパンダ615は、図8Bに示すように、役物駆動SOL560や役物駆動MOT5
61といった可動装置を制御している。そこで、このI2CI/Oエクスパンダ615を
備える装飾制御装置610を、可動制御装置(可動グループ単位制御手段)ということに
する。
In addition, the I 2 CI / O of “0110” registered in the I / O expander address 2101
The expander 615 is, as shown in FIG. 8B, a feature drive SOL 560 or a feature drive MOT 5
It controls mobile devices such as 61. Therefore, the decoration control device 610 including the I 2 CI / O expander 615 will be 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, I 2 CIs 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.
Therefore, the decoration control device 610 including the I 2 CI / O expander 615 will be referred to as a light emission control device (light emission group unit control means) in order to distinguish it from the movable control device described above.

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

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

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

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

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

なお、可動制御装置に異常が発生している場合には、データ出力処理の実行周期が2m
sであり、後述するように、次の実行周期を待つことなく、異常が発生したことを検出す
るので、極めて短時間(2ms程度の時間)で可動制御装置に異常が発生したことを検出
できる。
When an abnormality occurs in the movable control device, the execution cycle of data output processing is 2 m
s, and as described later, since occurrence of abnormality is detected without waiting for the next execution cycle, occurrence of abnormality in the movable control device can be detected in a very short time (a time of 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 the occurrence of an abnormality in the movable control device can be detected earlier than the occurrence of an abnormality in the light emission control device. Therefore, it is possible to prevent the movable part 60 from moving beyond the operable range and damaging the movable part 60 and the members near the movable part.

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

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

また、I/Oエクスパンダアドレス2101には「0111」が登録されていない。ア
ドレス「0111」を装飾制御装置610に付与することも可能であるが、本実施形態で
は、この「0111」のアドレスは使用しないため、I/Oエクスパンダアドレス210
1に登録されない。
Further, “0111” is not registered in the I / O expander address 2101. Although it is possible to assign the address “0111” to the decoration control device 610, in the present embodiment, since the address “0111” is not used, the I / O expander address 210 is used.
Not registered in 1.

一つのマスタIC570には、14個のI2CI/Oエクスパンダ615が接続可能で
あるが、一つのマスタIC570には14個すべてのI2CI/Oエクスパンダ615が
接続されなくてもよい。例えば、本実施形態では、上述したように、図20に示す異常判
定テーブル2100に対応するマスタIC570には、13個のI2CI/Oエクスパン
ダ615が接続されるようになっている。
Although 14 I 2 CI / O expanders 615 can be connected to one master IC 570, all 14 I 2 CI / O expanders 615 may not be connected to one master IC 570. . For example, in the present embodiment, as described above, thirteen I 2 CI / O expanders 615 are connected to the master IC 570 corresponding to the abnormality determination table 2100 shown in FIG.

このように、アドレスが付与されるI2CI/Oエクスパンダ615は、マスタIC5
70に接続可能なI2CI/Oエクスパンダ615であり、かつ遊技の演出を行う可能性
のある装飾装置620を制御する装飾制御装置610のI2CI/Oエクスパンダ615
である。
Thus, the I 2 CI / O expander 615 to which an address is given is a master IC 5
An I 2 CI / O expander 615 can be connected to 70, and I 2 CI / O expander 615 decoration controller 610 for controlling the decoration device 620 that may perform rendering of the game
It is.

このため、異常判定テーブル2100のI/Oエクパンダアドレス2101には、マス
タIC570に接続可能なI2CI/Oエクスパンダ615であって、かつ、遊技の演出
を行う可能性のある装飾装置620を制御する装飾制御装置610のI2CI/Oエクス
パンダ615のアドレスが登録される。
Therefore, the I / O expander address 2101 of the abnormality determination table 2100 is the I 2 CI / O expander 615 connectable to the master IC 570, and a decoration device 620 having the possibility of performing a game effect. The address of the I 2 CI / O expander 615 of the decoration control device 610 controlling the is registered.

なお、I/Oエクスパンダアドレス2101に登録されたすべてのアドレスのI2CI
/Oエクスパンダ615がマスタIC570に実際に接続されておらず、一部のアドレス
のI2CI/Oエクスパンダ615のみがマスタIC570に接続されている。
The I 2 CIs of all the addresses registered in the I / O expander address 2101
The / O expander 615 is not actually connected to the master IC 570, and only the I 2 CI / O expander 615 of some addresses is connected to the master IC 570.

図21においては、例えば、アドレスが「0000」のI2CI/Oエクスパンダ61
5がマスタIC570に接続されていなく、その他のアドレスのI2CI/Oエクスパン
ダ615はマスタIC570に接続されているものとする。
In FIG. 21, for example, the I 2 CI / O expander 61 whose address is “0000”.
It is assumed that 5 is not connected to the master IC 570, and the I 2 CI / O expander 615 of the other address is connected to the master IC 570.

図25で説明するように、マスタIC570は、I/Oエクスパンダアドレス2101
に登録されたすべてのアドレスに対して、装飾制御データを送信するので、I/Oエクス
パンダアドレス2101に登録されたアドレスのI2CI/Oエクスパンダ615であれ
ば、マスタIC570に接続されても、接続されなくても、同じ制御プログラムで、マス
タIC570に接続されたI2CI/Oエクスパンダ615を制御できる。
As described in FIG. 25, master IC 570 has I / O expander address 2101.
Since the decoration control data is transmitted to all the addresses registered in, if it is the I 2 CI / O expander 615 of the address registered in the I / O expander address 2101, it is connected to the master IC 570. Even if not connected, the same control program can control the I 2 CI / O expander 615 connected to the master IC 570.

なお、遊技の演出を行う可能性のある装飾装置620を制御する装飾制御装置610の
2CI/Oエクスパンダ615が14個存在すれば、当該14個のI2CI/Oエクスパ
ンダ615にアドレスが付与され、当該マスタIC570に14個のI2CI/Oエクス
パンダ615が接続されてもよい。
In addition, if there are 14 I 2 CI / O expanders 615 of the decoration control device 610 that controls the decoration device 620 that may perform a game presentation, the 14 I 2 CI / O expanders 615 An address may be assigned, and 14 I 2 CI / O expanders 615 may be connected to the master IC 570.

図22は、本発明の第1実施形態の演出制御装置550による処理のフローチャートで
ある。
FIG. 22 is a flowchart of processing by the effect control device 550 of 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 presentation control device 550 is powered on, the presentation control device 550 first performs step 22.
After the processes of 01 to 2210 are executed, the process waits until a synchronization signal (for example, a synchronization signal having a cycle of 33 ms seconds) synchronized with the image update cycle is input to the CPU 551 from the VDP 556. Thereafter, every time a 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, with the power on to the effect control device 550 as a base point, the CPU 551
The first control data to be output to the VDP 556 and the sound LSI 557 are 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
The C initial reset process will be described in detail with reference to FIG. When this I 2 C initial reset process is executed, initialization operations of the gift drive MOT 561 and the gift drive SOL 560 are also started.

そして、演出制御装置550は、VDP556から画像更新周期と同期する同期信号(
VDP割込)、及びタイマ割込の受け入れを許可する(2203)。
Then, the effect control device 550 receives from the VDP 556 a synchronization signal synchronized with the image update cycle (
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 causes the VDP 556 to display an image on the display device 53.
The sound control data is output to the sound LSI 557 in order to output the data to be an instruction to display the image on the screen (2204), and to output the sound from the speaker 30 according to the game state.
7 makes the speaker 30 output a sound based on the sound control data (2205).

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

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

次に、演出制御装置550は、異常判定テーブル2100を参照して、すべての発光制
御装置のエラーフラグ2105がONになっている場合にリセット条件が成立したとみな
し、マスタIC570、役物駆動MOT561、マスタIC570に接続されたすべての
2CI/Oエクスパンダ615、及び役物駆動SOL560の初期化を指示するI2C随
時リセット処理を実行し(2210)、その後、VDP556から同期信号がCPU55
1に入力されるまで待機する。I2C随時リセット処理は、図27で詳細を説明する。
Next, referring to the abnormality determination table 2100, the effect control device 550 determines 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, the bonus drive MOT 561. , I 2 C random reset processing instructing initialization of all I 2 CI / O expanders 615 connected to the master IC 570 and the symbol drive SOL 560 (2210), and then the synchronization signal from the VDP 556 is the CPU 55
Wait until 1 is entered. The I 2 C random reset process will be described in detail 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 of the display device 53, presentation control data is transmitted from the master IC 570 of the presentation 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 in harmony, and the player does not feel discomfort Can be enhanced.

また、表示装置53の画像を更新する周期と同期してマスタIC570から送信された
演出制御データが装飾制御装置610で受信されると、その都度、I2CI/Oエクスパ
ンダ615によってワークレジスタの値が更新される。そのため、毎回ワークレジスタの
値が最新の状態に更新されるので、ノイズ等でワークレジスタの値が破壊されても、正常
な値に復帰することが可能である。
Also, each time the decoration control device 610 receives presentation control data transmitted from the master IC 570 in synchronization with the cycle of updating the image of the display device 53, the I 2 CI / O expander 615 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 is possible to return to the normal value.

また、表示装置53の画像を更新する周期と同期して、ステップ2211の処理で実行
されるエラー判定処理を実行するので、エラー判定の実行頻度を適切にできる、つまり、
エラー判定処理の実行頻度が高すぎる(単位時間当たりの実行回数が多すぎる)と、演出
制御装置550のCPU551の処理負荷が増大してしまい、逆に、エラー判定処理の実
行頻度が低すぎる(単位時間当たりの実行回数が少なすぎる)と、異常が発生したことを
適切に検出できなくなってしまうことになるので、適度な頻度でエラー判定を行うことに
より処理の不具合を防止することができる。
Further, since the error determination process executed in the process of step 2211 is performed in synchronization with the cycle of updating the image of the display device 53, the execution frequency of the error determination can be made appropriate, that is,
If the execution frequency of the error judgment processing is too high (the number of executions per unit time is too high), the processing load of the CPU 551 of the effect control device 550 increases, and conversely, the execution frequency of the error judgment processing is too low ( If the number of executions per unit time is too small), the occurrence of an abnormality can not be properly detected. Therefore, by performing the error determination with an appropriate frequency, it is possible to prevent processing defects.

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

2C初期リセット処理は、演出制御装置550への電源投入の直後に、マスタIC5
70、マスタIC570に接続されたすべてのI2CI/Oエクスパンダ615の初期化
を指示する処理であり、図22に示すステップ2202の処理で実行される。なお、当該
処理中にて、役物駆動MOT561、及び役物駆動SOL560の初期化動作の開始が指
示される。
The I 2 C initial reset process is performed immediately after the presentation control device 550 is powered on.
70, processing for instructing initialization of all the I 2 CI / O expanders 615 connected to the master IC 570, which is executed in the processing of step 2202 shown in FIG. During the processing, the start of the initialization operation of the bonus drive MOT 561 and the bonus drive SOL 560 is instructed.

まず、演出制御装置550のCPU551は、初期化中であることを示すリセット要求
フラグを設定し(2301)、入出力I/F558とNORゲート回路590とを介して
リセットパルスをマスタIC570へ入力し、マスタIC570をハード的に初期化(ハ
ードリセット)する(2302)。
First, the CPU 551 of the effect control device 550 sets a reset request flag indicating that initialization is in progress (2301), and inputs a reset pulse to the master IC 570 via the input / output I / F 558 and the NOR gate circuit 590. , And initialize (hard reset) the master IC 570 in hardware (2302).

ハードリセットとは、マスタIC570の図示しないリセット回路にマスタIC570
のRESET端子が接続されており、RESET端子に印加される電圧が所定時間ロウレ
ベルに保持されることによって、マスタIC570のリセット回路がマスタIC570自
身をリセットすることをいう。なお、このRESET端子は、本実施形態における初期化
信号入力指示端子として機能している。
The hard reset refers to the master IC 570 as a reset circuit (not shown) of the master IC 570.
The RESET terminal is connected, and the reset circuit of the master IC 570 resets the master IC 570 itself by holding the voltage applied to the RESET terminal at the 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, the reset signal applied to the RESET terminal is, as described above,
It is also connected to other circuits provided in the presentation control device 550. The other circuits are, for example, the VDP 556, the sound LSI 557, etc., and are initialized by the CPU 551 when the effect 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 the hard reset, so that the processing speed can be expected.

次に、演出制御装置550は、マスタIC570に接続されたすべての装飾制御装置6
10のI2CI/Oエクスパンダ615を初期化するために、マスタIC570から初期
化指示データを出力するスレーブリセット処理を実行する(2303)。スレーブリセッ
ト処理は、図24で詳細を説明する。
Next, the effect control device 550 controls all the decoration control devices 6 connected to the master IC 570.
In order to initialize the 10 I 2 CI / O expanders 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 is completed by the processing of step 2302 and the processing of step 2303, the effect control device 550 clears the reset request flag (2304). Then, the effect control device 550 is a feature driving MO.
A motor initialization flag indicating that T561 is being initialized is set (2305). The initialization of the bonus drive MOT 561 is a process of returning the rotation axis of the bonus drive MOT 561 to the initial position, and is performed by the timer interrupt process shown in FIG.

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

なお、CPU551は、入出力I/F558とNORゲート回路590とを介してリセ
ットパルスをマスタIC570へ入力し、マスタIC570をハード的にリセットすると
したが、CPU551から、バス563を介してリセットレジスタ573に情報を書き込
むことにより、マスタIC570をソフト的にリセットしてもよい。
Although the CPU 551 inputs the 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, the CPU 551 resets the register 573 via the bus 563. The master IC 570 may be softly reset by writing information to 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. It 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 master IC 570 in 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, the interrupt signal is output to the CPU 551. That is, when it is completed to transmit 1-byte data from master IC 570 to I 2 CI / O expander 615, master IC 570 to CPU 55 always transmit, regardless of ACK / NACK reception.
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 of 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 master IC 570 transmits an interrupt signal to CPU 551,
The start of the monitoring timer for the byte mode is started (2403). Hereinafter, this monitoring time will be referred to as a byte mode monitoring time.

CPU551は、バイトモード時間の監視を開始してから所定時間経過しても、マスタ
IC570から割込信号を受け付けていない場合には、タイムアウトが発生したとして、
データ送信を中断するために、マスタIC570にストップ条件を出力させ(2415)
、その後、ステップ2401の処理に戻り、再度マスタIC570にスタート条件を出力
させてから、初期化指示データを初めのデータから送信する。
If the CPU 551 does not receive 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, it is assumed that a timeout has occurred,
In order to interrupt data transmission, the master IC 570 outputs a stop condition (2415)
After that, the process returns to step 2401 to make the master IC 570 output the start condition again, and then transmit initialization instruction data 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, master IC 570 temporarily turns off driver 576A to release connection line SDA (change it to a high level). Then, when the connection line SDA is not released (when the connection line SDA does not become high level and is maintained at low level even when the driver 576A is turned off), the output of this reset address is Wait until line SDA is released (connection line SDA goes high).

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

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

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

次いで、CPUは、データ送信を中断するために、マスタIC570にストップ条件を
出力させ(2415)、その後、ステップ2401の処理に戻り、再度マスタIC570
にスタート条件を出力させてから、初期化指示データを再度出力する。
Next, the CPU causes the master IC 570 to output a stop condition to interrupt data transmission (2415), and then returns to the process of step 2401 and again performs the master IC 570.
After making the start condition output, 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 the process of step 2406 that the ACK response signal has been input within a predetermined time after the data is output, the master IC 570 sets information indicating that the response signal is ACK in status REG 579. Generates an interrupt signal. This makes I
The CPU 551 is notified that the response signal of ACK has been received from the 2 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が出力された直後か否かを判定すればよい。
Then, CPU 551 outputs all three types of data (initial data shown in FIG. 20 including reset address 2001, data 2002 of the first predetermined value, and data 2003 of the second predetermined value) shown in FIG. It is determined whether or not (2409). Since the output order of these data is determined in advance, in the process of step 2409, it may be determined whether or not the data 2003 of the second predetermined value has just been output.

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

ステップ2409の処理で、初期化指示データ構成するすべてのデータ出力していない
と判定された場合には、CPU551は、次に送信される1バイトのデータを出力用BU
F572に設定する(2411)。リセットアドレスを出力した直後に実行されるステッ
プ2411の処理では、出力用BUF572には、図20に示す第1所定値のデータ20
02が設定され、第1所定値のデータを出力した直後に実行されるステップ2411の処
理では、出力用BUF572には、図20に示す第2所定値のデータ2002が設定され
る。
If it is determined in the process of step 2409 that not all data constituting the initialization instruction data has been output, the CPU 551 outputs the 1-byte data to be transmitted next as the output BU
It sets to F572 (2411). In the process of step 2411 executed immediately after outputting the reset address, the output BUF 572 has data 20 of the first predetermined value shown in FIG.
In the process of step 2411 executed immediately after the data 02 having the first predetermined value is set, data 2002 having 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 master IC 570 transmits an interrupt signal to CPU 551,
The 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, master IC 570 monitors the voltage level of connection line SDA and confirms that connection line SDA is released (2413), and then outputs 1 byte of data set in output BUF 572 ( 2414), Go to the processing of step 2405. In the process of step 2413, since the connection line SDA is occupied by the reply signal until the output of the reply signal from the group unit controller is completed, the master IC 570 outputs the reply signal from the group unit controller. It is processing to end and wait until the connection line SDA is released.

以上より、初期化指示データは、1バイトのデータを出力するごとに(つまり、3バイ
トの初期化指示データを送信する途中で)、出力した1バイトのデータに対する返答信号
が否かを示す割込信号が出力されるか否かを監視するバイトモードで送信される。
From the above, each time the initialization instruction data outputs 1 byte of data (that is, while sending 3 bytes of initialization instruction data), it indicates whether the response signal to the 1 byte data that has been output indicates no or not. It is transmitted in a byte mode to monitor whether or not a load signal is output.

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

図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の処理で実行される。
Light emission control slave output processing, I 2 CI / O expander 615 connected to light emitting device
22 is a process of transmitting issue control data to the (light emission control device), and step 220 shown in FIG.
It is executed in the process of 6.

まず、演出制御装置550は、時分割カウンタをインクリメントする(2501)。時
分割カウンタは、0〜3までの整数をカウントするカウンタである。
First, the effect control device 550 increments the time division counter (2501). The time division counter is a counter that counts integers from 0 to 3.

後述するように、本実施形態の遊技機では、図21に示す異常判定テーブル2100に
より、マスタIC570に接続されていることが確定したI2CI/Oエクスパンダ61
5に対して、定期的にマスタIC570からデータを送信するのはもちろんのこと、マス
タIC570に接続されていないI2CI/Oエクスパンダ615にも、一定の間隔でマ
スタIC570からデータを送信している。
As described later, in the gaming machine of this embodiment, the I 2 CI / O expander 61 determined to be connected to the master IC 570 by the abnormality determination table 2100 shown in FIG.
5, the master IC 570 transmits data from the master IC 570 at regular intervals, as well as periodically transmitting data from the master IC 570, as well as to the I 2 CI / O expander 615 not connected to the master IC 570. ing.

これは、現時点では接続されていないI2CI/Oエクスパンダ615が、遊技店の営
業中にマスタIC570と接続を再開したような場合を想定しているからである。但し、
接続が確定しているI2CI/Oエクスパンダ615よりもデータ送信頻度を低くするた
めに、時分割カウンタが0である場合にのみマスタIC570からデータ送信を行うよう
にしている。
This is because it is assumed that the I 2 CI / O expander 615, which is not connected at this time, has resumed connection with the master IC 570 during the operation of the game arcade. However,
In order to make the data transmission frequency lower than that of the I 2 CI / O expander 615 whose connection is established, data transmission is performed from the master IC 570 only when the time division counter is zero.

次に、演出制御装置550は、ステップ2501の処理でインクリメントされた時分割
カウンタの値が最大値よりも大きいか否かを判定する(2502)。
Next, the effect control device 550 determines whether the value of the time division counter incremented in the process of step 2501 is larger than the maximum value (2502).

ステップ2502の処理で、時分割カウンタの値が最大値よりも大きいと判定された場
合、時分割カウンタの値を0に設定する(2503)。
If it is determined in the process of step 2502 that the value of the time division counter is larger than the maximum value, the value of the time division counter is set to 0 (2503).

ここで、時分割カウンタの最大値は3に設定されるので、時分割カウンタの値が3より
も大きくなると、つまり、時分割カウンタの値が4になると、時分割カウンタの値が0に
設定される。したがって、時分割カウンタは発光制御装置スレーブ処理が実行されるたび
にインクリメントされ、0→1→2→3→0→・・・と変化する。
Here, since the maximum value of the time division counter is set to 3, when the value of the time division counter becomes larger than 3, that is, when the value of the time division counter becomes 4, the value of the time division counter is set to 0 Be done. Therefore, the time division counter is incremented each time the light emission control device slave process is executed, and changes as 0 → 1 → 2 → 3 → 0 →...

ステップ2502の処理で、時分割カウンタの値が最大値以下であると判定された場合
、又は、ステップ2503の処理の実行後、演出制御装置550は、図21に示す異常判
定テーブル2100から一つのアドレスを選択し、送信先となるI2CI/Oエクスパン
ダ615を選択する(2504)。
If it is determined in the process of step 2502 that the value of the time division counter is equal to or less than the maximum value, or after the process of step 2503 is executed, the effect control device 550 executes one of the abnormality determination tables 2100 shown in FIG. An address is selected, and an I 2 CI / O expander 615 to be a transmission destination is selected (2504).

具体的には、演出制御装置550は、図21に示す異常判定テーブル2100のI/O
エクスパンダアドレス2101に登録されたアドレスから一つのアドレスを選択する。ス
テップ2504の処理で選択されたアドレスのI2CI/Oエクスパンダ615が送信先
のI2CI/Oエクスパンダ615となる。
Specifically, the effect control device 550 controls the I / O of the abnormality determination table 2100 shown in FIG.
One address is selected from the addresses registered in the expander address 2101. The I 2 CI / O expander 615 of the address selected in the process of step 2504 becomes the destination I 2 CI / O expander 615.

次に、演出制御装置550は、ステップ2504の処理で選択されたI2CI/Oエク
スパンダ615が当該マスタIC570に接続されているか否かを判定するめに、図21
に示す異常判定テーブル2100を参照し、ステップ2504の処理で選択されたアドレ
スのエントリに含まれるエラーフラグ2105がONとなっているか否かを判定する(2
505)。
Next, the effect control device 550 determines whether or not the I 2 CI / O expander 615 selected in the process of step 2504 is connected to the master IC 570, as shown in FIG.
It is determined whether the error flag 2105 included in the entry of the address selected in the process of step 2504 is ON, referring to the abnormality determination table 2100 shown in FIG.
505).

ステップ2504の処理で選択されたアドレスのエントリに含まれるエラーフラグ21
05がオンであるとステップ2505の処理で判定された場合には、当該アドレスへのデ
ータ送信が比較値2104に登録された値まで連続して失敗しているので、当該アドレス
のI2CI/Oエクスパンダ615がマスタIC570に接続されていないと判定する。
そして、演出制御装置550は、RPに0を設定する(2506)。
Error flag 21 included in the entry of the address selected in the process of step 2504
If 05 is determined in the processing in step 2505 If it is on, because the data transmission to the address is failed continuously until value registered in the comparison value 2104, of the address I 2 CI / It is determined that the O expander 615 is not connected to the master IC 570.
Then, the effect control device 550 sets 0 to RP (2506).

RPは、図26で詳細を説明するが、マスタIC570から送信先となるI2CI/O
エクスパンダ615へのデータ送信が失敗した場合(マスタIC570がI2CI/Oエ
クスパンダ615からACKの返答信号を受信できなかった場合、又は、CPU551に
データ送信開始から所定時間経過してもマスタIC570から割込信号が入力されなかっ
た場合)に、当該データの再送信回数を決定するものである。
RP is described in detail with reference to FIG 26, the transmission destination by the master IC570 I 2 CI / O
If data transmission to the expander 615 fails (if the master IC 570 can not receive an ACK response signal from the I 2 CI / O expander 615), or if a predetermined time has elapsed from the start of data transmission to the CPU 551, the master In the case where an interrupt signal is not input from the IC 570, the number of retransmissions of the data is determined.

したがって、ステップ2506の処理では、RPに0を設定するので、マスタIC57
0にI2CI/Oエクスパンダ615が接続されていない場合には、当該I2CI/Oエク
スパンダ615へのデータ送信が失敗しても再送信は行わないように設定される。
Therefore, in the process of step 2506, since 0 is set to RP, the master IC 57
When the I 2 CI / O expander 615 is not connected to 0, even if data transmission to the I 2 CI / O expander 615 fails, retransmission is not performed.

次に、演出制御装置550は、時分割カウンタの値が0であるか否かを判定する(25
07)。
Next, the effect control device 550 determines whether the value of the time division counter is 0 (25
07).

ステップ2507の処理で、時分割カウンタの値が0であると判定された場合、演出制
御装置550は、スレーブ連続出力処理を実行して、送信先となるI2CI/Oエクスパ
ンダ615にデータを送信する(2508)。
If it is determined in the process of step 2507 that the value of the time division counter is 0, the effect control device 550 executes slave continuous output processing, and the data is sent to the I 2 CI / O expander 615 as the transmission destination. Is sent (2508).

一方、ステップ2507の処理で、時分割カウンタの値が0でないと判定された場合、
スレーブ連続出力処理を実行せずに、ステップ2509の処理に進む。
On the other hand, if it is determined in the process of step 2507 that the value of the time division counter is not 0,
The process proceeds to step 2509 without executing the slave continuous output process.

したがって、マスタIC570に接続されていないI2CI/Oエクスパンダ615へ
のデータ送信は、発光制御スレーブ出力処理が4回実行されると1回の頻度で行われる。
Therefore, data transmission to the I 2 CI / O expander 615 not connected to the master IC 570 is performed once when the light emission control slave output process is performed four times.

なお、スレーブ連続出力処理は、図26で詳細を説明する。   The slave continuous output processing will be described in detail with reference to FIG.

ステップ2508の処理で実行されるスレーブ連続処理が終了した場合、又はステップ
2507の処理で時分割カウンタが0でないと判定された場合、演出制御装置550は、
図21に示す異常判定テーブル2100に登録されたすべてのアドレスに対してデータ送
信が終了したか否かを判定する(2509)。
When the slave continuous process executed in the process of step 2508 is completed, or when it is determined in the process of step 2507 that the time division counter is not 0, the effect control device 550
It is determined whether data transmission has ended for all addresses registered in the abnormality determination table 2100 shown in FIG. 21 (2509).

ステップ2509の処理で、図21に示す異常判定テーブル2100に登録されたすべ
てのアドレスに対してデータ送信が終了していないと判定された場合、演出制御装置55
0は、図21に示す異常判定テーブル2100に登録されたアドレスのうち、まだデータ
送信が行われていないアドレスを選択して(2510)、ステップ2505の処理に戻る
。ステップ2509の処理で、図21に示す異常判定テーブル2100に登録されたすべ
てのアドレスに対してデータ送信が終了していると判定された場合は、ストップコンディ
ションを出力して(2512)、呼び出し元の処理に戻る。
If it is determined in the process of step 2509 that data transmission has not ended for all the addresses registered in the abnormality determination table 2100 shown in FIG.
0 selects an address for which data transmission has not been performed yet among addresses registered in the abnormality determination table 2100 shown in FIG. 21 (2510), and returns to the process of step 2505. If it is determined in the process of step 2509 that data transmission has ended for all addresses registered in the abnormality determination table 2100 shown in FIG. 21, the stop condition is output (2512), and the calling source Return to the processing of

一方、ステップ2504の処理で選択されたアドレスのエントリに含まれるエラーフラ
グ2105がオフであるとステップ2505の処理で判定された場合には、当該アドレス
のI2CI/Oエクスパンダ615がマスタIC570に接続されていると判定する。そ
して、演出制御装置550は、RPに2を設定し(2511)、ステップ2508の処理
に進む。
On the other hand, when it is determined in the process of step 2505 that the error flag 2105 included in the entry of the address selected in the process of step 2504 is off, the I 2 CI / O expander 615 of the address is the master IC 570. It is determined that it is connected to Then, the effect control device 550 sets 2 in RP (2511), and proceeds to the processing of step 2508.

ステップ2511の処理では、RPに2を設定するので、マスタIC570にI2CI
/Oエクスパンダ615が接続されている場合には、当該I2CI/Oエクスパンダ61
5へのデータ送信が失敗した場合の再送信回数は2回である。
In the process of step 2511, since 2 is set to RP, the master IC 570 is set to I 2 CI.
If the I / O expander 615 is connected, the I 2 CI / O expander 61
If data transmission to 5 fails, the number of retransmissions is two.

図25の処理では、マスタIC570は、図21に示す異常判定テーブル2100に登
録されたすべてアドレスのI2CI/Oエクスパンダ615に対してデータ送信を行う。
つまり、マスタIC570に接続可能なすべてのI2CI/Oエクスパンダ615のアド
レスに対して、データ送信を行う。
In the process of FIG. 25, the master IC 570 transmits data to the I 2 CI / O expander 615 of all the addresses registered in the abnormality determination table 2100 shown in FIG.
That is, data transmission is performed on the addresses of all the I 2 CI / O expanders 615 connectable to the master IC 570.

ここで、本実施形態では、図21に示す異常判定テーブル2100に登録されたすべて
のアドレスのI2CI/Oエクスパンダ615のうち、一部のI2CI/Oエクスパンダ6
15のみがマスタIC570に接続されている。
Here, in the present embodiment, a part of the I 2 CI / O expander 6 among the I 2 CI / O expanders 615 of all the addresses registered in the abnormality determination table 2100 shown in FIG. 21.
Only 15 is connected to the master IC 570.

このため、図21に示す異常判定テーブル2100にアドレスが登録されていれば、I
2CI/Oエクスパンダ615がマスタIC570に接続されてなくても、マスタIC5
70はデータを送信する。
Therefore, if the address is registered in the abnormality determination table 2100 shown in FIG.
2 Master IC 5 even if CI / O Expander 615 is not connected to Master IC 570
70 sends data.

これにより、異常判定テーブル2100に登録されたアドレスのI2CI/Oエクスパ
ンダ615であれば、いずれのアドレスのI2CI/Oエクスパンダ615がマスタIC
570に接続された場合であっても、接続されたI2CI/Oエクスパンダ615を正確
に制御できる。
Thereby, abnormality determining if I 2 CI / O expander 615 addresses registered in the table 2100, any I 2 CI / O expander 615 master IC address
Even when connected to 570, the connected I 2 CI / O expander 615 can be accurately controlled.

例えば、設けられる演出装置の種類が互いに異なる第1仕様の遊技機と第2仕様の遊技
機(ともに後述)を開発する場合を想定する。設けられる演出装置の種類が異なれば、必
然的に設けられるI/Oエクスパンダ615の種類も異なることになる。この場合であっ
ても、異常判定テーブル2100に登録されたすべてのI2CI/Oエクスパンダ615
のアドレスに対してデータを送信するプログラムを1種類作成するだけで、第1仕様の遊
技機と第2仕様の遊技機の両方に適用が可能となる。よって、第1仕様の遊技機用のプロ
グラム及び第2仕様の遊技機用のプログラムを、各々作成する必要がなくなり、遊技機の
製造コストを削減できる。
For example, it is assumed that a game machine of the first specification and a game machine of the second specification (both described later) having different types of effect devices to be provided are developed. If the type of rendering device provided differs, the type of I / O expander 615 inevitably provided will also differ. Even in this case, all the I 2 CI / O expanders 615 registered in the abnormality determination table 2100
The present invention can be applied to both the first specification gaming machine and the second specification gaming machine by creating only one type of program for transmitting data to the address of. Therefore, it is not necessary to create the program for the gaming machine of the first specification and the program for the gaming machine of the second specification, respectively, and the manufacturing cost of the gaming machine can be reduced.

図25の処理では、マスタIC570に接続されていると判定されたI2CI/Oエク
スパンダ615へは、発光制御スレーブ出力処理が実行されるごとにデータが出力される
ようにし、一方、マスタIC570に接続されていないと判定されたI2CI/Oエクス
パンダ615へは、発光制御スレーブ出力処理が4回実行されると1回の割合でデータが
出力される。
In the process of FIG. 25, data is output to the I 2 CI / O expander 615 determined to be connected to the master IC 570 each time the light emission control slave output process is performed, while the master When the light emission control slave output process is performed four times, data is output to the I 2 CI / O expander 615 determined not to be connected to the IC 570 at a rate of once.

このように、マスタIC570に接続されていないと判定されたI2CI/Oエクスパ
ンダ615へのデータ送信頻度を、マスタIC570に接続されていると判定されたI2
CI/Oエクスパンダ615へのデータ送信頻度よりも低くする(単位時間当たりの送信
回数を少なくする)ので、マスタIC570とI2CI/Oエクスパンダ615との間の
全体的なデータ通信量を減少させることができる。
Thus, I 2 of the data transmission frequency to the I 2 CI / O expander 615 where it is determined not to be connected to the master IC570, is determined to be connected to the master IC570
Since the frequency of data transmission to the CI / O expander 615 is lower (the number of transmissions per unit time is reduced), the overall amount of data communication between the master IC 570 and the I 2 CI / O expander 615 is It can be reduced.

また、マスタIC570に接続されていないと判定されたI2CI/Oエクスパンダ6
15は、所定回数連続してデータ送信が失敗したと判定されたI2CI/Oエクスパンダ
615であるので、一時的に当該I2CI/Oエクスパンダ615に異常(遊技店の営業
中に通信不能となった場合など)が発生している可能性も考えられる。またI2CI/O
エクスパンダ615の発生した異常において、何らかの事情(故障したI2CI/Oエク
スパンダ615を交換して通信状態が復帰した場合など)により、時間が経過すると当該
異常が解消している場合がある。
Also, the I 2 CI / O expander 6 determined not to be connected to the master IC 570
15, because it is I 2 CI / O expander 615 a predetermined number of times continuously transmitting data is determined to have failed, the abnormality (in the gaming facility serves temporarily the I 2 CI / O expander 615 There may be a possibility that a communication failure has occurred. Also I 2 CI / O
In an abnormality that occurs in the expander 615, the abnormality may be resolved after a lapse of time under some circumstances (such as when the communication state is restored by replacing the broken I 2 CI / O expander 615) .

ここで、本実施形態では、マスタIC570に接続されていないと判定されたI2CI
/Oエクスパンダ615へはデータ送信を中止するわけではなく、4回に1回の頻度でデ
ータ送信を行う。このため、異常が発生しているI2CI/Oエクスパンダ615へもデ
ータ送信が行われる。
Here, in the present embodiment, the I 2 CI determined not to be connected to the master IC 570
The data transmission to the / O expander 615 is not stopped, but the data transmission is performed once every four times. For this reason, data transmission is also performed to the I 2 CI / O expander 615 in which an abnormality has occurred.

上述したように、発生した異常が何らかの事情で解消されたI2CI/Oエクスパンダ
615は、1バイトのデータを受信すると、返答信号をマスタIC570に出力する。当
該返答信号をマスタIC570が受信すると、マスタIC570とI2CI/Oエクスパ
ンダ615との間でデータ送信が正常に行われているので、図21に示す異常判定テーブ
ル2100のエントリのうち、当該I2CI/Oエクスパンダ615のアドレスのエント
リに含まれるエラーカウンタ2103には初期値が設定され(図26に示すステップ26
20の処理参照)、また、当該エントリに含まれるエラーフラグ2106にオフが登録さ
れる。
As described above, when the I 2 CI / O expander 615 receives the 1-byte data, the I 2 CI / O expander 615 outputs the response signal to the master IC 570. When the master IC 570 receives the response signal, data transmission is normally performed between the master IC 570 and the I 2 CI / O expander 615. Therefore, among the entries of the abnormality determination table 2100 shown in FIG. An initial value is set to the error counter 2103 included in the entry of the address of the I 2 CI / O expander 615 (step 26 shown in FIG. 26).
20) and “off” is registered in the error flag 2106 included in the entry.

したがって、マスタIC570に接続されていないと判定されたI2CI/Oエクスパ
ンダ615へのデータ送信を中止しないので、マスタIC570に接続されていないと判
定されたI2CI/Oエクスパンダ615に異常が発生している場合であっても、当該I2
CI/Oエクスパンダ615の異常が解消すると、当該I2CI/Oエクスパンダ615
にいち早く制御を行わせることができる。
Therefore, it does not stop sending data to I 2 CI / O expander 615 where it is determined not to be connected to the master IC570, the I 2 CI / O expander 615 where it is determined not to be connected to the master IC570 Even if an abnormality has occurred, the I 2
When the abnormality of the CI / O expander 615 disappears, the I 2 CI / O expander 615
Control can be performed quickly.

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

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

なお、発光制御データは、マスタIC570からバッファモードで送信される。バッフ
ァモードでは、マスタIC570は、出力用BUF572に格納された複数バイトのデー
タを、I2CI/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 transmits a plurality of bytes of data stored in the output BUF 572 to the I 2 CI / O expander 615 for each 1 byte, and each time the transmission is performed, the I 2 CI /
The ACK or NACK is received from the 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エクスパンダ6
15からACKを受信したときには、割込信号をCPU551に出力せずに、出力用BU
F572から次の送信すべきデータを取り出して、I2CI/Oエクスパンダ615へ出
力する。
However, 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. Master IC 570 is the I 2 CI / O expander 6 with unsent data remaining in BUF 572 for output.
When an ACK is received from No. 15, the output BU is not output without outputting an interrupt signal to the CPU 551.
The next data to be transmitted is taken out from F 572 and output to the I 2 CI / O expander 615.

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

図26に戻って、まず、CPU551は、ACKの返答信号の受信に失敗したことを計
数するACKカウンタに0を設定する(2601)。
Returning to FIG. 26, first, the CPU 551 sets 0 in an ACK counter that counts failure in reception of 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に示す演出制御データのフォーマットとなっており、図に示した送信順序に従って、1
バイト毎に区切られながら、I2CI/Oエクスパンダ615へ送信される。
Then, the CPU 551 outputs the data generated in the process of step 2602 to the BUF for output.
The buffer setting process set to 572 is executed (2603). The data to be set is shown in Figure 1
The format of the effect control data shown in FIG. 9 is 1 according to the transmission order shown in the figure.
The data is sent to the I 2 CI / O expander 615 while being separated into bytes.

そして、マスタ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 the 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に変更する。
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, CPU 551 starts activation of a buffer mode monitoring timer to monitor the time until master IC 570 transmits an interrupt signal to CPU 551 from the time when master IC 570 is instructed to start data transmission. (2605). Hereinafter, this monitoring time will be referred to as a buffer mode monitoring time.

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

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

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

ステップ2606の処理で出力されたアドレスデータがI2CI/Oエクスパンダ61
5に入力された場合、I2CI/Oエクスパンダ615は、入力されたアドレスデータと
自身に設定されているアドレスとが一致するか否かを判定する。
The address data output in the process of step 2606 is the I 2 CI / O expander 61
When it is input to 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, for which an address matching the input address data is set, is immediately after the eighth number of times that the connection line SCL changes from LOW to HIGH, and The response signal is output from the connection line SDA to the master IC 570 in response to the change of the connection line SCL, which has been set, 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, based on the confirmation result of the process of step 2606, 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 (2608). ).

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

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

ステップ2611の処理で、ACKカウンタがRPよりも小さいと判定された場合、A
CKの返答信号の受信に失敗したことを計数するためにACKカウンタを+1更新し(2
612)、同じデータを当該装飾制御装置610に再度送信するために、ステップ260
2の処理に戻る。
If it is determined in the process of step 2611 that the ACK counter is smaller than RP, then A
The ACK counter is updated by +1 to count the failure to receive the CK reply signal (2
612), to send the same data again to the decoration controller 610, step 260
Return to processing of 2.

一方、ステップ2611の処理で、ACKカウンタがRP以上であると判定された場合
、CPU551は、異常判定テーブル2100に登録されたエントリのうち、I/Oエク
スパンダアドレス2101が選択された装飾制御装置610のI2CI/Oエクスパンダ
615のアドレスと一致するエントリを選択し、選択されたエントリのエラーカウンタ2
103をインクリメントする(2613)。
On the other hand, if it is determined in the process of step 2611 that the ACK counter is equal to or greater than RP, the CPU 551 selects the I / O expander address 2101 from the entries registered in the abnormality determination table 2100. Select an entry that matches the address of the 610 I 2 CI / O expander 615, and select the error counter 2 for the selected entry.
103 is incremented (2613).

ここで、RPには、0又は2の値が設定され得る。I2CI/Oエクスパンダ615が
マスタIC570に接続されていないと判定された場合、RPには0が設定されるので、
ステップ2611の処理でACKカウンタがRPよりも少ないと判定されることはない。
よって、マスタIC570に接続されていないと判定されたI2CI/Oエクスパンダ6
15へのデータ送信が失敗しても、当該I2CI/Oエクスパンダ615へのデータの再
送信を行わない。
Here, a value of 0 or 2 may be set to RP. When it is determined that the I 2 CI / O expander 615 is not connected to the master IC 570, 0 is set to RP,
In the process of step 2611, it is not determined that the ACK counter is smaller than RP.
Therefore, the I 2 CI / O expander 6 determined not to be connected to the master IC 570
Even if the data transmission to 15 fails, the data is not retransmitted to the I 2 CI / O expander 615.

一方、I2CI/Oエクスパンダ615がマスタIC570に接続されていないと判定
された場合、RPには2が設定されるので、I2CI/Oエクスパンダ615へのデータ
の再送信を最大2回行う。
On the other hand, when it is determined that the I 2 CI / O expander 615 is not connected to the master IC 570, 2 is set in the RP, and therefore, retransmission of data to the I 2 CI / O expander 615 is maximum. Do it twice.

なお、本実施形態では、I2CI/Oエクスパンダ615がマスタIC570に接続さ
れていないと判定された場合、当該I2CI/Oエクスパンダ615へのデータ再送信が
行わないとしたが、マスタIC570に接続されていないと判定されたI2CI/Oエク
スパンダ615へのデータの再送信回数が、マスタIC570に接続されていると判定さ
れたI2CI/Oエクスパンダ615へのデータの再送信回数よりも少なくなるようにす
ればよい。
In this embodiment, when it is determined that the I 2 CI / O expander 615 is not connected to the master IC 570, data is not retransmitted to the I 2 CI / O expander 615. data retransmissions of data to the I 2 CI / O expander 615 where it is determined not to be connected to the master IC570 is, the I 2 CI / O expander 615 where it is determined to be connected to the master IC570 The number should be less than the number of retransmissions of

このように、図26の処理では、マスタIC570に接続されていないと判定されたI
2CI/Oエクスパンダ615へのデータの再送信回数が、マスタIC570に接続され
ていると判定されたI2CI/Oエクスパンダ615へのデータの再送信回数よりも少な
くなるので、マスタIC570とI2CI/Oエクスパンダ615との間のデータ通信量
を全体的に減少させることができる。
Thus, in the process of FIG. 26, it is determined that I is not connected to master IC 570.
2 Since the number of times of data retransmission to the CI / O expander 615 is smaller than the number of times of data retransmission to the I 2 CI / O expander 615 determined to be connected to the master IC 570, the master IC 570 And the I 2 CI / O expander 615 can be reduced overall.

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

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

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

一方、ステップ2602の処理でアドレスデータが出力されてから所定時間以内にAC
Kの返答信号が入力されたと、ステップ2608の処理で判定された場合には、マスタI
C570は、出力用BUF572に記憶されているすべてのデータを出力したか否かを判
定する(2616)。
On the other hand, within the predetermined time after the address data is output in the process of step 2602, the AC
If it is determined in the process of step 2608 that the response signal of K is input, the master I
The C 570 determines whether all the 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 the process of step 2616 that all the data stored in output BUF 572 has been output, master IC 570 sets in status REG 579 information indicating that the response signal is ACK. , Generate an interrupt signal. This makes I 2
Having completed the transmission of all byte data to CI / O expander 615, CPU 551
Will be notified. At this time, the CPU 551 ends the monitoring of the buffer mode time (26
19).

そして、CPU551は、ステップ2619の処理の実行後に、異常判定テーブル21
00に登録されたエントリのうち、I/Oエクスパンダアドレス2101が選択された装
飾制御装置610のI2CI/Oエクスパンダ615のアドレスと一致するエントリを選
択し、選択されたエントリのエラーカウンタ2103をゼロに初期化し(2620)、当
該エントリのエラーフラグ2105をオフに設定し(2621)、スレーブ連続出力処理
を終了する。
Then, after execution of the processing of step 2619, the CPU 551 determines the abnormality determination table 21.
Among the entries registered in 00, select the entry that matches the address of the I 2 CI / O expander 615 of the decoration control device 610 where the I / O expander address 2101 is selected, and the error counter of the selected entry 2103 is initialized to zero (2620), the error flag 2105 of the entry is set to off (2621), and the slave continuous output processing is ended.

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

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

ここで、共通アドレスを含む初期化指示データは、バイトモードで送信されており、図
24に示すように1バイトのデータの送信を開始するごとに、その都度、マスタIC57
0からCPU551へ割込信号が返ってくるまでの時間(バイトモード監視時間)が監視
されている。
Here, the initialization instruction data including the common address is transmitted in the byte mode, and as shown in FIG. 24, each time one byte of data transmission is started, the master IC 57 is used each time.
The time from 0 to the return of the interrupt signal to the CPU 551 (byte mode monitoring time) 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, and as shown in FIG. 26, from the start of data transmission of the first byte stored in the output BUF 572 to the final byte 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, the features of the byte mode and the buffer mode will be described.

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

CPU551は、装飾制御装置610からマスタIC570へACKの返答信号が伝達
された場合に、1バイトのデータ送信が成功したと判断して、次の処理を行う。一方で、
CPU551は、装飾制御装置610からマスタIC570へNACKの返答信号が伝達
された場合に、或いは、バイトモード監視時間がタイムアウトした場合に、データ送信に
異常が発生したものと判断して、必要な処理を行う。
When a response signal of ACK is transmitted from the decoration control device 610 to the master IC 570, the CPU 551 determines that 1-byte data transmission has succeeded, and performs the following processing. While
The CPU 551 determines that an error has occurred in data transmission when the 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 the 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 sent immediately from the master IC 570 to the CPU 551 only when the NACK response signal is input from the decoration control device 610 to the 1-byte data transmitted from the master IC 570. It is transmitted. However, when the response signal of ACK is input from the decoration control device 610, the interrupt signal is output from the master IC 570 if it is not the timing when all the data stored in the output BUF 572 is transmitted.
The master IC 570 transmits the data stored in the output BUF 572 one after another without being transmitted to the PU 551.

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

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

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

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

以上のことから、データ送信に関して全く異常が発生しないという前提であれば、複数
バイトのデータ(必然的に送信単位である8ビットよりも長いビット数のデータとなる)
を送信する場合には、バッファモードを用いたデータ送信の方が、バイトモードを用いた
データ送信よりも高速な処理を行えるのは確かである。しかしながら、データ送信時に異
常が発生する可能性を考慮すると、バイトモードにはデータ送信の完了を1バイト毎に確
認しながら処理を行えるという利点を有するので、どちらのモードが優れているのかは単
純には比較できない。
From the above, if it is premised that no abnormality occurs in data transmission, multi-byte data (the data will inevitably be data with a bit number longer than 8 bits which is the transmission unit)
In the case of transmitting data, it is true that data transmission using buffer mode can perform processing faster than data transmission using byte mode. However, in consideration of the possibility of occurrence of an abnormality at the time of data transmission, byte mode has the advantage that processing can be performed while confirming completion of data transmission in units of one byte, so which mode is superior is simple It can not be compared to

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

まず、共通アドレスを含む初期化指示データに対しては、共通アドレスが予め割り当て
られたすべての装飾制御装置610からACKの返答信号が出力される。一方、個別アド
レスを含む発光制御データに対しては、個別アドレスが予め割り当てられた一つの装飾制
御装置610からACKの返答信号が出力される。
First, in response to the initialization instruction data including the common address, ACK response signals are output from all the decoration control devices 610 to which the common address is previously assigned. 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 previously assigned.

このため、初期化指示データを送信した場合には複数の装飾制御装置610から返答信
号が出力されるので、初期化指示データの1バイトのデータを送信した後の接続線SDA
が解放されるまでの待機時間は、当該複数の装飾制御装置610の全てが接続線SDAを
開放するまでの時間に依存する。これに対して、発光制御データの1バイトのデータを送
信した後の接続線SDAが解放されるまでの待機時間は、送信対象の一つの装飾制御装置
610のみが接続線SDAを開放するまでの時間に依存する。従って、前者の方が接続線
SDAが解放されるまでの待機時間が長くなる。
For this reason, when initialization instruction data is transmitted, since a plurality of decoration control devices 610 output response signals, connection line SDA after transmitting 1-byte data of initialization instruction data
The waiting time until the release of the second function depends on the time until all the plurality of decoration control devices 610 release the connection line SDA. On the other hand, the waiting time until the connection line SDA is released after transmitting 1-byte data of the light emission control data is the time until only one decoration control device 610 to be transmitted releases the connection line SDA. It depends on the 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 is data 2001 of the common address and data 20 of the first predetermined value.
The data is transmitted in three steps such as 02 and second predetermined value data 2003. further,
If the three types of initialization instruction data are not correctly transmitted to decoration control device 610, in order to initialize decoration control device 610 reliably, processing for repeating transmission of initialization instruction data is performed many times. .

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

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

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

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

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

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

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

一方で、本実施形態では、発光制御データはバッファモードで送信される。これは、上
述したように、バッファモードによるデータ送信では、バイトモードのときと比較して、
割込信号がマスタIC570からCPU551へ伝達される回数が少なくなるため、マス
タIC570からCPU551へ処理を引き渡す回数が少なくなり、複数バイトのデータ
を送信するときの全体的な送信時間を短縮することができるからである。
On the other hand, in the present embodiment, the light emission control data is transmitted in the buffer mode. This is because, as described above, in data transmission in buffer mode, as compared with 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 of transfer of processing from the master IC 570 to the CPU 551 is reduced, thereby shortening the overall transmission time when transmitting multiple bytes of data. It is because it can.

なお、発光制御データをバッファモードで送信し、何らかの理由によって、接続線SD
Aが解放されない異常状態が発生した場合には、バッファモード監視時間のタイムアップ
を待って異常を解除し、1回だけ装飾制御装置610へ発光制御データを再送する。もし
、2回連続して発光制御データの送信異常が発生した場合には、発光制御データの送信を
中止する。
In addition, the light 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 abnormal state 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 transmission abnormality of the light emission control data occurs twice in a row, the transmission of the light emission control data is stopped.

したがって、発光制御データを送信する場合には、接続線SDAが解放されない異常を
検出するまでの無駄な時間を減少させるよりも割込信号が出力される回数を減少させてC
PU551にかかる処理負荷を軽減させたほうがデータ送信の時間が短縮できるので、発
光制御データは割込信号が出力される回数がバイトモードよりも少ないバッファモードで
送信されるようにしている。
Therefore, in the case of transmitting the light emission control data, the number of times the interrupt signal is output can be reduced by reducing the time required to detect an abnormality that the connection line SDA is not released.
Since the data transmission time can be shortened by reducing the processing load on the PU 551, the light emission control data is transmitted in a 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 the master IC5.
If it is not input to 70, re-transmission 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 . Further, as shown in FIG. 26, in the light emission control data, light emission occurs when the connection line SDA is not released and a time-out occurs, or when a reply signal to 1 byte data is not input to the master IC 570. Since retransmission is performed only once from the first data of control data, high-speed data transmission becomes possible.

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

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

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

まず、演出制御装置550は、リセット要求フラグがオンであるか否かを判定する(2
701)。
First, the effect control device 550 determines whether 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 the process of 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 the condition for instructing reset is established. Whether an ACK response signal could not be received continuously a predetermined number of times from all 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 Check (2702).

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

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

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

ステップ2703の処理で、リセット条件が成立しているとみなされた場合、演出制御
装置550は、初期化中であることを示すリセット要求フラグを設定する(2704)。
If it is determined in the processing of 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 effect control device 550 performs soft reset on 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 to reset REG 573 provided in master IC 570, the controller of master IC 570 inputs BUF 571 for input,
The values of the output BUF 572, reset REG 573, and transmission mode REG 574 are set to initial values, and the master IC 570 is initialized. The CPU 551 receives the master I via the data bus
By writing a predetermined value to the reset REG 573 provided in C570, the master IC
Initializing the 570 is called soft reset.

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

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

このように、マスタIC570が初期化されると、当該マスタIC570に接続された
すべてのI2CI/Oエクスパンダ615に対して初期化指示データを送信するので、確
実に遊技機1を初期化することができる。
In this manner, when the master IC 570 is initialized, 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 can be reliably 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 drive MOT 561 is being initialized (2707), and is output to the accessory drive MOT 561 when initializing the accessory drive MOT 561 Set motor output data to RAM 553 (2708)
. Then, in order to initialize the bonus drive SOL 560, the effect control device 550 sets, in the RAM 553, off data for switching the energized state of the bonus drive SOL 560 into the non-energized state (270
9) The reset request flag is released (2710), and the I 2 C arbitrary reset processing is ended.

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

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

このように、リセット条件が成立したと判定された場合には、ステップ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, the process of step 2706 is performed on all the I 2 CI / O expanders 615 connected to the master IC 570.
Since initialization is simultaneously instructed, in other words, all the I 2 CI / O expanders 615
Since the I 2 CI / O expander 615 can be individually selected to instruct initialization since initialization can be performed simultaneously by selecting L 2 simultaneously, the I 2 CI can be initialized at a high speed.
The / O expander 615 can be quickly returned to the normal state.

なお、すべての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 / Os are simultaneously transmitted from the CPU 551.
Even when the reset signal is transmitted to the RESET terminal of expander 615, all I
It is possible to simultaneously select and initialize the 2 CI / O expander 615.

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

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

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

また、図22に示すように、表示装置53の画像を更新する周期と同期して、演出制御
装置550のマスタIC570からI2CI/Oエクスパンダ615へ発光制御データを
送信し、I2CI/Oエクスパンダ615は受信した発光制御に基づいて発光装置を制御
するので、表示装置53における演出と発光装置における演出とが調和し、遊技者に違和
感を与えないので、興趣を高めることができる。
Further, as shown in FIG. 22, in synchronization with the cycle of updating the image of the display device 53, and transmits the light emission control data from the master IC570 of the effect control device 550 to the I 2 CI / O expander 615, 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 the player does not feel discomfort, so the interest can be enhanced. .

また、表示装置53の画像を更新する周期と同期してマスタIC570から送信された
発光制御データが装飾制御装置610で受信されると、その都度、I2CI/Oエクスパ
ンダ615によってワークレジスタの値が更新される。そのため、毎回ワークレジスタの
値が最新の状態に更新されるので、ノイズ等でワークレジスタの値が破壊されても、正常
な値に復帰することが可能である。
In addition, whenever the light emission control data transmitted from the master IC 570 is received by the decoration control device 610 in synchronization with the cycle of updating the image of the display device 53, the I 2 CI / O expander 615 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 is possible to return to the normal value.

また、表示装置53の画像を更新する周期と同期して、エラー判定処理を実行するので
、エラー判定の実行頻度を適切にできる、つまり、エラー判定処理の実行頻度が高すぎる
(単位時間当たりの実行回数が多すぎる)と、演出制御装置550のCPU551の処理
負荷が増大してしまい、逆に、エラー判定処理の実行頻度が低すぎる(単位時間当たりの
実行回数が少なすぎる)と、異常が発生したことを適切に検出できなくなってしまうこと
になるので、適度な頻度でエラー判定を行うことにより処理の不具合を防止することがで
きる。
Moreover, since the error determination process is performed in synchronization with the cycle of updating the image of the display device 53, the execution frequency of the error determination can be made appropriate, that is, the execution frequency of the error determination process is too high (per unit time If the number of executions is too high), the processing load of the CPU 551 of the effect control device 550 will increase, and conversely, if the frequency of execution of the error judgment processing is too low (the number of executions per unit time is too low) Since the occurrence can not be properly detected, it is possible to prevent the processing failure by performing the error determination with an appropriate frequency.

図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 receives a timer interrupt that occurs in a 2 ms cycle under the condition that the timer interrupt is permitted.

タイマ割込処理は、役物駆動MOT561及び役物駆動SOL560(可動物)に接続
されたI2CI/Oエクスパンダ615(可動制御装置)へ制御データを出力し、可動物
を制御する処理である。
The timer interrupt process is a process of outputting control data to the I 2 CI / O expander 615 (movable control device) connected to the product driven MOT 561 and the product driven 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 the process of step 2801 that the reset request flag is set, it is in a state of waiting for the reset process of the decoration control device 600 including the movable control device to start, so the timer allocation is Finish the loading process.

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

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

ステップ2804の処理で、スレーブ単発出力処理が正常に終了していないと判定され
た場合、つまり、スレーブ単発出力処理が異常終了したと判定された場合、演出制御装置
550は、役物駆動MOT561が初期化中であることを示すモータ初期化フラグを設定
し(2805)、装飾制御装置600のリセット処理を開始するためにリセット要求フラ
グを設定する(2806)。
If it is determined in the process of 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 determines A motor initialization flag indicating that initialization is in progress is set (2805), and a reset request flag is set to start 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, in the RAM 553, motor output data to be output to the movable control device when initializing the product drive MOT 561 (2807), and the product drive SOL
The off data, which is output to the movable control device when initializing 560, is set in the RAM 553 to turn off the conductive state of the accessory driving SOL 560 (2808), and ends the timer interrupt process.

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

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

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

一方、ステップ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 is operated as the bonus drive MOT 56.
If it is determined that it has detected that the rotation axis of 1 has returned to the initial position, the feature drive MOT 561
In order to output stop data to stop the rotation of the motor to the movable control device, it is set in the RAM 553 (2811), and initialization of the product drive MOT 561 is completed, so the motor initialization flag is cleared (2812). Finish the loading process.

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

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

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

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

スレーブ単発出力処理は、可動制御装置に可動制御データを送信する処理であり、図2
8に示すステップ2803の処理で実行される。
The slave single-shot output process is a process of transmitting movable control data to the movable control device, as shown in FIG.
It 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 a 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
The interrupt signal is output to the CPU 551 regardless of which of the ACKs is received. That is, when it is completed to transmit 1-byte data from the master IC 570 to the I 2 CI / O expander 615, the master IC 570 to the CPU 551 are always required regardless of ACK / NACK reception.
Interrupt signal is output.

まず、CPU551は、ACKの返答信号の受信に失敗したことを計数するACKカウ
ンタに0を設定する(2901)。
First, the CPU 551 sets 0 in an ACK counter that counts the failure to receive 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 the 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に変更する。
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 master IC 570 transmits an interrupt signal to CPU 551,
The start of the monitoring timer for the byte mode is started (2904).

CPU551は、バイトモード時間の監視を開始してから所定時間経過しても、割込信
号を受け付けていない場合には、データ送信を中断するために、マスタIC570にスト
ップ条件を出力させ(2912)、その後、ACKカウンタの値を一つ加算して、ステッ
プ2902の処理に戻り、再度マスタIC570にスタート条件を出力させてから、可動
制御データを初めのデータ(可動制御装置のアドレス)から送信する。ただし、ACKカ
ウンタの値がステップ2913の時点で所定値(例えば「1」)となっている場合には、
処理を終了する。
The CPU 551 causes the master IC 570 to output a stop condition to interrupt data transmission when no interrupt signal is received even if a predetermined time has elapsed since the start of monitoring of the byte mode time (2912) Then, add 1 to the value of the ACK counter, return to the process of step 2902, send the start condition to the master IC 570 again, 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 (for example, "1") at the time of step 2913,
End the process.

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

ステップ2905の処理で出力されるアドレスデータは8ビットのデータ列であるため
、1回の出力処理(接続線SCLが8回HIGHに変化する間の出力)でアドレスデータ
が出力される。
Since the address data output in the process of step 2905 is a data string of 8 bits, 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 the process of step 2905 is the I 2 CI / O expander 61
When it is input to 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, for which an address matching the input address data is set, is immediately after the eighth number of times that the connection line SCL changes from LOW to HIGH, and The response signal is output from the connection line SDA to the master IC 570 in response to the change of the connection line SCL, which has been set, to the LOW level.

次に、マスタIC570は、1バイト分のデータ出力完了から、所定時間(前述したバ
イトモード監視時間よりも短い監視時間となっている)以内にACKの返答信号がマスタ
IC570に入力されたか否かを確認する(2906)。
Next, the master IC 570 determines whether an ACK response signal is input to the master IC 570 within a predetermined time (a monitoring time shorter than the above-described byte mode monitoring time) after completion of data output for one byte. Check (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 the process of step 2907 that the ACK response signal is not input within a predetermined time after the address data is output in the process of step 2905, the master I
C 570 sets the status REG 579 to the information that the response signal is NACK, and then generates an interrupt signal. This allows the I 2 CI / O expander 615 to NA
The CPU 551 is notified that the CK response signal has been received. At this time, the CPU 551
Ends the time monitoring of the byte mode (2911).

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

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

一方、ステップ2913の処理で、ACKカウンタが所定値でないと判定された場合、
ACKカウンタをインクリメントし、ステップ2902の処理に戻り、再度マスタIC5
70にスタート条件を出力させてから、再度同じ可動制御データを出力する(可動制御装
置のアドレスから再出力する)。
On the other hand, when it is determined in the process of step 2913 that the ACK counter is not the predetermined value,
The ACK counter is incremented, and the process returns to step 2902 and the master IC 5 is again processed.
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 the process of step 2907 that the response signal of ACK is input within a predetermined time after completion of data output for one byte in the process of step 2905, master IC 570 responds to status REG579. An interrupt signal is generated after setting information indicating that the signal is an ACK. Thus, the I 2 CI / O expander 615 to A
The CPU 551 is notified that the CK response signal has been received. At this time, the CPU 551
Ends the time monitoring in byte mode (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 the process of step 2909 that all data to be output to the movable control device is output, the signal levels of the connection line SDA and the connection line SCL are changed to the signal level indicating the stop condition (2910), The slave single output processing ends normally.

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

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

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

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

次に、マスタIC570は、接続線SDAの電圧レベルを監視し、接続線SDAが解放
されていることを確認してから(2917)、出力用BUF572に設定された1バイト
のデータを出力し(2918)、ステップ2906の処理に進む。ステップ2917の処
理は、グループ単位制御手段からの返答信号の出力が終了するまでは、接続線SDAが返
答信号により占有されているので、マスタIC570は、グループ単位制御手段からの返
答信号の出力が終了し、接続線SDAが解放されるまで待機する処理である。I2
以後、可動制御データを順に送信し、全ての可動制御データの送信が完了すると、前述し
たようにステップ2910の処理を経て、正常終了する。
Next, the master IC 570 monitors the voltage level of the connection line SDA and confirms that the connection line SDA is released (2917), and then outputs 1 byte of data set in the output BUF 572 ( 2918), Go to the processing of step 2906. In the process of step 2917, since the connection line SDA is occupied by the reply signal until the output of the reply signal from the group unit controller is completed, the master IC 570 outputs the reply signal from the group unit controller. It is processing to end and wait until the connection line SDA is released. I 2 C
Thereafter, the movable control data is sequentially transmitted, and when the transmission of all the movable control data is completed, the processing of step 2910 is performed and the processing ends normally as described above.

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

これにより、I2C可動制御装置が制御する役物駆動MOT561及び役物駆動SOL
560は、VDP割込(約33.3ms周期)に同期して可動制御データを出力するので
は、演出に合わせて可動部材を制御できないため、VDP割込よりも周期の短いタイマ割
込(2ms周期)に同期して可動制御データが出力されるようにしている。これによって
、遊技状態に合わせた可動部材による演出を行うことができる。
Thus, the product driving MOT 561 and the product driving SOL controlled by the I 2 C movable control device
In 560, if the movable control data is output in synchronization with the VDP interrupt (about 33.3 ms cycle), it is not possible to control the movable member according to the effect, so the timer interrupt (2 ms) whose cycle is shorter than the VDP interrupt The movement control data is output in synchronization with the cycle). As a result, it is possible to produce effects by the movable members adapted to the gaming state.

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

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

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

本実施形態では、マスタIC570が装飾制御装置610のI2CI/Oエクスパンダ
615に送信するスレーブアドレスには、R/W識別データが「0」(書き込みを意味す
る)となっているものだけを用いている(図11参照)が、ノイズ等の影響によって、R
/W識別データが「1」(読み出しを意味する)となった状態で、I2CI/Oエクスパ
ンダ615へ伝わることがある。
In this embodiment, the slave address transmitted by the master IC 570 to the I 2 CI / O expander 615 of the decoration control device 610 is only one whose R / W identification data is “0” (meaning writing). (See Figure 11), but due to the effects of noise etc
It may be transmitted to the I 2 CI / O expander 615 with the / W identification data being “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 is in the read mode and the master IC 57
In response to the change of the signal level of the connection line SCL due to 0, processing of transmitting data bit by bit via the connection line SDA from the I 2 CI / O expander 615 to the master IC 570 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,
An acknowledge signal is received from master IC 570 via connection line SDA, and when the acknowledge signal is received, data transmission of 8 more bits is performed, and thereafter, the data transmission of 8 bits and confirmation of the acknowledge signal are repeated. The connection line SDA is I 2 CI
/ O expander 615 is in a state of exclusive use.

一方で、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 is a master IC after data transmission of 8 bits.
If the acknowledge signal can not be received from 570 through connection line SDA, connection line SDA
To release data transmission. The I 2 CI / O expander 615 is a master I
When an acknowledge signal is received from C570 via connection line SDA, it is interpreted that an acknowledge signal is received if connection line SDA is at a LOW level, and that an acknowledge signal is not received if connection line SDA is at a HIGH level. Interpret.

よって、マスタIC570からのデータがノイズ等の影響により変化し、この変化した
データを勝手に受信して読み出しモードとなったI2CI/Oエクスパンダ615が発生
してしまうと、接続線SDAがいつまでも解放されないことになる。
Therefore, when the data from the master IC 570 changes due to the influence of noise etc. and the I 2 CI / O expander 615 which receives the changed data freely and becomes the read mode is generated, the connection line SDA becomes 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 originally intended to perform transmission.
Communication with the expander 615 can not be performed via the connection line SDA.

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

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

このような処理を行うことで、読み出しモードとなった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 become the read mode
5 outputs data to the connection line SDA in accordance with the change of the signal level of the connection SCL, but the master IC 570 is in the middle of at least nine times of the change of the signal level of the connection SCL being performed.
Timing to confirm the acknowledge signal from At this time, since the connection line SDA is released, it becomes high level, and the I 2 CI / O expander 615 in the read mode determines that the acknowledge signal has not been received, so data transmission is stopped and the connection line SDA It will be released.

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

このようにして、読み出しモードとなった装飾制御装置610のI2CI/Oエクスパ
ンダ615から強制的に接続線SDAを解放させるので、接続線SDAの信号レベルはH
IGHに維持されるようになる。
In this manner, since 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, the signal level of the connection line SDA is H.
Be maintained in IGH.

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

装飾制御装置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 LEDs controlled by the decoration control device 610 attached to the front frame 3 irradiate the decoration member 9, the lighting unit 11, and the abnormality notification LED 29.

遊技機には複数の仕様があり、通常版遊技機1(第1仕様の遊技機)と廉価版遊技機1
(第2仕様の遊技機)とがある。通常版遊技機1は、標準仕様の装飾部材9を備える前面
枠3(通常版前面枠、第1の遊技枠)を備えている。廉価版遊技機1は、標準仕様の装飾
部材9よりも廉価なコストで構成された装飾部材9'を備える前面枠3(廉価版前面枠、
第2の遊技枠)を備えている。
The game machine has a plurality of specifications, and the normal version game machine 1 (the first specification game machine) and the low price version game machine 1
(The game machine of the second specification). The normal version game machine 1 is provided with a front frame 3 (a normal version front frame, a first game frame) provided with a decorative member 9 of a standard specification. The low-priced game machine 1 has a front frame 3 (a low-priced front frame, provided with a decorative member 9 'configured at a cost lower than that of the standard specification decorative member 9).
The second game slot is provided.

通常版前面枠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 decoration control devices 610 attached for irradiating the decoration member 9 is different between the normal plate front frame 3 and the inexpensive plate front frame 3. Specifically, the decorative members 9 of the normal plate front frame 3 are irradiated by the four decoration control devices 610, and the decorative members 9 'of the inexpensive plate front frame 3 are irradiated by the two decoration control devices 610. The decorative member 9 is illuminated by at most 60 LEDs, while the decorative member 9 'is illuminated by at most 30 LEDs, so the decorative member 9 is brighter than the decorative member 9'. For this reason, the control of the decoration control device 610 when the normal version front frame 3 is attached and the control of the decoration control device 610 when the low price version front frame 3 is attached are different.

通常版前面枠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 Decoration Controller 610 Attached to Normal Version Front Frame 3
If the address of No. 5 and the unique address of the I 2 CI / O expander 615 of the decoration control device 610 attached to the low price version front frame 3 are the same, the control is performed when the normal version front frame 3 is attached A presentation control device 550 for the printing plate and a presentation control device 550 for the low-cost printing plate for controlling the case where the low-cost printing frame 3 is attached are prepared corresponding to the front frame 3 to be attached I have to replace 550. 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 bargain version
It is necessary to prepare 0, 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 having different controls in the normal version front frame 3 and the low price version front frame 3. The effect control device 550 can perform control for the normal version and control for the inexpensive version. Thus, the presentation control device 550 for the normal version and the presentation control device 550 for the low price version
There is no need to prepare 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 decorative member 9 of the normal version front frame 3
The 15 unique addresses are "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 LED irradiating the decoration member 9 ′ of the inexpensive front frame 3
Address different from the unique address of the I 2 CI / O expander 615 of the four decoration control devices 610 connected to the LED that irradiates the decoration member 9 of the normal version front frame 3 “1110”
And "1111" are assigned.

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

したがって、通常版用の制御と廉価版用の制御とを行えるようにした一つの演出制御装
置550で通常版前面枠3の装飾制御装置610と廉価版用の装飾制御装置610とを制
御できるので、製造コストを削減できる。
Therefore, since one effect control device 550 capable of performing control for the normal version and control for the low price version can control the decoration control device 610 for the normal version front frame 3 and the decoration control device 610 for the low price version. , Can reduce the manufacturing cost.

また、通常版前面枠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 with the normal version front frame 3 and the low price version front frame 3 and the LED that emits the abnormality notification LED 29 It is not necessary to make the addresses of the normal version front frame 3 and the low price version front frame 3 different, 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 price front frame 3, the unique addresses are “1001”, “1010”, and “1100”.
, “1101” will not be used and the I 2 CI / O expander 615 will not be used.
Then, the I 2 CI / O expander 61 with unique addresses “1110” and “1111”.
5 is not used. Therefore, even if the front frame 3 of any specification, the abnormality determination table 21
At 00 (FIG. 21), there is an I 2 CI / O expander 615 which is not connected, but as described above, with the I 2 CI / O expander 615 registered in the abnormality determination table 2100 If data transmission / reception with the master IC 570 is performed, there is no problem because it is processed as a normal state.

(第2実施形態)
本発明の第2実施形態を図31〜図34を用いて説明する。
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 which the effect control device 550 includes a plurality of master ICs 570.

図31は、本発明の第2実施形態の複数のマスタIC570とI2CI/Oエクスパン
ダ615との接続の説明図である。
FIG. 31 is an explanatory diagram of connection between a plurality of master ICs 570 and the I 2 CI / O expander 615 according to the second embodiment of this invention.

演出制御装置550は、二つのマスタIC570A及び570Bを備える。   The presentation control device 550 includes two master ICs 570A and 570B.

マスタIC570Aには、遊技盤10を装飾する7個の装飾制御装置610(中継基板
600A、及び装飾制御装置610A〜610F)が接続される。
To the master IC 570A, seven decoration control devices 610 (relay board 600A and decoration control devices 610A to 610F) for decoration the game board 10 are connected.

中継基板600AはI2CI/Oエクスパンダ615を備えるので、装飾制御装置61
0の一種であり、遊技盤10に取り付けられた装飾制御装置610の中で最も上流に位置
する。中継基盤600Aには、直接に接続された装飾制御装置610A〜610Cと直接
に接続された装飾制御装置610D〜610Fとが並列に接続される。
Since relay board 600A includes I 2 CI / O expander 615, decoration control device 61
It is a type of 0, and is positioned most upstream in the decoration control device 610 attached to the game board 10. In the relay base 600A, decoration control devices 610A to 610C directly connected and decoration control devices 610D to 610F directly connected are connected in parallel.

マスタIC570Bには、通常版前面枠3に取り付けられる7個の装飾制御装置600
B及び610G〜610L、又は、廉価版前面枠3に取り付けられる4個の装飾制御装置
600B及び610M〜610Oが接続される。
In master IC 570 B, seven decoration control devices 600 attached to the normal version front frame 3
B and 610G to 610L, or four decoration control devices 600B and 610M to 610O attached to the low price plate front frame 3 are connected.

装飾制御装置600Bは、遊技機1に通常版前面枠3及び廉価版前面枠3のいずれが取
り付けられも、マスタIC570Bに接続される装飾制御装置610の中で最も上流に位
置する装飾制御装置610であるため、中継基板600としても機能する。このため、装
飾制御装置600Bと記載している。
The decoration control device 600B is the decoration control device 610 positioned most upstream in the decoration control device 610 connected to the master IC 570B regardless of which of the normal version front frame 3 and the low price version front frame 3 is attached to the gaming machine 1 Therefore, it also functions as the relay board 600. For this reason, it is described as a decoration control device 600B.

装飾制御装置600Bは、照明ユニット11及び異常報知LED29を照射するLED
を制御するものである。照明ユニット11及び異常報知LED29の照射態様は、通常版
前面枠3であっても廉価版前面枠3であっても同じである。このため、通常版前面枠3及
び廉価版前面枠3には、同じアドレスが付与された装飾制御装置610Bが取り付けられ
ている。
The decoration control device 600B is an LED that illuminates the lighting unit 11 and the abnormality notification LED 29.
Control. The irradiation mode of the illumination unit 11 and the abnormality notification LED 29 is the same whether the normal plate front frame 3 or the low price plate front frame 3 is used. For this reason, the decoration control device 610B to which the same address is given is attached to the normal plate front frame 3 and the low price plate front frame 3.

遊技機1に通常版前面枠3が取り付けられる場合には、装飾制御装置600Bには、直
列に接続された装飾制御装置610G〜610Iと直列に接続された装飾制御装置610
J〜610Lとが並列に接続される。一方、遊技機1に廉価版前面枠3が取り付けられる
場合には、装飾制御装置600Bには、直列に接続された装飾制御装置610M〜610
Oが接続される。
When the normal version front frame 3 is attached to the gaming machine 1, the decoration control device 610B is connected to the decoration control devices 610G to 610I connected in series.
J to 610L are connected in parallel. On the other hand, when the low priced front frame 3 is attached to the gaming machine 1, the decoration control devices 610M to 610 connected in series to the decoration control device 600B.
O is connected.

通常版前面枠3の装飾部材9を照射するLEDは、6個の装飾制御装置610G〜61
0Lによって制御される。廉価版前面枠3の装飾部材9'を照射するLEDは、3個の装
飾制御装置610M〜610Oによって制御される。
The LEDs that illuminate the decoration member 9 of the normal version front frame 3 are six decoration control devices 610G to 61
It is controlled by 0L. The LEDs that illuminate the decorative member 9 'of the inexpensive front frame 3 are controlled by three decoration control devices 610M-610O.

このため、装飾部材9のほうが装飾部材9'よりも明るくなる。このため、通常版前面
枠3が取り付けられた場合の装飾制御装置610の制御と、廉価版前面枠3が取り付けら
れた場合の装飾制御装置610の制御とが異なる。
Therefore, the decorative member 9 is brighter than the decorative member 9 '. For this reason, the control of the decoration control device 610 when the normal version front frame 3 is attached and the control of the decoration control device 610 when the low price version front frame 3 is attached are different.

なお、各マスタIC570に接続される装飾制御装置610のI2CI/Oエクスパン
ダ615のアドレスは、接続されているマスタIC570内で一意であるように付与され
る。図30で説明したように、マスタIC570Bに接続される装飾制御装置610G〜
610Lと装飾制御装置610M〜610とは異なるアドレスが付与される。
The address of the I 2 CI / O expander 615 of the decoration control device 610 connected to each master IC 570 is given so as to be unique within the connected master IC 570. As described in FIG. 30, the decoration control device 610G connected to the master IC 570B
Different addresses are given to 610L and decoration control devices 610M-610.

通常版前面枠3及び廉価版前面枠3のいずれが遊技機1に取り付けられても、装飾部材
9、9'を照射するLEDを制御する装飾制御装置610のI2CI/Oエクスパンダ61
5に割り当てられたすべての固有アドレスに対して演出制御データがマスタIC570B
から送信される。
The I 2 CI / O expander 61 of the decoration control device 610 that controls the LEDs that irradiate the decorative members 9 and 9 'regardless of which of the normal version front frame 3 and the low price version front frame 3 is attached to the game machine 1
Production control data is master IC 570 B for all unique addresses assigned to 5
Sent from

したがって、通常版用の制御と廉価版用の制御とを行えるようにした一つの演出制御装
置550で通常版前面枠3の装飾制御装置610と廉価版用の装飾制御装置610とを制
御できるので、製造コストを削減できる。
Therefore, since one effect control device 550 capable of performing control for the normal version and control for the low price version can control the decoration control device 610 for the normal version front frame 3 and the decoration control device 610 for the low price version. , Can reduce the manufacturing cost.

また、遊技盤10に取り付けられる装飾制御装置610のI2CI/Oエクスパンダ6
15が接続されるマスタIC570と、通常版前面枠3に取り付けられる装飾制御装置6
10のI2CI/Oエクスパンダ615又は廉価版前面枠3に取り付けられる装飾制御装
置610のI2CI/Oエクスパンダ615が接続されるマスタIC570と、を分離し
ている。
In addition, the I 2 CI / O expander 6 of the decoration control device 610 attached to the game board 10
15 is connected to the master IC 570, and the decoration control device 6 attached to the normal version front frame 3
The master IC 570 to which the I 2 CI / O expander 615 of the decoration control device 610 attached to the 10 I 2 CI / O expander 615 or the inexpensive plate front frame 3 is connected is separated.

これによって、1個のマスタIC570で制御できるI2CI/Oエクスパンダ615
の数の制限(図12に示すように14個を上限とする)がなくなり、多彩な演出制御を可
能とすることが期待できる。
This allows the I 2 CI / O expander 615 to be controlled by one master IC 570.
There is no limitation of the number of (14 as an upper limit as shown in FIG. 12), and it can be expected to enable a variety of effect control.

本実施形態でも、異常判定テーブル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)
I 2 CI / O Expander 615 and Master IC 570 of Expander 615
If the data transmission and reception are performed between them, the processing is performed as a normal state, but determination of abnormality,
Also, this embodiment differs from the first embodiment in that the process of initializing 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の説明図である。
These abnormality determination tables 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と中継基板600A、装飾制御装置610A〜610Fとの間で行
われるデータ送受信の異常を装飾制御装置毎に判定する第1異常判定テーブル2100A
、及び、マスタIC570Bと通常版遊技枠3に取り付けられた装飾制御装置600B、
610G〜610L、又は廉価版遊技枠3に取り付けられた装飾制御装置600B、61
0M〜610Oとの間で行われるデータ送受信の異常を装飾制御装置毎に判定する第2異
常判定テーブル2100Bの2種類のテーブルが存在する。
First abnormality determination table 2100A for determining, for each decoration control device, an abnormality in data transmission and reception performed between master IC 570A and relay board 600A and decoration control devices 610A to 610F
, And the decoration control device 600B attached to the master IC 570B and the normal version game slot 3,
610G to 610L, or the decoration control device 600B attached to the low price version play frame 3, 61
There are two types of tables of a second abnormality determination table 2100B that determines, for each decoration control device, an abnormality in data transmission and reception performed between 0M and 610O.

そして、何れかの異常判定テーブルにて、すべてのI2CI/Oエクスパンダ615に
関してデータ送受信異常が発生したと判定された場合には、当該異常判定テーブルに属す
るすべての装飾制御装置610を初期化し、あわせて対応するマスタIC570も初期化
する。但し、他の異常判定テーブルに属する装飾制御装置610やマスタIC570は初
期化しない。
When it is determined in any of the abnormality determination tables that a data transmission / reception abnormality has occurred for all of 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 another abnormality determination table are not initialized.

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

このため、データ送信異常が発生したマスタIC570及びデータ送信異常が発生した
マスタIC570に接続される装飾制御装置610が初期化中であっても、異常が発生し
ていないマスタIC570と装飾制御装置610との間で、装飾制御データが送受信でき
るので、遊技の途中で装飾装置620による演出が突然一時停止してしまうことを防止で
きる。
Therefore, 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 in process of initialization, the master IC 570 and the decoration control device 610 have no abnormality. Since the decoration control data can be transmitted and received between them, it is possible to prevent the presentation by the decoration device 620 from being suddenly stopped temporarily during the game.

なお、各マスタIC570A、570Bを初期化する方法として、ソフトリセットとハ
ードリセットとがある。
There are soft reset and hard reset as a method of initializing each master IC 570A, 570B.

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

具体的には、各マスタIC570A、570Bには、各々リセットREG573(図4
参照)を備えている。CPU551がバス563を介してこのリセットレジスタ573に
特定値(初期化指示情報)を書き込むと、特定値を書き込まれたリセットREG573を
備えるマスタIC570だけが初期化される。この場合、リセットREG573は、初期
化指示情報記憶領域となる。
Specifically, each master IC 570A, 570B is reset REG 573 (FIG. 4).
See). When the CPU 551 writes a specific value (initialization instruction information) to the reset register 573 via the bus 563, only the master IC 570 including the reset REG 573 to which the specific value is written is initialized. In this case, the reset REG 573 is an initialization instruction information storage area.

ハードリセットでは、入出力I/F558及び電源投入検出回路559に接続されるN
ORゲート回路590に各マスタIC570A、570BのRESET端子が接続されて
おり、NORゲート回路590に印加される電圧が所定時間ローに保持されると、RES
ET端子に印加される電圧(初期化信号)も所定時間ローに保持され、全てのマスタIC
570A、570Bが初期化される。この場合、RESET端子は、初期化信号入力端子
となる。
In hard reset, N connected to input / output I / F 558 and power on detection circuit 559
When the RESET terminal of each of the master ICs 570A and 570B 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, RES
The voltage (initialization signal) applied to the ET terminal is also held low for a predetermined time, and all master ICs are
570A and 570B are initialized. In this case, the RESET terminal is an initialization signal input terminal.

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, and 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, it goes low for a predetermined time, and is taken into all the master ICs 570 as an initialization signal.

なお、NORゲート回路590とマスタIC570のRESET端子とを接続する線は
、バス563とは別個の線(バスを介さない信号線)である。
The line connecting the NOR gate circuit 590 and the RESET terminal of the master IC 570 is a line separate from the bus 563 (a signal line not passing through the bus).

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

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

第2実施形態では、第1実施形態と同じ処理を実行するが、第1実施形態と異なる処理
のみ、図33及び図34で詳細を説明する。
In the second embodiment, the same processing as that of the first embodiment is performed, but only 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 an I 2 C initial reset process of the second embodiment of the present invention.
In FIG. 33, the same processes as the I 2 C initial reset process shown in FIG. 23 carry the same reference numerals, and the description thereof is omitted.

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に接続される中継基板600A、装飾制
御装置610A〜610Fに初期化指示データを送信するスレーブリセット処理を実行し
(2303)、第1のマスタIC570Aに接続される中継基板600A、装飾制御装置
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. Relay substrate 600A, slave reset processing for transmitting initialization instruction data to the decoration control devices 610A to 610F (2303), and the relay substrate 600A connected to the first master IC 570A and the decoration control devices 610A to 610F are initialized. Turn

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

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

ステップ2701の処理でリセット要求フラグが設定されていると判定された場合、又
は、ステップ2703の処理でリセット条件が成立していると判定された場合、CPU5
51は、リセット条件が成立したマスタIC570を選択し(3401)、ステップ34
01の処理でマスタIC570に備わるリセットREG573に所定の値を書き込み、当
該マスタIC570をソフトリセットする(3402)。
If it is determined that the reset request flag is set in the process of step 2701, or if it is determined that the reset condition is satisfied in the process of step 2703, the CPU 5
51 selects the master IC 570 for which the reset condition is satisfied (3401);
In the processing of 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 a slave reset process of transmitting initialization instruction data to all the decoration control devices 610 connected to the master IC 570 selected in the process of step 3401 (2706).

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

ステップ3403の処理で、リセット条件が成立したマスタIC570が可動制御装置
に接続されたマスタIC570であると判定された場合、可動制御装置が制御する役物駆
動MOT561及び役物駆動SOL560を初期位置に戻す初期化処理を実行するので、
ステップ2707の処理に進む。
When it is determined in the process of 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 drive MOT 561 and the accessory drive SOL 560 controlled by the movable control device are set to initial positions. Since the initialization process is performed back,
The process proceeds 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を初期化しなくてもよいので、遊
技中に出力が一時停止する装飾装置の数を最小限に抑えることができ、遊技者に与える違
和感を減少させることができる。
As described above, in the present embodiment, since only the master IC 570 in which the abnormality is detected is soft reset, it is not necessary to initialize the master IC 570 in which the abnormality is not detected. Can be minimized, and the discomfort given to the player can be reduced.

また、ハードリセット又はソフトリセットによってマスタIC570が初期化されると
、初期化されるマスタIC570に接続されるすべての装飾制御装置610も初期化され
るので、確実に異常を解消できる。
In addition, when the master IC 570 is initialized by hard reset or soft 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 resolved.

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

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

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

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

また、実施の形態として、遊技制御装置と演出制御装置とが分離されている構成が開示
されているが、遊技制御装置と演出制御装置とが一体となって1つの制御装置を構成して
いても差し支えないものであり、或いは、遊技制御装置自身がグループ統括制御手段とし
て構成されていても差し支えないことは当然意図されることである。
Moreover, although the structure by which the game control apparatus and the presentation control apparatus were isolate | separated is disclosed as embodiment, the game control apparatus and the presentation control apparatus are unitedly, and one control apparatus is comprised, and Naturally, it is naturally intended that the game control device itself may be configured as a group general control means.

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

また、特許請求の範囲に記載した以外の本発明の観点の代表的なものとして、次のもの
があげられる。
Moreover, the following are mentioned as a typical thing of the viewpoint of this invention except having described in the claim.

(1)遊技領域に設けた所定の始動入賞領域を遊技球が通過すると、複数の識別情報を
変動表示する変動表示ゲームが実行され、該変動表示ゲームの結果に対応して遊技者に特
典を付与する特別遊技状態を発生可能な遊技機において、前記遊技領域における遊技を統
括的に制御する遊技制御手段と、遊技の演出を行う複数の演出装置と、前記遊技制御手段
からの指令に対応して、前記複数の演出装置を制御する演出制御手段と、を備え、前記複
数の演出装置を複数グループに分割し、該分割されたグループに属する演出装置を制御す
るためのグループ単位制御手段を各グループ毎に設け、前記演出制御手段を、前記グルー
プ単位制御手段の各々を統括的に制御するグループ統括制御手段として構成するとともに
、前記グループ統括制御手段から前記グループ単位制御手段へタイミング信号を伝達する
タイミング信号線と、前記グループ統括制御手段と前記グループ単位制御手段との間でデ
ータ信号を授受するデータ線と、を備えることによって、前記グループ統括制御手段と前
記グループ単位制御手段との間で相互にデータ通信を可能とし、前記グループ統括制御手
段に前記タイミング信号線及び前記データ線を介して接続可能な前記各グループ単位制御
手段には個別のアドレスが設定され、前記グループ統括制御手段は、前記各グループ単位
制御手段から送信先となるグループ単位制御手段を選択し、前記選択されたグループ単位
制御手段に設定されたアドレスを指定するアドレス指定手段と、前記データ線の信号レベ
ルを送信データに対応する信号レベルに設定しながら、前記タイミング信号線の信号レベ
ルを繰り返し変化させることによって、前記アドレス指定手段によって指定された送信先
のグループ単位制御手段のアドレスを含むデータを順次送信する送信手段と、前記送信手
段による所定のビット数のデータ送信が終了する毎に、前記グループ単位制御手段からの
返答信号を取り込む返答信号取込手段と、前記返答信号取込手段によって取り込まれた返
答信号によってデータ送信の成否を判定する判定手段と、を備え、前記グループ単位制御
手段は、前記送信手段によって送信されたデータに含まれるアドレスが自宛のアドレスを
示す場合に、該送信手段によってデータが送信された前記データ線を介して、前記返答信
号を前記グループ統括制御手段へ出力する返答信号出力手段を備え、前記アドレス指定手
段が前記グループ統括制御手段に接続可能なすべてのグループ単位制御手段を前記送信先
として選択することによって、前記送信手段を介して、前記グループ統括制御手段に接続
可能なすべてのグループ単位制御手段に設定されたアドレスに対して前記データが送信さ
れる一方で、前記グループ統括制御手段には、前記グループ統括制御手段に接続可能なす
べてのグループ単位制御手段のうち、一部のグループ単位制御手段だけが接続されること
を特徴とする遊技機。
(1) When the game ball passes through a predetermined start-up winning area provided in the game area, a variable display game in which a plurality of identification information is variably displayed is executed, and the player is given a privilege corresponding to the result of the variable display game. In a gaming machine capable of generating a special gaming state to be granted, corresponding to a command from the game control means for controlling the game in the game area in an integrated manner, a plurality of effect devices for effecting a game, and the game control means Group control means for dividing the plurality of effect devices into a plurality of groups, and controlling the effect devices belonging to the divided groups. While providing the group effect control means provided for each group, the effect control means integrally controlling each of the group unit control means, The group general control means includes a timing signal line for transmitting a timing signal to the group unit control means, and a data line for exchanging data signals between the group general control means and the group unit control means. It is possible to mutually communicate data between the group unit control means and each group unit control means connectable to the group general control means via the timing signal line and the data line. Address setting means for selecting the group unit control means to be the transmission destination from each of the group unit control means, and specifying the address set in the selected group unit control means; While setting the signal level of the data line to the signal level corresponding to transmission data, Transmitting means for sequentially transmitting data including the address of the group unit control means of the transmission destination designated by the addressing means by repeatedly changing the signal level of the imme signal line, and a predetermined number of bits of the transmission means A response signal taking-in means for taking in a response signal from the group unit control means every time data transmission is completed, and a judging means for judging success or failure of data transmission according to the response signal taken in by the response signal taking-in means, And the group unit control means, when the address included in the data transmitted by the transmission means indicates an address addressed to the self, transmits the response via the data line to which the data is transmitted by the transmission means. A response signal output unit for outputting a signal to the group general control unit, the address specification unit By selecting all group unit control means connectable to the group general control means as the destination, all group unit control means connectable to the group general control means via the transmission means are set. While the data is transmitted to the stored address, the group general control means includes only some of the group unit control means among all the group unit control means connectable to the group general control means. A gaming machine characterized by being connected.

(2)設けられる前記演出装置の組み合わせによって、予め定めされた複数種類の仕様
の中から当該遊技機の仕様が選択的に特定されるとともに、該複数種類の仕様として第1
仕様遊技機と第2仕様遊技機とが含まれており、前記グループ統括制御手段に接続可能な
すべてのグループ単位制御手段には、前記第1仕様遊技機にのみ設けられて前記第2仕様
遊技機には設けられない演出装置を制御する第1グループ単位制御手段と、前記第2仕様
遊技機にのみ設けられて前記第1仕様遊技機には設けられない演出装置を制御する第2グ
ループ単位制御手段と、が含まれ、前記アドレス指定手段は、当該遊技機の仕様に拘らず
、前記第1グループ単位制御手段に設定されたアドレスと、前記第2グループ単位制御手
段に設定されたアドレスとを、ともに指定し、前記送信手段は、前記アドレス指定手段が
指定したアドレスが設定されているすべてのグループ単位制御手段に対して前記データを
送信することを特徴とする(1)に記載の遊技機。
(2) According to the combination of the rendering devices provided, the specification of the gaming machine is selectively specified from among a plurality of types of specifications determined in advance, and
A specification game machine and a second specification game machine are included, and all the group unit control means connectable to the group general control means are provided only for the first specification game machine and the second specification game machine is provided. First group unit control means for controlling a rendering device not provided on the game machine, and a second group unit for controlling a rendering device provided only on the second specification gaming machine and not provided on the first specification gaming machine A control unit is included, and the address specification unit sets the address set in the first group unit control unit and the address set in the second group unit control unit regardless of the specification of the game machine. Are specified together, and the transmission means is characterized in that the data is transmitted to all the group unit control means in which the address specified by the addressing means is set. The gaming machine according to).

(3)遊技球を発射して遊技が行われる遊技領域が形成された遊技盤と、前記遊技盤が
着脱可能に取り付けられる前面枠と、を備え、前記前面枠には遊技の演出を行う前記演出
装置が備えられるとともに、該前面枠は、該演出装置の種類が互いに異なる第1遊技枠若
しくは第2遊技枠として、複数の仕様の何れかが設定され、前記遊技盤は前記第1遊技枠
及び第2遊技枠の何れにも取り付けられ、前記遊技盤に設けられる演出装置は、前記第1
グループ単位制御手段及び前記第2グループ単位制御手段とは異なる第3グループ単位制
御手段によって制御され、前記グループ統括制御手段には、前記第1グループ単位制御手
段及び前記第2グループ単位制御手段のいずれか一方が接続される第1グループ統括制御
手段と、前記第3グループ単位制御手段が接続される第2グループ統括制御手段と、を備
えることを特徴とする(2)に記載の遊技機。
(3) A game board provided with a game area in which a game area is to be played by firing a game ball, and a front frame to which the game board is detachably mounted, the front frame performing a game effect A rendering device is provided, and the front frame is set to one of a plurality of specifications as a first gaming slot or a second gaming slot different in type of the rendering device, and the gaming board is the first gaming slot. And the second game slot, the effect device provided on the game board is the
The group unit control unit and the second group unit control unit are controlled by a third group unit control unit different from the second group unit control unit, and the group general control unit is any of the first group unit control unit and the second group unit control unit. The gaming machine according to (2), further comprising: first group general control means to which one side is connected; and second group general control means to which the third group unit control means is connected.

(4)前記演出制御手段は、前記判定手段の判定結果に基づいて、前記グループ統括制
御手段に接続可能なすべてのグループ単位制御手段に対して、前記グループ統括制御手段
との接続状態を判定する接続判定手段を備え、前記送信手段は、前記接続判定手段によっ
て前記グループ統括制御手段に接続されていると判定された前記グループ単位制御手段と
、前記接続判定手段によって前記グループ統括制御手段に接続されていないと判定された
前記グループ単位制御手段とで、前記データ送信の態様を変更することを特徴とする(1
)〜(3)のいずれか一つに記載の遊技機。
(4) The effect control means determines the connection state with the group general control means with respect to all group unit control means connectable to the group general control means based on the judgment result of the judgment means. Connection determination means, the transmission means being connected to the group unit control means determined by the connection determination means to be connected to the group general control means, and connected by the connection determination means Changing the mode of the data transmission with the group unit control means determined not to be
) The gaming machine according to any one of (3) to (3).

(5)前記判定手段によって、前記グループ単位制御手段への前記データ送信が所定回
数連続して失敗したと判定された場合には、前記接続判定手段は、当該グループ単位制御
手段が前記グループ統括制御手段に接続されていないと判定することを特徴とする(4)
に記載の遊技機。
(5) When it is determined by the determination means that the data transmission to the group unit control means has failed a predetermined number of times in a row, the connection determination means determines that the group unit control means controls the group general control It is characterized by determining that it is not connected to the means (4)
The gaming machine described in.

(6)前記送信手段は、前記接続判定手段によって前記グループ統括制御手段に接続さ
れていると判定された前記グループ単位制御手段への前記データ送信の頻度を、前記接続
判定手段によって前記グループ統括制御手段に接続されていないと判定された前記グルー
プ単位制御手段への前記データ送信の頻度よりも高くすることを特徴とする(4)又は(
5)に記載の遊技機。
(6) The transmission means controls the frequency of the data transmission to the group unit control means judged to be connected to the group general control means by the connection judgment means by the connection judgment means. Making the frequency higher than the frequency of the data transmission to the group unit control means determined not to be connected to the means (4) or (4)
The gaming machine described in 5).

(7)前記送信手段には、前記判定手段によって前記グループ単位制御手段への前記デ
ータ送信が失敗したと判定された場合に、当該データを再送する再送手段が備えられ、
前記接続判定手段によって前記グループ統括制御手段に接続されていると判定された前記
グループ単位制御手段に対して前記再送手段がデータを再送する回数を、前記接続判定手
段によって前記グループ統括制御手段に接続されていないと判定された前記グループ単位
制御手段に対して前記再送手段がデータを再送する回数よりも、多く設定したことを特徴
とする(4)〜(6)のいずれか一つに記載の遊技機。
(7) The transmitting means is provided with a resending means for resending the data when it is determined by the determining means that the data transmission to the group unit control means has failed.
The connection judging means connects the number of times the retransmission means retransmits data to the group general control means with respect to the group unit control means judged to be connected to the group general control means by the connection judgment means The number of times the retransmission unit retransmits the data is set to the group unit control unit determined not to be more frequently than the number of times of retransmission of data as described in any one of (4) to (6). Gaming machine.

(1)の発明によると、グループ統括手段からグループ単位制御手段へ1本のデータ線
を介してデータ送信ができるので、基板間の配線を少なくすることができる。また、グル
ープ単位制御手段からグループ統括手段へも同じデータ線を用いて返答信号が送信される
ので、データ送信が行われたかを確認できる構成となって、誤作動を防止することができ
る。また、グループ統括制御手段からグループ単位制御手段へデータを送信した直後に、
グループ単位制御手段からグループ統括手段へ返答信号を返す構成なので、高速なデータ
通信が可能となる。さらに、グループ統括制御手段に接続可能なグループ単位制御手段に
は固有のアドレスが付与され、当該すべてのグループ単位制御手段に対してデータが送信
されるので、グループ統括制御手段に個別のアドレスが付与されたグループ単位制御手段
のいずれが接続されても、当該接続されたグループ単位制御手段は正確に動作し、グルー
プ統括制御手段の動作プログラムを共通化できる。
According to the invention of (1), since data transmission can be performed from the group generalization means to the group unit control means via one data line, the wiring between the substrates can be reduced. In addition, since the response signal is transmitted from the group unit control means to the group general control means using the same data line, it is possible to confirm whether the data transmission has been performed, thereby preventing a malfunction. Also, immediately after transmitting data from the group general control means to the group unit control means,
Since the group unit control means returns a response signal to the group control means, high-speed data communication is possible. Furthermore, since a unique address is given to the group unit control means connectable to the group general control means, and data is transmitted to all the group unit control means, an individual address is given to the group general control means Regardless of which of the group unit control means is connected, the connected group unit control means operates correctly, and the operation program of the group general control means can be made common.

(2)の発明によると、遊技機の仕様が、第1仕様遊技機と第2仕様遊技機の何れであ
っても、グループ統括制御手段の動作プログラムを変更せずに、遊技機に設けた演出装置
を制御して装飾を行うことができる。
According to the invention of (2), even if the specification of the gaming machine is either the first specification gaming machine or the second specification gaming machine, the gaming machine is provided without changing the operation program of the group general control means. The decoration can be performed by controlling the rendering device.

(3)の発明によると、遊技盤を、第1遊技枠と第2遊技枠のいずれに取り付けた場合
であっても、グループ統括制御手段の動作プログラムを変更せずに、遊技機に設けた演出
装置を制御して装飾を行うことができる。さらに、グループ統括制御手段に接続可能なグ
ループ単位制御手段の数が制限されていても、遊技盤に設けた演出装置を制御するグルー
プ単位制御手段が接続されるグループ統括制御手段と、第1遊技枠に設けた演出装置を制
御するグループ単位制御手段又は第2遊技枠に設けた演出装置を制御するグループ単位制
御手段が接続されるグループ統括制御手段と、の各々が備わるようにしたので、遊技機全
体で制御可能なグループ単位制御手段の数を増加させることができる。
According to the invention of (3), even when the gaming board is attached to either the first gaming slot or the second gaming slot, the gaming machine is provided in the gaming machine without changing the operation program of the group general control means. The decoration can be performed by controlling the rendering device. Furthermore, even if the number of group unit control means that can be connected to the group general control means is limited, the group general control means to which the group unit control means for controlling the rendering device provided on the game board is connected; Each of the group unit control means for controlling the effect device provided in the frame and the group general control means connected to the group unit control means for controlling the effect device provided in the second game frame is provided. It is possible to increase the number of group unit control means that can be controlled throughout the machine.

(4)の発明によると、グループ統括制御手段に接続されているグループ単位制御手段
と、グループ統括制御手段に接続されていないグループ単位制御手段とで、データ送信の
態様を変更するので、適切なデータ送信を行うことができる。
According to the invention of (4), the mode of data transmission is changed by the group unit control means connected to the group general control means and the group unit control means not connected to the group general control means. Data can be transmitted.

(5)の発明によると、判定手段によって所定回数連続してデータ送信が失敗したと判
定されたグループ単位制御手段をグループ統括制御手段に接続されていないと判定するの
で、グループ統括制御手段に接続されているか否かの誤判定を防止できる。
According to the invention of (5), since it is determined that the group unit control means determined to have failed data transmission continuously a predetermined number of times by the determination means is not connected to the group general control means, it is connected to the group general control means It is possible to prevent an erroneous determination as to whether or not it has been done.

(6)の発明によると、グループ統括制御手段に接続されていないグループ単位制御手
段へのデータ再送信の頻度を、グループ統括制御手段に接続されているグループ単位制御
手段へのデータ再送信の頻度よりも低くするので、グループ統括制御手段とグループ単位
制御手段との間のデータ送信量を全体的に減少させることができる。また、グループ統括
制御手段に接続されていないグループ単位制御手段に対するデータ送信を行わないわけで
はないので、グループ単位制御手段に一時的な故障などが発生した場合であってもいち早
く一時的な故障が発生したグループ単位制御手段を復帰できる。
According to the invention of (6), the frequency of data retransmission to the group unit control means not connected to the group general control means is set to the frequency of data retransmission to the group unit control means connected to the group general control means. Since it is lower than the above, the amount of data transmission between the group general control means and the group unit control means can be reduced overall. Also, since data transmission to the group unit control means not connected to the group general control means is not necessarily performed, even if a temporary failure or the like occurs in the group unit control means, a temporary failure occurs quickly. The generated group unit control means can be restored.

(7)の発明によると、グループ統括制御手段に接続されていないグループ単位制御手
段へのデータの再送回数を、グループ統括制御手段に接続されているグループ単位制御手
段へのデータの再送回数よりも少なくするので、グループ統括制御手段とグループ単位制
御手段との間のデータ送信量を全体的に減少させることができる。
According to the invention of (7), the number of retransmissions of data to the group unit control means not connected to the group general control means is greater than the number of retransmissions of data to the group unit control means connected to the group general control means. Since the number is reduced, the amount of data transmission between the group general control means and the group unit control means can be reduced overall.

以上のように、本発明は、演出制御装置が装飾制御装置を制御する遊技機に適用可能で
ある。
As described above, the present invention is applicable to a game machine in which the effect control device controls the 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 Game machine 2 Body frame (outside frame)
3 front frame 4 hinge 10 game board 11 lighting unit 17 effect button 18 glass frame 34 common drawing start gate 36 normal fluctuation winning device 42 special fluctuation winning device 44 general winning opening 45 first starting winning opening 51 center case 52 window 53 display Device 55 Vibration sensor 60 Movable character 500 Game control device 550 Effect control device 560 Object drive SOL
561 Feature Drive MOT
570 Master IC
573 reset REG
574 Send mode REG
580 Payout control device 600 Relay board (decorative control device)
610 decoration control device 620 decoration device 2100 abnormality determination table

Claims (1)

遊技の演出を行う複数の演出装置を備える遊技機において、
前記複数の演出装置を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段をグループ毎に設けるとともに、
前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段を設け、
前記グループ単位制御手段と前記グループ統括制御手段との間を、前記グループ統括制御手段から前記グループ単位制御手段にタイミング信号を伝達するタイミング信号線と、データ信号を伝達するデータ線と、前記グループ単位制御手段に電源電圧を供給する電源線と、を含むハーネスによりコネクタを介して接続し、
前記グループ統括制御手段が前記グループ単位制御手段に伝達するデータには、前記グループ単位制御手段に設けられた記憶領域のうちの所定のアドレスを示すアドレス情報と、複数の制御データと、前記記憶領域の範囲内においてアドレスを更新する際の上限アドレスと戻りアドレスを特定可能なアドレス更新情報と、が含まれ、
前記グループ統括制御手段は、当該グループ統括制御手段に電源供給が開始されると、当該グループ統括制御手段自身を電源供給による電圧上昇に基づいて初期化可能であり、
前記グループ単位制御手段は、
前記ハーネスの再接続により当該グループ単位制御手段に電源供給が開始されると、当該グループ単位制御手段自身を電源供給による電圧上昇に基づいて初期化可能であり、
前記アドレス情報が示すアドレスを記憶先の開始アドレスとして、伝達された制御データを記憶し、制御データを記憶する毎に記憶先のアドレスを順次更新し、
前記上限アドレスが示す記憶領域に制御データを記憶した場合は、前記戻りアドレスに戻るように記憶先のアドレスを更新することを特徴とする遊技機。
In a gaming machine provided with a plurality of effect devices for effecting a game,
The plurality of effect devices are divided into a plurality of groups, and group unit control means for controlling the effect devices belonging to the divided groups is provided for each group.
A group general control means is provided which comprehensively controls each of the group unit control means,
A timing signal line for transmitting a timing signal from the group general control means to the group unit control means between the group unit control means and the group general control means, a data line for transmitting data signals, and the group unit Connected through a connector by a harness including a power supply line for supplying a power supply voltage to the control means;
The data transmitted to the group unit control means by the group general control means includes address information indicating a predetermined address in the storage area provided in the group unit control means, a plurality of control data, and the storage area Address update information that can specify the upper limit address and the return address when updating the address within the range of
When power supply to the group general control means is started, the group general control means can initialize the group general control means itself based on a voltage rise due to the power supply,
The group unit control means
When the power supply to the group-unit control unit is started by the re-connection of the harness, Ri initializability der based the group-unit control unit itself to the voltage rise due to the power supply,
The transmitted control data is stored with the address indicated by the address information as the start address of the storage destination, and the storage destination address is sequentially updated each time the control data is stored,
When control data is stored in a storage area indicated by the upper limit address, a storage destination address is updated so as to return to the return address .
JP2015207947A 2015-10-22 2015-10-22 Gaming machine Active JP6518180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015207947A JP6518180B2 (en) 2015-10-22 2015-10-22 Gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015207947A JP6518180B2 (en) 2015-10-22 2015-10-22 Gaming machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014198422A Division JP5829740B2 (en) 2014-09-29 2014-09-29 Game machine

Publications (2)

Publication Number Publication Date
JP2016034556A JP2016034556A (en) 2016-03-17
JP6518180B2 true JP6518180B2 (en) 2019-05-22

Family

ID=55522813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015207947A Active JP6518180B2 (en) 2015-10-22 2015-10-22 Gaming machine

Country Status (1)

Country Link
JP (1) JP6518180B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4808091B2 (en) * 2006-06-22 2011-11-02 株式会社三共 Slot machine
JP2008220409A (en) * 2007-03-08 2008-09-25 Heiwa Corp Game machine

Also Published As

Publication number Publication date
JP2016034556A (en) 2016-03-17

Similar Documents

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

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161025

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20161214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170516

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170703

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20171121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180220

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20180222

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20180427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190419

R150 Certificate of patent or registration of utility model

Ref document number: 6518180

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250