JP6502829B2 - Gaming machine - Google Patents
Gaming machine Download PDFInfo
- Publication number
- JP6502829B2 JP6502829B2 JP2015215641A JP2015215641A JP6502829B2 JP 6502829 B2 JP6502829 B2 JP 6502829B2 JP 2015215641 A JP2015215641 A JP 2015215641A JP 2015215641 A JP2015215641 A JP 2015215641A JP 6502829 B2 JP6502829 B2 JP 6502829B2
- Authority
- JP
- Japan
- Prior art keywords
- control device
- master
- connection line
- decoration
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Pinball Game Machines (AREA)
Description
グループに分割された演出装置を制御する複数のグループ単位制御手段と、複数のグループ単位制御手段を制御するグループ統括制御手段とを備える遊技機に関する。 The present invention relates to a gaming machine including a plurality of group unit control means for controlling an effect device divided into groups, and a group general control means for controlling a plurality of group unit control means.
従来の遊技機では、遊技の演出を行うための演出装置を備えている(例えば、特許文献1参照)。 A conventional gaming machine is provided with a rendering device for rendering a game (see, for example, Patent Document 1).
従来の遊技機では、演出装置を制御するグループ単位制御手段と、グループ単位制御手段を制御するグループ統括制御手段との間の配線を十分に削減することができなかった。 In the conventional gaming machine, the wiring between the group unit control means for controlling the rendering device and the group general control means for controlling the group unit control means can not be sufficiently reduced.
本発明は、グループ統括制御手段とグループ単位制御手段との間の配線を少なくすることのできる遊技機を提供することを目的とする。 An object of the present invention is to provide a gaming machine capable of reducing wiring between group general control means and group unit control means.
本発明の代表的な一形態では、複数の演出装置を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段を各グループに備えるとともに、前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段を備え、前記グループ統括制御手段と前記グループ単位制御手段との間に、データ信号線とタイミング信号線と、前記グループ単位制御手段に電源電圧を供給するための電源線と、を含むハーネスによりコネクタを介して接続することにより前記グループ統括制御手段から前記各グループ単位制御手段にデータの伝達を可能とし、前記グループ単位制御手段は、前記データ信号線と別個に設けられた初期化信号入力端子に、初期化信号が入力されることによって、当該グループ単位制御手段を初期化する第1初期化手段、及び、前記ハーネスの再接続により前記ハーネスを構成する電源線から当該グループ単位制御手段に電源供給が開始されると、当該グループ単位制御手段自身を電源供給による電圧上昇に基づいて初期化する第2初期化手段を備え、前記グループ統括制御手段は、前記演出装置の制御に関わる演算処理を行う演算処理手段と、前記グループ単位制御手段と接続されて、前記演算処理手段からの指令に基づいて、該グループ単位制御手段との間の前記データ信号線及び前記タイミング信号線の各信号レベルを制御する信号レベル制御手段と、を含んで構成され、前記信号レベル制御手段は、当該信号レベル制御手段に電源供給が開始されると自身の初期化を行う第3初期化手段、及び、前記演算処理手段と当該信号レベル制御手段の間に、初期化信号を伝達可能な初期化信号線を備えることによって、前記演算処理手段によって当該信号レベル制御手段の初期化を可能とする第4初期化手段を備え、遊技を統括的に制御する遊技制御手段からの指令に基づいて遊技に係る演出を制御可能な演出制御手段を、前記グループ統括制御手段として構成するようにした。 In one representative form of the present invention, a plurality of rendering devices are divided into a plurality of groups, group unit control means for controlling the rendering devices belonging to the divided groups are provided in each group, and the group unit control is performed Means for comprehensively controlling each of the means, and a power supply voltage is supplied to the data signal line and the timing signal line between the group general control means and the group unit control means, and the group unit control means The group general control means can transmit data to each of the group unit control means by connecting through a connector with a harness including a power supply line for supplying, and the group unit control means performs the data signal processing. When the initialization signal is input to the initialization signal input terminal provided separately from the line, the group First initialization means for initializing the control means, and, when the power supply to the group-unit control unit is started from the power supply line constituting the harness by reconnection of the harness, power the group-unit control unit itself A second initialization means for initializing based on a voltage rise due to supply is provided, and the group general control means is connected to an arithmetic processing means for performing arithmetic processing related to control of the rendering device, and the group unit control means And signal level control means for controlling each signal level of the data signal line with the group unit control means and the timing signal line based on a command from the arithmetic processing means. the signal level control means, the third initialization means for performing the power supply to the signal level control means starts its initialization, and the arithmetic processing hand The between the signal level control means, by providing an initialization signal line capable of transmitting an initialization signal, a fourth initializing means allowing the initialization of the signal level control means by said processing means and An effect control means capable of controlling an effect relating to a game based on a command from the game control means for controlling the game in an integrated manner is configured as the group unification control means.
本発明の一形態によれば、グループ統括制御手段とグループ単位制御手段との間の配線を削減することができる。 According to one aspect of the present invention, wiring between the group general control means and the group unit control means can be reduced.
以下、本発明の実施の形態について、図面を参照しながら説明する。 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 view of a gaming machine 1 according to a first embodiment of this invention.
遊技機1の前面枠(遊技枠)3は、本体枠(外枠)2にヒンジ4を介して、遊技機1の前面に開閉回動可能に組み付けられる。前面枠3の表側には、遊技盤10(図2参照)が収装される。また、前面枠3には、遊技盤10の前面を覆うカバーガラス(透明部材)を備えたガラス枠18が取り付けられている。 The front frame (game frame) 3 of the gaming machine 1 is assembled to the main frame (outer frame) 2 via the hinge 4 so as to be able to open and close in the front of the gaming machine 1. On the front side of the front frame 3, the game board 10 (see FIG. 2) is accommodated. Further, a glass frame 18 provided with a cover glass (transparent member) covering the front of the game board 10 is attached to the front frame 3.
ガラス枠18のカバーガラスの周囲には、装飾光が発光される装飾部材9a、9bが備えられている。装飾部材9a、9bの内部にはランプやLED等からなる装飾装置が備えられている。装飾装置を所定の発光態様によって発光させることによって、装飾部材9a、9bが所定の発光態様によって発光する。 Around the cover glass of the glass frame 18, decorative members 9a and 9b for emitting decorative light are provided. Inside the decoration members 9a and 9b, a decoration device composed of a lamp, an LED or the like is provided. By making the decoration device 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が備えられている。 At the left and right of the glass frame 18, speakers 30 for emitting sound (for example, sound effects) are provided. Further, a lighting unit 11 is provided above the glass frame 18.
照明ユニット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 disposed on the left and right. The first movable illumination 13 and the second movable illumination 14 are provided with an illumination driving first motor (MOT) 13a and an illumination driving second motor (MOT) 14a in addition to the illumination members such as the LEDs, It is controlled to operate according to the contents of the effect.
照明ユニット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 opening and closing panel 20 at the lower part of the front frame 3 is provided with an upper plate for supplying gaming balls to a striking ball launch device (not shown), and the fixed panel 22 is provided with a lower tray 23 and an operation unit 24 of the striking ball launch device. The lower tray 23 is provided with a lower tray ball removing mechanism 16 for discharging the gaming balls stored in the lower plate 23. A key 25 for locking the glass frame 18 is provided on the lower right side of the front frame 3.
また、遊技者が操作部24を回動操作することによって、打球発射装置は、上皿21から供給される遊技球を発射する。 In addition, when the player rotates the operation unit 24, the ball hitting and launching device shoots the game ball supplied from the upper tray 21.
また、上皿21の上縁部には、遊技者からの操作入力を受け付けるための演出ボタン17が備えられている。遊技者が演出ボタン17を操作することによって、遊技盤10に設けられた表示装置53(図2参照)における特図変動表示ゲームの演出内容を選択して、表示装置53における特図変動表示ゲームに、遊技者の操作を介入させた演出を行うことができる。 Further, at the upper edge portion of the upper tray 21, an effect button 17 for receiving an operation input from the player is provided. The player operates the effect button 17 to select the effect contents of the special view variation display game on the display device 53 (see FIG. 2) provided on the game board 10, and the special view variation display game on the display device 53 In addition, it is possible to produce an effect in which the player's operation is made to intervene.
特図変動表示ゲームは、発射された遊技球が遊技盤10に備わる始動口36(図2参照)に入賞した場合に開始される。特図変動表示ゲームでは、表示装置53において複数の識別情報が変動表示する。そして、変動表示していた識別情報が停止し、停止した識別情報の結果態様が特定の結果態様である場合に、遊技機1の状態が遊技者に有利な状態(特典が付与される状態)である特別遊技状態に遷移する。 The special view variation display game is started when the launched game ball wins the starting opening 36 (see FIG. 2) provided on the gaming board 10. In the special view variable display game, a plurality of identification information is variably displayed on the display device 53. Then, when the identification information which has been variably displayed is stopped, and the result mode of the stopped identification information is a specific result mode, the state of the gaming machine 1 is advantageous to the player (the state in which a bonus is given) Transition to the special game state that is.
上皿21の右上部には、遊技者が遊技球を借りる場合に操作する球貸ボタン26、及び、図示しないカードユニットからプリペイドカードを排出させるために操作される排出ボ
タン27が設けられている。さらに、これらの球貸ボタン26と排出ボタン27との間には、プリペイドカードの残高を表示する残高表示部28が設けられる。
In the upper right portion of the upper tray 21, there are provided a ball lending button 26 operated when the player borrows a game ball, and a discharge button 27 operated to eject a prepaid card from a card unit (not shown). . 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 is to play a game by firing a gaming ball into the internal gaming area 10a (playing a ball), and on the back side of the cover glass of the glass frame 18, the gaming area 10a is The game board 10 which comprises is installed.
遊技盤10は、各種部材の取付ベースとなる平板状の遊技盤本体10b(木製又は合成樹脂製)を備え、該遊技盤本体10bの前面にガイドレール32で囲まれた遊技領域10aを有している。また、遊技盤本体10bの前面であってガイドレール32の外側には、前面構成部材33が取り付けられている。そして、このガイドレール32で囲まれた遊技領域10a内に発射装置から遊技球(打球;遊技媒体)を発射して遊技を行う。 The game board 10 includes a flat game board body 10b (made of wood or synthetic resin) serving as a mounting base for various members, and has a game area 10a surrounded by guide rails 32 on the front of the game board body 10b. ing. A front component 33 is attached to the front of the game board main body 10b and to the outside of the guide rail 32. Then, a game ball (ball: game medium) is fired from the launch device into the game area 10a surrounded by the guide rails 32 to play a game.
遊技領域10aの略中央には、特図変動表示ゲームの表示領域となる窓部52を形成するセンターケース51が取り付けられている。センターケース51に形成された窓部52の後方には、複数の識別情報を変動表示する特図変動表示ゲームの演出を実行可能な演出表示装置としての表示装置53が配される。表示装置53は、例えば、液晶ディスプレイを備え、表示内容が変化可能な表示部53aがセンターケース51の窓部52を介して遊技盤10の前面側から視認可能となるように配されている。なお、表示装置53は、液晶ディスプレイを備えるものに限らず、EL、CRT等のディスプレイを備えるものであってもよい。 At the approximate center of the game area 10a, a center case 51 is attached, which forms a window 52 serving as a display area of the special view variable display game. Behind the window portion 52 formed in the center case 51, a display device 53 as an effect display device capable of executing an effect of a special view variable display game in which a plurality of identification information is variably displayed is disposed. The display device 53 includes, for example, a liquid crystal display, and is arranged such that the display portion 53a whose display content can be changed can be viewed from the front side of the game board 10 through the window portion 52 of the center case 51. The display device 53 is not limited to one provided with a liquid crystal display, but may be provided with a display such as an EL, a CRT or the like.
また、センターケース51の上部には、大当たりの可能性(信頼度)を報知する信頼度報知装置15が備えられる。信頼度報知装置15には、複数色のLED(例えば、赤、青、緑の3色のLED)が備えられており、信頼度に応じた色及び態様で発光するように制御される。 Further, a reliability notification device 15 for notifying of the possibility (reliability) of the big hit is provided at the upper part of the center case 51. The reliability notification device 15 is provided with LEDs of a plurality of colors (for example, red, blue, and green LEDs), 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, on the left portion of the center case 51, a ball introduction path (warp flow path) 50 through which gaming balls can flow is provided, and is opened in a state in which the entrance 50a is opened toward the game area 10a. The ball introduction path 50 communicates with the inside of the center case 51, and the gaming balls flowing from the inlet 50a pass through the back side of the center case 51 and are discharged onto the unit side stage portion 49b. Further, the game balls rolled on the unit side stage 49b can flow down onto the base side stage 49a disposed below the unit side stage 49b.
センターケース51の周縁部には、複数の装飾具47が配置される。センターケース51の左下部には、装飾ランプ48が配置される、センターケース51の上部には、複数の装飾ピース46を上下動可能な状態で配置される。装飾具47、装飾ランプ48及び装飾ピース46は、後述する演出制御装置550からの命令に従って演出動作を行う。センターケース51の構成については、図3を参照しながらさらに詳細に説明する。 At the periphery of the center case 51, a plurality of ornaments 47 are disposed. A decoration lamp 48 is disposed at the lower left portion of the center case 51. A plurality of decoration pieces 46 are disposed above the center case 51 so as to be capable of moving up and down. The decoration 47, the decoration lamp 48 and the decoration piece 46 perform the rendering operation in accordance with an instruction from the rendering 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, below the center case 51 in the gaming area 10a, a starting opening 36 for starting a special figure variation display game capable of accepting (winning possible) gaming balls is disposed. Further, a common drawing start gate 34 for starting the common drawing fluctuation display game is disposed on the side (left side) of the center case 51.
さらに、遊技領域10aには、センターケース51の左下方及び右下方に、発光によって各種装飾表示を行うサイドランプ45が配置される。また、サイドランプ45には、一
般入賞口44が備えられている。
Furthermore, in the game area 10a, side lamps 45 for displaying various decorations by light emission are disposed in the lower left and lower right of the center case 51. Further, the side lamp 45 is provided with a general winning opening 44.
さらに、始動口36の下方には大入賞口42が配置され、該大入賞口42の下方であって遊技領域10aの下縁部には、入賞せずに流下した遊技球を回収するアウト口43が開設される。大入賞口42は、上端側が手前側に倒れる方向に回動して開放可能になっているアタッカ形式の開閉扉42aを備える。特図変動表示ゲームの結果によって開閉扉42aを閉じた状態(遊技者にとって不利な状態)から開放状態(遊技者にとって有利な状態)に変換する。 Furthermore, a big winning opening 42 is disposed below the starting opening 36, and an out opening for collecting gaming balls which have flown down without winning at the lower edge of the gaming area 10a below the large winning opening 42. 43 will be opened. The special winning opening 42 is provided with an open / close door 42 a of the attacker type that can be opened by turning in the direction in which the upper end side falls to the front side. Depending on the result of the special view variation display game, the state in which the open / close door 42a is closed (state disadvantageous to the player) is converted to the open state (state advantageous to the player).
また、センターケース51、始動口36やサイドランプ45等の取付部分を除いた遊技領域10a内には、この他、遊技領域10aには、打球方向変換部材としての風車(図示略)、及び多数の障害釘(図示略)などが配設されている。そして、センターケース51と、該センターケース51を挟んで普図始動ゲート34とは反対側に位置する前面構成部材33との間に縦長な円弧状の遊技球通路57が形成されている。 In addition, in the game area 10a except for the attachment portion such as the center case 51, the start opening 36 and the side lamp 45, in the game area 10a, a windmill (not shown) as a hitting direction conversion member The obstacle nails (not shown) etc. are arranged. A vertically long arc-shaped game ball passage 57 is formed between the center case 51 and the front component 33 located on the opposite side of the center case 51 from the common view starting gate 34.
さらに、遊技盤10には、特図変動表示ゲーム及び普図変動表示ゲームを実行する普図・特図表示器35が備えられている。普図・特図表示器35には、特図変動表示ゲームの未処理回数(特図始動記憶数)及び普図変動表示ゲームの未処理回数(普図始動記憶数)が表示される。普図・特図表示器35は、遊技状態を表す遊技状態表示LED(図示略)と併せて、セグメントLEDとして設けられている。 Furthermore, the game board 10 is provided with a common drawing / special drawing display 35 for executing a special drawing fluctuation display game and a common drawing fluctuation display game. The common drawing / special drawing display 35 displays the number of unprocessed times of the special drawing fluctuation display game (number of special drawing starting memories) and the number of non-processing of the common drawing fluctuation display game (number of common drawing starting memories). The common view / special view display 35 is provided as a segment LED together with a game state display LED (not shown) indicating a game state.
普図始動ゲート34内には、該普図始動ゲート34を通過した遊技球を検出するためのゲートSW34a(図9参照)が設けられている。そして、遊技領域10a内に打ち込まれた遊技球が普図始動ゲート34内を通過すると、普図変動表示ゲームが開始される。 In the drawing start gate 34, a gate SW 34a (see FIG. 9) for detecting the gaming ball having passed through the drawing start gate 34 is provided. Then, when the gaming ball driven into the gaming area 10a passes through the common drawing start gate 34, the common drawing variation display game is started.
また、普図変動表示ゲームを開始できない状態で、普図始動ゲート34を遊技球が通過すると、普図始動記憶数が上限数未満であるならば、普図始動記憶数が1加算されて、当該普図変動表示ゲームが当りとなるか否かを示す乱数が普図始動記憶として一つ記憶される。 In addition, when the game ball passes the common drawing start gate 34 in a state where the common drawing fluctuation display game can not be started, if the common drawing start memory number is less than the upper limit number, the common drawing start memory number is incremented by one, A random number indicating whether or not the common drawing variation display game is hit is stored as one common drawing start memory.
普図変動表示ゲームが開始できない状態とは、例えば、普図変動表示ゲームが既に行われ、その普図変動表示ゲームが終了していない状態や、普図変動表示ゲームに当選して始動口36が開状態に変換されている状態のことをいう。 The state in which the common drawing fluctuation display game can not be started means, for example, a state in which the common drawing fluctuation display game has already been played and the common drawing fluctuation display game is not finished, or the common drawing fluctuation display game is won Means the state in which it is converted to the open state.
なお、普図変動表示ゲームは、表示装置53の表示領域の一部で普図変動表示ゲームを表示するようにしてもよく、この場合は識別図柄として、例えば、数字、記号、キャラクタ図柄などを用い、この識別図柄を所定時間変動表示させた後、停止表示させることによって行うようにする。 Note that the common drawing variation display game may display the common drawing variation display game in part of the display area of the display device 53. In this case, for example, numbers, symbols, character symbols, etc. may be displayed as identification symbols. It is made to carry out by making it stop display, after using this identification symbol for a predetermined period of time and displaying it.
普図変動表示ゲームの停止表示が特別の結果態様となった場合には、普図変動表示ゲームに当選したものとして、始動口36の開閉部材36aが所定時間(例えば、0.5秒間)開放される。これにより、始動口36に遊技球が入賞しやすくなり、特図変動表示ゲームの始動が容易となる。始動口36の開閉部材36aは、通常時は遊技球の直径程度の間隔をおいて閉じた状態(遊技者にとって不利な状態)を保持しているが、普図変動表示ゲームの結果が所定の停止表示態様となった場合(普図変動表示ゲームに当選した場合)には、ソレノイド(普電SOL36b、図9参照)によって、逆「ハ」の字状に開いて始動口36に遊技球が流入し易い状態(遊技者にとって有利な状態)に変化させられる。 When the stop display of the common drawing fluctuation display game is a special result mode, the opening / closing member 36a of the starting opening 36 is opened for a predetermined time (for example, 0.5 seconds) on the assumption that the common drawing fluctuation display game is won. Be done. As a result, the game ball can be easily won in the starting opening 36, and the start of the special view variation display game can be facilitated. The opening / closing member 36a of the starting opening 36 normally holds a closed state (a disadvantage for the player) with an interval of about the diameter of the gaming ball, but the result of the common drawing variation display game is predetermined. When it becomes the stop display mode (when it is won in the common view variable display game), by the solenoid (Pu SOL 36b, see FIG. 9), it opens in a reverse "C" shape and the game ball is in the starting opening 36 It is changed to an easy-to-flow state (a state 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 reduces time for displaying the fluctuation of the special view fluctuation display game on the display device 53 as the gaming state based on the result mode of the special view fluctuation display game. An operation state (second operation state) can be generated. The time saving operation state (second operation state) is a state in which the open / close member 36a of the starting opening 36 is likely to be open as compared with 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 common view 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 starting opening 36 per unit time is It is controlled to increase substantially. Further, in the short time operation state, when the starting opening 36 is opened by winning the common drawing variable 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 time saving operation state, the starting opening 36 is opened a plurality of times (for example, twice) instead of one time for one winning result of the common drawing variable display game. Further, in the time-saving operation state, the probability of being a winning result of the common drawing variable display game is controlled to be higher than that in the normal operation state. That is, the number of times the start opening 36 is opened is increased more than in the normal operation state, the gaming ball is more likely to win in the start opening 36, and the start of the special view variation display game becomes easier.
また、始動口36の内部には、始動口36を通過した遊技球を検出するための、始動口SW36d(図9参照)が備えられる。始動口SW36dによって遊技球を検出すると、補助遊技としての特図変動表示ゲームを開始する始動権利が発生する。このとき、特図変動表示ゲームを開始する始動権利は、所定の上限数(例えば4)の範囲内で特図始動記憶として記憶される。 In addition, inside the starting opening 36, a starting opening SW 36d (see FIG. 9) for detecting the gaming ball having passed through the starting opening 36 is provided. When the game ball is detected by the start opening SW 36d, a start right to start a special view variation display game as an auxiliary game is generated. At this time, the start right to start the special view variation display game is stored as a special view start storage within a predetermined upper limit number (for example, 4).
特図変動表示ゲームを直ちに開始できない状態、例えば、既に特図変動表示ゲームが行われ、その特図変動表示ゲームが終了していない状態や、特別遊技状態となっている場合に、始動口36に遊技球が入賞すると、特図始動記憶数が上限数未満(例えば、4個未満)ならば、特図始動記憶数が1加算され、始動口36に遊技球が入賞したタイミングで抽出された乱数が特図始動記憶として一つ記憶される。そして、特図変動表示ゲームが開始可能な状態となると、特図始動記憶に基づき特図変動表示ゲームが開始される。 If the special view variation display game can not be started immediately, for example, the special view variation display game has already been played and the special view variation display game has not ended, or the special game state is in effect, the starting opening 36 If the game ball wins, 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 the game ball is extracted at the timing when the game ball wins One random number is stored as a special view start memory. Then, when the special figure variation display game is ready to be started, the special figure variation 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 the auxiliary game is executed by the general drawing / special figure display 35 provided on the game board 10, and after variably displaying a plurality of identification information, the predetermined result mode is stopped and displayed. To be done. In addition, a plurality of types of identification information (for example, numbers, symbols, character patterns, etc.) are variably displayed on the display device 53 in response to the special view variation display game. And, as a result of the special figure fluctuation display game, when the display mode of the common figure / special figure display 35 becomes the special result mode, it becomes the big hit and becomes the special game state (so-called, big hit state). In addition, in response to this, the display mode of the display device 53 is also a special result mode (for example, any of Zoro's numeral such as "7, 7, 7"). In addition, you may be comprised so that a special figure change display game may be performed only with the display apparatus 53 instead of the common drawing and the special figure display 35. FIG.
また、本発明の第1の実施の形態の遊技機1は、特図変動表示ゲームの結果態様に基づき、遊技状態として確変状態(第2確率状態)を発生可能となっている。この確変状態(第2確率状態)は、特図変動表示ゲームでの当り結果となる確率が、通常確率状態(第1確率状態)に比べて高い状態である。なお、確変状態と上述した時短動作状態はそれぞれ独立して発生可能であり、両方を同時に発生することも可能であるし、一方のみを発生させることも可能である。 Further, the gaming machine 1 according to the first embodiment of the present invention is capable of generating a probability change state (second probability state) as a game state based on the result mode of the special view change display game. The probability variation state (second probability state) is a state in which the probability of being a hit result in the special figure variation display game is higher than that of the normal probability state (first probability state). It should be noted that the probability variation state and the above-described short time operation state can be generated independently of each other, and both can be generated simultaneously or only one can be generated.
図3は、本発明の第1の実施の形態のセンターケース51の分解斜視図である。 FIG. 3 is an exploded perspective view of the center case 51 according to the first embodiment of this invention.
センターケース51は、遊技盤本体10b(遊技盤10)の表面側に前面構成部として配置される枠装飾部65と、遊技盤本体10bの裏面側に裏面構成部として配置される枠体基部60とを前後に重合して構成されている。枠装飾部65は、遊技盤本体10bの表
面に止着される環状の装飾ベース66を備える。装飾ベース66の裏面側には、装飾ベース66と略同じ大きさで円形状に形成された装飾パネルユニット67を備え、枠装飾部65は、装飾ベース66と装飾パネルユニット67とを前後に重合して構成されている。
The center case 51 has a frame decoration portion 65 disposed as a front structure on the front surface side of the game board main body 10b (game board 10) and a frame base 60 disposed as a back surface structure portion on the back surface side of the game board main body 10b. And are composed by polymerizing before and after. The frame decoration portion 65 includes an annular decoration base 66 fixed to the surface of the game board main body 10b. The back surface side of the decorative base 66 is provided with a decorative panel unit 67 formed in a circular shape with substantially the same size as the decorative base 66, and the frame decorative portion 65 polymerizes the decorative base 66 and the decorative panel unit 67 back and forth Is configured.
装飾ベース66の下部には、上面に遊技球を前後方向及び左右方向に転動可能なベース側ステージ部49aが配置され、該ベース側ステージ部49aと遊技球通路57との間には装飾ランプ48が配置されている(図2参照)。そして、ベース側ステージ部49aを挟んで装飾ランプ48とは反対側には、遊技球が流下可能な球導入路(ワープ流路)50が設けられ、球導入路50の入口50aを装飾ベース66の外方へ向けて開放した状態で開設し、球導入路50の出口50bを後述する装飾パネルユニット67の裏側へ連通している。 At the lower part of the decoration base 66, a base side stage portion 49a capable of rolling the game ball in the front and rear direction and the left and 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 are arranged (see FIG. 2). A ball introducing passage (warp passage) 50 through which the game balls can flow is provided on the opposite side of the base side stage portion 49a to the decoration lamp 48, and the entrance 50a of the ball introducing passage 50 is used as a decoration base 66 And the outlet 50b of the ball introduction passage 50 is in communication 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 ornaments 47 are disposed on the front edge of the cover panel portion 69. When the decorative panel unit 67 and the decorative base 66 are polymerized, the accessory 47 is set to be arranged along the inner peripheral edge of the decorative base 66 (see FIG. 2). In addition, a reliability notification device 15 is disposed on the top of the cover panel 69.
また、カバーパネル部69の裏面側の下部には、上面に遊技球を前後方向及び左右方向に転動可能なユニット側ステージ部49bが配置される。ユニット側ステージ部49bは、装飾ベース66のベース側ステージ部49aよりも上方に配置される。 Further, at the lower part on the back surface side of the cover panel part 69, a unit side stage part 49b capable of rolling the gaming ball in the front and back direction and the left and right direction is arranged on the upper surface. The unit side stage portion 49 b is disposed above the base side stage portion 49 a of the decoration base 66.
さらに、カバーパネル部69のうち球導入路50の出口50bに重合する箇所には球流入口68を開設し、該球流入口68を介して球導入路50とユニット側ステージ部49bとを連通している。したがって、遊技領域10aを流下する遊技球が球導入路50に流入すると、球導入路50がこの遊技球をユニット側ステージ部49b上に導入できるように構成されている。 Further, a ball inlet 68 is opened at a position overlapping with the outlet 50b of the ball introduction passage 50 in the cover panel portion 69, and the ball introduction passage 50 and the unit side stage portion 49b are communicated via the ball inlet 68 doing. Therefore, when a game ball flowing down the game area 10a flows into the ball introduction path 50, the ball introduction path 50 is configured to be able to introduce the game ball onto the unit side stage portion 49b.
枠体基部60は、遊技盤10の裏面側に止着される額縁状の基部ケース61を前側が開放した状態で備え、該基部ケース61の内側(言い換えるとセンターケース51の内部)に、開口部62aが前面側に設けられた凹室62を形成している。 The frame base 60 is provided with a frame-like base case 61 fixed to the back side of the game board 10 in a state where the front side is open, and the frame case base 60 is opened inside the base case 61 (in other words, inside the center case 51). The portion 62a forms a recessed chamber 62 provided on the front side.
また、基部ケース61のうち凹室62の後方には矩形状の窓部52を前後方向へ貫通して開設し、基部ケース61の後方から表示装置53を装着して、表示装置53の表示部53aを窓部52及び凹室62を通してセンターケース51の前方へ臨ませている。 Further, a rectangular window portion 52 is penetrated in the back and forth direction behind the concave chamber 62 of the base case 61 and the display device 53 is attached from the rear of the base case 61, and the display portion of the display device 53 53 a is made to face the front of the center case 51 through the window 52 and the recessed chamber 62.
さらに、窓部52の上縁部の前側には、役物駆動ソレノイド(図示せず)によって上下動可能な複数の装飾ピース46が配置され、窓部52の左右両側の周縁には、表示部53aの前方へ移動して演出動作を行う可動演出装置58が備えられる。 Furthermore, on the front side of the upper edge of the window 52, a plurality of decorative pieces 46 which can be moved up and down by a gift driving solenoid (not shown) are arranged. A movable effect device 58 is provided which moves forward in a direction 53a to perform an effect operation.
そして、枠体基部60の前方に枠装飾部65を重合すると、凹室62の開口部62a及び窓部52をカバーパネル部69で前方から被覆し、表示装置53の表示部53aを枠装飾部65の内側(カバーパネル部69が露出した箇所)からセンターケース51の前方へ臨ませるように構成されている。 Then, when the frame decoration portion 65 is superposed on the front of the frame base portion 60, the opening 62a and the window 52 of the recessed chamber 62 are covered from the front by the cover panel 69, and the display 53a of the display device 53 is the frame decoration The front case 65 is configured to be exposed to the front of the center case 51 from the inside of the portion 65 (where the cover panel portion 69 is exposed).
図4及び図5は、本発明の第1の実施の形態の可動演出装置58の構成を説明する図である。 FIG.4 and FIG.5 is a figure explaining the structure of the movable presentation apparatus 58 of the 1st Embodiment of this invention.
可動演出装置58は、第1演出ユニット63と第2演出ユニット64とを互いに離間した位置に備えて構成され、第1演出ユニット63及び第2演出ユニット64が連動して演
出動作が実行される。
The movable effect device 58 includes the first effect unit 63 and the second effect unit 64 at mutually spaced positions, and the first effect unit 63 and the second effect unit 64 cooperate to execute the effect operation. .
図4は、可動演出装置58が動作する前の状態を示す図であり、図5は、可動演出装置58が動作し、第1演出ユニット63及び第2演出ユニット64が動作した結果、当接部(第1当接部121及び第2当接部122)にて当接している状態を示す図である。 FIG. 4 is a view showing a state before the movable effect device 58 operates. FIG. 5 is a contact as a result of the movable effect device 58 operating and the first effect unit 63 and the second effect unit 64 operating. It is a figure which shows the state contact | abutted in the part (The 1st contact part 121 and the 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 periphery of the window 52 of the base case 61. In addition, the second effect unit 64 is disposed on the right side of the center case 51. The recessed chamber 62 and the window 52 are disposed between the first effect unit 63 and the second effect unit 64 as viewed from the front of the center case 51.
第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 movable forward of the display unit 53a, and an accessory driving first motor as a first effect drive source that generates a driving force for the first effect member 70 (MOT 71) and a first effect transmission mechanism (a first main arm member 73 and a first sub arm member 74) for transmitting the driving force (rotational force) generated from the first character drive MOT 71 to the first effect member 70. .
また、役物駆動第1MOT71の出力軸(第1出力軸)71aがセンターケース51の前後方向に延在し、第1出力軸71aには第1駆動ギア76を共回り可能に軸着している。 Further, the output shaft (first output shaft) 71a of the first MOT 71 for product driving extends in the front-rear direction of the center case 51, and the first drive gear 76 is rotatably mounted on the first output shaft 71a. There is.
第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 meshed with the first drive gear 76, and is pivotally mounted above the first drive gear 76. The first auxiliary arm member 74 is formed with a first auxiliary arm gear 78 engaged with the first drive gear 76, and is pivotally mounted below the first drive gear 76. The first main arm member 73 and the first sub arm member 74 are pivotally attached to the first effect member 70 at different positions of the end opposite to the end that is pivotally attached to the base case 61, and the first effect member It supports 70.
第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 drive first MOT 71 and rotates the first drive gear 76 clockwise from the front of the center case 51, the driving force (rotational force) of the accessory drive first MOT 71 is calculated. 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 rotates counterclockwise as viewed from the front of the center case 51 by this driving force. Do. Further, the driving force of the first article driving member MOT 71 is transmitted to the first auxiliary arm member 74 through the first driving gear 76 and the first auxiliary arm gear 78, and the driving force of the first auxiliary arm member 74 becomes the first main arm. It rotates in the same counterclockwise direction as the arm member 73. As a result, the first effect member 70 is lifted 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 first character driving member MOT 71 and set in the vertical orientation, as shown in FIG. In the first effect stop state where it is positioned away from the front of the display unit 53a, the first effect member 70 is located to the side of the window 52 and is hidden behind the frame decoration unit 65 and behind the game board main body 10b (See Figure 2).
一方、第1演出停止状態から役物駆動第1MOT71を駆動して第1駆動ギア76をセンターケース51の正面から見て反時計方向へ回動すると、役物駆動第1MOT71の駆動力(回動力)を第1駆動ギア76及び第1主腕ギア77を介して第1主腕部材73へ伝達し、この駆動力により第1主腕部材73がセンターケース51の正面から見て時計方向へ回動する。 On the other hand, when the first drive gear 76 is turned counterclockwise as viewed from the front of the center case 51 by driving the first product drive MOT 71 from the first effect stop state, the drive force of the first product drive MOT 71 (rotation power Is transmitted to the first main arm member 73 through the first drive gear 76 and the first main arm gear 77, and the driving force causes the first main arm member 73 to rotate clockwise as viewed from the front of the center case 51. Move.
また、役物駆動第1MOT71の駆動力を第1駆動ギア76及び第1副腕ギア78を介して第1副腕部材74へ伝達し、この駆動力により第1副腕部材74が第1主腕部材73と同じ時計方向へ回動する。この結果、第1演出部材70が第1主腕部材73及び第1副
腕部材74に支持された状態で下降する。
Further, the driving force of the first article driving member MOT 71 is transmitted to the first auxiliary arm member 74 through the first driving gear 76 and the first auxiliary arm gear 78, and the driving force of the first auxiliary arm member 74 becomes the first main arm. 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 portion 53a by the driving force of the first MOT 71 and set to the sideways posture, as shown in FIG. In the first effect execution state in which the member 70 is positioned forward of the display unit 53a, 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 movable to the front of the display unit 53a, and a second product drive second motor as a second effect drive source that generates a driving force for the second effect member 80 (MOT And 81) and a second effect transmission mechanism (a second main arm member 83 and a second sub arm member 84) for transmitting the driving force (rotational force) generated from the second character driving member MOT 81 to the second effect member 80. .
また、役物駆動第2MOT81を出力軸(第2出力軸)81aがセンターケース51の前後方向に延在し、第2出力軸81aには第2駆動ギア86を共回り可能に軸着している。 Further, the second drive gear 86 is rotatably mounted on the second output shaft 81a so that the second drive gear 86 is rotatably mounted on the second output shaft 81a. There is.
第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 engaged with the second drive gear 86, and is axially attached to a position closer to the first effect unit 63 than the second drive gear 86. The second auxiliary arm member 84 is formed with a second auxiliary arm gear 88 engaged with the second drive gear 86, and is pivotally mounted below 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 different from each other at the opposite ends of the end portion pivotally attached to the base case 61, and the second effect member It supports 80.
第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 drive second MOT 81 and rotates the second drive gear 86 clockwise from the front of the center case 51, the driving force (rotational power) of the accessory drive second MOT 81 is calculated. The second main arm member 83 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 is rotated counterclockwise as viewed from the front of the center case 51 by this driving force. Do. Further, the driving force of the accessory driving second MOT 81 is transmitted to the second subsidiary arm member 84 through the second driving gear 86 and the second subsidiary arm gear 88, and the driving force of the second subsidiary arm member 84 is the second main arm. 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 second article driving member MOT 81 to cause the second effect member 80 to reach the bottom dead center, and the second main arm member 83 and As shown in FIG. 4, when the second auxiliary arm member 84 is turned to extend obliquely downward and set in the vertical orientation, and the second effect member 80 is slightly raised from the bottom dead center, as shown in FIG. In the second effect stop state in which the member 80 is positioned away from the front of the display unit 53a, the second effect member 80 is hidden behind the frame decoration unit 65 and behind the gaming 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 second drive gear 86 is turned in the counterclockwise direction when the second drive gear 86 is viewed from the front of the center case 51 from the second effect stop state by driving the second drive gear MOT 81, the driving force of the second product drive MOT 81 ) 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 is rotated 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 subsidiary arm member 84 through the second driving gear 86 and the second subsidiary arm gear 88, and the driving force of the second subsidiary arm member 84 is the second main arm It rotates in the same clockwise direction as the arm member 83. As a result, the second effect member 80 ascends 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 portion 53a by the driving force of the second MOT 81 for driving the product and set to the sideways posture, as shown in FIG. In the second effect execution state in which the member 80 is positioned forward of the display 53a, the second effect member 80 is in front of the central portion of the display 53a in the space between the display 53a and the cover panel 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 this 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 as a base. The first effect base 100 is formed of a transparent resin. A first main arm shaft attachment portion 101 for pivotally mounting the first main arm member 73 from the front of the first effect base 100 is formed in the upper portion of the first effect base 100, and in the lower portion of the first effect base 100 A first sub arm shaft attachment portion 102 is formed to pivotally attach the first sub arm member 74 from the rear of the first effect base 100.
第1演出ベース100の前面には、光を拡散しながら透過可能な第1光拡散シート103が重合される。さらに、第1光拡散シート103の前面に透明な第1保護パネル104を重合することによって、第1光拡散シート103が第1演出部材70から脱落することを阻止している。 A first light diffusion sheet 103 capable of transmitting light while diffusing light is polymerized on the front surface of the first effect base 100. Furthermore, the transparent first protection panel 104 is polymerized on the front surface of the first light diffusion sheet 103 to prevent the first light diffusion 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 effect base 100 is recessed forward to form a first substrate storage space portion 105, and a light emitting device such as an LED (refer to FIG. 17) is formed in the first substrate storage space portion 105. The mounted first light emitting substrate 106 is housed. Furthermore, in this state, the first substrate storage space portion 105 is closed by the first base cover portion 107, and the first light emitting substrate 106 is prevented from dropping off from 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, this light is transmitted through the first effect base 100, the first light diffusion sheet 103, and the first protection panel 104 and is irradiated to the front of the center case 51. Is configured as.
さらに、第1当接部121の第1基板収納空間部105側には、後部が開放された第1演出磁石ホルダ124を窪ませて形成されている。第1演出磁石ホルダ124には、ボタン形状の永久磁石からなる第1磁石125を磁極が第2演出部材80側へ向いた姿勢で、第1磁石125が第1当接部121(第1演出磁石ホルダ124)から脱落しないように収納されている。 Furthermore, the first effect magnet holder 124 whose rear is open is formed on the first substrate storage space portion 105 side of the first contact portion 121 so as to be recessed. In the first effect magnet holder 124, the first magnet 125 is a first contact portion 121 (first effect) in a posture in which the magnetic pole of the first magnet 125 formed of a button-shaped permanent magnet faces the second effect member 80 side. It is stored so as not to drop out of the magnet holder 124).
第1発光基板106には、装飾装置620の発光を制御するためのI2CI/Oエクスパンダ615(図17参照)が搭載され、演出制御装置550から出力された制御信号(電気信号)など送信するためのデータ線(データ信号線)及びクロック線(信号線)が接続される。さらに、装飾装置620を発光させるために必要な電力を供給するための電源線などが接続される。これらの接続線は、ケーブル108としてまとめられて接続されている。 An I 2 CI / O expander 615 (see FIG. 17) for controlling light emission of the decoration device 620 is mounted on the first light emitting substrate 106, and a control signal (electric signal) output from the effect control device 550, etc. Data lines (data signal lines) and clock lines (signal lines) for transmission are connected. Furthermore, a power supply line or the like for supplying power necessary to cause the decoration device 620 to emit light is connected. These connection lines are collectively connected 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 this 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 having a cutout portion at the top as viewed from the front of the center case 51. In the second effect stop state, the upper and lower sides of the second effect member 80 are inclined downward from the second effect unit 64 side to 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 to be inclined downward from the second effect unit 64 side to 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 is provided with a second effect base 110 as a base. The second effect base 110 is formed of a transparent resin. A second main arm shaft attachment portion 111 for pivotally mounting the second main arm member 83 from the front of the second effect base 110 is formed on the upper portion of the second effect base 110, and the lower portion of the second effect base 110 is A second sub-arm shaft attachment portion 112 is formed to pivotally attach the second sub-arm member 84 from the rear of the second effect base 110.
さらに、第2演出ベース110の前面には、光を拡散しながら透過可能な第2光拡散シート113を重合される。第2光拡散シート113の前面に透明な第2保護パネル114を重合することによって、第2光拡散シート113が第2演出部材80から脱落することを阻止している。 Furthermore, the second light diffusion sheet 113 capable of transmitting light while diffusing light is polymerized on the front surface of the second effect base 110. By polymerizing the transparent second protection panel 114 on the front surface of the second light diffusion sheet 113, the second light diffusion sheet 113 is prevented from dropping off from 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 of the second effect base 110 is recessed forward to form a second substrate storage space portion 115, and a light emitting device (decorative device 620) such as an LED is mounted on the second substrate storage space portion 115. 2 The light emitting substrate 116 is housed, and in this state, the second substrate housing space portion 115 is closed by the second base lid portion 117 to prevent the second light emitting substrate 116 from falling off 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, this light is transmitted 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. Is configured as.
さらに、第2当接部122の第2基板収納空間部115側には、後部が開放された第2演出磁石ホルダ128を窪ませて形成されている。第2演出磁石ホルダ128には、ボタン形状の永久磁石からなる第2磁石129が、第1当接部121及び第2当接部122を挟んで第1磁石125とは対称となる位置に収納されている。 Furthermore, the second effect magnet holder 128 whose rear portion is opened is formed on the second substrate storage space 115 side of the second contact portion 122 so as to be recessed. A second magnet 129 formed of a button-shaped permanent magnet is stored in the second effect magnet holder 128 at a position symmetrical to the first magnet 125 with the first contact portion 121 and the second contact portion 122 interposed therebetween. It is done.
第2発光基板116には、第1発光基板106と同様に、装飾装置620の発光を制御するためのI2CI/Oエクスパンダ615(図17参照)が搭載され、演出制御装置550から出力された制御信号などを送信するためのデータ線及びクロック線(信号線)が接続される。さらに、装飾装置620を発光させるために必要な電力を供給するための電源線などが接続される。これらの接続線は、ケーブル118としてまとめられて接続されている。 Similar to the first light emitting substrate 106, the second light emitting substrate 116 is mounted with an I 2 CI / O expander 615 (see FIG. 17) for controlling light emission of the decoration device 620, and output from the effect control device 550 Data lines and clock lines (signal lines) for transmitting the control signals and the like are connected. Furthermore, a power supply line or the like for supplying power necessary to cause the decoration device 620 to emit light is connected. These connection lines are collectively connected 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 portion 121 in the first effect member 70 and the second contact portion 122 in the second effect member 80. Then, 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 with 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 to generate a suction force between the first magnet 125 and the second magnet 129. Furthermore, the formed decorative body is configured to be positioned in front of the central portion of the display portion 53a.
図8は、本発明の第1の実施の形態の遊技機1の配線を説明する図である。 FIG. 8 is a diagram for explaining the 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. In addition, the effect control device 550 is attached to the back of the display device 53. The effect control device 550 is provided with a connection terminal 90, and transmits control signals and supplies power to the effect device to be controlled via the connection terminal 90. Specifically, it is connected to a relay board 600 described later via a cable 91.
また、遊技盤本体10bの背面下部には、遊技制御装置500や各種制御基板を含む制御ユニット700が配置される。制御ユニット700に搭載される制御基板には、演出制御装置550から送信された制御信号を、装飾制御装置610(図11参照)に中継する中継基板600が含まれる。装飾制御装置610は、詳細については後述するが、遊技を演出するための発光装置(例えば、LED)や可動物(例えば、モータ)などの演出装置の制御を行う。また、中継基板600は、装飾制御装置610と同様に、発光装置や可動物を接続可能である。 In addition, a control unit 700 including a game control device 500 and various control boards is disposed at the lower rear of the game board main body 10b. The control substrate mounted on the control unit 700 includes a relay substrate 600 for relaying the control signal transmitted from the effect control device 550 to the decoration control device 610 (see FIG. 11). Although the decoration control device 610 will be described later in detail, the decoration control device 610 controls a rendering device such as a light emitting device (for example, an LED) or a movable object (for example, a motor) for producing a game. Further, similarly to the decoration control device 610, the relay substrate 600 can connect a light emitting device and a movable object.
中継基板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 91 a 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 substrate 600. Furthermore, connectors 602 a to 602 e for connecting to the decoration control device 610 that controls the respective rendering devices provided in the gaming machine 1 are provided.
さらに、中継基板600には、接続されたケーブルの接続状態を示す空き端子モニタ603が備えられている。空き端子モニタ603の詳細については、図15にて説明する。 Furthermore, the relay board 600 is provided with a vacant terminal monitor 603 which indicates the connection state of the connected cable. Details of the free terminal monitor 603 will be described with reference to FIG.
また、図示は略するが、遊技制御装置500を構成するユニットが、中継基板600のコネクタ装着面を覆うようにして設けられている。そのため、遊技制御装置500は、中継基板600の各コネクタに必要なケーブルを装着した後に取り付けられる配置構成となっている。 Although not shown, units constituting the gaming control device 500 are provided so as to cover the connector mounting surface of the relay board 600. Therefore, the game control device 500 is arranged and attached after the necessary cables are attached to the connectors of the relay board 600.
前面枠3には、当該前面枠3に配置されたスピーカ30及び装飾部材9a、9bなどを制御するための信号を送信するケーブル3bが接続されている。このケーブル3bのコネクタは、演出制御装置550の接続端子92に接続される。 The front frame 3 is connected to a speaker 30 disposed on the front frame 3 and a cable 3b for transmitting a signal for controlling the decorative members 9a, 9b and the like. The connector of the cable 3 b 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. The side lamp 45 is connected with a cable 45 a for transmitting power and signals, and is introduced to the back side of the game board 10 from the opening 45 b. The cable 45a introduced to the back side of the game board 10 is connected to the relay board 600, and is connected to, for example, 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, the starting opening 36 and the big winning opening 42 are disposed at the lower part of the game board 10. On the back side of the game board 10 where the starting opening 36 is arranged, a common power solenoid (SOL) 36 b for opening and closing an opening / closing member 36 a which is opened when the common drawing variation display game is won is arranged. Further, when the special figure variation display game is won, a large winning opening SOL 42 b for opening and closing the large winning opening 42 is also disposed on the back side of the gaming board 10. A cable (not shown) for receiving an input of a control signal is connected to the general electric charge SOL 36 b and the large winning opening SOL 42 b, and the cable is connected to the game control device 500. In addition, the cable 42C is connected to the relay substrate 600 as a cable for transmitting power and a signal for lighting the LED for effect provided inside the big winning opening 42, and is connected to, for example, the connector 602f.
前述のように、遊技盤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 central portion of the game board 10. Inside the center case 51, a movable effect device 58 configured 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 are motors for operating the first effect member 70 and the second effect member 80 (a first product driving motor) 71, a bonus product 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 effect 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 substrate 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 the decoration control device 610 (see FIG. 11) for controlling the effect device such as an LED disposed inside the center case 51. Ru. The cable 653 is connected from the opening 51a provided in the center case 51 to the relay substrate 600 on the back side of the game board 10, and is connected to, for example, the connector 602a.
図9は、本発明の第1の実施の形態の遊技機1の構成を示すブロック図である。 FIG. 9 is a block diagram showing the 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 for controlling the game in an integrated manner, a presentation control device 550 for controlling the display device 53 and the speaker 30 to perform various effects, and a payout motor (not shown) to pay out the gaming ball. It has a payout control device 580 to control.
まず、遊技制御装置500の構成について説明する。なお、演出制御装置550については、図10にて説明する。 First, the configuration of the game control device 500 will be described. The effect control device 550 will be described with reference to FIG.
遊技制御装置500は、遊技用マイコン501、入力I/F(Interface)505、出力I/F(Interface)506、及び外部通信端子507を備える。 The game control device 500 includes a gaming 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 read only memory (ROM) 503, and a random access memory (RAM) 504.
CPU502は、遊技を統括的に制御する主制御装置であって、遊技制御を司る。ROM503は、遊技制御のための不変の情報(プログラム、データ等)を記憶している。RAM504は、遊技制御時にワークエリアとして利用される。 The CPU 502 is a main control device that controls the game in an integrated manner, and controls the game control. The ROM 503 stores invariable information (program, data, etc.) for game control. The RAM 504 is used as a work area at the time of game control.
外部通信端子507は、遊技制御装置500の設定情報等を検査する検査装置等の外部機器に遊技制御装置500を接続する。 The external communication terminal 507 connects the game control device 500 to an external device such as an inspection device that inspects setting information and the like of the game control device 500.
CPU502は、入力I/F505を介して各種入力装置(始動口SW36d、一般入賞口SW44a〜44n、ゲートSW34a、カウントSW42d、ガラス枠開放SW18a、前面枠開放SW3a、球切れSW54、振動センサ55、及び磁気センサ56)からの検出信号を受けて、大当り抽選等、種々の処理を行う。 The CPU 502 receives various input devices (starting opening SW 36 d, general winning opening SW 44 a to 44 n, gate SW 34 a, count SW 42 d, glass frame opening SW 18 a, front frame opening SW 3 a, ball breakage SW 54, 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 starting opening SW 36 d is a switch for detecting that the gaming ball has won the starting opening 36. The general winning opening SWs 44 a to 44 n are switches for detecting that the gaming ball has won the general winning opening 44.
ゲートSW34aは、普図始動ゲート34を遊技球が通過したことを検出するスイッチである。カウントSW42dは、大入賞口42に遊技球が入賞したことを検出するスイッチである。 The gate SW 34 a is a switch for detecting that the gaming ball has passed through the common view starting gate 34. The count SW 42 d is a switch for detecting that the gaming ball has won the large winning opening 42.
ガラス枠開放SW18aは、ガラス枠18が開放されたことを検出するスイッチである。前面枠開放SW3aは、前面枠3が開放されたことを検出するスイッチである。 The glass frame opening switch 18a is a switch for detecting that the glass frame 18 has been opened. The front frame opening switch 3a is a switch that detects that the front frame 3 has been opened.
球切れSW54は、遊技機1の内部に貯留され、払い出しに用いられる遊技球の数が所定数以下になったことを検出するスイッチである。 The out-of-ball SW 54 is a switch that is stored inside the gaming machine 1 and detects that the number of gaming balls used for payout has become equal to or less than a predetermined number.
振動センサ55は、遊技機1に与えられた振動を検出するセンサであり、遊技機1を振動させるなどの不正行為を検出する。磁気センサ56は、始動口36の第2始動入賞口、一般入賞口44、大入賞口42、及び普図始動ゲート34付近に設けられ、磁力を検出するセンサである。磁気センサ56は、各入賞口付近に磁石を近づけて、遊技領域10aに発射された遊技球を各入賞口に導く不正を検出する。 The vibration sensor 55 is a sensor that detects a vibration given to the gaming machine 1 and detects a fraudulent act such as vibrating the gaming machine 1. The magnetic sensor 56 is a sensor provided in the vicinity of the second start winning opening of the starting opening 36, the general winning opening 44, the big winning opening 42, and the common drawing start gate 34 to detect a magnetic force. The magnetic sensor 56 brings a magnet close to each winning opening and detects an injustice leading the gaming balls fired to the game area 10a to each winning opening.
また、CPU502は、出力I/F506を介して、普図・特図表示器35、普電SOL36b、大入賞口SOL42b、払出制御装置580、及び演出制御装置550に指令信号を送信して、遊技を統括的に制御する。 In addition, the CPU 502 transmits a command signal to the common drawing / special drawing display 35, the common electric 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 to play the game. Control the
普図・特図表示器35には、前述のように、特図変動表示ゲーム及び普図変動表示ゲームが実行される。さらに、特図変動表示ゲームの未処理回数(特図始動記憶数)及び普図変動表示ゲームの未処理回数(普図始動記憶数)が表示される。普図変動表示ゲームが当りとなるか否かを示す乱数を含む普図始動記憶、及び特図変動表示ゲームが当りとなるか否かを示す乱数を含む特図始動記憶が記憶されている。 As described above, the special view variation display game and the general view variation display game are executed on the common view / special view display 35. Furthermore, the number of unprocessed times of the special figure fluctuation display game (number of special drawing start memories) and the number of unprocessed games of the common drawing fluctuation display game (number of common drawing start memories) are displayed. A common drawing start memory including a random number indicating whether the common drawing fluctuation display game is a hit and a special drawing start memory including a random number indicating whether the special drawing fluctuation display game is to be hit are stored.
普電SOL36bは、普図変動表示ゲームの停止表示が特別の結果態様となった場合に、開閉部材36aを開放することによって、始動口36に遊技球が入賞しやすい状態にする。 When the stop display of the common drawing variation display game results in a special result mode, the common electric charge SOL 36 b opens the opening / closing member 36 a to make the gaming ball easy to win in the starting opening 36.
大入賞口SOL42bは、特図変動表示ゲームの結果が特別の結果態様となって、特別遊技状態(大当たり状態)となった場合に、大入賞口42の開閉扉42aを開放して、遊技球が入賞しやすい状態に変換する。 When the special game variation display game results in a special result mode and becomes a special game state (big hit state), the special winning opening SOL 42b opens the open / close door 42a of the special winning opening 42, and the game ball Convert to a state that is easy to win.
遊技制御装置500は、外部情報端子508から図示しない情報収集端末装置を介して、遊技機データを図示しない遊技場管理装置に出力する。遊技場管理装置は、遊技場に設置された遊技機1の遊技データを収集管理する計算機である。 The game control device 500 outputs game machine data to a game arcade management device (not shown) from an external information terminal 508 via an information collection terminal device (not shown). The game arcade management device is a computer that collects and manages game data of the game machine 1 installed in the game arcade.
払出制御装置580は、遊技球が一般入賞口44又は大入賞口42に入賞した場合に、入賞した入賞口に対応する数の遊技球の払出指令を遊技制御装置500から受信する。また、球貸ボタン26が操作された場合にも所定数の遊技球の払い出しを行う払出指令を遊技制御装置500から受信する。払出制御装置580は、受信した払出指令に基づいて、図示しない払出モータを制御し、払出指令に指定された数の遊技球を払い出す。 The payout control device 580 receives, from the game control device 500, a payout command for the number of gaming balls corresponding to the winning openings that have won when the gaming ball has won the general winning opening 44 or the large winning opening 42. In addition, the game control device 500 receives a payout command for paying out a predetermined number of gaming balls even when the ball lending button 26 is operated. The payout control device 580 controls a payout motor (not shown) based on the received payout command, and pays out the number of gaming balls specified in the payout command.
遊技制御装置500は、変動開始コマンド、客待ちデモコマンド、ファンファーレコマンド、確率情報コマンド、及びエラー指定コマンド等を、遊技の状況を示す遊技データとして、出力I/F506を介して、演出制御装置550へ送信する。 The game control device 500, through the output I / F 506, as a game data indicating the status of the game, such as a change start command, a customer wait demo command, a fanfare command, a probability information command, and an error designation command. Send to
図10は、本発明の第1の実施の形態の演出制御装置550の構成を示すブロック図で
ある。
FIG. 10 is a block diagram showing a configuration of the effect control device 550 according to the first embodiment of this invention.
演出制御装置550は、遊技制御装置500から入力される遊技データに基づいて、演出内容を決定し、表示装置53を制御するとともに、遊技盤10及び前面枠3に備えられた各種演出装置を制御する。演出装置には、LEDなどの発光装置やモータ又はソレノイドなどの可動物が含まれる。 Based on the game data input from the game control device 500, the effect control device 550 determines the contents of the effect, controls the display device 53, and controls various effect devices provided in the game board 10 and the front frame 3. Do. The rendering device includes a light emitting device such as an LED or the like, 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 effect control device 550 includes a CPU 551, control ROM 552, RAM 553, image ROM 554, sound ROM 555, VDP 556, sound LSI 557, input I / F 558 b, output I / F 558 a, power on detection circuit 559, first master IC 570 a, second master IC 570 b, A NOR gate circuit 561 and a monitoring timer circuit 562 are provided. Furthermore, 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 function 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 a 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 also 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. Be done.
さらに、CPU551は、監視タイマ回路562からもタイムアウト割込としての割込信号(INT)が入力される。監視タイマ回路562は、複数種類の監視タイマが内蔵されており、CPU551によって設定された監視タイマ値がタイムアップすると、CPU551に割込信号を出力する。CPU551は、割込信号の入力を受け付けると、実行中の処理を中断し、入力された割込信号に対応する処理を実行する。 Further, the CPU 551 also receives an interrupt signal (INT) from the monitoring timer circuit 562 as a time-out interrupt. The monitoring timer circuit 562 incorporates 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 timed up. When receiving the input of the interrupt signal, the CPU 551 interrupts the process being executed and executes the process corresponding to the input interrupt signal.
制御ROM552には、演出制御のための不変の情報(プログラム、データ等)が格納されている。RAM553は、演出制御時にワークエリアとして利用される。 The control ROM 552 stores invariable information (program, data, etc.) for effect control. The RAM 553 is used as a work area at the time of effect control.
画像ROM554は、VDP556に接続され、表示装置53に表示される画像データを格納する。VDP556は、表示装置53への画像出力を制御するプロセッサである。 The image ROM 554 is connected to the VDP 556 and stores image data to be 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に割込信号として入力する。 The VDP 556 also includes synchronization signal generating means for generating a synchronization signal synchronized with a cycle (33 ms cycle) for updating the image displayed on the display device 53. The synchronization signal generation means inputs the generated synchronization signal as an interrupt signal to the CPU 551 each time the synchronization signal is generated.
音ROM555は、音LSI557に接続され、前面枠3に備えられたスピーカ30から出力される音データを格納する。音LSI557は、スピーカ30からの音声出力を制御する回路である。 The sound ROM 555 is connected to the sound LSI 557 and stores sound data outputted from the speaker 30 provided in the front frame 3. The sound LSI 557 is a circuit that controls the audio output from the speaker 30.
入力I/F558bは、フィルタ565a及び565bを介して外部から入力された情報を受け付けるインタフェースである。具体的には、前面枠3に備えられた演出ボタン17が操作されたことを示す信号の入力を受け付けたり、遊技盤10に備えられたモータ位置検出センサによって検出された各モータの位置情報などの入力を受け付けたりする。 The input I / F 558 b is an interface that receives information input from the outside via the filters 565 a and 565 b. Specifically, the input of a signal indicating that the effect button 17 provided on the front frame 3 has been operated is accepted, or the position information of each motor detected by the motor position detection sensor provided on the game board 10, etc. Accept the input of
電源投入検出回路559は、演出制御装置550に電源が投入された場合に、第1マスタIC570a及び第2マスタIC570bのレジスタをデフォルト状態(すべて0)に初期化するリセット信号を発生させ、NORゲート回路561に出力する。 The power-on detection circuit 559 generates a reset signal for initializing the registers of the first master IC 570a and the second master IC 570b to the default state (all 0) when power is supplied to the effect control device 550, thereby generating a NOR gate. It outputs to the circuit 561.
また、CPU551は、所定の条件が成立した場合に、バス563を介してリセット信号を出力I/F558aに出力する。そして、出力I/F558aは、入力されたリセット信号をNORゲート回路561に出力し、さらに、NORゲート回路561から、第1マスタIC570a及び第2マスタIC570bに当該リセット信号を出力する。所定の条件とは、例えば、すべての装飾制御装置610において、エラーフラグが「ON」になった場合などである(図32及び図33参照)。 In addition, the CPU 551 outputs a reset signal to the output I / F 558 a through the bus 563 when a predetermined condition is satisfied. Then, the output I / F 558a outputs the input reset signal to the NOR gate circuit 561, and further, the NOR gate circuit 561 outputs the reset signal to the first master IC 570a and the second master IC 570b. The predetermined condition is, for example, a case where the error flag is set to “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 a rendering device (rendering device driven by a movable object such as a motor or a solenoid) provided on 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に入力される。 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 the state of LOW level in either case. Functions as a signal to command a reset. Therefore, if a reset signal is output to NOR gate circuit 561 from at least one of power on detection circuit 559 and CPU 551, the reset signal is input to first master IC 570a and second master IC 570b via NOR gate circuit 561. .
図11は、本発明の第1の実施の形態の演出制御装置550に備えられた第1マスタIC570aと遊技盤10に備えられた演出装置の構成を示すブロック図である。 FIG. 11 is a block diagram showing a configuration of a first master IC 570a provided in the effect control device 550 according to the first embodiment of this invention and effect devices provided in the game board 10.
遊技盤10は、第1マスタIC570aに接続される中継基板600、当該中継基板600に接続される装飾装置基板625及び補助遊技装置ユニット12を備える。 The game board 10 includes a relay board 600 connected to the first master IC 570 a, a decoration device board 625 connected to the relay board 600, and an auxiliary game machine unit 12.
中継基板600は、第1マスタIC570aから送信された電気信号を、遊技盤10に備えられた装飾制御装置610に送信(中継)する。また、中継基板600には、装飾制御装置610と同様に、演出装置を制御する機能を有し、当該中継基板600に直接接続された装飾装置基板625を制御する。 The relay board 600 transmits (relays) the electric signal transmitted from the first master IC 570 a to the decoration control device 610 provided on the game board 10. Further, similar to the decoration control device 610, the relay substrate 600 has a function of controlling the rendering device, and controls the decoration device substrate 625 directly connected to the relay substrate 600.
装飾装置620は、装飾制御装置610に備えられるI2CI/Oエクスパンダ615(図17参照)によって制御され、電流を流すことによって光が点滅して演出を行う発光装置であり、例えばLEDなどである。装飾装置基板625は、サイドランプ45(図8参照)に設けられる基板であり、サイドランプ45の発光装置(LED)が搭載されている。このサイドランプ45の発光装置は、中継基板600に備えられるI2CI/Oエクスパンダ615によって、直接制御される。 The decoration device 620 is a light emitting device that is controlled by the I 2 CI / O expander 615 (see FIG. 17) included in the decoration control device 610, and performs light by flashing light when current flows, for example, an LED It is. The decoration device substrate 625 is a substrate provided on the side lamp 45 (see FIG. 8), and the light emitting device (LED) of the side lamp 45 is mounted. The light emitting device of the side lamp 45 is directly controlled by the I 2 CI / O expander 615 provided on the relay substrate 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 which is a light emitting device such as an LED, a first product driving motor (MOT) 71 which is a movable object, and a second product 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 substrate 600, but like the decoration device 620, the auxiliary gaming device unit It may be configured to be controlled by the decoration control device 610 included in 12.
役物駆動第1MOT71及び役物駆動第2MOT81は、電流が流れると回転動作することによって演出動作を行う駆動装置である。役物駆動第1MOT71及び役物駆動第2MOT81は、演出制御装置550のドライバ564により中継基板600を経由して直接制御されるので、I2CI/Oエクスパンダ615を介在させる処理は行われない。 The accessory driving first MOT 71 and the accessory driving second MOT 81 are driving devices that perform rendering operations by rotating when current flows. Since the first product drive MOT 71 and the second product drive 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 first symbol driving MOT 71 and the second symbol driving second MOT 81 are included in the movable effect device 58, and more specifically, the first symbol driving MOT 71 is a first effect unit 63, The object drive second MOT 81 is included in the second rendering unit 64.
演出制御装置550は、役物駆動第1MOT71及び役物駆動第2MOT81を制御することによって、第1演出ユニット63及び第2演出ユニット64が連動した演出動作を実行させる。 The effect control device 550 executes the effect operation in which the first effect unit 63 and the second effect unit 64 are interlocked by controlling the first object drive MOT 71 and the second object drive MOT 81.
第1マスタIC570aは、制御対象となる装飾装置620を制御する装飾制御装置610に個別に割り当てられたアドレスを指定して、指定した個別アドレスの装飾制御装置610に装飾装置620の制御内容を出力する。なお、装飾制御装置610の個別アドレスは、正確には、装飾制御装置610に含まれるI2CI/Oエクスパンダ615(図17参照)の個別アドレスである。 The first master IC 570a designates the address individually assigned to the decoration control device 610 that controls the decoration device 620 to be controlled, and outputs the control content of the decoration device 620 to the decoration control device 610 of the specified individual address Do. The individual address of the decoration control device 610 is exactly 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 has a relay substrate (decorative control device) through seven types of connection lines of connection line SDA, connection line SCL, connection line GND, connection line Vcc, connection line Vled, connection line Vms, and connection line Vse. ) Connected to 600). These connection lines are constituted by a cable 91 (see FIG. 8) connecting the first master IC 570a and the relay substrate 600.
接続線SDAは、演出制御装置550と装飾制御装置610との間でデータ信号を授受するための接続線であり、本発明の第1の実施の形態におけるデータ線として機能する。接続線SCLは、接続線SDAでのデータ通信に用いられるクロック信号を入出力するための接続線であり、本発明の第1の実施の形態におけるタイミング信号線として機能する。接続線GNDは、接続線Vcc、接続線Vled、接続線Vms、及び接続線Vseで供給される電源のグランドである。 The connection line SDA is a connection line for transmitting and receiving data signals between the effect control device 550 and the 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 and outputting a clock signal used for data communication in 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 the relay substrate 600 and the decoration control device 610 with a power supply for logic. The connection line Vled is a connection line for supplying power for causing the LED (decorative device 620) to emit light. The connection line Vms is a connection line for supplying power to a motor or a solenoid (specifically, the first product drive MOT 71 and the second product drive MOT 81) included in the auxiliary gaming apparatus unit 12. The connection line Vse is a connection line for supplying power to various sensors (state detection sensors that detect the state of the motor included in the rendering device, specifically, 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が接続される。 Seven types of connection lines for connecting the effect control device 550 and the relay substrate 600 are connected between the relay substrate 600 and the auxiliary gaming device unit 12. In the first embodiment of the present invention, since the motor position detection sensor 560a, the article drive first MOT 71 and the article drive second MOT 81 are directly controlled by the relay substrate 600, 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 on the uppermost stream of the auxiliary gaming apparatus unit 12. Specifically, the connection line Vcc, the connection line Vled, the connection line SDA, the connection line SCL, and the connection line GND are connected between the relay substrate 600 and the decoration control device 610.
なお、図8に示した配線(ケーブル)と各接続線を対応させると、演出制御装置550から中継基板600に引き渡される各種接続線(接続線Vcc、接続線Vled、接続線SDA、接続線SCL、接続線Vms、接続線Vse、及び接続線GND)は、ケーブル91に含まれている。 When the wires (cables) shown in FIG. 8 correspond to the connection lines, 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 substrate 600 The connection line Vms, the connection line Vse, and the connection line GND) are included in the cable 91.
また、これらの各種接続線は、中継基板600からさらに分岐して別の基板に引き渡さ
れ、中継基板600から分岐する接続線Vcc、接続線Vled、接続線SDA、及び接続線SCLはケーブル653に、接続線Vmsはケーブル652に、接続線Vseはケーブル651に含まれている。また、中継基板600から分岐する接続線GNDが、ケーブル651〜653の全てに含まれている。
Further, these various connection lines are branched from the relay substrate 600 and delivered to another substrate, and the connection line Vcc, the connection line Vled, the connection line SDA, and the connection line SCL which are branched from the relay substrate 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 lines GND branched from the relay substrate 600 are included in all of the cables 651 to 653.
第1マスタIC570aと装飾制御装置610とは、接続線SDA及び接続線SCLによって2ライン双方向通信を行う。第1マスタIC570aは、CPU551からの指令に基づいて、装飾制御装置610との間に接続された接続線SDA及び接続線SCLの各信号レベルを制御する(第1の)信号レベル制御手段として機能する。 The first master IC 570 a and the decoration control device 610 perform two-line bi-directional communication through the connection line SDA and the connection line SCL. The first master IC 570a functions as a (first) signal level control unit that controls each signal level of the connection line SDA and the connection line SCL connected with the decoration control device 610 based on an instruction from the CPU 551. Do.
第1マスタIC570aは、中継基板600及び装飾制御装置610にデータを送信する場合には、まず、接続線SCLの信号レベルをHIGHに維持したまま、接続線SDAの信号レベルをHIGHからLOWに変化させることにより、装飾制御装置610へのデータ出力を開始するためのスタート条件を成立させる(装飾制御装置610に対してスタートコンディションを発行(出力)する)。 When transmitting data to the relay substrate 600 and the decoration control device 610, the first master IC 570a 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 established (a start condition is issued (outputted) 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 transmission data while the signal level of the connection line SCL is LOW. 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. Then, 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, and by repeating this procedure 8 times finally, all 8 bits of transmission data become the first master. It is transmitted from IC 570a to decoration control device 610 (one byte of data is transmitted).
そして、第1マスタIC570aは、最後の8ビット目のデータ送信が終了すると、接続線SCLの信号レベルをHIGHからLOWに戻した際に、接続線SDAを解放して装飾制御装置610からの返答信号を受信することを待機する受信待機状態にする。 Then, when the first master IC 570a finishes the data transmission of the final eighth bit, when the signal level of the connection line SCL is returned from HIGH to LOW, the first master IC 570a releases the connection line SDA and returns a response from the decoration control device 610. It waits for the signal to be received to be in the reception standby state.
受信待機状態になると、装飾制御装置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, the first master IC 570a changes the signal level of the connection line SCL from LOW to HIGH to fetch the level of the response signal, and after a predetermined time changes the signal level of the connection line SCL from HIGH to LOW, the decoration control device 610 releases 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 of 1 byte (transmission of downlink data) and reception of 1 bit of response signal (reception of uplink data), and outputs the same to the decoration control device 610. Continue until all data to be output is output. When the first master IC 570a finishes outputting the data to be output, the decoration control is performed 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. A stop condition for ending data output to the device 610 is satisfied (a stop condition is issued to the decoration control device 610).
入力用バッファ571は、装飾制御装置610から接続線SDAを介して入力されたデータが一時的に記憶される記憶装置である。 The input buffer 571 is a storage device for temporarily storing 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 by the filter 575a by the noise removed by the filter 575a. Is stored in
出力用バッファ572は、装飾制御装置610に接続線SDAを介して出力するデータが一時的に記憶される。 The output buffer 572 temporarily stores data to be 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 an instruction from the CPU 551 of the effect control device 550, and outputs a reset signal to the controller 574. The controller 574 centrally controls the first master IC 570a and executes various processes.
フィルタ575aは、接続線SDAから入力されたデータのノイズを除去する。ドライバ576aは、接続線SDAからデータを出力する場合に、トランジスタ578aが動作可能な電圧をトランジスタ578aに印加する。 The filter 575a removes noise of data input from the connection line SDA. When the driver 576a outputs data from the connection line SDA, the driver 576a applies a voltage at which the transistor 578a can operate to the transistor 578a.
接続線SDAは、プルアップ抵抗Rによって所定の電圧が印加され(図21参照)、フィルタ575a及びトランジスタ578aに接続されている。 The connection line SDA is applied with a predetermined voltage by the pull-up resistor R (see FIG. 21), and is connected to the filter 575a and the transistor 578a.
トランジスタ578aは、電力消費を抑えるために電界効果トランジスタ(FET)が用いられている。トランジスタ578aのゲートはドライバ576aに接続され、ドレインはプルアップ抵抗Rにより所定の電圧が印加された接続線SDAに接続され、ソースは接地されている。 The transistor 578a uses a field effect transistor (FET) to reduce power consumption. The gate of the transistor 578a is connected to the driver 576a, 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 the predetermined value for operating the transistor 578a, no current flows between the drain and the source, so the voltage applied to the connection line SDA does not drop, as a result The connection line SDA goes high. On the other hand, if the voltage applied to the gate of the transistor 578a is equal to or higher than the predetermined value for operating the transistor 578a, a current flows from the drain to which the voltage of the predetermined value is applied to the source grounded. As a result, the voltage on the connection line SDA goes low.
なお、トランジスタ578aは、10ミリアンペア程度の電流をドレインからソースへ流しても破損しない仕様のものを用いている。このため、接続線SDAには、通常のI2Cバス使用で用いられる電流値よりもはるかに大きい10ミリアンペア程度の電流を流すことが可能であり、演出制御装置550と装飾制御装置610との間のデータ送信が、ノイズによる障害に耐えうる構成となっている。 Note that the transistor 578a has a specification which is not damaged even when a current of about 10 milliamperes flows from the drain to the source. For this reason, it is possible to flow a current of about 10 milliamperes, which is much larger than the current value used in the normal I 2 C bus use, to the connection line SDA. The data transmission between them is configured to withstand the disturbance 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 at which the transistor 578a can operate 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に印加する。 In addition, the filter 575 b removes noise of data input from the connection line SCL. When the driver 576 b outputs data from the connection line SCL, the driver 576 b applies a voltage at which the transistor 578 b can operate to the transistor 578 b.
接続線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 575 b and the transistor 578 b.
トランジスタ578bは、電力消費を抑えるために電界効果トランジスタ(FET)が用いられている。トランジスタ578bのゲートはドライバ576bに接続され、ドレインはプルアップ抵抗Rにより所定の電圧が印加された接続線SCLに接続され、ソースは接地されている。 The transistor 578 b uses a field effect transistor (FET) 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 the predetermined value for operating the transistor 578b, no current flows between the drain and the source, so the voltage applied to the connection line SCL does not drop, as a result The connection line SCL goes high. On the other hand, if the voltage applied to the gate of the transistor 578b is equal to or higher than the predetermined value for operating the transistor 578b, a current flows from the drain to which the voltage of the predetermined value is applied to the source grounded. The voltage drops, as a result, the connection line SCL goes low.
なお、トランジスタ578bは、10ミリアンペア程度の電流をドレインからソースへ流しても破損しない仕様のものを用いている。そのため、接続線SCLには、通常のI2Cバス使用で用いられる電流値よりもはるかに大きい10ミリアンペア程度の電流を流すことが可能であり、演出制御装置550と装飾制御装置610との間のデータ送信が、ノイズによる障害に耐えうる構成となっている。 Note that the transistor 578 b has a specification which is not broken even when a current of about 10 milliamperes flows from the drain to the source. Therefore, it is possible to pass a current of about 10 milliamperes, which is much larger than the current value used in the normal I 2 C bus use, to the connection line SCL, and between the effect control device 550 and the decoration control device 610. The data transmission of the configuration is able to withstand noise interference.
ドライバ576bは、クロック信号を接続線SCLから出力する場合に、トランジスタ578bにドレインとソースとの間に電流を流すためにトランジスタ578bのゲートにトランジスタ578bが動作可能な値の電圧を印加する。そして、ドライバ576bは、接続線SCLの電圧を、HIGHレベルとLOWレベルとに繰り返し変化させることによって、クロック信号を接続線SCLから出力する。 When the driver 576 b outputs a clock signal from the connection line SCL, the driver 576 b applies a voltage with an operable value to the gate of the transistor 578 b in order to flow current between the drain and the source in the transistor 578 b. Then, the driver 576 b outputs a clock signal from the connection line SCL by repeatedly changing the voltage of the connection line SCL between the HIGH level and the 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 570 a 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 may be common to a 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 assigned to the command register 581 in advance, and "0" or "1" is individually assigned to 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 instructing the decoration control device 610 to be controlled by the first master IC 570a to output a start condition (start condition). When “1” is set to STA, the first master IC 570a issues (outputs) a start condition to the decoration control device 610 to be controlled, and the start condition is satisfied.
STOは、第1マスタIC570aが制御対象の装飾制御装置610に対し、ストップ条件(ストップコンディション)の出力を指示するためのビットである。STOに“1”が設定されると、第1マスタIC570aは、制御対象の装飾制御装置610に対し、ストップコンディションを発行(出力)し、ストップ条件を成立させる。 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 to STO, the first master IC 570a issues (outputs) a stop condition to the decoration control device 610 to be controlled, and the stop condition is satisfied.
SIは、第1マスタIC570aから、演出制御装置550において割込みを発生させるときに設定されるビットである。第1マスタIC570aからCPU551に割込みを発生させるときには、コントローラ574によってSIに“1”が設定され、割込信号(INT)がCPU551に入力される。その後、SIに“1”が設定されている間は、第
1マスタIC570aは処理を中断しているが、CPU551によってSIに“0”が設定されると、第1マスタIC570aは、割込を中断して処理を再開する。
The SI is a bit set when the rendering controller 550 generates an interrupt from the first master IC 570a. When an interrupt is generated from the first master IC 570 a to the CPU 551, the controller 574 sets SI to “1”, and an interrupt signal (INT) is input to the CPU 551. After that, while the first master IC 570a interrupts the process while the SI is set to "1", the first master IC 570a interrupts the process when the CPU 551 sets "0" to the SI. 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 in which continuous plural bytes of data are transmitted at one time and transmitted, and a maximum of 68 bytes of data can be transmitted. The byte mode is a mode in which only one byte of data can be transmitted in one transmission, and is used to transmit and receive data 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. The lower 2 bits are always set to "0" and the upper 5 bits are set to the status code.
自身アドレス設定レジスタ(REG)583は、第1マスタIC570aがスレーブ(装飾制御装置)として機能する場合に設定されるレジスタである。市販されているマスタICは、通常、マスタとしての機能とスレーブとしての機能を備えており、用途に応じて使用される。自身アドレス設定REG583には、第1マスタIC570aがスレーブとして機能する場合に、自身を特定するためのアドレスが設定される。 The own address setting register (REG) 583 is a register which is set when the first master IC 570a functions as a slave (decorative 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. When the first master IC 570 a functions as a slave, an address for specifying itself is set in the self address setting REG 583.
図12は、本発明の第1の実施の形態の演出制御装置550に備えられた第2マスタIC570bと前面枠3に備えられた演出装置の構成を示すブロック図である。 FIG. 12 is a block diagram showing the configuration of the second master IC 570 b provided in the effect control device 550 according to the first embodiment of this invention and the effect device provided in the front frame 3.
前面枠3には、第2マスタIC570bに接続される簡易中継基板1600、当該簡易中継基板1600に接続される装飾制御装置610、スピーカ30、モータ位置検出センサ560b、照明駆動第1MOT13a及び照明駆動第2MOT14aなどが含まれる。 The front frame 3 includes a simple relay substrate 1600 connected to the second master IC 570b, a decoration control device 610 connected to the simple relay substrate 1600, a speaker 30, a motor position detection sensor 560b, a first lighting drive MOT 13a, and a second lighting drive 2 MOT 14a etc. are included.
簡易中継基板1600は、第2マスタIC570bから送信された電気信号を、前面枠3に備えられた装飾制御装置610に送信(中継)する。なお、簡易中継基板1600は、中継基板600とは異なり、I2CI/Oエクスパンダ615を備えていないので、簡易中継基板1600に備えた電子部品には、演出装置を制御するための演算処理を実行する機能を有していない。したがって、簡易中継基板1600に直接接続された照明駆動第1MOT13a及び照明駆動第2MOT14aを、自己の判断によって制御することができないため、簡易中継基板1600は、第2マスタIC570bから受信した電気信号を入力して、照明駆動第1MOT13a及び照明駆動第2MOT14aへ中継する役目を果たしている。 The simple relay substrate 1600 transmits (relays) the electric signal transmitted from the second master IC 570 b to the decoration control device 610 provided on the front frame 3. Note that, unlike the relay board 600, the simple relay board 1600 does not include the I 2 CI / O expander 615. Therefore, for the electronic components provided in the simple relay board 1600, arithmetic processing for controlling the rendering device Does not have the ability to perform Therefore, since the first lighting MOT 13a and the second lighting MOT 14a directly connected to the simple relay substrate 1600 can not be controlled by their own judgment, the simple relay substrate 1600 receives the electric signal received from the second master IC 570b. It plays a role of relaying to the illumination drive first MOT 13a and the illumination drive second MOT 14a.
照明駆動第1MOT13a及び照明駆動第2MOT14aは、演出制御装置550から送信された信号に基づいて内部に備えられた発光部材を駆動させ、各種演出を実行する。 The illumination drive first MOT 13 a and the illumination drive second MOT 14 a drive the light emitting members provided internally based on the signal transmitted from the effect control device 550 to execute various effects.
また、演出制御装置550は、演出ボタン17から当該演出ボタン17が操作されたことを示す信号が簡易中継基板1600を介して入力される。さらに、モータ位置検出センサ560bによって検出された照明駆動第1MOT13a及び照明駆動第2MOT14aの位置情報が、簡易中継基板1600を介して入力される。 Further, 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, position information of the illumination driving first MOT 13 a and the illumination driving second MOT 14 a detected by the motor position detection sensor 560 b is input through the simple relay substrate 1600.
さらに、簡易中継基板1600は、演出制御装置550の音LSI557からの信号を受信し、スピーカ30から出力する。 Furthermore, the simple relay board 1600 receives a signal from the sound LSI 557 of the effect control device 550, and outputs the signal 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 numerals are assigned to the respective components of the second master IC 570b and the description will be omitted. Also,
Similarly to the first master IC 570a, the second master IC 570b controls 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 (second Functions as 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 substrate 600 and the connection method between the relay substrate 600 and the decoration control device 610 other than the relay substrate 600 will be described later in detail with reference to FIGS. Further, the configurations of the relay substrate 600 and the decoration control device 610 will be described later in detail 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 gaming 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, the configuration and connection of the relay board 600 provided on the game board 10 and the decoration control device 610 included in the auxiliary game device unit 12 will be described. In FIG. 14, configurations and connection forms of the simple relay substrate 1600 and the decoration control device 610 provided in the front frame 3 will be described.
図13は、本発明の第1の実施の形態の遊技盤10の構成を示す図である。 FIG. 13 is a view showing the 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 apparatus 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 includes a plurality of effect devices for producing effects of auxiliary games such as a variable display game, a plurality of decoration control devices 610 for controlling the effect devices, and the like. The frame decorative portion 65 is integrally configured by mutually connecting the decoration control devices 610 with each other by a predetermined signal cable and further connecting a rendering device controlled by the decoration control device 610 with a cable.
また、枠体基部60にも、変動表示ゲームなどの補助遊技の演出を行うための演出装置や当該演出装置を制御するための装飾制御装置610が複数個備えられる。これらの装飾制御装置610同士を所定の信号ケーブルにより相互に接続し、さらに、この装飾制御装置610に制御される演出装置もケーブルで接続することにより、当該枠体基部60が一体構成される。 In addition, the frame base 60 is also provided with a plurality of effect devices for producing effects of auxiliary games such as a variable display game, and a plurality of decoration control devices 610 for controlling the effect devices. The frame base 60 is integrally configured by mutually connecting the decoration control devices 610 with a predetermined signal cable and further connecting a rendering device controlled by the decoration control device 610 with a cable.
ゆえに、枠装飾部65や枠体基部60は、本実施形態における一体型演出ユニットを構成している。これに対し、サイドランプ45などは、一体型演出ユニットに含まれない単体の演出装置であるので、分離型演出装置を構成することになる。 Therefore, the frame decoration part 65 and the frame base 60 constitute an integrated effect unit in the present embodiment. On the other hand, since the side lamp 45 etc. is a single effect device not included in the integrated effect unit, it constitutes a separate effect device.
なお、補助遊技装置ユニット12に含まれる演出装置のすべてが補助遊技装置ユニット12内部の装飾制御装置610によって制御される必要はない。例えば、本発明の第1の実施の形態では、センターケース51内に配置される可動物は、中継基板600を介して、演出制御装置550により直接制御される。 It is not necessary that all of the rendering devices included in the auxiliary gaming device unit 12 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 disposed in the center case 51 is directly controlled by the effect control device 550 via the relay substrate 600.
装飾制御装置610には、前述のように、装飾装置620を制御するためのI2CI/Oエクスパンダ615が搭載され、I2CI/Oエクスパンダ615には、個々のI2CI/Oエクスパンダ615を識別するための個別アドレスが割り当てられている。本発明
の第1の実施の形態では、前述のように、I2CI/Oエクスパンダ615の個別アドレスが、装飾制御装置610の個別アドレスとして利用される。
The decoration controller 610, as described above, is mounted I 2 CI / O expander 615 for controlling the decoration device 620, the I 2 CI / O expander 615, individual I 2 CI / O An individual address for identifying the expander 615 is assigned. In the first embodiment of the present invention, as described above, the individual address of the I 2 CI / O expander 615 is used as the individual address of the decoration control device 610.
演出制御装置550は、I2CI/Oエクスパンダ615の個別アドレスを指定して制御信号を送信することによって、装飾装置620を個別に制御して演出動作を実行することが可能となる。各装飾制御装置610には、原則的に、それぞれ異なる個別アドレス(図中に「ad=」で示す)が割り当てられる。 By specifying the individual address of the I 2 CI / O expander 615 and transmitting a control signal, the effect control device 550 can individually control the decoration device 620 to execute the effect operation. In principle, each decoration control device 610 is assigned a different individual address (indicated by “ad =” in the figure).
また、装飾制御装置610は、接続形態によって、分岐型(分岐基板)、連結型(連結基板)及び終端型(終端基板)の三種類に分類される。分岐型、連結型及び終端型いずれの装飾制御装置610にも装飾装置620を接続可能であり、接続された装飾装置620を制御することが可能である。 Further, the decoration control device 610 is classified into three types of a branch type (branch substrate), a connection type (connection substrate) and a termination type (termination substrate) according to the connection form. The decoration device 620 can be connected to any of the branched, coupled and terminal decoration control devices 610, and the connected decoration device 620 can be controlled.
分岐型の装飾制御装置610は、下流側に複数の装飾制御装置610が直接接続され、これらの複数の装飾制御装置610に受信した制御信号を送信する。連結型の装飾制御装置610は、下流側に一つの装飾制御装置610が接続され、接続された装飾制御装置610に受信した制御信号を送信する。終端型の装飾制御装置610は、下流側に装飾制御装置610が接続されず、装飾装置620の制御のみを行う。分岐型、連結型、終端型の装飾制御装置610の詳細に関しては、図17を用いて後述する。 The branch type decoration control device 610 is directly connected to the plurality of decoration control devices 610 on the downstream side, and transmits the received control signal 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 decoration control device 610 of the terminal type does not have the decoration control device 610 connected downstream, and only controls the decoration device 620. Details of the branch type, connection type, and end type decoration control device 610 will be described later with reference to FIG.
なお、上流側とは、演出制御装置550から途中の装飾制御装置610を経て末端の装飾制御装置610までへ電気信号を送信する構成において、この電気信号を送信する側のことである。反対に、下流側とは、この電気信号を受信する側のことである。 Note that the upstream side is a side that transmits an electric signal in a configuration in which an electric signal is transmitted from the effect control device 550 to the decoration control device 610 at the end via the decoration control device 610 on the way. On the contrary, 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 decoration control device 610 at the end is traced in order, 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 more The decoration control device 610 connected to the side close to the control device 610 is the downstream side. For example, the decoration control devices 610A and 610C are disposed upstream of the decoration control device 610H, and the decoration control devices 610I and 610J are disposed downstream 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 disposed at the movable portion 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 (the first light emitting substrate 106) is disposed on the movable portion (the first effect base 100) of the first effect member 70, and in FIG. 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 the decoration control devices 610 are 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 can be connected by only connecting the input cable. It's over. However, it is necessary to connect a cable for input and a cable for output 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 portion, the decoration control device 610 (the first light emitting substrate 106, the second light emitting substrate 116) itself is movable together with the movable portion, and the cables are also moved. It may be difficult. Furthermore, the movement of the cable may cause a break in the connecting wire constituting the cable, which may affect the effect.
本発明の第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 decoration control device of a branch type upstream of the decoration control device 610. 610 is arranged. Therefore, a signal is sent to the other decoration control device 610 provided outside the first effect member 70 and the second effect member 80 in the terminal decoration control device 610 (the first light emitting substrate 106, the second light emitting substrate 116). It becomes the structure where the cable which transmits is not connected. By arranging the decoration control device 610 in this way, it is sufficient to connect only the input cable 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 to the case of wiring in a daisy chain.
装飾制御装置610は、受信した制御信号の宛先アドレスが自宛でない場合、下流側にさらに装飾制御装置610が接続されていれば受信した制御信号を送信する。また、送信先がなければ受信した制御信号を破棄する。 If 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 downstream. If there is no destination, the received control signal is discarded.
装飾制御装置610は、16個のポートに対応するLEDを制御することが可能であり、装飾制御装置610に搭載されたLEDと、当該装飾制御装置610に接続された外部の装飾装置基板625に搭載されたLEDとの合計数が16以下であれば、両方のLEDを制御することが可能である。すなわち、一体型の装飾制御装置610(I2CI/Oエクスパンダ615と装飾装置620がともに配置される主動型基板に相当)では、装飾装置基板625(I2CI/Oエクスパンダ615が配置されず、装飾装置620が配置される従動型基板に相当)をさらに接続することによって、内部に備えられた装飾装置620と外部に接続した装飾装置620の両方を制御することが可能である。 The decoration control device 610 can control LEDs corresponding to 16 ports, and the LEDs mounted on the decoration control device 610 and the external decoration device substrate 625 connected to the decoration control device 610 If the total number with the mounted LEDs is 16 or less, it is possible to control both LEDs. That is, in the integrated decoration control device 610 (corresponding to a main movement type substrate on which both the I 2 CI / O expander 615 and the decoration device 620 are disposed), the decoration device substrate 625 (the I 2 CI / O expander 615 is arranged It is possible to control both the internally provided decoration device 620 and the externally connected decoration device 620 by further connecting the driven substrate on which the decoration device 620 is disposed.
こうすることによって、離れて配置された装飾装置620を1つの装飾制御装置610で制御することが可能となり、装飾制御装置610の数を最小限にすることができる。 By doing so, the remotely located decoration devices 620 can be controlled by one decoration control device 610, and the number of decoration control devices 610 can be minimized.
中継基板600は、上流側では演出制御装置550に搭載された第1マスタIC570aに接続し、第1マスタIC570aから送信された制御信号を受信する。また、下流側では補助遊技装置ユニット12に含まれる装飾制御装置610A(正確には一体型演出ユニットである枠体基部60に含まれる装飾制御装置610A)に接続する。さらに、中継基板600は、遊技盤10に備えられた分離型演出装置である装飾装置基板625(サイドランプ45(図8参照)に設けられた基板)に接続し、当該中継基板600に備えられたI2CI/Oエクスパンダ615によって、当該装飾装置基板625に搭載された装飾装置620を制御する。 The relay substrate 600 is connected to the first master IC 570a mounted on the effect control device 550 on the upstream side, and receives the control signal transmitted from the first master IC 570a. Further, on the downstream side, it is connected to the decoration control device 610A (specifically, the decoration control device 610A included in the frame base 60 which is an integrated effect unit) included in the auxiliary gaming device unit 12. Furthermore, the relay substrate 600 is connected to a decoration device substrate 625 (a substrate provided on the side lamp 45 (see FIG. 8)) which is a separated type rendering device provided on the game board 10 and provided on the relay substrate 600. The I 2 CI / O expander 615 controls the decoration device 620 mounted on the decoration device substrate 625.
補助遊技装置ユニット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. Further, a decoration device substrate 625B is connected to the decoration control device 610B, and a rendering 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 the 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)。 A decoration control device 610F for controlling the first effect member 70 and a decoration control device 610G for controlling the second effect member 80 are connected to the decoration control device 610E. In the first effect member 70 and the second effect member 80, the effect operation is performed in conjunction. 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 (Figure 7).
なお、第1発光基板106自体が装飾制御装置610Fとして機能し、第2発光基板116自体が装飾制御装置610Gとして機能していてもよい。 The first light emitting substrate 106 may function as the decoration control device 610F, and the second light emitting substrate 116 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 and the like included in the first effect member 70, and the decoration control device 610G controls the LEDs and the like included in the second effect member 80. Incidentally, the first product driving first MOT 71 and the second product 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 53 a are controlled by the relay substrate 600 Be 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 a predetermined condition is satisfied, such as during the variable display game. Execute the action. Specifically, the individual address ("0000") of the relay substrate 600 is used to control the bonus item drive second MOT 81 included in the bonus item drive first MOT 71 and the second bonus unit 64 included in the first effect unit 63. Designate and transmit control signals for operating 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 specifying 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 specifying an individual address (“0111”) of the decoration control device 610G for controlling the second effect member 80. After that, a stop condition is issued.
装飾制御装置610Hは、連結型の装飾制御装置610であり、さらに、連結型の装飾制御装置610I及び終端型の装飾制御装置610Jが接続される。終端型の装飾制御装置610Jは、装飾装置基板625Jに含まれる装飾装置620Jを制御する。 The decoration control device 610H is a connection-type decoration control device 610, and further, the connection-type decoration control device 610I and the end-type decoration control device 610J are connected. The termination 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 a rendering device (LED) included in the reliability notification device 15. When the predetermined condition is satisfied, a control signal for indicating a predetermined aspect is transmitted from the first master IC 570a of the effect control device 550, and effects are performed in the designated aspect.
図14は、本発明の第1の実施の形態の前面枠3の構成を示す図である。 FIG. 14 is a diagram showing the configuration of the front face 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 includes a normal version gaming machine 1 and an inexpensive version gaming machine 1. The normal version game machine 1 includes a front frame 3 (hereinafter, referred to as a normal version front frame 3) provided with a decorative member of a standard specification. The low price plate game machine 1 includes a front frame 3 (hereinafter referred to as a low price plate front frame 3 ′) provided with a decorative member configured at a cost lower than that of a standard specification decorative member. The upper part of FIG. 14 shows the configuration of the normal version front frame 3 and the lower side shows the configuration of the low price version front frame 3 ′. In the gaming machine 1, only the front frame 3 of either one of the specifications is shown. Is attached and connected to the effect control device 550, so either the normal plate front frame 3 or 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 number of decoration devices 620 included in the decoration members 9a and 9b is different between the normal plate front frame 3 and the low price plate front frame 3 ', and the number of decoration control devices 610 for controlling the decoration device 620 is also different. Specifically, the decoration members 9a and 9b of the normal version front frame 3 are controlled by seven decoration control devices 610, and the decoration members 9a 'and 9b' of the low price plate front frame 3 'are controlled by five decoration control devices 610. Be done. Since the decorative members 9a and 9b are irradiated by more LEDs than the decorative members 9a 'and 9b', the normal plate front frame 3 is brighter than the low price plate front frame 3 ', and the variation of the feasible effects is increased It is also possible. Therefore, the control of the decoration device 620 when the normal version front frame 3 is attached is different from the control of the decoration device 620 when the low price version front frame 3 ′ is attached.
このため、通常版前面枠3に取り付けられる装飾制御装置610の個別アドレスと廉価版前面枠3’に取り付けられる装飾制御装置610の個別アドレスに同じアドレスを割り当てた場合には、演出制御装置550から装飾制御装置610へ送信する演出制御データを、通常版前面枠3の場合と廉価版前面枠3’の場合とで異ならせる必要があるので、遊技機1に取り付けられる前面枠3に応じて通常版用の演出制御装置550と廉価版用の演出制御装置550をそれぞれ用意しなければならない。したがって、製造メーカーが遊技機1を出荷する場合には、通常版用の演出制御装置550と廉価版用の演出制御装置550とを用意しなければならず、製造コストが上昇してしまう。 Therefore, when the same address is assigned to the individual address of the decoration control device 610 attached to the normal version front frame 3 and the individual address of the decoration control device 610 attached to the low price version front frame 3 ', the effect control device 550 Since the effect 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 low price version front frame 3 ', according to the front frame 3 attached to the game machine 1, The presentation control device 550 for the plate and the presentation control device 550 for the low price version must be prepared respectively. Therefore, when the manufacturer ships the gaming machine 1, the presentation control device 550 for the normal version and the presentation control device 550 for the low price version have to be prepared, and the manufacturing cost increases.
そこで、本発明の第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 having different controls in the normal version front frame 3 and the low price version front frame 3 ′. By configuring the effect control data to be transmitted to the decoration control device 610 to be common to the case of the normal version front frame 3 and the case of the low price version front frame 3 ′, one effect control device 550 can be used for the normal version. It is configured to be able to carry out the control of and the control for the low price version. By doing this, it is not necessary to prepare the effect control device 550 for the normal version and the effect control device 550 for the low price version, respectively, and the manufacturing cost can be suppressed. In the first embodiment of the present invention, the configuration of the game board 10 is the same whether it is a normal version or an inexpensive version.
以下、通常版前面枠3及び廉価版前面枠3’の構成について具体的に説明する。 The configurations of the normal plate front frame 3 and the inexpensive plate front frame 3 ′ will be specifically described below.
通常版前面枠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 570 b. A branch type decoration control device 610K and illumination drive motors (13a, 14a) are connected to the simple relay substrate 1600.
装飾制御装置610Kは、照明ユニット11内に配置され、装飾装置基板625Kに備えられた装飾装置620を制御する。具体的には、照明ユニット11に含まれるLEDや異常報知LED29などが制御される。 The decoration control device 610K is disposed in the lighting unit 11, and controls the decoration device 620 provided on the decoration device substrate 625K. Specifically, the LEDs included in the lighting unit 11, the abnormality notification LED 29 and the like 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 of the left side portion of the normal plate front frame 3. The decoration control devices 610P to 610R also control the decoration member 9b on the right side of the normal plate front frame 3.
通常版前面枠3の左側部分の装飾部材9aは、連結型の装飾制御装置610L、610M及び終端型の装飾制御装置610Nを含む。装飾制御装置610Lは、演出制御装置550の第2マスタIC570bから送信された制御信号を、装飾制御装置610Kから受信し、装飾制御装置610M及び610Nに送信する。 The decoration member 9a of the left side portion of the normal plate front frame 3 includes a combination-type decoration control device 610L, 610M and an end-type decoration control device 610N. The decoration control device 610L receives a 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に送信する。 The decorative member 9b on the right side portion of the normal plate front frame 3 includes, as described above, the connected decoration control devices 610P and 610Q and the end 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 it 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」が割り当てられている。
Further, 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 run. Specifically, the individual address of the decoration control device 610 K included in the lighting unit 11 is “0000
“Individual addresses of decoration control devices 610L, 610M and 610N included in the decoration member 9a“ 0001 ”“ 0010 ”and“ 0011 ”, individual addresses of decoration control devices 610P, 610Q and 610R included in the decoration member 9b Are assigned "0100", "0101" and "0110".
一方、廉価版前面枠3’は、通常版前面枠3と同様に、第2マスタIC570bに接続される簡易中継基板1600と、ほぼ同様の機能を有する基板(以下、廉価版の簡易中継基板1600’とする)を備える。ただし、廉価版前面枠3’では、簡易中継基板1600’に分岐型の装飾制御装置610Sのみが接続されており、照明駆動モータ(13a、14a)を備えずにコストダウンが図られている。 On the other hand, the low price plate front frame 3 'is a substrate having almost the same function as the simple relay substrate 1600 connected to the second master IC 570b like the normal plate front frame 3 (hereinafter, the low price simple relay substrate 1600 'To have). However, in the low-priced printing front frame 3 ', only the branch-type decoration control device 610S is connected to the simple relay substrate 1600', and the cost reduction is achieved without the illumination drive motor (13a, 14a).
装飾制御装置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 LEDs included in the lighting unit 11, the abnormality notification LED 29 and the like are controlled, and are similar to the normal version front frame 3. Further, the decoration control device 610S is the same substrate as the decoration control device 610K that controls the lighting unit 11 of the normal version 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 version front frame 3 and the decoration control device 610S of the low price version 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 'of the left side portion of the normal plate front frame 3. In addition, the decoration control devices 610V and 610W control the decoration member 9b 'of 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では、同じ制御が実行される。 In addition, in the low price front frame 3 ', decoration control devices 610T and 610U that control the decoration member 9a' on the left side and decoration control devices 610V and 610W that control the decoration member 9b 'on the right side are attached. The decoration control device 610T is the same substrate as the decoration control device 610L of the normal version front frame 3, and the same individual address ("0001") is assigned. Similarly, the decoration control device 610V is the same substrate as the decoration control device 610P of the normal version 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 version front frame 3 and the decoration control device 610T of the low price version front frame 3 ′. The decoration control device 610P of the normal version front frame 3 and the low price version front surface 3 The same control is performed in the 'decorative control device 610V'.
装飾制御装置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-priced printing front frame 3 ', the same control is performed by the decoration control devices 610U and 610W with the left and right decoration members, that is, the illumination by the LEDs to be controlled is performed at the same timing. Further, individual addresses not assigned to the decoration control device 610 of the normal version front frame 3 are assigned to the decoration control devices 610U and 610W.
そして、通常版前面枠3と廉価版前面枠3’の何れに使用される場合であっても、演出制御装置550からは、装飾部材9a、9b、9a’、9b’に含まれる装飾制御装置610のI2CI/Oエクスパンダ615に割り当てられたすべての個別アドレスに対して演出制御データが送信される。 And, even in the case of being used for any of the normal plate front frame 3 and the low price plate front frame 3 ', the effect control device 550 is a decoration control device included in the decoration members 9a, 9b, 9a', 9b ' Effect control data is transmitted to all the 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, among the decoration control devices provided in the low-priced version frame front frame 3 ', one corresponding to the decoration control devices 610M, 610N, 610Q and 610R (first specification dependent group unit control means) Does not exist, and instead, decoration control devices 610U and 610W (second specification dependent group unit control means) are attached. While the decoration control devices 610M, 610N, 610Q and 610R (first specification-dependent group unit control means) are attached to the normal version front face frame 3, the inexpensive front face frame 3 'is less 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’とに共通利用可能な基板として構成されている。 Also, the decoration control device 610K and decoration control device 610S, decoration control device 610L and decoration control device 610T, and decoration control device 610V and decoration control device 610P are common to the normal version front frame 3 and the low price version front frame 3 '. It is configured as a usable substrate.
したがって、本発明の第1の実施の形態の演出制御装置550は、通常版用の制御と廉価版用の制御とを共通化することが可能となり、前面枠ごとに制御を変更する必要が無く、演出制御装置550の製造コストを削減することができる。 Therefore, the effect 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. , And the manufacturing cost of the presentation control device 550 can be reduced.
なお、以降の説明では、特に断らない限り、本発明の第1の実施の形態の遊技機1では通常版前面枠が取り付けられているものとする。 In the following description, it is assumed that the front frame of the normal version is attached to the gaming machine 1 according to the first embodiment of the present invention unless otherwise specified.
なお、廉価版前面枠3’では、個別アドレスが「0010」、「0011」、「0101」及び「0110」となるI2CI/Oエクスパンダ615は使用されず、通常版前面枠3では、個別アドレスが「0111」となるI2CI/Oエクスパンダ615は使用されない。そのため、いずれの前面枠3であっても、異常判定テーブル3300(図33参照)において、接続されないI2CI/Oエクスパンダ615が存在することになる。しかしながら、後述するように、異常判定テーブル3300に登録されている少なくとも1つのI2CI/Oエクスパンダ615と、第2マスタIC570bとの間で正常にデータ送信が行われていれば、正常に動作していると判定されるため、これが原因で処理が中断することはない。 In the low price front frame 3 ′, the I 2 CI / O expander 615 whose individual addresses are “0010”, “0011”, “0101” and “0110” is not used. The I 2 CI / O expander 615 whose individual address is “0111” is not used. Therefore, in any abnormality determination table 3300 (see FIG. 33), there is an I 2 CI / O expander 615 which is not connected to any front frame 3. However, as described later, if data transmission is normally performed between at least one I 2 CI / O expander 615 registered in the abnormality determination table 3300 and the second master IC 570 b, the data transmission is normally performed. Since it is judged that it is operating, this does not interrupt the process.
図15は、本発明の第1の実施の形態の演出制御装置550と遊技盤10に含まれる中継基板600及び装飾制御装置610の接続状態を説明する図である。 FIG. 15 is a view for explaining a connection state of the effect control device 550 of the first embodiment of the present invention and the relay substrate 600 and the decoration control device 610 included in the game board 10.
図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 substrate 600, and the decoration control devices 610A, 610B, and 610C will be described. Further, for convenience of explanation, the description of one relay substrate 600 and each decoration control device (610D to 610J) connected downstream of the decoration control device 610C as the decoration control device 610 will be omitted. 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 effect control device 550 includes a connection line Vcc, a connection line Vled, a connection line SDA, a connection line SCL, a connection line GND, a connection line M11 to M14, a connection line M21 to M24, a connection line M31 to M34, a connection line SL1, a connection line The relay substrate 600 is connected to the relay substrate 600 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相駆動のステッピングモータを用いている。 The connection lines M11 to M14 transmit signals for controlling the first to fourth phases of the accessory driving first MOT 71 included in the first effect unit 63. The connection lines M21 to M24 transmit signals for controlling the first to fourth phases of the accessory driving second MOT 81 included in the second rendering unit 64. The first product driving unit MOT 71 and the second product driving unit MOT 81 use four-phase driving stepping motors.
接続線M31〜M34は、モータを制御するための接続線であるが、本発明の第1の実施の形態では、中継基板600に対応するモータが接続されないため、接続状態を表示す
る空き端子モニタ603が接続される。空き端子モニタ603は、接続線M31〜M34に対応した、4個のLEDによって構成されており、各接続線が断線しているか否かを確認することができる。したがって、一部又は全部の接続線が断線している場合には、空き端子モニタ603の一部が点灯しないことになるので、ケーブルの品質を悪いと判断することができる。
Although connection lines M31 to M34 are connection lines for controlling the motor, in the first embodiment of the present invention, since the motor corresponding to relay board 600 is not connected, the vacant terminal monitor for displaying the connection state 603 is connected. The free terminal monitor 603 is composed of four LEDs corresponding to the connection lines M31 to M34, and can check whether or not each connection line is broken. Therefore, when a part or all of the connection lines are broken, a part of the free terminal monitor 603 will not light up, so it can be judged 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 connecting the first master IC 570a and the relay substrate 600 includes the connection line GND for supplying power, the connection line Vcc, The connection line Vled, the connection line Vms, and the connection line Vse are included (see FIG. 11 or FIG. 15). As a line for supplying these powers, in order to realize stable operation, a large (thick) cable having a large cross-sectional area that can ensure a sufficient amount of current is originally used.
しかしながら、ケーブル91の様なフラット形状のケーブルを用いる場合には、コネクタを接続する関係から、各ケーブルの断面積の大きさを同一(共通化)する必要がある。そこで、断面積の大きいケーブルを代わりに、複数の接続線を用いて電源供給を行うことが考えられ、例えば、接続線GNDとして6本のケーブルを使用し、接続線Vmsとして3本のケーブルを使用するといった構成を実現することができる。 However, in the case of using a flat-shaped cable such as the cable 91, it is necessary to equalize (make common) the size of the cross-sectional area of each cable because the connectors are connected. Therefore, it is conceivable to supply power by using a plurality of connecting wires instead of a cable having a large cross-sectional area. For example, six cables are used as the connecting wire GND and three cables are used as the connecting wire Vms. The configuration to be used can be realized.
このとき、電力を供給する接続線の一部が断線していても、すべての接続線が断線していなければ、見た目上は問題なく動作していることになるので、LEDを点灯させたり、モータを駆動させたりすることが可能であるが、充分な電流量が確保できていない状態であるため、ケーブル上で異常な発熱が発生したりするおそれがある。このような場合に、空き端子モニタ603に電力を供給する線を接続することによって、一見正常に動作していても、一部の接続線が断線しているような品質の劣るケーブルを発見することができ、障害が発生する前に交換したり必要なメンテナンスを行ったりすることが可能となる。 At this time, even if a part of the connection line for supplying power is broken, if all the connection lines are not broken, the LED operates with no problem in appearance, so the LED is lighted, Although it is possible to drive the motor, since a sufficient amount of current can not be secured, abnormal heat generation may occur on the cable. In such a case, by connecting a power supply line to the free terminal monitor 603, a poor quality cable is detected in which some of the connection lines are broken even though they seem to be operating normally. It will be possible to replace and perform necessary maintenance before a failure occurs.
また、中継基板600は、役物駆動モータ(役物駆動第1MOT71、役物駆動第2MOT81)を駆動するために、接続線Vmsから供給された電力を各モータに供給する。なお、装飾ピース46を上下動させるための役物駆動ソレノイドに供給される電力についても接続線Vmsから供給される。 Further, the relay substrate 600 supplies the electric power supplied from the connection line Vms to each motor in order to drive the character product drive motor (character product drive first MOT 71, character product second MOT 81). The electric power supplied to the accessory driving solenoid for moving the decorative piece 46 up and down is also supplied from the connection line Vms.
また、中継基板600には、役物駆動モータの回転位置を検出するためのモータ位置検出センサ560aが接続される。接続線SE1〜3は、モータ位置検出センサ560による検出結果を受信するための接続線であり、中継基板600は、モータ位置検出センサ560aによって検出された役物駆動モータの回転位置を、接続線SE1〜3を介して演出制御装置550に送信する。 Further, to relay board 600, a motor position detection sensor 560a for detecting a rotational position of the accessory drive motor is connected. The 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 is a connection line for the rotational position of the accessory drive motor detected by the motor position detection sensor 560a. It transmits to the production | presentation control apparatus 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 item driving solenoid. Similarly to the connection lines M31 to M34 described above, the connection line SL1 and the connection line SL2 are also connected to the vacant terminal monitor 603 for displaying the connection state when the accessory drive solenoid is not used.
中継基板600を含む装飾制御装置610は、接続線Vcc、接続線Vled、接続線SDA、接続線SCL、及び接続線GND(以下、この5種類の接続線を束ねたものを一つのハーネスという)を介して互いに接続される。 The decoration control device 610 including the relay substrate 600 includes the connection line Vcc, the connection line Vled, the connection line SDA, the connection line SCL, and the 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が接続される。 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 is provided with a connector serving as a mounting port for connecting the harness to itself. Since this connector is common to each decoration control device 610, the connection order of the connection lines is common, and erroneous wiring can be prevented.
図16は、本発明の第1の実施の形態の演出制御装置550と、通常版前面枠3に含まれる簡易中継基板1600及び装飾制御装置610の接続状態を説明する図である。 FIG. 16 is a diagram for explaining the connection state of the effect control device 550 according to the first embodiment of this invention, and the simple relay substrate 1600 and the decoration control device 610 included in the normal version frame 3.
図16では、演出制御装置550、簡易中継基板1600、装飾制御装置610K、610L及び610Pの接続について説明する。また、説明の都合上、装飾制御装置610として、装飾制御装置610L及び装飾制御装置610Pよりも下流に接続されている各装飾制御装置については記載を省略する。 16, the connection of the effect control device 550, the simple relay board 1600, and the decoration control devices 610K, 610L, and 610P will be described. Further, for convenience of description, the description of the decoration control devices 610 connected to the downstream of the decoration control device 610L and the decoration control device 610P as the decoration control device 610 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 effect control device 550 includes a connection line Vcc, a connection line Vled, a connection line SDA, a connection line SCL, a connection line GND, a connection line M11 to M14, a connection line M21 to M24, a connection line M31 to M34, a connection line SL1, a connection line In addition to SL2, connection lines SE1 to 3, connection lines Vms, and connection lines Vse, a connection line for receiving a button signal from the effect button 17 and a connection line for transmitting a sound signal are connected to the simplified relay substrate 1600 Ru.
接続線Vcc、接続線Vled、接続線SDA、接続線SCL、接続線GND、接続線Vms、及び接続線Vseについては、図15にて説明したように、演出制御装置550と遊技盤10とを接続する場合と同様に、下流側に配置されている各装飾制御装置610に各種信号を送受信する。 As 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 in FIG. As in the case of connection, various signals are transmitted to and received from the decoration control devices 610 disposed downstream.
接続線M11〜M14は、照明ユニット11に含まれる第1可動式照明13の照明駆動第1MOT13aを制御するための信号が送信される。接続線M21〜M24は、照明ユニット11に含まれる第2可動式照明14の照明駆動第2MOT14aを制御するための信号が送信される。 The connection lines M <b> 11 to M <b> 14 transmit signals for controlling the illumination drive first MOT 13 a of the first movable illumination 13 included in the illumination unit 11. The connection lines M21 to M24 transmit signals for controlling the illumination drive second MOT 14a of the second movable illumination 14 included in the illumination unit 11.
接続線M31〜M34は、モータを制御するための接続線であるが、本発明の第1の実施の形態では、対応するモータが簡易中継基板1600に接続されないため、中継基板600と同様に、接続状態を表示する空き端子モニタ603が接続される。 Although connection lines M31 to M34 are connection lines for controlling the motor, in the first embodiment of the present invention, since the corresponding motor is not connected to simplified relay board 1600, like relay board 600, An idle terminal monitor 603 is connected to display the connection state.
さらに、照明駆動モータ(照明駆動第1MOT13a、照明駆動第2MOT14a)を駆動するために、接続線Vmsから供給された電力を各モータに供給する。 Furthermore, in order to drive the illumination drive motor (the illumination drive first MOT 13a and the illumination drive second MOT 14a), the power supplied from the connection line Vms is supplied to each motor.
また、簡易中継基板1600には、照明駆動モータの回転位置を検出するためのモータ位置検出センサ560bが接続される。簡易中継基板1600は、モータ位置検出センサ560bによって検出された照明駆動モータの回転位置を、接続線SE1〜3を介して演出制御装置550に送信する。 In addition, a motor position detection sensor 560 b for detecting the rotational position of the illumination drive motor is connected to the simple relay substrate 1600. Simple relay substrate 1600 transmits the rotational position of the illumination drive motor detected by motor position detection sensor 560b to effect control device 550 via connection lines SE1 to SE3.
ここで、装飾制御装置610に設けられたI2CI/Oエクスパンダ615(図18で後述)が装飾装置620を制御する方法について説明する。 Here, a method in which the I 2 CI / O expander 615 (described later in FIG. 18) provided in the decoration control device 610 controls the decoration device 620 will be described.
演出制御装置550は、遊技制御装置500から入力された遊技データに基づいて、演出装置(装飾装置620)の出力態様を決定する。そして、演出制御装置550は、決定された出力態様となるように、制御対象となる装飾制御装置610の個別アドレス(I2CI/Oエクスパンダ615の個別アドレス)を含む演出制御データ(演出制御情報)を中継基板600に出力する。このとき、演出制御データは、中継基板600から接続線SDAを介してすべての制御対象の装飾制御装置610に出力される。 The effect control device 550 determines the output mode of the effect device (decorative device 620) based on the game data input from the game control device 500. Then, the effect control device 550 includes effect control data (effect control) including the individual address of the decoration control device 610 to be controlled (the individual address of the I 2 CI / O expander 615) such that the determined output mode is obtained. Information) is output to the relay board 600. At this time, the effect control data is output from the relay substrate 600 to all the decoration control devices 610 to be controlled via the connection line SDA.
なお、本発明の第1の実施の形態では装飾制御装置610によって制御される演出装置
は主としてLED等の発光装置であるため、LEDの発光態様が演出装置の出力態様に相当する。この場合、演出制御データによって、LEDの点灯/点滅/消灯が指示され、さらに、LEDの点滅周期や点灯輝度も指示される。
In the first embodiment of the present invention, since the effect device controlled by the decoration control device 610 is mainly a light emitting device such as an LED, the light emission aspect of the LED corresponds to the output aspect of the effect device. In this case, the on / off / on / off of the LED is instructed by the effect control data, and the on / off cycle of the LED or the on / off luminance is also instructed.
各装飾制御装置610には、前述のようにあらかじめ一意な個別アドレスが設定されており、演出制御データが入力されると、入力された演出制御データに含まれるアドレスと設定されている個別アドレスとが一致するか否かを判定する。そして、入力された演出制御データに含まれるアドレスと設定されている個別アドレスとが一致すると判定された場合には、装飾制御装置610のI2CI/Oエクスパンダ615は、演出制御データを取り込んで、対応する装飾装置620の出力態様を制御するとともに、8ビット目のデータが入力された直後に返答信号をマスタIC(第1マスタIC570a、第2マスタIC570b)に出力する。 As described above, a unique address is previously set in each decoration control device 610, and when the effect control data is input, the address included in the input effect control data and the set individual address It is determined whether or not there is a match. When it is determined that the address included in the input effect control data matches the set individual address, the I 2 CI / O expander 615 of the decoration control device 610 takes in the effect control data. Then, while controlling the output mode of the corresponding decoration device 620, immediately after the data of the 8th bit is input, the reply signal is output to the master IC (first master IC 570a, second master IC 570b).
以上のように、マスタICは、当該マスタICに接続されるすべての装飾制御装置610に演出制御データを送信し、当該演出制御データに含まれる個別アドレスに対応する装飾制御装置610において、要求した出力態様となるように演出装置を制御することができる。 As described above, the master IC transmits effect control data to all the decoration control devices 610 connected to the master IC, and requests the decoration control device 610 corresponding to the individual address included in the effect control data. The rendering device can be controlled to be in the output mode.
なお、各装飾制御装置610には、個別アドレス以外にも、装飾制御装置610のI2CI/Oエクスパンダ615を初期化するためのリセット用アドレスが設定されている。このリセットアドレスは、すべてのI2CI/Oエクスパンダ615に対して共通に設けられたアドレスであり、個別アドレスとして使用することはできない。また、このリセットアドレスの値を変更することもできないように構成されている(詳細は後述する)。 In addition to the individual addresses, reset addresses for initializing the I 2 CI / O expander 615 of the decoration control device 610 are set in each decoration control device 610. The reset address is an address commonly provided to all the I 2 CI / O expanders 615 and can not be used as an individual address. Further, the value of the reset address can not be changed (the details will be described later).
演出制御装置550は、装飾制御装置610(正確には、装飾制御装置610のI2CI/Oエクスパンダ615)を初期化する場合に、このリセット用の共通アドレスを含んだ初期化指示データを、中継基板600又は簡易中継基板1600に出力する。このとき、初期化指示データ演出制御データは、中継基板600又は簡易中継基板1600を介して、演出制御装置550に接続されるすべての装飾制御装置610に対して接続線SDAから出力される。 When the presentation 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 initialization instruction data including the common address for this reset is , And 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 through the relay substrate 600 or the simple relay substrate 1600.
各装飾制御装置610には、リセット用の共通アドレスがあらかじめ設定されているので、入力されたデータに含まれるアドレスと、リセット用の共通アドレスとが一致するか否かを判定する。一致すると判定された場合には、装飾制御装置610のI2CI/Oエクスパンダ615は、返答信号をマスタICに出力するとともに、入力データを初期化指示データとして取り込み、I2CI/Oエクスパンダ615自身を初期化する。 Since a reset common address is set in advance in each decoration control device 610, it is determined whether the address included in the input data matches the reset common address. If it is determined that they match, the I 2 CI / O expander 615 of the decoration control device 610 outputs a response signal to the master IC, and captures input data as initialization instruction data, and then the I 2 CI / O ex Initialize the panda 615 itself.
なお、I2CI/Oエクスパンダ615が初期化されると、当該初期化されたI2CI/Oエクスパンダ615によって制御される演出装置はオフ状態となる。 When the I 2 CI / O expander 615 is initialized, the effect device controlled by the initialized I 2 CI / O expander 615 is turned off.
このように、装飾制御装置610は、演出制御装置550からの指令に基づく制御を行うので、演出制御装置550と装飾制御装置610との関係は、演出制御装置550の第1マスタIC570a及び第2マスタIC570bがマスタであり、各装飾制御装置610のI2CI/Oエクスパンダ615がスレーブとなる。 Thus, since the decoration control device 610 performs control based on a command from the effect control device 550, the relationship between the effect control device 550 and the decoration control device 610 can be determined by the first master IC 570a of the effect control device 550 and the second master IC 570a. The master IC 570 b 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となっているが、モータやソレノイドなどの可動物を制御することも可能である。この場合には、演出装置がモータやソレノイドなどの駆動源となることから、これらの駆動源の動作態様が演出装置の出力態様に相当する。演出制御データには、駆動源の作動/停止指示が含まれ、さらに動作速度を指定することも可
能である。
In FIGS. 15 and 16, the control target of the decoration control device 610 other than the relay substrate 600 is the decoration device 620 which is a light emitting device such as an LED, but it is also possible to control movable objects such as a motor and a solenoid. It is. In this case, since the effect device is a drive source such as a motor or a solenoid, the operation mode of these drive sources corresponds to the output mode of the effect device. The effect control data includes an operation / stop instruction of the drive source, and it is also possible to specify an operation speed.
なお、遊技機1の構成として、通常版前面枠3の代わりに廉価版前面枠3’を設けた場合でも、廉価版前面枠3’に含まれる各種基板の接続状態は、図16とほぼ同等の構成となる。 Even when the low price plate front frame 3 ′ is provided instead of the normal version front frame 3 as the configuration of the gaming machine 1, the connection state of the various substrates included in the low price plate front frame 3 ′ is almost the same as FIG. 16. It becomes the composition of
ただし、廉価版前面枠3’には、照明駆動モータ(照明駆動第1MOT13a、照明駆動第2MOT14a)が設けられていないため、廉価版の簡易中継基板1600’には、照明駆動モータが接続されるコネクタが存在せず、接続線M11〜M14、及び接続線M21〜M24も使用されない。そのため、廉価版の簡易中継基板1600’では、接続線M11〜M14、及び接続線M21〜M24にも、空き端子モニタ603が接続される。 However, since the illumination drive motor (the illumination drive first MOT 13a and the illumination drive second MOT 14a) is not provided in the low price plate front frame 3 ', the illumination drive motor is connected to the low price plate simple relay substrate 1600' There is no connector, and the connection lines M11 to M14 and the connection lines M21 to M24 are also not used. Therefore, the vacant terminal monitor 603 is also connected to the connection lines M11 to M14 and the connection lines M21 to M24 in the low-priced simple relay substrate 1600 '.
また、廉価版前面枠3’には、モータ位置検出センサ560bが設けられていないため、廉価版の簡易中継基板1600’では、接続線SE1〜3をグランドに接続して、一定のレベルの信号が、常時、演出制御装置550に入力されるように構成している。 Further, since the motor position detection sensor 560b is not provided in the low price plate front frame 3 ', in the low price version simple relay substrate 1600', the connection lines SE1 to SE3 are connected to the ground and a signal of a certain level is provided. Is configured to be constantly input to the effect control device 550.
図17は、本発明の第1の実施の形態の装飾制御装置610のブロック図である。 FIG. 17 is a block diagram of a 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 of branch type, connection type and termination type based on the connection form. FIG. 17 shows an example in which a termination type decoration control device 610Y is connected to the branch type decoration control device 610X. Further, a decoration device substrate 625 is connected to the decoration control device 610Y.
分岐型の装飾制御装置とは、I2CI/Oエクスパンダ615と、I2CI/Oエクスパンダ615が受信する信号を受け入れるためのコネクタ(上流コネクタ)と、上流コネクタから受け入れた信号を、複数の装飾制御装置610に伝達するコネクタ(下流コネクタ)を備えたものである。例えば、図中の装飾制御装置610Xのように、内部にI2CI/Oエクスパンダ615及びLED(装飾装置620)を備え、さらに、一つの上流コネクタ611と二つの下流コネクタ612A、612Bを備える。 The branch-type decoration control device includes an I 2 CI / O expander 615, a connector (upstream connector) for receiving a signal received by the I 2 CI / O expander 615, and a signal received from the upstream connector. A connector (downstream connector) for transmitting to a plurality of decoration control devices 610 is provided. For example, as in the decoration control device 610X in the figure, the device internally includes an I 2 CI / O expander 615 and an LED (decorative device 620), and further includes one upstream connector 611 and two downstream connectors 612A and 612B. .
接続線SDA及び接続線SCLは、装飾制御装置610内で二つに分岐し、一方は、そのまま次の装飾制御装置610Yに出力するための下流コネクタ612Bに接続される。他方は、さらに分岐し、一方はI2CI/Oエクスパンダ615に接続され、他方は別の下流コネクタ612Aに接続される。 The connection line SDA and the connection line SCL are branched into two in the decoration control device 610, and one is directly connected to the downstream connector 612B for outputting to the next decoration control device 610Y. The other branches further, one is connected to the I 2 CI / O expander 615, and the other is connected to another downstream connector 612A.
また、装飾制御装置610XのI2CI/Oエクスパンダ615の出力側には、制御対象となる装飾装置620が接続される。I2CI/Oエクスパンダ615の出力側は、図20で説明するポート0〜15によって構成される。さらに、装飾制御装置610のすべてのポートが、図19で後述する電流制限抵抗R0〜R15を介して、内部のLEDに接続されている。なお、この電流制限抵抗R0〜R15も、装飾制御装置610に備えられている。 The 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 is configured by ports 0 to 15 described in FIG. Furthermore, all ports of the decoration control device 610 are connected to the internal LEDs via current limiting resistors R0 to R15 described later in FIG. The current limiting resistors R0 to R15 are also included in the decoration control device 610.
前述したように、I2CI/Oエクスパンダ615は、演出制御装置550から入力された演出制御データに含まれるアドレスと、当該I2CI/Oエクスパンダ615に設定されている個別アドレスとが一致する場合にのみ、演出制御データに含まれる装飾データに基づいて、I2CI/Oエクスパンダ615に接続されている装飾装置620を制御する。 As described above, the I 2 CI / O expander 615 includes the address included in the effect control data input from the effect control device 550 and the individual address set in the I 2 CI / O expander 615. Only when it matches, the decoration device 620 connected to the I 2 CI / O expander 615 is controlled based on the decoration data included in the presentation control data.
なお、下流コネクタを1個しか備えないために、上流コネクタから受け入れた信号が、1つの装飾制御装置610にのみ伝達可能となっている装飾制御装置は、連結型の装飾制
御装置となる。例えば、前述した装飾制御装置610Xにて、下流コネクタ612Bのみが備えられ、下流コネクタ612Aが存在しないようなものが該当する。
In addition, since only one downstream connector is provided, the decoration control device capable of transmitting the signal received from the upstream connector to only one decoration control device 610 is a coupled decoration control device. For example, in the decoration control device 610X described above, only the downstream connector 612B is provided, and the downstream connector 612A is not present.
また、終端型の装飾制御装置とは、I2CI/Oエクスパンダ615と、I2CI/Oエクスパンダ615が受信する信号を受け入れるためのコネクタ(上流コネクタ)を有するが、上流コネクタから受け入れた信号を、他の装飾制御装置610に伝達しないものである。例えば、図中の装飾制御装置610Yは、I2CI/Oエクスパンダ615及びLED(装飾装置620)を備え、装飾制御装置610Yの外部に接続される装飾装置基板625に備わるLEDに電流を流すための接続線、装飾装置基板625のLEDに電源電圧を供給する接続線、及び、グランドに接地する接続線を介して、装飾制御装置610と装飾装置基板625とが接続される。 The termination 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, but receives from an upstream connector Signals are not transmitted to other decoration control devices 610. For example, the decoration control device 610Y in the figure includes an I 2 CI / O expander 615 and an LED (decorative device 620), and supplies current to the LED provided on the decorative device substrate 625 connected to the outside of the decorative control device 610Y. The decoration control device 610 and the decoration device substrate 625 are connected via a connection line for supplying power, a power supply voltage to the LED of the decoration device substrate 625, and a connection line connected to ground.
装飾装置基板625は、I2CI/Oエクスパンダ615を備えておらず、LEDなどの発光装置のみを備えた基板である。この場合、装飾装置基板625に備えたLEDに接続される電流制限抵抗を、装飾装置基板625に設けることになるが、I2CI/Oエクスパンダ615が備えられた装飾制御装置610に設けてもよい。 The decoration device substrate 625 is a substrate that does not include the I 2 CI / O expander 615 but includes only a light emitting device such as an LED. In this case, a current limiting resistor connected to the LED provided on the decoration device substrate 625 is provided on the decoration device substrate 625, but provided on the decoration control device 610 provided with the I 2 CI / O expander 615. It is also good.
なお、装飾装置基板625に設けたLEDの数に対応して、装飾制御装置610から装飾装置基板625へ渡されることになる、これらのLEDに電流を流すための接続線の数が決定される。例えば、装飾装置基板625に二つのLEDを備えた場合には、I2CI/Oエクスパンダ615のポートと対応するLEDとを接続するための2本の制御線と、Vledから供給された電力を供給する電源線1本とが、少なくとも必要となる。 It should be noted that the number of connection lines for causing current to flow to the decoration device substrate 625 is determined corresponding to the number of LEDs provided on the decoration device substrate 625. . For example, when the decoration device substrate 625 is provided with two LEDs, two control lines for connecting the port of the I 2 CI / O expander 615 to the corresponding LEDs, and the power supplied from Vled And at least one power supply line for supplying
そして、装飾制御装置610Yに設けられたI2CI/Oエクスパンダ615も、演出制御装置550から入力された演出制御データに含まれるアドレスと、当該I2CI/Oエクスパンダ615に設定されているアドレスとが一致する場合にのみ、演出制御データに含まれる装飾データに基づいて、I2CI/Oエクスパンダ615に接続されている装飾装置620を制御する。この場合、中央の装飾制御装置610に設けられた装飾装置620と、装飾装置基板625に設けられた装飾装置620の両方が、I2CI/Oエクスパンダ615によって制御される。 The I 2 CI / O expander 615 provided in the decoration control device 610 Y is also set to the address included in the effect control data input from the effect control device 550 and to 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 presentation control data only when the address matches the address. In this case, both the decoration device 620 provided in the central decoration control device 610 and the decoration device 620 provided in the decoration device substrate 625 are controlled by the I 2 CI / O expander 615.
このように、装飾装置基板625を設けて、装飾制御装置610から一部の装飾装置(LED)を分離させることで、離れた箇所に配置されたLEDであっても、共通のI2CI/Oエクスパンダ615により制御することができる。 Thus, by providing the decoration device substrate 625 and separating some decoration devices (LEDs) from the decoration control device 610, the common I 2 CI / is obtained even if the LEDs are arranged at a distant place. It can be controlled by O expander 615.
なお、装飾制御装置610は、前述したように、LEDなどの発光装置の代わりに、ソレノイドやモータなどの可動物を制御することが可能であり、具体的には、図20にて後述する。 As described above, the decoration control device 610 can control movable objects such as solenoids and motors instead of light emitting devices such as LEDs, and will be specifically described later with reference to FIG.
図18は、本発明の第1の実施の形態のI2CI/Oエクスパンダ615の構成を示すブロック図である。 FIG. 18 is a block diagram showing the configuration of the I 2 CI / O expander 615 according to the first embodiment of this invention.
I2CI/Oエクスパンダ615は、接続線SDAに接続されるトランジスタ630、接続線SDAに接続されるフィルタ631、接続線SDAに接続されるドライバ632、接続線SCLに接続されるフィルタ633、バスコントローラ634、出力設定レジスタ635、出力コントローラ636、I2CI/Oエクスパンダ615の出力側の各ポート0〜15に接続されるドライバ637、各ポート0〜15に接続されるトランジスタ638A〜638P、及びリセット信号発生回路639を備える。さらに、本発明の第1の実施の形態では、他のI2CI/Oエクスパンダ615によって接続線SDAが占有されているか否かを判断するためのバス監視WDT(ウォッチドッグタイマ)640、及びI2
CI/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, and a filter 633 connected to the connection line SCL A bus controller 634, an output setting register 635, an output controller 636, a driver 637 connected to each port 0 to 15 on the output side of the I 2 CI / O expander 615, and a transistor 638A to 638 P connected to each port 0 to 15 And a reset signal generation circuit 639. Furthermore, 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 I 2
A self-occupied WDT 641 is provided to determine whether the 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 the data input from the connection line SDA, and outputs the data from which the noise is removed to the bus controller 634. When the driver 632 outputs a response signal from the connection line SDA, the driver 632 applies a voltage at which the transistor 630 can operate to the transistor 630.
ドライバ632は、接続線SDAからデータ(返答信号)を出力する場合に、トランジスタ630が動作可能な電圧をトランジスタ630に印加する。 When the driver 632 outputs data (a response signal) from the connection line SDA, the driver 632 applies a voltage at which the transistor 630 can operate to the transistor 630.
トランジスタ630は、電力消費を抑えるために電界効果トランジスタ(FET)が用いられており、トランジスタ630のゲートはドライバ632に接続され、ドレインはプルアップ抵抗Rにより所定の電圧が印加された接続線SDAに接続され、ソースは接地されている。 In the transistor 630, a field effect transistor (FET) is used to reduce power consumption, the gate of the transistor 630 is connected to the driver 632 and the drain is a connection line SDA to which a predetermined voltage is applied by the pull-up resistor R. And the source is grounded.
トランジスタ630のゲートに印加される電圧がトランジスタ630を動作させる所定値よりも小さければ、ドレインとソースとの間に電流が流れない。一方、トランジスタ630のゲートに印加される電圧がトランジスタ630を動作させる所定値以上であれば、所定値の電圧が印加されたドレインから接地されているソースへ電流が流れることによって、接続線SDAの電圧が低下する。なお、トランジスタ630は、10ミリアンペア程度の電流をドレインからソースへ流しても破損しない仕様のものを用いている。 If the voltage applied to the gate of the transistor 630 is smaller than the predetermined value for operating the transistor 630, no current flows between the drain and the source. On the other hand, if the voltage applied to the gate of the transistor 630 is equal to or higher than the predetermined value for operating the transistor 630, 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 which is not broken even when a current of about 10 milliamperes flows from the drain to the source.
ドライバ632は、データ(返答信号)を接続線SDAから出力する場合に、トランジスタ630にドレインとソースとの間に電流を流すためにトランジスタ630のゲートにトランジスタ630が動作可能な値の電圧を印加する。そして、ドライバ632は、接続線SDAの電圧をHIGHからLOWへ繰り返し変化させることによって、データを接続線SDAから出力する。 The driver 632 applies a voltage having an operable value of the transistor 630 to the gate of the transistor 630 in order to flow current between the drain and the source in the transistor 630 when outputting data (a response signal) from the connection line SDA. Do. Then, the driver 632 outputs data from the connection line SDA by repeatedly changing the voltage of the connection line SDA from HIGH to LOW.
フィルタ633は、接続線SCLに接続され、接続線SCLから入力されたデータのノイズを除去し、ノイズが除去されたデータをバスコントローラ634に出力する。 The filter 633 is connected to the connection line SCL, removes noise of data input from the connection line SCL, and outputs the data from which the noise is removed to the bus controller 634.
また、I2CI/Oエクスパンダ615には、当該I2CI/Oエクスパンダ615に備わるアドレス設定用端子A0〜A3によって固有のアドレスが設定されており、バスコントローラ634に入力されている。さらに、I2CI/Oエクスパンダ615をリセットするためのアドレスも、あらかじめ設定されている。 In addition, the I 2 CI / O expander 615, is set a unique address by the address setting terminals A0~A3 provided in the I 2 CI / O expander 615 is input to the bus controller 634. Furthermore, an address for resetting the I 2 CI / O expander 615 is also preset.
バスコントローラ634は、接続線SDAから入力されたデータのアドレスがI2CI/Oエクスパンダ615に設定された固有のアドレスと一致するか否かを判定し、一致している場合に当該データを演出制御データとして取り込む。 The bus controller 634 determines whether the address of the data input from the connection line SDA matches the unique address set in the I 2 CI / O expander 615, and if it matches, the data is Captured as effect control data.
また、バスコントローラ634は、接続線SDAから入力されたデータのアドレスがI2CI/Oエクスパンダ615に設定されたリセット用のアドレスと一致するか否かを判定し、一致している場合に当該データを初期化指示データとして取り込み、当該I2CI/Oエクスパンダ615を初期化する。 Further, the bus controller 634 determines whether the address of the data input from the connection line SDA matches the reset address set in the I 2 CI / O expander 615, and if the addresses match. The data is taken 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, when the number of times the signal level of the connection line SCL changes from LOW to HIGH reaches eight times and the data of the eighth bit is taken, the bus controller 634 changes the signal level of the connection line SCL from HIGH to LOW. , And outputs a response signal from the connection line SDA to the first master IC 570a. Further, it is confirmed that the signal level of the connection line SCL changes from LOW to HIGH, and when the signal level of the connection line SCL changes from HIGH to LOW again, the connection line SDA is released. That is, the response signal is output at the timing when the number of changes from LOW to HIGH of the signal level of the connection line SCL is nine.
出力設定レジスタ635には、当該I2CI/Oエクスパンダ615の動作モードやポート0〜15の出力状態が設定される。バスコントローラ634が接続線SDAから初期化指示データを取り込んで、当該I2CI/Oエクスパンダ615が初期化された場合には、出力設定レジスタ635は、すべてのポート0〜15に電流が流れないように初期状態に設定される。 In the output setting register 635, the operation mode of the I 2 CI / O expander 615 and the output state of the ports 0 to 15 are set. When the bus controller 634 takes in initialization instruction data from the connection line SDA and the I 2 CI / O expander 615 is initialized, the output setting register 635 causes current to flow to all the ports 0-15. It is set to the initial state so as not to.
出力コントローラ636は、出力設定レジスタ635に設定されたデータに基づいて、ポートドライバ637を介して、各ポート0〜15に接続された演出装置に電流を流すことによって、演出装置の出力状態を実際に制御する。この出力状態は、バスコントローラ634が接続線SDAから演出制御データを取り込むと、演出制御データに指定されている内容に更新される。 The output controller 636 actually sends the current to the rendering device connected to each of the ports 0 to 15 through the port driver 637 based on the data set in the output setting register 635 to actually output the rendering device. Control. This output state is updated to the contents specified in the effect control data when the bus controller 634 takes in the effect control data from the connection line SDA.
すなわち、第1マスタIC570aから受信した演出制御データに基づいて、出力設定レジスタ635に設定し、ストップコンディションを受信した時点で、各ポート0〜15の出力状態を更新して演出装置に反映させる。したがって、シフトレジスタのように、LAT信号を受信する必要もなく、すなわち、LAT信号を受信するための配線を必要とすることなく、演出制御を行うことができる。特に、ポート出力状態を、複数のI2CI/Oエクスパンダ615で同時に更新する必要がある場合に有効であり、異なるI2CI/Oエクスパンダ615に制御される演出装置であっても、同時に演出動作を実行するように制御できるため、より演出効果を高めることが可能となる。 That is, based on the rendering 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 to 15 is updated and reflected on the rendering device. Therefore, as in the shift register, the effect control can be performed without the need to receive the LAT signal, that is, without the need for wiring for receiving the LAT signal. In particular, it is effective when the port output state needs to be simultaneously updated by a plurality of I 2 CI / O expanders 615, and even a rendering device controlled by different I 2 CI / O expanders 615, At the same time, since the rendering operation can be controlled to be performed, the rendering effect can be further enhanced.
なお、ストップコンディションを受信した時点で各ポート0〜15の出力状態を更新して演出装置に反映させるのではなく、返答信号出力時に演出装置に反映させることも可能である。同時に演出動作を実行することが要求される演出装置が1つのI2CI/Oエクスパンダ615で制御される場合には、返答信号出力時に演出装置に反映させるようにしてもよい。こうすることによって、マスタICがストップコンディションを出力する必要がなく、また、連続して演出制御情報を送信することが可能となるため、演出制御を高速に行うことが可能となる。 The output state of each of the ports 0 to 15 may not be updated and reflected on the rendering device when the stop condition is received, but may be reflected on the rendering device when the response signal is output. When a rendering device that is required to execute the rendering operation at the same time is controlled by one I 2 CI / O expander 615, it may be reflected on the rendering device when the response signal is output. By doing this, the master IC does not have to output a stop condition, and it is possible to transmit presentation control information continuously, so that presentation control can be performed at high speed.
ドライバ637は、ポートに電流を流す場合に、電流を流すポートに接続されるトランジスタ638A〜638Pが動作可能な電圧を当該トランジスタに印加する。 The driver 637 applies a voltage to which the transistors 638A to 638P, which are connected to the port through which current flows, can operate when the current flows through the port.
トランジスタ638A〜638Pのゲートはドライバ637に接続され、ドレインは図19及び図20に示すように演出装置を動作させるための電圧が印加された接続線に接続するポート端子に接続され、ソースは接地されている。 The gates of the transistors 638A to 638P are connected to the driver 637, the drain is connected to the port terminal connected to the connection line to which the voltage for operating the rendering device is applied as shown in FIGS. 19 and 20, and the source is grounded It is done.
トランジスタ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 the predetermined value for operating transistor 638, the predetermined voltage applied to the gate from power supply Vled shown in FIG. 19 or power supply Vmot or power supply Vsol shown in FIG. When the voltage of the current flows through the drain of the transistor 638 to the grounded source, the output state of the rendering device connected to the port terminal can be controlled.
また、装飾制御装置610のI2CI/Oエクスパンダ615は、I2CI/Oエクスパンダ615のポート端子に接続されたすべての演出装置(LEDなどの装飾装置620
)を同時に制御することが可能であるので、I2CI/Oエクスパンダ615のポート端子に接続された一つの演出装置を一つのグループとして制御することができる。
In addition, the I 2 CI / O expander 615 of the decoration control device 610 is connected to the port terminal of the I 2 CI / O expander 615 (all decoration devices 620 such as LEDs)
Can be controlled simultaneously, so that one rendering device connected to the port terminal of the I 2 CI / O expander 615 can be controlled as one group.
そして、各装飾制御装置610に備わるI2CI/Oエクスパンダ615同士は、互いに異なる個別アドレスが割り当てられているので、演出装置が複数のグループに分割された形態となっている。すなわち、各装飾制御装置610に備わるI2CI/Oエクスパンダ615は、演出装置をグループ単位で制御可能なグループ単位制御手段として構成されているものである。 And since I 2 CI / O expanders 615 provided in each decoration control device 610 are assigned different individual addresses, the rendering device is divided into a plurality of groups. That is, the I 2 CI / O expander 615 included in each decoration control device 610 is configured as group unit control means capable of controlling the rendering device in group units.
したがって、各装飾制御装置610を統括する演出制御装置550は、グループ単位制御手段を統括して制御するグループ統括制御手段として機能している。 Therefore, the effect control device 550 that controls each decoration control device 610 functions as a group general control device that controls the group unit control device.
リセット信号発生回路639には、I2CI/Oエクスパンダ615に電源を供給する接続線Vccに接続されるVcc端子、及び外部からのリセット信号を受け付けるRESET端子が接続されている。 The reset signal generation circuit 639 is connected to a Vcc terminal connected to a connection line Vcc for supplying power to the I 2 CI / O expander 615, and a RESET terminal for receiving an external reset signal.
リセット信号発生回路639は、I2CI/Oエクスパンダ615に電源が投入され、電圧が所定値まで立ち上がると、リセット信号を発生させ、発生させたリセット信号をバスコントローラ634、出力設定レジスタ635、及び出力コントローラ636に入力することによって初期化する。 The reset signal generation circuit 639 generates a reset signal when the I 2 CI / O expander 615 is powered on and the voltage rises to a predetermined value, and the generated reset signal is output to the bus controller 634, the output setting register 635, And the output controller 636 for initialization.
したがって、ハーネス(図15)を抜くと接続線Vccが一時的に断線し、ハーネスを再度差し込むと電源供給が復帰して、リセット信号発生回路639がリセット信号を出力することになる。つまり、遊技機の修理や点検作業を行うときに、ハーネスの抜き差しを行うことで、I2CI/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. That is, when repairing or checking the gaming machine, the I 2 CI / O expander 615 can be reset by inserting and removing the harness.
なお、外部からLOWレベルのリセット信号が入力された場合には、リセット信号発生回路639はリセット信号を出力するので、演出制御装置550のCPU551から、NORゲート回路561を経由して、RESET端子からリセット信号を入力するようにしてもよい。RESET端子を使用しない場合には、図19及び図20に示すようにRESET端子はHIGHにプルアップされていてもよい。 Since the reset signal generation circuit 639 outputs the reset signal when the reset signal at the LOW level is externally input, the CPU 551 of the effect control device 550 passes the NOR gate circuit 561 to the RESET terminal. The reset signal may be input. When the RESET terminal is not used, the RESET terminal may be pulled up to HIGH as shown in FIG. 19 and FIG.
バス監視WDT640は、他のI2CI/Oエクスパンダ615が接続線SDAを占有していることを検出するために用いられる。バス監視WDT640は、フィルタ631とバスコントローラ634との間に接続され、接続線SDAの信号レベルを取り込んで、連続してLOWレベルとなっている時間を計測する。さらに、バス監視WDT640は、リセット信号発生回路639に接続されており、接続線SDAが占有されてから所定の時間が経過すると、自身のリセット信号発生回路639を作動させて、当該I2CI/Oエクスパンダ615を初期化する。 The bus monitoring WDT 640 is used to detect that the other 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 level is continuously LOW. Further, the bus monitoring WDT 640 is connected to the reset signal generation circuit 639, and operates a reset signal generation circuit 639 of its own when a predetermined time elapses after the connection line SDA is occupied, and the I 2 CI / O Expander 615 is initialized.
なお、接続線SDAは、他のI2CI/Oエクスパンダ615にも接続されているので、接続線SDAが接続された全てのI2CI/Oエクスパンダ615において、接続線SDAの占有状態が検出されることになる。そして、これらのI2CI/Oエクスパンダ615の内部に備えられたリセット信号発生回路639が作動することにより、接続線SDAが接続されているすべてのI2CI/Oエクスパンダ615が初期化される。 The connection line SDA is because it is connected to other I 2 CI / O expander 615, in all of the I 2 CI / O expander 615 where the connecting line SDA is connected, occupancy of the connection line SDA Will be detected. Then, the reset signal generation circuit 639 provided in the inside of the I 2 CI / O expander 615 operates to initialize all the I 2 CI / O expanders 615 to which the connection line SDA is connected. Be done.
自己占有WDT641は、自身(I2CI/Oエクスパンダ615)による接続線SDAの占有を検出するために使用される。バスコントローラ634は、ドライバ632を作動して接続線SDAをロウレベルに駆動させている間は、自己占有WDT641を作動さ
せ、接続線SDAをロウレベルに駆動させていない間は、自己占有WDT641を停止させる。そして、自己占有WDT641が一定時間連続して作動すると、自己占有WDT641は、リセット信号発生回路639にリセット信号を発生させて当該I2CI/Oエクスパンダ615を初期化する。
Self-occupied WDT 641 is used to detect occupancy of connection line SDA by itself (I 2 CI / O expander 615). The bus controller 634 operates the driver 632 to drive the connection line SDA to low level, operates the self-occupied WDT 641, and stops the self-occupied WDT 641 while the connection line SDA is not driven to the low level. . Then, when the self-occupied WDT 641 operates continuously for a fixed time, the self-occupied WDT 641 generates a reset signal in the reset signal generation circuit 639 to initialize the I 2 CI / O expander 615.
これにより、バスコントローラ634自身が接続線SDAをロウレベルに駆動させている期間(当該I2CI/Oエクスパンダ615が接続線SDAを占有している期間)を、監視することが可能となる。自己占有WDT641は、マスタICから受信したデータに対する返答信号(ACK,NACK)を送信するために接続線SDAを占有するタイミングで時間の計測を開始し、所定の時間が経過すると、リセット信号発生回路639にリセット信号を発生させる。この構成により、自己占有WDT641によって接続線SDAの占有が検出された場合には、自身のI2CI/Oエクスパンダ615のみがリセットされる。 Thus, it is possible to monitor a period in which the bus controller 634 itself is driving the connection line SDA to a low level (a period in which the I 2 CI / O expander 615 occupies the connection line SDA). Self-occupied WDT 641 starts measuring time at the timing of occupying connection line SDA to transmit a reply signal (ACK, NACK) to data received from the master IC, and when a predetermined time passes, a reset signal generation circuit 639 generates a reset signal. According to this configuration, when occupancy of connection line SDA is detected by self-occupation WDT 641, only its own I 2 CI / O expander 615 is reset.
図19は、本発明の第1の実施の形態の装飾装置620を制御する装飾制御装置610のI2CI/Oエクスパンダ615周辺の回路図である。 FIG. 19 is a circuit diagram around the I 2 CI / O expander 615 of the decoration control device 610 that controls the decoration device 620 according to the first embodiment of this invention.
I2CI/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 PORT0 to PORT15 as output terminals.
RESET端子には、プルアップ抵抗Rを介してI2CI/Oエクスパンダ615に供給される電源が接続されている。このため、リセット端子に印加される電圧は常にHIGHに維持されている。 The power supply supplied to the I 2 CI / O expander 615 via the pull-up resistor R is connected to the RESET terminal. Therefore, the voltage applied to the reset terminal is always maintained at HIGH.
SCL端子は接続線SCLに接続され、SDA端子は接続線SDAに接続される。 The SCL terminal is connected to the connection line SCL, and the SDA terminal is connected to the connection line SDA.
Vcc端子には、I2CI/Oエクスパンダ615に供給される電源が接続される。さらに、Vcc端子には、電源ノイズを除去するコンデンサCPが接続される。 The power supply supplied to the I 2 CI / O expander 615 is connected to the Vcc terminal. Further, a capacitor CP for removing power supply noise is connected to the Vcc terminal.
A0端子〜A3端子は、I2CI/Oエクスパンダ615に個別アドレスを設定するための端子である。なお、I2CI/Oエクスパンダ615の個別アドレスは、通常、4ビットで表現され、この端子にI2CI/Oエクスパンダ615の電源が印加されている場合にはバスコントローラ634に「1」が設定され、この端子がグランドに接続されている場合にはバスコントローラ634に「0」が設定される。 Terminals A0 to A3 are terminals for setting an individual address in the I 2 CI / O expander 615. The individual address of the I 2 CI / O expander 615 is usually expressed by 4 bits, and when the power of the I 2 CI / O expander 615 is applied to this terminal, the bus controller 634 Is set, and when this terminal is connected to the ground, the bus controller 634 is set to “0”.
したがって、図19に示すI2CI/Oエクスパンダ615の個別アドレスは「0100」となる。GND端子は、電圧をグランドするための端子である。 Therefore, 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 the decoration device 620 including the LED0 to the LED15 via the current limiting resistors R0 to R15. As in PORT0, one LED may be connected to one port, but as in PORT 1-15, a plurality of LEDs may be connected to one port.
すべてのポートにLEDを1個ずつ設ける場合は、1個のI2CI/Oエクスパンダ615によって、最大で16個のLEDを制御できることになる。また、各ポートに接続されるLEDの個数が異なる場合は、1個のポートに直列に接続されたすべてのLEDを1種類のLEDということにすれば、1個のI2CI/Oエクスパンダ615によって、最大で16種類のLEDを制御できることになる。 If one LED is provided for every port, one I 2 CI / O expander 615 can control up to 16 LEDs. In addition, when the number of LEDs connected to each port is different, if all LEDs connected in series to one port are one type of LED, one I 2 CI / O expander With 615, up to 16 types of LEDs can be controlled.
PORT0端子〜PORT15端子に接続されるトランジスタ638A〜638P(図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. It becomes possible, current flows to LED0-LED15 connected to PORT0 terminal-PORT15 terminal, and each LED0-LED15 lights.
一方、ドライバ637がトランジスタ638A〜638Pのゲートに電圧を印加しなければ、各LED0〜LED15に電流が流れない状態になり、各LED0〜LED15は点灯しない。 On the other hand, if the driver 637 does not apply a voltage to the gates of the transistors 638A to 638P, no current flows in the LEDs 0 to 15 and the LEDs 0 to 15 do not light.
なお、ハーネス(図15)をコネクタから抜いている間は、接続線Vledが断線しているので各LED0〜LED15に電流が供給されず、消灯した状態となる。ハーネスを抜くだけで接続線Vledからの電源供給を中断できる構成なので、遊技機の修理や点検作業を安全に行うことができるようになっている。 Since the connection line Vled is disconnected while the harness (FIG. 15) is removed from the connector, no current is supplied to the LEDs 0 to 15 and the light is turned off. Since the power supply from the connection line Vled can be interrupted simply by removing the harness, repair and inspection of the gaming machine can be performed safely.
なお、I2CI/Oエクスパンダ615のPORT0端子〜PORT15端子には、LEDの代わりに、モータやソレノイドを接続して、このモータやソレノイドを遊技に用いる演出装置として構成することも可能である。以下、図20を参照しながらI2CI/Oエクスパンダ615を用いてモータやソレノイドを制御する場合について説明する。 In addition, it is also possible to connect a motor or a solenoid to the PORT0 terminal to the PORT15 terminal of the I 2 CI / O expander 615 instead of the LED, and configure the motor or the solenoid as a rendering device using for gaming . Hereinafter, a case where a motor or a solenoid is controlled using the I 2 CI / O expander 615 will be described with reference to FIG.
図20は、本発明の第1の実施の形態の装飾制御装置610のI2CI/Oエクスパンダ615周辺の回路図であり、モータやソレノイドを制御する場合を示す図である。 FIG. 20 is a circuit diagram around the I 2 CI / O expander 615 of the decoration control device 610 according to the first embodiment of this invention, showing a case of controlling a motor and a solenoid.
ここで使用されるモータはステッピングモータにより構成され、ステッピングモータを駆動する各相の信号端子に、所定の電圧を順次印加することで回動する。本発明の第1の実施の形態では、モータの各相の信号端子がPORT0端子〜PORT3端子に接続される。 The motor used here is constituted by a stepping motor, and is rotated by sequentially applying a predetermined voltage to signal terminals of respective phases which drive the stepping motor. In the first embodiment of the present invention, signal terminals of respective phases of the motor are connected to PORT0 terminal to PORT3 terminal.
モータに接続されているPORT0端子〜PORT3端子に接続されるトランジスタ638A〜638Dのいずれかのゲートに対してドライバ637から電圧が印加されると、電圧が印加されたトランジスタ638A〜638Dのドレインからソースへ電流が流れることが可能になり、PORT0端子〜PORT3端子に接続されるモータに電流が流れ、役物駆動用のモータが駆動する。 When a voltage is applied from the driver 637 to the gate of any of the transistors 638A to 638D connected to the PORT0 terminal to the PORT3 terminal connected to the motor, the drain to source of the transistors 638A to 638D to which the voltage is applied It becomes possible for the current to flow to the motor connected to the PORT0 terminal to the PORT3 terminal, and the motor for driving the accessory is driven.
なお、各PORT0端子〜PORT3端子とモータとを接続する接続線は分岐し、分岐した一方の接続線は、モータに供給される電源にダイオードD及びツェナダイオードZDを介して接続される。 The connection lines connecting the PORT0 terminals to the PORT3 terminals and the motor are branched, and one branched connection line is connected to the power supplied to the motor via the diode D and the Zener diode ZD.
また、PORT端子15は、使用されるソレノイドに接続される。ソレノイドに接続されているPORT15端子に接続されるトランジスタ638Pのゲートに対してドライバ637から電圧が印加されると、電圧が印加されたトランジスタ638Pのドレインからソースへ電流が流れることが可能になり、PORT15端子に接続されるソレノイドに電流が流れ、ソレノイドによって駆動される図示しない演出装置が駆動する。 Also, 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 PORT 15 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 to the solenoid connected to the PORT 15 terminal, and a rendering device (not shown) driven by the solenoid is driven.
なお、図20では、I2CI/Oエクスパンダ615にモータ及びソレノイドの双方が接続されているが、一つのI2CI/Oエクスパンダ615に対して、モータ及びソレノイドの一方だけを接続した構成でもよい。 Although both the motor and the solenoid are connected to the I 2 CI / O expander 615 in FIG. 20, only one of the motor and the solenoid is connected to one I 2 CI / O expander 615. It may be a configuration.
例えば、ステッピングモータだけを制御するグループとしてのI2CI/Oエクスパンダ615を専用に設けたり、ソレノイドだけを制御するグループとしてのI2CI/Oエ
クスパンダ615を専用に設けたりするようにしてもよい。このような構成により、同一グループに属する演出装置を同じタイミングで制御することが可能となるので、高速処理が必要な演出装置だけをグループ化して効率よく制御することも可能となる。
For example, the I 2 CI / O expander 615 as a group controlling only a stepping motor is provided exclusively, or the I 2 CI / O expander 615 as a group controlling only a solenoid is provided exclusively. It is also good. With such a configuration, it is possible to control the rendering devices belonging to the same group at the same timing, and it is also possible to group only the rendering devices that require high-speed processing for efficient control.
図21は、本発明の第1の実施の形態の装飾制御装置610、中継基板600及び簡易中継基板1600の回路構成を説明するための図であり、特に、信号線や電源線の入出力に関する接続状態を説明するための図である。 FIG. 21 is a diagram for explaining a circuit configuration of the decoration control device 610, the relay substrate 600 and the simple relay substrate 1600 according to the first embodiment of the present invention, and in particular, 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 the figure, among the decoration control device 610, the relay substrate 600, and the simple relay substrate 1600, the branch-type decoration control device 610 (for example, the decoration control device 610A etc.) will be described. The differences from the decoration control device 610, the terminal decoration control device 610, the relay substrate 600, and the simple relay substrate 1600 will be described.
なお、本図においては、前述した分岐型の装飾制御装置610Xに備えられる部品と、同一の付番を付けて説明を行う。 In the drawing, the description will be given with the same reference numerals as the parts provided in the above-described branch type decoration control device 610X.
分岐型の装飾制御装置610は、上流コネクタ611、下流コネクタ612(612A、612B)、及びI2CI/Oエクスパンダ615を備える。 The branch-type decoration control device 610 includes an upstream connector 611, a downstream connector 612 (612A, 612B), and an I 2 CI / O expander 615.
上流コネクタ611は、当該装飾制御装置610よりも上流の装飾制御装置610に接続されるコネクタである。下流コネクタ612A及び612Bは、当該装飾制御装置610よりも下流側の装飾制御装置610に接続される。 The upstream connector 611 is a connector connected to the decoration control device 610 upstream of 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 into a first connection line SDA2121 and a second connection line SDA2131 at a branch 2101. 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 into a first connection line SCL2122 and a second connection line SCL2132 at a branch 2102. The first connection line SCL2122 is connected to the downstream connector 612A, and the second connection line SCL2132 is connected to the downstream connector 612B.
さらに、接続線SDAをI2CI/Oエクスパンダ615に接続するために、第2接続線SDA2131は分岐2103で分岐し、分岐した第2接続線SDA2131はI2CI/Oエクスパンダ615の図19及び図20に示すSDA端子に接続される。また、接続線SCLをI2CI/Oエクスパンダ615に接続するために、第2接続線SCL2132は分岐2104で分岐し、分岐した第2接続線SCL2132はI2CI/Oエクスパンダ615の図19及び図20に示すSCL端子に接続される。以下、I2CI/Oエクスパンダ615、分岐2103からI2CI/Oエクスパンダ615に接続される接続線SDA、及び分岐2104からI2CI/Oエクスパンダ615に接続される接続線SCLを含む構成をI2CI/Oエクスパンダ部2181とする。 Further, in order to connect the connection line SDA to the I 2 CI / O expander 615, the second connection line SDA 2131 branches at a 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. Also, in order to connect the connection line SCL to the I 2 CI / O expander 615, the second connection line SCL 2132 branches at a branch 2104, and the branched second connection line SCL 2 132 is a diagram of the I 2 CI / O expander 615. It is connected to the SCL terminal shown in FIG. Hereinafter, the connection line SDA connected to the I 2 CI / O expander 615, the branch 2103 to the I 2 CI / O expander 615, and the connection line SCL connected to the I 2 CI / O expander 615 from the branch 2104 A configuration to be included is an I 2 CI / O expander unit 2181.
なお、I2CI/Oエクスパンダ615には、I2CI/Oエクスパンダ615の電源電圧となる電圧Vccが供給されている。また、図21では図示されていないが、I2CI/Oエクスパンダ615からは、装飾制御装置610に設けられたLED(装飾装置620)を駆動する各ポート0〜15の信号線(図19参照)が出力されている。 The I 2 CI / O expander 615 is supplied with a voltage Vcc which is a power supply voltage of the I 2 CI / O expander 615. Although not shown in FIG. 21, the I 2 CI / O expander 615 sends signal lines (shown in FIG. 19) to the ports 0 to 15 for driving the LED (decorative device 620) provided in the ornamental control device 610. Reference is output.
さらに、当該装飾制御装置610のI2CI/Oエクスパンダ615が上流の装飾制御装置610に接続線SDAを介して出力する信号、及び上流の装飾制御装置610から、
当該装飾制御装置610のI2CI/Oエクスパンダ615に接続線SDAを介して入力される信号のノイズを除去するために、内部接続線SDA2111にはツェナダイオードZD2141が接続されている。
Furthermore, from 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 from the upstream decoration control device 610,
In order to remove noise of a signal input to the I 2 CI / O expander 615 of the decoration control device 610 via the connection line SDA, a Zener diode ZD 2141 is connected to the internal connection line SDA 2111.
具体的には、内部接続線SDA2111は分岐2105で分岐し、分岐した内部接続線SDA2111はツェナダイオードZD2141のカソード側に接続され、ツェナダイオードZD2141のアノード側は接地されている。 Specifically, the internal connection line SDA2111 branches at a 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によって逃がされる。 Therefore, a voltage (for example, a pulse noise signal) higher than a predetermined voltage applied to the internal connection line SDA2111 is released by the Zener diode ZD2141.
また、上流の装飾制御装置610から、当該装飾制御装置610のI2CI/Oエクスパンダ615へ接続線SCLを介して入力される信号のノイズを除去するために、内部接続線SCL2112にはツェナダイオードZD2142が接続されている。 In addition, in order to remove noise of a signal input 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 SCL 2112 is a Zener. The 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によって逃がされる。 Therefore, a voltage (for example, a pulse noise signal) higher than a predetermined voltage applied to the internal connection line SCL2112 is dissipated by the Zener diode ZD2142.
また、当該装飾制御装置610のI2CI/Oエクスパンダ615が、下流コネクタ612Aに接続された装飾制御装置610に接続線SDAを介して出力する信号、及び下流コネクタ612Aに接続された装飾制御装置610から装飾制御装置610のI2CI/Oエクスパンダ615へ接続線SDAを介して入力される信号のノイズを除去するために、第1接続線SDA2121にはツェナダイオードZD2143が接続されている。 Further, the I 2 CI / O expander 615 of the decoration control device 610 outputs a signal output to the decoration control device 610 connected to the downstream connector 612A via the connection line SDA, and the decoration control connected to the downstream connector 612A. A Zener diode ZD2143 is connected to the first connection line SDA2121 in order to remove noise of a signal input from the device 610 to the I 2 CI / O expander 615 of the decoration control apparatus 610 through 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によって逃がされる。 Therefore, a voltage (for example, a pulse 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が接続される。 Further, similarly to the Zener diode ZD2143 connected to the first connection line SDA2121, the Zener diode ZD2145 is connected to the second connection line SDA2131.
また、装飾制御装置610のI2CI/Oエクスパンダ615から下流コネクタ612Aに接続された装飾制御装置610へ接続線SCLを介して入力される信号のノイズを除去するために、第1接続線SCL2122にはツェナダイオードZD2144が接続されている。 In addition, in order to remove noise of a signal input from the I 2 CI / O expander 615 of the decoration control device 610 to the decoration control device 610 connected to the downstream connector 612A via the connection line SCL, the first connection line The 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によって逃がされる。 Therefore, a voltage (for example, a pulse noise signal) higher than a predetermined voltage applied to the first connection line SCL2122 is dissipated by the Zener diode ZD2144.
また、第1接続線SCL2122に接続されるツェナダイオードZD2144と同じく、第2接続線SCL2132にもツェナダイオードZD2146が接続される。 Further, similarly to the Zener diode ZD2144 connected to the first connection line SCL2122, the Zener diode ZD2146 is also connected to the second connection line SCL2132.
さらに、当該装飾制御装置610のI2CI/Oエクスパンダ615に電源電圧を供給する接続線Vccに接続される上流コネクタ601のVcc端子から延びる内部接続線Vcc2171と、上流コネクタ601のGND端子から延び、接地されている内部接続線GND2172とは、平滑コンデンサC2161及びバイパスコンデンサCP2162を介して接続されている。 Furthermore, an internal connection line Vcc 2171 extending from the Vcc terminal of the upstream connector 601 connected to the connection line Vcc supplying the power supply voltage to the I 2 CI / O expander 615 of the decoration control device 610 and a GND terminal of the upstream connector 601 The extended and grounded internal connection line GND2172 is connected via the smoothing capacitor C2161 and the bypass capacitor CP2162.
平滑コンデンサ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 voltage of the power supply.
このため、装飾制御装置610のI2CI/Oエクスパンダ615に供給される電源電圧は、平滑コンデンサC2161により電圧が平滑化され、バイパスコンデンサCP2162によりノイズが除去されて、I2CI/Oエクスパンダ615に供給される。 For this reason, the power supply voltage supplied to the I 2 CI / O expander 615 of the decoration control device 610 is smoothed by the smoothing capacitor C2161 and noise is removed by the bypass capacitor CP2162, and the I 2 CI / O expander is removed. It is supplied to the panda 615.
同じく、下流コネクタ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 the smoothing capacitor C2161 and the bypass capacitor CP2162. Thereby, the smoothed and denoised voltage is applied to the connection line Vcc connected to the decoration control device 610 downstream.
以上、分岐型の装飾制御装置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, the Zener diode ZD2143 connected to the connection line SDA, the Zener diode ZD2144 connected to the connection line SCL, the internal connection line Vcc2173, the internal connection line GND2174, the smoothing capacitor C2161 and the bypass capacitor CP2162 The configuration is referred to as a first downstream connector portion 2182.
また、下流コネクタ612Bに加え、接続線SDAに接続されるツェナダイオードZD2145、及び接続線SCLに接続されるツェナダイオードZD2146、内部接続線Vcc2173、内部接続線GND2174、平滑コンデンサC2161及びバイパスコンデンサCP2162を備える構成を第2の下流コネクタ部2183とする。 In addition to the downstream connector 612B, the Zener diode ZD2145 connected to the connection line SDA, and the Zener diode ZD2146 connected to the connection line SCL, the internal connection line Vcc2173, the internal connection line GND2174, the smoothing capacitor C2161 and the bypass capacitor CP2162 The configuration is a second downstream connector portion 2183.
装飾制御装置610が連結型の場合には、基板内に一つの下流コネクタのみを備える構成となるので、下流コネクタ612Aは存在するが下流コネクタ612Bが存在しない。 When the decoration control device 610 is of a connected type, only one downstream connector is provided in the substrate, so the downstream connector 612A is present but the downstream connector 612B is not present.
そのため、内部接続線SDA2111及び内部接続線SCL2112は、分岐2103、2104では分岐しない構成となり、第2接続線SDA2131及び第2接続線SCL2132は存在しない点が、分岐型の装飾制御装置610とは異なる構成となる。 Therefore, the internal connection line SDA2111 and the internal connection line SCL2112 do not branch at the branches 2103 and 2104, and the second connection line SDA2131 and the second connection line SCL2132 do not exist, which is different from the decoration control device 610 of the branch type. It becomes composition.
また、連結型の装飾制御装置610は、第2の下流コネクタ部2183を構成する電子部品が存在しない点も、分岐型の装飾制御装置610と異なる構成となる。他の構成は分岐型の装飾制御装置610と同様の構成となる。 Further, the connection type decoration control device 610 is also different from the branch type decoration control device 610 in that there is no electronic component that constitutes the second downstream connector portion 2183. The other configuration is the same as that of the branch type decoration control device 610.
次に、終端型の装飾制御装置610について説明する。 Next, the termination type decoration control device 610 will be described.
装飾制御装置610が終端型の場合には、基板内に下流コネクタを備えない構成となる
ので、下流コネクタ612A、612Bがともに存在しない。
In the case where the decoration control device 610 is a terminal type, since the downstream connector is not provided in the substrate, both of the downstream connectors 612A and 612B are not present.
そのため、内部接続線SDA2111及び内部接続線SCL2112は、分岐2101、2102、2103、2104で分岐することなく、I2CI/Oエクスパンダ615へ接続される点が、分岐型の装飾制御装置610とは異なる構成となる。 Therefore, the branch-type decoration control device 610 is connected to the I 2 CI / O expander 615 in that the internal connection line SDA2111 and the internal connection line SCL2112 are not branched at the branches 2101, 2102, 2103, and 2104. Have different configurations.
また、終端型の装飾制御装置610は、第1の下流コネクタ部2182及び第2の下流コネクタ部2183を構成する電子部品が存在しない点も、分岐型の装飾制御装置610と異なる構成となる。他の構成は分岐型の装飾制御装置610と同様の構成となる。 In addition, the termination-type decoration control device 610 is different from the branch-type decoration control device 610 in that there is no electronic component that constitutes the first downstream connector portion 2182 and the second downstream connector portion 2183. The other configuration is the same as that of the branch type decoration control device 610.
次に、中継基板600について説明する。 Next, the relay substrate 600 will be described.
中継基板600は、連結型の装飾制御装置610と同様に、基板内に一つの下流コネクタのみを備える構成となるので、下流コネクタ612Aは存在するが下流コネクタ612Bが存在しない。 Since the relay substrate 600 is configured to include only one downstream connector in the substrate as in the connection type decoration control device 610, the downstream connector 612A is present but the downstream connector 612B is not present.
そのため、内部接続線SDA2111及び内部接続線SCL2112は、分岐2103、2104では分岐しない構成となり、第2接続線SDA2131及び第2接続線SCL2132が存在しないので、連結型の装飾制御装置610と同様の構成となる。 Therefore, the internal connection line SDA2111 and the internal connection line SCL2112 do not branch at the branches 2103 and 2104, and the second connection line SDA2131 and the second connection line SCL2132 do not exist, so the same configuration as the connection type decoration control device 610 It becomes.
ただし、中継基板600は、接続線SDA及び接続線SCLの電圧をプルアップするためのプルアップ抵抗を備えている点で、連結型の装飾制御装置610と異なる。 However, the relay substrate 600 is different from the connection type decoration control device 610 in that the relay substrate 600 is provided with a pull-up resistor for pulling up the voltage 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 substrate 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 selected. A pull-up resistor R2151 for pull-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 is a 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 a 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 a branch 2110, and the branched first connection line SCL2122 is connected to the pull-up resistor R2152. Hereinafter, a pull-up resistor portion 2180 is obtained by combining a pull-up resistor R2151 for pulling up the voltage of the connection line SDA and a pull-up resistor R2152 for pulling up the voltage of the connection line SCL.
次に、簡易中継基板1600について説明する。 Next, the simple relay board 1600 will be described.
簡易中継基板1600は、分岐型の装飾制御装置610と同様に、基板内に複数の下流コネクタ(下流コネクタ612A、612B)を備える。ただし、簡易中継基板1600は、I2CI/Oエクスパンダ部2181に相当する回路を備えておらず、代わりに、中継基板600に備えている前述のプルアップ抵抗部2180に相当する回路が設けられている点が、分岐型の装飾制御装置610と異なる構成である。他の構成は分岐型の装飾制御装置610と同様の構成となる。 The simple relay substrate 1600 includes a plurality of downstream connectors (downstream connectors 612A and 612B) in the substrate, as in the branch type decoration control device 610. However, simple relay substrate 1600 does not include a circuit corresponding to I 2 CI / O expander unit 2181, and instead, a circuit corresponding to the aforementioned pull-up resistor unit 2180 provided on relay substrate 600 is provided. The configuration is different from that of the branch type decoration control device 610. The other configuration is the same as that 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 above-described configuration of the pull-up resistor unit 2180 is provided only on the relay substrate 600 and the simple relay substrate 1600, and is not provided on 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 generated correctly, they may be provided in the decoration control device 610 or the presentation control device 550. That is, the pull-up resistors R2151 and 2152 may be provided at locations where the voltage Vcc can be supplied to the terminals of the drains of the transistors driving the connection lines SDA and 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, the pull-up resistor unit 2180 does not have to be provided in the relay substrate 600, the simple relay substrate 1600, or the decoration control device 610.
図22は、本発明の第1の実施の形態の演出制御装置550から装飾制御装置610に出力されるデータに含まれるスレーブアドレス2200の説明図である。 FIG. 22 is an explanatory diagram of a slave address 2200 included in data output from the effect control device 550 according to the first embodiment of this invention to the decoration control device 610.
スレーブアドレス2200は、上位3ビットからなる固定アドレス部2201及び下位5ビットからなる可変アドレス部2202によって構成される。 The slave address 2200 is composed of a fixed address portion 2201 consisting of upper 3 bits and a variable address portion 2202 consisting of lower 5 bits.
固定アドレス部2201は、「110」の値があらかじめ設定され、I2CI/Oエクスパンダ615によって変更することができない。 The fixed address portion 2201 has a value of “110” set in advance, and can not be changed by the I 2 CI / O expander 615.
可変アドレス部2202は、I2CI/Oエクスパンダ615によって設定可能である。可変アドレス部2202は、制御対象となるI2CI/Oエクスパンダ615のA0〜A3の端子に設定されているパターンに対応した4ビットのI2CI/Oエクスパンダアドレス2203と、当該データが読み出し要求(「1」)であるのか書き込み要求(「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 has a 4-bit I 2 CI / O expander address 2203 corresponding to the pattern set to the terminals A0 to A3 of the I 2 CI / O expander 615 to be controlled, and the data. It is constituted by 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の実施の形態のI2CI/Oエクスパンダアドレステーブル2300の説明図である。 FIG. 23 is an explanatory diagram of an I 2 CI / O expander address table 2300 according to the first embodiment of this invention.
I2CI/Oエクスパンダアドレステーブル2300は、第1マスタIC570aによって管理されるテーブルである。I2CI/Oエクスパンダアドレステーブル2300は、スレーブアドレス2301とI2CI/Oエクスパンダアドレス2302との対応関係を示している。 The I 2 CI / O expander address table 2300 is a table managed by the first master IC 570 a. The I 2 CI / O expander address table 2300 shows the correspondence between the slave address 2301 and the I 2 CI / O expander address 2302.
スレーブアドレス2301には、演出制御装置550により送受信の対象として指定される装飾制御装置610のスレーブアドレスが格納されている。スレーブアドレスは、図20で前述したように、上位3ビットからなる固定アドレス部と、4ビットのI2CI/Oエクスパンダアドレスと、1ビットのR/W識別データとを組み合わせて構成される。 The slave address 2301 stores a slave address of the decoration control device 610 designated as a target of transmission and reception by the effect control device 550. As described above with reference to FIG. 20, the slave address is configured by combining the high-order 3-bit fixed address portion, 4-bit I 2 CI / O expander address, and 1-bit R / W identification data. .
I2CI/Oエクスパンダアドレス2302には、図19や図20で前述したように、各スレーブアドレスに対応する4ビットのI2CI/Oエクスパンダアドレスが登録される。 In the I 2 CI / O expander address 2302, as described above with reference to FIGS. 19 and 20, the 4-bit I 2 CI / O expander address corresponding to each slave address is registered.
ただし、I2CI/Oエクスパンダアドレスのうち、アドレス「1000」及びアドレス「1011」(図23の網掛けされたエントリ)は、各I2CI/Oエクスパンダ615を相互に識別するための固有のアドレスとしては使用できない。 However, among the I 2 CI / O expander addresses, the address “1000” and the address “1011” (shaded entries in FIG. 23) are for identifying the respective I 2 CI / O expanders 615 to each other. It can not be used as a unique address.
アドレス「1000」は、すべての装飾制御装置610に対して共通の指令を出力する場合に指定されるアドレス(オールコールアドレス)の電源投入時のデフォルト値として用いられる。アドレス「1011」は、ソフトウェアによって、第1マスタIC570a
に接続されているすべての装飾制御装置610を無条件にリセットする場合に用いられる共通アドレスである。
The address “1000” is used as a power-on default value of the address (all call address) specified when outputting a common command to all the decoration control devices 610. The address "1011" is the first master IC 570a by software.
Is a common address used when unconditionally resetting all the decoration control devices 610 connected to.
以上のように、装飾制御装置610のI2CI/Oエクスパンダ615に設定可能なアドレスは14個であるため、演出制御装置550は、14個のI2CI/Oエクスパンダ615を制御することができる。また、各装飾制御装置610には、PORT0〜PORT15が備えられているので、16個(言い換えれば16種類)のLEDを制御することが可能である。よって、演出制御装置550は、224個(言い換えれば224種類)のLEDを制御することが可能である。 As described above, since 14 addresses 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 expander 615. be able to. Moreover, since each decoration control device 610 is provided with PORT0 to PORT15, it is possible to control 16 (16 types of) LEDs. Therefore, the effect control device 550 can control 224 LEDs (in other words, 224 types).
図24は、本発明の第1の実施の形態のI2CI/Oエクスパンダ615に備えられる出力設定レジスタ635に割り当てられたワークレジスタを説明するための図である。 FIG. 24 is a diagram for describing a work register assigned to the output setting register 635 provided in the I 2 CI / O expander 615 according to the first embodiment of this invention.
I2CI/Oエクスパンダ615の出力設定レジスタ635には、ワークレジスタ(デバイスレジスタ)と、コントロールレジスタ(制御レジスタ)とが割り当てられている。 A work register (device register) and a control register (control register) are assigned to the output setting register 635 of the I 2 CI / O expander 615.
ワークレジスタは、I2CI/Oエクスパンダ615に対してあらかじめ定義されている設定を行うための情報や、I2CI/Oエクスパンダ615に接続されている演出装置(装飾装置620、例えば、LED)の出力態様を特定するための情報を記憶するものである。 The work register is information for setting the I 2 CI / O expander 615 in advance, or a rendering device (decor device 620, for example, connected to the I 2 CI / O expander 615). It stores information for specifying the output mode of the LED).
また、コントロールレジスタは、ワークレジスタへのデータ書き込み手順を規定する情報を記憶する。なお、ワークレジスタは、複数の情報を異なる記憶領域に分散して記憶する構成となっており、記憶領域毎に異なるレジスタ番号が付与されている。 The control register also stores information that defines the procedure for writing data to the work register. The work register is configured to distribute and store a plurality of pieces of information in different storage areas, and a different register number is assigned to each storage area.
レジスタ番号「00h」及びレジスタ番号「01h」は、I2CI/Oエクスパンダ615の初期設定を行うためのモードレジスタに対応する。レジスタ番号「00h」の記憶領域にはレジスタ名「MODE1」が付与されている。また、レジスタ番号「01h」の記憶領域にはレジスタ名「MODE2」が付与されている。レジスタ番号「00h」及び「01h」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、I2CI/Oエクスパンダ615の初期設定が行われる。 The register number “00h” and the register number “01h” correspond to a mode register for initializing the I 2 CI / O expander 615. The register name "MODE1" is assigned to the storage area of the register number "00h". Further, the register name "MODE2" is assigned to the storage area of the register number "01h". When values are written to the storage areas of register numbers “00h” and “01h”, initialization of the I 2 CI / O expander 615 is performed based on the written values.
なお、「MODE2」のレジスタのビット3(OCH)は、I2CI/Oエクスパンダ615の出力設定レジスタ635に格納された演出制御データを演出装置に実際に反映させるタイミングを規定するパラメータである。本発明の第1の実施の形態では、図18にて説明したように、「0」が設定されており、ストップコンディションを受信した時点で出力設定レジスタ635に格納された演出制御データを出力し、演出装置の出力状態を実際に制御するように設定されている。また、第4の実施の形態では、「MODE2」のレジスタのビット3(OCH)の値に「1」を設定し、返答信号(ACK)を出力した時点で出力設定レジスタ635に格納された演出制御データを出力し、演出装置の出力状態を実際に制御するように設定される実施形態について説明する。 Note that bit 3 (OCH) of the “MODE 2” 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 on the effect device . In the first embodiment of the present invention, as described in 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. , It is set to actually control the output state of the rendering device. Further, in the fourth embodiment, the value of bit 3 (OCH) of the register of “MODE 2” is set to “1”, and the effect stored in the output setting register 635 when the reply signal (ACK) is output. An embodiment will be described which is set to output control data and to actually control the output state of the rendering device.
レジスタ番号「02h」〜「11h」(レジスタ名「PWM0」〜「PWM15」)には、装飾装置620に含まれるLEDなどの制御対象のパラメータが設定される。レジスタ番号「02h」〜「11h」の記憶領域のいずれかに値が書き込まれると、I2CI/Oエクスパンダ615に接続される発光装置(装飾装置620)を構成する16個のLEDのうち、値が書き込まれたレジスタ番号に対応するLEDの輝度が、書き込まれた値に基づいて調整される。例えば、レジスタ番号「02h」の記憶領域に値が書き込まれた場合には、図19に示すポート0に接続されたLED0の輝度が調整される。 In the register numbers “02h” to “11h” (register names “PWM0” to “PWM15”), parameters to be controlled such as LEDs included in the decorative device 620 are set. When a value is written to any of the storage areas of register numbers “02h” to “11h”, of the 16 LEDs constituting the light emitting device (decorative device 620) connected to I 2 CI / O expander 615 The brightness of the LED corresponding to the register number into which the value is written is adjusted based on the written value. For example, when a value is written to the storage area of the register number “02h”, the luminance of the LED 0 connected to the port 0 shown in FIG. 19 is adjusted.
なお、I2CI/Oエクスパンダ615は、前述のように、モータやソレノイドといった可動物を制御することも可能である。I2CI/Oエクスパンダ615にソレノイドが接続される場合には、ソレノイドが接続されるポートに対応するレジスタ番号には、ソレノイドを通電させて作動させるか、通電せずに未作動の状態にするかを示す値が書き込まれる。また、I2CI/Oエクスパンダ615にモータが接続される場合には、モータが接続されるポートに対応するレジスタ番号には、モータの目標回転位置を示す値が書き込まれる。 Note that, as described above, the I 2 CI / O expander 615 can also control movable objects such as motors and solenoids. When a solenoid is connected to the I 2 CI / O expander 615, the solenoid is energized to operate the register number corresponding to the port to which the solenoid is connected, or is not operated without energization. A value indicating what to do is written. When the 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 object and the like are set. When values are written to 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 values. Specifically, a duty cycle which is the on / off ratio of the entire LED is set to the register number "12h", and a blinking cycle of the entire LED is set to the register number "13h".
レジスタ番号「14h」(レジスタ名「LEDOUT0」)〜「17h」(レジスタ名「LEDOUT3」)には、各ポートで制御されるLEDの出力状態が設定される。各レジスタには、それぞれ4つずつLEDの出力状態を設定することが可能となっている。 The output states of the LEDs controlled by the respective ports are set in the register numbers “14h” (register name “LEDOUT0”) to “17h” (register name “LEDOUT3”). In each register, it is possible to set four LED output states.
レジスタ番号「14h」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、LED0〜LED3の出力状態が設定される。同様に、レジスタ番号「15h」の記憶領域にはLED4〜LED7の出力状態、レジスタ番号「16h」の記憶領域にはLED8〜LED11の出力状態、レジスタ番号「17h」の記憶領域にはLED12〜LED15の出力状態が設定される。 When a value is written to the storage area of the register number "14h", the output states of LED0 to LED3 are set based on the written value. Similarly, the output states of the LED4 to LED7 are stored in the storage area of the register number "15h", the output states of the LED8 to LED11 are stored in the storage area of the register number "16h", and the LED12 to LED15 are stored in the storage area of the register number "17h". The output state of is set.
レジスタ番号「18h」〜「1Ah」(レジスタ名「SUBADR1」〜「SUBADR3」)にはサブアドレスが設定される。レジスタ番号「18h」〜「1Ah」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、第1サブアドレス〜第3サブアドレスが設定される。 Subaddresses are set to register numbers “18h” to “1Ah” (register names “SUBADR1” to “SUBADR3”). When values are written in the storage areas of register numbers “18h” to “1Ah”, first to third subaddresses are set based on the written values.
レジスタ番号「1Bh」(レジスタ名「ALLCALLADR」)にはすべての装飾制御装置610に対する指令を出力するためのオールコールアドレスが設定される。オールコールアドレスは、例えば、電源投入時などにすべての装飾制御装置610で初期化処理を実行する場合などに使用される。 An all-call address for outputting a command to all the decoration control devices 610 is set in a register number "1Bh" (register name "ALLCALLADR"). The all-call address is used, for example, when the initialization process is performed by all the decoration control devices 610 when the power is turned on.
図25は、本発明の第1の実施の形態のマスタICが接続線SDA及び接続線SCLを介してデータを出力するスタート条件及びストップ条件の説明図である。 FIG. 25 is an explanatory diagram of the start condition and the 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, and causes the decoration control device 610 to act as a strobe signal for capturing data of the connection line SDA.
接続線SDAは、データの非送信時には信号レベルがHIGHになっており、接続線SCLのクロック信号に合わせて接続線SDAからデータが出力される。 The signal level of the connection line SDA is HIGH 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 outputs a signal serving as a start condition indicating that data output starts by changing the signal level of connection line SDA from HIGH to LOW while maintaining the signal level of connection line SCL high. .
装飾制御装置610のI2CI/Oエクスパンダ615は、接続線SDA及び接続線SCLからスタート条件となる信号が入力されると、データの出力が開始されることを認識する。 The I 2 CI / O expander 615 of the decoration control device 610 recognizes that output of data is started when a signal 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 high, and outputs a signal serving as a stop condition indicating that the output of data is completed. .
装飾制御装置610のI2CI/Oエクスパンダ615は、ストップ条件となる信号が入力されると、データの出力が終了することを認識する。本発明の第1の実施の形態では、前述のように、装飾制御装置610がストップ条件となる信号を受信すると、当該装飾制御装置610が制御する演出装置(装飾装置620)の制御を開始する。 The I 2 CI / O expander 615 of the decoration control device 610 recognizes that the output of the data ends when the signal serving as the 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 rendering device (decoration device 620) controlled by the decoration control device 610 is started. .
図26は、本発明の第1の実施の形態のマスタICから出力されたデータが入力された装飾制御装置610が返答信号を出力するタイミングチャートである。 FIG. 26 is a timing chart in which the decoration control device 610 to which the 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 in the data of the 8th bit from the connection line SDA. Do.
なお、図26に示すように、データの受信に成功したことを示す返答信号(ACKの返答信号)はLOWレベルによって示され、データの受信に失敗したことを示す返答信号(NACKの返答信号、図ではACK出力なしに相当)はHIGHレベルによって示される。 As shown in FIG. 26, a response signal (ACK response signal) indicating that data reception was successful is indicated by the LOW level, and a response signal (NACK response signal) indicating that data reception failed. In the figure, corresponding to no ACK output) is indicated by the HIGH level.
また、マスタICは、スタート条件が成立してから接続線SCLの信号レベルが8回変化すると、接続線SDAを解放することによって、装飾制御装置610から返答信号の入力を待機する。そして、マスタICは、接続線SDAを解放したまま、接続線SCLの信号レベルを変化させて、装飾制御装置610からの返答信号を取り込む。 In addition, when the signal level of the connection line SCL changes eight times after the start condition is satisfied, the master IC waits for the input of the 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 this invention outputs effect control data.
まず、マスタICは、データの出力を開始する場合には、接続線SCLの信号レベルをHIGHに維持したまま、接続線SDAの信号レベルをHIGHからLOWに変化させることによって、スタート条件を示す信号を出力し、データの出力を開始することを装飾制御装置610に通知する。 First, when starting to output 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 high, thereby indicating a start condition. , And notify the decoration control device 610 to start outputting data.
次に、マスタ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 7 bits in total. Further, the master IC outputs information indicating whether it is a write request which is a read request to the eighth bit.
そして、マスタICは、接続線SCLの信号レベルが9回目にHIGHになるときに、
装飾制御装置610から返答信号が入力されるので、ACKの返答信号であれば接続線SDAの信号レベルがLOWに変化し、NACKの返答信号であれば接続線SDAの信号レベルがHIGHに変化する。
Then, when the signal level of the connection line SCL goes high for the ninth time, the master IC
Since the response signal is input from the decoration control device 610, the signal level of the connection line SDA changes to LOW if it is an ACK response signal, and the signal level of the connection line SDA changes to HIGH if it is a NACK response signal. .
次に、マスタICは、アドレスデータの出力後、8の倍数となるビット数でデータを出力する。さらに、データの8ビット目を出力した後、ACKの返答信号が入力されるのを待ってデータの9ビット目を出力する。以降、8の倍数番目に相当するビットのデータを出力すると、ACKの返答信号が入力されるのを確認してから、(8の倍数+1)番目のビットを出力し、全データが出力されるまで繰り返す。 Next, after outputting the address data, the master IC outputs data with the number of bits which is a multiple of eight. Furthermore, after the eighth bit of data is output, the ninth bit of data is output while waiting for an ACK response signal to be input. After that, when the bit data corresponding to the multiple of 8 is output, after confirming that the ACK response signal is input, the (multiple of 8 + 1) bit is output and all the data are output. Repeat until.
なお、マスタICは、データの8の倍数番目となるビットを出力した後、所定時間経過してもACKの返答信号が入力されない場合には、データの送信に失敗したものとみなして、再度スタート条件を送信する。次いで、接続線SDAを介して、再度アドレスデータを出力し、ACKの返答信号を確認しながら、もう一度、データを1ビット目から出力する。 When the master IC outputs a bit that is a multiple of eight of the data and then does not receive an ACK response signal even after a predetermined time has elapsed, it assumes that data transmission has failed and starts again. Send the condition. Then, the address data is output again through the connection line SDA, and the data is output from the first bit again while confirming the ACK reply signal.
また、マスタICは、データの最後のビットのデータを出力した後、ACKの返答信号が入力されるのを待って、ストップ条件を示す信号を出力する。 Further, after outputting the data of the last bit of the data, the master IC waits for the input of an ACK response signal, and outputs a signal indicating a stop condition.
なお、図27では、スタート条件を示す信号を出力してからストップ条件を示す信号を出力するまでの間に、合計24ビット(スレーブアドレス8ビット、データ16ビット)のデータを出力しているが、送信するデータのサイズに応じて、24ビット以上であってもよいし、24ビット以下であってもよい。 In FIG. 27, data of 24 bits in total (8 bits of slave address, 16 bits of data) is output after the signal indicating the start condition is output and before the signal indicating the stop condition is output. Depending on the size of data to be transmitted, 24 bits or more may be used, or 24 bits or less.
図28は、本発明の第1の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置610に演出制御データを設定する場合において、マスタICとI2CI/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 this invention specifies the slave's individual address and sets presentation control data in the decoration control device 610. FIG. 10 is a diagram for explaining the format of data transmitted and received between 615 and 615.
最初に出力される8ビットのデータ2801には、データ送信の対象となる装飾制御装置610のアドレス「A0〜A6」と、当該データが読み出し要求であるのか書き込み要求であるのかを示す1ビットのR/W識別データとが含まれる。アドレス「A0〜A6」のうち、「A4〜A6」は値「110」となる固定アドレス部であり、「A0〜A3」はI2CI/Oエクスパンダ615のA0〜A3の端子に設定されている個別アドレスに相当する(図19参照)。なお、データ2801は、図27における「ADDRESS」及び「R/W」に対応するデータである。 The first 8-bit data 2801 to be output includes the address “A0 to A6” of the decoration control device 610 targeted for data transmission and 1 bit indicating whether the data is a read request or a write request. R / W identification data is included. Of the addresses “A0 to A6”, “A4 to A6” is a fixed address part having a value “110”, and “A0 to A3” is set to terminals A0 to A3 of the I 2 CI / O expander 615 Corresponds to an individual address (see FIG. 19). Data 2801 is data corresponding to “ADDRESS” and “R / W” in FIG.
次に出力される8ビットのデータ2802には、I2CI/Oエクスパンダ615の出力設定レジスタ635(図18参照)に割り当てられているコントロールレジスタへの設定データが含まれる。データ2802は、図27において1番目に送信される「DATA」に対応するデータである。 The next output 8-bit data 2802 includes setting data to 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 that specify the method of writing to or reading from the work register of the output setting register 635. The lower 5 bits “D0 to D4” are It is a register address specifying an access start position (a start position to start writing or a start position to start reading) in the register.
自動書込パラメータは、マスタICによって、レジスタアドレスが指定するアクセス開始位置の領域のみをアクセス(オートインクリメントを禁止)するのか、指定するアクセ
ス開始位置の領域に隣接する領域も含んでアクセス(オートインクリメントを許可)するのかを指定するパラメータであり、具体的には「000」、「100」、「101」、「110」、「111」の何れかの値を設定することができる。
The automatic writing parameter is accessed by the master IC including access to only the area of the access start position designated by the register address (prohibit auto-increment) or an area adjacent to the area of the access start position to be designated (auto-increment) Is permitted. Specifically, any value of “000”, “100”, “101”, “110”, and “111” can be set.
自動書込パラメータに「000」の値を設定すると、オートインクリメントが禁止され、レジスタアドレスが指定するアクセス開始位置の領域のみをアクセスし、開始位置以外の領域はアクセスしない。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「14h」となる記憶領域のみがアクセスされ、他の記憶領域にはアクセスされない。すなわち、特定のレジスタアドレスの記憶領域の値のみを変更する場合に使用される。複数のレジスタアドレスの記憶領域の値を連続して変更する場合には、以下に示すように、オートインクリメントを許可することによって、アドレスの指定を省略することができる。 When the value of “000” is set to the automatic writing parameter, auto-increment is inhibited, only the area of the access start position designated by the register address is accessed, and the area other than the start position is not accessed. For example, if the register address is "10100", only the storage area whose register number is "14h" is accessed, and other storage areas are not accessed. That is, it is used when only the value of the storage area of a specific register address is changed. In the case where the values of the storage areas of a plurality of register addresses are continuously changed, designation of the address 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 automatic write parameter, auto-increment is permitted, and after accessing the area of the access start position specified by the register address, the area is moved in the direction of increasing the register number and accessed in order repeat. Then, after accessing the last storage area where the register number is "1 Bh", access the storage area where the register number is "00 h", and access again while moving the area in the direction of increasing the register number again 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" → An area where “01h” → ···· (ie, all areas) is repeatedly accessed.
自動書込パラメータに「101」の値を設定すると、自動書込パラメータに「100」の値を設定した場合と同様に、レジスタアドレスが指定するアクセス開始位置の領域をアクセスした後は、レジスタ番号が増加する方向に領域を移動しながら順にアクセスを繰り返す。ただし、一旦、レジスタ番号が「11h」となる記憶領域をアクセスした後は、レジスタ番号が「02h」となる記憶領域をアクセスし、以降、レジスタ番号が「02h」〜「11h」となる区間の記録領域(LEDの輝度調整に関する領域)を繰り返しアクセスする。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「14h」となる記憶領域をアクセスした後は、レジスタ番号が「15h」→「16h」→・・→「1Bh」→「00h」→「01h」→・・となる領域を、順にアクセスする。そして、レジスタ番号が「11h」となる記憶領域をアクセスした後は、レジスタ番号が「02h」→「03h」→・・→「11h」→「02h」→「03h」→・・となる領域を、繰り返しアクセスする。 When setting the value of "101" to the automatic writing parameter, the register number is accessed after accessing the area of the access start position designated by the register address, as in the case of setting the value of "100" to the automatic writing parameter. Repeat the access sequentially while moving the area in the direction of increasing. However, once the storage area having the register number “11h” is accessed, the storage area having the register number “02h” is accessed, and thereafter, the section having the register numbers “02h” to “11h” The recording area (area related to the brightness adjustment of the LED) 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 areas where "01h" → · · · are accessed in order. Then, after accessing the storage area where the register number is “11h”, the area where the register number becomes “02h” → “03h” →... → “11h” → “02h” → “03h” →. , Repeat access.
自動書込パラメータに「110」の値を設定すると、自動書込パラメータに「100」の値を設定した場合と同様に、レジスタアドレスが指定するアクセス開始位置の領域をアクセスした後は、レジスタ番号が増加する方向に領域を移動しながら順にアクセスを繰り返す。ただし、一旦、レジスタ番号が「13h」となる記憶領域をアクセスした後は、レジスタ番号が「12h」となる記憶領域をアクセスし、以降、レジスタ番号が「12h」〜「13h」となる区間の記録領域(LEDの点滅周期に関する領域)を繰り返しアクセスする。例えば、レジスタアドレスが「10100」であれば、レジスタ番号が「14h」となる記憶領域をアクセスした後は、レジスタ番号が「15h」→「16h」→・・→「1Bh」→「00h」→「01h」→・・となる領域を、順にアクセスする。そして、レジスタ番号が「13h」となる記憶領域をアクセスした後は、レジスタ番号が「12h」→「13h」→「12h」→「13h」→・・となる領域を、繰り返しアクセスする。 Setting the value of "110" to the automatic writing parameter causes the register number to be accessed after accessing the area of the access start position designated by the register address, as in the case of setting the value of "100" to the automatic writing parameter. Repeat the access sequentially while moving the area in the direction of increasing. However, once the storage area having the register number "13h" is accessed, the storage area having the register number "12h" is accessed, and thereafter, the section having the register numbers "12h" to "13h" The recording area (area related to the blinking cycle of the LED) 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 areas where "01h" → · · · are 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 setting the value of "111" to the automatic writing parameter, the register number is accessed after accessing the area of the access start position designated by the register address, as in the case of setting the value of "100" to the automatic writing parameter. Repeat the access sequentially while moving the area in the direction of increasing. However, once the storage area having the register number "13h" is accessed, the storage area having the register number "02h" is accessed, and thereafter, the section having the register numbers "02h" to "13h" The recording area (area related to the brightness of the LED and the 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 areas where "01h" → · · · are accessed in order. Then, after accessing the storage area in which the register number is "13h", the area in which the register number is "02h" → "03h" → · · · · "13h → 02h" → "03h" → · · · , Repeat access.
ここで、図28の説明に戻ると、コントロールレジスタの設定データ2802に続いて、ワークレジスタの設定データ2803が出力される。設定データ2803は、図27において2番目以降に送信される「DATA」に対応するデータである。 Here, returning to the explanation of FIG. 28, setting data 2803 of the work register is output following setting data 2802 of the control register. The setting data 2803 is data corresponding to “DATA” transmitted secondly or later in FIG.
自動書込パラメータを「000」とした場合には、設定データ2803は、レジスタアドレスが指定する1箇所の記憶領域を更新するための8ビットのデータとなる。自動書込パラメータを「000」以外の値とした場合には、この設定データ2803は、レジスタアドレスが指定する記憶領域を先頭に、複数の領域を繰り返し更新するために必要な8の倍数となるビットのデータとなる。 When the automatic writing parameter is “000”, 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", this setting data 2803 is a multiple of 8 necessary to repeatedly update a plurality of areas starting from the storage area designated by the register address. It will be bit data.
図29は、本発明の第1の実施の形態のマスタICが、スレーブの個別アドレスを指定して装飾制御装置610に演出制御データを設定する場合において、マスタICとI2CI/Oエクスパンダ615との間で送受信される演出制御データに具体的な数値を適用した図である。図29では、オートインクリメントを禁止して、ワークレジスタの特定の記憶領域を1箇所だけを更新する演出制御データを示しており、具体的には、I2CI/Oエクスパンダ615のPORT0端子〜PORT3端子に接続されるLEDの発光状態を更新する場合について説明する。 FIG. 29 shows the case where 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, the master IC and the I 2 CI / O expander It is a figure which applied a concrete numerical value to presentation control data transmitted and received between 615 and 615. FIG. 29 shows effect control data in which auto-increment is inhibited and only one specific storage area of the work register is updated. Specifically, the PORT 0 terminal of the I 2 CI / O expander 615 The case of updating the light emission state of the LED connected to the PORT 3 terminal will be described.
まず、最初に出力される8ビットのデータ2901には、送信先の装飾制御装置610のI2CI/Oエクスパンダ615のスレーブアドレスを示す「1101100」が割り当てられている。 First, “1101100” indicating the slave address of the I 2 CI / O expander 615 of the decoration control device 610 of the transmission destination is assigned to the 8-bit data 2901 output first.
次に出力される8ビットのデータ2902には、自動書込パラメータ、及びLEDの出力データを設定するために割り当てられているI2CI/Oエクスパンダ615の出力設定レジスタ635のコントロールレジスタに設定される値が含まれる。 The next output 8-bit data 2902 is set in the control register of the output setting register 635 of the I 2 CI / O expander 615 assigned to set the automatic writing parameter and the output data of the LED. Value is included.
ここでは、I2CI/Oエクスパンダ615のPORT0端子〜PORT3端子に接続されるLEDの発光状態を設定するので、レジスタアドレスにはLEDOUT0(アドレス=10100)を指定することにする。 Here, since the light emission state of the LED connected to the PORT0 terminal to the PORT3 terminal of the I 2 CI / O expander 615 is set, LEDOUT0 (address = 10100) is designated as the register address.
なお、自動書込パラメータには、オートインクリメントを禁止するために「000」が指定されている。 Note that "000" is designated as the automatic writing parameter in order to inhibit auto-increment.
次に、出力される8ビットのデータ2903には、送信先の装飾制御装置610によって制御される装飾装置620の発光態様を設定するデータが含まれる。具体的には、LEDOUT0レジスタに設定されるデータが割り当てられている。これにより、I2CI/Oエクスパンダ615のPORT0端子〜PORT3端子に接続されるLEDの発光状態(点灯、消灯、点滅など)が指定され、指定された状態でLEDが発光する。 Next, the output 8-bit data 2903 includes data for setting the light emission mode of the decoration device 620 controlled by the decoration control device 610 of the transmission destination. Specifically, data to be set in the LEDOUT0 register is assigned. As a result, the light emission state (light on, light off, blink, etc.) of the LED connected to the PORT 0 terminal to the PORT 3 terminal of the I 2 CI / O expander 615 is designated, and the LED emits light in the designated state.
このようにして、I2CI/Oエクスパンダ615のPORT0端子〜PORT3端子のLEDの発光状態が制御されるが、I2CI/Oエクスパンダ615の他のPORT端子(PORT4〜PORT15)も、コントロールレジスタデータ2902の値を指定して、出力データ2903を設定することで個別に制御可能である。PORT端子に、モータやソレノイドが接続されていても、同様に制御される。 In this way, the light emission state of the LED PORT0 terminal ~PORT3 terminal I 2 CI / O expander 615 is controlled, the other PORT terminal I 2 CI / O expander 615 (PORT4~PORT15) also By specifying the value of control register data 2902 and setting output data 2903, individual control is possible. Even if a motor or solenoid is connected to the PORT terminal, the same control is performed.
図30は、本発明の第1の実施の形態のマスタICの演出制御データを送信する順序を説明する図である。図30では、オートインクリメントを許可して、ワークレジスタのすべての記憶領域を更新する場合に、演出制御データに含まれる各データを送信する順序を規定している。 FIG. 30 is a diagram for explaining the order of transmitting effect control data of the master IC according to the first embodiment of this invention. In FIG. 30, when auto-increment is permitted and all storage areas of the work register are updated, the order of transmitting each data included in the effect control data is defined.
まず、マスタICは、制御対象となる装飾制御装置610の個別アドレスを特定可能な8ビットのデータ(図28のデータ2801と同一フォーマットのデータ)を送信する。 First, the master IC transmits 8-bit data (data having the same format as data 2801 in FIG. 28) capable of specifying the individual address of the decoration control device 610 to be controlled.
次に、マスタICは、制御対象のI2CI/Oエクスパンダ615の出力設定レジスタ635のコントロールレジスタに設定されるデータ(図28のデータ2802と同一フォーマットのデータ)を送信する。図30においては、オートインクリメントを許可してワークレジスタのすべての記憶領域を更新するため、自動書込パラメータには「100」が指定され、書き込み又は読み出しの開始位置を指定するレジスタアドレスには、ワークレジスタの先頭領域となる「00h」が指定される。 Next, the master IC transmits data (data in the same format as data 2802 in FIG. 28) set in the control register of the output setting register 635 of the I 2 CI / O expander 615 to be controlled. In FIG. 30, in order to allow auto-increment to update all the storage areas of the work register, "100" is specified for the automatic write parameter, and a register address for specifying the start position of write or read is specified. "00h" to be the head area of the work register is specified.
このため、コントロールレジスタ設定値を受信した後の制御対象となる装飾制御装置610のI2CI/Oエクスパンダ615においては、レジスタ番号「00h」の記憶領域(モードレジスタ1)が最初に更新されることになる。 Therefore, 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. It will be
次に、マスタICは、コントロールレジスタ設定値の送信後、モードレジスタ1に書き込む値(合計8ビット)を送信する。I2CI/Oエクスパンダ615は、当該書き込み値を受信するとモードレジスタ1の値を更新し、レジスタ番号をインクリメントして次の「01h」の記憶領域(モードレジスタ2)を更新するための準備をする。 Next, after transmitting the control register set value, the master IC transmits a value (8 bits in total) to be written to the mode register 1. When receiving 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」となる残りの記憶領域のレジスタに対して、順に設定値を送信する。I2CI/Oエクスパンダ615は、当該書き込み値を受信する毎に対応するレジスタの値を更新し、レジスタ番号をインクリメントして次の記憶領域を更新するための準備を繰り返すことで、ワークレジスタに割り当てられた「00h」〜「1Bh」のすべてのレジスタの値が更新される。 Further, the master IC transmits a value (total 8 bits) to be written to mode register 2 and thereafter transmits setting values in order to the registers of the remaining storage areas having register numbers “02h” to “1Bh”. Do. The I 2 CI / O expander 615 updates the value of the corresponding register each time the write value is received, increments the register number, and repeats the preparation for updating the next storage area, thereby the work register The values of all the registers from "00h" to "1Bh" assigned to are updated.
なお、I2CI/Oエクスパンダ615は、ワークレジスタの最終となる「1Bh」の記憶領域を更新すると、レジスタ番号を「00h」に変更して、モードレジスタ1の更新を待つ状態となる。 When the I 2 CI / O expander 615 updates the last “1 Bh” storage area of the work register, it changes the register number to “00 h” and waits for the mode register 1 to be updated.
図31は、本発明の第1の実施の形態のマスタICがI2CI/Oエクスパンダ615を初期化する場合に、マスタICからI2CI/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 thereunder. .
最初に出力される8ビットのデータ3101には、図29に示す固定アドレス「110
」と、共通アドレスであるリセットアドレス「1011」(図23参照)とが含まれる。なお、このデータ3101は、図27における「ADDRESS」に対応するものであり、「R/W」のビットには、書き込みを示す「0」が設定される。
In the 8-bit data 3101 output first, the fixed address “110” shown in FIG.
And a reset address "1011" (see FIG. 23) which is a common address. Note that this data 3101 corresponds to "ADDRESS" in FIG. 27, and the "R / W" bit is set to "0" indicating writing.
次に出力される8ビットのデータ3102には、第1所定値「10100101」が設定され、次に出力される8ビットのデータ3103には、第2所定値「01011010」が設定される。なお、データ3102は、図27において1番目に送信される「DATA」に対応し、データ3103は、図27において2番目に送信される「DATA」に対応する。 A first predetermined value “10100101” is set to the 8-bit data 3102 to be output next, and a second predetermined value “01011010” is set to the 8-bit data 3103 to be output next. Data 3102 corresponds to "DATA" transmitted first in FIG. 27, and data 3103 corresponds to "DATA" transmitted second in FIG.
マスタICに接続されるすべてのI2CI/Oエクスパンダ615は、リセットアドレス、第1所定値、及び第2所定値から構成される初期化指示データを受信すると、自身の初期化を行う。 All the I 2 CI / O expanders 615 connected to the master IC initialize themselves upon receiving initialization instruction data including the reset address, the first predetermined value, and the second predetermined value.
リセットアドレスの出力後に、さらに第1所定値及び第2所定値の両方を出力するようにした理由は、マスタICがリセットアドレス「1011」を送信していないにもかかわらず、ノイズなどの影響によってI2CI/Oエクスパンダ615が誤ってリセットアドレス「1011」を取り込むことによって、誤ったタイミングで初期化が実行されることを防止するためである。 The reason for outputting both the first predetermined value and the second predetermined value after the output of the reset address is due to the influence of noise or the like although the master IC does not transmit the reset address "1011". The reason is that the I 2 CI / O expander 615 erroneously fetches the reset address “1011” to prevent the initialization from being performed at an incorrect timing.
また、リセットアドレスは、個別アドレスとは異なって、すべて(換言すれば複数)のI2CI/Oエクスパンダ615に共通なアドレスである。そのため、リセットアドレスを含んだ初期化指示データを1回送信するだけで、すべて(複数)のI2CI/Oエクスパンダ615を選択して初期化することになるので、I2CI/Oエクスパンダ615を個別に選択して初期化を指示する方法と比較すると、高速に初期化を指示することが可能となる。 Also, the reset address is an address common to all (in other words, a plurality of) I 2 CI / O expanders 615 unlike the individual addresses. 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 As compared with the method of individually selecting the pandas 615 and instructing initialization, initialization can be instructed at high speed.
なお、図31では、第1所定値と第2所定値とを異なる値としたが、同じ値であってもよい。また、第1所定値及び第2所定値のいずれかが1回送信されるようにしてもよい。 In FIG. 31, although the first predetermined value and the second predetermined value are different values, they may be the same value. Alternatively, one of the first predetermined value and the second predetermined value may be transmitted once.
図32は、本発明の第1の実施の形態の第1マスタIC570aの異常判定テーブル3200を説明する図である。 FIG. 32 is a diagram for explaining 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に接続されるI2CI/Oエクスパンダ615との接続状態を監視するために設けられている。異常判定テーブル3200は、接続状態に応じて、各I2CI/Oエクスパンダ615に対応した情報が格納される。 The abnormality determination table 3200 is stored in the RAM 553 of the effect control device 550. The abnormality determination table 3200 is provided 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 according to the connection state.
異常判定テーブル3200は、I/Oエクスパンダアドレス3201、スレーブアドレス3202、エラーカウンタ3203、比較値3204、及びエラーフラグ3205を含む。 The abnormality determination table 3200 includes an I / O expander address 3201, a slave address 3202, an error counter 3203, a comparison value 3204, and an error flag 3205.
I/Oエクスパンダアドレス3201には、第1マスタIC570aに接続されるI2CI/Oエクスパンダ615のA0〜A3の端子に設定されているアドレス(図19参照)に対応している。 The I / O expander address 3201 corresponds to the address (see FIG. 19) set at the terminals A0 to A3 of the I 2 CI / O expander 615 connected to the first master IC 570a.
スレーブアドレス3202には、図23に示したI2CI/Oエクスパンダアドレステーブル2300に登録されているスレーブアドレスが登録される。 The slave address registered in the I 2 CI / O expander address table 2300 shown in FIG. 23 is registered in the slave address 3202.
エラーカウンタ3203は、第1マスタIC570aからI2CI/Oエクスパンダ615に演出制御データを送信し、当該I2CI/Oエクスパンダ615からACKを2回連続して受信できなかった場合にインクリメントされる。 The error counter 3203 transmits presentation control data from the first master IC 570a to the I 2 CI / O expander 615, and increments when the ACK can not be received twice consecutively from the I 2 CI / O expander 615. Be done.
比較値3204には、I2CI/Oエクスパンダ615に障害が発生しているか否かを判定するために、エラーカウンタ3203の値と比較するための値が登録される。なお、比較値3204の値は、制御対象の演出装置の種類に応じて設定してもよい。 In the comparison value 3204, a value to be compared with the value of the error counter 3203 is registered in order to determine whether or not the I 2 CI / O expander 615 has a failure. The value of the comparison value 3204 may be set according to the type of the rendering device to be controlled.
エラーフラグ3205には、当該エントリのI2CI/Oエクスパンダ615との接続状態に異常が発生したか否かを示すエラーフラグが登録される。 In the error flag 3205, an error flag indicating whether or not an abnormality has occurred in the connection state of the entry with the I 2 CI / O expander 615 is registered.
I2CI/Oエクスパンダ615に障害が発生しているか否かを判定する方法について具体的に説明すると、エラーカウンタ3203の値が、比較値3204に設定された所定値に達した場合、エラーフラグ3205に「ON」が設定され、当該エントリに対応するI2CI/Oエクスパンダ615に障害が発生したことが登録される。 The method of determining whether or not a failure occurs in the I 2 CI / O expander 615 will be specifically described. When the value of the error counter 3203 reaches a predetermined value set to the comparison value 3204, an error occurs. The flag 3205 is set to “ON”, and the occurrence of a fault in the I 2 CI / O expander 615 corresponding to the entry is registered.
本発明の第1の実施の形態では、後述するように、演出制御データの出力処理(図37参照)は、VDP割込(約33.3ms周期)に同期して実行されるようにしている。 In the first embodiment of the present invention, as described later, the output process (see FIG. 37) of the effect control data is performed in synchronization with the VDP interrupt (about 33.3 ms cycle). .
前述したように、第1マスタIC570aからI2CI/Oエクスパンダ615への2回目の演出制御データの送信に対して、I2CI/Oエクスパンダ615からのACKが受信できなければ、エラーカウンタ3003がインクリメントされる。 As described above, if the ACK from the I 2 CI / O expander 615 can not be received for the second transmission of presentation control data from the first master IC 570 a to the I 2 CI / O expander 615, an error occurs. The counter 3003 is incremented.
したがって、異常が発生している場合には、データ出力処理の実行周期が33.3msで、比較値3004が「300」であるので、33.3ms×300≒10sでI2CI/Oエクスパンダ615に関する異常が発生したことを検出する。 Therefore, when an abnormality has occurred, the execution cycle of data output processing is 33.3 ms, and the comparison value 3004 is "300". Therefore, the I 2 CI / O expander is 33.3 ms × 300 10 10 s. Detect that an abnormality related to 615 has occurred.
図33は、本発明の第1の実施の形態の第2マスタIC570bの異常判定テーブル3300を説明する図である。 FIG. 33 is a diagram for explaining 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に接続されるI2CI/Oエクスパンダ615との接続状態を監視するために設けられている。異常判定テーブル3300は、接続状態に応じて、各I2CI/Oエクスパンダ615に対応した情報が格納される。また、異常判定テーブル3300の構成は、第1マスタIC570aの異常判定テーブル3200と同じ構成である。 The abnormality determination table 3300 of the second master IC 570b is stored in the RAM 553 of the effect control device 550, similarly to the abnormality determination table 3200 of the first master IC 570a. The abnormality determination table 3300 is provided to monitor the connection state between the second master IC 570 b of the effect control device 550 and the I 2 CI / O expander 615 connected to the second master IC 570 b. 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 the configuration 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 Is set for each master IC. Therefore, in FIG. 32 and FIG. 33, I / O expander addresses of the same value are set. In addition, since only one address can be set to the I / O expander address, when a plurality of master ICs control one decoration control device 610, it is necessary to set a common address.
本発明の第1の実施の形態のマスタICには、デバイスの動作を構成し、シリアルデータを送受信するために使用される複数のレジスタが備えられている。図11及び図12に示したコマンドレジスタ(REG)581は、このようなレジスタの一つであり、接続された装飾制御装置610にスタートコンディションやストップコンディションを出力することなどを指示する。 The master IC of the first embodiment of the present invention is provided with a plurality of registers used to configure the operation of the device and to transmit and 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 processing. FIG. 34 shows a procedure for initializing each slave, and FIG. 35 shows an outline of a procedure for transmitting effect control data to each slave.
図34は、本発明の第1の実施の形態の各装飾制御装置(スレーブ)を初期化(リセット)時にCPU551とマスタIC(第1マスタIC570a又は第2マスタIC570b)との間で送受信される情報を説明する図である。 FIG. 34 is transmitted and received between the CPU 551 and a master IC (first master IC 570a or second master IC 570b) when initializing (resetting) each decoration control device (slave) according to the first embodiment of this invention 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” in 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)。ストップコンディションを出力することによってデータの送信が完了した旨を各スレーブに通知し、その後、スタートコンディションを出力することによって、各スレーブにおいてコマンドの入力を受け付ける準備を完了させる。 The master IC first outputs a stop condition and then outputs a start condition to each decoration control device (slave) 610 to be controlled according to the information (STO, STA) set in the command REG 581 (3411) . By outputting a stop condition, each slave is notified that data transmission has been completed, and then, by outputting a start condition, each slave is ready to receive input of a command.
マスタICは、スタートコンディションを出力すると、CPU551に割込信号(INT)を入力して割込みを発生させる。割込みが発生したCPU551は、送信指示データの送信再開処理(1)を開始する(3402)。送信指示データの送信再開処理(1)では、出力用バッファ572にリセット用アドレスを設定する。リセット用アドレスは、各スレーブをリセットするためにあらかじめ定められている固定アドレスである。このとき、コマンドREG581のSTA及びSTOには“0”が設定される。 When the master IC outputs a start condition, it inputs an interrupt signal (INT) to the CPU 551 to generate an interrupt. The CPU 551 that has generated an interrupt starts transmission restart processing (1) of transmission instruction data (3402). In transmission restart processing (1) of transmission instruction data, a reset address is set in the output buffer 572. The reset address is a fixed address predetermined to reset each slave. At this time, “0” is set to STA and STO of the command REG 581.
マスタ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 a reset address, the master IC inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 that has generated an interrupt starts transmission restart processing (2) of transmission instruction data (3403). In transmission restart processing (2) of transmission instruction data, the value of the first half of the reset instruction 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 to STA and STO of the command REG 581. 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)に対応する。 After that, 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 an interrupt starts transmission restart processing (3) of transmission instruction data (3404), and sets the value of the latter half of the reset instruction in the output buffer 572. At this time, “0” is set to STA and STO of the command REG 581. The master IC outputs the second half value of the reset command set in the output buffer 572 (3414). The second half 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”、S
TOに“1”が設定し、マスタICにストップコンディションの出力を指示する。
Furthermore, 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 an interrupt starts transmission restart processing (4) of transmission instruction data (3405), and the STA of the command REG 581 is “0”, S
Set “1” to TO and instruct the master IC to output the stop condition.
マスタ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から処理を再開する。 Each slave is initialized by the above processing. If the initialization fails (3406), the process is restarted from step 3402.
図35は、本発明の第1の実施の形態の各装飾制御装置(スレーブ)に演出制御データを送信する際にCPU551とマスタIC(第1マスタIC570a又は第2マスタIC570b)との間で送受信される情報を説明する図である。 FIG. 35 shows transmission and reception between the CPU 551 and a master IC (first master IC 570a or second master IC 570b) when transmitting effect control data to each decoration control device (slave) according to the first embodiment of this invention Is a diagram for explaining the information to be
演出制御装置550のCPU551は、演出制御を行う場合に、まず、コマンドREG581のスタートコンディション(STA)及びストップコンディション(STO)の実行を指示するビットに“1”を設定する(3501)。 When effect control is performed, 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 REG 581 (3501).
マスタICは、コマンドREG581のSTA及びSTOに設定された値(“1”)に基づいて、各スレーブにストップコンディションを出力し、その後、スタートコンディションを出力する(3511)。 The master IC outputs the stop condition to each slave based on the values (“1”) set in the STA and the STO of the command REG 581, and then outputs the start condition (3511).
そして、マスタICは、スタートコンディションを各スレーブに出力すると、各スレーブで演出制御データを受信する準備が整うため、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、出力用バッファ572に制御対象のスレーブのアドレス及び制御内容を示す演出制御データを設定する(3502)。このとき、コマンドREG581のSTA及びSTOには“0”を設定する。 Then, when the master IC outputs the start condition to each slave, since each slave is ready to receive the effect control data, the interrupt signal is input to the CPU 551 to generate an interrupt. The CPU 551 that has generated an 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 to STA and STO of the command REG 581.
マスタ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 the rendering process based on the received rendering control data.
そして、マスタICは、アドレス及び演出制御データを各スレーブに出力すると、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、コマンドREG581のSTAに“1”、STOに“0”を設定する(3503)。その後、マスタICは、再度スタートコンディションを出力する、いわゆるリスタートコンディションを出力する(3513)。 Then, 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 which 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 start condition again, that is, a so-called restart condition is output (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 designate another address and perform the same processing (3504, 3514, 3505, 3515). When the output of the rendering control data for the last nth slave is completed by the CPU 551 (3506), and the master IC outputs the rendering control data to the corresponding slave (3516), the output of all the data is complete, so the stop Output the condition. Specifically, when the master IC finishes outputting the presentation 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 has generated the interrupt sets “0” to 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, the stop condition is outputted to update the effect mode of the effect device, but in the fourth embodiment to be described later, the response signal ( ACK) An example configured to update the rendering mode of the rendering device when transmitting will be described.
図36は、本発明の第1の実施の形態の演出制御装置550からマスタIC(第1マスタIC570a又は第2マスタIC570b)に演出制御データを送信する段階を説明する図である。 FIG. 36 is a diagram for explaining the steps of transmitting presentation control data from the presentation control device 550 according to the first embodiment of this invention to the master IC (the first master IC 570a or the second master IC 570b).
演出制御装置550のCPU551は、後述するスレーブ出力データ編集処理が実行されると、RAM553に出力データ準備領域を確保し、出力データ準備領域に各スレーブに対する演出制御データを格納する。 When slave output data editing processing 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 effect control data for each slave in the output data preparation area.
また、出力データ準備領域は、スレーブ毎にさらに領域が分割され、各スレーブに対応するアドレス及び演出内容に対応する演出制御データが格納される。具体的には、アドレスは図30に示した送信順序1のデータに対応し、演出制御データは図30に示した送信順序2から30までのデータに対応する。 In the output data preparation area, the area is further divided for each slave, and the address corresponding to each slave and the effect control data corresponding to the contents of the effect are stored. Specifically, the address corresponds to the data of transmission order 1 shown in FIG. 30, and the effect control data corresponds to the data of transmission orders 2 to 30 shown in FIG.
さらに、CPU551は、未送信の演出制御データが上書きされないように、出力データ退避領域をさらにRAM553に確保し、スレーブ出力データ退避処理によって出力データ準備領域に記憶されたデータを出力データ退避領域に退避させる。その後、退避されたデータは所定のタイミングでマスタICの出力用バッファ572に設定される。 Further, CPU 551 further secures the output data save area in RAM 553 so that the unsent effect control data is not overwritten, and saves the data stored in the output data preparation area by the slave output data save process in the output data save area. Let Thereafter, the evacuated 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 save area are secured in RAM 553 for each master IC, and in the first embodiment of the present invention, areas corresponding to first master IC 570a and second master IC 570b are secured respectively. .
図37は、本発明の第1の実施の形態の演出制御装置550による処理の手順を示すフローチャートである。本処理は、演出制御装置550のCPU551によって実行される処理である。 FIG. 37 is a flowchart showing a procedure of processing 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 powered on, the effect control device 550 first executes the processing of steps 3701 to 3706. Then, every time a synchronization signal (for example, a synchronization signal of 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 of step 3707 is repeatedly executed.
まず、演出制御装置550は、演出制御装置550のRAM553の初期化などを含む初期化処理を実行する(3701)。このとき、後述する第1マスタIC570aに関する初期化段階番号と、第2マスタIC570bに関する初期化段階番号とを、ともに“0”に設定しておく。 First, the effect control device 550 executes an initialization process including the initialization of the RAM 553 of the effect control device 550 (3701). At this time, the initialization stage number for the first master IC 570a, which will be described later, and the initialization stage number for 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 initializes the first master IC 570a and the second master IC 570b. (3702).
続いて、演出制御装置550は、第1マスタIC570aに接続されたすべての装飾制御装置610のI2CI/Oエクスパンダ615を初期化するために、第1マスタIC570aから初期化指示データを出力する第1マスタIC570a側スレーブ初期化開始処理を実行する(3703)。同様に、第2マスタIC570bに接続されたすべての装飾制御装置610のI2CI/Oエクスパンダ615を初期化するために、第2マスタIC570bから初期化指示データを出力する第2マスタIC570b側スレーブ初期化開始処理を実行する(3704)。スレーブ初期化開始処理の詳細については、図38にて説明する。 Subsequently, the effect control device 550 outputs initialization instruction data from the first master IC 570a in order to initialize the I 2 CI / O expander 615 of all the decoration control devices 610 connected to the first master IC 570a. First slave IC 570a side slave initialization start processing is executed (3703). Similarly, in order to initialize the I 2 CI / O expanders 615 of all the decoration control devices 610 connected to the second master IC 570 b, the second master IC 570 b side outputting initialization instruction data from the second master IC 570 b The slave initialization start process 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にて説明する初期化指示データの送信再開処理において、設定されている初期化段階番号の値に対応する処理が順次実行される。 Furthermore, the effect control device 550 stands by until both of the initialization stage number for the first master IC 570 and the initialization stage number for 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, “1” to “4” is incremented one by one step by step, and when the initialization process is completed, it is returned to “0” again. In the process of resuming transmission of initialization instruction data described with reference to FIG. 42, processes corresponding to the value of the set initialization stage number are sequentially executed.
すべてのマスタ及びスレーブの初期化が完了すると、演出制御装置550は、VDP556から画像更新周期と同期する同期信号(VDP割込)の受け入れ、及びタイマ割り込みの受け入れを許可する(3706)。 When initialization of all masters and slaves is completed, the presentation control device 550 permits reception of a synchronization signal (VDP interrupt) synchronized with the image update period from the VDP 556 and acceptance of a timer interrupt (3706).
その後、演出制御装置550は、VDP割込が発生するたびに実行される演出制御定期処理が実行される(3707)。演出制御定期処理については、図39にて詳細を後述する。 Thereafter, the effect control device 550 executes effect control periodic processing that is executed each time a VDP interruption occurs (3707). Details of the effect control periodic process will be described later with reference to FIG.
図38は、本発明の第1の実施の形態の第1マスタIC570a側のスレーブ初期化開始処理及び第2マスタIC570b側のスレーブ初期化開始処理の手順を示すフローチャートである。 FIG. 38 is a flowchart showing procedures of slave initialization start processing on the first master IC 570a side and slave initialization start processing on the second master IC 570b 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 of FIG. 37 and the process of step 3923 of the effect control periodic process (FIG. 39). Also, the slave initialization start process on the second master IC 570b side is similarly executed by the processes of steps 3704 and 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 a master to be initialized (3802).
また、第2マスタIC570b側のスレーブ初期化開始処理では、第1マスタIC570a側スレーブ初期化開始処理と同様に、CPU551は、マスタ割込み及びタイムアウト割込みを禁止する(3811)。そして、初期化対象のマスタに第2マスタIC570bを選択する(3812)。 Further, in the slave initialization start process on the second master IC 570b side, the CPU 551 prohibits the master interrupt and the timeout interrupt as in the first master IC 570a side slave initialization start process (3811). Then, the second master IC 570b is selected as a master to be initialized (3812).
以降の処理では、第1マスタIC570a側スレーブ初期化開始処理及び第2マスタIC570b側スレーブ初期化開始処理について、選択されたマスタに対して共通の処理が実行される。 In the subsequent processing, processing common to the selected master is executed with respect to the first master IC 570a side slave initialization start processing and the second master IC 570b side slave initialization start processing.
CPU551は、選択されたマスタの初期化段階番号に“1”を設定する(3803)。さらに、選択したマスタに関する監視タイマを設定し(3804)、タイムアウトの監視を開始する(3805)。 The CPU 551 sets "1" to the initialization stage number of the selected master (3803). Further, the monitoring timer for the selected master is set (3804), and monitoring of time-out is started (3805).
CPU551は、選択されたマスタのコマンドREG581に対し、STAに“1”、STOに“1”、SIに“0”、及びMODEに“0”を設定する(3806)。 The CPU 551 sets “1” for STA, “1” for STO, “0” for SI, and “0” for MODE for the command REG 581 of the selected master (3806).
STAは、前述したように、スタートコンディションの出力を指示するためのビットであり、STOは、ストップコンディションの出力を指示するためのビットである。各ビットに“1”が設定されると、マスタICによって対応する信号が出力される。ステップ3806の処理では、スタートコンディション及びストップコンディションの両方の信号が
出力される。
As described above, STA is a bit for instructing output of the start condition, and STO is a bit for instructing output of the stop condition. When "1" is set to each bit, the master IC outputs a corresponding signal. In the process of step 3806, signals of both the start condition and the stop condition are output.
SIは、前述のマスタ割込みの発生を報知するためのビットであり、“1”が設定されている場合にはマスタICからCPU551に割込みの発生が要求された状態となり、このビットが“0”に変更されるまで、割込みを発生させたマスタICは、処理を待機する状態となる。そして、CPU551によって、このビットに“0”を設定すると、CPU551に発生している割込みが解除され、処理を待機していたマスタICは、次に行われるべき処理を再開する。ステップ3806の処理では、“0”が設定されているため、割込みの発生が解除されて、処理を待機していたマスタICが動作を再開する。 SI is a bit for reporting the occurrence of the above-mentioned master interrupt, and when “1” is set, occurrence of an interrupt is requested from the master IC to the CPU 551 and this bit is “0”. The master IC which has generated the interrupt is in a state of waiting for processing until it is changed to. When the CPU 551 sets “0” to this bit, the interrupt occurring in the CPU 551 is released, and the master IC waiting for processing resumes the processing to be performed next. In the process of step 3806, since "0" is set, the occurrence of the interrupt is cancelled, and the master IC waiting for the process resumes the operation.
MODEは、データを送信するモードを指定するためのビットであり、“1”が設定されている場合には「バッファモード」、“0”が設定されている場合には「バイトモード」が指定される。ステップ3806の処理では、“0”が設定されているため、バイトモードでデータがやり取りされる。 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. Be done. In the process of step 3806, since "0" is set, data is exchanged in the byte mode.
その後、CPU551は、マスタ割込み及びタイムアウト割込みを許可し(3807)、呼び出し元に復帰する。 Thereafter, the CPU 551 permits the master interrupt and the timeout interrupt (3807), and returns to the caller.
図39は、本発明の第1の実施の形態の演出制御定期処理の手順を示すフローチャートである。 FIG. 39 is a flowchart showing the procedure of effect control periodic processing according to the first embodiment of this invention.
演出制御定期処理は、図37のステップ3707で実行される処理であり、VDP割込が発生するたびに、各マスタから各スレーブ(I2CI/Oエクスパンダ615)に送信する演出制御データを編集し、当該演出制御データを送信するための処理である。 The effect control periodic process is a process executed in step 3707 of FIG. 37, and the effect control data to be transmitted from each master to each slave (I 2 CI / O expander 615) each time a VDP interrupt occurs. It 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 an instruction to display an image on the VDP 556 in order to display the image on the display device 53 (3901). Further, in order to output a sound corresponding to the game state from the speaker 30, sound control data is output to the sound LSI 557. The sound LSI 557 causes the speaker 30 to output a sound based on the input sound control data (3902).
さらに、CPU551は、図36にて説明したように、RAM553上に格納された演出制御データを上書きされないように退避するスレーブ出力データ退避処理を実行する(3903)。退避領域に退避された出力データは、前述したように、所定のタイミングでマスタICに設定される。 Further, as described in FIG. 36, the CPU 551 executes slave output data save processing for saving the effect control data stored on the RAM 553 so as not to be overwritten (3903). The output data saved in the save area is set in the master IC at a predetermined timing, as described above.
続いて、CPU551は、マスタ割込み及びタイムアウト割込みを禁止する(3904)。次に、第1マスタIC570aに対応する更新段階番号を“0”に設定する(3905)。さらに、第1マスタIC570aの監視タイマを設定し(3906)、タイムアウトの監視処理を開始する(3907)。更新段階番号とは、演出制御データによって演出装置の演出態様が更新された段階を示す番号であり、マスタIC毎に設定される。更新段階番号は、演出制御装置550のRAM553に記憶される。 Subsequently, the CPU 551 prohibits the master interrupt and the timeout interrupt (3904). Next, the update stage number corresponding to the first master IC 570a is set to "0" (3905). Further, the monitoring timer of the first master IC 570a is set (3906), and the monitoring process of timeout is started (3907). The update stage number is a number indicating the stage at which the rendering mode of the rendering device has been updated by the rendering 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”が設定されるため、バッファモードでデータが送受信される。 Furthermore, the CPU 551 sets “1” for STA, “1” for STO, “0” for SI, and “1” for MODE for the command REG 581 of the first master IC 570 a (3908). In the process of step 3908, since "1" is set to MODE, 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). Furthermore, set the monitoring timer (
3910), start timeout monitoring processing (3911). Further, for the command REG 581 of the second master IC 570b, “1” is set to STA, “1” to STO, “0” to SI, and “1” to MODE (3912).
CPU551は、各マスタの先頭のスレーブ(装飾制御装置610)を選択する(3913)。各マスタICには、演出制御データを送信するスレーブの順序があらかじめ設定されている。ステップ3910の処理で当該順序の先頭のスレーブを設定し、後述する演出制御データの送信再開処理において、第1マスタIC570aに接続される各スレーブに演出制御データを順次送信する。そして、選択された各スレーブへの出力データを準備する(3914)。 The CPU 551 selects the top slave (decorative control device 610) of each master (3913). In each master IC, the order of slaves transmitting presentation control data is set in advance. In the process of step 3910, the leading slave in the order is set, and in the process of resuming transmission of effect control data described later, effect control data is sequentially transmitted to each slave connected to the first master IC 570a. Then, the output data to each selected slave is prepared (3914).
さらに、CPU551は、全マスタICのリトライカウンタを0に設定する(3915)。リトライカウンタとは、各マスタに演出制御データを送信する場合において、送信失敗時にインクリメントされるカウンタである。リトライカウンタが所定の数値よりも大きくなった場合には何らかの障害が発生したものと判断することができる。その後、マスタ割込み及びタイムアウト割込みを許可する(3916)。 Further, the CPU 551 sets the retry counters of all the master ICs to 0 (3915). The retry counter is a counter that is incremented at the time of transmission failure when transmitting effect control data to each master. If the retry counter becomes larger than a predetermined value, it can be determined that some kind of failure has occurred. Thereafter, the master interrupt and the timeout interrupt are permitted (3916).
続いて、CPU551は、VDP556に次に出力されるデータを編集し(3917)、さらに、音LSI557に出力されるスピーカ関連データを編集する(3918)。 Subsequently, the CPU 551 edits data to be output next to the VDP 556 (3917), and further edits speaker related data to be output to the sound LSI 557 (3918).
さらに、演出制御装置550は、発光体を制御する装飾制御装置610に送信するための演出制御データを編集するスレーブ出力データ編集処理を実行する(3919)。スレーブ出力データ編集処理では、図36で説明したように、各スレーブの演出制御データを生成し、RAM553上に確保された出力データ準備領域に格納する。 Furthermore, the effect control device 550 executes slave output data editing processing for editing the 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 in FIG. 36, effect 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 regarding 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 all the error flags 3205 of the entry corresponding to the light emission control slave in the abnormality determination table 3200 are “ON”, that is, an error occurs in all the light emission control slaves. It is determined whether the In other words, it is determined whether there is at least one or more light emission control slaves for which the error flag 3205 is "OFF". If it is determined by this error determination processing that errors have 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.
演出制御装置550は、ステップ3920のエラー判定処理の結果に基づいてリセット条件が成立しているか否かを判定する(3921)。前述のように、ステップ3920のエラー判定処理の時点ですべての発光制御スレーブのエラーフラグ3205が「ON」になっている場合には、リセット条件が成立したと判定される。 Based on the result of the error determination process of step 3920, the effect control device 550 determines whether the reset condition is satisfied (3921). As described above, when the error flags 3205 of all the light emission control slaves are "ON" at the time of the error determination process of step 3920, it is determined that the reset condition is satisfied.
演出制御装置550は、リセット条件が成立したと判定された場合には(3921の結果が「Y」)、第1マスタIC570aを初期化し(3922)、第1マスタIC570aに接続されるすべてのI2CI/Oエクスパンダ615(装飾制御装置610)に対して同時に初期化指示データを出力する第1マスタIC側スレーブ初期化開始処理を実行する(3923)。 If it is determined that the reset condition is satisfied (result of 3921 is "Y"), the effect control device 550 initializes the first master IC 570a (3922), and all I connected to the first master IC 570a. 2 CI / O expander 615 (decorative controller 610) simultaneously executes a first master IC side slave initialization start processing for outputting an initialization instruction data to the (3923).
このように、リセット条件が成立したと判定された場合には、ステップ3717の処理
で、第1マスタIC570aに接続されるすべてのI2CI/Oエクスパンダ615に対して、同時に初期化を指示する。すなわち、すべてのI2CI/Oエクスパンダ615を同時に選択して初期化することになるので、I2CI/Oエクスパンダ615を個別に選択して初期化を指示する方法と比較すると、高速に初期化を行うことが可能となり、I2CI/Oエクスパンダ615を正常な状態へ迅速に復帰させることができる。このとき、CPU551がバス563を介してリセットREG573に初期化指示情報を書き込むことにより、第1マスタIC570aをソフト的にリセットする。
As described above, when it is determined that the reset condition is satisfied, the processing in step 3717 simultaneously instructs initialization to all the I 2 CI / O expanders 615 connected to the first master IC 570 a. Do. That is, since all the I 2 CI / O expanders 615 are to be selected and initialized at the same time, it is faster than the method of individually selecting the I 2 CI / O expanders 615 to instruct initialization. The I 2 CI / O expander 615 can be quickly returned to a normal state. At this time, the CPU 551 writes the initialization instruction information to the reset REG 573 via the bus 563 to softly reset the first master IC 570a.
なお、ステップ3921の処理でリセット条件成立とみなされた場合は、第1マスタIC570aにおいて異常が発生している可能性があるので、ステップ3722の処理で第1マスタIC570aも初期化するようにしている。 If it is determined that the reset condition is satisfied in the process of step 3921, there is a possibility that an abnormality has occurred in the first master IC 570a, so that the first master IC 570a is also initialized in the process of step 3722. There is.
第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 accordance with an instruction from the CPU 551, all light emission control devices have an abnormality related to data transmission. In this case, it is also conceivable that an abnormality has occurred in the first master IC 570a itself.
そのため、すべての装飾制御装置610にてデータ送信に関する異常が発生している場合には、念のために、CPU551(演算処理手段)により第1マスタIC570aが初期化される。これにより、第1マスタIC570aで異常が発生している場合であっても確実に第1マスタIC570aを制御可能にすることができる。 Therefore, when 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. As a result, even when an abnormality occurs 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に入力されるまで待機する。 Furthermore, the effect control device 550 similarly executes an error determination process for the second master IC 570b (3924), and determines whether a reset condition is satisfied (3925). Then, when the reset condition is satisfied, the second master IC 570b is reset (3926), and the second master IC side slave initialization start process is executed to initialize the slave connected to the second master IC 570b. (3927). Thereafter, the process returns to the process shown in FIG. 37, and waits until the synchronization signal is input from the VDP 556 to the CPU 551.
このように、図37から図39に示した処理では、表示装置53の画像を更新する周期と同期して、演出制御装置550の第1マスタIC570a及び第2マスタIC570bから装飾制御装置610のI2CI/Oエクスパンダ615に演出制御データを送信する。そして、I2CI/Oエクスパンダ615は、受信した演出制御データに基づいて装飾装置620を制御するため、表示装置53における演出と装飾装置620における演出とが調和し、遊技者に違和感を与えないので、興趣を高めることができる。 As described above, in the processes shown in FIGS. 37 to 39, in synchronization with the cycle of updating the image of the display device 53, the I of the decoration control device 610 is transmitted from the first master IC 570a and the second master IC 570b. 2 Send presentation control data to the CI / O expander 615. Then, 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, you can enhance the interest.
また、表示装置53の画像を更新する周期と同期して第1マスタIC570a及び第2マスタIC570bから送信された演出制御データが装飾制御装置610で受信されると、その都度、I2CI/Oエクスパンダ615によってワークレジスタ(図24参照)の値が更新される。そのため、毎回ワークレジスタの値が最新の状態に更新されるので、ノイズ等でワークレジスタの値が破壊されても、正常な値に復帰することが可能である。 In addition, each time 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 of the display device 53, the I 2 CI / O 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 is possible to return to the normal value.
また、表示装置53の画像を更新する周期と同期して、ステップ3920及びステップ3924でエラー判定処理を実行するので、エラーを判定する頻度を適切に設定することができる。すなわち、エラー判定処理の実行頻度が多すぎると、演出制御装置550のCPU551の処理負荷が増大し、逆に、エラー判定処理の実行頻度が少なすぎると、異常の発生を適切なタイミングで検出できなくなる。表示装置53の画像を更新する周期と同期させてエラー判定を行うことによって、適切なタイミングでエラーを検出することが可能となり、各処理における不具合の発生に対して適切に対応することができる。 In addition, since the error determination processing is performed in step 3920 and step 3924 in synchronization with the cycle of updating the image of the display device 53, the frequency of determining an error can be appropriately set. That is, if the execution frequency of the error determination process is too high, the processing load of the CPU 551 of the effect control device 550 increases, and conversely, if the frequency of execution of the error determination process is too low, occurrence of abnormality can be detected at appropriate timing. It disappears. By performing the error determination in synchronization with the cycle of updating the image of the display device 53, it is possible to detect an error at an appropriate timing, and it is possible to appropriately cope with the occurrence of a defect in each process.
図40は、本発明の第1の実施の形態の第1マスタIC570a側の送信中断割込み発生時及びタイムアウト割込み発生時の処理の手順を示すフローチャートである。 FIG. 40 is a flow chart showing a procedure of processing upon generation of a transmission interruption interrupt and generation of a timeout interrupt according to the first master IC 570a of 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 generated when the monitoring timer set in the monitoring timer circuit 562 times out, and is for monitoring that the transmission process by the first master IC 570a is not completed within a predetermined time. It is. When a timeout 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に接続されるスレーブ(I2CI/Oエクスパンダ615)によって占有され、解除できない状態になっている。 First, when a master interrupt from the first master IC 570a occurs, the CPU 551 stops updating the monitoring timer of the monitoring timer circuit 562 and ends monitoring of the timeout related to the first master IC 570a (4001). Further, it is checked whether 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, referring to transmission processing continuation determination table 4400 described later with reference to FIG. 44, when the set status code is "70h" or "78h", it corresponds to "recovery". It is judged. If the status code corresponds to "recovery" is occupied by a slave (I 2 CI / O expander 615) where the connecting line SDA or connection lines SCL are connected to the first master IC570a or first master IC570a, release It can not be done.
CPU551は、第1マスタIC570aのステータスコードが「復旧」に該当するか否かを判定する(4003)。そして、該当しない場合には(4003の結果が「N」)、第1マスタIC570aの初期化段階番号及び更新段階番号を取得する(4004)。 The CPU 551 determines whether the status code of the first master IC 570a corresponds to "recovery" (4003). Then, if it does not correspond (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 the initialization step number of the master IC to be initialized is “0” (4005). The case where the initialization step number is "0" indicates that the initialization process is not in progress. That is, when the initialization step number is other than "0", it indicates that the initialization process is being executed.
CPU551は、初期化対象のマスタICの初期化段階番号が“0”でない場合には(4005の結果が「N」)、前述のように、初期化処理中であるため、初期化指示データの送信再開処理を実行する(4006)。初期化指示データの送信再開処理の詳細については、図42にて後述する。 If the initialization step number of the master IC to be initialized is not “0” (the result of 4005 is “N”), the CPU 551 is in the process of initializing as described above, so The transmission restart process is executed (4006). Details of transmission restart processing of 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 step number of the master IC to be initialized is “0” (the result of 4005 is “Y”), the CPU 551 has already completed the initialization processing, and transmits effect control data. Since it is on the way, transmission resumption processing of effect control data is executed (4007). Details of transmission resumption processing of 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で前述した処理と同一の処理である。 When the CPU 551 determines that the status code of the first master IC 570a corresponds to "restoration" at the branch of step 4003 (the result of 4003 is "Y"), the first master IC 570a is soft reset ( 4011) Next, in order to initialize the decoration control device 610 connected to the first master IC 570a, the first master side slave initialization start processing is executed (4011). The first master-side slave initialization start process is the same process as the process described above with reference to FIG.
図41は、本発明の第1の実施の形態の第2マスタIC570b側の送信中断割込み発生時及びタイムアウト割込み発生時の処理の手順を示すフローチャートである。 FIG. 41 is a flow chart showing a procedure of processing upon generation of a transmission interruption interrupt and generation of a timeout interrupt of the second master IC 570b according to the first embodiment of this invention.
第2マスタIC570b側の送信中断割込み発生時及びタイムアウト割込み発生時の処理は、図40に示した第1マスタIC570aの場合の処理と同様であり、第1マスタIC570aを第2マスタIC570bに置き換えればよいため、説明を省略する。 The processing at the time of the transmission interruption interruption occurrence and the time-out interruption occurrence on the second master IC 570b side is similar to the processing at the first master IC 570a shown in FIG. 40, and if the first master IC 570a is replaced with the second master IC 570b Description is omitted because it is good.
図42は、本発明の第1の実施の形態の初期化指示データの送信再開処理の手順を示すフローチャートである。 FIG. 42 is a flowchart showing the procedure of the transmission restart process of initialization instruction data according to the first embodiment of this invention.
CPU551は、まず、ステータスコードに基づいて初期化指示データの送信処理を継続するか否かを判断し(4201)、判断結果に応じて処理を分岐する(4202)。前述したように、ステータスコードは、マスタICの状態を示す値であり、ステータスレジスタ(REG)582に設定されている。ステップ4201の処理では、設定されているステータスコードと現在の初期化段階番号との組合せから、図44にて後述する送信処理継続判定表4400を参照して、初期化指示データの送信処理を継続するか否かを判定する。初期化段階番号とステータスコードとの関係については、図44にて詳細を説明する。 The CPU 551 first determines whether 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 processing of step 4201, transmission processing of initialization instruction data is continued with reference to transmission processing continuation determination table 4400 described later with reference to FIG. 44 from the combination of the set status code and the current initialization step number. It is determined whether 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 step number is set to one of “1” to “4” according to the processing step when the master IC is being initialized, and the initialization of the master IC is When complete, it is set to "0". However, when the initialization of the master IC is completed and the initialization step number becomes "0", the transmission restart process of the initialization instruction data is not called (the branch of step S4005 in the process of the calling source in FIG. 40). Thus, the process of resuming transmission of effect control data is executed), so here, the explanation will be made on the assumption that the initialization step numbers are "1" to "4".
CPU551は、初期化段階番号とステータスコードとの組合せによる判定結果が「継続」でない場合には(4202の結果が「N」)、正常な状態ではない(例えば、データ送信に失敗した状態になる)ので、初期化の開始を示す値“1”を初期化段階番号に設定する(4203)。さらに、監視タイマを設定し、タイムアウトの監視を開始する(4204)。 If the determination result by the combination of the initialization step number and the status code is not "continue" (result of 4202 is "N"), the CPU 551 is not in a normal state (for example, data transmission failed) Therefore, the value “1” indicating the start of initialization is set as the initialization stage number (4203). Further, the monitoring timer is set and monitoring of time out is started (4204).
最後に、CPU551は、ストップコンディション及びスタートコンディションを出力するように、処理対象のマスタICのコマンドREG581のSTAに“1”、STOに“1”、SIに“0”、MODEに“0”を設定し(4205)、呼び出し元の処理に復帰する。 Finally, the CPU 551 outputs “1” to STA, “1” to STO, “1” to SI, “0” to MODE, and “0” to MODE so that the stop condition and start condition are output. The setting is made (4205), and the processing returns to the calling source.
一方、CPU551は、初期化段階番号とステータスコードとの組合せによる判定結果が「継続」となっている場合には(4202の結果が「Y」)、初期化処理が正常に実行されているため、初期化段階番号に基づいて処理を分岐する(4206)。 On the other hand, when the determination result by the combination of the initialization step number and the status code is "continue" (the result of 4202 is "Y"), the CPU 551 normally executes the initialization process. And branch the process based on the initialization stage number (4206).
CPU551は、初期化段階番号が“1”の場合には、処理対象のマスタICの出力用バッファ572にリセット用アドレスを設定する(4207)。 When the initialization step number is “1”, the CPU 551 sets a reset address in the output buffer 572 of the master IC to be processed (4207).
初期化段階番号に“1”が設定されている場合は、マスタICからスタートコンディションが出力されたことを意味する。図44の送信処理継続判定表4400を参照すると、ステータスコードは、スタートコンディション又はリスタートコンディションが送信されたことを示す“08h”又は“10h”が設定されることになる。したがって、初期化段階番号に“1”が設定されており、かつ、ステータスコードに“08h”又は“10h”が設定されている場合に、ステップ4207以降の処理が実行される。 When "1" is set in the initialization step number, it means that the start condition is output from the master IC. Referring to the transmission processing continuation determination table 4400 in FIG. 44, the status code is set to “08h” or “10h” indicating that the start condition or restart condition has been transmitted. Therefore, when the initialization stage number is set to "1" and the status code is set to "08h" or "10h", the processing of step 4207 and subsequent steps 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 monitoring for timeout (4209). Finally, in order to continue the processing, “0” is set to each of STA, STO, SI and MODE of the command REG 581 of the master IC to be processed (4210), and the processing returns to the calling source.
また、初期化段階番号が“2”の場合には、CPU551は、処理対象のマスタICの出力用バッファ572にリセット指令を示す値の前半の値を設定する(4211)。 If the initialization step 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 step number, it means that a reset address is set in the output buffer 572 of the master IC. Referring to transmission processing continuation determination table 4400 in FIG. 44, the status code is an ACK indicating that the slave address (here, the reset address) has already been transmitted and that the signal has been normally received from each slave. “18h” is set to indicate that a response has been made. However, the status code is set to "20h" when a NACK indicating that the signal can not be received normally from each slave is replied. Therefore, when “2” is set in the initialization step number and “18h” is set in the status code, the processes after step 4211 are executed.
CPU551は、出力用バッファ572に値が設定されると、初期化段階番号が“1”の場合と同様に、ステップ4208から4210までの処理を実行する。 When the value is set in the output buffer 572, the CPU 551 executes the processing of steps 4208 to 4210 as in the case where the initialization step number is “1”.
CPU551は、初期化段階番号が“3”の場合には、処理対象のマスタICの出力用バッファ572にリセット指令を示す値の後半の値を設定する(4212)。 If the initialization step 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 in the initialization step number, it means that the value of the first half 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 an ACK indicating that the data set in the output buffer 572 has been transmitted and that a signal has been normally received from each slave. “28h” is set to indicate the event. However, the status code is set to “30 h” when a NACK indicating that the signal can not be received normally from each slave is acknowledged. Therefore, when the initialization stage number is set to "3" and the status code is set to "28h", the processing after step 4212 is executed.
CPU551は、出力用バッファ572に値が設定されると、初期化段階番号が“1”の場合と同様に、ステップ4208から4210までの処理を実行する。 When the value is set in the output buffer 572, the CPU 551 executes the processing of steps 4208 to 4210 as in the case where the initialization step number is “1”.
初期化段階番号に“4”が設定されている場合は、マスタICの出力用バッファ572にリセット指令の後半の値が設定された状態であることを意味する。図44の送信処理継続判定表4400を参照すると、初期化段階番号が“3”の場合と同様に、ステータスコードに“28h”又は“30h”が設定されており、ステータスコードに“28h”の場合に、ステップ4212以降の処理が実行される。 When "4" is set in the initialization step number, it means that the value of the latter half of the reset command is set in the output buffer 572 of the master IC. Referring to transmission processing continuation determination table 4400 in FIG. 44, “28 h” or “30 h” is set as the status code and “28 h” as the status code as in the case where the initialization step number is “3”. In this case, the processing after step 4212 is performed.
初期化段階番号が“4”の場合には、初期化処理に必要な処理が終了したため、CPU551は、処理対象のマスタICに接続されたすべての装飾制御装置610のエラーフラグをオフに設定し(4213)、さらに、エラーカウンタを0に設定して初期化する(4214)。そして、初期化段階番号を初期化処理中でないことを示す“0”に設定する。最後に、初期化処理を完了させ、処理対象のマスタICから、当該マスタICに接続されたすべての装飾制御装置610にストップコンディションを出力するために、処理対象のマスタICのコマンドREG581のSTOに“1”、STA、SI及びMODEにそれぞれ“0”を設定し(4216)、呼び出し元の処理に復帰する。 If the initialization step number is "4", the CPU 551 turns off the error flags of all the decoration control devices 610 connected to the master IC to be processed, since the processing necessary for the initialization processing is completed. (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 output a stop condition from the master IC to be processed to all the decoration control devices 610 connected to the master IC, STO of the command REG581 of the master IC to be processed is performed. Each of “1”, STA, SI and MODE is set to “0” (4216), and the process is returned to the caller.
図43は、本発明の第1の実施の形態の演出制御データの送信再開処理の手順を示すフローチャートである。 FIG. 43 is a flowchart showing a procedure of transmission resumption processing of effect control data according to the first embodiment of this invention.
CPU551は、まず、ステータスコードに基づいて実行する処理を判断し(4301)、処理が「再送」か否かを判定する(4302)。ステップ4301の処理では、ステータスコードに設定された値と更新段階番号との組合せに基づいて、送信処理継続判定表4400(図44)を参照して実行する処理を判断する。 The CPU 551 first determines the process to be executed based on the status code (4301), and determines whether the process is "retransmission" (4302). In the processing of step 4301, processing to be executed is determined with reference to the transmission processing continuation determination table 4400 (FIG. 44) based on the combination of the value set in the status code and the update step number.
更新段階番号は、第1マスタIC570a及び第2マスタIC570bの各々に関して、演出制御データを送信するタイミングを制御するための番号である。具体的には、演出制御定期処理(図37のステップ3707、図39)が実行されると、更新段階番号が“0”に設定される。また、後述するように、出力用バッファ572に演出制御データを設定すると、更新段階番号は“1”に設定される。 The update stage number is a number for controlling the timing of transmitting the effect control data with respect to 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”. Further, as described later, when rendering control data is set in the output buffer 572, the update stage number is set to “1”.
ステータスコードは、前述のように、マスタICの状態を示す値であり、ステータスレジスタ(REG)582に設定されている。更新段階番号とステータスコードとの関係については、図44にて詳細を説明する。 The status code is a value indicating the state of the master IC, as described above, 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 the CPU 551 determines that the process is not “retransmission” based on the status code (the result of 4302 is “N”), it further determines whether the value of the update stage number is “0”. (4303). At this time, referring to FIG. 44, the processing that is not "retransmission" includes "continue" or "restoration", but when the processing is "restoration" when the transmission interruption interrupt occurs, it is shown in Figs. As described above, the initialization process is performed without executing the transmission control process of the effect control data. Therefore, when the process is not "retransmission", the process is always "continue".
そして、CPU551は、更新段階番号の値が“0”の場合には(4303の結果が「Y」)、RAM553上に準備されていたデータを出力用バッファ572に設定する(4304)。この場合(更新段階番号の値が“0”、かつ、処理が「継続」)、ステータスコードは“08h”又は“10h”となっており、スタートコンディション出力後の状態に対応する。 Then, when the value of the update step 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 value of the update stage number is “0” and the process is “continue”), 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)、呼び出し元の処理に復帰する。 Furthermore, the CPU 551 sets the value of the update stage number to “1” (4305), sets the monitoring timer, and starts monitoring for timeout (4306). Finally, the 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” 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 source process.
一方、CPU551は、更新段階番号の値が“1”の場合には(4303の結果が「N」)、選択されたスレーブ(装飾制御装置610)に対応するエラーフラグを“オフ”に設定し(4308)、さらに、エラーカウンタを初期化する(4309)。なお、更新段階番号の値が“1”の場合、正常に処理が行われていれば、ステータスコードには正常にデータの送信が完了したことを示す“28h”が設定されている。 On the other hand, when the value of the update step number is “1” (the result of 4303 is “N”), the CPU 551 sets the error flag corresponding to the selected slave (decorative control device 610) to “off”. (4308) Further, the error counter is initialized (4309). When the value of the update stage number is “1”, “28h” is set in the status code, which indicates that the data transmission has been completed normally, if the processing is performed normally.
その後、CPU551は、すべてのスレーブに対して送信再開処理が完了したか否かを判定する(4310)。そして、すべてのスレーブに対して処理が完了した場合には(4310の結果が「Y」)、ストップコンディションを出力し、データを送信するモードを「バッファモード」に指定するようにコマンドREG581のSTO及びMODEに“1”、STA及びSIに“0”を設定し(4311)、呼び出し元の処理に復帰する。 Thereafter, the CPU 551 determines whether or not the transmission restart processing has been completed for all slaves (4310). Then, when the processing is completed for all slaves (the result of "4310" is "Y"), the stop condition is output, and the STO of the command REG 581 is made to designate the mode for transmitting data as "buffer mode". Then, “1” is set to MODE and “0” is set to STA and SI (4311), and processing returns to the caller.
CPU551は、すべてのスレーブに対して処理が完了していない場合には(4310の結果が「N」)、リトライカウンタを0に設定し(4312)、次の処理対象のスレーブを選択する(4313)。そして、選択されたスレーブへの出力データを準備し(4314)、更新段階番号を“0”に設定し(4315)、監視タイマを設定し、タイムアウトの監視を開始する(4316)。 If the processing has not been completed for all 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, the output data to the selected slave is prepared (4314), the update stage number is set to "0" (4315), the monitoring timer is set, and the monitoring of time-out is started (4316).
最後に、CPU551は、スタートコンディションを出力し、データを送信するモードを「バッファモード」に指定するようにコマンドREG581のSTA及びMODEに“1”、STO及びSIに“0”を設定し(4317)、呼び出し元の処理に復帰する。 Finally, the CPU 551 outputs a start condition and sets STA and MODE of the command REG 581 to “1” and sets STO and SI to “0” so as to designate the mode for transmitting data as “buffer mode” (4317 ), Return to the caller 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 judged whether 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以降の処理を実行する。 If the value of the retry counter has not reached the designated value (result of 4322 is "N"), the CPU 551 selects the slave again while it is currently selected (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 designated value (the result of 4322 is “Y”), the CPU 551 sets the error flag 3205 of the selected slave to “ON”, and the processing after step 4310 Run.
図44は、本発明の第1の実施の形態のデータの送信再開処理の継続を判断するための送信処理継続判定表4400の一例を示す図である。 FIG. 44 is a diagram showing an example of a transmission processing continuation determination table 4400 for determining the continuation of the data transmission restart processing according to the first embodiment of this invention.
送信処理継続判定表4400には、前述のように、データ送信再開処理の継続を判断するための情報が格納される。データ送信再開処理には、初期化指示データの送信再開処理(図42)と、演出制御データの送信再開処理(図43)とが含まれ、送信処理継続判定表4400には各場合について処理の継続判断が登録されている。 As described above, the transmission process continuation determination table 4400 stores information for determining the continuation of the data transmission restart process. Data transmission restart processing includes transmission restart processing of initialization instruction data (FIG. 42) and transmission restart processing of effect control data (FIG. 43), and transmission processing continuation determination table 4400 includes processing for each case. Continuation judgment is registered.
送信処理継続判定表4400には、ステータスコード4401、初期化指示データ送信再開処理の継続判断4402、演出制御データ送信再開処理の継続判断4403、及び状態4404が含まれる。 The transmission processing continuation determination table 4400 includes a status code 4401, a determination of continuation of the initialization instruction data transmission restart processing 4402, a determination of continuation of the rendering control data transmission restart processing 4403, and a 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, if the status code is "08H", it indicates that the transmission of the start condition has been completed. Further, when the status code is "10H", it indicates that the re-transmission of the start condition, that is, the transmission of the restart condition is completed.
また、本発明の第1の実施の形態では、接続線SDA又は接続線SCLが何らかの理由で占有され、さらに、解除できなかった場合には、ステータスコード4401に“70H”又は“78H”が設定される。 Further, in the first embodiment of the present invention, when connection line SDA or connection line SCL is occupied for some reason, and can not be released, “70H” or “78H” is set in status code 4401. Be done.
続いて、ステータスコードに対応する初期化指示データ送信再開処理の継続判断440
2及び演出制御データ送信再開処理の継続判断4403について説明する。
Subsequently, the continuation judgment of the initialization instruction data transmission restart processing corresponding to the status code 440
The continuation judgment 4403 of 2 and the production control data transmission resumption processing 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 judgment 4402 of the initialization instruction data transmission restart process is defined for each initialization stage number. Specifically, as shown in the figure, "continue", "resume" or "recovery" is defined corresponding to the combination of the value of the initialization step number and the value of the status code.
継続判断4402の値が「継続」の場合には、初期化指示データ送信再開処理が正常に処理されていることを示している。具体的には、初期化段階番号が1の場合にスタートコンディションの出力が成功した場合や、初期化段階番号が2の場合にアドレスの送信が成功した場合に継続判断4402の値が「継続」になる。すなわち、初期化指示データ送信再開処理で実行された処理と、ステータスレジスタ(REG)582に設定されたステータスコードとが整合している場合に継続判断4402の値が「継続」になる。 If the value of the continuation determination 4402 is “continuation”, it indicates that the initialization instruction data transmission restart processing is normally processed. Specifically, the value of the continuation determination 4402 is "continue" when the output of the start condition is successful when the initialization phase number is 1 or when the address transmission is successful when the initialization phase number is 2. become. That is, when the processing executed in the initialization instruction data transmission resumption processing matches the status code set in the status register (REG) 582, 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 "resume", it indicates that the initialization instruction data transmission restart process is not properly processed, and it is necessary to restart the initialization instruction data transmission restart process. It is shown that. That is, when the processing executed in the initialization instruction data transmission restart processing does not match the status code set in the status register (REG) 582, the value of the continuation determination 4402 becomes "resume", for example, the data This state occurs when transmission fails.
さらに、継続判断4402の値が「復旧」の場合には、接続線SDA又は接続線SCLが占有され、解除できないことを示している。この場合には、送信中断割込発生時に対応するマスタIC及び当該マスタICに接続されたスレーブを初期化する必要がある。 Furthermore, when the value of the continuation determination 4402 is "restoration", it indicates that the connection line SDA or the connection line SCL is occupied and can not be released. In this case, it is necessary to initialize the master IC corresponding to the occurrence of the 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 judgment 4403 of the effect control data transmission restart process is defined for each setting value of the update stage number. Specifically, as shown in the figure, "continuation", "retransmission" or "restoration" 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 phase number is set to "1" at the timing when the data is first transmitted 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 step number is set to "1", and thereafter, data is continuously transmitted. The value of “continuation judgment 4403” becomes “continuation” if the status code is set to “08H” or “10H” after transmission of the start condition (the update step number is “0”) and after transmission of data ( This is the case where the status code "28H" indicating the success of data transmission is set in the update step number "1".
一方、接続線SDA又は接続線SCLが何らかの理由で占有状態になっており、解除できない場合には、データを送受信することができないため、マスタIC及びマスタICに接続されたスレーブを初期化することによって占有状態を解除するように復旧させる。具体的には、ステータスコード4401が「70H」又は「78H」の場合である。 On the other hand, if connection line SDA or connection line SCL is occupied for some reason and can not be released, data can not be transmitted / received, so initialize the master IC and the slave connected to the master IC. To restore the occupied state by. 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 step number do not match when the data can be transmitted and received, “resend” is set, and processing for resending the effect control data is performed. To be executed.
図45は、本発明の第1の実施の形態のマスタICによるデータ送信処理の手順を示すフローチャートである。本処理は、第1マスタIC570a及び第2マスタIC570bの共通処理であり、CPU551によって、コマンドレジスタ581(図11及び図12
参照)のSIのビットに“0”が設定されると、割込み処理の発生によって待機していたマスタICが当該処理を開始する。
FIG. 45 is a flowchart showing a procedure of data transmission processing by the master IC according to the first embodiment of this invention. This process is a common process of the first master IC 570a and the second master IC 570b, and the CPU 551 controls the command register 581 (FIGS. 11 and 12).
When “0” is set in the SI bit of “see)”, the master IC which has been waiting due to the occurrence of the interrupt process starts the process.
まず、マスタICのコントローラ574は、スタートコンディションの出力が要求されているか否か、すなわち、コマンドREG581のSTAに“1”が設定されているか否かを判定する(4501)。 First, the controller 574 of the master IC determines whether the output of the start condition is requested, that is, whether the STA of the command REG 581 is set to “1” (4501).
コントローラ574は、スタートコンディションの出力が要求されている場合には(4501の結果が「Y」)、スタートコンディション出力処理を実行する(4502)。スタートコンディション出力処理は、接続線SCL及び接続線SDAの信号レベルに応じてスタートコンディションを出力するために必要な処理を実行する。スタートコンディション出力処理の詳細については、図46にて後述する。 The controller 574 executes start condition output processing (4502) when the output of the start condition is requested (result of 4501 is “Y”). The start condition output processing executes processing necessary to output the start condition according to the signal levels of the connection line SCL and the connection line SDA. Details of the start condition output process 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 in the status code (4503). STCD is a variable for substituting a status code to be set, and a predetermined value is set in start condition output processing, data transmission processing to a slave described later, and stop condition output processing. When the status code is set to a value, the transmission interruption interrupt is generated by setting “1” to 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 the output of the stop condition is requested, that is, “1” in STO of the command REG581. 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 (result of 4504 is “N”), the controller 574 executes data transmission processing to the slave (4505). Then, the value of STCD set in the data transmission process to the slave is set in the status code (4503). Thereafter, the transmission interruption interrupt is generated by setting “1” to SI of the command REG 581.
コントローラ574は、ストップコンディションの出力が要求されている場合には(4504の結果が「Y」)、ストップコンディション出力処理を実行する(4506)。ストップコンディション出力処理は、接続線SCL及び接続線SDAの信号レベルに応じてストップコンディションを実行するために必要な処理を実行する。ストップコンディション出力処理の詳細については、図50にて後述する。その後、スレーブへのデータ送信処理で設定されたSTCDの値をステータスコードに設定し(4507)、本処理を終了する(送信中断割込みは発生しない)。 When the output of the stop condition is requested (result of 4504 is “Y”), the controller 574 executes stop condition output processing (4506). The stop condition output process executes the process necessary to execute the stop condition according to the signal levels of the connection line SCL and the connection line SDA. The details of the stop condition output process will be described later with reference to FIG. Thereafter, the value of STCD set in the data transmission process to the slave is set in the status code (4507), and this process is ended (a transmission interruption interrupt is not generated).
図46は、本発明の第1の実施の形態のスタートコンディション出力処理の手順を示すフローチャートである。 FIG. 46 is a flowchart showing the procedure of the start condition output process 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, the process according to the signal level of each connection line at the start of the process is executed.
コントローラ574は、スタートコンディション出力処理を開始すると、まず、ステータスコードの変数(STCD)に“08H”を設定する。“08H”は、スタートコンディションの出力が完了したことを示す。 When the controller 574 starts the start condition output process, it 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 the output of the stop condition 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 required 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 SCL release monitoring processing 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 12) (4606). At this time, if all the 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, so at this point both the signal level of the connection line SCL and the signal level of the connection line SDA are HIGH. It 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 12) to ON (4608). By this processing, 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, so that the start condition is satisfied.
コントローラ574は、続いて、トランジスタ578bをオンに設定することで接続線SCLの信号レベルをLOWに設定する(4609)。さらに、FBFの値をオンに設定する(4610)。FBFは、スタートコンディションが成立した直後であることを示すフラグであり、例えば、スタートコンディション成立後にデータを送信する場合に、FBFがオンであれば、最初に送信されたデータであるからスレーブのアドレスと判断する。そして、アドレス受信後にFBFをオフに設定することによって、受信したデータが演出制御データであることを各スレーブが認識することができる。 The controller 574 subsequently sets the signal level of the connection line SCL to LOW by setting the transistor 578b to ON (4609). Further, the value of FBF is set to on (4610). The FBF is a flag indicating that the start condition has just been established, and for example, when transmitting data after the start condition is established, if the FBF is on, it is the first transmitted data, so the slave address I will judge. Then, by setting the FBF to OFF after receiving the address, each slave can recognize that the received data is effect 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, when the signal level of the connection line SDA is not HIGH (the result of 4607 is “N”), the controller 574 determines whether the signal level of the connection line SDA has become HIGH until a predetermined time elapses. It is judged (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 the process of releasing the connection line SDA after step 4612 is executed. Specifically, 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) by not applying an operable voltage to the transistor 578a by the driver 576a Let
コントローラ574は、まず、接続線SCLに信号を入力した回数を示す変数LPの値に0を設定する(4612)。さらに、トランジスタ578aをオンさせることで、接続線SCLの信号レベルをLOWに設定する(4613)。このとき、接続線SCLの信号レベルはHIGHからLOWに変化している。さらに、LPに1を加算することによって(4614)、接続線SCLの信号レベルの変更回数をカウントする。 The controller 574 first sets 0 to the value of the variable LP indicating the number of times of signal 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. Furthermore, the number of changes in the signal level of the connection line SCL is counted by adding 1 to LP (4614).
続いて、コントローラ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 judged whether the value of LP has become 9, ie, whether the number of times of change of the signal level of the connection line SCL has reached nine times (4616). If the value of LP has not reached 9 (result of 4616 is “N”), the processing from steps 4613 to 4615 is executed again.
ステップ4612から4616までの処理によって、読み出しモード(詳細は後述)となったI2CI/Oエクスパンダ615は、接続線SCLの信号レベルの変化に合わせて接続線SDAにデータを出力するが、接続線SCLの信号レベルの変化が少なくとも9回行われる途中において、マスタICからのアクノリッジ(ACK)信号を確認するタイミングが発生する。このとき、接続線SDAは解放されているので信号レベルがHIGHとなり、読み出しモードとなったI2CI/Oエクスパンダ615は、アクノリッジ信号を受信しなかったと判断するので、データ伝送をやめて接続線SDAを解放することになる。 The I 2 CI / O expander 615, which has been brought into the read mode (details will be described later) by the processing of steps 4612 to 4616, outputs data to the connection line SDA in accordance with the change in the signal level of the connection line While the signal level of the connection line SCL changes at least nine times, a timing for confirming an acknowledge (ACK) signal from the master IC is generated. At this time, since the connection line SDA is released, the signal level becomes HIGH, and the I 2 CI / O expander 615 in the read mode determines that the acknowledge signal has not been received. It will release the SDA.
このようにして、読み出しモードとなったI2CI/Oエクスパンダ615から強制的に接続線SDAを解放させるので、接続線SDAの信号レベルはHIGHに維持される。 In this manner, since the connection line SDA is forcibly released from the I 2 CI / O expander 615 in the read mode, the signal level of the connection line SDA is maintained at HIGH.
コントローラ574は、接続線SCLの信号レベルの変更回数が9回に到達した場合には(4616の結果が「Y」)、ストップコンディションの出力が要求されているか否かを判定する(4617)。 When the number of times of change of the signal level of the connection line SCL reaches nine times (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 (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 subsequently, the SCL release monitoring process is executed (4621). Thereafter, the processing of steps 4608 to 4610 is executed, and the processing returns to the calling source.
また、コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求され、かつ、接続線SCLの信号レベルがLOW、接続線SDAの信号レベルがHIGHの場合には、ステップ4604以降の処理を実行する。さらに、ステップ4602の分岐の時点において、ストップコンディションの出力が要求され、かつ、接続線SCLの信号レベルがHIGH、接続線SDAの信号レベルがLOWの場合には、ステップ4606以降の処理を実行する。 Also, when the controller 574 is requested to output the stop condition at the time of the branch of step 4602 and the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH, Execute the process Furthermore, at the point of time of the branch of step 4602, when the output of the stop condition is requested, and the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW, the processing from step 4606 is executed. .
コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求され、かつ、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにLOWの場合には、トランジスタ578aをオフに設定することで、接続線SDAを解放する(4622)。さらに、接続線SDAの信号レベルがHIGHであるか否かを判定する(4623)。 The controller 574 sets the transistor 578 a to be off when the output of the stop condition is required and the signal level of the connection line SCL and the signal level of the connection line SDA are both LOW at the time of the branch of step 4602. Thus, the connection line SDA is released (4622). Further, it is judged 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を解放する処理を実行する。 When the signal level of the connection line SDA is not HIGH (the result of 4623 is “N”), the controller 574 determines whether the signal level of the connection line SDA has become HIGH until a predetermined time elapses. (4625). When a predetermined time has elapsed (the result of 4625 is "Y"), it is determined that connection line SDA is in the occupied state, SCL release monitoring processing is executed (4626), and connection line SDA after step 4612 is released. Execute the process
一方、コントローラ574は、接続線SDAの信号レベルがHIGHであれば(4623の結果が「Y」)、さらに、ストップコンディションが要求されているか否かを判定す
る(4624)。ストップコンディションが要求されている場合には(4624の結果が「Y」)、ステップ4604以降の処理を実行する。
On the other hand, when the signal level of the connection line SDA is HIGH (the result of 4623 is “Y”), the controller 574 further determines whether a stop condition is required (4624). When the stop condition is requested (the result of 4624 is “Y”), the processing from step 4604 is executed.
コントローラ574は、ストップコンディションが要求されていない場合には(4624の結果が「N」)、SCL解放監視処理を実行し(4627)、スタートコンディションの再出力(リスタートコンディション)が完了したことを示す「10H」をSTCDに設定する(4628)。その後、ステップ4608以降の処理を実行する。 When the stop condition is not requested (result of 4624 is “N”), the controller 574 executes the SCL release monitoring process (4627), and indicates that the start condition re-output (restart condition) is completed. "10H" to be shown is set to STCD (4628). Thereafter, the processing of step 4608 and subsequent steps is executed.
また、コントローラ574は、接続線SCLの信号レベルの変更回数が9回に到達し(4616の結果が「Y」)、さらに、ストップコンディションの出力が要求されていない場合には(4617の結果が「N」)、接続線SDAの信号レベルがHIGHであるか否かを判定する(4629)。 Also, the controller 574 reaches 9 changes in the signal level of the connection line SCL (the result of 4616 is “Y”), and 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 the signal level of the connection line SDA has become HIGH until a predetermined time elapses. (4630). Then, when a predetermined time has passed (the result of 4630 is "Y"), it is determined that the connection line SDA is in the occupied state, and the status code is set to "70H" (4631) to generate a transmission interruption interrupt .
コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求されず、かつ、接続線SCLの信号レベルがHIGH、かつ、接続線SDAの信号レベルがLOWの場合には、接続線SDAの信号レベルをLOWに設定し(4632)、ステップ4622以降の処理を実行する。 When the controller 574 does not require the output of the stop condition at the time of the branch of step 4602 and 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 The signal level of is set to LOW (4632), and the processing after step 4622 is executed.
コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求されず、かつ、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにLOWの場合には、ステップ4622以降の処理を実行する。 If the controller 574 does not require the output of the stop condition at the time of the branch of step 4602 and the signal level of the connection line SCL and the signal level of the connection line SDA are both LOW, the processing after step 4622 is performed. Run.
コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求されず、かつ、接続線SCLの信号レベルがLOW、かつ、接続線SDAの信号レベルがHIGHの場合には、ステップ4627以降の処理を実行する。 When the controller 574 does not require the output of the stop condition at the time of the branch of step 4602, and the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH, Execute the process of
コントローラ574は、ステップ4602の分岐の時点において、ストップコンディションの出力が要求されず、かつ、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにHIGHの場合には、ステップ4608以降の処理を実行する。 When the controller 574 does not require the output of the stop condition at the time of the branch of step 4602 and the signal level of the connection line SCL and the signal level of the connection line SDA are both HIGH, the processing after step 4608 is performed. Run.
図47は、本発明の第1の実施の形態のSCL解放監視処理の手順を示すフローチャートである。 FIG. 47 is a flowchart showing the procedure of the SCL release monitoring process 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 (4701) by turning off the transistor 578b (FIG. 11 or 12). At this time, if all the other ICs (I / O expander 615 and the like) connected to the connection line SCL release the connection line SCL, the signal level of the connection line SCL is changed to HIGH. Subsequently, the signal level of the connection line SCL is changed to HIGH, and it is determined whether 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 process of the caller because the process is 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 the signal level of the connection line SCL has become HIGH until a predetermined time elapses. (4703).
コントローラ574は、所定の時間が経過しても接続線SCLの信号レベルがHIGHにならない場合には(4703の結果が「Y」)、接続線SCLを解放できないことを示す「78H」をステータスコードに設定し(4704)、送信中断割込みを発生させる。 The controller 574 has a status code “78H” indicating that the connection line SCL can not be released if the signal level of the connection line SCL does not become HIGH after a predetermined time (the result of 4703 is “Y”). Set to 4704 to generate a transmission interruption interrupt.
図48は、本発明の第1の実施の形態のSDA解放監視処理の手順を示すフローチャートである。 FIG. 48 is a flowchart showing the procedure of the SDA release monitoring process according to the first embodiment of this invention.
コントローラ574は、SDA解放監視処理が開始されると、トランジスタ578a(図11又は図12)をオフすることで、接続線SDAを解放する(4801)。このとき、接続線SDAに接続されている他のIC(I/Oエキスパンダ615等)の全てが接続線SDAを解放していれば、接続線SDAの信号レベルがHIGHに変更される。 The controller 574 releases the connection line SDA (4801) by turning off the transistor 578a (FIG. 11 or 12) when the SDA release monitoring process is started. At this time, if all the 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 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”), since the connection line SDA has been released, the process returns to the calling source process.
一方、コントローラ574は、接続線SDAの信号レベルがHIGHになっていない場合には(4802の結果が「N」)、所定の時間が経過するまで、接続線SDAの信号レベルがHIGHになったか否かを判定する(4802)。 On the other hand, when 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 is HIGH until a predetermined time elapses. It is determined whether or not (4802).
コントローラ574は、所定の時間が経過しても接続線SDAの信号レベルがHIGHにならない場合には(4803の結果が「Y」)、接続線SCLを解放するSCL解放監視処理(図47)を実行し、接続線SCLを解放する(4804)。その後、接続線SDAを解放できないことを示す「70H」をステータスコードに設定し(4805)、送信中断割込みを発生させる。 The controller 574 performs SCL release monitoring processing (FIG. 47) of releasing the connection line SCL if the signal level of the connection line SDA does not become HIGH even after a predetermined time has elapsed (result of 4803 is “Y”). Execute and release the connection line SCL (4804). Thereafter, “70H” indicating that connection line SDA can not be released is set in the status code (4805), and a transmission interruption interrupt is generated.
図49は、本発明の第1の実施の形態のスレーブ側のI2CI/Oエクスパンダ615へのデータ送信処理の手順を示すフローチャートである。 FIG. 49 is a flowchart showing a procedure of data transmission processing to the I 2 CI / O expander 615 on the slave side 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を解放している。 The controller 574 first initializes a variable CTR, which stores the number of times of data transmission, to 0 (4901). Subsequently, the signal level of the connection line SCL is set to LOW by setting the transistor 578 b (FIG. 11 or 12) to ON (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 the other ICs (I / O expander 615 and the like) connected to the connection line SDA release the connection line SDA.
コントローラ574は、変数CTRの値が8か否か、すなわち、データの送信回数が8回に到達したか否かを判定する(4904)。データの送信回数が8回に到達していない場合には(4904の結果が「N」)、接続線SDAを介してスレーブにデータを出力し、CTRに1を加算する(4905)。続いて、SCL解放監視処理を実行し(4906)、ステップ4902以降の処理を実行することによってさらにデータを出力する。 The controller 574 determines whether the value of the variable CTR is 8 or not, that is, whether or not the number of times of data transmission has reached 8 (4904). If the number of times of data transmission 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, SCL release monitoring processing is executed (4906), and further data is output by executing processing of step 4902 and thereafter.
一方、コントローラ574は、データの送信回数が8回に到達すると(4904の結果が「Y」)、スレーブ側のI2CI/Oエクスパンダ615から接続線SDAを介して返答信号が出力される(4907)。 On the other hand, when the number of times of data transmission reaches eight (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 takes in the output response signal from the connection line SDA (4908), and executes SCL release monitoring processing (4909). Furthermore, it is determined whether 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)。 The controller 574 sets the signal level of the connection line SCL to LOW by setting the transistor 578 b to ON when the content of the response signal from the slave is “ACK” (result of 4910 is “Y”) ( 4911) The slave releases the connection line SDA (4912). Furthermore, it is determined whether the current data transmission mode is the buffer mode (4913).
コントローラ574は、現在のデータ送信モードがバッファモードの場合には(4913の結果が「Y」)、最終バイトの送信が完了したか否かを判定する(4914)。最終バイトの送信が完了しておらず、さらにデータを送信する場合には(4914の結果が「N」)、FBFの値にオフを設定し、データの送信回数を示す変数CTRに0を設定する(4915)。FBFは、前述のように、スタートコンディションが成立した直後であることを示すフラグであり、最初のデータ送信後にオフに設定することによって、スレーブのアドレスの送信が終了していることを示すフラグとして扱うことができる。 When the current data transmission mode is the buffer mode (result of 4913 is “Y”), the controller 574 determines whether transmission of the last byte is completed (4914). When transmission of the last byte is not completed and data is to be transmitted (result of 4914 is "N"), the value of FBF is set to OFF, and 0 is set to the variable CTR indicating the number of transmissions of data. (4915). As described above, the FBF is a flag indicating that the start condition has just been established, and the flag indicating that the transmission of the slave's address has been completed by setting it off after the first data transmission. It 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). If 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"), 70H is set in the status code (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 of step 4902 and subsequent steps 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)。 If the current data transmission mode is not the buffer mode, that is, if the current data transmission mode is not the buffer mode (ie, the result of 4913 is “N”), or the transmission of the last byte is completed (the result of 4914 is “Y”). “), It is determined whether or not the FBF is set to ON (4919). If FBF is set to ON (result of 4919 is “Y”), FBF is set to OFF, and status code “18H” indicating that address transmission is successful is set to STCD (status code) (4920). On the other hand, when the FBF is not set to ON (the 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)。 In addition, when the content of the response signal from the slave is "NACK" indicating that the content of the response signal is not "ACK", that is, the controller 574 indicates that the data could not be received (the result of 4910 is “N”), the signal level of the connection line SCL is set to LOW by setting the transistor 578 b 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). If the FBF is set to ON (the result of 4923 is “Y”), the status code 20H indicating that the transmission of the address has failed is set to STCD (4924). On the other hand, when the FBF is not set to ON (the result of 4923 is "N"), the status code 30H indicating that the data transmission has failed is set to STCD (4925). When the above process is completed, the process returns to the caller process.
図50は、本発明の第1の実施の形態のストップコンディション出力処理の手順を示すフローチャートである。 FIG. 50 is a flowchart showing the procedure of the stop condition output process 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 the controller 574 starts the stop condition output process, it 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 signal level of the connection line SCL is set to LOW by setting the transistor 578b (FIG. 11 or 12) to ON. Set (5002). After the process 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 12) is turned on. Set the signal level of the connection line SDA to LOW (5003).
コントローラ574は、ステップ5003の処理が終了した後、又は、接続線SCLの信号レベル及び接続線SDAの信号レベルがともにLOWの場合には、接続線SCLを解放するためのSCL解放監視処理を実行する(5004)。 The controller 574 executes the SCL release monitoring process for releasing the connection line SCL after the process of step 5003 is completed or when the signal level of the connection line SCL and the signal level of the connection line SDA are both LOW. To do (5004).
SCL解放監視処理は、LOWレベルとなっている接続線SCLの信号レベルをHIGHに設定することによって、データの送受信が可能な状態にする処理である。SCL解放監視処理の詳細については、図47にて説明したとおりである。なお、SCL解放監視処理が正常に終了すると、接続線SCLの信号レベルはHIGHに設定されている。また、接続線SCLの信号レベルをHIGHに設定することができず、接続線SCLを解放できなかった場合には、送信中断割込みを発生させる。 The SCL release monitoring process is a process for setting the signal level of the connection line SCL that is at the LOW level to HIGH, thereby enabling data transmission / reception. 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. Further, if the signal level of the connection line SCL can not be set to HIGH and the connection line SCL can not be released, a transmission interruption interrupt is generated.
コントローラ574は、ステップ5004の処理が終了した後、又は、接続線SCLの信号レベルがHIGH、かつ、接続線SDAの信号レベルがLOWの場合には、接続線SDAを解放するためのSDA解放監視処理を実行する(5005)。 After the processing in 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, the controller 574 monitors SDA release for releasing the connection line SDA. Execute the process (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, and is occupied when the connection line SDA is occupied for some reason and the signal level remains LOW. A process of releasing connection line SDA is included. The details of the SDA release monitoring process are as described in FIG. When the SCL release monitoring process ends normally, the signal level of connection line SDA is changed from LOW to HIGH. At this time, the signal level of connection line SCL is maintained at HIGH, so the stop condition is satisfied. Do. When the connection line SDA can not be released, a transmission interruption interrupt is generated.
図51から図53は、本発明の第1の実施の形態のスレーブ側のI2CI/Oエクスパンダ615における処理の手順を示すフローチャートである。 51 to 53 are flowcharts showing the procedure of processing in the slave side I 2 CI / O expander 615 according to the first embodiment of this invention.
図51は、本発明の第1の実施の形態のスレーブ側のI2CI/Oエクスパンダ615における処理の手順を示すフローチャートである。 FIG. 51 is a flowchart showing the procedure of processing in the slave side I 2 CI / O expander 615 according to the first embodiment of this invention.
スレーブ側のI2CI/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参照、以下同様)によってリセット信号が発生すると、自身(I2CI/Oエクスパンダ615)の初期化処理を実行する(5101)。このとき、ドライバ632によってトランジスタ630がオフし、接続線SDAが解放される。また、ドライバ637によって、ポート0〜1
5に接続されるトランジスタ638A〜638Pの全てがオフする。また、出力設定レジスタ635が、予め定められた初期状態に設定される。次いで、接続線SCL及び接続線SDAの信号レベルを取り込む。そして、接続線SCL及び接続線SDAの信号レベルがともにHIGHである状態5103になるまで待機する(5102)。
First, when the 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. Also, by the driver 637, ports 0 to 1
All of the transistors 638A to 638P connected to 5 are turned off. Also, the output setting register 635 is set to a predetermined initial state. Then, the signal levels of connection line SCL and connection line SDA are taken. Then, the process stands by until the signal levels of the connection line SCL and the connection line SDA are both HIGH 5103 (5102).
バスコントローラ634は、接続線SCL及び接続線SDAが状態5103になると(5102の結果が「Y」)、接続線SCL及び接続線SDAのいずれか一方の信号レベルが変化するまでのまま待機する(5104)。 When the connection line SCL and the connection line SDA change to the state 5103 (the result of 5102 is “Y”), the bus controller 634 waits until the signal level of one of the connection line SCL and the connection line SDA changes ( 5104).
バスコントローラ634は、状態5103から接続線SDAの信号レベルがLOWに変化した場合には(5104の結果が「SDA▽」)、変数CNを0に設定し、状態番号を1に設定し、データを一時的に格納する準備領域をクリアする(5105)。変数CNは、データを受信した回数を示すカウンタである。また、状態番号は、マスタから送信された信号に応じて設定され、例えば、スレーブに要求された処理(書き込み処理、読み出し処理など)などに対応する。なお、接続線SCL及び接続線SDAの信号レベルがともにHIGHである状態5103から接続線SDAの信号レベルがLOWに変化した場合にはスタートコンディションがマスタICから出力されたことに相当し、状態番号1は、スタートコンディションが出力されたことを示している。 When the signal level of the connection line SDA changes to LOW from the state 5103 (the result of 5104 is “SDA」 ”), the bus controller 634 sets the variable CN to 0, sets the state number to 1, and Clear the preparation area for temporarily storing (5105). The variable CN is a counter indicating the number of times data has been received. The state number is set according to the signal transmitted from the master, and corresponds to, for example, the processing (write processing, read processing, etc.) requested of the slave. When the signal level of connection line SDA changes to LOW from state 5103 in which the signal levels of connection line SCL and connection line SDA are both HIGH, this corresponds to the start condition being output from the master IC, and the state number A value of 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, which is a state 5106. The bus controller 634 stands by 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 data whether the variable CN has become 8 or not, that is, 8 times It is judged whether or not it has been made (5108). If the value of the variable CN is not 8 (the result of 5108 is “N”), it is in the state 5109 where the signal levels of the connection line SCL and the connection line SDA are both LOW at this stage. Thereafter, the process waits until the signal level of the connection line SCL or connection line SDA changes (5110).
バスコントローラ634は、接続線SDAの信号レベルがHIGHに変化した場合には(5110の結果が「SDA△」)、接続線SCLの信号レベルがLOW、接続線SDAの信号レベルがHIGHである状態5111に移行し、接続線SCL又は接続線SDAの信号レベルが変化するまで待機する(5112)。 When the signal level of connection line SDA changes to HIGH (the result of 5110 is “SDA Δ”), bus controller 634 states that the signal level of connection line SCL is LOW and the signal level of connection line SDA is HIGH. The process transitions to 5111 and waits until the signal level of the connection line SCL or connection line SDA changes (5112).
バスコントローラ634は、接続線SDAの信号レベルがLOWに変化した場合には(5112の結果が「SDA▽」)、状態5109に移行し、接続線SCL又は接続線SDAの信号レベルが変化するまで待機する(5110)。 If the signal level of connection line SDA changes to LOW (the result of 5112 is “SDA」 ”), bus controller 634 transitions to state 5109 until the signal level of connection line SCL or 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 output. It is determined whether or not 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). If the state number is not 1 or 2 (result of 5115 is “N”), or when the process of step 5116 is completed, the state of the connection line SCL and the connection line SDA both become the state 5103 where both signal levels are HIGH. It waits 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以降の処理を実行する。 When the signal level of the connection line SCL changes to LOW (the result of 5104 is “SCLSDA”), the bus controller 634 causes the variable CN to be changed when the signal levels of the connection line SCL and the connection line SDA are HIGH. It is determined whether 8 has been reached, that is, whether data has been received 8 times (5117). When the value of the variable CN is not 8 (result of 5117 is “N”), at this stage, the signal level of the connection line SCL becomes LOW and the signal level of the connection line SDA becomes HIGH. And execute the processing of step 5112 and subsequent steps. On the other hand, if the value of the variable CN is 8 (the result of 5117 is “Y”), the processing of step 5201 and after 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に変化することは、ストップコンディションが出力されたことに相当する。 When the signal level of the connection line SDA changes to HIGH when the signal level of the connection line SCL is HIGH and the signal level of the connection line SDA is LOW when the signal level of the connection line SCL is HIGH (the result of 5107 is “SDA Δ)), It is determined whether the status number is 2, ie, whether the requested process is a read request (5118). Note that the change in the signal level of the connection line SDA to HIGH from 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 checks. The data stored in the preparation area is stored in the setting register (5119). If the state number is not 2 (result of 5118 is “N”), or if the process of step 5119 ends, 0 is set to the state number (5120). At this time, since it is in the state 5103 in which the signal levels of the connection line SCL and the connection line SDA are both HIGH, the process waits until the signal level of the connection line SCL or the connection line SDA changes (5104). .
図52は、本発明の第1の実施の形態のスレーブ側のI2CI/Oエクスパンダ615におけるアドレス認識処理などの手順を示すフローチャートである。 FIG. 52 is a flowchart showing the procedure of the address recognition process and the like in the slave side I 2 CI / O expander 615 according to the first embodiment of this invention.
なお、本実施形態で用いるI2CI/Oエクスパンダ615は、読み出しモードの発生が可能なものでも不可能なものでも使用可能である。そのため、何れのタイプのI2CI/Oエクスパンダ615を設けた場合を想定して、フローチャートの説明を行うことにする。 Note that the I 2 CI / O expander 615 used in the present embodiment can be used whether or not the read mode can be generated. Therefore, the flowchart will be described on the assumption that any type of I 2 CI / O expander 615 is provided.
ここで、読み出しモードについて説明する。 Here, the read mode will be described.
本実施形態では、マスタICからI2CI/Oエクスパンダ615へ所定単位バイトのデータ送信を行う毎に、I2CI/Oエクスパンダ615からマスタICへ1ビットの返答信号を受信する構成により、マスタICからI2CI/Oエクスパンダ615へ演出制御データを送信するようになっている。 In the present embodiment, each time transmitting data of a predetermined unit of bytes from the master IC to the I 2 CI / O expander 615, the configuration for receiving a response signal 1 bit from I 2 CI / O expander 615 to the master IC The master IC sends presentation control data to the I 2 CI / O expander 615.
ところで、遊技機によっては、I2CI/Oエクスパンダ615からマスタICへ所定単位バイトのデータ送信を行うように構成できたほうが、都合がよいことも考えられる。例えば、I2CI/Oエクスパンダ615にて、遊技に係わる各種センサの検出状態を検出し、マスタICへ伝達するような仕様の遊技機を開発するような場合である。 By the way, depending on the gaming machine, it may be considered convenient to be able to transmit data of a predetermined unit byte from the I 2 CI / O expander 615 to the master IC. For example, in this case, the I 2 CI / O expander 615 detects a detection state of various sensors involved in a game and develops a gaming machine having a specification to be transmitted to the master IC.
このような遊技機で用いられるI2CI/Oエクスパンダ615は、マスタICからの要求により、I2CI/Oエクスパンダ615の内部で「読み出しモード」を発生させ、マスタICからのSCL信号の変化に対応させて、I2CI/Oエクスパンダ615からマスタICへ所定単位バイトのデータ送信を行う毎に、マスタICからI2CI/Oエクスパンダ615からへ1ビットの返答信号を送信する構成にすることが好ましい。 I 2 CI / O expander 615 used in such a gaming machine, in response to a request from the master IC, to generate a "read mode" within the I 2 CI / O expander 615, 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 make it the following structure.
具体的には、マスタICからスレーブ側のI2CI/Oエクスパンダ615に送信されるアドレスデータのうち、R/W識別データ2204のビットが「1」となる場合を、読み出しモードを発生させるための要求(以下、「読み出し要求」とする)として、予め定義しておくことにする。 Specifically, of the address data transmitted from the master IC to the I 2 CI / O expander 615 on the slave side, the read mode is generated when the bit of the R / W identification data 2204 is “1”. It is defined in advance as a request (hereinafter referred to as a “read request”) for the purpose.
バスコントローラ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 while the signal levels of the connection line SCL and the connection line SDA are HIGH (the result of 5104 in FIG. 51 is “SCL ▽”), the bus controller 634 sets the data. When reception is completed eight times, that is, reception of data is completed (the result of 5117 is “Y”), the connection line SDA is released on the master IC side (5201).
続いて、バスコントローラ634は、状態番号が1であるか否か、すなわち、スタートコンディションが出力された直後であるか否かを判定する(5202)。状態番号が1である場合には(5202の結果が「Y」)、受信したアドレスが自身(I2CI/Oエクスパンダ615)に付与されているアドレスと一致するか否かを確認する(5203、5204)。 Subsequently, the bus controller 634 determines whether the state number is 1 or not, that is, immediately after the start condition is output (5202). If the status number is 1 (the result of 5202 is "Y"), it is checked whether the received address matches the address assigned to itself (I 2 CI / O expander 615) ( 5203, 5204).
受信したアドレスと自身のアドレスとが一致しない場合には(5204の結果が「N」)、状態番号を0に設定し(5217)、ステップ5213以降の処理を実行する。ここでは、受信したアドレスが前述の「読み出し要求」に相当し、且つ、当該処理を行うI2CI/Oエクスパンダ615が前述の読み出しモードを発生不可能なものであるときにも、ステップ5204の判定結果を「N」とする。 If the received address and the own address do not match (the result of 5204 is “N”), the state number is set to 0 (5217), and the processing after step 5213 is executed. Here, even if the received address corresponds to the above-mentioned “read request” and the I 2 CI / O expander 615 which performs the processing can not generate the above-mentioned read mode, step 5204. The judgment result of is set to "N".
一方で、受信したアドレスと自身のアドレスとが一致する場合には(5204の結果が「Y」)、要求された処理が読み出し要求か否かを判定する(5205)。要求された処理が読み出し要求の場合には(5205の結果が「Y」)、図53のステップ5301以降の処理を実行する。 On the other hand, if the received address and the own address match (the result of 5204 is “Y”), it is determined whether the requested process is a read request (5205). If the requested process is a read request (the result of 5205 is “Y”), the process after step 5301 in FIG. 53 is executed.
一方、バスコントローラ634は、要求された処理が読み出し要求でない場合、すなわち、書き込み要求の場合には(5205の結果が「N」)、対応する状態番号である2を設定する(5206)。 On the other hand, when the requested processing is not a read request, that is, in the case of a write request (result of 5205 is “N”), the bus controller 634 sets 2 which is a corresponding state number (5206).
バスコントローラ634は、その後、ドライバ632を駆動してトランジスタ630をオンさせることにより、接続線SDAの信号レベルをLOWに設定して信号線の占有を開始する。さらに、自己占有WDT641を作動させて、自己占有WDT641によるバスの監視を開始する(5207)。自己占有WDT641は、バスコントローラ634によってバスの占有が開始されると、タイマを起動し、所定の時間が経過すると、自身(I2CI/Oエクスパンダ615)をリセットする。このように処理することによって、接続線SDAを占有し続けた場合であっても、自己占有WDT641に設定された時間が経過すると、リセットによって占有を解除することができる。このとき、自身のみをリセットすることによって、他に対する影響を最小限に抑えることができる。 Thereafter, the bus controller 634 drives the driver 632 to turn on the transistor 630, thereby setting the signal level of the connection line SDA to LOW and starting occupation of the signal line. Further, the self-occupied WDT 641 is activated to start monitoring of the bus by the self-occupied WDT 641 (5207). When the bus controller 634 starts to occupy the bus, the self-occupied WDT 641 starts a timer, and resets itself (I 2 CI / O expander 615) when a predetermined time passes. By this processing, even when the connection line SDA continues to be occupied, it is possible to release the occupation by reset when the time set in the self-occupied WDT 641 elapses. At this time, by resetting only itself, the influence on the other can be minimized.
このとき、接続線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 in the state 5208 where the signal levels are LOW, and then 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 (the 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 turning off the transistor 630 by driving the driver 632 and the self-occupied WDT 641. To stop the monitoring of the bus by the self-occupied WDT 641 (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 of FIG. 51 is obtained.
また、バスコントローラ634は、ステップ5202の処理において状態番号が1でない場合には(5202の結果が「N」)、受信の成否を判定する(5214、5215)。受信が成功していた場合には(5215の結果が「Y」)、受信バッファのデータを準備領域に格納し(5216)、ステップ5207以降の処理を実行する。 If the state number is not 1 in the process of step 5202 (the result of 5202 is “N”), the bus controller 634 determines the success or failure of reception (5214, 2515). If the reception is successful (the result of 5215 is "Y"), the data of 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 fails (the result of 5215 is “N”), the bus controller 634 sets the state number to 0 (5217), and executes the processing of step 5213 and subsequent steps.
図53は、本発明の第1の実施の形態のスレーブ側のI2CI/Oエクスパンダ615におけるデータの読み出し処理の手順を示すフローチャートである。 FIG. 53 is a flow chart showing 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 process 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 process (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 occupation of the signal line. Furthermore, the self-occupied WDT 641 is activated to start monitoring the bus by the self-occupied WDT 641 (5302). 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 (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 state 5305 and waits for the signal level of the connection line SCL to change 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. To stop the monitoring of the bus by the self-occupied WDT 641 (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, in the case of outputting a low level signal to the connection line SDA, the self-occupied WDT 641 is operated to start monitoring of the bus by the self-occupied WDT 641. When outputting a signal of HIGH level to the connection line SDA, the self-occupied WDT 641 is not operated (5310). This is because the bus is not occupied when 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 signal level of the connection line SCL is in the state 5314 where the signal level is HIGH, 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 monitoring the bus by the self-occupied WDT 641, stop the self-occupied WDT 641 and monitor the bus by the self-occupied WDT 641. It ends (5316).
バスコントローラ634は、変数CNの値が8に到達したか否か、すなわち、接続線SDAに8回分の全データが出力されたか否かを判定する(5317)。全データの出力が完了していない場合には(5317の結果が「N」)、接続線SDAに次のデータを出力し(5318)、ステップ5310以降の処理を実行する。 The bus controller 634 determines whether the value of the variable CN has reached 8 or not, that is, whether all data for eight times 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, when the value of variable CN reaches 8 and transmission of all data is completed (result of 5317 is “Y”), the bus controller 634 drives the driver 632 to turn off the transistor 630 and thereby the connection line. Release the SDA (5319). However, since the process of step 5319 is necessary only when the bus controller 634 sets the connection line SDA to the low level, when the bus controller 634 sets the connection line SDA to the high level, , You do not need to run.
このとき、接続線SCLの信号レベルがLOW、接続線SDAの信号レベルがHIGHとなるので(5320)、次いで、接続線SCLの信号レベルがHIGHになるまで待機する(5321)。 At this time, since the signal level of the connection line SCL is LOW and the signal level of the connection line SDA is HIGH (5320), the process waits until the signal level of the connection line SCL is HIGH (5321).
このとき、当該I2CI/Oエクスパンダ615から、マスタIC570a(図11参照、図12のマスタIC570bでも同様)に対して、既に8ビット単位のデータが送信されており、さらに、マスタIC側が、次のデータを受信する状態になっている場合には、マスタIC570a(570b)から当該I2CI/Oエクスパンダ615へ、ACKの応答信号が送信される。 At this time, 8-bit units of data have already been transmitted from the I 2 CI / O expander 615 to the master IC 570 a (see FIG. 11 and the same with the master IC 570 b in FIG. 12). When the next data is to be received, an ACK response signal is transmitted from the master IC 570 a (570 b) to the I 2 CI / O expander 615.
そして、バスコントローラ634は、接続線SCLの信号レベルがHIGHになると(5321の結果が「SCL△」)、接続線SDAの信号レベル(応答信号)を取り込む(5322)。そして、取り込まれた応答信号がACK(LOWレベル)であるか否か、すなわち、マスタICが次のデータを受信する状態となっているか否かを判定する(5323)。 Then, 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 fetched response signal is ACK (LOW level), that is, whether or not the master IC is in a state of receiving 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 fetched 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 stands by until the signal level of the connection line SCL changes to LOW (5325). When the signal level of the connection line SCL changes to LOW (the result of 5325 is “SCL」 ”), the value of the variable CN is set to 0 (5326), and the processing after step 5318 is performed to output the next data. Run.
一方、取り込まれた応答信号がNACKである場合には(5323の結果が「N」)、バスコントローラ634は、変数CNを0、状態番号を0に設定し、さらに、受信バッファをクリアする(5327)。このとき、接続線SCL及び接続線SDAの信号レベルはともにHIGHになっており、図51の状態5103に対応し、図51のステップ5104の処理を実行する。 On the other hand, if the fetched 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 clears the reception buffer ( 5327). At this time, the signal levels of the connection line SCL and the connection line SDA are both HIGH, corresponding to the state 5103 of FIG. 51, and the process of step 5104 of FIG. 51 is executed.
次に、本発明の第1の実施の形態において、演出制御装置550のCPU551と、第
1マスタIC570a及び第2マスタIC570bとの間で、データが授受されるタイミングについて説明する。
Next, in the first embodiment of the present invention, 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 will be described.
図54は、本発明の第1の実施の形態のVDP割込み時に演出制御装置550のCPU551からの指示によって、第1マスタIC570a及び第2マスタIC570bによる処理が並列して実行される状態を示すタイミングチャートである。 FIG. 54 is a timing chart showing a state in which processing by the first master IC 570a and the second master IC 570b is executed in parallel by 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 the 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. Each master IC, upon receiving the effect control data from the CPU 551, executes processing such as transmitting the received effect control data to each slave independently of the other master ICs. Then, when the output of the rendering control data to all the slaves is completed, each master IC outputs a stop condition, and updates the rendering mode of the rendering device (decorative device 620) controlled by each slave.
このように、第1マスタIC570a及び第2マスタIC570bによる処理が並行して実行され、さらに、VDP割込みと各演出装置の演出態様の更新タイミングを同期させることによって、画像表示と調和のとれた演出を行うことが可能となる。 Thus, the processing by the first master IC 570a and the second master IC 570b is executed in parallel, and further, by synchronizing the VDP interruption and the update timing of the rendering mode of each rendering device, the rendering harmonized with the image display It is possible to do
さらに、詳細に説明すると、演出制御装置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, the CPU 551 edits output data to each device controlled by the effect control device 550. Specifically, VDP output data editing for producing effects on the display device 53 (step 3917 in FIG. 39), speaker related data editing for outputting sound from the speaker 30 (step 3918 in FIG. 39), and as a rendering device Editing of the effect control data to be output to the decoration control device 610 for controlling the LEDs (step 3919 in FIG. 39), and data editing for controlling the driving body such as the motor. If a master interrupt to the CPU 551 occurs by each master IC during the execution of these editing processes, the presentation control data edited by the transmission restart process (FIG. 43) of the presentation control data is output to the output buffer 572 of each master IC. Will be written. Then, effect control data is output to each slave by the data transmission process by the master shown in FIG.
また、最後のスレーブへのデータの出力が終了してから次のVDP割込が発生するまでの休止期間(図54の※の期間)に、CPU551はスレーブ出力データ編集処理、すなわち、下り方向データの編集を行っている。 Also, during the idle period (period * in FIG. 54) from the end of data output to the last slave to the generation of the next VDP interrupt, the CPU 551 performs slave output data editing processing, that is, downlink data Is editing.
最後に、送信対象のスレーブの全てに演出制御データが送信されると、演出制御データの送信再開処理によって、マスタICからスレーブにストップコンディションが出力され(図43のステップS4311)、このストップコンディションによって、各スレーブが受信した演出制御データが各演出装置の演出態様に反映される。 Finally, when the presentation control data is transmitted to all the slaves to be transmitted, the master IC outputs a stop condition to the slave by the transmission restart processing of the presentation 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-mentioned effect control periodic process (step 3707 in FIG. 37, FIG. 39) is executed to output a start condition to each master IC, and the same process is repeated thereafter.
次に、グループ化された演出装置(装飾装置620)の構成例について説明する。 Next, a configuration example of the grouped rendering device (decorative device 620) will be described.
図55は、本発明の第1の実施の形態における装飾制御装置610のI2CI/Oエクスパンダ615と、装飾装置620との接続例を示す図であり、8セット分のLEDを2つのI2CI/Oエクスパンダ615によって制御する構成を示す図である。 FIG. 55 is a diagram showing 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, and eight sets of LEDs are used. 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を発色させると、白色に発光させることができる。 The decoration device 620 is composed of LEDs as an example, and emitting light of various colors by controlling three colors of red (R), green (G) and blue (B) as one set To be possible. For example, when all the red, green and blue LEDs are colored, they can emit white light.
そして、本発明の第1の実施の形態では、1つのI2CI/Oエクスパンダ615は、16個のポート(PORT0〜15)に対応するLEDを制御することが可能であるため、3色のLEDのセットを5セットまで接続することが可能である。 And, in the first embodiment of the present invention, one I 2 CI / O expander 615 can control LEDs corresponding to 16 ports (PORT 0 to 15), so three colors It is possible to connect up to 5 sets of LED's.
しかし、より興趣を高める演出を行うために、16個を超えるポートにLED(演出装置)を接続する場合が考えられる。図55では、5セット以上(8セット)のLEDを、2つのI2CI/Oエクスパンダ615にまたがって接続して制御する構成について説明する。 However, it may be considered that LEDs (rendering devices) are connected to more than 16 ports in order to perform effects that further enhance interest. In FIG. 55, a configuration in which five sets or more (eight sets) of LEDs are connected across two I 2 CI / O expanders 615 and controlled will be described.
前述のように、I2CI/Oエクスパンダ615には16のポート(PORT0〜15)が備えられているため、3色のLEDのセットを5セットまで接続することが可能である。しかしながら、8セットのLEDを1つのグループとして演出が行われる場合には、少なくとも2つのI2CI/Oエクスパンダ615を必要とする。 As described above, since the I 2 CI / O expander 615 is provided with 16 ports (PORT 0 to 15), it is possible to connect up to 5 sets of three-color LEDs. However, if rendering is performed as a group of eight sets of LEDs, at least two I 2 CI / O expanders 615 are required.
そこで、図55に示す構成では、一方のI2CI/Oエクスパンダ615は、各セットの赤及び緑のLEDを制御し、他方のI2CI/Oエクスパンダ615(615b)は、各セットの青のLEDを制御するように構成している。そして、これらの2つのI2CI/Oエクスパンダ615を同じグループとして制御し、図56Aにて後述するように、演出制御装置550から出力されたストップコンディションを受け付けてから演出制御を同時に実行することによって、複数のI2CI/Oエクスパンダ615によって制御されるLEDによる演出を違和感なく行うことが可能となるのである。 Thus, in the configuration shown in FIG. 55, one I 2 CI / O expander 615 controls each set of red and green LEDs, and the other I 2 CI / O expander 615 (615b) controls each set Is configured to control the blue LED. Then, these two I 2 CI / O expanders 615 are controlled as the same group, and as described later with reference to FIG. 56A, the stop control outputted from the effect control device 550 is accepted and the effect control is simultaneously executed. As a result, it is possible to perform the rendering by the LEDs controlled by the plurality of I 2 CI / O expanders 615 without a sense of discomfort.
図56Aは、本発明の第1の実施の形態における装飾制御装置610がデータを受信し、演出装置を制御するタイミングを示す図であり、ストップコンディションを出力した時点で受信したデータを反映させる場合について説明する図である。 FIG. 56A is a diagram showing a timing at which the decoration control device 610 according to the first embodiment of the present invention receives data and controls the rendering device, in the case where the received data is reflected when the stop condition is output. FIG.
本図において、まず、演出制御装置550からスタートコンディションを出力し、次に、演出制御装置550から複数のI2CI/Oエクスパンダ615に演出制御データを順次出力し、最後に、演出制御装置550からストップコンディションを出力する状態を示している。説明の都合上、装飾制御装置610のI2CI/Oエクスパンダ615は5個設けられているものとし、それぞれを第1I2CI/Oエクスパンダ〜第5I2CI/Oエクスパンダとする。 In the figure, first, a start condition is output from the effect control device 550, and 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 where the 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 they are respectively the first I 2 CI / O expander to the fifth I 2 CI / O expander.
ここで、図中で「data1」となっているものは、演出制御装置550から第1I2CI/Oエクスパンダに送信される演出制御データを示し、以下、「data2」〜「data5」は、演出制御装置550から、第2I2CI/Oエクスパンダ〜第5I2CI/Oエクスパンダの各々へ送信される演出制御データを示す。 Here, what is "data 1" in the figure indicates effect control data transmitted from the effect control device 550 to the first I 2 CI / O expander, and hereinafter, "data 2" to "data 5" are 12 shows 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.
また、図中で「演出装置(1)」となっているものは、第1I2CI/OエクスパンダのI/Oポートに接続されているLED等を示し、以下、「演出装置(2)」〜「演出装置(5)」は、第2I2CI/Oエクスパンダ〜第5I2CI/OエクスパンダのI/O
ポートに接続されているLED等に、それぞれが対応する。
In addition, in the figure, the one indicated by “rendering device (1)” indicates an LED or the like connected to the I / O port of the first I 2 CI / O expander, and hereinafter “rendering device (2)” "-" effect device (5) "is the first 2I 2 CI / O expander, second and 5I 2 CI / O expander of I / O
Each corresponds to an LED or the like connected to the port.
なお、演出制御装置550から、第1I2CI/Oエクスパンダ〜第5I2CI/Oエクスパンダの各々へ演出制御データを送信する際には、I2CI/Oエクスパンダの選択を切り替えるタイミングで、演出制御装置550からI2CI/Oエクスパンダにスタートコンディション(リスタートコンディションとして機能する)を出力している。ただし、最初に演出制御装置550がスタートコンディションを出力してから、第1I2CI/Oエクスパンダ〜第5I2CI/Oエクスパンダの全てに演出制御データを送信するまでの間(図中にTで示した期間)はストップコンディションを出力せず、この期間Tの経過後にストップコンディションを出力している。 Incidentally, the effect control device 550, when transmitting the performance control data to the 1I 2 CI / O expander, second 5I 2 CI / O expander Each of timing for switching the selection of the I 2 CI / O expander Then, the presentation control device 550 outputs the start condition (functioning as a restart condition) to the I 2 CI / O expander. However, after the presentation control device 550 first outputs the start condition, the period from the transmission of presentation control data to all of the first I 2 CI / O expander to the fifth I 2 CI / O expander (in the diagram During the period indicated by T), the stop condition is not output, and after this period T has elapsed, the stop condition is output.
本発明の第1の実施の形態では、接続線SDAからシリアルに演出制御データが送信されるため、各I2CI/Oエクスパンダ毎に、演出制御データが到達するタイミングに時間差が生じる。各I2CI/Oエクスパンダは、演出制御装置550から演出制御データを受け入れた時点では、バスコントローラ634(図18)に内蔵された図示しないバッファに受信した演出制御データを一次的に確保しているに過ぎない。 In the first embodiment of the present invention, since the effect control data is serially transmitted from the connection line SDA, a time difference occurs 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 presentation control data received in a buffer (not shown) built in the bus controller 634 (FIG. 18) when receiving presentation control data from the presentation control device 550. It is only
ここで、各I2CI/Oエクスパンダが、単独で演出制御データの受信と同時にLEDの発光態様を変更してしまうような処理を行った場合を想定する。LEDの発光態様の変化に時間差を生じるため、違和感のある演出が行われるおそれがある。 Here, it is assumed that each I 2 CI / O expander performs processing such that the light emission mode of the LED is changed simultaneously with the reception of the effect control data. Since a time difference occurs in the change of the light emission mode of the LED, there is a possibility that an effect with a sense of discomfort may be performed.
例えば、赤(R)、緑(G)、青(B)のLEDが、前述の図55のように、複数のI2CI/Oエクスパンダにまたがって接続されているような場合には、遊技者に誤解をあたえるような色彩でLEDが発光する可能性がある。 For example, when red (R), green (G) and blue (B) LEDs are connected across a plurality of I 2 CI / O expanders as shown in FIG. 55 described above, The LED may emit 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 expectation of becoming a big hit differs depending on the color to be emitted, and the big hit is determined if the reliability notification device 15 is red. It shall be the specification. Then, it is assumed that the notification operation of causing the reliability notification device 15 to emit light in purple that does not become the determination of the big hit is performed.
このような報知動作を行う場合には、信頼度報知装置15に備えた発光体内の赤色LEDと青色LEDとを同時に点灯して発光体を紫色で発光させるような制御を行うことになるが、前述の図55のように複数のI2CI/Oエクスパンダにまたがって接続されたLEDが発光する際の時間差により、赤色LEDだけが点灯するような瞬間があると、遊技者が大当たりするものと誤解し、遊技店と遊技者の間でトラブルになるおそれがある。 When such notification operation is performed, 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 lit to cause the light emitter to emit light in purple, The player wins a jackpot if there is a moment when only the red LED lights up due to the time difference when the LEDs connected across a plurality of I 2 CI / O expanders emit light as shown in FIG. 55 described above Misunderstanding that there is a risk of trouble between the game arcade and the player.
そこで、本発明の第1の実施の形態では、演出制御装置550からストップコンディションを受信した時点で、バッファ内の演出制御データを出力設定レジスタ635に上書きし、この出力設定レジスタ635の記憶内容を出力コントローラ636によってドライバ637に反映させ、当該I2CI/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 content of the output setting register 635 is stored. The output controller 636 reflects the data in the driver 637 to change the light emission mode of the LED connected to the I 2 CI / O expander.
そのため、図56Aに示すように、ストップコンディション出力時に、各I2CI/Oエクスパンダが受信した演出制御データを各演出装置の出力態様に同時に反映させることが可能となり、違和感のない演出を行うことが可能となる。 Therefore, as shown in FIG. 56A, at the time of the stop condition output, it is possible to simultaneously reflect the effect control data received by each I 2 CI / O expander on the output mode of each effect device, and effect without discomfort It becomes possible.
なお、本発明の第1の実施の形態では、I2CI/Oエクスパンダが受信した演出制御データを各演出装置の出力態様に反映させるタイミングを、更新指令信号として例示したストップコンディションの受信時としているが、他の更新指令信号を用いても構わない。ストップコンディションのように演出制御データの最後に送信されるものに限られず、演
出制御データの送信の途中で送信されるものであっても、接続線SDA及びSCLの信号変化によって表現できる更新指令信号であれば、適用可能である。
In the first embodiment of the present invention, at the time of reception of the stop condition, the timing for reflecting the effect control data received by the I 2 CI / O expander in the output mode of each effect device is exemplified as the update command signal. However, other update command signals may be used. An update command signal that can be represented by a signal change of the connection lines SDA and SCL even if it is transmitted during the transmission of presentation control data, without being limited to the one transmitted at the end of presentation control data like a stop condition. If it is, it is applicable.
図56Bは、本発明の第1の実施の形態における装飾制御装置610がデータを受信し、発光装置を制御するタイミングを示す図である。 FIG. 56B is a diagram illustrating timing when 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 accessory 47 and the decoration lamp 48 (see FIG. 2). Here, a device provided in the accessory 47 is described as a light emitting device (1), and a device provided in the decoration lamp 48 is described as a 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)とが交互に点灯する。 To describe the gaming state specifically, the number of start memories is 0 until time t1, and a demonstration screen is displayed on the image display device 53. At this time, the light emitting device (1) and the light emitting device (2) are alternately lit at a light emitting interval 16f. Note that 1f corresponds to the screen update cycle, and in the light emission interval 16f, the light emitting device (1) and the light emitting device (2) are alternately lit each time the screen is updated 16 times.
ここでは、演出制御装置550から、発光装置(1)を制御するI2CI/Oエクスパンダ615に対して、発光制御データ(演出制御データ)を1fの時間間隔で送信している。この場合の発光制御データは、発光装置(1)を点灯させる発光制御データと、発光装置(1)を消灯させる発光制御データの何れかであり、16fの時間間隔で交互に切り替わるように、演出制御装置550にて発光制御データの更新を行っている。 Here, light emission control data (rendering 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 1 f. The light emission control data in this case is either light emission control data to turn on the light emitting device (1) or light emission control data to turn off the light emitting device (1), and effects are alternately switched at time intervals of 16f. The control unit 550 updates the light emission control data.
具体的には、図24のI2CI/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, the register numbers “14h” (register name “LEDOUT0”) to “17h” (register names) The light emission control data is updated by switching the ON state of the bit corresponding to the light emitting device (1) to ON and OFF among “LEDOUT3”. The same process is performed for the light emitting device (2).
また、時刻t1から時刻t2までの間は、始動入賞口に遊技球が入賞し、特図変動表示ゲームが実行されている状態である。したがって、普図・特図表示器35の特図表示器では特図変動表示ゲームが実行され、画像表示装置53では、特図変動表示ゲームに対応して複数の識別情報が変動表示している。特図変動表示ゲームが実行されている間は、発光装置(1)と発光装置(2)とが、発光間隔8fで交互に点灯している。ここでは、演出制御装置550によって、時間8fが経過する毎に発光制御データが更新されることになる。 In addition, from time t1 to time t2, the game ball is in the starting winning opening, and the special figure variation display game is being executed. Therefore, the special view variation display game is executed on the special view display of the common view / special view display 35, and in the image display device 53, a plurality of identification information is variably displayed corresponding to the special view variation 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 a light emitting interval 8f. Here, the light emission control data is updated by the effect control device 550 each time the time 8 f elapses.
時刻t2から時刻t3までの間は、特図変動表示ゲームが終了し、識別情報が停止表示されている状態である。このとき、発光装置(1)のみが点灯している。 In the period from time t2 to time t3, the special figure variation display game is ended, and the identification information is stopped and displayed. At this time, only the light emitting device (1) is on.
さらに、このとき実行されていた特図変動表示ゲームの結果は大当りとなり、時刻t3から特別遊技状態に移行し、画像表示装置53では大当り表示が出力される。このとき、発光装置(1)と発光装置(2)とが、発光間隔4fで交互に点灯している。ここでは、演出制御装置550によって、時間4fが経過する毎に発光制御データが更新されることになる。 Further, the result of the special view variation display game being executed at this time is a big hit, and it 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 a light emitting interval 4f. Here, the emission control data is updated by the effect control device 550 each time the time 4 f elapses.
このように、遊技者側から視認可能な何れかの発光装置(例えば、発光装置(1)と発光装置(2))を点灯させる発光制御データと、この発光装置を消灯させる発光制御デー
タとを、切り替えながら送信することで、対象となる発光装置を点滅させることができる。そして、発光制御データの送信が正しく行われていない場合には、発光装置が点滅しなくなって常時点等若しくは消灯する状態となることから、発光制御データの通信異常や異常からの復帰を目視で確認することができる。
Thus, the light emission control data for turning on any light emitting device (for example, the light emitting device (1) and the light emitting device (2)) visible 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. Then, if the light emission control data is not correctly transmitted, the light emitting device does not blink and the light emission control data is constantly turned on or off, so that the light emission control data is visually recovered and recovered from the abnormality. It can be confirmed.
さらに、この確認をいつでも行えるように、変動表示ゲームが実行されている期間を通して、発光装置を点灯させる発光制御データと消灯させる発光制御データとを切り替えながら送信するだけでなく、変動表示ゲームが実行されていない期間でも、発光装置を点灯させる発光制御データと消灯させる発光制御データとを切り替えながら送信している。 Furthermore, in order to be able to perform this confirmation anytime, in addition to transmitting while switching between the light emission control data for turning on the light emitting device and the light emission control data for turning off, the variable display game is executed Even during a period in which the light emission control data is turned on, the light emission control data to be turned off is transmitted while switching the light emission control data.
なお、発光制御データを更新可能な時間間隔を、変動表示ゲームが実行中の場合と、変動表示ゲームが実行中でない場合とで、可変するように構成することも可能である。例えば、変動表示ゲームが実行中でない場合には4fの時間間隔で発光制御データを更新できるように構成しながらも、変動表示ゲームが実行中の場合には8fの時間間隔で発光制御データを更新するように処理負担を軽減しても良い。 Note that it is also possible to configure the time interval at which the light emission control data can be updated to be variable depending on whether the variable display game is in progress or not. For example, although the light emission control data can be updated at a time interval of 4f when the variable display game is not being executed, the light emission control data is updated at a time interval of 8f when the variable display game is being executed. You may reduce the processing burden as you do.
このような構成とすることで、演出制御装置550の処理負担(CPU551の処理負担も含まれる)が変動表示ゲームの実行中と非実行中とで大きく変化することを緩和させる方向へ、発光制御データの更新処理の負担を分散させることができる。 With such a configuration, the light emission control is performed in such a direction that the processing load of the effect control device 550 (including the processing load of the CPU 551) is largely changed between the execution of the variable display game and the non-execution. The burden of data update processing can be distributed.
図57は、本発明の第1の実施の形態において、接続線SDAの占有を開始したI2CI/Oエクスパンダ615が接続線SCLの立下りを待機している状態が発生し、一定時間経過後に、接続線SDAを占有したI2CI/Oエクスパンダ615が自己をリセットして、バスを解放することを試みる手順を説明する図である。 In FIG. 57, in the first embodiment of the present invention, a state occurs in which the I 2 CI / O expander 615 starting to occupy the connection line SDA is waiting for the falling of the connection line SCL, and a certain time period has elapsed. 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がスレーブ側のI2CI/Oエクスパンダ615に対してデータの出力を開始し、マスタICのSTAがONに設定される。その後、マスタICは、接続線SCLの信号レベルを順次変化させながら、B7からB0までの8ビットのデータをI2CI/Oエクスパンダ615に順次送信する。このとき、スレーブ側のI2CI/Oエクスパンダ615では、接続線SCLの信号レベルの変化に対応して、順次データを取り込む。 When a start condition is output from the master IC, the master IC starts outputting data to the 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 takes in data in response to the change in the signal level of the connection line SCL.
そして、8ビット(1バイト)分のデータ、すなわち、1回分のデータが送信されると、マスタIC側で接続線SDAが解放される(図52のステップ5201)。接続線SDAが解放されると、信号レベルがHIGHに設定されている。そして、スレーブ側から返答信号(ACK,NACK)が送信されるまで待機する。 Then, when eight bits (one byte) of data, that is, one data, are 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. Then, it waits until a reply signal (ACK, NACK) is transmitted from the slave side.
スレーブ側のI2CI/Oエクスパンダ615は、接続線SDAの信号レベルをLOWに変化させることによって、返答信号(ACK)を出力する。その後、マスタICが接続線SCLの信号レベルをLOWからHIGHに変化させ、次いで、HIGHからLOWに変化させるまでの期間に渡って、スレーブ側のI2CI/Oエクスパンダ615は、接続線SDAを占有する(図52のステップ5207〜5212に相当)。 The slave side I 2 CI / O expander 615 outputs a response signal (ACK) by changing the signal level of the connection line SDA to LOW. After that, the I 2 CI / O expander 615 on the slave side is connected to the connection line SDA for a period until the master IC changes the signal level of the connection line SCL from LOW to HIGH and then from HIGH to LOW. (Corresponding to steps 5207 to 5212 in FIG. 52).
図57を参照すると、マスタIC側で7ビット目のデータを送信したとき、ノイズなどが原因で接続線SCLの信号レベルが変化したとスレーブ側で認識され、スレーブ側のI2CI/Oエクスパンダ615では8ビット目のデータが送信されたと認識してしまっている。そのため、スレーブは返答信号(ACK)を出力するために信号レベルをLOWに設定して、接続線SDAを占有する。本発明の第1の実施の形態では、同時に自己占有WDT641によってスレーブによる接続線SDAの占有の監視が開始される。 Referring to FIG. 57, when the 7th bit of data is transmitted on the master IC side, the slave side recognizes that the signal level of the connection line SCL has changed due to noise etc., and the I 2 CI / O ex of the slave side The panda 615 recognizes that the eighth bit of data has been transmitted. Therefore, the slave sets the signal level to LOW to output the response signal (ACK), and occupies the connection line SDA. In the first embodiment of the present invention, at the same time, the monitoring of the occupation of the connection line SDA by the slave is started by the self-occupied WDT 641.
このとき、マスタICは、スレーブ側のI2CI/Oエクスパンダ615によって接続線SDAが占有され、信号レベルがLOWになっているため、HIGHに変更されるまでデータ(B0)を送信できない状態になっている。さらに、スレーブ側のI2CI/Oエクスパンダ615は、接続線SCLの信号レベルが立ち下がるまで待機しているため、互いに信号レベルが変化するまで待機している状態になり、処理全体が停止してしまう。 At this time, the master IC can not 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 slave side I 2 CI / O expander 615 waits until the signal level of the connection line SCL falls, it waits for the signal levels to change with each other, and the entire processing stops Resulting in.
そこで、本発明の第1の実施の形態では、前述のように、スレーブ側のI2CI/Oエクスパンダ615が接続線SDAを占有している時間が自己占有WDT641によって監視されているため、占有が開始されてから所定の時間が経過すると、スレーブ側のI2CI/Oエクスパンダ615自身をリセットすることによって強制的に接続線SDAが解放される。 Therefore, in the first embodiment of the present invention, as described above, the time during which the I 2 CI / O expander 615 on the slave side occupies the connection line SDA is monitored by the self-occupied WDT 641. When a predetermined time has elapsed since the start of occupation, the connection line SDA is forcibly released by resetting the slave side I 2 CI / O expander 615 itself.
そして、接続線SDAが解放されても最後のデータを出力することができないため、CPU551によってマスタICをリセットする。その後、ストップコンディション及びスタートコンディションを出力し、処理を再開する。 Then, since the last data can not be output even if the connection line SDA is released, the CPU 551 resets the master IC. Thereafter, the stop condition and the start condition are output, and the process is restarted.
図58は、本発明の第1の実施の形態において、接続線SDAが何らかの原因により占有されている状態が発生し、接続線SDAの占有を検出したI2CI/Oエクスパンダ615が自己をリセットして、バスを解放することを試みる手順を説明する図である。 In FIG. 58, in the first embodiment of the present invention, the state in which the connection line SDA is occupied for some reason occurs, and the I 2 CI / O expander 615 which detects the occupation of the connection line SDA is self. It is a figure explaining the procedure which resets and tries to release a bus.
図57では、接続線SDAを占有しているI2CI/Oエクスパンダ615が、自己をリセットすることにより接続線SDAを解放する場合について説明したが、図58では、バス全体を監視し、他のスレーブ(接続線SDAに接続されている他のI2CI/Oエクスパンダ615等)が接続線SDAを占有したことでバスが解放されない場合に、バスを強制的に解放させる手順について説明する。 Although FIG. 57 describes the case where I 2 CI / O expander 615 occupying connection line SDA releases connection line SDA by resetting itself, FIG. 58 monitors the entire bus, Describes the procedure for forcibly releasing the bus when the bus is not released because another slave (such as another I 2 CI / O expander 615 connected to the connection line SDA) occupies the connection line SDA. Do.
バス監視WDT640による監視は、接続線SDAの信号レベルがLOWレベルになると開始され、接続線SDAの信号レベルがHIGHレベルになると終了する。つまり、接続線SDAの信号レベルが連続してLOWとなっている時間が一定の時間となると、バス監視WDT640からリセット信号発生回路639に、リセット信号を出力させるための指令が出力される。 The monitoring by the bus monitoring WDT 640 is started 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 time during which the signal level of the connection line SDA is continuously LOW becomes constant, the bus monitoring WDT 640 outputs a command for outputting a reset signal to the reset signal generation circuit 639.
図57にて説明したように、スレーブ側のI2CI/Oエクスパンダ615によってバスが占有されると、マスタICとスレーブ側のI2CI/Oエクスパンダ615との間の信号の入出力が停止し、接続線SDAの信号レベルが変化しなくなる(互いに信号レベルが変化するまで待機している状態になる)。そこで、所定の時間、接続線SDAの信号レベルが変化しなくなった場合には、接続線SDAに接続されている全てのI2CI/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 (it is in a standby state 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 at each determination. Release the bus.
図58を参照すると、マスタICからデータB1が出力された後、他のスレーブによってバスが占有されている。図58の場合には、自己スレーブによるバスの占有ではないため、実際に占有されているスレーブを特定することができない。そこで、接続線SDAに接続されているスレーブ(I2CI/Oエクスパンダ615)の各々が、自己をリセットすることによって、バスを解放する(正確には、接続線SDAに接続されているI2CI/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 slave is not occupied by the self slave, it is not possible to identify the slave that is actually occupied. Therefore, each of the slaves (I 2 CI / O expander 615) connected to connection line SDA releases the bus by resetting itself (precisely, I connected to connection line SDA 2 Of the CI / O expander 615, only one having the function of resetting itself performs reset processing).
その後、CPU551によってマスタICをリセットし、マスタICからストップコンディション及びスタートコンディションが出力された後、処理を再開する。 Thereafter, the CPU 551 resets the master IC, and after the stop IC and the start condition are output from the master IC, the processing is restarted.
図59は、本発明の第1の実施の形態においてスレーブ側のI2CI/Oエクスパンダ615によってバスが占有された場合に、マスタICからの指令によってスレーブ側のI2CI/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 615 is a figure explaining the procedure which releases a bus | bath.
ノイズなどにより接続線SCLの信号レベルの変化回数がマスタ側とスレーブ側とで相違すると、前述のように、接続線SDAがスレーブ側のI2CI/Oエクスパンダ615によって占有され、バスが解放されなくなる。 If the number of signal level changes on the connection line SCL differs between the master side and the slave side due to noise, etc., as described above, 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をリセットする。そして、各スレーブ(マスタICに接続されたI2CI/Oエクスパンダ615)に対し、ストップコンディションとスタートコンディションとを出力することを試みる。 Therefore, if the master IC can not transmit data while the bus is occupied, the CPU 551 resets the master IC. Then, an attempt is made to output the stop condition and the start condition to each slave (the I 2 CI / O expander 615 connected to the master IC).
このとき、スレーブ側のI2CI/Oエクスパンダ615では、まず、図50に示したストップコンディション出力処理が実行される。このとき、接続線SCL及び接続線SDAの信号レベルはともにLOWであるため、SCL解放処理が実行される(図50の5004、図47)。占有されているのは、接続線SDAであるため、SCL解放処理は正常に実行され、接続線SCLの信号レベルはHIGHに設定される。 At this time, in the slave side I 2 CI / O expander 615, first, the stop condition output processing shown in FIG. 50 is executed. At this time, since the signal levels of the connection line SCL and the connection line SDA are both LOW, SCL release processing is executed (5004 in FIG. 50, FIG. 47). Since it is the connection line SDA that is occupied, the SCL release process is normally performed, and the signal level of the connection line SCL is set to HIGH.
続いて、図50のステップ5005の処理が実行され、SDA解放監視処理(図48)が実行される。SDA解放監視処理では、ステップ4802の処理で接続線SDAの信号レベルをHIGHに変更しようとするが、スレーブのI2CI/Oエクスパンダ615によって占有されているため、HIGHにすることができない。したがって、ステップ4805の処理でステータスコードに“70H”(「復旧」)が設定され、その後、送信中断割込みを発生させる。 Subsequently, the process of step 5005 of FIG. 50 is performed, and the SDA release monitoring process (FIG. 48) is performed. The SDA release monitoring process tries to change the signal level of the connection line SDA to HIGH in the processing of step 4802 but can not be made HIGH because it is occupied by the slave I 2 CI / O expander 615. Therefore, in the process of step 4805, “70H” (“recovery”) is set in the status code, 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 soft reset on the master IC (4011 in FIG. 40, 4111 in FIG. 41).
その後、マスタICは、接続線SCLの信号レベルを少なくとも9回変化させる。こうすることによって、スレーブ側のI2CI/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 signal level of the connection line SCL from HIGH to LOW while the signal level of the connection line SCL changes at least nine times. Then, the connection line SDA is released (corresponding to getting out of the loop of steps 5208 to 5211 in FIG. 52), and a reply signal (ACK) is transmitted to the master IC.
次いで、マスタICは、接続線SDAが解放されたことを確認したうえで、スレーブ側のI2CI/Oエクスパンダ615にストップコンディションを出力し、次いで、スタートコンディションを出力し、再度、データ送信を行う。 Next, after confirming that the connection line SDA is released, the master IC outputs a stop condition to the slave side I 2 CI / O expander 615, then outputs a start condition, and transmits data again. I do.
図60は、本発明の第1の実施の形態において、マスタICからの誤った指令により、スレーブ側のI2CI/Oエクスパンダ615で読み出しモードが発生してバスが占有された場合に、マスタICからの指令によってスレーブ側のI2CI/Oエクスパンダ615がバスを解放する手順を説明する図である。 In FIG. 60, in the first embodiment of the present invention, when a read mode is generated in the slave side I 2 CI / O expander 615 due to an erroneous command from the master IC and the bus is occupied, I 2 CI / O expander 615 on the slave side by a command from the master IC is a diagram for explaining a procedure to release the bus.
なお、本実施形態では、マスタICからスレーブ側のI2CI/Oエクスパンダ615に対して、読み出しモードを発生させる指令を送信することは意図していないが、ノイズ等の影響により、I2CI/Oエクスパンダ615が勝手に判断して、読み出しモードに遷移した場合を想定して説明を行う。 In the present embodiment, with respect to I 2 CI / O expander 615 of the slave side from the master IC, although not intended to send a command to generate a read mode, due to the influence of noise or the like, I 2 The description will be made on the assumption that the CI / O expander 615 makes a judgment on its own and transitions to the read mode.
I2CI/Oエクスパンダ615が読み出しモードの場合であってもバスが占有されたままの状態で所定の時間以上経過すると、書き込み要求の場合と同様に、監視タイマ回路562によって、CPU551にタイムアウト割込みが発生する(図10及び図41参照)。このとき、CPU551は、図58で説明したように、まず、ソフトリセットを実行することによってマスタICを初期化する。そして、各スレーブ(マスタICに接続されたI2CI/Oエクスパンダ615)に対し、ストップコンディションとスタートコンディションを出力することを試みる。 Even if the I 2 CI / O expander 615 is in the read mode, the monitoring timer circuit 562 causes the CPU 551 to time out as in the case of the write request if a predetermined time or more passes while the bus is occupied. 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 the stop condition and the start condition to each slave (the I 2 CI / O expander 615 connected to the master IC).
スタートコンディション出力が実行され、接続線SCLの信号レベルを少なくとも9回変化させると、I2CI/Oエクスパンダ615は、接続線SCLの信号レベルの変化に合わせて接続線SDAにデータを出力するが、接続線SCLの信号レベルの変化が9回行われる途中において、マスタICからの返答信号(ACK)を確認するタイミングが発生する。このとき、マスタIC側では接続線SDAを開放したままにしているため、スレーブ側のI2CI/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 according to the change of the signal level of the connection line SCL. However, while the change of the signal level of the connection line SCL is performed nine times, the timing of confirming the reply 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 takes a signal level of the connection line SDA, and NACK of NACK becomes HIGH level. It recognizes that the response signal has been received, determines that the data transmission is to be stopped thereafter, 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 general 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 from the decoration control device 610 Since the reply 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(I2CI/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 general control means) to the decoration control device 610 (I 2 CI / O expander 615, The data line may be occupied by the decoration control device 610 and may not be used because it is commonly used for data transmission to the group unit control means) and transmission of a response signal from the decoration control device 610 to the presentation control device 550. However, since the process of initializing the decoration control device 610 is performed by the initialization means and the occupation state of the data line can be released, the communication can be prevented from being stopped.
さらに、本発明の第1の実施の形態によれば、データ線を占有している装飾制御装置610自身が、通信停止状態の発生を判断して自分自身を初期化することにより、他の装飾制御装置610の処理に影響を与えることなく、データ線を解放することができる。 Furthermore, according to the first embodiment of the present invention, the decoration control device 610 occupying the data line determines the occurrence of the communication stop state and initializes itself by the other decoration. The data lines can be released without affecting the processing of the controller 610.
また、本発明の第1の実施の形態によれば、データ線の占有状態を検出すると、データ線に接続されている装飾制御装置610の全てが、自分自身を初期化することによって、確実にデータ線を解放することができる。 Further, according to the first embodiment of the present invention, when the occupancy condition of the data line is detected, all of the decoration control devices 610 connected to the data line ensure themselves by initializing themselves. Data lines can be released.
本発明の第1の実施の形態によれば、演出制御装置550からデータ線を解放する指令を送信することができる。さらに、返答信号の出力開始と出力終了のタイミングが、演出制御装置550から指令されるので、装飾制御装置610の処理が簡素化される。そして、返答信号の出力開始後に、出力終了の指令が届かないような不具合が発生したときには、占有解除指令手段によって不具合が解除され、通信が正常な状態に復帰できる。 According to the first embodiment of the present invention, the effect control device 550 can transmit a command to release the data line. Furthermore, since the timing of output start and output end of the response signal is instructed from the effect control device 550, the process of the decoration control device 610 is simplified. Then, after the start of the output of the response signal, when a failure occurs such that the output end command does not arrive, the failure is canceled by the exclusive release command means, and the communication can be restored to the normal state.
さらに、本発明の第1の実施の形態によれば、1つのマスタICに接続可能な装飾制御装置610の数に上限があったとしても、演出制御装置550に複数のマスタICを備えることによって、より多くの装飾制御装置610を利用することができる。 Furthermore, according to the first embodiment of the present invention, even if the number of decoration control devices 610 connectable to one master IC has an upper limit, the effect control device 550 includes a plurality of master ICs. More decoration controls 610 can be used.
また、本発明の第1の実施の形態では、第1マスタIC570a(第1の信号レベル制御手段)が遊技盤10に備えられた演出装置を制御し、第2マスタIC570b(第2の信号レベル制御手段)が前面枠3に備えられた演出装置を制御するように構成されている。このように、遊技盤10に備えられた演出装置と前面枠3に備えられた演出装置とを別のグループとすることによって、前面枠3や遊技盤10を開発する際には、装飾制御装置610の上限数を開発対象の各グループに限定して考慮すればよいので、構成毎に並行して機器の開発を行うなど開発の効率化を図ることができる。 Further, in the first embodiment of the present invention, the first master IC 570a (first signal level control means) controls the rendering device provided on the game board 10, and the second master IC 570b (second signal level). The control means is configured to control the rendering device provided on the front frame 3. As described above, when the front frame 3 and the game board 10 are developed by forming the presentation device provided in the game board 10 and the presentation device provided in the front frame 3 in different groups, the decoration control device Since the upper limit number of 610 may be limited to each group to be developed and taken into consideration, it is possible to improve development efficiency by, for example, developing equipment in parallel for each configuration.
さらに、本発明の第1の実施の形態によれば、CPU551によってマスタICが選択され、選択されたマスタICに接続される複数の装飾制御装置610(I2CI/Oエクスパンダ615)が、まとめて初期化されるので、装飾制御装置610を1つ1つ選択して初期化するような方法と比較すると、高速な初期化処理を行うことができる。 Furthermore, according to the first embodiment of the present invention, the plurality of decoration control devices 610 (I 2 CI / O expander 615) selected by the CPU 551 and connected to the selected master IC are selected as Since initialization is collectively performed, it is possible to perform high-speed initialization processing as compared with a method of selecting and initializing the decoration control devices 610 one by one.
このとき、選択されたマスタICに接続される装飾制御装置610だけを初期化して、選択されない他のマスタICに接続される装飾制御装置610を初期化しないような制御が可能となる。 At this time, control can be performed such that only the decoration control device 610 connected to the selected master IC is initialized and the decoration control device 610 connected to the other master IC not selected is not initialized.
そのため、遊技機に備えた全ての装飾制御装置610のうち、必要最小限の範囲に属する装飾制御装置610だけを初期化することができるので、装飾制御装置610の初期化が行われて演出装置の動作が中断する頻度を、低下させることができる。 Therefore, among all the decoration control devices 610 provided in the game machine, only the decoration control device 610 belonging to the minimum necessary range can be initialized, so the decoration control device 610 is initialized and the presentation device is performed. The frequency of interruption of the operation can be reduced.
また、本発明の第1の実施の形態によれば、すべてのマスタICをリセットしようとする場合にはハードリセットを行う構成となっているため、各マスタICを1個ずつソフトリセットする場合と比較して、高速に初期化を行うことが可能となる。 Further, according to the first embodiment of the present invention, since it is configured to perform hard reset when all the master ICs are to be reset, the case where each master IC is soft reset one by one and In comparison, initialization can be performed at high speed.
一方、一部のマスタICをリセットしようとする場合には、データバスを経由するソフトリセットによって初期化を実行するため、すべてのマスタICの初期化信号入力端子に個別に信号入力するような複雑な回路を必要とせずに、1つのポートを備えていればよい。すなわち、起動時に毎回必ず実行されるすべてのマスタICのリセットは高速で行うことが可能となり、非常時にのみ実行される一部のみのマスタICのリセットは、簡素化された回路で実行可能となるため、特に、マスタICの数が多い構成の場合に有効となる。 On the other hand, when trying to reset some of the master ICs, in order to execute initialization by soft reset via the data bus, such a complex that individual initialization signal input terminals of all the master ICs are separately input. It is sufficient to have one port without the need for a circuit. That is, it becomes possible to perform the reset of all the master ICs that is always executed each time at startup at high speed, and the reset of only a part of the master ICs that is executed only in the emergency can be implemented by a simplified circuit. Therefore, it is effective particularly in the case of a configuration in which the number of master ICs is large.
また、本発明の第1の実施の形態によれば、マスタICによる処理がそれぞれ並列して動作するため、高速な処理が可能となる。さらに、画面更新のタイミングと同期させて演出装置の演出態様が更新するように制御されるため、画面表示と調和のとれた発光の演出が可能となる。 Further, according to the first embodiment of the present invention, the processing by the master IC operates in parallel, so high-speed processing becomes possible. Furthermore, since the control is performed so as to update the effect mode of the effect device in synchronization with the timing of screen update, it is possible to produce the light emission harmonized with the screen display.
さらに、本発明の第1の実施の形態によれば、取り込まれたデータを演出装置の出力態様として反映させるタイミングが、タイミング信号線とデータ線の信号レベル変化(ストップコンディションの受信)によって決定されるので、従来のLAT信号のような信号が不要となる。そのため、LAT信号を送信するための配線が不要になり、配線をより簡素化することが可能となる。 Furthermore, according to the first embodiment of the present invention, the timing for reflecting the taken-in data as the output mode of the rendering device is determined by the signal level change of the timing signal line and the data line (reception of the stop condition). This eliminates the need for a signal like the conventional LAT signal. Therefore, the wiring for transmitting the LAT signal becomes unnecessary, and the wiring can be further simplified.
また、本発明の第1の実施の形態によれば、複数の装飾制御装置610に対して、個別の演出制御データを同一の信号線を用いて送信することが可能となり、さらに、制御対象の各演出装置の演出態様を同時に更新することが可能となる。 Further, according to the first embodiment of the present invention, it is possible to transmit individual effect control data to the plurality of decoration control devices 610 using the same signal line, and it is further possible to control It is possible to simultaneously update the effect modes of the effect devices.
(第2の実施の形態)
以上説明した本発明の第1の実施の形態では、電源投入後、バス監視WDT640及び自己占有WDT641は、無条件に動作するように構成されている。
Second Embodiment
In the first embodiment of the present invention described above, after power-on, the bus monitoring WDT 640 and the self-occupied WDT 641 are configured to operate unconditionally.
しかしながら、バス監視WDT640及び自己占有WDT641は、接続線SDAの信号レベルに基づいて装飾制御装置610をリセットするオプション的な機能であるので、この機能を使用するか否かは、何らかの方法によって選択できることが好ましい。 However, since bus monitoring WDT 640 and self-occupied WDT 641 are optional functions for resetting decoration control device 610 based on the signal level of connection line SDA, whether to use this function or not can be selected by any method. Is preferred.
特に、電源投入の直後においては、接続線SDAの信号レベルが不安定になっているため、接続線SDAの信号レベルを監視しながら装飾制御装置610をリセットする機能が電源投入の直後から動作していると、予期せぬリセット処理が発生して誤動作の要因にもなりやすい。そのため、電源投入の直後においては、バス監視WDT640及び自己占有WDT641が無効化されていることが好ましい。 In particular, immediately after power-on, the signal level of connection line SDA is unstable, so the function of resetting decoration control device 610 while monitoring the signal level of connection line SDA operates immediately after power-on. In such a case, an unexpected reset process may occur to cause a malfunction. Therefore, it is preferable that the bus monitoring WDT 640 and the self-occupied WDT 641 be invalidated immediately after power on.
そこで、ウォッチドッグタイマによる監視を必要に応じて有効化又は無効化する第2の実施の形態について説明する。本発明の第2の実施の形態では、遊技機の電源投入後や初期化直後に、リセット処理が完了するまでウォッチドッグタイマによる監視が行われないように制御する。以下、図61から図64を参照しながら本発明の第2の実施の形態の詳細について説明する。 Therefore, a second embodiment will be described in which monitoring by the watchdog timer is enabled or disabled as necessary. In the second embodiment of the present invention, control is performed so that monitoring by the watchdog timer is not performed until reset processing is completed after power on of the gaming machine or immediately after initialization. Hereinafter, the details of the second embodiment of the present invention will be described with reference to FIGS. 61 to 64.
なお、以降の実施の形態の説明では、第1の実施の形態と共通する構成及び処理については、同一の符号を付与して説明を省略する。 In the following description of the embodiment, the same reference numerals are assigned to configurations and processes common to the first embodiment, and the description will be omitted.
図61は、本発明の第2の実施の形態のI2CI/Oエクスパンダ615の構成を示すブロック図である。 FIG. 61 is a block diagram showing the configuration of the I 2 CI / O expander 615 according to the second embodiment of this invention.
本発明の第2の実施の形態のI2CI/Oエクスパンダ615は、出力設定レジスタ635への設定値によって、バス監視WDT640及び自己占有WDT641の機能が有効化又は無効化される点で図18に示した第1の実施の形態のI2CI/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 set values in the output setting register 635. The configuration is different from the I 2 CI / O expander 615 according to the first embodiment shown in FIG.
前述のように、I2CI/Oエクスパンダ615の出力設定レジスタ635には、ワークレジスタ(デバイスレジスタ)と、コントロールレジスタ(制御レジスタ)とが割り当てられている。 As described above, 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.
本発明の第2の実施の形態では、出力設定レジスタ635とバス監視WDT640及び自己占有WDT641とが接続されており、出力設定レジスタ635のワークレジスタに設定された値に基づいて、ウォッチドッグタイマのON/OFFを制御する。 In the second embodiment of the present invention, output setting register 635, bus monitoring WDT 640, and self-occupied WDT 641 are connected, and based on the value set in the work register of output setting register 635, the watchdog timer Control ON / OFF.
ウォッチドッグタイマのON/OFFを制御する場合には、まず、すべての装飾制御装置610に対して共通の指令を出力可能なオールコールアドレス(ALLCALLアドレス、第2の共通アドレス、図23参照)を宛先とする。そして、ウォッチドッグタイマのON/OFFを制御するビットに所定の値を設定することによって、すべての装飾制御装置610のウォッチドッグタイマのON/OFFを一斉に設定する。 When controlling the watchdog timer ON / OFF, first, an all-call address (ALLCALL address, second common address, see FIG. 23) capable of outputting a common command to all the decoration control devices 610 is selected. Set as the destination. Then, by setting a predetermined value in a bit that controls ON / OFF of the watchdog timer, ON / OFF of the watchdog timer of all the decoration control devices 610 is simultaneously set.
このとき、オールコールアドレスの使用可否を切り替えることによって、ウォッチドッグタイマのON/OFFをすべての装飾制御装置610に一斉に設定することを許可するか否かを指定することができる。なお、オールコールアドレスの使用可否は、モードレジスタ1のビット0に“0”又は“1”を設定する。また、ウォッチドッグタイマのON/
OFFは、モードレジスタ2のビット2に“0”又は“1”を設定する。オールコールアドレス及びウォッチドッグタイマの使用可否設定の詳細については後述する。
At this time, by switching the availability of the all-call address, it is possible to designate whether or not to allow setting of ON / OFF of the watchdog timer to all the decoration control devices 610 simultaneously. Note that “0” or “1” is set in bit 0 of the mode register 1 as to whether the all-call address can be used. Also, watchdog timer ON /
OFF sets bit 0 of mode register 2 to "0" or "1". Details of the all-call address and the availability setting of the watchdog timer will be described later.
前述のように、モードレジスタ1及びモードレジスタ2は、I2CI/Oエクスパンダ615の初期設定を行うためのモードレジスタであり、出力設定レジスタ635のワークレジスタの一部として設けられている(図24参照)。モードレジスタ1はレジスタ番号「00h」、モードレジスタ2はレジスタ番号「01h」に対応する。モードレジスタ1及びモードレジスタ2、すなわち、レジスタ番号「00h」及び「01h」の記憶領域に値が書き込まれると、書き込まれた値に基づいて、I2CI/Oエクスパンダ615の初期設定が行われる。以下、モードレジスタ1及びモードレジスタ2の詳細を、図62にて説明する。 As described above, the mode register 1 and the mode register 2 are mode registers for performing the initial setting of the I 2 CI / O expander 615, and are provided as a part of the work register of the output setting register 635 (see FIG. See Figure 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 register numbers “00h” and “01h”, initialization of the I 2 CI / O expander 615 is performed based on the written values. It will be. The details of mode register 1 and 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 showing an example of the mode register 1 and the mode register 2 according to the second embodiment of this invention. 62 (A) shows the configuration of mode register 1, and FIG. 62 (B) shows the configuration of mode register 2. Mode register 1 and mode register 2 each have 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 availability of the all-call address, and can be used when “1” is set, and can not be used when “0” is set. Note that “1” (usable) is set as the initial value, 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 the sub address can be set. SLEEP is a parameter for which whether or not to be in the power saving mode is set. AI0, AI1, and AI2 are parameters for specifying the address auto-increment, and the details are as described in 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” sequentially from bit 0. Bits 6 and 7 are unused.
WDT PERIODは、ウォッチドッグタイマの監視時間に対応するパラメータを示し、2ビットで表現される。例えば、「00」に設定されている場合には監視時間は5ms、「11」に設定されている場合には監視時間は35msとなる。 WDT PERIOD indicates a parameter corresponding to watchdog timer monitoring time, and is expressed by 2 bits. For example, the monitoring time is 5 ms when it is set to “00”, and 35 ms when it is set to “11”.
WDT ENABLEは、ウォッチドッグタイマのON/OFFを制御するパラメータであり、“1”が設定されている場合には使用可能(ON)、“0”が設定されている場合には使用不可(OFF)となっている。なお、初期値には“0”が設定されているため、初期化直後にはウォッチドッグタイマが動作しないように設定されている。そのため、マスタICが必要に応じてウォッチドッグタイマを有効化する。 WDT ENABLE is a parameter to control ON / OFF of the watchdog timer, and can be used (ON) when “1” is set, and not available (OFF) when “0” is set. ). Since the initial value is set to "0", the watchdog timer is set not to operate immediately after the initialization. Therefore, the master IC enables the watchdog timer as needed.
OCHは、図24にて説明したように、I2CI/Oエクスパンダ615の出力設定レジスタ635に格納された演出制御データを演出装置に実際に反映させるタイミングを規定するパラメータである。具体的には、ストップコンディション又はACKを受信した時点で演出制御データを出力するように設定することができる。OCHの値が“0”に設定されている場合には、ストップコンディションで演出制御データを演出装置に実際に反映する。 The 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 on the effect device, as described in FIG. Specifically, the effect control data can be set to be output when the stop condition or the 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は、I2CI/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 showing the procedure of the transmission restart process of initialization instruction data according to the second embodiment of this invention. The same processes as those in the procedure of 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 step number and the output buffer setting value as shown in FIG. 64 is defined in advance, and the output buffer setting value is set based on the initialization step number. Are set in the output buffer 572.
具体的に説明すると、CPU551は、まず、初期化段階番号とステータスコードとの整合を判断し(6301)、初期化段階番号とステータスコードとが整合しているか否かを判定する(6302)。初期化段階番号とステータスコードとが整合していない場合には(6302の結果が「N」)、ステップ4203以降の処理を実行する。ステップ4203以降の処理については、図42にて説明した処理と同様である。 Specifically, the CPU 551 first determines whether the initialization stage number matches the status code (6301), and determines whether the initialization stage number matches the status code (6302). If the initialization step number and the status code do not match (the result of 6302 is “N”), the processing of step 4203 and thereafter is executed. The processing after step 4203 is the same as the processing described in FIG.
なお、初期化段階番号とステータスコードとの整合の判断は、本発明の第1の実施の形態において図44に示した送信処理継続判定表4400と同様であるが、本発明の第2の実施の形態では、初期化段階番号が1(0)から10となっているため、対応関係が相違する。 The determination of the matching between the initialization step number and the status code is the same as the transmission processing continuation determination table 4400 shown in FIG. 44 in the first embodiment of the present invention, but the second embodiment of the present invention In the case of (1), since the initialization stage numbers are 1 (0) to 10, the correspondence relationship is different.
以下、本発明の第1の実施の形態と本発明の第2の実施の形態の初期化段階番号を対応させながら具体的に説明する。 Hereinafter, the first embodiment of the present invention and the initialization step numbers of the second embodiment of the present invention will be specifically described in association with each other.
本発明の第2の実施の形態で初期化段階番号が1の場合は、初期化処理の実行開始直後であることを示しており、本発明の第1の実施の形態と同じ判断基準で整合性を判断する。 If the initialization step number is 1 in the second embodiment of the present invention, it indicates that the initialization processing is performed immediately after the start of the execution of the initialization processing, and it is consistent with the same judgment criteria as the first embodiment of the present invention. Determine the sex.
本発明の第2の実施の形態で初期化段階番号が2、5、8の場合は、本発明の第1の実施の形態で初期化段階番号が2の場合に対応する。初期化段階番号が2、5、8の場合は、直前の処理でアドレスが送信されているため(図64参照)、アドレスの送信が成功したことを示す場合に整合していると判断される。 The case where the initialization step numbers are 2, 5 and 8 in the second embodiment of the present invention corresponds to the case where the initialization step number is 2 in the first embodiment of the present invention. If the initialization step number is 2, 5 or 8, since the address was transmitted in the immediately preceding process (see FIG. 64), it is judged to be consistent when it indicates that the transmission of the address was successful. .
また、本発明の第2の実施の形態で初期化段階番号が3、4、6、7、9、10の場合は、本発明の第1の実施の形態で初期化段階番号が3、4の場合に対応する。初期化段階番号が3、4、6、7、9、10の場合は、直前の処理でデータが送信されているため(図64参照)、データの送信が成功したことを示す場合に整合していると判断される。 In the case where the initialization step numbers are 3, 4, 6, 7, 9, 10 in the second embodiment of the present invention, the initialization step numbers are 3, 4 in the first embodiment of the present invention. It corresponds to the case of. If the initialization step number is 3, 4, 6, 7, 9, 10, the data has been transmitted in the immediately preceding process (see FIG. 64), which indicates that the data transmission is successful. It is determined that
CPU551は、初期化段階番号とステータスコードとが整合している場合には(6302の結果が「Y」)、初期化段階番号が10であるか否かを判定する(6303)。初期化段階番号が10の場合には(6303の結果が「Y」)、初期化処理が終了したことを示しているため、ステップ4213以降の終了処理を実行する。ステップ4213以降の処理については、本発明の第1の実施の形態において初期化段階番号が4の場合に対応し、図42にて説明した処理と同様である。なお、本発明の第2の実施の形態における初期化段階番号が10の場合は、本発明の第1の実施の形態の初期化段階番号が4の場合と同様に、初期化処理の最終段階を示している。 If the initialization step number matches the status code (result of 6302 is “Y”), the CPU 551 determines whether the initialization step number is 10 (6303). If the initialization step number is 10 (the result of 6303 is “Y”), it indicates that the initialization processing has been completed, so the end processing of step 4213 and subsequent steps is executed. The processing after step 4213 corresponds to the case where the initialization step number is 4 in the first embodiment of the present invention, and is similar to the processing described in FIG. When the initialization step number is 10 in the second embodiment of the present invention, the final step of the initialization processing is the same as the initialization step number of 4 in the first embodiment of the present invention. Is shown.
また、CPU551は、初期化段階番号が10でない場合、すなわち、初期化段階番号が1から9の場合には(6303の結果が「Y」)、初期化段階番号に対応する値を出力用バッファ572に設定する(6304)。初期化段階番号と当該初期化段階番号に対応する値は、あらかじめ定義されており、図64にて一例を示す。続いて、CPU551は、ステップ4208以降の処理を実行する。ステップ4208以降の処理については、図42にて説明した処理と同様である。 When the initialization step number is not 10, that is, when the initialization step number is 1 to 9 (the result of 6303 is “Y”), the CPU 551 outputs a value corresponding to the initialization step number. It is set to 572 (6304). The initialization stage number and the value corresponding to the initialization stage number are previously defined, and an example is shown in FIG. Subsequently, the CPU 551 executes the processing of step 4208 and subsequent steps. The processing after step 4208 is the same as the processing described in FIG.
図64は、本発明の第2の実施の形態の初期化段階番号と出力用バッファ572に設定される出力バッファ設定値との対応を示す図である。 FIG. 64 is a diagram showing the correspondence between the initialization step 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 step 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) capable of outputting a common command to all the decoration control devices 610.
さらに、初期化段階番号が2の場合には“A5h”、初期化段階番号が3の場合には“5Ah”が出力用バッファ572に設定される。“A5h”はリセット指令(初期化指示データ)の前半値、“5Ah”はリセット指定(初期化指示データ)の後半値を示している。なお、初期化段階番号が1から3の場合は、前述した本発明の第1の実施の形態の場合と同じである。 Furthermore, when the initialization stage number is 2, “A5h” is set in the output buffer 572 when the initialization stage number is 3, and “5 Ah” is set. "A5h" indicates the first half of the reset command (initialization designation data), and "5Ah" indicates the second half of the reset designation (initialization designation 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(I2CI/Oエクスパンダ615)に送信される。なお、初期化段階番号1から3の場合に送信された指令に基づく処理(第1の初期化手段)によって各装飾制御装置610(I2CI/Oエクスパンダ615)がリセットされている。リセット直後には、モードレジスタ1のビット0の値が1に設定されているため、I2CI/Oエクスパンダ615のオールコールアドレスは有効となっている。 When the initialization step 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 step number is 5) is transmitted to all the decoration control devices 610 (I 2 CI / O expander 615). 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 the 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 step number is 5, “01h” is set in the output buffer 572. “01h” indicates that the control register is inhibited from auto-increment and the mode register 2 is designated.
初期化段階番号が6の場合には、初期化手段有効化指令に相当する“04h”が出力用バッファ572に設定される。“04h”は、モードレジスタ2の設定値であり、ウォッチドッグタイマの監視時間(図64では5ms)、ウォッチドッグタイマを使用可、ストップコンディションで出力を反映させることを示している。具体的には、WDT PERIODに“00”、WDT ENABLEに“1”、OCHに“0”とすることで、“00000100”(=“04h”)に設定される。このように初期化段階番号が6の場合の処理は、バスの状態が監視することでバスが占有されたことを検出し、初期化するための初期化手段(第2の初期化手段)であるウォッチドッグタイマの有効化手段として機能している。 When the initialization step number is 6, “04h” corresponding to the initialization means activation command is set in the output buffer 572. “04h” is a set value of the mode register 2 and indicates that the watchdog timer monitoring time (5 ms in FIG. 64), the watchdog timer can be used, and the output is reflected by the stop condition. Specifically, "00000100" (= "04h") is set by setting "00" in WDT PERIOD, "1" in WDT ENABLE, and "0" in OCH. As described above, the processing in the case where the initialization step number is 6 is performed by the initialization means (second initialization means) for detecting that the bus is occupied by monitoring the state of the bus and for initialization. It functions as an enabling means of a certain watchdog timer.
初期化段階番号が7の場合には、出力用バッファ572にオールコールアドレスに対応する“D0h”が再び設定される。 When the initialization step number is 7, "D0h" corresponding to the all call address is set again in the output buffer 572.
初期化段階番号が8の場合には、“00h”が出力用バッファ572に設定される。“00h”は、コントロールレジスタに、オートインクリメントを禁止し、モードレジスタ
1を指定することを示している。
When the initialization step number is 8, “00h” is set in the output buffer 572. “00h” indicates that the control register is inhibited from auto-increment and the mode register 1 is designated.
初期化段階番号が9の場合には、共通アドレス無効化指令に相当する“00h”が出力用バッファ572に設定される。“00h”は、モードレジスタ1にオールコールアドレスを無効にするように設定している。初期化段階番号が9の場合に実行される処理は、オールコールアドレスを無効化する共通アドレス無効化手段として機能する。 When the initialization step number is 9, “00h” corresponding to the common address invalidation instruction is set in the output buffer 572. “00h” sets the mode register 1 to invalidate the all call address. The process executed when the initialization step number is 9 functions as a common address invalidation 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. After that, when the initialization phase number becomes 9, the use of the all-call address is prohibited so that the watchdog timer is not invalidated by noise or the like.
さらに、オールコールアドレスの使用が禁止された後に、ウォッチドッグタイマが有効な状態が確実に継続されるように、各装飾制御装置610に対し、ウォッチドッグタイマを定期的に有効化するためのコマンド(前述の初期化手段有効化指令に相当するコマンド)を個別に出力するようにしてもよい。このようにすることによって、ノイズなどの影響で一部の装飾制御装置610のウォッチドッグタイマが無効化されても影響を最小限に抑え、遊技機を安定して稼動させることが可能となる。 Furthermore, after the use of the all-call address is prohibited, a command for periodically enabling the watchdog timer for each decoration control device 610 to ensure that the watchdog timer continues to be valid. (A command corresponding to the above-mentioned initialization means activation command) may be output individually. By doing this, even if the watchdog timer of some decoration control device 610 is invalidated due to the influence of noise or the like, it is possible to minimize the influence and operate the gaming machine stably.
また、本発明の第2の実施の形態では、遊技機の電源投入時にリセット処理(第1の初期化手段によるリセット処理)を実行し、各装飾制御装置610(I2CI/Oエクスパンダ615)を初期化している。リセット処理の途中でデータ送信に失敗した場合には、データを再送信せずに、リセット処理から再実行するようにしてもよい。このように構成することによって、確実に初期化処理を実行することができる。 Further, in the second embodiment of the present invention, reset processing (reset processing by the first initialization means) is executed when the game machine is powered on, and each decoration control device 610 (I 2 CI / O expander 615 ) Has been initialized. If data transmission fails in the middle of the reset process, the process may be re-executed from the reset process without retransmitting the data. With this configuration, the initialization process can be performed reliably.
なお、演出制御装置550からの初期化手段有効化指令により有効化するか否かを設定できるのは、バス監視WDT640及び自己占有WDT641によるリセット処理(第2の初期化手段によるリセット処理)のみである。 It should be noted that it is only by the bus monitoring WDT 640 and the reset process by the self-occupied WDT 641 (the reset process by the second initialization means) that whether or not the activation is enabled by the initialization means activation command from the presentation control device 550 is there.
これに対して、I2CI/Oエクスパンダ615への電源投入検出(図61のVccの電圧上昇により検出される)や、I2CI/Oエクスパンダ615への外部リセット信号検出(図61のRESET信号入力により検出される)や、I2CI/Oエクスパンダ615への初期化指示データ送信によって実行されるリセット処理(第1の初期化手段によるリセット処理)は、演出制御装置550からの指令により有効化するか否かを設定することはできない。 On the other hand, detection of power on to the I 2 CI / O expander 615 (detected by voltage rise of Vcc in FIG. 61) and detection of external reset signal to the I 2 CI / O expander 615 (FIG. 61) The reset process (reset process by the first initialization unit) executed by transmission of the initialization instruction data to the I 2 CI / O expander 615 is detected from the effect control device 550). It is not possible to set whether to activate or not by the command of.
また、演出制御装置550からの共通アドレス無効化指令により無効化できる共通アドレスは、オールコールアドレス(第2の共通アドレス)のみである。 The common address that can be invalidated by the common address invalidation instruction from the effect control device 550 is only the all-call address (second common address).
これに対して、リセット用アドレス(第1の共通アドレス)は常時有効であり、演出制御装置550からの指令によって無効化することはできない。 On the other hand, the reset address (first common address) is always valid and can not be invalidated by a command from the effect control device 550.
図65は、本発明の第2の実施の形態の各スレーブに送信するデータの構造を説明する図であり、個別アドレスを指定してパラメータを設定する場合を示す図である。なお、図中の「S」はスタートコンディションを、「P」はストップコンディションを、「ACK」はACK信号を示している。 FIG. 65 is a view for explaining the structure of data to be transmitted to each slave according to the second embodiment of the present invention, showing a case where individual addresses are designated to set parameters. In the figure, "S" indicates a start condition, "P" indicates a stop condition, and "ACK" indicates an ACK signal.
本発明の第2の実施の形態では、1回の画像更新周期で、第1スレーブから最終スレーブまで、すべてのスレーブにデータを送信する。そして、送信データには、先頭に各スレーブの送信アドレス、ワークレジスタへのデータ書き込み手順を規定する情報を記憶する
コントロールレジスタ、各種演出装置の制御データ(レジスタ番号「00h」〜レジスタ番号「1Bh」)が含まれる。送信データの詳細については、図24にて説明したとおりである。
In the second embodiment of the present invention, data is transmitted to all slaves from the first slave to the final slave in one image update cycle. Then, in the transmission data, the transmission address of each slave at the beginning, the control register storing information defining the procedure for writing data to the work register, the control data of various rendering devices (register number "00h" to register number "1Bh" Is included. The details of the transmission data are as described in FIG.
レジスタ番号「00h」及びレジスタ番号「01h」の制御データには、モードレジスタ1設定値及びモードレジスタ2設定値が設定される。モードレジスタ1設定値では、オールコールアドレスの有効又は無効を設定している。モードレジスタ2設定値では、ウォッチドッグタイマの設定値やストップコンディションで出力された送信データを各種演出装置に反映させるか否かを設定している。 Mode register 1 set values and mode register 2 set values are set in the control data of the register number “00h” and the register number “01h”. In the mode register 1 setting value, the all call address is set to be valid or invalid. In the mode register 2 set value, it is set whether or not the set value of the watchdog timer and the transmission data output as a stop condition are to be reflected on various rendering devices.
したがって、オールコールアドレスの有効又は無効、及び、ウォッチドッグタイマのパラメータは、画像更新周期ごとに定期的に設定されることになる。 Therefore, valid or invalid of the all-call address and the parameters of the watchdog timer are periodically set for each image update period.
また、図65に示すようにスレーブごとに個別アドレスを指定してオールコールアドレスの有効又は無効、及び、ウォッチドッグタイマのパラメータを設定するようにしてもよいが、図66に示すように、オールコールアドレスを指定してこれらのパラメータを設定するようにしてもよい。 Alternatively, individual addresses may be designated for each slave as shown in FIG. 65 to enable or disable the all-call address and to set parameters of the watchdog timer, but as shown in FIG. These parameters may be set by specifying a call address.
図66は、本発明の第2の実施の形態の各スレーブに送信するデータの構造を説明する図であり、オールコールアドレスを指定してパラメータを設定する場合を示す図である。 FIG. 66 is a diagram for explaining the structure of data to be transmitted to the slaves according to the second embodiment of this invention, and showing a case where parameters are set by specifying an all-call address.
図66に示す送信データでは、各スレーブにデータを送信する前に、オールコールアドレスを指定して、一括してモードレジスタ2設定値を設定するように構成されている。具体的には、モードレジスタ2についてオートインクリメントを禁止し、監視時間を5msとするように設定している。 In the transmission data shown in FIG. 66, before transmitting data to each slave, the all-call address is specified, and the mode register 2 set value is collectively set. Specifically, auto-increment is inhibited for the mode register 2 and the monitoring time is set to 5 ms.
したがって、ウォッチドッグタイマのパラメータが画像更新周期ごとに定期的に設定されることになる。また、送信データの先頭でオールコールアドレスを指定してウォッチドッグタイマのパラメータを設定するため、ノイズ等の影響によって特定のスレーブでリセットが発生して当該スレーブのパラメータが初期状態に戻ってしまったとしても、次にデータが送られてきたときに、当該スレーブのパラメータを早期に再設定することが可能となる。 Therefore, the parameters of the watchdog timer are set periodically at each image update period. In addition, since all call addresses are specified at the beginning of transmission data to set the watchdog timer parameters, a reset is generated in a specific slave due to the influence of noise etc., and the parameters of the slave return to the initial state. Also, the next time data is sent, it is possible to reset the parameters of the slave early.
図67は、本発明の第2の実施の形態においてマスタICとスレーブとの間でデータを送受信するタイミングを説明する図である。 FIG. 67 is a diagram for explaining timings of 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, presentation control data is transmitted from the master IC within the image update period, that is, within the VDP interrupt generation interval (second time value), and the slave responds 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 eight clocks for data transmission and a pulse for one clock for ACK response are output from the output of the start condition to the output of the corresponding stop condition. Ru.
また、VDP割込みの発生間隔内には、データ送信期間と、データ送信期間が終了してから次のVDP割込みが発生するまでの休止(待機)期間とが含まれる。データ送信期間は、スタートコンディションが出力されてからストップコンディションが出力されるまでの期間である。 Further, the generation interval of the VDP interrupt includes a data transmission period and a pause (waiting) period from the end of the data transmission period to the generation of the next VDP interrupt. The data transmission period is a period from when the start condition is output to when the stop condition is output.
このとき、ウォッチドッグタイマの監視期間(モード2レジスタで設定)は、接続線SCLに出力されるパルス幅よりも長く、かつ、VDP割込みの発生間隔よりも短い期間が設定される。 At this time, the monitoring period (set by the mode 2 register) of the watchdog timer is set to a period longer than the pulse width output to the connection line SCL and shorter than the generation interval of the VDP interrupt.
接続線SCLに出力されるパルス幅よりもウォッチドッグタイマの監視期間が短い場合には、データが正常に処理されているにもかかわらず、スレーブがリセットされてしまう可能性がある。また、ウォッチドッグタイマの監視期間をVDP割込みの発生間隔よりも短い期間に設定すれば、画像更新周期、すなわち、次のデータ送信のタイミングに間に合うように、早期に異常から復帰させることが可能となる。 If the monitoring period of the watchdog timer is shorter than the pulse width output to the connection line SCL, the slave may be reset although the data is normally processed. In addition, if the monitoring period of the watchdog timer is set to a period shorter than the generation interval of the VDP interrupt, it is possible to quickly recover from the abnormality in time for the image update period, that is, the timing of the next data transmission. Become.
以上のように、本発明の第2の実施の形態によれば、任意のタイミングでウォッチドッグタイマを有効化又は無効化することができる。したがって、必要に応じてウォッチドッグタイマを動作させたり、停止させたりすることが可能となるため、装飾制御装置610(I2CI/Oエクスパンダ615)の汎用性を向上させることができる。 As described above, according to the second embodiment of the present invention, the watchdog timer can be enabled or disabled at any timing. Therefore, since it becomes possible to operate or stop the watchdog timer as needed, the versatility of the decoration control device 610 (I 2 CI / O expander 615) can be improved.
また、本発明の第2の実施の形態によれば、オールコールアドレスを利用して、すべての装飾制御装置610(I2CI/Oエクスパンダ615)に一斉に設定パラメータを送信しているため、ウォッチドッグタイマの有効化及び無効化を高速に切り替えることが可能となる。 Further, according to the second embodiment of the present invention, setting parameters are simultaneously transmitted to all the decoration control devices 610 (I 2 CI / O expander 615) using the all-call address. , Enable and disable the watchdog timer at high speed.
(第3の実施の形態)
本発明の第1の実施の形態では、マスタICの制御によって、接続線SCLの信号レベルを制御することによって、接続線SDAの占有を解除していたが、これによりマスタICの負荷が高まってしまうおそれがある。本発明の第3の実施の形態では、接続線SCLの信号レベルを制御するタイミング信号線変化手段を配置することによって、マスタICの制御によらずに接続線SCLの信号レベルの信号レベルを制御する。
Third Embodiment
In the first embodiment of the present invention, the control of the master IC controls the signal level of the connection line SCL to release the occupation of the connection line SDA, but this increases the load on the master IC. There is a risk of In the third embodiment of the present invention, by arranging timing signal line changing means for controlling the signal level of connection line SCL, the signal level of the signal level of connection line SCL is controlled without control of the master IC. 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 this invention.
本発明の第3の実施の形態の演出制御装置550と本発明の第1の実施の形態の演出制御装置550との相違点は、出力I/F558aと中継基板600に接続される接続線SCLとの間にトランジスタ579a、出力I/F558aと簡易中継基板1600に接続される接続線SCLとの間にトランジスタ579bが接続されている点である。 The difference between the effect control device 550 of the third embodiment of the present invention and the effect control device 550 of the first embodiment of the present invention is the connection line SCL connected to the output I / F 558a and the relay substrate 600. The transistor 579 b is connected between the transistor 579 a and the output I / F 558 a and the connection line SCL connected to the simplified relay substrate 1600.
また、接続線SCLには、所定の電圧が印加されたプルアップ抵抗Rが接続されているため、トランジスタ579a又はトランジスタ579bを一定時間オンにすると、対応する接続線SCLの信号レベルが強制的にLOWになるので、直前の接続線SCLの信号レベルがHIGHであれば、接続線SCL上にパルスが出力される。このように、本発明の第3の実施の形態では、マスタICの出力状態によらずに接続線SCLにダミーパルスを出力することが可能な構成となっている。 Further, since the pull-up resistor R to which a predetermined voltage is applied is connected to the connection line SCL, when the transistor 579a or 579b is turned on for a certain period of time, the signal level of the corresponding connection line SCL is forced. Since it becomes LOW, if the signal level of the previous 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, the 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 disposed over the same substrate, and a signal line connecting the CPU 551 and each transistor is not broken. Therefore, the transistor 579a and the transistor 579b are unexpected. It is possible to prevent operation at timing.
図69は、本発明の第3の実施の形態の第1マスタIC570a側の送信中断割込み発生時及びタイムアウト割込み発生時の処理の手順を示すフローチャートである。 FIG. 69 is a flow chart showing a procedure of processing upon generation of a transmission interruption interrupt and generation of a timeout interrupt of the first master IC 570a according to the third embodiment of this invention.
本発明の第1の実施の形態との相違点は、ステータスコードが「復旧」の場合に、第1マスタIC570aをソフトリセットした後(6901)、トランジスタ579aによってダミーパルスを出力する(6902)。その後、第1マスタ側スレーブ初期化開始処理を実行する(4012)。 The difference with the first embodiment of the present invention is that, when the status code is "recovery", after the first master IC 570a is soft reset (6901), the transistor 579a outputs a dummy pulse (6902). Thereafter, the first master side slave initialization start process is executed (4012).
なお、第2マスタIC570b側で送信中断割込みや、タイムアウト割込みが発生したときは、本フローチャートの処理における第1マスタの部分を第2マスタに置換した処理が行われる。このとき、ステップ6902に対応する処理では、トランジスタ579bを駆動してダミーパルスを出力することになる。 When a transmission interruption interrupt or a time-out interrupt occurs on the second master IC 570b side, processing of replacing the portion of the first master in the processing of this flowchart with the second master is performed. 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 is not released due to the influence of noise or the like, after resetting the master IC, the connection pulse SCL is output by outputting a dummy pulse to the connection line SCL. To release. A more detailed procedure will be described below.
図70は、本発明の第3の実施の形態において、スレーブ側のI2CI/Oエクスパンダ615によってバスが占有された場合にバスを解放する手順を説明する図である。 FIG. 70 is a view for explaining the procedure for releasing the bus when the bus is occupied by the slave side I 2 CI / O expander 615 in the third embodiment of the present invention.
前述のように、ノイズなどにより接続線SCLの信号レベルの変化回数がマスタ側とスレーブ側とで相違すると、接続線SDAがスレーブ側のI2CI/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 the master IC can not transmit data while the bus is occupied, the CPU 551 resets the master IC. Thereafter, the dummy pulse is output to eliminate the difference in the number of changes in the signal level of the connection line SCL, thereby releasing the occupation of the connection line SDA.
具体的には、接続線SDAの占有によって、ステータスコードに“70H”(「復旧」)が設定され(図48の4805)、その後、送信中断割込みが発生する。送信中断割込みが発生すると、図69に示したように、CPU551は、マスタICに対してソフトリセットを行い(図69の6901)、その後ダミーパルスを出力する(図69の69023)。このとき、ダミーパルスは、接続線SDAの占有が解除されるまで出力するようにしてもよいし、少なくとも9回変化させるようにしてもよい。 Specifically, “70H” (“recovery”) is set in the status code by occupancy 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 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 occupation of the connection line SDA is released, or may be changed at least nine times.
このようにして、スレーブ側のI2CI/Oエクスパンダ615は、ダミーパルスが出力されることによって接続線SCLの信号レベルが変化して、接続線SCLの信号レベルがHIGHからLOWへの変化を検出することになり、接続線SDAを解放し、返答信号(ACK)をマスタICに返す。その後、マスタICがスタートコンディションを出力し、データの送信を再開する。 Thus, the I 2 CI / O expander 615 on the slave side changes the signal level of the connection line SCL by the output of the dummy pulse, and changes the signal level of the connection line SCL from HIGH to LOW. Is released, the connection line SDA is released, and a reply 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 soft resetting of the master IC, ACK is received to confirm release of the connection line SDA, and then each slave is initialized. Therefore, occurrence of trouble is suppressed and reliable communication control is performed. Can.
また、本発明の第3の実施の形態によれば、マスタICの負荷を増大させることなく、接続線SDAの占有を解除することが可能となる。 Further, according to the third embodiment of the present invention, the occupation of the connection line SDA can be released without increasing the load on the master IC.
さらに、本発明の第3の実施の形態によれば、接続線SCLの信号レベルは、マスタICが動作していなければHIGHに設定されるので、対応するトランジスタによっていつでも占有解除のための信号を出力することが可能となる。 Furthermore, according to the third embodiment of the present invention, since the signal level of the connection line SCL is set to HIGH if the master IC is not operating, the signal for releasing the occupation is always set by the corresponding transistor. It becomes possible to output.
また、本発明の第3の実施の形態によれば、演出を制御するCPUとダミーパルスを出力するトランジスタが同じ基板に配置されているため、接触不良などによってトランジスタを制御することができなくなったり、トランジスタが別の基板に配置されていた場合に予期せぬタイミングで作動することなどを防止することができる。 Further, according to the third embodiment of the present invention, since the CPU for controlling the effect and the transistor for outputting the dummy pulse are arranged on the same substrate, the transistor can not be controlled due to a contact failure or the like. This can prevent unexpected timing when the transistor is placed on another substrate.
(第4の実施の形態)
本発明の第1の実施の形態では、装飾制御装置610(I2CI/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 when the stop condition is received from the first master IC 570a. doing. On the other hand, in the fourth embodiment of the present invention, the light emission state of the connected LED is switched at timings other than the reception timing of the stop condition from the first master IC 570a. By doing this, it becomes unnecessary to control the signal level for outputting the stop condition, so it is possible to shorten the data transmission time.
本発明の第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 the reply signal (ACK) is sent back to the master IC. In order to update the aspect of the rendering device at the timing when ACK is returned, of the data transmitted from the master IC to each slave, the bit of OCH (see FIG. 62B) included in the set 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 view showing a connection example of the decoration control device 610 and the decoration device 620 according to the fourth embodiment of the present invention, wherein one decoration control device 610 is provided with five sets of LEDs. Is a diagram showing a configuration controlled by By the lighting state of the LED for five sets, each color of red, green and blue is mixed, and many colors are expressed.
なお、第4の実施の形態においても、前述した信頼度報知装置15(図2)が装飾装置620の一例であるとして説明を行う。つまり、信頼度報知装置15が赤く光れば大当たりが確定する仕様となっているものとする。 Also in the fourth embodiment, the above-described reliability notification device 15 (FIG. 2) will be described as an example of the decoration device 620. In other words, it is assumed that the jackpot is determined if the reliability notification device 15 lights up in red.
図71に示す構成によって、装飾制御装置610に接続された5セット分のLEDは、発光状態が同時に更新されるので、想定外の発色が行われることはない。すなわち、ストップコンディションを受信したタイミングでLEDの発光態様をしなくてもACKを返信したタイミングで各セットのLEDの発光状態を同時に更新することが可能となる。 According to the configuration shown in FIG. 71, the light emission state of the five sets of LEDs connected to the decoration control device 610 is simultaneously updated, so that unexpected coloration does not occur. That is, even if the light emission mode of the LED is not received at the timing when the stop condition is received, it is possible to simultaneously update the light emission states of the LEDs of each set at the timing when the ACK is returned.
図72は、本発明の第4の実施の形態の各装飾制御装置(スレーブ)に演出制御データを送信する際にCPU551とマスタIC(第1マスタIC570a又は第2マスタIC570b)との間で送受信される情報を説明する図である。なお、本発明の第1の実施の形態で対応する図35と共通する手順については、共通の符号を割り当てて説明を省略する。 FIG. 72 shows transmission and reception between the CPU 551 and a master IC (first master IC 570a or second master IC 570b) when transmitting effect control data to each decoration control device (slave) according to the fourth embodiment of this invention Is a diagram for explaining the information to be In addition, about the procedure in common with FIG. 35 corresponding in the 1st Embodiment of this invention, a common code | symbol is allocated and description is abbreviate | omitted.
演出制御装置550のCPU551は、演出制御を行う場合に、まず、コマンドREG581のスタートコンディション(STA)の出力を指示するビットに“1”を設定する(7201)。このとき、本発明の第1の実施の形態とは異なり、ストップコンディション(STO)の出力を指示するビットに“0”を設定し、ストップコンディションが出力されないように指示する。 When effect control is performed, the CPU 551 of the effect control device 550 first sets “1” to a bit instructing output of the start condition (STA) of the command REG 581 (7201). At this time, unlike the first embodiment of the present invention, “0” is set to the bit instructing the output of the stop condition (STO) to instruct not to output the stop condition.
マスタICは、コマンドREG581のSTA及びSTOに設定された値に基づいて、各スレーブにスタートコンディションを出力する(7211)。このとき出力されるスタートコンディションは、本発明の第4の実施の形態では、リスタートコンディションとなる。 The master IC outputs a start condition to each slave based on the values set in STA and STO of the command REG 581 (7211). The start condition output at this time is the restart condition in the fourth embodiment of the present invention.
そして、マスタICは、各スレーブで演出制御データを受信する準備が整うため、CPU551に割込信号を入力して割込みを発生させる。割込みが発生したCPU551は、出力用バッファ572に、制御対象のスレーブの最初の演出制御データ(図30のデータのうち1番目に送信されるバイト単位のデータ)を設定する(7202)。このとき、コマンドREG581のSTA及びSTOには“0”を設定する。 Then, since the master IC is ready to receive presentation control data in each slave, the master IC inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 which has generated an interrupt sets the first effect control data (data of byte unit transmitted first among the data of FIG. 30) in the output buffer 572 (7202). At this time, “0” is set to STA and STO of the command REG 581.
マスタICは、出力用バッファ572に設定された演出制御データ(スレーブのアドレスが格納されている)を、当該アドレスに対応するスレーブに出力する(3512)。このとき、出力されたアドレスに対応するスレーブは、受信した演出制御データに基づいて演出処理を実行する。 The master IC outputs the effect control data (the address of the slave 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 the rendering process based on the received rendering control data.
そして、演出制御データを受信したスレーブはACKを返信する。このとき、ACKを返信したスレーブは、このタイミングで制御対象の演出装置(LED)の発光態様を更新させる。 Then, the slave receiving the effect control data returns an ACK. At this time, the slave that has sent back the ACK updates the light emission mode of the effect 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 having received the ACK inputs an interrupt signal to the CPU 551 to generate an interrupt. Even when the master IC receives a NACK, the master IC inputs an interrupt signal to the CPU 551 to generate an interrupt. The CPU 551 which has generated an interrupt sets the next effect control data (data of the byte unit transmitted second in FIG. 30) of the slave to be controlled in the output buffer 572 and sets STA and STO of the command REG581. Sets "0" (7202). As a result, 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, the master IC inputs an interrupt signal to the CPU 551 every time it receives an ACK or NACK to generate an interrupt, and the CPU 551 which has generated an interrupt causes the output buffer 572 to control the next effect of the slave to be controlled. Data (data in units of bytes to be transmitted in the third and subsequent bytes in FIG. 30) is set, and the processing of setting “0” to STA and STO of the command REG 581 is repeated. This process is repeated until all the effect control data is transmitted.
全ての演出制御データが送信された後のタイミングで、割込みが発生したCPU551は、コマンドREG581のSTAに“1”、STOに“0”を設定する(7203)。その後、マスタICは、再度スタートコンディションを出力する、いわゆるリスタートコンディションを出力する(3513)。 At the timing after all the effect control data have been transmitted, the CPU 551 which has generated an interrupt sets “1” for STA of the command REG 581 and “0” for STO (7203). Thereafter, the master IC outputs a start condition again, that is, a so-called restart condition is output (3513).
続いて、CPU551及びマスタICは、2番目以降に制御されるスレーブのアドレスを順次指定して同様の処理を行う(7204、3514、7205、3515)。CPU551によって最後のn個めのスレーブに対する演出制御データの出力が完了し(7206)、さらに、マスタICが演出制御データを対応するスレーブに出力すると(3516)、全データの出力が完了する。 Subsequently, the CPU 551 and the master IC sequentially designate the addresses of slaves to be controlled second and subsequent, and perform the same processing (7204, 3514, 7205, 3515). The output of the effect control data for the last nth slave is completed by the CPU 551 (7206), and when the master IC outputs the effect control data to the corresponding slave (3516), the output of all the 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 output of presentation 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 has generated the interrupt sets “1” to SI of the command REG581. Leave the signal as it is set, and keep the signal level of the connection line SCL 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 an ACK. Therefore, the master IC transmits effect control data to the next slave without waiting for reception of the ACK transmitted from the slave. Therefore, since it becomes possible to transmit presentation control data continuously, it becomes possible to shorten the total required time required for transmission of presentation control data.
以下、図73及び図74のフローチャートを参照しながら、具体的に演出制御データを送信する手順について説明する。 Hereinafter, the procedure for transmitting the effect control data will be specifically 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 effect control periodic processing according to the fourth embodiment of this invention. In the fourth embodiment, since the effect control periodic processing of the first embodiment of the present invention shown in FIG. 39 is replaced with the processing of FIG. 73, the processing common to FIG. 39 is common. The code is assigned and the description is omitted.
本発明の第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. The Therefore, when not receiving ACK but receiving NACK indicating that data could not be properly received, the data was retransmitted.
一方、本発明の第4の実施の形態では、第1の実施の形態のようにバッファモードでデータを送信するのではなく、バイトモードでレジスタごとに演出制御データを送信する。そして、演出制御データが正常に送信できたか否かにかかわらず、連続的に演出制御データを送信し、演出制御データを再送するための処理は実行されない。 On the other hand, in the fourth embodiment of the present invention, instead of transmitting data in the buffer mode as in the first embodiment, presentation control data is transmitted for each register in the byte mode. And regardless of whether production control data were able to be transmitted normally, production control data is transmitted continuously and processing for resending production control data is not performed.
図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 processes of steps 3901 to 3907 and steps 3909 to 3911 are the same as in the first embodiment. Then, in the first embodiment, in order to transmit effect control data in the buffer mode, “1” is set to the MODE bit of the command register 581 in the processing of steps 3908 and 3912. On the other hand, in the fourth embodiment, since effect control data is transmitted in the byte mode, “0” is set to the MODE bit of the command register 581 by the processing of steps 7301 and 7302 instead of steps 3908 and 3912. Set
したがって、第4の実施の形態では、スレーブに送信する演出制御データ(図30に例示した30個のデータに相当)を1バイト送信する毎に、更新段階番号が1つずつ加算される。したがって、更新段階番号を0に初期化してスタートコンディションが出力された後、すべてのレジスタに設定された値が出力されるまで、すなわち、1スレーブ分の演出制御データが送信されるまで更新段階番号が更新されるようになっている。なお、図30に例示した30個のデータを送信する場合には、更新段階番号の最大値は29となる。 Therefore, in the fourth embodiment, one update step number is added each time one byte of effect control data (corresponding to 30 pieces of data illustrated in FIG. 30) to be transmitted to the slave is transmitted. Therefore, after the update stage number is initialized to 0 and the start condition is output, the update stage number is performed until values set in all the registers are output, that is, until one slave's worth of presentation control data is transmitted. Is to be updated. In the case of transmitting 30 pieces of data illustrated in FIG. 30, the maximum value of the update stage number is 29.
なお、図44に示した第1の実施の形態のデータの送信再開処理の継続を判断するための送信処理継続判定表は、第4の実施の形態においても共通に利用されるが、演出制御データ送信再開処理の継続判断4403における「更新段階番号=1」は、「更新段階番号≧1」に置換される。 In addition, although the transmission processing continuation determination table for determining continuation of the transmission resumption processing of data of the first embodiment shown in FIG. 44 is used in common also in the fourth embodiment, effect control “Update step number = 1” in the determination 4403 for continuation of data transmission restart processing is replaced with “update step number ≧ 1”.
さらに、第4の実施の形態では、演出制御データの再送を行わないため、再送回数を管理するリトライカウンタに関する処理は必要ない。したがって、リトライカウンタを初期化するステップ3915の処理が実行されないようになっている。 Furthermore, in the fourth embodiment, since the effect control data is not retransmitted, there is no need to perform processing on a retry counter that manages the number of retransmissions. Therefore, the process of step 3915 of initializing the retry counter is not performed.
さらに、ステップ3913、ステップ3914、ステップ3916からステップ3919のスレーブ出力データ編集処理まで第1の実施の形態と共通の処理が実行され、ステップ3920以降のエラー処理が第4の実施の形態では実行されないようになっている。 Furthermore, processing common to the first embodiment is executed from step 3913, step 3914, and slave output data editing processing from step 3916 to step 3919, and error processing after step 3920 is not executed in the fourth embodiment. It is supposed to be.
本発明の第1の実施の形態では、更新段階番号が0の場合にはスタートコンディション
(又は、リスタートコンディション)が出力された直後の状態であり、更新段階番号が1の場合にはデータが送信されている状態であることを示している。
In the first embodiment of the present invention, when the update step number is 0, this is a state immediately after the start condition (or restart condition) is output, and when the update step number is 1, the data is It indicates that it is in the state of being sent.
以上が、本発明の第4の実施の形態の演出制御定期処理の手順である。続いて、本発明の第4の実施の形態の演出制御データの送信再開処理の各手順について説明する。 The above is the procedure of the effect control periodic process of the fourth embodiment of this invention. Subsequently, each procedure of transmission resumption processing of effect control data according to the fourth embodiment of this invention will be described.
図74は、本発明の第4の実施の形態の演出制御データの送信再開処理の手順を示すフローチャートである。第4の実施の形態では、図43に示した本発明の第1の実施の形態の演出制御データの送信再開処理が、図74の処理に置換される。 FIG. 74 is a flow chart showing a procedure of transmission resumption processing of effect control data according to the fourth embodiment of this invention. In the fourth embodiment, the transmission restart process of the effect control data of 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 the update stage number is the maximum value (7402). When the update step number is the maximum value, as described above, the values set in all the registers are transmitted, and transmission of data in slave units is completed.
CPU551は、更新段階番号が最大値でない場合には(7402の結果が「N」)、未送信の演出制御データが残っているため、未送信のデータを送信する処理を実行する。具体的には、更新段階番号に1加算し(7403)、さらに、準備した出力データから加算された更新段階番号に対応するデータを抽出し(7404)、抽出されたデータを出力用バッファ572に設定する(7405)。 If the update stage number is not the maximum value (the result of 7402 is “N”), the CPU 551 executes a process of transmitting the unsent data since the unsent effect control data remains. Specifically, 1 is added to the update stage number (7403), and data corresponding to the added update stage number is extracted from the prepared output data (7404), and the extracted data is output to 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, the 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” to transmit the data set in the output buffer 572 in byte mode. It sets (7407) and returns to the processing of the calling source.
一方、CPU551は、更新段階番号が最大値となった場合には(7402の結果が「Y」)、1スレーブ分の演出制御データの送信が完了したため、すべてのスレーブについて演出制御データの送信が完了したか否かを判定する(7408)。すべてのスレーブについて演出制御データの送信が完了していない場合には(7408の結果が「N」)、次のスレーブを選択し(7410)、更新段階番号を0に設定する(7411)。 On the other hand, when the update step number reaches the maximum value (the result of 7402 is “Y”), the CPU 551 completes the transmission of the rendering control data for one slave, and thus transmits the rendering control data for all the slaves. It is judged whether it is completed (7408). If transmission of effect control data has not been 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)、呼び出し元の処理に復帰する。 Then, 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 the restart condition, and the STO and SI are set to "0". Further, in order to transmit the data set in the output buffer 572 in the byte mode, the MODE is set to "0" (7413), and the process is returned to the caller.
CPU551は、すべてのスレーブについて演出制御データの送信が完了した場合には(7408の結果が「Y」)、SIを“1”に設定した状態、すなわち、割り込みを発生させた状態で放置して(7414)、呼び出し元の処理に復帰する。このとき、接続線SCLの信号レベルをLOWに設定し、この信号レベルを維持する。 When the transmission of the rendering control data for all the slaves is completed (the result of 7408 is “Y”), the CPU 551 is left in a state where the SI is set to “1”, that is, in a state where an interrupt is generated. (7414) Return to the process of the caller. 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 manner, after the effect control data is transmitted to all the slaves, the interrupt is generated, and the signal level of the connection line SCL is set to LOW to maintain the state of the connection line SCL. As compared with the case where the signal level is set to HIGH, data transmission can be resumed immediately, and high-speed communication can be performed.
さらに、割り込みを発生させた状態で接続線SCLの信号レベルをLOWに維持してお
くことで、割り込みを発生させた状態でデータ信号線のレベルがノイズ等で変化しても、各スレーブが誤ってスタートコンディションが出力されたと認識することがないので、確実な通信を行うことができる。
Furthermore, by keeping the signal level of the connection line SCL LOW while the interrupt is generated, each slave is erroneous even if the level of the data signal line changes due to noise etc. in the state where the interrupt is generated. Communication can be performed because it is not recognized that the start condition is output.
図75は、本発明の第4の実施の形態の各スレーブに送信するデータの構造を説明する図である。 FIG. 75 is a diagram for explaining the structure of data to be transmitted to each slave according to the fourth embodiment of this invention.
本発明の第4の実施の形態では、他の実施の形態と同様に、1回の画像更新周期で第1スレーブから最終スレーブまで、すべてのスレーブにデータを送信する。そして、次の画像更新周期が始まるまで、すなわち、次のVDP割り込みが発生するまでの間、休止時間となる。送信データの構成については、他の実施の形態と同様である。 In the fourth embodiment of the present invention, as in the other embodiments, data is transmitted to all slaves from the first slave to the final slave in one image update cycle. Then, until the next image update cycle starts, that is, until the next VDP interrupt occurs, the pause time is reached. The configuration of 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 the stop condition is not output after the effect control data of all the slaves are output. However, when initialization instruction data is transmitted to the slave for initialization, as in the first embodiment, the stop condition is output after transmission of the initialization instruction data is completed (step in FIG. 42). 4216).
図76は、本発明の第4の実施の形態においてマスタICとスレーブとの間でデータを送受信するタイミングを説明する図である。 FIG. 76 is a diagram for explaining timings of 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, presentation control data is transmitted from the master IC to all slaves within an image update period, that is, an occurrence interval of a VDP interrupt. At this time, a reply signal (ACK) is returned from the slave to the master IC, but in the fourth embodiment of the present invention, the master IC ignores the returned ACK.
そして、前述のように、すべてのスレーブに対して演出制御データが送信された後であってもマスタICからストップコンディションが出力されないように構成されている。 As described above, the master IC does not output the stop condition even after the effect control data has been transmitted to all the slaves.
また、すべてのスレーブに対して演出制御データが送信された後、接続線SCLの信号レベルはLOWに設定されており、次の演出制御データを送信する場合には、接続線SCLの信号レベルをHIGHに設定し、さらに、接続線SDAの信号レベルをLOWに設定することによって、スタートコンディションが出力される。 In addition, after the rendering control data has been transmitted to all the slaves, the signal level of the connecting line SCL is set to LOW, and when transmitting the next rendering control data, the signal level of the connecting line SCL is set. A start condition is output by setting the signal level to HIGH and further setting the signal level of the connection line SDA to LOW.
従来、送信完了指令であるストップコンディションの出力後には、接続線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 which is the transmission completion command, the slave recognizes that the signal level of the connection line SDA is set to LOW due to noise or the like. On the side, there is a possibility that the start condition which is the transmission start command may be erroneously recognized as being output. On the other hand, such erroneous recognition is realized by setting the signal level of the connection line SCL to LOW after outputting the rendering control data to all the slaves as in the fourth embodiment of the present invention. It is possible to prevent the communication and to perform more accurate communication.
図77は、本発明の第4の実施の形態において装飾制御装置610がデータを受信したときに、マスタICにACKを出力した時点で、受信したデータをLEDの発光状態に反映させる場合について説明する図である。 FIG. 77 describes the case where the received data is reflected in the light emission state of the LED when the decoration control device 610 receives the data and outputs the ACK to the master IC in the fourth embodiment of the present invention. 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 for transmitting the effect control data, thereby specifying the specific effect device. It becomes possible to control with
以上のように、本発明の第4の実施の形態では、演出制御データを連続的に送信するため、ACKを受信するまでの待機時間を必要とせず、また、エラー処理を行うために必要なオーバーヘッドを削減することができる。 As described above, in the fourth embodiment of the present invention, in order to transmit effect control data continuously, it is not necessary to have a waiting time until receiving an ACK, and it is necessary to perform error processing. The overhead can be reduced.
特に、図71に示したように、複数のスレーブではなく、1つのスレーブ単位で演出を行えばよい場合には特に有効である。また、複数のマスタICを備える場合には、マスタICごとにストップコンディションで演出装置の演出態様を更新させたり、ACK送信タイミングで演出装置の演出態様を更新させたりすることによって、演出制御処理全体の負荷を軽減させることが可能となる。 In particular, as shown in FIG. 71, this is particularly effective when rendering can be performed in units of one slave instead of a plurality of slaves. When a plurality of master ICs are provided, the entire effect control process is performed by updating the effect mode of the effect device with a stop condition for each master IC or updating the effect mode of the effect device with an ACK transmission timing. It is possible to reduce the load on
なお、本発明の第4の実施の形態では、マスタICに接続される全てのスレーブ(I2CI/Oエクスパンダ)が、接続線SDAに返答信号を出力させるためのトランジスタ630(図18)を備えているが、必ずしもこのトランジスタ630は必要でない。第4の実施の形態のように単方向の通信を前提とするのであれば、このトランジスタが備えられていない特注品のスレーブICを使用することも可能である。 In the fourth embodiment of the present invention, the transistor 630 (FIG. 18) for causing all slaves (I 2 CI / O expanders) connected to the master IC to output a response signal to the connection line SDA. However, this 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 which is not provided with this transistor.
ただし、I2Cの通信で一般的に用いられる汎用品のスレーブ側のICには、このトランジスタが備えられているのが普通であるので、特注品と汎用品とが混在するようなネットワークが構成できることが好ましい。 However, since the general-purpose IC on the slave side generally used in I 2 C communication is normally provided with this transistor, there is a network in which a custom-made product and a general-purpose product are mixed. Preferably it can be configured.
本発明の第4の実施の形態の遊技機は、マスタIC側にて返答信号の確認を行わない構成であるので、接続線SDAを介してマスタICに返答信号を出力する機能を有するスレーブIC(例えば、汎用品スレーブIC)と、接続線SDAを介してマスタICに返答信号を出力する機能を有しないスレーブIC(例えば、特注品スレーブIC)の各々をマスタICに接続しても、問題なく動作させることが可能である。 The gaming machine according to the fourth embodiment of the present invention has a configuration in which confirmation of the response signal is not performed on the master IC side, so a slave IC having a function of outputting a response signal to the master IC via connection line SDA. Even if each of the general-purpose slave ICs (for example, a general-purpose slave IC) and a slave IC (for example, a custom-made slave IC) not having the function of outputting a response signal to the master IC through the connection line SDA is connected to the master IC It is possible to operate without.
また、実施の形態として、変動表示ゲームの結果に対応して特別遊技状態を発生するパチンコ機が開示されているが、変動表示ゲームに限らず、他の補助遊技の結果に対応して特別遊技状態を発生する遊技機であってもよいことは当然意図されるものである。 Although a pachinko machine that generates a special gaming state corresponding to the result of the variable display game is disclosed as an embodiment, the present invention is not limited to the variable display game, but a special game corresponding to the results of other auxiliary games. Naturally, it may be a gaming machine that generates a state.
例えば、所定条件の成立によって特定の入賞装置の入口が開口し(特定入賞装置の可動部材が作動して入口が開口し)、入賞装置内部へ取り込まれた遊技球が、入賞装置内部に設けられたいずれの入賞領域(特定入賞領域と一般入賞領域とがある)に入賞するかを抽選する遊技を補助遊技としてもよい。この場合、入賞装置内部へ取り込まれた遊技球が特定入賞領域に入賞することで、特別遊技状態が発生することになる。 For example, the entrance of a specific winning device is opened (the movable member of the specific winning device is activated and the inlet is opened) when the predetermined condition is met, and the gaming ball taken into the winning device is provided inside the winning device. A game in which lottery is performed in which prize area (having a specific prize area and a general prize area) may be used as the auxiliary game. In this case, the special gaming state is generated by the game ball taken into the inside of the winning device winning in the specific winning area.
また、実施の形態として、特図変動表示ゲームの結果に対応して特別遊技状態を発生するパチンコ機が開示されているが、普図変動表示ゲームの結果に対応して(あるいは、普図変動表示ゲームの結果に起因して)、特別遊技状態を発生する様なパチンコ機であっても、本発明が適用可能であることは当然意図されるものである。例えば、普図変動表示ゲームの結果により特定の入賞装置の入口が開口し、入賞装置内部へ取り込まれた遊技球が特定入賞領域へ入賞した場合に特別遊技状態を発生するパチンコ機であっても、本発明は適用可能である。 Also, as an embodiment, a pachinko machine that generates a special gaming state corresponding to the result of the special view variable display game is disclosed, but it corresponds to the result of the common view change display game (or Naturally, it is intended that the present invention is applicable even to a pachinko machine that generates a special game state) (due to the result of the display game). For example, even if it is a pachinko machine that generates a special gaming state when the entrance of a specific winning device is opened according to the result of the common view variation display game and the gaming ball taken into the winning device reaches a specific winning region. The invention is applicable.
また、実施の形態として、遊技制御装置と演出制御装置とが分離されている構成が開示されているが、遊技制御装置と演出制御装置とが一体となって一つの制御装置を構成していても差し支えないものであり、あるいは、遊技制御装置自身がグループ統括制御手段として構成されていても差し支えないことは当然意図されることである。 Moreover, although the structure by which the game control apparatus and the presentation control apparatus were isolate | separated is disclosed as embodiment, the game control apparatus and the presentation control apparatus are united and one control apparatus is comprised, and Naturally, it is naturally intended that the game control device itself may be configured as a group general control means.
さらに、本願明細書に開示した全ての実施の形態は、パチスロ機等の他の遊技機へも適
用が可能である。
Furthermore, all the embodiments disclosed in the present specification can be applied to other gaming machines such as pachislot machines.
なお、今回開示した実施の形態は、すべての点で例示であって制限的なものではない。また、本発明の範囲は前述した発明の説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味及び内容の範囲でのすべての変更が含まれることが意図される。 The embodiment disclosed this time is illustrative in all points and not restrictive. Further, 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 of meaning and contents equivalent to the scope of claims.
また、特許請求の範囲に記載した以外の本発明の観点の代表的なものとして、次のものがあげられる。 Moreover, the following are mentioned as a typical thing of the viewpoint of this invention except having described in the claim.
(1)遊技を統括的に制御する遊技制御手段と、該遊技制御手段からの指令に対応して、遊技の演出を行う複数系統の演出装置を系統毎に制御可能な演出制御手段と、を備える遊技機において、前記演出装置の系統の各々を複数グループに分割し、該分割されたグループに属する演出装置を制御するためのグループ単位制御手段を各グループ毎に設け、前記演出制御手段を、前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段として構成するとともに、前記グループ統括制御手段から前記グループ単位制御手段へタイミング信号を伝達するタイミング信号線と、前記グループ統括制御手段と前記グループ単位制御手段との間で、下り方向及び上り方向の各データが授受されるデータ信号線と、を備えることにより前記グループ統括制御手段と前記各グループ単位制御手段との間でデータ送信を可能とし、前記グループ統括制御手段は、前記データ信号線の信号レベルを、下り方向データに対応する信号レベルに設定しながら前記タイミング信号線の信号レベルを繰り返し変化させることで、順次前記グループ単位制御手段に下り方向データの送信を行う第1送信手段と、前記第1送信手段が下り方向データの送信を行う際に、前記データ信号線が占有状態であるか否かを判定する占有判定手段と、前記データ信号線が占有状態であると判定された場合に、前記第1送信手段による下り方向データの送信を規制する規制手段と、を備え、前記グループ単位制御手段は、前記第1送信手段が下り方向データの送信を行った前記データ信号線を介して、上り方向データを前記グループ統括制御手段へ出力する第2送信手段を備えるとともに、前記第1送信手段は、前記演出装置の制御に係わる演算処理を行う演算処理手段と、前記グループ単位制御手段と接続されて、前記演算処理手段からの指令に基づいて、該グループ単位制御手段との間の前記データ信号線及びタイミング信号線の各信号レベルを制御する信号レベル制御手段と、を含んで構成され、前記グループ統括制御手段は、前記信号レベル制御手段が出力する前記タイミング信号線の信号レベルにかかわらず、該タイミング信号線の信号レベルを変化させるタイミング信号線変化手段をさらに備えたことを特徴とする遊技機。 (1) game control means for controlling the game in an integrated manner, and effect control means capable of controlling, for each system, a plurality of effect devices for effecting a game in response to an instruction from the game control means In the gaming machine, each group of the rendering devices is divided into a plurality of groups, group unit control means for controlling the rendering devices belonging to the divided groups is provided for each group, and A timing control signal line for transmitting a timing signal from the group control unit to the group control unit; and a group control unit. And a data signal line for transmitting and receiving data in the down direction and the up direction with the group unit control means. Data transmission is enabled between the loop general control means and the group unit control means, and the group general control means sets the signal level of the data signal line to the signal level corresponding to the downward data. The first transmission means for sequentially transmitting the downlink data to the group unit control means by repeatedly changing the signal level of the timing signal line, and the first transmission means for transmitting the downlink data. Occupancy determination means for determining whether or not the data signal line is in an occupied state, and regulation for restricting transmission of downlink data by the first transmission means when it is determined that the data signal line is in an occupied state And the group unit control means is configured to transmit uplink data via the data signal line to which the first transmission means has transmitted downlink data. And a second transmission means for outputting the data to the group general control means, wherein the first transmission means is connected to an arithmetic processing means for performing arithmetic processing relating to control of the rendering device, and to the group unit control means. And signal level control means for controlling each signal level of the data signal line and the timing signal line between the group unit control means and the group unit control means based on a command from the arithmetic processing means. The general control means further comprises timing signal line changing means for changing the signal level of the timing signal line regardless of the signal level of the timing signal line output by the signal level control means. .
(2)前記タイミング信号線は、前記信号レベル制御手段及び前記タイミング信号線変化手段の少なくとも一方によってロウレベルに設定され、前記第2送信手段は、上り方向データを送信する際に前記データ信号線を占有してロウレベルに設定するデータ信号線占有手段と、前記タイミング信号線の信号レベルがハイレベルに維持された場合に前記データ信号線の占有を継続する占有継続手段と、前記データ信号線が占有された後、前記タイミング信号線の信号レベルがロウレベルに変化した場合に前記データ信号線の占有を解放する占有解放手段と、を備え、前記タイミング信号線変化手段は、前記データ信号線がロウレベルで占有されていることを検出すると、前記タイミング信号線の信号レベルをハイレベルからロウレベルに変化させることによって、前記データ信号線の占有を解除することを特徴とする(1)に記載の遊技機。 (2) The timing signal line is set to a low level by at least one of the signal level control means and the timing signal line changing means, and the second transmission means transmits the data signal line when transmitting uplink data. Data signal line occupancy means for occupying and setting to a low level, occupancy continuing means for continuing occupancy of the data signal line when the signal level of the timing signal line is maintained at high level, and the data signal line is occupied And the exclusive release means for releasing the occupation of the data signal line when the signal level of the timing signal line changes to the low level, and the timing signal line change means sets the data signal line to the low level. When it is detected that it is occupied, the signal level of the timing signal line is changed from high level to low level. By Rukoto, gaming machine according to (1) to release the occupation of the data signal lines.
(3)前記タイミング信号線変化手段は、前記信号レベル制御手段と同じ基板上に配置されており、前記演算処理手段は、前記タイミング信号線変化手段を制御することを特徴とする(2)に記載の遊技機。 (3) The timing signal line changing means is disposed on the same substrate as the signal level control means, and the arithmetic processing means controls the timing signal line changing means. (2) The gaming machine described.
(4)所定条件の成立により変動表示ゲームが実行され、該変動表示ゲームが特定の結
果態様となる場合に、遊技者に有利な特別遊技状態が生起されるとともに、前記複数系統の演出装置の一部として、遊技状態に応じて異なる発光態様に制御される発光体が具備され、前記グループ統括制御手段は、前記遊技状態に応じた前記発光体の発光態様を制御する発光制御データを更新する発光態様制御データ更新手段を備え、前記第1送信手段は、前記発光態様制御データ更新手段によって更新された発光制御データを定期的に送信し、前記グループ単位制御手段は、前記第1送信手段が送信した発光制御データを取り込む取込手段と、前記取込手段によって取り込まれた発光制御データに対応させて、前記発光体の発光態様を更新する発光態様更新手段と、を備え、前記発光態様制御データ更新手段は、前記変動表示ゲームが実行されている期間を通して、前記発光体を点灯させる発光制御データと前記発光体を消灯させる発光制御データとが切り替わるように、発光制御データの更新を行う第1の更新手段と、前記変動表示ゲームが実行されていない期間を通して、前記発光体を点灯させる発光制御データと前記発光体を消灯させる発光制御データとが切り替わるように、発光制御データの更新を行う第2の更新手段と、を備えたことを特徴とする(3)に記載の遊技機。
(4) When the variable display game is executed by the establishment of the predetermined condition and the variable display game results in a specific result mode, a special game state advantageous to the player is generated, and A light emitter controlled to have different light emission modes according to the game state is provided as a part, and the group general control means updates the light emission control data for controlling the light emission mode of the light emitter according to the game state A light emission mode control data updating means is provided, the first transmission means periodically transmits the light emission control data updated by the light emission mode control data update means, and the group unit control means is the first transmission means A light emission mode for updating the light emission mode of the light emitter in correspondence with the light emission control data acquired by the light emission control data acquired by the light emission control data acquired by the light emission control data transmitted by the light emission control data The light emission mode control data updating means switches between light emission control data for turning on the light emitter and light emission control data for turning off the light emitter through the period in which the variable display game is being executed. As described above, the first update means for updating the light emission control data, the light emission control data for turning on the light emitter and the light emission control data for turning off the light emitter through a period in which the variable display game is not executed The gaming machine according to (3), further comprising: a second updating unit that updates the light emission control data so as to switch.
(5)前記グループ単位制御手段は、前記取込手段がデータを取りこんだ際に、該データ送信を行った前記データ信号線を介して、前記グループ統括制御手段に返答信号を出力する返答信号出力手段を備え、前記グループ統括制御手段は、前記タイミング信号線変化手段によって前記データ信号線の占有を解除した後、前記グループ単位制御手段を初期化する初期化指示データを送信し、当該初期化指示データを前記取込手段によって取り込まれたことによって前記返答信号出力手段から送信された返答信号を受信したことによって、前記グループ単位制御手段が初期化されたことを確認する初期化確認手段を備えることを特徴とする(4)に記載の遊技機。 (5) The group unit control means outputs a reply signal to the group general control means through the data signal line which has transmitted the data when the take-in means takes in data. The group general control means transmits initialization instruction data for initializing the group unit control means after releasing the occupation of the data signal line by the timing signal line change means, and transmits the initialization instruction data. The system further comprises initialization confirmation means for confirming that the group unit control means has been initialized by receiving data from the response signal output means as the data is taken in by the acquisition means. The gaming machine according to (4), which is characterized by
(1)の発明によると、タイミング信号線変化手段を用いてタイミング信号線に信号を出力することによってデータ信号線の占有状態を迅速に解除することができる。 According to the invention of (1), by outputting a signal to the timing signal line using the timing signal line changing means, the occupied state of the data signal line can be released quickly.
(2)の発明によると、信号レベル制御手段がタイミング信号線を解放していれば、タイミング信号線変化手段がグループ単位制御手段に占有解除の信号をいつでも送信することが可能となる。 According to the invention of (2), when the signal level control means releases the timing signal line, the timing signal line changing means can transmit the signal of exclusive release to the group unit control means at any time.
(3)の発明によると、タイミング信号線変化手段が予期せぬタイミングで作動することを防止することができる。 According to the invention of (3), it is possible to prevent the timing signal line changing means from operating at an unexpected timing.
(4)の発明によると、変動表示ゲームが実行中であっても停止中であっても、演出装置の発光状態によって、通信異常の発生や異常からの復帰などの内部状態を確認することができる。 According to the invention of (4), it is possible to confirm an internal state such as occurrence of communication abnormality or recovery from abnormality depending on the light emission state of the rendering device, whether the variable display game is being executed or stopped. it can.
(5)の発明によると、返答信号の受信を確認してから初期化を行うことによって、データ信号線の状態が正常であること確認した上で次の制御を行うことができるので、不具合の再発を抑制することができる。 According to the invention of (5), the next control can be performed after confirming that the state of the data signal line is normal by performing initialization after confirming reception of the response signal. It is possible to suppress the recurrence.
以上のように、本発明は、演出制御装置が複数の装飾制御装置を介して演出装置を制御する遊技機に適用可能である。 As described above, the present invention is applicable to a game machine in which the effect control device controls the 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 I2CI/Oエクスパンダ
620 装飾装置
625 装飾装置基板
640 バス監視ウォッチドッグタイマ(WDT)
641 自己占有ウォッチドッグタイマ(WDT)
1600 簡易中継基板
3200、3300 異常判定テーブル
1 Game machine 2 Main unit frame (outer frame)
3 front frame (game slot)
9a, 9b Decorative member 10 Game board 12 Auxiliary gaming machine unit 13 1st movable lighting 13a Lighting drive 1st motor (MOT)
14 Second movable lighting 14a Lighting drive second motor (MOT)
15 Reliability notification device 29 Error notification LED
Reference Signs List 30 speaker 45 side lamp 51 center case 53 display device 58 movable effect device 63 first effect unit 64 second effect unit 70 first effect member 71 role-driving first motor (MOT)
80 second effect member 81 product drive second motor (MOT)
500 game control device 550 effect control device 570a 1st master IC
570b Second Master IC
581 Command register (REG)
582 Status register (REG)
583 Own Address Setting Register (REG)
600 relay board 603 free terminal monitor 610 decoration control device 615 I 2 CI / O expander 620 decoration device 625 decoration device substrate 640 bus monitoring watchdog timer (WDT)
641 Self-occupied Watchdog Timer (WDT)
1600 Simple relay board 3200, 3300 Error judgment table
Claims (1)
前記グループ単位制御手段の各々を統括的に制御するグループ統括制御手段を備え、
前記グループ統括制御手段と前記グループ単位制御手段との間に、データ信号線とタイミング信号線と、前記グループ単位制御手段に電源電圧を供給するための電源線と、を含むハーネスによりコネクタを介して接続することにより前記グループ統括制御手段から前記各グループ単位制御手段にデータの伝達を可能とし、
前記グループ単位制御手段は、
前記データ信号線と別個に設けられた初期化信号入力端子に、初期化信号が入力されることによって、当該グループ単位制御手段を初期化する第1初期化手段、及び、前記ハーネスの再接続により前記ハーネスを構成する電源線から当該グループ単位制御手段に電源供給が開始されると、当該グループ単位制御手段自身を電源供給による電圧上昇に基づいて初期化する第2初期化手段を備え、
前記グループ統括制御手段は、
前記演出装置の制御に関わる演算処理を行う演算処理手段と、
前記グループ単位制御手段と接続されて、前記演算処理手段からの指令に基づいて、該グループ単位制御手段との間の前記データ信号線及び前記タイミング信号線の各信号レベルを制御する信号レベル制御手段と、
を含んで構成され、
前記信号レベル制御手段は、
当該信号レベル制御手段に電源供給が開始されると自身の初期化を行う第3初期化手段、及び、前記演算処理手段と当該信号レベル制御手段の間に、初期化信号を伝達可能な初期化信号線を備えることによって、前記演算処理手段によって当該信号レベル制御手段の初期化を可能とする第4初期化手段を備え、
遊技を統括的に制御する遊技制御手段からの指令に基づいて遊技に係る演出を制御可能な演出制御手段を、前記グループ統括制御手段として構成するようにしたことを特徴とする遊技機。 A plurality of effect devices are divided into a plurality of groups, and group unit control means for controlling the effect devices belonging to the divided groups are provided in each group.
A group general control means for comprehensively controlling each of the group unit control means;
A connector including a data signal line, a timing signal line, and a power supply line for supplying a power supply voltage to the group unit control means between the group general control means and the group unit control means Connection enables data transmission from the group general control means to the group unit control means,
The group unit control means
First initialization means for initializing the group unit control means by inputting an initialization signal to an initialization signal input terminal provided separately from the data signal line, and reconnection of the harness When power supply to the group unit control means is started from the power supply line constituting the harness, the group unit control means itself is initialized based on the voltage rise due to the power supply, and the second initialization means is provided.
The group general control means
Arithmetic processing means for performing arithmetic processing related to control of the rendering device;
Signal level control means connected to the group unit control means for controlling each signal level of the data signal line and the timing signal line with the group unit control means based on a command from the arithmetic processing means When,
Is configured to include
The signal level control means
Third initialization means for initializing itself when power supply to the signal level control means is started, and initialization capable of transmitting an initialization signal between the arithmetic processing means and the signal level control means And a fourth initialization means for enabling initialization of the signal level control means by the arithmetic processing means by providing a signal line,
A game machine characterized in that an effect control means capable of controlling an effect relating to a game based on a command from the game control means for controlling the game in an integrated manner is configured as the group general control means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015215641A JP6502829B2 (en) | 2015-11-02 | 2015-11-02 | Gaming machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015215641A JP6502829B2 (en) | 2015-11-02 | 2015-11-02 | Gaming machine |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013012677A Division JP5870048B2 (en) | 2013-01-25 | 2013-01-25 | Game machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2016026037A JP2016026037A (en) | 2016-02-12 |
| JP6502829B2 true JP6502829B2 (en) | 2019-04-17 |
Family
ID=55303528
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015215641A Active JP6502829B2 (en) | 2015-11-02 | 2015-11-02 | Gaming machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6502829B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6502830B2 (en) * | 2015-11-02 | 2019-04-17 | 株式会社ソフイア | Gaming machine |
Family Cites Families (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0666061B2 (en) * | 1985-05-07 | 1994-08-24 | 富士ゼロックス株式会社 | Multi CPU communication device |
| JPH01305416A (en) * | 1988-06-03 | 1989-12-08 | Nec Corp | Data storage device |
| JP3334953B2 (en) * | 1993-08-02 | 2002-10-15 | 株式会社日立製作所 | Automotive communication system and control unit thereof |
| JPH09265436A (en) * | 1996-03-27 | 1997-10-07 | Victor Co Of Japan Ltd | Data transfer device |
| JP2001198273A (en) * | 2000-01-20 | 2001-07-24 | Sophia Co Ltd | Gaming machine |
| JP2001286645A (en) * | 2000-04-07 | 2001-10-16 | Aruze Corp | Gaming machine |
| JP2003190561A (en) * | 2001-12-28 | 2003-07-08 | Sankyo Kk | Game machine |
| JP2004121677A (en) * | 2002-10-04 | 2004-04-22 | Sankyo Kk | Game machine |
| JP2004252702A (en) * | 2003-02-20 | 2004-09-09 | Mitsubishi Electric Corp | IIC device access method for control circuit with IIC bus |
| JP4281409B2 (en) * | 2003-05-20 | 2009-06-17 | ソニー株式会社 | Information processing apparatus and method, and program |
| JP4590203B2 (en) * | 2004-04-30 | 2010-12-01 | 株式会社エルイーテック | Gaming machine control chip set and communication method between gaming machine control chips |
| JP2008212271A (en) * | 2007-03-01 | 2008-09-18 | Heiwa Corp | Game machine |
| JP2008220409A (en) * | 2007-03-08 | 2008-09-25 | Heiwa Corp | Game machine |
| JP5111976B2 (en) * | 2007-08-27 | 2013-01-09 | 株式会社三共 | Game machine |
| JP2010088668A (en) * | 2008-10-08 | 2010-04-22 | Sophia Co Ltd | Game machine |
| JP5286488B2 (en) * | 2008-10-08 | 2013-09-11 | 株式会社ソフイア | Game machine |
| JP6502830B2 (en) * | 2015-11-02 | 2019-04-17 | 株式会社ソフイア | Gaming machine |
-
2015
- 2015-11-02 JP JP2015215641A patent/JP6502829B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016026037A (en) | 2016-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5572893B2 (en) | Game machine | |
| JP5604708B2 (en) | Game machine | |
| JP5190096B2 (en) | Game machine | |
| JP6502829B2 (en) | Gaming machine | |
| JP5945744B2 (en) | Game machine | |
| JP6502830B2 (en) | Gaming machine | |
| JP5604707B2 (en) | Game machine | |
| JP5593510B2 (en) | Game machine | |
| JP6318403B2 (en) | Game machine | |
| JP5942155B2 (en) | Game machine | |
| JP5977480B2 (en) | Game machine | |
| JP5593509B2 (en) | Game machine | |
| JP2011160950A (en) | Game machine | |
| JP6393295B2 (en) | Game machine | |
| JP6240853B2 (en) | Game machine | |
| JP5938684B2 (en) | Game machine | |
| JP6149202B2 (en) | Game machine | |
| JP5974032B2 (en) | Game machine | |
| JP5935009B2 (en) | Game machine | |
| JP5938685B2 (en) | Game machine | |
| JP5455944B2 (en) | Game machine | |
| JP5909259B2 (en) | Game machine | |
| JP5870048B2 (en) | Game machine | |
| JP5977481B2 (en) | Game machine | |
| JP5572892B2 (en) | Game machine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20151201 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161011 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161208 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20161214 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170530 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170727 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20171212 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180227 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20180228 |
|
| A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20180427 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190118 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190322 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6502829 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |