JP2012090716A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2012090716A
JP2012090716A JP2010239518A JP2010239518A JP2012090716A JP 2012090716 A JP2012090716 A JP 2012090716A JP 2010239518 A JP2010239518 A JP 2010239518A JP 2010239518 A JP2010239518 A JP 2010239518A JP 2012090716 A JP2012090716 A JP 2012090716A
Authority
JP
Japan
Prior art keywords
control device
data
master
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
JP2010239518A
Other languages
Japanese (ja)
Other versions
JP5584933B2 (en
Inventor
Masaya Tanaka
雅也 田中
Koichi Matsuhashi
光一 松橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sophia Co Ltd
Original Assignee
Sophia Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sophia Co Ltd filed Critical Sophia Co Ltd
Priority to JP2010239518A priority Critical patent/JP5584933B2/en
Publication of JP2012090716A publication Critical patent/JP2012090716A/en
Application granted granted Critical
Publication of JP5584933B2 publication Critical patent/JP5584933B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a game machine configured to release a bus when the bus is occupied by group control units.SOLUTION: The game machine includes a game control unit for generally controlling a game, and a presentation control unit for controlling presentation device for game presentation. The game machine includes a group control units for controlling the presentation device in groups, a general group control unit for controlling the group control units, a timing signal line for transmitting a timing signal, and a data line for transmitting/receiving data bi-directionally. The group control units each include an initialization device for initializing the group control unit itself when the data line is occupied, and an activation setting device for activating the initialization device. A common address shared between the plurality of group control units, is allocated to the group control unit in advance, and when an initialization device-activating instruction is transmitted to the common address from the general group control unit, the initialization device is activated.

Description

グループに分割された演出装置を制御する複数のグループ単位制御手段と、複数のグループ単位制御手段を制御するグループ統括制御手段とを備える遊技機に関する。   The present invention relates to a gaming machine provided with a plurality of group unit control means for controlling the effect devices divided into groups and a group overall control means for controlling the plurality of group unit control means.

サブ中継基板と電飾基板との間の配線を簡素化することができる遊技機として、トップ電飾領域の中央部に配置されたトップ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).

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

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

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

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

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

さらに、一本のデータ線が、グループ統括制御手段からグループ単位制御手段へのデータ送信と、グループ単位制御手段からグループ統括制御手段への返答信号送信で共通利用されるため、データ線がグループ単位制御手段により占有されて使用できない状態が発生するおそれがある。   Furthermore, since one data line is used in common for data transmission from the group control unit to the group unit control unit and for sending a response signal from the group unit control unit to the group unit control unit, the data line is in group units. There is a possibility that a state occupied by the control means and unusable may occur.

そこで、本出願人は、特願2010−26316として、データ線がグループ単位制御手段によって占有された場合に、解除する手段を備えた提案を行っているが、この解除する手段は、必ずしも全ての遊技機メーカが使用するとは限らず、使用するか否かを任意に設定できることが好ましいということになった。   Therefore, the applicant of the present application has proposed as Japanese Patent Application No. 2010-26316 provided with means for canceling when the data line is occupied by the group unit control means. It is not necessarily used by game machine manufacturers, and it is preferable that whether or not to use can be set arbitrarily.

本発明は、配線を削減しながら、データ線がグループ単位制御手段により占有されて使用できない状態が発生しても解除可能であって、この解除手段を使用するか否かを設定可能な遊技機を提供することを目的とする。   The present invention can be released even when a state in which the data line is occupied by the group unit control means and cannot be used occurs while reducing the wiring, and a gaming machine capable of setting whether or not to use this release means The purpose is to provide.

本発明の代表的な一形態では、遊技を統括的に制御する遊技制御手段と、該遊技制御手段からの指令に対応して、遊技の演出を行う複数系統の演出装置を系統毎に制御可能な演出制御手段と、を備える遊技機において、前記演出装置の系統の各々を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段を各グループ毎に設け、前記演出制御手段を、前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段として構成するとともに、前記グループ統括制御手段から前記グループ単位制御手段へタイミング信号を伝達するタイミング信号線と、前記グループ統括制御手段と前記グループ単位制御手段との間で、下り方向及び上り方向の各データが授受されるデータ信号線と、を備えることにより前記グループ統括制御手段と前記各グループ単位制御手段との間でデータ送信を可能とし、前記グループ統括制御手段は、前記データ線の信号レベルを、下り方向データに対応する信号レベルに設定しながら前記タイミング信号線の信号レベルを繰り返し変化させることで、順次前記グループ単位制御手段に下り方向データの送信を行う第1送信手段と、前記第1送信手段が下り方向データの送信を行う際に、前記データ信号線が占有状態であるか否かを判定する占有判定手段と、前記データ信号線が占有状態であると判定された場合に、前記第1送信手段による下り方向データの送信を規制する規制手段と、を備え、前記グループ単位制御手段は、前記第1送信手段が下り方向データの送信を行った前記データ信号線を介して、上り方向データを前記グループ統括制御手段へ出力する第2送信手段と、当該グループ単位制御手段自身を初期化する初期化手段と、を備えるとともに、前記規制手段は、前記グループ単位制御手段に対して下り方向データを送信する際に前記データ線が占有状態であるか否かを判定し、占有状態と判定された場合に前記下り方向データの送信を規制し、前記初期化手段は、前記データ線が占有状態であるか否かを判定し、占有状態と判定された場合に当該グループ単位制御手段自身を初期化し、前記グループ単位制御手段には、前記初期化手段を有効化するか否かを設定する有効化設定手段が備えられるとともに、複数のグループ単位制御手段の間で共通となる共通アドレスと、各グループ単位制御手段同士で相違する個別アドレスとが予め割り当てられ、前記グループ統括制御手段から、初期化手段有効化指令が前記共通アドレス宛に送信されると、前記有効化設定手段によって前記初期化手段を有効化させるための設定が行われる。   In a typical embodiment of the present invention, game control means for controlling the game in an integrated manner, and a plurality of effect devices for effecting the game can be controlled for each system in response to a command from the game control means. In the gaming machine comprising the production control means, each group of the production devices is divided into a plurality of groups, and group unit control means for controlling the production devices belonging to the divided groups is provided for each group. The production control means is configured as a group overall control means for overall control of each of the group unit control means, and a timing signal line for transmitting a timing signal from the group overall control means to the group unit control means; A data signal line through which each data in the downlink direction and the uplink direction is exchanged between the group overall control unit and the group unit control unit; Providing data transmission between the group overall control means and each group unit control means, and the group overall control means sets the signal level of the data line to a signal level corresponding to downlink data. However, by repeatedly changing the signal level of the timing signal line, first transmission means for sequentially transmitting downlink data to the group unit control means, and when the first transmission means transmits downlink data Occupancy determination means for determining whether or not the data signal line is in an occupied state; and when it is determined that the data signal line is in an occupied state, the first transmission means transmits downlink data. Restricting means for restricting, wherein the group unit control means is configured to connect the data signal line through which the first transmitting means transmits downlink data. The second transmission means for outputting the uplink data to the group overall control means, and the initialization means for initializing the group unit control means itself, and the restriction means includes the group unit control means Determining whether or not the data line is in an occupied state when transmitting downlink data, and restricting the transmission of the downlink data when determined to be in an occupied state, the initialization means, It is determined whether or not the data line is in the occupied state, and when it is determined that the data line is in the occupied state, the group unit control unit itself is initialized, and the initialization unit is enabled in the group unit control unit. An enabling setting means for setting whether or not, a common address that is common among a plurality of group unit control means, and an individual address that is different between each group unit control means Is assigned in advance, and when the initialization unit validation command is transmitted from the group overall control unit to the common address, setting for enabling the initialization unit is performed by the validation setting unit. .

本発明の一形態によれば、共通アドレスを用いて各グループ単位制御手段に初期化手段有効化指令を送信することによって、各グループ単位制御手段の初期化手段の有効化を設定することができる。   According to one aspect of the present invention, it is possible to set the activation of the initialization unit of each group unit control unit by transmitting an initialization unit activation command to each group unit control unit using a common address. .

本発明の第1の実施の形態の遊技機の説明図である。It is explanatory drawing of the game machine of the 1st Embodiment of this invention. 本発明の第1の実施の形態の遊技盤の正面図である。It is a front view of the game board of a 1st embodiment of the present invention. 本発明の第1の実施の形態のセンターケースの分解斜視図である。It is a disassembled perspective view of the center case of the 1st Embodiment of this invention. 本発明の第1の実施の形態の可動演出装置が動作する前の状態を示す図である。It is a figure which shows the state before the movable production apparatus of the 1st Embodiment of this invention operate | moves. 本発明の第1の実施の形態の可動演出装置が動作し、第1演出ユニット及び第2演出ユニットが動作した結果、当接部(第1当接部及び第2当接部)にて当接している状態を示す図である。As a result of the operation of the movable effect device according to the first embodiment of the present invention and the operation of the first effect unit and the second effect unit, the contact parts (first contact part and second contact part) It is a figure which shows the state which has contact | connected. 本発明の第1の実施の形態の第1演出部材の分解斜視図である。It is a disassembled perspective view of the 1st production member of the 1st Embodiment of this invention. 本発明の第1の実施の形態の第2演出部材の分解斜視図である。It is a disassembled perspective view of the 2nd production member of the 1st Embodiment of this invention. 本発明の第1の実施の形態の遊技機1の配線を説明する図である。It is a figure explaining wiring of game machine 1 of a 1st embodiment of the present invention. 本発明の第1の実施の形態の遊技機1の構成を示すブロック図である。It is a block diagram which shows the structure of the game machine 1 of the 1st Embodiment of this invention. 本発明の第1の実施の形態の演出制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the presentation control apparatus of the 1st Embodiment of this invention. 本発明の第1の実施の形態の演出制御装置に備えられた第1マスタICと遊技盤に備えられた演出装置の構成を示すブロック図である。It is a block diagram which shows the structure of the 1st master IC with which the presentation control apparatus of the 1st Embodiment of this invention was equipped, and the presentation apparatus with which the game board was equipped. 本発明の第1の実施の形態の演出制御装置に備えられた第2マスタICと前面枠に備えられた演出装置の構成を示すブロック図である。It is a block diagram which shows the structure of the 2nd master IC with which the presentation control apparatus of the 1st Embodiment of this invention was equipped, and the presentation apparatus with which the front frame was equipped. 本発明の第1の実施の形態の遊技盤の構成を示す図である。It is a figure which shows the structure of the game board of the 1st Embodiment of this invention. 本発明の第1の実施の形態の前面枠の構成を示す図である。It is a figure which shows the structure of the front frame of the 1st Embodiment of this invention. 本発明の第1の実施の形態の演出制御装置と遊技盤に含まれる中継基板及び装飾制御装置の接続状態を説明する図である。It is a figure explaining the connection state of the production | generation control apparatus of the 1st Embodiment of this invention, the relay board | substrate contained in a game board, and a decoration control apparatus. 本発明の第1の実施の形態の演出制御装置と、通常版前面枠に含まれる簡易中継基板及び装飾制御装置の接続状態を説明する図である。It is a figure explaining the connection state of the production | presentation control apparatus of the 1st Embodiment of this invention, the simple relay board | substrate contained in a normal version front frame, and a decoration control apparatus. 本発明の第1の実施の形態の装飾制御装置のブロック図である。It is a block diagram of the decoration control apparatus of the 1st Embodiment of this invention. 本発明の第1の実施の形態のICI/Oエクスパンダの構成を示すブロック図である。It is a block diagram showing a configuration of a first embodiment of the I 2 CI / O expander of the present invention. 本発明の第1の実施の形態の装飾装置を制御する装飾制御装置のICI/Oエクスパンダ周辺の回路図である。It is a circuit diagram around the I 2 CI / O expander of the decoration control device that controls the decoration device according to the first embodiment of the present invention. 本発明の第1の実施の形態の装飾制御装置のICI/Oエクスパンダ周辺の回路図であり、モータやソレノイドを制御する場合を示す図である。It is a circuit diagram around the I 2 CI / O expander of the decoration control device of the first exemplary embodiment of the present invention, and shows a case where a motor and a solenoid are controlled. 本発明の第1の実施の形態の装飾制御装置、中継基板及び簡易中継基板の回路構成を説明するための図であり、特に、信号線や電源線の入出力に関する接続状態を説明するための図である。It is a figure for demonstrating the circuit structure of the decoration control apparatus of the 1st Embodiment of this invention, a relay board | substrate, and a simple relay board | substrate, and in particular for demonstrating the connection state regarding the input / output of a signal line or a power supply line FIG. 本発明の第1の実施の形態の演出制御装置から装飾制御装置に出力されるデータに含まれるスレーブアドレスの説明図である。It is explanatory drawing of the slave address contained in the data output to the decoration control apparatus from the presentation control apparatus of the 1st Embodiment of this invention. 本発明の第1の実施の形態のICI/Oエクスパンダアドレステーブルの説明図である。It is an explanatory view of I 2 CI / O expander address table according to the first embodiment of the present invention. 本発明の第1の実施の形態のICI/Oエクスパンダに備えられる出力設定レジスタに割り当てられたワークレジスタを説明するための図である。It is a diagram for explaining a first embodiment of the I 2 CI / O Aix work register assigned to the output setting register provided in expander of the present invention. 本発明の第1の実施の形態のマスタICが接続線SDA及び接続線SCLを介してデータを出力するスタート条件及びストップ条件の説明図である。It is explanatory drawing of the start condition and stop condition which the master IC of the 1st Embodiment of this invention outputs data via the connection line SDA and the connection line SCL. 本発明の第1の実施の形態のマスタICから出力されたデータが入力された装飾制御装置が返答信号を出力するタイミングチャートである。It is a timing chart which the decoration control apparatus into which the data output from the master IC of the 1st Embodiment of this invention was input outputs a response signal. 本発明の第1の実施の形態のマスタICが演出制御データを出力する場合の接続線SDA及び接続線SCLの信号レベルのタイミングチャートである。It is a timing chart of the signal level of the connection line SDA and the connection line SCL when the master IC according to the first embodiment of the present invention outputs effect control data. 本発明の第1の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置に演出制御データを設定する場合において、マスタICとICI/Oエクスパンダとの間で送受信されるデータのフォーマットを説明する図である。When the master IC according to the first embodiment of the present invention specifies the individual address of the slave and sets the effect control data in the decoration control device, transmission / reception is performed between the master IC and the I 2 CI / O expander. It is a figure explaining the format of data to be performed. 本発明の第1の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置に演出制御データを設定する場合において、マスタICとICI/Oエクスパンダとの間で送受信される演出制御データに具体的な数値を適用した図である。When the master IC according to the first embodiment of the present invention specifies the individual address of the slave and sets the effect control data in the decoration control device, transmission / reception is performed between the master IC and the I 2 CI / O expander. It is the figure which applied the specific numerical value to the production control data to be performed. 本発明の第1の実施の形態のマスタICの演出制御データを送信する順序を説明する図である。It is a figure explaining the order which transmits the production | presentation control data of the master IC of the 1st Embodiment of this invention. 本発明の第1の実施の形態のマスタICがICI/Oエクスパンダを初期化する場合に、マスタICからICI/Oエクスパンダに送信される初期化指示データのフォーマットを説明する図である。When the first embodiment of the master IC of the present invention initializes the I 2 CI / O expander, describing the format of the initialization instruction data transmitted to the I 2 CI / O expander from the master IC FIG. 本発明の第1の実施の形態の第1マスタICの異常判定テーブルを説明する図である。It is a figure explaining the abnormality determination table of the 1st master IC of the 1st Embodiment of this invention. 本発明の第1の実施の形態の第2マスタICの異常判定テーブルを説明する図である。It is a figure explaining the abnormality determination table of the 2nd master IC of the 1st Embodiment of this invention. 本発明の第1の実施の形態の各装飾制御装置(スレーブ)を初期化(リセット)時にCPUとマスタIC(第1マスタIC又は第2マスタIC)との間で送受信される情報を説明する図である。Information transmitted / received between the CPU and the master IC (first master IC or second master IC) when each decoration control device (slave) according to the first embodiment of the present invention is initialized (reset) will be described. FIG. 本発明の第1の実施の形態の各装飾制御装置(スレーブ)に演出制御データを送信する際にCPUとマスタIC(第1マスタIC又は第2マスタIC)との間で送受信される情報を説明する図である。Information transmitted and received between the CPU and the master IC (the first master IC or the second master IC) when transmitting the effect control data to each decoration control device (slave) according to the first embodiment of the present invention. It is a figure explaining. 本発明の第1の実施の形態の演出制御装置からマスタ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 the 1st Embodiment of this invention. 本発明の第1の実施の形態の演出制御装置による処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process by the presentation control apparatus of the 1st Embodiment of this invention. 本発明の第1の実施の形態の第1マスタIC側のスレーブ初期化開始処理及び第2マスタIC側のスレーブ初期化開始処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the slave initialization start process by the side of the 1st master IC of the 1st Embodiment of this invention, and the slave initialization start process by the side of the 2nd master IC. 本発明の第1の実施の形態の演出制御定期処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the presentation control regular process of the 1st Embodiment of this invention. 本発明の第1の実施の形態の第1マスタIC側の送信中断割込み発生時及びタイムアウト割込み発生時の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process at the time of the transmission interruption interrupt generation | occurrence | production of the 1st master IC side of the 1st Embodiment of this invention, and the time-out interruption generation | occurrence | production. 本発明の第1の実施の形態の第2マスタIC側の送信中断割込み発生時及びタイムアウト割込み発生時の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process at the time of the transmission interruption interrupt generation | occurrence | production of the 2nd master IC side of the 1st Embodiment of this invention, and the time-out interruption generation | occurrence | production. 本発明の第1の実施の形態の初期化指示データの送信再開処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the transmission resumption process of the initialization instruction | indication data of the 1st Embodiment of this invention. 本発明の第1の実施の形態の演出制御データの送信再開処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the transmission resumption process of the production control data of the 1st Embodiment of this invention. 本発明の第1の実施の形態のデータの送信再開処理の継続を判断するための送信処理継続判定表の一例を示す図である。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 the 1st Embodiment of this invention. 本発明の第1の実施の形態のマスタICによるデータ送信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the data transmission process by the master IC of the 1st Embodiment of this invention. 本発明の第1の実施の形態のスタートコンディション出力処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the start condition output process of the 1st Embodiment of this invention. 本発明の第1の実施の形態のSCL解放監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the SCL release monitoring process of the 1st Embodiment of this invention. 本発明の第1の実施の形態のSDA解放監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the SDA release monitoring process of the 1st Embodiment of this invention. 本発明の第1の実施の形態のスレーブ側のICI/Oエクスパンダへのデータ送信処理の手順を示すフローチャートである。It is a flowchart illustrating a procedure of data transmission processing to the first 1 I 2 of the slave side of the embodiment of the CI / O expander of the present invention. 本発明の第1の実施の形態のストップコンディション出力処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the stop condition output process of the 1st Embodiment of this invention. 本発明の第1の実施の形態のスレーブ側のICI/Oエクスパンダにおける処理の手順を示すフローチャートである。The procedure of processing in the 1 I 2 of the slave side of the embodiment of the CI / O expander of the present invention is a flow chart showing. 本発明の第1の実施の形態のスレーブ側のICI/Oエクスパンダにおけるアドレス認識処理などの手順を示すフローチャートである。The 1 I 2 of the slave side of the embodiment of the CI / O Aix address recognition processing in expander of the present invention is a flow chart illustrating a procedure such. 本発明の第1の実施の形態のスレーブ側のICI/Oエクスパンダにおけるデータの読み出し処理の手順を示すフローチャートである。Is a flowchart illustrating a procedure of data read processing in the 1 I 2 of the slave side of the embodiment of the CI / O expander of the present invention. 本発明の第1の実施の形態のVDP割込み時に演出制御装置のCPUからの指示によって、第1マスタIC及び第2マスタICによる処理が並列して実行される状態を示すタイミングチャートである。It is a timing chart which shows the state by which the process by 1st master IC and 2nd master IC is performed in parallel by the instruction | indication from CPU of an effect control apparatus at the time of VDP interruption of the 1st Embodiment of this invention. 本発明の第1の実施の形態における装飾制御装置のICI/Oエクスパンダと、装飾装置との接続例を示す図であり、8セット分のLEDを2つのICI/Oエクスパンダによって制御する構成を示す図である。A first I 2 CI / O expander decoration control device in an embodiment of the present invention, a view showing a connection example of a decoration device, two 8-set amount of LED I 2 CI / O expander It is a figure which shows the structure controlled by these. 本発明の第1の実施の形態における装飾制御装置がデータを受信し、演出装置を制御するタイミングを示す図であり、ストップコンディションを出力した時点で受信したデータを反映させる場合について説明する図である。It is a figure which shows the timing which the decoration control apparatus in the 1st Embodiment of this invention receives data, and controls a production | presentation apparatus, and is a figure explaining the case where the data received at the time of outputting a stop condition are reflected. is there. 本発明の第1の実施の形態における装飾制御装置がデータを受信し、発光装置を制御するタイミングを示す図である。It is a figure which shows the timing which the decoration control apparatus in the 1st Embodiment of this invention receives data, and controls a light-emitting device. 本発明の第1の実施の形態において、接続線SDAの占有を開始したICI/Oエクスパンダ615が接続線SCLの立下りを待機している状態が発生し、一定時間経過後に、接続線SDAを占有したICI/Oエクスパンダが自己をリセットして、バスを解放することを試みる手順を説明する図である。In the first embodiment of the present invention, a state occurs in which the I 2 CI / O expander 615 that has started to occupy the connection line SDA waits for the connection line SCL to fall, and the connection is made after a predetermined time has elapsed. I 2 CI / O expander which occupies the line SDA has to reset itself, is a diagram for explaining a procedure to attempt to release the bus. 本発明の第1の実施の形態において、接続線SDAが何らかの原因により占有されている状態が発生し、接続線SDAの占有を検出したICI/Oエクスパンダが自己をリセットして、バスを解放することを試みる手順を説明する図である。In the first embodiment of the present invention, a state in which 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 the bus It is a figure explaining the procedure which tries to release | release. 本発明の第1の実施の形態においてスレーブ側のICI/Oエクスパンダによってバスが占有された場合に、マスタICからの指令によってスレーブ側のICI/Oエクスパンダがバスを解放する手順を説明する図である。When the bus by I 2 CI / O expander slave in the first embodiment of the present invention has been occupied, I 2 CI / O expander slave releases the bus in response to a command from the master IC It is a figure explaining a procedure. 本発明の第1の実施の形態において、マスタICからの誤った指令により、スレーブ側のICI/Oエクスパンダで読み出しモードが発生してバスが占有された場合に、マスタICからの指令によってスレーブ側のICI/Oエクスパンダがバスを解放する手順を説明する図である。In the first 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, the command from the master IC The slave side I 2 CI / O expander explains the procedure for releasing the bus. 本発明の第2の実施の形態のICI/Oエクスパンダの構成を示すブロック図である。It is a block diagram showing a configuration of a second embodiment of the I 2 CI / O expander of the present invention. 本発明の第2の実施の形態のモードレジスタ1及びモードレジスタ2の一例を示す図である。It is a figure which shows an example of the mode register 1 and the mode register 2 of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の初期化指示データの送信再開処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the transmission resumption process of the initialization instruction | indication data of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の初期化段階番号と出力用バッファに設定される出力バッファ設定値との対応を示す図である。It is a figure which shows a response | compatibility with the initialization stage number of the 2nd Embodiment of this invention, and the output buffer setting value set to the buffer for output. 本発明の第2の実施の形態の各スレーブに送信するデータの構造を説明する図であり、個別アドレスを指定してパラメータを設定する場合を示す図である。It is a figure explaining the structure of the data transmitted to each slave of the 2nd Embodiment of this invention, and is a figure which shows the case where an individual address is designated and a parameter is set. 本発明の第2の実施の形態の各スレーブに送信するデータの構造を説明する図であり、オールコールアドレスを指定してパラメータを設定する場合を示す図である。It is a figure explaining the structure of the data transmitted to each slave of the 2nd Embodiment of this invention, and is a figure which shows the case where an all call address is designated and a parameter is set. 本発明の第2の実施の形態においてマスタICとスレーブとの間でデータを送受信するタイミングを説明する図である。It is a figure explaining the timing which transmits / receives data between the master IC and the slave in the 2nd Embodiment of this invention. 本発明の第3の実施の形態の演出制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the presentation control apparatus of the 3rd Embodiment of this invention. 本発明の第3の実施の形態の第1マスタIC側の送信中断割込み発生時及びタイムアウト割込み発生時の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process at the time of the transmission interruption interrupt generation | occurrence | production of the 1st master IC side of the 3rd Embodiment of this invention, and a timeout interruption generation | occurrence | production. 本発明の第3の実施の形態において、スレーブ側のICI/Oエクスパンダによってバスが占有された場合にバスを解放する手順を説明する図である。FIG. 10 is a diagram illustrating a procedure for releasing a bus when the bus is occupied by a slave I 2 CI / O expander in the third embodiment of the present invention. 本発明の第4の実施の形態における装飾制御装置及び装飾装置の接続例を示す図であり、5セット分のLEDを1つの装飾制御装置によって制御する構成を示す図である。It is a figure which shows the example of a connection of the decoration control apparatus and decoration apparatus in the 4th Embodiment of this invention, and is a figure which shows the structure which controls LED for 5 sets by one decoration control apparatus. 本発明の第4の実施の形態の各装飾制御装置(スレーブ)に演出制御データを送信する際にCPUとマスタIC(第1マスタIC又は第2マスタIC)との間で送受信される情報を説明する図である。Information transmitted and received between the CPU and the master IC (first master IC or second master IC) when transmitting the effect control data to each decoration control device (slave) according to the fourth embodiment of the present invention. It is a figure explaining. 本発明の第4の実施の形態の演出制御定期処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the presentation control regular process of the 4th Embodiment of this invention. 本発明の第4の実施の形態の演出制御データの送信再開処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the transmission resumption process of the presentation control data of the 4th Embodiment of this invention. 本発明の第4の実施の形態の各スレーブに送信するデータの構造を説明する図である。It is a figure explaining the structure of the data transmitted to each slave of the 4th Embodiment of this invention. 本発明の第4の実施の形態においてマスタICとスレーブとの間でデータを送受信するタイミングを説明する図である。It is a figure explaining the timing which transmits / receives data between the master IC and the slave in the 4th Embodiment of this invention. 本発明の第4の実施の形態において装飾制御装置がデータを受信したときに、マスタICへACKを出力した時点で、受信したデータをLEDの発光状態に反映させる場合について説明する図である。It is a figure explaining the case where the received data is reflected in the light emission state of LED at the time of outputting ACK to the master IC when the decoration control device receives data in the fourth embodiment of the present invention.

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

(第1の実施の形態)
図1は、本発明の第1の実施の形態の遊技機1の説明図である。
(First embodiment)
FIG. 1 is an explanatory diagram of the gaming machine 1 according to the first embodiment of this 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は、本発明の第1の実施の形態の遊技盤10の正面図である。   FIG. 2 is a front view of the game board 10 according to the first embodiment of this 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の実施の形態の遊技機1は、特図変動表示ゲームの結果態様に基づいて、遊技状態として、表示装置53における特図変動表示ゲームの変動表示時間を短縮する時短動作状態(第2動作状態)を発生可能となっている。時短動作状態(第2動作状態)は、通常動作状態(第1動作状態)と比較して始動口36の開閉部材36aが開放状態となりやすい状態である。   Further, the gaming machine 1 according to the first embodiment of the present invention shortens the variation display time of the special figure variation display game on the display device 53 as a gaming state based on the result aspect of the special figure variation display game. An operation state (second 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の実施の形態の遊技機1は、特図変動表示ゲームの結果態様に基づき、遊技状態として確変状態(第2確率状態)を発生可能となっている。この確変状態(第2確率状態)は、特図変動表示ゲームでの当り結果となる確率が、通常確率状態(第1確率状態)に比べて高い状態である。なお、確変状態と上述した時短動作状態はそれぞれ独立して発生可能であり、両方を同時に発生することも可能であるし、一方のみを発生させることも可能である。   Further, the gaming machine 1 according to the first embodiment of the present invention can generate a probability variation state (second probability state) as a gaming state based on the result form 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は、本発明の第1の実施の形態のセンターケース51の分解斜視図である。   FIG. 3 is an exploded perspective view of the center case 51 according to the first 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, and the frame decoration portion 65 superimposes the decoration base 66 and the decoration panel unit 67 back and forth. 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と装飾ベース66とを重合すると、装飾具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 decorative base 66 are overlapped, the decorative tool 47 is set to be disposed 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. is 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は、本発明の第1の実施の形態の可動演出装置58の構成を説明する図である。   4 and 5 are diagrams illustrating the configuration of the movable effect device 58 according to the first embodiment of this 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の実施の形態の第1演出部材70の分解斜視図である。   FIG. 6 is an exploded perspective view of the first effect member 70 according to the first 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の発光を制御するためのICI/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 (data signal 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は、本発明の第1の実施の形態の第2演出部材80の分解斜視図である。   FIG. 7 is an exploded perspective view of the second effect member 80 according to the first 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の発光を制御するためのICI/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 is output 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の実施の形態の遊技機1の配線を説明する図である。   FIG. 8 is a diagram illustrating wiring of the gaming machine 1 according to the first embodiment of this 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の実施の形態の遊技機1の構成を示すブロック図である。   FIG. 9 is a block diagram showing a configuration of the gaming machine 1 according to the first embodiment of this 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 the game 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は、本発明の第1の実施の形態の演出制御装置550の構成を示すブロック図である。   FIG. 10 is a block diagram illustrating a configuration of the effect control device 550 according to the first embodiment of this 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に備えられた演出装置(モータ又はソレノイドなどの可動物で駆動する演出装置)へ制御信号を出力する。   Further, the output I / F 558a outputs a control signal to an effect device (an effect 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は、本発明の第1の実施の形態の演出制御装置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 first 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に備えられるICI/Oエクスパンダ615(図17参照)によって制御され、電流を流すことによって光が点滅して演出を行う発光装置であり、例えばLEDなどである。装飾装置基板625は、サイドランプ45(図8参照)に設けられる基板であり、サイドランプ45の発光装置(LED)が搭載されている。このサイドランプ45の発光装置は、中継基板600に備えられるICI/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 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によって制御される。本発明の第1の実施の形態では、役物駆動第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 first 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 the auxiliary gaming device unit is similar to the decoration device 620. 12 may be configured to be controlled by a decoration control device 610 included in the control unit 610.

役物駆動第1MOT71及び役物駆動第2MOT81は、電流が流れると回転動作することによって演出動作を行う駆動装置である。役物駆動第1MOT71及び役物駆動第2MOT81は、演出制御装置550のドライバ564により中継基板600を経由して直接制御されるので、ICI/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. .

本発明の第1の実施の形態では、役物駆動第1MOT71及び役物駆動第2MOT81は、可動演出装置58に含まれ、具体的には、役物駆動第1MOT71は第1演出ユニット63、役物駆動第2MOT81は第2演出ユニット64に含まれている。   In the first 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 is the first effect unit 63, The object driving second MOT 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に含まれるICI/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との間でデータ信号を授受するための接続線であり、本発明の第1の実施の形態におけるデータ線として機能する。接続線SCLは、接続線SDAでのデータ通信に用いられるクロック信号を入出力するための接続線であり、本発明の第1の実施の形態におけるタイミング信号線として機能する。接続線GNDは、接続線Vcc、接続線Vled、接続線Vms、及び接続線Vseで供給される電源のグランドである。   Connection line SDA is a connection line for exchanging data signals between effect control device 550 and decoration control device 610, and functions as a data line in the first embodiment of the present invention. The connection line SCL is a connection line for inputting / outputting a clock signal used for data communication on the connection line SDA, and functions as a timing signal line in the first 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種類の接続線が接続される。本発明の第1の実施の形態では、モータ位置検出センサ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 first 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. Therefore, among the seven types of connection lines described above, Five types of connection lines other than the connection line Vms and the connection line Vse are connected to the decoration control device 610 disposed in 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 line 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には、通常のICバス使用で用いられる電流値よりもはるかに大きい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 pass 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には、通常のICバス使用で用いられる電流値よりもはるかに大きい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 a 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からコマンドを受け付けるためのレジスタである。本発明の第1の実施の形態では、コマンドレジスタ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 first 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” is individually set for each bit by the CPU 551. It can be set.

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は、本発明の第1の実施の形態の演出制御装置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 first 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とは異なり、ICI/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は、本発明の第1の実施の形態の遊技盤10の構成を示す図である。   FIG. 13 is a diagram illustrating a configuration of the game board 10 according to the first embodiment of this 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によって制御される必要はない。例えば、本発明の第1の実施の形態では、センターケース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 first 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を制御するためのICI/Oエクスパンダ615が搭載され、ICI/Oエクスパンダ615には、個々のICI/Oエクスパンダ615を識別するための個別アドレスが割り当てられている。本発明の第1の実施の形態では、前述のように、ICI/Oエクスパンダ615の個別アドレスが、装飾制御装置610の個別アドレスとして利用される。 As described above, the decoration control device 610 includes the I 2 CI / O expander 615 for controlling the decoration device 620, and the I 2 CI / O expander 615 includes individual I 2 CI / O expanders. An individual address for identifying the expander 615 is assigned. In the first embodiment of the present invention, the individual address of the I 2 CI / O expander 615 is used as the individual address of the decoration control device 610 as described above.

演出制御装置550は、ICI/Oエクスパンダ615の個別アドレスを指定して制御信号を送信することによって、装飾装置620を個別に制御して演出動作を実行することが可能となる。各装飾制御装置610には、原則的に、それぞれ異なる個別アドレス(図中に「ad=」で示す)が割り当てられる。 The effect control device 550 can perform the effect operation by individually controlling the decoration device 620 by specifying 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の下流側に配置されていることになる。   That is, when the signal cable from the effect control device 550 to the end decoration control device 610 is sequentially traced, the decoration control device 610 connected to the side closer to the effect control device 550 becomes the upstream side, and the decoration at the end is further increased. The decoration control device 610 connected to the side closer to the control device 610 is on 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.

ここで、本発明の第1の実施の形態では、前述のように、可動演出装置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 first 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の実施の形態では、第1演出部材70及び第2演出部材80に配置された装飾制御装置610を終端型とし、これらの装飾制御装置610の上流に分岐型の装飾制御装置610を配置している。そのため、終端型の装飾制御装置610(第1発光基板106、第2発光基板116)には、第1演出部材70及び第2演出部材80の外部に備えた他の装飾制御装置610へ信号を伝達するケーブルが接続されない構造となる。このように装飾制御装置610を配置すれば、可動部に配置された装飾制御装置610には入力ケーブルのみを接続すればよいことになる。したがって、デイジーチェーンで配線する場合と比較して、配線の引き回しが容易になり、断線する可能性を少なくすることができる。   In the first embodiment of the present invention, the decoration control device 610 disposed in the first effect member 70 and the second effect member 80 is a terminal type, and a branch type decoration control device is provided upstream of these decoration control devices 610. 610 is arranged. 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 structure is such that 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(ICI/Oエクスパンダ615と装飾装置620がともに配置される主動型基板に相当)では、装飾装置基板625(ICI/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に備えられたICI/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.

本発明の第1の実施の形態では、装飾制御装置610Fは第1演出部材70に含まれるLEDなどを制御し、装飾制御装置610Gは第2演出部材80に含まれるLEDなどを制御する。なお、第1演出部材70及び第2演出部材80をそれぞれ表示部53aの前方に移動させるための駆動力を出力するための役物駆動第1MOT71及び役物駆動第2MOT81は、中継基板600によって制御される。   In the first 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.

本発明の第1の実施の形態では、装飾制御装置610H及び装飾制御装置610Iは、信頼度報知装置15に含まれる演出装置(LED)を制御する。所定の条件を満たした場合には、演出制御装置550の第1マスタIC570aから所定の態様を示すようにするための制御信号が送信され、指定された態様で演出を行う。   In the first 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は、本発明の第1の実施の形態の前面枠3の構成を示す図である。   FIG. 14 is a diagram illustrating a configuration of the front frame 3 according to the first embodiment of this invention.

本発明の第1の実施の形態の遊技機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 first 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.

そこで、本発明の第1の実施の形態では、通常版前面枠3と廉価版前面枠3’とで制御が異なる装飾制御装置610の個別アドレスには、異なるアドレスを割り当て、演出制御装置550から装飾制御装置610へ送信する演出制御データが、通常版前面枠3の場合と廉価版前面枠3’の場合とで共通となるように構成することで、一つの演出制御装置550で通常版用の制御と廉価版用の制御とを実行できるように構成した。こうすることによって、通常版用の演出制御装置550と廉価版用の演出制御装置550とをそれぞれ用意する必要がなくなり、製造コストを抑えることができる。なお、本発明の第1の実施の形態では、遊技盤10の構成については、通常版であっても廉価版であっても同じ構成となっている。   Therefore, in the first 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 version front frame 3 and the low price version front frame 3 ′. The effect control data to be transmitted to the decoration control device 610 is configured so as to be common to the case of the normal version front frame 3 and the case of the low cost version front frame 3 ′, so that one effect control device 550 is used for the normal version. And control for the low cost version can be executed. 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 first embodiment of the present invention, the game board 10 has the same configuration 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のICI/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.

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

なお、以降の説明では、特に断らない限り、本発明の第1の実施の形態の遊技機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 first embodiment of the present invention.

なお、廉価版前面枠3’では、個別アドレスが「0010」、「0011」、「0101」及び「0110」となるICI/Oエクスパンダ615は使用されず、通常版前面枠3では、個別アドレスが「0111」となるICI/Oエクスパンダ615は使用されない。そのため、いずれの前面枠3であっても、異常判定テーブル3300(図33参照)において、接続されないICI/Oエクスパンダ615が存在することになる。しかしながら、後述するように、異常判定テーブル3300に登録されている少なくとも1つのICI/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 with the individual address “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は、本発明の第1の実施の形態の演出制御装置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 first 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は、モータを制御するための接続線であるが、本発明の第1の実施の形態では、中継基板600に対応するモータが接続されないため、接続状態を表示する空き端子モニタ603が接続される。空き端子モニタ603は、接続線M31〜M34に対応した、4個のLEDによって構成されており、各接続線が断線しているか否かを確認することができる。したがって、一部又は全部の接続線が断線している場合には、空き端子モニタ603の一部が点灯しないことになるので、ケーブルの品質を悪いと判断することができる。   The connection lines M31 to M34 are connection lines for controlling the motor. However, in the first embodiment of the present invention, since the motor corresponding to the relay board 600 is not connected, an empty terminal monitor that displays the connection state. 603 is connected. 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のように、第1マスタIC570aと中継基板600とを接続するケーブル91には、電源を供給するための接続線GND、接続線Vcc、接続線Vled、接続線Vms、及び接続線Vseが含まれている(図11若しくは図15参照)。これらの電力を供給する線は、安定した動作を実現するために、充分な電流量が確保できる断面積の大きい(太い)ケーブルが本来であれば用いられる。   In particular, as in the gaming machine 1 according to the first embodiment of the present invention, the cable 91 that connects the first master IC 570a and the relay board 600 has a connection line GND, a connection line Vcc, The connection line Vled, the connection line Vms, and the connection line Vse are included (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 a cable 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, there is a possibility that abnormal heat generation may occur on the cable because a sufficient amount of current cannot be secured. 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は、本発明の第1の実施の形態の演出制御装置550と、通常版前面枠3に含まれる簡易中継基板1600及び装飾制御装置610の接続状態を説明する図である。   FIG. 16 is a diagram illustrating a connection state between the effect control device 550 according to the first embodiment of this 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は、モータを制御するための接続線であるが、本発明の第1の実施の形態では、対応するモータが簡易中継基板1600に接続されないため、中継基板600と同様に、接続状態を表示する空き端子モニタ603が接続される。   The connection lines M31 to M34 are connection lines for controlling the motor. However, in the first embodiment of the present invention, the corresponding motor is not connected to the simple relay board 1600. An empty terminal monitor 603 for displaying the connection state 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に設けられたICI/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の個別アドレス(ICI/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.

なお、本発明の第1の実施の形態では装飾制御装置610によって制御される演出装置は主としてLED等の発光装置であるため、LEDの発光態様が演出装置の出力態様に相当する。この場合、演出制御データによって、LEDの点灯/点滅/消灯が指示され、さらに、LEDの点滅周期や点灯輝度も指示される。   In the first 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 therefore 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 also instructed.

各装飾制御装置610には、前述のようにあらかじめ一意な個別アドレスが設定されており、演出制御データが入力されると、入力された演出制御データに含まれるアドレスと設定されている個別アドレスとが一致するか否かを判定する。そして、入力された演出制御データに含まれるアドレスと設定されている個別アドレスとが一致すると判定された場合には、装飾制御装置610のICI/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のICI/Oエクスパンダ615を初期化するためのリセット用アドレスが設定されている。このリセットアドレスは、すべてのICI/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のICI/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 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のICI/Oエクスパンダ615は、返答信号をマスタICに出力するとともに、入力データを初期化指示データとして取り込み、ICI/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 the two match, the I 2 CI / O expander 615 of the decoration control device 610 outputs a response signal to the master IC, captures the input data as initialization instruction data, and outputs the I 2 CI / O expander. The panda 615 itself is initialized.

なお、ICI/Oエクスパンダ615が初期化されると、当該初期化されたICI/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のICI/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は、本発明の第1の実施の形態の装飾制御装置610のブロック図である。   FIG. 17 is a block diagram of the decoration control device 610 according to the first embodiment of this invention.

本発明の第1の実施の形態の装飾制御装置610は、前述のように、接続形態に基づいて、分岐型、連結型、及び終端型の3種類に分類される。図17には、分岐型の装飾制御装置610Xに終端型の装飾制御装置610Yが接続されている例を示している。さらに、装飾制御装置610Yには、装飾装置基板625が接続されている。   As described above, the decoration control device 610 according to the first embodiment of the present invention is classified into three types: 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.

分岐型の装飾制御装置とは、ICI/Oエクスパンダ615と、ICI/Oエクスパンダ615が受信する信号を受け入れるためのコネクタ(上流コネクタ)と、上流コネクタから受け入れた信号を、複数の装飾制御装置610に伝達するコネクタ(下流コネクタ)を備えたものである。例えば、図中の装飾制御装置610Xのように、内部にICI/Oエクスパンダ615及びLED(装飾装置620)を備え、さらに、一つの上流コネクタ611と二つの下流コネクタ612A、612Bを備える。 The branch type decoration control device includes an I 2 CI / O expander 615, a connector for receiving a signal received by the I 2 CI / O expander 615 (upstream connector), 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 a 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に接続される。他方は、さらに分岐し、一方はICI/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 branches further, one connected to the I 2 CI / O expander 615 and the other connected to another downstream connector 612A.

また、装飾制御装置610XのICI/Oエクスパンダ615の出力側には、制御対象となる装飾装置620が接続される。ICI/Oエクスパンダ615の出力側は、図20で説明するポート0〜15によって構成される。さらに、装飾制御装置610のすべてのポートが、図19で後述する電流制限抵抗R0〜R15を介して、内部のLEDに接続されている。なお、この電流制限抵抗R0〜R15も、装飾制御装置610に備えられている。 Also, 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.

前述したように、ICI/Oエクスパンダ615は、演出制御装置550から入力された演出制御データに含まれるアドレスと、当該ICI/Oエクスパンダ615に設定されている個別アドレスとが一致する場合にのみ、演出制御データに含まれる装飾データに基づいて、ICI/Oエクスパンダ615に接続されている装飾装置620を制御する。 As described above, the I 2 CI / O expander 615 includes 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.

また、終端型の装飾制御装置とは、ICI/Oエクスパンダ615と、ICI/Oエクスパンダ615が受信する信号を受け入れるためのコネクタ(上流コネクタ)を有するが、上流コネクタから受け入れた信号を、他の装飾制御装置610に伝達しないものである。例えば、図中の装飾制御装置610Yは、ICI/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は、ICI/Oエクスパンダ615を備えておらず、LEDなどの発光装置のみを備えた基板である。この場合、装飾装置基板625に備えたLEDに接続される電流制限抵抗を、装飾装置基板625に設けることになるが、ICI/Oエクスパンダ615が備えられた装飾制御装置610に設けてもよい。 The decoration device substrate 625 does not include the I 2 CI / O expander 615 but is a substrate including only a light emitting device such as an LED. In this case, a 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を備えた場合には、ICI/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 a 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に設けられたICI/Oエクスパンダ615も、演出制御装置550から入力された演出制御データに含まれるアドレスと、当該ICI/Oエクスパンダ615に設定されているアドレスとが一致する場合にのみ、演出制御データに含まれる装飾データに基づいて、ICI/Oエクスパンダ615に接続されている装飾装置620を制御する。この場合、中央の装飾制御装置610に設けられた装飾装置620と、装飾装置基板625に設けられた装飾装置620の両方が、ICI/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であっても、共通のICI/Oエクスパンダ615により制御することができる。 In this manner, by providing the decoration device substrate 625 and separating some 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は、本発明の第1の実施の形態のICI/Oエクスパンダ615の構成を示すブロック図である。 FIG. 18 is a block diagram illustrating a configuration of the I 2 CI / O expander 615 according to the first embodiment of this invention.

CI/Oエクスパンダ615は、接続線SDAに接続されるトランジスタ630、接続線SDAに接続されるフィルタ631、接続線SDAに接続されるドライバ632、接続線SCLに接続されるフィルタ633、バスコントローラ634、出力設定レジスタ635、出力コントローラ636、ICI/Oエクスパンダ615の出力側の各ポート0〜15に接続されるドライバ637、各ポート0〜15に接続されるトランジスタ638A〜638P、及びリセット信号発生回路639を備える。さらに、本発明の第1の実施の形態では、他のICI/Oエクスパンダ615によって接続線SDAが占有されているか否かを判断するためのバス監視WDT(ウォッチドッグタイマ)640、及びICI/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. Further, in the first embodiment of the present invention, a bus monitoring WDT (watchdog timer) 640 for determining whether or not the connection line SDA is occupied by another I 2 CI / O expander 615, and A self-occupied WDT 641 is provided for determining whether or not the I 2 CI / O expander 615 itself occupies the connection line SDA.

フィルタ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.

また、ICI/Oエクスパンダ615には、当該ICI/Oエクスパンダ615に備わるアドレス設定用端子A0〜A3によって固有のアドレスが設定されており、バスコントローラ634に入力されている。さらに、ICI/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から入力されたデータのアドレスがICI/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から入力されたデータのアドレスがICI/Oエクスパンダ615に設定されたリセット用のアドレスと一致するか否かを判定し、一致している場合に当該データを初期化指示データとして取り込み、当該ICI/Oエクスパンダ615を初期化する。 In addition, the bus controller 634 determines whether or not 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には、当該ICI/Oエクスパンダ615の動作モードやポート0〜15の出力状態が設定される。バスコントローラ634が接続線SDAから初期化指示データを取り込んで、当該ICI/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信号を受信するための配線を必要とすることなく、演出制御を行うことができる。特に、ポート出力状態を、複数のICI/Oエクスパンダ615で同時に更新する必要がある場合に有効であり、異なるICI/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.

なお、ストップコンディションを受信した時点で各ポート0〜15の出力状態を更新して演出装置に反映させるのではなく、返答信号出力時に演出装置に反映させることも可能である。同時に演出動作を実行することが要求される演出装置が1つのICI/Oエクスパンダ615で制御される場合には、返答信号出力時に演出装置に反映させるようにしてもよい。こうすることによって、マスタICがストップコンディションを出力する必要がなく、また、連続して演出制御情報を送信することが可能となるため、演出制御を高速に行うことが可能となる。 Note that, when the stop condition is received, the output state of each port 0 to 15 is not updated and reflected in the effect device, but can be reflected in the effect device when the response signal is output. In the case where an effect device that is required to execute an effect operation at the same time is controlled by one I 2 CI / O expander 615, it may be reflected in the effect device when a response signal is output. By doing so, it is not necessary for the master IC to output a stop condition, and it is possible to transmit the effect control information continuously, so that the effect control can be performed at high speed.

ドライバ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のICI/Oエクスパンダ615は、ICI/Oエクスパンダ615のポート端子に接続されたすべての演出装置(LEDなどの装飾装置620)を同時に制御することが可能であるので、ICI/Oエクスパンダ615のポート端子に接続された一つの演出装置を一つのグループとして制御することができる。 Further, 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に備わるICI/Oエクスパンダ615同士は、互いに異なる個別アドレスが割り当てられているので、演出装置が複数のグループに分割された形態となっている。すなわち、各装飾制御装置610に備わるICI/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には、ICI/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は、ICI/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.

したがって、ハーネス(図15)を抜くと接続線Vccが一時的に断線し、ハーネスを再度差し込むと電源供給が復帰して、リセット信号発生回路639がリセット信号を出力することになる。つまり、遊技機の修理や点検作業を行うときに、ハーネスの抜き差しを行うことで、ICI/Oエクスパンダ615をリセットすることが可能な構成となっている。 Therefore, when the harness (FIG. 15) is removed, the connection line Vcc is temporarily disconnected, and when the harness is reinserted, the power supply is restored and the reset signal generating circuit 639 outputs a reset signal. In other words, the I 2 CI / O expander 615 can be reset by inserting and removing the harness when repairing or inspecting the gaming machine.

なお、外部から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は、他のICI/Oエクスパンダ615が接続線SDAを占有していることを検出するために用いられる。バス監視WDT640は、フィルタ631とバスコントローラ634との間に接続され、接続線SDAの信号レベルを取り込んで、連続してLOWレベルとなっている時間を計測する。さらに、バス監視WDT640は、リセット信号発生回路639に接続されており、接続線SDAが占有されてから所定の時間が経過すると、自身のリセット信号発生回路639を作動させて、当該ICI/Oエクスパンダ615を初期化する。 The bus monitor 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は、他のICI/Oエクスパンダ615にも接続されているので、接続線SDAが接続された全てのICI/Oエクスパンダ615において、接続線SDAの占有状態が検出されることになる。そして、これらのICI/Oエクスパンダ615の内部に備えられたリセット信号発生回路639が作動することにより、接続線SDAが接続されているすべてのICI/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は、自身(ICI/Oエクスパンダ615)による接続線SDAの占有を検出するために使用される。バスコントローラ634は、ドライバ632を作動して接続線SDAをロウレベルに駆動させている間は、自己占有WDT641を作動させ、接続線SDAをロウレベルに駆動させていない間は、自己占有WDT641を停止させる。そして、自己占有WDT641が一定時間連続して作動すると、自己占有WDT641は、リセット信号発生回路639にリセット信号を発生させて当該ICI/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 continuously operates 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をロウレベルに駆動させている期間(当該ICI/Oエクスパンダ615が接続線SDAを占有している期間)を、監視することが可能となる。自己占有WDT641は、マスタICから受信したデータに対する返答信号(ACK,NACK)を送信するために接続線SDAを占有するタイミングで時間の計測を開始し、所定の時間が経過すると、リセット信号発生回路639にリセット信号を発生させる。この構成により、自己占有WDT641によって接続線SDAの占有が検出された場合には、自身のICI/Oエクスパンダ615のみがリセットされる。 This makes it possible to monitor the period during which the bus controller 634 itself drives the connection line SDA to a low level (the 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 the connection line SDA is detected by the self-occupied WDT 641, only its own I 2 CI / O expander 615 is reset.

図19は、本発明の第1の実施の形態の装飾装置620を制御する装飾制御装置610のICI/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 first embodiment of this invention.

CI/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を介してICI/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端子には、ICI/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端子は、ICI/Oエクスパンダ615に個別アドレスを設定するための端子である。なお、ICI/Oエクスパンダ615の個別アドレスは、通常、4ビットで表現され、この端子にICI/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に示すICI/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個のICI/Oエクスパンダ615によって、最大で16個のLEDを制御できることになる。また、各ポートに接続されるLEDの個数が異なる場合は、1個のポートに直列に接続されたすべてのLEDを1種類のLEDということにすれば、1個のICI/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.

なお、ハーネス(図15)をコネクタから抜いている間は、接続線Vledが断線しているので各LED0〜LED15に電流が供給されず、消灯した状態となる。ハーネスを抜くだけで接続線Vledからの電源供給を中断できる構成なので、遊技機の修理や点検作業を安全に行うことができるようになっている。   In addition, while the harness (FIG. 15) is pulled out from the connector, the connection line Vled is disconnected, so that no current is supplied to the LEDs 0 to 15 and the LED is turned off. Since the power supply from the connection line Vled can be interrupted simply by removing the harness, the repair and inspection work of the gaming machine can be performed safely.

なお、ICI/Oエクスパンダ615のPORT0端子〜PORT15端子には、LEDの代わりに、モータやソレノイドを接続して、このモータやソレノイドを遊技に用いる演出装置として構成することも可能である。以下、図20を参照しながらICI/Oエクスパンダ615を用いてモータやソレノイドを制御する場合について説明する。 It should be noted that a motor or a 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は、本発明の第1の実施の形態の装飾制御装置610のICI/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 first embodiment of this invention, and shows a case where a motor and a solenoid are controlled.

ここで使用されるモータはステッピングモータにより構成され、ステッピングモータを駆動する各相の信号端子に、所定の電圧を順次印加することで回動する。本発明の第1の実施の形態では、モータの各相の信号端子が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 first 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では、ICI/Oエクスパンダ615にモータ及びソレノイドの双方が接続されているが、一つのICI/Oエクスパンダ615に対して、モータ及びソレノイドの一方だけを接続した構成でもよい。 In FIG 20, although both the motors and solenoids to I 2 CI / O expander 615 is connected, for one I 2 CI / O expander 615, connected by one of the motors and solenoids It may be configured.

例えば、ステッピングモータだけを制御するグループとしてのICI/Oエクスパンダ615を専用に設けたり、ソレノイドだけを制御するグループとしてのICI/Oエクスパンダ615を専用に設けたりするようにしてもよい。このような構成により、同一グループに属する演出装置を同じタイミングで制御することが可能となるので、高速処理が必要な演出装置だけをグループ化して効率よく制御することも可能となる。 For example, a dedicated I 2 CI / O expander 615 as a group that controls only the stepping motor or a dedicated I 2 CI / O expander 615 as a group that controls only the solenoid may be provided. 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は、本発明の第1の実施の形態の装飾制御装置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 first embodiment of the present invention, and particularly relates to input / output of signal lines and power supply lines. It is a figure for demonstrating a connection state.

本図においては、装飾制御装置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)、及びICI/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をICI/Oエクスパンダ615に接続するために、第2接続線SDA2131は分岐2103で分岐し、分岐した第2接続線SDA2131はICI/Oエクスパンダ615の図19及び図20に示すSDA端子に接続される。また、接続線SCLをICI/Oエクスパンダ615に接続するために、第2接続線SCL2132は分岐2104で分岐し、分岐した第2接続線SCL2132はICI/Oエクスパンダ615の図19及び図20に示すSCL端子に接続される。以下、ICI/Oエクスパンダ615、分岐2103からICI/Oエクスパンダ615に接続される接続線SDA、及び分岐2104からICI/Oエクスパンダ615に接続される接続線SCLを含む構成をICI/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 SCL 2132 branches at the branch 2104, and the branched second connection line SCL 2132 is a diagram of the I 2 CI / O expander 615. 19 and the SCL terminal shown in FIG. Hereinafter, the I 2 CI / O expander 615, the connection line SDA connected from the branch 2103 to the I 2 CI / O expander 615, and the connection line SCL connected from the branch 2104 to the I 2 CI / O expander 615 will be described. The configuration including this is an I 2 CI / O expander unit 2181.

なお、ICI/Oエクスパンダ615には、ICI/Oエクスパンダ615の電源電圧となる電圧Vccが供給されている。また、図21では図示されていないが、ICI/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のICI/Oエクスパンダ615が上流の装飾制御装置610に接続線SDAを介して出力する信号、及び上流の装飾制御装置610から、当該装飾制御装置610のICI/Oエクスパンダ615に接続線SDAを介して入力される信号のノイズを除去するために、内部接続線SDA2111にはツェナダイオードZD2141が接続されている。 Further, the 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 the I of the decoration control device 610 from the upstream decoration control device 610. A zener diode ZD2141 is connected to the internal connection line SDA2111 in order to remove noise of a signal input to the 2 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のICI/Oエクスパンダ615へ接続線SCLを介して入力される信号のノイズを除去するために、内部接続線SCL2112にはツェナダイオードZD2142が接続されている。 Further, in order to remove noise of a signal input from the upstream decoration control device 610 to the I 2 CI / O expander 615 of the decoration control device 610 via the connection line SCL, 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のICI/Oエクスパンダ615が、下流コネクタ612Aに接続された装飾制御装置610に接続線SDAを介して出力する信号、及び下流コネクタ612Aに接続された装飾制御装置610から装飾制御装置610のICI/Oエクスパンダ615へ接続線SDAを介して入力される信号のノイズを除去するために、第1接続線SDA2121にはツェナダイオードZD2143が接続されている。 In addition, 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 apparatus 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のICI/Oエクスパンダ615から下流コネクタ612Aに接続された装飾制御装置610へ接続線SCLを介して入力される信号のノイズを除去するために、第1接続線SCL2122にはツェナダイオードZD2144が接続されている。 The first connection line is used to remove noise from 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. 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のICI/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のICI/Oエクスパンダ615に供給される電源電圧は、平滑コンデンサC2161により電圧が平滑化され、バイパスコンデンサCP2162によりノイズが除去されて、ICI/Oエクスパンダ615に供給される。 Therefore, 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で分岐することなく、ICI/Oエクスパンダ615へ接続される点が、分岐型の装飾制御装置610とは異なる構成となる。 Therefore, 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は、ICI/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. That is, it is only necessary that the pull-up resistors R2151 and 2152 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は、本発明の第1の実施の形態の演出制御装置550から装飾制御装置610に出力されるデータに含まれるスレーブアドレス2200の説明図である。   FIG. 22 is an explanatory diagram of the slave address 2200 included in the data output from the presentation control device 550 to the decoration control device 610 according to the first embodiment of this invention.

スレーブアドレス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」の値があらかじめ設定され、ICI/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は、ICI/Oエクスパンダ615によって設定可能である。可変アドレス部2202は、制御対象となるICI/Oエクスパンダ615のA0〜A3の端子に設定されているパターンに対応した4ビットのICI/Oエクスパンダアドレス2203と、当該データが読み出し要求(「1」)であるのか書き込み要求(「0」)であるのかを示す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 in 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 (“1”) or a write request (“0”).

演出制御装置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は、本発明の第1の実施の形態のICI/Oエクスパンダアドレステーブル2300の説明図である。 FIG. 23 is an explanatory diagram of the I 2 CI / O expander address table 2300 according to the first embodiment of this invention.

CI/Oエクスパンダアドレステーブル2300は、第1マスタIC570aによって管理されるテーブルである。ICI/Oエクスパンダアドレステーブル2300は、スレーブアドレス2301とICI/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ビットのICI/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. .

CI/Oエクスパンダアドレス2302には、図19や図20で前述したように、各スレーブアドレスに対応する4ビットのICI/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.

ただし、ICI/Oエクスパンダアドレスのうち、アドレス「1000」及びアドレス「1011」(図23の網掛けされたエントリ)は、各ICI/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のICI/Oエクスパンダ615に設定可能なアドレスは14個であるため、演出制御装置550は、14個のICI/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は、本発明の第1の実施の形態のICI/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 first embodiment of this invention.

CI/Oエクスパンダ615の出力設定レジスタ635には、ワークレジスタ(デバイスレジスタ)と、コントロールレジスタ(制御レジスタ)とが割り当てられている。 A work register (device register) and a control register (control register) are allocated to the output setting register 635 of the I 2 CI / O expander 615.

ワークレジスタは、ICI/Oエクスパンダ615に対してあらかじめ定義されている設定を行うための情報や、ICI/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」は、ICI/Oエクスパンダ615の初期設定を行うためのモードレジスタに対応する。レジスタ番号「00h」の記憶領域にはレジスタ名「MODE1」が付与されている。また、レジスタ番号「01h」の記憶領域にはレジスタ名「MODE2」が付与されている。レジスタ番号「00h」及び「01h」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、ICI/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)は、ICI/Oエクスパンダ615の出力設定レジスタ635に格納された演出制御データを演出装置に実際に反映させるタイミングを規定するパラメータである。本発明の第1の実施の形態では、図18にて説明したように、「0」が設定されており、ストップコンディションを受信した時点で出力設定レジスタ635に格納された演出制御データを出力し、演出装置の出力状態を実際に制御するように設定されている。また、第4の実施の形態では、「MODE2」のレジスタのビット3(OCH)の値に「1」を設定し、返答信号(ACK)を出力した時点で出力設定レジスタ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 first embodiment of the present invention, as described with reference to FIG. 18, “0” is set, and the presentation control data stored in the output setting register 635 is output when the stop condition is received. The output state of the rendering device is set to be actually controlled. In the fourth embodiment, the value of bit 3 (OCH) of the “MODE2” register is set to “1”, and the output signal stored in the output setting register 635 when the response signal (ACK) is output. An embodiment in which control data is output and set so as to actually control the output state of the rendering device will be described.

レジスタ番号「02h」〜「11h」(レジスタ名「PWM0」〜「PWM15」)には、装飾装置620に含まれるLEDなどの制御対象のパラメータが設定される。レジスタ番号「02h」〜「11h」の記憶領域のいずれかに値が書き込まれると、ICI/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.

なお、ICI/Oエクスパンダ615は、前述のように、モータやソレノイドといった可動物を制御することも可能である。ICI/Oエクスパンダ615にソレノイドが接続される場合には、ソレノイドが接続されるポートに対応するレジスタ番号には、ソレノイドを通電させて作動させるか、通電せずに未作動の状態にするかを示す値が書き込まれる。また、ICI/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 the 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は、本発明の第1の実施の形態のマスタ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 first 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のICI/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のICI/Oエクスパンダ615は、ストップ条件となる信号が入力されると、データの出力が終了することを認識する。本発明の第1の実施の形態では、前述のように、装飾制御装置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 first 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は、本発明の第1の実施の形態のマスタICから出力されたデータが入力された装飾制御装置610が返答信号を出力するタイミングチャートである。   FIG. 26 is a timing chart at which the decoration control device 610 to which data output from the master IC according to the first embodiment of this invention is input outputs a response signal.

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

そして、装飾制御装置610は、スタート条件が成立してから接続線SCLの信号レベルの変化回数が9回に達する直前に、返答信号をマスタ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は、本発明の第1の実施の形態のマスタICが演出制御データを出力する場合の接続線SDA及び接続線SCLの信号レベルのタイミングチャートである。   FIG. 27 is a timing chart of signal levels of the connection line SDA and the connection line SCL when the master IC according to the first 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. Therefore, if the response signal is an ACK response signal, the signal level of the connection line SDA is LOW. If the response signal is NACK, the signal level of the connection line SDA changes to HIGH.

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

最初に出力される8ビットのデータ2801には、データ送信の対象となる装飾制御装置610のアドレス「A0〜A6」と、当該データが読み出し要求であるのか書き込み要求であるのかを示す1ビットのR/W識別データとが含まれる。アドレス「A0〜A6」のうち、「A4〜A6」は値「110」となる固定アドレス部であり、「A0〜A3」はICI/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 the 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には、ICI/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 register numbers 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は、本発明の第1の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置610に演出制御データを設定する場合において、マスタICとICI/Oエクスパンダ615との間で送受信される演出制御データに具体的な数値を適用した図である。図29では、オートインクリメントを禁止して、ワークレジスタの特定の記憶領域を1箇所だけを更新する演出制御データを示しており、具体的には、ICI/Oエクスパンダ615のPORT0端子〜PORT3端子に接続されるLEDの発光状態を更新する場合について説明する。 FIG. 29 shows the master IC and the I 2 CI / O expander when the master IC according to the first embodiment of the present invention specifies the individual address of the slave and sets the effect control data in the decoration control device 610. 615 is a diagram in which specific numerical values are applied to effect control data transmitted to and received from 615. FIG. 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のICI/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の出力データを設定するために割り当てられているICI/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.

ここでは、ICI/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レジスタに設定されるデータが割り当てられている。これにより、ICI/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 (lighted, extinguished, 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.

このようにして、ICI/Oエクスパンダ615のPORT0端子〜PORT3端子のLEDの発光状態が制御されるが、ICI/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は、本発明の第1の実施の形態のマスタICの演出制御データを送信する順序を説明する図である。図30では、オートインクリメントを許可して、ワークレジスタのすべての記憶領域を更新する場合に、演出制御データに含まれる各データを送信する順序を規定している。   FIG. 30 is a diagram illustrating the order in which the production control data of the master IC according to the first embodiment of this 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は、制御対象のICI/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のICI/Oエクスパンダ615においては、レジスタ番号「00h」の記憶領域(モードレジスタ1)が最初に更新されることになる。 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 setting value, the storage area (mode register 1) of the register number “00h” is updated first. Will be.

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

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

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

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

演出制御装置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に接続されるすべてのICI/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」を送信していないにもかかわらず、ノイズなどの影響によってICI/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.

また、リセットアドレスは、個別アドレスとは異なって、すべて(換言すれば複数)のICI/Oエクスパンダ615に共通なアドレスである。そのため、リセットアドレスを含んだ初期化指示データを1回送信するだけで、すべて(複数)のICI/Oエクスパンダ615を選択して初期化することになるので、ICI/Oエクスパンダ615を個別に選択して初期化を指示する方法と比較すると、高速に初期化を指示することが可能となる。 The reset address is an address common to all (in other words, a plurality of) 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の実施の形態の第1マスタIC570aの異常判定テーブル3200を説明する図である。   FIG. 32 is a diagram illustrating the abnormality determination table 3200 of the first master IC 570a according to the first embodiment of this invention.

異常判定テーブル3200は、演出制御装置550のRAM553に格納される。異常判定テーブル3200は、演出制御装置550の第1マスタIC570aと、当該第1マスタIC570aに接続されるICI/Oエクスパンダ615との接続状態を監視するために設けられている。異常判定テーブル3200は、接続状態に応じて、各ICI/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 to monitor 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 in accordance with 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に接続されるICI/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に示したICI/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からICI/Oエクスパンダ615に演出制御データを送信し、当該ICI/Oエクスパンダ615からACKを2回連続して受信できなかった場合にインクリメントされる。 The error counter 3203 transmits the effect control data from the first master IC 570a to the I 2 CI / O expander 615, and increments when the ACK cannot be received twice consecutively from the I 2 CI / O expander 615. Is done.

比較値3204には、ICI/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には、当該エントリのICI/Oエクスパンダ615との接続状態に異常が発生したか否かを示すエラーフラグが登録される。 Registered in the error flag 3205 is 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.

CI/Oエクスパンダ615に障害が発生しているか否かを判定する方法について具体的に説明すると、エラーカウンタ3203の値が、比較値3204に設定された所定値に達した場合、エラーフラグ3205に「ON」が設定され、当該エントリに対応するICI/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.

本発明の第1の実施の形態では、後述するように、演出制御データの出力処理(図37参照)は、VDP割込(約33.3ms周期)に同期して実行されるようにしている。   In the first 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からICI/Oエクスパンダ615への2回目の演出制御データの送信に対して、ICI/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でICI/Oエクスパンダ615に関する異常が発生したことを検出する。 Therefore, if an abnormality has occurred, the execution period of the data output process is 33.3 ms and the comparison value 3004 is “300”, so 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は、本発明の第1の実施の形態の第2マスタIC570bの異常判定テーブル3300を説明する図である。   FIG. 33 is a diagram illustrating the abnormality determination table 3300 of the second master IC 570b according to the first embodiment of this invention.

第2マスタIC570bの異常判定テーブル3300は、第1マスタIC570aの異常判定テーブル3200と同様に、演出制御装置550のRAM553に格納される。異常判定テーブル3300は、演出制御装置550の第2マスタIC570bと、当該第2マスタIC570bに接続されるICI/Oエクスパンダ615との接続状態を監視するために設けられている。異常判定テーブル3300は、接続状態に応じて、各ICI/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の実施の形態では、第1マスタIC570aと第2マスタIC570bの両方に接続される装飾制御装置610が存在しないため、制御対象の各装飾制御装置610のI/OエクスパンダアドレスがマスタICごとに設定される。したがって、図32及び図33には、同じ値のI/Oエクスパンダアドレスが設定されている。なお、I/Oエクスパンダアドレスには一つのアドレスのみ設定可能であるため、一つの装飾制御装置610を複数のマスタICが制御する場合には共通のアドレスを設定する必要がある。   In the first 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 set for each master IC. 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.

本発明の第1の実施の形態のマスタICには、デバイスの動作を構成し、シリアルデータを送受信するために使用される複数のレジスタが備えられている。図11及び図12に示したコマンドレジスタ(REG)581は、このようなレジスタの一つであり、接続された装飾制御装置610にスタートコンディションやストップコンディションを出力することなどを指示する。   The master IC according to the first 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は、本発明の第1の実施の形態の各装飾制御装置(スレーブ)を初期化(リセット)時にCPU551とマスタIC(第1マスタIC570a又は第2マスタIC570b)との間で送受信される情報を説明する図である。   FIG. 34 is transmitted / 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 first embodiment of the present invention is initialized (reset). It is a figure explaining information.

演出制御装置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 REG581, the master IC first outputs a stop condition to each decoration control device (slave) 610 to be controlled, 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は、本発明の第1の実施の形態の各装飾制御装置(スレーブ)に演出制御データを送信する際にCPU551とマスタIC(第1マスタIC570a又は第2マスタIC570b)との間で送受信される情報を説明する図である。   FIG. 35 shows transmission / reception between the CPU 551 and the master IC (the first master IC 570a or the second master IC 570b) when transmitting the effect control data to each decoration control device (slave) according to the first embodiment of the present invention. It is a figure explaining the information to be performed.

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

なお、本発明の第1の実施の形態では、ストップコンディションを出力することによって、演出装置の演出態様を更新するように構成しているが、後述する第4の実施の形態では、返答信号(ACK)送信時に演出装置の演出態様を更新するように構成している例について説明する。   In the first embodiment of the present invention, it is configured to update the effect mode of the effect device by outputting a stop condition. However, in the fourth embodiment to be described later, a response signal ( ACK) An example in which the effect mode of the effect device is updated at the time of transmission will be described.

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

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

演出制御装置550は、演出制御装置550に電源が投入されると、まずステップ3701〜3706の処理を実行する。そして、VDP556から画像更新周期と同期する同期信号(例えば、33.3ms秒周期の同期信号)が割込信号としてCPU551に入力されるたびにステップ3707の演出制御定期処理を繰り返し実行する。   When the effect control device 550 is turned on, the effect control device 550 first executes the processes of steps 3701 to 3706. Then, every time a synchronizing signal (for example, a synchronizing signal having a 33.3 ms second period) synchronized with the image update period is input from the VDP 556 to the CPU 551 as an interrupt signal, the effect control periodic process in step 3707 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のICI/Oエクスパンダ615を初期化するために、第1マスタIC570aから初期化指示データを出力する第1マスタIC570a側スレーブ初期化開始処理を実行する(3703)。同様に、第2マスタIC570bに接続されたすべての装飾制御装置610のICI/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, the second master IC 570b side that outputs initialization instruction data from the second master IC 570b 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. 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は、VDP割込が発生するたびに実行される演出制御定期処理が実行される(3707)。演出制御定期処理については、図39にて詳細を後述する。   Thereafter, the effect control device 550 executes an effect control periodic process that is executed each time a VDP interrupt occurs (3707). Details of the effect control periodic processing will be described later with reference to FIG.

図38は、本発明の第1の実施の形態の第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 first embodiment of this invention.

第1マスタIC570a側のスレーブ初期化開始処理は、図37のステップ3703及び演出制御定期処理(図39)のステップ3923の処理で実行される。また、第2マスタIC570b側のスレーブ初期化開始処理は、同じくステップ3704及びステップ3927の処理で実行される。   The slave initialization start process on the first master IC 570a side is executed in the process of step 3703 in FIG. 37 and step 3923 in the effect control regular process (FIG. 39). Similarly, the slave initialization start process on the second master IC 570b side is executed in the processes of step 3704 and step 3927.

第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 a master interrupt and a timeout interrupt (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 a master interrupt and a timeout 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は、本発明の第1の実施の形態の演出制御定期処理の手順を示すフローチャートである。   FIG. 39 is a flowchart illustrating a procedure of the effect control regular processing according to the first embodiment of this invention.

演出制御定期処理は、図37のステップ3707で実行される処理であり、VDP割込が発生するたびに、各マスタから各スレーブ(ICI/Oエクスパンダ615)に送信する演出制御データを編集し、当該演出制御データを送信するための処理である。 The regular production control process is a process executed in step 3707 in FIG. 37, and production control data to be transmitted from each master to each slave (I 2 CI / O expander 615) each time a VDP interrupt occurs. This is a process for editing and transmitting the effect control data.

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

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

続いて、CPU551は、マスタ割込み及びタイムアウト割込みを禁止する(3904)。次に、第1マスタIC570aに対応する更新段階番号を“0”に設定する(3905)。さらに、第1マスタIC570aの監視タイマを設定し(3906)、タイムアウトの監視処理を開始する(3907)。更新段階番号とは、演出制御データによって演出装置の演出態様が更新された段階を示す番号であり、マスタIC毎に設定される。更新段階番号は、演出制御装置550のRAM553に記憶される。   Subsequently, the CPU 551 prohibits a master interrupt and a timeout interrupt (3904). Next, the update stage number corresponding to the first master IC 570a is set to “0” (3905). Furthermore, the monitoring timer of the first master IC 570a is set (3906), and timeout monitoring processing is started (3907). The update stage number is a number indicating the stage at which the effect mode of the effect device is updated by the effect control data, and is set for each master IC. The update stage number is stored in the RAM 553 of the effect control device 550.

さらに、CPU551は、第1マスタIC570aのコマンドREG581に対し、STAに“1”、STOに“1”、SIに“0”、及びMODEに“1”を設定する(3908)。ステップ3908の処理では、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 (3908). In the processing of step 3908, “1” is set in MODE, so that data is transmitted and received in the buffer mode.

また、第2マスタIC570bについても同様に、CPU551は、第2マスタIC570bの更新段階番号を“0”に設定する(3909)。さらに、監視タイマを設定し(3910)、タイムアウトの監視処理を開始する(3911)。さらに、第2マスタIC570bのコマンドREG581に対し、STAに“1”、STOに“1”、SIに“0”、及びMODEに“1”を設定する(3912)。   Similarly, for the second master IC 570b, the CPU 551 sets the update stage number of the second master IC 570b to “0” (3909). Further, a monitoring timer is set (3910), and timeout monitoring processing is started (3911). Further, in response to 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 (3912).

CPU551は、各マスタの先頭のスレーブ(装飾制御装置610)を選択する(3913)。各マスタICには、演出制御データを送信するスレーブの順序があらかじめ設定されている。ステップ3910の処理で当該順序の先頭のスレーブを設定し、後述する演出制御データの送信再開処理において、第1マスタIC570aに接続される各スレーブに演出制御データを順次送信する。そして、選択された各スレーブへの出力データを準備する(3914)。   The CPU 551 selects the first slave (decoration control device 610) of each master (3913). 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. Then, output data to each selected slave is prepared (3914).

さらに、CPU551は、全マスタICのリトライカウンタを0に設定する(3915)。リトライカウンタとは、各マスタに演出制御データを送信する場合において、送信失敗時にインクリメントされるカウンタである。リトライカウンタが所定の数値よりも大きくなった場合には何らかの障害が発生したものと判断することができる。その後、マスタ割込み及びタイムアウト割込みを許可する(3916)。   Further, the CPU 551 sets the retry counters of all master ICs to 0 (3915). 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. Thereafter, the master interrupt and the timeout interrupt are permitted (3916).

続いて、CPU551は、VDP556に次に出力されるデータを編集し(3917)、さらに、音LSI557に出力されるスピーカ関連データを編集する(3918)。   Subsequently, the CPU 551 edits the next data output to the VDP 556 (3917), and further edits the speaker related data output to the sound LSI 557 (3918).

さらに、演出制御装置550は、発光体を制御する装飾制御装置610に送信するための演出制御データを編集するスレーブ出力データ編集処理を実行する(3919)。スレーブ出力データ編集処理では、図36で説明したように、各スレーブの演出制御データを生成し、RAM553上に確保された出力データ準備領域に格納する。   Further, the effect control device 550 executes slave output data editing processing for editing effect control data to be transmitted to the decoration control device 610 that controls the light emitter (3919). 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に接続された発光制御スレーブに関するエラー判定処理を実行する(3920)。   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 (3920).

エラー判定処理では、演出制御装置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は、ステップ3920のエラー判定処理の結果に基づいてリセット条件が成立しているか否かを判定する(3921)。前述のように、ステップ3920のエラー判定処理の時点ですべての発光制御スレーブのエラーフラグ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 3920 (3921). As described above, when the error flag 3205 of all the light emission control slaves is “ON” at the time of the error determination process in step 3920, it is determined that the reset condition is satisfied.

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

このように、リセット条件が成立したと判定された場合には、ステップ3717の処理で、第1マスタIC570aに接続されるすべてのICI/Oエクスパンダ615に対して、同時に初期化を指示する。すなわち、すべてのICI/Oエクスパンダ615を同時に選択して初期化することになるので、ICI/Oエクスパンダ615を個別に選択して初期化を指示する方法と比較すると、高速に初期化を行うことが可能となり、ICI/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.

なお、ステップ3921の処理でリセット条件成立とみなされた場合は、第1マスタIC570aにおいて異常が発生している可能性があるので、ステップ3722の処理で第1マスタIC570aも初期化するようにしている。   If it is determined that the reset condition is satisfied in the process of step 3921, an abnormality may have occurred in the first master IC 570a, so the first master IC 570a is also initialized in the process of step 3722. 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についても同様に、エラー判定処理を実行し(3924)、リセット条件が成立しているか否かを判定する(3925)。そして、リセット条件が成立している場合には、第2マスタIC570bをリセットし(3926)、第2マスタIC570bに接続されたスレーブを初期化する第2マスタIC側スレーブ初期化開始処理を実行する(3927)。その後、図37に示した処理に復帰し、VDP556から同期信号がCPU551に入力されるまで待機する。   Further, the effect control device 550 similarly executes error determination processing for the second master IC 570b (3924), and determines whether the reset condition is satisfied (3925). If the reset condition is satisfied, the second master IC 570b is reset (3926), and the second master IC side slave initialization start process for initializing the slave connected to the second master IC 570b is executed. (3927). Thereafter, the process returns to the process shown in FIG. 37 and waits until a synchronization signal is input from the VDP 556 to the CPU 551.

このように、図37から図39に示した処理では、表示装置53の画像を更新する周期と同期して、演出制御装置550の第1マスタIC570a及び第2マスタIC570bから装飾制御装置610のICI/Oエクスパンダ615に演出制御データを送信する。そして、ICI/Oエクスパンダ615は、受信した演出制御データに基づいて装飾装置620を制御するため、表示装置53における演出と装飾装置620における演出とが調和し、遊技者に違和感を与えないので、興趣を高めることができる。 As described above, in the processing shown in FIGS. 37 to 39, the first master IC 570a and the second master IC 570b of the effect control device 550 are synchronized with the cycle of updating the image of the display device 53, and the decoration control device 610 I is synchronized. 2 Transmit the effect control data to the CI / 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 a sense of discomfort. Because there is no, it can raise interest.

また、表示装置53の画像を更新する周期と同期して第1マスタIC570a及び第2マスタIC570bから送信された演出制御データが装飾制御装置610で受信されると、その都度、ICI/Oエクスパンダ615によってワークレジスタ(図24参照)の値が更新される。そのため、毎回ワークレジスタの値が最新の状態に更新されるので、ノイズ等でワークレジスタの値が破壊されても、正常な値に復帰することが可能である。 Further, 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の画像を更新する周期と同期して、ステップ3920及びステップ3924でエラー判定処理を実行するので、エラーを判定する頻度を適切に設定することができる。すなわち、エラー判定処理の実行頻度が多すぎると、演出制御装置550のCPU551の処理負荷が増大し、逆に、エラー判定処理の実行頻度が少なすぎると、異常の発生を適切なタイミングで検出できなくなる。表示装置53の画像を更新する周期と同期させてエラー判定を行うことによって、適切なタイミングでエラーを検出することが可能となり、各処理における不具合の発生に対して適切に対応することができる。   In addition, since the error determination process is executed in Step 3920 and Step 3924 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.

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

送信中断割込みは、いわゆるマスタ割込みであり、中断時の状態に応じて処理が実行される。また、タイムアウト割込みは、監視タイマ回路562に設定した監視タイマがタイムアップした場合に発生する割り込みであり、第1マスタIC570aによる送信処理が所定時間内に完了していないことを監視するためのものである。タイムアウト割込み発生時には第1マスタIC570aを初期化する。   The transmission interruption interrupt is a so-called master interruption, and processing is executed according to the state at the time of interruption. The timeout interrupt is an interrupt that occurs when the monitoring timer set in the monitoring timer circuit 562 times out, and is used to monitor whether the transmission processing by the first master IC 570a is not completed within a predetermined time. It is. When a time-out interrupt occurs, the first master IC 570a is initialized.

CPU551は、まず、第1マスタIC570aからのマスタ割込みが発生した場合には、監視タイマ回路562の監視タイマの更新を停止して、第1マスタIC570aに関するタイムアウトの監視を終了する(4001)。さらに、第1マスタIC570aのステータスコードが「復旧」に該当するか否かを確認する(4002)。ステータスコードはマスタICの状態を示す値であり、ステータスレジスタ(REG)582に設定されている。ステップ4002の処理では、図44にて後述する送信処理継続判定表4400を参照して、設定されているステータスコードが“70h”又は“78h”の場合には、「復旧」に該当するものとして判定される。ステータスコードが「復旧」に該当する場合には、接続線SDA又は接続線SCLが第1マスタIC570a又は第1マスタIC570aに接続されるスレーブ(ICI/Oエクスパンダ615)によって占有され、解除できない状態になっている。 First, when a master interrupt is generated from the first master IC 570a, the CPU 551 stops updating the monitoring timer of the monitoring timer circuit 562 and ends the timeout monitoring for the first master IC 570a (4001). Further, it is confirmed whether or not the status code of the first master IC 570a corresponds to “recovery” (4002). 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 4002, with reference to a transmission process continuation determination table 4400 described later with reference to FIG. 44, if the set status code is “70h” or “78h”, it is assumed that it corresponds to “recovery”. Determined. When the status code corresponds to “recovery”, the connection line SDA or the connection line SCL is occupied and released by the first master IC 570a or the slave (I 2 CI / O expander 615) connected to the first master IC 570a. It is in a state where it cannot be done.

CPU551は、第1マスタIC570aのステータスコードが「復旧」に該当するか否かを判定する(4003)。そして、該当しない場合には(4003の結果が「N」)、第1マスタIC570aの初期化段階番号及び更新段階番号を取得する(4004)。   The CPU 551 determines whether or not the status code of the first master IC 570a corresponds to “recovery” (4003). If not applicable (the result of 4003 is “N”), the initialization stage number and the update stage number of the first master IC 570a are acquired (4004).

CPU551は、初期化対象のマスタICの初期化段階番号が“0”であるか否かを判定する(4005)。初期化段階番号が“0”の場合とは、初期化処理が実行中でない状態であることを示している。すなわち、初期化段階番号が“0”以外の場合には初期化処理が実行中であることを示している。   The CPU 551 determines whether or not the initialization stage number of the master IC to be initialized is “0” (4005). 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”でない場合には(4005の結果が「N」)、前述のように、初期化処理中であるため、初期化指示データの送信再開処理を実行する(4006)。初期化指示データの送信再開処理の詳細については、図42にて後述する。   If the initialization stage number of the master IC to be initialized is not “0” (the result of 4005 is “N”), the CPU 551 is in the initialization process as described above, so the initialization instruction data A transmission resumption process is executed (4006). Details of the transmission restart processing of the initialization instruction data will be described later with reference to FIG.

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

また、CPU551は、ステップ4003の分岐にて、第1マスタIC570aのステータスコードが「復旧」に該当すると判定した場合には(4003の結果が「Y」)、第1マスタIC570aをソフトリセットし(4011)、次いで、第1マスタIC570aに接続された装飾制御装置610を初期化するために、第1マスタ側スレーブ初期化開始処理を実行する(4011)。第1マスタ側スレーブ初期化開始処理は、図38で前述した処理と同一の処理である。   If the CPU 551 determines in the branch of step 4003 that the status code of the first master IC 570a corresponds to “recovery” (the result of 4003 is “Y”), the CPU 551 performs a soft reset on the first master IC 570a ( 4011) Next, in order to initialize the decoration control device 610 connected to the first master IC 570a, a first master-side slave initialization start process is executed (4011). The first master-side slave initialization start process is the same as the process described above with reference to FIG.

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

第2マスタIC570b側の送信中断割込み発生時及びタイムアウト割込み発生時の処理は、図40に示した第1マスタIC570aの場合の処理と同様であり、第1マスタIC570aを第2マスタIC570bに置き換えればよいため、説明を省略する。   The processing when the transmission interruption interrupt and the timeout interruption occur on the second master IC 570b side is the same as the processing for the first master IC 570a shown in FIG. 40. Since it is good, explanation is omitted.

図42は、本発明の第1の実施の形態の初期化指示データの送信再開処理の手順を示すフローチャートである。   FIG. 42 is a flowchart illustrating a procedure of the initialization restart data transmission restart process according to the first 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). 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. 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の呼び出し元の処理にてステップS4005の分岐により、演出制御データの送信再開処理が実行される)ので、ここでは、初期化段階番号が“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 S4005 in the caller process of FIG. 40). Therefore, here, 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は、本発明の第1の実施の形態の演出制御データの送信再開処理の手順を示すフローチャートである。   FIG. 43 is a flowchart illustrating a procedure of resumption transmission processing of effect control data according to the first embodiment of this invention.

CPU551は、まず、ステータスコードに基づいて実行する処理を判断し(4301)、処理が「再送」か否かを判定する(4302)。ステップ4301の処理では、ステータスコードに設定された値と更新段階番号との組合せに基づいて、送信処理継続判定表4400(図44)を参照して実行する処理を判断する。   The CPU 551 first determines processing to be executed based on the status code (4301), and determines whether the processing is “retransmission” (4302). In the process of step 4301, based on the combination of the value set in the status code and the update stage number, the process to be executed is determined with reference to the transmission process continuation determination table 4400 (FIG. 44).

更新段階番号は、第1マスタIC570a及び第2マスタIC570bの各々に関して、演出制御データを送信するタイミングを制御するための番号である。具体的には、演出制御定期処理(図37のステップ3707、図39)が実行されると、更新段階番号が“0”に設定される。また、後述するように、出力用バッファ572に演出制御データを設定すると、更新段階番号は“1”に設定される。   The update stage number is a number 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 effect control periodic process (step 3707 in FIG. 37, FIG. 39) is executed, the update stage number is set to “0”. As will be described later, when the presentation control data is set in the output buffer 572, the update stage number is set to “1”.

ステータスコードは、前述のように、マスタICの状態を示す値であり、ステータスレジスタ(REG)582に設定されている。更新段階番号とステータスコードとの関係については、図44にて詳細を説明する。   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 update stage number and the status code will be described in detail with reference to FIG.

CPU551は、ステータスコードに基づいて処理が「再送」でないと判定された場合には(4302の結果が「N」)、さらに、更新段階番号の値が“0”であるか否かを判定する(4303)。このとき、図44を参照すると、「再送」でない処理には「継続」又は「復旧」が含まれるが、送信中断割込み発生時に処理が「復旧」の場合には、図40及び図41に示すように、演出制御データの送信再開処理を実行することなく初期化処理が実行される。したがって、処理が「再送」でない場合には、必ず処理は「継続」となっている。   If it is determined that the process is not “retransmission” based on the status code (the result of 4302 is “N”), the CPU 551 further determines whether or not the value of the update stage number is “0”. (4303). At this time, referring to FIG. 44, processing that is not “retransmission” includes “continuation” or “recovery”, but when the processing is “recovery” when a transmission interruption interrupt occurs, it is shown in FIG. 40 and FIG. As described above, the initialization process is executed without executing the transmission restart process of the production control data. Therefore, when the process is not “retransmission”, the process is always “continuation”.

そして、CPU551は、更新段階番号の値が“0”の場合には(4303の結果が「Y」)、RAM553上に準備されていたデータを出力用バッファ572に設定する(4304)。この場合(更新段階番号の値が“0”、かつ、処理が「継続」)、ステータスコードは“08h”又は“10h”となっており、スタートコンディション出力後の状態に対応する。   If the value of the update stage number is “0” (the result of 4303 is “Y”), the CPU 551 sets the data prepared on the RAM 553 in the output buffer 572 (4304). In this case (the update stage number value is “0” and the process is “continuation”), the status code is “08h” or “10h”, which corresponds to the state after the start condition is output.

さらに、CPU551は、更新段階番号の値を“1”に設定し(4305)、監視タイマを設定し、タイムアウトの監視を開始する(4306)。最後に、処理対象のマスタICのコマンドREG581のSTA、STO及びSIをそれぞれ“0”に設定し、出力用バッファ572に設定されたデータをバッファモードで送信するために、MODEを“1”に設定し(4307)、呼び出し元の処理に復帰する。   Further, the CPU 551 sets the value of the update stage number to “1” (4305), sets a monitoring timer, and starts monitoring timeout (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は、更新段階番号の値が“1”の場合には(4303の結果が「N」)、選択されたスレーブ(装飾制御装置610)に対応するエラーフラグを“オフ”に設定し(4308)、さらに、エラーカウンタを初期化する(4309)。なお、更新段階番号の値が“1”の場合、正常に処理が行われていれば、ステータスコードには正常にデータの送信が完了したことを示す“28h”が設定されている。   On the other hand, when the value of the update stage number is “1” (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). When the value of the update stage number is “1”, if the process is normally performed, “28h” indicating that data transmission has been completed normally is set in the status code.

その後、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)、更新段階番号を“0”に設定し(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), the update stage number is set to “0” (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の結果が「Y」)、リトライカウンタの値をインクリメントする(4318)。そして、リトライカウンタの値が、指定された値に到達したか否かを判定する(4319)。このとき指定された値は、図32又は図33に示した異常判定テーブル3200又は異常判定テーブル3300に設定されており、現在選択されているスレーブに対応する比較値3204に対応する。   When the CPU 551 determines that the process is retransmission based on the status code (the result of 4302 is “Y”), 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 value designated 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.

図44は、本発明の第1の実施の形態のデータの送信再開処理の継続を判断するための送信処理継続判定表4400の一例を示す図である。   FIG. 44 is a diagram illustrating an example of a transmission processing continuation determination table 4400 for determining continuation of data transmission resumption processing according to the first 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の状態を示す値である。   The status code 4401 is a value indicating the state of the master IC as described above.

状態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.

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

続いて、ステータスコードに対応する初期化指示データ送信再開処理の継続判断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”, “resumption” or “recovery” 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に設定されたステータスコードとが整合しない場合に継続判断4402の値が「再開」になり、例えば、データの送信に失敗した場合にこの状態となる。   On the other hand, when the value of the continuation determination 4402 is “restart”, this indicates that the initialization instruction data transmission restart process is not normally processed, and the initialization instruction data transmission restart process needs to be restarted. It is shown that. That is, when the processing executed in the initialization instruction data transmission restart processing and the status code set in the status register (REG) 582 do not match, the value of the continuation determination 4402 becomes “restart”. This state occurs when transmission fails.

さらに、継続判断4402の値が「復旧」の場合には、接続線SDA又は接続線SCLが占有され、解除できないことを示している。この場合には、送信中断割込発生時に対応するマスタIC及び当該マスタICに接続されたスレーブを初期化する必要がある。   Further, when the value of the continuation determination 4402 is “recovery”, it indicates that the connection line SDA or the connection line SCL is occupied and cannot be released. In this case, it is necessary to initialize the master IC corresponding to the occurrence of a transmission interruption interrupt and the slave connected to the master IC.

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

更新段階番号は、スタートコンディションが出力された後、最初にデータが送信されたタイミングで“1”に設定され、1つのスレーブに対するデータの出力準備が完了すると“0”に設定される。すなわち、初期設定が終了すると更新段階番号が“1”に設定され、その後、継続してデータが送信される。継続判断4403の値が「継続」となるのは、スタートコンディション送信後(更新段階番号が“0”)にステータスコードが「08H」又は「10H」に設定されていた場合と、データ送信後(更新段階番号が“1”)にデータ送信の成功を示すステータスコード「28H」が設定されている場合である。   The update stage number is set to “1” at the first data transmission timing after the start condition is output, and is set to “0” when the data output preparation for one slave is completed. That is, when the initial setting is completed, the update stage number is set to “1”, and then data is continuously transmitted. The value of the continuation determination 4403 becomes “continuation” when the status code is set to “08H” or “10H” after the start condition transmission (update stage number “0”) and after the data transmission ( This is a case where the status code “28H” indicating the successful data transmission is set in the update stage number “1”).

一方、接続線SDA又は接続線SCLが何らかの理由で占有状態になっており、解除できない場合には、データを送受信することができないため、マスタIC及びマスタICに接続されたスレーブを初期化することによって占有状態を解除するように復旧させる。具体的には、ステータスコード4401が「70H」又は「78H」の場合である。   On the other hand, if the connection line SDA or the connection line SCL is occupied for some reason and cannot be released, data cannot be transmitted / received, so the master IC and the slave connected to the master IC are initialized. To restore the occupied state. Specifically, the status code 4401 is “70H” or “78H”.

その他の場合、すなわち、データの送受信が可能な状態でステータスコードと更新段階番号の設定値とが整合していない場合には、「再送」が設定されており、演出制御データを再送する処理が実行される。   In other cases, that is, when the status code and the setting value of the update stage number do not match in a state where transmission / reception of data is possible, “retransmission” is set, and processing for retransmitting the presentation control data is performed. Executed.

図45は、本発明の第1の実施の形態のマスタ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 first 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のSTAに“1”が設定されているか否かを判定する(4501)。   First, the controller 574 of the master IC 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 REG 581 (4501).

コントローラ574は、スタートコンディションの出力が要求されている場合には(4501の結果が「Y」)、スタートコンディション出力処理を実行する(4502)。スタートコンディション出力処理は、接続線SCL及び接続線SDAの信号レベルに応じてスタートコンディションを出力するために必要な処理を実行する。スタートコンディション出力処理の詳細については、図46にて後述する。   When the output of the start condition is requested (the result of 4501 is “Y”), the controller 574 executes the start condition output process (4502). The start condition output process executes a process necessary for outputting a 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は、スタートコンディション出力処理の実行が完了すると、STCDの値をステータスコードに設定する(4503)。STCDは、設定されるステータスコードを代入するための変数であり、スタートコンディション出力処理や、後述のスレーブへのデータ送信処理、ストップコンディション出力処理で所定の値が設定される。ステータスコードに値を設定すると、コマンドREG581のSIに“1”を設定することによって送信中断割込みを発生させる。   When the execution of the start condition output process is completed, the controller 574 sets the value of STCD as the status code (4503). STCD is a variable for substituting a status code to be set, and a predetermined value is set in a start condition output process, a data transmission process to a slave described later, and a stop condition output process. When a value is set in the status code, a transmission interruption interrupt is generated by setting “1” in the SI of the command REG581.

次に、コントローラ574は、スタートコンディションの出力が要求されていない場合には(4501の結果が「N」)、ストップコンディションの出力が要求されているか否か、すなわち、コマンドREG581のSTOに“1”が設定されているか否かを判定する(4504)。   Next, when the output of the start condition is not requested (the result of 4501 is “N”), the controller 574 determines whether or not the output of the stop condition is requested, that is, the STO of the command REG 581 is “1”. It is determined whether "" is set (4504).

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

コントローラ574は、ストップコンディションの出力が要求されている場合には(4504の結果が「Y」)、ストップコンディション出力処理を実行する(4506)。ストップコンディション出力処理は、接続線SCL及び接続線SDAの信号レベルに応じてストップコンディションを実行するために必要な処理を実行する。ストップコンディション出力処理の詳細については、図50にて後述する。その後、スレーブへのデータ送信処理で設定されたSTCDの値をステータスコードに設定し(4507)、本処理を終了する(送信中断割込みは発生しない)。   When the output of the stop condition is requested (the result of 4504 is “Y”), the controller 574 executes the stop condition output process (4506). 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. After that, the STCD value set in the data transmission process to the slave is set in the status code (4507), and this process ends (a transmission interruption interrupt does not occur).

図46は、本発明の第1の実施の形態のスタートコンディション出力処理の手順を示すフローチャートである。   FIG. 46 is a flowchart illustrating a procedure of start condition output processing according to the first embodiment of this 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, a process corresponding to the signal level of each connection line at the start of the process is executed.

コントローラ574は、スタートコンディション出力処理を開始すると、まず、ステータスコードの変数(STCD)に“08H”を設定する。“08H”は、スタートコンディションの出力が完了したことを示す。   When starting the start condition output process, the controller 574 first sets “08H” in the status code variable (STCD). “08H” indicates that the output of the start condition is completed.

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

コントローラ574は、ストップコンディションの出力が要求され、かつ、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにHIGHの場合には、接続線SCLの信号レベルをLOWに設定する(4603)。さらに、接続線SDAの信号レベルをLOWに設定し(4604)、SCL解放監視処理を実行する(4605)。SCL解放監視処理の詳細については、図47にて後述する。   The controller 574 sets the signal level of the connection line SCL to LOW when the output of the stop condition is requested and the signal level of the connection line SCL and the signal level of the connection line SDA are both HIGH (4603). Further, the signal level of the connection line SDA is set to LOW (4604), and the SCL release monitoring process is executed (4605). Details of the SCL release monitoring process will be described later with reference to FIG.

コントローラ574は、トランジスタ578a(図11又は図12)をオフすることで、接続線SDAを解放する(4606)。このとき、接続線SDAに接続されている他のIC(I/Oエキスパンダ615等)の全てが接続線SDAを解放していれば、接続線SDAの信号レベルがHIGHに変更される。   The controller 574 releases the connection line SDA by turning off the transistor 578a (FIG. 11 or FIG. 12) (4606). 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であるか否かを判定する(4607)。接続線SDAの信号レベルがHIGHであれば(4607の結果が「Y」)、接続線SDAを解放できたため、この時点では、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにHIGHに設定されている。   The controller 574 determines whether or not the signal level of the connection line SDA is HIGH (4607). If the signal level of the connection line SDA is HIGH (the result of 4607 is “Y”), the connection line SDA can be released. At this time, both the signal level of the connection line SCL and the signal level of the connection line SDA are HIGH. Is set.

そして、コントローラ574は、トランジスタ578a(図11又は図12)をオンに設定することで接続線SDAの信号レベルをLOWに設定する(4608)。このように処理することによって、接続線SCLの信号レベルをHIGHに維持した状態で、接続線SDAの信号レベルをHIGHからLOWに変更されるため、スタートコンディションが成立する。   Then, the controller 574 sets the signal level of the connection line SDA to LOW by setting the transistor 578a (FIG. 11 or FIG. 12) to ON (4608). 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に設定する(4609)。さらに、FBFの値をオンに設定する(4610)。FBFは、スタートコンディションが成立した直後であることを示すフラグであり、例えば、スタートコンディション成立後にデータを送信する場合に、FBFがオンであれば、最初に送信されたデータであるからスレーブのアドレスと判断する。そして、アドレス受信後にFBFをオフに設定することによって、受信したデータが演出制御データであることを各スレーブが認識することができる。   Subsequently, the controller 574 sets the signal level of the connection line SCL to LOW by setting the transistor 578b to ON (4609). Further, the FBF value is set to ON (4610). 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.

一方、コントローラ574は、接続線SDAの信号レベルがHIGHでない場合には(4607の結果が「N」)、所定の時間が経過するまで、接続線SDAの信号レベルがHIGHになったか否かを判定する(4611)。所定の時間が経過すると(4611の結果が「Y」)、接続線SDAが占有状態であると判定して、ステップ4612以降の接続線SDAを解放する処理を実行する。具体的には、ドライバ576aによってトランジスタ578aに動作可能な電圧を印加しないことによってトランジスタ578aをオンにさせずに(接続線SDAを解放した状態で)、接続線SCLの信号レベルを少なくとも9回変化させる。   On the other hand, if the signal level of the connection line SDA is not HIGH (the result of 4607 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 (4611). When the predetermined time has elapsed (the result of 4611 is “Y”), it is determined that the connection line SDA is in the occupied state, and processing for releasing the connection line SDA from step 4612 is executed. Specifically, by not applying an operable voltage to the transistor 578a by the driver 576a, the signal level of the connection line SCL is changed at least nine times without turning on the transistor 578a (with the connection line SDA released). Let

コントローラ574は、まず、接続線SCLに信号を入力した回数を示す変数LPの値に0を設定する(4612)。さらに、トランジスタ578aをオンさせることで、接続線SCLの信号レベルをLOWに設定する(4613)。このとき、接続線SCLの信号レベルはHIGHからLOWに変化している。さらに、LPに1を加算することによって(4614)、接続線SCLの信号レベルの変更回数をカウントする。   First, the controller 574 sets 0 to the value of a variable LP indicating the number of times that a signal has been input to the connection line SCL (4612). Further, the signal level of the connection line SCL is set to LOW by turning on the transistor 578a (4613). At this time, the signal level of the connection line SCL changes from HIGH to LOW. Further, by adding 1 to LP (4614), the number of changes in the signal level of the connection line SCL is counted.

続いて、コントローラ574は、図47にて後述するSCL解放監視処理を実行する(4615)。そして、LPの値が9になったか否か、すなわち、接続線SCLの信号レベルの変更回数が9回に到達したか否かを判定する(4616)。LPの値が9に到達していない場合には(4616の結果が「N」)、ステップ4613から4615までの処理を再度実行する。   Subsequently, the controller 574 executes an SCL release monitoring process described later with reference to FIG. 47 (4615). Then, it is determined 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 (4616). If the LP value has not reached 9 (the result of 4616 is “N”), the processing from step 4613 to 4615 is executed again.

ステップ4612から4616までの処理によって、読み出しモード(詳細は後述)となったICI/Oエクスパンダ615は、接続線SCLの信号レベルの変化に合わせて接続線SDAにデータを出力するが、接続線SCLの信号レベルの変化が少なくとも9回行われる途中において、マスタICからのアクノリッジ(ACK)信号を確認するタイミングが発生する。このとき、接続線SDAは解放されているので信号レベルがHIGHとなり、読み出しモードとなったICI/Oエクスパンダ615は、アクノリッジ信号を受信しなかったと判断するので、データ伝送をやめて接続線SDAを解放することになる。 The I 2 CI / O expander 615 that has become a read mode (details will be described later) by the processing from steps 4612 to 4616 outputs data to the connection line SDA in accordance with the change in the signal level of the connection line SCL. While the signal level of the connection line SCL is changed at least nine times, a timing for confirming an acknowledge (ACK) signal from the master IC occurs. At this time, since the connection line SDA is released, the signal level becomes HIGH, and the I 2 CI / O expander 615 that has entered the read mode determines that the acknowledge signal has not been received. SDA will be released.

このようにして、読み出しモードとなったICI/Oエクスパンダ615から強制的に接続線SDAを解放させるので、接続線SDAの信号レベルはHIGHに維持される。 In this way, 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 high.

コントローラ574は、接続線SCLの信号レベルの変更回数が9回に到達した場合には(4616の結果が「Y」)、ストップコンディションの出力が要求されているか否かを判定する(4617)。   When the number of changes in the signal level of the connection line SCL reaches 9 (the result of 4616 is “Y”), the controller 574 determines whether or not the output of the stop condition is requested (4617).

コントローラ574は、ストップコンディションの出力が要求されている場合には(4617の結果が「Y」)、接続線SCLの信号レベルをLOWに設定する(4618)。さらに、トランジスタ578aをオンに設定することで接続線SDAの信号レベルをLOWに設定する(4619)。その後、SCL解放監視処理を実行し(4620)、続いて、SCL解放監視処理を実行する(4621)。その後、ステップ4608から4610までの処理を実行し、呼び出し元の処理に復帰する。   When the output of the stop condition is requested (the result of 4617 is “Y”), the controller 574 sets the signal level of the connection line SCL to LOW (4618). Further, the signal level of the connection line SDA is set to LOW by setting the transistor 578a to ON (4619). Thereafter, the SCL release monitoring process is executed (4620), and then the SCL release monitoring process is executed (4621). Thereafter, the processing from step 4608 to 4610 is executed, and the processing returns to the calling source processing.

また、コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求され、かつ、接続線SCLの信号レベルがLOW、接続線SDAの信号レベルがHIGHの場合には、ステップ4604以降の処理を実行する。さらに、ステップ4602の分岐の時点において、ストップコンディションの出力が要求され、かつ、接続線SCLの信号レベルがHIGH、接続線SDAの信号レベルがLOWの場合には、ステップ4606以降の処理を実行する。   Further, at the time of branching in step 4602, the controller 574 is requested to output a stop condition, and when the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH, step 4604 and the subsequent steps. Execute the process. Further, when the output of the stop condition is requested at the time of branching in step 4602, the signal level of the connection line SCL is HIGH, and the signal level of the connection line SDA is LOW, the processing after step 4606 is executed. .

コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求され、かつ、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにLOWの場合には、トランジスタ578aをオフに設定することで、接続線SDAを解放する(4622)。さらに、接続線SDAの信号レベルがHIGHであるか否かを判定する(4623)。   The controller 574 sets the transistor 578a to OFF when the output of the stop condition is requested at the time of branching in step 4602 and both the signal level of the connection line SCL and the signal level of the connection line SDA are LOW. Thus, the connection line SDA is released (4622). Further, it is determined whether or not the signal level of the connection line SDA is HIGH (4623).

コントローラ574は、接続線SDAの信号レベルがHIGHでない場合には(4623の結果が「N」)、所定の時間が経過するまで、接続線SDAの信号レベルがHIGHになったか否かを判定する(4625)。所定の時間が経過すると(4625の結果が「Y」)、接続線SDAが占有状態であると判定して、SCL解放監視処理を実行し(4626)、ステップ4612以降の接続線SDAを解放する処理を実行する。   If the signal level of the connection line SDA is not HIGH (the result of 4623 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. (4625). When a predetermined time elapses (the result of 4625 is “Y”), it is determined that the connection line SDA is occupied, SCL release monitoring processing is executed (4626), and the connection line SDA after step 4612 is released. Execute the process.

一方、コントローラ574は、接続線SDAの信号レベルがHIGHであれば(4623の結果が「Y」)、さらに、ストップコンディションが要求されているか否かを判定する(4624)。ストップコンディションが要求されている場合には(4624の結果が「Y」)、ステップ4604以降の処理を実行する。   On the other hand, if the signal level of the connection line SDA is HIGH (the result of 4623 is “Y”), the controller 574 further determines whether or not a stop condition is requested (4624). When the stop condition is requested (the result of 4624 is “Y”), the processing after step 4604 is executed.

コントローラ574は、ストップコンディションが要求されていない場合には(4624の結果が「N」)、SCL解放監視処理を実行し(4627)、スタートコンディションの再出力(リスタートコンディション)が完了したことを示す「10H」をSTCDに設定する(4628)。その後、ステップ4608以降の処理を実行する。   When the stop condition is not requested (the result of 4624 is “N”), the controller 574 executes the SCL release monitoring process (4627) and confirms that the start condition re-output (restart condition) has been completed. “10H” shown is set in the STCD (4628). Thereafter, the processing after step 4608 is executed.

また、コントローラ574は、接続線SCLの信号レベルの変更回数が9回に到達し(4616の結果が「Y」)、さらに、ストップコンディションの出力が要求されていない場合には(4617の結果が「N」)、接続線SDAの信号レベルがHIGHであるか否かを判定する(4629)。   In addition, the controller 574 determines that the number of changes in the signal level of the connection line SCL reaches nine (the result of 4616 is “Y”), and further, when the output of the stop condition is not requested (the result of 4617 is "N"), it is determined whether or not the signal level of the connection line SDA is HIGH (4629).

コントローラ574は、接続線SDAの信号レベルがHIGHでない場合には(4629の結果が「N」)、所定の時間が経過するまで、接続線SDAの信号レベルがHIGHになったか否かを判定する(4630)。そして、所定の時間が経過すると(4630の結果が「Y」)、接続線SDAが占有状態であると判定して、ステータスコードに“70H”を設定し(4631)、送信中断割り込みを発生させる。   If the signal level of the connection line SDA is not HIGH (the result of 4629 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. (4630). When a predetermined time elapses (result of 4630 is “Y”), it is determined that the connection line SDA is occupied, “70H” is set in the status code (4631), and a transmission interruption interrupt is generated. .

コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求されず、かつ、接続線SCLの信号レベルがHIGH、かつ、接続線SDAの信号レベルがLOWの場合には、接続線SDAの信号レベルをLOWに設定し(4632)、ステップ4622以降の処理を実行する。   At the time of branching of step 4602, the controller 574 does not require the output of the stop condition, and if the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW, the connection line SDA Is set to LOW (4632), and the processing after step 4622 is executed.

コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求されず、かつ、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにLOWの場合には、ステップ4622以降の処理を実行する。   At the time of branching in step 4602, the controller 574 does not request output of a stop condition, and if both the signal level of the connection line SCL and the signal level of the connection line SDA are LOW, the controller 574 performs the processing from step 4622 onward. Execute.

コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求されず、かつ、接続線SCLの信号レベルがLOW、かつ、接続線SDAの信号レベルがHIGHの場合には、ステップ4627以降の処理を実行する。   At the time of branching in step 4602, the controller 574 is not required to output a stop condition, and when the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH, step 4627 and subsequent steps. Execute the process.

コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求されず、かつ、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにHIGHの場合には、ステップ4608以降の処理を実行する。   If the controller 574 does not request stop condition output at the time of branching in step 4602 and both the signal level of the connection line SCL and the signal level of the connection line SDA are HIGH, the processing after step 4608 is performed. Execute.

図47は、本発明の第1の実施の形態のSCL解放監視処理の手順を示すフローチャートである。   FIG. 47 is a flowchart illustrating a procedure of SCL release monitoring processing according to the first 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になったか否かを判定する(4703)。   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. (4703).

コントローラ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は、本発明の第1の実施の形態のSDA解放監視処理の手順を示すフローチャートである。   FIG. 48 is a flowchart illustrating a procedure of SDA release monitoring processing according to the first embodiment of this invention.

コントローラ574は、SDA解放監視処理が開始されると、トランジスタ578a(図11又は図12)をオフすることで、接続線SDAを解放する(4801)。このとき、接続線SDAに接続されている他のIC(I/Oエキスパンダ615等)の全てが接続線SDAを解放していれば、接続線SDAの信号レベルがHIGHに変更される。   When the SDA release monitoring process is started, the controller 574 releases the connection line SDA by turning off the transistor 578a (FIG. 11 or FIG. 12) (4801). 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であるか否かを判定する(4802)。接続線SDAの信号レベルがHIGHであれば(4802の結果が「Y」)、接続線SDAを解放できたため、呼び出し元の処理に復帰する。   Then, the controller 574 determines whether or not the signal level of the connection line SDA is HIGH (4802). If the signal level of the connection line SDA is HIGH (the result of 4802 is “Y”), the connection line SDA can be released, and the process returns to the caller process.

一方、コントローラ574は、接続線SDAの信号レベルがHIGHになっていない場合には(4802の結果が「N」)、所定の時間が経過するまで、接続線SDAの信号レベルがHIGHになったか否かを判定する(4802)。   On the other hand, if the signal level of the connection line SDA is not HIGH (the result of 4802 is “N”), the controller 574 determines whether the signal level of the connection line SDA has become HIGH until a predetermined time has elapsed. It is determined whether or not (4802).

コントローラ574は、所定の時間が経過しても接続線SDAの信号レベルがHIGHにならない場合には(4803の結果が「Y」)、接続線SCLを解放するSCL解放監視処理(図47)を実行し、接続線SCLを解放する(4804)。その後、接続線SDAを解放できないことを示す「70H」をステータスコードに設定し(4805)、送信中断割込みを発生させる。   If the signal level of the connection line SDA does not become HIGH even after a predetermined time has elapsed (the result of 4803 is “Y”), the controller 574 performs an SCL release monitoring process (FIG. 47) for releasing the connection line SCL. Execute and release the connection line SCL (4804). Thereafter, “70H” indicating that the connection line SDA cannot be released is set in the status code (4805), and a transmission interruption interrupt is generated.

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

コントローラ574は、まず、データの送信回数を格納する変数CTRを0に初期化する(4901)。続いて、トランジスタ578b(図11又は図12)をオンに設定することで接続線SCLの信号レベルをLOWに設定する(4902)。そして、SDA解放監視処理を実行することによって(4903)、接続線SDAの信号レベルがHIGHに変更されるように設定する。このとき、接続線SDAに接続されている他のIC(I/Oエキスパンダ615等)の全てが接続線SDAを解放している。   First, the controller 574 initializes a variable CTR for storing the number of data transmissions to 0 (4901). Subsequently, the signal level of the connection line SCL is set to LOW by turning on the transistor 578b (FIG. 11 or FIG. 12) (4902). Then, by executing the SDA release monitoring process (4903), the signal level of the connection line SDA is set to be changed to HIGH. At this time, all other ICs (I / O expander 615, etc.) connected to the connection line SDA have released the connection line SDA.

コントローラ574は、変数CTRの値が8か否か、すなわち、データの送信回数が8回に到達したか否かを判定する(4904)。データの送信回数が8回に到達していない場合には(4904の結果が「N」)、接続線SDAを介してスレーブにデータを出力し、CTRに1を加算する(4905)。続いて、SCL解放監視処理を実行し(4906)、ステップ4902以降の処理を実行することによってさらにデータを出力する。   The controller 574 determines whether or not the value of the variable CTR is 8, that is, whether or not the number of data transmissions has reached 8 (4904). If the number of data transmissions has not reached eight (the result of 4904 is “N”), data is output to the slave via the connection line SDA, and 1 is added to CTR (4905). Subsequently, the SCL release monitoring process is executed (4906), and further data is output by executing the processes after step 4902.

一方、コントローラ574は、データの送信回数が8回に到達すると(4904の結果が「Y」)、スレーブ側のICI/Oエクスパンダ615から接続線SDAを介して返答信号が出力される(4907)。 On the other hand, when the number of data transmissions reaches 8 (the result of 4904 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. (4907).

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

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

コントローラ574は、現在のデータ送信モードがバッファモードの場合には(4913の結果が「Y」)、最終バイトの送信が完了したか否かを判定する(4914)。最終バイトの送信が完了しておらず、さらにデータを送信する場合には(4914の結果が「N」)、FBFの値にオフを設定し、データの送信回数を示す変数CTRに0を設定する(4915)。FBFは、前述のように、スタートコンディションが成立した直後であることを示すフラグであり、最初のデータ送信後にオフに設定することによって、スレーブのアドレスの送信が終了していることを示すフラグとして扱うことができる。   If the current data transmission mode is the buffer mode (the result of 4913 is “Y”), the controller 574 determines whether or not the transmission of the last byte has been completed (4914). When transmission of the last byte is not completed and data is transmitted (result of 4914 is “N”), the FBF value is set to OFF, and the variable CTR indicating the number of data transmissions is set to 0. (4915). 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.

その後、コントローラ574は、接続線SDAの信号レベルがHIGHであるか否かを判定する(4916)。接続線SDAの信号レベルがHIGHでない場合には(4916の結果が「N」)、所定時間待機する(4917)。所定時間経過しても接続線SDAの信号レベルがHIGHでない場合には(4917の結果が「Y」)、ステータスコードに70Hを設定し(4918)、送信中断割り込みを発生させる。一方、接続線SDAの信号レベルがHIGHの場合には(4916の結果が「Y」)、次のデータを送信するためにステップ4902以降の処理を実行する。   Thereafter, the controller 574 determines whether or not the signal level of the connection line SDA is HIGH (4916). When the signal level of the connection line SDA is not HIGH (the result of 4916 is “N”), the process waits for a predetermined time (4917). If the signal level of the connection line SDA is not HIGH even after the predetermined time has elapsed (the result of 4917 is “Y”), the status code is set to 70H (4918), and a transmission interruption interrupt is generated. On the other hand, when the signal level of the connection line SDA is HIGH (the result of 4916 is “Y”), the processing after step 4902 is executed to transmit the next data.

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

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

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

図50は、本発明の第1の実施の形態のストップコンディション出力処理の手順を示すフローチャートである。   FIG. 50 is a flowchart illustrating a procedure of stop condition output processing according to the first embodiment of this 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の信号レベルに応じて処理を分岐させる(5001)。   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 (5001).

コントローラ574は、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにHIGHの場合には、トランジスタ578b(図11又は図12)をオンに設定することで接続線SCLの信号レベルをLOWに設定する(5002)。ステップ5002の処理が終了した後、又は、接続線SCLの信号レベルがLOW、かつ、接続線SDAの信号レベルがHIGHの場合には、トランジスタ578a(図11又は図12)をオンに設定することで接続線SDAの信号レベルをLOWに設定する(5003)。   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 the signal level of the connection line SCL to LOW by turning on the transistor 578b (FIG. 11 or FIG. 12). Set (5002). After the processing of step 5002 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 set to ON. Then, the signal level of the connection line SDA is set to LOW (5003).

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

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. The details of the SCL release monitoring process are as described in 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は、ステップ5004の処理が終了した後、又は、接続線SCLの信号レベルがHIGH、かつ、接続線SDAの信号レベルがLOWの場合には、接続線SDAを解放するためのSDA解放監視処理を実行する(5005)。   The controller 574 performs SDA release monitoring for releasing the connection line SDA after the processing of step 5004 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 (5005).

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. The details of the SDA release monitoring process are as described 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.

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

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

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

バスコントローラ634は、まず、リセット信号発生回路639(図18参照、以下同様)によってリセット信号が発生すると、自身(ICI/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 of 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 (result of 5104 is “SDADA”), 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 proceeds to 5111 and waits until the signal level of the connection line SCL or the 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は、本発明の第1の実施の形態のスレーブ側のICI/Oエクスパンダ615におけるアドレス認識処理などの手順を示すフローチャートである。 FIG. 52 is a flowchart illustrating a procedure of address recognition processing and the like in the slave-side I 2 CI / O expander 615 according to the first embodiment of this invention.

なお、本実施形態で用いるICI/Oエクスパンダ615は、読み出しモードの発生が可能なものでも不可能なものでも使用可能である。そのため、何れのタイプのICI/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. Therefore, 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からICI/Oエクスパンダ615へ所定単位バイトのデータ送信を行う毎に、ICI/Oエクスパンダ615からマスタICへ1ビットの返答信号を受信する構成により、マスタICからICI/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.

ところで、遊技機によっては、ICI/Oエクスパンダ615からマスタICへ所定単位バイトのデータ送信を行うように構成できたほうが、都合がよいことも考えられる。例えば、ICI/Oエクスパンダ615にて、遊技に係わる各種センサの検出状態を検出し、マスタICへ伝達するような仕様の遊技機を開発するような場合である。 By the way, depending on the gaming machine, it may be more convenient to be able to configure data transmission 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 having a specification that can be transmitted to a master IC.

このような遊技機で用いられるICI/Oエクスパンダ615は、マスタICからの要求により、ICI/Oエクスパンダ615の内部で「読み出しモード」を発生させ、マスタICからのSCL信号の変化に対応させて、ICI/Oエクスパンダ615からマスタICへ所定単位バイトのデータ送信を行う毎に、マスタICからICI/Oエクスパンダ615からへ1ビットの返答信号を送信する構成にすることが好ましい。 The I 2 CI / O expander 615 used in such a game 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からスレーブ側のICI/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 I 2 CI / O expander 615 on the slave side. 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」)、受信したアドレスが自身(ICI/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以降の処理を実行する。ここでは、受信したアドレスが前述の「読み出し要求」に相当し、且つ、当該処理を行うICI/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によってバスの占有が開始されると、タイマを起動し、所定の時間が経過すると、自身(ICI/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 onward 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は、本発明の第1の実施の形態のスレーブ側のICI/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 first 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).

このとき、当該ICI/Oエクスパンダ615から、マスタIC570a(図11参照、図12のマスタIC570bでも同様)に対して、既に8ビット単位のデータが送信されており、さらに、マスタIC側が、次のデータを受信する状態になっている場合には、マスタIC570a(570b)から当該ICI/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. Execute.

一方、取り込まれた応答信号が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.

次に、本発明の第1の実施の形態において、演出制御装置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 first embodiment of the present invention will be described.

図54は、本発明の第1の実施の形態のVDP割込み時に演出制御装置550のCPU551からの指示によって、第1マスタIC570a及び第2マスタIC570bによる処理が並列して実行される状態を示すタイミングチャートである。   FIG. 54 is a timing diagram 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 first embodiment of this invention. It is a chart.

本発明の第1の実施の形態では、表示装置53に表示された画像を更新するタイミングにおいてVDP割込みが発生すると、演出制御装置550のCPU551は、各マスタICに対して演出制御データの出力を開始する。各マスタICは、CPU551から演出制御データを受信すると、他のマスタICとは独立して、受信した演出制御データを各スレーブに送信するなどの処理を実行する。そして、すべてのスレーブに対して演出制御データの出力が完了すると、各マスタICはストップコンディションを出力し、各スレーブによって制御される演出装置(装飾装置620)の演出態様を更新する。   In the first 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 outputs the effect control data to each master IC. Start. 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のステップ3707、図39)を実行し、各マスタICに対してスタートコンディションを出力する。   More specifically, when the VDP interrupt occurs, the CPU 551 of the effect control device 550 executes effect control periodic processing (step 3707 in FIG. 37, FIG. 39) and outputs a start condition to each master IC. .

そして、CPU551は、演出制御装置550により制御される各装置への出力データを編集する。具体的には、表示装置53で演出を行うためのVDP出力データ編集(図39のステップ3917)、スピーカ30から音声を出力するためのスピーカ関連データ編集(図39のステップ3918)、演出装置としてのLEDを制御する装飾制御装置610へ出力する演出制御データの編集(図39のステップ3919)、及びモータなどの駆動体を制御するためのデータ編集を行う。これらの編集処理の実行中に、各マスタ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 3917 in FIG. 39), speaker-related data editing for outputting audio from the speaker 30 (step 3918 in FIG. 39), and an effect device Editing of the effect control data to be output to the decoration control device 610 that controls the LED (step 3919 in FIG. 39) 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.

また、最後のスレーブへのデータの出力が終了してから次のVDP割込が発生するまでの休止期間(図54の※の期間)に、CPU551はスレーブ出力データ編集処理、すなわち、下り方向データの編集を行っている。したがって、スレーブ(グループ単位制御手段)にデータを送信していない時間にもデータを処理するため、マスタIC(グループ統括制御手段)の処理能力を活用することが可能となり、マスタICの負荷を平準化することができる。   In addition, during the pause period (the period marked with * in FIG. 54) from the end of data output to the last slave until the next VDP interrupt occurs, the CPU 551 performs slave output data editing processing, that is, downlink data. Editing. Therefore, since data is processed even when data is not transmitted to the slave (group unit control means), it is possible to utilize the processing capability of the master IC (group overall control means), and the load on the master IC is leveled out. Can be

最後に、送信対象のスレーブの全てに演出制御データが送信されると、演出制御データの送信再開処理によって、マスタ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のステップ3707、図39)を実行して、各マスタICに対してスタートコンディションを出力し、以降、同じ処理を繰り返す。   Thereafter, the CPU 551 waits until the next VDP interrupt occurs. Then, when the next VDP interrupt occurs, the above-described effect control periodic processing (step 3707 in FIG. 37, FIG. 39) is executed, a start condition is output to each master IC, and thereafter the same processing is repeated.

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

図55は、本発明の第1の実施の形態における装飾制御装置610のICI/Oエクスパンダ615と、装飾装置620との接続例を示す図であり、8セット分のLEDを2つのICI/Oエクスパンダ615によって制御する構成を示す図である。 FIG. 55 is a diagram illustrating an example of connection between the I 2 CI / O expander 615 of the decoration control device 610 and the decoration device 620 according to the first embodiment of the present invention. it is a diagram showing a configuration for controlling the I 2 CI / 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の実施の形態では、1つのICI/Oエクスパンダ615は、16個のポート(PORT0〜15)に対応するLEDを制御することが可能であるため、3色のLEDのセットを5セットまで接続することが可能である。 In the first embodiment of the present invention, one I 2 CI / O expander 615 can control the LEDs corresponding to the 16 ports (PORT 0 to 15). Up to 5 sets of LEDs can be connected.

しかし、より興趣を高める演出を行うために、16個を超えるポートにLED(演出装置)を接続する場合が考えられる。図55では、5セット以上(8セット)のLEDを、2つのICI/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.

前述のように、ICI/Oエクスパンダ615には16のポート(PORT0〜15)が備えられているため、3色のLEDのセットを5セットまで接続することが可能である。しかしながら、8セットのLEDを1つのグループとして演出が行われる場合には、少なくとも2つのICI/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に示す構成では、一方のICI/Oエクスパンダ615は、各セットの赤及び緑のLEDを制御し、他方のICI/Oエクスパンダ615(615b)は、各セットの青のLEDを制御するように構成している。そして、これらの2つのICI/Oエクスパンダ615を同じグループとして制御し、図56Aにて後述するように、演出制御装置550から出力されたストップコンディションを受け付けてから演出制御を同時に実行することによって、複数のICI/Oエクスパンダ615によって制御されるLEDによる演出を違和感なく行うことが可能となるのである。 Therefore, in the configuration shown in FIG. 55, one I 2 CI / O expander 615 controls the red and green LEDs of 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. 56A, the effect control is executed simultaneously after receiving the stop condition output from the effect control device 550. 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.

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

本図において、まず、演出制御装置550からスタートコンディションを出力し、次に、演出制御装置550から複数のICI/Oエクスパンダ615に演出制御データを順次出力し、最後に、演出制御装置550からストップコンディションを出力する状態を示している。説明の都合上、装飾制御装置610のICI/Oエクスパンダ615は5個設けられているものとし、それぞれを第1ICI/Oエクスパンダ〜第5ICI/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 control device. A state in which a stop condition is output from 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から第1ICI/Oエクスパンダに送信される演出制御データを示し、以下、「data2」〜「data5」は、演出制御装置550から、第2ICI/Oエクスパンダ〜第5ICI/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)」となっているものは、第1ICI/OエクスパンダのI/Oポートに接続されているLED等を示し、以下、「演出装置(2)」〜「演出装置(5)」は、第2ICI/Oエクスパンダ〜第5ICI/OエクスパンダのI/Oポートに接続されているLED等に、それぞれが対応する。 Also, in the drawing, “Production device (1)” indicates an LED or the like 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から、第1ICI/Oエクスパンダ〜第5ICI/Oエクスパンダの各々へ演出制御データを送信する際には、ICI/Oエクスパンダの選択を切り替えるタイミングで、演出制御装置550からICI/Oエクスパンダにスタートコンディション(リスタートコンディションとして機能する)を出力している。ただし、最初に演出制御装置550がスタートコンディションを出力してから、第1ICI/Oエクスパンダ〜第5ICI/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.

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

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

例えば、赤(R)、緑(G)、青(B)のLEDが、前述の図55のように、複数のICI/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のように複数のICI/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 May cause trouble between the game store and the player.

そこで、本発明の第1の実施の形態では、演出制御装置550からストップコンディションを受信した時点で、バッファ内の演出制御データを出力設定レジスタ635に上書きし、この出力設定レジスタ635の記憶内容を出力コントローラ636によってドライバ637に反映させ、当該ICI/Oエクスパンダに接続されているLEDの発光態様を変化させる処理を行っている。 Therefore, in the first 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. The output controller 636 reflects the information in the driver 637 and changes the light emission mode of the LED connected to the I 2 CI / O expander.

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

なお、本発明の第1の実施の形態では、ICI/Oエクスパンダが受信した演出制御データを各演出装置の出力態様に反映させるタイミングを、更新指令信号として例示したストップコンディションの受信時としているが、他の更新指令信号を用いても構わない。ストップコンディションのように演出制御データの最後に送信されるものに限られず、演出制御データの送信の途中で送信されるものであっても、接続線SDA及びSCLの信号変化によって表現できる更新指令信号であれば、適用可能である。 In the first 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 received as an update command signal. However, 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.

図56Bは、本発明の第1の実施の形態における装飾制御装置610がデータを受信し、発光装置を制御するタイミングを示す図である。   FIG. 56B is a diagram illustrating a timing at which the decoration control device 610 according to the first embodiment of the present invention receives data and controls the light emitting device.

図56Bでは、遊技盤10に備えた2つの発光装置が交互に点灯する発光(制御)態様について説明する。前述したように、遊技盤10にはセンターケース51が備えられており、センターケース51には装飾具47や装飾ランプ48が備えられている(図2参照)。ここでは、装飾具47に備えたものを発光装置(1)とし、装飾ランプ48に備えたものを発光装置(2)として説明を行う。発光装置の発光態様は、遊技状態に基づいて設定される。   FIG. 56B illustrates a light emission (control) mode in which two light emitting devices provided in the game board 10 are alternately lit. As described above, the game board 10 is provided with the center case 51, and the center case 51 is provided with the decoration tool 47 and the decoration lamp 48 (see FIG. 2). Here, what is provided in the decoration tool 47 will be described as the light emitting device (1), and what is provided in the decorative lamp 48 will be described as the light emitting device (2). The light emission mode of the light emitting device is set based on the gaming state.

遊技状態について具体的に説明すると、時刻t1までの間は、始動記憶数が0の状態であり、画像表示装置53にはデモ画面が表示されている。このとき、発光装置(1)と発光装置(2)とが、発光間隔16fで交互に点灯している。なお、1fは、画面更新周期に対応し、発光間隔16fでは、画面が16回更新されるたびに発光装置(1)と発光装置(2)とが交互に点灯する。   The gaming state will be specifically described. Until the time t1, the start memory number is 0, and the image display device 53 displays a demonstration screen. At this time, the light emitting device (1) and the light emitting device (2) are alternately lit at the light emission interval 16f. Note that 1f corresponds to the screen update cycle, and at the light emission interval 16f, the light emitting device (1) and the light emitting device (2) are alternately turned on every time the screen is updated 16 times.

ここでは、演出制御装置550から、発光装置(1)を制御するICI/Oエクスパンダ615に対して、発光制御データ(演出制御データ)を1fの時間間隔で送信している。この場合の発光制御データは、発光装置(1)を点灯させる発光制御データと、発光装置(1)を消灯させる発光制御データの何れかであり、16fの時間間隔で交互に切り替わるように、演出制御装置550にて発光制御データの更新を行っている。 Here, light emission control data (effect control data) is transmitted from the effect control device 550 to the I 2 CI / O expander 615 that controls the light emitting device (1) at a time interval of 1f. The light emission control data in this case is one of light emission control data for turning on the light emitting device (1) and light emission control data for turning off the light emitting device (1). The control device 550 updates the light emission control data.

具体的には、図24のICI/Oエクスパンダ615の出力設定レジスタ635に割り当てられたワークレジスタのうちの、レジスタ番号「14h」(レジスタ名「LEDOUT0」)〜「17h」(レジスタ名「LEDOUT3」)の中から、発光装置(1)に該当するビットのオン状態を、オンとオフに切り替えることで、発光制御データの更新が行われる。なお、発光装置(2)に関しても同様の処理が行われる。 Specifically, among the work registers assigned to the output setting register 635 of the I 2 CI / O expander 615 in FIG. 24, register numbers “14h” (register name “LEDOUT0”) to “17h” (register name) The light emission control data is updated by switching the on state of the bit corresponding to the light emitting device (1) from “LEDOUT3”) to on and off. The same processing is performed for the light emitting device (2).

また、時刻t1から時刻t2までの間は、始動入賞口に遊技球が入賞し、特図変動表示ゲームが実行されている状態である。したがって、普図・特図表示器35の特図表示器では特図変動表示ゲームが実行され、画像表示装置53では、特図変動表示ゲームに対応して複数の識別情報が変動表示している。特図変動表示ゲームが実行されている間は、発光装置(1)と発光装置(2)とが、発光間隔8fで交互に点灯している。ここでは、演出制御装置550によって、時間8fが経過する毎に発光制御データが更新されることになる。   Further, during the period from time t1 to time t2, the game ball is won at the start winning opening and the special figure variation display game is being executed. Therefore, a special figure variation display game is executed on the special figure display of the general figure / special drawing display 35, and a plurality of identification information is variably displayed on the image display device 53 corresponding to the special figure fluctuation display game. . While the special figure variation display game is being executed, the light emitting device (1) and the light emitting device (2) are alternately lit at the light emission interval 8f. Here, the light emission control data is updated by the effect control device 550 every time the time 8f elapses.

時刻t2から時刻t3までの間は、特図変動表示ゲームが終了し、識別情報が停止表示されている状態である。このとき、発光装置(1)のみが点灯している。   From time t2 to time t3, the special figure variation display game is over and the identification information is stopped and displayed. At this time, only the light emitting device (1) is lit.

さらに、このとき実行されていた特図変動表示ゲームの結果は大当りとなり、時刻t3から特別遊技状態に移行し、画像表示装置53では大当り表示が出力される。このとき、発光装置(1)と発光装置(2)とが、発光間隔4fで交互に点灯している。ここでは、演出制御装置550によって、時間4fが経過する毎に発光制御データが更新されることになる。   Further, the result of the special figure variation display game being executed at this time is a big hit, and the time shifts to the special game state from time t3, and the image display device 53 outputs a big hit display. At this time, the light emitting device (1) and the light emitting device (2) are alternately lit at the light emission interval 4f. Here, the light emission control data is updated every time 4f by the effect control device 550.

このように、遊技者側から視認可能な何れかの発光装置(例えば、発光装置(1)と発光装置(2))を点灯させる発光制御データと、この発光装置を消灯させる発光制御データとを、切り替えながら送信することで、対象となる発光装置を点滅させることができる。そして、発光制御データの送信が正しく行われていない場合には、発光装置が点滅しなくなって常時点等若しくは消灯する状態となることから、発光制御データの通信異常や異常からの復帰を目視で確認することができる。   Thus, the light emission control data for turning on any one of the light emitting devices (for example, the light emitting device (1) and the light emitting device (2)) that can be visually recognized from the player side, and the light emission control data for turning off the light emitting device. By transmitting while switching, the target light emitting device can be blinked. If the light emission control data is not transmitted correctly, the light emitting device stops flashing and is always turned on or off. Can be confirmed.

さらに、この確認をいつでも行えるように、変動表示ゲームが実行されている期間を通して、発光装置を点灯させる発光制御データと消灯させる発光制御データとを切り替えながら送信するだけでなく、変動表示ゲームが実行されていない期間でも、発光装置を点灯させる発光制御データと消灯させる発光制御データとを切り替えながら送信している。   Furthermore, so that this confirmation can be made at any time, not only the light emission control data for turning on the light emitting device and the light emission control data for turning off the light emission device are transmitted while switching, but also the variable display game is executed. Even during a period when the light emitting device is not used, the light emission control data for turning on the light emitting device and the light emission control data for turning off the light are switched and transmitted.

なお、発光制御データを更新可能な時間間隔を、変動表示ゲームが実行中の場合と、変動表示ゲームが実行中でない場合とで、可変するように構成することも可能である。例えば、変動表示ゲームが実行中でない場合には4fの時間間隔で発光制御データを更新できるように構成しながらも、変動表示ゲームが実行中の場合には8fの時間間隔で発光制御データを更新するように処理負担を軽減しても良い。   It should be noted that the time interval at which the light emission control data can be updated can be configured to vary between when the variable display game is running and when the variable display game is not running. For example, when the variable display game is not being executed, the light emission control data can be updated at a time interval of 4f, but when the variable display game is being executed, the light emission control data is updated at a time interval of 8f. As such, the processing burden may be reduced.

このような構成とすることで、演出制御装置550の処理負担(CPU551の処理負担も含まれる)が変動表示ゲームの実行中と非実行中とで大きく変化することを緩和させる方向へ、発光制御データの更新処理の負担を分散させることができる。   By adopting such a configuration, the light emission control is performed in a direction in which the processing load of the effect control device 550 (including the processing load of the CPU 551) is greatly reduced between the execution and non-execution of the variable display game. The burden of data update processing can be distributed.

図57は、本発明の第1の実施の形態において、接続線SDAの占有を開始したICI/Oエクスパンダ615が接続線SCLの立下りを待機している状態が発生し、一定時間経過後に、接続線SDAを占有したICI/Oエクスパンダ615が自己をリセットして、バスを解放することを試みる手順を説明する図である。 FIG. 57 shows a state in which the I 2 CI / O expander 615 that has started occupying the connection line SDA is waiting for the fall of the connection line SCL in the first embodiment of the present invention. after the lapse, to reset the I 2 CI / O expander 615 occupies the connection line SDA self, is a diagram for explaining a procedure to attempt to release the bus.

マスタICからスタートコンディションが出力されると、マスタICがスレーブ側のICI/Oエクスパンダ615に対してデータの出力を開始し、マスタICのSTAがONに設定される。その後、マスタICは、接続線SCLの信号レベルを順次変化させながら、B7からB0までの8ビットのデータをICI/Oエクスパンダ615に順次送信する。このとき、スレーブ側のICI/Oエクスパンダ615では、接続線SCLの信号レベルの変化に対応して、順次データを取り込む。 When a start condition is output from the master IC, the master IC starts outputting data to the I 2 CI / O expander 615 on the slave side, and the STA 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)が送信されるまで待機する。   When 8 bits (1 byte) of data, that is, 1 time of data 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.

スレーブ側のICI/Oエクスパンダ615は、接続線SDAの信号レベルをLOWに変化させることによって、返答信号(ACK)を出力する。その後、マスタICが接続線SCLの信号レベルをLOWからHIGHに変化させ、次いで、HIGHからLOWに変化させるまでの期間に渡って、スレーブ側のICI/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の信号レベルが変化したとスレーブ側で認識され、スレーブ側のICI/Oエクスパンダ615では8ビット目のデータが送信されたと認識してしまっている。そのため、スレーブは返答信号(ACK)を出力するために信号レベルをLOWに設定して、接続線SDAを占有する。本発明の第1の実施の形態では、同時に自己占有WDT641によってスレーブによる接続線SDAの占有の監視が開始される。 Referring to FIG. 57, when the seventh 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 first 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は、スレーブ側のICI/Oエクスパンダ615によって接続線SDAが占有され、信号レベルがLOWになっているため、HIGHに変更されるまでデータ(B0)を送信できない状態になっている。さらに、スレーブ側のICI/Oエクスパンダ615は、接続線SCLの信号レベルが立ち下がるまで待機しているため、互いに信号レベルが変化するまで待機している状態になり、処理全体が停止してしまう。 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 I 2 CI / O expander 615 on the slave side and the signal level is LOW. It has become. Furthermore, since the I 2 CI / O expander 615 on the slave side is on standby until the signal level of the connection line SCL falls, the slave side I 2 CI / O expander 615 is on standby until the signal level changes, and the entire processing is stopped. Resulting in.

そこで、本発明の第1の実施の形態では、前述のように、スレーブ側のICI/Oエクスパンダ615が接続線SDAを占有している時間が自己占有WDT641によって監視されているため、占有が開始されてから所定の時間が経過すると、スレーブ側のICI/Oエクスパンダ615自身をリセットすることによって強制的に接続線SDAが解放される。 Therefore, in the first embodiment of the present invention, as described above, 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. When a predetermined time elapses after the start of the occupation, the connection line SDA is forcibly released by resetting the slave I 2 CI / O expander 615 itself.

そして、接続線SDAが解放されても最後のデータを出力することができないため、CPU551によってマスタICをリセットする。その後、ストップコンディション及びスタートコンディションを出力し、処理を再開する。   Since the last data cannot be output even if the connection line SDA is released, the CPU 551 resets the master IC. Thereafter, a stop condition and a start condition are output, and the process is resumed.

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

図57では、接続線SDAを占有しているICI/Oエクスパンダ615が、自己をリセットすることにより接続線SDAを解放する場合について説明したが、図58では、バス全体を監視し、他のスレーブ(接続線SDAに接続されている他のICI/Oエクスパンダ615等)が接続線SDAを占有したことでバスが解放されない場合に、バスを強制的に解放させる手順について説明する。 FIG. 57 illustrates the case where the I 2 CI / O expander 615 occupying the connection line SDA releases the connection line SDA by resetting itself, but FIG. 58 monitors the entire bus, A procedure for forcibly releasing a bus when another slave (such as another I 2 CI / O expander 615 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にて説明したように、スレーブ側のICI/Oエクスパンダ615によってバスが占有されると、マスタICとスレーブ側のICI/Oエクスパンダ615との間の信号の入出力が停止し、接続線SDAの信号レベルが変化しなくなる(互いに信号レベルが変化するまで待機している状態になる)。そこで、所定の時間、接続線SDAの信号レベルが変化しなくなった場合には、接続線SDAに接続されている全てのICI/Oエクスパンダ615が、各々の判断で自己をリセットすることによって、バスを解放する。 As described with reference to 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 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 each determination. To release the bus.

図58を参照すると、マスタICからデータB1が出力された後、他のスレーブによってバスが占有されている。図58の場合には、自己スレーブによるバスの占有ではないため、実際に占有されているスレーブを特定することができない。そこで、接続線SDAに接続されているスレーブ(ICI/Oエクスパンダ615)の各々が、自己をリセットすることによって、バスを解放する(正確には、接続線SDAに接続されているICI/Oエクスパンダ615のうち、自己をリセットする機能を有したものだけがリセット処理を行う)。 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 (exactly, I connected to the connection line SDA). 2 Of the CI / O expanders 615, only those having the function of resetting themselves perform reset processing).

その後、CPU551によってマスタICをリセットし、マスタICからストップコンディション及びスタートコンディションが出力された後、処理を再開する。   Thereafter, the CPU 551 resets the master IC, and after a stop condition and a start condition are output from the master IC, the process is resumed.

図59は、本発明の第1の実施の形態においてスレーブ側のICI/Oエクスパンダ615によってバスが占有された場合に、マスタICからの指令によってスレーブ側のICI/Oエクスパンダ615がバスを解放する手順を説明する図である。 Figure 59 is a first in embodiment when the bus is occupied by I 2 CI / O expander 615 of the slave side, the slave side of the I 2 CI / O expander in response to a command from the master IC of the present invention FIG. 615 is a diagram illustrating a procedure for releasing a bus.

ノイズなどにより接続線SCLの信号レベルの変化回数がマスタ側とスレーブ側とで相違すると、前述のように、接続線SDAがスレーブ側のICI/Oエクスパンダ615によって占有され、バスが解放されなくなる。 When the number of changes in the signal level 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.

そこで、バスが占有されたままの状態でマスタICからデータの送信が不能となると、CPU551は、マスタICをリセットする。そして、各スレーブ(マスタICに接続されたICI/Oエクスパンダ615)に対し、ストップコンディションとスタートコンディションとを出力することを試みる。 Therefore, if data transmission from the master IC becomes impossible while the bus is still occupied, the CPU 551 resets the master IC. And 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).

このとき、スレーブ側のICI/Oエクスパンダ615では、まず、図50に示したストップコンディション出力処理が実行される。このとき、接続線SCL及び接続線SDAの信号レベルはともにLOWであるため、SCL解放処理が実行される(図50の5004、図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 (5004 in FIG. 50, 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.

続いて、図50のステップ5005の処理が実行され、SDA解放監視処理(図48)が実行される。SDA解放監視処理では、ステップ4802の処理で接続線SDAの信号レベルをHIGHに変更しようとするが、スレーブのICI/Oエクスパンダ615によって占有されているため、HIGHにすることができない。したがって、ステップ4805の処理でステータスコードに“70H”(「復旧」)が設定され、その後、送信中断割込みを発生させる。 Subsequently, the process of step 5005 in FIG. 50 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 4802. However, since it is occupied by the slave I 2 CI / O expander 615, it cannot be set to HIGH. Accordingly, “70H” (“recovery”) is set in the status code in the process of step 4805, and then a transmission interruption interrupt is generated.

送信中断割込みが発生すると、図40及び図41に示したように、CPU551は、マスタICに対してソフトリセットを行う(図40の4011、図41の4111)。   When a transmission interruption interrupt occurs, as shown in FIGS. 40 and 41, the CPU 551 performs a soft reset on the master IC (4011 in FIG. 40, 4111 in FIG. 41).

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

次いで、マスタICは、接続線SDAが解放されたことを確認したうえで、スレーブ側のICI/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は、本発明の第1の実施の形態において、マスタICからの誤った指令により、スレーブ側のICI/Oエクスパンダ615で読み出しモードが発生してバスが占有された場合に、マスタICからの指令によってスレーブ側のICI/Oエクスパンダ615がバスを解放する手順を説明する図である。 FIG. 60 shows a case where the read mode occurs in the slave I 2 CI / O expander 615 and the bus is occupied by an erroneous command from the master IC in the first embodiment of the present invention. It is a figure explaining the procedure in which the slave I 2 CI / O expander 615 releases the bus in response to a command from the master IC.

なお、本実施形態では、マスタICからスレーブ側のICI/Oエクスパンダ615に対して、読み出しモードを発生させる指令を送信することは意図していないが、ノイズ等の影響により、ICI/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, but 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.

CI/Oエクスパンダ615が読み出しモードの場合であってもバスが占有されたままの状態で所定の時間以上経過すると、書き込み要求の場合と同様に、監視タイマ回路562によって、CPU551にタイムアウト割込みが発生する(図10及び図41参照)。このとき、CPU551は、図58で説明したように、まず、ソフトリセットを実行することによってマスタICを初期化する。そして、各スレーブ(マスタICに接続されたICI/Oエクスパンダ615)に対し、ストップコンディションとスタートコンディションを出力することを試みる。 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).

スタートコンディション出力が実行され、接続線SCLの信号レベルを少なくとも9回変化させると、ICI/Oエクスパンダ615は、接続線SCLの信号レベルの変化に合わせて接続線SDAにデータを出力するが、接続線SCLの信号レベルの変化が9回行われる途中において、マスタICからの返答信号(ACK)を確認するタイミングが発生する。このとき、マスタIC側では接続線SDAを開放したままにしているため、スレーブ側のICI/Oエクスパンダ615は、接続線SDAの信号レベルを取り込んだ際に、HIGHレベルとなるNACKの返答信号を受信したものと認識し、以降のデータ送信を中止すべきと判断して接続線SDAを解放する。 When the start condition output is executed and the signal level of the connection line 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 line SCL. However, in the middle of changing the signal level of the connection line SCL nine times, the timing for confirming the response signal (ACK) from the master IC occurs. At this time, since the connection line SDA is kept open on the master IC side, the I 2 CI / O expander 615 on the slave side receives the signal level of the connection line SDA and the NACK signal that becomes HIGH level. It recognizes that the response signal has been received, determines that the subsequent data transmission should be stopped, and releases the connection line SDA.

本発明の第1の実施の形態によれば、演出制御装置550(グループ統括制御手段)に含まれる各マスタIC(信号レベル制御手段)が装飾制御装置610(グループ単位制御手段)にデータを送信すると、装飾制御装置610から演出制御装置550に返答信号が送信されるため、データ送信が行われたか否かを確認することが可能となり、誤作動を防止できる。   According to the first embodiment of the present invention, each master IC (signal level control means) included in the effect control device 550 (group overall control means) transmits data to the decoration control device 610 (group unit control means). Then, since a response signal is transmitted from the decoration 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.

また、本発明の第1の実施の形態によれば、演出制御装置550は装飾制御装置610へ一本のデータ線(接続線SDA)を介してデータを送信し、装飾制御装置610から演出制御装置550へも同じデータ線を介して返答信号が送信されるので、基板間の配線を少なくすることができる。   Further, according to the first 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 effect control device 610 controls the effect control. Since the response signal is also transmitted to the device 550 through the same data line, the wiring between the substrates can be reduced.

さらに、本発明の第1の実施の形態によれば、一本のデータ線が、演出制御装置550(マスタIC、グループ統括制御手段)から装飾制御装置610(ICI/Oエクスパンダ615、グループ単位制御手段)へのデータ送信と、装飾制御装置610から演出制御装置550への返答信号送信で共通利用されるため、データ線が装飾制御装置610により占有されて使用できない状態が発生するおそれがあるが、初期化手段によって装飾制御装置610を初期化する処理が行われ、これによりデータ線の占有状態を解除することが出来るので、通信が停止してしまうことを防止できる。 Furthermore, according to the first embodiment of the present invention, one data line is connected from the effect control device 550 (master IC, group overall control means) to the decoration control device 610 (I 2 CI / O expander 615, The data line is occupied by the decoration control device 610 and cannot be used because it is commonly used for data transmission to the group unit control means) and response signal transmission from the decoration control device 610 to the effect control device 550. However, processing for initializing the decoration control device 610 is performed by the initializing means, and the occupation state of the data line can be released thereby preventing the communication from being stopped.

さらに、本発明の第1の実施の形態によれば、データ線を占有している装飾制御装置610自身が、通信停止状態の発生を判断して自分自身を初期化することにより、他の装飾制御装置610の処理に影響を与えることなく、データ線を解放することができる。   Furthermore, according to the first embodiment of the present invention, the decoration control device 610 that occupies the data line itself determines the occurrence of a communication stop state and initializes itself to thereby create another decoration. The data line can be released without affecting the processing of the control device 610.

また、本発明の第1の実施の形態によれば、データ線の占有状態を検出すると、データ線に接続されている装飾制御装置610の全てが、自分自身を初期化することによって、確実にデータ線を解放することができる。   Further, according to the first embodiment of the present invention, when the occupation state of the data line is detected, all of the decoration control devices 610 connected to the data line are surely initialized by themselves. The data line can be released.

本発明の第1の実施の形態によれば、演出制御装置550からデータ線を解放する指令を送信することができる。さらに、返答信号の出力開始と出力終了のタイミングが、演出制御装置550から指令されるので、装飾制御装置610の処理が簡素化される。そして、返答信号の出力開始後に、出力終了の指令が届かないような不具合が発生したときには、占有解除指令手段によって不具合が解除され、通信が正常な状態に復帰できる。   According to the first embodiment of the present invention, a command to release the data line can be transmitted from the effect control device 550. Furthermore, since the timing of output start and output end of the response signal is commanded from the effect control device 550, the processing of the decoration control device 610 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の実施の形態によれば、1つのマスタICに接続可能な装飾制御装置610の数に上限があったとしても、演出制御装置550に複数のマスタICを備えることによって、より多くの装飾制御装置610を利用することができる。   Furthermore, according to the first 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 includes a plurality of master ICs. More decoration control devices 610 can be used.

また、本発明の第1の実施の形態では、第1マスタIC570a(第1の信号レベル制御手段)が遊技盤10に備えられた演出装置を制御し、第2マスタIC570b(第2の信号レベル制御手段)が前面枠3に備えられた演出装置を制御するように構成されている。このように、遊技盤10に備えられた演出装置と前面枠3に備えられた演出装置とを別のグループとすることによって、前面枠3や遊技盤10を開発する際には、装飾制御装置610の上限数を開発対象の各グループに限定して考慮すればよいので、構成毎に並行して機器の開発を行うなど開発の効率化を図ることができる。   In the first 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.

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

このとき、選択されたマスタ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.

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

また、本発明の第1の実施の形態によれば、マスタICによる処理がそれぞれ並列して動作するため、高速な処理が可能となる。さらに、画面更新のタイミングと同期させて演出装置の演出態様が更新するように制御されるため、画面表示と調和のとれた発光の演出が可能となる。   Further, according to the first embodiment of the present invention, since the processes by the master IC operate 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.

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

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

(第2の実施の形態)
以上説明した本発明の第1の実施の形態では、電源投入後、バス監視WDT640及び自己占有WDT641は、無条件に動作するように構成されている。
(Second Embodiment)
In the first embodiment of the present invention described above, the bus monitoring WDT 640 and the self-occupied WDT 641 are configured to operate unconditionally after the power is turned on.

しかしながら、バス監視WDT640及び自己占有WDT641は、接続線SDAの信号レベルに基づいて装飾制御装置610をリセットするオプション的な機能であるので、この機能を使用するか否かは、何らかの方法によって選択できることが好ましい。   However, since the bus monitoring WDT 640 and the self-occupied WDT 641 are optional functions for resetting the decoration control device 610 based on the signal level of the connection line SDA, whether or not to use this function can be selected by some method. Is preferred.

特に、電源投入の直後においては、接続線SDAの信号レベルが不安定になっているため、接続線SDAの信号レベルを監視しながら装飾制御装置610をリセットする機能が電源投入の直後から動作していると、予期せぬリセット処理が発生して誤動作の要因にもなりやすい。そのため、電源投入の直後においては、バス監視WDT640及び自己占有WDT641が無効化されていることが好ましい。   In particular, since the signal level of the connection line SDA is unstable immediately after the power is turned on, the function of resetting the decoration control device 610 while monitoring the signal level of the connection line SDA operates immediately after the power is turned on. If this occurs, an unexpected reset process may occur, which may cause malfunction. Therefore, it is preferable that the bus monitoring WDT 640 and the self-occupied WDT 641 are invalidated immediately after the power is turned on.

そこで、ウォッチドッグタイマによる監視を必要に応じて有効化又は無効化する第2の実施の形態について説明する。本発明の第2の実施の形態では、遊技機の電源投入後や初期化直後に、リセット処理が完了するまでウォッチドッグタイマによる監視が行われないように制御する。以下、図61から図64を参照しながら本発明の第2の実施の形態の詳細について説明する。   Therefore, a second embodiment in which monitoring by the watchdog timer is enabled or disabled as necessary will be described. In the second embodiment of the present invention, control is performed so that monitoring by the watchdog timer is not performed until the reset process is completed immediately after the gaming machine is turned on or immediately after initialization. Details of the second embodiment of the present invention will be described below with reference to FIGS.

なお、以降の実施の形態の説明では、第1の実施の形態と共通する構成及び処理については、同一の符号を付与して説明を省略する。   In the following description of the embodiment, the same reference numerals are assigned to the same configurations and processes as those in the first embodiment, and the description thereof is omitted.

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

本発明の第2の実施の形態のICI/Oエクスパンダ615は、出力設定レジスタ635への設定値によって、バス監視WDT640及び自己占有WDT641の機能が有効化又は無効化される点で図18に示した第1の実施の形態のICI/Oエクスパンダ615と相違し、その他の構成は同じである。 The I 2 CI / O expander 615 according to the second embodiment of the present invention is illustrated in that the functions of the bus monitoring WDT 640 and the self-occupied WDT 641 are enabled or disabled according to the setting value in the output setting register 635. Unlike the I 2 CI / O expander 615 of the first embodiment shown in FIG. 18, other configurations are the same.

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

本発明の第2の実施の形態では、出力設定レジスタ635とバス監視WDT640及び自己占有WDT641とが接続されており、出力設定レジスタ635のワークレジスタに設定された値に基づいて、ウォッチドッグタイマのON/OFFを制御する。   In the second embodiment of the present invention, the output setting register 635, the bus monitoring WDT 640, and the self-occupied WDT 641 are connected, and based on the value set in the work register of the output setting register 635, the watchdog timer Controls ON / OFF.

ウォッチドッグタイマのON/OFFを制御する場合には、まず、すべての装飾制御装置610に対して共通の指令を出力可能なオールコールアドレス(ALLCALLアドレス、第2の共通アドレス、図23参照)を宛先とする。そして、ウォッチドッグタイマのON/OFFを制御するビットに所定の値を設定することによって、すべての装飾制御装置610のウォッチドッグタイマのON/OFFを一斉に設定する。   When controlling ON / OFF of the watchdog timer, first, an all call address (ALLCALL address, second common address, see FIG. 23) that can output a common command to all the decoration control devices 610 is obtained. The destination. Then, by setting a predetermined value in the bit for controlling the ON / OFF of the watchdog timer, the ON / OFF of the watchdog timer of all the decoration control devices 610 is set simultaneously.

このとき、オールコールアドレスの使用可否を切り替えることによって、ウォッチドッグタイマのON/OFFをすべての装飾制御装置610に一斉に設定することを許可するか否かを指定することができる。なお、オールコールアドレスの使用可否は、モードレジスタ1のビット0に“0”又は“1”を設定する。また、ウォッチドッグタイマのON/OFFは、モードレジスタ2のビット2に“0”又は“1”を設定する。オールコールアドレス及びウォッチドッグタイマの使用可否設定の詳細については後述する。   At this time, it is possible to specify whether or not to permit all the decoration control devices 610 to set ON / OFF of the watchdog timer at the same time by switching the availability of the all call address. Whether or not the all-call address can be used is set to “0” or “1” in bit 0 of the mode register 1. Further, ON / OFF of the watchdog timer sets “0” or “1” in bit 2 of the mode register 2. Details of the all-call address and watchdog timer availability setting will be described later.

前述のように、モードレジスタ1及びモードレジスタ2は、ICI/Oエクスパンダ615の初期設定を行うためのモードレジスタであり、出力設定レジスタ635のワークレジスタの一部として設けられている(図24参照)。モードレジスタ1はレジスタ番号「00h」、モードレジスタ2はレジスタ番号「01h」に対応する。モードレジスタ1及びモードレジスタ2、すなわち、レジスタ番号「00h」及び「01h」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、ICI/Oエクスパンダ615の初期設定が行われる。以下、モードレジスタ1及びモードレジスタ2の詳細を、図62にて説明する。 As described above, the mode register 1 and the mode register 2 are mode registers for initial setting of the I 2 CI / O expander 615, and are provided as part of the work register of the output setting register 635 ( (See FIG. 24). The mode register 1 corresponds to the register number “00h”, and the mode register 2 corresponds to the register number “01h”. When values are written to the mode register 1 and the mode register 2, that is, the storage areas of the register numbers “00h” and “01h”, the initial setting of the I 2 CI / O expander 615 is performed based on the written values. Is called. Details of the mode register 1 and the mode register 2 will be described below with reference to FIG.

図62は、本発明の第2の実施の形態のモードレジスタ1及びモードレジスタ2の一例を示す図である。図62(A)は、モードレジスタ1の構成を示し、図62(B)は、モードレジスタ2の構成を示す。モードレジスタ1及びモードレジスタ2は、それぞれ8ビットである。   FIG. 62 is a diagram illustrating an example of the mode register 1 and the mode register 2 according to the second embodiment of this invention. FIG. 62A shows the configuration of the mode register 1 and FIG. 62B shows the configuration of the mode register 2. The mode register 1 and the mode register 2 are each 8 bits.

モードレジスタ1の各ビットは、ビット0から順に、ALLCALL、SUB3、SUB2、SUB1、SLEEP、AI0、AI1、及びAI2が含まれる。   Each bit of the mode register 1 includes ALLCALL, SUB3, SUB2, SUB1, SLEEP, AI0, AI1, and AI2 in order from bit 0.

ALLCALLは、オールコールアドレスの使用可否を示すパラメータであり、“1”が設定されている場合には使用可能、“0”が設定されている場合には使用不可となる。なお、初期値には、“1”(使用可能)が設定され、初期化(リセット)直後にはオールコールアドレスが使用可能となっている。   ALLCALL is a parameter indicating whether or not the all-call address can be used, and can be used when “1” is set, and cannot be used when “0” is set. The initial value is set to “1” (usable), and the all-call address is usable immediately after initialization (reset).

SUB3、SUB2及びSUB1は、サブアドレスの設定可否を示すパラメータである。SLEEPは、省電力モードか否かが設定されるパラメータである。AI0、AI1、及びAI2は、アドレスのオートインクリメントを指定するパラメータであり、詳細については図28にて説明したとおりである。   SUB3, SUB2 and SUB1 are parameters indicating whether or not a sub address can be set. SLEEP is a parameter for setting whether or not the power saving mode is set. AI0, AI1, and AI2 are parameters that specify address auto-increment, and the details are as described with reference to FIG.

モードレジスタ1の各ビットは、ビット0から順に、「WDT PERIOD」(2ビット)、「WDT ENABLE」、「OCH」、及び「DMBLNK」が含まれる。なお、ビット6及びビット7は未使用となっている。   Each bit of the mode register 1 includes “WDT PERIOD” (2 bits), “WDT ENABLE”, “OCH”, and “DMBLNK” in order from bit 0. Bit 6 and bit 7 are not used.

WDT PERIODは、ウォッチドッグタイマの監視時間に対応するパラメータを示し、2ビットで表現される。例えば、「00」に設定されている場合には監視時間は5ms、「11」に設定されている場合には監視時間は35msとなる。   WDT PERIOD represents a parameter corresponding to the monitoring time of the watchdog timer, and is represented by 2 bits. For example, when “00” is set, the monitoring time is 5 ms, and when “11” is set, the monitoring time is 35 ms.

WDT ENABLEは、ウォッチドッグタイマのON/OFFを制御するパラメータであり、“1”が設定されている場合には使用可能(ON)、“0”が設定されている場合には使用不可(OFF)となっている。なお、初期値には“0”が設定されているため、初期化直後にはウォッチドッグタイマが動作しないように設定されている。そのため、マスタICが必要に応じてウォッチドッグタイマを有効化する。   WDT ENABLE is a parameter that controls ON / OFF of the watchdog timer. It can be used when “1” is set (ON), and cannot be used when “0” is set (OFF). ). Since “0” is set as the initial value, the watchdog timer is set not to operate immediately after initialization. Therefore, the master IC activates the watchdog timer as necessary.

OCHは、図24にて説明したように、ICI/Oエクスパンダ615の出力設定レジスタ635に格納された演出制御データを演出装置に実際に反映させるタイミングを規定するパラメータである。具体的には、ストップコンディション又はACKを受信した時点で演出制御データを出力するように設定することができる。OCHの値が“0”に設定されている場合には、ストップコンディションで演出制御データを演出装置に実際に反映する。 As described with reference to FIG. 24, OCH 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. Specifically, it can be set so that presentation control data is output when a stop condition or ACK is received. When the value of OCH is set to “0”, the effect control data is actually reflected on the effect device in the stop condition.

DMBLNKは、ICI/Oエクスパンダ615に接続されたLEDの点滅及び明るさを調整するパラメータである。 DMBLNK is a parameter for adjusting the blinking and brightness of the LED connected to the I 2 CI / O expander 615.

図63は、本発明の第2の実施の形態の初期化指示データの送信再開処理の手順を示すフローチャートである。図42に示した本発明の第1の実施の形態の手順と同一の処理については、同じ符号を付与し、相違する処理について説明する。   FIG. 63 is a flowchart illustrating a procedure of initialization resume data transmission restart processing according to the second embodiment of this invention. The same processes as those in the first embodiment of the present invention shown in FIG. 42 are assigned the same reference numerals, and different processes will be described.

本発明の第1の実施の形態では、初期化段階番号は0から4までの値が設定されたが、本発明の第2の実施の形態では、初期化段階番号が0から10までの値が設定される。このため、本発明の第2の実施の形態では、図64に示すような初期化段階番号と出力バッファ設定値との組合せをあらかじめ定義しておき、初期化段階番号に基づいて出力バッファ設定値を出力用バッファ572に設定する。   In the first embodiment of the present invention, the initialization stage number is set to a value from 0 to 4, but in the second embodiment of the present invention, the initialization stage number is a value from 0 to 10. Is set. Therefore, in the second embodiment of the present invention, the combination of the initialization stage number and the output buffer setting value as shown in FIG. 64 is defined in advance, and the output buffer setting value is determined based on the initialization stage number. Is set in the output buffer 572.

具体的に説明すると、CPU551は、まず、初期化段階番号とステータスコードとの整合を判断し(6301)、初期化段階番号とステータスコードとが整合しているか否かを判定する(6302)。初期化段階番号とステータスコードとが整合していない場合には(6302の結果が「N」)、ステップ4203以降の処理を実行する。ステップ4203以降の処理については、図42にて説明した処理と同様である。   Specifically, the CPU 551 first determines the matching between the initialization stage number and the status code (6301), and determines whether or not the initialization stage number and the status code match (6302). If the initialization stage number and the status code do not match (the result of 6302 is “N”), the processing after step 4203 is executed. The processing after step 4203 is the same as the processing described in FIG.

なお、初期化段階番号とステータスコードとの整合の判断は、本発明の第1の実施の形態において図44に示した送信処理継続判定表4400と同様であるが、本発明の第2の実施の形態では、初期化段階番号が1(0)から10となっているため、対応関係が相違する。   Note that the determination of matching between the initialization stage number and the status code is the same as in the transmission processing continuation determination table 4400 shown in FIG. 44 in the first embodiment of the present invention, but in the second embodiment of the present invention. In this form, the initialization stage number is changed from 1 (0) to 10, so the correspondence is different.

以下、本発明の第1の実施の形態と本発明の第2の実施の形態の初期化段階番号を対応させながら具体的に説明する。   Hereinafter, the first embodiment of the present invention and the second embodiment of the present invention will be described in detail by associating the initialization stage numbers.

本発明の第2の実施の形態で初期化段階番号が1の場合は、初期化処理の実行開始直後であることを示しており、本発明の第1の実施の形態と同じ判断基準で整合性を判断する。   In the second embodiment of the present invention, when the initialization stage number is 1, it indicates that the initialization process has just been started, and matching is performed according to the same criteria as in the first embodiment of the present invention. Judging sex.

本発明の第2の実施の形態で初期化段階番号が2、5、8の場合は、本発明の第1の実施の形態で初期化段階番号が2の場合に対応する。初期化段階番号が2、5、8の場合は、直前の処理でアドレスが送信されているため(図64参照)、アドレスの送信が成功したことを示す場合に整合していると判断される。   The case where the initialization stage numbers are 2, 5, and 8 in the second embodiment of the present invention corresponds to the case where the initialization stage number is 2 in the first embodiment of the present invention. When the initialization stage number is 2, 5, or 8, since the address has been transmitted in the immediately preceding process (see FIG. 64), it is determined that it is consistent when the address transmission is successful. .

また、本発明の第2の実施の形態で初期化段階番号が3、4、6、7、9、10の場合は、本発明の第1の実施の形態で初期化段階番号が3、4の場合に対応する。初期化段階番号が3、4、6、7、9、10の場合は、直前の処理でデータが送信されているため(図64参照)、データの送信が成功したことを示す場合に整合していると判断される。   In the second embodiment of the present invention, when the initialization stage numbers are 3, 4, 6, 7, 9, and 10, the initialization stage numbers are 3, 4 in the first embodiment of the present invention. This corresponds to the case. When the initialization stage number is 3, 4, 6, 7, 9, or 10, since the data has been transmitted in the immediately preceding process (see FIG. 64), this is consistent with the case where the data transmission is successful. It is judged that

CPU551は、初期化段階番号とステータスコードとが整合している場合には(6302の結果が「Y」)、初期化段階番号が10であるか否かを判定する(6303)。初期化段階番号が10の場合には(6303の結果が「Y」)、初期化処理が終了したことを示しているため、ステップ4213以降の終了処理を実行する。ステップ4213以降の処理については、本発明の第1の実施の形態において初期化段階番号が4の場合に対応し、図42にて説明した処理と同様である。なお、本発明の第2の実施の形態における初期化段階番号が10の場合は、本発明の第1の実施の形態の初期化段階番号が4の場合と同様に、初期化処理の最終段階を示している。   If the initialization stage number matches the status code (the result of 6302 is “Y”), the CPU 551 determines whether the initialization stage number is 10 (6303). When the initialization stage number is 10 (the result of 6303 is “Y”), it indicates that the initialization process has been completed, and therefore, the termination process after step 4213 is executed. The processing after step 4213 corresponds to the case where the initialization stage number is 4 in the first embodiment of the present invention, and is the same as the processing described in FIG. When the initialization stage number is 10 in the second embodiment of the present invention, the final stage of the initialization process is the same as in the case where the initialization stage number is 4 in the first embodiment of the present invention. Is shown.

また、CPU551は、初期化段階番号が10でない場合、すなわち、初期化段階番号が1から9の場合には(6303の結果が「Y」)、初期化段階番号に対応する値を出力用バッファ572に設定する(6304)。初期化段階番号と当該初期化段階番号に対応する値は、あらかじめ定義されており、図64にて一例を示す。続いて、CPU551は、ステップ4208以降の処理を実行する。ステップ4208以降の処理については、図42にて説明した処理と同様である。   Further, when the initialization stage number is not 10, that is, when the initialization stage number is 1 to 9 (result of 6303 is “Y”), the CPU 551 outputs the value corresponding to the initialization stage number to the output buffer. It is set to 572 (6304). The initialization stage number and the value corresponding to the initialization stage number are defined in advance, and an example is shown in FIG. Subsequently, the CPU 551 executes processing subsequent to step 4208. The processing after step 4208 is the same as the processing described in FIG.

図64は、本発明の第2の実施の形態の初期化段階番号と出力用バッファ572に設定される出力バッファ設定値との対応を示す図である。   FIG. 64 is a diagram illustrating a correspondence between the initialization stage number and the output buffer setting value set in the output buffer 572 according to the second embodiment of this invention.

初期化段階番号が1の場合には、出力バッファ設定値として“D6h”が出力用バッファ572に設定される。“D6h”は、リセット用アドレスを示している。なお、リセット用アドレスも、すべての装飾制御装置610に対して共通の指令を出力可能な共通アドレス(オールコールアドレスとは別個の第1の共通アドレス)である。   When the initialization stage number is 1, “D6h” is set in the output buffer 572 as the output buffer setting value. “D6h” indicates a reset address. The reset address is also a common address (a first common address different from the all call address) that can output a common command to all the decoration control devices 610.

さらに、初期化段階番号が2の場合には“A5h”、初期化段階番号が3の場合には“5Ah”が出力用バッファ572に設定される。“A5h”はリセット指令(初期化指示データ)の前半値、“5Ah”はリセット指定(初期化指示データ)の後半値を示している。なお、初期化段階番号が1から3の場合は、前述した本発明の第1の実施の形態の場合と同じである。   Further, when the initialization stage number is 2, “A5h” is set in the output buffer 572, and when the initialization stage number is 3, “5Ah” is set in the output buffer 572. “A5h” represents the first half value of the reset command (initialization instruction data), and “5Ah” represents the second half value of the reset designation (initialization instruction data). The case where the initialization stage number is 1 to 3 is the same as that of the first embodiment of the present invention described above.

初期化段階番号が4の場合には、“D0h”が出力用バッファ572に設定される。“D0h”は、オールコールアドレスを示している。すなわち、次(初期化段階番号が5の場合)に出力用バッファ572に設定される値はすべての装飾制御装置610(ICI/Oエクスパンダ615)に送信される。なお、初期化段階番号1から3の場合に送信された指令に基づく処理(第1の初期化手段)によって各装飾制御装置610(ICI/Oエクスパンダ615)がリセットされている。リセット直後には、モードレジスタ1のビット0の値が1に設定されているため、ICI/Oエクスパンダ615のオールコールアドレスは有効となっている。 When the initialization stage number is 4, “D0h” is set in the output buffer 572. “D0h” indicates an all call address. That is, the value set in the output buffer 572 next (when the initialization stage number is 5) is transmitted to all the decoration control devices 610 (I 2 CI / O expander 615). Note that each decoration control device 610 (I 2 CI / O expander 615) is reset by a process (first initialization means) based on the command transmitted in the case of initialization stage numbers 1 to 3. Immediately after the reset, since the value of bit 0 of the mode register 1 is set to 1, the all call address of the I 2 CI / O expander 615 is valid.

初期化段階番号が5の場合には、“01h”が出力用バッファ572に設定される。“01h”は、コントロールレジスタに、オートインクリメントを禁止し、モードレジスタ2を指定することを示している。   When the initialization stage number is 5, “01h” is set in the output buffer 572. “01h” indicates that auto-increment is prohibited and the mode register 2 is designated in the control register.

初期化段階番号が6の場合には、初期化手段有効化指令に相当する“04h”が出力用バッファ572に設定される。“04h”は、モードレジスタ2の設定値であり、ウォッチドッグタイマの監視時間(図64では5ms)、ウォッチドッグタイマを使用可、ストップコンディションで出力を反映させることを示している。具体的には、WDT PERIODに“00”、WDT ENABLEに“1”、OCHに“0”とすることで、“00000100”(=“04h”)に設定される。このように初期化段階番号が6の場合の処理は、バスの状態が監視することでバスが占有されたことを検出し、初期化するための初期化手段(第2の初期化手段)であるウォッチドッグタイマの有効化手段として機能している。   When the initialization stage number is 6, “04h” corresponding to the initialization means validation command is set in the output buffer 572. “04h” is a setting value of the mode register 2 and indicates that the monitoring time of the watchdog timer (5 ms in FIG. 64), the watchdog timer can be used, and the output is reflected in the stop condition. Specifically, “0000” is set to “00100” (= “04h”) by setting “00” to WDT PERIOD, “1” to WDT ENABLE, and “0” to OCH. In this way, the process in the case where the initialization stage number is 6 is an initialization means (second initialization means) for detecting that the bus is occupied by monitoring the bus state and initializing it. It functions as a means to validate a watchdog timer.

初期化段階番号が7の場合には、出力用バッファ572にオールコールアドレスに対応する“D0h”が再び設定される。   When the initialization stage number is 7, “D0h” corresponding to the all call address is set in the output buffer 572 again.

初期化段階番号が8の場合には、“00h”が出力用バッファ572に設定される。“00h”は、コントロールレジスタに、オートインクリメントを禁止し、モードレジスタ1を指定することを示している。   If the initialization stage number is 8, “00h” is set in the output buffer 572. “00h” indicates that auto-increment is prohibited and the mode register 1 is designated in the control register.

初期化段階番号が9の場合には、共通アドレス無効化指令に相当する“00h”が出力用バッファ572に設定される。“00h”は、モードレジスタ1にオールコールアドレスを無効にするように設定している。初期化段階番号が9の場合に実行される処理は、オールコールアドレスを無効化する共通アドレス無効化手段として機能する。   When the initialization stage number is 9, “00h” corresponding to the common address invalidation command is set in the output buffer 572. “00h” is set in the mode register 1 to invalidate the all call address. The processing executed when the initialization stage number is 9 functions as a common address invalidating means for invalidating the all call address.

以上のように本発明の第2の実施の形態では、初期化段階番号が6になると、ウォッチドッグタイマによる監視が有効になるように構成されている。その後、ノイズ等によって、ウォッチドッグタイマが無効化されないように、初期化段階番号が9になると、オールコールアドレスの使用を禁止するように設定している。   As described above, in the second embodiment of the present invention, when the initialization stage number is 6, monitoring by the watchdog timer is enabled. Thereafter, to prevent the watchdog timer from being invalidated due to noise or the like, when the initialization stage number becomes 9, the use of the all call address is prohibited.

さらに、オールコールアドレスの使用が禁止された後に、ウォッチドッグタイマが有効な状態が確実に継続されるように、各装飾制御装置610に対し、ウォッチドッグタイマを定期的に有効化するためのコマンド(前述の初期化手段有効化指令に相当するコマンド)を個別に出力するようにしてもよい。このようにすることによって、ノイズなどの影響で一部の装飾制御装置610のウォッチドッグタイマが無効化されても影響を最小限に抑え、遊技機を安定して稼動させることが可能となる。   Further, a command for periodically enabling the watchdog timer to each decoration control device 610 so as to ensure that the enabled state of the watchdog timer continues after the use of the all-call address is prohibited. (A command corresponding to the above-described initialization means validation command) may be output individually. By doing so, even if the watchdog timer of some decoration control devices 610 is invalidated due to the influence of noise or the like, the influence can be minimized and the gaming machine can be operated stably.

また、本発明の第2の実施の形態では、遊技機の電源投入時にリセット処理(第1の初期化手段によるリセット処理)を実行し、各装飾制御装置610(ICI/Oエクスパンダ615)を初期化している。リセット処理の途中でデータ送信に失敗した場合には、データを再送信せずに、リセット処理から再実行するようにしてもよい。このように構成することによって、確実に初期化処理を実行することができる。 In the second embodiment of the present invention, a reset process (reset process by the first initialization unit) is executed when the gaming machine is turned on, and each decoration control device 610 (I 2 CI / O expander 615) is executed. ) Is initialized. If data transmission fails in the middle of the reset process, the data may not be retransmitted and may be re-executed from the reset process. With this configuration, the initialization process can be reliably executed.

なお、演出制御装置550からの初期化手段有効化指令により有効化するか否かを設定できるのは、バス監視WDT640及び自己占有WDT641によるリセット処理(第2の初期化手段によるリセット処理)のみである。   It can be set only by reset processing (reset processing by the second initialization means) by the bus monitoring WDT 640 and the self-occupied WDT 641 whether or not to enable by the initialization means validation command from the effect control device 550 can be set. is there.

これに対して、ICI/Oエクスパンダ615への電源投入検出(図61のVccの電圧上昇により検出される)や、ICI/Oエクスパンダ615への外部リセット信号検出(図61のRESET信号入力により検出される)や、ICI/Oエクスパンダ615への初期化指示データ送信によって実行されるリセット処理(第1の初期化手段によるリセット処理)は、演出制御装置550からの指令により有効化するか否かを設定することはできない。 On the other hand, detection of power-on to the I 2 CI / O expander 615 (detected by a rise in the voltage of Vcc in FIG. 61) and detection of an external reset signal to the I 2 CI / O expander 615 (FIG. 61). The reset processing (reset processing by the first initialization means) executed by the initialization instruction data transmission to the I 2 CI / O expander 615 is detected from the effect control device 550. It is not possible to set whether or not to enable the command.

また、演出制御装置550からの共通アドレス無効化指令により無効化できる共通アドレスは、オールコールアドレス(第2の共通アドレス)のみである。   Further, the only common address that can be invalidated by the common address invalidation command from the production control device 550 is the all-call address (second common address).

これに対して、リセット用アドレス(第1の共通アドレス)は常時有効であり、演出制御装置550からの指令によって無効化することはできない。   On the other hand, the reset address (first common address) is always valid and cannot be invalidated by a command from the effect control device 550.

図65は、本発明の第2の実施の形態の各スレーブに送信するデータの構造を説明する図であり、個別アドレスを指定してパラメータを設定する場合を示す図である。なお、図中の「S」はスタートコンディションを、「P」はストップコンディションを、「ACK」はACK信号を示している。   FIG. 65 is a diagram illustrating the structure of data to be transmitted to each slave according to the second embodiment of this invention, and illustrates a case where parameters are set by specifying individual addresses. In the figure, “S” indicates a start condition, “P” indicates a stop condition, and “ACK” indicates an ACK signal.

本発明の第2の実施の形態では、画像表示と同期した演出が可能となるように、1回の画像更新周期で、第1スレーブから最終スレーブまで、すべてのスレーブにデータを送信する。このとき、1回の画像更新周期よりも、すべてのスレーブにデータを送信するために必要な時間が短くなっており、前述のように、スレーブにデータを送信していない時間にもデータを処理している。したがって、マスタICのリソースを有効に利用することが可能となる。   In the second embodiment of the present invention, data is transmitted to all the slaves from the first slave to the last slave in one image update cycle so that an effect synchronized with the image display is possible. At this time, the time required to transmit data to all slaves is shorter than one image update cycle, and as described above, data is processed even when data is not transmitted to the slaves. is doing. Therefore, the resources of the master IC can be used effectively.

そして、送信データには、先頭に各スレーブの送信アドレス、ワークレジスタへのデータ書き込み手順を規定する情報を記憶するコントロールレジスタ、各種演出装置の制御データ(レジスタ番号「00h」〜レジスタ番号「1Bh」)が含まれる。送信データの詳細については、図24及び図30にて説明したとおりである。   The transmission data includes a transmission address of each slave at the head, a control register for storing information for defining a data writing procedure to the work register, and control data for various effect devices (register number “00h” to register number “1Bh”). ) Is included. Details of the transmission data are as described with reference to FIGS.

レジスタ番号「00h」及びレジスタ番号「01h」の制御データには、モードレジスタ1設定値及びモードレジスタ2設定値が設定される。モードレジスタ1設定値では、オールコールアドレスの有効又は無効を設定している。モードレジスタ2設定値では、ウォッチドッグタイマの設定値やストップコンディションで出力された送信データを各種演出装置に反映させるか否かを設定している。すなわち、オールコールアドレスの有効又は無効、及び、ウォッチドッグタイマのパラメータは、画像更新周期ごとに定期的に設定されることになる。   In the control data of the register number “00h” and the register number “01h”, the mode register 1 set value and the mode register 2 set value are set. The mode register 1 set value sets whether the all-call address is valid or invalid. In the mode register 2 set value, it is set whether or not to reflect the set value of the watchdog timer and the transmission data output in the stop condition on various effect devices. That is, the validity / invalidity of the all call address and the parameters of the watchdog timer are periodically set for each image update period.

本発明の第2の実施の形態では、図64に示したように、初期化処理終了後には、オールコールアドレスは無効化され、ウォッチドッグタイマを有効化するように設定される。さらに、図65に示すように、ウォッチドッグタイマの設定値であるモードレジスタ1設定値に“04h”(ウォッチドッグタイマ有効化)、及び、オールコールアドレスの設定値であるモードレジスタ2設定値に“00h”(オールコールアドレス無効)が設定されたデータがマスタICから各スレーブに画像更新周期ごとに送信される。   In the second embodiment of the present invention, as shown in FIG. 64, after the initialization process is completed, the all call address is invalidated and the watchdog timer is set to be valid. Further, as shown in FIG. 65, the mode register 1 setting value which is the setting value of the watchdog timer is set to “04h” (watchdog timer is enabled), and the mode register 2 setting value which is the setting value of the all-call address is set. Data in which “00h” (all call address invalid) is set is transmitted from the master IC to each slave every image update cycle.

したがって、各スレーブにオールコールアドレスを無効化する指令(共通アドレス無効化指令)が定期的に送信されるため、オールコールアドレスによる不要なパラメータの設定を防止することができる。具体的には、アドレス情報がノイズ等によってオールコールアドレスと偶然一致した場合であっても、オールコールアドレスを無効な状態に設定しているため、誤ったパラメータが設定されることを防ぐことができる。   Therefore, since a command for invalidating the all call address (common address invalidation command) is periodically transmitted to each slave, it is possible to prevent unnecessary parameter setting by the all call address. Specifically, even if the address information coincides with the all call address due to noise or the like, the all call address is set to an invalid state, so that incorrect parameters can be prevented from being set. it can.

さらに、各スレーブにウォッチドッグタイマを有効化する指令(初期化手段有効化指令)が定期的に送信されるため、より確実にウォッチドッグタイマを有効化することができる。   Furthermore, since a command (initialization means enabling command) for enabling the watchdog timer is periodically transmitted to each slave, the watchdog timer can be more reliably enabled.

また、演出制御データよりも先に、ウォッチドッグタイマ及びオールコールアドレスの設定値が送信されるため、同一送信周期内で通信が異常となった場合であってもウォッチドッグタイマ及びオールコールアドレスが正しく設定される可能性を高くすることができる。   In addition, since the set values of the watchdog timer and the all call address are transmitted prior to the production control data, the watchdog timer and the all call address are set even when communication is abnormal within the same transmission cycle. The possibility of being set correctly can be increased.

言い換えれば、演出装置620の演出態様を決定するレジスタの設定値(図24のレジスタ番号02h〜17hのレジスタに設定される設定値)よりも先に、モードレジスタ1,2の設定値(図24のレジスタ番号00h〜01hのレジスタに設定される設定値)を送信していることから、データ送信の前半で送信されるモードレジスタ1,2への設定値は、データ送信の後半で送信される設定値よりも正しく送信される可能性が高いということである。これは、データ送信中に通信異常が発生した場合でも、異常発生時点よりも前に送信された設定値に関しては、スレーブのレジスタとして設定可能であるという理由に基づいている。   In other words, the set values of the mode registers 1 and 2 (FIG. 24) are set before the set values of the registers that determine the effect mode of the effect device 620 (setting values set in the registers of register numbers 02h to 17h in FIG. 24). Set values set in the registers of register numbers 00h to 01h), the set values to the mode registers 1 and 2 transmitted in the first half of the data transmission are transmitted in the second half of the data transmission. This means that there is a high possibility that data will be transmitted correctly than the set value. This is based on the reason that even if a communication abnormality occurs during data transmission, the setting value transmitted before the abnormality occurrence point can be set as a slave register.

また、図65に示すように、定期的なデータ送信では、オールコールアドレスを用いることなくスレーブごとに個別アドレスを指定してオールコールアドレスの有効又は無効、及び、ウォッチドッグタイマのパラメータを設定するようにしてもよいが、図66に示すように、定期的なデータ送信においても、オールコールアドレスを指定してすべてのスレーブに対し、これらのパラメータを設定するようにしてもよい。   In addition, as shown in FIG. 65, in periodic data transmission, an individual address is specified for each slave without using an all-call address, and valid / invalid of the all-call address and the parameters of the watchdog timer are set. However, as shown in FIG. 66, these parameters may be set for all slaves by designating an all call address even in periodic data transmission.

図66は、本発明の第2の実施の形態の各スレーブに送信するデータの構造を説明する図であり、オールコールアドレスを指定して定期的にパラメータを設定する場合を示す図である。   FIG. 66 is a diagram illustrating the structure of data to be transmitted to each slave according to the second embodiment of this invention, and is a diagram illustrating a case where parameters are periodically set by specifying an all-call address.

図66に示す送信データでは、各スレーブに送信されるデータ列(図65のデータ列)の直前に、オールコールアドレスにより一括してモードレジスタ2設定値を設定するためのデータ列が挿入されている。具体的には、モードレジスタ2についてオートインクリメントを禁止し、監視時間を5msとするように設定している。   In the transmission data shown in FIG. 66, a data string for collectively setting the mode register 2 set value is inserted by an all-call address immediately before the data string transmitted to each slave (data string in FIG. 65). Yes. Specifically, the mode register 2 is set to prohibit auto-increment and set the monitoring time to 5 ms.

したがって、ウォッチドッグタイマのパラメータがオールコールアドレスを用いて画像更新周期ごとに定期的に設定されることになる。また、送信データの先頭でオールコールアドレスを指定してウォッチドッグタイマのパラメータを設定するため、ノイズ等の影響によって特定のスレーブでリセットが発生して当該スレーブのパラメータが初期状態に戻ってしまったとしても、次にデータが送られてきたときに、当該スレーブのパラメータを早期に再設定することが可能となる。   Therefore, the parameters of the watchdog timer are set periodically every image update cycle using the all-call address. Also, because the watchdog timer parameters are set by specifying the all-call address at the beginning of the transmission data, a reset occurs in a specific slave due to the influence of noise, etc., and the parameters of that slave return to the initial state However, when data is sent next time, the parameters of the slave can be reset early.

図67は、本発明の第2の実施の形態においてマスタICとスレーブとの間でデータを送受信するタイミングを説明する図である。   FIG. 67 is a diagram for explaining the timing for transmitting and receiving data between the master IC and the slave in the second embodiment of the present invention.

前述のように、本発明の第2の実施の形態では、画像更新周期、すなわち、VDP割込みの発生間隔(第2の時間値)内で、マスタICから演出制御データが送信され、スレーブから返答信号(ACK)が返信される。   As described above, in the second embodiment of the present invention, the presentation control data is transmitted from the master IC and the response is received from the slave within the image update cycle, that is, the VDP interrupt generation interval (second time value). A signal (ACK) is returned.

また、送信データは接続線SCLに出力されたパルス幅に対応して送信される。具体的には、図67に示すように、スタートコンディションが出力されてから対応するストップコンディションが出力されるまでの間にデータ送信用に8クロック、ACK返信用に1クロック分のパルスが出力される。   The transmission data is transmitted corresponding to the pulse width output to the connection line SCL. Specifically, as shown in FIG. 67, a pulse for 8 clocks for data transmission and 1 clock for ACK reply is output between the start condition output and the corresponding stop condition output. The

また、VDP割込みの発生間隔内には、データ送信期間と、データ送信期間が終了してから次のVDP割込みが発生するまでの休止(待機)期間とが含まれる。データ送信期間は、スタートコンディションが出力されてからストップコンディションが出力されるまでの期間である。   The VDP interrupt generation interval includes a data transmission period and a pause (waiting) period from the end of the data transmission period until the next VDP interrupt is generated. The data transmission period is a period from when a start condition is output to when a stop condition is output.

このとき、ウォッチドッグタイマの監視期間(モード2レジスタで設定)は、接続線SCLに出力されるパルス幅(第1の時間値)よりも長く、かつ、VDP割込みの発生間隔(第2の時間値)よりも短い期間が設定される。   At this time, the monitoring period of the watchdog timer (set by the mode 2 register) is longer than the pulse width (first time value) output to the connection line SCL, and the VDP interrupt generation interval (second time). A period shorter than (value) is set.

接続線SCLに出力されるパルス幅よりもウォッチドッグタイマの監視期間が短い場合には、データが正常に処理されているにもかかわらず、スレーブがリセットされてしまう可能性がある。また、ウォッチドッグタイマの監視期間をVDP割込みの発生間隔よりも短い期間に設定すれば、画像更新周期、すなわち、次のデータ送信のタイミングに間に合うように、早期に異常から復帰させることが可能となる。   If the monitoring period of the watchdog timer is shorter than the pulse width output to the connection line SCL, there is a possibility that the slave may be reset despite the data being processed normally. In addition, if the monitoring period of the watchdog timer is set to a period shorter than the VDP interrupt generation interval, it is possible to recover from an abnormality early so as to be in time for the image update cycle, that is, the timing of the next data transmission. Become.

以上のように、本発明の第2の実施の形態によれば、任意のタイミングでウォッチドッグタイマを有効化又は無効化することができる。したがって、必要に応じてウォッチドッグタイマを動作させたり、停止させたりすることが可能となるため、装飾制御装置610(ICI/Oエクスパンダ615)の汎用性を向上させることができる。 As described above, according to the second embodiment of the present invention, the watchdog timer can be validated or invalidated at an arbitrary timing. Therefore, the watchdog timer can be operated or stopped as necessary, so that the versatility of the decoration control device 610 (I 2 CI / O expander 615) can be improved.

また、本発明の第2の実施の形態によれば、オールコールアドレスを利用して、すべての装飾制御装置610(ICI/Oエクスパンダ615)に一斉に設定パラメータを送信しているため、ウォッチドッグタイマの有効化及び無効化を高速に切り替えることが可能となる。 Further, according to the second embodiment of the present invention, the setting parameters are transmitted to all the decoration control devices 610 (I 2 CI / O expander 615) simultaneously using the all call address. Therefore, it becomes possible to switch between enabling and disabling the watchdog timer at high speed.

特に、ICI/Oエクスパンダ615に設けてあるデータ線の占有解除機能は、必ずしも全ての遊技機メーカが使用するとは限らないので、使用するか否かを任意に設定できることが好ましいものであることから、電源投入時のデフォルトの初期状態は、この占有解除機能を使用しない状態となるように構成されている。 In particular, the data line occupation release function provided in the I 2 CI / O expander 615 is not necessarily used by all game machine manufacturers, so it is preferable that whether or not to use can be arbitrarily set. For this reason, the default initial state when the power is turned on is configured not to use this exclusive release function.

(第3の実施の形態)
本発明の第1の実施の形態では、マスタICの制御によって、接続線SCLの信号レベルを制御することによって、接続線SDAの占有を解除していたが、これによりマスタICの負荷が高まってしまうおそれがある。本発明の第3の実施の形態では、接続線SCLの信号レベルを制御するタイミング信号線変化手段を配置することによって、マスタICの制御によらずに接続線SCLの信号レベルの信号レベルを制御する。
(Third embodiment)
In the first embodiment of the present invention, the occupation of the connection line SDA is released by controlling the signal level of the connection line SCL by controlling the master IC. However, this increases the load on the master IC. There is a risk of it. In the third embodiment of the present invention, by arranging the timing signal line changing means for controlling the signal level of the connection line SCL, the signal level of the signal level of the connection line SCL is controlled without being controlled by the master IC. To do.

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

本発明の第3の実施の形態の演出制御装置550と本発明の第1の実施の形態の演出制御装置550との相違点は、出力I/F558aと中継基板600に接続される接続線SCLとの間にトランジスタ579a、出力I/F558aと簡易中継基板1600に接続される接続線SCLとの間にトランジスタ579bが接続されている点である。   The difference between the production control device 550 of the third embodiment of the present invention and the production control device 550 of the first embodiment of the present invention is that a connection line SCL connected to the output I / F 558a and the relay board 600. The transistor 579b is connected between the output I / F 558a and the connection line SCL connected to the simple relay board 1600.

また、接続線SCLには、所定の電圧が印加されたプルアップ抵抗Rが接続されているため、トランジスタ579a又はトランジスタ579bを一定時間オンにすると、対応する接続線SCLの信号レベルが強制的にLOWになるので、直前の接続線SCLの信号レベルがHIGHであれば、接続線SCL上にパルスが出力される。このように、本発明の第3の実施の形態では、マスタICの出力状態によらずに接続線SCLにダミーパルスを出力することが可能な構成となっている。   In addition, since a pull-up resistor R to which a predetermined voltage is applied is connected to the connection line SCL, when the transistor 579a or the transistor 579b is turned on for a certain time, the signal level of the corresponding connection line SCL is forcibly set. Since it is LOW, if the signal level of the immediately preceding connection line SCL is HIGH, a pulse is output on the connection line SCL. As described above, in the third embodiment of the present invention, a dummy pulse can be output to the connection line SCL regardless of the output state of the master IC.

なお、CPU551、トランジスタ579a及びトランジスタ579bは、同一の基板上に配置されており、CPU551と各トランジスタとを接続する信号線が断線しない構成となっているので、トランジスタ579aやトランジスタ579bが予期せぬタイミングで作動することを防止することができるようになっている。   Note that the CPU 551, the transistor 579a, and the transistor 579b are arranged on the same substrate and a signal line that connects the CPU 551 and each transistor is not disconnected. Therefore, the transistor 579a and the transistor 579b are unexpected. It is possible to prevent the operation at the timing.

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

本発明の第1の実施の形態との相違点は、ステータスコードが「復旧」の場合に、第1マスタIC570aをソフトリセットした後(6901)、トランジスタ579aによってダミーパルスを出力する(6902)。その後、第1マスタ側スレーブ初期化開始処理を実行する(4012)。   The difference from the first embodiment of the present invention is that when the status code is “recovery”, the first master IC 570a is soft reset (6901), and then a dummy pulse is output by the transistor 579a (6902). Thereafter, a first master side slave initialization start process is executed (4012).

なお、第2マスタIC570b側で送信中断割込みや、タイムアウト割込みが発生したときは、本フローチャートの処理における第1マスタの部分を第2マスタに置換した処理が行われる。このとき、ステップ6902に対応する処理では、トランジスタ579bを駆動してダミーパルスを出力することになる。   When a transmission interruption interrupt or a timeout interrupt occurs on the second master IC 570b side, a process is performed in which the first master part in the process of this flowchart is replaced with the second master. At this time, in the process corresponding to step 6902, the transistor 579b is driven to output a dummy pulse.

以上のように、ノイズなどの影響によって、接続線SDAが占有解除不能状態になった場合には、マスタICをリセットした後、接続線SCLにダミーパルスを出力することによって接続線SDAの占有を解除する。以下、さらに詳細な手順について説明する。   As described above, when the connection line SDA becomes unoccupiable due to noise or the like, the master IC is reset, and then a dummy pulse is output to the connection line SCL to thereby occupy the connection line SDA. To release. Hereinafter, a more detailed procedure will be described.

図70は、本発明の第3の実施の形態において、スレーブ側のICI/Oエクスパンダ615によってバスが占有された場合にバスを解放する手順を説明する図である。 FIG. 70 is a diagram illustrating a procedure for releasing a bus when the bus is occupied by the slave I 2 CI / O expander 615 in the third embodiment of this invention.

前述のように、ノイズなどにより接続線SCLの信号レベルの変化回数がマスタ側とスレーブ側とで相違すると、接続線SDAがスレーブ側のICI/Oエクスパンダ615によって占有され、バスが解放されなくなる。 As described above, when the number of changes in the signal level 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 and the bus is released. It will not be done.

そこで、バスが占有されたままの状態でマスタICからデータの送信が不能となると、CPU551は、マスタICをリセットする。その後、ダミーパルスを出力して接続線SCLの信号レベルの変化回数の相違を解消させることによって、接続線SDAの占有を解除する。   Therefore, if data transmission from the master IC becomes impossible while the bus is still occupied, the CPU 551 resets the master IC. Thereafter, the occupation of the connection line SDA is released by outputting a dummy pulse to eliminate the difference in the number of changes in the signal level of the connection line SCL.

具体的には、接続線SDAの占有によって、ステータスコードに“70H”(「復旧」)が設定され(図48の4805)、その後、送信中断割込みが発生する。送信中断割込みが発生すると、図69に示したように、CPU551は、マスタICに対してソフトリセットを行い(図69の6901)、その後ダミーパルスを出力する(図69の69023)。このとき、ダミーパルスは、接続線SDAの占有が解除されるまで出力するようにしてもよいし、少なくとも9回変化させるようにしてもよい。   Specifically, “70H” (“recovery”) is set in the status code due to the occupation of the connection line SDA (4805 in FIG. 48), and then a transmission interruption interrupt occurs. When a transmission interruption interrupt occurs, as shown in FIG. 69, the CPU 551 performs a soft reset on the master IC (6901 in FIG. 69), and then outputs a dummy pulse (69023 in FIG. 69). At this time, the dummy pulse may be output until the occupation of the connection line SDA is released, or may be changed at least nine times.

このようにして、スレーブ側のICI/Oエクスパンダ615は、ダミーパルスが出力されることによって接続線SCLの信号レベルが変化して、接続線SCLの信号レベルがHIGHからLOWへの変化を検出することになり、接続線SDAを解放し、返答信号(ACK)をマスタICに返す。その後、マスタICがスタートコンディションを出力し、データの送信を再開する。 In this way, the slave-side I 2 CI / O expander 615 changes the signal level of the connection line SCL by outputting a dummy pulse, and the signal level of the connection line SCL changes from HIGH to LOW. The connection line SDA is released, and a response signal (ACK) is returned to the master IC. Thereafter, the master IC outputs a start condition and resumes data transmission.

以上のように、マスタICをソフトリセットした後、ACKを受信して接続線SDAの解放を確認してから各スレーブを初期化するため、不具合の発生を抑制し、確実な通信制御を行うことができる。   As described above, after the soft reset of the master IC, each slave is initialized after receiving the ACK and confirming the release of the connection line SDA. Can do.

また、本発明の第3の実施の形態によれば、マスタICの負荷を増大させることなく、接続線SDAの占有を解除することが可能となる。   Further, according to the third embodiment of the present invention, it is possible to release the occupation of the connection line SDA without increasing the load on the master IC.

さらに、本発明の第3の実施の形態によれば、接続線SCLの信号レベルは、マスタICが動作していなければHIGHに設定されるので、対応するトランジスタによっていつでも占有解除のための信号を出力することが可能となる。   Furthermore, according to the third embodiment of the present invention, the signal level of the connection line SCL is set to HIGH when the master IC is not operating. It becomes possible to output.

また、本発明の第3の実施の形態によれば、演出を制御するCPUとダミーパルスを出力するトランジスタが同じ基板に配置されているため、接触不良などによってトランジスタを制御することができなくなったり、トランジスタが別の基板に配置されていた場合に予期せぬタイミングで作動することなどを防止することができる。   Further, according to the third embodiment of the present invention, since the CPU for controlling the production and the transistor for outputting the dummy pulse are arranged on the same substrate, the transistor cannot be controlled due to poor contact or the like. When the transistor is arranged on another substrate, it can be prevented from operating at an unexpected timing.

(第4の実施の形態)
本発明の第1の実施の形態では、装飾制御装置610(ICI/Oエキスパンダ615)は、第1マスタIC570aからのストップコンディションを受信したタイミングで、接続されたLEDの発光状態を更新している。これに対し、本発明の第4の実施の形態では、第1マスタIC570aからのストップコンディションの受信タイミング以外で、接続されているLEDの発光状態を切り替える。こうすることによって、ストップコンディションを出力する信号レベルの制御が不要となるため、データの送信時間を短縮することが可能となる。
(Fourth embodiment)
In the first embodiment of the present invention, the decoration control device 610 (I 2 CI / O expander 615) updates the light emission state of the connected LED at the timing of receiving the stop condition from the first master IC 570a. is doing. On the other hand, in the fourth embodiment of the present invention, the light emission state of the connected LED is switched at a timing other than the reception timing of the stop condition from the first master IC 570a. By doing so, it is not necessary to control the signal level for outputting the stop condition, and the data transmission time can be shortened.

本発明の第4の実施の形態では、装飾制御装置610は、マスタICに返答信号(ACK)を返信したタイミングで、接続されたLEDの発光状態を更新する。ACKを返信したタイミングで演出装置の態様を更新するためには、マスタICから各スレーブに送信するデータのうち、モード2レジスタの設定値に含まれるOCH(図62(B)参照)のビットに“1”を設定する必要がある。   In the fourth embodiment of the present invention, the decoration control device 610 updates the light emission state of the connected LED at the timing when a response signal (ACK) is returned to the master IC. In order to update the aspect of the effect device at the timing when ACK is returned, in the data transmitted from the master IC to each slave, the bit of the OCH (see FIG. 62 (B)) included in the setting value of the mode 2 register It is necessary to set “1”.

図71は、本発明の第4の実施の形態における装飾制御装置610及び装飾装置620の接続例を示す図であり、5セット分のLEDが設けられた装飾装置620を1つの装飾制御装置610によって制御する構成を示す図である。この5セット分のLEDの点灯状態により、赤、緑、青の各色が混合して、数多くの色彩が表現されるようになっている。   FIG. 71 is a diagram illustrating a connection example of the decoration control device 610 and the decoration device 620 according to the fourth embodiment of the present invention. The decoration device 620 provided with five sets of LEDs is replaced with one decoration control device 610. It is a figure which shows the structure controlled by these. Depending on the lighting state of these five sets of LEDs, each color of red, green, and blue is mixed to express a large number of colors.

なお、第4の実施の形態においても、前述した信頼度報知装置15(図2)が装飾装置620の一例であるとして説明を行う。つまり、信頼度報知装置15が赤く光れば大当たりが確定する仕様となっているものとする。   In the fourth embodiment, the above-described reliability notification device 15 (FIG. 2) is described as an example of the decoration device 620. That is, it is assumed that the jackpot is determined when the reliability notification device 15 glows red.

図71に示す構成によって、装飾制御装置610に接続された5セット分のLEDは、発光状態が同時に更新されるので、想定外の発色が行われることはない。すなわち、ストップコンディションを受信したタイミングでLEDの発光態様をしなくてもACKを返信したタイミングで各セットのLEDの発光状態を同時に更新することが可能となる。   With the configuration shown in FIG. 71, the light emission state of the five sets of LEDs connected to the decoration control device 610 is updated at the same time, so that unexpected color development is not performed. In other words, it is possible to simultaneously update the light emission state of each set of LEDs at the timing when ACK is returned even if the LED does not emit light at the timing when the stop condition is received.

図72は、本発明の第4の実施の形態の各装飾制御装置(スレーブ)に演出制御データを送信する際にCPU551とマスタIC(第1マスタIC570a又は第2マスタIC570b)との間で送受信される情報を説明する図である。なお、本発明の第1の実施の形態で対応する図35と共通する手順については、共通の符号を割り当てて説明を省略する。   FIG. 72 shows transmission / reception between the CPU 551 and the master IC (the first master IC 570a or the second master IC 570b) when transmitting the effect control data to each decoration control device (slave) according to the fourth embodiment of the present invention. It is a figure explaining the information to be performed. In addition, about the procedure which is common in FIG. 35 corresponding to the 1st Embodiment of this invention, a common code | symbol is assigned and description is abbreviate | omitted.

演出制御装置550のCPU551は、演出制御を行う場合に、まず、コマンドREG581のスタートコンディション(STA)の出力を指示するビットに“1”を設定する(7201)。このとき、本発明の第1の実施の形態とは異なり、ストップコンディション(STO)の出力を指示するビットに“0”を設定し、ストップコンディションが出力されないように指示する。   When performing the effect control, the CPU 551 of the effect control device 550 first sets “1” to a bit for instructing the output of the start condition (STA) of the command REG581 (7201). At this time, unlike the first embodiment of the present invention, “0” is set to the bit indicating the output of the stop condition (STO) to instruct the stop condition not to be output.

マスタICは、コマンドREG581のSTA及びSTOに設定された値に基づいて、各スレーブにスタートコンディションを出力する(7211)。このとき出力されるスタートコンディションは、本発明の第4の実施の形態では、リスタートコンディションとなる。   The master IC outputs a start condition to each slave based on the values set in the STA and STO of the command REG581 (7211). The start condition output at this time is a restart condition in the fourth embodiment of the present invention.

そして、マスタICは、各スレーブで演出制御データを受信する準備が整うため、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、出力用バッファ572に、制御対象のスレーブの最初の演出制御データ(図30のデータのうち1番目に送信されるバイト単位のデータ)を設定する(7202)。このとき、コマンドREG581のSTA及びSTOには“0”を設定する。   Since the master IC is ready to receive the presentation control data at 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 the first presentation control data of the slave to be controlled (data in bytes transmitted first among the data in FIG. 30) in the output buffer 572 (7202). At this time, “0” is set in the STA and STO of the command REG581.

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

そして、演出制御データを受信したスレーブはACKを返信する。このとき、ACKを返信したスレーブは、このタイミングで制御対象の演出装置(LED)の発光態様を更新させる。   Then, the slave that has received the effect control data returns ACK. At this time, the slave that has returned ACK updates the light emission mode of the rendering device (LED) to be controlled at this timing.

そして、ACKを受信したマスタICは、CPU551に割込信号を入力して割込みを発生させる。なお、マスタICは、NACKを受信した場合でもCPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、出力用バッファ572に、制御対象のスレーブの次の演出制御データ(図30にて2番目に送信されるバイト単位のデータ)を設定し、コマンドREG581のSTA及びSTOには“0”を設定する(7202)。これにより、次の演出制御データがマスタICからスレーブへ送信される(3512)。   Then, the master IC that has received the ACK inputs an interrupt signal to the CPU 551 to generate an interrupt. Even when the master IC receives NACK, the master IC inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 that generated the interrupt sets the next presentation control data (second-byte data transmitted in FIG. 30) of the slave to be controlled in the output buffer 572, and sets the STA and STO of the command REG581. Sets “0” (7202). Thereby, the next effect control data is transmitted from the master IC to the slave (3512).

以降、マスタICは、ACK又はNACKを受信する毎にCPU551に割込信号を入力して割込みを発生させ、割込みが発生したCPU551は、出力用バッファ572に、制御対象のスレーブの次の演出制御データ(図30にて3番目以降に送信されるバイト単位のデータ)を設定し、コマンドREG581のSTA及びSTOには“0”を設定する処理を繰り返す。この処理は、全ての演出制御データが送信されるまで繰り返される。   Thereafter, each time the master IC receives ACK or NACK, it inputs an interrupt signal to the CPU 551 to generate an interrupt, and the CPU 551 that has generated the interrupt causes the output buffer 572 to control the next presentation of the slave to be controlled. Data (byte-unit data to be transmitted after the third in FIG. 30) is set, and the process of setting “0” to the STA and STO of the command REG581 is repeated. This process is repeated until all effect control data is transmitted.

全ての演出制御データが送信された後のタイミングで、割込みが発生したCPU551は、コマンドREG581のSTAに“1”、STOに“0”を設定する(7203)。その後、マスタICは、再度スタートコンディションを出力する、いわゆるリスタートコンディションを出力する(3513)。   The CPU 551 that generated the interrupt at the timing after all the effect control data has been transmitted sets “1” to the STA of the command REG 581 and “0” to the STO (7203). Thereafter, the master IC outputs a so-called restart condition that outputs a start condition again (3513).

続いて、CPU551及びマスタICは、2番目以降に制御されるスレーブのアドレスを順次指定して同様の処理を行う(7204、3514、7205、3515)。CPU551によって最後のn個めのスレーブに対する演出制御データの出力が完了し(7206)、さらに、マスタICが演出制御データを対応するスレーブに出力すると(3516)、全データの出力が完了する。   Subsequently, the CPU 551 and the master IC perform the same processing by sequentially designating the addresses of slaves controlled second and later (7204, 3514, 7205, 3515). When the CPU 551 completes the output of the effect control data to the last nth slave (7206), and the master IC outputs the effect control data to the corresponding slave (3516), the output of all data is completed.

CPU551は、その後、接続線SCLの信号レベルをLOWレベルで維持する(7217)。具体的には、マスタICが最終のスレーブに演出制御データを出力完了したときに、割込信号を入力してCPU551に割込みを発生させ、割込みが発生したCPU551は、コマンドREG581のSIに“1”を設定した状態でそのまま放置し、接続線SCLの信号レベルをLOWに維持する。   Thereafter, the CPU 551 maintains the signal level of the connection line SCL at the LOW level (7217). Specifically, when the master IC completes the output of the presentation control data to the final slave, an interrupt signal is input to cause the CPU 551 to generate an interrupt. The CPU 551 that generated the interrupt sets the SI of the command REG581 to “1”. "Is left as it is, and the signal level of the connection line SCL is kept LOW.

前述のように、本発明の第4の実施の形態では、スレーブがACKを返信するタイミングで演出装置(発光体)の演出態様(発光態様)を更新する。そこで、マスタICは、スレーブから送信されたACKの受信を待たずに、次のスレーブに対して演出制御データを送信する。したがって、演出制御データを連続的に送信することが可能となるため、演出制御データの送信に必要な総所要時間を短縮することが可能となる。   As described above, in the fourth embodiment of the present invention, the effect mode (light emission mode) of the effect device (light emitter) is updated at the timing when the slave returns ACK. Therefore, the master IC transmits the presentation control data to the next slave without waiting for the reception of the ACK transmitted from the slave. Therefore, since it is possible to continuously transmit the effect control data, it is possible to reduce the total time required for transmitting the effect control data.

以下、図73及び図74のフローチャートを参照しながら、具体的に演出制御データを送信する手順について説明する。   Hereinafter, a procedure for specifically transmitting the effect control data will be described with reference to the flowcharts of FIGS. 73 and 74.

図73は、本発明の第4の実施の形態の演出制御定期処理の手順を示すフローチャートである。第4の実施の形態では、図39に示した本発明の第1の実施の形態の演出制御定期処理を図73の処理に置換することになるので、図39と共通の処理については共通の符号を割り当てて説明を省略する。   FIG. 73 is a flowchart showing the procedure of the effect control regular processing according to the fourth embodiment of the present invention. In the fourth embodiment, the presentation control periodic process of the first embodiment of the present invention shown in FIG. 39 is replaced with the process of FIG. 73, so the processes common to FIG. 39 are the same. A reference numeral is assigned to omit the description.

本発明の第1の実施の形態では、前述のように、マスタICはACKを受信してから、すなわち、正常にデータが送信されたことを確認してから次の演出制御データを送信していた。そのため、ACKではなく正常にデータを受信できなかったことを示すNACKを受信した場合にはデータを再送していた。   In the first embodiment of the present invention, as described above, the master IC transmits the next effect control data after receiving the ACK, that is, after confirming that the data has been transmitted normally. It was. For this reason, data is retransmitted when NACK indicating that data cannot be normally received is received instead of ACK.

一方、本発明の第4の実施の形態では、第1の実施の形態のようにバッファモードでデータを送信するのではなく、バイトモードでレジスタごとに演出制御データを送信する。そして、演出制御データが正常に送信できたか否かにかかわらず、連続的に演出制御データを送信し、演出制御データを再送するための処理は実行されない。   On the other hand, in the fourth embodiment of the present invention, the presentation control data is transmitted for each register in the byte mode, instead of transmitting the data in the buffer mode as in the first embodiment. Then, regardless of whether or not the effect control data can be normally transmitted, the process for continuously transmitting the effect control data and retransmitting the effect control data is not executed.

図73を参照すると、ステップ3901からステップ3907、ステップ3909からステップ3911までの処理は、第1の実施の形態と同様である。そして、第1の実施の形態では演出制御データをバッファモードで送信するため、ステップ3908及びステップ3912の処理でコマンドレジスタ581のMODEのビットに“1”を設定している。これに対し、第4の実施の形態では、演出制御データをバイトモードで送信するため、ステップ3908及びステップ3912の代わりにステップ7301及びステップ7302の処理でコマンドレジスタ581のMODEのビットに“0”を設定する。   Referring to FIG. 73, the processing from step 3901 to step 3907 and from step 3909 to step 3911 are the same as those in the first embodiment. In the first embodiment, in order to transmit the effect control data in the buffer mode, “1” is set in the MODE bit of the command register 581 in the processing of Step 3908 and Step 3912. On the other hand, in the fourth embodiment, in order to transmit the effect control data in the byte mode, “0” is set to the MODE bit of the command register 581 in the process of Step 7301 and Step 7302 instead of Step 3908 and Step 3912. Set.

したがって、第4の実施の形態では、スレーブに送信する演出制御データ(図30に例示した30個のデータに相当)を1バイト送信する毎に、更新段階番号が1つずつ加算される。したがって、更新段階番号を0に初期化してスタートコンディションが出力された後、すべてのレジスタに設定された値が出力されるまで、すなわち、1スレーブ分の演出制御データが送信されるまで更新段階番号が更新されるようになっている。なお、図30に例示した30個のデータを送信する場合には、更新段階番号の最大値は29となる。   Therefore, in the fourth embodiment, every time one byte of effect control data (corresponding to 30 data illustrated in FIG. 30) to be transmitted to the slave is transmitted, the update stage number is incremented by one. Therefore, after the update stage number is initialized to 0 and the start condition is output, until the set values are output to all the registers, that is, until the production control data for one slave is transmitted. Has been updated. When the 30 data illustrated in FIG. 30 are transmitted, the maximum value of the update stage number is 29.

なお、図44に示した第1の実施の形態のデータの送信再開処理の継続を判断するための送信処理継続判定表は、第4の実施の形態においても共通に利用されるが、演出制御データ送信再開処理の継続判断4403における「更新段階番号=1」は、「更新段階番号≧1」に置換される。   Note that the transmission process continuation determination table for determining continuation of the data transmission resumption process of the first embodiment shown in FIG. 44 is commonly used in the fourth embodiment, but the production control “Update stage number = 1” in the continuation determination 4403 of the data transmission restart process is replaced with “update stage number ≧ 1”.

さらに、第4の実施の形態では、演出制御データの再送を行わないため、再送回数を管理するリトライカウンタに関する処理は必要ない。したがって、リトライカウンタを初期化するステップ3915の処理が実行されないようになっている。   Furthermore, in the fourth embodiment, since the presentation control data is not retransmitted, processing related to the retry counter that manages the number of retransmissions is not necessary. Therefore, the process of step 3915 for initializing the retry counter is not executed.

さらに、ステップ3913、ステップ3914、ステップ3916からステップ3919のスレーブ出力データ編集処理まで第1の実施の形態と共通の処理が実行され、ステップ3920以降のエラー処理が第4の実施の形態では実行されないようになっている。   Further, the processes common to the first embodiment from the step 3913, the step 3914, the step 3916 to the slave output data editing process of the step 3919 are executed, and the error processing after the step 3920 is not executed in the fourth embodiment. It is like that.

本発明の第1の実施の形態では、更新段階番号が0の場合にはスタートコンディション(又は、リスタートコンディション)が出力された直後の状態であり、更新段階番号が1の場合にはデータが送信されている状態であることを示している。   In the first embodiment of the present invention, when the update stage number is 0, the start condition (or restart condition) is immediately after being output, and when the update stage number is 1, data is stored. It shows that it is being sent.

以上が、本発明の第4の実施の形態の演出制御定期処理の手順である。続いて、本発明の第4の実施の形態の演出制御データの送信再開処理の各手順について説明する。   The above is the procedure of the effect control regular processing according to the fourth embodiment of the present invention. Then, each procedure of the transmission resumption process of the production control data according to the fourth embodiment of the present invention will be described.

図74は、本発明の第4の実施の形態の演出制御データの送信再開処理の手順を示すフローチャートである。第4の実施の形態では、図43に示した本発明の第1の実施の形態の演出制御データの送信再開処理が、図74の処理に置換される。   FIG. 74 is a flow chart showing a procedure of resumption transmission processing of effect control data according to the fourth embodiment of the present invention. In the fourth embodiment, the process of resuming the transmission of effect control data according to the first embodiment of the present invention shown in FIG. 43 is replaced with the process of FIG.

CPU551は、まず、更新段階番号の値を判定する(7401)。そして、更新段階番号が最大値であるか否かを判定する(7402)。更新段階番号が最大値の場合には、前述のように、全レジスタに設定された値が送信されたこととなり、スレーブ単位のデータの送信が完了したこととなる。   The CPU 551 first determines the value of the update stage number (7401). Then, it is determined whether or not the update stage number is the maximum value (7402). When the update stage number is the maximum value, the values set in all the registers are transmitted as described above, and the transmission of data in slave units is completed.

CPU551は、更新段階番号が最大値でない場合には(7402の結果が「N」)、未送信の演出制御データが残っているため、未送信のデータを送信する処理を実行する。具体的には、更新段階番号に1加算し(7403)、さらに、準備した出力データから加算された更新段階番号に対応するデータを抽出し(7404)、抽出されたデータを出力用バッファ572に設定する(7405)。   When the update stage number is not the maximum value (result of 7402 is “N”), the CPU 551 executes the process of transmitting the untransmitted data because the untransmitted effect control data remains. Specifically, 1 is added to the update stage number (7403), data corresponding to the update stage number added is further extracted from the prepared output data (7404), and the extracted data is stored in the output buffer 572. Set (7405).

さらに、CPU551は、監視タイマを設定し、タイムアウトの監視を開始する(7406)。最後に、処理対象のマスタICのコマンドREG581のSTA、STO及びSIをそれぞれ“0”に設定し、出力用バッファ572に設定されたデータをバイトモードで送信するために、MODEを“0”に設定し(7407)、呼び出し元の処理に復帰する。   Furthermore, the CPU 551 sets a monitoring timer and starts monitoring for timeout (7406). 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 “0” in order to transmit the data set in the output buffer 572 in the byte mode. The setting is made (7407), and the process returns to the calling process.

一方、CPU551は、更新段階番号が最大値となった場合には(7402の結果が「Y」)、1スレーブ分の演出制御データの送信が完了したため、すべてのスレーブについて演出制御データの送信が完了したか否かを判定する(7408)。すべてのスレーブについて演出制御データの送信が完了していない場合には(7408の結果が「N」)、次のスレーブを選択し(7410)、更新段階番号を0に設定する(7411)。   On the other hand, when the update stage number reaches the maximum value (result of 7402 is “Y”), the transmission of the effect control data for all the slaves is completed because the transmission of the effect control data for one slave is completed. It is determined whether or not it is completed (7408). If transmission of the effect control data is not completed for all slaves (the result of 7408 is “N”), the next slave is selected (7410), and the update stage number is set to 0 (7411).

そして、CPU551は、監視タイマを設定し、タイムアウトの監視を開始する(7412)。最後に、処理対象のマスタICのコマンドREG581のSTAを“1”を設定してリスタートコンディションを出力させ、STO及びSIをそれぞれ“0”に設定する。さらに、出力用バッファ572に設定されたデータをバイトモードで送信するために、MODEを“0”に設定し(7413)、呼び出し元の処理に復帰する。   The CPU 551 sets a monitoring timer and starts monitoring for timeout (7412). Finally, the STA of the command REG 581 of the master IC to be processed is set to “1” to output a restart condition, and STO and SI are set to “0”, respectively. Further, in order to transmit the data set in the output buffer 572 in the byte mode, MODE is set to “0” (7413), and the process returns to the calling process.

CPU551は、すべてのスレーブについて演出制御データの送信が完了した場合には(7408の結果が「Y」)、SIを“1”に設定した状態、すなわち、割り込みを発生させた状態で放置して(7414)、呼び出し元の処理に復帰する。このとき、接続線SCLの信号レベルをLOWに設定し、この信号レベルを維持する。   When the transmission of the effect control data is completed for all the slaves (the result of 7408 is “Y”), the CPU 551 is left in a state where SI is set to “1”, that is, an interrupt is generated. (7414), the process returns to the calling process. At this time, the signal level of the connection line SCL is set to LOW, and this signal level is maintained.

このように、全スレーブに対して演出制御データが送信された後に、割り込みを発生させた状態で、接続線SCLの信号レベルをLOWに設定した状態を維持しておくことによって、接続線SCLの信号レベルをHIGHに設定した場合と比較して、データ送信の再開を直ちに行うことが可能となり、高速な通信を行うことができる。   In this way, after the production control data is transmitted to all the slaves, the state in which the signal level of the connection line SCL is set to LOW is maintained in the state in which the interrupt is generated, so that the connection line SCL Compared with the case where the signal level is set to HIGH, the data transmission can be restarted immediately, and high-speed communication can be performed.

さらに、割り込みを発生させた状態で接続線SCLの信号レベルをLOWに維持しておくことで、割り込みを発生させた状態でデータ信号線のレベルがノイズ等で変化しても、各スレーブが誤ってスタートコンディションが出力されたと認識することがないので、確実な通信を行うことができる。   Furthermore, by maintaining the signal level of the connection line SCL at LOW while an interrupt is generated, even if the level of the data signal line changes due to noise or the like while the interrupt is generated, each slave is erroneously detected. Therefore, since it is not recognized that the start condition is output, reliable communication can be performed.

図75は、本発明の第4の実施の形態の各スレーブに送信するデータの構造を説明する図である。   FIG. 75 is a diagram illustrating the structure of data transmitted to each slave according to the fourth embodiment of this invention.

本発明の第4の実施の形態では、他の実施の形態と同様に、1回の画像更新周期で第1スレーブから最終スレーブまで、すべてのスレーブにデータを送信する。そして、次の画像更新周期が始まるまで、すなわち、次のVDP割り込みが発生するまでの間、休止時間となる。送信データの構成については、他の実施の形態と同様である。   In the fourth embodiment of the present invention, data is transmitted to all the slaves from the first slave to the last slave in one image update cycle as in the other embodiments. Then, it is a pause time until the next image update cycle starts, that is, until the next VDP interrupt occurs. The configuration of the transmission data is the same as in the other embodiments.

また、第4の実施の形態では、全スレーブの演出制御データを出力した後、ストップコンディションが出力されない点で他の実施の形態と相違する。ただし、スレーブへ初期化指示データを送信して初期化を行う場合には、第1の実施の形態と同様に、初期化指示データの送信完了後にストップコンディションを出力している(図42のステップ4216参照)。   Further, the fourth embodiment is different from the other embodiments in that a stop condition is not output after the production control data of all slaves is output. However, when initialization is performed by transmitting initialization instruction data to the slave, a stop condition is output after the completion of transmission of the initialization instruction data, as in the first embodiment (step of FIG. 42). 4216).

図76は、本発明の第4の実施の形態においてマスタICとスレーブとの間でデータを送受信するタイミングを説明する図である。   FIG. 76 is a diagram for explaining the timing for transmitting and receiving data between the master IC and the slave in the fourth embodiment of the present invention.

前述のように、本発明の第4の実施の形態では、画像更新周期、すなわち、VDP割込みの発生間隔内で、マスタICからすべてのスレーブに対して演出制御データが送信される。このとき、スレーブから返答信号(ACK)がマスタICに返信されるが、本発明の第4の実施の形態では、マスタICは返信されたACKを無視する。   As described above, in the fourth embodiment of the present invention, the presentation control data is transmitted from the master IC to all the slaves within the image update cycle, that is, the VDP interrupt generation interval. At this time, a response signal (ACK) is returned from the slave to the master IC. However, in the fourth embodiment of the present invention, the master IC ignores the returned ACK.

そして、前述のように、すべてのスレーブに対して演出制御データが送信された後であってもマスタICからストップコンディションが出力されないように構成されている。   As described above, the stop condition is not output from the master IC even after the effect control data is transmitted to all the slaves.

また、すべてのスレーブに対して演出制御データが送信された後、接続線SCLの信号レベルはLOWに設定されており、次の演出制御データを送信する場合には、接続線SCLの信号レベルをHIGHに設定し、さらに、接続線SDAの信号レベルをLOWに設定することによって、スタートコンディションが出力される。   In addition, after the production control data is transmitted to all the slaves, the signal level of the connection line SCL is set to LOW, and when the next production control data is transmitted, the signal level of the connection line SCL is set to LOW. By setting to HIGH and further setting the signal level of the connection line SDA to LOW, a start condition is output.

従来、送信完了指令であるストップコンディションの出力後には、接続線SCLの信号レベルがHIGHに設定されているため、接続線SDAの信号レベルがノイズなどによってLOWに設定されたと認識されると、スレーブ側では送信開始指令であるスタートコンディションが出力されたと誤認識してしまうおそれがある。これに対し、本発明の第4の実施の形態のように、全スレーブに対して演出制御データ出力後、接続線SCLの信号レベルをLOWに設定しておくことによって、このような誤認識を防止することが可能となり、より正確な通信を行うことができる。   Conventionally, since the signal level of the connection line SCL is set to HIGH after the output of the stop condition that is a transmission completion command, if the signal level of the connection line SDA is recognized as being set to LOW due to noise or the like, the slave On the side, there is a risk of erroneous recognition that a start condition, which is a transmission start command, has been output. On the other hand, as in the fourth embodiment of the present invention, after outputting the effect control data to all the slaves, the signal level of the connection line SCL is set to LOW, so that such erroneous recognition is performed. Therefore, more accurate communication can be performed.

以上のように、マスタIC(グループ統括制御手段)がスレーブ(グループ単位制御手段)からの返答信号(ACK)を受信せずにデータを再送しないため、データの送信時間が一定となり、マスタICからスレーブにデータを送信する間隔の設定が容易になる。   As described above, since the master IC (group overall control means) does not retransmit the data without receiving the response signal (ACK) from the slave (group unit control means), the data transmission time becomes constant, and the master IC It is easy to set the interval for sending data to the slave.

図77は、本発明の第4の実施の形態において装飾制御装置610がデータを受信したときに、マスタICにACKを出力した時点で、受信したデータをLEDの発光状態に反映させる場合について説明する図である。   FIG. 77 illustrates a case in which, when the decoration control device 610 receives data in the fourth embodiment of the present invention, when the ACK is output to the master IC, the received data is reflected in the light emission state of the LED. It is a figure to do.

図77に示すように、ACK出力時に、各スレーブが演出制御データを演出装置の出力態様に反映させることによって、演出制御データを送信するタイミングを制御することによって、特定の演出装置を指定したタイミングで制御することが可能となる。   As shown in FIG. 77, at the time of ACK output, each slave reflects the effect control data in the output mode of the effect device, thereby controlling the timing of transmitting the effect control data, thereby specifying a specific effect device. It becomes possible to control with.

以上のように、本発明の第4の実施の形態では、演出制御データを連続的に送信するため、ACKを受信するまでの待機時間を必要とせず、また、エラー処理を行うために必要なオーバーヘッドを削減することができる。   As described above, in the fourth embodiment of the present invention, the presentation control data is continuously transmitted, so that no waiting time is required until ACK is received and error processing is necessary. Overhead can be reduced.

特に、図71に示したように、複数のスレーブではなく、1つのスレーブ単位で演出を行えばよい場合には特に有効である。また、複数のマスタICを備える場合には、マスタICごとにストップコンディションで演出装置の演出態様を更新させたり、ACK送信タイミングで演出装置の演出態様を更新させたりすることによって、演出制御処理全体の負荷を軽減させることが可能となる。   In particular, as shown in FIG. 71, this is particularly effective in the case where it is only necessary to produce a single slave unit instead of a plurality of slaves. In the case where a plurality of master ICs are provided, the effect control process as a whole can be performed by updating the effect mode of the effect device in the stop condition for each master IC or by updating the effect mode of the effect device at the ACK transmission timing. It becomes possible to reduce the load.

なお、本発明の第4の実施の形態では、マスタICに接続される全てのスレーブ(ICI/Oエクスパンダ)が、接続線SDAに返答信号を出力させるためのトランジスタ630(図18)を備えているが、必ずしもこのトランジスタ630は必要でない。第4の実施の形態のように単方向の通信を前提とするのであれば、このトランジスタが備えられていない特注品のスレーブICを使用することも可能である。 Note that in the fourth embodiment of the present invention, all the slaves (I 2 CI / O expanders) connected to the master IC cause the connection line SDA to output a response signal 630 (FIG. 18). However, the transistor 630 is not necessarily required. If unidirectional communication is assumed as in the fourth embodiment, it is also possible to use a custom-made slave IC that does not include this transistor.

ただし、ICの通信で一般的に用いられる汎用品のスレーブ側のICには、このトランジスタが備えられているのが普通であるので、特注品と汎用品とが混在するようなネットワークが構成できることが好ましい。 However, since a general-purpose slave IC generally used in I 2 C communication is usually provided with this transistor, there is a network in which custom-made products and general-purpose products are mixed. Preferably it can be configured.

本発明の第4の実施の形態の遊技機は、マスタIC側にて返答信号の確認を行わない構成であるので、接続線SDAを介してマスタICに返答信号を出力する機能を有するスレーブIC(例えば、汎用品スレーブIC)と、接続線SDAを介してマスタICに返答信号を出力する機能を有しないスレーブIC(例えば、特注品スレーブIC)の各々をマスタICに接続しても、問題なく動作させることが可能である。   Since the gaming machine according to the fourth embodiment of the present invention is configured such that the response signal is not confirmed on the master IC side, the slave IC has a function of outputting the response signal to the master IC via the connection line SDA. (For example, a general-purpose product slave IC) and a slave IC that does not have a function of outputting a response signal to the master IC via the connection line SDA (for example, a custom-made product slave IC) may be connected to the master IC. It is possible to operate without.

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

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

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

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

さらに、本願明細書に開示した全ての実施の形態は、パチスロ機等の他の遊技機へも適用が可能である。   Furthermore, all the embodiments disclosed in this specification can be applied to other gaming machines such as pachislot machines.

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

以上のように、本発明は、演出制御装置が複数の装飾制御装置を介して演出装置を制御する遊技機に適用可能である。   As described above, the present invention can be applied to a gaming machine in which an effect control device controls 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 演出制御装置
570a 第1マスタIC
570b 第2マスタIC
581 コマンドレジスタ(REG)
582 ステータスレジスタ(REG)
583 自身アドレス設定レジスタ(REG)
600 中継基板
603 空き端子モニタ
610 装飾制御装置
615 ICI/Oエクスパンダ
620 装飾装置
625 装飾装置基板
640 バス監視ウォッチドッグタイマ(WDT)
641 自己占有ウォッチドッグタイマ(WDT)
1600 簡易中継基板
3200、3300 異常判定テーブル
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 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

Claims (5)

遊技を統括的に制御する遊技制御手段と、該遊技制御手段からの指令に対応して、遊技の演出を行う複数系統の演出装置を系統毎に制御可能な演出制御手段と、を備える遊技機において、
前記演出装置の系統の各々を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段を各グループ毎に設け、
前記演出制御手段を、前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段として構成するとともに、
前記グループ統括制御手段から前記グループ単位制御手段へタイミング信号を伝達するタイミング信号線と、
前記グループ統括制御手段と前記グループ単位制御手段との間で、下り方向及び上り方向の各データが授受されるデータ信号線と、
を備えることにより前記グループ統括制御手段と前記各グループ単位制御手段との間でデータ送信を可能とし、
前記グループ統括制御手段は、
前記データ線の信号レベルを、下り方向データに対応する信号レベルに設定しながら前記タイミング信号線の信号レベルを繰り返し変化させることで、順次前記グループ単位制御手段に下り方向データの送信を行う第1送信手段と、
前記第1送信手段が下り方向データの送信を行う際に、前記データ信号線が占有状態であるか否かを判定する占有判定手段と、
前記データ信号線が占有状態であると判定された場合に、前記第1送信手段による下り方向データの送信を規制する規制手段と、
を備え、
前記グループ単位制御手段は、
前記第1送信手段が下り方向データの送信を行った前記データ信号線を介して、上り方向データを前記グループ統括制御手段へ出力する第2送信手段と、
当該グループ単位制御手段自身を初期化する初期化手段と、
を備えるとともに、
前記規制手段は、前記グループ単位制御手段に対して下り方向データを送信する際に前記データ線が占有状態であるか否かを判定し、占有状態と判定された場合に前記下り方向データの送信を規制し、
前記初期化手段は、前記データ線が占有状態であるか否かを判定し、占有状態と判定された場合に当該グループ単位制御手段自身を初期化し、
前記グループ単位制御手段には、前記初期化手段を有効化するか否かを設定する有効化設定手段が備えられるとともに、複数のグループ単位制御手段の間で共通となる共通アドレスと、各グループ単位制御手段同士で相違する個別アドレスとが予め割り当てられ、
前記グループ統括制御手段から、初期化手段有効化指令が前記共通アドレス宛に送信されると、前記有効化設定手段によって前記初期化手段を有効化させるための設定が行われることを特徴とする遊技機。
A gaming machine comprising: game control means for comprehensively controlling a game; and effect control means capable of controlling a plurality of effect devices for effecting a game for each system in response to a command from the game control means In
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;
Between the group overall control means and the group unit control means, a data signal line through which each data in the downlink direction and the uplink direction is exchanged,
By enabling the data transmission between the group overall control means and each group unit control means,
The group overall control means is:
A first transmission unit sequentially transmits downlink data to the group unit control means by repeatedly changing the signal level of the timing signal line while setting the signal level of the data line to a signal level corresponding to downlink data. A transmission means;
Occupancy determination means for determining whether or not the data signal line is in an occupied state when the first transmission means transmits downlink data;
When it is determined that the data signal line is in an occupied state, a restriction unit that restricts transmission of downlink data by the first transmission unit;
With
The group unit control means includes:
Second transmission means for outputting uplink data to the group overall control means via the data signal line on which the first transmission means has transmitted downlink data;
Initialization means for initializing the group unit control means itself;
With
The restricting means determines whether or not the data line is in an occupied state when transmitting downlink data to the group unit control means, and transmits the downlink data when it is determined to be in an occupied state. Regulate
The initialization unit determines whether the data line is in an occupied state, and initializes the group unit control unit itself when it is determined as an occupied state,
The group unit control means includes an enable setting means for setting whether to enable the initialization means, and a common address common to the plurality of group unit control means, and each group unit Individual addresses that differ between control means are pre-assigned,
The game is characterized in that, when an initialization means activation command is transmitted from the group overall control means to the common address, setting for enabling the initialization means is performed by the validation setting means. Machine.
前記グループ単位制御手段は、
前記共通アドレスを無効化する共通アドレス無効化設定手段を備え、
前記共通アドレス宛に送信された初期化手段有効化指令を受信し、前記初期化手段を有効化した後、前記共通アドレス無効化設定手段によって、前記共通アドレスを無効化し、
その後、前記グループ統括制御手段は、前記グループ単位制御手段の各々に前記共通アドレスを無効化する指令を周期的に送信することを特徴とする請求項1に記載の遊技機。
The group unit control means includes:
A common address invalidation setting means for invalidating the common address;
After receiving the initialization means validation command sent to the common address and validating the initialization means, the common address invalidation setting means invalidates the common address,
2. The gaming machine according to claim 1, wherein the group overall control unit periodically transmits a command for invalidating the common address to each of the group unit control units.
前記第1送信手段は、前記各グループ単位制御手段に割り当てられた個別アドレスを指定して、前記初期化手段有効化指令を周期的に送信することを特徴とする請求項1又は請求項2に記載の遊技機。   3. The first transmission unit according to claim 1 or 2, wherein the first transmission unit periodically transmits the initialization unit validation command by designating an individual address assigned to each group unit control unit. The gaming machine described. 前記グループ統括制御手段は、
前記各グループ単位制御手段を初期化した後、前記共通アドレスを指定することによって、前記初期化手段有効化指令を前記各グループ単位制御手段に送信し、
その後、前記各グループ単位制御手段の個別アドレスを指定して前記下り方向データを送信することを特徴とする請求項3に記載の遊技機。
The group overall control means is:
After initializing each group unit control means, by sending the initialization means enable command to each group unit control means by specifying the common address,
4. The gaming machine according to claim 3, wherein thereafter, the downlink data is transmitted by designating an individual address of each group unit control means.
前記下り方向データは、
前記グループ統括制御手段から前記グループ単位制御手段に周期的に送信され、
前記演出装置の演出態様を決定する演出制御データと、前記初期化手段有効化指令及び前記共通アドレスを無効化する指令を含む設定データと、を含み、
前記設定データは、前記下り方向データが送信される周期内で、前記演出制御データよりも先行して送信されることを特徴とする請求項1から請求項4のいずれかに記載の遊技機。
The downlink data is
Periodically transmitted from the group overall control means to the group unit control means,
Production control data for determining the production mode of the production device, and setting data including the initialization means validation command and the command to invalidate the common address,
The gaming machine according to any one of claims 1 to 4, wherein the setting data is transmitted in advance of the presentation control data within a period in which the downlink data is transmitted.
JP2010239518A 2010-10-26 2010-10-26 Game machine Expired - Fee Related JP5584933B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010239518A JP5584933B2 (en) 2010-10-26 2010-10-26 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010239518A JP5584933B2 (en) 2010-10-26 2010-10-26 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014005820A Division JP5786176B2 (en) 2014-01-16 2014-01-16 Game machine

Publications (2)

Publication Number Publication Date
JP2012090716A true JP2012090716A (en) 2012-05-17
JP5584933B2 JP5584933B2 (en) 2014-09-10

Family

ID=46384807

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010239518A Expired - Fee Related JP5584933B2 (en) 2010-10-26 2010-10-26 Game machine

Country Status (1)

Country Link
JP (1) JP5584933B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09265436A (en) * 1996-03-27 1997-10-07 Victor Co Of Japan Ltd Data transfer device
JP2004252702A (en) * 2003-02-20 2004-09-09 Mitsubishi Electric Corp Method for accessing iic device of control circuit having iic bus
JP2007164765A (en) * 2005-11-15 2007-06-28 Matsushita Electric Ind Co Ltd Iic bus communication system, slave device, and iic bus communication control method
JP2008220409A (en) * 2007-03-08 2008-09-25 Heiwa Corp Game machine
JP2010088667A (en) * 2008-10-08 2010-04-22 Sophia Co Ltd Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09265436A (en) * 1996-03-27 1997-10-07 Victor Co Of Japan Ltd Data transfer device
JP2004252702A (en) * 2003-02-20 2004-09-09 Mitsubishi Electric Corp Method for accessing iic device of control circuit having iic bus
JP2007164765A (en) * 2005-11-15 2007-06-28 Matsushita Electric Ind Co Ltd Iic bus communication system, slave device, and iic bus communication control method
JP2008220409A (en) * 2007-03-08 2008-09-25 Heiwa Corp Game machine
JP2010088667A (en) * 2008-10-08 2010-04-22 Sophia Co Ltd Game machine

Also Published As

Publication number Publication date
JP5584933B2 (en) 2014-09-10

Similar Documents

Publication Publication Date Title
JP5786176B2 (en) Game machine
JP5572893B2 (en) Game machine
JP5604708B2 (en) Game machine
JP2012090897A (en) Game machine
JP5190096B2 (en) Game machine
JP5190100B2 (en) Game machine
JP5190099B2 (en) Game machine
JP5658772B2 (en) Game machine
JP5604707B2 (en) Game machine
JP5190098B2 (en) Game machine
JP5977480B2 (en) Game machine
JP2016026037A (en) Game machine
JP2016026038A (en) Game machine
JP5942155B2 (en) Game machine
JP5584933B2 (en) Game machine
JP5870049B2 (en) Game machine
JP5990677B2 (en) Game machine
JP5715374B2 (en) Game machine
JP5870048B2 (en) Game machine
JP5455944B2 (en) Game machine
JP5584934B2 (en) Game machine
JP5572892B2 (en) Game machine
JP5977481B2 (en) Game machine
JP5935009B2 (en) Game machine
JP5776048B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140116

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140704

R150 Certificate of patent or registration of utility model

Ref document number: 5584933

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

LAPS Cancellation because of no payment of annual fees