JP2013135876A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2013135876A
JP2013135876A JP2013034483A JP2013034483A JP2013135876A JP 2013135876 A JP2013135876 A JP 2013135876A JP 2013034483 A JP2013034483 A JP 2013034483A JP 2013034483 A JP2013034483 A JP 2013034483A JP 2013135876 A JP2013135876 A JP 2013135876A
Authority
JP
Japan
Prior art keywords
control device
master
data
decoration
connection line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013034483A
Other languages
Japanese (ja)
Other versions
JP2013135876A5 (en
JP5604653B2 (en
Inventor
Masaya Tanaka
雅也 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sophia Co Ltd
Original Assignee
Sophia Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sophia Co Ltd filed Critical Sophia Co Ltd
Priority to JP2013034483A priority Critical patent/JP5604653B2/en
Publication of JP2013135876A publication Critical patent/JP2013135876A/en
Publication of JP2013135876A5 publication Critical patent/JP2013135876A5/ja
Application granted granted Critical
Publication of JP5604653B2 publication Critical patent/JP5604653B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a game machine that enables presentation control fast.SOLUTION: A game machine includes: a game control means for comprehensively controlling a game; and a presentation control means for controlling a plurality of systems of presentation devices which direct the game for each system, corresponding to a command from the game control means. The game machine includes: a group unit control means for controlling the grouped presentation device; a group comprehensive control means for comprehensively controlling the respective group unit control means; a timing signal line for transmitting a timing signal from the group comprehensive control means to the group unit control means; and a data line for transmitting a data signal in the same way as the timing signal line. The group comprehensive control means includes a sending means for sending data to the group unit control means in sequence while synchronizing the generation of an image update signal for updating an image on an image display device. The sending means includes an arithmetic processing means and a signal control means, and is formed such that the means are operable in parallel.

Description

グループに分割された演出装置を制御する複数のグループ単位制御手段と、複数のグループ単位制御手段を制御するグループ統括制御手段とを備える遊技機に関し、特に、遊技機の制御を高速にするための技術に関する。   The present invention relates to a gaming machine comprising a plurality of group unit control means for controlling a production device divided into groups and a group overall control means for controlling a plurality of group unit control means, and in particular for speeding up the control of gaming machines. Regarding technology.

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

特開2008−212271号公報JP 2008-212271 A

特許文献1に記載の遊技機は、演出制御基板80のCPUにて、各LED基板へデータを送信する処理と、送信データを生成する処理をそれぞれ行っている。そのため、CPUの処理負担が重く、画像表示装置の画像の更新に同期させるような、高速な制御ができないという問題があった。   In the gaming machine described in Patent Document 1, the CPU of the effect control board 80 performs a process of transmitting data to each LED board and a process of generating transmission data. For this reason, there is a problem that the processing load on the CPU is heavy, and high-speed control that is synchronized with the image update of the image display device cannot be performed.

本発明は、演出に必要な処理を分散させることによって、演出制御を高速化する遊技機を提供することを目的とする。   An object of the present invention is to provide a gaming machine that speeds up presentation control by dispersing processing necessary for presentation.

第1の発明は、遊技領域に設けた所定の始動入賞領域を遊技球が通過すると、複数の識別情報を変動表示する変動表示ゲームが実行され、該変動表示ゲームの結果に対応して遊技者に特典を付与する特別遊技状態を発生可能な遊技機において、前記遊技領域における遊技を統括的に制御する遊技制御手段と、遊技の演出を行う複数の演出装置と、前記遊技制御手段からの指令に対応して、前記複数の演出装置を制御する演出制御手段と、遊技に係わる画像を表示する画像表示装置と、を備え、前記演出装置の系統の各々を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段を各グループ毎に設け、前記演出制御手段を、前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段として構成するとともに、前記グループ統括制御手段から前記グループ単位制御手段へタイミング信号を伝達するタイミング信号線と、前記グループ統括制御手段から前記グループ単位制御手段へデータ信号を伝達するデータ線と、を備えることにより前記グループ統括制御手段と前記各グループ単位制御手段との間でデータ送信を可能とし、前記グループ統括制御手段は、前記画像表示装置の画像を更新する画像更新信号を生成する画像更新信号生成手段と、前記データ線の信号レベルを送信するデータに対応する信号レベルに設定しながら前記タイミング信号線の信号レベルを繰り返し変化させることで、順次前記グループ単位制御手段に、前記画像更新信号に同期させながらデータを送信する送信手段と、を備えるとともに、前記送信手段は、前記演出装置の制御に関わる演算処理を行う演算処理手段と、前記グループ単位制御手段と接続されて、前記演算処理手段からの指令に基づいて、該グループ単位制御手段との間の前記データ線及びタイミング信号線の各信号レベルを制御する信号レベル制御手段と、を含んで構成され、前記演算処理手段による演算処理と前記信号レベル制御手段による各信号レベルの制御とが、各々並行して実行可能である。   According to a first aspect of the present invention, when the game ball passes through a predetermined start winning area provided in the game area, a variable display game is displayed in which a plurality of identification information is displayed in a variable manner. In a gaming machine capable of generating a special gaming state that grants a bonus to a game control means for comprehensively controlling a game in the gaming area, a plurality of effect devices for effecting a game, and a command from the game control means Corresponding to the production control means for controlling the plurality of effect devices, and an image display device for displaying an image related to the game, each of the system of the effect device is divided into a plurality of groups, the divided Group unit control means for controlling the production devices belonging to the group is provided for each group, and the production control means controls the group unit control means collectively. And a timing signal line for transmitting a timing signal from the group control unit to the group unit control unit, and a data line for transmitting a data signal from the group control unit to the group unit control unit. Providing data transmission between the group overall control means and each group unit control means, wherein the group overall control means generates an image update signal for updating an image of the image display device. The signal level of the timing signal line is repeatedly changed while the signal level of the data line is set to the signal level corresponding to the data to be transmitted. Transmission means for transmitting data while synchronizing, and The transmitting means is connected to the arithmetic processing means for performing arithmetic processing related to the control of the rendering device and the group unit control means, and based on a command from the arithmetic processing means, between the group unit control means Signal level control means for controlling each signal level of the data line and the timing signal line, and the arithmetic processing by the arithmetic processing means and the control of each signal level by the signal level control means are respectively parallel. And can be executed.

第2の発明は、第1の発明において、前記演算処理手段は、前記画像更新信号が生成される間に、前記演出装置の演出態様を決定する処理を、複数回、かつ、定期的に実行する。   In a second aspect based on the first aspect, the arithmetic processing means periodically and repeatedly performs a process of determining a rendering aspect of the rendering device while the image update signal is generated. To do.

第3の発明は、第2の発明において、前記画像更新信号の生成周期よりも短い周期となるように、演出態様決定タイミング信号を周期的に生成する演出態様決定タイミング信号生成手段を備え、前記演出装置の演出態様を決定する処理は、前記演出態様決定タイミング信号が発生した場合に実行される。   According to a third invention, in the second invention, there is provided an appearance mode determination timing signal generation means for periodically generating an effect mode determination timing signal so as to have a cycle shorter than the generation cycle of the image update signal. The process of determining the effect mode of the effect device is executed when the effect mode determination timing signal is generated.

第4の発明は、第2又は第3の発明において、前記演出装置には、発光することによって当該遊技機の装飾を行う複数の発光素子が含まれており、前記演出装置の演出態様を決定する処理は、前記発光素子の発光態様を決定する処理である。   According to a fourth invention, in the second or third invention, the effect device includes a plurality of light emitting elements that decorate the gaming machine by emitting light, and determines the effect mode of the effect device. The process of determining is a process of determining the light emission mode of the light emitting element.

第5の発明は、第4の発明において、前記演算処理手段は、前記信号レベル制御手段からの送信割り込みが発生すると、該信号レベル制御手段に対して前記グループ単位制御手段へのデータ送信を指令するデータ送信指令処理を実行するとともに、該データ送信指令処理は、前記発光素子の発光態様を決定する処理よりも優先して実行される。   In a fifth aspect based on the fourth aspect, when the transmission interrupt from the signal level control means occurs, the arithmetic processing means instructs the signal level control means to transmit data to the group unit control means. The data transmission command process is executed, and the data transmission command process is executed with priority over the process of determining the light emission mode of the light emitting element.

第6の発明は、第1から第5のいずれか一つの発明において、前記演算処理手段は、前記画像更新信号が生成される周期ごとに、前記グループ単位制御手段に送信する演出制御データを作成して前記信号レベル制御手段に設定する処理を行うとともに、前記グループ単位制御手段に対する演出制御データの送信に失敗した場合には、前記画像表示装置の画像を更新する次のタイミングにおいて、送信に失敗した前記演出制御データを前記信号レベル制御手段に再度設定せずに、新たに作成された演出制御データを設定する。   According to a sixth invention, in any one of the first to fifth inventions, the arithmetic processing means creates effect control data to be transmitted to the group unit control means for each cycle in which the image update signal is generated. Then, when the transmission of the effect control data to the group unit control unit fails, the transmission fails at the next timing for updating the image of the image display device. The newly created effect control data is set without setting the effect control data again in the signal level control means.

第7の発明は、第1から第6のいずれか一つの発明において、前記信号レベル制御手段は、複数備えられており、各々が並行して動作可能に構成されている。   According to a seventh invention, in any one of the first to sixth inventions, a plurality of the signal level control means are provided, and each is configured to be operable in parallel.

第1の発明によれば、演算処理手段と信号レベル制御手段とが、各々が並行して動作するため、画像表示装置の画像更新に同期するような高速な処理が可能となる。   According to the first invention, since the arithmetic processing means and the signal level control means operate in parallel, high-speed processing that is synchronized with the image update of the image display device is possible.

第2から第4の発明によれば、発光素子の発光態様など、演出装置の演出態様を決定する処理の回数が増えても、画像更新周期の間で分散して処理されるため、演算処理手段の処理負担が増大することを防ぐことができる。   According to the second to fourth aspects of the invention, even if the number of times of determining the effect mode of the effect device such as the light emission mode of the light emitting element is increased, the calculation process is performed in a distributed manner during the image update period. It is possible to prevent the processing load of the means from increasing.

第5の発明によれば、信号レベル制御手段による割り込みが優先されることによって、確実にデータを送信することができる。さらに、信号レベル制御手段の処理時間が多くなっても、発光素子の発光態様を決定する処理が一時的に中断するだけで、演算処理手段の処理負担が増大することを防ぐことができる。   According to the fifth aspect, priority is given to the interrupt by the signal level control means, so that data can be transmitted reliably. Furthermore, even if the processing time of the signal level control means increases, it is possible to prevent the processing load on the arithmetic processing means from increasing simply by temporarily interrupting the process for determining the light emission mode of the light emitting element.

第6の発明によれば、常に、画像更新タイミングにあわせて演出制御データが送信されるので、画像内容と演出装置の演出内容とが一致させる制御が可能となる。   According to the sixth aspect, since the effect control data is always transmitted in accordance with the image update timing, it is possible to control the content of the image to match the effect content of the effect device.

第7の発明によれば、複数の信号レベル制御手段が並列して動作するため、より高速な処理が可能となる。   According to the seventh aspect, since the plurality of signal level control units operate in parallel, higher speed processing is possible.

本発明の実施の形態の遊技機の説明図である。It is explanatory drawing of the game machine of embodiment of this invention. 本発明の実施の形態の遊技盤の正面図である。It is a front view of the game board of the embodiment of the present invention. 本発明の実施の形態のセンターケースの分解斜視図である。It is a disassembled perspective view of the center case of embodiment of this invention. 本発明の実施の形態の可動演出装置が動作する前の状態を示す図である。It is a figure which shows the state before the movable production | presentation apparatus of embodiment of this invention operate | moves. 本発明の実施の形態の可動演出装置が動作し、第1演出ユニット及び第2演出ユニットが動作した結果、当接部にて当接している状態を示す図である。It is a figure which shows the state contact | abutted in the contact part as a result of the movable production | presentation apparatus of embodiment of this invention operating, and operating the 1st production unit and the 2nd production unit. 本発明の実施の形態の第1演出部材の分解斜視図である。It is a disassembled perspective view of the 1st effect member of embodiment of this invention. 本発明の実施の形態の第2演出部材の分解斜視図である。It is a disassembled perspective view of the 2nd production member of an embodiment of the invention. 本発明の実施の形態の遊技機の配線を説明する図である。It is a figure explaining wiring of the game machine of an embodiment of the invention. 本発明の実施の形態の遊技機の構成を示すブロック図である。It is a block diagram which shows the structure of the game machine of embodiment of this invention. 本発明の実施の形態の演出制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the presentation control apparatus of embodiment of this invention. 本発明の実施の形態の演出制御装置に備えられた第1マスタICと遊技盤に備えられた演出装置の構成を示すブロック図である。It is a block diagram showing a configuration of the first master IC provided in the effect control device of the embodiment of the present invention and the effect device provided in the game board. 本発明の実施の形態の演出制御装置に備えられた第2マスタICと前面枠に備えられた演出装置の構成を示すブロック図である。It is a block diagram which shows the structure of the production | presentation apparatus with which the 2nd master IC with which the presentation control apparatus of embodiment of this invention was equipped and the front frame was equipped. 本発明の実施の形態の遊技盤の構成を示す図である。It is a figure which shows the structure of the game board of embodiment of this invention. 本発明の実施の形態の前面枠の構成を示す図である。It is a figure which shows the structure of the front frame of embodiment of this invention. 本発明の実施の形態の演出制御装置と遊技盤に含まれる中継基板及び装飾制御装置の接続状態を説明する図である。It is a figure explaining the connection state of the relay control board and decoration control apparatus which are included in the production | presentation control apparatus of embodiment of this invention, and a game board. 本発明の実施の形態の演出制御装置と前面枠に含まれる簡易中継基板及び装飾制御装置の接続状態を説明する図である。It is a figure explaining the connection state of the presentation control apparatus of embodiment of this invention, the simple relay board | substrate contained in a front frame, and a decoration control apparatus. 本発明の実施の形態の装飾制御装置のブロック図である。It is a block diagram of the decoration control apparatus of embodiment of this invention. 本発明の実施の形態のI2CI/Oエクスパンダの構成を示すブロック図である。It is a block diagram showing the configuration of I 2 CI / O expander of the embodiment of the present invention. 本発明の実施の形態の装飾装置を制御する装飾制御装置のI2CI/Oエクスパンダ周辺の回路図である。It is a circuit diagram around the I 2 CI / O expander of the decoration control device that controls the decoration device of the embodiment of the present invention. 本発明の実施の形態の装飾制御装置のI2CI/Oエクスパンダ周辺の回路図であり、モータやソレノイドを制御する場合を示す図である。It is a circuit diagram around the I 2 CI / O expander of the decoration control device of the embodiment of the present invention, and shows a case where a motor and a solenoid are controlled. 本発明の実施の形態の装飾制御装置(中継基板、簡易中継基板を含む)の入出力に関する接続線の回路図である。It is a circuit diagram of the connection line regarding the input / output of the decoration control device (including the relay board and the simple relay board) of the embodiment of the present invention. 本発明の実施の形態の演出制御装置から装飾制御装置に出力されるデータに含まれるスレーブアドレスの説明図である。It is explanatory drawing of the slave address contained in the data output to the decoration control apparatus from the presentation control apparatus of embodiment of this invention. 本発明の実施の形態のI2CI/Oエクスパンダアドレステーブルの説明図である。It is an explanatory view of I 2 CI / O expander address table according to the embodiment of the present invention. 本発明の実施の形態のI2CI/Oエクスパンダに備えられる出力設定レジスタに割り当てられたワークレジスタを説明するための図である。It is a diagram for explaining an embodiment of a I 2 CI / O Aix work register assigned to the output setting register provided in expander of the present invention. 本発明の実施の形態のマスタICが接続線SDA及び接続線SCLを介してデータを出力するスタート条件及びストップ条件の説明図である。It is explanatory drawing of the start condition and stop condition which the master IC of embodiment of this invention outputs data via the connection line SDA and the connection line SCL. 本発明の実施の形態のマスタICから出力されたデータが入力された装飾制御装置が返答信号を出力するタイミングチャートである。It is a timing chart which the decoration control apparatus into which the data output from the master IC of embodiment of this invention was input outputs a response signal. 本発明の実施の形態のマスタICが演出制御データを出力する場合の接続線SDA及び接続線SCLの信号レベルのタイミングチャートである。It is a timing chart of the signal level of the connection line SDA and the connection line SCL when the master IC of the embodiment of the present invention outputs effect control data. 本発明の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダとの間で送受信されるデータのフォーマットを説明する図である。Data transmitted / received between the master IC and the I 2 CI / O expander when the master IC according to the embodiment of the present invention specifies the individual address of the slave and sets the effect control data in the decoration control device. It is a figure explaining the format of. 本発明の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダとの間で送受信される演出制御データに具体的な数値を適用した図である。When the master IC according to the embodiment of the present invention specifies the individual address of the slave and sets the effect control data in the decoration control device, the effect transmitted / received between the master IC and the I 2 CI / O expander It is the figure which applied the specific numerical value to control data. 本発明の実施の形態のマスタICの演出制御データを送信する順序を説明する図である。It is a figure explaining the order which transmits presentation control data of master IC of an embodiment of the invention. 本発明の実施の形態のマスタICがI2CI/Oエクスパンダを初期化する場合に、マスタICからI2CI/Oエクスパンダに送信される初期化指示データのフォーマットを説明する図である。If the master IC of the embodiment of the present invention initializes the I 2 CI / O expander, is a diagram illustrating the format of the initialization instruction data to be transmitted to the I 2 CI / O expander from the master IC . 本発明の実施の形態の第1マスタICの異常判定テーブルを説明する図である。It is a figure explaining the abnormality determination table of the 1st master IC of an embodiment of the invention. 本発明の実施の形態の第2マスタICの異常判定テーブルを説明する図である。It is a figure explaining the abnormality determination table of the 2nd master IC of an embodiment of the invention. 本発明の実施の形態の各装飾制御装置(スレーブ)を初期化(リセット)時にCPUとマスタIC(第1マスタIC又は第2マスタIC)との間で送受信される情報を説明する図である。It is a figure explaining the information transmitted / received between CPU and master IC (1st master IC or 2nd master IC) at the time of initialization (reset) of each decoration control apparatus (slave) of embodiment of this invention. . 本発明の実施の形態の各装飾制御装置(スレーブ)に演出制御データを送信する際にCPUとマスタIC(第1マスタIC又は第2マスタIC)との間で送受信される情報を説明する図である。The figure explaining the information transmitted / received between CPU and master IC (1st master IC or 2nd master IC), when transmitting presentation control data to each decoration control apparatus (slave) of embodiment of this invention. It is. 本発明の実施の形態の演出制御装置からマスタIC(第1マスタIC又は第2マスタIC)に演出制御データを送信する段階を説明する図である。It is a figure explaining the step which transmits production | presentation control data to the master IC (1st master IC or 2nd master IC) from the production | presentation control apparatus of embodiment of this invention. 本発明の実施の形態の演出制御装置による処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process by the presentation control apparatus of embodiment of this invention. 本発明の実施の形態の第1マスタIC側スレーブ初期化開始処理及び第2マスタIC側スレーブ初期化開始処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the 1st master IC side slave initialization start process and 2nd master IC side slave initialization start process of embodiment of this invention. 本発明の実施の形態のスレーブ出力開始処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the slave output start process of embodiment of this invention. 本発明の実施の形態の第1マスタIC及び第2マスタICによる送信中断割込み発生時の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process at the time of transmission interruption interrupt generation by the 1st master IC and 2nd master IC of embodiment of this invention. 本発明の実施の形態の第1マスタIC及び第2マスタICによるタイムアウト割込み発生時の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process at the time of the time-out interruption generation | occurrence | production by the 1st master IC and 2nd master IC of embodiment of this invention. 本発明の実施の形態の初期化指示データの送信再開処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the transmission resumption process of the initialization instruction | indication data of embodiment of this invention. 本発明の実施の形態の演出制御データの送信再開処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the transmission resumption process of presentation control data of embodiment of this invention. 本発明の実施の形態のデータの送信再開処理の継続を判断するための送信処理継続判定表の一例を示す図である。It is a figure which shows an example of the transmission process continuation determination table for determining continuation of the transmission restart process of the data of embodiment of this invention. 本発明の実施の形態のマスタICによるデータ送信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the data transmission process by the master IC of embodiment of this invention. 本発明の実施の形態のストップコンディション出力処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the stop condition output process of embodiment of this invention. 本発明の実施の形態のSCL解放監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the SCL release monitoring process of embodiment of this invention. 本発明の実施の形態のSDA解放監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the SDA release monitoring process of embodiment of this invention. 本発明の実施の形態のスタートコンディション出力処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the start condition output process of embodiment of this invention. 本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダへのデータ送信処理の手順を示すフローチャートである。It is a flowchart illustrating a procedure of data transmission processing to the I 2 CI / O expander slave embodiment of the present invention. 本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダにおいて、リセット信号発生時の処理の手順を示すフローチャートである。6 is a flowchart showing a processing procedure when a reset signal is generated in the slave I 2 CI / O expander according to the embodiment of the present invention. 本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダにおけるアドレス認識処理などの手順を示すフローチャートである。In I 2 CI / O expander slave embodiment of the present invention is a flow chart showing a procedure such as address recognition. 本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダにおけるデータの読み出し処理の手順を示すフローチャートである。It is a flowchart illustrating the I 2 CI / O Aix procedure of read processing of data in the expander of the slave side of the embodiment of the present invention. 本発明の実施の形態のVDP割込み時に演出制御装置のからの指示によって、第1マスタIC及び第2マスタICによる処理が並列して実行される状態を示すタイミングチャートである。It is a timing chart which shows the state in which the process by 1st master IC and 2nd master IC is performed in parallel by the instruction | indication from an effect control apparatus at the time of VDP interruption of embodiment of this invention. 本発明の実施の形態における装飾制御装置及び装飾装置の接続例を示す図であり、8セット分のLEDを2つの装飾制御装置によって制御する構成を示す図である。It is a figure which shows the example of a connection of the decoration control apparatus and decoration apparatus in embodiment of this invention, and is a figure which shows the structure which controls LED for 8 sets by two decoration control apparatuses. 本発明の実施の形態における装飾制御装置がデータを受信し、演出装置を制御するタイミングを示す図であり、ストップコンディションを出力した時点で受信したデータを反映させる場合について説明する図である。It is a figure which shows the timing which the decoration control apparatus in embodiment of this invention receives data, and controls an effect apparatus, and is a figure explaining the case where the data received at the time of outputting a stop condition are reflected. 本発明の実施の形態において自己スレーブがバスを占有した場合にバスを解放する手順を説明する図である。It is a figure explaining the procedure which releases a bus | bath when the self slave occupies the bus | bath in embodiment of this invention. 本発明の実施の形態において、接続線SDAが何らかの原因により占有されている状態が発生し、接続線SDAの占有を検出したI2CI/Oエクスパンダが自己をリセットして、バスを解放することを試みる手順を説明する図である。In the embodiment of the present invention, a state where the connection line SDA is occupied for some reason occurs, and the I 2 CI / O expander that detects the occupation of the connection line SDA resets itself and releases the bus. It is a figure explaining the procedure which tries to do. 本発明の実施の形態においてスレーブ側のI2CI/Oエクスパンダによってバスが占有された場合に、マスタICからの指令によってスレーブ側のI2CI/Oエクスパンダがバスを解放する手順を説明する図である。When the bus by I 2 CI / O expander slave in the embodiment of the present invention have been occupied, it provides instructions I 2 CI / O expander slave releases the bus in response to a command from the master IC It is a figure to do. 本発明の実施の形態において、マスタICからの誤った指令により、スレーブ側のI2CI/Oエクスパンダで読み出しモードが発生してバスが占有された場合に、マスタICからの指令によってスレーブがバスを解放する手順を説明する図である。In the embodiment of the present invention, when a read mode occurs in the slave I 2 CI / O expander due to an erroneous command from the master IC and the bus is occupied, It is a figure explaining the procedure which releases a bus | bath. 本発明の実施の形態の変形例の装飾装置の点灯パターンデータを格納するための点灯パターンテーブルの一例を示す図である。It is a figure which shows an example of the lighting pattern table for storing the lighting pattern data of the decoration apparatus of the modification of embodiment of this invention. 本発明の実施の形態の変形例の演出制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the presentation control apparatus of the modification of embodiment of this invention. 本発明の実施の形態の変形例の汎用タイマ回路によるタイムアウト割込発生時の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process at the time of time-out interruption generation | occurrence | production by the general purpose timer circuit of the modification of embodiment of this invention. 本発明の実施の形態の変形例のスレーブ出力データ編集処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the slave output data edit process of the modification of embodiment of this invention. 本発明の実施の形態及び変形例のマスタ出力処理及びスレーブ出力データ編集処理の実行タイミングを説明する図である。It is a figure explaining the execution timing of the master output process and slave output data edit process of embodiment and modification of this invention.

以下、本発明の実施の形態について、図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

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

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

ガラス枠18のカバーガラスの周囲には、装飾光が発光される装飾部材9a、9bが備えられている。装飾部材9a、9bの内部にはランプやLED等からなる装飾装置が備えられている。装飾装置を所定の発光態様によって発光させることによって、装飾部材9a、9bが所定の発光態様によって発光する。   Around the cover glass of the glass frame 18, decoration members 9 a and 9 b that emit decoration light are provided. The decoration members 9a and 9b are provided with a decoration device composed of a lamp, an LED, or the like. By causing the decoration device to emit light in a predetermined light emission mode, the decoration members 9a and 9b emit light in a predetermined light emission mode.

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

照明ユニット11には、第1可動式照明13及び第2可動式照明14が左右に配置されている。第1可動式照明13及び第2可動式照明14には、LEDなどの照明部材の他に、照明駆動第1モータ(MOT)13a及び照明駆動第2モータ(MOT)14aが備えられており、演出内容に応じて動作するように制御される。   In the illumination unit 11, a first movable illumination 13 and a second movable illumination 14 are arranged on the left and right. The first movable illumination 13 and the second movable illumination 14 include an illumination drive first motor (MOT) 13a and an illumination drive second motor (MOT) 14a in addition to an illumination member such as an LED. It is controlled so as to operate according to the contents of the production.

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

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

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

また、上皿21の上縁部には、遊技者からの操作入力を受け付けるための演出ボタン17が備えられている。遊技者が演出ボタン17を操作することによって、遊技盤10に設けられた表示装置53(図2参照)における特図変動表示ゲームの演出内容を選択して、表示装置53における特図変動表示ゲームに、遊技者の操作を介入させた演出を行うことができる。   In addition, the upper edge portion of the upper plate 21 is provided with an effect button 17 for receiving an operation input from the player. When the player operates the effect button 17, the effect content of the special figure variation display game on the display device 53 (see FIG. 2) provided on the game board 10 is selected, and the special figure variation display game on the display device 53 is selected. In addition, it is possible to perform an effect in which the player's operation is intervened.

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

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

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

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

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

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

また、センターケース51の上部には、大当たりの可能性(信頼度)を報知する信頼度報知装置15が備えられる。信頼度報知装置15には、複数色のLED(例えば、赤、青、緑の3色のLED)が備えられており、信頼度に応じた色及び態様で発光するように制御される。   In addition, a reliability notification device 15 that notifies the possibility of jackpot (reliability) is provided on the upper portion of the center case 51. The reliability notification device 15 includes LEDs of a plurality of colors (for example, LEDs of three colors of red, blue, and green) and is controlled to emit light in a color and manner according to the reliability.

さらに、センターケース51の左部には、遊技球が流下可能な球導入路(ワープ流路)50が設けられ、遊技領域10aに向けて入口50aが開放した状態で開設されている。球導入路50は、センターケース51の内部に連通しており、入口50aから流入した遊技球は、センターケース51の裏側を通過して、ユニット側ステージ部49b上に排出される。さらに、ユニット側ステージ部49b上で転動した遊技球が当該ユニット側ステージ部49bの下方に配置されたベース側ステージ部49a上に流下できるように構成されている。   Further, a ball introduction path (warp flow path) 50 through which a game ball can flow down is provided on the left portion of the center case 51, and is opened with the entrance 50a open toward the game area 10a. The ball introduction path 50 communicates with the inside of the center case 51, and the game ball that has flowed from the inlet 50a passes through the back side of the center case 51 and is discharged onto the unit-side stage portion 49b. Further, the game ball that rolls on the unit-side stage portion 49b can flow down onto the base-side stage portion 49a disposed below the unit-side stage portion 49b.

センターケース51の周縁部には、複数の装飾具47が配置される。センターケース51の左下部には、装飾ランプ48が配置される、センターケース51の上部には、複数の装飾ピース46を上下動可能な状態で配置される。装飾具47、装飾ランプ48及び装飾ピース46は、後述する演出制御装置550からの命令に従って演出動作を行う。センターケース51の構成については、図3を参照しながらさらに詳細に説明する。   A plurality of ornaments 47 are arranged on the peripheral edge of the center case 51. A decorative lamp 48 is disposed at the lower left portion of the center case 51, and a plurality of decorative pieces 46 are disposed in an upper and lower movable state at the upper portion of the center case 51. The decoration tool 47, the decoration lamp 48, and the decoration piece 46 perform an effect operation according to a command from an effect control device 550 described later. The configuration of the center case 51 will be described in more detail with reference to FIG.

また、遊技領域10aのうちセンターケース51の下方には、遊技球を受入可能(入賞可能)な特図変動表示ゲームを始動させるための始動口36が配置される。さらに、センターケース51の側方(左側方)には、普図変動表示ゲームを始動させるための普図始動ゲート34が配置される。   Further, in the game area 10a, below the center case 51, a start opening 36 for starting a special figure changing display game that can receive (win) a game ball is arranged. Further, on the side of the center case 51 (on the left side), a general map start gate 34 for starting the general map change display game is arranged.

さらに、遊技領域10aには、センターケース51の左下方及び右下方に、発光によって各種装飾表示を行うサイドランプ45が配置される。また、サイドランプ45には、一般入賞口44が備えられている。   Further, in the game area 10a, side lamps 45 that perform various decorative displays by light emission are arranged on the lower left and lower right of the center case 51. The side lamp 45 is provided with a general winning opening 44.

さらに、始動口36の下方には大入賞口42が配置され、該大入賞口42の下方であって遊技領域10aの下縁部には、入賞せずに流下した遊技球を回収するアウト口43が開設される。大入賞口42は、上端側が手前側に倒れる方向に回動して開放可能になっているアタッカ形式の開閉扉42aを備える。特図変動表示ゲームの結果によって開閉扉42aを閉じた状態(遊技者にとって不利な状態)から開放状態(遊技者にとって有利な状態)に変換する。   Further, a big winning opening 42 is arranged below the start opening 36, and an out opening for collecting the game balls that have flowed down without winning at the lower edge of the gaming area 10a below the big winning opening 42. 43 is established. The special winning opening 42 includes an attacker-type opening / closing door 42a that can be opened by rotating in a direction in which the upper end side is tilted to the near side. The state of the open / close door 42a is changed from a closed state (a disadvantageous state for the player) to an open state (a state advantageous for the player) according to the result of the special figure variation display game.

また、センターケース51、始動口36やサイドランプ45等の取付部分を除いた遊技領域10a内には、この他、遊技領域10aには、打球方向変換部材としての風車(図示略)、及び多数の障害釘(図示略)などが配設されている。そして、センターケース51と、該センターケース51を挟んで普図始動ゲート34とは反対側に位置する前面構成部材33との間に縦長な円弧状の遊技球通路57が形成されている。   In addition, in the game area 10a excluding attachment portions such as the center case 51, the start port 36, the side lamp 45, etc., there are a windmill (not shown) as a hitting direction changing member, and many No. nails (not shown) are provided. A vertically arcuate game ball passage 57 is formed between the center case 51 and the front structural member 33 located on the opposite side of the normal start gate 34 with the center case 51 interposed therebetween.

さらに、遊技盤10には、特図変動表示ゲーム及び普図変動表示ゲームを実行する普図・特図表示器35が備えられている。普図・特図表示器35には、特図変動表示ゲームの未処理回数(特図始動記憶数)及び普図変動表示ゲームの未処理回数(普図始動記憶数)が表示される。普図・特図表示器35は、遊技状態を表す遊技状態表示LED(図示略)と併せて、セグメントLEDとして設けられている。   Further, the game board 10 is provided with a special figure / special figure display 35 for executing a special figure change display game and a normal figure change display game. The general-purpose / special-figure display 35 displays the number of unprocessed times (special figure start memory number) of the special-figure display game and the unprocessed number of general-purpose variable display games (number of general figure start memory). The general-purpose / special-purpose display 35 is provided as a segment LED together with a game state display LED (not shown) representing a game state.

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

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

普図変動表示ゲームが開始できない状態とは、例えば、普図変動表示ゲームが既に行われ、その普図変動表示ゲームが終了していない状態や、普図変動表示ゲームに当選して始動口36が開状態に変換されている状態のことをいう。   The state in which the general map change display game cannot be started is, for example, a state in which the general map change display game has already been performed and the normal map change display game has not been completed, Is the state that has been converted to the open state.

なお、普図変動表示ゲームは、表示装置53の表示領域の一部で普図変動表示ゲームを表示するようにしてもよく、この場合は識別図柄として、例えば、数字、記号、キャラクタ図柄などを用い、この識別図柄を所定時間変動表示させた後、停止表示させることによって行うようにする。   It should be noted that the universal map change display game may display the universal map change display game in a part of the display area of the display device 53. In this case, for example, numbers, symbols, character designs, etc. are used as identification symbols. This identification symbol is displayed by variably displaying for a predetermined time and then stopped and displayed.

普図変動表示ゲームの停止表示が特別の結果態様となった場合には、普図変動表示ゲームに当選したものとして、始動口36の開閉部材36aが所定時間(例えば、0.5秒間)開放される。これにより、始動口36に遊技球が入賞しやすくなり、特図変動表示ゲームの始動が容易となる。始動口36の開閉部材36aは、通常時は遊技球の直径程度の間隔をおいて閉じた状態(遊技者にとって不利な状態)を保持しているが、普図変動表示ゲームの結果が所定の停止表示態様となった場合(普図変動表示ゲームに当選した場合)には、ソレノイド(普電SOL36b、図9参照)によって、逆「ハ」の字状に開いて始動口36に遊技球が流入し易い状態(遊技者にとって有利な状態)に変化させられる。   When the stop display of the normal map change display game becomes a special result mode, the opening / closing member 36a of the start port 36 is opened for a predetermined time (for example, 0.5 seconds) as a win for the normal map change display game. Is done. Thereby, it becomes easy to win a game ball in the start opening 36, and the special figure variation display game can be started easily. The opening / closing member 36a of the start port 36 normally maintains a closed state (a disadvantageous state for the player) with an interval of about the diameter of the game ball. When the stop display mode is entered (when the normal-game fluctuation display game is won), the game ball is opened in the reverse “C” shape by the solenoid (Fuden SOL 36b, see FIG. 9), and the game ball is placed at the start port 36. It is changed to a state that is easy to flow in (a state that is advantageous to the player).

また、本発明の実施の形態の遊技機1は、特図変動表示ゲームの結果態様に基づいて、遊技状態として、表示装置53における特図変動表示ゲームの変動表示時間を短縮する時短動作状態(第2動作状態)を発生可能となっている。時短動作状態(第2動作状態)は、通常動作状態(第1動作状態)と比較して始動口36の開閉部材36aが開放状態となりやすい状態である。   In addition, the gaming machine 1 according to the embodiment of the present invention, based on the result form of the special figure fluctuation display game, as a gaming state, the time-short operation state (in which the fluctuation display time of the special figure fluctuation display game on the display device 53 is shortened ( 2nd operation state) can be generated. The short-time operation state (second operation state) is a state in which the opening / closing member 36a of the start port 36 is likely to be open compared to the normal operation state (first operation state).

時短動作状態においては、普図変動表示ゲームの実行時間が通常動作状態における実行時間よりも短くなるように制御され(例えば、10秒が1秒)、単位時間当りの始動口36の開放回数が実質的に多くなるように制御される。また、時短動作状態においては、普図変動表示ゲームに当選したことによって始動口36が開放される場合に、開放時間が通常動作状態の開放時間よりも長くなるように制御される(例えば、0.3秒が1.8秒)。また、時短動作状態においては、普図変動表示ゲームの1回の当選結果に対して、始動口36が1回ではなく、複数回(例えば、2回)開放される。さらに、時短動作状態においては普図変動表示ゲームの当選結果となる確率が通常動作状態よりも高くなるように制御される。すなわち、通常動作状態よりも始動口36の開放回数が増加され、始動口36に遊技球が入賞しやすくなり、特図変動表示ゲームの始動が容易となる。   In the short-time operation state, the execution time of the normal variation display game is controlled to be shorter than the execution time in the normal operation state (for example, 10 seconds is 1 second), and the number of opening of the start port 36 per unit time is It is controlled to increase substantially. Further, in the short-time operation state, when the start port 36 is opened due to the winning of the normal fluctuation display game, the opening time is controlled to be longer than the opening time of the normal operation state (for example, 0 3 seconds is 1.8 seconds). Further, in the short-time operation state, the start port 36 is opened a plurality of times (for example, two times) instead of once for the one-time winning result of the normal map display game. Further, in the short-time operation state, control is performed so that the probability of winning the normal-variation display game is higher than that in the normal operation state. That is, the number of times of opening of the start port 36 is increased as compared with the normal operation state, and it becomes easy to win a game ball in the start port 36, and the special figure variation display game can be started easily.

また、始動口36の内部には、始動口36を通過した遊技球を検出するための、始動口SW36d(図9参照)が備えられる。始動口SW36dによって遊技球を検出すると、補助遊技としての特図変動表示ゲームを開始する始動権利が発生する。このとき、特図変動表示ゲームを開始する始動権利は、所定の上限数(例えば4)の範囲内で特図始動記憶として記憶される。   In addition, a start port SW 36 d (see FIG. 9) for detecting a game ball that has passed through the start port 36 is provided inside the start port 36. When a game ball is detected by the start port SW36d, a start right for starting a special figure variation display game as an auxiliary game is generated. At this time, the right to start the special figure variation display game is stored as a special figure start memory within a predetermined upper limit number (for example, 4).

特図変動表示ゲームを直ちに開始できない状態、例えば、既に特図変動表示ゲームが行われ、その特図変動表示ゲームが終了していない状態や、特別遊技状態となっている場合に、始動口36に遊技球が入賞すると、特図始動記憶数が上限数未満(例えば、4個未満)ならば、特図始動記憶数が1加算され、始動口36に遊技球が入賞したタイミングで抽出された乱数が特図始動記憶として一つ記憶される。そして、特図変動表示ゲームが開始可能な状態となると、特図始動記憶に基づき特図変動表示ゲームが開始される。   When the special figure fluctuation display game cannot be started immediately, for example, when the special figure fluctuation display game has already been performed and the special figure fluctuation display game has not been completed, or when the special game state has been entered, the start port 36 When the game ball wins, if the special figure start memory number is less than the upper limit number (for example, less than 4), the special figure start memory number is incremented by 1 and extracted at the timing when the game ball wins the start opening 36. One random number is stored as a special figure start memory. When the special figure fluctuation display game is ready to start, the special figure fluctuation display game is started based on the special figure start memory.

補助遊技としての特図変動表示ゲームは、遊技盤10に設けられた普図・特図表示器35で実行され、複数の識別情報を変動表示したのち、所定の結果態様を停止表示することで行われる。また、表示装置53にて特図変動表示ゲームに対応して複数種類の識別情報(例えば、数字、記号、キャラクタ図柄など)が変動表示される。そして、特図変動表示ゲームの結果として、普図・特図表示器35の表示態様が特別結果態様となった場合には、大当たりとなって特別遊技状態(いわゆる、大当たり状態)となる。また、これに対応して表示装置53の表示態様も特別結果態様(例えば、「7,7,7」等のゾロ目数字の何れか)となる。なお、普図・特図表示器35ではなく、表示装置53のみで特図変動表示ゲームを実行するように構成してもよい。   The special figure variation display game as an auxiliary game is executed by the general figure / special figure display device 35 provided on the game board 10, and after a plurality of identification information is variably displayed, a predetermined result mode is stopped and displayed. Done. Further, a plurality of types of identification information (for example, numbers, symbols, character designs, etc.) are displayed in a variable manner on the display device 53 in correspondence with the special figure fluctuation display game. And as a result of the special figure variation display game, when the display mode of the general figure / special map display 35 becomes a special result mode, it becomes a big win and becomes a special game state (so-called big hit state). Correspondingly, the display mode of the display device 53 is also a special result mode (for example, any one of the numbers in the flat order such as “7, 7, 7”). In addition, you may comprise so that a special figure fluctuation display game may be performed only with the display apparatus 53 instead of the general figure and special figure display 35. FIG.

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

図3は、本発明の実施の形態のセンターケース51の分解斜視図である。   FIG. 3 is an exploded perspective view of the center case 51 according to the embodiment of the present invention.

センターケース51は、遊技盤本体10b(遊技盤10)の表面側に前面構成部として配置される枠装飾部65と、遊技盤本体10bの裏面側に裏面構成部として配置される枠体基部60とを前後に重合して構成されている。枠装飾部65は、遊技盤本体10bの表面に止着される環状の装飾ベース66を備える。装飾ベース66の裏面側には、装飾ベース66と略同じ大きさで円形状に形成された装飾パネルユニット67を備え、枠装飾部65は、装飾ベース66と装飾パネルユニット67とを前後に重合して構成されている。   The center case 51 includes a frame decoration portion 65 disposed as a front surface configuration portion on the front surface side of the game board main body 10b (game board 10), and a frame base portion 60 disposed as a back surface configuration portion on the back surface side of the game board main body 10b. And are polymerized before and after. The frame decoration portion 65 includes an annular decoration base 66 that is fixed to the surface of the game board main body 10b. On the back side of the decoration base 66, there is provided a decoration panel unit 67 that is substantially the same size as the decoration base 66 and formed in a circular shape. Configured.

装飾ベース66の下部には、上面に遊技球を前後方向及び左右方向に転動可能なベース側ステージ部49aが配置され、該ベース側ステージ部49aと遊技球通路57との間には装飾ランプ48が配置されている(図2参照)。そして、ベース側ステージ部49aを挟んで装飾ランプ48とは反対側には、遊技球が流下可能な球導入路(ワープ流路)50が設けられ、球導入路50の入口50aを装飾ベース66の外方へ向けて開放した状態で開設し、球導入路50の出口50bを後述する装飾パネルユニット67の裏側へ連通している。   Under the decoration base 66, a base side stage portion 49a capable of rolling a game ball in the front-rear direction and the left-right direction is disposed on the upper surface, and a decoration lamp is provided between the base side stage portion 49a and the game ball passage 57. 48 is arranged (see FIG. 2). A ball introduction path (warp flow path) 50 through which a game ball can flow down is provided on the opposite side of the decoration lamp 48 across the base side stage portion 49a, and the entrance 50a of the ball introduction path 50 is connected to the decoration base 66. The outlet 50b of the ball introduction path 50 is communicated with the back side of the decorative panel unit 67 described later.

装飾パネルユニット67は、略円形状の透明樹脂板で形成されたカバーパネル部69を備え、該カバーパネル部69の前面側の周縁に複数の装飾具47を配置している。装飾パネルユニット67と枠装飾部65とを重合すると、装飾具47が装飾ベース66の内周縁に沿って配置されるように設定されている(図2参照)。また、カバーパネル部69の上部には、信頼度報知装置15が配置されている。   The decorative panel unit 67 includes a cover panel portion 69 formed of a substantially circular transparent resin plate, and a plurality of decorative tools 47 are arranged on the peripheral edge of the front side of the cover panel portion 69. When the decorative panel unit 67 and the frame decorative portion 65 are overlapped, the decorative tool 47 is set so as to be arranged along the inner peripheral edge of the decorative base 66 (see FIG. 2). In addition, a reliability notification device 15 is disposed on the upper portion of the cover panel unit 69.

また、カバーパネル部69の裏面側の下部には、上面に遊技球を前後方向及び左右方向に転動可能なユニット側ステージ部49bが配置される。ユニット側ステージ部49bは、装飾ベース66のベース側ステージ部49aよりも上方に配置される。   In addition, a unit-side stage portion 49b capable of rolling a game ball in the front-rear direction and the left-right direction is disposed on the upper surface at the lower portion on the back side of the cover panel portion 69. The unit side stage portion 49b is disposed above the base side stage portion 49a of the decorative base 66.

さらに、カバーパネル部69のうち球導入路50の出口50bに重合する箇所には球流入口68を開設し、該球流入口68を介して球導入路50とユニット側ステージ部49bとを連通している。したがって、遊技領域10aを流下する遊技球が球導入路50に流入すると、球導入路50がこの遊技球をユニット側ステージ部49b上に導入できるように構成されている。   Further, a sphere inlet 68 is opened at a location where the cover panel 69 overlaps with the outlet 50 b of the sphere introduction path 50, and the sphere introduction path 50 and the unit side stage portion 49 b communicate with each other via the sphere inlet 68. doing. Therefore, when a game ball flowing down the game area 10a flows into the ball introduction path 50, the ball introduction path 50 is configured so that the game ball can be introduced onto the unit side stage portion 49b.

枠体基部60は、遊技盤10の裏面側に止着される額縁状の基部ケース61を前側が開放した状態で備え、該基部ケース61の内側(言い換えるとセンターケース51の内部)に、開口部62aが前面側に設けられた凹室62を形成している。   The frame base 60 includes a frame-like base case 61 that is fixed to the back side of the game board 10 in a state where the front side is open, and is opened inside the base case 61 (in other words, inside the center case 51). The part 62a forms a concave chamber 62 provided on the front side.

また、基部ケース61のうち凹室62の後方には矩形状の窓部52を前後方向へ貫通して開設し、基部ケース61の後方から表示装置53を装着して、表示装置53の表示部53aを窓部52及び凹室62を通してセンターケース51の前方へ臨ませている。   In addition, a rectangular window 52 is opened in the front-rear direction behind the concave chamber 62 in the base case 61, and a display device 53 is attached from the rear of the base case 61 to display the display portion of the display device 53. 53 a faces the front of the center case 51 through the window 52 and the recessed chamber 62.

さらに、窓部52の上縁部の前側には、役物駆動ソレノイド(図示せず)によって上下動可能な複数の装飾ピース46が配置され、窓部52の左右両側の周縁には、表示部53aの前方へ移動して演出動作を行う可動演出装置58が備えられる。   Further, a plurality of decorative pieces 46 that can be moved up and down by an accessory driving solenoid (not shown) are disposed on the front side of the upper edge of the window 52, and display portions are provided on the left and right edges of the window 52. A movable effect device 58 that moves forward 53a and performs an effect operation is provided.

そして、枠体基部60の前方に枠装飾部65を重合すると、凹室62の開口部62a及び窓部52をカバーパネル部69で前方から被覆し、表示装置53の表示部53aを枠装飾部65の内側(カバーパネル部69が露出した箇所)からセンターケース51の前方へ臨ませるように構成されている。   Then, when the frame decoration portion 65 is overlapped in front of the frame base portion 60, the opening 62a and the window portion 52 of the concave chamber 62 are covered with the cover panel portion 69 from the front, and the display portion 53a of the display device 53 is covered with the frame decoration portion. It is configured to face the front of the center case 51 from the inside of 65 (where the cover panel portion 69 is exposed).

図4及び図5は、本発明の実施の形態の可動演出装置58の構成を説明する図である。   4 and 5 are diagrams illustrating the configuration of the movable effect device 58 according to the embodiment of the present invention.

可動演出装置58は、第1演出ユニット63と第2演出ユニット64とを互いに離間した位置に備えて構成され、第1演出ユニット63及び第2演出ユニット64が連動して演出動作が実行される。   The movable effect device 58 is configured by providing the first effect unit 63 and the second effect unit 64 at positions separated from each other, and the first effect unit 63 and the second effect unit 64 are operated in conjunction with each other. .

図4は、可動演出装置58が動作する前の状態を示す図であり、図5は、可動演出装置58が動作し、第1演出ユニット63及び第2演出ユニット64が動作した結果、当接部(第1当接部121及び第2当接部122)にて当接している状態を示す図である。   FIG. 4 is a diagram illustrating a state before the movable effect device 58 is operated, and FIG. 5 is a result of the movable effect device 58 being operated and the first effect unit 63 and the second effect unit 64 being operated. It is a figure which shows the state contact | abutted in a part (1st contact part 121 and 2nd contact part 122).

第1演出ユニット63は、センターケース51の左側、すなわち、基部ケース61の窓部52の周縁の左側に配置される。また、第2演出ユニット64は、センターケース51の右側に配置される。センターケース51の前方から見て第1演出ユニット63と第2演出ユニット64との間に凹室62及び窓部52を臨ませるように配置される。   The first effect unit 63 is disposed on the left side of the center case 51, that is, on the left side of the peripheral edge of the window portion 52 of the base case 61. Further, the second effect unit 64 is disposed on the right side of the center case 51. When viewed from the front of the center case 51, the concave chamber 62 and the window 52 are arranged so as to face between the first effect unit 63 and the second effect unit 64.

第1演出ユニット63は、表示部53aの前方へ移動可能な第1演出部材70と、該第1演出部材70の駆動力を発生する第1演出駆動源としての役物駆動第1モータ(MOT)71と、役物駆動第1MOT71から発生した駆動力(回動力)を第1演出部材70へ伝達する第1演出伝達機構(第1主腕部材73及び第1副腕部材74)とを備える。   The first effect unit 63 includes a first effect member 70 that can move forward of the display unit 53a, and an accessory driving first motor (MOT) that serves as a first effect drive source that generates the driving force of the first effect member 70. ) 71 and a first effect transmission mechanism (a first main arm member 73 and a first sub arm member 74) that transmits the driving force (rotational power) generated from the accessory driving first MOT 71 to the first effect member 70. .

また、役物駆動第1MOT71の出力軸(第1出力軸)71aがセンターケース51の前後方向に延在し、第1出力軸71aには第1駆動ギア76を共回り可能に軸着している。   Further, an output shaft (first output shaft) 71a of the accessory driving first MOT 71 extends in the front-rear direction of the center case 51, and a first drive gear 76 is rotatably mounted on the first output shaft 71a. Yes.

第1主腕部材73は、第1駆動ギア76と噛合される第1主腕ギア77が形成され、当該第1駆動ギア76の上方に軸着される。第1副腕部材74は、第1駆動ギア76と噛合される第1副腕ギア78が形成され、当該第1駆動ギア76の下方に軸着される。第1主腕部材73及び第1副腕部材74は、基部ケース61と軸着された端部の反対側の端部が互いに異なる位置で第1演出部材70に軸着し、第1演出部材70を支持している。   The first main arm member 73 is formed with a first main arm gear 77 that meshes with the first drive gear 76, and is pivotally mounted above the first drive gear 76. The first sub arm member 74 is formed with a first sub arm gear 78 that meshes with the first drive gear 76, and is pivotally attached to the lower side of the first drive gear 76. The first main arm member 73 and the first sub arm member 74 are axially attached to the first effect member 70 at positions where the end portions opposite to the end portions axially attached to the base case 61 are different from each other. 70 is supported.

第1演出ユニット63は、役物駆動第1MOT71を駆動して第1駆動ギア76をセンターケース51の正面から見て時計方向へ回動すると、役物駆動第1MOT71の駆動力(回動力)を第1駆動ギア76及び第1主腕ギア77を介して第1主腕部材73へ伝達し、この駆動力により第1主腕部材73がセンターケース51の正面から見て反時計方向へ回動する。また、役物駆動第1MOT71の駆動力を第1駆動ギア76及び第1副腕ギア78を介して第1副腕部材74へ伝達し、この駆動力により第1副腕部材74が第1主腕部材73と同じ反時計方向へ回動する。この結果、第1演出部材70が第1主腕部材73及び第1副腕部材74に支持された状態で上昇する。   When the first effect unit 63 drives the accessory driving first MOT 71 and rotates the first driving gear 76 in the clockwise direction when viewed from the front of the center case 51, the driving force (rotation power) of the accessory driving first MOT 71 is generated. The first main arm member 73 is transmitted to the first main arm member 73 via the first drive gear 76 and the first main arm gear 77, and the first main arm member 73 is rotated counterclockwise when viewed from the front of the center case 51 by this driving force. To do. The driving force of the accessory driving first MOT 71 is transmitted to the first sub arm member 74 via the first driving gear 76 and the first sub arm gear 78, and the first sub arm member 74 is transmitted to the first main arm 74 by this driving force. It rotates in the same counterclockwise direction as the arm member 73. As a result, the first effect member 70 rises while being supported by the first main arm member 73 and the first sub arm member 74.

そして、役物駆動第1MOT71の駆動力により第1主腕部材73及び第1副腕部材74を上方へ延出して縦向き姿勢に設定すると、図4に示すように、第1演出部材70を表示部53aの前方から外れて位置させた第1演出停止状態となり、第1演出部材70が窓部52の側方に位置して、枠装飾部65の後方及び遊技盤本体10bの後方に隠れる(図2参照)。   Then, when the first main arm member 73 and the first sub arm member 74 are extended upward by the driving force of the accessory driving first MOT 71 and set in the vertical posture, as shown in FIG. The first effect stop state is set to be deviated from the front of the display portion 53a, and the first effect member 70 is located on the side of the window portion 52 and is hidden behind the frame decoration portion 65 and behind the game board main body 10b. (See FIG. 2).

一方、第1演出停止状態から役物駆動第1MOT71を駆動して第1駆動ギア76をセンターケース51の正面から見て反時計方向へ回動すると、役物駆動第1MOT71の駆動力(回動力)を第1駆動ギア76及び第1主腕ギア77を介して第1主腕部材73へ伝達し、この駆動力により第1主腕部材73がセンターケース51の正面から見て時計方向へ回動する。   On the other hand, when the first driving gear MOT 71 is driven from the first effect stop state and the first driving gear 76 is rotated counterclockwise when viewed from the front of the center case 51, the driving force (rotational power) of the first driving gear MOT 71 is rotated. ) Is transmitted to the first main arm member 73 via the first drive gear 76 and the first main arm gear 77, and the first main arm member 73 rotates clockwise as viewed from the front of the center case 51 by this drive force. Move.

また、役物駆動第1MOT71の駆動力を第1駆動ギア76及び第1副腕ギア78を介して第1副腕部材74へ伝達し、この駆動力により第1副腕部材74が第1主腕部材73と同じ時計方向へ回動する。この結果、第1演出部材70が第1主腕部材73及び第1副腕部材74に支持された状態で下降する。   The driving force of the accessory driving first MOT 71 is transmitted to the first sub arm member 74 via the first driving gear 76 and the first sub arm gear 78, and the first sub arm member 74 is transmitted to the first main arm 74 by this driving force. It rotates in the same clockwise direction as the arm member 73. As a result, the first effect member 70 is lowered while being supported by the first main arm member 73 and the first sub arm member 74.

そして、役物駆動第1MOT71の駆動力により第1主腕部材73及び第1副腕部材74を表示部53aの前方へ延出して横向き姿勢に設定すると、図5に示すように、第1演出部材70を表示部53aの前方へ位置させた第1演出実行状態となり、第1演出部材70が表示部53aとカバーパネル部69との間の空間部のうち表示部53aの中央部分の前方に位置する。   Then, when the first main arm member 73 and the first sub arm member 74 are extended to the front of the display unit 53a and set in the horizontal posture by the driving force of the accessory driving first MOT 71, as shown in FIG. The first effect execution state is reached in which the member 70 is positioned in front of the display unit 53a, and the first effect member 70 is in front of the central portion of the display unit 53a in the space between the display unit 53a and the cover panel unit 69. To position.

第2演出ユニット64は、表示部53aの前方へ移動可能な第2演出部材80と、該第2演出部材80の駆動力を発生する第2演出駆動源としての役物駆動第2モータ(MOT)81と、役物駆動第2MOT81から発生した駆動力(回動力)を第2演出部材80へ伝達する第2演出伝達機構(第2主腕部材83及び第2副腕部材84)とを備える。   The second effect unit 64 includes a second effect member 80 that can move to the front of the display unit 53a, and an accessory driving second motor (MOT) as a second effect drive source that generates the drive force of the second effect member 80. ) 81 and a second effect transmission mechanism (second main arm member 83 and second sub arm member 84) that transmits the driving force (rotation power) generated from the accessory driving second MOT 81 to the second effect member 80. .

また、役物駆動第2MOT81を出力軸(第2出力軸)81aがセンターケース51の前後方向に延在し、第2出力軸81aには第2駆動ギア86を共回り可能に軸着している。   Further, the accessory driving second MOT 81 has an output shaft (second output shaft) 81a extending in the front-rear direction of the center case 51, and a second drive gear 86 is pivotally attached to the second output shaft 81a so as to be able to rotate together. Yes.

第2主腕部材83は、第2駆動ギア86と噛合される第2主腕ギア87が形成され、当該第2駆動ギア86よりも第1演出ユニット63寄りの位置に軸着される。第2副腕部材84は、第2駆動ギア86と噛合される第2副腕ギア88が形成され、当該第2駆動ギア86の下方に軸着される。第2主腕部材83及び第2副腕部材84は、基部ケース61と軸着された端部の反対側の端部が互いに異なる位置で第2演出部材80に軸着し、第2演出部材80を支持している。   The second main arm member 83 is formed with a second main arm gear 87 that meshes with the second drive gear 86, and is pivotally attached to a position closer to the first effect unit 63 than the second drive gear 86. The second sub arm member 84 is formed with a second sub arm gear 88 that meshes with the second drive gear 86, and is pivotally attached to the lower side of the second drive gear 86. The second main arm member 83 and the second sub arm member 84 are pivotally attached to the second effect member 80 at positions where the end portions opposite to the end portions that are axially attached to the base case 61 are different from each other. 80 is supported.

第2演出ユニット64は、役物駆動第2MOT81を駆動して第2駆動ギア86をセンターケース51の正面から見て時計方向へ回動すると、役物駆動第2MOT81の駆動力(回動力)を第2駆動ギア86及び第2主腕ギア87を介して第2主腕部材83へ伝達し、この駆動力により第2主腕部材83がセンターケース51の正面から見て反時計方向へ回動する。また、役物駆動第2MOT81の駆動力を第2駆動ギア86及び第2副腕ギア88を介して第2副腕部材84へ伝達し、この駆動力により第2副腕部材84が第2主腕部材83と同じ反時計方向へ回動する。この結果、第2演出部材80が第2主腕部材83及び第2副腕部材84に支持された状態で下降する。   When the second effect unit 64 drives the accessory driving second MOT 81 and rotates the second driving gear 86 in the clockwise direction when viewed from the front of the center case 51, the driving force (rotation power) of the accessory driving second MOT 81 is generated. This is transmitted to the second main arm member 83 via the second drive gear 86 and the second main arm gear 87, and the second main arm member 83 rotates counterclockwise when viewed from the front of the center case 51 by this driving force. To do. Further, the driving force of the accessory driving second MOT 81 is transmitted to the second sub arm member 84 via the second driving gear 86 and the second sub arm gear 88, and the second sub arm member 84 is transmitted to the second main arm member 84 by this driving force. It rotates in the same counterclockwise direction as the arm member 83. As a result, the second effect member 80 is lowered while being supported by the second main arm member 83 and the second sub arm member 84.

そして、役物駆動第2MOT81の駆動力により第2主腕部材83及び第2副腕部材84を回動して第2演出部材80を下死点へ到達させ、引き続き第2主腕部材83及び第2副腕部材84を回動して斜め下方へ延出して縦向き姿勢に設定し、第2演出部材80を下死点から僅かに上昇させると、図4に示すように、第2演出部材80を表示部53aの前方から外れて位置させた第2演出停止状態となり、第2演出部材80が枠装飾部65の後方及び遊技盤本体10bの後方に隠れる(図2参照)。   Then, the second main arm member 83 and the second sub arm member 84 are rotated by the driving force of the accessory driving second MOT 81 to cause the second effect member 80 to reach the bottom dead center, and then the second main arm member 83 and When the second sub-arm member 84 is rotated to extend obliquely downward and set in a vertical posture and the second effect member 80 is slightly raised from the bottom dead center, as shown in FIG. The second effect stop state is reached in which the member 80 is positioned away from the front of the display unit 53a, and the second effect member 80 is hidden behind the frame decoration part 65 and behind the game board main body 10b (see FIG. 2).

一方、第2演出停止状態から役物駆動第2MOT81を駆動して第2駆動ギア86をセンターケース51の正面から見て反時計方向へ回動すると、役物駆動第2MOT81の駆動力(回動力)を第2駆動ギア86及び第2主腕ギア87を介して第2主腕部材83へ伝達し、この駆動力により第2主腕部材83がセンターケース51の正面から見て時計方向へ回動する。   On the other hand, when the accessory driving second MOT 81 is driven from the second effect stop state and the second driving gear 86 is rotated counterclockwise as viewed from the front of the center case 51, the driving force (rotational power) of the accessory driving second MOT 81 is rotated. ) Is transmitted to the second main arm member 83 via the second drive gear 86 and the second main arm gear 87, and the second main arm member 83 rotates clockwise as viewed from the front of the center case 51 by this driving force. Move.

また、役物駆動第2MOT81の駆動力を第2駆動ギア86及び第2副腕ギア88を介して第2副腕部材84へ伝達し、この駆動力により第2副腕部材84が第2主腕部材83と同じ時計方向へ回動する。この結果、第2演出部材80が第2主腕部材83及び第2副腕部材84に支持された状態で上昇する。   Further, the driving force of the accessory driving second MOT 81 is transmitted to the second sub arm member 84 via the second driving gear 86 and the second sub arm gear 88, and the second sub arm member 84 is transmitted to the second main arm member 84 by this driving force. It rotates in the same clockwise direction as the arm member 83. As a result, the second effect member 80 rises while being supported by the second main arm member 83 and the second sub arm member 84.

そして、役物駆動第2MOT81の駆動力により第2主腕部材83及び第2副腕部材84を表示部53aの前方へ延出して横向き姿勢に設定すると、図5に示すように、第2演出部材80を表示部53aの前方へ位置させた第2演出実行状態となり、第2演出部材80が表示部53aとカバーパネル部69との間の空間部のうち表示部53aの中央部分の前方に位置する。   Then, when the second main arm member 83 and the second sub arm member 84 are extended to the front of the display unit 53a and set in the horizontal posture by the driving force of the accessory driving second MOT 81, as shown in FIG. The second effect execution state in which the member 80 is positioned in front of the display unit 53a is entered, and the second effect member 80 is in front of the central portion of the display unit 53a in the space between the display unit 53a and the cover panel unit 69. To position.

図6は、本発明の実施の形態の第1演出部材70の分解斜視図である。   FIG. 6 is an exploded perspective view of the first effect member 70 according to the embodiment of the present invention.

第1演出部材70は、センターケース51の正面から見て略半円形状の部材であり、第1演出ユニット63側に円弧面を配置した姿勢に設定されている。   The first effect member 70 is a substantially semicircular member when viewed from the front of the center case 51, and is set in a posture in which an arc surface is disposed on the first effect unit 63 side.

第1演出部材70には、基部となる第1演出ベース100が備えられる。第1演出ベース100は、透明な樹脂によって形成される。第1演出ベース100の上部には、第1主腕部材73を第1演出ベース100の前方から軸着する第1主腕軸着部101を形成し、第1演出ベース100の下部には、第1副腕部材74を第1演出ベース100の後方から軸着する第1副腕軸着部102を形成している。   The first effect member 70 is provided with a first effect base 100 serving as a base. The first effect base 100 is formed of a transparent resin. Formed on the upper part of the first effect base 100 is a first main arm shaft attachment portion 101 for axially attaching the first main arm member 73 from the front of the first effect base 100, and on the lower part of the first effect base 100, A first sub-arm shaft attachment portion 102 for attaching the first sub-arm member 74 from the rear of the first effect base 100 is formed.

第1演出ベース100の前面には、光を拡散しながら透過可能な第1光拡散シート103が重合される。さらに、第1光拡散シート103の前面に透明な第1保護パネル104を重合することによって、第1光拡散シート103が第1演出部材70から脱落することを阻止している。   A first light diffusion sheet 103 that can transmit light while diffusing light is superposed on the front surface of the first effect base 100. Furthermore, the transparent first protective panel 104 is polymerized on the front surface of the first light diffusing sheet 103 to prevent the first light diffusing sheet 103 from falling off the first effect member 70.

また、第1演出ベース100の後部を前方へ窪ませて第1基板収納空間部105を形成し、該第1基板収納空間部105にLEDなどの発光装置(装飾装置620、図17参照)が実装された第1発光基板106を収納する。さらに、この状態で第1基板収納空間部105を第1ベース蓋部107で閉塞し、第1発光基板106が第1演出部材70から脱落することを阻止している。   Further, the rear portion of the first production base 100 is recessed forward to form a first substrate storage space portion 105, and a light emitting device such as an LED (decoration device 620, see FIG. 17) is formed in the first substrate storage space portion 105. The mounted first light emitting substrate 106 is accommodated. Further, in this state, the first substrate housing space portion 105 is closed with the first base lid portion 107 to prevent the first light emitting substrate 106 from falling off the first effect member 70.

そして、第1発光基板106の発光装置から光を発生すると、この光が第1演出ベース100、第1光拡散シート103、第1保護パネル104を透過してセンターケース51の前方へ照射されるように構成されている。   Then, when light is generated from the light emitting device of the first light emitting substrate 106, the light passes through the first effect base 100, the first light diffusion sheet 103, and the first protective panel 104 and is irradiated to the front of the center case 51. It is configured as follows.

さらに、第1当接部121の第1基板収納空間部105側には、後部が開放された第1演出磁石ホルダ124を窪ませて形成されている。第1演出磁石ホルダ124には、ボタン形状の永久磁石からなる第1磁石125を磁極が第2演出部材80側へ向いた姿勢で、第1磁石125が第1当接部121(第1演出磁石ホルダ124)から脱落しないように収納されている。   Further, a first effect magnet holder 124 whose rear part is opened is formed on the first substrate housing space 105 side of the first contact part 121 so as to be recessed. The first effect magnet holder 124 has a first magnet 125 made of a button-shaped permanent magnet in a posture in which the magnetic pole faces the second effect member 80 side, and the first magnet 125 is connected to the first contact portion 121 (first effect). The magnet holder 124) is stored so as not to fall off.

第1発光基板106には、装飾装置620の発光を制御するためのI2CI/Oエクスパンダ615(図17参照)が搭載され、演出制御装置550から出力された制御信号(電気信号)など送信するためのデータ線及びクロック線(信号線)が接続される。さらに、装飾装置620を発光させるために必要な電力を供給するための電源線などが接続される。これらの接続線は、ケーブル108としてまとめられて接続されている。 The first light emitting substrate 106 is equipped with an I 2 CI / O expander 615 (see FIG. 17) for controlling the light emission of the decoration device 620, and a control signal (electric signal) output from the effect control device 550, etc. A data line and a clock line (signal line) for transmission are connected. Further, a power line for supplying power necessary for causing the decoration device 620 to emit light is connected. These connection lines are connected together as a cable 108.

図7は、本発明の実施の形態の第2演出部材80の分解斜視図である。   FIG. 7 is an exploded perspective view of the second effect member 80 according to the embodiment of the present invention.

第2演出部材80は、センターケース51の正面から見て上部に切欠部分がある略平行四辺形状となっている。第2演出停止状態においては第2演出部材80の上下両側面を第2演出ユニット64側から第1演出ユニット63側へ向けて下り傾斜させ(図4参照)、第2演出実行状態においては当該第2演出部材80の左右両側面を第2演出ユニット64側から第1演出ユニット63側へ向けて下り傾斜させる姿勢に設定されている(図5参照)。   The second effect member 80 has a substantially parallelogram shape with a cutout portion at the top when viewed from the front of the center case 51. In the second effect stop state, the upper and lower side surfaces of the second effect member 80 are inclined downward from the second effect unit 64 side toward the first effect unit 63 side (see FIG. 4), and in the second effect execution state, The left and right side surfaces of the second effect member 80 are set in a posture to incline downward from the second effect unit 64 side toward the first effect unit 63 side (see FIG. 5).

第2演出部材80には、基部となる第2演出ベース110が備えられる。第2演出ベース110は、透明な樹脂によって形成される。第2演出ベース110の上部には、第2主腕部材83を第2演出ベース110の前方から軸着する第2主腕軸着部111を形成し、第2演出ベース110の下部には、第2副腕部材84を第2演出ベース110の後方から軸着する第2副腕軸着部112を形成している。   The second effect member 80 includes a second effect base 110 that serves as a base. The second effect base 110 is formed of a transparent resin. In the upper part of the second effect base 110, a second main arm axis attaching part 111 for axially attaching the second main arm member 83 from the front of the second effect base 110 is formed, and in the lower part of the second effect base 110, A second sub-arm shaft attachment portion 112 for attaching the second sub-arm member 84 from the rear of the second effect base 110 is formed.

さらに、第2演出ベース110の前面には、光を拡散しながら透過可能な第2光拡散シート113を重合される。第2光拡散シート113の前面に透明な第2保護パネル114を重合することによって、第2光拡散シート113が第2演出部材80から脱落することを阻止している。   Further, a second light diffusing sheet 113 that can transmit light while diffusing light is superposed on the front surface of the second effect base 110. By superposing the transparent second protective panel 114 on the front surface of the second light diffusing sheet 113, the second light diffusing sheet 113 is prevented from falling off the second effect member 80.

また、第2演出ベース110の後部を前方へ窪ませて第2基板収納空間部115を形成し、該第2基板収納空間部115にLEDなどの発光装置(装飾装置620)が実装された第2発光基板116を収納し、この状態で第2基板収納空間部115を第2ベース蓋部117で閉塞して、第2発光基板116が第2演出部材80から脱落することを阻止している。   In addition, the rear portion of the second effect base 110 is recessed forward to form a second substrate storage space 115, and a light emitting device (decoration device 620) such as an LED is mounted in the second substrate storage space 115. The second light emitting substrate 116 is accommodated, and in this state, the second substrate accommodating space 115 is closed by the second base lid portion 117 to prevent the second light emitting substrate 116 from dropping from the second effect member 80. .

そして、第2発光基板116の発光装置から光を発生すると、この光が第2演出ベース110、第2光拡散シート113、第2保護パネル114を透過してセンターケース51の前方へ照射されるように構成されている。   Then, when light is generated from the light emitting device of the second light emitting substrate 116, the light passes through the second effect base 110, the second light diffusion sheet 113, and the second protection panel 114 and is irradiated to the front of the center case 51. It is configured as follows.

さらに、第2当接部122の第2基板収納空間部115側には、後部が開放された第2演出磁石ホルダ128を窪ませて形成されている。第2演出磁石ホルダ128には、ボタン形状の永久磁石からなる第2磁石129が、第1当接部121及び第2当接部122を挟んで第1磁石125とは対称となる位置に収納されている。   Further, a second effect magnet holder 128 having an open rear portion is formed on the second substrate housing space 115 side of the second contact portion 122 so as to be recessed. In the second effect magnet holder 128, a second magnet 129 made of a button-shaped permanent magnet is stored at a position symmetrical to the first magnet 125 across the first contact portion 121 and the second contact portion 122. Has been.

第2発光基板116には、第1発光基板106と同様に、装飾装置620の発光を制御するためのI2CI/Oエクスパンダ615(図17参照)が搭載され、演出制御装置550から出力された制御信号などを送信するためのデータ線及びクロック線(信号線)が接続される。さらに、装飾装置620を発光させるために必要な電力を供給するための電源線などが接続される。これらの接続線は、ケーブル118としてまとめられて接続されている。 Similarly to the first light emitting substrate 106, the second light emitting substrate 116 is equipped with an I 2 CI / O expander 615 (see FIG. 17) for controlling the light emission of the decoration device 620, and outputs from the effect control device 550. A data line and a clock line (signal line) for transmitting the transmitted control signal and the like are connected. Further, a power line for supplying power necessary for causing the decoration device 620 to emit light is connected. These connection lines are connected together as a cable 118.

可動演出装置58は、第1演出部材70に第1当接部121を備えるとともに、第2演出部材80に第2当接部122を備える。そして、第1演出ユニット63を第1演出実行状態へ変換するとともに、第2演出ユニット64を第2演出実行状態へ変換すると、第1当接部121と第2当接部122とが当接し、第1演出部材70と第2演出部材80とで1つの装飾体を形成する。このとき、第1磁石125と第2磁石129との間で吸引力を発生するように第1磁石125及び第2磁石129が配置されている。さらに、この形成された装飾体を表示部53aの中央部の前方に位置させるように構成している。   The movable effect device 58 includes the first contact member 121 on the first effect member 70 and the second contact member 122 on the second effect member 80. When the first effect unit 63 is converted to the first effect execution state and the second effect unit 64 is converted to the second effect execution state, the first contact portion 121 and the second contact portion 122 contact each other. The first effect member 70 and the second effect member 80 form one decorative body. At this time, the first magnet 125 and the second magnet 129 are arranged so as to generate an attractive force between the first magnet 125 and the second magnet 129. Further, the decorative body thus formed is configured to be positioned in front of the central portion of the display portion 53a.

図8は、本発明の実施の形態の遊技機1の配線を説明する図である。   FIG. 8 is a diagram illustrating wiring of the gaming machine 1 according to the embodiment of the present invention.

図8では、遊技盤本体10bにセンターケース51が取り付けられ、表示装置53がセンターケース51に取り付けられる前の状態を示している。また、表示装置53の背面には、演出制御装置550が取り付けられている。演出制御装置550には、接続端子90が備えられており、接続端子90を介して制御対象の演出装置に対し、制御信号の送信や電力の供給を行う。具体的には、後述する中継基板600にケーブル91を介して接続する。   FIG. 8 shows a state before the center case 51 is attached to the game board main body 10 b and the display device 53 is attached to the center case 51. An effect control device 550 is attached to the back surface of the display device 53. The effect control device 550 is provided with a connection terminal 90, and transmits a control signal and supplies power to the effect device to be controlled via the connection terminal 90. Specifically, it is connected via a cable 91 to a relay board 600 described later.

また、遊技盤本体10bの背面下部には、遊技制御装置500や各種制御基板を含む制御ユニット700が配置される。制御ユニット700に搭載される制御基板には、演出制御装置550から送信された制御信号を、装飾制御装置610(図11参照)に中継する中継基板600が含まれる。装飾制御装置610は、詳細については後述するが、遊技を演出するための発光装置(例えば、LED)や可動物(例えば、モータ)などの演出装置の制御を行う。また、中継基板600は、装飾制御装置610と同様に、発光装置や可動物を接続可能である。   In addition, a game control device 500 and a control unit 700 including various control boards are arranged at the lower back of the game board main body 10b. The control board mounted on the control unit 700 includes a relay board 600 that relays the control signal transmitted from the effect control apparatus 550 to the decoration control apparatus 610 (see FIG. 11). Although the details will be described later, the decoration control device 610 controls an effect device such as a light emitting device (for example, LED) or a movable object (for example, a motor) for effecting a game. The relay board 600 can be connected to a light emitting device or a movable object, similarly to the decoration control device 610.

中継基板600には、演出制御装置550にケーブル91を介して接続される上流コネクタ601が備えられる。ケーブル91の一方のコネクタ91aは、前述のように、演出制御装置550の接続端子90に接続される。ケーブル91の他方のコネクタ91bは、中継基板600の上流コネクタ601に接続される。さらに、遊技機1に備えられた各演出装置の制御を行う装飾制御装置610に接続するためのコネクタ602a〜602eを備える。   The relay board 600 is provided with an upstream connector 601 connected to the effect control device 550 via the cable 91. One connector 91a of the cable 91 is connected to the connection terminal 90 of the effect control device 550 as described above. The other connector 91 b of the cable 91 is connected to the upstream connector 601 of the relay board 600. Furthermore, connectors 602a to 602e for connecting to a decoration control device 610 that controls each effect device provided in the gaming machine 1 are provided.

さらに、中継基板600には、接続されたケーブルの接続状態を示す空き端子モニタ603が備えられている。空き端子モニタ603の詳細については、図15にて説明する。   Further, the relay board 600 is provided with a vacant terminal monitor 603 indicating the connection state of the connected cables. Details of the empty terminal monitor 603 will be described with reference to FIG.

また、図示は略するが、遊技制御装置500を構成するユニットが、中継基板600のコネクタ装着面を覆うようにして設けられている。そのため、遊技制御装置500は、中継基板600の各コネクタに必要なケーブルを装着した後に取り付けられる配置構成となっている。   Although illustration is omitted, units constituting the game control device 500 are provided so as to cover the connector mounting surface of the relay board 600. Therefore, the game control apparatus 500 has an arrangement configuration that is attached after attaching necessary cables to the connectors of the relay board 600.

前面枠3には、当該前面枠3に配置されたスピーカ30及び装飾部材9a、9bなどを制御するための信号を送信するケーブル3bが接続されている。このケーブル3bのコネクタは、演出制御装置550の接続端子92に接続される。   Connected to the front frame 3 is a cable 3b for transmitting signals for controlling the speaker 30 and the decorative members 9a, 9b and the like disposed on the front frame 3. The connector of the cable 3b is connected to the connection terminal 92 of the effect control device 550.

遊技盤本体10bには、サイドランプ45を取り付けるための開口部45bが形成されている。サイドランプ45には、電力及び信号を送信するケーブル45aが接続され、開口部45bから遊技盤10の裏面側へ導入される。遊技盤10の裏面側へ導入されたケーブル45aは、中継基板600に接続され、例えば、コネクタ602dに接続される。   An opening 45b for attaching the side lamp 45 is formed in the game board main body 10b. A cable 45a for transmitting power and signals is connected to the side lamp 45, and is introduced from the opening 45b to the back side of the game board 10. The cable 45a introduced to the back side of the game board 10 is connected to the relay board 600, for example, connected to the connector 602d.

また、遊技盤10の下部には、図2に示したように、始動口36及び大入賞口42が配置される。始動口36が配置されている遊技盤10の裏側には、普図変動表示ゲームに当選した場合に開放される開閉部材36aを開閉するための普電ソレノイド(SOL)36bが配置される。また、特図変動表示ゲームに当選した場合に、大入賞口42を開閉するための大入賞口SOL42bも遊技盤10の裏側に配置されている。普電SOL36b及び大入賞口SOL42bには、制御信号の入力を受け付けるためのケーブル(図示略)が接続され、このケーブルは遊技制御装置500に接続されている。また、ケーブル42Cは、大入賞口42の内部に備えられる演出用のLEDを点灯させるための電力及び信号を伝達するケーブルとして中継基板600に接続され、例えば、コネクタ602fに接続される。   Further, as shown in FIG. 2, a starting port 36 and a special winning port 42 are arranged at the lower part of the game board 10. On the back side of the game board 10 on which the start port 36 is arranged, there is arranged a general electric solenoid (SOL) 36b for opening and closing an open / close member 36a that is opened when a win-win game is won. In addition, a special winning opening SOL 42 b for opening and closing the special winning opening 42 when the special figure variation display game is won is also arranged on the back side of the game board 10. A cable (not shown) for receiving an input of a control signal is connected to the general electric power SOL 36 b and the special winning opening SOL 42 b, and these cables are connected to the game control device 500. The cable 42C is connected to the relay board 600 as a cable for transmitting power and a signal for lighting the effect LED provided in the special winning opening 42, and is connected to the connector 602f, for example.

前述のように、遊技盤10の中央部には、センターケース51が取り付けられている。センターケース51の内部には、第1演出部材70及び第2演出部材80によって構成される可動演出装置58が備えられる。図8では、第1演出部材70及び第2演出部材80が当接面(121,122)で当接している状態となっている。   As described above, the center case 51 is attached to the center of the game board 10. Inside the center case 51, a movable effect device 58 constituted by the first effect member 70 and the second effect member 80 is provided. In FIG. 8, the first effect member 70 and the second effect member 80 are in contact with each other at the contact surfaces (121, 122).

また、可動演出装置58の第1演出ユニット63及び第2演出ユニット64には、前述のように、第1演出部材70及び第2演出部材80を稼動させるためのモータ(役物駆動第1モータ71、役物駆動第2モータ81)が備えられている。そして、これらのモータを制御するための信号及びモータを駆動させるための電力を供給するためのケーブル652が可動演出装置58に接続されている。また、可動演出装置58には、これらのモータの動作状態を検知するためのモータ位置検出センサ(図示せず)が備えられており、センシング結果を受信するためのケーブル651が接続されている。ケーブル652及びケーブル651は、センターケース51の開口部51bから遊技盤10の裏面側に延びており、中継基板600に接続される。例えば、ケーブル652はコネクタ602Cに接続され、ケーブル651はコネクタ602eに接続される。   Further, as described above, the first effect unit 63 and the second effect unit 64 of the movable effect device 58 include the motor (the accessory driving first motor) for operating the first effect member 70 and the second effect member 80. 71, an accessory driving second motor 81) is provided. A cable 652 for supplying signals for controlling these motors and power for driving the motors is connected to the movable effect device 58. In addition, the movable rendering device 58 is provided with a motor position detection sensor (not shown) for detecting the operation state of these motors, and a cable 651 for receiving a sensing result is connected. The cable 652 and the cable 651 extend from the opening 51 b of the center case 51 to the back side of the game board 10 and are connected to the relay board 600. For example, the cable 652 is connected to the connector 602C, and the cable 651 is connected to the connector 602e.

さらに、演出制御装置550から出力された制御信号を、センターケース51の内部に配置されたLEDなどの演出装置を制御するための装飾制御装置610(図11参照)へ伝達するケーブル653が接続される。ケーブル653は、センターケース51に設けられた開口部51aから遊技盤10の裏面側の中継基板600に接続され、例えば、コネクタ602aに接続される。   Furthermore, a cable 653 is connected to transmit the control signal output from the effect control device 550 to a decoration control device 610 (see FIG. 11) for controlling the effect device such as an LED disposed inside the center case 51. The The cable 653 is connected to the relay board 600 on the back side of the game board 10 through an opening 51a provided in the center case 51, and is connected to, for example, a connector 602a.

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

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

まず、遊技制御装置500の構成について説明する。なお、演出制御装置550については、図10にて説明する。   First, the configuration of the game control device 500 will be described. The production control device 550 will be described with reference to FIG.

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

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

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

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

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

始動口SW36dは、始動口36に遊技球が入賞したことを検出するスイッチである。一般入賞口SW44a〜44nは、一般入賞口44に遊技球が入賞したことを検出するスイッチである。   The start port SW36d is a switch that detects that a game ball has won the start port 36. The general winning ports SW 44 a to 44 n are switches that detect that a game ball has won the general winning port 44.

ゲートSW34aは、普図始動ゲート34を遊技球が通過したことを検出するスイッチである。カウントSW42dは、大入賞口42に遊技球が入賞したことを検出するスイッチである。   The gate SW 34a is a switch that detects that a game ball has passed through the usual start gate 34. The count SW 42d is a switch that detects that a game ball has won a prize winning opening 42.

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

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

振動センサ55は、遊技機1に与えられた振動を検出するセンサであり、遊技機1を振動させるなどの不正行為を検出する。磁気センサ56は、始動口36の第2始動入賞口、一般入賞口44、大入賞口42、及び普図始動ゲート34付近に設けられ、磁力を検出するセンサである。磁気センサ56は、各入賞口付近に磁石を近づけて、遊技領域10aに発射された遊技球を各入賞口に導く不正を検出する。   The vibration sensor 55 is a sensor that detects vibration applied to the gaming machine 1 and detects an illegal act such as vibrating the gaming machine 1. The magnetic sensor 56 is provided in the vicinity of the second start winning opening, the general winning opening 44, the large winning opening 42, and the normal start gate 34 of the start opening 36, and is a sensor for detecting magnetic force. The magnetic sensor 56 detects a fraud that brings a magnet close to each winning hole and guides the game ball launched to the gaming area 10a to each winning hole.

また、CPU502は、出力I/F506を介して、普図・特図表示器35、普電SOL36b、大入賞口SOL42b、払出制御装置580、及び演出制御装置550に指令信号を送信して、遊技を統括的に制御する。   In addition, the CPU 502 transmits a command signal to the ordinary / special-purpose display 35, the ordinary electric power SOL 36b, the special winning opening SOL 42b, the payout control device 580, and the effect control device 550 via the output I / F 506, thereby playing Overall control.

普図・特図表示器35には、前述のように、特図変動表示ゲーム及び普図変動表示ゲームが実行される。さらに、特図変動表示ゲームの未処理回数(特図始動記憶数)及び普図変動表示ゲームの未処理回数(普図始動記憶数)が表示される。普図変動表示ゲームが当りとなるか否かを示す乱数を含む普図始動記憶、及び特図変動表示ゲームが当りとなるか否かを示す乱数を含む特図始動記憶が記憶されている。   As described above, the special figure change display game and the universal figure change display game are executed on the special figure / special figure display unit 35. Furthermore, the number of unprocessed times (special figure start memory number) of the special figure change display game and the number of unprocessed times (standard figure start memory number) of the normal figure change display game are displayed. A general chart start memory including a random number indicating whether or not the special figure fluctuation display game is won and a special figure start memory including a random number indicating whether or not the special figure fluctuation display game is a win are stored.

普電SOL36bは、普図変動表示ゲームの停止表示が特別の結果態様となった場合に、開閉部材36aを開放することによって、始動口36に遊技球が入賞しやすい状態にする。   The general electric power SOL 36b opens the opening / closing member 36a when the stop display of the general-purpose variable display game becomes a special result mode, thereby making it easy for the game ball to win the start opening 36.

大入賞口SOL42bは、特図変動表示ゲームの結果が特別の結果態様となって、特別遊技状態(大当たり状態)となった場合に、大入賞口42の開閉扉42aを開放して、遊技球が入賞しやすい状態に変換する。   The special winning opening SOL42b opens the open / close door 42a of the special winning opening 42 when the result of the special figure change display game becomes a special result mode and becomes a special gaming state (a big hit state), and a game ball Is converted to a state where it is easy to win.

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

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

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

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

演出制御装置550は、遊技制御装置500から入力される遊技データに基づいて、演出内容を決定し、表示装置53を制御するとともに、遊技盤10及び前面枠3に備えられた各種演出装置を制御する。演出装置には、LEDなどの発光装置やモータ又はソレノイドなどの可動物が含まれる。   The effect control device 550 determines the contents of the effect based on the game data input from the game control device 500, controls the display device 53, and controls various effect devices provided in the game board 10 and the front frame 3. To do. The rendering device includes a light emitting device such as an LED and a movable object such as a motor or a solenoid.

演出制御装置550は、CPU551、制御ROM552、RAM553、画像ROM554、音ROM555、VDP556、音LSI557、入力I/F558b、出力I/F558a、電源投入検出回路559、第1マスタIC570a、第2マスタIC570b、NORゲート回路561及び監視タイマ回路562を備える。さらに、演出制御装置550は、遊技盤10に接続される接続端子90と、前面枠3に接続される接続端子92を備える。なお、第1マスタIC570a及び第2マスタIC570bに共通の機能については、単に「マスタIC」として説明する。   The production control device 550 includes a CPU 551, a control ROM 552, a RAM 553, an image ROM 554, a sound ROM 555, a VDP 556, a sound LSI 557, an input I / F 558b, an output I / F 558a, a power-on detection circuit 559, a first master IC 570a, a second master IC 570b, A NOR gate circuit 561 and a monitoring timer circuit 562 are provided. Further, the effect control device 550 includes a connection terminal 90 connected to the game board 10 and a connection terminal 92 connected to the front frame 3. The functions common to the first master IC 570a and the second master IC 570b will be described simply as “master IC”.

CPU551は、遊技制御装置500から送信された指令信号が通信割込としての割込信号(INT)として入力され、入力された指令信号に基づいて、各種演出を制御する。また、CPU551には、第1マスタIC570a及び第2マスタIC570bからマスタ割込としての割込信号(INT)が入力されるとともに、VDP556からも画像更新割込としての割込信号(INT)が入力される。   The CPU 551 receives the command signal transmitted from the game control device 500 as an interrupt signal (INT) as a communication interrupt, and controls various effects based on the input command signal. The CPU 551 receives an interrupt signal (INT) as a master interrupt from the first master IC 570a and the second master IC 570b, and also receives an interrupt signal (INT) as an image update interrupt from the VDP 556. Is done.

さらに、CPU551は、監視タイマ回路562からもタイムアウト割込としての割込信号(INT)が入力される。監視タイマ回路562は、複数種類の監視タイマが内蔵されており、CPU551によって設定された監視タイマ値がタイムアップすると、CPU551に割込信号を出力する。CPU551は、割込信号の入力を受け付けると、実行中の処理を中断し、入力された割込信号に対応する処理を実行する。   Further, the CPU 551 receives an interrupt signal (INT) as a timeout interrupt also from the monitoring timer circuit 562. The monitoring timer circuit 562 includes a plurality of types of monitoring timers, and outputs an interrupt signal to the CPU 551 when the monitoring timer value set by the CPU 551 is up. When the CPU 551 receives an input of an interrupt signal, the CPU 551 interrupts the process being executed and executes a process corresponding to the input interrupt signal.

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

画像ROM554は、VDP556に接続され、表示装置53に表示される画像データを格納する。VDP556は、表示装置53への画像出力を制御するプロセッサである。   The image ROM 554 is connected to the VDP 556 and stores image data displayed on the display device 53. The VDP 556 is a processor that controls image output to the display device 53.

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

音ROM555は、音LSI557に接続され、前面枠3に備えられたスピーカ30から出力される音データを格納する。音LSI557は、スピーカ30からの音声出力を制御する回路である。   The sound ROM 555 is connected to the sound LSI 557 and stores sound data output from the speaker 30 provided in the front frame 3. The sound LSI 557 is a circuit that controls the sound output from the speaker 30.

入力I/F558bは、フィルタ565a及び565bを介して外部から入力された情報を受け付けるインタフェースである。具体的には、前面枠3に備えられた演出ボタン17が操作されたことを示す信号の入力を受け付けたり、遊技盤10に備えられたモータ位置検出センサによって検出された各モータの位置情報などの入力を受け付けたりする。   The input I / F 558b is an interface that receives information input from the outside via the filters 565a and 565b. Specifically, input of a signal indicating that the effect button 17 provided on the front frame 3 has been operated is received, position information of each motor detected by a motor position detection sensor provided on the game board 10, etc. Or accept input.

電源投入検出回路559は、演出制御装置550に電源が投入された場合に、第1マスタIC570a及び第2マスタIC570bのレジスタをデフォルト状態(すべて0)に初期化するリセット信号を発生させ、NORゲート回路561に出力する。   The power-on detection circuit 559 generates a reset signal that initializes the registers of the first master IC 570a and the second master IC 570b to a default state (all 0) when the effect control device 550 is powered on, and generates a NOR gate. Output to the circuit 561.

また、CPU551は、所定の条件が成立した場合に、バス563を介してリセット信号を出力I/F558aに出力する。そして、出力I/F558aは、入力されたリセット信号をNORゲート回路561に出力し、さらに、NORゲート回路561から、第1マスタIC570a及び第2マスタIC570bに当該リセット信号を出力する。所定の条件とは、例えば、すべての装飾制御装置610において、エラーフラグが「ON」になった場合などである(図32及び図33参照)。   Further, the CPU 551 outputs a reset signal to the output I / F 558a via the bus 563 when a predetermined condition is satisfied. The output I / F 558a outputs the input reset signal to the NOR gate circuit 561, and further outputs the reset signal from the NOR gate circuit 561 to the first master IC 570a and the second master IC 570b. The predetermined condition is, for example, a case where an error flag is “ON” in all the decoration control devices 610 (see FIGS. 32 and 33).

また、出力I/F558aは、ドライバ564a及びドライバ564bを介して、遊技盤10や前面枠3に備えられた演出装置(モータ又はソレノイドなどの可動物で駆動する演出装置)へ制御信号を出力する。   The output I / F 558a outputs a control signal to a rendering device (a rendering device driven by a movable object such as a motor or a solenoid) provided in the game board 10 or the front frame 3 via the driver 564a and the driver 564b. .

なお、電源投入検出回路559からNORゲート回路561に入力されるリセット信号と、CPU551から出力I/F558aを介してNORゲート回路561に入力されるリセット信号は、いずれの場合にもLOWレベルの状態のときにリセットを指令する信号として機能する。そのため、電源投入検出回路559及びCPU551の少なくとも一方からNORゲート回路561にリセット信号が出力されていれば、NORゲート回路561を介してリセット信号が第1マスタIC570a及び第2マスタIC570bに入力される。   Note that the reset signal input from the power-on detection circuit 559 to the NOR gate circuit 561 and the reset signal input from the CPU 551 to the NOR gate circuit 561 via the output I / F 558a are in a LOW level state in any case. It functions as a signal for commanding reset at the time. Therefore, if a reset signal is output to the NOR gate circuit 561 from at least one of the power-on detection circuit 559 and the CPU 551, the reset signal is input to the first master IC 570a and the second master IC 570b via the NOR gate circuit 561. .

図11は、本発明の実施の形態の演出制御装置550に備えられた第1マスタIC570aと遊技盤10に備えられた演出装置の構成を示すブロック図である。   FIG. 11 is a block diagram showing the configuration of the first master IC 570a provided in the effect control device 550 and the effect device provided in the game board 10 according to the embodiment of the present invention.

遊技盤10は、第1マスタIC570aに接続される中継基板600、当該中継基板600に接続される装飾装置基板625及び補助遊技装置ユニット12を備える。   The game board 10 includes a relay board 600 connected to the first master IC 570a, a decoration device board 625 connected to the relay board 600, and an auxiliary game device unit 12.

中継基板600は、第1マスタIC570aから送信された電気信号を、遊技盤10に備えられた装飾制御装置610に送信(中継)する。また、中継基板600には、装飾制御装置610と同様に、演出装置を制御する機能を有し、当該中継基板600に直接接続された装飾装置基板625を制御する。   The relay board 600 transmits (relays) the electrical signal transmitted from the first master IC 570 a to the decoration control device 610 provided in the game board 10. In addition, the relay board 600 has a function of controlling the effect device, similarly to the decoration control device 610, and controls the decoration device board 625 directly connected to the relay board 600.

装飾装置620は、装飾制御装置610に備えられるI2CI/Oエクスパンダ615(図17参照)によって制御され、電流を流すことによって光が点滅して演出を行う発光装置であり、例えばLEDなどである。装飾装置基板625は、サイドランプ45(図8参照)に設けられる基板であり、サイドランプ45の発光装置(LED)が搭載されている。このサイドランプ45の発光装置は、中継基板600に備えられるI2CI/Oエクスパンダ615によって、直接制御される。 The decoration device 620 is a light emitting device that is controlled by an I 2 CI / O expander 615 (see FIG. 17) provided in the decoration control device 610 and flashes light when an electric current is applied. It is. The decoration device substrate 625 is a substrate provided on the side lamp 45 (see FIG. 8), and a light emitting device (LED) of the side lamp 45 is mounted thereon. The light emitting device of the side lamp 45 is directly controlled by an I 2 CI / O expander 615 provided on the relay board 600.

補助遊技装置ユニット12には、LEDなどの発光装置である装飾装置620、可動物である役物駆動第1モータ(MOT)71及び役物駆動第2MOT81が含まれている。補助遊技装置ユニット12内の装飾装置620は、当該補助遊技装置ユニット12に含まれる装飾制御装置610によって制御される。本発明の実施の形態では、役物駆動第1MOT71及び役物駆動第2MOT81は、中継基板600によって制御されるように構成されているが、装飾装置620と同様に当該補助遊技装置ユニット12に含まれる装飾制御装置610によって制御されるように構成してもよい。   The auxiliary gaming device unit 12 includes a decoration device 620 that is a light emitting device such as an LED, a first accessory driving first motor (MOT) 71 that is a movable object, and a second accessory driving second MOT 81. The decoration device 620 in the auxiliary gaming device unit 12 is controlled by the decoration control device 610 included in the auxiliary gaming device unit 12. In the embodiment of the present invention, the accessory driving first MOT 71 and the accessory driving second MOT 81 are configured to be controlled by the relay board 600, but are included in the auxiliary gaming device unit 12 like the decoration device 620. The decoration control device 610 may be configured to be controlled.

役物駆動第1MOT71及び役物駆動第2MOT81は、電流が流れると回転動作することによって演出動作を行う駆動装置である。役物駆動第1MOT71及び役物駆動第2MOT81は、演出制御装置550のドライバ564により中継基板600を経由して直接制御されるので、I2CI/Oエクスパンダ615を介在させる処理は行われない。 The first accessory driving MOT 71 and the second accessory driving MOT 81 are driving devices that perform an effect operation by rotating when current flows. Since the accessory driving first MOT 71 and the accessory driving second MOT 81 are directly controlled by the driver 564 of the effect control device 550 via the relay board 600, the process of interposing the I 2 CI / O expander 615 is not performed. .

本発明の実施の形態では、役物駆動第1MOT71及び役物駆動第2MOT81は、可動演出装置58に含まれ、具体的には、役物駆動第1MOT71は第1演出ユニット63、役物駆動第2MOT81は第2演出ユニット64に含まれている。   In the embodiment of the present invention, the accessory driving first MOT 71 and the accessory driving second MOT 81 are included in the movable effect device 58. Specifically, the accessory driving first MOT 71 includes the first effect unit 63, the accessory driving first. 2MOT 81 is included in the second effect unit 64.

演出制御装置550は、役物駆動第1MOT71及び役物駆動第2MOT81を制御することによって、第1演出ユニット63及び第2演出ユニット64が連動した演出動作を実行させる。   The effect control device 550 controls the first and second effect units driving MOT 71 and second MOT 81 to cause the first effect unit 63 and the second effect unit 64 to perform an effect operation.

第1マスタIC570aは、制御対象となる装飾装置620を制御する装飾制御装置610に個別に割り当てられたアドレスを指定して、指定した個別アドレスの装飾制御装置610に装飾装置620の制御内容を出力する。なお、装飾制御装置610の個別アドレスは、正確には、装飾制御装置610に含まれるI2CI/Oエクスパンダ615(図17参照)の個別アドレスである。 The first master IC 570a designates an address individually assigned to the decoration control device 610 that controls the decoration device 620 to be controlled, and outputs the control contents of the decoration device 620 to the decoration control device 610 of the designated individual address. To do. The individual address of the decoration control device 610 is precisely the individual address of the I 2 CI / O expander 615 (see FIG. 17) included in the decoration control device 610.

第1マスタIC570aは、接続線SDA、接続線SCL、接続線GND、接続線Vcc、接続線Vled、接続線Vms、及び接続線Vseの7種類の接続線を介して、中継基板(装飾制御装置)600に接続される。これらの接続線は、第1マスタIC570aと中継基板600とを接続するケーブル91(図8参照)により構成される。   The first master IC 570a is connected to a relay board (decoration control device) via seven types of connection lines: a connection line SDA, a connection line SCL, a connection line GND, a connection line Vcc, a connection line Vled, a connection line Vms, and a connection line Vse. ) 600. These connection lines are configured by a cable 91 (see FIG. 8) that connects the first master IC 570a and the relay substrate 600.

接続線SDAは、演出制御装置550と装飾制御装置610との間でデータ信号を通信するための接続線であり、本発明の実施の形態におけるデータ線として機能する。接続線SCLは、接続線SDAでのデータ通信に用いられるクロック信号を入出力するための接続線であり、本発明の実施の形態におけるタイミング信号線として機能する。接続線GNDは、接続線Vcc、接続線Vled、接続線Vms、及び接続線Vseで供給される電源のグランドである。   Connection line SDA is a connection line for communicating data signals between effect control device 550 and decoration control device 610, and functions as a data line in the embodiment of the present invention. The connection line SCL is a connection line for inputting and outputting a clock signal used for data communication on the connection line SDA, and functions as a timing signal line in the embodiment of the present invention. The connection line GND is a ground of the power supplied by the connection line Vcc, the connection line Vled, the connection line Vms, and the connection line Vse.

接続線Vccは、中継基板600及び装飾制御装置610にロジック用の電源を供給するための接続線である。接続線Vledは、LED(装飾装置620)を発光させるための電源を供給するための接続線である。接続線Vmsは、補助遊技装置ユニット12に含まれるモータやソレノイド(具体的には、役物駆動第1MOT71、役物駆動第2MOT81)に電源を供給するための接続線である。接続線Vseは、各種センサ(演出装置に含まれるモータの状態を検出する状態検出センサであって、具体的には、モータ位置検出センサ560aが相当する)に電源を供給するための接続線である。   The connection line Vcc is a connection line for supplying logic power to the relay board 600 and the decoration control device 610. The connection line Vled is a connection line for supplying power for causing the LED (decoration device 620) to emit light. The connection line Vms is a connection line for supplying power to the motors and solenoids (specifically, the accessory driving first MOT 71 and the accessory driving second MOT 81) included in the auxiliary gaming device unit 12. The connection line Vse is a connection line for supplying power to various sensors (a state detection sensor that detects the state of the motor included in the rendering device, and specifically corresponds to the motor position detection sensor 560a). is there.

中継基板600と補助遊技装置ユニット12との間は、演出制御装置550と中継基板600との間を接続する7種類の接続線が接続される。本発明の実施の形態では、モータ位置検出センサ560a、役物駆動第1MOT71及び役物駆動第2MOT81は、中継基板600によって直接制御されるため、前述した7種類の接続線のうち、接続線Vms及び接続線Vse以外の5種類の接続線が、補助遊技装置ユニット12の最上流に配置された装飾制御装置610に接続される。具体的には、中継基板600と装飾制御装置610との間は、接続線Vcc、接続線Vled、接続線SDA、接続線SCL及び接続線GNDが接続される。   Between the relay board 600 and the auxiliary gaming device unit 12, seven types of connection lines that connect the effect control device 550 and the relay board 600 are connected. In the embodiment of the present invention, the motor position detection sensor 560a, the accessory driving first MOT 71, and the accessory driving second MOT 81 are directly controlled by the relay board 600, and therefore, the connection line Vms among the seven types of connection lines described above. The five types of connection lines other than the connection line Vse are connected to the decoration control device 610 disposed at the uppermost stream of the auxiliary gaming device unit 12. Specifically, a connection line Vcc, a connection line Vled, a connection line SDA, a connection line SCL, and a connection line GND are connected between the relay board 600 and the decoration control device 610.

なお、図8に示した配線(ケーブル)と各接続線を対応させると、演出制御装置550から中継基板600に引き渡される各種接続線(接続線Vcc、接続線Vled、接続線SDA、接続線SCL、接続線Vms、接続線Vse、及び接続線GND)は、ケーブル91に含まれている。   When the wiring (cable) shown in FIG. 8 is associated with each connection line, various connection lines (connection line Vcc, connection line Vled, connection line SDA, connection line SCL) delivered from the effect control device 550 to the relay board 600 are provided. , Connection line Vms, connection line Vse, and connection line GND) are included in the cable 91.

また、これらの各種接続線は、中継基板600からさらに分岐して別の基板に引き渡され、中継基板600から分岐する接続線Vcc、接続線Vled、接続線SDA、及び接続線SCLはケーブル653に、接続線Vmsはケーブル652に、接続線Vseはケーブル651に含まれている。また、中継基板600から分岐する接続線GNDが、ケーブル651〜653の全てに含まれている。   These various connection lines are further branched from the relay board 600 and delivered to another board. The connection line Vcc, the connection line Vled, the connection line SDA, and the connection line SCL branched from the relay board 600 are connected to the cable 653. The connection line Vms is included in the cable 652, and the connection line Vse is included in the cable 651. Further, the connection line GND branched from the relay board 600 is included in all the cables 651 to 653.

第1マスタIC570aと装飾制御装置610とは、接続線SDA及び接続SCLによって2ライン双方向通信を行う。第1マスタIC570aは、CPU551からの指令に基づいて、装飾制御装置610との間に接続された接続線SDA及び接続線SCLの各信号レベルを制御する(第1の)信号レベル制御手段として機能する。   The first master IC 570a and the decoration control device 610 perform two-line bidirectional communication using the connection line SDA and the connection SCL. The first master IC 570a functions as a (first) signal level control means for controlling each signal level of the connection line SDA and the connection line SCL connected to the decoration control device 610 based on a command from the CPU 551. To do.

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

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

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

そして、第1マスタIC570aは、最後の8ビット目のデータ送信が終了すると、接続線SCLの信号レベルをHIGHからLOWに戻した際に、接続線SDAを解放して装飾制御装置610からの返答信号を受信することを待機する受信待機状態にする。   Then, when the data transmission of the last 8 bits is completed, the first master IC 570a releases the connection line SDA and returns a response from the decoration control device 610 when the signal level of the connection line SCL is returned from HIGH to LOW. A reception standby state in which a signal is received is set.

受信待機状態になると、装飾制御装置610は、接続線SDAを介して1ビットの返答信号(後述するACK又はNACK)を第1マスタIC570aに返す。次いで、第1マスタIC570aは、接続線SCLの信号レベルをLOWからHIGHに変化させて返答信号のレベルを取り込み、所定時間後に接続線SCLの信号レベルをHIGHからLOWに変化させると、装飾制御装置610は接続線SDAを解放する。   In the reception standby state, the decoration control device 610 returns a 1-bit response signal (ACK or NACK described later) to the first master IC 570a via the connection line SDA. Next, when the first master IC 570a 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 releases the connection line SDA.

第1マスタIC570aは、このような1バイト分のデータ送信(下り方向データの送信)と1ビット分の返答信号の受信(上り方向データの受信)とを交互に繰り返し、装飾制御装置610へ出力すべきデータがすべて出力されるまで継続する。第1マスタIC570aは、出力すべきデータの出力が終了した場合には、接続線SCLの信号レベルをHIGHに維持したまま、接続線SDAの信号レベルをLOWからHIGHに変更させることにより、装飾制御装置610へのデータ出力を終了するためのストップ条件を成立させる(装飾制御装置610に対してストップコンディションを発行する)。   The first master IC 570a alternately repeats such data transmission for 1 byte (transmission of downlink data) and reception of a response signal for 1 bit (reception of uplink data), and outputs the result to the decoration control device 610. Continue until all the data to be output is output. When the output of data to be output is completed, the first master IC 570a changes the signal level of the connection line SDA from LOW to HIGH while maintaining the signal level of the connection line SCL at HIGH, thereby controlling the decoration. A stop condition for ending data output to the device 610 is established (a stop condition is issued to the decoration control device 610).

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

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

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

リセットレジスタ(REG)573は、バス563に接続され、演出制御装置550のCPU551からの指令を受け付けてリセット信号をコントローラ574に出力する。コントローラ574は、第1マスタIC570aを統括的に制御し、各種処理を実行する。   The reset register (REG) 573 is connected to the bus 563, receives a command from the CPU 551 of the effect control device 550, and outputs a reset signal to the controller 574. The controller 574 comprehensively controls the first master IC 570a and executes various processes.

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

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

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

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

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

ドライバ576aは、データを接続線SDAから出力する場合に、トランジスタ578aにドレインとソースとの間に電流を流すためにトランジスタ578aのゲートにトランジスタ578aが動作可能な値の電圧を印加する。そして、ドライバ576aは、接続線SDAの電圧を、HIGHレベル又はLOWレベルに設定することによって、データを接続線SDAから出力する。   When the driver 576a outputs data from the connection line SDA, the driver 576a applies a voltage having a value at which the transistor 578a can operate to the gate of the transistor 578a so that a current flows between the drain and the source 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に印加する。   Further, the filter 575b removes noise from data input from the connection line SCL. When the driver 576b outputs data from the connection line SCL, the driver 576b applies a voltage at which the transistor 578b can operate to the transistor 578b.

接続線SCLは、プルアップ抵抗Rによって所定の電圧が印加され(図21参照)、フィルタ575b及びトランジスタ578bに接続されている。   A predetermined voltage is applied to the connection line SCL by the pull-up resistor R (see FIG. 21), and the connection line SCL is connected to the filter 575b and the transistor 578b.

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

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

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

ドライバ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 having a value at which the transistor 578b can operate to the gate of the transistor 578b so that a current flows between the drain and the source of the transistor 578b. Then, the driver 576b outputs a clock signal from the connection line SCL by repeatedly changing the voltage of the connection line SCL between a HIGH level and a LOW level.

電源投入リセット回路577は、第1マスタIC570aに電源が投入されて、電源投入リセット回路577内の電圧が所定値に達した場合に、入力用バッファ571及び出力用バッファ572などの記憶領域をデフォルト状態にするためのリセット信号をコントローラ574に出力する。なお、電源投入リセット回路577については、第1マスタIC570aの外部に設け、後述する第2マスタIC570bの共通としてもよい。   The power-on reset circuit 577 defaults storage areas such as the input buffer 571 and the output buffer 572 when the first master IC 570a is powered on and the voltage in the power-on reset circuit 577 reaches a predetermined value. A reset signal for setting the state is output to the controller 574. The power-on reset circuit 577 may be provided outside the first master IC 570a and shared with the second master IC 570b described later.

コマンドレジスタ(REG)581は、演出制御装置550のCPU551からコマンドを受け付けるためのレジスタである。本発明の実施の形態では、コマンドレジスタ581には、STA、STO、SI、及びMODEの各ビットが予め割り当てられており、CPU551によって、各ビット毎個別に“0”又は“1”が設定可能となっている。   The command register (REG) 581 is a register for receiving a command from the CPU 551 of the effect control device 550. In the embodiment of the present invention, each bit of STA, STO, SI, and MODE is pre-assigned to the command register 581, and “0” or “1” can be individually set for each bit by the CPU 551. It has become.

STAは、第1マスタIC570aが制御対象の装飾制御装置610に対し、スタート条件(スタートコンディション)の出力を指示するためのビットである。STAに“1”が設定されると、第1マスタIC570aは、制御対象の装飾制御装置610に対し、スタートコンディションを発行(出力)し、スタート条件を成立させる。   The STA is a bit for the first master IC 570a to instruct the decoration control device 610 to be controlled to output a start condition (start condition). When “1” is set in the STA, the first master IC 570a issues (outputs) a start condition to the decoration control device 610 to be controlled to establish the start condition.

STOは、第1マスタIC570aが制御対象の装飾制御装置610に対し、ストップ条件(ストップコンディション)の出力を指示するためのビットである。STOに“1”が設定されると、第1マスタIC570aは、制御対象の装飾制御装置610に対し、ストップコンディションを発行(出力)し、ストップ条件を成立させる。   The STO is a bit for the first master IC 570a to instruct the decoration control device 610 to be controlled to output a stop condition (stop condition). When “1” is set in the STO, the first master IC 570a issues (outputs) a stop condition to the decoration control device 610 to be controlled to establish the stop condition.

SIは、第1マスタIC570aから、演出制御装置550において割込みを発生させるときに設定されるビットである。第1マスタIC570aからCPU551に割込みを発生させるときには、コントローラ574によってSIに“1”が設定され、割込信号(INT)がCPU551に入力される。その後、SIに“1”が設定されている間は、第1マスタIC570aは処理を中断しているが、CPU551によってSIに“0”が設定されると、第1マスタIC570aは、割込を中断して処理を再開する。   SI is a bit that is set when an interrupt is generated in the effect control device 550 from the first master IC 570a. When an interrupt is generated from the first master IC 570 a to the CPU 551, “1” is set to SI by the controller 574 and an interrupt signal (INT) is input to the CPU 551. Thereafter, while the SI is set to “1”, the first master IC 570a suspends processing. However, when the CPU 551 sets SI to “0”, the first master IC 570a interrupts. Suspend and resume processing.

MODEは、データを送信するモードを指定するビットであり、“1”が設定されている場合には「バッファモード」、“0”が設定されている場合には「バイトモード」が指定される。バッファモードは、連続する複数バイトのデータを1度にまとめて送信するモードであり、最大68バイトのデータの送信が可能である。また、バイトモードは、1回の送信で1バイトのデータだけが送信可能なモードであり、バイト単位でのデータの送受信に利用される。   MODE is a bit for designating a mode for transmitting data, and “buffer mode” is designated when “1” is set, and “byte mode” is designated when “0” is set. . The buffer mode is a mode for transmitting a plurality of continuous bytes of data at a time and transmitting a maximum of 68 bytes of data. The byte mode is a mode in which only one byte of data can be transmitted in one transmission, and is used for data transmission / reception in units of bytes.

ステータスレジスタ(REG)582は、第1マスタIC570aのステータスを示す情報が格納される。下位2ビットには常に“0”が設定され、上位5ビットにステータスコードが設定される。   The status register (REG) 582 stores information indicating the status of the first master IC 570a. “0” is always set in the lower 2 bits, and the status code is set in the upper 5 bits.

自身アドレス設定レジスタ(REG)583は、第1マスタIC570aがスレーブ(装飾制御装置)として機能する場合に設定されるレジスタである。市販されているマスタICは、通常、マスタとしての機能とスレーブとしての機能を備えており、用途に応じて使用される。自身アドレス設定REG583には、第1マスタIC570aがスレーブとして機能する場合に、自身を特定するためのアドレスが設定される。   The own address setting register (REG) 583 is a register that is set when the first master IC 570a functions as a slave (decoration control device). A commercially available master IC usually has a function as a master and a function as a slave, and is used according to the application. In the own address setting REG 583, an address for specifying itself when the first master IC 570a functions as a slave is set.

図12は、本発明の実施の形態の演出制御装置550に備えられた第2マスタIC570bと前面枠3に備えられた演出装置の構成を示すブロック図である。   FIG. 12 is a block diagram showing the configuration of the second master IC 570b provided in the effect control device 550 and the effect device provided in the front frame 3 according to the embodiment of the present invention.

前面枠3には、第2マスタIC570bに接続される簡易中継基板1600、当該簡易中継基板1600に接続される装飾制御装置610、スピーカ30、モータ位置検出センサ560b、照明駆動第1MOT13a及び照明駆動第2MOT14aなどが含まれる。   The front frame 3 includes a simple relay board 1600 connected to the second master IC 570b, a decoration control device 610 connected to the simple relay board 1600, a speaker 30, a motor position detection sensor 560b, an illumination drive first MOT 13a, and an illumination drive first. 2MOT 14a and the like are included.

簡易中継基板1600は、第2マスタIC570bから送信された電気信号を、前面枠3に備えられた装飾制御装置610に送信(中継)する。なお、簡易中継基板1600は、中継基板600とは異なり、I2CI/Oエクスパンダ615を備えていないので、簡易中継基板1600に備えた電子部品には、演出装置を制御するための演算処理を実行する機能を有していない。したがって、簡易中継基板1600に直接接続された照明駆動第1MOT13a及び照明駆動第2MOT14aを、自己の判断によって制御することができないため、簡易中継基板1600は、第2マスタIC570bから受信した電気信号を入力して、照明駆動第1MOT13a及び照明駆動第2MOT14aへ中継する役目を果たしている。 The simple relay board 1600 transmits (relays) the electrical signal transmitted from the second master IC 570 b to the decoration control device 610 provided in the front frame 3. Unlike the relay board 600, the simple relay board 1600 does not include the I 2 CI / O expander 615. Therefore, the electronic component provided in the simple relay board 1600 includes arithmetic processing for controlling the effect device. Does not have a function to execute. Therefore, since the illumination driving first MOT 13a and the illumination driving second MOT 14a that are directly connected to the simple relay board 1600 cannot be controlled by their own judgment, the simple relay board 1600 receives the electric signal received from the second master IC 570b. Thus, it plays a role of relaying to the illumination driving first MOT 13a and the illumination driving second MOT 14a.

照明駆動第1MOT13a及び照明駆動第2MOT14aは、演出制御装置550から送信された信号に基づいて内部に備えられた発光部材を駆動させ、各種演出を実行する。   The illumination drive first MOT 13a and the illumination drive second MOT 14a drive the light emitting member provided inside based on the signal transmitted from the effect control device 550, and execute various effects.

また、演出制御装置550は、演出ボタン17から当該演出ボタン17が操作されたことを示す信号が簡易中継基板1600を介して入力される。さらに、モータ位置検出センサ560bによって検出された照明駆動第1MOT13a及び照明駆動第2MOT14aの位置情報が、簡易中継基板1600を介して入力される。   In addition, the effect control device 550 receives a signal indicating that the effect button 17 has been operated from the effect button 17 via the simple relay board 1600. Further, the position information of the illumination drive first MOT 13 a and the illumination drive second MOT 14 a detected by the motor position detection sensor 560 b is input via the simple relay board 1600.

さらに、簡易中継基板1600は、演出制御装置550の音LSI557からの信号を受信し、スピーカ30から出力する。   Further, the simple relay board 1600 receives a signal from the sound LSI 557 of the effect control device 550 and outputs it from the speaker 30.

なお、第2マスタIC570bの構成は、第1マスタIC570aと同じ構成であるため、第2マスタIC570bの各構成には同じ符号を割り当てて説明を省略する。また、第2マスタIC570bは、第1マスタIC570aと同様に、CPU551からの指令に基づいて、装飾制御装置610との間に接続された接続線SDA及び接続線SCLの各信号レベルを制御する(第2の)信号レベル制御手段として機能する。   Since the configuration of the second master IC 570b is the same as that of the first master IC 570a, the same reference numeral is assigned to each configuration of the second master IC 570b, and description thereof is omitted. Similarly to the first master IC 570a, the second master IC 570b controls the signal levels of the connection line SDA and the connection line SCL connected to the decoration control device 610 based on a command from the CPU 551 ( It functions as a second) signal level control means.

なお、演出制御装置550と中継基板600との接続方法、及び中継基板600と中継基板600以外の装飾制御装置610との接続方法については、図13〜図16にて詳細を後述する。また、中継基板600及び装飾制御装置610の構成などについては、図17〜図21にて詳細を後述する。   The connection method between the effect control device 550 and the relay board 600 and the connection method between the relay board 600 and the decoration control device 610 other than the relay board 600 will be described in detail later with reference to FIGS. The configuration of the relay board 600 and the decoration control device 610 will be described in detail later with reference to FIGS.

装飾制御装置610は、主として、遊技盤10及び前面枠3に取り付けられている。前面枠3に取り付けられた装飾制御装置610が制御する装飾装置(LED)620は、装飾部材9a、9b、照明ユニット11、及び異常報知LED29を照射するものである。一方、遊技盤10に取り付けられる装飾制御装置610は、センターケース51、表示装置53、及び演出制御装置550を一体化して構成される補助遊技装置ユニット12に含まれている。   The decoration control device 610 is mainly attached to the game board 10 and the front frame 3. The decoration device (LED) 620 controlled by the decoration control device 610 attached to the front frame 3 irradiates the decoration members 9a and 9b, the illumination unit 11, and the abnormality notification LED 29. On the other hand, the decoration control device 610 attached to the game board 10 is included in the auxiliary game device unit 12 configured by integrating the center case 51, the display device 53, and the effect control device 550.

図13では、遊技盤10に備えられる中継基板600及び補助遊技装置ユニット12に含まれる装飾制御装置610の構成及び接続形態について説明する。図14では、前面枠3に備えられる簡易中継基板1600及び装飾制御装置610の構成及び接続形態について説明する。   In FIG. 13, a configuration and connection form of the decoration control device 610 included in the relay board 600 and the auxiliary game device unit 12 provided in the game board 10 will be described. In FIG. 14, configurations and connection forms of the simple relay board 1600 and the decoration control device 610 provided in the front frame 3 will be described.

図13は、本発明の実施の形態の遊技盤10の構成を示す図である。   FIG. 13 is a diagram showing a configuration of the game board 10 according to the embodiment of the present invention.

補助遊技装置ユニット12を構成するセンターケース51は、前述したように、枠装飾部65と枠体基部60とを組み合わせて構成される。   As described above, the center case 51 constituting the auxiliary gaming device unit 12 is configured by combining the frame decoration portion 65 and the frame base portion 60.

枠装飾部65には、変動表示ゲームなどの補助遊技の演出を行うための演出装置や当該演出装置を制御するための装飾制御装置610などが複数個備えられる。これらの装飾制御装置610同士を所定の信号ケーブルにより相互に接続し、さらに、この装飾制御装置610に制御される演出装置もケーブルで接続することにより、当該枠装飾部65が一体構成される。   The frame decoration unit 65 is provided with a plurality of effect devices for performing auxiliary games such as a variable display game, and a decoration control device 610 for controlling the effect devices. These decoration control devices 610 are connected to each other by a predetermined signal cable, and the effect device controlled by the decoration control device 610 is also connected by a cable, whereby the frame decoration portion 65 is integrally configured.

また、枠体基部60にも、変動表示ゲームなどの補助遊技の演出を行うための演出装置や当該演出装置を制御するための装飾制御装置610が複数個備えられる。これらの装飾制御装置610同士を所定の信号ケーブルにより相互に接続し、さらに、この装飾制御装置610に制御される演出装置もケーブルで接続することにより、当該枠体基部60が一体構成される。   The frame base 60 is also provided with a plurality of effect devices for performing an auxiliary game such as a variable display game, and a plurality of decoration control devices 610 for controlling the effect devices. By connecting these decoration control devices 610 to each other by a predetermined signal cable, and also connecting the effect device controlled by the decoration control device 610 with a cable, the frame base 60 is integrally configured.

ゆえに、枠装飾部65や枠体基部60は、本実施形態における一体型演出ユニットを構成している。これに対し、サイドランプ45などは、一体型演出ユニットに含まれない単体の演出装置であるので、分離型演出装置を構成することになる。   Therefore, the frame decoration part 65 and the frame base 60 constitute an integrated production unit in the present embodiment. On the other hand, since the side lamps 45 and the like are single production devices that are not included in the integrated production unit, they constitute a separate production device.

なお、補助遊技装置ユニット12に含まれる演出装置のすべてが補助遊技装置ユニット12内部の装飾制御装置610によって制御される必要はない。例えば、本発明の実施の形態では、センターケース51内に配置される可動物は、中継基板600を介して、演出制御装置550により直接制御される。   Note that not all of the effect devices included in the auxiliary gaming device unit 12 need be controlled by the decoration control device 610 inside the auxiliary gaming device unit 12. For example, in the embodiment of the present invention, the movable object arranged in the center case 51 is directly controlled by the effect control device 550 via the relay board 600.

装飾制御装置610には、前述のように、装飾装置620を制御するためのI2CI/Oエクスパンダ615が搭載され、I2CI/Oエクスパンダ615には、個々のI2CI/Oエクスパンダ615を識別するための個別アドレスが割り当てられている。本発明の実施の形態では、前述のように、I2CI/Oエクスパンダ615の個別アドレスが、装飾制御装置610の個別アドレスとして利用される。 The decoration controller 610, as described above, is mounted I 2 CI / O expander 615 for controlling the decoration device 620, the I 2 CI / O expander 615, individual I 2 CI / O An individual address for identifying the expander 615 is assigned. In the embodiment of the present invention, as described above, the individual address of the I 2 CI / O expander 615 is used as the individual address of the decoration control device 610.

演出制御装置550は、I2CI/Oエクスパンダ615の個別アドレスを指定して制御信号を送信することによって、装飾装置620を個別に制御して演出動作を実行することが可能となる。各装飾制御装置610には、原則的に、それぞれ異なる個別アドレス(図中に「ad=」で示す)が割り当てられる。 The effect control device 550 can execute the effect operation by individually controlling the decoration device 620 by designating the individual address of the I 2 CI / O expander 615 and transmitting the control signal. In principle, different individual addresses (indicated by “ad =” in the figure) are assigned to the respective decoration control devices 610.

また、装飾制御装置610は、接続形態によって、分岐型(分岐基板)、連結型(連結基板)及び終端型(終端基板)の三種類に分類される。分岐型、連結型及び終端型いずれの装飾制御装置610にも装飾装置620を接続可能であり、接続された装飾装置620を制御することが可能である。   Further, the decoration control device 610 is classified into three types according to a connection form: a branch type (branch substrate), a connection type (connection substrate), and a termination type (termination substrate). The decoration device 620 can be connected to any one of the branch type, the connection type, and the terminal type decoration control device 610, and the connected decoration device 620 can be controlled.

分岐型の装飾制御装置610は、下流側に複数の装飾制御装置610が直接接続され、これらの複数の装飾制御装置610に受信した制御信号を送信する。連結型の装飾制御装置610は、下流側に一つの装飾制御装置610が接続され、接続された装飾制御装置610に受信した制御信号を送信する。終端型の装飾制御装置610は、下流側に装飾制御装置610が接続されず、装飾装置620の制御のみを行う。分岐型、連結型、終端型の装飾制御装置610の詳細に関しては、図17を用いて後述する。   In the branch type decoration control device 610, a plurality of decoration control devices 610 are directly connected to the downstream side, and the received control signals are transmitted to the plurality of decoration control devices 610. The connected decoration control device 610 is connected to one decoration control device 610 on the downstream side, and transmits the received control signal to the connected decoration control device 610. The terminal-type decoration control device 610 does not connect the decoration control device 610 on the downstream side, and only controls the decoration device 620. Details of the branch type, connected type, and terminal type decoration control device 610 will be described later with reference to FIG.

なお、上流側とは、演出制御装置550から途中の装飾制御装置610を経て末端の装飾制御装置610までへ電気信号を送信する構成において、この電気信号を送信する側のことである。反対に、下流側とは、この電気信号を受信する側のことである。   The upstream side refers to the side that transmits the electrical signal in the configuration in which the electrical signal is transmitted from the effect control device 550 to the terminal decoration control device 610 through the decoration control device 610 on the way. On the other hand, the downstream side is the side that receives this electrical signal.

要するに、演出制御装置550から末端の装飾制御装置610への信号ケーブルを順に辿っていったときに、より演出制御装置550に近い側へ接続されている装飾制御装置610が上流側となり、より末端の装飾制御装置610に近い側へ接続されている装飾制御装置610が下流側となる。例えば、装飾制御装置610A、610Cは、装飾制御装置610Hの上流側に配置されており、装飾制御装置610I、610Jは、装飾制御装置610Hの下流側に配置されていることになる。   In short, when the signal cable from the production control device 550 to the decoration control device 610 at the end is traced in order, the decoration control device 610 connected to the side closer to the production control device 550 becomes the upstream side, and more terminal. The decoration control device 610 connected to the side closer to the decoration control device 610 is the downstream side. For example, the decoration control devices 610A and 610C are arranged on the upstream side of the decoration control device 610H, and the decoration control devices 610I and 610J are arranged on the downstream side of the decoration control device 610H.

ここで、本発明の実施の形態では、前述のように、可動演出装置58を構成する第1演出部材70及び第2演出部材80の可動部分に装飾制御装置610が配置されている。言い換えれば、図6において、第1演出部材70の可動部(第1演出ベース100)に装飾制御装置610(第1発光基板106)が配置され、図7において、第2演出部材80の可動部(第2演出ベース110)に装飾制御装置610(第2発光基板116)が配置されている。   Here, in the embodiment of the present invention, as described above, the decoration control device 610 is arranged on the movable parts of the first effect member 70 and the second effect member 80 that constitute the movable effect device 58. In other words, in FIG. 6, the decoration control device 610 (first light emitting substrate 106) is disposed on the movable part (first effect base 100) of the first effect member 70, and in FIG. 7, the movable part of the second effect member 80. The decoration control device 610 (second light emitting substrate 116) is disposed on the (second effect base 110).

このとき、従来のシフトレジスタのように、各装飾制御装置610をデイジーチェーンで配線すると、デイジーチェーンの末端となる何れか一方の装飾制御装置610だけは、入力用のケーブルのみを接続するだけで済む。しかし、デイジーチェーンの途中に接続される構成となる他方の装飾制御装置610には、入力用のケーブルと出力用のケーブルを接続する必要がある。可動部に複数のケーブルが接続されると、可動部とともに装飾制御装置610(第1発光基板106、第2発光基板116)自体が可動する構造となってケーブルも移動するため、配線の引き回しが困難になってしまうおそれがある。さらに、ケーブルの移動により、ケーブルを構成する接続線が断線する可能性が生じ、演出に影響を与えるおそれがある。   At this time, if each decoration control device 610 is wired in a daisy chain as in the conventional shift register, only one of the decoration control devices 610 at the end of the daisy chain is connected to an input cable. That's it. However, it is necessary to connect an input cable and an output cable to the other decoration control device 610 configured to be connected in the middle of the daisy chain. When a plurality of cables are connected to the movable part, the decoration control device 610 (the first light emitting board 106 and the second light emitting board 116) itself moves together with the movable part, and the cable also moves. It can be difficult. Furthermore, the movement of the cable may cause a disconnection of the connection line constituting the cable, which may affect the production.

本発明の実施の形態では、第1演出部材70及び第2演出部材80に配置された装飾制御装置610を終端型とし、これらの装飾制御装置610の上流に分岐型の装飾制御装置610を配置している。そのため、終端型の装飾制御装置610(第1発光基板106、第2発光基板116)には、第1演出部材70及び第2演出部材80の外部に備えた他の装飾制御装置610へ信号を伝達するケーブルが、接続されない構造となる。このように装飾制御装置610を配置すれば、可動部に配置された装飾制御装置610には入力ケーブルのみを接続すればよいことになる。したがって、デイジーチェーンで配線する場合と比較して、配線の引き回しが容易になり、断線する可能性を少なくすることができる。   In the embodiment of the present invention, the decoration control device 610 disposed on the first effect member 70 and the second effect member 80 is a terminal type, and the branch type decoration control device 610 is disposed upstream of these decoration control devices 610. doing. Therefore, the terminal-type decoration control device 610 (the first light-emitting board 106 and the second light-emitting board 116) sends a signal to the other decoration control devices 610 provided outside the first effect member 70 and the second effect member 80. The transmitting cable is not connected. If the decoration control device 610 is arranged in this way, only the input cable needs to be connected to the decoration control device 610 arranged in the movable part. Therefore, the wiring can be easily routed and the possibility of disconnection can be reduced as compared with the case of wiring by daisy chain.

装飾制御装置610は、受信した制御信号の宛先アドレスが自宛でない場合、下流側にさらに装飾制御装置610が接続されていれば受信した制御信号を送信する。また、送信先がなければ受信した制御信号を破棄する。   When the destination address of the received control signal is not addressed to itself, the decoration control device 610 transmits the received control signal if the decoration control device 610 is further connected to the downstream side. If there is no transmission destination, the received control signal is discarded.

装飾制御装置610は、16個のポートに対応するLEDを制御することが可能であり、装飾制御装置610に搭載されたLEDと、当該装飾制御装置610に接続された外部の装飾装置基板625に搭載されたLEDとの合計数が16以下であれば、両方のLEDを制御することが可能である。すなわち、一体型の装飾制御装置610(I2CI/Oエクスパンダ615と装飾装置620がともに配置される主動型基板に相当)では、装飾装置基板625(I2CI/Oエクスパンダ615が配置されず、装飾装置620が配置される従動型基板に相当)をさらに接続することによって、内部に備えられた装飾装置620と外部に接続した装飾装置620の両方を制御することが可能である。 The decoration control device 610 can control the LEDs corresponding to the 16 ports. The decoration control device 610 includes an LED mounted on the decoration control device 610 and an external decoration device substrate 625 connected to the decoration control device 610. If the total number of mounted LEDs is 16 or less, both LEDs can be controlled. In other words, in the integrated decoration control device 610 (corresponding to the main active substrate on which both the I 2 CI / O expander 615 and the decoration device 620 are arranged), the decoration device substrate 625 (the I 2 CI / O expander 615 is arranged). In addition, it is possible to control both the decoration device 620 provided inside and the decoration device 620 connected to the outside by further connecting a driven substrate on which the decoration device 620 is disposed.

こうすることによって、離れて配置された装飾装置620を1つの装飾制御装置610で制御することが可能となり、装飾制御装置610の数を最小限にすることができる。   By doing so, it is possible to control the decoration devices 620 arranged at a distance by one decoration control device 610, and the number of decoration control devices 610 can be minimized.

中継基板600は、上流側では演出制御装置550に搭載された第1マスタIC570aに接続し、第1マスタIC570aから送信された制御信号を受信する。また、下流側では補助遊技装置ユニット12に含まれる装飾制御装置610A(正確には一体型演出ユニットである枠体基部60に含まれる装飾制御装置610A)に接続する。さらに、中継基板600は、遊技盤10に備えられた分離型演出装置である装飾装置基板625(サイドランプ45(図8参照)に設けられた基板)に接続し、当該中継基板600に備えられたI2CI/Oエクスパンダ615によって、当該装飾装置基板625に搭載された装飾装置620を制御する。 The relay board 600 is connected to the first master IC 570a mounted on the effect control device 550 on the upstream side, and receives a control signal transmitted from the first master IC 570a. Further, on the downstream side, it is connected to a decoration control device 610A included in the auxiliary gaming device unit 12 (more precisely, a decoration control device 610A included in the frame base 60 which is an integrated production unit). Further, the relay board 600 is connected to a decoration device board 625 (a board provided on the side lamp 45 (see FIG. 8)) which is a separation type effect device provided in the game board 10, and is provided in the relay board 600. The decoration device 620 mounted on the decoration device substrate 625 is controlled by the I 2 CI / O expander 615.

補助遊技装置ユニット12には、装飾制御装置610A〜610Jが含まれる。装飾制御装置610Aは、分岐型の装飾制御装置であり、装飾制御装置610B及び装飾制御装置610Cに第1マスタIC570aから受信した制御信号を送信する。また、装飾制御装置610Bには、装飾装置基板625Bが接続されており、装飾装置基板625Bに配置されたLEDなどの演出装置(装飾装置620)が装飾制御装置610Bによって制御される。   The auxiliary gaming device unit 12 includes decoration control devices 610A to 610J. The decoration control device 610A is a branch type decoration control device, and transmits the control signal received from the first master IC 570a to the decoration control device 610B and the decoration control device 610C. In addition, a decoration device substrate 625B is connected to the decoration control device 610B, and an effect device (decoration device 620) such as an LED disposed on the decoration device substrate 625B is controlled by the decoration control device 610B.

装飾制御装置610Cは、分岐型の装飾制御装置610であり、下流側の装飾制御装置610D及び装飾制御装置610Hに受信した制御信号を送信する。装飾制御装置610Dは、分岐型の装飾制御装置610Eが接続され、さらに、装飾装置基板625Dに含まれる装飾装置620Dを制御する。   The decoration control device 610C is a branch type decoration control device 610, and transmits the received control signal to the decoration control device 610D and the decoration control device 610H on the downstream side. The decoration control device 610D is connected to a branch type decoration control device 610E, and further controls the decoration device 620D included in the decoration device substrate 625D.

装飾制御装置610Eには、第1演出部材70を制御する装飾制御装置610Fと、第2演出部材80を制御する装飾制御装置610Gとが接続される。第1演出部材70及び第2演出部材80は、連動して演出動作が実行される。装飾制御装置610Fは、第1演出部材70に含まれる第1発光基板106に配置され(図6)、また、装飾制御装置610Gは、第2演出部材80に含まれる第2発光基板116に配置されている(図7)。   The decoration control device 610E is connected to a decoration control device 610F that controls the first effect member 70 and a decoration control device 610G that controls the second effect member 80. The first effect member 70 and the second effect member 80 perform an effect operation in conjunction with each other. The decoration control device 610F is disposed on the first light emitting substrate 106 included in the first effect member 70 (FIG. 6), and the decoration control device 610G is disposed on the second light emitting substrate 116 included in the second effect member 80. (FIG. 7).

なお、第1発光基板106自体が装飾制御装置610Fとして機能し、第2発光基板116自体が装飾制御装置610Gとして機能していてもよい。   The first light emitting substrate 106 itself may function as the decoration control device 610F, and the second light emitting substrate 116 itself may function as the decoration control device 610G.

本発明の実施の形態では、装飾制御装置610Fは第1演出部材70に含まれるLEDなどを制御し、装飾制御装置610Gは第2演出部材80に含まれるLEDなどを制御する。なお、第1演出部材70及び第2演出部材80をそれぞれ表示部53aの前方に移動させるための駆動力を出力するための役物駆動第1MOT71及び役物駆動第2MOT81は、中継基板600によって制御される。   In the embodiment of the present invention, the decoration control device 610F controls the LEDs included in the first effect member 70, and the decoration control device 610G controls the LEDs included in the second effect member 80. Note that the accessory driving first MOT 71 and the accessory driving second MOT 81 for outputting the driving force for moving the first effect member 70 and the second effect member 80 to the front of the display unit 53a are controlled by the relay board 600. Is done.

演出制御装置550は、変動表示ゲーム実行時など、所定の条件を満たすと、第1演出ユニット63(第1演出部材70)及び第2演出ユニット64(第2演出部材80)を制御して演出動作を実行する。具体的には、第1演出ユニット63に含まれる役物駆動第1MOT71及び第2演出ユニット64に含まれる役物駆動第2MOT81を制御するために、中継基板600の個別アドレス(「0000」)を指定して、これらのモータを動作させるための制御信号を送信する。さらに、第1演出部材70に含まれるLEDなどの発光装置を制御する制御信号を、第1演出部材70を制御する装飾制御装置610Fの個別アドレス(「0110」)を指定して送信する。同様に、第2演出部材80に含まれるLEDなどの発光装置を制御する制御信号を、第2演出部材80を制御する装飾制御装置610Gの個別アドレス(「0111」)を指定して送信する。その後、ストップコンディションを発行する。   The effect control device 550 controls the first effect unit 63 (the first effect member 70) and the second effect unit 64 (the second effect member 80) when the predetermined condition is satisfied, such as when the variable display game is executed. Perform the action. Specifically, in order to control the accessory driving first MOT 71 included in the first effect unit 63 and the accessory driving second MOT 81 included in the second effect unit 64, the individual address (“0000”) of the relay board 600 is set. Designate and send control signals to operate these motors. Furthermore, a control signal for controlling a light emitting device such as an LED included in the first effect member 70 is transmitted by designating the individual address (“0110”) of the decoration control device 610F for controlling the first effect member 70. Similarly, a control signal for controlling a light emitting device such as an LED included in the second effect member 80 is transmitted by designating the individual address (“0111”) of the decoration control device 610G for controlling the second effect member 80. After that, issue a stop condition.

装飾制御装置610Hは、連結型の装飾制御装置610であり、さらに、連結型の装飾制御装置610I及び終端型の装飾制御装置610Jが接続される。終端型の装飾制御装置610Jは、装飾装置基板625Jに含まれる装飾装置620Jを制御する。   The decoration control device 610H is a connection type decoration control device 610, and is further connected to a connection type decoration control device 610I and a terminal type decoration control device 610J. The terminal-type decoration control device 610J controls the decoration device 620J included in the decoration device substrate 625J.

本発明の実施の形態では、装飾制御装置610H及び装飾制御装置610Iは、信頼度報知装置15に含まれる演出装置(LED)を制御する。所定の条件を満たした場合には、演出制御装置550の第1マスタIC570aから所定の態様を示すようにするための制御信号が送信され、指定された態様で演出を行う。   In the embodiment of the present invention, the decoration control device 610H and the decoration control device 610I control an effect device (LED) included in the reliability notification device 15. When the predetermined condition is satisfied, a control signal for indicating a predetermined mode is transmitted from the first master IC 570a of the production control device 550, and the production is performed in the designated mode.

図14は、本発明の実施の形態の前面枠3の構成を示す図である。   FIG. 14 is a diagram showing a configuration of the front frame 3 according to the embodiment of the present invention.

本発明の実施の形態の遊技機1には複数の仕様があり、通常版遊技機1と廉価版遊技機1とがある。通常版遊技機1は、標準仕様の装飾部材を備えている前面枠3(以下、通常版前面枠3とする)を備えている。廉価版遊技機1は、標準仕様の装飾部材よりも廉価なコストで構成された装飾部材を備えている前面枠3(以下、廉価版前面枠3’とする)を備えている。図14の上側には、通常版前面枠3の構成を示し、下側には、廉価版前面枠3’の構成を示しており、遊技機1では、何れか一方の仕様の前面枠3のみが取り付けられて演出制御装置550と接続されるので、第2マスタIC570bには、通常版前面枠3か廉価版前面枠3’の何れか一方のみが接続される。   The gaming machine 1 according to the embodiment of the present invention has a plurality of specifications, and there are a normal version gaming machine 1 and an inexpensive version gaming machine 1. The normal version gaming machine 1 includes a front frame 3 (hereinafter, referred to as a normal version front frame 3) having a standard decorative member. The low-priced gaming machine 1 includes a front frame 3 (hereinafter referred to as a low-priced front frame 3 ') that includes a decorative member configured at a lower cost than a standard decorative member. The upper side of FIG. 14 shows the configuration of the normal version front frame 3, and the lower side shows the configuration of the inexpensive version front frame 3 ′. In the gaming machine 1, only the front frame 3 of one of the specifications is shown. Is attached and connected to the production control device 550, so that only one of the normal plate front frame 3 and the inexpensive plate front frame 3 ′ is connected to the second master IC 570b.

通常版前面枠3と廉価版前面枠3’とは、装飾部材9a、9bに含まれる装飾装置620の数が相違し、さらに、装飾装置620を制御する装飾制御装置610の数も相違する。具体的には、通常版前面枠3の装飾部材9a、9bは7つの装飾制御装置610によって制御され、廉価版前面枠3’の装飾部材9a’、9b’は5つの装飾制御装置610によって制御される。装飾部材9a、9bは、装飾部材9a’、9b’よりも多くのLEDによって照射するので、通常版前面枠3のほうが廉価版前面枠3’よりも明るくなり、実行可能な演出のバリエーションを増やすことも可能である。このため、通常版前面枠3が取り付けられた場合の装飾装置620の制御と、廉価版前面枠3’が取り付けられた場合の装飾装置620の制御が相違する。   The normal plate front frame 3 and the inexpensive plate front frame 3 ′ are different in the number of decoration devices 620 included in the decoration members 9 a and 9 b, and also in the number of decoration control devices 610 that control the decoration device 620. Specifically, the decoration members 9a and 9b of the normal plate front frame 3 are controlled by seven decoration control devices 610, and the decoration members 9a 'and 9b' of the inexpensive plate front frame 3 'are controlled by five decoration control devices 610. Is done. Since the decorative members 9a and 9b irradiate with more LEDs than the decorative members 9a ′ and 9b ′, the normal plate front frame 3 becomes brighter than the inexpensive plate front frame 3 ′, which increases the variation of executable effects. It is also possible. Therefore, the control of the decoration device 620 when the normal plate front frame 3 is attached is different from the control of the decoration device 620 when the inexpensive plate front frame 3 ′ is attached.

このため、通常版前面枠3に取り付けられる装飾制御装置610の個別アドレスと廉価版前面枠3’に取り付けられる装飾制御装置610の個別アドレスに同じアドレスを割り当てた場合には、演出制御装置550から装飾制御装置610へ送信する演出制御データを、通常版前面枠3の場合と廉価版前面枠3’の場合とで異ならせる必要があるので、遊技機1に取り付けられる前面枠3に応じて通常版用の演出制御装置550と廉価版用の演出制御装置550をそれぞれ用意しなければならない。したがって、製造メーカーが遊技機1を出荷する場合には、通常版用の演出制御装置550と廉価版用の演出制御装置550とを用意しなければならず、製造コストが上昇してしまう。   For this reason, when the same address is assigned to the individual address of the decoration control device 610 attached to the normal plate front frame 3 and the individual address of the decoration control device 610 attached to the inexpensive plate front frame 3 ′, the effect control device 550 Since the production control data to be transmitted to the decoration control device 610 needs to be different between the case of the normal version front frame 3 and the case of the inexpensive version front frame 3 ′, it is usually determined according to the front frame 3 attached to the gaming machine 1. The production control device 550 for the plate and the production control device 550 for the low cost version must be prepared. Therefore, when the manufacturer ships the gaming machine 1, the production control device 550 for the normal version and the production control device 550 for the low-priced version must be prepared, resulting in an increase in manufacturing cost.

そこで、本発明の実施の形態では、通常版前面枠3と廉価版前面枠3’とで制御が異なる装飾制御装置610の個別アドレスには、異なるアドレスを割り当て、演出制御装置550から装飾制御装置610へ送信する演出制御データが、通常版前面枠3の場合と廉価版前面枠3’の場合とで共通となるように構成することで、一つの演出制御装置550で通常版用の制御と廉価版用の制御とを実行できるように構成した。こうすることによって、通常版用の演出制御装置550と廉価版用の演出制御装置550とをそれぞれ用意する必要がなくなり、製造コストを抑えることができる。なお、本発明の実施の形態では、遊技盤10の構成については、通常版であっても廉価版であっても同じ構成となっている。   Therefore, in the embodiment of the present invention, different addresses are assigned to the individual addresses of the decoration control device 610 whose control is different between the normal plate front frame 3 and the inexpensive plate front frame 3 ′, and the effect control device 550 to the decoration control device. The effect control data to be transmitted to 610 is configured to be common between the case of the normal version front frame 3 and the case of the inexpensive version front frame 3 ′, so that the control for the normal version can be performed by one effect control device 550. It is configured to be able to execute control for the low cost version. By doing so, it is not necessary to prepare the production control device 550 for the normal version and the production control device 550 for the low-priced version, and the manufacturing cost can be suppressed. In the embodiment of the present invention, the configuration of the game board 10 is the same regardless of whether it is a normal version or a low-priced version.

以下、通常版前面枠3及び廉価版前面枠3’の構成について具体的に説明する。   Hereinafter, the configurations of the normal plate front frame 3 and the inexpensive plate front frame 3 'will be described in detail.

通常版前面枠3には、第2マスタIC570bに接続される簡易中継基板1600を備える。簡易中継基板1600には、分岐型の装飾制御装置610K及び照明駆動モータ(13a、14a)が接続される。   The normal plate front frame 3 includes a simple relay board 1600 connected to the second master IC 570b. A branch type decoration control device 610K and illumination drive motors (13a, 14a) are connected to the simple relay board 1600.

装飾制御装置610Kは、照明ユニット11内に配置され、装飾装置基板625Kに備えられた装飾装置620を制御する。具体的には、照明ユニット11に含まれるLEDや異常報知LED29などが制御される。   The decoration control device 610K is arranged in the lighting unit 11 and controls the decoration device 620 provided on the decoration device substrate 625K. Specifically, the LED included in the illumination unit 11 and the abnormality notification LED 29 are controlled.

また、装飾制御装置610Kは、分岐型の装飾制御装置であり、装飾制御装置610L及び装飾制御装置610Pに受信した制御信号を送信する。装飾制御装置610L〜610Nは、通常版前面枠3の左側部分の装飾部材9aを制御する。また、装飾制御装置610P〜610Rは、通常版前面枠3の右側部分の装飾部材9bを制御する。   The decoration control device 610K is a branch type decoration control device, and transmits the received control signal to the decoration control device 610L and the decoration control device 610P. The decoration control devices 610 </ b> L to 610 </ b> N control the decoration member 9 a on the left side portion of the normal plate front frame 3. Further, the decoration control devices 610P to 610R control the decoration member 9b on the right side portion of the normal plate front frame 3.

通常版前面枠3の左側部分の装飾部材9aは、連結型の装飾制御装置610L、610M及び終端型の装飾制御装置610Nを含む。装飾制御装置610Lは、演出制御装置550の第2マスタIC570bから送信された制御信号を、装飾制御装置610Kから受信し、装飾制御装置610M及び610Nに送信する。   The decoration member 9a on the left side portion of the normal plate front frame 3 includes connection type decoration control devices 610L and 610M and a terminal type decoration control device 610N. The decoration control device 610L receives the control signal transmitted from the second master IC 570b of the effect control device 550 from the decoration control device 610K and transmits it to the decoration control devices 610M and 610N.

通常版前面枠3の右側部分の装飾部材9bは、前述のように、連結型の装飾制御装置610P、610Q及び終端型の装飾制御装置610Rを含む。装飾制御装置610Pは、演出制御装置550の第2マスタIC570bから送信された制御信号を、装飾制御装置610Kから受信し、装飾制御装置610Q及び610Rに送信する。   As described above, the decoration member 9b on the right side portion of the normal plate front frame 3 includes the connection type decoration control devices 610P and 610Q and the terminal type decoration control device 610R. The decoration control device 610P receives the control signal transmitted from the second master IC 570b of the effect control device 550 from the decoration control device 610K and transmits the control signal to the decoration control devices 610Q and 610R.

また、装飾部材9a及び装飾部材9bに含まれる装飾制御装置610L〜610Rにも、それぞれ異なる個別アドレスが割り当てられており、第2マスタIC570bから送信された制御信号に基づいて、それぞれ別々の演出動作を実行させることができる。具体的には、照明ユニット11に含まれる装飾制御装置610Kの個別アドレスには「0000」、装飾部材9aに含まれる装飾制御装置610L、610M及び610Nの個別アドレスには「0001」「0010」及び「0011」、装飾部材9bに含まれる装飾制御装置610P、610Q及び610Rの個別アドレスには「0100」「0101」及び「0110」が割り当てられている。   Also, different individual addresses are assigned to the decoration control devices 610L to 610R included in the decoration member 9a and the decoration member 9b, and different rendering operations are performed based on the control signals transmitted from the second master IC 570b. Can be executed. Specifically, “0000” is used for the individual address of the decoration control device 610K included in the lighting unit 11, and “0001” “0010” is used for the individual addresses of the decoration control devices 610L, 610M, and 610N included in the decoration member 9a. “001”, “0100”, “0101”, and “0110” are assigned to the individual addresses of the decoration control devices 610P, 610Q, and 610R included in the decoration member 9b.

一方、廉価版前面枠3’は、通常版前面枠3と同様に、第2マスタIC570bに接続される簡易中継基板1600と、ほぼ同様の機能を有する基板(以下、廉価版の簡易中継基板1600’とする)を備える。ただし、廉価版前面枠3’では、簡易中継基板1600’に分岐型の装飾制御装置610Sのみが接続されており、照明駆動モータ(13a、14a)を備えずにコストダウンが図られている。   On the other hand, the low-priced front frame 3 ′ is similar to the normal plate front frame 3 in that the simple relay board 1600 connected to the second master IC 570 b and a board having substantially the same function (hereinafter referred to as the low-priced simple relay board 1600). 'And). However, in the low-priced front frame 3 ′, only the branch type decoration control device 610 </ b> S is connected to the simple relay board 1600 ′, and the cost is reduced without the illumination drive motor (13 a, 14 a).

装飾制御装置610Sは、照明ユニット11内に配置されており、装飾装置基板625Sに備えられた装飾装置620を制御する。具体的には、照明ユニット11に含まれるLEDや異常報知LED29などが制御され、通常版前面枠3と同様である。また、装飾制御装置610Sは、通常版前面枠3の照明ユニット11を制御する装飾制御装置610Kと同一の基板であり、同じ個別アドレス(「0000」)が割り当てられている。そのため、通常版前面枠3の装飾制御装置610Kと、廉価版前面枠3’の装飾制御装置610Sでは、同じ制御が実行される。   The decoration control device 610S is disposed in the lighting unit 11, and controls the decoration device 620 provided on the decoration device substrate 625S. Specifically, the LED included in the illumination unit 11, the abnormality notification LED 29, and the like are controlled and are the same as those of the normal plate front frame 3. The decoration control device 610S is the same substrate as the decoration control device 610K that controls the illumination unit 11 of the normal plate front frame 3, and is assigned the same individual address (“0000”). Therefore, the same control is executed in the decoration control device 610K of the normal plate front frame 3 and the decoration control device 610S of the inexpensive plate front frame 3 '.

また、装飾制御装置610Sは、分岐型の装飾制御装置であり、装飾制御装置610T及び装飾制御装置610Vに受信した制御信号を送信する。装飾制御装置610T及び610Uは、通常版前面枠3の左側部分の装飾部材9a’を制御する。また、装飾制御装置610V及び610Wは、通常版前面枠3の右側部分の装飾部材9b’を制御する。   The decoration control device 610S is a branch type decoration control device, and transmits the received control signal to the decoration control device 610T and the decoration control device 610V. The decoration control devices 610T and 610U control the decoration member 9a 'on the left side portion of the normal plate front frame 3. Further, the decoration control devices 610V and 610W control the decoration member 9b 'on the right side portion of the normal plate front frame 3.

また、廉価版前面枠3’では、左側の装飾部材9a’を制御する装飾制御装置610T及び610U、及び右側の装飾部材9b’を制御する装飾制御装置610V及び610Wが取り付けられている。装飾制御装置610Tは、通常版前面枠3の装飾制御装置610Lと同一の基板であり、同じ個別アドレス(「0001」)が割り当てられている。同様に、装飾制御装置610Vは、通常版前面枠3の装飾制御装置610Pと同一の基板であり、同じ個別アドレス(「0001」)が割り当てられている。そのため、通常版前面枠3の装飾制御装置610Lと、廉価版前面枠3’の装飾制御装置610Tでは、同じ制御が実行され、通常版前面枠3の装飾制御装置610Pと、廉価版前面枠3’の装飾制御装置610Vでは、同じ制御が実行される。   Further, in the inexpensive plate front frame 3 ', decoration control devices 610T and 610U for controlling the left decoration member 9a' and decoration control devices 610V and 610W for controlling the right decoration member 9b 'are attached. The decoration control device 610T is the same substrate as the decoration control device 610L of the normal plate front frame 3, and is assigned the same individual address (“0001”). Similarly, the decoration control device 610V is the same substrate as the decoration control device 610P of the normal plate front frame 3, and is assigned the same individual address (“0001”). Therefore, the same control is executed in the decoration control device 610L of the normal plate front frame 3 and the decoration control device 610T of the inexpensive plate front frame 3 ′, and the decoration control device 610P of the normal plate front frame 3 and the inexpensive plate front frame 3 are controlled. In the 'decoration control device 610V, the same control is executed.

装飾制御装置610U及び610Wには、同じ個別アドレス(「0111」)が割り当てられている。したがって、廉価版前面枠3’では、左右の装飾部材で装飾制御装置610U及び610Wで同じ制御が実行され、すなわち、制御対象のLEDによる照射が同じタイミングで実行される。また、装飾制御装置610U及び610Wには、通常版前面枠3の装飾制御装置610に割り当てられていない個別アドレスが割り当てられている。   The same individual address (“0111”) is assigned to the decoration control devices 610U and 610W. Therefore, in the low-price front frame 3 ′, the same control is executed by the decoration control devices 610 </ b> U and 610 </ b> W with the left and right decoration members, that is, the irradiation with the LED to be controlled is executed at the same timing. In addition, the decoration control devices 610U and 610W are assigned individual addresses that are not assigned to the decoration control device 610 of the normal front frame 3.

そして、通常版前面枠3と廉価版前面枠3’の何れに使用される場合であっても、演出制御装置550からは、装飾部材9a、9b、9a’、9b’に含まれる装飾制御装置610のI2CI/Oエクスパンダ615に割り当てられたすべての個別アドレスに対して演出制御データが送信される。 The decoration control device included in the decoration members 9a, 9b, 9a ′, and 9b ′ is used from the effect control device 550 regardless of whether the normal version front frame 3 or the inexpensive plate front frame 3 ′ is used. Production control data is transmitted to all individual addresses assigned to the I 2 CI / O expander 615 of 610.

以上のように、廉価版前面枠3’には、備えられている装飾制御装置のうち、装飾制御装置610M、610N、610Q及び610R(第1の仕様依存型グループ単位制御手段)に相当するものが存在せず、代わりに、装飾制御装置610U及び610W(第2の仕様依存型グループ単位制御手段)が取り付けられている。通常版前面枠3には、装飾制御装置610M、610N、610Q及び610R(第1の仕様依存型グループ単位制御手段)が取り付けられているのに対し、廉価版前面枠3’には、より少ない数の装飾制御装置610U及び610W(第2の仕様依存型グループ単位制御手段)が取り付けられている。   As described above, the low price front frame 3 'corresponds to the decoration control devices 610M, 610N, 610Q and 610R (first specification-dependent group unit control means) among the decoration control devices provided. Instead, decoration control devices 610U and 610W (second specification-dependent group unit control means) are attached. The normal plate front frame 3 is equipped with decoration control devices 610M, 610N, 610Q and 610R (first specification-dependent group unit control means), whereas the inexpensive plate front frame 3 ′ has fewer. A number of decoration control devices 610U and 610W (second specification-dependent group unit control means) are attached.

また、装飾制御装置610Kと装飾制御装置610S、装飾制御装置610Lと装飾制御装置610T、装飾制御装置610Vと装飾制御装置610Pは、互いに、通常版前面枠3と廉価版前面枠3’とに共通利用可能な基板として構成されている。   The decoration control device 610K and the decoration control device 610S, the decoration control device 610L and the decoration control device 610T, and the decoration control device 610V and the decoration control device 610P are common to the normal plate front frame 3 and the inexpensive plate front frame 3 ′. It is configured as a usable substrate.

したがって、本発明の実施の形態の演出制御装置550は、通常版用の制御と廉価版用の制御とを共通化することが可能となり、前面枠ごとに制御を変更する必要が無く、演出制御装置550の製造コストを削減することができる。   Therefore, the production control device 550 according to the embodiment of the present invention can share the control for the normal version and the control for the low cost version, and there is no need to change the control for each front frame. The manufacturing cost of the device 550 can be reduced.

なお、以降の説明では、特に断らない限り、本発明の実施の形態の遊技機1では通常版前面枠が取り付けられているものとする。   In the following description, unless otherwise specified, it is assumed that the normal version front frame is attached to the gaming machine 1 according to the embodiment of the present invention.

なお、廉価版前面枠3’では、個別アドレスが「0010」、「0011」、「0101」及び「0110」となるI2CI/Oエクスパンダ615は使用されず、通常版前面枠3では、個別アドレスが「0111」となるI2CI/Oエクスパンダ615は使用されない。そのため、いずれの前面枠3であっても、異常判定テーブル3300(図33参照)において、接続されないI2CI/Oエクスパンダ615が存在することになる。しかしながら、後述するように、異常判定テーブル3300に登録されている少なくとも1つのI2CI/Oエクスパンダ615と、第2マスタIC570bとの間で正常にデータ送信が行われていれば、正常に動作していると判定されるため、これが原因で処理が中断することはない。 In the low price front frame 3 ′, the I 2 CI / O expander 615 with individual addresses “0010”, “0011”, “0101” and “0110” is not used. The I 2 CI / O expander 615 whose individual address is “0111” is not used. Therefore, in any front frame 3, there is an unconnected I 2 CI / O expander 615 in the abnormality determination table 3300 (see FIG. 33). However, as will be described later, if data is normally transmitted between at least one I 2 CI / O expander 615 registered in the abnormality determination table 3300 and the second master IC 570b, Since it is determined to be operating, the process is not interrupted due to this.

図15は、本発明の実施の形態の演出制御装置550と遊技盤10に含まれる中継基板600及び装飾制御装置610の接続状態を説明する図である。   FIG. 15 is a diagram illustrating a connection state between the effect control device 550 and the relay board 600 and the decoration control device 610 included in the game board 10 according to the embodiment of this invention.

図15では、演出制御装置550、中継基板600、装飾制御装置610A、610B及び610Cの接続について説明する。また、説明の都合上、装飾制御装置610として、1個の中継基板600と、装飾制御装置610Cよりも下流に接続されている各装飾制御装置(610D〜610J)については記載を省略する。なお、各装飾制御装置610間の接続はそれぞれ同じである。   In FIG. 15, connection of the effect control device 550, the relay board 600, and the decoration control devices 610A, 610B, and 610C will be described. For convenience of explanation, description of the decoration control device 610 is omitted for one relay board 600 and each decoration control device (610D to 610J) connected downstream from the decoration control device 610C. The connection between the decoration control devices 610 is the same.

演出制御装置550は、接続線Vcc、接続線Vled、接続線SDA、接続線SCL、接続線GND、接続線M11〜M14、接続線M21〜M24、接続線M31〜M34、接続線SL1、接続線SL2、接続線SE1〜3、接続線Vms、及び接続線Vseによって中継基板600と接続される。   The production control device 550 includes a connection line Vcc, a connection line Vled, a connection line SDA, a connection line SCL, a connection line GND, connection lines M11 to M14, connection lines M21 to M24, connection lines M31 to M34, a connection line SL1, and a connection line. The relay board 600 is connected by SL2, the connection lines SE1 to 3, the connection line Vms, and the connection line Vse.

接続線Vcc、接続線Vled、接続線SDA、接続線SCL、接続線GND、接続線Vms、及び接続線Vseについては、図11にて説明した通りである。   The connection line Vcc, the connection line Vled, the connection line SDA, the connection line SCL, the connection line GND, the connection line Vms, and the connection line Vse are as described in FIG.

接続線M11〜M14は、第1演出ユニット63に含まれる役物駆動第1MOT71の第1〜4相を制御するための信号が送信される。接続線M21〜M24は、第2演出ユニット64に含まれる役物駆動第2MOT81の第1〜4相を制御するための信号が送信される。役物駆動第1MOT71、役物駆動第2MOT81は4相駆動のステッピングモータを用いている。   Signals for controlling the first to fourth phases of the accessory driving first MOT 71 included in the first effect unit 63 are transmitted to the connection lines M11 to M14. Signals for controlling the first to fourth phases of the accessory driving second MOT 81 included in the second effect unit 64 are transmitted to the connection lines M21 to M24. The accessory driving first MOT 71 and the accessory driving second MOT 81 use a four-phase driving stepping motor.

接続線M31〜M34は、モータを制御するための接続線であるが、本発明の実施の形態では、中継基板600に対応するモータが接続されないため、接続状態を表示する空き端子モニタ603が接続される。空き端子モニタ603は、接続線M31〜M34に対応した、4個のLEDによって構成されており、各接続線が断線しているか否かを確認することができる。したがって、一部又は全部の接続線が断線している場合には、空き端子モニタ603の一部が点灯しないことになるので、ケーブルの品質を悪いと判断することができる。   The connection lines M31 to M34 are connection lines for controlling the motor. However, in the embodiment of the present invention, since the motor corresponding to the relay board 600 is not connected, the empty terminal monitor 603 for displaying the connection state is connected. Is done. The vacant terminal monitor 603 includes four LEDs corresponding to the connection lines M31 to M34, and can check whether or not each connection line is disconnected. Therefore, when some or all of the connection lines are disconnected, a part of the vacant terminal monitor 603 is not lit, so that it can be determined that the quality of the cable is bad.

特に、本発明の実施の形態の遊技機1のように、第1マスタIC570aと中継基板600とを接続するケーブル91には、電源を供給するための接続線GND、接続線Vcc、接続線Vled、接続線Vms、及び接続線Vseが含まれている(図11若しくは図15参照)。これらの電力を供給する線は、安定した動作を実現するために、充分な電流量が確保できる断面積の大きい(太い)ケーブルが本来であれば用いられる。   In particular, as in the gaming machine 1 according to the embodiment of the present invention, the cable 91 that connects the first master IC 570a and the relay board 600 includes a connection line GND for supplying power, a connection line Vcc, and a connection line Vled. , Connection line Vms, and connection line Vse (see FIG. 11 or FIG. 15). These wires for supplying electric power are originally used as cables having a large (thick) cross-sectional area that can secure a sufficient amount of current in order to realize a stable operation.

しかしながら、ケーブル91の様なフラット形状のケーブルを用いる場合には、コネクタを接続する関係から、各ケーブルの断面積の大きさを同一(共通化)する必要がある。そこで、断面積の大きいケーブルを代わりに、複数の接続線を用いて電源供給を行うことが考えられ、例えば、接続線GNDとして6本のケーブルを使用し、接続線Vmsとして3本のケーブルを使用するといった構成を実現することができる。   However, when a flat cable such as the cable 91 is used, the cross-sectional area of each cable needs to be the same (common) because of the connection of the connectors. Therefore, it is conceivable to supply power using a plurality of connection lines instead of cables having a large cross-sectional area. For example, six cables are used as the connection lines GND and three cables are used as the connection lines Vms. A configuration such as use can be realized.

このとき、電力を供給する接続線の一部が断線していても、すべての接続線が断線していなければ、見た目上は問題なく動作していることになるので、LEDを点灯させたり、モータを駆動させたりすることが可能であるが、充分な電流量が確保できていない状態であるため、ケーブル上で異常な発熱が発生したりする恐れがある。このような場合に、空き端子モニタ603に電力を供給する線を接続することによって、一見正常に動作していても、一部の接続線が断線しているような品質の劣るケーブルを発見することができ、障害が発生する前に交換したり必要なメンテナンスを行ったりすることが可能となる。   At this time, even if a part of the connection line for supplying power is disconnected, if all the connection lines are not disconnected, it will operate without any problem, so that the LED is turned on, Although it is possible to drive the motor, since a sufficient amount of current cannot be secured, abnormal heat generation may occur on the cable. In such a case, by connecting a power supply line to the vacant terminal monitor 603, a cable with inferior quality such that some of the connection lines are disconnected even though it seems to be operating normally at first glance is discovered. It is possible to perform replacement or perform necessary maintenance before a failure occurs.

また、中継基板600は、役物駆動モータ(役物駆動第1MOT71、役物駆動第2MOT81)を駆動するために、接続線Vmsから供給された電力を各モータに供給する。なお、装飾ピース46を上下動させるための役物駆動ソレノイドに供給される電力についても接続線Vmsから供給される。   In addition, the relay board 600 supplies the electric power supplied from the connection line Vms to each motor in order to drive the accessory driving motor (the accessory driving first MOT 71, the accessory driving second MOT 81). The electric power supplied to the accessory driving solenoid for moving the decoration piece 46 up and down is also supplied from the connection line Vms.

また、中継基板600には、役物駆動モータの回転位置を検出するためのモータ位置検出センサ560aが接続される。接続線SE1〜3は、モータ位置検出センサ560による検出結果を受信するための接続線であり、中継基板600は、モータ位置検出センサ560aによって検出された役物駆動モータの回転位置を、接続線SE1〜3を介して演出制御装置550に送信する。   The relay board 600 is connected to a motor position detection sensor 560a for detecting the rotational position of the accessory driving motor. Connection lines SE1 to SE3 are connection lines for receiving the detection result by the motor position detection sensor 560, and the relay board 600 indicates the rotation position of the accessory driving motor detected by the motor position detection sensor 560a. It transmits to production control device 550 via SE1-3.

接続線SL1及び接続線SL2は、役物駆動ソレノイドを制御するための接続線である。接続線SL1及び接続線SL2も、役物駆動ソレノイドを使用しないときは、前述の接続線M31〜M34と同様に、接続状態を表示する空き端子モニタ603が接続される。   The connection line SL1 and the connection line SL2 are connection lines for controlling the accessory driving solenoid. When the accessory driving solenoid is not used, the connection line SL1 and the connection line SL2 are also connected to the vacant terminal monitor 603 for displaying the connection state, similarly to the connection lines M31 to M34 described above.

中継基板600を含む装飾制御装置610は、接続線Vcc、接続線Vled、接続線SDA、接続線SCL、及び接続線GND(以下、この5種類の接続線を束ねたものを一つのハーネスという)を介して互いに接続される。   The decoration control device 610 including the relay board 600 includes a connection line Vcc, a connection line Vled, a connection line SDA, a connection line SCL, and a connection line GND (hereinafter, a bundle of these five types of connection lines is referred to as one harness). Are connected to each other.

また、装飾制御装置610Aにはハーネスを介して装飾制御装置610B及び装飾制御装置610Cが接続され、装飾制御装置610Cにはハーネスを介して図示しない装飾制御装置610Dが接続される。   In addition, a decoration control device 610B and a decoration control device 610C are connected to the decoration control device 610A via a harness, and a decoration control device 610D (not shown) is connected to the decoration control device 610C via a harness.

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

図16は、本発明の実施の形態の演出制御装置550と、通常版前面枠3に含まれる簡易中継基板1600及び装飾制御装置610の接続状態を説明する図である。   FIG. 16 is a diagram for explaining a connection state between the effect control device 550 according to the embodiment of the present invention, the simple relay board 1600 and the decoration control device 610 included in the normal plate front frame 3.

図16では、演出制御装置550、簡易中継基板1600、装飾制御装置610K、610L及び610Pの接続について説明する。また、説明の都合上、装飾制御装置610として、装飾制御装置610L及び装飾制御装置610Pよりも下流に接続されている各装飾制御装置については記載を省略する。   In FIG. 16, connection of the effect control device 550, the simple relay board 1600, and the decoration control devices 610K, 610L, and 610P will be described. For convenience of explanation, the description of the decoration control devices 610L and the decoration control devices connected downstream of the decoration control device 610P will be omitted.

演出制御装置550は、接続線Vcc、接続線Vled、接続線SDA、接続線SCL、接続線GND、接続線M11〜M14、接続線M21〜M24、接続線M31〜M34、接続線SL1、接続線SL2、接続線SE1〜3、接続線Vms、及び接続線Vseに加え、演出ボタン17からのボタン信号を受信する接続線及び音信号をスピーカ30に送信する接続線によって簡易中継基板1600と接続される。   The production control device 550 includes a connection line Vcc, a connection line Vled, a connection line SDA, a connection line SCL, a connection line GND, connection lines M11 to M14, connection lines M21 to M24, connection lines M31 to M34, a connection line SL1, and a connection line. In addition to the SL2, the connection lines SE1 to 3, the connection line Vms, and the connection line Vse, the connection line that receives the button signal from the effect button 17 and the connection line that transmits the sound signal to the speaker 30 are connected to the simple relay board 1600. The

接続線Vcc、接続線Vled、接続線SDA、接続線SCL、接続線GND、接続線Vms、及び接続線Vseについては、図15にて説明したように、演出制御装置550と遊技盤10とを接続する場合と同様に、下流側に配置されている各装飾制御装置610に各種信号を送受信する。   For the connection line Vcc, the connection line Vled, the connection line SDA, the connection line SCL, the connection line GND, the connection line Vms, and the connection line Vse, as described with reference to FIG. 15, the effect control device 550 and the game board 10 are connected. Similar to the case of connection, various signals are transmitted to and received from each decoration control device 610 arranged on the downstream side.

接続線M11〜M14は、照明ユニット11に含まれる第1可動式照明13の照明駆動第1MOT13aを制御するための信号が送信される。接続線M21〜M24は、照明ユニット11に含まれる第2可動式照明14の照明駆動第2MOT14aを制御するための信号が送信される。   Signals for controlling the illumination driving first MOT 13a of the first movable illumination 13 included in the illumination unit 11 are transmitted to the connection lines M11 to M14. Signals for controlling the illumination drive second MOT 14a of the second movable illumination 14 included in the illumination unit 11 are transmitted to the connection lines M21 to M24.

接続線M31〜M34は、モータを制御するための接続線であるが、本発明の実施の形態では、対応するモータが簡易中継基板1600に接続されないため、中継基板600と同様に、接続状態を表示する空き端子モニタ603が接続される。   The connection lines M31 to M34 are connection lines for controlling the motor. However, in the embodiment of the present invention, the corresponding motor is not connected to the simple relay board 1600. An empty terminal monitor 603 to be displayed is connected.

さらに、照明駆動モータ(照明駆動第1MOT13a、照明駆動第2MOT14a)を駆動するために、接続線Vmsから供給された電力を各モータに供給する。   Further, in order to drive the illumination drive motor (the illumination drive first MOT 13a and the illumination drive second MOT 14a), the electric power supplied from the connection line Vms is supplied to each motor.

また、簡易中継基板1600には、照明駆動モータの回転位置を検出するためのモータ位置検出センサ560bが接続される。簡易中継基板1600は、モータ位置検出センサ560bによって検出された照明駆動モータの回転位置を、接続線SE1〜3を介して演出制御装置550に送信する。   The simple relay board 1600 is connected to a motor position detection sensor 560b for detecting the rotation position of the illumination drive motor. The simple relay board 1600 transmits the rotation position of the illumination drive motor detected by the motor position detection sensor 560b to the effect control device 550 via the connection lines SE1 to SE3.

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

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

なお、本発明の実施の形態では装飾制御装置610によって制御される演出装置は主としてLED等の発光装置であるため、LEDの発光態様が演出装置の出力態様に相当する。この場合、演出制御データによって、LEDの点灯/点滅/消灯が指示され、さらに、LEDの点滅周期や点灯輝度も指示される。   In the embodiment of the present invention, the rendering device controlled by the decoration control device 610 is mainly a light emitting device such as an LED, and the light emission mode of the LED corresponds to the output mode of the rendering device. In this case, lighting / flashing / extinguishing of the LED is instructed by the effect control data, and further, the flashing cycle and the lighting brightness of the LED are instructed.

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

以上のように、マスタICは、当該マスタICに接続されるすべての装飾制御装置610に演出制御データを送信し、当該演出制御データに含まれる個別アドレスに対応する装飾制御装置610において、要求した出力態様となるように演出装置を制御することができる。   As described above, the master IC transmits the effect control data to all the decoration control devices 610 connected to the master IC, and requested in the decoration control device 610 corresponding to the individual address included in the effect control data. The rendering device can be controlled so as to be in the output mode.

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

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

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

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

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

図15及び図16では、中継基板600以外の装飾制御装置610の制御対象は、LEDなどの発光装置である装飾装置620となっているが、モータやソレノイドなどの可動物を制御することも可能である。この場合には、演出装置がモータやソレノイドなどの駆動源となることから、これらの駆動源の動作態様が演出装置の出力態様に相当する。演出制御データには、駆動源の作動/停止指示が含まれ、さらに動作速度を指定することも可能である。   15 and 16, the control target of the decoration control device 610 other than the relay board 600 is a decoration device 620 that is a light emitting device such as an LED, but it is also possible to control a movable object such as a motor or a solenoid. It is. In this case, since the effect device serves as a drive source such as a motor or a solenoid, the operation mode of these drive sources corresponds to the output mode of the effect device. The effect control data includes an operation / stop instruction for the drive source, and it is also possible to specify the operation speed.

なお、遊技機1の構成として、通常版前面枠3の代わりに廉価版前面枠3’を設けた場合でも、廉価版前面枠3’に含まれる各種基板の接続状態は、図16とほぼ同等の構成となる。   Note that, even if the gaming machine 1 is provided with a low-priced front frame 3 ′ instead of the normal-price front frame 3, the connection state of various substrates included in the low-priced front frame 3 ′ is almost the same as FIG. It becomes the composition of.

ただし、廉価版前面枠3’には、照明駆動モータ(照明駆動第1MOT13a、照明駆動第2MOT14a)が設けられていないため、廉価版の簡易中継基板1600’には、照明駆動モータが接続されるコネクタが存在せず、接続線M11〜M14、及び接続線M21〜M24も使用されない。そのため、廉価版の簡易中継基板1600’では、接続線M11〜M14、及び接続線M21〜M24にも、空き端子モニタ603が接続される。   However, since the illumination drive motors (illumination drive first MOT 13a, illumination drive second MOT 14a) are not provided on the inexpensive plate front frame 3 ′, the illumination drive motor is connected to the inexpensive relay board 1600 ′. There is no connector, and the connection lines M11 to M14 and the connection lines M21 to M24 are not used. Therefore, in the low-price simple relay board 1600 ', the empty terminal monitor 603 is also connected to the connection lines M11 to M14 and the connection lines M21 to M24.

また、廉価版前面枠3’には、モータ位置検出センサ560bが設けられていないため、廉価版の簡易中継基板1600’では、接続線SE1〜3をグランドに接続して、一定のレベルの信号が、常時、演出制御装置550に入力されるように構成している。   Further, since the low-price front frame 3 'is not provided with the motor position detection sensor 560b, in the low-price simple relay board 1600', the connection lines SE1 to 3 are connected to the ground so that a signal of a certain level is obtained. However, it is configured such that it is always input to the production control device 550.

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

本発明の実施の形態の装飾制御装置610は、前述のように、接続形態に基づいて、分岐型、連結型、及び終端型の3種類に分類される。図17には、分岐型の装飾制御装置610Xに終端型の装飾制御装置610Yが接続されている例を示している。さらに、装飾制御装置610Yには、装飾装置基板625が接続されている。   As described above, the decoration control device 610 according to the embodiment of the present invention is classified into three types, that is, a branch type, a connection type, and a termination type, based on the connection form. FIG. 17 shows an example in which a terminal type decoration control device 610Y is connected to a branch type decoration control device 610X. Further, a decoration device substrate 625 is connected to the decoration control device 610Y.

分岐型の装飾制御装置とは、I2CI/Oエクスパンダ615と、I2CI/Oエクスパンダ615が受信する信号を受け入れるためのコネクタ(上流コネクタ)と、上流コネクタから受け入れた信号を、複数の装飾制御装置610に伝達するコネクタ(下流コネクタ)を備えたものである。例えば、図中の装飾制御装置610Xのように、内部にI2CI/Oエクスパンダ615及びLED(装飾装置620)を備え、さらに、一つの上流コネクタ611と二つの下流コネクタ612A、612Bを備える。 The branch type decoration control apparatus includes an I 2 CI / O expander 615, a connector (upstream connector) for receiving a signal received by the I 2 CI / O expander 615, and a signal received from the upstream connector. A connector (downstream connector) for transmitting to a plurality of decoration control devices 610 is provided. For example, like the decoration control device 610X in the figure, an I 2 CI / O expander 615 and an LED (decoration device 620) are provided inside, and further, one upstream connector 611 and two downstream connectors 612A and 612B are provided. .

接続線SDA及び接続線SCLは、装飾制御装置610内で二つに分岐し、一方は、そのまま次の装飾制御装置610Yに出力するための下流コネクタ612Bに接続される。他方は、さらに分岐し、一方はI2CI/Oエクスパンダ615に接続され、他方は別の下流コネクタ612Aに接続される。 The connection line SDA and the connection line SCL are branched into two in the decoration control device 610, and one is connected to the downstream connector 612B for output to the next decoration control device 610Y as it is. The other further branches, one connected to the I 2 CI / O expander 615 and the other connected to another downstream connector 612A.

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

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

なお、下流コネクタが1個しか備えないために、上流コネクタから受け入れた信号が、1つの装飾制御装置610にのみ伝達可能となっている装飾制御装置は、連結型の装飾制御装置となる。例えば、前述した装飾制御装置610Xにて、下流コネクタ612Bのみが備えられ、下流コネクタ612Aが存在しないようなものが該当する。   Since only one downstream connector is provided, a decoration control device that can transmit a signal received from the upstream connector to only one decoration control device 610 is a connected decoration control device. For example, the decoration control device 610X described above includes only the downstream connector 612B and does not include the downstream connector 612A.

また、終端型の装飾制御装置とは、I2CI/Oエクスパンダ615と、I2CI/Oエクスパンダ615が受信する信号を受け入れるためのコネクタ(上流コネクタ)を有するが、上流コネクタから受け入れた信号を、他の装飾制御装置610に伝達しないものである。例えば、図中の装飾制御装置610Yは、I2CI/Oエクスパンダ615及びLED(装飾装置620)を備え、装飾制御装置610Yの外部に接続される装飾装置基板625に備わるLEDに電流を流すための接続線、装飾装置基板625のLEDに電源電圧を供給する接続線、及び、グランドに接地する接続線を介して、装飾制御装置610と装飾装置基板625とが接続される。 The terminal-type decoration control device has an I 2 CI / O expander 615 and a connector (upstream connector) for receiving a signal received by the I 2 CI / O expander 615. This signal is not transmitted to the other decoration control device 610. For example, the decoration control device 610Y in the figure includes an I 2 CI / O expander 615 and an LED (decoration device 620), and allows a current to flow through the LED provided on the decoration device substrate 625 connected to the outside of the decoration control device 610Y. The decoration control device 610 and the decoration device substrate 625 are connected to each other through a connection line for supplying power to the LEDs of the decoration device substrate 625 and a connection wire grounded to the ground.

装飾装置基板625は、I2CI/Oエクスパンダ615を備えておらず、LEDなどの発光装置のみを備えた基板である。この場合、装飾装置基板625に備えたLEDに接続される電流制限抵抗を、装飾装置基板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 includes only a light emitting device such as an LED. In this case, the current limiting resistor connected to the LED provided on the decoration device board 625 is provided on the decoration device board 625, but is provided on the decoration control device 610 provided with the I 2 CI / O expander 615. Also good.

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

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

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

なお、装飾制御装置610は、前述したように、LEDなどの発光装置の代わりに、ソレノイドやモータなどの可動物を制御することが可能であり、具体的には、図20にて後述する。   As described above, the decoration control device 610 can control a movable object such as a solenoid or a motor instead of a light emitting device such as an LED, and will be described in detail later with reference to FIG.

図18は、本発明の実施の形態のI2CI/Oエクスパンダ615の構成を示すブロック図である。 FIG. 18 is a block diagram showing a configuration of the I 2 CI / O expander 615 according to the embodiment of this invention.

2CI/Oエクスパンダ615は、接続線SDAに接続されるトランジスタ630、接続線SDAに接続されるフィルタ631、接続線SDAに接続されるドライバ632、接続線SCLに接続されるフィルタ633、バスコントローラ634、出力設定レジスタ635、出力コントローラ636、I2CI/Oエクスパンダ615の出力側の各ポート0〜15に接続されるドライバ637、各ポート0〜15に接続されるトランジスタ638A〜638P、及びリセット信号発生回路639を備える。さらに、本発明の実施の形態では、他のI2CI/Oエクスパンダ615によって接続線SDAが占有されているか否かを判断するためのバス監視WDT(ウォッチドックタイマ)640、及びI2CI/Oエクスパンダ615自身が接続線SDAを占有しているか否かを判断するための自己占有WDT641を備えている。 The I 2 CI / O expander 615 includes a transistor 630 connected to the connection line SDA, a filter 631 connected to the connection line SDA, a driver 632 connected to the connection line SDA, a filter 633 connected to the connection line SCL, Bus controller 634, output setting register 635, output controller 636, driver 637 connected to ports 0-15 on the output side of I 2 CI / O expander 615, transistors 638A-638P connected to ports 0-15 , And a reset signal generation circuit 639. Furthermore, in the embodiment of the present invention, a bus monitoring WDT (watch dock timer) 640 for determining whether or not the connection line SDA is occupied by another I 2 CI / O expander 615, and I 2 CI The / O expander 615 itself has a self-occupied WDT 641 for determining whether or not the connection line SDA is occupied.

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

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

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

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

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

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

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

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

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

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

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

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

すなわち、第1マスタIC570aから受信した演出制御データに基づいて、出力設定レジスタ635に設定し、ストップコンディションを受信した時点で、各ポート0〜15の出力状態を更新して演出装置に反映させる。したがって、シフトレジスタのように、LAT信号を受信する必要もなく、すなわち、LAT信号を受信するための配線を必要とすることなく、演出制御を行うことができる。特に、ポート出力状態を、複数のI2CI/Oエクスパンダ615で同時に更新する必要がある場合に有効であり、異なるI2CI/Oエクスパンダ615に制御される演出装置であっても、同時に演出動作を実行するように制御できるため、より演出効果を高めることが可能となる。 That is, based on the effect control data received from the first master IC 570a, it is set in the output setting register 635, and when the stop condition is received, the output state of each port 0-15 is updated and reflected in the effect device. Therefore, it is not necessary to receive the LAT signal as in the shift register, that is, the production control can be performed without the need for wiring for receiving the LAT signal. In particular, it is effective when the port output state needs to be updated by a plurality of I 2 CI / O expanders 615 at the same time, and even if the rendering device is controlled by different I 2 CI / O expanders 615, Since it can be controlled to execute the production operation at the same time, the production effect can be further enhanced.

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

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

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

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

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

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

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

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

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

バス監視WDT640は、他のI2CI/Oエクスパンダ615が接続線SDAを占有していることを検出するために用いられる。バス監視WDT640は、フィルタ631とバスコントローラ634との間に接続され、接続線SDAの信号レベルを取り込んで、連続してLOWレベルとなっている時間を計測する。さらに、バス監視WDT640は、リセット信号発生回路639に接続されており、接続線SDAが占有されてから所定の時間が経過すると、自身のリセット信号発生回路639を作動させて、当該I2CI/Oエクスパンダ615を初期化する。 The bus monitoring WDT 640 is used to detect that another I 2 CI / O expander 615 occupies the connection line SDA. The bus monitoring WDT 640 is connected between the filter 631 and the bus controller 634, takes in the signal level of the connection line SDA, and measures the time during which the signal is continuously at the LOW level. Further, the bus monitoring WDT 640 is connected to the reset signal generation circuit 639. When a predetermined time has elapsed after the connection line SDA is occupied, the bus monitoring WDT 640 operates its own reset signal generation circuit 639, and the I 2 CI / The O expander 615 is initialized.

なお、接続線SDAは、他のI2CI/Oエクスパンダ615にも接続されているので、接続線SDAが接続された全てのI2CI/Oエクスパンダ615において、接続線SDAの占有状態が検出されることになる。そして、これらのI2CI/Oエクスパンダ615の内部に備えられたリセット信号発生回路639が作動することにより、接続線SDAが接続されているすべてのI2CI/Oエクスパンダ615が初期化される。 Since the connection line SDA is also connected to other I 2 CI / O expanders 615, in all the I 2 CI / O expanders 615 to which the connection line SDA is connected, the connection line SDA is occupied. Will be detected. Then, the reset signal generation circuit 639 provided in the I 2 CI / O expander 615 operates, so that all the I 2 CI / O expanders 615 to which the connection line SDA is connected are initialized. Is done.

自己占有WDT641は、自身(I2CI/Oエクスパンダ615)による接続線SDAの占有を検出するために使用される。バスコントローラ634は、ドライバ632を作動して接続線SDAをロウレベルに駆動させている間は、自己占有WDT641を作動させ、接続線SDAをロウレベルに駆動させていない間は、自己占有WDT641を停止させる。そして、自己占有WDT641が一定時間連続して作動すると、自己占有WDT641は、リセット信号発生回路639にリセット信号を発生させて当該I2CI/Oエクスパンダ615を初期化する。 The self-occupied WDT 641 is used to detect the occupation of the connection line SDA by itself (I 2 CI / O expander 615). The bus controller 634 operates the self-occupied WDT 641 while operating the driver 632 to drive the connection line SDA to the low level, and stops the self-occupied WDT 641 while not driving the connection line SDA to the low level. . When the self-occupied WDT 641 operates continuously for a predetermined time, the self-occupied WDT 641 generates a reset signal in the reset signal generation circuit 639 to initialize the I 2 CI / O expander 615.

これにより、バスコントローラ634自身が接続線SDAをロウレベルに駆動させている期間(当該I2CI/Oエクスパンダ615が接続線SDAを占有している期間)を、監視することが可能となる。自己占有WDT641は、マスタICから受信したデータに対する返答信号(ACK,NACK)を送信するために接続線SDAを占有するタイミングで時間の計測を開始し、所定の時間が経過すると、リセット信号発生回路639にリセット信号を発生させる。この構成により、自己占有WDT641によって接続線SDAの占有が検出された場合には、自身のI2CI/Oエクスパンダ615のみがリセットされる。 Accordingly, it is possible to monitor a period during which the bus controller 634 itself drives the connection line SDA to a low level (a period during which the I 2 CI / O expander 615 occupies the connection line SDA). The self-occupied WDT 641 starts measuring time at the timing when the connection line SDA is occupied to transmit a response signal (ACK, NACK) for the data received from the master IC, and when a predetermined time elapses, the reset signal generating circuit A reset signal is generated at 639. With this configuration, when the occupation of connection line SDA is detected by self-occupied WDT 641, only its own I 2 CI / O expander 615 is reset.

図19は、本発明の実施の形態の装飾装置620を制御する装飾制御装置610のI2CI/Oエクスパンダ615周辺の回路図である。 FIG. 19 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 embodiment of this invention.

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

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

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

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

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

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

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

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

PORT0端子〜PORT15端子に接続されるトランジスタ638A〜638P(図18参照)のゲートに対してドライバ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. 18) 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. Thus, a current flows through the LED0 to LED15 connected to the PORT0 terminal to the PORT15 terminal, and each of the LED0 to LED15 lights up.

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

なお、I2CI/Oエクスパンダ615のPORT0端子〜PORT15端子には、LEDの代わりに、モータやソレノイドを接続して、このモータやソレノイドを遊技に用いる演出装置として構成することも可能である。以下、図20を参照しながらI2CI/Oエクスパンダ615を用いてモータやソレノイドを制御する場合について説明する。 It should be noted that a motor or solenoid can be connected to the PORT0 terminal to the PORT15 terminal of the I 2 CI / O expander 615 instead of the LED, and the motor or solenoid can be configured as an effect device that is used for gaming. . Hereinafter, a case where a motor and a solenoid are controlled using the I 2 CI / O expander 615 will be described with reference to FIG.

図20は、本発明の実施の形態の装飾制御装置610のI2CI/Oエクスパンダ615周辺の回路図であり、モータやソレノイドを制御する場合を示す図である。 FIG. 20 is a circuit diagram around the I 2 CI / O expander 615 of the decoration control device 610 according to the embodiment of this invention, and shows a case where a motor and a solenoid are controlled.

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

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

なお、各PORT0端子〜PORT3端子とモータとを接続する接続線は分岐し、分岐した一方の接続線は、モータに供給される電源にダイオードD及びツェナダイオードZDを介して接続される。   The connection lines connecting the PORT0 to PORT3 terminals and the motor are branched, and one of the branched connection lines is connected to a power source supplied to the motor via a diode D and a Zener diode ZD.

また、PORT端子15は、使用されるソレノイドに接続される。ソレノイドに接続されているPORT15端子に接続されるトランジスタ638Pのゲートに対してドライバ637から電圧が印加されると、電圧が印加されたトランジスタ638Pのドレインからソースへ電流が流れることが可能になり、PORT15端子に接続されるソレノイドに電流が流れ、ソレノイドによって駆動される図示しない演出装置が駆動する。   The PORT terminal 15 is connected to a solenoid to be used. When a voltage is applied from the driver 637 to the gate of the transistor 638P connected to the PORT15 terminal connected to the solenoid, a current can flow from the drain to the source of the transistor 638P to which the voltage is applied, A current flows through a solenoid connected to the PORT 15 terminal, and an effect device (not shown) driven by the solenoid is driven.

なお、図20では、I2CI/Oエクスパンダ615にモータ及びソレノイドの双方が接続されているが、一つのI2CI/Oエクスパンダ615に対して、モータ及びソレノイドの少なくとも一方だけを接続した構成でもよい。 In FIG 20, although both the motors and solenoids to I 2 CI / O expander 615 is connected, connected to one I 2 CI / O expander 615, the motor and the solenoid at least one only The configuration may be also possible.

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

図21は、本発明の実施の形態の装飾制御装置610、中継基板600及び簡易中継基板1600の回路構成を説明するための図であり、特に、信号線や電源線の入出力に関する接続状態を説明するための図である。   FIG. 21 is a diagram for explaining circuit configurations of the decoration control device 610, the relay board 600, and the simple relay board 1600 according to the embodiment of the present invention. In particular, connection states related to input / output of signal lines and power supply lines are shown. It is a figure for demonstrating.

本図においては、装飾制御装置610、中継基板600及び簡易中継基板1600のうち、分岐型の装飾制御装置610(例えば、装飾制御装置610Aなど)について説明を行うこととし、最後に、連結型の装飾制御装置610、終端型の装飾制御装置610、中継基板600、簡易中継基板1600との相違点の説明を行うことにする。   In this figure, among the decoration control device 610, the relay board 600, and the simple relay board 1600, the branch type decoration control device 610 (for example, the decoration control device 610A) will be described. Differences between the decoration control device 610, the terminal-type decoration control device 610, the relay board 600, and the simple relay board 1600 will be described.

なお、本図においては、前述した分岐型の装飾制御装置610Xに備えられる部品と、同一の付番を付けて説明を行う。   In the figure, description will be made with the same reference numerals as the parts provided in the above-described branch type decoration control device 610X.

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

上流コネクタ611は、当該装飾制御装置610よりも上流の装飾制御装置610に接続されるコネクタである。下流コネクタ612A及び612Bは、当該装飾制御装置610よりも下流側の装飾制御装置610に接続される。   The upstream connector 611 is a connector connected to the decoration control device 610 upstream from the decoration control device 610. The downstream connectors 612A and 612B are connected to the decoration control device 610 on the downstream side of the decoration control device 610.

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

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

さらに、接続線SDAをI2CI/Oエクスパンダ615に接続するために、第2接続線SDA2131は分岐2103で分岐し、分岐した第2接続線SDA2131はI2CI/Oエクスパンダ615の図19及び図20に示すSDA端子に接続される。また、接続線SCLをI2CI/Oエクスパンダ615に接続するために、第2接続線SCL2132は分岐2104で分岐し、分岐した第2接続線SCL2132はI2CI/Oエクスパンダ615の図19及び図20に示すSCL端子に接続される。以下、I2CI/Oエクスパンダ615、分岐2103からI2CI/Oエクスパンダ615に接続される接続線SDA、及び分岐2104からI2CI/Oエクスパンダ615に接続される接続線SCLを含む構成をI2CI/Oエクスパンダ部2181とする。 Further, in order to connect the connection line SDA to the I 2 CI / O expander 615, the second connection line SDA 2131 branches at the branch 2103, and the branched second connection line SDA 2131 is a diagram of the I 2 CI / O expander 615. 19 and the SDA terminal shown in FIG. Further, in order to connect the connection line SCL to the I 2 CI / O expander 615, the second connection line SCL2132 branches at the branch 2104, and the branched second connection line SCL2132 is a diagram of the I 2 CI / O expander 615. 19 and the SCL terminal shown in FIG. Hereinafter, I 2 CI / O expander 615, connection line SDA connected from branch 2103 to I 2 CI / O expander 615, and connection line SCL connected from branch 2104 to I 2 CI / O expander 615 will be described. A configuration including the I 2 CI / O expander unit 2181 is included.

なお、I2CI/Oエクスパンダ615には、I2CI/Oエクスパンダ615の電源電圧となる電圧Vccが供給されている。また、図21では図示されていないが、I2CI/Oエクスパンダ615からは、装飾制御装置610に設けられたLED(装飾装置620)を駆動する各ポート0〜15の信号線(図19参照)が出力されている。 Note that the I 2 CI / O expander 615 is supplied with a voltage Vcc that is a power supply voltage of the I 2 CI / O expander 615. Although not shown in FIG. 21, from the I 2 CI / O expander 615, signal lines (FIG. 19) of ports 0 to 15 for driving LEDs (decoration device 620) provided in the decoration control device 610 are provided. Reference) is output.

さらに、当該装飾制御装置610のI2CI/Oエクスパンダ615が上流の装飾制御装置610に接続線SDAを介して出力する信号、及び上流の装飾制御装置610から、当該装飾制御装置610のI2CI/Oエクスパンダ615に接続線SDAを介して入力される信号のノイズを除去するために、内部接続線SDA2111にはツェナダイオードZD2141が接続されている。 Further, a signal output from the I 2 CI / O expander 615 of the decoration control device 610 to the upstream decoration control device 610 via the connection line SDA and an I of the decoration control device 610 from the upstream decoration control device 610. 2 A Zener diode ZD2141 is connected to the internal connection line SDA2111 in order to remove noise of a signal input to the CI / O expander 615 via the connection line SDA.

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

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

また、上流の装飾制御装置610から、当該装飾制御装置610のI2CI/Oエクスパンダ615へ接続線SCLを介して入力される信号のノイズを除去するために、内部接続線SCL2112にはツェナダイオードZD2142が接続されている。 In addition, in order to remove noise of a signal input via the connection line SCL from the upstream decoration control device 610 to the I 2 CI / O expander 615 of the decoration control device 610, the internal connection line SCL2112 has a Zener. A diode ZD2142 is connected.

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

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

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

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

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

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

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

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

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

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

さらに、当該装飾制御装置610のI2CI/Oエクスパンダ615に電源電圧を供給する接続線Vccに接続される上流コネクタ601のVcc端子から延びる内部接続線Vcc2171と、上流コネクタ601のGND端子から延び、接地されている内部接続線GND2172とは、平滑コンデンサC2161及びバイパスコンデンサCP2162を介して接続されている。 Further, from the internal connection line Vcc 2171 extending from the Vcc terminal of the upstream connector 601 connected to the connection line Vcc for supplying the power supply voltage to the I 2 CI / O expander 615 of the decoration control device 610 and the GND terminal of the upstream connector 601 The extended and grounded internal connection line GND 2172 is connected via a smoothing capacitor C 2161 and a bypass capacitor CP 2162.

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

このため、装飾制御装置610のI2CI/Oエクスパンダ615に供給される電源電圧は、平滑コンデンサC2161により電圧が平滑化され、バイパスコンデンサCP2162によりノイズが除去されて、I2CI/Oエクスパンダ615に供給される。 For this reason, the power supply voltage supplied to the I 2 CI / O expander 615 of the decoration control device 610 is smoothed by the smoothing capacitor C2161, noise is removed by the bypass capacitor CP2162, and the I 2 CI / O expander is removed. The panda 615 is supplied.

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

以上、分岐型の装飾制御装置610について説明を行ったが、次に、連結型の装飾制御装置610について説明する。   The branch type decoration control device 610 has been described above. Next, the connection type decoration control device 610 will be described.

なお、下流コネクタ612Aに加え、接続線SDAに接続されるツェナダイオードZD2143、及び接続線SCLに接続されるツェナダイオードZD2144、内部接続線Vcc2173、内部接続線GND2174、平滑コンデンサC2161及びバイパスコンデンサCP2162を備える構成を第1の下流コネクタ部2182とする。   In addition to the downstream connector 612A, a Zener diode ZD2143 connected to the connection line SDA, a Zener diode ZD2144 connected to the connection line SCL, an internal connection line Vcc2173, an internal connection line GND2174, a smoothing capacitor C2161, and a bypass capacitor CP2162 are provided. The configuration is a first downstream connector portion 2182.

また、下流コネクタ612Bに加え、接続線SDAに接続されるツェナダイオードZD2145、及び接続線SCLに接続されるツェナダイオードZD2146、内部接続線Vcc2173、内部接続線GND2174、平滑コンデンサC2161及びバイパスコンデンサCP2162を備える構成を第2の下流コネクタ部2183とする。   In addition to the downstream connector 612B, a Zener diode ZD2145 connected to the connection line SDA, a Zener diode ZD2146 connected to the connection line SCL, an internal connection line Vcc2173, an internal connection line GND2174, a smoothing capacitor C2161, and a bypass capacitor CP2162 are provided. The configuration is a second downstream connector portion 2183.

装飾制御装置610が連結型の場合には、基板内に一つの下流コネクタのみを備える構成となるので、下流コネクタ612Aは存在するが下流コネクタ612Bが存在しない。   In the case where the decoration control device 610 is a connection type, since only one downstream connector is provided in the board, the downstream connector 612A exists but the downstream connector 612B does not exist.

そのため、内部接続線SDA2111及び内部接続線SCL2112は、分岐2103、2104では分岐しない構成となり、第2接続線SDA2131及び第2接続線SCL2132は存在しない点が、分岐型の装飾制御装置610とは異なる構成となる。   Therefore, the internal connection line SDA2111 and the internal connection line SCL2112 are configured so as not to branch at the branches 2103 and 2104, and the second connection line SDA2131 and the second connection line SCL2132 are not present, which is different from the branch type decoration control device 610. It becomes composition.

また、連結型の装飾制御装置610は、第2の下流コネクタ部2183を構成する電子部品が存在しない点も、分岐型の装飾制御装置610と異なる構成となる。他の構成は分岐型の装飾制御装置610と同様の構成となる。   The connection type decoration control device 610 is different from the branch type decoration control device 610 in that there is no electronic component constituting the second downstream connector portion 2183. Other configurations are the same as those of the branch type decoration control device 610.

次に、終端型の装飾制御装置610について説明する。   Next, the terminal type decoration control device 610 will be described.

装飾制御装置610が終端型の場合には、基板内に下流コネクタを備えない構成となるので、下流コネクタ612A、612Bがともに存在しない。   In the case where the decoration control device 610 is a terminal type, the downstream connector is not provided in the board, and therefore neither of the downstream connectors 612A and 612B exists.

そのため、内部接続線SDA2111及び内部接続線SCL2112は、分岐2101、2102、2103、2104で分岐することなく、I2CI/Oエクスパンダ615へ接続される点が、分岐型の装飾制御装置610とは異なる構成となる。 For this reason, the internal connection line SDA2111 and the internal connection line SCL2112 are connected to the I 2 CI / O expander 615 without branching at the branches 2101, 2102, 2103, and 2104. Are different configurations.

また、終端型の装飾制御装置610は、第1の下流コネクタ部2182及び第2の下流コネクタ部2183を構成する電子部品が存在しない点も、分岐型の装飾制御装置610と異なる構成となる。他の構成は分岐型の装飾制御装置610と同様の構成となる。   The terminal-type decoration control device 610 is also different from the branch-type decoration control device 610 in that there are no electronic components constituting the first downstream connector portion 2182 and the second downstream connector portion 2183. Other configurations are the same as those of the branch type decoration control device 610.

次に、中継基板600について説明する。   Next, the relay board 600 will be described.

中継基板600は、連結型の装飾制御装置610と同様に、基板内に一つの下流コネクタのみを備える構成となるので、下流コネクタ612Aは存在するが下流コネクタ612Bが存在しない。   Since the relay board 600 is configured to include only one downstream connector in the board, similarly to the connection type decoration control device 610, the downstream connector 612A exists but the downstream connector 612B does not exist.

そのため、内部接続線SDA2111及び内部接続線SCL2112は、分岐2103、2104では分岐しない構成となり、第2接続線SDA2131及び第2接続線SCL2132が存在しないので、連結型の装飾制御装置610と同様の構成となる。   Therefore, the internal connection line SDA2111 and the internal connection line SCL2112 are configured not to branch at the branches 2103 and 2104, and the second connection line SDA2131 and the second connection line SCL2132 do not exist. Therefore, the configuration is the same as that of the connection type decoration control device 610. It becomes.

ただし、中継基板600は、接続線SDA及び接続線SCLの電圧をプルアップするためのプルアップ抵抗を備えている点で、連結型の装飾制御装置610と異なる。   However, the relay board 600 is different from the connection type decoration control device 610 in that it includes a pull-up resistor for pulling up the voltages of the connection line SDA and the connection line SCL.

具体的には、図21に示すように、中継基板600では、第1マスタIC570aに接続される上流側の接続線SDA、及び装飾制御装置610に接続される下流側の接続線SDAの電圧をプルアップするためのプルアップ抵抗R2151が、第1接続線SDA2121に接続される。同じく、第1マスタIC570aに接続される上流側の接続線SCL、及び装飾制御装置610に接続される下流側の接続線SCLの電圧をプルアップするためのプルアップ抵抗R2152が、第1接続線SCL2122に接続される。   Specifically, as shown in FIG. 21, in the relay board 600, the voltages of the upstream connection line SDA connected to the first master IC 570a and the downstream connection line SDA connected to the decoration control device 610 are set. A pull-up resistor R2151 for pulling up is connected to the first connection line SDA2121. Similarly, a pull-up resistor R2152 for pulling up the voltage of the upstream connection line SCL connected to the first master IC 570a and the downstream connection line SCL connected to the decoration control device 610 includes the first connection line. Connected to SCL2122.

より詳しく説明すると、第1接続線SDA2121は分岐2109で分岐し、分岐した第1接続線SDA2121はプルアップ抵抗R2151に接続される。同じく第1接続線SCL2122は分岐2110で分岐し、分岐した第1接続線SCL2122はプルアップ抵抗R2152に接続される。以下、接続線SDAの電圧をプルアップするためのプルアップ抵抗R2151、及び接続線SCLの電圧をプルアップするためのプルアップ抵抗R2152をあわせてプルアップ抵抗部2180とする。   More specifically, the first connection line SDA2121 branches at the branch 2109, and the branched first connection line SDA2121 is connected to the pull-up resistor R2151. Similarly, the first connection line SCL2122 branches at the branch 2110, and the branched first connection line SCL2122 is connected to the pull-up resistor R2152. Hereinafter, the pull-up resistor R2151 for pulling up the voltage of the connection line SDA and the pull-up resistor R2152 for pulling up the voltage of the connection line SCL are collectively referred to as a pull-up resistor unit 2180.

次に、簡易中継基板1600について説明する。   Next, the simple relay board 1600 will be described.

簡易中継基板1600は、分岐型の装飾制御装置610と同様に、基板内に複数の下流コネクタ(下流コネクタ612A、612B)を備える。ただし、簡易中継基板1600は、I2CI/Oエクスパンダ部2181に相当する回路を備えておらず、代わりに、中継基板600に備えている前述のプルアップ抵抗部2180に相当する回路が設けられている点が、分岐型の装飾制御装置610と異なる構成である。他の構成は分岐型の装飾制御装置610と同様の構成となる。 The simple relay board 1600 includes a plurality of downstream connectors (downstream connectors 612A and 612B) in the board, similarly to the branch type decoration control device 610. However, the simple relay board 1600 does not include a circuit corresponding to the I 2 CI / O expander unit 2181. Instead, a circuit corresponding to the pull-up resistor unit 2180 provided in the relay board 600 is provided. This is a configuration different from the branch type decoration control device 610. Other configurations are the same as those of the branch type decoration control device 610.

なお、前述のプルアップ抵抗部2180の構成は、本実施形態では、中継基板600と簡易中継基板1600だけに設けられており、装飾制御装置610や演出制御装置550には設けていない構成となっているが、接続線SDA及び接続線SCLのレベルが正しく生成できるのであれば、装飾制御装置610や演出制御装置550に設けられていてもよい。要するに、プルアップ抵抗R2151及び2152は、接続線SDA及び接続線SCLを駆動するトランジスタのドレインの端子に電圧Vccを供給可能な箇所に備えられていればよい。   In the present embodiment, the configuration of the pull-up resistor 2180 described above is provided only on the relay board 600 and the simple relay board 1600, and is not provided in the decoration control device 610 or the effect control device 550. However, as long as the levels of the connection line SDA and the connection line SCL can be correctly generated, the decoration control device 610 and the effect control device 550 may be provided. In short, the pull-up resistors R2151 and 2152 only need to be provided at locations where the voltage Vcc can be supplied to the drain terminals of the transistors that drive the connection line SDA and the connection line SCL.

例えば、プルアップ抵抗R2151及び2152が第1マスタIC570aに備えられていれば、中継基板600、簡易中継基板1600若しくは装飾制御装置610内にプルアップ抵抗部2180が備えられている必要はない。   For example, if the pull-up resistors R2151 and 2152 are provided in the first master IC 570a, it is not necessary to provide the pull-up resistor unit 2180 in the relay board 600, the simple relay board 1600, or the decoration control device 610.

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

スレーブアドレス2200は、上位3ビットからなる固定アドレス部2201及び下位5ビットからなる可変アドレス部2202によって構成される。   The slave address 2200 includes a fixed address part 2201 composed of upper 3 bits and a variable address part 2202 composed of lower 5 bits.

固定アドレス部2201は、「110」の値があらかじめ設定され、I2CI/Oエクスパンダ615によって変更することができない。 The fixed address unit 2201 is preset with a value of “110” and cannot be changed by the I 2 CI / O expander 615.

可変アドレス部2202は、I2CI/Oエクスパンダ615によって設定可能である。可変アドレス部2202は、制御対象となるI2CI/Oエクスパンダ615のA0〜A3の端子に設定されているパターンに対応した4ビットのI2CI/Oエクスパンダアドレス2203と、当該データが読み出し要求であるのか書き込み要求であるのかを示す1ビットのR/W識別データ2204とによって構成される。 The variable address unit 2202 can be set by the I 2 CI / O expander 615. The variable address unit 2202 includes a 4-bit I 2 CI / O expander address 2203 corresponding to the pattern set at the terminals A0 to A3 of the I 2 CI / O expander 615 to be controlled, and the data It consists of 1-bit R / W identification data 2204 indicating whether it is a read request or a write request.

演出制御装置550から装飾制御装置610に出力される演出制御データは、書き込み要求であるので、R/W識別データ2204には、通常「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 2204.

図23は、本発明の実施の形態のI2CI/Oエクスパンダアドレステーブル2300の説明図である。 FIG. 23 is an explanatory diagram of the I 2 CI / O expander address table 2300 according to the embodiment of this invention.

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

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

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

ただし、I2CI/Oエクスパンダアドレスのうち、アドレス「1000」及びアドレス「1011」(図23の網掛けされたエントリ)は、各I2CI/Oエクスパンダ615を相互に識別するための固有のアドレスとしては使用できない。 However, among the I 2 CI / O expander addresses, the address “1000” and the address “1011” (shaded entries in FIG. 23) are used to identify each I 2 CI / O expander 615 from each other. It cannot be used as a unique address.

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

以上のように、装飾制御装置610のI2CI/Oエクスパンダ615に設定可能なアドレスは14個であるため、演出制御装置550は、14個のI2CI/Oエクスパンダ615を制御することができる。また、各装飾制御装置610には、PORT0〜PORT15が備えられているので、16個(言い換えれば16種類)のLEDを制御することが可能である。よって、演出制御装置550は、224個(言い換えれば224種類)のLEDを制御することが可能である。 As described above, since there are 14 addresses that can be set in the I 2 CI / O expander 615 of the decoration control device 610, the effect control device 550 controls the 14 I 2 CI / O expanders 615. be able to. Since each decoration control device 610 includes PORT0 to PORT15, it is possible to control 16 (in other words, 16 types) LEDs. Therefore, the effect control device 550 can control 224 (in other words, 224 types) LEDs.

図24は、本発明の実施の形態のI2CI/Oエクスパンダ615に備えられる出力設定レジスタ635に割り当てられたワークレジスタを説明するための図である。 FIG. 24 is a diagram for describing work registers assigned to the output setting register 635 provided in the I 2 CI / O expander 615 according to the embodiment of this invention.

2CI/Oエクスパンダ615の出力設定レジスタ635には、ワークレジスタ(デバイスレジスタ)と、コントロールレジスタ(制御レジスタ)とが割り当てられている。 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.

ワークレジスタは、I2CI/Oエクスパンダ615に対してあらかじめ定義されている設定を行うための情報や、I2CI/Oエクスパンダ615に接続されている演出装置(装飾装置620、例えば、LED)の出力態様を特定するための情報を記憶するものである。 Work register, I 2 CI / O Aix information and for performing settings that are predefined for Panda 615, I 2 CI / O Aix effect device connected to the expander 615 (decoration device 620, for example, The information for specifying the output mode of LED) is stored.

また、コントロールレジスタは、ワークレジスタへのデータ書き込み手順を規定する情報を記憶する。なお、ワークレジスタは、複数の情報を異なる記憶領域に分散して記憶する構成となっており、記憶領域毎に異なるレジスタ番号が付与されている。   In addition, the control register stores information defining a procedure for writing data to the work register. The work register is configured to store a plurality of pieces of information in different storage areas, and a different register number is assigned to each storage area.

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

なお、「MODE2」のレジスタのビット3(OCH)は、I2CI/Oエクスパンダ615の出力設定レジスタ635に格納された演出制御データを演出装置に実際に反映させるタイミングを規定するパラメータである。本発明の実施の形態では、図18にて説明したように、「0」が設定されており、ストップコンディションを受信した時点で出力設定レジスタ635に格納された演出制御データを出力し、演出装置の出力状態を実際に制御するように設定されている。 Note that bit 3 (OCH) of the “MODE2” register is a parameter that defines the timing at which the effect control data stored in the output setting register 635 of the I 2 CI / O expander 615 is actually reflected in the effect device. . In the embodiment of the present invention, as described in FIG. 18, “0” is set, and when the stop condition is received, the effect control data stored in the output setting register 635 is output, and the effect device Is set to actually control the output state.

レジスタ番号「02h」〜「11h」(レジスタ名「PWM0」〜「PWM15」)には、装飾装置620に含まれるLEDなどの制御対象のパラメータが設定される。レジスタ番号「02h」〜「11h」の記憶領域のいずれかに値が書き込まれると、I2CI/Oエクスパンダ615に接続される発光装置(装飾装置620)を構成する16個のLEDのうち、値が書き込まれたレジスタ番号に対応するLEDの輝度が、書き込まれた値に基づいて調整される。例えば、レジスタ番号「02h」の記憶領域に値が書き込まれた場合には、図19に示すポート0に接続されたLED0の輝度が調整される。 Parameters to be controlled such as LEDs included in the decoration device 620 are set in the register numbers “02h” to “11h” (register names “PWM0” to “PWM15”). When a value is written in any of the storage areas of register numbers “02h” to “11h”, among the 16 LEDs constituting the light emitting device (decoration device 620) connected to the I 2 CI / O expander 615 The brightness of the LED corresponding to the register number in which the value is written is adjusted based on the written value. For example, when a value is written in the storage area of the register number “02h”, the luminance of the LED 0 connected to the port 0 shown in FIG. 19 is adjusted.

なお、I2CI/Oエクスパンダ615は、前述のように、モータやソレノイドといった可動物を制御することも可能である。I2CI/Oエクスパンダ615にソレノイドが接続される場合には、ソレノイドが接続されるポートに対応するレジスタ番号には、ソレノイドを通電させて作動させるか、通電せずに未作動の状態にするかを示す値が書き込まれる。また、I2CI/Oエクスパンダ615にモータが接続される場合には、モータが接続されるポートに対応するレジスタ番号には、モータの目標回転位置を示す値が書き込まれる。 Note that the I 2 CI / O expander 615 can also control a movable object such as a motor or a solenoid as described above. When a solenoid is connected to the I 2 CI / O expander 615, the register number corresponding to the port to which the solenoid is connected is operated by energizing the solenoid or not energized. A value indicating whether to do is written. When a motor is connected to the I 2 CI / O expander 615, a value indicating the target rotational position of the motor is written in the register number corresponding to the port to which the motor is connected.

レジスタ番号「12h」(レジスタ名「GRPPWM」)及びレジスタ番号「13h」(レジスタ名「GRPFREQ」)には、制御対象全体の動作パターンなどを指定するパラメータが設定される。レジスタ番号「12h」及び「13h」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、LED(16個のLED)全体の点滅パターンが設定される。具体的には、レジスタ番号「12h」には、LED全体のオン・オフ比率であるデューティサイクルが設定され、レジスタ番号「13h」には、LED全体の点滅周期が設定される。   In the register number “12h” (register name “GRPPWM”) and the register number “13h” (register name “GRPFREQ”), parameters for specifying the operation pattern of the entire control target are set. When a value is written in the storage areas of the register numbers “12h” and “13h”, the blinking pattern of the entire LED (16 LEDs) is set based on the written value. Specifically, a duty cycle that is an on / off ratio of the entire LED is set in the register number “12h”, and a blinking cycle of the entire LED is set in the register number “13h”.

レジスタ番号「14h」(レジスタ名「LEDOUT0」)〜「17h」(レジスタ名「LEDOUT3」)には、各ポートで制御されるLEDの出力状態が設定される。各レジスタには、それぞれ4つずつLEDの出力状態を設定することが可能となっている。   In register numbers “14h” (register name “LEDOUT0”) to “17h” (register name “LEDOUT3”), the output state of the LED controlled by each port is set. Each register can set four LED output states.

レジスタ番号「14h」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、LED0〜LED3の出力状態が設定される。同様に、レジスタ番号「15h」の記憶領域にはLED4〜LED7の出力状態、レジスタ番号「16h」の記憶領域にはLED8〜LED11の出力状態、レジスタ番号「17h」の記憶領域にはLED12〜LED15の出力状態が設定される。   When a value is written in the storage area of the register number “14h”, the output states of the LEDs 0 to LED3 are set based on the written value. Similarly, the output state of LED4 to LED7 is stored in the storage area of register number “15h”, the output state of LED8 to LED11 is stored in the storage area of register number “16h”, and LED12 to LED15 are stored in the storage area of register number “17h” Output status is set.

レジスタ番号「18h」〜「1Ah」(レジスタ名「SUBADR1」〜「SUBADR3」)にはサブアドレスが設定される。レジスタ番号「18h」〜「1Ah」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、第1サブアドレス〜第3サブアドレスが設定される。   Sub-addresses are set in the register numbers “18h” to “1Ah” (register names “SUBADR1” to “SUBADR3”). When values are written in the storage areas of the register numbers “18h” to “1Ah”, the first subaddress to the third subaddress are set based on the written values.

レジスタ番号「1Bh」(レジスタ名「ALLCALLADR」)にはすべての装飾制御装置610に対する指令を出力するためのオールコールアドレスが設定される。オールコールアドレスは、例えば、電源投入時などにすべての装飾制御装置610で初期化処理を実行する場合などに使用される。   In the register number “1Bh” (register name “ALLCALLADR”), an all call address for outputting a command to all the decoration control devices 610 is set. The all call address is used, for example, when the initialization processing is executed in all the decoration control devices 610 when the power is turned on.

図25は、本発明の実施の形態のマスタICが接続線SDA及び接続線SCLを介してデータを出力するスタート条件及びストップ条件の説明図である。   FIG. 25 is an explanatory diagram of a start condition and a stop condition in which the master IC according to the embodiment of this invention outputs data via the connection line SDA and the connection line SCL.

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

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

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

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

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

装飾制御装置610のI2CI/Oエクスパンダ615は、ストップ条件となる信号が入力されると、データの出力が終了することを認識する。本発明の実施の形態では、前述のように、装飾制御装置610がストップ条件となる信号を受信すると、当該装飾制御装置610が制御する演出装置(装飾装置620)の制御を開始する。 The I 2 CI / O expander 615 of the decoration control device 610 recognizes that the output of data is finished when a signal serving as a stop condition is input. In the embodiment of the present invention, as described above, when the decoration control device 610 receives a signal that is a stop condition, control of the effect device (decoration device 620) controlled by the decoration control device 610 is started.

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

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

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

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

また、マスタICは、スタート条件が成立してから接続線SCLの信号レベルが8回変化すると、接続線SDAを解放することによって、装飾制御装置610から返答信号の入力を待機する。そして、マスタICは、接続線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 waits for a response signal from the decoration control device 610 by releasing the connection line SDA. Then, the master IC changes the signal level of the connection line SCL while releasing the connection line SDA, and takes in the response signal from the decoration control device 610.

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

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

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

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

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

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

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

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

図28は、本発明の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置610に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダ615との間で送受信されるデータのフォーマットを説明する図である。 FIG. 28 shows the relationship between the master IC and the I 2 CI / O expander 615 when the master IC according to the embodiment of the present invention designates the slave individual address and sets the effect control data in the decoration control device 610. It is a figure explaining the format of the data transmitted / received between.

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

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

ここで、コントロールレジスタについて説明する。コントロールレジスタは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 for designating the writing or reading method to the work register of the output setting register 635, and the lower 5 bits “D0 to D4” are the work. This is a register address that specifies an access start position (a start position at which writing starts or a start position at which reading starts) in the register.

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

自動書込パラメータに「000」の値を設定すると、オートインクリメントが禁止され、レジスタアドレスが指定するアクセス開始位置の領域のみをアクセスし、開始位置以外の領域はアクセスしない。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「14h」となる記憶領域のみがアクセスされ、他の記憶領域にはアクセスされない。すなわち、特定のレジスタアドレスの記憶領域の値のみを変更する場合に使用される。複数のレジスタアドレスの記憶領域の値を連続して変更する場合には、以下に示すように、オートインクリメントを許可することによって、アドレスの指定を省略することができる。   When a value of “000” is set in the automatic writing parameter, auto-increment is prohibited, and only the area at the access start position specified by the register address is accessed, and the area other than the start position is not accessed. For example, if the register address is “10100”, only the storage area with the register number “14h” is accessed, and the other storage areas are not accessed. That is, it is used when only the value of the storage area of a specific register address is changed. When the values of the storage areas of a plurality of register addresses are changed continuously, the address designation can be omitted by permitting auto-increment as described below.

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

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

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

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

ここで、図28の説明に戻ると、コントロールレジスタの設定データ2802に続いて、ワークレジスタの設定データ2803が出力される。設定データ2803は、図27において2番目以降に送信される「DATA」に対応するデータである。   Here, returning to the description of FIG. 28, the work register setting data 2803 is output following the control register setting data 2802. The setting data 2803 is data corresponding to “DATA” transmitted after the second in FIG.

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

図29は、本発明の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置610に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダ615との間で送受信される演出制御データに具体的な数値を適用した図である。図29では、オートインクリメントを禁止して、ワークレジスタの特定の記憶領域を1箇所だけを更新する演出制御データを示しており、具体的には、I2CI/Oエクスパンダ615のPORT0端子〜PORT3端子に接続されるLEDの発光状態を更新する場合について説明する。 FIG. 29 shows the relationship between the master IC and the I 2 CI / O expander 615 when the master IC according to the embodiment of the present invention designates the slave individual address and sets the effect control data in the decoration control device 610. It is the figure which applied the specific numerical value to the presentation control data transmitted / received between. FIG. 29 shows effect control data for prohibiting auto-increment and updating only one specific storage area of the work register. Specifically, the PORT0 terminal of the I 2 CI / O expander 615 A case where the light emission state of the LED connected to the PORT3 terminal is updated will be described.

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

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

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

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

次に、出力される8ビットのデータ2903には、送信先の装飾制御装置610によって制御される装飾装置620の発光態様を設定するデータが含まれる。具体的には、LEDOUT0レジスタに設定されるデータが割り当てられている。これにより、I2CI/Oエクスパンダ615のPORT0端子〜PORT3端子に接続されるLEDの発光状態(点灯、消灯、点滅など)が指定され、指定された状態でLEDが発光する。 Next, the output 8-bit data 2903 includes data for setting the light emission mode of the decoration device 620 controlled by the destination decoration control device 610. Specifically, data set in the LEDOUT0 register is assigned. As a result, the light emission state (lighting, extinguishing, blinking, etc.) of the LED connected to the PORT0 terminal to the PORT3 terminal of the I 2 CI / 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)も、コントロールレジスタデータ2902の値を指定して、出力データ2903を設定することで個別に制御可能である。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 Individual control is possible by designating the value of the control register data 2902 and setting the output data 2903. Even if a motor or a solenoid is connected to the PORT terminal, the same control is performed.

図30は、本発明の実施の形態のマスタICの演出制御データを送信する順序を説明する図である。図30では、オートインクリメントを許可して、ワークレジスタのすべての記憶領域を更新する場合に、演出制御データに含まれる各データを送信する順序を規定している。   FIG. 30 is a diagram illustrating the order in which the production control data of the master IC according to the embodiment of the present invention is transmitted. In FIG. 30, the order in which each data included in the effect control data is transmitted when auto-increment is permitted and all the storage areas of the work register are updated is defined.

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

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

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

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

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

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

図31は、本発明の実施の形態のマスタICがI2CI/Oエクスパンダ615を初期化する場合に、マスタICからI2CI/Oエクスパンダ615に送信される初期化指示データのフォーマットを説明する図である。 31, when the master IC of the embodiment of the present invention initializes the I 2 CI / O expander 615, the format of the initialization instruction data transmitted from the master IC to the I 2 CI / O expander 615 FIG.

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

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

次に出力される8ビットのデータ3102には、第1所定値「10100101」が設定され、次に出力される8ビットのデータ3103には、第2所定値「01011010」が設定される。なお、データ3102は、図27において1番目に送信される「DATA」に対応し、データ3103は、図27において2番目に送信される「DATA」に対応する。   The first predetermined value “10100101” is set in the 8-bit data 3102 to be output next, and the second predetermined value “01011010” is set in the 8-bit data 3103 to be output next. The data 3102 corresponds to “DATA” transmitted first in FIG. 27, and the data 3103 corresponds to “DATA” transmitted second in FIG.

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

リセットアドレスの出力後に、さらに第1所定値及び第2所定値の両方を出力するようにした理由は、マスタICがリセットアドレス「1011」を送信していないにもかかわらず、ノイズなどの影響によってI2CI/Oエクスパンダ615が誤ってリセットアドレス「1011」を取り込むことによって、誤ったタイミングで初期化が実行されることを防止するためである。 The reason why both the first predetermined value and the second predetermined value are output after the reset address is output is that the master IC does not transmit the reset address “1011”, but the influence of noise or the like. This is because the I 2 CI / O expander 615 erroneously fetches the reset address “1011” to prevent initialization from being executed at an incorrect timing.

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

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

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

異常判定テーブル3200は、演出制御装置550のRAM553に格納される。異常判定テーブル3200は、演出制御装置550の第1マスタIC570aと、当該第1マスタIC570aに接続されるI2CI/Oエクスパンダ615との接続状態を監視するために設けられている。異常判定テーブル3200は、接続状態に応じて、各I2CI/Oエクスパンダ615に対応した情報が格納される。 The abnormality determination table 3200 is stored in the RAM 553 of the effect control device 550. The abnormality determination table 3200 is provided for monitoring the connection state between the first master IC 570a of the effect control device 550 and the I 2 CI / O expander 615 connected to the first master IC 570a. The abnormality determination table 3200 stores information corresponding to each I 2 CI / O expander 615 according to the connection state.

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

I/Oエクスパンダアドレス3201には、第1マスタIC570aに接続されるI2CI/Oエクスパンダ615のA0〜A3の端子に設定されているアドレス(図19参照)に対応している。 The I / O expander address 3201 corresponds to the address (see FIG. 19) set at the terminals A0 to A3 of the I 2 CI / O expander 615 connected to the first master IC 570a.

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

エラーカウンタ3203は、第1マスタIC570aからI2CI/Oエクスパンダ615に演出制御データを送信し、当該I2CI/Oエクスパンダ615からACKを2回連続して受信できなかった場合にインクリメントされる。 Error counter 3203 increments when sending the performance control data from the first master IC570a the I 2 CI / O expander 615, can not receive an ACK from the I 2 CI / O Expander 615 two consecutive Is done.

比較値3204には、I2CI/Oエクスパンダ615に障害が発生しているか否かを判定するために、エラーカウンタ3203の値と比較するための値が登録される。なお、比較値3204の値は、制御対象の演出装置の種類に応じて設定してもよい。 In the comparison value 3204, a value to be compared with the value of the error counter 3203 is registered in order to determine whether or not a failure has occurred in the I 2 CI / O expander 615. Note that the value of the comparison value 3204 may be set according to the type of the rendering device to be controlled.

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

2CI/Oエクスパンダ615に障害が発生しているか否かを判定する方法について具体的に説明すると、エラーカウンタ3203の値が、比較値3204に設定された所定値に達した場合、エラーフラグ3205に「ON」が設定され、当該エントリに対応するI2CI/Oエクスパンダ615に障害が発生したことが登録される。 The method for determining whether or not a failure has occurred in the I 2 CI / O expander 615 will be described in detail. If the value of the error counter 3203 reaches a predetermined value set in the comparison value 3204, an error will occur. “ON” is set in the flag 3205, and it is registered that a failure has occurred in the I 2 CI / O expander 615 corresponding to the entry.

本発明の実施の形態では、後述するように、演出制御データの出力処理(図37参照)は、VDP割込(約33.3ms周期)に同期して実行されるようにしている。   In the embodiment of the present invention, as will be described later, the production control data output process (see FIG. 37) is executed in synchronization with a VDP interrupt (a period of about 33.3 ms).

前述したように、第1マスタIC570aからI2CI/Oエクスパンダ615への2回目の演出制御データの送信に対して、I2CI/Oエクスパンダ615からのACKが受信できなければ、エラーカウンタ3003がインクリメントされる。 As described above, if the ACK from the I 2 CI / O expander 615 cannot be received for the second transmission of the presentation control data from the first master IC 570a to the I 2 CI / O expander 615, an error occurs. Counter 3003 is incremented.

したがって、異常が発生している場合には、データ出力処理の実行周期が33.3msで、比較値3004が「300」であるので、33.3ms×300≒10sでI2CI/Oエクスパンダ615に関する異常が発生したことを検出する。 Therefore, when an abnormality has occurred, the execution period of the data output process is 33.3 ms and the comparison value 3004 is “300”. Therefore, the I 2 CI / O expander is 33.3 ms × 300≈10 s. It is detected that an abnormality relating to 615 has occurred.

図33は、本発明の実施の形態の第2マスタIC570bの異常判定テーブル3300を説明する図である。   FIG. 33 is a diagram illustrating the abnormality determination table 3300 of the second master IC 570b according to the embodiment of this invention.

第2マスタIC570bの異常判定テーブル3300は、第1マスタIC570aの異常判定テーブル3200と同様に、演出制御装置550のRAM553に格納される。異常判定テーブル3300は、演出制御装置550の第2マスタIC570bと、当該第2マスタIC570bに接続されるI2CI/Oエクスパンダ615との接続状態を監視するために設けられている。異常判定テーブル3300は、接続状態に応じて、各I2CI/Oエクスパンダ615に対応した情報が格納される。また、異常判定テーブル3300の構成は、第1マスタIC570aの異常判定テーブル3200と同じ構成である。 Similar to the abnormality determination table 3200 of the first master IC 570a, the abnormality determination table 3300 of the second master IC 570b is stored in the RAM 553 of the effect control device 550. The abnormality determination table 3300 is provided to monitor the connection state between the second master IC 570b of the effect control device 550 and the I 2 CI / O expander 615 connected to the second master IC 570b. The abnormality determination table 3300 stores information corresponding to each I 2 CI / O expander 615 according to the connection state. The configuration of the abnormality determination table 3300 is the same as that of the abnormality determination table 3200 of the first master IC 570a.

本発明の実施の形態では、第1マスタIC570aと第2マスタIC570bの両方に接続される装飾制御装置610が存在しないため、制御対象の各装飾制御装置610のI/OエクスパンダアドレスがマスタICごとに設定される。したがって、図32及び図33には、同じ値のI/Oエクスパンダアドレスが設定されている。なお、I/Oエクスパンダアドレスには一つのアドレスのみ設定可能であるため、一つの装飾制御装置610を複数のマスタICが制御する場合には共通のアドレスを設定する必要がある。   In the embodiment of the present invention, since there is no decoration control device 610 connected to both the first master IC 570a and the second master IC 570b, the I / O expander address of each decoration control device 610 to be controlled is the master IC. Set for each. Therefore, in FIG. 32 and FIG. 33, the same value I / O expander address is set. Since only one address can be set as the I / O expander address, it is necessary to set a common address when a plurality of master ICs control one decoration control device 610.

本発明の実施の形態のマスタICには、デバイスの動作を構成し、シリアルデータを送受信するために使用される複数のレジスタが備えられている。図11及び図12に示したコマンドレジスタ(REG)581は、このようなレジスタの一つであり、接続された装飾制御装置610にスタートコンディションやストップコンディションを出力することなどを指示する。   The master IC according to the embodiment of the present invention includes a plurality of registers that are used to configure device operation and transmit / receive serial data. The command register (REG) 581 shown in FIGS. 11 and 12 is one of such registers, and instructs the connected decoration control device 610 to output a start condition or a stop condition.

演出制御装置550は、マスタICを介して装飾制御装置(スレーブ)610に演出指示を送信し、各種演出処理を実行する。図34には各スレーブを初期化する手順、図35には各スレーブに演出制御データを送信する手順の概要を示す。   The effect control device 550 transmits an effect instruction to the decoration control device (slave) 610 via the master IC, and executes various effect processes. FIG. 34 shows a procedure for initializing each slave, and FIG. 35 shows an outline of a procedure for transmitting the effect control data to each slave.

図34は、本発明の実施の形態の各装飾制御装置(スレーブ)を初期化(リセット)時にCPU551とマスタIC(第1マスタIC570a又は第2マスタIC570b)との間で送受信される情報を説明する図である。   FIG. 34 illustrates information transmitted and received between the CPU 551 and the master IC (the first master IC 570a or the second master IC 570b) when each decoration control device (slave) according to the embodiment of the present invention is initialized (reset). It is a figure to do.

演出制御装置550のCPU551は、スレーブ初期化開始処理が開始されると、コマンドREG581のスタートコンディション(STA)及びストップコンディション(STO)の実行を指示するビットに“1”を設定する(3401)。   When the slave initialization start process is started, the CPU 551 of the effect control device 550 sets “1” to a bit instructing execution of the start condition (STA) and the stop condition (STO) of the command REG 581 (3401).

マスタICは、コマンドREG581に設定された情報(STO、STA)に従って、制御対象の各装飾制御装置(スレーブ)610に対し、まず先にストップコンディションを出力し、次いでスタートコンディションを出力する(3411)。ストップコンディションを出力することによってデータの送信が完了した旨を各スレーブに通知し、その後、スタートコンディションを出力することによって、各スレーブにおいてコマンドの入力を受け付ける準備を完了させる。   In accordance with the information (STO, STA) set in the command REG 581, the master IC first outputs a stop condition to each control object decoration device (slave) 610 and then outputs a start condition (3411). . By outputting a stop condition, each slave is notified that data transmission has been completed, and thereafter, by outputting a start condition, preparation for receiving an input of a command is completed in each slave.

マスタICは、スタートコンディションを出力すると、CPU551に割込信号(INT)を入力して割込みを発生させる。割込みが発生したCPU551は、送信指示データの送信再開処理(1)を開始する(3402)。送信指示データの送信再開処理(1)では、出力用バッファ572にリセット用アドレスを設定する。リセット用アドレスは、各スレーブをリセットするためにあらかじめ定められている固定アドレスである。このとき、コマンドREG581のSTA及びSTOには“0”が設定される。   When outputting the start condition, the master IC inputs an interrupt signal (INT) to the CPU 551 to generate an interrupt. The CPU 551 that has generated the interrupt starts the transmission resumption process (1) of the transmission instruction data (3402). In the transmission resumption process (1) of the transmission instruction data, a reset address is set in the output buffer 572. The reset address is a fixed address determined in advance for resetting each slave. At this time, “0” is set in the STA and STO of the command REG581.

マスタICは、出力用バッファ572に設定されたリセット用アドレスに対し、所定のデータ(リセット指令)を出力する(3412)。リセット指令は、図31にて説明した第1所定値(データ3102)及び第2所定値(データ3103)に対応する。   The master IC outputs predetermined data (reset command) to the reset address set in the output buffer 572 (3412). The reset command corresponds to the first predetermined value (data 3102) and the second predetermined value (data 3103) described in FIG.

マスタICは、リセット用アドレスを出力すると、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、送信指示データの送信再開処理(2)を開始する(3403)。送信指示データの送信再開処理(2)では、出力用バッファ572にリセット指令の前半の値を設定する。リセット指令の前半の値は、図31にて説明した第1所定値(データ3102)に対応する。このとき、コマンドREG581のSTA及びSTOには“0”が設定される。マスタICは、出力用バッファ572に設定されたリセット指令の前半の値を出力する(3413)。   When the master IC outputs the reset address, the master IC inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 that has generated the interrupt starts the transmission resumption process (2) of the transmission instruction data (3403). In the transmission restart process (2) of the transmission instruction data, the first half value of the reset command is set in the output buffer 572. The first half value of the reset command corresponds to the first predetermined value (data 3102) described in FIG. At this time, “0” is set in the STA and STO of the command REG581. The master IC outputs the first half value of the reset command set in the output buffer 572 (3413).

その後、マスタICは、リセット指令の前半の値を出力すると、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、送信指示データの送信再開処理(3)を開始し(3404)、出力用バッファ572にリセット指令の後半の値を設定する。このとき、コマンドREG581のSTA及びSTOには“0”が設定される。マスタICは、出力用バッファ572に設定されたリセット指令の後半の値を出力する(3414)。リセット指令の後半の値は、図31にて説明した第2所定値(データ3103)に対応する。   Thereafter, when the master IC outputs the first half value of the reset command, it inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 that has generated the interrupt starts transmission restart processing (3) of the transmission instruction data (3404), and sets the latter half value of the reset command in the output buffer 572. At this time, “0” is set in the STA and STO of the command REG581. The master IC outputs the latter half value of the reset command set in the output buffer 572 (3414). The latter half value of the reset command corresponds to the second predetermined value (data 3103) described with reference to FIG.

さらに、マスタICは、リセット指令の後半の値を出力すると、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、送信指示データの送信再開処理(4)を開始し(3405)、コマンドREG581のSTAに“0”、STOに“1”が設定し、マスタICにストップコンディションの出力を指示する。   Further, when the master IC outputs the second half value of the reset command, it inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 that has generated the interrupt starts transmission restart processing (4) of the transmission instruction data (3405), sets “0” to the STA of the command REG581, sets “1” to the STO, and outputs the stop condition to the master IC. Instruct.

マスタICは、コマンドREG581に設定された情報に従って、各スレーブにストップコンディションを出力する(3415)。   The master IC outputs a stop condition to each slave according to the information set in the command REG 581 (3415).

以上の処理によって、各スレーブが初期化される。なお、初期化に失敗した場合には(3406)、ステップ3402から処理を再開する。   Through the above processing, each slave is initialized. If the initialization fails (3406), the process is restarted from step 3402.

図35は、本発明の実施の形態の各装飾制御装置(スレーブ)に演出制御データを送信する際にCPU551とマスタIC(第1マスタIC570a又は第2マスタIC570b)との間で送受信される情報を説明する図である。   FIG. 35 shows information transmitted and received between the CPU 551 and the master IC (first master IC 570a or second master IC 570b) when transmitting the effect control data to each decoration control device (slave) according to the embodiment of the present invention. FIG.

演出制御装置550のCPU551は、演出制御を行う場合に、まず、コマンドREG581のスタートコンディション(STA)及びストップコンディション(STO)の実行を指示するビットに“1”を設定する(3501)。   When performing the effect control, the CPU 551 of the effect control device 550 first sets “1” to a bit instructing execution of the start condition (STA) and the stop condition (STO) of the command REG581 (3501).

マスタICは、コマンドREG581のSTA及びSTOに設定された値(“1”)に基づいて、各スレーブにストップコンディションを出力し、その後、スタートコンディションを出力する(3511)。   The master IC outputs a stop condition to each slave based on the values (“1”) set in the STA and STO of the command REG 581, and then outputs a start condition (3511).

そして、マスタICは、スタートコンディションを各スレーブに出力すると、各スレーブで演出制御データを受信する準備が整うため、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、出力用バッファ572に制御対象のスレーブのアドレス及び制御内容を示す演出制御データを設定する(3502)。このとき、コマンドREG581のSTA及びSTOには“0”を設定する。   When the master IC outputs a start condition to each slave, the master IC is ready to receive the presentation control data at each slave. Therefore, the master IC inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 that has generated the interrupt sets presentation control data indicating the address of the slave to be controlled and the control content in the output buffer 572 (3502). At this time, “0” is set in the STA and STO of the command REG581.

マスタICは、出力用バッファ572に設定されたアドレス及び演出制御データを各スレーブに出力する(3512)。このとき、出力されたアドレスに対応するスレーブは、受信した演出制御データに基づいて演出処理を実行する。   The master IC outputs the address and effect control data set in the output buffer 572 to each slave (3512). At this time, the slave corresponding to the output address executes effect processing based on the received effect control data.

そして、マスタICは、アドレス及び演出制御データを各スレーブに出力すると、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、コマンドREG581のSTAに“1”、STOに“0”を設定する(3503)。その後、マスタICは、再度スタートコンディションを出力する、いわゆるリスタートコンディションを出力する(3513)。   When the master IC outputs the address and the effect control data to each slave, the master IC inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 that has generated the interrupt sets “1” to the STA of the command REG 581 and “0” to the STO (3503). Thereafter, the master IC outputs a so-called restart condition that outputs a start condition again (3513).

続いて、CPU551及びマスタICは、別のアドレスを指定して同様の処理を行う(3504、3514、3505、3515)。CPU551によって最後のn個めのスレーブに対する演出制御データの出力が完了し(3506)、さらに、マスタICが演出制御データを対応するスレーブに出力すると(3516)、全データの出力が完了したため、ストップコンディションを出力する。具体的には、マスタICが最終のスレーブに演出制御データを出力完了したときに、割込信号を入力してCPU551に割込みを発生させ、割込みが発生したCPU551は、コマンドREG581のSTAに“0”、STOに“1”を設定し(3507)、その後、マスタICがストップコンディションを出力する(3517)。   Subsequently, the CPU 551 and the master IC perform similar processing by designating another address (3504, 3514, 3505, 3515). When the CPU 551 completes the output of the presentation control data for the last nth slave (3506), and the master IC outputs the presentation control data to the corresponding slave (3516), the output of all the data is completed, so Output the condition. Specifically, when the master IC has finished outputting the production control data to the final slave, an interrupt signal is input to cause the CPU 551 to generate an interrupt, and the CPU 551 that generated the interrupt generates “0” in the STA of the command REG581. ", STO is set to" 1 "(3507), and then the master IC outputs a stop condition (3517).

図36は、本発明の実施の形態の演出制御装置550からマスタIC(第1マスタIC570a又は第2マスタIC570b)に演出制御データを送信する段階を説明する図である。   FIG. 36 is a diagram illustrating the stage of transmitting the effect control data from the effect control device 550 according to the embodiment of the present invention to the master IC (first master IC 570a or second master IC 570b).

演出制御装置550のCPU551は、後述するスレーブ出力データ編集処理が実行されると、RAM553に出力データ準備領域を確保し、出力データ準備領域に各スレーブに対する演出制御データを格納する。   When the slave output data editing process described later is executed, the CPU 551 of the effect control device 550 secures an output data preparation area in the RAM 553 and stores the effect control data for each slave in the output data preparation area.

また、出力データ準備領域は、スレーブ毎にさらに領域が分割され、各スレーブに対応するアドレス及び演出内容に対応する演出制御データが格納される。具体的には、アドレスは図30に示した送信順序1のデータに対応し、演出制御データは図30に示した送信順序2から30までのデータに対応する。   In addition, the output data preparation area is further divided for each slave, and stores the production control data corresponding to the address and production content corresponding to each slave. Specifically, the address corresponds to the data of the transmission order 1 shown in FIG. 30, and the effect control data corresponds to the data of the transmission orders 2 to 30 shown in FIG.

さらに、CPU551は、未送信の演出制御データが上書きされないように、出力データ退避領域をさらにRAM553に確保し、スレーブ出力データ退避処理によって出力データ準備領域に記憶されたデータを出力データ退避領域に退避させる。その後、退避されたデータは所定のタイミングでマスタICの出力用バッファ572に設定される。   Further, the CPU 551 further secures an output data save area in the RAM 553 so that untransmitted effect control data is not overwritten, and saves the data stored in the output data preparation area by the slave output data save process to the output data save area. Let Thereafter, the saved data is set in the output buffer 572 of the master IC at a predetermined timing.

なお、出力データ準備領域及び出力データ退避領域はマスタICごとにRAM553に確保され、本発明の実施の形態では、第1マスタIC570a及び第2マスタIC570bに対応した領域がそれぞれ確保される。   The output data preparation area and the output data saving area are secured in the RAM 553 for each master IC. In the embodiment of the present invention, areas corresponding to the first master IC 570a and the second master IC 570b are secured.

図37は、本発明の実施の形態の演出制御装置550による処理の手順を示すフローチャートである。   FIG. 37 is a flowchart showing a procedure of processing performed by the effect control device 550 according to the embodiment of this invention.

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

演出制御装置550は、演出制御装置550に電源が投入されると、まずステップ3701〜3706の処理を実行し、ステップ3707の処理で、VDP556にて生成された画像更新信号(画像更新周期と同期する33.3ms秒周期の同期信号)が割込信号としてCPU551に入力されるまで待機する。そして、以降、VDP556から画像更新周期と同期する同期信号が割込信号としてCPU551に入力される毎に、ステップ3705〜3721の処理を繰り返し実行する。   When the production control device 550 is turned on, the production control device 550 first executes the processing of steps 3701 to 3706, and in the processing of step 3707, the image update signal generated in the VDP 556 (synchronized with the image update cycle). The 33.3 ms-second synchronization signal) is input to the CPU 551 as an interrupt signal. Thereafter, each time the synchronization signal synchronized with the image update cycle is input from the VDP 556 to the CPU 551 as an interrupt signal, the processing of steps 3705 to 3721 is repeatedly executed.

まず、演出制御装置550は、演出制御装置550のRAM553の初期化などを含む初期化処理を実行する(3701)。このとき、後述する第1マスタIC570aに関する初期化段階番号と、第2マスタIC570bに関する初期化段階番号とを、ともに“0”に設定しておく。   First, the effect control device 550 executes initialization processing including initialization of the RAM 553 of the effect control device 550 (3701). At this time, an initialization stage number relating to the first master IC 570a described later and an initialization stage number relating to the second master IC 570b are both set to “0”.

そして、演出制御装置550は、出力I/F558aとNORゲート回路561を介してリセットパルスを第1マスタIC570a及び第2マスタIC570bに入力し、第1マスタIC570a及び第2マスタIC570bをハード的に初期化する(3702)。   Then, the effect control device 550 inputs a reset pulse to the first master IC 570a and the second master IC 570b via the output I / F 558a and the NOR gate circuit 561, and initially sets the first master IC 570a and the second master IC 570b in hardware. (3702).

続いて、演出制御装置550は、第1マスタIC570aに接続されたすべての装飾制御装置610のI2CI/Oエクスパンダ615を初期化するために、第1マスタIC570aから初期化指示データを出力する第1マスタIC570a側スレーブ初期化開始処理を実行する(3703)。同様に、第2マスタIC570bに接続されたすべての装飾制御装置610のI2CI/Oエクスパンダ615を初期化するために、第2マスタIC570bから初期化指示データを出力する第2マスタIC570b側スレーブ初期化開始処理を実行する(3704)。スレーブ初期化開始処理の詳細については、図38にて説明する。 Subsequently, the effect control device 550 outputs initialization instruction data from the first master IC 570a in order to initialize the I 2 CI / O expander 615 of all the decoration control devices 610 connected to the first master IC 570a. The first master IC 570a side slave initialization start process is executed (3703). Similarly, in order to initialize the I 2 CI / O expander 615 of all the decoration control devices 610 connected to the second master IC 570b, the second master IC 570b side that outputs initialization instruction data from the second master IC 570b Slave initialization start processing is executed (3704). Details of the slave initialization start process will be described with reference to FIG.

さらに、演出制御装置550は、第1マスタIC570に関する初期化段階番号と、第2マスタIC570bに関する初期化段階番号とが、ともに“0”になるまで待機する(3705)。初期化段階番号とは、第1マスタIC570a及び第2マスタIC570bの各々に関して初期化処理の進捗を示す番号であり、電源投入直後に演出制御装置550が起動した直後では“0”となっているが、初期化処理が開始されると、段階を追って“1”から“4”まで1つずつインクリメントされ、初期化処理が完了すると、再度、“0”に戻されるものである。なお、図42にて説明する初期化指示データの送信再開処理において、設定されている初期化段階番号の値に対応する処理が順次実行される。   Further, the effect control device 550 waits until both the initialization stage number related to the first master IC 570 and the initialization stage number related to the second master IC 570b become “0” (3705). The initialization stage number is a number indicating the progress of the initialization process for each of the first master IC 570a and the second master IC 570b, and is “0” immediately after the presentation control device 550 is activated immediately after the power is turned on. However, when the initialization process is started, it is incremented from “1” to “4” step by step, and when the initialization process is completed, it is returned to “0” again. In the initialization instruction data transmission restart process described with reference to FIG. 42, processes corresponding to the set initialization stage number are sequentially executed.

すべてのマスタ及びスレーブの初期化が完了すると、演出制御装置550は、VDP556から画像更新周期と同期する同期信号(VDP割込)の受け入れ、及びタイマ割り込みの受け入れを許可する(3706)。   When the initialization of all the masters and slaves is completed, the effect control device 550 permits the reception of the synchronization signal (VDP interrupt) synchronized with the image update cycle and the reception of the timer interrupt from the VDP 556 (3706).

演出制御装置550は、図36にて説明したように、RAM553上に格納された演出制御データを上書きされないように退避するスレーブ出力データ退避処理を実行する(3707)。退避領域に退避された出力データは、前述したように、所定のタイミングでマスタICに設定される。   As described with reference to FIG. 36, the effect control device 550 executes slave output data saving processing for saving the effect control data stored in the RAM 553 so as not to be overwritten (3707). As described above, the output data saved in the save area is set in the master IC at a predetermined timing.

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

次に、演出制御装置550は、第1マスタIC570a及び第2マスタIC570bから装飾制御装置610に演出制御データを出力するスレーブ出力開始処理を実行する(3710)。ここで制御される装飾制御装置610は、主としてLEDなどの発光体を制御するものであり、発光制御装置又は発光制御スレーブとされる。スレーブ出力開始処理の詳細については、図39にて後述する。   Next, the effect control device 550 executes slave output start processing for outputting effect control data from the first master IC 570a and the second master IC 570b to the decoration control device 610 (3710). The decoration control device 610 controlled here mainly controls a light emitter such as an LED, and is a light emission control device or a light emission control slave. Details of the slave output start processing will be described later with reference to FIG.

演出制御装置550は、スレーブ出力開始処理が終了すると、VDP556に次に出力されるデータを編集し(3711)、さらに、音LSI557に出力される音制御データを編集する(3712)。   When the slave output start process is completed, the effect control device 550 edits the next data output to the VDP 556 (3711), and further edits the sound control data output to the sound LSI 557 (3712).

さらに、演出制御装置550は、発光体を制御する装飾制御装置610に送信するための演出制御データを編集するスレーブ出力データ編集処理を実行する(3713)。スレーブ出力データ編集処理では、図36で説明したように、各スレーブの演出制御データを生成し、RAM553上に確保された出力データ準備領域に格納する。   Further, the effect control device 550 executes a slave output data editing process for editing the effect control data to be transmitted to the decoration control device 610 that controls the light emitter (3713). In the slave output data editing process, as described with reference to FIG. 36, the production control data of each slave is generated and stored in the output data preparation area secured on the RAM 553.

次に、演出制御装置550は、図32に示した異常判定テーブル3200を参照し、第1マスタIC570aに接続された発光制御スレーブに関するエラー判定処理を実行する(3714)。   Next, the effect control device 550 refers to the abnormality determination table 3200 shown in FIG. 32, and executes an error determination process related to the light emission control slave connected to the first master IC 570a (3714).

エラー判定処理では、演出制御装置550が、異常判定テーブル3200の発光制御スレーブに対応するエントリのエラーフラグ3205がすべて「ON」となっているか否か、つまりすべての発光制御スレーブでエラーが発生しているか否かを判定する。言い換えれば、エラーフラグ3205が「OFF」となっている発光制御スレーブが少なくとも1つ以上あるか否かを判定する。このエラー判定処理によって、すべての発光制御スレーブでエラーが発生していると判定された場合には、第1マスタIC570a及び第1マスタIC570aに接続されたすべての発光制御スレーブのリセットする条件が成立したものとされる。   In the error determination process, the effect control device 550 determines whether or not the error flags 3205 of the entries corresponding to the light emission control slaves in the abnormality determination table 3200 are all “ON”, that is, an error occurs in all the light emission control slaves. It is determined whether or not. In other words, it is determined whether or not there is at least one light emission control slave in which the error flag 3205 is “OFF”. If it is determined by this error determination process that an error has occurred in all the light emission control slaves, the conditions for resetting all the light emission control slaves connected to the first master IC 570a and the first master IC 570a are satisfied. It is assumed that.

演出制御装置550は、ステップ3714のエラー判定処理の結果に基づいてリセット条件が成立しているか否かを判定する(3715)。前述のように、ステップ3714のエラー判定処理の時点ですべての発光制御スレーブのエラーフラグ3205が「ON」になっている場合には、リセット条件が成立したと判定される。   The effect control device 550 determines whether or not the reset condition is satisfied based on the result of the error determination process in step 3714 (3715). As described above, when the error flags 3205 of all the light emission control slaves are “ON” at the time of the error determination process in step 3714, it is determined that the reset condition is satisfied.

演出制御装置550は、リセット条件が成立したと判定された場合には(3715の結果が「Y」)、第1マスタIC570aを初期化し(3716)、第1マスタIC570aに接続されるすべてのI2CI/Oエクスパンダ615(装飾制御装置610)に対して同時に初期化指示データを出力する第1マスタIC570a側スレーブ初期化開始処理を実行する(3717)。 When it is determined that the reset condition is satisfied (the result of 3715 is “Y”), the effect control device 550 initializes the first master IC 570a (3716), and all the I connected to the first master IC 570a. 2 The first master IC 570a side slave initialization start process for outputting initialization instruction data simultaneously to the CI / O expander 615 (decoration control device 610) is executed (3717).

このように、リセット条件が成立したと判定された場合には、ステップ3717の処理で、第1マスタIC570aに接続されるすべてのI2CI/Oエクスパンダ615に対して、同時に初期化を指示する。すなわち、すべてのI2CI/Oエクスパンダ615を同時に選択して初期化することになるので、I2CI/Oエクスパンダ615を個別に選択して初期化を指示する方法と比較すると、高速に初期化を行うことが可能となり、I2CI/Oエクスパンダ615を正常な状態へ迅速に復帰させることができる。このとき、CPU551がバス563を介してリセットREG573に初期化指示情報を書き込むことにより、第1マスタIC570aをソフト的にリセットする。 As described above, when it is determined that the reset condition is satisfied, in step 3717, all the I 2 CI / O expanders 615 connected to the first master IC 570a are instructed to initialize at the same time. To do. That is, since all the I 2 CI / O expanders 615 are selected and initialized at the same time, it is faster than the method of individually selecting the I 2 CI / O expanders 615 and instructing the initialization. The I 2 CI / O expander 615 can be quickly returned to the normal state. At this time, the CPU 551 writes the initialization instruction information to the reset REG 573 via the bus 563, thereby resetting the first master IC 570a in software.

なお、ステップ3715の処理でリセット条件成立と見なされた場合は、第1マスタIC570aにおいて異常が発生している可能性があるので、ステップ3716の処理で第1マスタIC570aも初期化するようにしている。   If it is determined that the reset condition is satisfied in the process of step 3715, an abnormality may have occurred in the first master IC 570a. Therefore, the first master IC 570a is also initialized in the process of step 3716. Yes.

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

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

さらに、演出制御装置550は、第2マスタIC570bについても同様に、エラー判定処理を実行し(3718)、リセット条件が成立しているか否かを判定する(3719)。そして、リセット条件が成立している場合には、第2マスタIC570bをリセットし(3720)、第2マスタIC570bに接続されたスレーブを初期化する第2マスタIC570b側スレーブ初期化開始処理を実行する(3721)。その後、VDP556から同期信号がCPU551に入力されるまで待機する。   Further, the effect control device 550 similarly executes error determination processing for the second master IC 570b (3718), and determines whether or not the reset condition is satisfied (3719). If the reset condition is satisfied, the second master IC 570b is reset (3720), and the slave initialization start processing on the second master IC 570b side for initializing the slave connected to the second master IC 570b is executed. (3721). Thereafter, it waits until a synchronization signal is input from the VDP 556 to the CPU 551.

このように、図37に示した処理では、表示装置53の画像を更新する周期と同期して、演出制御装置550の第1マスタIC570a及び第2マスタIC570bから装飾制御装置610のI2CI/Oエクスパンダ615に演出制御データを送信する。そして、I2CI/Oエクスパンダ615は、受信した演出制御データに基づいて装飾装置620を制御するため、表示装置53における演出と装飾装置620における演出とが調和し、遊技者に違和感を与えないので、興趣を高めることができる。 As described above, in the process shown in FIG. 37, the first master IC 570a and the second master IC 570b of the effect control device 550 synchronize with the cycle of updating the image of the display device 53, and the I 2 CI / The effect control data is transmitted to the O expander 615. Since the I 2 CI / O expander 615 controls the decoration device 620 based on the received effect control data, the effect on the display device 53 and the effect on the decoration device 620 are harmonized, giving the player an uncomfortable feeling. Because there is no, it can raise interest.

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

また、表示装置53の画像を更新する周期と同期して、ステップ3714及び3718でエラー判定処理を実行するので、エラーを判定する頻度を適切に設定することができる。すなわち、エラー判定処理の実行頻度が多すぎると、演出制御装置550のCPU551の処理負荷が増大し、逆に、エラー判定処理の実行頻度が少なすぎると、異常の発生を適切なタイミングで検出できなくなる。表示装置53の画像を更新する周期と同期させてエラー判定を行うことによって、適切なタイミングでエラーを検出することが可能となり、各処理における不具合の発生に対して適切に対応することができる。   In addition, since the error determination process is executed in steps 3714 and 3718 in synchronization with the cycle of updating the image of the display device 53, the frequency for determining the error can be set appropriately. That is, if the error determination process is executed too frequently, the processing load on the CPU 551 of the effect control device 550 increases. Conversely, if the error determination process is executed too little, the occurrence of an abnormality can be detected at an appropriate timing. Disappear. By performing the error determination in synchronization with the cycle of updating the image of the display device 53, it becomes possible to detect the error at an appropriate timing, and to appropriately cope with the occurrence of a defect in each process.

図38は、本発明の実施の形態の第1マスタIC570a側のスレーブ初期化開始処理及び第2マスタIC570b側のスレーブ初期化開始処理の手順を示すフローチャートである。   FIG. 38 is a flowchart illustrating a procedure of slave initialization start processing on the first master IC 570a side and slave initialization start processing on the second master IC 570b side according to the embodiment of this invention.

第1マスタIC570a側のスレーブ初期化開始処理は、図37のステップ3703及び3717で実行され、第2マスタIC570b側のスレーブ初期化開始処理は、同じくステップ3704又はステップ3721で実行される処理である。   The slave initialization start process on the first master IC 570a side is executed in steps 3703 and 3717 in FIG. 37, and the slave initialization start process on the second master IC 570b side is the same process executed in step 3704 or step 3721. .

第1マスタIC570a側の初期化開始処理では、まず、演出制御装置550のCPU551は、マスタ割込み及びタイム割込みを禁止する(3801)。そして、初期化対象のマスタに第1マスタIC570aを選択する(3802)。   In the initialization start process on the first master IC 570a side, first, the CPU 551 of the effect control device 550 prohibits master interruption and time interruption (3801). Then, the first master IC 570a is selected as the master to be initialized (3802).

また、第2マスタIC570b側のスレーブ初期化開始処理では、第1マスタIC570a側スレーブ初期化開始処理と同様に、CPU551は、マスタ割込み及びタイム割込みを禁止する(3811)。そして、初期化対象のマスタに第2マスタIC570bを選択する(3812)。   In the slave initialization start process on the second master IC 570b side, the CPU 551 prohibits the master interrupt and the time interrupt as in the first master IC 570a side slave initialization start process (3811). Then, the second master IC 570b is selected as the master to be initialized (3812).

以降の処理では、第1マスタIC570a側スレーブ初期化開始処理及び第2マスタIC570b側スレーブ初期化開始処理について、選択されたマスタに対して共通の処理が実行される。   In the subsequent processes, a common process is executed for the selected master for the first master IC 570a side slave initialization start process and the second master IC 570b side slave initialization start process.

CPU551は、選択されたマスタの初期化段階番号に“1”を設定する(3803)。さらに、選択したマスタに関する監視タイマを設定し(3804)、タイムアウトの監視を開始する(3805)。   The CPU 551 sets “1” to the initialization stage number of the selected master (3803). Further, a monitoring timer for the selected master is set (3804), and timeout monitoring is started (3805).

CPU551は、選択されたマスタのコマンドREG581に対し、STAに“1”、STOに“1”、SIに“0”、及びMODEに“0”を設定する(3806)。   In response to the selected master command REG581, the CPU 551 sets “1” in the STA, “1” in the STO, “0” in the SI, and “0” in the MODE (3806).

STAは、前述したように、スタートコンディションの出力を指示するためのビットであり、STOは、ストップコンディションの出力を指示するためのビットである。各ビットに“1”が設定されると、マスタICによって対応する信号が出力される。ステップ3806の処理では、スタートコンディション及びストップコンディションの両方の信号が出力される。   As described above, the STA is a bit for instructing the output of the start condition, and the STO is a bit for instructing the output of the stop condition. When “1” is set in each bit, a corresponding signal is output by the master IC. In the process of step 3806, signals of both a start condition and a stop condition are output.

SIは、前述のマスタ割込みの発生を報知するためのビットであり、“1”が設定されている場合にはマスタICからCPU551に割込みの発生が要求された状態となり、このビットが“0”に変更されるまで、割込みを発生させたマスタICは、処理を待機する状態となる。そして、CPU551によって、このビットに“0”を設定すると、CPU551に発生している割込みが解除され、処理を待機していたマスタICは、次に行われるべき処理を再開する。ステップ3806の処理では、“0”が設定されているため、割込みの発生が解除されて、処理を待機していたマスタICが動作を再開する。   SI is a bit for notifying the occurrence of the aforementioned master interrupt. When “1” is set, the master IC requests the CPU 551 to generate an interrupt, and this bit is set to “0”. The master IC that generated the interrupt is in a state of waiting for processing until changed to. When the CPU 551 sets “0” to this bit, the interrupt generated in the CPU 551 is canceled, and the master IC waiting for processing resumes the next processing to be performed. In the process of step 3806, since “0” is set, the generation of the interrupt is canceled, and the master IC that has been waiting for the process resumes the operation.

MODEは、データを送信するモードを指定するためのビットであり、“1”が設定されている場合には「バッファモード」、“0”が設定されている場合には「バイトモード」が指定される。ステップ3806の処理では、“0”が設定されているため、バイトモードでデータがやり取りされる。   MODE is a bit for designating a mode for transmitting data. When “1” is set, “buffer mode” is designated, and when “0” is set, “byte mode” is designated. Is done. In step 3806, since “0” is set, data is exchanged in the byte mode.

その後、CPU551は、マスタ割込み及びタイムアウト割込みを許可し(3807)、呼び出し元に復帰する。   Thereafter, the CPU 551 permits a master interrupt and a timeout interrupt (3807), and returns to the caller.

図39は、本発明の実施の形態のスレーブ出力開始処理の手順を示すフローチャートである。   FIG. 39 is a flowchart illustrating a procedure of slave output start processing according to the embodiment of this invention.

スレーブ出力開始処理は、図37に示すステップ3710で実行される処理であり、各マスタから発光制御スレーブに演出制御データを送信するために必要な処理である。   The slave output start process is a process executed in step 3710 shown in FIG. 37, and is a process necessary for transmitting presentation control data from each master to the light emission control slave.

CPU551は、まず、マスタ割込み及びタイム割込みを禁止する(3901)。次に、第1マスタIC570aに対応するスタートフラグを“オン”に設定する(3902)。さらに、第1マスタIC570aの監視タイマを設定し(3903)、タイムアウトの監視処理を開始する(3904)。スタートフラグとは、スタートコンディションが出力され、演出制御データの送信が開始されたか否かを示すフラグであり、マスタIC毎に設定される。スタートフラグは、演出制御装置550のRAM553に記憶される。   The CPU 551 first prohibits the master interrupt and the time interrupt (3901). Next, the start flag corresponding to the first master IC 570a is set to “ON” (3902). Furthermore, the monitoring timer of the first master IC 570a is set (3903), and timeout monitoring processing is started (3904). The start flag is a flag indicating whether or not the start condition is output and the transmission of the production control data is started, and is set for each master IC. The start flag is stored in the RAM 553 of the effect control device 550.

さらに、CPU551は、第1マスタIC570aのコマンドREG581に対し、STAに“1”、STOに“1”、SIに“0”、及びMODEに“1”を設定する(3905)。ステップ3905の処理では、MODEに“1”が設定されるため、バッファモードでデータが送受信される。   Further, in response to the command REG 581 of the first master IC 570a, the CPU 551 sets “1” to the STA, “1” to the STO, “0” to the SI, and “1” to the MODE (3905). In the processing of step 3905, since “1” is set in MODE, data is transmitted and received in the buffer mode.

また、第2マスタIC570bについても同様に、CPU551は、第2マスタIC570bのスタートフラグをオンに設定する(3906)。さらに、監視タイマを設定し(3907)、タイムアウトの監視処理を開始する(3908)。さらに、第2マスタIC570bのコマンドREG581に対し、STAに“1”、STOに“1”、SIに“0”、及びMODEに“1”を設定する(3909)。   Similarly, for the second master IC 570b, the CPU 551 sets the start flag of the second master IC 570b to ON (3906). Further, a monitoring timer is set (3907), and timeout monitoring processing is started (3908). Further, for the command REG 581 of the second master IC 570b, “1” is set in the STA, “1” in the STO, “0” in the SI, and “1” in the MODE (3909).

CPU551は、各マスタの先頭のスレーブ(装飾制御装置610)を選択する(3910)。各マスタICには、演出制御データを送信するスレーブの順序があらかじめ設定されている。ステップ3910の処理で当該順序の先頭のスレーブを設定し、後述する演出制御データの送信再開処理において、第1マスタIC570aに接続される各スレーブに演出制御データを順次送信する。   The CPU 551 selects the first slave (decoration control device 610) of each master (3910). In each master IC, the order of slaves for transmitting the effect control data is set in advance. The first slave in the order is set in the process of step 3910, and the effect control data is sequentially transmitted to each slave connected to the first master IC 570a in the effect control data transmission restart process described later.

さらに、CPU551は、リトライカウンタを0に設定する(3911)。リトライカウンタとは、各マスタに演出制御データを送信する場合において、送信失敗時にインクリメントされるカウンタである。リトライカウンタが所定の数値よりも大きくなった場合には何らかの障害が発生したものと判断することができる。   Furthermore, the CPU 551 sets a retry counter to 0 (3911). The retry counter is a counter that is incremented when transmission fails when the production control data is transmitted to each master. When the retry counter becomes larger than a predetermined value, it can be determined that some trouble has occurred.

その後、CPU551は、マスタ割込み及びタイムアウト割込みを許可し(3912)、呼び出し元に復帰する。   Thereafter, the CPU 551 permits a master interrupt and a timeout interrupt (3912), and returns to the caller.

図40は、本発明の実施の形態の第1マスタIC570a側及び第2マスタIC570b側の送信中断割込み発生時の処理の手順を示すフローチャートである。   FIG. 40 is a flowchart illustrating a processing procedure when a transmission interruption interrupt occurs on the first master IC 570a side and the second master IC 570b side according to the embodiment of this invention.

送信中断割込みは、いわゆるマスタ割込みであり、中断時の状態に応じて処理が実行される。   The transmission interruption interrupt is a so-called master interruption, and processing is executed according to the state at the time of interruption.

CPU551は、まず、第1マスタIC570aからのマスタ割込みが発生した場合には、第1マスタIC570aに関するタイムアウトの監視を終了する(4001)。さらに、第1マスタIC570aの初期化段階番号及びスタートフラグを取得する(4002)。   First, when a master interrupt from the first master IC 570a occurs, the CPU 551 ends the time-out monitoring for the first master IC 570a (4001). Further, the initialization stage number and start flag of the first master IC 570a are acquired (4002).

同じく、CPU551は、第2マスタIC570bからのマスタ割込みが発生した場合には、第2マスタIC570bに関するタイムアウトの監視を終了し(4011)、第2マスタIC570bの初期化段階番号及びスタートフラグを取得する(4012)。   Similarly, when a master interrupt from the second master IC 570b occurs, the CPU 551 ends the time-out monitoring for the second master IC 570b (4011), and acquires the initialization stage number and start flag of the second master IC 570b. (4012).

CPU551は、初期化対象のマスタICの初期化段階番号が“0”であるか否かを判定する(4003)。初期化段階番号が“0”の場合とは、初期化処理が実行中でない状態であることを示している。すなわち、初期化段階番号が“0”以外の場合には初期化処理が実行中であることを示している。   The CPU 551 determines whether or not the initialization stage number of the master IC to be initialized is “0” (4003). The case where the initialization stage number is “0” indicates that the initialization process is not being executed. That is, when the initialization stage number is other than “0”, it indicates that the initialization process is being executed.

CPU551は、初期化対象のマスタICの初期化段階番号が“0”でない場合には(4003の結果が「N」)、前述のように、初期化処理中であるため、初期化指示データの送信再開処理を実行する(4004)。初期化指示データの送信再開処理の詳細については、図42にて後述する。   If the initialization stage number of the master IC to be initialized is not “0” (the result of 4003 is “N”), the CPU 551 is in the initialization process as described above, so the initialization instruction data A transmission resumption process is executed (4004). Details of the transmission restart processing of the initialization instruction data will be described later with reference to FIG.

一方、CPU551は、初期化対象のマスタICの初期化段階番号が“0”でない場合には(4003の結果が「Y」)、初期化処理を既に終えており、演出制御データを送信している途中であるため、演出制御データの送信再開処理を実行する(4005)。演出制御データの送信再開処理の詳細については、図43にて後述する。   On the other hand, if the initialization stage number of the master IC to be initialized is not “0” (result of 4003 is “Y”), the CPU 551 has already completed the initialization process, and transmits the effect control data. Because it is in the middle of the transmission, a process for resuming the transmission of the effect control data is executed (4005). Details of the transmission restart processing of the effect control data will be described later with reference to FIG.

図41は、本発明の実施の形態の第1マスタIC570a及び第2マスタIC570bによるタイムアウト割込み発生時の処理の手順を示すフローチャートである。   FIG. 41 is a flowchart illustrating a processing procedure when a time-out interrupt is generated by the first master IC 570a and the second master IC 570b according to the embodiment of this invention.

本処理は、第1マスタIC570a又は第2マスタIC570bにおいて所定の時間が経過しても復帰しない場合に発生するタイマ割込みが発生した場合に各マスタICを初期化するために実行される処理である。   This process is a process executed to initialize each master IC when a timer interrupt occurs when the first master IC 570a or the second master IC 570b does not return after a predetermined time has elapsed. .

CPU551は、第1マスタIC570aにおいてタイムアウト割込みが発生した場合には、第1マスタIC570aをソフトリセットする(4101)。さらに、第1マスタIC570aに接続されたスレーブを初期化する第1マスタIC570a側スレーブ初期化開始処理(図38)を実行する(4102)。   When a timeout interrupt occurs in the first master IC 570a, the CPU 551 performs a soft reset on the first master IC 570a (4101). Further, a slave initialization start process (FIG. 38) on the first master IC 570a side for initializing the slave connected to the first master IC 570a is executed (4102).

CPU551は、第2マスタIC570bにおいてタイムアウト割込みが発生した場合には、第2マスタIC570bをソフトリセットする(4111)。さらに、第2マスタIC570bに接続されたスレーブを初期化する第2マスタIC570b側スレーブ初期化開始処理(図38)を実行する(4112)。   When a timeout interrupt occurs in the second master IC 570b, the CPU 551 performs a soft reset on the second master IC 570b (4111). Furthermore, slave initialization start processing (FIG. 38) on the second master IC 570b side for initializing the slave connected to the second master IC 570b is executed (4112).

図42は、本発明の実施の形態の初期化指示データの送信再開処理の手順を示すフローチャートである。   FIG. 42 is a flowchart illustrating a procedure of the transmission restart process of the initialization instruction data according to the embodiment of this invention.

CPU551は、まず、ステータスコードに基づいて初期化指示データの送信処理を継続するか否かを判断し(4201)、判断結果に応じて処理を分岐する(4202)。ステータスコードは、マスタICの状態を示す値であり、ステータスレジスタ(REG)582に設定されている。ステップ4201の処理では、設定されているステータスコードと現在の初期化段階番号との組合せから、図44にて後述する送信処理継続判定表4400を参照して、初期化指示データの送信処理を継続するか否かを判定する。初期化段階番号とステータスコードとの関係については、図44にて詳細を説明する。   The CPU 551 first determines whether or not to continue the transmission process of the initialization instruction data based on the status code (4201), and branches the process according to the determination result (4202). The status code is a value indicating the state of the master IC, and is set in the status register (REG) 582. In the process of step 4201, the transmission process of the initialization instruction data is continued with reference to the transmission process continuation determination table 4400 described later with reference to FIG. 44 based on the combination of the set status code and the current initialization stage number. It is determined whether or not to do. The relationship between the initialization stage number and the status code will be described in detail with reference to FIG.

初期化段階番号は、マスタICの初期化を行っているときに、その処理段階に応じて“1”〜“4”の何れかの値が設定されるものであり、マスタICの初期化が完了すると“0”に設定されるものである。ただし、マスタICの初期化が完了して、初期化段階番号が“0”になると、当該初期化指示データの送信再開処理が呼び出されない(図40の呼び出し元の処理にてステップS4003の分岐がある)ので、ここでは、初期化段階番号が“1”〜“4”となっていることを前提に説明を行う。   The initialization stage number is set to any value from “1” to “4” according to the processing stage when the master IC is being initialized. When completed, it is set to “0”. However, when initialization of the master IC is completed and the initialization stage number becomes “0”, the transmission restart process of the initialization instruction data is not called (the branch of step S4003 in the caller process of FIG. 40). Therefore, the description will be made on the assumption that the initialization stage numbers are “1” to “4”.

CPU551は、初期化段階番号とステータスコードとの組合せによる判定結果が「継続」でない場合には(4202の結果が「N」)、正常な状態ではない(例えば、データ送信に失敗した状態になる)ので、初期化の開始を示す値“1”を初期化段階番号に設定する(4203)。さらに、監視タイマを設定し、タイムアウトの監視を開始する(4204)。   If the determination result based on the combination of the initialization stage number and the status code is not “continuous” (the result of 4202 is “N”), the CPU 551 is not in a normal state (for example, the data transmission has failed). Therefore, the value “1” indicating the start of initialization is set as the initialization stage number (4203). Further, a monitoring timer is set, and timeout monitoring is started (4204).

最後に、CPU551は、ストップコンディション及びスタートコンディションを出力するように、処理対象のマスタICのコマンドREG581のSTAに“1”、STOに“1”、SIに“0”、MODEに“0”を設定し(4205)、呼び出し元の処理に復帰する。   Finally, the CPU 551 outputs “1” to the STA of the command REG581 of the master IC to be processed, “1” to the STO, “0” to the SI, and “0” to the MODE so as to output the stop condition and the start condition. The setting is made (4205), and the process returns to the calling process.

一方、CPU551は、初期化段階番号とステータスコードとの組合せによる判定結果が「継続」となっている場合には(4202の結果が「Y」)、初期化処理が正常に実行されているため、初期化段階番号に基づいて処理を分岐する(4206)。   On the other hand, when the determination result based on the combination of the initialization stage number and the status code is “continuation” (the result of 4202 is “Y”), the CPU 551 is executing the initialization process normally. Then, the process branches based on the initialization stage number (4206).

CPU551は、初期化段階番号が“1”の場合には、処理対象のマスタICの出力用バッファ572にリセット用アドレスを設定する(4207)。   When the initialization stage number is “1”, the CPU 551 sets a reset address in the output buffer 572 of the processing target master IC (4207).

初期化段階番号に“1”が設定されている場合は、マスタICからスタートコンディションが出力されたことを意味する。図44の送信処理継続判定表4400を参照すると、ステータスコードは、スタートコンディション又はリスタートコンディションが送信されたことを示す“08h”又は“10h”が設定されることになる。したがって、初期化段階番号に“1”が設定されており、かつ、ステータスコードに“08h”又は“10h”が設定されている場合に、ステップ4207以降の処理が実行される。   When “1” is set in the initialization stage number, it means that a start condition is output from the master IC. Referring to the transmission processing continuation determination table 4400 of FIG. 44, the status code is set to “08h” or “10h” indicating that a start condition or a restart condition is transmitted. Therefore, when the initialization stage number is set to “1” and the status code is set to “08h” or “10h”, the processing after step 4207 is executed.

CPU551は、初期化段階番号をインクリメントし(4208)、監視タイマを設定し、タイムアウトの監視を開始する(4209)。最後に、処理を継続するために、処理対象のマスタICのコマンドREG581のSTA、STO、SI及びMODEにそれぞれ“0”を設定し(4210)、呼び出し元の処理に復帰する。   The CPU 551 increments the initialization stage number (4208), sets a monitoring timer, and starts time-out monitoring (4209). Finally, in order to continue the processing, “0” is set in each of the STA, STO, SI, and MODE of the command REG 581 of the processing target master IC (4210), and the processing returns to the calling source processing.

また、初期化段階番号が“2”の場合には、CPU551は、処理対象のマスタICの出力用バッファ572にリセット指令を示す値の前半の値を設定する(4211)。   When the initialization stage number is “2”, the CPU 551 sets the first half of the value indicating the reset command in the output buffer 572 of the master IC to be processed (4211).

初期化段階番号に“2”が設定されている場合は、マスタICの出力用バッファ572にリセット用アドレスが設定された状態であることを意味する。図44の送信処理継続判定表4400を参照すると、ステータスコードは、スレーブのアドレス(ここでは、リセット用アドレス)が送信済みであり、かつ、各スレーブから信号を正常に受信したことを示すACKが応答されたことを示す“18h”が設定されることになる。ただし、ステータスコードは、各スレーブから信号を正常に受信できなかったことを示すNACKが応答された場合には“20h”が設定される。したがって、初期化段階番号に“2”が設定されており、かつ、ステータスコードに“18h”が設定されている場合に、ステップ4211以降の処理が実行される。   When “2” is set in the initialization stage number, it means that the reset address is set in the output buffer 572 of the master IC. Referring to the transmission processing continuation determination table 4400 in FIG. 44, the status code includes an ACK indicating that the slave address (here, the reset address) has been transmitted and that the signal has been normally received from each slave. “18h” indicating that the response has been made is set. However, the status code is set to “20h” when a NACK indicating that the signal cannot be normally received from each slave is returned. Accordingly, when “2” is set as the initialization stage number and “18h” is set as the status code, the processing after step 4211 is executed.

CPU551は、出力用バッファ572に値が設定されると、初期化段階番号が“1”の場合と同様に、ステップ4208から4210までの処理を実行する。   When a value is set in the output buffer 572, the CPU 551 executes the processing from steps 4208 to 4210 as in the case where the initialization stage number is “1”.

CPU551は、初期化段階番号が“3”の場合には、処理対象のマスタICの出力用バッファ572にリセット指令を示す値の後半の値を設定する(4212)。   If the initialization stage number is “3”, the CPU 551 sets the latter half of the value indicating the reset command in the output buffer 572 of the master IC to be processed (4212).

初期化段階番号に“3”が設定されている場合は、マスタICの出力用バッファ572にリセット指令の前半の値が設定された状態であることを意味する。図44の送信処理継続判定表4400を参照すると、ステータスコードは、出力用バッファ572に設定されたデータが送信済みであり、かつ、各スレーブから信号を正常に受信したことを示すACKが応答されたことを示す“28h”が設定されることになる。ただし、ステータスコードは、各スレーブから信号を正常に受信できなかったことを示すNACKが応答された場合には“30h”が設定される。したがって、初期化段階番号に“3”が設定されており、かつ、ステータスコードに“28h”が設定されている場合に、ステップ4212以降の処理が実行される。   When “3” is set as the initialization stage number, it means that the first half value of the reset command is set in the output buffer 572 of the master IC. Referring to the transmission processing continuation determination table 4400 in FIG. 44, the status code is returned as an ACK indicating that the data set in the output buffer 572 has been transmitted and that the signal has been normally received from each slave. "28h" indicating that this is set. However, the status code is set to “30h” when a NACK indicating that the signal cannot be normally received from each slave is returned. Accordingly, when “3” is set as the initialization stage number and “28h” is set as the status code, the processing after step 4212 is executed.

CPU551は、出力用バッファ572に値が設定されると、初期化段階番号が“1”の場合と同様に、ステップ4208から4210までの処理を実行する。   When a value is set in the output buffer 572, the CPU 551 executes the processing from steps 4208 to 4210 as in the case where the initialization stage number is “1”.

初期化段階番号に“4”が設定されている場合は、マスタICの出力用バッファ572にリセット指令の後半の値が設定された状態であることを意味する。図44の送信処理継続判定表4400を参照すると、初期化段階番号が“3”の場合と同様に、ステータスコードに“28h”又は“30h”が設定されており、ステータスコードに“28h”の場合に、ステップ4212以降の処理が実行される。   When “4” is set in the initialization stage number, it means that the latter half value of the reset command is set in the output buffer 572 of the master IC. Referring to the transmission processing continuation determination table 4400 in FIG. 44, as in the case where the initialization stage number is “3”, “28h” or “30h” is set in the status code, and “28h” is set in the status code. In this case, the processing after step 4212 is executed.

初期化段階番号が“4”の場合には、初期化処理に必要な処理が終了したため、CPU551は、処理対象のマスタICに接続されたすべての装飾制御装置610のエラーフラグをオフに設定し(4213)、さらに、エラーカウンタを0に設定して初期化する(4214)。そして、初期化段階番号を初期化処理中でないことを示す“0”に設定する。最後に、初期化処理を完了させ、処理対象のマスタICから、当該マスタICに接続されたすべての装飾制御装置610にストップコンディションを出力するために、処理対象のマスタICのコマンドREG581のSTOに“1”、STA、SI及びMODEにそれぞれ“0”を設定し(4216)、呼び出し元の処理に復帰する。   When the initialization stage number is “4”, the processing necessary for the initialization processing is completed, so the CPU 551 sets the error flags of all the decoration control devices 610 connected to the master IC to be processed to OFF. (4213) Further, the error counter is set to 0 and initialized (4214). Then, the initialization stage number is set to “0” indicating that the initialization process is not in progress. Finally, in order to complete the initialization process and to output a stop condition from the master IC to be processed to all the decoration control devices 610 connected to the master IC, the STO of the command REG 581 of the master IC to be processed is output. “1”, STA, SI, and MODE are set to “0” (4216), and the process returns to the caller process.

図43は、本発明の実施の形態の演出制御データの送信再開処理の手順を示すフローチャートである。   FIG. 43 is a flowchart showing a procedure of resumption of transmission processing of effect control data according to the embodiment of the present invention.

CPU551は、まず、ステータスコードに基づいて実行する処理を判断し(4301)、処理を継続、データを再送、又はデータの送信を中止するかによって分岐する(4302)。ステップ4301の処理では、ステータスコードとスタートフラグに設定された値との組合せに基づいて、図44にて後述する送信処理継続判定表4400を参照して実行する処理を判断する。   The CPU 551 first determines the process to be executed based on the status code (4301), and branches depending on whether the process is continued, the data is retransmitted, or the data transmission is stopped (4302). In the process of step 4301, based on the combination of the status code and the value set in the start flag, a process to be executed is determined with reference to a transmission process continuation determination table 4400 described later with reference to FIG.

スタートフラグは、第1マスタIC570a及び第2マスタIC570bの各々に関して、演出制御データを送信するタイミングを制御するためのフラグである。具体的には、図37のステップ3710のスレーブ出力開始処理(図39)が実行されると、スタートフラグが“オン”に設定される。また、後述するように、出力用バッファ572に演出制御データを設定すると、スタートフラグは“オフ”に設定される。ステータスコードは、前述のように、マスタICの状態を示す値であり、ステータスレジスタ(REG)582に設定されている。スタートフラグとステータスコードとの関係については、図44にて詳細を説明する。   The start flag is a flag for controlling the timing of transmitting the presentation control data for each of the first master IC 570a and the second master IC 570b. Specifically, when the slave output start process (FIG. 39) in step 3710 of FIG. 37 is executed, the start flag is set to “ON”. Further, as described later, when the production control data is set in the output buffer 572, the start flag is set to “off”. As described above, the status code is a value indicating the state of the master IC, and is set in the status register (REG) 582. The relationship between the start flag and the status code will be described in detail with reference to FIG.

CPU551は、スタートフラグとステータスコードとの組合せによって処理を継続すると判定された場合には(4302の結果が「継続」)、演出制御データの送信が正常に行われていることになる。このとき、スタートフラグが“オン”の場合には、前述のように、スタートコンディションが出力された後であるため、対応するステータスコードは、“08h”又は“10h”となる。一方、スタートフラグが“オフ”の場合、正常に処理が行われていれば、ステータスコードには正常にデータの送信が完了したことを示す“28h”が設定されている。   If the CPU 551 determines that the process is to be continued by the combination of the start flag and the status code (the result of 4302 is “continue”), the presentation control data is normally transmitted. At this time, if the start flag is “ON”, as described above, since the start condition is output, the corresponding status code is “08h” or “10h”. On the other hand, when the start flag is “off”, if the process is normally performed, “28h” indicating that data transmission has been completed normally is set in the status code.

そこで、CPU551は、スタートフラグが“オン”であるか否かを判定する(4303)。スタートフラグが“オン”である場合には(4303の結果が「Y」)、RAM553上に準備されていたデータを出力用バッファ572に設定する(4304)。そして、スタートフラグを“オフ”に設定し(4305)、監視タイマを設定し、タイムアウトの監視を開始する(4306)。最後に、処理対象のマスタICのコマンドREG581のSTA、STO及びSIをそれぞれ“0”に設定し、出力用バッファ572に設定されたデータをバッファモードで送信するために、MODEを“1”に設定し(4307)、呼び出し元の処理に復帰する。   Therefore, the CPU 551 determines whether or not the start flag is “ON” (4303). If the start flag is “ON” (the result of 4303 is “Y”), the data prepared in the RAM 553 is set in the output buffer 572 (4304). Then, the start flag is set to “off” (4305), a monitoring timer is set, and timeout monitoring is started (4306). Finally, STA, STO and SI of the command REG 581 of the master IC to be processed are set to “0”, and MODE is set to “1” in order to transmit the data set in the output buffer 572 in the buffer mode. The setting is made (4307), and the process returns to the calling process.

一方、CPU551は、スタートフラグが“オフ”である場合には(4303の結果が「N」)、選択されたスレーブ(装飾制御装置610)に対応するエラーフラグを“オフ”に設定し(4308)、さらに、エラーカウンタを初期化する(4309)。   On the other hand, when the start flag is “OFF” (the result of 4303 is “N”), the CPU 551 sets the error flag corresponding to the selected slave (decoration control device 610) to “OFF” (4308). Further, an error counter is initialized (4309).

その後、CPU551は、すべてのスレーブに対して送信再開処理が完了したか否かを判定する(4310)。そして、すべてのスレーブに対して処理が完了した場合には(4310の結果が「Y」)、ストップコンディションを出力し、データを送信するモードを「バッファモード」に指定するようにコマンドREG581のSTO及びMODEに“1”、STA及びSIに“0”を設定し(4311)、呼び出し元の処理に復帰する。   Thereafter, the CPU 551 determines whether or not the transmission resumption process has been completed for all the slaves (4310). When the processing is completed for all the slaves (result of 4310 is “Y”), a stop condition is output, and the STO of the command REG 581 is set so that the mode for transmitting data is designated as “buffer mode”. Then, “1” is set in MODE and MODE, and “0” is set in STA and SI (4311), and the process returns to the calling process.

CPU551は、すべてのスレーブに対して処理が完了していない場合には(4310の結果が「N」)、リトライカウンタを0に設定し(4312)、次の処理対象のスレーブを選択する(4313)。そして、選択されたスレーブへの出力データを準備し(4314)、スタートフラグを“オン”に設定し(4315)、監視タイマを設定し、タイムアウトの監視を開始する(4316)。   If the processing has not been completed for all the slaves (the result of 4310 is “N”), the CPU 551 sets the retry counter to 0 (4312) and selects the next slave to be processed (4313). ). Then, output data to the selected slave is prepared (4314), a start flag is set to “on” (4315), a monitoring timer is set, and timeout monitoring is started (4316).

最後に、CPU551は、スタートコンディションを出力し、データを送信するモードを「バッファモード」に指定するようにコマンドREG581のSTA及びMODEに“1”、STO及びSIに“0”を設定し(4317)、呼び出し元の処理に復帰する。   Finally, the CPU 551 outputs a start condition and sets “1” to STA and MODE of the command REG581 and “0” to STO and SI so as to designate the mode for transmitting data as “buffer mode” (4317). ), Return to the calling process.

CPU551は、スタートフラグとステータスコードとの組合せによって、演出制御データを再送すると判定された場合には(4302の結果が「再送」)、リトライカウンタの値をインクリメントする(4318)。そして、リトライカウンタの値が、指定された値に到達したか否かを判定する(4319)。このときの指定された値は、図32又は図33に示した異常判定テーブル3200又は異常判定テーブル3300に設定されており、現在選択されているスレーブに対応する比較値3204に対応する。   If it is determined that the effect control data is retransmitted by the combination of the start flag and the status code (the result of 4302 is “retransmit”), the CPU 551 increments the value of the retry counter (4318). Then, it is determined whether or not the value of the retry counter has reached the designated value (4319). The designated value at this time is set in the abnormality determination table 3200 or the abnormality determination table 3300 shown in FIG. 32 or 33, and corresponds to the comparison value 3204 corresponding to the currently selected slave.

CPU551は、リトライカウンタの値が指定値に到達していない場合には(4322の結果が「N」)、現在選択中にスレーブを再度選択し(4320)、選択スレーブに出力するデータを準備し(4314)、ステップ4315以降の処理を実行する。   When the value of the retry counter has not reached the specified value (result of 4322 is “N”), the CPU 551 selects the slave again during the current selection (4320), and prepares data to be output to the selected slave. (4314), the processing after step 4315 is executed.

一方、CPU551は、リトライカウンタの値が指定値に到達した場合には(4322の結果が「Y」)、選択されているスレーブのエラーフラグ3205に“ON”を設定し、ステップ4310以降の処理を実行する。   On the other hand, when the value of the retry counter reaches the specified value (result of 4322 is “Y”), the CPU 551 sets “ON” to the error flag 3205 of the selected slave, and the processing after step 4310 Execute.

この場合、選択されていたスレーブへの出力データが出力用バッファ572に設定されているが、選択されていたスレーブに対して、送信に失敗したこの出力データを再送することは諦める。そして、次回の画像更新割込の発生時に、新たに出力データを生成して当該スレーブに送信する。   In this case, the output data to the selected slave is set in the output buffer 572, but the transmission of the output data that has failed to be transmitted to the selected slave is abandoned. Then, when the next image update interrupt occurs, new output data is generated and transmitted to the slave.

即ち、送信に失敗した出力データ(演出制御データ)を、次回の画像更新割込の発生の際にスレーブへ送信するようなことはせず、送信に失敗した演出制御データは破棄して、最新の画像の内容と同調するような演出制御データをその都度生成して、出力用バッファ572に設定する処理が行われる。   That is, the output data (production control data) that failed to be transmitted is not transmitted to the slave when the next image update interrupt occurs, and the production control data that failed to be transmitted is discarded and updated. Production control data that synchronizes with the contents of the image is generated each time and set in the output buffer 572.

最後に、CPU551は、スタートフラグとステータスコードとの組合せによって、演出制御データの送信再開処理を中止すると判定された場合には(4302の結果が「中止」)、呼び出し元の処理に復帰する。演出制御データの送信再開処理が中止される場合とは、接続線SDA又は接続線SCLが何らかの理由で占有され、さらに、この占有状態を解除できないため、データの送受信を行えない状態になっている場合である。   Finally, if it is determined by the combination of the start flag and the status code that the transmission restart process of the effect control data is to be stopped (the result of 4302 is “stop”), the CPU 551 returns to the calling process. When the transmission restart process of the effect control data is stopped, the connection line SDA or the connection line SCL is occupied for some reason, and furthermore, since this occupied state cannot be released, data transmission / reception cannot be performed. Is the case.

図44は、本発明の実施の形態のデータの送信再開処理の継続を判断するための送信処理継続判定表4400の一例を示す図である。   FIG. 44 is a diagram showing an example of a transmission processing continuation determination table 4400 for determining continuation of data transmission resumption processing according to the embodiment of this invention.

送信処理継続判定表4400には、前述のように、データ送信再開処理の継続を判断するための情報が格納される。データ送信再開処理には、初期化指示データの送信再開処理(図42)と、演出制御データの送信再開処理(図43)とが含まれ、送信処理継続判定表4400には各場合について処理の継続判断が登録されている。   The transmission process continuation determination table 4400 stores information for determining whether to continue the data transmission restart process as described above. The data transmission restart process includes an initialization instruction data transmission restart process (FIG. 42) and an effect control data transmission restart process (FIG. 43). The transmission process continuation determination table 4400 includes a process for each case. Continuation judgment is registered.

送信処理継続判定表4400には、ステータスコード4401、初期化指示データ送信再開処理の継続判断4402、演出制御データ送信再開処理の継続判断4403、及び状態4404が含まれる。   The transmission process continuation determination table 4400 includes a status code 4401, initialization instruction data transmission resumption process continuation determination 4402, effect control data transmission resumption process continuation determination 4403, and state 4404.

ステータスコード4401は、前述のように、実行される処理に関わらず、マスタICの状態を示す値である。   As described above, the status code 4401 is a value indicating the state of the master IC regardless of the processing to be executed.

状態4404は、ステータスコード4401に対応するマスタICの状態である。例えば、ステータスコードが“08H”の場合には、スタートコンディションの送信が完了した状態を示す。また、ステータスコードが“10H”の場合には、スタートコンディションの再送信、すなわち、リスタートコンディションの送信が完了したことを示している。   A state 4404 is a state of the master IC corresponding to the status code 4401. For example, when the status code is “08H”, it indicates a state where the transmission of the start condition is completed. Further, when the status code is “10H”, it indicates that the transmission of the start condition, that is, the transmission of the restart condition is completed.

また、本発明の実施の形態では、接続線SDA又は接続線SCLが何らかの理由で占有され、さらに、解除できなかった場合には、ステータスコード4401に“70H”又は“78H”が設定される。   In the embodiment of the present invention, the connection line SDA or the connection line SCL is occupied for some reason, and if it cannot be released, “70H” or “78H” is set in the status code 4401.

続いて、ステータスコードに対応する初期化指示データ送信再開処理の継続判断4402及び演出制御データ送信再開処理の継続判断4403について説明する。   Next, the continuation determination 4402 of the initialization instruction data transmission restart process corresponding to the status code and the continuation determination 4403 of the effect control data transmission restart process will be described.

初期化指示データ送信再開処理では、初期化段階番号に対応する段階ごとに処理が実行されており、初期化指示データ送信再開処理の継続判断4402は、初期化段階番号ごとに定義されている。具体的には、図に示すように、初期化段階番号の値とステータスコードの値との組合せに対応して、「継続」又は「再開」が定義されている。   In the initialization instruction data transmission restart process, the process is executed for each stage corresponding to the initialization stage number, and the continuation determination 4402 of the initialization instruction data transmission restart process is defined for each initialization stage number. Specifically, as shown in the figure, “continuation” or “resumption” is defined corresponding to the combination of the value of the initialization stage number and the value of the status code.

継続判断4402の値が「継続」の場合には、初期化指示データ送信再開処理が正常に処理されていることを示している。具体的には、初期化段階番号が1の場合にスタートコンディションの出力が成功した場合や、初期化段階番号が2の場合にアドレスの送信が成功した場合に継続判断4402の値が「継続」になる。すなわち、初期化指示データ送信再開処理で実行された処理と、ステータスレジスタ(REG)582に設定されたステータスコードとが整合している場合に継続判断4402の値が「継続」になる。   When the value of the continuation determination 4402 is “continuation”, it indicates that the initialization instruction data transmission restart process is being processed normally. Specifically, when the output of the start condition is successful when the initialization stage number is 1, or when the address transmission is successful when the initialization stage number is 2, the value of the continuation determination 4402 is “continue”. become. That is, when the process executed in the initialization instruction data transmission restart process and the status code set in the status register (REG) 582 match, the value of the continuation determination 4402 becomes “continue”.

一方、継続判断4402の値が「再開」の場合には、初期化指示データ送信再開処理が正常に処理されていない場合など、初期化指示データ送信再開処理を再度開始する場合に設定される。すなわち、初期化指示データ送信再開処理で実行された処理と、ステータスレジスタ(REG)582に設定されたステータスコードとが整合しない場合であり、例えば、データの送信に失敗した場合などである。   On the other hand, when the value of the continuation determination 4402 is “restart”, it is set when the initialization instruction data transmission restart process is restarted, such as when the initialization instruction data transmission restart process is not normally processed. That is, the process executed in the initialization instruction data transmission restart process is not consistent with the status code set in the status register (REG) 582, for example, when data transmission has failed.

演出制御データ送信再開処理では、スタートフラグの設定値に基づいて処理が実行されており、演出制御データ送信再開処理の継続判断4403は、スタートフラグの設定値ごとに定義されている。具体的には、図に示すように、スタートフラグの値とステータスコードの値との組合せに対応して、「継続」、「再送」又は「中止」が定義されている。   In the effect control data transmission restart process, the process is executed based on the set value of the start flag, and the continuation determination 4403 of the effect control data transmission restart process is defined for each set value of the start flag. Specifically, as shown in the figure, “continuation”, “retransmission” or “cancel” is defined corresponding to the combination of the value of the start flag and the value of the status code.

スタートフラグは、スタートコンディションが出力された後、最初にデータが送信されたタイミングでONに設定され、処理が継続されるとOFFに設定される。すなわち、初期設定が終了するとスタートフラグがOFFに設定され、その後、継続してデータが送信される。継続判断4403の値が「継続」の場合は、スタートコンディション送信後(スタートフラグがON)にステータスコードが「08H」又は「10H」に設定されていた場合、データ送信後(スタートフラグがOFF)にデータ送信の成功を示すステータスコード「28H」が設定されている場合となる。   The start flag is set to ON when data is first transmitted after the start condition is output, and is set to OFF when the process is continued. That is, when the initial setting is completed, the start flag is set to OFF, and then data is continuously transmitted. When the value of the continuation determination 4403 is “continuation”, after the start condition transmission (start flag is ON) and the status code is set to “08H” or “10H”, after data transmission (start flag is OFF) Is set with a status code “28H” indicating successful data transmission.

一方、接続線SDA又は接続線SCLが何らかの理由で占有状態になっており、解除できない場合には、データを送受信することができないため、データの送受信を中止する。具体的には、ステータスコード4401が「70H」又は「78H」の場合である。   On the other hand, if the connection line SDA or the connection line SCL is in an occupied state for some reason and cannot be released, the data transmission / reception is stopped because the data cannot be transmitted / received. Specifically, the status code 4401 is “70H” or “78H”.

その他の場合、すなわち、データの送受信が可能な状態でステータスコードとスタートフラグとの整合していない場合には、「再送」が設定されており、演出制御データを再送する処理が実行される。   In other cases, that is, when the status code and the start flag are not matched in a state where data can be transmitted and received, “retransmission” is set, and processing for retransmitting the presentation control data is executed.

図45は、本発明の実施の形態のマスタICによるデータ送信処理の手順を示すフローチャートである。本処理は、第1マスタIC570a及び第2マスタIC570bの共通処理であり、CPU551によって、コマンドレジスタ581(図11及び図12参照)のSIのビットに“0”が設定されると、割込み処理の発生によって待機していたマスタICが、当該処理を開始する。   FIG. 45 is a flowchart illustrating a procedure of data transmission processing by the master IC according to the embodiment of this invention. This process is common to the first master IC 570a and the second master IC 570b. When the CPU 551 sets “0” in the SI bit of the command register 581 (see FIGS. 11 and 12), the interrupt process is performed. The master IC that has been waiting due to the occurrence starts the processing.

まず、マスタICのコントローラ574は、ストップコンディションの出力が要求されているか否か、すなわち、コマンドREG581のSTOに“1”が設定されているか否かを判定する(4501)。   First, the controller 574 of the master IC determines whether or not output of a stop condition is requested, that is, whether or not “1” is set in the STO of the command REG 581 (4501).

コントローラ574は、ストップコンディションの出力が要求されている場合には(4501の結果が「Y」)、ストップコンディション出力処理を実行する(4502)。ストップコンディション出力処理は、接続線SCL及び接続線SDAの信号レベルに応じてストップコンディションを実行するために必要な処理を実行する。ストップコンディション出力処理の詳細については、図46にて後述する。   When the output of the stop condition is requested (the result of 4501 is “Y”), the controller 574 executes the stop condition output process (4502). The stop condition output process executes a process necessary for executing the stop condition according to the signal levels of the connection line SCL and the connection line SDA. Details of the stop condition output processing will be described later with reference to FIG.

コントローラ574は、さらに、スタートコンディションの出力が要求されているか否か、すなわち、コマンドREG581のSTAに“1”が設定されているか否かを判定する(4503)。スタートコンディションの出力が要求されている場合には(4503の結果が「Y」)、スタートコンディション出力処理を実行する(4506)。スタートコンディション出力処理は、接続線SCL及び接続線SDAの信号レベルに応じてスタートコンディションを実行するために必要な処理を実行する。スタートコンディション出力処理の詳細については、図49にて後述する。   The controller 574 further determines whether or not the output of the start condition is requested, that is, whether or not “1” is set in the STA of the command REG581 (4503). When the output of the start condition is requested (the result of 4503 is “Y”), the start condition output process is executed (4506). The start condition output process executes a process necessary for executing the start condition according to the signal levels of the connection line SCL and the connection line SDA. Details of the start condition output processing will be described later with reference to FIG.

コントローラ574は、スタートコンディションの出力が要求されている場合には(4503の結果が「N」)、STCDの値をステータスコードに設定する(4506)。STCDは、設定されるステータスコードを代入するための変数である。ステータスコードに値を設定すると、本処理を終了する。   When the output of the start condition is requested (the result of 4503 is “N”), the controller 574 sets the value of STCD as the status code (4506). STCD is a variable for substituting a set status code. When a value is set for the status code, this process ends.

コントローラ574は、ストップコンディションの出力が要求されていない場合には(4501の結果が「N」)、スタートコンディションの出力が要求されているか否か、すなわち、コマンドREG581のSTAに“1”が設定されているか否かを判定する(4505)。スタートコンディションの出力が要求されている場合には(4505の結果が「Y」)、スタートコンディション出力処理を実行する(4506)。そして、スタートコンディション出力処理で設定されたSTCDの値をステータスコードに設定する(4507)。その後、コマンドREG581のSIに“1”を設定することによって送信中断割込みを発生させる。   When the output of the stop condition is not requested (the result of 4501 is “N”), the controller 574 sets “1” to the STA of the command REG 581 as to whether or not the output of the start condition is requested. It is determined whether or not it has been done (4505). When the output of the start condition is requested (the result of 4505 is “Y”), the start condition output process is executed (4506). Then, the STCD value set in the start condition output process is set in the status code (4507). Thereafter, a transmission interruption interrupt is generated by setting “1” to the SI of the command REG581.

コントローラ574は、スタートコンディションの出力が要求されていない場合には(4505の結果が「N」)、スレーブへのデータ送信処理を実行する(4508)。そして、スレーブへのデータ送信処理で設定されたSTCDの値をステータスコードに設定する(4507)。その後、コマンドREG581のSIに“1”を設定することによって送信中断割込みを発生させる。   If the output of the start condition is not requested (the result of 4505 is “N”), the controller 574 executes data transmission processing to the slave (4508). Then, the STCD value set in the data transmission process to the slave is set in the status code (4507). Thereafter, a transmission interruption interrupt is generated by setting “1” to the SI of the command REG581.

図46は、本発明の実施の形態のストップコンディション出力処理の手順を示すフローチャートである。   FIG. 46 is a flowchart showing a procedure of stop condition output processing according to the embodiment of the present invention.

ストップコンディションは、接続線SCLの信号レベルをHIGHに維持したまま、接続線SDAの信号レベルをLOWからHIGHに変更させることによって出力される。ストップコンディション出力処理では、処理開始時の各接続線の信号レベルに応じて処理を実行する。   The stop condition is output by changing the signal level of the connection line SDA from LOW to HIGH while maintaining the signal level of the connection line SCL at HIGH. In the stop condition output process, the process is executed according to the signal level of each connection line at the start of the process.

コントローラ574は、ストップコンディション出力処理を開始すると、接続線SCL及び接続線SDAの信号レベルに応じて処理を分岐させる(4601)。   When starting the stop condition output process, the controller 574 branches the process according to the signal levels of the connection line SCL and the connection line SDA (4601).

コントローラ574は、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにHIGHの場合には、トランジスタ578b(図11又は図12)をオンさせて、接続線SCLの信号レベルをLOWに設定する(4602)。ステップ4602の処理が終了した後、又は、接続線SCLの信号レベルがLOW、かつ、接続線SDAの信号レベルがHIGHの場合には、トランジスタ578a(図11又は図12)をオンさせて、接続線SDAの信号レベルをLOWに設定する(4603)。   When both the signal level of the connection line SCL and the signal level of the connection line SDA are HIGH, the controller 574 turns on the transistor 578b (FIG. 11 or FIG. 12) and sets the signal level of the connection line SCL to LOW. (4602). After the processing of step 4602 is completed, or when the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH, the transistor 578a (FIG. 11 or FIG. 12) is turned on to establish a connection. The signal level of the line SDA is set to LOW (4603).

コントローラ574は、ステップ4603の処理が終了した後、又は、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにLOWの場合には、接続線SCLを解放するためのSCL解放監視処理を実行する(4604)。   The controller 574 executes an SCL release monitoring process for releasing the connection line SCL after the process of step 4603 is completed or when both the signal level of the connection line SCL and the signal level of the connection line SDA are LOW. (4604).

SCL解放監視処理は、LOWレベルとなっている接続線SCLの信号レベルをHIGHに設定することによって、データの送受信が可能な状態にする処理である。SCL解放監視処理の詳細については、図47にて後述する。なお、SCL解放監視処理が正常に終了すると、接続線SCLの信号レベルはHIGHに設定されている。また、接続線SCLの信号レベルをHIGHに設定することができず、接続線SCLを解放できなかった場合には、送信中断割込みを発生させる。   The SCL release monitoring process is a process for enabling data transmission / reception by setting the signal level of the connection line SCL at the LOW level to HIGH. Details of the SCL release monitoring process will be described later with reference to FIG. When the SCL release monitoring process ends normally, the signal level of the connection line SCL is set to HIGH. If the signal level of the connection line SCL cannot be set to HIGH and the connection line SCL cannot be released, a transmission interruption interrupt is generated.

コントローラ574は、ステップ4604の処理が終了した後、又は、接続線SCLの信号レベルがHIGH、かつ、接続線SDAの信号レベルがLOWの場合には、接続線SDAを解放するためのSDA解放監視処理を実行する(4605)。   The controller 574 monitors the SDA release for releasing the connection line SDA after the processing of step 4604 is completed or when the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW. Processing is executed (4605).

SDA解放監視処理は、接続線SDAの信号レベルをLOWからHIGHに変更する処理であり、何らかの理由で接続線SDAが占有され、信号レベルがLOWのままになっている場合には、占有された接続線SDAを解放する処理を含んでいる。SDA解放監視処理の詳細については、図48にて後述する。なお、SCL解放監視処理が正常に終了すると、接続線SDAの信号レベルはLOWからHIGHに変更されており、このとき、接続線SCLの信号レベルがHIGHに維持されているため、ストップコンディションが成立する。また、接続線SDAを解放できなかった場合には、送信中断割込みを発生させる。   The SDA release monitoring process is a process of changing the signal level of the connection line SDA from LOW to HIGH. If the connection line SDA is occupied for some reason and the signal level remains LOW, it is occupied. A process of releasing the connection line SDA is included. Details of the SDA release monitoring process will be described later with reference to FIG. Note that when the SCL release monitoring process ends normally, the signal level of the connection line SDA is changed from LOW to HIGH, and at this time, the signal level of the connection line SCL is maintained at HIGH, so that the stop condition is established. To do. If the connection line SDA cannot be released, a transmission interruption interrupt is generated.

図47は、本発明の実施の形態のSCL解放監視処理の手順を示すフローチャートである。   FIG. 47 is a flowchart illustrating a procedure of SCL release monitoring processing according to the embodiment of this invention.

コントローラ574は、SCL解放監視処理が開始されると、トランジスタ578b(図11又は図12)をオフすることで、接続線SCLを解放する(4701)。このとき、接続線SCLに接続されている他のIC(I/Oエキスパンダ615等)の全てが接続線SCLを解放していれば、接続線SCLの信号レベルがHIGHに変更される。続いて、接続線SCLの信号レベルがHIGHに変更され、接続線SCLが解放されたか否かを判定する(4702)。   When the SCL release monitoring process is started, the controller 574 releases the connection line SCL by turning off the transistor 578b (FIG. 11 or FIG. 12) (4701). At this time, if all other ICs (I / O expander 615, etc.) connected to the connection line SCL release the connection line SCL, the signal level of the connection line SCL is changed to HIGH. Subsequently, it is determined whether the signal level of the connection line SCL is changed to HIGH and the connection line SCL is released (4702).

コントローラ574は、接続線SCLの信号レベルがHIGHになっている場合には(4702の結果が「Y」)、処理が成功したため、呼び出し元の処理に復帰する。一方、接続線SCLの信号レベルがHIGHになっていない場合には(4702の結果が「N」)、所定の時間が経過するまで、接続線SCLの信号レベルがHIGHになったか否かを判定する(4702)。   When the signal level of the connection line SCL is HIGH (the result of 4702 is “Y”), the controller 574 returns to the caller process because the process was successful. On the other hand, if the signal level of the connection line SCL is not HIGH (the result of 4702 is “N”), it is determined whether or not the signal level of the connection line SCL has become HIGH until a predetermined time has elapsed. (4702).

コントローラ574は、所定の時間が経過しても接続線SCLの信号レベルがHIGHにならない場合には(4703の結果が「Y」)、接続線SCLを解放できないことを示す「78H」をステータスコードに設定し(4704)、送信中断割込みを発生させる。   If the signal level of the connection line SCL does not become HIGH even after a predetermined time has elapsed (the result of 4703 is “Y”), the controller 574 displays “78H” indicating that the connection line SCL cannot be released as a status code. (4704) to generate a transmission interruption interrupt.

図48は、本発明の実施の形態のSDA解放監視処理の手順を示すフローチャートである。   FIG. 48 is a flowchart illustrating a procedure of SDA release monitoring processing according to the embodiment of this invention.

接続線SDAの信号レベルをHIGHにすることができない場合、すなわち、接続線SDAが占有された場合には、接続線SDAを介してデータを出力することができない。そこで、ドライバ576aによってトランジスタ578aに動作可能な電圧を印加しないことによってトランジスタ578aをオンにさせずに(接続線SDAを解放した状態で)、接続SCLの信号レベルを少なくとも9回変化させる。   When the signal level of the connection line SDA cannot be HIGH, that is, when the connection line SDA is occupied, data cannot be output via the connection line SDA. Therefore, by not applying an operable voltage to the transistor 578a by the driver 576a, the signal level of the connection SCL is changed at least nine times without turning on the transistor 578a (with the connection line SDA released).

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

このようにして、読み出しモードとなったI2CI/Oエクスパンダ615から強制的に接続線SDAを解放させるので、接続線SDAの信号レベルはHIGHに維持されるようになる。以下、SDA解放監視処理の手順を説明する。 In this manner, the connection line SDA is forcibly released from the I 2 CI / O expander 615 that has entered the read mode, so that the signal level of the connection line SDA is maintained at HIGH. Hereinafter, the procedure of the SDA release monitoring process will be described.

コントローラ574は、まず、RCVFにオフを設定する(4801)。その後、トランジスタ578a(図11又は図12)をオフすることで、接続線SDAを解放する(4802)。このとき、接続線SDAに接続されている他のIC(I/Oエキスパンダ615等)の全てが接続線SDAを解放していれば、接続線SDAの信号レベルがHIGHに変更される。   First, the controller 574 sets RCVF to OFF (4801). Thereafter, the transistor 578a (FIG. 11 or FIG. 12) is turned off to release the connection line SDA (4802). At this time, if all other ICs (I / O expander 615, etc.) connected to the connection line SDA release the connection line SDA, the signal level of the connection line SDA is changed to HIGH.

コントローラ574は、接続線SDAの信号レベルがHIGHであるか否かを判定する(4803)。接続線SDAの信号レベルがHIGHであれば(4803の結果が「Y」)、接続線SDAを解放できたため、呼び出し元の処理に復帰する。   The controller 574 determines whether or not the signal level of the connection line SDA is HIGH (4803). If the signal level of the connection line SDA is HIGH (the result of 4803 is “Y”), the connection line SDA can be released, and the process returns to the caller process.

一方、コントローラ574は、接続線SDAの信号レベルがHIGHでない場合には(4803の結果が「N」)、所定の時間が経過するまで、接続線SDAの信号レベルがHIGHになったか否かを判定する(4804)。所定の時間が経過すると(4804の結果が「Y」)、接続線SDAが占有状態であると判定して、ステップ4805以降の接続線SDAを解放する処理を実行する。   On the other hand, if the signal level of the connection line SDA is not HIGH (the result of 4803 is “N”), the controller 574 determines whether or not the signal level of the connection line SDA has become HIGH until a predetermined time has elapsed. Determination is made (4804). When a predetermined time elapses (the result of 4804 is “Y”), it is determined that the connection line SDA is in an occupied state, and processing for releasing the connection line SDA after step 4805 is executed.

コントローラ574は、まず、接続線SCLに信号を入力した回数を示す変数LPの値に0を設定する(4805)。続いて、図47にて説明したSCL解放監視処理を実行する(4806)。さらに、SCL解放監視処理によってHIGHに変更された接続線SCLの信号レベルを、トランジスタ578aをオンさせることでLOWに設定する(4807)。ステップ4806及び4807の処理によって、接続線SCLの信号レベルはLOWからHIGH、さらにHIGHからLOWに変化する。さらに、LPに1を加算することによって(4808)、接続線SCLの信号レベルの変更回数をカウントする。   First, the controller 574 sets 0 to the value of the variable LP indicating the number of times that a signal has been input to the connection line SCL (4805). Subsequently, the SCL release monitoring process described in FIG. 47 is executed (4806). Further, the signal level of the connection line SCL changed to HIGH by the SCL release monitoring process is set to LOW by turning on the transistor 578a (4807). By the processing in steps 4806 and 4807, the signal level of the connection line SCL changes from LOW to HIGH, and further from HIGH to LOW. Further, by adding 1 to LP (4808), the number of signal level changes of the connection line SCL is counted.

コントローラ574は、LPの値が9になったか否か、すなわち、接続線SCLの信号レベルの変更回数が9回に到達したか否かを判定する(4809)。LPの値が9に到達していない場合には(4809の結果が「N」)、ステップ4806から4808までの処理を再度実行する。   The controller 574 determines whether or not the value of LP has reached 9, that is, whether or not the number of signal level changes of the connection line SCL has reached 9 (4809). If the LP value has not reached 9 (the result of 4809 is “N”), the processing from steps 4806 to 4808 is executed again.

コントローラ574は、LPの値が9に到達した場合には(4809の結果が「Y」)、接続線SDAの信号レベルがHIGHであるか否かを判定する(4810)。接続線SDAの信号レベルがHIGHになっていない場合には(4810の結果が「N」)、所定の時間が経過するまで、接続線SDAの信号レベルがHIGHになったか否かを判定する(4811)。所定の時間が経過しても接続線SDAの信号レベルがHIGHに設定されない場合には(4811の結果が「Y」)、接続線SDAが解放できないことを示す「70H」をステータスコードに設定し(4812)、送信中断割込みを発生させる。   When the value of LP reaches 9 (the result of 4809 is “Y”), the controller 574 determines whether or not the signal level of the connection line SDA is HIGH (4810). If the signal level of the connection line SDA is not HIGH (the result of 4810 is “N”), it is determined whether or not the signal level of the connection line SDA has become HIGH until a predetermined time elapses ( 4811). If the signal level of the connection line SDA is not set to HIGH even after a predetermined time has elapsed (the result of 4811 is “Y”), “70H” indicating that the connection line SDA cannot be released is set in the status code. (4812) A transmission interruption interrupt is generated.

一方、コントローラ574は、接続線SDAの信号レベルがHIGHに設定されている場合には(4810の結果が「Y」)、トランジスタ578aをオンさせて接続線SDAの信号レベルをLOWに設定し(4813)、SCL解放監視処理を実行する(4814)。さらに、トランジスタ578aをオフさせて接続線SDAを解放し(4815)、RCVFをオンに設定する(4816)。   On the other hand, when the signal level of the connection line SDA is set to HIGH (the result of 4810 is “Y”), the controller 574 turns on the transistor 578a and sets the signal level of the connection line SDA to LOW ( 4813), the SCL release monitoring process is executed (4814). Further, the transistor 578a is turned off to release the connection line SDA (4815), and RCVF is set to on (4816).

なお、接続線SCLの信号レベルを9回変化させることで接続線SDAを解放させる仕組みについては、図59にて詳細を説明する。   Note that a mechanism for releasing the connection line SDA by changing the signal level of the connection line SCL nine times will be described in detail with reference to FIG.

図49は、本発明の実施の形態のスタートコンディション出力処理の手順を示すフローチャートである。   FIG. 49 is a flowchart showing a procedure of start condition output processing according to the embodiment of the present invention.

スタートコンディションは、接続線SCLの信号レベルをHIGHに維持したまま、接続線SDAの信号レベルをHIGHからLOWに変更させることによって出力される。スタートコンディション出力処理では、処理開始時の各接続線の信号レベルに応じて処理を実行する。   The start condition is output 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. In the start condition output process, the process is executed according to the signal level of each connection line at the start of the process.

コントローラ574は、スタートコンディション出力処理を開始すると、接続線SCL及び接続線SDAの信号レベルに応じて処理を分岐させる(4901)。   When starting the start condition output process, the controller 574 branches the process according to the signal levels of the connection line SCL and the connection line SDA (4901).

コントローラ574は、接続線SCLの信号レベルがHIGH、かつ、接続線SDAの信号レベルがLOWの場合には、トランジスタ578b(図11又は図12)をオンさせて、接続線SCLの信号レベルをLOWに設定する(4902)。   When the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW, the controller 574 turns on the transistor 578b (FIG. 11 or 12) and sets the signal level of the connection line SCL to LOW. (4902).

コントローラ574は、ステップ4902の処理が終了した後、又は、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにLOWの場合には、SDA解放監視処理を実行する(4903)。続いて、RCVFの値がオンであるか否かを判定する(4904)。SDA解放監視処理の実行が正常に完了すると、接続線SDAの信号レベルはHIGHに設定されている。   The controller 574 executes the SDA release monitoring process after the process of step 4902 is completed or when both the signal level of the connection line SCL and the signal level of the connection line SDA are LOW (4903). Subsequently, it is determined whether or not the value of RCVF is ON (4904). When the execution of the SDA release monitoring process is normally completed, the signal level of the connection line SDA is set to HIGH.

コントローラ574は、RCVFの値がオンでない場合(4904の結果が「N」)、又は、接続線SCLの信号レベルがLOW、かつ、接続線SDAの信号レベルがHIGHの場合には、SCL解放監視処理を実行する(4905)。RCVFの値がオンの場合には、SCL解放監視処理が実行済みであり(図48のステップ4814)、接続線SCLの信号レベルがHIGHになっているためである。   When the RCVF value is not on (the result of 4904 is “N”), or when the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH, the controller 574 monitors the SCL release. Processing is executed (4905). This is because when the value of RCVF is ON, the SCL release monitoring process has been executed (step 4814 in FIG. 48), and the signal level of the connection line SCL is HIGH.

コントローラ574は、RCVFの値がオンの場合(4904の結果が「Y」)、又は、ステップ4905のSCL解放監視処理の実行後、スタートコンディションの再出力(リスタートコンディション)が完了したことを示す「10H」をSTCDに設定する(4907)。   The controller 574 indicates that when the RCVF value is on (the result of 4904 is “Y”), or after the execution of the SCL release monitoring process in step 4905, the re-output of the start condition (restart condition) is completed. “10H” is set in the STCD (4907).

コントローラ574は、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにHIGHの場合には、スタートコンディションの出力が完了したことを示す「08H」をSTCDに設定する(4906)。   When both the signal level of the connection line SCL and the signal level of the connection line SDA are HIGH, the controller 574 sets “08H” indicating that the output of the start condition is completed to the STCD (4906).

ステップ4906又はステップ4907の処理が終了した時点では、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにHIGHに設定されている。そこで、コントローラ574は、トランジスタ578a(図11又は図12)をオンさせて、接続線SDAの信号レベルをLOWに設定する(4908)。このように処理することによって、接続線SCLの信号レベルをHIGHに維持した状態で、接続線SDAの信号レベルをHIGHからLOWに変更されるため、スタートコンディションが成立する。   At the time when the processing of step 4906 or step 4907 is completed, the signal level of the connection line SCL and the signal level of the connection line SDA are both set to HIGH. Therefore, the controller 574 turns on the transistor 578a (FIG. 11 or FIG. 12) and sets the signal level of the connection line SDA to LOW (4908). By performing the processing in this way, the start condition is established because the signal level of the connection line SDA is changed from HIGH to LOW while the signal level of the connection line SCL is maintained at HIGH.

コントローラ574は、続いて、トランジスタ578bをオンさせて、接続線SCLの信号レベルをLOWに設定する(4909)。さらに、FBFの値をオンに設定する(4910)。FBFは、スタートコンディションが成立した直後であることを示すフラグであり、例えば、スタートコンディション成立後にデータを送信する場合に、FBFがオンであれば、最初に送信されたデータであるからスレーブのアドレスと判断する。そして、アドレス受信後にFBFをオフに設定することによって、受信したデータが演出制御データであることを各スレーブが認識することができる。   Subsequently, the controller 574 turns on the transistor 578b and sets the signal level of the connection line SCL to LOW (4909). Further, the FBF value is set to ON (4910). The FBF is a flag indicating that the start condition has been established. For example, when data is transmitted after the start condition is established, if the FBF is ON, the slave address since it is the first transmitted data. Judge. Then, by setting the FBF to OFF after receiving the address, each slave can recognize that the received data is presentation control data.

図50は、本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダ615へのデータ送信処理の手順を示すフローチャートである。 FIG. 50 is a flowchart illustrating a procedure of data transmission processing to the slave I 2 CI / O expander 615 according to the embodiment of this invention.

コントローラ574は、まず、データの送信回数を格納する変数CTRを0に初期化する(5001)。続いて、トランジスタ578b(図11又は図12)をオンさせて、接続線SCLの信号レベルをLOWに設定し(5002)、トランジスタ578a(図11又は図12)をオフさせて、接続線SDAを解放する(5003)。このとき、接続線SDAに接続されている他のIC(I/Oエキスパンダ615等)の全てが接続線SDAを解放していれば、接続線SDAの信号レベルがHIGHに変更される。   First, the controller 574 initializes a variable CTR for storing the number of data transmissions to 0 (5001). Subsequently, the transistor 578b (FIG. 11 or 12) is turned on, the signal level of the connection line SCL is set to LOW (5002), the transistor 578a (FIG. 11 or FIG. 12) is turned off, and the connection line SDA is turned on. Release (5003). At this time, if all other ICs (I / O expander 615, etc.) connected to the connection line SDA release the connection line SDA, the signal level of the connection line SDA is changed to HIGH.

コントローラ574は、接続線SDAの信号レベルがHIGH(第2のレベル)であるか否か、すなわち、接続線SDAが解放されているか否かを判定する(5004)。接続線SDAの信号レベルがHIGHでない場合には(5004の結果が「N」)、接続線SDAの信号レベルがHIGHになるまで待機する。即ち、接続線SDAがLOWレベル(第1のレベル)であれば、占有状態であると判定して、I/Oエクスパンダ615へのデータ送信を規制することになる。   The controller 574 determines whether or not the signal level of the connection line SDA is HIGH (second level), that is, whether or not the connection line SDA is released (5004). When the signal level of the connection line SDA is not HIGH (the result of 5004 is “N”), the process waits until the signal level of the connection line SDA becomes HIGH. That is, if the connection line SDA is at the LOW level (first level), it is determined that the connection line SDA is in the occupied state, and data transmission to the I / O expander 615 is restricted.

一方、コントローラ574は、接続線SDAの信号レベルがHIGHの場合には(5004の結果が「Y」)、変数CTRの値が8か否か、すなわち、データの送信回数が8回に到達したか否かを判定する(5005)。   On the other hand, when the signal level of the connection line SDA is HIGH (the result of 5004 is “Y”), the controller 574 determines whether or not the value of the variable CTR is 8, that is, the number of data transmissions has reached 8. It is determined whether or not (5005).

コントローラ574は、データの送信回数が8回に到達していない場合には(5005の結果が「N」)、接続線SDAを介してスレーブにデータを出力し、CTRに1を加算する(5006)。続いて、SCL解放監視処理を実行し(5007)、ステップ5002以降の処理を実行することによってさらにデータを出力する。   If the number of data transmissions has not reached eight (the result of 5005 is “N”), the controller 574 outputs data to the slave via the connection line SDA and adds 1 to the CTR (5006). ). Subsequently, an SCL release monitoring process is executed (5007), and further data is output by executing the processes after step 5002.

一方、コントローラ574は、データの送信回数が8回に到達すると(5005の結果が「Y」)、スレーブ側のI2CI/Oエクスパンダ615から接続線SDAを介して返答信号が出力される(5008)。 On the other hand, when the number of data transmissions reaches 8 (the result of 5005 is “Y”), the controller 574 outputs a response signal from the I 2 CI / O expander 615 on the slave side via the connection line SDA. (5008).

コントローラ574は、出力された返答信号を接続線SDAから取り込み(5009)、SCL解放監視処理を実行する(5010)。さらに、ステップ5009の処理で取り込まれた返答信号の内容が“ACK”であるか否かを判定する(5011)。   The controller 574 fetches the output response signal from the connection line SDA (5009) and executes the SCL release monitoring process (5010). Further, it is determined whether or not the content of the response signal fetched in step 5009 is “ACK” (5011).

コントローラ574は、スレーブからの返答信号の内容が“ACK”の場合には(5011の結果が「Y」)、トランジスタ578bをオンさせて、接続線SCLの信号レベルをLOWに設定し(5012)、スレーブによって接続線SDAを解放させる(5013)。さらに、現在のデータ送信モードがバッファモードであるか否かを判定する(5014)。   When the content of the response signal from the slave is “ACK” (the result of 5011 is “Y”), the controller 574 turns on the transistor 578b and sets the signal level of the connection line SCL to LOW (5012). Then, the connection line SDA is released by the slave (5013). Further, it is determined whether or not the current data transmission mode is the buffer mode (5014).

コントローラ574は、現在のデータ送信モードがバッファモードの場合には(5014の結果が「Y」)、最終バイトの送信が完了したか否かを判定する(5015)。最終バイトの送信が完了しておらず、さらにデータを送信する場合には(5015の結果が「N」)、FBFの値にオフを設定し、データの送信回数を示す変数CTRに0を設定する(5016)。FBFは、前述のように、スタートコンディションが成立した直後であることを示すフラグであり、最初のデータ送信後にオフに設定することによって、スレーブのアドレスの送信が終了していることを示すフラグとして扱うことができる。その後、接続線SDAの信号レベルがHIGHになるまで待機し(5004)、次のデータを送信する。   When the current data transmission mode is the buffer mode (result of 5014 is “Y”), the controller 574 determines whether or not the transmission of the last byte is completed (5015). If transmission of the last byte is not completed and data is to be transmitted (result of 5015 is “N”), the FBF value is set to OFF, and a variable CTR indicating the number of data transmissions is set to 0. (5016). As described above, the FBF is a flag indicating that the start condition has been established, and is set to OFF after the initial data transmission, thereby indicating that the transmission of the slave address has been completed. Can be handled. Thereafter, it waits until the signal level of the connection line SDA becomes HIGH (5004), and the next data is transmitted.

コントローラ574は、現在のデータ送信モードがバッファモードでない場合、すなわち、バイトモードの場合(5014の結果が「N」)、若しくは、最終バイトの送信が完了した場合には(5015の結果が「Y」)、FBFがオンに設定されているか否かを判定する(5017)。FBFがオンに設定されている場合には(5017の結果が「Y」)、FBFをオフに設定し、アドレスの送信が成功したことを示すステータスコード「18H」をSTCDに設定する(5018)。一方、FBFがオンに設定されていない場合には(5017の結果が「N」)、データの送信が成功したことを示すステータスコード「28H」をSTCDに設定する(5019)。   When the current data transmission mode is not the buffer mode, that is, in the byte mode (result of 5014 is “N”), or when the last byte transmission is completed (the result of 5015 is “Y ]), It is determined whether or not the FBF is set to ON (5017). If the FBF is set to ON (the result of 5017 is “Y”), the FBF is set to OFF and the status code “18H” indicating that the address transmission was successful is set to the STCD (5018). . On the other hand, when the FBF is not set to ON (result of 5017 is “N”), the status code “28H” indicating that the data transmission is successful is set in the STCD (5019).

また、コントローラ574は、スレーブからの返答信号の内容が返答信号の内容が“ACK”でない場合、すなわち、データを受信できなかったことを示す“NACK”であった場合には(5011の結果が「N」)、トランジスタ578bをオンさせて、接続線SCLの信号レベルをLOWに設定する(5012)。   Further, the controller 574, when the content of the response signal from the slave is not “ACK”, that is, “NACK” indicating that data could not be received (result of 5011 is "N"), the transistor 578b is turned on, and the signal level of the connection line SCL is set to LOW (5012).

さらに、コントローラ574は、FBFがオンに設定されているか否かを判定する(5021)。FBFがオンに設定されている場合には(5021の結果が「Y」)、アドレスの送信が失敗したことを示すステータスコード20HをSTCDに設定する(5022)。一方、FBFがオンに設定されていない場合には(5021の結果が「N」)、データの送信が失敗したことを示すステータスコード30HをSTCDに設定する(5023)。以上の処理が終了すると、呼び出し元の処理に復帰する。   Further, the controller 574 determines whether or not the FBF is set to ON (5021). When the FBF is set to ON (the result of 5021 is “Y”), the status code 20H indicating that the address transmission has failed is set in the STCD (5022). On the other hand, when the FBF is not set to ON (the result of 5021 is “N”), the status code 30H indicating that the data transmission has failed is set in the STCD (5023). When the above process ends, the process returns to the caller process.

図51から図53は、本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダ615における処理の手順を示すフローチャートである。 51 to 53 are flowcharts showing a processing procedure in the slave I 2 CI / O expander 615 according to the embodiment of this invention.

図51は、本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダ615における処理の手順を示すフローチャートである。 FIG. 51 is a flowchart illustrating a processing procedure in the slave-side I 2 CI / O expander 615 according to the embodiment of this invention.

スレーブ側のI2CI/Oエクスパンダ615は、図18にて説明したように、バスコントローラ634によって各種制御を実行する。 The slave I 2 CI / O expander 615 executes various controls by the bus controller 634 as described with reference to FIG.

バスコントローラ634は、まず、リセット信号発生回路639(図18参照、以下同様)によってリセット信号が発生すると、自身(I2CI/Oエクスパンダ615)の初期化処理を実行する(5101)。このとき、ドライバ632によってトランジスタ630がオフし、接続線SDAが解放される。また、ドライバ637によって、ポート0〜15に接続されるトランジスタ638A〜638Pの全てがオフする。また、出力設定レジスタ635が、予め定められた初期状態に設定される。次いで、接続線SCL及び接続線SDAの信号レベルを取り込む。そして、接続線SCL及び接続線SDAの信号レベルがともにHIGHである状態5103になるまで待機する(5102)。 First, when a reset signal is generated by the reset signal generation circuit 639 (see FIG. 18, the same applies hereinafter), the bus controller 634 executes initialization processing for itself (I 2 CI / O expander 615) (5101). At this time, the transistor 630 is turned off by the driver 632 and the connection line SDA is released. In addition, the driver 637 turns off all of the transistors 638A to 638P connected to the ports 0 to 15. Further, the output setting register 635 is set to a predetermined initial state. Next, the signal levels of the connection line SCL and the connection line SDA are captured. And it waits until it becomes the state 5103 in which the signal level of both the connection line SCL and the connection line SDA is HIGH (5102).

バスコントローラ634は、接続線SCL及び接続線SDAが状態5103になると(5102の結果が「Y」)、接続線SCL及び接続線SDAのいずれか一方の信号レベルが変化するまでのまま待機する(5104)。   When the connection line SCL and the connection line SDA are in the state 5103 (the result of 5102 is “Y”), the bus controller 634 waits until the signal level of either the connection line SCL or the connection line SDA changes ( 5104).

バスコントローラ634は、状態5103から接続線SDAの信号レベルがLOWに変化した場合には(5104の結果が「SDA▽」)、変数CNを0に設定し、状態番号を1に設定し、データを一時的に格納する準備領域をクリアする(5105)。変数CNは、データを受信した回数を示すカウンタである。また、状態番号は、マスタから送信された信号に応じて設定され、例えば、スレーブに要求された処理(書き込み処理、読み出し処理など)などに対応する。なお、接続線SCL及び接続線SDAの信号レベルがともにHIGHである状態5103から接続線SDAの信号レベルがLOWに変化した場合にはスタートコンディションがマスタICから出力されたことに相当し、状態番号1は、スタートコンディションが出力されたことを示している。   When the signal level of the connection line SDA changes to LOW from the state 5103 (the result of 5104 is “SDA ▽”), the bus controller 634 sets the variable CN to 0, sets the state number to 1, and sets the data Is cleared (5105). The variable CN is a counter indicating the number of times data has been received. Further, the state number is set according to a signal transmitted from the master, and corresponds to, for example, a process requested by the slave (write process, read process, etc.). Note that when the signal level of the connection line SDA changes from LOW in the state 5103 in which the signal levels of the connection line SCL and the connection line SDA are both HIGH, this corresponds to the start condition being output from the master IC. 1 indicates that a start condition has been output.

このとき、接続線SCLの信号レベルがHIGH、接続線SDAの信号レベルがLOWである状態5106になっている。バスコントローラ634は、接続線SCL又は接続線SDAの信号レベルが変化するまで待機する(5107)。   At this time, the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW. The bus controller 634 waits until the signal level of the connection line SCL or the connection line SDA changes (5107).

バスコントローラ634は、状態5106から接続線SCLの信号レベルがLOWに変化した場合には(5107の結果が「SCL▽」)、変数CNが8になったか否か、すなわち、8回データを受信したか否かを判定する(5108)。変数CNの値が8になっていない場合には(5108の結果が「N」)、この段階で接続線SCL及び接続線SDAの信号レベルがともにLOWである状態5109になっている。その後、接続線SCL又は接続線SDAの信号レベルが変化するまで待機する(5110)。   When the signal level of the connection line SCL changes to LOW from the state 5106 (the result of 5107 is “SCL ▽”), the bus controller 634 receives the data eight times, that is, whether or not the variable CN has become 8. It is determined whether or not (5108). If the value of the variable CN is not 8 (the result of 5108 is “N”), the signal level of the connection line SCL and the connection line SDA is both LOW at this stage. Thereafter, the process waits until the signal level of the connection line SCL or the connection line SDA changes (5110).

バスコントローラ634は、接続線SDAの信号レベルがHIGHに変化した場合には(5110の結果が「SDA△」)、接続線SCLの信号レベルがLOW、接続線SDAの信号レベルがHIGHである状態5111に移行し、接続線SCL又は接続線SDAの信号レベルが変化するまで待機する(5112)。   When the signal level of the connection line SDA changes to HIGH (the result of 5110 is “SDAΔ”), the bus controller 634 indicates that the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH. The process moves to 5111 and waits until the signal level of the connection line SCL or connection line SDA changes (5112).

バスコントローラ634は、接続線SDAの信号レベルがLOWに変化した場合には(5112の結果が「SDA▽」)、状態5109に移行し、接続線SCL又は接続線SDAの信号レベルが変化するまで待機する(5110)。   When the signal level of the connection line SDA changes to LOW (the result of 5112 is “SDA ▽”), the bus controller 634 proceeds to the state 5109 until the signal level of the connection line SCL or the connection line SDA changes. Wait (5110).

一方、バスコントローラ634は、接続線SCLの信号レベルがHIGHに変化した場合には(5112の結果が「SCL△」)、状態番号が1又は2であるか否か、すなわち、スタートコンディション出力後であるか、又は要求された処理が書き込み要求であるかを判定する(5115)。   On the other hand, when the signal level of the connection line SCL changes to HIGH (the result of 5112 is “SCLΔ”), the bus controller 634 determines whether the state number is 1 or 2, that is, after the start condition is output. Or whether the requested process is a write request (5115).

バスコントローラ634は、状態番号が1又は2である場合には(5115の結果が「Y」)、変数CNの値に1加算し、受信バッファに格納されたデータを取り込む(5116)。状態番号が1又は2でない場合(5115の結果が「N」)、又はステップ5116の処理が終了すると、接続線SCL及び接続線SDAの信号レベルがともにHIGHである状態5103となり、接続線SCL又は接続線SDAの信号レベルが変化するまで待機する(5104)。   When the state number is 1 or 2 (the result of 5115 is “Y”), the bus controller 634 adds 1 to the value of the variable CN and takes in the data stored in the reception buffer (5116). When the state number is not 1 or 2 (the result of 5115 is “N”) or when the processing of step 5116 is completed, the state 5103 in which the signal levels of the connection line SCL and the connection line SDA are both HIGH is obtained, and the connection line SCL or Wait until the signal level of the connection line SDA changes (5104).

バスコントローラ634は、接続線SCL及び接続線SDAの信号レベルがHIGHである状態5103の場合に、接続線SCLの信号レベルがLOWに変化すると(5104の結果が「SCL▽」)、変数CNが8になったか否か、すなわち、8回データを受信したか否かを判定する(5117)。変数CNの値が8になっていない場合には(5117の結果が「N」)、この段階で接続線SCLの信号レベルがLOW、接続線SDAの信号レベルがHIGHである状態5111になっており、ステップ5112以降の処理を実行する。一方、変数CNの値が8になった場合には(5117の結果が「Y」)、図52に示すステップ5201以降の処理を実行する。   In the state 5103 in which the signal levels of the connection line SCL and the connection line SDA are HIGH, the bus controller 634 changes the signal level of the connection line SCL to LOW (the result of 5104 is “SCL バ ス”). It is determined whether or not 8 has been reached, that is, whether or not data has been received 8 times (5117). If the value of the variable CN is not 8 (the result of 5117 is “N”), the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH at this stage. Therefore, the processing after step 5112 is executed. On the other hand, when the value of the variable CN becomes 8 (the result of 5117 is “Y”), the processing after step 5201 shown in FIG. 52 is executed.

また、バスコントローラ634は、接続線SCLの信号レベルがHIGH、接続線SDAの信号レベルがLOWである状態5106の場合に、接続線SDAの信号レベルがHIGHに変化すると(5107の結果が「SDA△」)、状態番号が2、すなわち、要求された処理が読み出し要求であるか否かを判定する(5118)。なお、接続線SCLの信号レベルがHIGH、接続線SDAの信号レベルがLOWである状態5106から、接続線SDAの信号レベルがHIGHに変化することは、ストップコンディションが出力されたことに相当する。   In addition, in the state 5106 in which the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW, the bus controller 634 changes the signal level of the connection line SDA to HIGH (the result of 5107 is “SDA”). Δ ”), it is determined whether or not the state number is 2, that is, the requested process is a read request (5118). Note that the change of the signal level of the connection line SDA from HIGH in the state 5106 in which the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW corresponds to the output of the stop condition.

バスコントローラ634は、状態番号が2の場合には(5118の結果が「Y」)。準備領域に格納されたデータを設定レジスタに格納する(5119)。状態番号が2でない場合(5118の結果が「N」)、又はステップ5119の処理が終了すると、状態番号に0をセットする(5120)。このとき、接続線SCL及び接続線SDAの信号レベルがともにHIGHである状態5103となっているため、接続線SCL又は接続線SDAの信号レベルが変化するまで待機し(5104)、処理を継続する。   If the state number is 2 (the result of 5118 is “Y”), the bus controller 634 is informed. The data stored in the preparation area is stored in the setting register (5119). When the state number is not 2 (the result of 5118 is “N”) or when the processing of step 5119 is completed, 0 is set to the state number (5120). At this time, since the signal levels of both the connection line SCL and the connection line SDA are in the high state 5103, the process waits until the signal level of the connection line SCL or the connection line SDA changes (5104) and the processing is continued. .

図52は、本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダ615におけるアドレス認識処理などの手順を示すフローチャートである。 FIG. 52 is a flowchart showing a procedure such as address recognition processing in the slave-side I 2 CI / O expander 615 according to the embodiment of this invention.

なお、本実施形態で用いるI2CI/Oエクスパンダ615は、読み出しモードの発生が可能なものでも不可能なものでも使用可能である。そのため、何れのタイプのI2CI/Oエクスパンダ615を設けた場合を想定して、フローチャートの説明を行うことにする。 Note that the I 2 CI / O expander 615 used in the present embodiment can be used regardless of whether the read mode can be generated or not. For this reason, the flowchart will be described assuming that any type of I 2 CI / O expander 615 is provided.

ここで、読み出しモードについて説明する。   Here, the reading mode will be described.

本実施形態では、マスタICからI2CI/Oエクスパンダ615へ所定単位バイトのデータ送信を行う毎に、I2CI/Oエクスパンダ615からマスタICへ1ビットの返答信号を受信する構成により、マスタICからI2CI/Oエクスパンダ615へ演出制御データを送信するようになっている。 In the present embodiment, each time transmitting data of a predetermined unit of bytes from the master IC to the I 2 CI / O expander 615, the configuration for receiving a response signal 1 bit from I 2 CI / O expander 615 to the master IC The production control data is transmitted from the master IC to the I 2 CI / O expander 615.

ところで、遊技機によっては、I2CI/Oエクスパンダ615からマスタICへ所定単位バイトのデータ送信を行うように構成できたほうが、都合がよいことも考えられる。例えば、I2CI/Oエクスパンダ615にて、遊技に係わる各種センサの検出状態を検出し、マスタICへ伝達するような仕様の遊技機を開発するような場合である。 By the way, it may be convenient for some gaming machines to be configured to transmit data of a predetermined unit byte from the I 2 CI / O expander 615 to the master IC. For example, the I 2 CI / O expander 615 may detect a detection state of various sensors related to a game and develop a gaming machine with specifications that can be transmitted to a master IC.

このような遊技機で用いられるI2CI/Oエクスパンダ615は、マスタICからの要求により、I2CI/Oエクスパンダ615の内部で「読み出しモード」を発生させ、マスタICからのSCL信号の変化に対応させて、I2CI/Oエクスパンダ615からマスタICへ所定単位バイトのデータ送信を行う毎に、マスタICからI2CI/Oエクスパンダ615からへ1ビットの返答信号を送信する構成にすることが好ましい。 The I 2 CI / O expander 615 used in such a gaming machine generates a “read mode” inside the I 2 CI / O expander 615 in response to a request from the master IC, and generates an SCL signal from the master IC. in correspondence with the change, transmitted per transmitting data of a predetermined unit of bytes from the I 2 CI / O expander 615 to the master IC, a response signal 1 bit to the I 2 CI / O expander 615 from the master IC It is preferable to adopt a configuration to do so.

具体的には、マスタICからスレーブ側のI2CI/Oエクスパンダ615に送信されるアドレスデータのうち、R/W識別データ2204のビットが「1」となる場合を、読み出しモードを発生させるための要求(以下、「読み出し要求」とする)として、予め定義しておくことにする。 Specifically, the read mode is generated when the bit of the R / W identification data 2204 is “1” in the address data transmitted from the master IC to the slave I 2 CI / O expander 615. This request is defined in advance as a request (hereinafter referred to as a “read request”).

バスコントローラ634は、接続線SCL及び接続線SDAの信号レベルがHIGHである状態で接続線SCLの信号レベルがLOWに変化した場合に(図51の5104の結果が「SCL▽」)、データを8回受信、すなわち、データの受信が完了すると(5117の結果が「Y」)、マスタIC側で接続線SDAが解放される(5201)。   When the signal level of the connection line SCL changes to LOW with the signal levels of the connection line SCL and the connection line SDA being HIGH (the result of 5104 in FIG. 51 is “SCL ▽”), the bus controller 634 When reception is performed eight times, that is, when data reception is completed (result of 5117 is “Y”), the connection line SDA is released on the master IC side (5201).

続いて、バスコントローラ634は、状態番号が1であるか否か、すなわち、スタートコンディションが出力された直後であるか否かを判定する(5202)。状態番号が1である場合には(5202の結果が「Y」)、受信したアドレスが自身(I2CI/Oエクスパンダ615)に付与されているアドレスと一致するか否かを確認する(5203、5204)。 Subsequently, the bus controller 634 determines whether or not the state number is 1, that is, whether or not it is immediately after the start condition is output (5202). If the status number is 1 (the result of 5202 is “Y”), it is confirmed whether or not the received address matches the address assigned to itself (I 2 CI / O expander 615) ( 5203, 5204).

受信したアドレスと自身のアドレスとが一致しない場合には(5204の結果が「N」)、状態番号を0に設定し(5217)、ステップ5213以降の処理を実行する。ここでは、受信したアドレスが前述の「読み出し要求」に相当し、且つ、当該処理を行うI2CI/Oエクスパンダ615が前述の読み出しモードを発生不可能なものであるときにも、ステップ5204の判定結果を「N」とする。 If the received address does not match its own address (the result of 5204 is “N”), the state number is set to 0 (5217), and the processing after step 5213 is executed. Here, even when the received address corresponds to the above-mentioned “read request” and the I 2 CI / O expander 615 that performs the process cannot generate the read mode, the step 5204 is performed. The determination result is “N”.

一方で、受信したアドレスと自身のアドレスとが一致する場合には(5204の結果が「Y」)、要求された処理が読み出し要求か否かを判定する(5205)。要求された処理が読み出し要求の場合には(5205の結果が「Y」)、図53のステップ5301以降の処理を実行する。   On the other hand, if the received address matches its own address (the result of 5204 is “Y”), it is determined whether or not the requested process is a read request (5205). If the requested process is a read request (the result of 5205 is “Y”), the processes after step 5301 in FIG. 53 are executed.

一方、バスコントローラ634は、要求された処理が読み出し要求でない場合、すなわち、書き込み要求の場合には(5205の結果が「N」)、対応する状態番号である2を設定する(5206)。   On the other hand, if the requested process is not a read request, that is, if it is a write request (result of 5205 is “N”), the bus controller 634 sets 2 as the corresponding state number (5206).

バスコントローラ634は、その後、ドライバ632を駆動してトランジスタ630をオンさせることにより、接続線SDAの信号レベルをLOWに設定して信号線の占有を開始する。さらに、自己占有WDT641を作動させて、自己占有WDT641によるバスの監視を開始する(5207)。自己占有WDT641は、バスコントローラ634によってバスの占有が開始されると、タイマを起動し、所定の時間が経過すると、自身(I2CI/Oエクスパンダ615)をリセットする。このように処理することによって、接続線SDAを占有し続けた場合であっても、自己占有WDT641に設定された時間が経過すると、リセットによって占有を解除することができる。このとき、自身のみをリセットすることによって、他に対する影響を最小限に抑えることができる。 Thereafter, the bus controller 634 drives the driver 632 to turn on the transistor 630, thereby setting the signal level of the connection line SDA to LOW and starting the occupation of the signal line. Further, the self-occupied WDT 641 is operated to start monitoring the bus by the self-occupied WDT 641 (5207). The self-occupied WDT 641 starts a timer when the bus controller 634 starts to occupy the bus, and resets itself (I 2 CI / O expander 615) when a predetermined time elapses. By processing in this way, even when the connection line SDA is continuously occupied, the occupation can be released by reset when the time set in the self-occupied WDT 641 has elapsed. At this time, the influence on others can be minimized by resetting only itself.

このとき、接続線SCL及び接続線SDAの信号レベルはともにLOWである状態5208となっており、次いで、バスコントローラ634は、接続線SCLの信号レベルがHIGHに変化するまで待機する(5209)。   At this time, the signal levels of the connection line SCL and the connection line SDA are both LOW, and the bus controller 634 waits until the signal level of the connection line SCL changes to HIGH (5209).

バスコントローラ634は、接続線SCLの信号レベルがHIGHに変化すると(5209の結果が「SCL△」)、接続線SCLの信号レベルがHIGH、接続線SDAの信号レベルがLOWである状態5210となり、さらに、接続線SCLの信号レベルがLOWに変化するまで待機する(5211)。   When the signal level of the connection line SCL changes to HIGH (result of 5209 is “SCLΔ”), the bus controller 634 enters a state 5210 where the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW. Further, it waits until the signal level of the connection line SCL changes to LOW (5211).

バスコントローラ634は、接続線SCLの信号レベルがLOWに変化すると(5209の結果が「SCL▽」)、ドライバ632を駆動してトランジスタ630をオフさせることにより接続線SDAを解放し、自己占有WDT641を停止させて、自己占有WDT641によるバスの監視を終了する(5212)。そして、変数CNの値を0に設定し、受信バッファをクリアする(5213)。このとき、接続線SCLの信号レベルがLOW、接続線SDAの信号レベルがHIGHとなり、図51の状態5111となるため、図51のステップ5112以降の処理を実行する。   When the signal level of the connection line SCL changes to LOW (the result of 5209 is “SCL ▽”), the bus controller 634 releases the connection line SDA by driving the driver 632 to turn off the transistor 630, and the self-occupied WDT 641. The bus monitoring by the self-occupied WDT 641 is terminated (5212). Then, the value of the variable CN is set to 0, and the reception buffer is cleared (5213). At this time, the signal level of the connection line SCL is LOW, the signal level of the connection line SDA is HIGH, and the state 5111 in FIG. 51 is obtained, so the processing from step 5112 in FIG. 51 is executed.

また、バスコントローラ634は、ステップ5202の処理において状態番号が1でない場合には(5202の結果が「N」)、受信の成否を判定する(5214、5215)。受信が成功していた場合には(5215の結果が「Y」)、受信バッファのデータを準備領域に格納し(5216)、ステップ5207以降の処理を実行する。   If the status number is not 1 in the process of step 5202 (result of 5202 is “N”), the bus controller 634 determines whether the reception is successful (5214, 5215). If the reception is successful (the result of 5215 is “Y”), the data in the reception buffer is stored in the preparation area (5216), and the processing after step 5207 is executed.

一方、バスコントローラ634は、データの受信に失敗した場合には(5215の結果が「N」)、状態番号を0に設定し(5217)、ステップ5213以降の処理を実行する。   On the other hand, when the data reception has failed (the result of 5215 is “N”), the bus controller 634 sets the state number to 0 (5217), and executes the processing after step 5213.

図53は、本発明の実施の形態のスレーブ側のI2CI/Oエクスパンダ615におけるデータの読み出し処理の手順を示すフローチャートである。 FIG. 53 is a flowchart illustrating a procedure of data read processing in the slave-side I 2 CI / O expander 615 according to the embodiment of this invention.

バスコントローラ634は、マスタICから要求された処理が読み出し要求であった場合には(図52の5205の結果が「N」)、状態番号を読み出し処理に対応する3に設定する(5301)。   If the processing requested from the master IC is a read request (the result of 5205 in FIG. 52 is “N”), the bus controller 634 sets the state number to 3 corresponding to the read processing (5301).

バスコントローラ634は、その後、ドライバ632を駆動してトランジスタ630をオンさせることにより、接続線SDAの信号レベルをLOWに設定して信号線の占有を開始する。さらに、自己占有WDT641を作動させて、自己占有WDT641によるバスの監視を開始する(5302)。このとき、接続線SCL及び接続線SDAの信号レベルはともにLOWである状態5303となっており、バスコントローラ634は、接続線SCLの信号レベルがHIGHに変化するまで待機する(5304)。   Thereafter, the bus controller 634 drives the driver 632 to turn on the transistor 630, thereby setting the signal level of the connection line SDA to LOW and starting the occupation of the signal line. Further, the self-occupied WDT 641 is operated to start monitoring the bus by the self-occupied WDT 641 (5302). At this time, both the signal levels of the connection line SCL and the connection line SDA are in the state 5303 in which they are LOW, and the bus controller 634 waits until the signal level of the connection line SCL changes to HIGH (5304).

バスコントローラ634は、接続線SCLの信号レベルがHIGHに変化すると(5304の結果が「SCL△」)、状態5305となり、さらに、接続線SCLの信号レベルがLOWに変化するまで待機する(5306)。   When the signal level of the connection line SCL changes to HIGH (the result of 5304 is “SCLΔ”), the bus controller 634 enters the state 5305 and waits until the signal level of the connection line SCL changes to LOW (5306). .

バスコントローラ634は、接続線SCLの信号レベルがLOWに変化すると(5306の結果が「SCL▽」)、ドライバ632を駆動してトランジスタ630をオフさせることにより接続線SDAを解放し、自己占有WDT641を停止させて、自己占有WDT641によるバスの監視を終了する(5307)。   When the signal level of the connection line SCL changes to LOW (the result of 5306 is “SCL ▽”), the bus controller 634 releases the connection line SDA by driving the driver 632 to turn off the transistor 630, and the self-occupied WDT 641. And the monitoring of the bus by the self-occupied WDT 641 is terminated (5307).

さらに、バスコントローラ634は、変数CNの値を0に設定し(5308)、接続線SDAにデータを出力する(5309)。このとき、接続線SDAにLOWレベルの信号を出力する場合には、自己占有WDT641を作動させて自己占有WDT641によるバスの監視を開始する。接続線SDAにHIGHレベルの信号を出力する場合には、自己占有WDT641を作動させない(5310)。接続線SDAの信号レベルがHIGHであれば、バスが占有されないためである。   Further, the bus controller 634 sets the value of the variable CN to 0 (5308), and outputs data to the connection line SDA (5309). At this time, when a LOW level signal is output to the connection line SDA, the self-occupied WDT 641 is operated to start monitoring the bus by the self-occupied WDT 641. When a HIGH level signal is output to the connection line SDA, the self-occupied WDT 641 is not operated (5310). This is because the bus is not occupied if the signal level of the connection line SDA is HIGH.

このときバスコントローラ634は、接続線SCLの信号レベルがLOWとなっており(5311)、接続線SCLの信号レベルがHIGHに変化するまで待機する(5312)。接続線SCLの信号レベルがHIGHに変化すると(5312の結果が「Y」)、変数CNの値に1加算する(5313)。そして、接続線SCLの信号レベルがHIGHである状態5314となっており、接続線SCLの信号レベルがLOWに変化するまで待機する(5315)。接続線SCLの信号レベルがLOWに変化すると(5315の結果が「SCL▽」)、自己占有WDT641によるバスの監視を行っていたときには、自己占有WDT641を停止させて自己占有WDT641によるバスの監視を終了する(5316)。   At this time, the bus controller 634 waits until the signal level of the connection line SCL is LOW (5311) and the signal level of the connection line SCL changes to HIGH (5312). When the signal level of the connection line SCL changes to HIGH (the result of 5312 is “Y”), 1 is added to the value of the variable CN (5313). Then, the state 5314 in which the signal level of the connection line SCL is HIGH is entered, and the process waits until the signal level of the connection line SCL changes to LOW (5315). When the signal level of the connection line SCL changes to LOW (the result of 5315 is “SCL ▽”), when the bus is monitored by the self-occupied WDT 641, the self-occupied WDT 641 is stopped and the bus is monitored by the self-occupied WDT 641. The process ends (5316).

バスコントローラ634は、変数CNの値が8に到達したか否か、すなわち、接続線SDAに8回分の全データが出力されたか否かを判定する(5317)。全データの出力が完了していない場合には(5317の結果が「N」)、接続線SDAに次のデータを出力し(5318)、ステップ5310以降の処理を実行する。   The bus controller 634 determines whether or not the value of the variable CN has reached 8, that is, whether or not all eight data have been output to the connection line SDA (5317). If the output of all the data has not been completed (the result of 5317 is “N”), the next data is output to the connection line SDA (5318), and the processing after step 5310 is executed.

一方、バスコントローラ634は、変数CNの値が8に到達し、すべてのデータの送信が完了し(5317の結果が「Y」)、ドライバ632を駆動してトランジスタ630をオフさせることにより接続線SDAを解放する(5319)。但し、このステップ5319の処理は、バスコントローラ634が接続線SDAをLOWレベルに設定していた場合にのみ必要な処理なので、バスコントローラ634が接続線SDAをHIGHレベルに設定していた場合には、実行する必要がない。   On the other hand, the bus controller 634 reaches the value of the variable CN, completes transmission of all data (the result of 5317 is “Y”), drives the driver 632, and turns off the transistor 630, thereby connecting the connection line. The SDA is released (5319). However, since the processing of step 5319 is necessary only when the bus controller 634 has set the connection line SDA to the LOW level, the bus controller 634 has set the connection line SDA to the HIGH level. No need to run.

このとき、接続線SCLの信号レベルがLOW、接続線SDAの信号レベルがHIGHとなるので(5320)、次いで、接続線SCLの信号レベルがHIGHになるまで待機する(5321)。   At this time, since the signal level of the connection line SCL becomes LOW and the signal level of the connection line SDA becomes HIGH (5320), the process waits until the signal level of the connection line SCL becomes HIGH (5321).

このとき、当該I2CI/Oエクスパンダ615から、マスタIC570a(図11参照、図12のマスタIC570bでも同様)に対して、既に8ビット単位のデータが送信されており、さらに、マスタIC側が、次のデータを受信する状態になっている場合には、マスタIC570a(570b)から当該I2CI/Oエクスパンダ615へ、ACKの応答信号が送信される。 At this time, data in units of 8 bits has already been transmitted from the I 2 CI / O expander 615 to the master IC 570a (see FIG. 11 and the master IC 570b in FIG. 12). When the next data is received, an ACK response signal is transmitted from the master IC 570a (570b) to the I 2 CI / O expander 615.

そして、バスコントローラ634は、接続線SCLの信号レベルがHIGHになると(5321の結果が「SCL△」)、接続線SDAの信号レベル(応答信号)を取り込む(5322)。そして、取り込まれた応答信号がACK(LOWレベル)であるか否か、すなわち、マスタICが次のデータを受信する状態となっているか否かを判定する(5323)。   When the signal level of the connection line SCL becomes HIGH (the result of 5321 is “SCLΔ”), the bus controller 634 takes in the signal level (response signal) of the connection line SDA (5322). Then, it is determined whether or not the captured response signal is ACK (LOW level), that is, whether or not the master IC is ready to receive the next data (5323).

このとき、取り込まれた応答信号がACKである場合には(5323の結果が「Y」)、接続線SCLの信号レベルがHIGH、接続線SDAの信号レベルがLOWになっており(5324)、バスコントローラ634は、接続線SCLの信号レベルがLOWに変化するまで待機する(5325)。接続線SCLの信号レベルがLOWに変化すると(5325の結果が「SCL▽」)、変数CNの値を0に設定し(5326)、次のデータを出力するために、ステップ5318以降の処理を実行する。   At this time, if the captured response signal is ACK (result of 5323 is “Y”), the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW (5324). The bus controller 634 waits until the signal level of the connection line SCL changes to LOW (5325). When the signal level of the connection line SCL changes to LOW (the result of 5325 is “SCL ▽”), the value of the variable CN is set to 0 (5326), and the processing after step 5318 is performed to output the next data. Run.

一方、取り込まれた応答信号がNACKである場合には(5323の結果が「N」)、バスコントローラ634は、変数CNを0、状態番号を0に設定し、さらに、受信バッファをクリアする(5327)。このとき、接続線SCL及び接続線SDAの信号レベルはともにHIGHになっており、図51の状態5103に対応し、図51のステップ5104の処理を実行する。   On the other hand, when the captured response signal is NACK (the result of 5323 is “N”), the bus controller 634 sets the variable CN to 0, the state number to 0, and further clears the reception buffer ( 5327). At this time, the signal levels of the connection line SCL and the connection line SDA are both HIGH, and the processing of step 5104 in FIG. 51 is executed corresponding to the state 5103 in FIG.

次に、本発明の実施の形態において、演出制御装置550のCPU551と、第1マスタIC570a及び第2マスタIC570bとの間で、データが授受されるタイミングについて説明する。   Next, the timing at which data is exchanged between the CPU 551 of the effect control device 550 and the first master IC 570a and the second master IC 570b in the embodiment of the present invention will be described.

図54は、本発明の実施の形態のVDP割込み時に演出制御装置550のCPU551からの指示によって、第1マスタIC570a及び第2マスタIC570bによる処理が並列して実行される状態を示すタイミングチャートである。   FIG. 54 is a timing chart showing a state in which processing by the first master IC 570a and the second master IC 570b is executed in parallel according to an instruction from the CPU 551 of the effect control device 550 at the time of VDP interruption according to the embodiment of this invention. .

本発明の実施の形態では、表示装置53に表示された画像を更新するタイミングにおいてVDP割込みが発生すると、演出制御装置550のCPU551は、各マスタICに対して演出制御データの出力を開始する。各マスタICは、CPU551から演出制御データを受信すると、他のマスタICとは独立して、受信した演出制御データを各スレーブに送信するなどの処理を実行する。そして、すべてのスレーブに対して演出制御データの出力が完了すると、各マスタICはストップコンディションを出力し、各スレーブによって制御される演出装置(装飾装置620)の演出態様を更新する。   In the embodiment of the present invention, when a VDP interrupt occurs at the timing of updating the image displayed on the display device 53, the CPU 551 of the effect control device 550 starts outputting effect control data to each master IC. When each master IC receives the effect control data from the CPU 551, the master IC performs processing such as transmitting the received effect control data to each slave independently of the other master ICs. When the output of the effect control data is completed for all the slaves, each master IC outputs a stop condition and updates the effect mode of the effect device (decoration device 620) controlled by each slave.

このように、第1マスタIC570a及び第2マスタIC570bによる処理が並行して実行され、さらに、VDP割込みと各演出装置の演出態様の更新タイミングを同期させることによって、画像表示と調和のとれた演出を行うことが可能となる。   In this way, the processing by the first master IC 570a and the second master IC 570b is executed in parallel, and further, the effect that is harmonized with the image display is achieved by synchronizing the update timing of the effect mode of each effect device with the VDP interrupt. Can be performed.

さらに、詳細に説明すると、演出制御装置550のCPU551は、VDP割込みが発生すると、スレーブ出力開始処理(図37のステップ3710、図39)を実行し、各マスタICに対してスタートコンディションを出力する。   More specifically, when a VDP interrupt occurs, the CPU 551 of the effect control device 550 executes a slave output start process (steps 3710 and 39 in FIG. 37) and outputs a start condition to each master IC. .

そして、CPU551は、演出制御装置550により制御される各装置への出力データを編集する。具体的には、表示装置53で演出を行うためのVDP出力データ編集(図37のステップ3711)、スピーカ30から音声を出力するためのスピーカ関連データ編集(図37のステップ3712)、演出装置としてのLEDを制御する装飾制御装置610へ出力する演出制御データの編集(図37のステップ3713)、及びモータなどの駆動体を制御するためのデータ編集を行う。これらの編集処理の実行中に、各マスタICによってCPU551に対するマスタ割込みが発生すると、演出制御データの送信再開処理(図43)によって、編集された演出制御データが各マスタICの出力用バッファ572に書き込まれる。そして、図45に示したマスタによるデータ送信処理によって、各スレーブに演出制御データが出力される。   Then, CPU 551 edits output data to each device controlled by effect control device 550. Specifically, VDP output data editing for performing an effect on the display device 53 (step 3711 in FIG. 37), speaker-related data editing for outputting sound from the speaker 30 (step 3712 in FIG. 37), and an effect device Editing of the effect control data to be output to the decoration control device 610 that controls the LED (step 3713 in FIG. 37) and data editing for controlling a driving body such as a motor are performed. If a master interrupt to the CPU 551 is generated by each master IC during the execution of these editing processes, the edited effect control data is stored in the output buffer 572 of each master IC by the effect resumption data transmission restart process (FIG. 43). Written. Then, the effect control data is output to each slave by the data transmission process by the master shown in FIG.

最後に、送信対象のスレーブの全てに演出制御データが送信されると、演出制御データの送信再開処理によって、マスタICからスレーブにストップコンディションが出力され(図43のステップS4311)、このストップコンディションによって、各スレーブが受信した演出制御データが各演出装置の演出態様に反映される。   Finally, when the production control data is transmitted to all the slaves to be transmitted, a stop condition is output from the master IC to the slave by the transmission restart process of the production control data (step S4311 in FIG. 43). The effect control data received by each slave is reflected in the effect mode of each effect device.

その後、CPU551は、次のVDP割込みが発生するまで待機する。そして、次のVDP割込みが発生すると、前述のスレーブ出力開始処理(図37のステップ3710、図39)を実行して、各マスタICに対してスタートコンディションを出力し、以降、同じ処理を繰り返す。   Thereafter, the CPU 551 waits until the next VDP interrupt occurs. When the next VDP interrupt occurs, the slave output start process (steps 3710 and 39 in FIG. 37) is executed to output a start condition to each master IC, and thereafter the same process is repeated.

このような処理により、第1マスタIC570a及び第2マスタIC570bによる処理が並行して実行され、また、CPU551の演算処理も並行して実行されることから、画像表示装置53の画像更新に同期するような高速な処理が可能となり、画像表示と調和のとれた演出を行うことが可能となる。   By such processing, the processing by the first master IC 570a and the second master IC 570b is executed in parallel, and the arithmetic processing of the CPU 551 is also executed in parallel, so that it synchronizes with the image update of the image display device 53. Such high-speed processing becomes possible, and an effect in harmony with image display can be performed.

次に、グループ化された演出装置(装飾装置620)の構成例について説明する。   Next, a configuration example of the grouped effect device (decoration device 620) will be described.

図55は、本発明の実施の形態における装飾制御装置610のI2CI/Oエクスパンダ615と、装飾装置620との接続例を示す図であり、8セット分のLEDを2つのI2CI/Oエクスパンダ615によって制御する構成を示す図である。 FIG. 55 is a diagram showing a connection example between the I 2 CI / O expander 615 of the decoration control device 610 and the decoration device 620 according to the embodiment of the present invention, and eight sets of LEDs are connected to two I 2 CIs. FIG. 6 is a diagram illustrating a configuration controlled by a / O expander 615.

装飾装置620は一例としてLEDによって構成されているとし、赤(R)、緑(G)、青(B)の3色のLEDを1セットとして制御することによって、さまざまな色で発光することを可能とする。例えば、赤、緑、青のすべてのLEDを発色させると、白色に発光させることができる。   It is assumed that the decoration device 620 is configured by an LED as an example. By controlling the three colors of red (R), green (G), and blue (B) as one set, it is possible to emit light in various colors. Make it possible. For example, when all red, green, and blue LEDs are colored, white light can be emitted.

そして、本発明の実施の形態では、1つのI2CI/Oエクスパンダ615は、16個のポート(PORT0〜15)に対応するLEDを制御することが可能であるため、3色のLEDのセットを5セットまで接続することが可能である。 In the embodiment of the present invention, one I 2 CI / O expander 615 can control LEDs corresponding to 16 ports (PORT 0 to 15). Up to 5 sets can be connected.

しかし、より興趣を高める演出を行うために、16個を超えるポートにLED(演出装置)を接続する場合が考えられる。図55では、5セット以上(8セット)のLEDを、2つのI2CI/Oエクスパンダ615にまたがって接続して制御する構成について説明する。 However, in order to produce an effect that further enhances interest, there may be a case where an LED (production device) is connected to more than 16 ports. FIG. 55 illustrates a configuration in which five or more sets (eight sets) of LEDs are connected and controlled across two I 2 CI / O expanders 615.

前述のように、I2CI/Oエクスパンダ615には16のポート(PORT0〜15)が備えられているため、3色のLEDのセットを5セットまで接続することが可能である。しかしながら、8セットのLEDを1つのグループとして演出が行われる場合には、少なくとも2つのI2CI/Oエクスパンダ615を必要とする。 As described above, since the I 2 CI / O expander 615 includes 16 ports (PORT 0 to 15), it is possible to connect up to 5 sets of three color LEDs. However, when the presentation is performed with eight sets of LEDs as one group, at least two I 2 CI / O expanders 615 are required.

そこで、図55に示す構成では、一方のI2CI/Oエクスパンダ615は、各セットの赤及び緑のLEDを制御し、他方のI2CI/Oエクスパンダ615(615b)は、各セットの青のLEDを制御するように構成している。そして、これらの2つのI2CI/Oエクスパンダ615を同じグループとして制御し、図56にて後述するように、演出制御装置550から出力されたストップコンディションを受け付けてから演出制御を同時に実行することによって、複数のI2CI/Oエクスパンダ615によって制御されるLEDによる演出を違和感なく行うことが可能となるのである。 Therefore, in the configuration shown in FIG. 55, one I 2 CI / O expander 615 controls the red and green LEDs in each set, and the other I 2 CI / O expander 615 (615b) The blue LED is controlled. Then, these two I 2 CI / O expanders 615 are controlled as the same group, and, as will be described later with reference to FIG. 56, after receiving the stop condition output from the effect control device 550, the effect control is executed simultaneously. As a result, it is possible to produce an effect by the LEDs controlled by the plurality of I 2 CI / O expanders 615 without a sense of incongruity.

図56は、本発明の実施の形態における装飾制御装置610がデータを受信し、演出装置を制御するタイミングを示す図であり、ストップコンディションを出力した時点で受信したデータを反映させる場合について説明する図である。   FIG. 56 is a diagram illustrating the timing at which the decoration control device 610 receives data and controls the effect device according to the embodiment of the present invention, and the case where the received data is reflected when the stop condition is output will be described. FIG.

本図において、まず最初に、演出制御装置550からスタートコンディションを出力し、次に、演出制御装置550から複数のI2CI/Oエクスパンダ615に演出制御データを順次出力し、最後に、演出制御装置550からストップコンディションを出力する状態を示している。説明の都合上、装飾制御装置610のI2CI/Oエクスパンダ615は5個設けられているものとし、それぞれを第1I2CI/Oエクスパンダ〜第5I2CI/Oエクスパンダとする。 In this figure, first, the start condition is output from the effect control device 550, then the effect control data is sequentially output from the effect control device 550 to the plurality of I 2 CI / O expanders 615, and finally, the effect is displayed. A state in which a stop condition is output from the control device 550 is shown. For convenience of explanation, it is assumed that five I 2 CI / O expanders 615 of the decoration control device 610 are provided, and each of them is a first I 2 CI / O expander to a fifth I 2 CI / O expander.

ここで、図中で「data1」となっているものは、演出制御装置550から第1I2CI/Oエクスパンダに送信される演出制御データを示し、以下、「data2」〜「data5」は、演出制御装置550から、第2I2CI/Oエクスパンダ〜第5I2CI/Oエクスパンダの各々へ送信される演出制御データを示す。 Here, “data1” in the figure indicates the effect control data transmitted from the effect control device 550 to the first I 2 CI / O expander. Hereinafter, “data2” to “data5” The effect control data transmitted from the effect control device 550 to each of the second I 2 CI / O expander to the fifth I 2 CI / O expander is shown.

また、図中で「演出装置(1)」となっているものは、第1I2CI/OエクスパンダのI/Oポートに接続されているLED等を示し、以下、「演出装置(2)」〜「演出装置(5)」は、第2I2CI/Oエクスパンダ〜第5I2CI/OエクスパンダのI/Oポートに接続されているLED等に、それぞれが対応する。 In the figure, “Production device (1)” indicates an LED connected to the I / O port of the first I 2 CI / O expander. "-" effect device (5) "is the first 2I 2 CI / O expander, second 5I 2 CI / O Aix LED is connected to the expander of the I / O ports, etc., respectively correspond.

なお、演出制御装置550から、第1I2CI/Oエクスパンダ〜第5I2CI/Oエクスパンダの各々へ演出制御データを送信する際には、I2CI/Oエクスパンダの選択を切り替えるタイミングで、演出制御装置550からI2CI/Oエクスパンダにスタートコンディション(リスタートコンディションとして機能する)を出力している。ただし、最初に演出制御装置550がスタートコンディションを出力してから、第1I2CI/Oエクスパンダ〜第5I2CI/Oエクスパンダの全てに演出制御データを送信するまでの間(図中にTで示した期間)はストップコンディションを出力せず、この期間Tの経過後にストップコンディションを出力している。 Incidentally, the effect control device 550, when transmitting the performance control data to the 1I 2 CI / O expander, second 5I 2 CI / O expander Each of timing for switching the selection of the I 2 CI / O expander Thus, a start condition (functioning as a restart condition) is output from the effect control device 550 to the I 2 CI / O expander. However, from when the effect control device 550 first outputs the start condition to when the effect control data is transmitted to all of the first I 2 CI / O expander to the fifth I 2 CI / O expander (in the figure). During the period indicated by T), the stop condition is not output, and the stop condition is output after the elapse of the period T.

本発明の実施の形態では、接続線SDAからシリアルに演出制御データが送信されるため、各I2CI/Oエクスパンダ毎に、演出制御データが到達するタイミングに時間差が生じる。各I2CI/Oエクスパンダは、演出制御装置550から演出制御データを受け入れた時点では、バスコントローラ634(図18)に内蔵された図示しないバッファに受信した演出制御データを一次的に確保しているに過ぎない。 In the embodiment of the present invention, the production control data is serially transmitted from the connection line SDA, so that there is a time difference in the timing at which the production control data arrives for each I 2 CI / O expander. Each I 2 CI / O expander temporarily secures the received effect control data in a buffer (not shown) built in the bus controller 634 (FIG. 18) when receiving the effect control data from the effect control device 550. It ’s just that.

ここで、各I2CI/Oエクスパンダが、単独で演出制御データの受信と同時にLEDの発光態様を変更してしまうような処理を行った場合を想定する。LEDの発光態様の変化に時間差を生じるため、違和感のある演出が行われる恐れがある。 Here, it is assumed that each I 2 CI / O expander independently performs a process that changes the LED light emission mode simultaneously with the reception of the effect control data. Since a time difference is caused in the change in the light emission mode of the LED, there is a possibility that an uncomfortable effect may be performed.

例えば、赤(R)、緑(G)、青(B)のLEDが、前述の図55のように、複数のI2CI/Oエクスパンダにまたがって接続されているような場合には、遊技者に誤解をあたえるような色彩でLEDが発光する可能性がある。 For example, when red (R), green (G), and blue (B) LEDs are connected across a plurality of I 2 CI / O expanders as shown in FIG. There is a possibility that the LED emits light in a color that misleads the player.

具体的には、前述した信頼度報知装置15(図2)が、発光する色によって大当りとなる期待度が異なるように設定されており、信頼度報知装置15が赤く光れば大当たりが確定する仕様のとなっているものとする。そして、信頼度報知装置15を、大当たりの確定とはならない紫色で発光させる報知動作を行う場合を想定する。   Specifically, the reliability notification device 15 (FIG. 2) described above is set so that the degree of expectation that is a big hit differs depending on the color of light emission, and if the reliability notification device 15 glows red, the big hit is determined. It is assumed that it is in the specification. And the case where the alerting | reporting operation | movement which makes the reliability alerting | reporting apparatus 15 light-emit in purple which does not become a big hit decision is assumed.

このような報知動作を行う場合には、信頼度報知装置15に備えた発光体内の赤色LEDと青色LEDとを同時に点灯して発光体を紫色で発光させるような制御を行うことになるが、前述の図55のように複数のI2CI/Oエクスパンダにまたがって接続されたLEDが発光する際の時間差により、赤色LEDだけが点灯するような瞬間があると、遊技者が大当たりするものと誤解し、遊技店と遊技者の間でトラブルになる恐れがある。 When performing such a notification operation, control is performed such that the red LED and the blue LED in the light emitter provided in the reliability notification device 15 are simultaneously turned on and the light emitter emits purple light. As shown in FIG. 55 above, if there is a moment when only the red LED is lit due to the time difference when the LED connected across a plurality of I 2 CI / O expanders emits light, the player will win a big hit It may be misunderstood and a trouble may occur between the game store and the player.

そこで、本発明の実施の形態では、演出制御装置550からストップコンディションを受信した時点で、バッファ内の演出制御データを出力設定レジスタ635に上書きし、この出力設定レジスタ635の記憶内容を出力コントローラ636によってドライバ637に反映させ、当該I2CI/Oエクスパンダに接続されているLEDの発光態様を変化させる処理を行っている。 Therefore, in the embodiment of the present invention, when the stop condition is received from the effect control device 550, the effect control data in the buffer is overwritten in the output setting register 635, and the storage contents of the output setting register 635 are stored in the output controller 636. Is reflected on the driver 637 to change the light emission mode of the LED connected to the I 2 CI / O expander.

そのため、図56に示すように、ストップコンディション出力時に、各I2CI/Oエクスパンダが受信した演出制御データを各演出装置の出力態様に同時に反映させることが可能となり、違和感のない演出を行うことが可能となる。 Therefore, as shown in FIG. 56, at the time of stop condition output, the effect control data received by each I 2 CI / O expander can be reflected simultaneously in the output mode of each effect device, and an effect without a sense of incongruity is performed. It becomes possible.

なお、本発明の実施の形態では、I2CI/Oエクスパンダが受信した演出制御データを各演出装置の出力態様に反映させるタイミングを、更新指令信号として例示したストップコンディションの受信時としているが、他の更新指令信号を用いても構わない。ストップコンディションのように演出制御データの最後に送信されるものに限られず、演出制御データの送信の途中で送信されるものであっても、接続線SDA及びSCLの信号変化によって表現できる更新指令信号であれば、適用可能である。 In the embodiment of the present invention, the timing at which the effect control data received by the I 2 CI / O expander is reflected in the output mode of each effect device is the time of receiving the stop condition exemplified as the update command signal. Other update command signals may be used. An update command signal that can be expressed by a signal change of the connection lines SDA and SCL even if it is transmitted in the middle of the transmission of the production control data, not limited to the one transmitted at the end of the production control data as in the stop condition If so, it is applicable.

図57は、本発明の実施の形態において、I2CI/Oエクスパンダ615がバスを占有した場合にバスを解放する手順を説明する図である。 FIG. 57 is a diagram illustrating a procedure for releasing a bus when the I 2 CI / O expander 615 occupies the bus in the embodiment of the present invention.

マスタICからスタートコンディションが出力されると、マスタICがスレーブ側のI2CI/Oエクスパンダ615に対してデータの出力を開始し、マスタICのSTA(スタートフラグ)がONに設定される。その後、マスタICは、接続線SCLの信号レベルを順次変化させながら、B7からB0までの8ビットのデータをI2CI/Oエクスパンダ615に順次送信する。このとき、スレーブ側のI2CI/Oエクスパンダ615では、接続線SCLの信号レベルの変化に対応して、順次データを取り込む。 When a start condition is output from the master IC, the master IC starts outputting data to the slave I 2 CI / O expander 615, and the STA (start flag) of the master IC is set to ON. Thereafter, the master IC sequentially transmits 8-bit data from B7 to B0 to the I 2 CI / O expander 615 while sequentially changing the signal level of the connection line SCL. At this time, the I 2 CI / O expander 615 on the slave side sequentially captures data corresponding to the change in the signal level of the connection line SCL.

そして、8ビット(1バイト)分のデータ、すなわち、1回分のデータが送信されると、マスタIC側で接続線SDAが解放される(図52のステップ5201)。接続線SDAが解放されると、信号レベルがHIGHに設定されている。そして、スレーブ側から返答信号(ACK,NACK)が送信されるまで待機する。   Then, when data of 8 bits (1 byte), that is, data of one time is transmitted, the connection line SDA is released on the master IC side (step 5201 in FIG. 52). When the connection line SDA is released, the signal level is set to HIGH. And it waits until a reply signal (ACK, NACK) is transmitted from the slave side.

スレーブ側のI2CI/Oエクスパンダ615は、接続線SDAの信号レベルをLOWに変化させることによって、返答信号(ACK)を出力する。その後、マスタICが接続線SCLの信号レベルをLOWからHIGHに変化させ、次いで、HIGHからLOWに変化させるまでの期間に渡って、スレーブ側のI2CI/Oエクスパンダ615は、接続線SDAを占有する(図52のステップ5207〜5212に相当)。 The I 2 CI / O expander 615 on the slave side outputs a response signal (ACK) by changing the signal level of the connection line SDA to LOW. After that, the master IC changes the signal level of the connection line SCL from LOW to HIGH and then changes from HIGH to LOW, and the slave I 2 CI / O expander 615 receives the connection line SDA. (Corresponding to steps 5207 to 5212 in FIG. 52).

図57を参照すると、マスタIC側で7ビット目のデータを送信したとき、ノイズなどが原因で接続線SCLの信号レベルが変化したとスレーブ側で認識され、スレーブ側のI2CI/Oエクスパンダ615では8ビット目のデータが送信されたと認識してしまっている。そのため、スレーブは返答信号(ACK)を出力するために信号レベルをLOWに設定して、接続線SDAを占有する。本発明の実施の形態では、同時に自己占有WDT641によってスレーブによる接続線SDAの占有の監視が開始される。 Referring to FIG. 57, when the 7th bit data is transmitted on the master IC side, it is recognized on the slave side that the signal level of the connection line SCL has changed due to noise or the like, and the I 2 CI / O EX on the slave side is recognized. The panda 615 recognizes that 8-bit data has been transmitted. Therefore, the slave sets the signal level to LOW in order to output the response signal (ACK) and occupies the connection line SDA. In the embodiment of the present invention, monitoring of the occupation of the connection line SDA by the slave is simultaneously started by the self-occupied WDT 641.

このとき、マスタICは、スレーブ側のI2CI/Oエクスパンダ615によって接続線SDAが占有され、信号レベルがLOWになっているため、HIGHに変更されるまでデータ(B0)を送信できない状態になっている。さらに、スレーブ側のI2CI/Oエクスパンダ615は、接続線SCLの信号レベルが変化するまで待機しているため、互いに信号レベルが変化するまで待機している状態になり、処理全体が停止してしまう。そこで、本発明の実施の形態では、前述のように、スレーブ側のI2CI/Oエクスパンダ615が接続線SDAを占有している時間が自己占有WDT641によって監視されているため、占有が開始されてから所定の時間が経過すると、スレーブ側のI2CI/Oエクスパンダ615自身をリセットすることによって強制的に接続線SDAが解放される。 At this time, the master IC cannot transmit data (B0) until it is changed to HIGH because the connection line SDA is occupied by the slave I 2 CI / O expander 615 and the signal level is LOW. It has become. Further, since the I 2 CI / O expander 615 on the slave side is on standby until the signal level of the connection line SCL changes, the slave side I 2 CI / O expander 615 is on standby until the signal level changes. Resulting in. Therefore, in the embodiment of the present invention, as described above, since the time during which the slave I 2 CI / O expander 615 occupies the connection line SDA is monitored by the self-occupied WDT 641, the occupancy starts. After a predetermined time has elapsed, the connection line SDA is forcibly released by resetting the slave I 2 CI / O expander 615 itself.

接続線SDAが解放されると、マスタICは最後のデータを送信する。このとき、スレーブ側のI2CI/Oエクスパンダ615では、正常にデータを受信できなかった旨の返答信号(NACK)を送信する。その結果、CPU551によって再送要求がマスタICに通知され、データを再送信し、処理を再開することができる。 When the connection line SDA is released, the master IC transmits the last data. At this time, the slave I 2 CI / O expander 615 transmits a response signal (NACK) indicating that data could not be received normally. As a result, a retransmission request is notified to the master IC by the CPU 551, data can be retransmitted, and processing can be restarted.

図58は、本発明の実施の形態において、接続線SDAが何らかの原因により占有されている状態が発生し、接続線SDAの占有を検出したI2CI/Oエクスパンダ615が自己をリセットして、バスを解放することを試みる手順を説明する図である。 FIG. 58 shows a state where the connection line SDA is occupied for some reason in the embodiment of the present invention, and the I 2 CI / O expander 615 that detects the occupation of the connection line SDA resets itself. FIG. 6 is a diagram illustrating a procedure for attempting to release a bus.

図57では、接続線SDAを占有しているI2CI/Oエクスパンダ615が、自己をリセットすることにより接続線SDAを解放する場合について説明したが、図58では、バス全体を監視し、他のスレーブ(接続線SDAに接続されている他のI2CI/Oエクスパンダ615等)が接続線SDAを占有したことでバスが解放されない場合に、バスを強制的に解放させる手順について説明する。 In FIG. 57, the case where the I 2 CI / O expander 615 occupying the connection line SDA releases the connection line SDA by resetting itself is described, but in FIG. 58, the entire bus is monitored, A procedure for forcibly releasing a bus when another slave (another I 2 CI / O expander 615 or the like connected to the connection line SDA) does not release the bus because the connection line SDA is occupied. To do.

バス監視WDT640による監視は、接続線SDAの信号レベルがLOWレベルになると開始し、接続線SDAの信号レベルがHIGHレベルになると終了する。つまり、接続線SDAの信号レベルが連続してLOWとなっている時間が一定の時間となると、バス監視WDT640からリセット信号発生回路639に、リセット信号を出力させるための指令が出力される。   The monitoring by the bus monitoring WDT 640 starts when the signal level of the connection line SDA becomes LOW level and ends when the signal level of the connection line SDA becomes HIGH level. That is, when the signal level of the connection line SDA is continuously LOW, a command for outputting a reset signal is output from the bus monitoring WDT 640 to the reset signal generation circuit 639.

図57で説明したように、スレーブ側のI2CI/Oエクスパンダ615によってバスが占有されると、マスタICとスレーブ側のI2CI/Oエクスパンダ615との間の信号の入出力が停止し、接続線SDAの信号レベルが変化しなくなる(互いに信号レベルが変化するまで待機している状態になる)。そこで、所定の時間、接続線SDAの信号レベルが変化しなくなった場合には、接続線SDAに接続されている全てのI2CI/Oエクスパンダ615が、各々の判断で自己をリセットすることによって、バスを解放する。 As described in FIG. 57, when the bus is occupied by I 2 CI / O expander 615 on the slave side, the input and output of signals between the master IC and the slave side of the I 2 CI / O expander 615 It stops, and the signal level of the connection line SDA does not change (becomes waiting until the signal level changes). Therefore, when the signal level of the connection line SDA does not change for a predetermined time, all the I 2 CI / O expanders 615 connected to the connection line SDA reset themselves by their respective judgments. To release the bus.

図58を参照すると、マスタICからデータB1が出力された後、他のスレーブによってバスが占有されている。図58の場合には、自己スレーブによるバスの占有ではないため、実際に占有されているスレーブを特定することができない。そこで、接続線SDAに接続されているスレーブ(I2CI/Oエクスパンダ615)の各々が、自己をリセットすることによって、バスを解放する。(正確には、接続線SDAに接続されているI2CI/Oエクスパンダ615のうち、自己をリセットする機能を有したものだけがリセット処理を行う。)
これにより、マスタICから残りのデータが送信され、スレーブから受信失敗の旨の返答信号(NACK)が出力され、応答されることによって、データが再送され、処理が継続される。
Referring to FIG. 58, after data B1 is output from the master IC, the bus is occupied by another slave. In the case of FIG. 58, since the bus is not occupied by the own slave, the slave that is actually occupied cannot be specified. Therefore, each of the slaves (I 2 CI / O expander 615) connected to the connection line SDA releases the bus by resetting itself. (To be exact, only the I 2 CI / O expander 615 connected to the connection line SDA has the function of resetting itself performs the reset process.)
As a result, the remaining data is transmitted from the master IC, a response signal (NACK) indicating that reception has failed is output from the slave, and the data is retransmitted by responding, and the processing is continued.

図59は、本発明の実施の形態においてスレーブ側のI2CI/Oエクスパンダ615によってバスが占有された場合に、マスタICからの指令によってスレーブ側のI2CI/Oエクスパンダ615がバスを解放する手順を説明する図である。 Figure 59, if the bus by I 2 CI / O expander 615 on the slave side in the embodiment of the present invention have been occupied, I 2 CI / O expander 615 on the slave side by a command from the master IC bus It is a figure explaining the procedure which releases | releases.

ノイズなどにより接続線SCLの信号レベルの変化回数がマスタ側とスレーブ側とで相違すると、前述のように、接続線SDAがスレーブ側のI2CI/Oエクスパンダ615によって占有され、バスが解放されなくなる。 If the number of signal level changes of the connection line SCL differs between the master side and the slave side due to noise or the like, the connection line SDA is occupied by the I 2 CI / O expander 615 on the slave side as described above, and the bus is released. It will not be done.

そこで、バスが占有されたままの状態で所定の時間以上経過すると、監視タイマ回路562によって、CPU551にタイムアウト割込みが発生する(図10及び図41参照)。このとき、CPU551は、ソフトリセットを実行することによってマスタICを初期化する。そして、各スレーブ(マスタICに接続されたI2CI/Oエクスパンダ615)に対し、ストップコンディションとスタートコンディションとを出力することを試みる。 Therefore, when a predetermined time or more elapses while the bus is occupied, a timeout interrupt is generated in the CPU 551 by the monitoring timer circuit 562 (see FIGS. 10 and 41). At this time, the CPU 551 initializes the master IC by executing a soft reset. Then, it tries to output a stop condition and a start condition to each slave (I 2 CI / O expander 615 connected to the master IC).

このとき、スレーブ側のI2CI/Oエクスパンダ615では、まず、図46に示したストップコンディション出力処理が実行される。このとき、接続線SCL及び接続線SDAの信号レベルはともにLOWであるため、SCL解放処理が実行される(図46の4604、図47)。占有されているのは、接続線SDAであるため、SCL解放処理は正常に実行され、接続線SCLの信号レベルはHIGHに設定される。 At this time, the I 2 CI / O expander 615 on the slave side first executes the stop condition output process shown in FIG. At this time, since the signal levels of the connection line SCL and the connection line SDA are both LOW, the SCL release processing is executed (4604 in FIG. 46, FIG. 47). Since the connection line SDA is occupied, the SCL release processing is executed normally, and the signal level of the connection line SCL is set to HIGH.

続いて、図46のステップ4605の処理が実行され、SDA解放監視処理(図48)が実行される。SDA解放監視処理では、ステップ4803の処理で接続線SDAの信号レベルをHIGHに変更しようとするが、スレーブのI2CI/Oエクスパンダ615によって占有されているため、HIGHにすることができない。したがって、ステップ4805以降の処理が実行される。 Subsequently, the process of step 4605 in FIG. 46 is executed, and the SDA release monitoring process (FIG. 48) is executed. In the SDA release monitoring process, the signal level of the connection line SDA is changed to HIGH in the process of step 4803. However, since it is occupied by the slave I 2 CI / O expander 615, it cannot be set to HIGH. Therefore, the processing after step 4805 is executed.

このとき、マスタICは、接続SCLの信号レベルを少なくとも9回変化させる。こうすることによって、スレーブ側のI2CI/Oエクスパンダ615は、接続SCLの信号レベルの変化が少なくとも9回行われる途中において、接続SCLの信号レベルがHIGHからLOWへの変化を検出することになり、接続線SDAを解放する(図52のステップ5208〜5211のループから抜け出すことに相当)。 At this time, the master IC changes the signal level of the connection SCL at least nine times. By doing so, the I 2 CI / O expander 615 on the slave side detects the change in the signal level of the connection SCL from HIGH to LOW during the change of the signal level of the connection SCL at least nine times. The connection line SDA is released (corresponding to exiting the loop of steps 5208 to 5211 in FIG. 52).

次いで、マスタICは、接続線SDAが解放されたことを確認したうえで、スレーブ側のI2CI/Oエクスパンダ615にストップコンディションを出力し、次いで、スタートコンディションを出力し、再度、データ送信を行う。 Next, after confirming that the connection line SDA has been released, the master IC outputs a stop condition to the I 2 CI / O expander 615 on the slave side, then outputs a start condition, and again transmits data. I do.

図60は、本発明の実施の形態において、マスタICからの誤った指令により、スレーブ側のI2CI/Oエクスパンダ615で読み出しモードが発生してバスが占有された場合に、マスタICからの指令によってスレーブ側のI2CI/Oエクスパンダ615がバスを解放する手順を説明する図である。 FIG. 60 is a diagram illustrating an example in which the master IC causes a read mode to occur in the slave I 2 CI / O expander 615 due to an erroneous command from the master IC in the embodiment of the present invention. FIG. 6 is a diagram for explaining a procedure by which the slave I 2 CI / O expander 615 releases the bus in response to the command.

なお、本実施形態では、マスタICからスレーブ側のI2CI/Oエクスパンダ615に対して、読み出しモードを発生させる指令を送信することは意図していないが、ノイズ等の影響により、I2CI/Oエクスパンダ615が勝手に判断して、読み出しモードに遷移した場合を想定して説明を行う。 In the present embodiment, it is not intended to transmit a command for generating a read mode from the master IC to the slave I 2 CI / O expander 615. However, due to the influence of noise or the like, I 2 A description will be given assuming that the CI / O expander 615 arbitrarily determines and transitions to the read mode.

2CI/Oエクスパンダ615が読み出しモードの場合であってもバスが占有されたままの状態で所定の時間以上経過すると、書き込み要求の場合と同様に、監視タイマ回路562によって、CPU551にタイムアウト割込みが発生する(図10及び図41参照)。このとき、CPU551は、図58で説明したように、まず、ソフトリセットを実行することによってマスタICを初期化する。そして、各スレーブ(マスタICに接続されたI2CI/Oエクスパンダ615)に対し、ストップコンディションとスタートコンディションを出力することを試みる。このとき、前述同様に、SDA解放監視処理(図48)が実行される。 Even when the I 2 CI / O expander 615 is in the read mode, if a predetermined time or more elapses while the bus is occupied, the monitor timer circuit 562 causes the CPU 551 to time out as in the case of the write request. An interrupt occurs (see FIGS. 10 and 41). At this time, as described in FIG. 58, the CPU 551 first initializes the master IC by executing a soft reset. Then, an attempt is made to output a stop condition and a start condition to each slave (I 2 CI / O expander 615 connected to the master IC). At this time, as described above, the SDA release monitoring process (FIG. 48) is executed.

SDA解放監視処理が実行され、接続SCLの信号レベルを少なくとも9回変化させると、I2CI/Oエクスパンダ615は、接続SCLの信号レベルの変化に合わせて接続線SDAにデータを出力するが、接続SCLの信号レベルの変化が9回行われる途中において、マスタICからの返答信号(ACK)を確認するタイミングが発生する。このとき、マスタIC側では接続SDAを開放したままにしているため、スレーブ側のI2CI/Oエクスパンダ615は、接続SDAの信号レベルを取り込んだ際に、HIGHレベルとなるNACKの返答信号を受信したものと認識し、以降のデータ送信を中止すべきと判断して接続線SDAを解放する。 When the SDA release monitoring process is executed and the signal level of the connection SCL is changed at least nine times, the I 2 CI / O expander 615 outputs data to the connection line SDA in accordance with the change of the signal level of the connection SCL. In the middle of changing the signal level of the connection SCL nine times, a timing for confirming the response signal (ACK) from the master IC occurs. At this time, since the connection SDA is left open on the master IC side, the I 2 CI / O expander 615 on the slave side returns a NACK response signal that becomes HIGH when the signal level of the connection SDA is captured. The connection line SDA is released by determining that the subsequent data transmission should be stopped.

本発明の実施の形態によれば、演出制御装置550(グループ統括制御手段)に含まれる各マスタIC(信号レベル制御手段)が装飾制御装置610(グループ単位制御手段)にデータを送信すると、装飾制御装置610から演出制御装置550に返答信号が送信されるため、データ送信が行われたか否かを確認することが可能となり、誤作動を防止できる。   According to the embodiment of the present invention, when each master IC (signal level control unit) included in the effect control device 550 (group overall control unit) transmits data to the decoration control device 610 (group unit control unit), the decoration is performed. Since a response signal is transmitted from the control device 610 to the effect control device 550, it is possible to confirm whether or not data transmission has been performed, and malfunction can be prevented.

また、本発明の実施の形態によれば、演出制御装置550は装飾制御装置610へ一本のデータ線(接続線SDA)を介してデータを送信し、装飾制御装置610から演出制御装置550へも同じデータ線を介して返答信号が送信されるので、基板間の配線を少なくすることができる。   Further, according to the embodiment of the present invention, the effect control device 550 transmits data to the decoration control device 610 via one data line (connection line SDA), and the decoration control device 610 transmits to the effect control device 550. Since the response signal is transmitted through the same data line, the wiring between the substrates can be reduced.

さらに、本発明の実施の形態によれば、一本のデータ線が、グループ統括制御手段からグループ単位制御手段へのデータ送信と、グループ単位制御手段からグループ統括制御手段への返答信号送信で共通利用されるため、データ線がグループ単位制御手段により占有されて使用できない状態が発生する恐れがあるが、初期化手段によってグループ単位制御手段を初期化する処理が行われ、これによりデータ線の占有状態を解除することが出来るので、通信が停止してしまうことを防止できる。   Furthermore, according to the embodiment of the present invention, a single data line is common to data transmission from the group overall control means to the group unit control means and response signal transmission from the group unit control means to the group overall control means. Since the data line is occupied by the group unit control unit and cannot be used because it is used, the initialization unit initializes the group unit control unit, thereby occupying the data line. Since the state can be canceled, communication can be prevented from being stopped.

さらに、本発明の実施の形態によれば、データ線を占有しているグループ単位制御手段自身が、通信停止状態の発生を判断して自分自身を初期化することにより、他のグループ単位制御手段の処理に影響を与えることなく、データ線を解放することができる。   Further, according to the embodiment of the present invention, the group unit control means that occupies the data line itself determines the occurrence of the communication stop state and initializes itself, thereby other group unit control means. The data line can be released without affecting the process.

また、本発明の実施の形態によれば、データ線の占有状態を検出すると、データ線に接続されているグループ単位制御手段の全てが、自分自身を初期化することによって、確実にデータ線を解放することができる。   Further, according to the embodiment of the present invention, when the occupation state of the data line is detected, all of the group unit control means connected to the data line initializes itself, thereby reliably connecting the data line. Can be released.

本発明の実施の形態によれば、グループ統括制御手段からデータ線を解放する指令を送信することができる。さらに、返答信号の出力開始と出力終了のタイミングが、グループ統括制御手段から指令されるので、グループ単位制御手段の処理が簡素化される。そして、返答信号の出力開始後に、出力終了の指令が届かないような不具合が発生したときには、占有解除指令手段によって不具合が解除され、通信が正常な状態に復帰できる。   According to the embodiment of the present invention, a command for releasing a data line can be transmitted from the group overall control means. In addition, since the start timing and output end timing of the response signal are commanded from the group overall control means, the processing of the group unit control means is simplified. Then, after a response signal starts to be output, if a problem occurs such that an output end command does not arrive, the occupancy cancel command means cancels the problem and the communication can be restored to a normal state.

さらに、本発明の実施の形態によれば、1つのマスタICに接続可能な装飾制御装置610の数に上限があったとしても、演出制御装置550に複数のマスタICを備えることによって、より多くの装飾制御装置610を利用することができる。   Furthermore, according to the embodiment of the present invention, even if there is an upper limit on the number of decoration control devices 610 that can be connected to one master IC, the production control device 550 is provided with a plurality of master ICs to increase the number. The decoration control device 610 can be used.

また、本発明の実施の形態では、第1マスタIC570a(第1の信号レベル制御手段)が遊技盤10に備えられた演出装置を制御し、第2マスタIC570b(第2の信号レベル制御手段)が前面枠3に備えられた演出装置を制御するように構成されている。このように、遊技盤10に備えられた演出装置と前面枠3に備えられた演出装置とを別のグループとすることによって、前面枠3や遊技盤10を開発する際には、装飾制御装置610の上限数を開発対象の各グループに限定して考慮すればよいので、構成毎に並行して機器の開発を行うなど開発の効率化を図ることができる。   In the embodiment of the present invention, the first master IC 570a (first signal level control means) controls the effect device provided in the game board 10, and the second master IC 570b (second signal level control means). Is configured to control the effect device provided in the front frame 3. Thus, when developing the front frame 3 and the game board 10 by making the effect device provided in the game board 10 and the effect device provided in the front frame 3 into different groups, the decoration control device. Since it is only necessary to consider the upper limit number of 610 limited to each group to be developed, it is possible to improve development efficiency, for example, by developing devices in parallel for each configuration.

さらに、本発明の実施の形態によれば、CPU551によってマスタICが選択され、選択されたマスタICに接続される複数の装飾制御装置610(I2CI/Oエクスパンダ615)が、まとめて初期化されるので、装飾制御装置610を1つ1つ選択して初期化するような方法と比較すると、高速な初期化処理を行うことができる。 Furthermore, according to the embodiment of the present invention, a master IC is selected by the CPU 551, and a plurality of decoration control devices 610 (I 2 CI / O expanders 615) connected to the selected master IC are collectively initialized. Therefore, compared with a method of selecting and initializing the decoration control devices 610 one by one, high-speed initialization processing can be performed.

このとき、選択されたマスタICに接続される装飾制御装置610だけを初期化して、選択されない他のマスタICに接続される装飾制御装置610を初期化しないような制御が可能となる。   At this time, it is possible to perform control such that only the decoration control device 610 connected to the selected master IC is initialized and the decoration control device 610 connected to another master IC that is not selected is not initialized.

そのため、遊技機に備えた全ての装飾制御装置610のうち、必要最小限の範囲に属する装飾制御装置610だけを初期化することができるので、装飾制御装置610の初期化が行われて演出装置の動作が中断する頻度を、低下させることができる。   Therefore, since only the decoration control device 610 belonging to the minimum necessary range can be initialized among all the decoration control devices 610 provided in the gaming machine, the decoration control device 610 is initialized and the effect device. The frequency at which the operation is interrupted can be reduced.

また、本発明の実施の形態によれば、すべてのマスタICをリセットしようとする場合にはハードリセットを行う構成となっているため、各マスタICを1個ずつソフトリセットする場合と比較して、高速に初期化を行うことが可能となる。   Further, according to the embodiment of the present invention, when all the master ICs are to be reset, a hard reset is performed. Therefore, compared with a case where each master IC is soft reset one by one. Initialization can be performed at high speed.

一方、一部のマスタICをリセットしようとする場合には、データバスを経由するソフトリセットによって初期化を実行するため、すべてのマスタICの初期化信号入力端子に個別に信号入力するような複雑な回路を必要とせずに、1つのポートを備えていればよい。すなわち、起動時に毎回必ず実行されるすべてのマスタICのリセットは高速で行うことが可能となり、非常時にのみ実行される一部のみのマスタICのリセットは、簡素化された回路で実行可能となるため、特に、マスタICの数が多い構成の場合に有効となる。   On the other hand, when a part of the master ICs is to be reset, the initialization is executed by a soft reset via the data bus. Therefore, it is complicated to input signals individually to the initialization signal input terminals of all the master ICs. It is sufficient to provide one port without requiring a simple circuit. In other words, all master ICs that are always executed at the time of startup can be reset at high speed, and only a part of master ICs that are executed only in an emergency can be reset with a simplified circuit. Therefore, this is particularly effective in a configuration with a large number of master ICs.

また、本発明の実施の形態によれば、マスタICによる処理がそれぞれ並列して動作するため、高速な処理が可能となる。さらに、画面更新のタイミングと同期させて演出装置の演出態様が更新するように制御されるため、画面表示と調和のとれた発光の演出が可能となる。   In addition, according to the embodiment of the present invention, since the processing by the master IC operates in parallel, high-speed processing is possible. Further, since the effect mode of the effect device is controlled to be synchronized with the screen update timing, the effect of light emission in harmony with the screen display becomes possible.

さらに、本発明の実施の形態によれば、取り込まれたデータを演出装置の出力態様として反映させるタイミングが、タイミング信号線とデータ線の信号レベル変化(ストップコンディションの受信)によって決定されるので、従来のLAT信号のような信号が不要となる。そのため、LAT信号を送信するための配線が不要になり、配線をより簡素化することが可能となる。   Furthermore, according to the embodiment of the present invention, the timing at which the captured data is reflected as the output mode of the effect device is determined by the signal level change (reception of the stop condition) of the timing signal line and the data line. A signal such as a conventional LAT signal becomes unnecessary. This eliminates the need for wiring for transmitting the LAT signal, and makes it possible to simplify the wiring.

また、本発明の実施の形態によれば、複数の装飾制御装置610に対して、個別の演出制御データを同一の信号線を用いて送信することが可能となり、さらに、制御対象の各演出装置の演出態様を同時に更新することが可能となる。   Further, according to the embodiment of the present invention, it is possible to transmit individual effect control data to the plurality of decoration control devices 610 using the same signal line, and each effect device to be controlled. It is possible to simultaneously update the production mode.

以上説明した本発明の実施の形態では、VDP割込発生時に、スレーブ出力データ編集処理によって、LEDなどの発光素子(装飾装置620)の発光態様を指定する輝度データや駆動体の動作データなどを含む演出制御データ(スレーブ出力データ)を作成していた。スレーブ出力データ編集処理では、すべての装飾装置620について、スレーブ出力データを作成していた。   In the embodiment of the present invention described above, luminance data for designating the light emission mode of a light emitting element such as an LED (decoration device 620), operation data of a driving body, and the like by slave output data editing processing when a VDP interrupt occurs. Production control data (slave output data) was created. In the slave output data editing process, slave output data is created for all the decoration devices 620.

また、VDP割込が発生する間隔で必要な処理(図37のステップ3707から3721までの処理)をすべて完了させなければならない。しかしながら、装飾装置620の数が多くなると、スレーブ出力データ編集処理に要する時間が増大し、VDP割込発生時に実行される処理をすべて完了できなくなってしまうおそれがある。   Also, all necessary processes (processes from steps 3707 to 3721 in FIG. 37) must be completed at intervals at which VDP interrupts occur. However, when the number of decoration devices 620 increases, the time required for the slave output data editing process increases, and there is a possibility that all processes executed when a VDP interrupt occurs cannot be completed.

そこで、所定の間隔でタイマ割込を発生させて、タイマ割込発生時に装飾装置620のスレーブ出力データを作成する処理を分割して実行することによって、スレーブ出力データ編集処理における負荷の集中を分散させる。こうすることによって、VDP割込発生時の処理を円滑に実行させる変形例を以下に説明する。   Therefore, by generating a timer interrupt at a predetermined interval and dividing and executing the process of creating the slave output data of the decoration device 620 when the timer interrupt occurs, the load concentration in the slave output data editing process is distributed. Let A modification example in which the processing at the time of occurrence of the VDP interrupt is executed smoothly by doing this will be described below.

本発明の実施の形態の変形例では、特に、LEDなどの発光素子の発光態様を制御するための演出制御データ(スレーブ出力データ)を対象に説明する。なお、モータなどの駆動体についても同様に処理することが可能である。   In the modified example of the embodiment of the present invention, description will be made especially on effect control data (slave output data) for controlling the light emission mode of a light emitting element such as an LED. The same processing can be performed for a driving body such as a motor.

まず、スレーブに出力する演出制御データ(点灯パターンデータ)を格納するためのテーブルを図61に示し、タイマ割込を発生させるための構成を図62にて説明する。さらに、図63及び図64を参照しながら本発明の実施の形態から変更された処理について説明する。最後に図65を参照しながら処理全体の流れについて説明する。   First, FIG. 61 shows a table for storing effect control data (lighting pattern data) to be output to the slave, and FIG. 62 describes a configuration for generating a timer interrupt. Further, processing changed from the embodiment of the present invention will be described with reference to FIGS. 63 and 64. Finally, the flow of the entire process will be described with reference to FIG.

図61は、本発明の実施の形態の変形例の装飾装置620の点灯パターンデータを格納するための点灯パターンテーブル6100の一例を示す図である。   FIG. 61 is a diagram showing an example of a lighting pattern table 6100 for storing lighting pattern data of a decoration device 620 according to a modification of the embodiment of the present invention.

点灯パターンテーブル6100は、装飾装置620(LED)の点灯パターン(輝度データ)を格納する。点灯パターンテーブル6100は、例えば、演出制御装置550のRAM553に記憶されている。点灯パターンテーブル6100の各エントリは、それぞれ装飾装置620(LED)に対応するため、装飾装置620(LED)の数のエントリが登録される。   The lighting pattern table 6100 stores lighting patterns (luminance data) of the decoration device 620 (LED). The lighting pattern table 6100 is stored in the RAM 553 of the effect control device 550, for example. Since each entry of the lighting pattern table 6100 corresponds to the decoration device 620 (LED), the number of entries of the decoration device 620 (LED) is registered.

点灯パターンテーブル6100には、LED番号6101、所属グループ番号6102、所属スレーブ番号6103、輝度データ6104、及び更新完了フラグ6105が含まれる。   The lighting pattern table 6100 includes an LED number 6101, an assigned group number 6102, an assigned slave number 6103, luminance data 6104, and an update completion flag 6105.

LED番号6101は、各装飾装置620(LED)を一意に識別する識別子である。各装飾装置620は、配置及び演出態様などに基づいて、関連する他の装飾装置620とともにグループ単位(言い換えれば演出装置単位)で管理される。所属グループ番号6102は、各装飾装置620が所属するグループの識別情報である。所属スレーブ番号6103は、各装飾装置620を制御するスレーブ(I2CI/Oエクスパンダ615)の識別情報である。 The LED number 6101 is an identifier for uniquely identifying each decoration device 620 (LED). Each decoration device 620 is managed in group units (in other words, production device units) together with other related decoration devices 620 on the basis of the arrangement and the production mode. The belonging group number 6102 is identification information of a group to which each decoration device 620 belongs. The affiliated slave number 6103 is identification information of a slave (I 2 CI / O expander 615) that controls each decoration device 620.

即ち、所属グループ番号が同じLED同士は、同一の演出装置にて用いられているものとする。また、所属スレーブ番号が同じLED同士は、同一のI2CI/Oエクスパンダ615によって制御されることになる。 That is, it is assumed that LEDs having the same group number are used in the same effect device. Further, LEDs having the same belonging slave number are controlled by the same I 2 CI / O expander 615.

また、同じスレーブ(I2CI/Oエクスパンダ615)によって制御される装飾装置620(LED)が別のグループに所属するように構成することも可能である。例えば、LED番号「8」のLEDは所属グループ「2」、所属スレーブ「2」となっているが、LED番号「9」のLEDは所属グループ「3」であるが、所属スレーブ「2」となっており、同じスレーブによって制御されるLEDであっても、別のグループに属するように管理されている。 Further, the decoration device 620 (LED) controlled by the same slave (I 2 CI / O expander 615) can be configured to belong to another group. For example, the LED with the LED number “8” belongs to the group “2” and the slave “2”. The LED with the LED number “9” belongs to the group “3”, but the slave “2” belongs to the group. Even if the LEDs are controlled by the same slave, they are managed so as to belong to different groups.

輝度データ6104は、各装飾装置620(LED)を制御するスレーブ(I2CI/Oエクスパンダ615)に送信されるLEDの輝度を設定するためのデータである。輝度とは、LEDから出力される光の強さであり、輝度データの値が大きいほど、出力されるLEDの光量が大きくなる。 The luminance data 6104 is data for setting the luminance of the LED transmitted to the slave (I 2 CI / O expander 615) that controls each decoration device 620 (LED). Luminance is the intensity of light output from the LED. The larger the value of the luminance data, the greater the amount of light output from the LED.

更新完了フラグ6105は、輝度データ6104の更新が完了したか否かを示す情報であり、タイマ割込発生時に輝度データ6104の更新が完了した場合に“ON”に設定され、更新が完了していない場合には“OFF”が設定される。   The update completion flag 6105 is information indicating whether or not the update of the luminance data 6104 has been completed. The update completion flag 6105 is set to “ON” when the update of the luminance data 6104 is completed when a timer interrupt occurs, and the update has been completed. If not, “OFF” is set.

前述のように、演出制御データ(スレーブ出力データ)は、VDP割込が発生するたびにすべての装飾装置620に対して作成される。そして、マスタ出力処理(図45)で発生する送信中断割込において各スレーブ(I2CI/Oエクスパンダ615)に発光態様を含む演出制御データが送信される。また、1回のVDP割込ですべてのスレーブ出力データが生成されるため、点灯パターンテーブル6100の各エントリの更新完了フラグ6105をVDP割込発生後、スレーブ出力データの作成を開始する前にすべて“OFF”に設定する。例えば、図37のステップ3707の処理の前に設定する。 As described above, the presentation control data (slave output data) is created for all the decoration devices 620 every time a VDP interrupt occurs. Then, the production control data including the light emission mode is transmitted to each slave (I 2 CI / O expander 615) in the transmission interruption interrupt generated in the master output process (FIG. 45). In addition, since all slave output data is generated by one VDP interrupt, the update completion flag 6105 of each entry in the lighting pattern table 6100 is all set after the VDP interrupt is generated and before the creation of slave output data is started. Set to “OFF”. For example, it is set before the process of step 3707 in FIG.

そして、後述するタイマ割込み処理によって、各エントリの輝度データ6104が更新され、更新完了フラグ6105が“ON”に設定される。本発明の実施の形態の変形例では、輝度データ6104が更新される前、例えば、輝度データの作成中に次のタイマ割込が発生した場合には、輝度データの作成を中止する。すなわち、次のタイマ割り込みの発生までに輝度データの作成が完了しなかった場合には、作成を継続せずに次のLEDの輝度データを作成する。このとき、中止されたタイマ割込み処理で設定されるはずの輝度データ6104は更新されず、更新完了フラグ6105は“OFF”に設定されたままとなる。更新完了フラグ6105が“OFF”の装飾装置620(LED)の扱いについては、図64のステップ6403の処理にて後述する。   Then, the brightness data 6104 of each entry is updated by timer interrupt processing described later, and the update completion flag 6105 is set to “ON”. In the modification of the embodiment of the present invention, before the luminance data 6104 is updated, for example, when the next timer interruption occurs during the generation of the luminance data, the generation of the luminance data is stopped. In other words, if the creation of the brightness data is not completed before the next timer interrupt occurs, the brightness data of the next LED is created without continuing the creation. At this time, the luminance data 6104 that should be set in the interrupted timer interrupt process is not updated, and the update completion flag 6105 remains set to “OFF”. The handling of the decoration device 620 (LED) whose update completion flag 6105 is “OFF” will be described later in the processing of step 6403 in FIG.

なお、図61に示した例では、LEDなどの発光素子について説明したが、モータやソレノイドなどの駆動体についても同様に扱うことが可能である。この場合、図61に示した点灯パターンテーブル6100に駆動体のエントリを追加するようにしてもよいし、別のテーブルを用意してもよい。   In the example shown in FIG. 61, a light emitting element such as an LED has been described. However, a driving body such as a motor or a solenoid can be handled in the same manner. In this case, an entry of the driving body may be added to the lighting pattern table 6100 shown in FIG. 61, or another table may be prepared.

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

本発明の実施の形態の変形例の演出制御装置550は、汎用タイマ回路567を備える点で図10に示した演出制御装置550と相違し、その他の構成は同一である。図62には、汎用タイマ回路567周辺の構成を示している。以下、汎用タイマ回路567に関して説明する。   An effect control device 550 according to a modification of the embodiment of the present invention is different from the effect control device 550 shown in FIG. 10 in that a general-purpose timer circuit 567 is provided, and the other configurations are the same. FIG. 62 shows a configuration around the general-purpose timer circuit 567. Hereinafter, the general-purpose timer circuit 567 will be described.

汎用タイマ回路567は、タイマが内蔵されており、指定された時間間隔でCPU551に割込信号(演出態様決定タイミング信号)を出力する。汎用タイマ回路567は、任意の時間間隔を指定して汎用的に使用することが可能である。   The general-purpose timer circuit 567 has a built-in timer and outputs an interrupt signal (effect mode determination timing signal) to the CPU 551 at designated time intervals. The general-purpose timer circuit 567 can be used for a general purpose by specifying an arbitrary time interval.

CPU551は、汎用タイマ回路567から割込信号の入力を受け付けると、実行中の処理を中断し、入力された割込信号に対応する処理を実行する。このとき、本発明の実施の形態の変形例では、タイマ割り込みが発生するたびに実行されるスレーブ出力データ編集処理は、LED1個分の輝度データを作成する(図63)。   When the CPU 551 receives an input of an interrupt signal from the general-purpose timer circuit 567, the CPU 551 interrupts the process being executed and executes a process corresponding to the input interrupt signal. At this time, in the modification of the embodiment of the present invention, the slave output data editing process that is executed each time a timer interrupt occurs creates luminance data for one LED (FIG. 63).

また、VDP割込が発生する間隔内ですべてのLEDの輝度データを作成しなければならないため、タイマ割り込みを発生させる時間間隔は、VDP割込発生間隔を少なくとも全LEDの数で割った時間よりも短くなければならない。例えば、VDP割込が33.3ms周期で発生する場合には、LEDの数が100個であれば、少なくとも0.3ms周期でタイマ割り込みを発生させるように制御する。   Also, since the brightness data of all LEDs must be created within the interval at which the VDP interrupt occurs, the time interval for generating the timer interrupt is more than the time obtained by dividing the VDP interrupt occurrence interval by at least the number of all LEDs. Must also be short. For example, when a VDP interrupt occurs at a cycle of 33.3 ms, if the number of LEDs is 100, control is performed so that a timer interrupt is generated at a cycle of at least 0.3 ms.

図63は、本発明の実施の形態の変形例の汎用タイマ回路567からの割込信号が発生したときの汎用タイマ割込処理の手順を示すフローチャートである。   FIG. 63 is a flowchart showing a procedure of general-purpose timer interrupt processing when an interrupt signal is generated from general-purpose timer circuit 567 according to the modification of the embodiment of the present invention.

汎用タイマ回路567からの割込信号が発生すると、演出制御装置550は、次に輝度データを編集するLEDを選択する(6301)。この処理は、図61の点灯パターンテーブル6100に登録されているLEDを1つ選択する処理であり、汎用タイマ回路567から前回の割込信号が発生したときに選択されたLED番号の次のLED番号を選択するものである。   When the interrupt signal from the general-purpose timer circuit 567 is generated, the effect control device 550 next selects an LED for editing the luminance data (6301). This process is a process of selecting one LED registered in the lighting pattern table 6100 of FIG. 61, and the LED next to the LED number selected when the previous interrupt signal is generated from the general-purpose timer circuit 567. The number is selected.

なお、汎用タイマ回路567からの割込信号が、VDP割込の直後に発生したものである場合は、点灯パターンテーブル6100のLED番号が「1」のLEDが選択される。また、汎用タイマ回路567から前回の割込信号が発生したときに、点灯パターンテーブル6100の最終のLED番号が選択されている場合には、全てのLEDに対する処理が済んでいるものと見なされるので、図63の汎用タイマ割込処理は実行されない。   When the interrupt signal from the general-purpose timer circuit 567 is generated immediately after the VDP interrupt, the LED whose LED number is “1” in the lighting pattern table 6100 is selected. If the last LED number in the lighting pattern table 6100 is selected when the previous interrupt signal is generated from the general-purpose timer circuit 567, it is considered that the processing for all the LEDs has been completed. The general-purpose timer interrupt process of FIG. 63 is not executed.

続いて、選択対象のLEDの輝度データを生成し、対応する点灯パターンテーブル6100のエントリの輝度データ6104を更新する(6302)。輝度データ6104の更新が完了すると、対応する更新完了フラグ6105を“ON”に設定する(6303)。   Subsequently, the luminance data of the LED to be selected is generated, and the luminance data 6104 of the corresponding entry in the lighting pattern table 6100 is updated (6302). When the update of the luminance data 6104 is completed, the corresponding update completion flag 6105 is set to “ON” (6303).

なお、前述のように、輝度データを更新するまでの間に、汎用タイマ回路567からの次の割込信号が発生した場合には本処理を中断する。このように制御することによって、何らかの理由で特定のLEDの輝度データの作成に時間を要した場合であっても、処理を中止して次のLEDの輝度データを作成するため、すべてのLEDを偏りなく輝度データを更新することができる。   As described above, when the next interrupt signal from the general-purpose timer circuit 567 is generated before the luminance data is updated, this processing is interrupted. By controlling in this way, even if it takes time to create the brightness data of a specific LED for some reason, the process is stopped and the brightness data of the next LED is created. Luminance data can be updated without bias.

図64は、本発明の実施の形態の変形例のスレーブ出力データ編集処理の手順を示すフローチャートである。   FIG. 64 is a flowchart showing a procedure of slave output data editing processing according to a modification of the embodiment of the present invention.

スレーブ出力データ編集処理は、VDP割り込み発生時において実行される処理であり、図37のステップ3713の処理に対応する。前述したスレーブ出力データ編集処理では、各LEDの輝度データを含む各スレーブの演出制御データ(スレーブ出力データ)を生成し、RAM553上に確保された出力データ準備領域に格納する(図36参照)。   The slave output data editing process is a process executed when a VDP interrupt occurs, and corresponds to the process of step 3713 in FIG. In the slave output data editing process described above, the production control data (slave output data) of each slave including the luminance data of each LED is generated and stored in the output data preparation area secured on the RAM 553 (see FIG. 36).

これに対し、本発明の実施の形態の変形例では、タイマ割り込み処理(図63)で輝度データを生成し、生成された輝度データを点灯パターンテーブル6100(図61)に格納する。そして、各エントリの輝度データ6104及び更新完了フラグ6105の値に基づいて演出制御データを生成し、RAM553上に確保された出力データ準備領域に格納する。以下、詳細について説明する。   On the other hand, in a modification of the embodiment of the present invention, luminance data is generated by timer interruption processing (FIG. 63), and the generated luminance data is stored in the lighting pattern table 6100 (FIG. 61). Then, presentation control data is generated based on the brightness data 6104 and the update completion flag 6105 of each entry, and stored in the output data preparation area secured on the RAM 553. Details will be described below.

演出制御装置550は、スレーブ出力データ編集処理が開始されると、まず、点灯パターンテーブル6100のすべてのエントリの更新完了フラグ6405を検査する(6401)。そして、すべてのエントリの更新完了フラグ6405が“ON”であるか否かを判定する(6402)。   When the slave output data editing process is started, the effect control device 550 first checks the update completion flags 6405 of all the entries in the lighting pattern table 6100 (6401). Then, it is determined whether or not the update completion flag 6405 of all entries is “ON” (6402).

演出制御装置550は、すべてのLEDに対応する更新完了フラグ6405が“ON”でない場合、すなわち、少なくとも一つ以上のLEDの輝度データが作成されていない場合には(6402の結果が「N」)、点灯パターンデータ(輝度データ)を補正する(6403)。   When the update completion flag 6405 corresponding to all the LEDs is not “ON”, that is, the brightness data of at least one LED has not been created (the result of 6402 is “N”). ), The lighting pattern data (luminance data) is corrected (6403).

補正の対象となる点灯パターンデータ(輝度データ)は、更新完了フラグ6405が“OFF”のLEDの他に、当該LEDに関連するLEDも含める。例えば、複数のLEDの発光によって遊技者に何らかの情報を報知する場合、一部のLEDを点灯させずに関連する他のLEDをそのまま発光させると、本来出力されるはずの色とは異なった色で発光してしまい、遊技者を誤解させてしまう可能性があるためである。   The lighting pattern data (luminance data) to be corrected includes an LED related to the LED in addition to the LED whose update completion flag 6405 is “OFF”. For example, when notifying some information to the player by light emission of a plurality of LEDs, if other related LEDs are lighted as they are without turning on some of the LEDs, a color different from the color that should be output originally This is because it may cause the player to misunderstand.

関連する他のLEDは、輝度データが作成できなかったLEDが属しているグループの他のLEDであってもよいし、輝度データが作成できなかったLEDを制御するスレーブ(I2CI/Oエクスパンダ615、装飾制御装置620)が制御する他のLEDとしてもよい。 The other related LED may be another LED of the group to which the LED for which luminance data could not be created belongs, or a slave (I 2 CI / O export) that controls the LED for which luminance data could not be created. Other LEDs controlled by the panda 615 and the decoration control device 620) may be used.

輝度データの補正は、例えば、輝度データが作成されていないLED及び関連する他のLEDが点灯しないように設定する。また、輝度データを作成できなかったLEDの数が少ない場合には、当該LEDの輝度データを再作成するようにしてもよい。   For example, the correction of the luminance data is set so that the LEDs for which the luminance data is not created and other related LEDs are not lit. If the number of LEDs for which luminance data could not be created is small, the luminance data for the LEDs may be recreated.

なお、LEDの輝度は、連続的に変化する場合が多いため、以前更新された輝度データをそのまま利用するようにしてもよい。この場合には、関連する他のLEDの輝度も更新前のデータを利用するようにしてもよい。このとき、点灯パターンテーブル6100に格納された輝度データは更新されているが、出力データ退避領域に直前に送信された輝度データ(演出制御データ)が格納されているため、これを利用すればよい。   In addition, since the brightness | luminance of LED often changes continuously, you may make it utilize previously updated brightness | luminance data as it is. In this case, the brightness of other related LEDs may be used for the data before update. At this time, the luminance data stored in the lighting pattern table 6100 has been updated, but since the luminance data (effect control data) transmitted immediately before is stored in the output data saving area, this may be used. .

演出制御装置550は、全LEDに対応する更新完了フラグ6405が“ON”である場合(6402の結果が「Y」)、又は点灯パターンデータの補正が完了すると、輝度データに対応した演出制御データを生成し、出力データ準備領域(図36)に生成された演出制御データを設定する。以降の処理は、前述した本発明の実施の形態と同様である。   When the update completion flag 6405 corresponding to all LEDs is “ON” (the result of 6402 is “Y”), or when the correction of the lighting pattern data is completed, the effect control device 550 displays the effect control data corresponding to the luminance data. And the effect control data generated in the output data preparation area (FIG. 36) is set. The subsequent processing is the same as that of the above-described embodiment of the present invention.

図65は、本発明の実施の形態及び変形例のマスタ出力処理(データ送信指令処理)及びスレーブ出力データ編集処理の実行タイミングを説明する図である。図65(A)は、本発明の実施の形態のマスタ出力処理及びスレーブ出力データ編集処理の実行タイミングを示し、図65(B)は、本発明の実施の形態の変形例のマスタ出力処理及びスレーブ出力データ編集処理の実行タイミングを示す図である。   FIG. 65 is a diagram for explaining the execution timing of the master output process (data transmission command process) and the slave output data edit process according to the embodiment and the modification of the present invention. FIG. 65A shows the execution timing of the master output processing and slave output data editing processing according to the embodiment of the present invention, and FIG. 65B shows the master output processing and the modification of the embodiment of the present invention. It is a figure which shows the execution timing of a slave output data edit process.

図65(A)及び図65(B)の時間Tは、VDP割込が発生する周期を示し、例えば、33.3msが設定されている。また、図65(B)の時間tは、スレーブ出力データ編集処理の実行間隔、すなわち、汎用タイマ回路567によって割り込みを発生させる間隔を示している。時間tごとに実行されるスレーブ出力データ編集処理は、遊技機に備えられた装飾装置620(LED)1つ分の輝度データが作成されるため、時間tは時間Tを装飾装置620(LED)の数で割った時間とすることができ、また、これよりも少ない時間としてもよい。   The time T in FIGS. 65 (A) and 65 (B) indicates the period in which the VDP interrupt occurs, and is set to 33.3 ms, for example. A time t in FIG. 65B indicates the execution interval of the slave output data editing process, that is, the interval at which the general-purpose timer circuit 567 generates an interrupt. In the slave output data editing process executed at every time t, luminance data for one decoration device 620 (LED) provided in the gaming machine is created, so the time t represents the time T and the decoration device 620 (LED). The time divided by the number of can also be set to a time shorter than this.

マスタ出力処理は、CPU551が、第1マスタIC570a又は第2マスタIC570bに対して、図45に示したマスタによるデータ送信処理を指令する処理に対応し、本発明の実施の形態及び変形例ともに共通のタイミングで実行される。マスタ出力処理では、送信割り込み(マスタ割り込み)が発生すると、初期化指示データの送信を指令する処理(図42)又は演出制御データの送信を指令する処理(図43)が実行される。   The master output process corresponds to the process in which the CPU 551 instructs the first master IC 570a or the second master IC 570b to perform the data transmission process by the master shown in FIG. 45, and is common to the embodiments and modifications of the present invention. It is executed at the timing. In the master output process, when a transmission interrupt (master interrupt) occurs, a process for instructing transmission of initialization instruction data (FIG. 42) or a process for instructing transmission of effect control data (FIG. 43) is executed.

このとき、汎用タイマによる割り込み処理が実行されている場合には、マスタ割り込みによる処理を優先して実行する。このように制御することによって、マスタICから各スレーブに確実にデータを送信することができる。   At this time, when the interrupt process by the general-purpose timer is being executed, the process by the master interrupt is preferentially executed. By controlling in this way, data can be reliably transmitted from the master IC to each slave.

図65(A)に示す本発明の実施の形態のスレーブ出力データ編集処理(図37のステップ3713)では、すべての装飾装置620(LED)の輝度データを作成し、その後、出力データ準備領域にデータを格納している。そのため、輝度データを作成するLEDの数が多い場合には、メイン処理における後続の処理を実行する時間が不足するおそれがある。   In the slave output data editing process (step 3713 in FIG. 37) of the embodiment of the present invention shown in FIG. 65 (A), the brightness data of all the decoration devices 620 (LEDs) is created, and thereafter, in the output data preparation area. Stores data. Therefore, when the number of LEDs for creating luminance data is large, there is a possibility that the time for executing the subsequent process in the main process is insufficient.

これに対し、図65(B)に示す本発明の実施の形態の変形例では、スレーブ出力データ編集処理(図37のステップ3713)が実行される時点で、汎用タイマ割り込みによって輝度データが既に作成されている。未処理の装飾装置620(LED)が残っている場合には、残りのLEDの輝度データが作成されるまで待機してもよいし、タイマ割り込み処理によらずに輝度データを作成するようにすればよい。   On the other hand, in the modification of the embodiment of the present invention shown in FIG. 65 (B), the luminance data is already created by the general-purpose timer interrupt when the slave output data editing process (step 3713 in FIG. 37) is executed. Has been. When the unprocessed decoration device 620 (LED) remains, it may wait until the brightness data of the remaining LED is created, or the brightness data may be created without using the timer interrupt process. That's fine.

そして、本発明の実施の形態の変形例のスレーブ出力データ編集処理(図37のステップ3713、図64)では、更新完了フラグ6105に基づいて輝度データの作成状況をチェックし、必要に応じて補正するだけでよい(図64のステップ6403)。   Then, in the slave output data editing process (step 3713 in FIG. 37, FIG. 64) of the modified example of the embodiment of the present invention, the luminance data creation status is checked based on the update completion flag 6105 and corrected if necessary. It is only necessary to do this (step 6403 in FIG. 64).

以上のように構成することによって、VDP割込発生時に演出装置の制御データを作成するために十分な時間を確保することが可能となり、より円滑に演出制御を行うことが可能となる。さらに、LEDなどの発光素子の発光態様を決定する処理の回数が増えても、画像更新周期の間で分散して処理されるため、CPU551の処理負荷を均等化させることができる。   By configuring as described above, it is possible to secure a sufficient time for creating the control data of the effect device when the VDP interruption occurs, and it is possible to perform the effect control more smoothly. Further, even if the number of processes for determining the light emission mode of light emitting elements such as LEDs is increased, the processing load of the CPU 551 can be equalized because the processes are performed in a distributed manner during the image update period.

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

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

1 遊技機
2 本体枠(外枠)
3 前面枠(遊技枠)
9a、9b 装飾部材
10 遊技盤
12 補助遊技装置ユニット
13 第1可動式照明
13a 照明駆動第1モータ(MOT)
14 第2可動式照明
14a 照明駆動第2モータ(MOT)
15 信頼度報知装置
29 異常報知LED
30 スピーカ
45 サイドランプ
51 センターケース
53 表示装置
58 可動演出装置
63 第1演出ユニット
64 第2演出ユニット
70 第1演出部材
71 役物駆動第1モータ(MOT)
80 第2演出部材
81 役物駆動第2モータ(MOT)
500 遊技制御装置
550 演出制御装置
563 汎用タイマ回路
570a 第1マスタIC
570b 第2マスタIC
581 コマンドレジスタ(REG)
582 ステータスレジスタ(REG)
583 自身アドレス設定レジスタ(REG)
600 中継基板
603 空き端子モニタ
610 装飾制御装置
615 I2CI/Oエクスパンダ
620 装飾装置
625 装飾装置基板
640 バス監視ウォッチドックタイマ(WDT)
641 自己占有ウォッチドックタイマ(WDT)
1600 簡易中継基板
3200、3300 異常判定テーブル
6100 点灯パターンテーブル
1 gaming machine 2 body frame (outer frame)
3 Front frame (game frame)
9a, 9b Decoration member 10 Game board 12 Auxiliary game device unit 13 1st movable illumination 13a Illumination drive 1st motor (MOT)
14 Second movable illumination 14a Illumination drive second motor (MOT)
15 Reliability notification device 29 Abnormality notification LED
30 Speakers 45 Side lamps 51 Center case 53 Display device 58 Movable effect device 63 First effect unit 64 Second effect unit 70 First effect member 71 The accessory drive first motor (MOT)
80 2nd production member 81 Second article drive second motor (MOT)
500 Game control device 550 Production control device 563 General-purpose timer circuit 570a First master IC
570b Second master IC
581 Command register (REG)
582 Status register (REG)
583 Self-address setting register (REG)
600 Relay board 603 Empty terminal monitor 610 Decoration control device 615 I 2 CI / O expander 620 Decoration device 625 Decoration device board 640 Bus monitoring watchdog timer (WDT)
641 Self-occupied watchdog timer (WDT)
1600 Simple relay board 3200, 3300 Abnormality determination table 6100 Lighting pattern table

Claims (7)

遊技領域に設けた所定の始動入賞領域を遊技球が通過すると、複数の識別情報を変動表示する変動表示ゲームが実行され、該変動表示ゲームの結果に対応して遊技者に特典を付与する特別遊技状態を発生可能な遊技機において、
前記遊技領域における遊技を統括的に制御する遊技制御手段と、
遊技の演出を行う複数の演出装置と、
前記遊技制御手段からの指令に対応して、前記複数の演出装置を制御する演出制御手段と、
遊技に係わる画像を表示する画像表示装置と、
を備え、
前記演出装置の系統の各々を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段を各グループ毎に設け、
前記演出制御手段を、前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段として構成するとともに、
前記グループ統括制御手段から前記グループ単位制御手段へタイミング信号を伝達するタイミング信号線と、
前記グループ統括制御手段から前記グループ単位制御手段へデータ信号を伝達するデータ線と、
を備えることにより前記グループ統括制御手段と前記各グループ単位制御手段との間でデータ送信を可能とし、
前記グループ統括制御手段は、
前記画像表示装置の画像を更新する画像更新信号を生成する画像更新信号生成手段と、
前記データ線の信号レベルを送信するデータに対応する信号レベルに設定しながら前記タイミング信号線の信号レベルを繰り返し変化させることで、順次前記グループ単位制御手段に、前記画像更新信号に同期させながらデータを送信する送信手段と、
を備えるとともに、
前記送信手段は、
前記演出装置の制御に関わる演算処理を行う演算処理手段と、
前記グループ単位制御手段と接続されて、前記演算処理手段からの指令に基づいて、該グループ単位制御手段との間の前記データ線及びタイミング信号線の各信号レベルを制御する信号レベル制御手段と、
を含んで構成され、
前記演算処理手段による演算処理と前記信号レベル制御手段による各信号レベルの制御とが、各々並行して実行可能であることを特徴とする遊技機。
When the game ball passes through a predetermined start winning area provided in the game area, a variable display game is displayed in which a plurality of pieces of identification information are displayed in a variable manner, and a special bonus is provided to the player in accordance with the result of the variable display game. In a gaming machine capable of generating a gaming state,
Game control means for comprehensively controlling games in the game area;
A plurality of directing devices for directing games;
In response to a command from the game control means, effect control means for controlling the plurality of effect devices;
An image display device for displaying images related to the game;
With
Dividing each of the systems of the effect devices into a plurality of groups, and providing group unit control means for each group to control the effect devices belonging to the divided group,
The production control means is configured as a group overall control means for comprehensively controlling each of the group unit control means,
A timing signal line for transmitting a timing signal from the group overall control means to the group unit control means;
A data line for transmitting a data signal from the group overall control means to the group unit control means;
By enabling the data transmission between the group overall control means and each group unit control means,
The group overall control means is:
Image update signal generating means for generating an image update signal for updating an image of the image display device;
By repeatedly changing the signal level of the timing signal line while setting the signal level of the data line to the signal level corresponding to the data to be transmitted, the group unit control unit sequentially synchronizes the data with the image update signal. Transmitting means for transmitting
With
The transmission means includes
Arithmetic processing means for performing arithmetic processing related to the control of the rendering device;
A signal level control unit connected to the group unit control unit and controlling each signal level of the data line and the timing signal line with the group unit control unit based on a command from the arithmetic processing unit;
Comprising
A gaming machine characterized in that arithmetic processing by the arithmetic processing means and control of each signal level by the signal level control means can be executed in parallel.
前記演算処理手段は、前記画像更新信号が生成される間に、前記演出装置の演出態様を決定する処理を、複数回、かつ、定期的に実行することを特徴とする請求項1に記載の遊技機。   The said arithmetic processing means performs the process which determines the production | presentation aspect of the said production | presentation apparatus several times and regularly, while the said image update signal is produced | generated. Gaming machine. 前記画像更新信号の生成周期よりも短い周期となるように、演出態様決定タイミング信号を周期的に生成する演出態様決定タイミング信号生成手段を備え、
前記演出装置の演出態様を決定する処理は、前記演出態様決定タイミング信号が発生した場合に実行されることを特徴とする請求項2に記載の遊技機。
An effect mode determination timing signal generation means for periodically generating an effect mode determination timing signal so as to have a cycle shorter than the generation cycle of the image update signal,
The gaming machine according to claim 2, wherein the process of determining the effect mode of the effect device is executed when the effect mode determination timing signal is generated.
前記演出装置には、発光することによって当該遊技機の装飾を行う複数の発光素子が含まれており、
前記演出装置の演出態様を決定する処理は、前記発光素子の発光態様を決定する処理であることを特徴とする請求項2又は請求項3に記載の遊技機。
The stage device includes a plurality of light emitting elements that decorate the gaming machine by emitting light,
The game machine according to claim 2 or 3, wherein the process of determining an effect mode of the effect device is a process of determining a light emission mode of the light emitting element.
前記演算処理手段は、前記信号レベル制御手段からの送信割り込みが発生すると、該信号レベル制御手段に対して前記グループ単位制御手段へのデータ送信を指令するデータ送信指令処理を実行するとともに、
該データ送信指令処理は、前記発光素子の発光態様を決定する処理よりも優先して実行されることを特徴とする請求項4に記載の遊技機。
When the transmission interrupt from the signal level control means occurs, the arithmetic processing means executes data transmission command processing for instructing the signal level control means to transmit data to the group unit control means,
The gaming machine according to claim 4, wherein the data transmission command process is executed with priority over a process of determining a light emission mode of the light emitting element.
前記演算処理手段は、前記画像更新信号が生成される周期ごとに、前記グループ単位制御手段に送信する演出制御データを作成して前記信号レベル制御手段に設定する処理を行うとともに、
前記グループ単位制御手段に対する演出制御データの送信に失敗した場合には、前記画像表示装置の画像を更新する次のタイミングにおいて、送信に失敗した前記演出制御データを前記信号レベル制御手段に再度設定せずに、新たに作成された演出制御データを設定することを特徴とする請求項1から5のいずれか一つに記載の遊技機。
The arithmetic processing means performs processing for creating effect control data to be transmitted to the group unit control means and setting the signal level control means for each period in which the image update signal is generated,
If the transmission of the production control data to the group unit control means fails, the production control data that failed to be transmitted is set again in the signal level control means at the next timing of updating the image of the image display device. The game machine according to claim 1, wherein newly created production control data is set.
前記信号レベル制御手段は、複数備えられており、各々が並行して動作可能に構成されていることを特徴とする請求項1から6のいずれか一つに記載の遊技機。   The gaming machine according to any one of claims 1 to 6, wherein a plurality of the signal level control means are provided, and each is configured to be operable in parallel.
JP2013034483A 2013-02-25 2013-02-25 Game machine Active JP5604653B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013034483A JP5604653B2 (en) 2013-02-25 2013-02-25 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013034483A JP5604653B2 (en) 2013-02-25 2013-02-25 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010066350A Division JP2011194134A (en) 2010-03-23 2010-03-23 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014059533A Division JP5878950B2 (en) 2014-03-24 2014-03-24 Game machine

Publications (3)

Publication Number Publication Date
JP2013135876A true JP2013135876A (en) 2013-07-11
JP2013135876A5 JP2013135876A5 (en) 2013-09-26
JP5604653B2 JP5604653B2 (en) 2014-10-08

Family

ID=48912130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013034483A Active JP5604653B2 (en) 2013-02-25 2013-02-25 Game machine

Country Status (1)

Country Link
JP (1) JP5604653B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003164560A (en) * 2001-12-03 2003-06-10 Aruze Corp Game machine
JP2007000246A (en) * 2005-06-22 2007-01-11 Heiwa Corp Game machine
JP2008132085A (en) * 2006-11-27 2008-06-12 Sankyo Co Ltd Game machine
JP2008220409A (en) * 2007-03-08 2008-09-25 Heiwa Corp Game machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003164560A (en) * 2001-12-03 2003-06-10 Aruze Corp Game machine
JP2007000246A (en) * 2005-06-22 2007-01-11 Heiwa Corp Game machine
JP2008132085A (en) * 2006-11-27 2008-06-12 Sankyo Co Ltd Game machine
JP2008220409A (en) * 2007-03-08 2008-09-25 Heiwa Corp Game machine

Also Published As

Publication number Publication date
JP5604653B2 (en) 2014-10-08

Similar Documents

Publication Publication Date Title
JP5829380B2 (en) Game machine
JP5604708B2 (en) Game machine
JP5957045B2 (en) Game machine
JP5945744B2 (en) Game machine
JP5395695B2 (en) Game machine
JP5807247B2 (en) Game machine
JP5593510B2 (en) Game machine
JP2011188979A (en) Game machine
JP5604707B2 (en) Game machine
JP5719389B2 (en) Game machine
JP5942156B2 (en) Game machine
JP5190082B2 (en) Game machine
JP5286494B2 (en) Game machine
JP5593509B2 (en) Game machine
JP5878950B2 (en) Game machine
JP5604653B2 (en) Game machine
JP5909259B2 (en) Game machine
JP5909260B2 (en) Game machine
JP6055997B2 (en) Game machine
JP5807246B2 (en) Game machine
JP5938684B2 (en) Game machine
JP5974032B2 (en) Game machine
JP5938685B2 (en) Game machine
JP5462677B2 (en) Game machine
JP5544476B2 (en) Game machine

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140324

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140722

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140725

R150 Certificate of patent or registration of utility model

Ref document number: 5604653

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250