JPH03242182A - Card type game system - Google Patents

Card type game system

Info

Publication number
JPH03242182A
JPH03242182A JP2331624A JP33162490A JPH03242182A JP H03242182 A JPH03242182 A JP H03242182A JP 2331624 A JP2331624 A JP 2331624A JP 33162490 A JP33162490 A JP 33162490A JP H03242182 A JPH03242182 A JP H03242182A
Authority
JP
Japan
Prior art keywords
card
data
unit
packet
machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2331624A
Other languages
Japanese (ja)
Other versions
JP2663210B2 (en
Inventor
Kichihei Niiyama
新山 吉平
Koji Ito
伊東 広司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sophia Co Ltd
Original Assignee
Sophia Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sophia Co Ltd filed Critical Sophia Co Ltd
Priority to JP2331624A priority Critical patent/JP2663210B2/en
Publication of JPH03242182A publication Critical patent/JPH03242182A/en
Application granted granted Critical
Publication of JP2663210B2 publication Critical patent/JP2663210B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

PURPOSE:To impartially give a game chance to all game customers by providing a switch for stopping the game control by discharging a card and migrating to a state the game can be executed again only by throwing in the same card, on a game machine. CONSTITUTION:When a game customer operates an interruption switch 114 for taking a rest although he has no mind to stop the game, a controller 180 of a unit controller 160 drives a card reader 800 and discharges temporarily a card through a pinball machine controller 195, and the machine becomes a holding state until the same card is inserted again, and does not receive other card during that time. Simultaneously, a managing device connected through a low layer network monitors an elapsed time in the course of interruption, and releases the pinball machine 100 being in the course of interruption to other game customer, when the time exceeds a prescribed time and becomes long. In such a way, the game chance can be given impartially to all the game customers without spoiling profits of the game customer.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はパ手ンコ機あるいはアレンジボール、スロット
マシン等の遊技機を用いた遊技システムに関し、特に金
銭と交換されたカードによって遊技が可能となるように
された遊技システムに利用して有効な技術に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a gaming system using gaming machines such as Patenko machines, arranged balls, and slot machines, and particularly to gaming systems that use gaming machines such as Patenko machines, arranged balls, and slot machines, and in particular, a gaming system that allows playing with cards exchanged for money. The present invention relates to techniques that are effective when used in gaming systems designed to

[従来の技術] 近年、カード状の記憶媒体を媒介として遊技を行なうよ
うにしたカード式のパチンコ遊技システムが提唱されて
いる。カード方式は、遊技客が記憶媒体であるカードの
みを持ち歩けばよく、落下し易いパチンコ球を大量に持
ち運ぶ手間を軽減することができるという利点がある。
[Prior Art] In recent years, a card-type pachinko game system has been proposed in which the game is played using a card-shaped storage medium as an intermediary. The card system has the advantage that the player only needs to carry the card, which is a storage medium, and can reduce the effort of carrying a large number of pachinko balls that are prone to falling.

従来提案されているカード式パチンコ遊技システムには
、大きく分けると次の2つの方式がある。
Card-based pachinko gaming systems that have been proposed in the past can be roughly divided into the following two systems.

第1の方式は、カードの発行に際して購入金額に対応し
た持玉数データをカードに記憶し、この持玉数データの
範囲内でパチンコ遊技を行ない、遊技過程において増減
した持玉数データをカードに記憶するというものである
(特公昭47−42227号参照)。
In the first method, when a card is issued, data on the number of balls held corresponding to the purchase amount is stored on the card, pachinko is played within the range of this data on the number of balls held, and data on the number of balls held that increases or decreases during the playing process is stored on the card. (See Japanese Patent Publication No. 47-42227).

カード方式の第2の方式は、カードの購入の際にコード
番号だけを記録したカードを発行し、持玉数は集中管理
装置に記憶し、カードをパチンコ機のカード読取装置に
挿入することによって記憶された持玉数を呼び出して遊
技を行なえるようにするものである(実公昭61−32
709号、特公昭51−1.7106号参照)。
The second card method is to issue a card with only a code number recorded at the time of card purchase, store the number of balls held in a central management device, and insert the card into the card reader of the pachinko machine. This allows you to play a game by calling up the stored number of balls you have (Jikko Kouko 61-32
No. 709, see Special Publication No. 51-1.7106).

[発明が解決しようとする課題] ところで、カード゛を使用しない現在のパチンコ店では
遊技客が長時間遊技台を離れているような場合、店員受
皿内の遊技球を抜き取って他の遊技客のために解放する
ことが行なわれる。
[Problem to be solved by the invention] By the way, in current pachinko parlors that do not use cards, when a player is away from the game machine for a long time, the staff member removes the game balls from the tray and gives them to other players. For this reason, it is released.

しかるに、カート式の遊技システムではカードの存在な
くしては遊技が行なえないようになっているので、カー
ドを残したまま遊技台を離れるとカートが盗まれてしま
うおそれがあるし、カードを持って遊技台を離れると他
の遊技客にその遊技台での遊技権利を取られてしまうお
それがある。
However, in cart-type gaming systems, games cannot be played without the presence of cards, so if you leave the gaming machine without cards, there is a risk that your cart will be stolen, and if you do not have cards with you, you may If the player leaves the gaming machine, there is a risk that other players may take away the right to play at the gaming machine.

そこで、カード式遊技システムでは各遊技機に中断スイ
ッチを設けて、その遊技台での遊技権利を留保したまま
カードを持って遊技台を離れることができるようにする
のが望ましい。
Therefore, in a card-based gaming system, it is desirable to provide each gaming machine with an interrupt switch so that the player can leave the gaming machine with the card while retaining the right to play at that gaming machine.

ただし、このようにすると、特定の遊技台の中断状態が
長時閲読いたような場合、遊技客がカードを持っている
が故に、従来当然のように行なわれていた遊技店の係員
による中断中の遊技台の解放が行なえなくなり、すべて
の遊技客に公平に遊技機会を与えたいという遊技店の要
望が達成できなくなる。また、中断時間が長い遊技台に
ついては電源を落として再起動させることも考えられる
が、それではそれまでのデータが消えてしまうので、当
該遊技客の利益が損なわれるという不都合がある。
However, if this is done, if the suspended state of a particular gaming machine is viewed for a long time, the suspension by the gaming parlor staff, which was normally done in the past, because the player has a card. As a result, the game parlor's desire to provide fair gaming opportunities to all players cannot be achieved. In addition, for game machines that have been interrupted for a long time, it may be possible to turn off the power and restart the machine, but this would erase the data up to that point, which would be inconvenient to the player in question.

この発明は上記のような背景の下になされたもので、遊
技中の遊技台における遊技権利を留保したままその遊技
台を離れることができるようにされたカード式遊技シス
テムにおいて、遊技客の利益を損なうことなく、すべて
の遊技客に公平に遊技機会を与えることができるように
することを目的とする。
The present invention was made against the above-mentioned background, and is designed to improve the interests of players in a card-based gaming system that allows players to leave the gaming machine while retaining their gaming rights. To provide a fair gaming opportunity to all players without compromising the quality of the game.

[課題を解決するための手段] 上記目的を達成するためこの発明は、複数の遊技機と管
理装置とを伝送路で接続し、金額もしくは玉数と実質的
に等価な有価データを、カードに対して与えられた識別
コード毎に管理装置において管理し、遊技機に挿入され
たカードより読み出した識別コードに基づいて上記管理
装置から得られた有価データの範囲内で遊技を可能なら
しめるようにされたカード式遊技システムにおいて、上
記遊技機にはカードを排出して遊技制御を停止し同一カ
ードの投入によってのみ再遊技可能な状態に移行させる
ためのスイッチを設けるとともに、管理装置には上記ス
イッチがオンされてからの中断継続時間の計数手段を設
け、コンソールからの指示により上記中断継続時間を外
部に表示できるように構成した。
[Means for Solving the Problem] In order to achieve the above object, the present invention connects a plurality of gaming machines and a management device through a transmission line, and transmits valuable data substantially equivalent to the amount of money or the number of balls to the card. The management device manages each identification code given to the game machine, and allows games to be played within the range of valuable data obtained from the management device based on the identification code read from the card inserted into the gaming machine. In the card-based gaming system, the gaming machine is equipped with a switch for discharging the card, stopping the gaming control, and returning to a state where the game can be played again only by inserting the same card, and the management device is equipped with the above-mentioned switch. A means for counting the duration of interruption after the switch is turned on is provided, and the interruption duration can be displayed externally according to an instruction from the console.

[作用] 上記した手段によれば、遊技中の遊技台における遊技権
利を留保したままその遊技台を離れることができるとと
もに、管理装置にて中断中の遊技台の経過時間をモニタ
できるとともに、長時間中断が続いた場合には管理装置
からの指令により中断中の遊技台を他の遊技客のために
強制的に解放できるようにして、一部の遊技客の利益を
損なうことなく、すにでの遊技客に公平に遊技機会を与
えることができるようになる。
[Function] According to the above-described means, it is possible to leave the gaming machine in which the game is being played while retaining the gaming rights, and it is also possible to monitor the elapsed time of the gaming machine during the suspension using the management device. If the time interruption continues, the suspended gaming machine can be forcibly released for other players by commands from the management device, so that the game machine can be forcibly released for use by other players, without harming the interests of some players. It becomes possible to provide fair gaming opportunities to players at

[実施例] 第1図に本発明を適用したパチンコ遊技システムの一実
施例を示す。
[Embodiment] FIG. 1 shows an embodiment of a pachinko gaming system to which the present invention is applied.

この実施例のパチンコ遊技システムは、遊技機としての
パチンコ機100と、各パチンコ機における遊技を開始
させるためローカルな有価価値を有する記憶媒体として
のカードCDを発行する記憶媒体発行装置としての発行
機200と、遊技の結果得られた賞品球および遊技に使
用せずに残った購入金を精算するための記憶媒体精算装
置としての精算機300と、上記各種端末機を集中的に
管理し、制御する管理装置400と、この管理装置14
00と各端末機を有機的に結合するデータ伝送路500
とからなり、これらによって、゛有機的結合体が構成さ
れる。この有機的結合体は、上記カードCDによっての
み介入が可能とされ、かつ有機的結合体によってのみカ
ードの運用とその有価データの変換が可能となっている
。そのため、有機的結合体の各構成要素たるパチンコ機
100、発行機200、精算fi300および管理装置
4゜Oには、それぞれカートリーダ(この明細書では。
The pachinko gaming system of this embodiment includes a pachinko machine 100 as a gaming machine, and an issuing machine as a storage medium issuing device that issues a card CD as a storage medium having local value in order to start a game in each pachinko machine. 200, a settlement machine 300 as a storage medium settlement device for settling the prize balls obtained as a result of the game and the purchase money remaining without being used for the game, and the various terminals mentioned above are centrally managed and controlled. management device 400 and this management device 14
A data transmission line 500 that organically connects 00 and each terminal device.
These constitute an ``organic bond.'' This organic combination can only intervene with the card CD, and only the organic combination can operate the card and convert its valuable data. Therefore, the pachinko machine 100, the issuing machine 200, the payment fi 300, and the management device 4°, which are the components of the organic combination, are each equipped with a cart reader (in this specification).

カードの磁気面への書込みを行うものもカートリーダと
称する)が設けられているとともに、カードの情報およ
び各端末機の情報は、管理装[400の記憶装置内にフ
ァイルの形で記憶されるようになっている。
A device that writes on the magnetic surface of the card is also called a cart reader), and information on the card and information on each terminal is stored in the form of a file in the storage device of the management device [400]. It looks like this.

次に、上記有機的結合体の各構成要素についての具体的
な説明に入る前に、本実施例のシステムに使用されるカ
ートについて説明する。
Next, before going into a specific explanation of each component of the above-mentioned organic composite, the cart used in the system of this embodiment will be explained.

本実施例のシステムに使用されるカードCDは、例えば
第2図(A)に示すように、購入金額AMや、発行年月
日(=有効年月日)DATE等遊技客にとって必要な情
報および破損カートの復活の際に必要な発行通し番号n
等が発行時に印字される印字表示部PRTがカード挿入
方向(カードの長手方向)に沿って設けられている。従
って、予め異なる金額を印字した複数種類のカードを用
意しておく必要がない。
The card CD used in the system of this embodiment contains information necessary for the player, such as the purchase amount AM and the date of issue (=validity date) DATE, as shown in FIG. 2 (A), for example. Issuance serial number n required when reviving a damaged cart
A print display section PRT on which the following information is printed at the time of issuance is provided along the card insertion direction (longitudinal direction of the card). Therefore, there is no need to prepare in advance multiple types of cards with different amounts printed on them.

この印字表示部PRTのすぐ上には、カードの状態すな
わち発行済、復活、遊技、帰零(ゼロ)および精算済等
カードの来歴もしくは状態遷移を穿孔の形で記録する穿
孔形成部としてのパンチ穴形成領域PHが、同じくカー
ド挿入方向に沿って設けられている。
Immediately above this print display part PRT, there is a punch as a perforation forming part that records the history or state transition of the card, such as issued, revived, played, returned to zero, and settled, in the form of a perforation. A hole forming area PH is also provided along the card insertion direction.

カードに形成された上記穿孔を光電検出器で検出するこ
とで、磁気面に記録されているコードを使って管理装置
のファイルから持玉数データを読み出して確認すること
なく容易にカートの状態を把握することができ、これに
よって、カードの状態に対応した処理を決定するのに要
するカードリーダのコントローラや管理装置の負担を軽
減することができる。
By detecting the perforations formed on the card with a photoelectric detector, you can easily check the cart status without having to read and check the number of balls data from the management device file using the code recorded on the magnetic surface. As a result, the burden on the card reader controller and management device required to determine the processing corresponding to the card status can be reduced.

一方、カードの中央よりやや下方の位置には、前端から
中央付近まで帯状の磁性材が塗布された磁気記録部MO
が設けられている(第2図(B)参照)。ただし、磁気
記録部MGはカードの長手方向の一部にのみでなく、印
字表示部PRTと同様カードの端から端まで連続する帯
状としてもよいし、あるいはカードの裏面全体に磁性材
を塗布して磁気記録部としてもよい。
On the other hand, at a position slightly below the center of the card, there is a magnetic recording section MO coated with a band-shaped magnetic material from the front edge to the vicinity of the center.
is provided (see FIG. 2(B)). However, the magnetic recording part MG may be formed not only in a part of the longitudinal direction of the card, but also in the form of a continuous band from one end of the card to the other, similar to the print display part PRT, or by applying a magnetic material to the entire back surface of the card. It may also be used as a magnetic recording section.

さらに、この実施例のカートでは、印字表示部PRTと
磁気記録部MGとの間、すなわちカードの中央にカード
リーダ内の搬送ローラよりも少し幅の広い帯状のローラ
走行領域RRAがカードの長平方向に沿って設けられて
おり、搬送ローラとの接触によりカードの表面、特にカ
ードの判定に利用される重要な情報を有する上記磁気記
録部MG、印字表示部PRT、真偽鑑別領域TFが損傷
されるのを防止し、それらの情報が読取り不能になるの
を回避できるようになっている。
Furthermore, in the cart of this embodiment, between the print display part PRT and the magnetic recording part MG, that is, in the center of the card, there is a belt-shaped roller running area RRA that is slightly wider than the transport roller in the card reader in the longitudinal direction of the card. The surface of the card, especially the magnetic recording section MG, print display section PRT, and authenticity discrimination area TF, which contain important information used for card judgment, are damaged by contact with the conveyance roller. This prevents the information from becoming unreadable.

また、この実施例のカードでは、磁気記録部MGの下方
にカード表面に印刷されるホール名等の文字中に隠匿さ
れたセキュリティマークからなる真偽鑑別領域TFを設
けである。すなわち、カードの表面に印刷されるrPL
AZAJなる文字を、第2図(C)に示すように各文字
の脚部が、3゜5−等のピッチで設けられる検出ビット
パターンB、−B9に対応する位置に来るようにデザイ
ンして印刷しておく。そして、文字幅が0.5〜1゜5
m、各ビット間が3.5鴫となるようにし、各ビットの
“1”またはO”を文字の濃淡で表現する。しかも、1
0個のビットのうち左から5番目のビットB4と最後の
ビットBgは、ビットB。
Further, in the card of this embodiment, an authenticity discrimination area TF consisting of a security mark hidden in characters such as hole names printed on the surface of the card is provided below the magnetic recording section MG. That is, the rPL printed on the front of the card
The letters AZAJ are designed so that the legs of each letter are located at positions corresponding to the detection bit patterns B, -B9, which are provided at a pitch of 3°5-, etc., as shown in Figure 2 (C). Print it out. And the character width is 0.5~1゜5
m, the distance between each bit is 3.5 digits, and each bit's "1" or "O" is expressed by the shading of the character.Moreover, 1
Among the 0 bits, the fifth bit B4 from the left and the last bit Bg are bit B.

〜B3とB、〜B9のパリティを表すように文字の濃淡
を決定しておく。なお、この文字列中に隠匿されたセキ
ュリティビットは、センサにおいてのみ検出でき、人間
の目には区別がつかないような特殊なインクを用いて形
成しておくとより好ましい。
The shading of the characters is determined in advance to represent the parity of ~B3, B, and ~B9. Note that it is more preferable that the security bit hidden in this character string be formed using a special ink that can be detected only by a sensor and is indistinguishable to the human eye.

さらに、この実施例の遊技カートの表面には、磁気記録
部MGに連続した帯状領域に磁気ヘッドの汚れを除去す
るためのクリーニング剤を塗付してなるヘッドクリーニ
ング領域HCNが設けられてい。これとともに、実施例
のカードでは、上記磁気記録部MGがどこに設けられて
いるか分からないようにするため、第2図(D)に示す
ように。
Further, on the surface of the game cart of this embodiment, a head cleaning area HCN is provided in which a cleaning agent for removing dirt from the magnetic head is applied to a band-shaped area continuous with the magnetic recording part MG. At the same time, in the card of the embodiment, in order to make it impossible to tell where the magnetic recording section MG is provided, it is arranged as shown in FIG. 2(D).

ポリエステル等のプラスチックからなる基材工1上に磁
性粒子を均一に塗付してなる磁気層12の上にホワイト
層上3を形成し、さらにその上に絵柄印刷層14を載せ
てからその一部(印字表示部PRTに対応する部位)に
感熱発色層15を形成し、その上方に透明な保護膜16
をコーティングしである。なお、クリーニング領域HC
Nにはホワイト層↓3と同一色のクリーニング剤を塗付
し、その表面には保護膜16がコーティングされないよ
うにして露出させ、クリーニング領域が他の部位と色彩
的にほとんど変わらないようにして、美観の向上を図っ
ている。また、カートの基材11の裏面には絵柄印刷層
17を形成し、その上を保護膜L8でコーティングする
ようになっている。
A white layer 3 is formed on a magnetic layer 12 made by uniformly coating magnetic particles on a base material 1 made of plastic such as polyester, and then a pattern printing layer 14 is placed on top of that. A thermosensitive coloring layer 15 is formed in the area (corresponding to the print display area PRT), and a transparent protective film 16 is formed above it.
It is coated with. In addition, the cleaning area HC
A cleaning agent of the same color as the white layer ↓ 3 is applied to N, and the surface is exposed so that the protective film 16 is not coated, so that the cleaning area is hardly different in color from other parts. , aiming to improve the aesthetic appearance. Further, a pattern printing layer 17 is formed on the back surface of the base material 11 of the cart, and the top thereof is coated with a protective film L8.

磁気層■2の表面にホワイト層13が形成されている上
記のような構造のカードにあっては、黒色の磁性粒子か
らなる磁気層12が白色のホワイト層13で覆われてい
るため、絵柄を印刷してファツション性の豊かなカート
を提供することが可能になるとともに、磁気記録部MG
を隠匿する機能も有している。
In a card with the above structure in which the white layer 13 is formed on the surface of the magnetic layer 2, the magnetic layer 12 made of black magnetic particles is covered with the white layer 13, so the picture It becomes possible to provide fashionable carts by printing
It also has the function of concealing.

さらに、カードの表面に保護膜16がコーティングされ
ているため、印字表示部PRTや磁気記録部MGおよび
真偽鑑別領域TF等カードの判別に使用される重要な情
報を保持する領域が保護され、それらの情報が破壊され
にくくなって、カートの信頼性が向上する。
Furthermore, since the surface of the card is coated with a protective film 16, areas that hold important information used for card identification, such as the print display section PRT, magnetic recording section MG, and authenticity discrimination area TF, are protected. This information becomes less susceptible to destruction, improving the reliability of the cart.

第2図(E)には、カードに設けられた磁気記録部MG
の構成例を示す。
FIG. 2(E) shows the magnetic recording section MG provided on the card.
An example of the configuration is shown below.

この実施例のカードの磁気記録部MOは2つのトラック
で構成され、このうち、第1のトラックTRClにはサ
ンプリングタイミングを与えるクロックデータを記録す
る。第2のトラックTRC2は、左から順に4ビツトの
開始符号とそのパリティピットの入るフィールドSTX
、カードリーダの製造元を示す企業コードMKCとカー
ドリーダの機種を示す機器コードMCC1遊技店の識別
コードDSC1年月日データDATE、カード番号N 
o 、カード発行時にカードリーダから与えられる発行
指令コードFNCおよび真偽鑑別領域から読み取られた
セキュリティデータSDCの入るテキストフィールドT
XT、テキスト終了符号の入るフィールドETX、テキ
ストデータと終了符号との排他的論理和の値(検出符号
)の入るフィールドLRCと開始符号の入るフィールド
STXとから構成されている。しかも、年月日データD
ATEは、4ビツトごとにそれぞれのパリティを示すビ
ットPが設けられているとともに、最初の4ビツトで「
月」を、第6〜第9ビツトと第工1ビットとで「日」を
、そして第12〜第14ビツトおよび第16〜第19ビ
ツトで西暦の下2桁を2進コート化してそれぞれ記録す
るようになっている。
The magnetic recording section MO of the card of this embodiment is composed of two tracks, of which clock data providing sampling timing is recorded in the first track TRCl. The second track TRC2 includes, from the left, a field STX containing a 4-bit start code and its parity pit.
, Company code MKC indicating the manufacturer of the card reader, Equipment code MCC indicating the model of the card reader1 Game parlor identification code DSC1Year month date data DATE, card number N
o Text field T containing the issuance command code FNC given by the card reader when issuing the card and the security data SDC read from the authenticity discrimination area
XT, a field ETX containing a text end code, a field LRC containing an exclusive OR value (detection code) of the text data and the end code, and a field STX containing a start code. Moreover, date data D
ATE has a bit P indicating parity for each 4 bits, and the first 4 bits
The month is recorded using the 6th to 9th bits and the 1st bit of the clock, and the 12th to 14th bits and the 16th to 19th bits are used to convert the last two digits of the year into binary code. It is supposed to be done.

磁気記録部を有するカードでは、一般に年月日から記録
フォーマットや記録データの解読するのが一番容易であ
るが、上記実施例のカードでは年月日の順序を入れ替え
るとともに、4ビツトごとにパリティピットを入れ、さ
らに記録ビットの対応に変化を持たせているため、カー
ドの偽造が極めて困難となる。また、発行通し番号nを
印字表示部PRTに印字するようになっているため、カ
ードの破損等により磁気記録部MGの情報が読出し不能
になっても管理装置のファイル情報からカードを復活す
ることができる。
For cards with a magnetic recording section, it is generally easiest to decipher the recording format and recorded data from the date, but in the card of the above example, the order of the year, month, and day is changed, and the parity is set every 4 bits. The presence of pits and the variable correspondence between recording bits make it extremely difficult to counterfeit cards. In addition, since the issuing serial number n is printed on the print display section PRT, even if the information in the magnetic recording section MG becomes unreadable due to damage to the card, it is possible to restore the card from the file information on the management device. can.

さらに、上述したように、この実施例のカードの磁気記
録部に記録される情報は、カードの使用可能空間を特定
するための識別コードDSCと。
Further, as described above, the information recorded in the magnetic recording section of the card of this embodiment is the identification code DSC for specifying the usable space of the card.

カードの有効期間を示すための発行年月日DATEと1
発行通し番号nから適当な関数もしくは変換方式を使っ
て得られる識別符号としての力〜ド番号と、エラー検出
用のチエツクコードのみであり、購入金額や持玉数は記
録されないようになっている。これらは、上記カード番
号NOによって管理装置1400のデータファイルから
リアルタイムで引出し可能な構成にしである。これによ
って、カードのコピーによる不正を防止し、かつ不正に
よる被害を最小限にとどめることができる。つまり、カ
ードがコピーされてもデータファイル内に登録されてい
る購入金額と獲得玉数以上の被害は生じないので、カー
ドをコピーするのは全くの無駄な行為となる。
Issue date DATE and 1 to indicate the validity period of the card
Only the power number as an identification code obtained from the issued serial number n using an appropriate function or conversion method and a check code for error detection are recorded, and the purchase price and number of balls held are not recorded. These are configured so that they can be drawn out in real time from the data file of the management device 1400 based on the card number NO. This makes it possible to prevent fraud due to card copying and to minimize damage caused by fraud. In other words, even if the card is copied, the damage will not be greater than the purchase amount and the number of acquired balls registered in the data file, so copying the card is a completely wasteful act.

しかも、上記実施例ではカードに記録された磁気記録情
報のみならず偽造が困難な真偽鑑別領域TFによっても
カード真偽を鑑定するようにしているので、カードの不
正をより確実に防止することができる。また、真偽鑑別
領域TFのチエツクにより不正カードを直ちに検出でき
るので、磁気情報を管理装置400に送って不正カード
の判定を行うよりもすばやく不正カードを発見すること
ができる。なお、磁気記録部を有するテレホンカード等
においても穿孔が形成されるようになっているが、従来
のカードの穿孔は未使用残額を使用者に知らせるために
設けられるものであり、カードリーダが穿孔を検出して
何らかの処理もしくは判定に利用するためのものではな
い。
Furthermore, in the embodiment described above, the authenticity of the card is determined not only by the magnetic recording information recorded on the card but also by the authenticity discrimination area TF, which is difficult to forge, so that card fraud can be more reliably prevented. I can do it. In addition, since a fraudulent card can be detected immediately by checking the authenticity discrimination area TF, a fraudulent card can be discovered more quickly than by sending magnetic information to the management device 400 to determine whether the card is fraudulent. Note that perforations are now also formed in telephone cards and the like that have magnetic recording parts, but the perforations in conventional cards are provided to inform the user of the unused balance; It is not intended to be used for any kind of processing or judgment.

次に、本来の遊技を提供する遊技機の構成例について第
3図〜第13図を用いて説明する。
Next, an example of the configuration of a gaming machine that provides the original game will be explained using FIGS. 3 to 13.

この実施例の遊技機はパチンコ機lOOと、該パチンコ
機と1対↓で対応されて遊技機本体上方の島設備等に配
置され、主として表示器とカードリーダに関する制御と
遊技中の稼動データの収集を司る制御ユニット160と
により構成される。
The gaming machine of this embodiment is arranged in island equipment above the gaming machine main body in one-to-one correspondence with the pachinko machine lOO, and mainly controls the display and card reader and controls the operation data during the game. and a control unit 160 that controls collection.

パチンコ機100は、パチンコ店の島設備に固定される
機枠101内に、ヒンジ102によって開閉自在に装着
される。機枠101の下部にはパチンコ機100の重量
に耐えかつ打球発射装置103の振動を吸収する操作ダ
イヤル補強部材107aを有する補強板107が固着さ
れている。パチンコ機■OOの下部には、封入球を一個
ずつ遊技領域内に発射する打球発射装置↓03とその操
作ダイヤル104が設けられており、また、操作ダイヤ
ル104の上方には、前記カードを使用した遊技開始の
手続きを可能にするための金額表示器111、玉数表示
器112、購入スイッチ113、中断スイッチ114、
終了スイッチ115、遊技状態表示器116等を備えた
操作パネル110が設けられている。パチンコ機前面の
遊技領域の構成は従来のものと同じである。購入スイッ
チ113は、制御ユニット160に内蔵されたカードリ
ーダ800へのカードの挿入を前提としてカードの有す
る金額の範囲内で、200円等の単位でこれを遊技球に
変換するための指示スイッチで、変換された遊技球が持
玉数となる。カードの残り金額は、100円を1単位と
する度数で金額表示器111に表示されるとともに、変
換された持玉数は玉数表示器112に表示され、打球発
射装置103により遊技球−つ発射されるごとに持玉数
が一つ減算され、入賞球が発生すると賞品玉数の分だけ
加算表示される。終了スイッチ115は遊技者が遊技を
終了させたくなったとき(遊技台を変更したい場合を含
む)にいつでもこれをオンさせることで、使用中のカー
ドを制御ユニット160より排出させることができる。
The pachinko machine 100 is mounted in a machine frame 101 fixed to island equipment of a pachinko parlor so that it can be opened and closed by a hinge 102. A reinforcing plate 107 having an operation dial reinforcing member 107a that withstands the weight of the pachinko machine 100 and absorbs vibrations of the ball launcher 103 is fixed to the lower part of the machine frame 101. At the bottom of the pachinko machine OO, there is a ball launcher ↓03 that launches the enclosed balls one by one into the game area, and its operation dial 104. Also, above the operation dial 104, the above-mentioned card is used. an amount display 111, a number of balls display 112, a purchase switch 113, an interruption switch 114,
An operation panel 110 is provided that includes an end switch 115, a game status display 116, and the like. The configuration of the playing area on the front of the pachinko machine is the same as the conventional one. The purchase switch 113 is an instruction switch for converting the amount of money into game balls in units of 200 yen or the like within the amount of money the card has, assuming that the card is inserted into the card reader 800 built into the control unit 160. , the converted game balls become the number of balls you have. The remaining amount of the card is displayed on the amount display 111 in units of 100 yen, and the converted number of balls is displayed on the number of balls display 112, and the ball launcher 103 displays the number of game balls. Each time a ball is fired, the number of balls held is subtracted by one, and when a winning ball occurs, the number of prize balls is added and displayed. By turning on the end switch 115 whenever the player wants to end the game (including when changing the game machine), the card being used can be ejected from the control unit 160.

そのときユニットコントローラ190はその時点で遊技
客の残金類と持玉数(購入玉と獲得球の和)を、管理装
置400のファイル内に登録してからカードをカードリ
ーダ800の挿排口802aより排出する。
At that time, the unit controller 190 registers the player's remaining balance and number of balls (sum of purchased balls and acquired balls) in the file of the management device 400, and then inserts the card into the slot 802a of the card reader 800. Emit more.

また、中断スイッチ114は、遊技者が現在遊技中の遊
技機での遊技を止める意思はないが、休憩のため一時的
に遊技を中断させるために使用するスイッチで、このス
イッチが操作されると、二ニットコントローラ190は
一旦カードを排出して再び同一カードが挿入されるまで
待機状態となり。
Furthermore, the interrupt switch 114 is a switch that is used by the player to temporarily interrupt the game for a break, even though the player does not intend to stop playing on the gaming machine that is currently being played. , the two-knit controller 190 once ejects the card and enters a standby state until the same card is inserted again.

その間他のカードを受は付けないようになる。なお、上
記各スイッチのうち購入スイッチ113はランプ内蔵型
で、持玉数がrOJになると購入スイッチ113内のラ
ンプが点滅される。
During this time, no other cards will be accepted. Incidentally, among the above-mentioned switches, the purchase switch 113 has a built-in lamp, and when the number of balls held reaches rOJ, the lamp inside the purchase switch 113 blinks.

操作パネル110は第4図に示すように、パチンコ機l
OOの下部の開閉可能な前面パネル105に装着され、
かつ断面三角形の中空状をなし、上面が前方に向かって
下り傾斜されることにより表示が読取り易いようになっ
ている、操作パネル110の内側には1表示面110a
と平行に配線基板12OA、120Bが配設され、この
基板120A上に7セグメント型LEDからなる金額表
示器111と玉数表示器112が、また基板120B上
に上記各スイッチ113〜115と内蔵ランプが取り付
けられ、表示プレート117で覆われている。この表示
プレート117の上記表示器111.112に対応する
部位は透明な窓部117aとされ、スイッチ113〜1
15に対応する部位は開口部117bとされている(第
5図参照)。そして、この開ロ部↓17b内には上記各
スイッチl↓3〜115の上方を覆うように操作ボタン
118が装着されている。工2]、は購入スイッチ11
3に対応された内蔵ランプである。
As shown in FIG. 4, the operation panel 110
It is attached to the front panel 105 that can be opened and closed at the bottom of the OO,
The operation panel 110 has a hollow shape with a triangular cross section, and its upper surface is sloped downward toward the front to make the display easy to read.
Wiring boards 12OA and 120B are arranged in parallel with the board 120A, and the amount display 111 and ball number display 112 made of 7-segment LEDs are mounted on the board 120A, and the above-mentioned switches 113 to 115 and built-in lamps are mounted on the board 120B. is attached and covered with a display plate 117. A portion of the display plate 117 corresponding to the display devices 111 and 112 is a transparent window portion 117a, and the switches 113 to 1
A portion corresponding to 15 is an opening 117b (see FIG. 5). An operation button 118 is mounted inside this opening ↓17b so as to cover the upper part of each of the switches ↓3-115. [Eng. 2], is the purchase switch 11
It is a built-in lamp compatible with 3.

また、操作パネル110前端には、半透明なフレネルレ
ンズ119等で表示ランプ↓23が覆われてなる遊技状
態表示部116が設けられており、この表示ランプ(2
3は打球発射装置]−03の操作ダイヤル104を回す
と点灯されるようになっている。
Further, at the front end of the operation panel 110, there is provided a game status display section 116 in which a display lamp ↓ 23 is covered with a translucent Fresnel lens 119 or the like.
3 is a batted ball launcher]-03 is turned on by turning the operation dial 104.

さらに、操作パネル110の側部(実施例では左側)に
は、ストップスイッチ124を内蔵した操作ボタン12
5が装着されており、このスイッチ124をオンさせる
と、遊技部内に配設された役物の作動を停止させるなど
遊技に関連する指令を与えることができるようになって
いる。ストップスイッチ124は、操作パネル110内
に配設された配線基板120C上に取り付けられ、この
配線基板120Cから延設された配線群126Cおよび
前記各基板12OA、120Bから延設された配線群1
26A、126Bが外部に引き出され、その端部に結合
されたコネクタ127A〜127Cにてパチンコ機裏面
下部を配置されたパチンコ機制御装置195に接続可能
にされている。
Furthermore, an operation button 12 with a built-in stop switch 124 is provided on the side of the operation panel 110 (on the left side in the embodiment).
5 is attached, and when this switch 124 is turned on, it is possible to give commands related to the game, such as stopping the operation of accessories arranged in the game section. The stop switch 124 is mounted on a wiring board 120C disposed within the operation panel 110, and includes a wiring group 126C extending from the wiring board 120C and a wiring group 1 extending from each of the boards 12OA and 120B.
26A and 126B are pulled out to the outside, and can be connected to a pachinko machine control device 195 disposed at the bottom of the back of the pachinko machine by connectors 127A to 127C coupled to their ends.

一方1本実施例の遊技機を構成するパチンコ機]、 O
Oは、機内に封入された遊技球を循環使用する密閉型遊
技機として構成されており、封入球を循環させる封入球
循環装置↓30を裏面に有している。
On the other hand, a pachinko machine constituting the gaming machine of this embodiment], O
O is configured as a closed game machine that circulates game balls sealed inside the machine, and has an enclosed ball circulation device ↓30 on the back side that circulates the enclosed balls.

パチンコ機100の裏面の構成例を第13図に示す。An example of the configuration of the back side of the pachinko machine 100 is shown in FIG.

遊技盤前面の遊技領域内に設けられた入賞領域に対応し
て遊技盤を貫通するように形成された複数の入賞球導出
孔を覆う入賞球集合樋131が、フレーム106に保持
された遊技盤の裏面に取り付けられている。入賞球集合
樋131の底壁は中央に向かって下り傾斜されて案内棚
131aとされ、その下方に、第7図のごとくアウト球
樋132aと第エセーフ球4132b、第2セーフ球樋
132cとが一体に形成されてなる誘導@132が配設
されている。この誘導樋132内の各種の途中には、一
対の投光、受光器からなる光電式のアウトセンサ5NS
Iと第1セーフセンサ5NS2、第2セーフセンサ5N
S3が取り付けられている。また、誘導@182は、各
種に流入した球を一箇所に集める合流機部132dを備
え、合流機部132dの終端は、第7図に示すようにパ
チンコ球を一列に整列せしめる人く緩やかに傾斜された
案内@133の上流側に接続され、これによって封入球
循環装W130が構成されている。そして、案内@13
3の上流側には発射レールに沿って打ち出された打球が
レール基板に向かって戻ってしまういわゆるファール球
を回収すべく発射レールの上端に設けられたファール球
受入口134(第9図参照)に臨むように配設されるフ
ァール線樋133aが一体に形成されており、ファール
球は誘導@132を介して案内@133上に流下された
球と合流されるようになっている。ファール線樋133
aの途中にはファールセンサ5NS4が配設されている
A game board in which a winning ball collection gutter 131 covering a plurality of winning ball outlet holes formed to penetrate the game board corresponding to a winning area provided in a playing area on the front side of the game board is held on a frame 106. is attached to the back of the The bottom wall of the winning ball gathering gutter 131 is sloped downward toward the center to form a guide shelf 131a, and below that, as shown in FIG. An integrally formed guide @132 is provided. A photoelectric out sensor 5NS consisting of a pair of light emitters and a light receiver is installed in each part of the guide gutter 132.
I, first safe sensor 5NS2, second safe sensor 5N
S3 is installed. In addition, the guide @ 182 is equipped with a merging machine part 132d that collects the balls that have flowed into each type into one place, and the end of the merging machine part 132d has a gentle shape that allows the pachinko balls to line up in a line, as shown in FIG. It is connected to the upstream side of the inclined guide @133, thereby forming an enclosed ball circulation system W130. And information @13
On the upstream side of 3, there is a foul ball receiving port 134 provided at the upper end of the firing rail to collect so-called foul balls that are hit balls that are hit along the firing rail and return toward the rail board (see Figure 9). A foul line gutter 133a is formed integrally with the foul line gutter 133a, which is arranged so as to face the foul ball, so that the foul ball is merged with the ball that has flown down onto the guide @133 via the guide @132. foul line gutter 133
A foul sensor 5NS4 is disposed in the middle of a.

そして、上記案内@133の下端部に、対向して、球−
つ分の収納部135aを有し、案内@133上の球を一
個ずつ分離して下方へ流下せしめる球送り135が揺動
可能に取付けられている。
Then, facing the lower end of the guide @133, a ball -
A ball feeder 135 is swingably mounted to separate the balls on the guide @ 133 one by one and cause them to flow downward.

球送り135の後方にはストッパ136が固設され、球
送り135の必要以上の回動を阻止して球送り135が
流入した球の重みで下方へ回動したときにその上辺端面
が案内4ii133上の球の流下を阻止できるようにな
っている。さらに、案内樋133の途中には回動自在な
球ならし137が取り付けられているとともに、下流に
はスライド式の球抜き機構138が設けられている。
A stopper 136 is fixed to the rear of the ball feeder 135, and prevents the ball feeder 135 from rotating more than necessary, so that when the ball feeder 135 rotates downward due to the weight of the inflowing balls, the upper end surface of the stopper 136 serves as the guide 4ii133. It is designed to prevent the balls above from falling. Furthermore, a rotatable ball leveler 137 is attached to the middle of the guide trough 133, and a sliding ball removing mechanism 138 is provided downstream.

この球抜き機構138は、第8図に示すように、封入球
循環装置130がフレームボード109の裏面に装着さ
れた状態では、フレームボード裏面に突設された阻止片
148によって横方向のスライドが阻止され、球抜きを
行えないようになっている。しかして、封入球循環装置
130はその一側(第8図では右側)に設けられたヒン
ジ部139にて全体が回動できるように取り付けられて
おり、ヒンジ部139を中心にして後方へ回動されると
、球抜き機構138をスライドさせて球抜きを行える。
As shown in FIG. 8, this ball extraction mechanism 138 prevents the ball from sliding in the lateral direction by a blocking piece 148 protruding from the back surface of the frame board 109 when the enclosed ball circulating device 130 is attached to the back surface of the frame board 109. This prevents him from removing the ball. Thus, the enclosed ball circulating device 130 is attached so that it can rotate as a whole at a hinge portion 139 provided on one side (the right side in FIG. 8), and rotates rearward around the hinge portion 139. When the ball is moved, the ball removal mechanism 138 can be slid to remove the ball.

しかも、案内樋133の端部には弾性係止片133aが
固着されており、これをフレームボート109の係合段
部149に係合させることで、封入球循環装置130を
回動できないように固定させることができる。
Furthermore, an elastic locking piece 133a is fixed to the end of the guide gutter 133, and by engaging this with the engagement step 149 of the frame boat 109, the enclosed ball circulation device 130 can be prevented from rotating. It can be fixed.

球送り135により分離されたパチンコ球は。The pachinko balls separated by the ball feeder 135.

前面パネル105の後方に配設されたフレームボード1
09に形成された球通過孔L39(第9図参照)を通っ
て、フレームボードの前面に斜めに固着された発射レー
ル140の基部に一個宛流下される。そして、この発射
レール140の基部に臨むように発射杆103aが配設
される(第10図参照)。これとともに、発射レール1
40の基部の下方には、上記発射杆103aに連動して
回動され、上記球送り135を上方へ押し上げる押上げ
片141aを有する連動部材141が配設されている。
Frame board 1 arranged behind the front panel 105
One ball passes through a ball passing hole L39 (see FIG. 9) formed in 09 and flows down to the base of a firing rail 140 diagonally fixed to the front surface of the frame board. A firing rod 103a is arranged so as to face the base of this firing rail 140 (see FIG. 10). Along with this, launch rail 1
An interlocking member 141 is disposed below the base of the ball 40 and has a push-up piece 141a that is rotated in conjunction with the firing rod 103a and pushes up the ball feeder 135 upward.

また、発射レール140の上面には球を誘導するため凹
状の溝が形成されているとともに、フレームボード10
9の前面にはレール上を通過する球を検出する発射型光
電スイッチからなる発射センサ5NS5がブラケット1
42によってレール上面と球−つ分以上の間隔をおいて
装着され、この発射センサ5NS5の取付はブラケット
142の上端には、戻り球がこのセンサを飛び越してし
まうのを防止する戻り球阻止壁143が設けられている
。さらに1発射レール140の上端に対応してフレーム
ボード109には戻り球をフレームボート後方の誘導@
132内へ導くファール球受入口134が形成され、こ
のファール球受入口134の下辺に沿って線受は片14
4が突設されている。
Further, a concave groove is formed on the upper surface of the launch rail 140 to guide the ball, and the frame board 140 is provided with a concave groove for guiding the ball.
On the front of bracket 9 is a launch sensor 5NS5 consisting of a launch type photoelectric switch that detects a ball passing on the rail.
42, the firing sensor 5NS5 is attached to the upper surface of the rail with a distance of at least one ball length, and at the upper end of the bracket 142 there is a return ball prevention wall 143 that prevents the return ball from jumping over the sensor. is provided. Furthermore, the return ball is guided to the rear of the frame boat on the frame board 109 corresponding to the upper end of the first launch rail 140.
A foul ball receiving port 134 is formed to guide the foul ball into the foul ball receiving port 132, and a line receiver is formed along the lower side of this foul ball receiving port 134.
4 is provided protrudingly.

なお、フレームボード109の上端には遊技盤の載置部
109aが設けられているとともに1両端には遊技盤位
置決め用突起145が立設されている。また、フレーム
ボード109の上端に沿って、遊技盤を保持するための
フレーム106が係合可能な溝を有するフレーム係合部
146が形成されており、第11図に示すように、フレ
ームボード109の上方よりフレーム↓06を位置決め
用突起145に沿って降下させ、下端をフレーム係合部
146の溝に係合させることにより両者を結合すること
ができるようになっている。上記フレーム106の側壁
には遊技盤を着脱可能に係合する係止具106aが4個
設けられており、フレーム106に保持された遊技盤を
フレームボード109の載置部109aに載置させた状
態で止着具147を締め付けて固定する。なお、フレー
ムボード109の前面−側(第9図では左側)には遊技
に関連した効果音を発生するスピーカ150が取り付け
られている。
A game board mounting portion 109a is provided at the upper end of the frame board 109, and game board positioning protrusions 145 are erected at both ends of the frame board 109. Further, a frame engaging portion 146 having a groove in which the frame 106 for holding the game board can be engaged is formed along the upper end of the frame board 109, and as shown in FIG. By lowering the frame ↓06 from above along the positioning protrusion 145 and engaging the lower end with the groove of the frame engaging portion 146, the two can be coupled. Four locking tools 106a are provided on the side wall of the frame 106 to removably engage the game board, and the game board held by the frame 106 is placed on the mounting portion 109a of the frame board 109. In this state, the fastener 147 is tightened and fixed. A speaker 150 is attached to the front side (left side in FIG. 9) of the frame board 109 to generate sound effects related to the game.

一方、フレームボード109の前方を覆う前面パネル1
05は第10図に示すように、前面枠■08内側の保持
枠108cで縁取られた開口部下部に一端(左端)を支
点に開閉可能に装着され、その裏側には発射レール14
0に対応して、その上方に位置される発射レール枠15
1が固着され、この発射レール枠151の途中には、前
記発射センサ5NS5が枠内に臨むことができるように
するための切欠き王51aが設けられている。また。
On the other hand, the front panel 1 that covers the front of the frame board 109
As shown in Fig. 10, 05 is attached to the lower part of the opening bordered by the holding frame 108c inside the front frame 08 so that it can be opened and closed using one end (left end) as a fulcrum, and the firing rail 14 is attached to the back side of the opening.
0 and is located above the launch rail frame 15.
A notch 51a is provided in the middle of the firing rail frame 151 so that the firing sensor 5NS5 can face inside the frame. Also.

前面パネル105のヒンジと反対側の端部裏面には、ロ
ックレバ−152が設けられている。前面枠10’8内
の上記前面パネル105上方には、ガラス枠154が同
じく開閉可能に取り付けられている。一方、前面枠10
8の裏面のヒンジ部102と反対側の一側には、第12
図に示すように、前面を機枠101に係止させるための
係止具156とその施錠装置157とが装着されている
。また、155はガラス枠154の開放レバーである。
A lock lever 152 is provided on the back surface of the end of the front panel 105 opposite to the hinge. A glass frame 154 is attached above the front panel 105 in the front frame 10'8 so as to be openable and closable. On the other hand, the front frame 10
On one side opposite to the hinge part 102 on the back side of 8, there is a 12th
As shown in the figure, a locking tool 156 and a locking device 157 for locking the front surface to the machine frame 101 are attached. Further, 155 is a lever for opening the glass frame 154.

この前面枠108の裏面に、遊技盤を保持したフレーム
106(第1上図参照)とフレームボード109を、前
面枠裏面の嵌合受部108bにフレーム裏面の嵌合突起
106b、フレームボード裏面の嵌合突起109bを一
致させるようにして接合させ、ネジ止めすることにより
前面枠108と遊技盤を保持したフレーム106とフレ
ームボード109とが一体化される。
The frame 106 holding the game board (see the first upper figure) and the frame board 109 are placed on the back side of the front frame 108, and the fitting protrusion 106b on the back side of the frame is inserted into the fitting receiving part 108b on the back side of the front frame, and the fitting protrusion 106b on the back side of the frame board is placed on the back side of the frame board. The front frame 108, the frame 106 holding the game board, and the frame board 109 are integrated by aligning the fitting protrusions 109b, joining them, and screwing them together.

第13図はこのようにして前面枠108の裏面にフレー
ム106とフレームボート109を取り付けた状態を示
しており、フレーム106に保持された遊技盤の裏面に
は更に入賞球集合樋131が装着され、またフレームボ
ード109の下方にはパチンコ機制御装置195が配設
されている。
FIG. 13 shows a state where the frame 106 and frame boat 109 are attached to the back side of the front frame 108 in this way, and the winning ball collection gutter 131 is further attached to the back side of the game board held by the frame 106. Further, a pachinko machine control device 195 is arranged below the frame board 109.

さらに、フレーム106および入賞球集合樋131の裏
面には遊技の制御装置158や中継基板159が装着さ
れている。
Furthermore, a game control device 158 and a relay board 159 are attached to the back surfaces of the frame 106 and the winning ball gathering gutter 131.

第(4図〜第16図に、パチンコ機100と別個に構成
された制御ユニット160の実施例が示されている。
4 to 16 show an embodiment of a control unit 160 configured separately from the pachinko machine 100.

この実施例の制御ユニット160は、収納枠■61の前
面にパチンコ機の状態を示す状態表示器162と、複数
個のランプが一列に整列されてなるアナログ表示器16
3、入賞球発生表示用のセーフ球ランプ164、係員呼
出し用の呼出しボタン165等を有している。上記アナ
ログ表示器163は、遊技中の持玉数をアナログ的に表
示したり、打止め状態やフリー状態を同時点滅と移動点
滅で表示するのに用いられる。
The control unit 160 of this embodiment includes a status display 162 on the front side of a storage frame 61 that shows the status of the pachinko machine, and an analog display 16 that includes a plurality of lamps arranged in a line.
3. It has a safe ball lamp 164 for displaying the occurrence of winning balls, a call button 165 for calling an attendant, etc. The analog display 163 is used to display the number of balls held during the game in an analog manner, and to display the stopped state and free state by simultaneous flashing and moving flashing.

また、収納枠161内にはスピーカ166とカードリー
ダ800が内蔵され、収納枠前面にはカードリーダ80
0のカード挿排口802aが露出されており、この挿排
口802aの上方にはカードリーダ内にカートがあるか
否か示すカート保持表示ランプ167(LED↓)が、
カード挿排口802aの下方には制御ユニット160に
カードを挿入可能な状態にあるか否か表示するカード挿
入表示ランプ168が配置されている。
In addition, a speaker 166 and a card reader 800 are built into the storage frame 161, and a card reader 80 is installed in the front of the storage frame.
0 card insertion/ejection opening 802a is exposed, and above this insertion/ejection opening 802a is a cart holding indicator lamp 167 (LED↓) that indicates whether there is a cart in the card reader.
A card insertion indicator lamp 168 is arranged below the card insertion/ejection opening 802a to indicate whether or not a card can be inserted into the control unit 160.

さらに、制御ユニット160の収納枠161の前面パネ
ル161aの内側には、パチンコ機100を管理装置4
00と切り離した特異状態で、後述のテストカードを用
いて遊技動作を可能にさせるためのテストスイッチ17
9が配設され、収納枠の前面にはそのスイッチをピンを
用いて外部からオンさせることができるようにするため
のピン挿入孔169と、当該パチンコ機に与えられる台
番号を明示する銘板170がそれぞれ設けられている。
Furthermore, inside the front panel 161a of the storage frame 161 of the control unit 160, the pachinko machine 100 is stored in a management device 4.
A test switch 17 for enabling a gaming operation using a test card to be described later in a unique state separated from 00.
9 is arranged, and on the front side of the storage frame there is a pin insertion hole 169 for enabling the switch to be turned on from the outside using a pin, and a name plate 170 that clearly indicates the machine number assigned to the pachinko machine. are provided for each.

そして、制御ユニット160の前面パネル161aの内
側には、第15図に示すように台番号の銘板170に表
示された台番号の設定スイッチ171と、上記状態表示
器162やアナログ表示器163、セーフランプ164
の内蔵ランプ群L11〜L15.L21〜L28.L3
1.L32(第■6図参照)を有するランプ基板172
と、上記スピーカ166およびカード挿入ランプ168
の保持基板173が装着されている。また、呼出しボタ
ン165の後方には呼出しスイッチ165aが配設され
ている。
On the inside of the front panel 161a of the control unit 160, as shown in FIG. lamp 164
Built-in lamp group L11 to L15. L21-L28. L3
1. Lamp board 172 having L32 (see Figure 6)
and the speaker 166 and card insertion lamp 168.
A holding board 173 is attached. Further, a call switch 165a is provided behind the call button 165.

さらに、収納枠161内には、カードリーダ800と、
制御ユニット160全体の制御を司るユニットコントロ
ーラ190や伝送手段、モニタ表示器174,175,
176を有するユニット制御装置180とカードリーダ
制御装置!!188および電源装置177が内蔵されて
いる。また、カードリーダ800の下方には、カードリ
ーダ内の穿孔装置(後述)によって穿孔を行った際に生
じる穿孔片の収納箱178が着脱可能に配置されている
。なお、カードリーダ制御装置188を構成する基板上
には、上記カードリーダに対してカードの強制排出を指
令するカード排出スイッチが設けられている(図示省略
)。
Furthermore, inside the storage frame 161, a card reader 800 is installed.
A unit controller 190 that controls the entire control unit 160, transmission means, monitor display devices 174, 175,
Unit controller 180 and card reader controller with 176! ! 188 and a power supply device 177 are built in. Further, below the card reader 800, a storage box 178 for storing punched pieces produced when punching is performed by a punching device (described later) in the card reader is removably arranged. A card ejection switch (not shown) is provided on the board constituting the card reader control device 188 to instruct the card reader to forcefully eject the card.

上記制御ユニット160は、前面パネル161aの自由
端側に係止具179aとその解除レバー179bが設け
られており、解除レバー179bは前面パネル161a
の下端に形成された開口部161bに臨むようにされて
いる。そして、制御ユニット160は、第17図に示す
ようにパチンコ機100の機枠101およびこれと同一
高さのユニット設置台24上に載置されるようにされて
おり、しかもこのとき前面パネル161aがパチンコ機
の前面枠108と同一平面をなすように配置される。従
って、解除レバー179bが臨む前面パネル161の開
口部161bは、通常前面枠108の上面で閉塞され、
前面枠108を開くことによって開口部161bが露出
され、解除レバー179bを操作することができるよう
になる。
The control unit 160 is provided with a locking tool 179a and a release lever 179b on the free end side of the front panel 161a.
It faces an opening 161b formed at the lower end of. As shown in FIG. 17, the control unit 160 is placed on the machine frame 101 of the pachinko machine 100 and the unit installation stand 24 at the same height as the machine frame 101, and at this time, the front panel 161a is arranged so as to be flush with the front frame 108 of the pachinko machine. Therefore, the opening 161b of the front panel 161 facing the release lever 179b is normally closed by the upper surface of the front frame 108.
By opening the front frame 108, the opening 161b is exposed and the release lever 179b can be operated.

これによって、制御ユニット160には施錠装置を設け
る必要がなくなる。
This eliminates the need to provide the control unit 160 with a locking device.

なお、制御ユニット160内のユニット制御装置1.8
0は、光ファイバもしくは同軸ケーブルのような伝送路
によって、パチンコ機100の制御袋[195に、また
後述の伝送コントローラおよびローカルネットワーク(
伝送ケーブル)を介して管理装置400に接続される。
Note that the unit control device 1.8 in the control unit 160
0 is connected to the control bag [195] of the pachinko machine 100 via a transmission line such as an optical fiber or coaxial cable, and also to the transmission controller and local network (described later).
transmission cable) to the management device 400.

実施例の制御ユニット160はいずれの伝送路を用いて
もデータ伝送が行えるようにするため、収納枠16(の
裏面に光フアイバ用コネクタ186と同軸ケーブル用コ
ネクタ187が設けられている(第20図参照)。
The control unit 160 of the embodiment is provided with an optical fiber connector 186 and a coaxial cable connector 187 on the back side of the storage frame 16 (the 20th (see figure).

第18図〜第20図には、上記パチンコ機100と制御
ユニット160とからなる遊技機を載置する島設備の一
例とそれに遊技機を装備させた状態が示されている。
18 to 20 show an example of an island facility on which a gaming machine consisting of the pachinko machine 100 and the control unit 160 is mounted, and a state in which the gaming machine is installed therein.

この実施例の島設備は、基台21上に遊技機の幅に等し
い間隔をおいて複数本の支柱22が立設され、床から6
00程度の高さの位置には水平な載置台23が支柱22
にて固定されている。また、この載置台23の上方には
、前記機枠101の高さ分だけ離れた位置に第1の設置
棚24が、さらにその上方には第2の設置棚25がそれ
ぞれ支柱22にて固定されているとともに、第2設置棚
25の上方には支柱22の上端を覆うように天板26が
固定されている。なお、上記載置台23の前端は支柱2
2よりも少し手前に突出するようにされ、第1設置台2
4はその前端が支柱22よりも機枠101の厚み分だけ
後方に位置するようにされている。
In the island equipment of this embodiment, a plurality of supports 22 are erected on a base 21 at intervals equal to the width of the gaming machine, and 6
At a height of about 00, a horizontal mounting table 23 is mounted on a support 22.
It is fixed at . Further, above this mounting table 23, a first installation shelf 24 is located at a distance corresponding to the height of the machine frame 101, and further above that, a second installation shelf 25 is fixed with a support 22. At the same time, a top plate 26 is fixed above the second installation shelf 25 so as to cover the upper end of the support column 22. Note that the front end of the above-mentioned mounting table 23 is connected to the support 2.
The first installation stand 2 is made to protrude slightly in front of the
4 is arranged so that its front end is located behind the support column 22 by the thickness of the machine frame 101.

そして、上記支柱22間の載置台23上にそれぞれパチ
ンコ機100が機枠101とともに載置され、第1設置
台24からこれと同一平面をなす機枠101上にかけて
制御ユニット160が載l!される。また、第2設置台
25上にはローカルネットワークを構成する伝送路(図
示省略)が延設され、かつ各支柱22間には上記伝送路
を介して管理装置400との間でデータ伝送を行うため
のトランシーバ185が載置される。なお、トランシー
バ185の前方は上板27で閉塞され、載置台22の下
方は下板28で閉塞される。
Each pachinko machine 100 is placed on the mounting table 23 between the supports 22 together with the machine frame 101, and the control unit 160 is placed from the first installation table 24 onto the machine frame 101 which is on the same plane as the first installation table 24! be done. Further, a transmission path (not shown) constituting a local network is extended on the second installation stand 25, and data is transmitted between each support 22 and the management device 400 via the transmission path. A transceiver 185 is mounted for the purpose. Note that the front of the transceiver 185 is closed by an upper plate 27, and the lower part of the mounting table 22 is closed by a lower plate 28.

さらに、図示しないが、載置台22の下面には24Vの
電源ラインが延設され、天板26の下面には100Vの
電源ラインが延設されている。そして、載置台23上面
の各遊技機に対応した位置には24V電源用のコンセン
ト30が、また天板26の下面の桟29には100V電
源用のコンセント31が各遊技機に対応して3個ずつ設
けられている(第20図参照)。
Further, although not shown, a 24V power line extends to the lower surface of the mounting table 22, and a 100V power line extends to the lower surface of the top plate 26. A 24V power outlet 30 is provided at a position corresponding to each gaming machine on the top surface of the mounting table 23, and a 100V power outlet 31 is provided on a crosspiece 29 on the bottom surface of the top plate 26, corresponding to each gaming machine. (See Fig. 20).

第21図にパチンコ機100と制御ユニット↓60とか
らなる遊技機全体の制御システムの4ill或例が示さ
れている。
FIG. 21 shows an example of a control system for the entire gaming machine consisting of a pachinko machine 100 and a control unit 60.

同図において188は、第26図に示されているカード
リーダ800の各構成部品たる搬送モータ807、磁気
ヘッド821、穿孔袋[820等を制御するカードリー
ダ制御装置である。そして、このカードリーダ制御装置
188およびパチンコ機制御装置195と制御ユニット
160に設けられた各種スイッチ171,179や表示
器162゜163.164,168.スピーカ166は
、ユニット制御装置1180によって#御されるように
なっている。
In the same figure, 188 is a card reader control device that controls each component of the card reader 800 shown in FIG. 26, such as the transport motor 807, the magnetic head 821, and the perforated bag [820]. Various switches 171, 179 and displays 162, 163, 164, 168, . The speaker 166 is controlled by a unit control device 1180.

また、特に制限されないが、この実施例では光ケーブル
191を介して、パチンコ機100の制御装置195が
上記ユニット制御装置180に接続され、各種センサか
らの検出信号が入力されるとともに、表示器等に対する
駆動制御信号が出力される。光フアイバケーブルによる
通信を可能にするため、パラレルデータとシリアルデー
タの変換を行なう並−直列変換器や電気信号と光信号と
の変換を行なう光−電変換器等からなる光多重データリ
ンク(インタフェース)が、ユニット制御袋[180と
光フアイバケーブル191との間および光フアイバケー
ブル191とパチンコ機制御袋W195との接続部にそ
れぞれ設けられている(後述)。
Further, although not particularly limited, in this embodiment, a control device 195 of the pachinko machine 100 is connected to the unit control device 180 via an optical cable 191, and detection signals from various sensors are input, and a display device etc. A drive control signal is output. To enable communication using optical fiber cables, an optical multiplex data link (interface ) are provided between the unit control bag [180 and the optical fiber cable 191 and at the connection portion between the optical fiber cable 191 and the pachinko machine control bag W195 (described later).

光フアイバケーブル191をユニット制御装置1、80
とパチンコ機制御袋W195との間のデータ通信に使用
することにより、従来パチンコ機の裏側にて複雑に配設
されていた多数の配線をすっきりさせ、保守、管理を容
易にするとともに、ノイズによる誤動作を防止すること
ができる。
The optical fiber cable 191 is connected to the unit control devices 1 and 80.
By using it for data communication between the machine control bag W195 and the Pachinko machine control bag W195, it simplifies the large number of wires that were conventionally arranged in a complicated manner on the back of the Pachinko machine, making maintenance and management easier, and reducing the noise caused by noise. Malfunctions can be prevented.

上記パチンコ機制御装置195の制御下に、金額表示器
111や玉数表示器112、購入ランプ121、遊技状
態表示ランプ123や打球発射装置103の制御装置1
94および役物制御装置上58が置かれているとともに
、購入スイッチ113、中断スイッチ114.終了スイ
ッチ115やアウトセンサ等の球検出センサ5NSI〜
5NS5からの信号がパチンコ機制御装置195しこよ
って波形整形されてユニット制御装置180に供給され
るようになっている。そして、この実施例では、電源系
をAC24VとAClooVの2系統にしパチンコ機1
00側にはAC24Vを供給し。
Under the control of the pachinko machine control device 195, the control device 1 controls the amount display 111, the number of balls display 112, the purchase lamp 121, the game status display lamp 123, and the ball launcher 103.
94 and the accessory control device 58 are placed, as well as a purchase switch 113, an interrupt switch 114. Ball detection sensor 5NSI such as end switch 115 and out sensor
The signal from the 5NS5 is waveform-shaped by the pachinko machine control device 195 and then supplied to the unit control device 180. In this embodiment, the power supply system is two systems, AC24V and AClooV, and the pachinko machine 1
Supply AC24V to the 00 side.

制御ユニット160側にはAClooVを供給している
。このように供給電源を別にすることにより、電源系の
トラブルが多いパチンコ店において電源の影響でパチン
コ機制御ユニットが不用意に破壊するのを防止している
AClooV is supplied to the control unit 160 side. Separating the power supply in this way prevents the pachinko machine control unit from being accidentally destroyed due to the influence of the power supply in pachinko parlors where there are many problems with the power supply system.

第22図には上記パチンコ機制御装置上95の構成例が
示されている。
FIG. 22 shows an example of the configuration of the above pachinko machine control device 95.

パチンコ機制御装置195は、マイクロコンピュータか
らなるパチンコ機コントローラCPTJ↓と、このコン
トローラCPU1から出力される定期的なウォッチドッ
グパルスを監視してパルスが途切れたときにリセット信
号を発生するリセット回路R3T1と、ユニット制御装
置′L80との間の光データ伝送を可能にするためパレ
ラレル送信データをシリアルデータに変換する並直変換
手段およびシリアル受信データをパラレルデータに変換
する直並変換手段を備えた多重伝送コントローラCN 
T 1と、光コネクタ193を介して光ケーブル↑91
と接続される光電変換回路○ETと。
The pachinko machine control device 195 includes a pachinko machine controller CPTJ↓ consisting of a microcomputer, and a reset circuit R3T1 that monitors periodic watchdog pulses output from this controller CPU1 and generates a reset signal when the pulses are interrupted. , a multiplex transmission system equipped with a parallel-to-serial conversion means for converting parallel transmission data into serial data and a serial-to-parallel conversion means for converting serial reception data into parallel data in order to enable optical data transmission with the unit control device 'L80. Controller CN
T1 and optical cable ↑91 via optical connector 193
The photoelectric conversion circuit connected to ○ET.

各種センサからの検出信号のノイズをカットするフィル
タ回路FLT、金額表示器111や玉数表示器112へ
の表示データをデコードするデコーダDEC1,,DE
C2やその出力に基づいて表示器の駆動信号を形成する
ドライバDRVI、DRV2と、購入ランプ121や遊
技状態表示ランプ123、打球発射装置103の駆動信
号を形成するドライバDRV3とにより構成されている
A filter circuit FLT that cuts noise in detection signals from various sensors, and decoders DEC1, DE that decodes display data on the amount display 111 and ball number display 112.
It is composed of drivers DRVI and DRV2 that form drive signals for the display based on C2 and its output, and a driver DRV3 that forms drive signals for the purchase lamp 121, game status display lamp 123, and batted ball firing device 103.

このパチンコ機制御装置1195におけるセンサからの
検出信号の処理に関しては、単に検出信号からノイズを
除去し一定のパルス幅に整形してから発射球やセーフ球
等の検出データとしてユニット制御装置180へ送る。
Regarding the processing of the detection signal from the sensor in this pachinko machine control device 1195, the noise is simply removed from the detection signal, the signal is shaped into a constant pulse width, and then sent to the unit control device 180 as detection data of launching balls, safe balls, etc. .

つまり、パチンコ機制御装置195側ではセーフ球数等
の演算は行わず、そのような演算はユニット制御装置1
80の側で行うようになっている。
In other words, calculations such as the number of safe balls are not performed on the pachinko machine control device 195 side, and such calculations are performed by the unit control device 1.
It is supposed to be done on the 80's side.

また、パチンコ機では静電気等によりノイズが発生し易
いが、ウォッチドッグパルスを監視するリセット回路R
5Tlがあるためノイズ等によりパチンコ機コントロー
ラCPUIが暴走したとしても、暴走により定期的なウ
ォッチドッグパルスがなくなるとリセット信号を発生し
てCPUが初期化させるので、暴走を防止することがで
きる。
In addition, pachinko machines tend to generate noise due to static electricity, etc., but the reset circuit R that monitors the watchdog pulse
Because of the presence of 5Tl, even if the pachinko machine controller CPUI goes out of control due to noise or the like, when the regular watchdog pulse disappears due to the runaway, a reset signal is generated and the CPU is initialized, so the runaway can be prevented.

ウォッチドッグパルスは、CPU内部のタイマカウンタ
からの割込み等によって容易に発生させることができる
The watchdog pulse can be easily generated by an interrupt from a timer counter inside the CPU.

第23図には、ユニット制御装置180の構成例が示さ
れている。
FIG. 23 shows an example of the configuration of the unit control device 180.

ユニット制御装置180は、カードによるパチンコ遊技
を可能にさせるためカートリーダ制御装置188および
パチンコ機制御装置195を統括的に制御するユニット
コントローラ190と、管理装置400とのデータ伝送
に係る制御をするデータ伝送コントローラ551と、デ
ータ伝送コントローラの制御下でネットワークにおける
送受債権の確立およびデータの直並列変換を行うネット
ワークコントローラ553等から構成されている。
The unit control device 180 controls data transmission between the management device 400 and a unit controller 190 that collectively controls the cart reader control device 188 and the pachinko machine control device 195 to enable pachinko games using cards. It is composed of a transmission controller 551, a network controller 553, etc., which establishes receivables in the network and performs serial/parallel conversion of data under the control of the data transmission controller.

そして各コントローラ190と551問および551と
553間のデータの受は渡しは、デュアルポートメモリ
(RAM)550および552を介して実行できるよう
に構成されている。このうち、パケットメモリ552は
、送信データ記憶領域と受信データ記憶領域とに分かれ
ており、全ての送受信データ長を同一長にする(パケッ
ト化)のための調整機能と、データ伝送の高速化(2゜
5Mbps)を計るための緩衝機能とをもっている。
Data is exchanged between the controllers 190 and 551 and between the controllers 551 and 553 through dual port memories (RAMs) 550 and 552. Of these, the packet memory 552 is divided into a transmission data storage area and a reception data storage area, and has an adjustment function for making all transmission and reception data the same length (packetization), and a function for increasing the speed of data transmission (packetization). It has a buffer function to measure the speed (2.5 Mbps).

このパケットメモリ552は各々が256バイトの容量
を持つ4つのページで構成され、このうちページOは送
信要求パケットの送信に、またページlは定時データ送
信パケットの送信に使用される。一方、ページ2,3は
、データパケット受信用で交互に使用される。どのペー
ジを使うかは、データ伝送コントローラ551が、ネッ
トワークコントローラ553に指示する。データ伝送コ
ントローラ551が受信パケットデータの処理中。
This packet memory 552 is composed of four pages each having a capacity of 256 bytes, of which page O is used for transmitting a transmission request packet, and page I is used for transmitting a scheduled data transmission packet. On the other hand, pages 2 and 3 are used alternately for receiving data packets. The data transmission controller 551 instructs the network controller 553 as to which page to use. The data transmission controller 551 is processing received packet data.

次のパケットデータが送られてきたとしても、他のペー
ジに受信されるため、確実に全てのパケットを受信でき
る。各コントローラ551,553を同時に初期化でき
るようにするため共通のリセット回路555が設けられ
ている。
Even if the next packet data is sent, it will be received by another page, so all packets can be reliably received. A common reset circuit 555 is provided so that each controller 551, 553 can be initialized simultaneously.

ネットワークコントローラ553の管理装置400との
接続側には、受信データを波形整形するとともに送信デ
ータのドライブ能力を上げるために信号のレベル変換を
行う信号変換回路554および切換スイッチ542を介
して、光コネクタ186に接続可能にされているととも
に、低層ネットワークの伝送ラインが同軸ケーブルで構
成された場合にも対応できるように切換スイッチ542
を介して、送信信号と受信信号の分離および結合を図る
分岐回路540に接続可能にされている。
An optical connector is connected to the connection side of the network controller 553 to the management device 400 via a signal conversion circuit 554 that performs waveform shaping of received data and converts the signal level in order to increase the drive capability of transmitted data, and a changeover switch 542. 186, and also has a selector switch 542 so that it can be connected to a coaxial cable when the transmission line of the low-layer network is configured with a coaxial cable.
can be connected to a branch circuit 540 for separating and combining the transmitted signal and the received signal.

上記光コネクタ186には第20図の光トランシーバ1
85が接続される。
The optical connector 186 includes the optical transceiver 1 shown in FIG.
85 is connected.

さらに、データ伝送コントローラ551とネットワーク
コントローラ553との間には、データ伝送コントロー
ラ551からの要求に応じてネットワークコントローラ
553がデータの受信結果を記憶するためのラッチ回路
561と、データ伝送コントローラ55(が、ネットワ
ークコントローラ553に対するデータ送信指令等のコ
マンドを記憶させるラッチ回路562および低層ネット
ワーク用アドレスを記憶させるラッチ回路563と、ユ
ニット制御装置180内の通信制御状態の異常を表示す
るための3個のLEDランプからなるモニタ表示器55
6への表示データを記憶するラッチ回路564が設けら
れている。557は上記各ラッチ回路561〜564に
与えられたアドレスをデコードして選択信号を発生する
デコーダである。
Furthermore, between the data transmission controller 551 and the network controller 553, there is a latch circuit 561 for the network controller 553 to store the data reception result in response to a request from the data transmission controller 551, , a latch circuit 562 for storing commands such as a data transmission command to the network controller 553, a latch circuit 563 for storing a low-layer network address, and three LEDs for indicating an abnormality in the communication control state within the unit control device 180. Monitor display 55 consisting of a lamp
A latch circuit 564 is provided to store display data for 6. A decoder 557 decodes the address given to each of the latch circuits 561 to 564 and generates a selection signal.

一方、ユニットコントローラ190とカートリーダ制御
装置188との間には送受信データのレベル変換を行う
トランシーバ571が、またパチンコ機制御装置195
との間には送受信データの並−直変換を行う多重伝送コ
ントローラ572および光電変換装置573が接続され
ている。
On the other hand, between the unit controller 190 and the cart reader control device 188, there is a transceiver 571 that converts the level of transmitted and received data.
A multiplex transmission controller 572 and a photoelectric conversion device 573 that perform parallel-to-serial conversion of transmitted and received data are connected between the two.

さらに、ユニットコントローラ190には、データバス
581を介して、金額、玉数表示器の表示データ(セグ
メントデータおよびコモンデータ)をラッチするラッチ
回路574、購入ランプや遊技状態表示ランプ、打球発
射に対する制御信号をラッチするラッチ回路575、パ
チンコ機↓00および制御ユニット160に設けられた
各種スイッチからの入力信号を所定のタイミングでデー
タバス581上にのせたり各種ランプを表示させる出力
信号をラッチしたりする入出力コントローラ576と、
制御ユニット160内のスピーカ166より発生させる
音声データ等をラッチするラッチ回路577が接続され
ている。
Furthermore, the unit controller 190 includes, via a data bus 581, a latch circuit 574 that latches display data (segment data and common data) of the amount of money and number of balls display, a purchase lamp, a game status display lamp, and control for batted ball firing. A latch circuit 575 that latches signals, places input signals from various switches provided in the pachinko machine ↓00 and control unit 160 on the data bus 581 at predetermined timing, and latches output signals that display various lamps. an input/output controller 576;
A latch circuit 577 that latches audio data generated from the speaker 166 in the control unit 160 is connected.

582は音声合成LSI、583は高周波成分をカット
して音質を高めるローパスフィルタ、584は音量を調
整するアンプで、このうち音声音4LSI582は、複
数の音声データを内蔵のEPROM内に記憶しており、
ユニットコントローラ190から与えられる選択信号(
So〜S3)に応して音声データを選択して開始信号S
Tに同期して音声信号を出力し、リセット信号Rによっ
て出力を停止する。
582 is an audio synthesis LSI, 583 is a low-pass filter that cuts high frequency components and improves the sound quality, and 584 is an amplifier that adjusts the volume. Among these, the audio sound 4LSI 582 stores multiple audio data in its built-in EPROM. ,
Selection signal given from unit controller 190 (
So to S3), select the audio data and send the start signal S.
The audio signal is output in synchronization with T, and the output is stopped by the reset signal R.

なお、558はユニットコントローラ190の制御プロ
グラムを格納したプログラムROM、559は伝送コン
トローラ551の制御プログラムを格納したプログラム
ROMである。585はユニットコントローラ190か
ら出力されるアドレス信号をデコードして、プログラム
メモリ558やユニットメモリ550、ラッチ回路57
4,575.577および入出力コントローラ576の
選択信号を形成するデコーダである。
Note that 558 is a program ROM that stores a control program for the unit controller 190, and 559 is a program ROM that stores a control program for the transmission controller 551. 585 decodes the address signal output from the unit controller 190 and sends it to the program memory 558, unit memory 550, and latch circuit 57.
4,575.577 and a selection signal for the input/output controller 576.

上記のごとくユニット制御装置180は、管理装置40
0、カードリーダ制御装置188、パチンコ機制御装置
195の三方に情報交換の窓口を有しており、管理装置
400の制御下のもとにカードでパチンコ遊技をさせる
ための制御をするとともに、遊技結果として発生するパ
チンコ機遊技情報を定期的に管理装置に送信するソフト
ウェアを有している。さらに、この実施例のユニット制
御装置180においては、金額、玉数表示器を駆動させ
るべくユニットコントローラ190から出力される表示
データのうち、桁セレクト信号(コモン信号)は例えば
2 m sのような間隔で周期的に出力される点に着目
して、これをリセット回路555に、ウォッチドッグパ
ルスとして入力するようにしている。リセット回路55
5はパワーオンリセットの他、このウォッチドッグパル
スを監視してパルスがなくなるとリセット信号を発生す
るように構成されている。
As described above, the unit control device 180 controls the management device 40
0, the card reader control device 188, and the pachinko machine control device 195, which have information exchange windows on three sides, and control the pachinko game using cards under the control of the management device 400, as well as control the game. It has software that periodically sends the resulting pachinko machine game information to the management device. Furthermore, in the unit control device 180 of this embodiment, among the display data output from the unit controller 190 to drive the amount and number of balls display, the digit select signal (common signal) is, for example, 2 m s. Focusing on the point that is periodically output at intervals, this is inputted to the reset circuit 555 as a watchdog pulse. Reset circuit 55
In addition to the power-on reset, 5 is configured to monitor this watchdog pulse and generate a reset signal when the pulse disappears.

従って、ユニットコントローラ190がノイズ等により
暴走したとしても、暴走すると正常な間隔でコモン信号
が出力されなくなるため、リセット回路555が作動し
てユニットコントローラ190およびデータ伝送コント
ローラ551が初期化され、暴走が回避されるようにな
る。
Therefore, even if the unit controller 190 goes out of control due to noise or the like, the common signal will not be output at normal intervals when the unit controller 190 goes out of control, so the reset circuit 555 will operate and initialize the unit controller 190 and the data transmission controller 551 to prevent the out of control. Becomes avoided.

これとともに、ユニットコントローラ]−90は、内部
にタイマカウンタを有しており、送信要求に対する応答
としてのACK (肯定)またはNAK(否定)が一定
時間(ex、10秒)内に返ってこなかつたり、ACK
受信後一定時間(ex、2秒)内にパケットを送信でき
ないとき、あるいは内部メモリ(RAM)の乱れを検出
したときに、強制的に上記コモン信号をロウまたはハイ
レベルに固定することにより、自らリセットをかけるこ
とができるようになっている。なお、上記内部メモリの
乱れは、例えば初期化の際にメモリ内の所定の番地に特
定のコード(A55A等)を書き込んでおいて、それを
1m秒ごとに割込み処理でチエツクすることで容易に検
出することができる。
In addition, the unit controller]-90 has an internal timer counter, and if an ACK (affirmative) or NAK (negative) as a response to a transmission request is not returned within a certain period of time (ex, 10 seconds). ,ACK
When a packet cannot be transmitted within a certain period of time (ex, 2 seconds) after reception, or when a disturbance in the internal memory (RAM) is detected, the common signal is forcibly fixed to a low or high level. It is now possible to perform a reset. Note that the above-mentioned internal memory disturbance can be easily resolved by, for example, writing a specific code (A55A, etc.) to a predetermined address in the memory during initialization, and checking it every 1 millisecond using interrupt processing. can be detected.

さらに、実施例のユニット制御装置↓80は。Furthermore, the unit control device ↓80 of the embodiment.

データ伝送コントローラ553が一定時間(5゜12秒
)内にデータを送信できないときもユニットコントロー
ラ190を初期化させ、異常なデータが管理装置140
0に送信されたりしないように対処している。すなわち
、実施例では、ユニットメモリ550内にウォッチドッ
グカウンタ領域を設け、データ伝送コントローラ551
が、管理装置に対してデータを送信する度に所定のコー
トFFをセットし、ユニットコントローラ190が20
m5ごとにこのカウンタを「工」ずつカウントダウンさ
せる。従って、仮りにデータ伝送コントローラが5.1
2秒以上送信できない状態が続いたとすると、ユニット
メモリ550のウォッチドッグカウンタはrOJになる
ので、このカウンタを監視して、「OJになったならば
データ伝送コントローラ551がダウンしたと判定して
、自らリセットをかけるようにすることができる。
Even when the data transmission controller 553 cannot transmit data within a certain period of time (5°12 seconds), the unit controller 190 is initialized, and abnormal data is transmitted to the management device 140.
Measures are taken to prevent the data from being sent to 0. That is, in the embodiment, a watchdog counter area is provided in the unit memory 550, and the data transmission controller 551
sets a predetermined coat FF each time it sends data to the management device, and the unit controller 190
This counter is counted down by "work" every m5. Therefore, if the data transmission controller is 5.1
If the state in which transmission is not possible continues for more than 2 seconds, the watchdog counter of the unit memory 550 becomes rOJ, so monitor this counter and say, ``If it becomes OJ, it is determined that the data transmission controller 551 has gone down. You can reset it yourself.

しかも、この実施例では、ユニットメモリ550として
、ある所定の番地(7FE)にデータを書くと所定の端
子INTが立ち上がるような特殊なRAMが使用されて
おり、この機能を利用して、システムの立上り時にデー
タ伝送コントローラ551が上記所定番地にデータを書
き込んで端子INTを立ち七げ、その端子の信号をユニ
ットコントローラ190に入れて、ユニットメモリの使
用に対するコントローラ間の同期をとるようにしている
。なお、上記特定の端子INTはユニットコントローラ
190が上記所定の番地のデータをリートすると立ち下
がるようになっている。
Furthermore, in this embodiment, a special RAM is used as the unit memory 550 in which a predetermined terminal INT rises when data is written to a predetermined address (7FE). At startup, the data transmission controller 551 writes data to the predetermined location, turns on the terminal INT, and inputs the signal from that terminal to the unit controller 190 to synchronize the use of the unit memory between the controllers. Note that the specific terminal INT falls when the unit controller 190 reads data at the predetermined address.

一方、システム立ち上げ時における管理袋w400との
同期は、データ伝送コントローラ551によってなされ
、データ伝送コントローラが管理装置1400から発信
される回線テスト指令(口述)を受信し、その受信応答
を管理装置400に送信することによってなされる。
On the other hand, synchronization with the management bag w400 at the time of system startup is performed by the data transmission controller 551. This is done by sending to.

ところで、前述したようにパチンコ機制御装置195側
では、セーフ球数等の演算は行わず、そのような演算は
ユニット制御@l1l180の側で行うようになってお
り、ユニットコントローラ190には、セーフ信号等遊
技球に関する検出信号や購入スイッチ113からの信号
が入力されている。
By the way, as mentioned above, the pachinko machine control device 195 side does not calculate the number of safe balls, etc., but such calculations are performed on the unit control @l1l180 side. Detection signals related to game balls, such as signals, and signals from the purchase switch 113 are input.

ユニットコントローラ190は、これらの信号に基づい
て、出玉数、アウト玉数、持玉数、売上金額等の稼働デ
ータを演算したり、パチンコ機に関する稼働情報(遊技
状態)やモニタ情報等を生成し、それらをデュアルポー
トメモリからなるユニットメモリ550の送信データエ
リア5DA(第24図参照)に書き込む。
Based on these signals, the unit controller 190 calculates operating data such as the number of balls put out, number of out balls, number of balls held, and sales amount, and generates operating information (playing status) and monitor information regarding the pachinko machine. Then, they are written in the transmission data area 5DA (see FIG. 24) of the unit memory 550 consisting of a dual port memory.

ユニットメモリ550に書き込まれた稼働データ等は、
伝送コントローラ551による管理装置400との間の
データ交信によって管理装置に送られる。また、管理装
置400から送られてくるデータも一旦ユニットメモリ
550内の受信データエリアRDAに書き込まれ、ユニ
ットコントローラ↓90がこれを読み取ることによって
データの受信が行われる。ユニットメモリ550には、
その他の送信データや受信データがメモリ内にあること
を相手方のコントローラに伝えるためのコマンドやステ
ータス情報の入る交信用エリアCCAや各コントローラ
用のワーキングエリアU W AとDWAおよびコント
ローラ間同期用エリアC3Aが設けられている。
The operating data etc. written to the unit memory 550 are
The data is sent to the management device through data communication between the transmission controller 551 and the management device 400 . Further, the data sent from the management device 400 is also temporarily written in the reception data area RDA in the unit memory 550, and the unit controller ↓90 reads this to receive the data. In the unit memory 550,
Communication area CCA that contains commands and status information to notify the other controller that other transmitted data and received data are in memory, working areas UWA and DWA for each controller, and area C3A for synchronization between controllers. is provided.

パチンコ機 表上 ユニットメモリ 表3 表4 第24図にユニットメモリの全体の構成が、そして、表
t、表2および表3に、送信データエリアS D A 
、受信データエリアRDAおよび交信用エリアCCAの
構成例を示す。
Pachinko machine surface unit memory Table 3 Table 4 Figure 24 shows the overall configuration of the unit memory, and Table t, Table 2 and Table 3 show the transmission data area SD A
, shows a configuration example of a reception data area RDA and a communication area CCA.

なお、表1において示されているモニタ情報↓は、表4
に示すようにシステム立上り時のテスト実行中を示すビ
ット、初期値設定/未設定を示すビット、ホットコード
エラーを示すビット、ローカルネットワークの異常を示
すビット(低層用と高層用の2ピント)、遊技機異常を
示すビット等により構成されている。また、モニタ情報
2は、表5に示すようにカードリーダの異常を示すビッ
トを有している。
The monitor information shown in Table 1↓ is based on Table 4.
As shown in the figure, a bit indicates that a test is being executed when the system starts up, a bit indicates that the initial value is set/not set, a bit indicates a hot code error, a bit indicates an abnormality in the local network (2 pins for low layer and high layer), It is made up of bits and the like that indicate an abnormality in the gaming machine. Furthermore, the monitor information 2 has a bit indicating an abnormality of the card reader, as shown in Table 5.

さらに、稼動情報は、表6のごとく打止め状態を示すビ
ット、遊技の中断中であることを示すビット、通信異常
あるいは不正検出等に基づく管理装置もしくはコントロ
ーラによる強制終了状態を示すビット、遊技中であるこ
とを示すビット、遊技機が遊技客のついていないフリー
状態にあることを示すビット等により構成されている。
Furthermore, as shown in Table 6, the operation information includes bits that indicate a discontinued state, bits that indicate that the game is being suspended, bits that indicate that the game is forcibly terminated by the management device or controller based on communication abnormality or fraud detection, and bits that indicate that the game is being terminated. This consists of a bit indicating that the machine is in a free state with no players present, and the like.

表6 上記衣6より、実際のパチンコ機の状態は、■フリー状
態が、    0000000000000001■遊
技中が、      000000000000001
0■強制終了受信時が、  000000000000
0100■中断時が、      000000000
0001000■打止発生時が、    oooooo
ooooo tooo。
Table 6 From Figure 6 above, the actual state of the pachinko machine is: ■Free state is 0000000000000001■During play is 000000000000001
0 ■ When receiving a forced termination, 000000000000
0100■When interrupted, 000000000
0001000 ■ When a stop occurs, ooooooo
ooooo toooo.

で表わされることがわかる。It can be seen that it is expressed as

第25図〜第30図には制御ユニット160内に設けら
れたパチンコ機用カードリーダ800の具体的な構成例
を示す。
25 to 30 show specific configuration examples of a pachinko machine card reader 800 provided in the control unit 160.

カートリーダ800を構成する箱形のケース本体80(
の前端には、カード保持表示部L E D 1とカード
挿排口802aを有する前M802が装着され、ケース
本体801の側壁には前記制御ユニット160の収納枠
161内に固定するための1字ブラケット803が四隅
に固着されている。
A box-shaped case body 80 (
A front M802 having a card holding display section LED1 and a card insertion/ejection port 802a is attached to the front end of the case body 801, and a single character is provided on the side wall of the case body 801 for fixing it in the storage frame 161 of the control unit 160. Brackets 803 are fixed at the four corners.

ケース本体801内には第26図に示すようにカート搬
送路となるベースプレート804が配置され、このベー
スプレート804の上方にはカートの厚みより少し広い
間隙をおいてこれと平行に支持基板805,806が取
付けられるようになっている。
As shown in FIG. 26, a base plate 804 serving as a cart conveyance path is disposed inside the case body 801, and support substrates 805, 806 are placed above the base plate 804 in parallel with a gap slightly wider than the thickness of the cart. is ready to be installed.

支持基板805にはカート挿入口側に位置しその上には
モータ807とマイクロスイッチからなるカート挿入検
出センサ808と、シャッタソレノイド809とマイク
ロスイッチからなるカート挿入検出センサ808と、シ
ャッタソレノイド8O9およびセキュリティコード読取
用の反射型光センサ810a、810bが取り付けられ
ている。
On the support substrate 805, located on the side of the cart insertion opening, there are mounted a cart insertion detection sensor 808 consisting of a motor 807 and a microswitch, a cart insertion detection sensor 808 consisting of a shutter solenoid 809 and a microswitch, a shutter solenoid 8O9, and a security sensor. Reflective optical sensors 810a and 810b for code reading are attached.

この実施例ではセンサ810a、810bのうち一方(
810a)のみ使用し、他方のセンサ(8↓Ob)は将
来においてセキュリティコートが増加されても良いよう
に予備的に設けられている。
In this embodiment, one of the sensors 810a and 810b (
Only sensor 810a) is used, and the other sensor (8↓Ob) is provisionally provided so that the number of security coats may be increased in the future.

上記モータ807とシャッタソレノイド809との間に
は第20−ラ軸811が回転自在に載置され、この第2
0−ラ軸81↓の中央には搬送ローラ812が設けられ
ているとともに、第20−ラ軸8土↓の一端はケース本
体の側壁801aから外部へ突出可能にされ、突出端部
にプーリ813が固着されている。また、シャッタソレ
ノイド809の近傍にはカード位置検出用センサ5NS
lに対し検出光を照射する投光器814が取り付けられ
、第20−ラ軸811とモータ807との間には第2の
位置検出センサ5NS2の検出光が透過可能な透光部8
15が形成されている。さらに、上記モータ807の側
方にはパンチ穴検出用センサ5NSpに対し検出光を照
射する投光器816が取り付けられているとともに、モ
ータ807の回転軸807aの一端にはロータリエンコ
ーダ817が固着され、かつ回転軸807aの他端はケ
ース本体801の側壁801bより外部に突出され、径
の小さなプーリ818が固着されている。
A 20th-L shaft 811 is rotatably placed between the motor 807 and the shutter solenoid 809.
A conveyance roller 812 is provided in the center of the 0-Ra shaft 81↓, and one end of the 20-Ra shaft 81↓ is made to be able to protrude outward from the side wall 801a of the case body, and a pulley 813 is provided at the protruding end. is fixed. In addition, a card position detection sensor 5NS is installed near the shutter solenoid 809.
A light projector 814 is attached to irradiate detection light to the 20th-L shaft 811 and the motor 807, and a light-transmitting part 8 through which the detection light of the second position detection sensor 5NS2 can pass.
15 is formed. Furthermore, a floodlight 816 is attached to the side of the motor 807 for irradiating detection light to the punch hole detection sensor 5NSp, and a rotary encoder 817 is fixed to one end of the rotating shaft 807a of the motor 807. The other end of the rotating shaft 807a projects outward from the side wall 801b of the case body 801, and a pulley 818 with a small diameter is fixed thereto.

一方、カード挿排口802aの反対側に配置された上記
支持基板806上には、第10−ラ軸819が回転自在
に配置されているとともに、ソレノイドを駆動手段とす
るパンチ装置820と磁気ヘッド821が取付は可能に
されている。磁気ヘッド取付は位置に対応して支持基板
806には磁気ヘッドを上方から下向きに挿入させたと
きヘッド面が下方に臨むことができるように貫通孔82
2が形成されている。また、第1ローラ軸819の中央
には搬送ローラ823が固着されているとともに、軸の
両端はケースの側壁から外部に突出可能にされ、プーリ
824,825がそれぞれ取り付けられている。そして
、上記プーリ818と825との間にベルト826が、
またプーリ824と813との間にベルト827が捲回
されており、モータ807の回転駆動力がベルト826
により第10−ラ軸819へ伝えられ、さらにベルト8
27により第20−ラ軸811へ伝達されるようになっ
ている。
On the other hand, a tenth-ra shaft 819 is rotatably disposed on the support substrate 806 disposed on the opposite side of the card insertion/ejection opening 802a, and a punch device 820 using a solenoid as a driving means and a magnetic head 821 can be installed. For mounting the magnetic head, a through hole 82 is formed in the support substrate 806 in accordance with the position so that the head surface can face downward when the magnetic head is inserted downward from above.
2 is formed. Further, a conveying roller 823 is fixed to the center of the first roller shaft 819, and both ends of the shaft can protrude outside from the side wall of the case, and pulleys 824 and 825 are respectively attached. A belt 826 is placed between the pulleys 818 and 825.
Further, a belt 827 is wound between pulleys 824 and 813, and the rotational driving force of the motor 807 is applied to the belt 827.
is transmitted to the 10th-ra shaft 819, and further transmitted to the belt 8
27 to the 20th-ra shaft 811.

さらに、上記支持基板806の下面には、第3および第
4のカード位置検出センサ5NS3,5NS4に対し検
出光を照射する投光器828,829が取り付けられて
いる。
Further, on the lower surface of the support substrate 806, floodlights 828 and 829 are attached that irradiate detection light to the third and fourth card position detection sensors 5NS3 and 5NS4.

上記支持基板805,806の上方には、これを覆うよ
うに第1のインタフェース基板830が配置され、ケー
スの側壁801a、801bに固定される。このインタ
フェース基板830には制御ユニット160内に設けら
れたカードリーダコントローラL88からの各種制御信
号を受信したり、カードリーダ側に設けられたセンサや
磁気ヘッドからの読取り信号をカードリーダコントロー
ラ188へ渡すためのインタフェース回路を備えている
。また、インタフェース基板830の下面には、上記透
光部815に対応する位置に投光器831が、そして上
記エンコーダ817に対応する位置に速度検出センサ8
32がそれぞれ設けられている。
A first interface board 830 is arranged above the support boards 805, 806 so as to cover them, and is fixed to the side walls 801a, 801b of the case. This interface board 830 receives various control signals from the card reader controller L88 provided in the control unit 160, and passes read signals from the sensor and magnetic head provided on the card reader side to the card reader controller 188. Equipped with an interface circuit for Furthermore, on the lower surface of the interface board 830, a light projector 831 is located at a position corresponding to the transparent section 815, and a speed detection sensor 8 is located at a position corresponding to the encoder 817.
32 are provided respectively.

一方、支持基板805,806の下方に配置された前記
ベースプレート804には、上記搬送ローラ8工2と8
23に対応する位置に、トーションスプリング834と
835により上方へ付勢された補助ローラ836と83
7が、ヘースプレートに形成された開口部84↓、84
2よりわずかに顔を出すように装着されている。また、
ベースプレート804には、支持基@806に設けられ
た貫通孔822より下方に臨むように取り付けられた磁
気ヘット821に対応する位置に同じくトーションスプ
リング836によって上方へ付勢された補助ローラ83
8が、開口部843よりわずかに上方へ顔を出すように
装着されている。これとともに、ベースプレート804
には、上記投光器814,816,828,829およ
び831に対応する位置にそれぞれ透孔844が形成さ
れている。さらに、ベースプレート804の前端には幅
方向に沿って凹部845(第28図参照)が形成され、
そこには円筒状の遮蔽部材846が載置されている。遮
蔽部材846はカード挿排口802aを閉塞してゴミの
侵入を防止するとともに、その重量で一定以上の剛性を
有するカード以外を受は付けないように作用する。
On the other hand, the base plate 804 disposed below the support substrates 805 and 806 has the conveyance rollers 8 2 and 8.
Auxiliary rollers 836 and 83 are biased upward by torsion springs 834 and 835 at positions corresponding to 23.
7 is an opening 84↓, 84 formed in the head plate.
It is attached so that the face is slightly exposed than 2. Also,
On the base plate 804, there is an auxiliary roller 83, which is similarly biased upward by a torsion spring 836, at a position corresponding to the magnetic head 821 attached so as to face downward from the through hole 822 provided in the support base @806.
8 is attached so as to protrude slightly above the opening 843. Along with this, the base plate 804
Through holes 844 are formed at positions corresponding to the projectors 814, 816, 828, 829, and 831, respectively. Further, a recess 845 (see FIG. 28) is formed along the width direction at the front end of the base plate 804.
A cylindrical shielding member 846 is placed there. The shielding member 846 closes the card insertion/ejection opening 802a to prevent dirt from entering, and also functions to prevent cards other than those having a certain level of rigidity due to its weight from being accepted.

上記ベースプレート804の下面には、第2のインタフ
ェース基板848がネジによって取り付けられるように
なっており、この第2インタフエース基板848上には
カードリーダコントローラ188とのインタフェースを
行なう回路とともに、投光器81.6,828,829
および831に対向するように、第1〜第4の位置検出
センサ5NSl、5NS2,5NS3,5NS4および
パンチ穴検出センサ5NSpが取り付けられている。
A second interface board 848 is attached to the lower surface of the base plate 804 with screws, and on this second interface board 848 there are a circuit for interfacing with the card reader controller 188, and the projector 81. 6,828,829
and 831, first to fourth position detection sensors 5NSl, 5NS2, 5NS3, 5NS4 and punch hole detection sensor 5NSp are attached.

また、補助ローラ836,837,838に対応する位
置に、ローラとの接触を防止する逃し穴849が設けら
れている。
Further, relief holes 849 are provided at positions corresponding to the auxiliary rollers 836, 837, and 838 to prevent contact with the rollers.

ベースプレート804の前端に載置された円筒状の遮蔽
部材846に対応して、上方の支持基板805の前端に
は、遮蔽部材846よりひとまわり大きな空部851が
形成されており5ベースプレート804上に支持基板8
05を配置したとき、遮蔽部材846が空部85↓内に
上下動可能に収納されるようになっている。また、上記
空部851を構成する枠体852の後壁には開口853
が形成され、その後方に前記挿入検出スイッチ808が
配置されてその可動接点808aが上記開口853より
空部851内に突出されるヶこの可動接点808aの先
端は通常第28図(A)に示すように遮蔽部材846の
上方に位置するようにされており、カード挿排口802
aよりカードCDが挿入されると、第28図(B)のご
とくカードCDが遮蔽部材846を上方へ押し上げるた
め可動接点808aが回動され、挿入検出センサ808
がオンされるようになっている。
Corresponding to the cylindrical shielding member 846 placed on the front end of the base plate 804, a cavity 851 that is slightly larger than the shielding member 846 is formed at the front end of the upper support substrate 805. Support substrate 8
05, the shielding member 846 is housed in the empty space 85↓ so as to be vertically movable. Furthermore, an opening 853 is provided on the rear wall of the frame 852 constituting the empty space 851.
is formed, behind which the insertion detection switch 808 is arranged, and its movable contact 808a projects into the cavity 851 from the opening 853. The tip of the movable contact 808a is normally shown in FIG. 28(A). It is positioned above the shielding member 846 as shown in FIG.
When the card CD is inserted from point a, the card CD pushes up the shielding member 846 as shown in FIG.
is now turned on.

支持基板805上に取り付けられるシャッタソレノイド
809は第29図(A)に示すように下向きに配置され
、プランジャ809aの先端に形成されたピン809b
が、ソレノイド消磁状態において支持基板805に設け
られた挿通孔854を貫通して、第29図(B)のごと
くベースプレート804上面の対応する位置形成された
凹孔855に係合することによりカードCDの挿入を阻
止するようになっている。
The shutter solenoid 809 mounted on the support substrate 805 is arranged facing downward as shown in FIG.
When the solenoid is in the demagnetized state, the card passes through the insertion hole 854 provided in the support substrate 805 and engages with the recessed hole 855 formed at the corresponding position on the upper surface of the base plate 804 as shown in FIG. 29(B). It is designed to prevent the insertion of

なお、特に制限されるものではないが、この実施例のカ
ートリーダ800はカード発行機においても使用できる
ようにするため、ケースの後壁が開放されており、カー
ドを後方へ排出できる構造にされている。
Although not particularly limited, the cart reader 800 of this embodiment has a structure in which the rear wall of the case is open and cards can be ejected to the rear so that it can also be used in a card issuing machine. ing.

第30図(A)にはカードリーダにおける各種センサや
磁気ヘッドの取付は位置関係を示す。
FIG. 30(A) shows the mounting positional relationship of various sensors and magnetic heads in the card reader.

挿入検出センサ808は最もカード挿排口802aに近
い側に配置され、第1位置検出センサ5NSIは搬送ロ
ーラの直前に配置されている。そして、シャッタピン8
09bは挿入検出センサ808と第1位置検出センサ5
NS1との間に配置され、セキュリティコード読取セン
サs 10 a t810bは第1位置検出センサ5N
SIのほぼ真横に配置されている。また、第2位置検出
センサ5NS2は搬送ローラ812の後方に、第3位置
検出センサSNS 3は搬送ローラ823の後方に、第
4位置検出センサS N S 4はカートリーダの最奥
部に配置され、かつ第1〜第4位置検出センサ5NS1
〜S N S 4は同一直線上に位置されている。
The insertion detection sensor 808 is disposed closest to the card insertion/ejection opening 802a, and the first position detection sensor 5NSI is disposed immediately in front of the conveyance roller. And shutter pin 8
09b is the insertion detection sensor 808 and the first position detection sensor 5
The security code reading sensor s10a t810b is arranged between the first position detection sensor 5N and the first position detection sensor 5N.
It is located almost right next to the SI. Further, the second position detection sensor 5NS2 is arranged behind the transport roller 812, the third position detection sensor SNS 3 is arranged behind the transport roller 823, and the fourth position detection sensor SNS 4 is arranged at the innermost part of the cart leader. , and the first to fourth position detection sensors 5NS1
~S N S 4 are located on the same straight line.

さらに、パンチ穴検出センサ3 N S pとパンチピ
ンPPは第2位置検出センサ5NS2と搬送ローラ82
3との間に配置され、磁気ヘッド821は搬送ローラ8
23と第3位置検出センサ5NS3との間に配置されて
いる。
Furthermore, the punch hole detection sensor 3NSp and the punch pin PP are connected to the second position detection sensor 5NS2 and the conveyance roller 82.
3, and the magnetic head 821 is placed between the transport roller 8
23 and the third position detection sensor 5NS3.

第30図(B)には第30図(A)のような位置関係に
なるように配置された各種センサによるカード挿入時の
カート検出タイミングとモータ807およびシャッタソ
レノイド809への制御信号のタイミングを示す。同図
から分かるように、この実施例のカードリーダでは、カ
ード挿入時に挿入検出センサでカードの挿入を検出して
モータおよびシャッタを駆動させ、位置検出センサ1〜
4でカードの位置を検出しながら所定のタイミングでカ
ート上の情報をセキュリティコード、パンチ穴、磁気コ
ードの順に読み取るように構成されている。
FIG. 30(B) shows the cart detection timing when a card is inserted by various sensors arranged in the positional relationship as shown in FIG. 30(A), and the timing of control signals to the motor 807 and shutter solenoid 809. show. As can be seen from the figure, in the card reader of this embodiment, when a card is inserted, the insertion detection sensor detects the insertion of the card and drives the motor and shutter.
4, the information on the cart is read in the order of security code, punch hole, and magnetic code at a predetermined timing while detecting the position of the card.

しかも、各種センサやパンチピンの相対距離は。Moreover, the relative distances of various sensors and punch pins.

カードの読取りやパンチ穴開は等の処理を正確に行う上
で重要であるため、予め設けられた位置関係になるよう
各部品が精度よく取り付けられている。
Since it is important to accurately perform processes such as card reading and punching, each component is attached with high precision so that it has a predetermined positional relationship.

第31図にはカードリーダ制御装置188(第21図参
照)の具体的回路構成例が示されている。
FIG. 31 shows a specific example of the circuit configuration of the card reader control device 188 (see FIG. 21).

カートリーダ制御装置188は、マイクロコンピュータ
からなるカードリーダコントローラCPU2と、ユニッ
ト制御装置180との間で送受信されるデータ信号のレ
ベル変換を行うトランシーバTRVと、制御ユニット1
60内に設けられたモニタ表示器175と1−76の駆
動信号を形成するトライバDRVI L、DRVI 2
およびカードリーダ800内+7)−11=−9807
や穿孔装置1820、磁気ヘッド821、LEDランプ
167、シャッタソレノイド809を駆動する制御信号
を形成するドライバDRV13と、モータ807に供給
される電源をオン・オフするリレーRLYを駆動するド
ライバDRV14と、カードリーダ800内の磁気ヘッ
ドの読取りデータや各種センサからの検出信号を波形整
形するシュミットトリガ回路からなる波形整形回路SM
G、磁気ヘッドで読取られた2つのトラックの各リード
データをラッチするフリップフロップ回路F/Fl、F
/F2と、パワーオンリセット回路とウォッチドッグタ
イマを内蔵しコントローラCPU2がら定期的に出力さ
れるパルス(ラッチLTI、LT2のリセットパルスと
共用)をウォッチドッグパルスとして監視してパルスが
途切れたときにリセット信号を発生するリセット回路R
3T2とにより構成されている。
The cart reader control device 188 includes a card reader controller CPU2 consisting of a microcomputer, a transceiver TRV that performs level conversion of data signals transmitted and received between the unit control device 180, and a control unit 1.
Drivers DRVI L and DRVI 2 form drive signals for the monitor display 175 and 1-76 provided in the monitor 60.
and inside card reader 800 +7)-11=-9807
driver DRV13 that forms control signals that drive the perforation device 1820, magnetic head 821, LED lamp 167, and shutter solenoid 809; driver DRV14 that drives relay RLY that turns on and off the power supplied to motor 807; A waveform shaping circuit SM consisting of a Schmitt trigger circuit that shapes the waveforms of data read by the magnetic head in the reader 800 and detection signals from various sensors.
G, flip-flop circuit F/Fl, F that latches each read data of two tracks read by the magnetic head;
/F2, a power-on reset circuit, and a watchdog timer are built in, and the pulse periodically output from the controller CPU2 (shared with the reset pulse of latch LTI and LT2) is monitored as a watchdog pulse, and when the pulse is interrupted, Reset circuit R that generates a reset signal
3T2.

また、カードリーダコントローラCPU2には、制御ユ
ニット160内に設けられた機器の設定器171および
カード排出スイッチSWcからのオン・オフ信号が入力
されている。
Further, on/off signals from a device setting device 171 and a card ejection switch SWc provided in the control unit 160 are input to the card reader controller CPU2.

上記モニタ表示器176を構成する4個の発光ダイオー
ドは、電源が投入されている間点灯されるパワーオン表
示L E D 1.1と、カードがカードリーダ内にあ
ることを表示するカードイン表示しED12と、カード
リーダコントローラによる制御が正常に実行できている
ときに点灯されるOK表示LED13として使用され、
LED14はその他任意のモニタ表示に使用できるよう
に未使用となっている。
The four light emitting diodes that make up the monitor display 176 are a power-on display LED1.1 that lights up while the power is on, and a card-in display that indicates that the card is in the card reader. It is used as an OK display LED 13 that lights up when control by the card reader controller is normally executed.
The LED 14 is left unused so that it can be used for any other monitor display.

一方、セグメント型モニタ表示器175は、数字を表す
7つのセグメントと、1つのドツト表示セグメントDT
とを組合せることにより、次の表7のように、カードリ
ーダの異常内容を符号で表示するようになっている。な
お、表7の右欄のエラーコードは対応する異常が発生し
たときにカードリーダコントローラCPU2が上位の制
御装置に異常の内容を知らせるときに使用するコードで
ある。
On the other hand, the segment type monitor display 175 has seven segments representing numbers and one dot display segment DT.
By combining these, the contents of the card reader abnormality can be displayed using codes as shown in Table 7 below. Note that the error codes in the right column of Table 7 are codes used by the card reader controller CPU 2 to notify the higher-level control device of the details of the abnormality when a corresponding abnormality occurs.

表7 カートリーダコントローラCPU2は、内蔵ROM内の
制御ブロクラムに従って動作し、ユニット制御装置18
0からの指令に基づいてカートの走行制御やカードデー
タの読出し、カードデータのチエツク等を実行し、カー
ト番号およびカードリーダの制御情報をユニット制御装
置に伝達する。
Table 7 The cart reader controller CPU2 operates according to the control program in the built-in ROM, and the unit control device 18
Based on the commands from 0, it executes cart running control, card data reading, card data checking, etc., and transmits the cart number and card reader control information to the unit control device.

ユニット制御装置180との交信は内蔵のシリアルコミ
ュニケーション回路により、シリアルボートTX、RX
を使用して行う。カートリーダ800を構成する部品へ
の制御信号の出力や各種センサからの検出信号の入力は
、第32図に示すようなインタフェース回路198を介
して行うようになっている。
Communication with the unit control device 180 is via a built-in serial communication circuit via serial ports TX and RX.
Do this using The output of control signals to the components constituting the cart reader 800 and the input of detection signals from various sensors are performed via an interface circuit 198 as shown in FIG. 32.

また、カードの磁気記録部MGのトラックTRC2上の
磁気データaをラッチするフリップフロップFF2は、
トラックTRC1上から読み出されてフリップフロップ
FFIをトリガさせるり一ドクロックbをサンプリング
クロックとして動作される。フリップフロップFFIは
リートクロックbでトリガされCPU2から出力される
パルスeでリセットされることで周期的な信号Cを出力
する。
Furthermore, the flip-flop FF2 that latches the magnetic data a on the track TRC2 of the magnetic recording section MG of the card is as follows:
The signal is read out from the track TRC1, triggers the flip-flop FFI, and operates using the first clock b as a sampling clock. The flip-flop FFI is triggered by the read clock b and reset by the pulse e output from the CPU 2, thereby outputting a periodic signal C.

第32図には、カードリーダ制御装置188とカードリ
ーダ内の入出力部品との間に設けられるインタフェース
回路198の構成例を示す。
FIG. 32 shows a configuration example of an interface circuit 198 provided between the card reader control device 188 and input/output components within the card reader.

同図において符号SMGI〜S M G 5で示されて
いるのは、シュミットトリガゲート等からなる波形整形
回路、RECI、RFC2は整流回路、MCCl、MC
C2は磁化電流切替回路、AMP↓〜AMP4はアンプ
、MHDI、MHD2は磁気ヘット、MTはモータ、5
OLI、5OL2はソレノイド、LEDIは発光ダイオ
ード、DRV21、DRV22はドライバ、5NSII
、5NS1.2,5NSp、5NS1.〜S N S 
5はセンサである。また、CCCはモータHTの回転方
向を切替るための電流切替回路、VCCはモータMTの
回転速度を切替るための電圧切替回路である。
In the same figure, the symbols SMGI to SMG 5 are waveform shaping circuits consisting of Schmitt trigger gates, etc. RECI and RFC2 are rectifier circuits, and MCCl and MC
C2 is the magnetizing current switching circuit, AMP↓~AMP4 is the amplifier, MHDI, MHD2 is the magnetic head, MT is the motor, 5
OLI, 5OL2 are solenoids, LEDI is light emitting diodes, DRV21, DRV22 are drivers, 5NSII
, 5NS1.2, 5NSp, 5NS1. ~SNS
5 is a sensor. Further, CCC is a current switching circuit for switching the rotational direction of the motor HT, and VCC is a voltage switching circuit for switching the rotational speed of the motor MT.

2つのトラックTRClとTRC2にそれぞれ対応され
た2つの磁気ヘッドMHDI、MHD2により読み取ら
れたリードデータのリードクロック信号は、アンプAM
PI、AMP3によって増幅された後、整流回路REC
I、REC2で整流され、さらに波形整形回路SMG]
、、5MG3を通して矩形波としてカードリーダ制御装
置188に送られる。一方、カードリーダ制御装置18
8から供給されるライトデータとライトクロックは波形
整形回路5MG2,5MG4を通って磁化電流切替回路
MCCl、MCC2に入力され、ライトデータのl(I
 TT 、  l(OTTに応じてヘット駆動電流の向
きが切り替えられてアンプAMP2.AMP4で増幅さ
れ磁気ヘッドMHDI、MHD2に供給される。
A read clock signal of read data read by two magnetic heads MHDI and MHD2 corresponding to two tracks TRCl and TRC2, respectively, is sent to an amplifier AM.
After being amplified by PI and AMP3, the rectifier circuit REC
I, rectified by REC2, and further waveform shaping circuit SMG]
, , is sent to the card reader control device 188 as a rectangular wave through the MG3. On the other hand, the card reader control device 18
The write data and write clock supplied from 8 are input to magnetizing current switching circuits MCCl and MCC2 through waveform shaping circuits 5MG2 and 5MG4, and the write data l(I
The direction of the head drive current is switched according to TT, l(OTT, amplified by amplifiers AMP2 and AMP4, and supplied to magnetic heads MHDI and MHD2.

モータMTを駆動するため、カードリーダ制御装置18
8から与えられる正転信号と逆転信号に基づいて電流切
替回路CCCがドライバDRV21に流れる電流の向き
を変え、また速度切替信号に応じてドライバDRV21
によってモータに印加する電圧を切替える。
In order to drive the motor MT, the card reader control device 18
The current switching circuit CCC changes the direction of the current flowing to the driver DRV21 based on the forward rotation signal and reverse rotation signal given from the driver DRV21 in accordance with the speed switching signal.
Switch the voltage applied to the motor by

一方、セキュリティコード読取りセンサ5NS11 (
810a)、5NS12 (未使用)、パンチ穴検出セ
ンサ5NSp、位置検出センサSNS↓〜5NS4、速
度検出センサ5NS5 (821)の検出信号は、波形
整形回路5MG5で波形整形されてからカードリーダ制
御装置↓88へ供給され、挿入検出スイッチ808の検
出信号はローパスフィルタLPFでノイズカットされて
から波形整形回路5MG5で波形整形される。
On the other hand, security code reading sensor 5NS11 (
810a), 5NS12 (unused), punch hole detection sensor 5NSp, position detection sensor SNS↓~5NS4, speed detection sensor 5NS5 (821) The detection signals are waveform-shaped by the waveform shaping circuit 5MG5 and then sent to the card reader control device↓ 88, the detection signal of the insertion detection switch 808 is noise-cut by a low-pass filter LPF, and then waveform-shaped by a waveform shaping circuit 5MG5.

第33図には、カードリーダ制御装置↓88による磁気
データの書込みと読出しのタイミングが示されている。
FIG. 33 shows the timing of writing and reading magnetic data by the card reader control device ↓88.

同図の信号中、(A)〜(D)は書込みデータ情報、(
E)〜(G)は書込みクロック情報に関し、また(H)
〜(J)は読出しデータ情報、(K)〜(M)は読出し
タロツク情報に関する各部の信号波形を示す。また、同
図(N)〜(R)に第31図のカードリーダ制御装置1
88において、符号a ”−eで示されている各信号の
タイミングを示す。
Among the signals in the figure, (A) to (D) are write data information, (
E) to (G) relate to write clock information, and (H)
-(J) show read data information, and (K) - (M) show signal waveforms of various parts related to read tally information. In addition, the card reader control device 1 of FIG. 31 is shown in (N) to (R) of the same figure.
At 88, the timing of each signal is indicated by the symbols a''-e.

このうち、(H)および(K)の信号は第32図のイン
タフェース回路を構成するアンプAMP1とAMP3の
出力信号を、また、(I)および(L)の信号は、整流
回路RECIとREC2の出力信号を、そして(J)お
よび(M)の信号は波形整形回路SM、G1と5MG3
の出力信号をそれぞれ示す。
Of these, the signals (H) and (K) are the output signals of the amplifiers AMP1 and AMP3 that constitute the interface circuit in FIG. 32, and the signals (I) and (L) are the output signals of the rectifier circuits RECI and REC2. The output signals, and the (J) and (M) signals are waveform shaping circuits SM, G1 and 5MG3.
The output signals of are shown respectively.

この実施例では、書込み方式としてデータがu 1”の
ときは極性を反転し、データがii O11または無信
号のときは極性を反転せず直前の状態を維持するいわゆ
るNRZI方式を採用している。
In this embodiment, the so-called NRZI method is adopted as a write method, in which the polarity is inverted when the data is u1'', and the previous state is maintained without inverting the polarity when the data is ii O11 or there is no signal. .

従ってCPU出力や書込み電流、磁化状態を示す信号(
B)、(C)、(D)は、CPUの内部データ(A)が
II OIIから11111に変わったときに、それぞ
れ反転している。
Therefore, signals indicating CPU output, write current, and magnetization state (
B), (C), and (D) are each inverted when the CPU internal data (A) changes from II OII to 11111.

一方、上記のようにして書き込まれたデータを磁気ヘッ
ドMHD2で読み取ると、磁化状態(D)が変化したと
ころでアンプAMPIの出力が磁化の向きに応して+ま
たは−に変化するので、カートリーダコントローラCP
U2は、リードクロックbの立上りでアンプAMPIの
出力を波形整形した信号(J)に対応するリードデータ
aがラッチF/F2に取り込まれたときに、信号a (
N)がハイレベルであればデータ゛′1″であると認識
し、信号aがロウレベルであればデータが1101tで
あると認識することになる(第33図(S)参照)。
On the other hand, when the data written in the above manner is read by the magnetic head MHD2, when the magnetization state (D) changes, the output of the amplifier AMPI changes to + or - depending on the direction of magnetization, so the cart reader Controller CP
U2 outputs a signal a (
If the signal N) is at a high level, it is recognized as data "'1", and if the signal a is at a low level, it is recognized as data 1101t (see FIG. 33(S)).

なお、この実施例では、カードへの磁気データの記録密
度を4.134bit/mm (=1058PI)とし
、カード搬送速度を300mm/秒としたので、読出し
クロックデータのパルス周期は約bO6μsとなる。そ
こで、CPU2による磁気データ書込みの際には、書込
みクロックに関するCPU出力(E)の周期T。をクロ
ックパルスの2倍(1゜612m5)として出力するよ
うになっている。
In this example, the recording density of magnetic data on the card is 4.134 bit/mm (=1058 PI), and the card transport speed is 300 mm/sec, so the pulse period of the read clock data is approximately bO6 μs. Therefore, when writing magnetic data by the CPU 2, the cycle T of the CPU output (E) with respect to the write clock. is output as twice the clock pulse (1°612m5).

第34図および第35図に上記カード発行機200の構
成例を示す。
An example of the configuration of the card issuing machine 200 is shown in FIG. 34 and FIG. 35.

この実施例のカード発行機200は、カード購入のため
の紙幣を識別する紙幣識別装置210と、投入紙幣に対
応した金額を印刷し、カードを発行する発行装置700
と、つり銭としての紙幣を払出するための紙幣払出装置
230と、各種表示器221〜225およびカード発行
機200全体の制御および管理装置400との間のデー
タ交信を行なうユニット制御袋[280等により構成さ
れている。 上記紙幣識別装置210に対応して、開閉
自在な前面パネル201には紙幣挿入口211と、購入
選択スイッチ群212および金額表示器213が設けら
れている。従って、遊技客は、先ず紙幣挿入口211よ
り紙幣を投入すると、金額表示器213に投入金額が表
示される。そして、購入選択スイッチ群2工2の中から
所望の購入金額に対応するスイッチを押圧することによ
り、所望の購入金額に相当するカードが上記発行装置7
00のカード排出口202より発行される。また、上記
購入選択スイッチ群212は、各々ランプ内蔵型スイッ
チで構成されており9紙幣が投入されるとその投入金額
の範囲内で選択可能なスイッチ(3千円なら3つ、5千
円なら5つ)に対応する内蔵ランプが点灯されるように
なっている。
The card issuing machine 200 of this embodiment includes a bill identifying device 210 that identifies bills for card purchase, and an issuing device 700 that prints an amount corresponding to the inserted bill and issues a card.
and a unit control bag [280 etc. for data communication between the banknote dispensing device 230 for dispensing banknotes as change, various displays 221 to 225 and the control and management device 400 for the entire card issuing machine 200. It is configured. Corresponding to the banknote identification device 210, a front panel 201 that can be opened and closed is provided with a banknote insertion slot 211, a group of purchase selection switches 212, and an amount display 213. Therefore, when a player first inserts a bill into the bill insertion slot 211, the amount of money inserted is displayed on the amount display 213. By pressing the switch corresponding to the desired purchase amount from the purchase selection switch group 2, the card corresponding to the desired purchase amount is issued to the issuing device 7.
00 is issued from the card ejection port 202. The purchase selection switch group 212 is composed of switches each with a built-in lamp, and when nine banknotes are inserted, there are switches that can be selected within the range of the inserted amount (three for 3,000 yen, three for 5,000 yen). The built-in lamps corresponding to 5) will be lit.

カード発行機200の紙幣挿入口211より紙幣が挿入
され、購入選択スイッチ212により購入金額が決定さ
れて残金が生じたときに、それを払い戻すための紙幣払
出装置230は、紙幣をストックしておく紙幣タンクを
備えており、残金に相当する紙幣を前面パネル201に
設けられた紙幣払出口232より排出するように構成さ
れている。
When a banknote is inserted through the banknote insertion slot 211 of the card issuing machine 200 and a purchase amount is determined by the purchase selection switch 212 and a balance is generated, a banknote dispensing device 230 for discharging the remaining balance stores banknotes. It is equipped with a banknote tank and is configured to discharge banknotes corresponding to the remaining amount from a banknote dispensing port 232 provided on the front panel 201.

また、上記カード発行機200の前面パネル201には
、カート発行可能な状態にあることを示す発行中ランプ
221、カード発行不能状態を示す発行中止ランプ22
2、紙幣挿入口211への紙幣の受付の可否を示す紙幣
挿入表示器223゜カードの発行状態を知らせるカード
発行表示器224、残金の払出状態を知らせる紙幣払出
表示器225が設けられている。また、カート発行機2
00の前面パネル201の内側には、発行機の異常の種
類(番号)を、2桁の数字で表示するためのモニタ表示
器206と、このモニタ表示器206の表示をリセット
するためのりセントボタン207とが設けられている。
Further, on the front panel 201 of the card issuing machine 200, there is an issuing lamp 221 indicating that the card is in a state where the card can be issued, and an issuance stop lamp 22 that indicates the state where the card cannot be issued.
2. A bill insertion indicator 223 that indicates whether or not bills can be accepted into the bill insertion slot 211; a card issue indicator 224 that indicates the issuing status of the card; and a bill dispensing indicator 225 that indicates the status of the remaining balance. In addition, cart issuing machine 2
On the inside of the front panel 201 of the 00, there is a monitor display 206 for displaying the type of abnormality (number) in the issuing machine as a two-digit number, and a cent button for resetting the display on the monitor display 206. 207 is provided.

さらに、この実施例のカード発行機200には、遊技店
に設置される複数(数10台)の発行機の各々を区別し
て、特定のカードを発行した発行機を管理装置400に
おいて把握できるようにするため台番号設定器205が
内部に設けられており。
Furthermore, the card issuing machine 200 of this embodiment is configured such that each of the plurality of issuing machines (several tens of machines) installed in the game parlor can be distinguished from each other so that the management device 400 can grasp which issuing machine has issued a particular card. A machine number setting device 205 is provided inside for this purpose.

この設定器205により設定された台番号は管理装置4
00に送られて、データ通信の際の伝送アドレスの生成
および各発行機ごとのデータファイルの作成に供される
The machine number set by this setting device 205 is
00, and is used to generate a transmission address during data communication and create a data file for each issuing machine.

一方、発行装置700は、カードタンク701内にスト
ックされている白紙状態のカートを工枚ずつ取り出して
先ずカードリーダ800へ送り、カートの磁気記録部に
管理装置400によって演算されて送られてきたカード
番号および識別コード(店コード)、発行年月日コード
、チエツクコート等を記録し、カードリーダsoo内の
パンチ装置1820で発行済穿孔位置PH1(第2図参
照)にパンチ穴を開けてから、印字装置750で発行年
月日と発行通し番号nおよび購入金額を印字して前筒パ
ネル201に設けられたカード発行口202より排出す
る。上記発行通し番号nは、カード発行機200からカ
ード購入の申込を受けた管理装置400が、自己の制御
下にある複数のカード発行機からの購入申込みに対し、
その受付は順に発行通し番号りを決定し、各カート発行
機に付与する番号であって、この発行通し番号nに基づ
いて前述したビットの並び換え等のコード変換処理を行
なって得られたコードをカード番号としてカードの磁気
面に記録して発行し、カードに関する情報は管理装置4
00内のファイルに記録するようになっている。
On the other hand, the issuing device 700 takes out the blank cart stocked in the card tank 701 sheet by sheet, first sends them to the card reader 800, and the cards are calculated by the management device 400 and sent to the magnetic recording section of the cart. Record the card number, identification code (store code), issue date code, check code, etc., and punch a hole at the issued hole position PH1 (see Figure 2) using the punch device 1820 in the card reader soo. The printing device 750 prints the date of issue, serial number n, and purchase price, and the card is discharged from the card issuing port 202 provided on the front cylinder panel 201. The above issuing serial number n is determined by the management device 400, which receives a card purchase application from the card issuing machine 200, when the management device 400 receives a purchase application from a plurality of card issuing machines under its control.
At the reception, the issuing serial number is determined in order, and the number is given to each cart issuing machine.The code obtained by performing code conversion processing such as rearranging the bits mentioned above based on this issuing serial number n is applied to the card. A number is recorded on the magnetic surface of the card and issued, and information regarding the card is stored in the management device 4.
It is designed to be recorded in a file within 00.

上記発行通し番号nからカード番号の生成を可能にする
ため、管理装置400の制御プログラムには、カード番
号生成ルーチンと、コード変換ルーチンが設けられてい
るともに、カードから読み出されたカード番珍と発行通
し番号nとの一致を確認するため逆変換と逆算ルーチン
が用意されている。
In order to make it possible to generate a card number from the issued serial number n, the control program of the management device 400 is provided with a card number generation routine and a code conversion routine. Inverse conversion and back calculation routines are provided to confirm the match with the issue serial number n.

なお、この実施例のカード発行機200は、カードリー
ダ800で磁気データを記録しかつ印字装置で、発行通
し番号nと発行年月日および購入金額の千の桁を除く3
つのrOJ を印字した状態でカードを待機させておき
、購入スイッチが押された時点で千の桁の数字を印字し
て排出することにより見かけ上の発行所要時間を短縮す
るようになっている。
The card issuing machine 200 of this embodiment has a card reader 800 that records magnetic data, and a printing device that prints out the issuing serial number n, the date of issue, and the three thousand digits of the purchase price.
The card is kept on standby with one rOJ printed on it, and when the purchase switch is pressed, a thousands digit number is printed and ejected, thereby reducing the apparent time required for issuance.

第36図にはカードリーダを内蔵した発行装置700の
全体斜視図が、また第37図には発行装置の概略構成例
を示す。
FIG. 36 shows an overall perspective view of an issuing device 700 with a built-in card reader, and FIG. 37 shows an example of a schematic configuration of the issuing device.

この実施例の発行装置700は、磁気記録部MGと印字
表示部PRTが白紙の状態とされているカートが多数収
納されたカードタンク701内がら一枚ずつカードを取
り出すカード取出装置710と、その後方に配置された
カードリーダ800と、さらにその後方に配置されたカ
ード反転装置740と、カードリーダ800の下方に配
置された印字装置750と、その前方に配置されたカー
ド導出装置770とにより構成されており、カードリー
ダ800の上方に配設されたカード発行制御装置790
によって制御されるようになっている。この実施例の発
行装置7’00内のカードリーダは、パチンコ機用のカ
ートリーダ800と諮問−の構造と機能を有したもので
よい。
The issuing device 700 of this embodiment includes a card ejecting device 710 that takes out cards one by one from a card tank 701 in which a large number of carts each having a blank magnetic recording section MG and a print display section PRT are stored; Consisting of a card reader 800 placed at the front, a card reversing device 740 placed behind the card reader 800, a printing device 750 placed below the card reader 800, and a card ejecting device 770 placed in front of the card reader 800. card issuance control device 790 disposed above the card reader 800.
It is now controlled by. The card reader in the issuing device 7'00 of this embodiment may have the same structure and function as the cart reader 800 for pachinko machines.

発行機用のカードリーダが、パチンコ機用のカードリー
ダと異なる点は、(1)磁気データの記録機能を備える
必要がある点と、 (2)カードを後方へ排出できる構
造となっている必要がある点にある。このうち、(上)
については第32図に示すようにインタフェース回路1
98が書込みデータ信号を波形整形する波形整形回路S
 M G 2 。
Card readers for issuing machines differ from card readers for pachinko machines in that (1) they must have a magnetic data recording function, and (2) they must have a structure that allows cards to be ejected backwards. At a certain point. Among these, (top)
For the interface circuit 1 as shown in FIG.
98 is a waveform shaping circuit S that shapes the waveform of the write data signal.
MG2.

5MG4と磁気電流切替回路MCCl、MCC2とを有
していて、磁気ヘッドMHD lとMHD2で磁気デー
タの読出しは勿論のこと、書込みも行なえるので、問題
はない。また、パチンコ機用カードリーダ800の構造
説明のところでも言及したように第25図〜第28図に
示すカートリーダ800は、ケースの後壁が開放されて
おり、挿入されたカードを後方へも排出できるようにな
っている。従って、この実施例の発行袋ff1700に
は、パチンコ機用のカードリーダ800と全く同〜のも
のを使用することができる。
5MG4 and magnetic current switching circuits MCCl and MCC2, and the magnetic heads MHDl and MHD2 can read and write magnetic data, so there is no problem. Furthermore, as mentioned in the structural description of the card reader 800 for pachinko machines, the cart reader 800 shown in FIGS. It can be discharged. Therefore, for the issuing bag ff1700 of this embodiment, the same card reader 800 for pachinko machines can be used.

一方、上記カートタンク701はカードと同一の大きさ
の空間を有しコの字状をなす枠体で構成され、カード取
出装置710の側壁711の上端にボルトで固定されて
いる。このカードタンク7O1内に収納されたカードの
上には、カードに一定の圧力を加えカードの取出しを確
実にさせるための抑圧部材702が載置されるようにな
っている。この押圧部材702にはタンク内のカートの
有無を検出するセンサ703で検出されないように左右
に切欠き702aが形成されている。また、カードタン
ク701内に収納された白紙カードCDは、第38図に
示すようなカード取出装置7エOのベース基板711の
前半部の上に載置される。
On the other hand, the cart tank 701 is constituted by a U-shaped frame having a space of the same size as the card, and is fixed to the upper end of the side wall 711 of the card ejecting device 710 with a bolt. A suppressing member 702 is placed on top of the card stored in the card tank 7O1 to apply a certain pressure to the card and ensure removal of the card. Notches 702a are formed on the left and right sides of the pressing member 702 so as not to be detected by a sensor 703 that detects the presence or absence of a cart in the tank. Further, the blank card CD stored in the card tank 701 is placed on the front half of the base substrate 711 of the card ejecting device 7E0 as shown in FIG.

このベース基板7↓↓には、中心線に沿って開口部71
1a、711b、711cが形成され、この開口部より
上方へ僅かに突出するように第1搬送ローラ712と第
2搬送ローラ713と第3搬送ローラ714が配置され
ている。また、ベース基板711の前端側部には上記カ
ード有無検出用センサ703の作動片703aが下方よ
り臨むことができるように切欠き711dが形成されて
いる。
This base board 7↓↓ has an opening 71 along the center line.
1a, 711b, and 711c are formed, and a first conveyance roller 712, a second conveyance roller 713, and a third conveyance roller 714 are arranged so as to slightly protrude upward from these openings. Further, a notch 711d is formed in the front end side of the base board 711 so that the operating piece 703a of the card presence detection sensor 703 can be viewed from below.

さらに、上記ベース基板711の上方略中央には、これ
とぞ交する向きの支持プレート715が配置され、カー
ド取出装置710の側壁716に固定されている。そし
て、この支持プレート715の前面には、上記ベース基
板711とカード1枚分の間隔をおいて対向されるスト
ッパ717を有するブラケット718が装着されている
。また、上記支持プレート715の後方には、上記搬送
ローラ712〜714を駆動するための取出用モータ7
19が配置され、側壁716に固定されている。
Furthermore, a support plate 715 is disposed approximately in the upper center of the base substrate 711 and is oriented in a direction that intersects with the base substrate 711, and is fixed to a side wall 716 of the card ejecting device 710. A bracket 718 having a stopper 717 facing the base board 711 at a distance of one card is attached to the front surface of the support plate 715. Further, behind the support plate 715, there is a take-out motor 7 for driving the conveyance rollers 712 to 714.
19 is arranged and fixed to the side wall 716.

この取出用モータ719の回転軸には減速機構720を
介して駆動プーリ721が連結され、この駆動プーリ7
21と、上記搬送ローラ713および714の回転軸7
13a、714aの端部に装着された従動プーリ722
,723との間にタイミングベルト724が捲回されて
いる。さらに、上記第2搬送ローラ713の回転軸には
クラッチ用ディスク725aが装着されているとともに
、このディスク725aに対向して第2クラツチ用デイ
スク725bが回転自在に配設されている。
A drive pulley 721 is connected to the rotating shaft of this take-out motor 719 via a deceleration mechanism 720.
21 and the rotation shaft 7 of the conveyance rollers 713 and 714.
Driven pulley 722 attached to the end of 13a, 714a
, 723, a timing belt 724 is wound between them. Further, a clutch disk 725a is attached to the rotating shaft of the second conveying roller 713, and a second clutch disk 725b is rotatably disposed opposite to this disk 725a.

また、上記一対のクラッチ用ディスク725a。Also, the pair of clutch discs 725a.

725bの外周に当接可能なローラ726を一端に有す
るクラッチレバ−727が、側壁716に揺動可能に取
り付けられている。そして、このクラッチレバ−727
の他端は、スプリング728を介してクラッチソレノイ
ド729のプランジャ729aに連結されており、ソレ
ノイド729が励磁されると、クラッチレバ−727が
回動されてローラ726がクラッチ用ディスク725a
と725bの外周に同時に接触され2回転力を伝達し、
ソレノイド729がオフされると回転力を遮断するよう
になっている。さらに、クラッチ用ディスク725bの
回転軸にはプーリ730が固着されており、このプーリ
730と上記第2搬送ローラ712の回転軸712aの
一端に固着されたプーリ731との間にはベルト732
が捲回されている。従って、取出用モータ719の回転
力は、クラッチソレノイド729が励磁されている間だ
けクラッチ機構(725,726)を介して第(搬送ロ
ーラ712へ伝達される。
A clutch lever 727 is swingably attached to the side wall 716 and has a roller 726 at one end that can come into contact with the outer periphery of the clutch lever 725b. And this clutch lever 727
The other end is connected to a plunger 729a of a clutch solenoid 729 via a spring 728. When the solenoid 729 is energized, the clutch lever 727 is rotated and the roller 726 is connected to the clutch disc 725a.
and the outer periphery of 725b at the same time, transmitting two rotational forces,
When the solenoid 729 is turned off, the rotational force is cut off. Further, a pulley 730 is fixed to the rotating shaft of the clutch disc 725b, and a belt 732 is connected between this pulley 730 and a pulley 731 fixed to one end of the rotating shaft 712a of the second conveying roller 712.
is being wound. Therefore, the rotational force of the take-out motor 719 is transmitted to the conveyance roller 712 via the clutch mechanism (725, 726) only while the clutch solenoid 729 is energized.

しかも、この第1搬送ローラ712は、その回転軸71
2aに対して偏心した状態で取り付けられており、通常
は上面がベース基板711よりも低くされており、回転
軸712aが180°回転すると開口部711aから上
方へ僅かに突出するようになっている。
Moreover, this first conveyance roller 712 has its rotation shaft 71
2a, and the top surface is normally lower than the base substrate 711, so that when the rotating shaft 712a rotates 180 degrees, it slightly protrudes upward from the opening 711a. .

そして、この実施例の発行装置700は、紙幣投入後に
購入選択スイッチ212が操作されると、取出用モータ
719が回転され、その後クラッチソレノイド729が
一定時間オンされ、第1搬送ローラ712が1回転され
るようになっている。
In the issuing device 700 of this embodiment, when the purchase selection switch 212 is operated after inserting a bill, the take-out motor 719 is rotated, and then the clutch solenoid 729 is turned on for a certain period of time, and the first conveyance roller 712 rotates once. It is supposed to be done.

これによって、第1搬送ローラ712は偏心回転され、
この第(搬送ローラ712の上方のカードタンク701
内のカードを押し上げるようにしながら後方へ送り出す
。このとき、カードCD上に抑圧部材702が載置され
一定圧力を加えているためローラとの摩擦力で一番下の
カートがタンク内のカート群から分離される。しかも、
後方にはベース基板711とカート1枚分の間隔を有す
るストッパ7土7が設けられているため、カードの2枚
送りが防止される。
As a result, the first conveyance roller 712 is rotated eccentrically,
The card tank 701 above the transport roller 712
Push up the card inside and send it out to the rear. At this time, since the suppressing member 702 is placed on the card CD and applying a constant pressure, the bottom cart is separated from the group of carts in the tank due to the frictional force with the rollers. Moreover,
A stopper 7 is provided at the rear with a distance from the base board 711 for one cart, so that feeding of two cards is prevented.

こうして、1枚だけタンク内から取り出されたカードは
、取出用モータ719が回転中ずっと回転されている第
2、第3の搬送ローラ713,714によって後方のカ
ートリーダ800へ向かって送り出される。
In this way, only one card is taken out from the tank and sent out toward the rear cart reader 800 by the second and third transport rollers 713 and 714, which are kept rotating while the take-out motor 719 is rotating.

なお、カード取出装置710の後端には走行位置検出セ
ンサCPS lが配設されており、送り出されたカード
を検出するようになっている。
Note that a running position detection sensor CPS1 is disposed at the rear end of the card ejecting device 710, and is configured to detect the card that has been sent out.

また、第3搬送ローラ714の上方にはカードの浮き上
がりを防止する押さえローラ734が配設されている。
Furthermore, a pressing roller 734 is provided above the third conveying roller 714 to prevent the card from floating up.

上記カード取出装置710によってタンク701から取
り出されたカードは、カードリーダ800で磁気記録部
への識別コートやカード番号等の書込みが行なわれ、か
つ内部のパンチ装置820で発行穴穿孔位置にパンチ穴
が開けられてから後方のカート反転装置740へ送り出
される。カートリーダ800の下方には穿孔片すなわち
パンチ屑を収納するケース705が配置されている。
The card taken out from the tank 701 by the card taking out device 710 has an identification code, card number, etc. written on the magnetic recording section by the card reader 800, and an internal punch device 820 punches a hole at the issuing hole punching position. After being opened, the cart is sent to the rear cart reversing device 740. A case 705 is arranged below the cart reader 800 to store punching pieces, that is, punch waste.

パチンコ機用カードリーダ800の制御装置t188に
相当する発行機用のカードリーダ制御装置288は、カ
ード発行制御装置790内に設けられている・ カート反転装置740に送られたカードは、先ず搬送ロ
ーラ741a、741b、741cに捲回されたベルト
742と5搬送ローラ743a。
A card reader control device 288 for an issuing machine, which corresponds to the control device t188 of the card reader 800 for a pachinko machine, is provided in the card issuing control device 790.The card sent to the cart reversing device 740 is first transferred to a conveyor roller. A belt 742 wound around 741a, 741b, and 741c and five conveyance rollers 743a.

743bに捲回されたベルト744との間に挟まれてS
字走行路に沿って搬送され、その出口に配置された走路
切替片745を破線イのように押しながら、搬送ローラ
746a、746b、746Cに捲回されたベルト74
7と上記ベルト742とに挟まれて一旦上方へ送られる
。そして、カードが走路切替片745を通過すると切替
片745がスプリング745aの張力で破線イの位置か
ら実線の位置へ回動復帰されるとともに、その上方に配
置された走行位置センサCPS2によってカートの後端
が検出された時点で上記ベルト742を駆動する走行モ
ータ706が逆回転される。これによって、カードは向
きを変えて下方へ搬送され始める。そして、搬送ローラ
748a、748b、748cに捲回されたベルト74
9と、上記ベルト747とに挟まれて徐々に向きを変え
、遂には水平方向前方に向かって送り出される。
S is sandwiched between belt 744 wound around belt 743b.
The belt 74 is conveyed along a shaped traveling path and is wound around conveying rollers 746a, 746b, and 746C while pushing the traveling path switching piece 745 disposed at the exit thereof as shown by the broken line A.
7 and the belt 742, and is once sent upward. When the card passes through the running path switching piece 745, the switching piece 745 is rotated back from the position indicated by the broken line A to the position indicated by the solid line by the tension of the spring 745a, and the running position sensor CPS2 disposed above moves the switching piece 745 back to the position indicated by the solid line. When the end is detected, the traveling motor 706 that drives the belt 742 is reversely rotated. This causes the card to change direction and begin to be conveyed downward. The belt 74 is wound around conveyor rollers 748a, 748b, and 748c.
9 and the belt 747, the direction gradually changes and is finally sent out horizontally forward.

上記ベルト742と749は、走行モータ706によっ
て直接駆動されるベルト707およびそれと連動された
ベルト708とによって駆動されるようになっている。
The belts 742 and 749 are driven by a belt 707 directly driven by a travel motor 706 and a belt 708 interlocked therewith.

ベルト744と749には走行モータ706の駆動力が
伝達されず、カードの移動に伴って摩擦力で連れ回りす
る。
The driving force of the travel motor 706 is not transmitted to the belts 744 and 749, and the belts 744 and 749 rotate together due to frictional force as the card moves.

なお、上記ベルト707は後述のカード導出装置770
の搬送ローラ771と一体のプーリにも捲回されており
、走行モータ706の駆動力によってカードの排出が行
なわれる。
Note that the belt 707 is connected to a card ejecting device 770 which will be described later.
It is also wound around a pulley integrated with the transport roller 771, and the card is ejected by the driving force of the travel motor 706.

さらに、上記搬送ローラ748Cの回転軸709は側方
へ突出され、その端部には第36図に示すようにノブ7
09aが固着されており、このノブ709aを手で回す
ことにより、走行モータ706の停止中に手動でカード
を移動させ1紙詰まりを生じたカードを取り除くことが
できるようになっている。カード反転装[740の終端
には走行位置センサCPS3が配置されており、このセ
ンサがカードの後端を検出すると走行モータ706が停
止される。
Furthermore, the rotation shaft 709 of the conveyance roller 748C is protruded to the side, and a knob 7 is provided at the end thereof as shown in FIG.
09a is fixed, and by turning this knob 709a by hand, it is possible to manually move the card while the travel motor 706 is stopped and remove a card that has caused a paper jam. A running position sensor CPS3 is arranged at the end of the card reversing device [740], and when this sensor detects the rear end of the card, the running motor 706 is stopped.

上記カート反転装置740から送り出されたカードは印
字装置750に入り、先ず走行位置センサCPS4によ
り検出される。すると、印字装置750内の移送モータ
751が駆動され、その駆動力がベルト762および歯
車群763を介して移送ローラ752a、752bに伝
達され、その上方に配設された押圧ローラ753a、7
53bとの間にカートを挾持して前方へ移動させる。移
送ローラ752a、752bの前方には、移送ローラ7
54と755が走行路に沿って配置され。
The card sent out from the cart reversing device 740 enters the printing device 750, and is first detected by the running position sensor CPS4. Then, the transfer motor 751 in the printing device 750 is driven, and its driving force is transmitted to the transfer rollers 752a, 752b via the belt 762 and gear group 763, and the press rollers 753a, 753 disposed above the transfer rollers 752a, 752b.
53b and move the cart forward. In front of the transfer rollers 752a and 752b, the transfer roller 7
54 and 755 are arranged along the running path.

その上方にはサーマルヘッドのような印字ヘッド756
がガイドピン757に沿って昇降可能に配置されている
。また、ガイドピン757の周囲には復帰バネ758が
介挿されている。
Above it is a print head 756 like a thermal head.
is arranged so as to be movable up and down along the guide pin 757. Further, a return spring 758 is inserted around the guide pin 757.

758は印字ヘッド昇降用モータで、このモータ758
の回転は減速されて従動軸759に伝達される。この従
動軸759には、切欠きを有する検出コマ760が固着
され、この検出コマ760の周縁に対向して回転位置セ
ンサ761a、76↓bが配置されている。また、図示
しないが昇降用モータ758の回転力は、例えば上記従
動軸759に固着したカムとその外周に当接されたタペ
ットを介して印字ヘッド756に伝えられ、これを昇降
させる。このとき、昇降用モータ758は一回の作動で
従動軸759を180’ずつ回動させる。すなわち、昇
降用モータ758は常に検出コマ760の切欠きがセン
サ761aまたは761bに対向する位置で回転を停止
するようになっており、走行位置センサCPS4がカー
ドを検出して昇降用モータ758を作動させると、セン
サ761aまたは761bが検出コマ760の切欠きを
検出した時点でモータの回転が停止される。
758 is a motor for lifting and lowering the print head, and this motor 758
The rotation of is decelerated and transmitted to the driven shaft 759. A detection piece 760 having a notch is fixed to the driven shaft 759, and rotational position sensors 761a and 76↓b are arranged opposite the periphery of this detection piece 760. Further, although not shown, the rotational force of the elevating motor 758 is transmitted to the print head 756 via, for example, a cam fixed to the driven shaft 759 and a tappet abutted on the outer periphery of the cam, and raises and lowers the print head 756. At this time, the lifting motor 758 rotates the driven shaft 759 by 180' in one operation. That is, the lifting motor 758 always stops rotating at a position where the notch of the detection piece 760 faces the sensor 761a or 761b, and the traveling position sensor CPS4 detects the card and operates the lifting motor 758. When the sensor 761a or 761b detects the notch in the detection piece 760, the rotation of the motor is stopped.

これによって、印字ヘット756は走行位置センサCP
S4のカード検出時に降下され、印字が終了すると再び
昇降用モータ758が作動されて従動軸759を180
6回転させることにより、印字ヘッド756は上昇され
て停止する。印字装置750の出口には走行位置センサ
CPS5が配設されており、このセンサCPS5がカー
ドの先端を検出すると前記走行モータ706を先程と同
一の方向(逆方向)へ作動させて搬送ローラ771a、
771b、771cに捲回されたベルト772を駆動さ
せ、センサCPS5がカードの後端を検出すると印字装
置内の搬送用モータ751を停止させる。これによって
、印字装置750から送り出されたカードは速やかに前
方のカード導出装置770内へ搬送されていく。
As a result, the print head 756 is connected to the traveling position sensor CP.
It is lowered when the card is detected in S4, and when printing is completed, the lifting motor 758 is operated again to move the driven shaft 759 to 180 degrees.
By making six revolutions, the print head 756 is raised and stopped. A running position sensor CPS5 is disposed at the exit of the printing device 750, and when this sensor CPS5 detects the leading edge of the card, it operates the running motor 706 in the same direction as before (opposite direction) to move the transport rollers 771a,
The belt 772 wound around the belts 771b and 771c is driven, and when the sensor CPS5 detects the rear end of the card, the conveyance motor 751 in the printing device is stopped. As a result, the card sent out from the printing device 750 is quickly conveyed into the card ejecting device 770 at the front.

カード導出装置770においては、第39図にその詳細
を示すように、上記へルト772の下方に搬送ローラ7
73,774a、774bが配置され、このうち搬送ロ
ーラ774aと774bにはベルト775が捲回されて
いる。しかも、この実施例では、このカート導出装置の
み搬送ローラとそのベルト772,775が2列に設け
られて排出を確実に行なえるようになっている。そして
、ベルト772と775とによって構成される搬送路に
対応してその前方にカード発行口202が配置され、こ
の発行口の直前に走行位置センサCPS6が配設されて
いる。
In the card ejecting device 770, as shown in detail in FIG.
73, 774a, and 774b are arranged, and a belt 775 is wound around conveyance rollers 774a and 774b. Furthermore, in this embodiment, only this cart ejecting device has conveying rollers and their belts 772, 775 arranged in two rows to ensure reliable ejection. A card issuing port 202 is arranged in front of the conveyance path formed by belts 772 and 775, and a running position sensor CPS6 is arranged immediately in front of this issuing port.

また、上記搬送ローラ773と774bとの間には支軸
776を中心に回動可能な走路切替部材777が配設さ
れている。この走路切替部材777はスプリング778
によって通常は第37図に破線口で示すごとく先端が下
方に位置され、印字装置750より送られてきたカード
をカード発行口202へ向かって案内する。しかして、
カードが正規なものでなかったり、傷があって磁気記録
部へ正しく記録できなかったような場合には、走路切替
部材777によってカードは下方の没収タンク780に
誘導される。正しく書き込まれたカードのときは切替部
材777を、第37図に実線で示すごとく下方へ回動さ
せる。すると、印字装置750から送られてきたカード
はカート発行口202へ誘導される。搬送ローラ774
a、774bの下方には、没収タンク780が配設され
ており、通常状態で上方に位置された走路切替部材77
7によって下方へ誘導されたカードはこの没収タンク7
80内に収納される。
Furthermore, a travel path switching member 777 that is rotatable about a support shaft 776 is disposed between the conveyance rollers 773 and 774b. This running path switching member 777 has a spring 778.
Normally, the tip is positioned downward as shown by the broken line port in FIG. 37, and the card sent from the printing device 750 is guided toward the card issuing port 202. However,
If the card is not genuine or has a scratch that prevents it from being correctly recorded in the magnetic recording section, the card is guided to a confiscation tank 780 below by the lane switching member 777. When the card is correctly written, the switching member 777 is rotated downward as shown by the solid line in FIG. 37. Then, the card sent from the printing device 750 is guided to the cart issuing port 202. Conveyance roller 774
A confiscation tank 780 is arranged below 774b, and the runway switching member 77, which is located above in the normal state, is disposed below.
Cards guided downward by 7 are confiscated in tank 7.
It is housed within 80.

この没収タンク780の後壁781には切欠き78上a
が形成されており、この切欠き781aに臨むようにセ
ンサ782が配設されている。このセンサ782は受光
器であってこれに対応する投光器783は、上記一対の
へルト775間に配置され、検出光軸が斜めになるよう
に設定され、没収タンク780に入ってくるカートを検
出するとともに、タンク内のカートが一定量以上になる
と、カートの上端が上記検出光軸を遮るようになって満
杯になったことを検出できるようになっている。さらに
、この没収タンク780はその下方に斜め配置されたプ
レート784上に前後方向スライド可能にa置され、そ
の下面には、プレート784に形成された長孔784a
に係合するガイドピン785が固着されており、このガ
イドピン785と上記プレート784の後端との間に張
設されたスプリング786によって、常に後方へ付勢さ
れている。
The rear wall 781 of this confiscated tank 780 has a notch 78 above a.
is formed, and a sensor 782 is arranged so as to face this notch 781a. This sensor 782 is a light receiver, and the corresponding light emitter 783 is placed between the pair of helmets 775 and set so that the detection optical axis is oblique, and detects carts entering the confiscation tank 780. At the same time, when the cart in the tank reaches a certain amount or more, the upper end of the cart blocks the detection optical axis, making it possible to detect that the cart is full. Further, this confiscation tank 780 is placed on a plate 784 diagonally arranged below it so as to be slidable in the front and back direction, and a long hole 784a formed in the plate 784 is formed in the lower surface of the tank 780.
A guide pin 785 that engages with the plate 784 is fixed thereto, and is always urged rearward by a spring 786 stretched between the guide pin 785 and the rear end of the plate 784.

このカード導出装置770は、カードの終端が通過して
走行位置センサCPS6または没収カートの検出センサ
がオンからオフに変わると、走行モータ706がオフさ
れて、排出または没収動作を停止する5 なお、カード発行口202の上部には、発行装置700
におけるカードの発行作業進行状態を示すカード発行表
示器787が設けられている。
In this card ejecting device 770, when the end of the card passes and the running position sensor CPS6 or the detection sensor of the confiscated cart changes from on to off, the running motor 706 is turned off and the ejection or confiscation operation is stopped5. Above the card issuing slot 202, an issuing device 700 is installed.
A card issuance display 787 is provided to show the progress status of card issuance work.

さらに、この実施例の発行装置700は第36図に示す
ように、固定ベース791上において左右のレール79
2a、792bによって前後方向スライド可能に支持さ
れた基盤793の上に載置されており、この基盤793
の左側半分には、補助電源装置を内蔵した電源ボックス
794が載置され、この電源ボックス794の前面には
、カードの発行枚数を表示するためのカウンタ795と
、没収カートの枚数等の表示に利用可能な予備カウンタ
796が設けられている。
Further, as shown in FIG. 36, the issuing device 700 of this embodiment has left and right rails 79 on a fixed base 791.
2a and 792b, and is placed on a base 793 that is slidably supported in the front and rear direction.
A power supply box 794 with a built-in auxiliary power supply is placed on the left half of the box, and on the front of this power supply box 794 there is a counter 795 for displaying the number of issued cards, and a counter 795 for displaying the number of cards confiscated, etc. There is a spare counter 796 available.

また、797は固定ベース791上に載置された発行装
置全体を前方へスライドさせる際に使用する把手、79
8はスライド機構をロックさせるだめの操作ボタンであ
る。
Further, 797 is a handle used when sliding the entire issuing device placed on the fixed base 791 forward;
8 is an operation button for locking the slide mechanism.

第40図には、上記のごとく構成されたカード発行機2
00の制御システムの構成例が示されている。
FIG. 40 shows a card issuing machine 2 configured as described above.
An example of the configuration of the control system of No. 00 is shown.

なお、同図において、790がカード発行制御装置、2
80がユニット制御装置、また288はカートリーダ8
00の各構成部品たる搬送モータ807、磁気ヘット8
21、穿孔装置820等を制御するカードリーダ制御装
置であり、符号LMP1〜L M P 5で示されてい
るのが、購入金額の選択スイッチ群212に内蔵された
ランプで、オンされたスイッチに対応するランプが点灯
されて操作ボタンを後方から照明するようになっている
In addition, in the same figure, 790 is a card issuing control device, 2
80 is a unit control device, and 288 is a cart reader 8
The transport motor 807 and the magnetic head 8 are each component of 00.
21, a card reader control device that controls the punching device 820, etc., and the lamps indicated by symbols LMP1 to LMP5 are built-in lamps in the purchase amount selection switch group 212, and when the switch is turned on, The corresponding lamp is lit to illuminate the operation button from behind.

この実施例の制御システムは、大別してユニット制御装
置280による制御系とカード発行制御装置1790に
よる制御系とに分割されており、ユニット制御装置28
0が、貨幣の受は入れ手段、所望購入金額の選択手段、
管理装置に有価データを送信して該有価データに代わる
カード番号を貰い受けるための通信手段、釣貨幣の払出
し手段、および発行処理状態を示す状態表示手段の制御
を担当しており、カード発行制御装置790が上述した
発行装置700を構成するカード取出装置710、カー
ド反転装置740、印字装置750およびカード導出装
置770と、カードのチエツクおよび磁気データの記録
を担当するカードリーダ800の制御装置288の統括
的な制御を担当している。そして、ユニット制御装置2
80とカード発行制御装置790との間の交信はシリア
ル通信によって行なわれる。
The control system of this embodiment is roughly divided into a control system based on the unit control device 280 and a control system based on the card issuing control device 1790.
0 is a means for accepting money, a means for selecting a desired purchase amount,
It is in charge of controlling the communication means for transmitting valuable data to the management device and receiving a card number in place of the valuable data, the means for dispensing change coins, and the status display means for indicating the issuance processing status, and is responsible for controlling card issuance. The device 790 includes the card ejecting device 710, card reversing device 740, printing device 750, and card ejecting device 770 that constitute the issuing device 700 described above, and the control device 288 of the card reader 800 that is in charge of checking the card and recording magnetic data. Responsible for overall control. And unit control device 2
Communication between 80 and card issue control device 790 is performed by serial communication.

一方、ユニット制御装置280は、管理装置400との
間でカード番号等のデータの送受信を行なうため、光ト
ランシーバ285を介して光ケーブルまたは同軸ケーブ
ルからなる低層ネットワーク用通信ライン510に接続
可能にされている。
On the other hand, the unit control device 280 is connectable to a low-layer network communication line 510 made of an optical cable or a coaxial cable via an optical transceiver 285 in order to send and receive data such as a card number to and from the management device 400. There is.

この実施例のカード発行機200は、ユニット制御装置
!f280によって前面パネル201に設けられた各種
表示器221〜225等からなる状態表示手段をカード
発行手順に従って点灯もしくは点滅させることによって
利用者に操作手順を教示するとともに、排出したカード
や釣銭忘れを防止するようにしている。
The card issuing machine 200 of this embodiment is a unit control device! The f280 instructs the user on the operating procedure by lighting or blinking the status display means consisting of various indicators 221 to 225 etc. provided on the front panel 201 according to the card issuing procedure, and also prevents the user from forgetting the ejected card or change. I try to do that.

すなわち、カード発行機200の電源が投入され、カー
ト発行の準備が終了するとユニット制御装置280は、
先ず前面パネル201に設けられた発行中表示器221
を点灯させ、かつ紙幣挿入表示器223を点滅させて紙
幣の挿入を促す表示を行なって紙幣挿入待ち状態にある
ことを外部に知らせる。この状態で紙幣挿入口211に
紙幣が投入されるとユニット制御装置280は金額表示
器213に投入された金額に相当する数字を表示させ、
かつ購入選択スイッチ212内蔵の購入ランプLMPI
〜LMP5を投入金額相当分まで点灯させる。つまり、
千円ならランプLMP1のみ。
That is, when the power of the card issuing machine 200 is turned on and the preparation for issuing a cart is completed, the unit control device 280
First, the issuance display 221 provided on the front panel 201
is turned on, and the bill insertion display 223 is made to blink to display a message prompting the insertion of a bill, thereby informing the outside that the banknote insertion is in a waiting state. When a bill is inserted into the bill insertion slot 211 in this state, the unit control device 280 causes the amount display 213 to display a number corresponding to the amount inserted,
And purchase lamp LMPI with built-in purchase selection switch 212
~Turn on the LMP5 until it reaches the amount equivalent to the amount invested. In other words,
For 1,000 yen, only lamp LMP1 is available.

3千円ならランプLMPI−LMP3.5千円ならラン
プL M P l = L M P 5を点灯させて、
操作可能なスイッチを明示させるようになっている。
If it is 3,000 yen, the lamp is LMPI-LMP; if it is 3,500 yen, the lamp is L M P l = L M P5.
Operable switches are clearly displayed.

この状態で有効な購入選択スイッチ2工2のいずれか一
つがオンされると、紙幣挿入表示器223を消灯させ1
代わりにカード発行口202近傍のカード発行表示器2
24を点滅させてカードが排出されることを利用者に知
らせる。
In this state, when any one of the valid purchase selection switches 2 and 2 is turned on, the bill insertion indicator 223 is turned off.
Instead, the card issue display 2 near the card issue slot 202
24 blinks to notify the user that the card will be ejected.

それから、ユニット制御装置280は、実際にカード発
行口202よりカードを排出するときには金額表示器2
13と購入ランプLMP1〜LMP5を消灯させる。そ
して、このとき釣銭があれば紙幣払出表示器225を点
滅させて注意を喚起させながら釣銭の払出しを実行する
。なお、釣銭がないときは紙幣払出表示器225は消灯
のままにしておく。また、カード排出時には利用者がカ
ード発行口202に排出されたカードを抜き取るとカー
ド発行表示器224の点滅を中止して消灯させる。
Then, when the unit controller 280 actually ejects the card from the card issuing slot 202, the unit controller 280 controls the amount display 2.
13 and purchase lamps LMP1 to LMP5 are turned off. At this time, if there is change, the bill dispensing display 225 is flashed to draw attention and the change is disbursed. Note that when there is no change, the bill payout display 225 remains off. Further, when the card is ejected, when the user pulls out the card ejected to the card issuing slot 202, the flashing of the card issuing display 224 is stopped and the light is turned off.

一方、釣銭があるときは紙幣払出表示器230が釣銭の
除去を検出して送ってくる払出完了信号を受けてから紙
幣挿入表示器223を消灯させる。
On the other hand, when there is change, the bill insertion display 223 is turned off after the bill dispensing indicator 230 detects the removal of change and receives a dispensing completion signal sent.

ユニット制御袋W280による前面パネル201上の各
種表示器の状態遷移を表8に示す。
Table 8 shows the state transitions of various indicators on the front panel 201 according to the unit control bag W280.

表8 同図において○は点灯、×は消灯、Δは点滅。Table 8 In the figure, ○ is lit, × is off, and Δ is blinking.

Dは投入金額に応じた数値表示、Bは金額に対応したラ
ンプを点灯することをそれぞれ意味する。
D means to display a numerical value according to the input amount, and B means to light up a lamp corresponding to the amount.

なお、表8には各状態において紙幣挿入口221の紙幣
受付状態がどのようになっているかも併せて示した。こ
れよりカードおよび釣銭が除去されるまで次の紙幣挿入
ができないことが分かる。
Note that Table 8 also shows the bill receiving state of the bill insertion slot 221 in each state. This indicates that the next bill cannot be inserted until the card and change are removed.

第41図には、ユニット制御装置280の構成例が示さ
れている。
FIG. 41 shows an example of the configuration of the unit control device 280.

発行機のユニット制御装置280は、カードリーダ制御
装置288およびカード発行制御装置790を統括的に
制御するユニットコントローラ290と、管理袋[40
0とのデータ伝送に係る制御をするデータ伝送コントロ
ーラ551と、データ伝送コントローラの制御下でネッ
トワークにおける送受債権の確立およびデータの直並列
変換を行うネットワークコントローラ553等から構成
されており、通信系に関してはパチンコ機のユニット制
御装置工80と全く同一の構成である。すなわち、各コ
ントローラ290と551問および551と553間の
データの受は渡しは、デュアルポートメモリ(RAM)
550および552を介して実行できるように構成され
ている。このうち、メモリ552は、送信データ記憶領
域と受信データ記憶領域とに分かれており、全ての送受
信データ長を同一長にする(パケット化〉のための調整
機能と、データ伝送の高速化(2,5MbpS)を計る
ための緩衝機能とをもっている。
The unit control device 280 of the issuing machine includes a unit controller 290 that centrally controls the card reader control device 288 and the card issuance control device 790, and a management bag [40
It is composed of a data transmission controller 551 that controls data transmission with 0, and a network controller 553 that performs the establishment of receivables in the network and serial/parallel conversion of data under the control of the data transmission controller. has exactly the same configuration as the unit control device 80 of a pachinko machine. In other words, data is exchanged between each controller 290 and 551 and between 551 and 553 using dual port memory (RAM).
550 and 552. Of these, the memory 552 is divided into a transmission data storage area and a reception data storage area, and has an adjustment function for making all transmission and reception data the same length (packetization), and a function for increasing the speed of data transmission (2). , 5MbpS).

このパケットメモリ552は各々が256バイトの容量
を持つ4つのページで構成され、このうちページ0は送
信要求パケットの送信に、またページ1は定時データ送
信パケットの送信に使用される。一方、ページ2,3は
、データパケット受信用で交互に使用される。どのペー
ジを使うかは、データ伝送コントローラ551が、ネッ
トワークコントローラ553に指示する。データ伝送コ
ントローラ55↓が受信パケットデータの処理中、次の
パケットデータが送られてきたとしても、他のページに
受信されるため、確実に全てのパケットを受信できる。
This packet memory 552 is composed of four pages each having a capacity of 256 bytes, of which page 0 is used for transmitting a transmission request packet, and page 1 is used for transmitting a scheduled data transmission packet. On the other hand, pages 2 and 3 are used alternately for receiving data packets. The data transmission controller 551 instructs the network controller 553 as to which page to use. Even if the data transmission controller 55↓ is processing received packet data, even if the next packet data is sent, it will be received by another page, so all packets can be reliably received.

各コントローラ551,553を同時に初期化できるよ
うにするため共通のリセット回路555が設けられてい
る。
A common reset circuit 555 is provided so that each controller 551, 553 can be initialized simultaneously.

ネットワークコントローラ553の管理装置400との
接続側には、受信データを波形整形するとともに送信デ
ータのドライブ能力を上げるために信号のレベル変換を
行う信号変換回路554および切換スイッチ542を介
して、光コネクタ186に接続可能にされているととも
に、低層ネットワークの伝送ラインが同軸ケーブルで構
成された場合にも対応できるように切換スイッチ542
を介して、送信信号と受信信号の分離および結合を図る
分岐回路540に接続可能にされている。
An optical connector is connected to the connection side of the network controller 553 to the management device 400 via a signal conversion circuit 554 that performs waveform shaping of received data and converts the signal level in order to increase the drive capability of transmitted data, and a changeover switch 542. 186, and also has a selector switch 542 so that it can be connected to a coaxial cable when the transmission line of the low-layer network is configured with a coaxial cable.
can be connected to a branch circuit 540 for separating and combining the transmitted signal and the received signal.

上記光コネクタ186に光トランシーバ185が接続さ
れる。
An optical transceiver 185 is connected to the optical connector 186.

さらに、データ伝送コントローラ551とネットワーク
コントローラ553との間には、データ伝送コントロー
ラ551からの要求に応してネットワークコントローラ
553がデータの受信結果を記憶するためのラッチ回路
56(と、データ伝送コントローラ551が、ネットワ
ークコントローラ553に対するデータ送信指令等のコ
マンドを記憶させるラッチ回路562および低層ネット
ワーク用アドレスを記憶させるラッチ回路563と、ユ
ニット制御装置280内の通信制御状態の異常を表示す
るための3個のLEDランプからなるモニタ表示器55
6への表示データを記憶するラッチ回路564が設けら
れている。557は上記各ラッチ回路561〜564に
与えられたアドレスをデコードして選択信号を発生する
デコーダである。
Further, between the data transmission controller 551 and the network controller 553, there is a latch circuit 56 (and a latch circuit 56 for the network controller 553 to store the data reception result in response to a request from the data transmission controller 551). The latch circuit 562 stores a command such as a data transmission command to the network controller 553, the latch circuit 563 stores a low-layer network address, and three circuits are used to display an abnormality in the communication control state within the unit control device 280. Monitor display 55 consisting of an LED lamp
A latch circuit 564 is provided to store display data for 6. A decoder 557 decodes the address given to each of the latch circuits 561 to 564 and generates a selection signal.

一方、発行機のユニット制御装置280がパチンコ機の
ユニット制御装置180と異なる点は、ユニットコント
ローラ290がカードリーダ制御装置288と直接交信
することはせず、カート発行制御装置790を介して行
なうことである。そのため、ユニットコントローラ29
0とカード発行制御装置790のとの間には送受信デー
タのレベル変換を行うトランシーバ571が接続されて
いる。
On the other hand, the unit controller 280 of the issuing machine differs from the unit controller 180 of the pachinko machine in that the unit controller 290 does not communicate directly with the card reader controller 288, but communicates via the cart issuing controller 790. It is. Therefore, the unit controller 29
A transceiver 571 that performs level conversion of transmitted and received data is connected between the card issuing control device 790 and the card issuing control device 790 .

また、ユニットコントローラ290には、台番号設定器
205やリセットスイッチ207からの入力信号を所定
のタイミングでデータバス581上にのせたり発行中表
示器221等の各種ランプを表示させる駆動信号をラッ
チしたりする入出力コントローラ576と、紙幣識別器
210、紙幣払出器230および購入選択スイッチ21
2からの入力信号を所定のタイミングでデータバス58
1上へのせ、かつ紙幣識別器210および紙幣払出器2
30への制御信号をラッチする入出力コントローラ57
8が接続されている。
The unit controller 290 also latches a drive signal that puts input signals from the machine number setter 205 and reset switch 207 onto the data bus 581 at predetermined timing and displays various lamps such as the issuing indicator 221. input/output controller 576, bill validator 210, bill dispenser 230, and purchase selection switch 21
2 to the data bus 58 at a predetermined timing.
1, and the bill validator 210 and the bill dispenser 2.
an input/output controller 57 that latches control signals to 30;
8 are connected.

ユニットコントローラ290から紙幣識別器210への
制御信号としては、真紙幣と判定された紙幣を100O
O円、5000円、tOOOP[区別をして金庫内へ収
納するための指示信号と、紙幣挿入口への紙幣挿入を可
としたり、不可としたりするための指示信号がある。
As a control signal from the unit controller 290 to the banknote validator 210, the banknotes determined to be genuine banknotes are
O yen, 5000 yen, tOOOP [There is an instruction signal for distinguishing and storing the bills in the safe, and an instruction signal for allowing or disabling the insertion of bills into the bill insertion slot.

また、紙幣識別器210からユニットコントローラ29
0に対する入力信号には、挿入紙幣が真の↓00000
000円紙幣たときの信号と、挿入紙幣を真の5000
円紙幣と判定したときの信号と、挿入紙幣を真の100
0円紙幣と判定したときの信号と、紙幣判定後に、紙幣
挿入口方向へ紙幣が引き抜かれたときに出力されるアラ
ーム信号と、紙幣の挿入があり、該紙幣を識別中である
ことを示すための信号と、紙幣詰まりが発生したことを
示すための信号と、金庫内の紙幣収納が満杯になったこ
とを示すための信号とがある。
In addition, from the banknote validator 210 to the unit controller 29
For the input signal for 0, the inserted banknote is true ↓00000
Signal when inserting a 000 yen bill and inserting a true 5000 yen bill
The signal when it is determined that it is a yen bill and the inserted bill is a true 100 yen bill.
There is a signal when the banknote is determined to be a 0 yen banknote, an alarm signal that is output when the banknote is pulled out toward the banknote insertion slot after the banknote determination, and a signal that indicates that a banknote has been inserted and that the banknote is being identified. There is a signal to indicate that a banknote jam has occurred, and a signal to indicate that the banknote storage in the safe is full.

一方、ユニットコントローラ290から紙幣払出器23
0に対する制御信号としては1紙幣払出枚数をバイナリ
コードで設定するための指示信号と、枚数設定値に基づ
いた紙幣の払出しを実行させるための指示信号と、払出
し実行結果を表示するだめのモニタ表示器(図示しない
)の表示をクリアにするための指示信号とがある。
On the other hand, from the unit controller 290 to the bill dispenser 23
The control signals for 0 are an instruction signal for setting the number of banknotes to be paid out in binary code, an instruction signal for executing the payout of banknotes based on the set value of the number of banknotes, and a monitor display for displaying the result of the payout execution. There is also an instruction signal for clearing the display on the device (not shown).

また、紙幣払出器230からユニットコントローラ29
0に対する入力信号としては、紙幣を土枚出す度に出力
される信号と、払出し中装置内で異常が発生し、払出し
動作が実行できないときに出力されるアラーム信号と5
紙幣収納部の紙幣残量が20枚以下になったことを示す
信号と、紙幣払出し動作を実行中であることを示すため
の信号と、紙幣払出し動作が終了し1紙幣発行口の紙幣
が取り除かれたことを示すための信号とがある。
In addition, from the bill dispenser 230 to the unit controller 29
The input signals for 0 include a signal that is output every time a banknote is dispensed, an alarm signal that is output when an abnormality occurs in the device during dispensing and the dispensing operation cannot be executed, and 5.
A signal indicating that the remaining amount of bills in the bill storage section has become 20 or less, a signal indicating that a bill dispensing operation is being executed, and a signal indicating that the bill dispensing operation is completed and one bill from the bill issuing slot is removed. There is a signal to indicate that the

さらに、ユニットコントローラ290には、購入金額を
表示する金額表示器213や発行機の異常の種類を示す
番号を表示するモニタ表示機206をダイナミンク表示
させるためのデコーダ586.587とデコーダドライ
バ588,589やデータバス581を介して接続され
ている。
Further, the unit controller 290 includes decoders 586 and 587 and a decoder driver 588 for dynamically displaying the amount display 213 that displays the purchase amount and the monitor display 206 that displays the number indicating the type of abnormality in the issuing machine. 589 and a data bus 581.

表9に、上記モニタ表示器206に表示されるエラ一番
号とその内容および処理の一例を示す。
Table 9 shows an example of the error number displayed on the monitor display 206, its contents, and processing.

表9 3 パンチカス:瀉杯 パンチカス除去 上記表9において、*印の付されているエラーが発生し
た場合はシステムダウンとしてリセットがかかる。また
、エラー表示が点滅している場合はエラー回復処理後、
リセットボタンを押す必要があることを示している。
Table 9 3 Punch scum: Removal of punch scum In Table 9 above, if an error marked with an asterisk (*) occurs, the system will go down and will be reset. Also, if the error display is blinking, after error recovery processing,
Indicates that you need to press the reset button.

なお、585はユニットコントローラ290から出力さ
れるアドレス信号をデコートしてプログラムメモリ55
8やユニットメモリ550、人出カコントローラ596
,598およびデコーダ586.587、デコーダドラ
イバ588,889の選択信号を形成するデコーダであ
る。
Note that 585 decodes the address signal output from the unit controller 290 and stores it in the program memory 55.
8, unit memory 550, crowd controller 596
, 598, decoders 586, 587, and decoder drivers 588, 889.

さらに、この実施例のユニット制御装置280において
は、金額表示器213を駆動させるへくユニットコント
ローラ290から出力される表示データのうち、2ms
のような間隔で周期的に出力される桁セレクト信号(コ
モン信号)をリセット回路555に、ウォッチドッグパ
ルスとして入力するようにしている。リセット回路55
5はパワーオンリセットの他、このウォッチドッグパル
スを監視してパルスがなくなると各コントローラ290
.551,553に対するリセット信号を発生する。
Furthermore, in the unit control device 280 of this embodiment, 2 ms of the display data output from the unit controller 290 that drives the amount display 213 is
A digit select signal (common signal) that is periodically output at intervals such as is inputted to the reset circuit 555 as a watchdog pulse. Reset circuit 55
In addition to power-on reset, 5 monitors this watchdog pulse and when the pulse disappears, each controller 290
.. Generates a reset signal for 551 and 553.

上記のごとくユニット制御装置280は、管理装置40
0、カード発行M御装置290の二方向に情報交換の窓
口を有しており、管理装置400の制御下のもとにカー
ドを発行するための制御を行なうとともに、発行処理の
結果として発生する発行機における稼働情報を定期的に
管理装置に送信するソフトウェアを有している。
As described above, the unit control device 280 controls the management device 40
0. It has a window for exchanging information in two directions of the card issuing M control device 290, and performs control for issuing cards under the control of the management device 400, as well as information generated as a result of the issuing process. It has software that periodically sends operating information on the issuing machine to the management device.

管理装置との間のデータの送受信は、パチンコ機と同様
ユニットメモリ550を介して行なう。
Data is sent and received to and from the management device via a unit memory 550, similar to a pachinko machine.

ユニットメモリ550の構成はパチンコ機のそれと全く
同一(第24図参照)であり、送信データエリアSDA
と、受信データエリアRDAと、送信データや受信デー
タがメモリ内にあることを相手方のコントローラに伝え
るためのコマンドやステータス情報の入る共有データエ
リアCDAとが設けられている。
The configuration of the unit memory 550 is exactly the same as that of a pachinko machine (see Fig. 24), and the transmission data area SDA
, a reception data area RDA, and a shared data area CDA that contains commands and status information for informing the controller of the other party that transmission data and reception data are in the memory.

表9および表10に、各々上記ユニットメモリ550内
の送信データ二リアSDAおよび受信データエリアRD
Aの構成例を示す。交信用エリアCCAの構成はパチン
コ機のユニットメモリのそれと全く同一である(表3参
照)。
Tables 9 and 10 show the transmission data area SDA and reception data area RD in the unit memory 550, respectively.
An example of the configuration of A is shown. The configuration of the communication area CCA is exactly the same as that of the unit memory of a pachinko machine (see Table 3).

表 10 上記表10に示されているホットコートは、システムの
立上りのときに管理装置400がユニットメモリ550
の送信エリア内に、例えば010101・・・−01な
るコードを書き込んでおいて、定期的に管理装置に送っ
て、静電気等のノイズによるRAMデータの破壊の有無
をチエツクし、送信データの異常を速やかに検出できる
ようになっている。
Table 10 In the hot coat shown in Table 10 above, the management device 400 stores the unit memory 550 at system startup.
For example, write a code such as 010101...-01 in the transmission area, and send it periodically to the management device to check for damage to RAM data due to noise such as static electricity, and to detect abnormalities in the transmitted data. It can be detected quickly.

なお、上記表10に示されているモニタ情報上は、表1
2に示すようにシステム立上り時のテスト実行中を示す
ビット、初期値設定/未設定を示すビット、ホットコー
ドエラーを示すビット、ローカルネットワーク(伝送ケ
ーブル500)の異常を示すビット(低層用と高層用の
2ビツト)、発行機異常を示すビット等により構成され
ている。
The monitor information shown in Table 10 above is as shown in Table 1.
As shown in Figure 2, a bit indicates that a test is being executed when the system starts up, a bit indicates that the initial value is set/not set, a bit indicates a hot code error, and a bit indicates an abnormality in the local network (transmission cable 500) (low layer and high layer). It consists of a bit indicating a problem with the issuing machine, etc.

また、モニタ情報2は1表12に示すようにカードリー
ダの異常を示すビット、カードの有無を示すビット、同
紙幣タンク内の状態を示すビット、紙幣詰まりを示すビ
ット、紙幣の強制引き抜きを示すビット、残金払出器の
紙幣タンク内の状態を示すビット、残金払出器の異常を
示すビット等により構成されている。
In addition, as shown in Table 12, monitor information 2 includes a bit that indicates an abnormality in the card reader, a bit that indicates the presence or absence of a card, a bit that indicates the state of the banknote tank, a bit that indicates a bill jam, and a bit that indicates forced withdrawal of the bill. It consists of a bit, a bit that indicates the state inside the banknote tank of the balance dispenser, a bit that indicates an abnormality of the balance dispenser, and the like.

第42図〜第44図に前述した精算機300の構成例を
示す。
FIGS. 42 to 44 show configuration examples of the payment machine 300 described above.

この実施例の精算機300は、挿入されたカードCDの
磁気記録部に記録されたカート番号を読み取ってコート
のチエツクを行なうカードリーダを内蔵し、管理装置か
らのデータを受は取った後カートを回収するカード精算
装置310と、そのカードについて使用されずに残った
未使用金額に相当する金額を払い戻すための残金払出装
置321.325と、遊技により獲得した持玉数を印刷
したレシートを発行するプリンタ330と各種表示器3
03,304,341,342および精算機300全体
の制御を行なうユニット制御装置35の等により構成さ
れている。
The payment machine 300 of this embodiment has a built-in card reader that reads the cart number recorded in the magnetic recording section of the inserted card CD to check the coat. A card settlement device 310 that collects the amount of money, a balance payout device 321, 325 that refunds the amount equivalent to the unused amount that remains unused with respect to the card, and issues a receipt on which the number of balls acquired in the game is printed. printer 330 and various displays 3
03, 304, 341, 342, and a unit control device 35 that controls the entire payment machine 300.

この精算機300は」二面パネル301が上下方向回動
可能に構成され、上記カート精算装置310に対応して
、上面パネル301の前端にはカード挿入口302が、
また上面パネル301の上面には、獲得した賞球数(持
玉数)を表示する玉数表示器303および未使用金額を
表示する金額表示器304が設けられている。しかも、
この実施例の精算機300はパチンコ店に設置されるカ
ウンタを構成できるように上面がフラットに形成され、
かつ玉数表示器303と金額表示器304が2組設けら
れており、そのうち一つは前方に傾斜して遊技客にとっ
て読み取り易く、他方は後方に傾斜してカウンタ内側の
係員にとって読み取り易いようになっている。しかも、
玉数表示器303と金額表示器304の上方はガラス板
のような透明板によって覆われている。また、上面パネ
ル301の上面後方寄りには、上記表示器の表示をrO
J にクリアする表示リセットスイッチ305が設けら
れている。遊技客が、先ずカード挿入口302よりカー
ドを投入すると、精算機300内のカートリーダ800
がカードCDの磁気面に記録されているカート番号を読
み取って管理装置400に送り、そのカードに関するデ
ータを受は取る。そして、金額表示器304に未使用金
額を表示させるとともに、玉数表示器303に獲得玉数
を表示させ、プリンタ330により未使用金額と獲得玉
数および来歴データ等を印字したレシートを発行する。
This payment machine 300 has a two-sided panel 301 that can be rotated in the vertical direction, and a card insertion slot 302 at the front end of the top panel 301 corresponding to the cart payment device 310.
Further, on the top surface of the top panel 301, there are provided a ball number display 303 that displays the number of prize balls won (number of balls held) and an amount display 304 that displays the unused amount. Moreover,
The payment machine 300 of this embodiment has a flat top surface so that it can be used as a counter installed in a pachinko parlor.
In addition, two sets of ball number display 303 and amount display 304 are provided, one of which is tilted forward so that it is easy for the player to read, and the other is tilted backward so that it is easy for the staff inside the counter to read. It has become. Moreover,
The upper parts of the ball number display 303 and the amount display 304 are covered with a transparent plate such as a glass plate. In addition, on the rear side of the upper surface of the upper panel 301, the display of the above-mentioned display is set to rO.
A display reset switch 305 is provided to clear the display to J. When a player first inserts a card into the card insertion slot 302, the card reader 800 in the payment machine 300
reads the cart number recorded on the magnetic surface of the card CD, sends it to the management device 400, and receives and receives data regarding the card. Then, the amount display 304 displays the unused amount, the number of balls display 303 displays the number of balls acquired, and the printer 330 issues a receipt with the unspent amount, number of balls acquired, history data, etc. printed.

また、カードリーダ内の挿入されたカードは穿孔装置に
より、所定の穿孔位置PH5にパンチ穴(精算液孔)の
形成がなされてから内部のカード回収タンク314内に
排出される。
Further, the card inserted into the card reader is discharged into the internal card collection tank 314 after a punch hole (account liquid hole) is formed at a predetermined punching position PH5 by a punching device.

なお、この実施例では、精算機のカードリーダには記録
用ヘッドが不用であるが、記録用ヘッドを設けて、精算
液カードについては磁気面のデータを消去して排出する
ことにより、カード番号の変換方式の解読を不能にし、
カードの偽造を防止するようにしてもよい。
In this embodiment, the card reader of the payment machine does not require a recording head, but it is equipped with a recording head to erase the data on the magnetic surface of the payment liquid card and eject it. make it impossible to decipher the conversion method of
It may also be designed to prevent card forgery.

カードリーダとしては、パチンコ機100のカートリー
ダ800 (第25図参照)をそのまま使用しており、
発行機用のカードリーダと同様後方へカードが排出可能
にされており、カードリーダの後方にカード回収タンク
314が配置されている。プリンタ330は、ロール状
態でストックされている白紙のシートを引き出して、そ
の表面に発行年月日と、獲得玉数および未使用残金類さ
らにはカード来歴等を印刷し、上面パネル301の凹部
301a内に開口されたレシート発行口33工より排出
する。
As the card reader, the cart reader 800 (see Fig. 25) of the pachinko machine 100 is used as is.
Like a card reader for an issuing machine, cards can be ejected to the rear, and a card collection tank 314 is arranged behind the card reader. The printer 330 pulls out a blank sheet stocked in a roll, prints the date of issue, the number of balls acquired, unused balance, and card history on the surface of the blank sheet, and prints it on the surface of the blank sheet, and prints the card history, etc. It is discharged from the receipt issuing port 33 opened inside.

これとともに、未使用金額に相当する金銭が残金払出装
置より払い出される。残金払出装置は、紙幣を払い出す
紙幣払出器321と100円硬貨を払い出す硬貨払出器
325からなり、紙幣払出器321に対応して全面パネ
ル306には紙幣排出口322が、また硬貨払出器32
5に対応して硬貨払出口326が設けられている。また
、精算においては、未使用金として1000円未満の端
数が生じるので、上記のごと<100円単位の硬貨を払
い出す硬貨払出口325とからなる硬貨払出装置325
が必要とされる。
At the same time, money corresponding to the unused amount is paid out from the balance payout device. The balance dispensing device includes a bill dispenser 321 that dispenses banknotes and a coin dispenser 325 that dispenses 100 yen coins. 32
A coin dispensing port 326 is provided corresponding to No. 5. In addition, in settlement, since a fraction of less than 1000 yen is generated as unused money, the coin dispensing device 325 is composed of a coin dispensing port 325 that dispenses coins in units of <100 yen as described above.
is required.

さらに、上記精算機300の上面パネル301の上面に
は、カード精算中であることを示す精算中ランプ341
、カード精算不能状態を示す精算中止ランプ342が設
けられている。
Furthermore, on the top surface of the top panel 301 of the payment machine 300, there is a payment in progress lamp 341 that indicates that card payment is in progress.
, a payment stop lamp 342 is provided to indicate a state in which card payment is disabled.

また、開閉可能な全面パネル306の内側には。Also, inside the front panel 306 that can be opened and closed.

第42図(B)に示すように紙幣不足等精算機の異常を
エラ一番号を用いて表示するモニタ表示器343と、こ
のモニタ表示器343の表示をリセットするリセットス
イッチ351と遊技店に設置される複数の精算機の各々
を区別しで、特定のカートの精算を行なった精算機を管
理装置400において把握できるようにするための台番
号設定器352と、閉店時に硬貨払出装置325のタン
ク内に残った硬貨を排出させるための硬貨抜取スイッチ
353と、プリンタ330によって発行するレシートに
来歴データを印字するか否か指示を与える印字切替スイ
ッチ354が設けられている。
As shown in FIG. 42(B), a monitor display 343 that displays an error in the payment machine such as a shortage of banknotes using an error number, and a reset switch 351 that resets the display of this monitor display 343 are installed at the game parlor. a machine number setting device 352 for distinguishing between each of the plurality of payment machines to enable the management device 400 to know which payment machine has made the payment for a particular cart; and a tank for the coin dispensing device 325 at the time of closing. A coin extraction switch 353 for ejecting the remaining coins, and a print changeover switch 354 for giving an instruction as to whether history data should be printed on the receipt issued by the printer 330 are provided.

上記台番号設定器352により設定された台番号は管理
装置ii4,00に送られて、データ通信の際の伝送ア
ドレスの生成および各精算機ごとのブタファイル作成に
供される。
The machine number set by the machine number setting device 352 is sent to the management device ii4,00, and is used to generate a transmission address for data communication and to create a pig file for each payment machine.

カード精算装置310は、第43図に示すようにカード
リーダ800と、その後方に配置された補助搬送装置3
11と、ユニット制御装置350からの指示に従ってカ
ードリーダ800や補助搬送装置311の制御を司るカ
ード精算制御装置312と、それらの電源袋[1313
および補助搬送装置311の後方に配置されたカード回
収タンク314とのより構成されている。
As shown in FIG. 43, the card payment device 310 includes a card reader 800 and an auxiliary conveyance device 3 disposed behind the card reader 800.
11, a card payment control device 312 that controls the card reader 800 and the auxiliary transport device 311 according to instructions from the unit control device 350, and their power supply bags [1313
and a card collection tank 314 located behind the auxiliary transport device 311.

なお、上記カード回収タンク314はカード精算装置3
10のフレーム315に固定された縦長のタンク収納枠
31−6内に着脱可能に挿入されるようになっている。
Note that the card collection tank 314 is connected to the card payment device 3.
It is designed to be removably inserted into a vertically elongated tank storage frame 31-6 fixed to a frame 315 of No. 10.

また、上記フレーム315の側面には2つのカウンタ3
17と318が設けられ、そのうち一方に回収したカー
ドの枚数を表示するようになっている。他方のカウンタ
は未使用である。
Additionally, two counters 3 are provided on the side of the frame 315.
17 and 318, one of which displays the number of collected cards. The other counter is unused.

補助搬送装置311は、搬送ローラ36↓、362と、
それらに捲回された上下一対の搬送ベルト363,36
4と、下方の搬送ベルト364を駆動する搬送モータ3
65セからなり、カートリーダ800の後端から排出さ
れたカートを一対のベルト363との364の間に挟ん
で後方の回収タンク314へ向かって移送させるように
なっている。
The auxiliary conveyance device 311 includes conveyance rollers 36↓, 362,
A pair of upper and lower conveyor belts 363, 36 wound around them
4, and a transport motor 3 that drives the lower transport belt 364.
65 cells, and the cart discharged from the rear end of the cart leader 800 is sandwiched between a pair of belts 363 and 364 and transported toward the recovery tank 314 at the rear.

第43図には図示されていないが、カード回収タンク3
14にはカードがタンク内に排出されたこと、または−
杯になったことを検出するカートセンサ319が設けら
れている(第46図参照)。
Although not shown in FIG. 43, the card collection tank 3
14 indicates that the card has been ejected into the tank, or -
A cart sensor 319 is provided to detect when the cart is full (see FIG. 46).

ただし、この実施例の精算機300は前記台番号設定器
352の最上位桁を「9」にセットしたときにのみカー
ド没収モードとなり、精算のため挿入されたカードを精
算後に上記カート回収タンクに誘導して没収するように
なっており、それ以外のときは精算後にカードを前方へ
411:出して遊技客に返却するようになっている。
However, the payment machine 300 of this embodiment enters the card confiscation mode only when the most significant digit of the machine number setter 352 is set to "9", and the card inserted for payment is returned to the cart recovery tank after payment. The card is guided and confiscated, and in other cases, after payment is made, the card is put out 411: and returned to the player.

しかも、この実施例の精算機300は、第44図に示す
ごとくこれを複数個並べ、コーナーユニット50やカー
ド回収機900と組み合わせることにより、パチンコ店
の景品交換コーナーに設けられるカウンタを構成するこ
とができるようになっている。
Moreover, the payment machine 300 of this embodiment can constitute a counter provided in a prize exchange corner of a pachinko parlor by arranging a plurality of them as shown in FIG. 44 and combining them with the corner unit 50 and the card collection machine 900. is now possible.

すなわち、精算機300の本体は上面パネル301が床
から約1m程度の高さになるように設計され、かつ上面
は略平坦にされているため、景品交換等の作業台として
利用することができる。
In other words, the main body of the payment machine 300 is designed so that the top panel 301 is approximately 1 meter above the floor, and the top surface is substantially flat, so it can be used as a workbench for exchanging prizes, etc. .

なお、カード回収機900は前面にカード挿入口905
と景品払出口906を備え、かつ挿入されたカードを読
み取るカートリーダー(図示省略)を内蔵し、上面には
使用済カードによるゲームを提供するゲーム装置として
のCRT表示器910が載置されている。
Note that the card collection machine 900 has a card insertion slot 905 on the front.
and a prize payout port 906, and a built-in cart reader (not shown) for reading inserted cards, and a CRT display 910 as a game device that provides games using used cards is placed on the top surface. .

第45図には上記印字切替スイッチ354により設定さ
れる2つの印字上−トにおいてプリントアウトされるレ
シートの印字フォーマット例を示す。
FIG. 45 shows an example of the print format of a receipt printed out on two print sheets set by the print changeover switch 354.

このうち、同図(A)は印字切替スイッチ354により
精算データのみの印字を指定した場合のレシートのフォ
ーマット例で、パチンコ店のホール名HALLと、カー
ドの発行通し番号nと、精算年月日および受付時間TI
MEと、精算金額AMs、精算玉数(J、 N Tと、
メツセージMSGとが印字される。
Of these, (A) is an example of the format of a receipt when printing only payment data is specified by the print changeover switch 354, and shows the pachinko parlor hall name HALL, the card issuing serial number n, the payment date and Reception hours TI
ME, settlement amount AMs, number of settlement balls (J, NT,
Message MSG is printed.

一方、第45図(B)は印字切替スイッチ354により
来歴データ印字を指定した場合のレシートのフォーマッ
ト例を示すもので、同図(A)の精算データに加え、カ
ード発行時の購入金額AM1と、カートファイル内の来
歴データ(遊技中にカード状態が変化した各時点での未
使用金額および持玉数)CRRとが印字される。
On the other hand, FIG. 45(B) shows an example of the format of a receipt when history data printing is specified by the printing selector switch 354. In addition to the payment data in FIG. 45(A), the purchase amount AM1 at the time of card issuance is shown. , history data in the cart file (unused amount of money and number of balls held at each point in time when the card status changed during the game) CRR are printed.

なお、上記実施例の精算機では、台番号設定器352の
最上位桁をr9Jにセットすることによりカート回収モ
ードとし、それ以外のときは精算後のカートを前方に排
出するとしたが、精算時にカート状態をチエツクするこ
とで、使用した金額がrOJであって購入金額をすへて
払い戻すようなカードに関しては、未使用金を払い戻し
た後にカードを後方の回収タンク314へ排出させるよ
うにソフトウェアで制御することもできる。これによっ
て、回収機で精算済カードによるゲームを行なわせるよ
うなシステムを構成した場合において、そのゲームのた
めにのみカードを購入する悪用を回避することができる
In addition, in the payment machine of the above embodiment, the cart collection mode is set by setting the most significant digit of the machine number setting device 352 to r9J, and in other cases, the cart is ejected forward after payment. By checking the cart status, if the amount spent is rOJ and the purchase price is refunded, the software is configured to discharge the card to the rear collection tank 314 after refunding the unused amount. It can also be controlled. This makes it possible to avoid abuse of purchasing cards only for the game when a system is configured in which a game is played using cards that have already been paid for at a collection machine.

第46図には、上記のごとく構成された精算機300の
制御システムの構成例が示されている。
FIG. 46 shows a configuration example of a control system for the payment machine 300 configured as described above.

この実施例の制御システムは、大別してユニット制御装
置350による制御系とカード精算制御装置312によ
る制御系とに分割されており、ユニット制御装置350
が、紙幣および硬貨払出器321.325や各種表示器
303,304,341〜343およびプリンタ330
の制御と各種スイッチ類351〜354,305の入力
の受付けを担当しており、カート精算制御装置312が
補助搬送装置311と、回収したカードの計数表示手段
としてのカウンタ317と、カードのチエツクおよび磁
気データの読出しを行なうカードリーダ800の制御装
置388の統括的な制御を担当している。そして、ユニ
ット制御装置350と発行制御装置312との間の交信
はシリアル通信によって行われる。
The control system of this embodiment is roughly divided into a control system based on the unit control device 350 and a control system based on the card payment control device 312.
However, bill and coin dispensers 321, 325, various displays 303, 304, 341 to 343, and printer 330
The cart payment control device 312 controls the auxiliary conveyance device 311, the counter 317 as a means for displaying the number of collected cards, and the control of the card checking and receiving inputs from various switches 351 to 354, 305. It is in charge of overall control of the control device 388 of the card reader 800 that reads magnetic data. Communication between the unit control device 350 and the issue control device 312 is performed by serial communication.

一方、ユニット制御装置350は、管理装置400との
間でカート番号等のデータの送受信を行なうため、光ト
ランシーバ185を介して光ケーブルまたは同軸ケーブ
ルからなる低層ネットワーク用通信ライン510に接続
可能にされている。
On the other hand, the unit control device 350 is connectable to a low-layer network communication line 510 made of an optical cable or a coaxial cable via an optical transceiver 185 in order to send and receive data such as a cart number to and from the management device 400. There is.

第47図には精算機300のユニット制御装置350の
構成を示す。このユニット制御装置35Oの構成は、第
41図に示されている発行機200のユニット制御装置
280とほとんど同一であり、カートリーダーダ制御装
置388およびカード精算制御装置312を統括的に制
御するユニットコントローラ390と、管理装置400
とのデータ伝送に係る制御をするデータ伝送コントロー
ラ551と、データ伝送コントローラの制御下でネット
ワークにおける送受債権の確立およびデータの直並列変
換を行うネットワークコントローラ553等から構成さ
れており、通信系に関してはパチンコ機のユニット制御
装置180と全く同一の構成である。すなわち、各コン
トローラ390と551問および551と553間のデ
ータの受は渡しは、デュアルポートメモリ (RAM)
550および552を介して実行できるように構成され
ている。このうち、メモリ552は、送信データ記憶領
域と受信データ記憶領域とに分かれており、全ての送受
信データ長を同一長にする(パケット化)のための調整
機能と、データ伝送の高速化(2,’5Mbps)を計
るための緩衝機能とをもっている。
FIG. 47 shows the configuration of the unit control device 350 of the payment machine 300. The configuration of this unit control device 35O is almost the same as the unit control device 280 of the issuing machine 200 shown in FIG. Controller 390 and management device 400
It consists of a data transmission controller 551 that controls data transmission with the data transmission controller, and a network controller 553 that performs the establishment of receivables and serial/parallel data conversion in the network under the control of the data transmission controller. It has exactly the same configuration as the unit control device 180 of a pachinko machine. In other words, data is exchanged between each controller 390 and 551 and between 551 and 553 using dual port memory (RAM).
550 and 552. Among these, the memory 552 is divided into a transmission data storage area and a reception data storage area, and has an adjustment function for making all transmission and reception data the same length (packetization) and speeding up data transmission (2. , '5Mbps).

このパケットメモリ552は各々が256バイトの容量
を持つ4つのページで構成され、このうちページOは送
信要求パケットの送信に、またページ1は定時データ送
信パケットの送信に使用される。一方、ページ2,3は
、データパケット受信用で交互に使用される。どのペー
ジを使うかは。
This packet memory 552 is composed of four pages each having a capacity of 256 bytes, of which page O is used for transmitting a transmission request packet, and page 1 is used for transmitting a scheduled data transmission packet. On the other hand, pages 2 and 3 are used alternately for receiving data packets. Which page should I use?

データ伝送コントローラ551が、ネットワークコント
ローラ553に指示する。データ伝送コントローラ55
1が受信パケットデータの処理中、次のパケットデータ
が送られてきたとしても、他のページに受信されるため
、確実に全てのパケットを受信できる。各コントローラ
551,553を同時に初期化できるようにするため共
通のリセット回路555が設けられている。
Data transmission controller 551 instructs network controller 553. Data transmission controller 55
Even if the next packet data is sent while 1 is processing the received packet data, it will be received by another page, so all the packets can be reliably received. A common reset circuit 555 is provided so that each controller 551, 553 can be initialized simultaneously.

ネットワークコントローラ553の管理装置400との
接続側には、受信データを波形整形するとともに送信デ
ータのドライブ能力を上げるために信号のレベル変換を
行う信号変換回路554および切換スイッチ542を介
して、光コネクタ186に接続可能にされているととも
に、低層ネットワークの伝送ラインが同軸ケーブルで樋
底された場合し:も対応できるように切換スイッチ54
2を介して、送信信号と受信信号の分離および結合を図
る分岐回路540に接続可能にされている。
An optical connector is connected to the connection side of the network controller 553 to the management device 400 via a signal conversion circuit 554 that performs waveform shaping of received data and converts the signal level in order to increase the drive capability of transmitted data, and a changeover switch 542. 186, and a selector switch 54 is also provided to accommodate the case where the transmission line of the low-level network is connected to the bottom of the gutter with a coaxial cable.
2, it can be connected to a branch circuit 540 for separating and combining the transmitted signal and the received signal.

上記光コネクタ186に光トランシーバ185が接続さ
れる。
An optical transceiver 185 is connected to the optical connector 186.

さらに、データ伝送コントローラ55↓とネ・ノドワー
クコントローラ553との間には、データ伝送コントロ
ーラ551からの要求に応してネットワークコントロー
ラ553がデータの受信結果を記憶するためのランチ回
路561と、データ伝送コントローラ551が、ネット
ワークコントローラ553に対するデータ送信指令等の
コマンドを記憶させるラッチ回路562および低層ネッ
トワーク用アドレスを記憶させるラッチ回路563と、
ユニット制御装置350内の通信制御状態の異常を表示
するための3個のLEDランプからなるモニタ表示器5
56への表示データを記憶するラッチ回路564が設け
られている。557は上記各ラッチ回路561〜564
に与えられたアドレスをデコートして選択信号を発生す
るデコーダである。
Furthermore, between the data transmission controller 55↓ and the network controller 553, there is a launch circuit 561 for the network controller 553 to store data reception results in response to a request from the data transmission controller 551, and a launch circuit 561 for storing data reception results in response to a request from the data transmission controller 551. The transmission controller 551 includes a latch circuit 562 for storing a command such as a data transmission command for the network controller 553, and a latch circuit 563 for storing a low-layer network address.
A monitor display 5 consisting of three LED lamps for displaying abnormalities in the communication control state within the unit control device 350
A latch circuit 564 for storing display data to 56 is provided. 557 each of the above latch circuits 561 to 564
This is a decoder that decodes the address given to the decoder and generates a selection signal.

一方、精算機のユニット制御装[350がパチンコ機の
ユニット制御装置180と異なる点は、ユニットコント
ローラ390がカードリーダ制御装置388と直接交信
することはせず、カード精算制御装置312を介して行
なうことである。そのため、ユニットコントローラ39
0とカード精算制御装置312のとの間には送受信デー
タのレベル変換を行うトランシーバ571が接続されて
いる。
On the other hand, the unit controller 350 of the payment machine differs from the unit control device 180 of the pachinko machine in that the unit controller 390 does not communicate directly with the card reader control device 388, but communicates via the card payment control device 312. That's true. Therefore, the unit controller 39
A transceiver 571 that converts the level of transmitted and received data is connected between the card payment control device 312 and the card payment control device 312 .

また、ユニットコントローラ390には、球数表示器3
03のリセットスイッチ305や台番号設定器352、
モニタ表示器343のリセットスイッチ35↓、硬貨抜
取スイッチ353および印字切替スイッチ354からの
入力信号を所定のタイミングでデータバス581上にの
せたり精算中表示器341と精算中止表示器342の駆
動信号をラッチしたりする入出力コントローラ576と
、紙幣払出器32工、硬貨払出器325およびプリンタ
330からの入力信号を所定のタイミングでデータバス
581上へのせ、かつ紙幣払出器321と貨幣払出器3
25およびプリンタ330への制御信号をラッチする入
出力コントローラ578が接続されている。
The unit controller 390 also includes a pitch count display 3.
03 reset switch 305 and machine number setting device 352,
The input signals from the reset switch 35 ↓ of the monitor display 343, the coin extraction switch 353, and the print changeover switch 354 are placed on the data bus 581 at a predetermined timing, and the drive signals of the payment in progress display 341 and payment cancellation display 342 are An input/output controller 576 that latches, input signals from the bill dispenser 32, coin dispenser 325, and printer 330 are transferred onto the data bus 581 at a predetermined timing, and the bill dispenser 321 and the coin dispenser 3
25 and an input/output controller 578 that latches control signals to printer 330.

ユニットコントローラ390から紙幣払出器321に対
する制御信号としては、紙幣払出枚数をバイナリコード
で設定するための指示信号と1枚数設定値に基づいた紙
幣の払出しを実行させるための指示信号と、払出し実行
結果を表示するためのモニタ表示器(図示しない)の表
示をクリアにするための指示信号とがある。
The control signals from the unit controller 390 to the banknote dispenser 321 include an instruction signal for setting the number of banknotes to be paid out using a binary code, an instruction signal for dispensing banknotes based on the set value of the number of banknotes, and a payout execution result. There is an instruction signal for clearing the display on a monitor display (not shown) for displaying.

また、紙幣払出器230からユニットコントローラ39
0に対する入力信号としては、紙幣を1枚払い出す度に
出力される信号と、払出し中装置内で異常が発生し、払
出し動作が実行できないときに出力されるアラーム信号
と1紙幣収納部の紙幣残量が20枚以下になったことを
示す信号と。
Also, from the bill dispenser 230 to the unit controller 39
The input signals for 0 include a signal that is output every time one banknote is dispensed, an alarm signal that is output when an abnormality occurs in the device during dispensing and the dispensing operation cannot be executed, and the banknotes in the 1 bill storage section. A signal indicating that the remaining amount is less than 20 sheets.

紙幣払出し動作を実行中であることを示すための信号と
、紙幣払出し動作が終了し1紙幣発行口の紙幣が取り除
かれたことを示すための信号とがある。
There is a signal for indicating that the bill dispensing operation is being executed, and a signal for indicating that the bill dispensing operation has been completed and the bill from one bill issuing slot has been removed.

一方、ユニットコントローラ390から硬貨払出器32
5に対する制御信号としては硬貨払出しモータを駆動信
号があり、この駆動信号を出力している間は1枚ずつ連
続的に硬貨が排出される。
On the other hand, from the unit controller 390 to the coin dispenser 32
The control signal for 5 is a signal to drive the coin dispensing motor, and while this drive signal is output, coins are continuously ejected one by one.

そして硬貨払出器325からユニットコントローラ39
0に対しては硬貨を1枚払い出すごとに出力するコイン
検出信号と硬貨収納タンク内の残量が少なくなったこと
を示す信号とがある。また、ユニットコントローラ39
0からプリンタ330への制御信号には、印字データ、
印字終了後のペーパーカットコマンド、印字指令等を与
える8ビツトのデータ信号と、このデータ信号の取込み
開始を指示する信号と、プリンタの初期化信号とがある
。プリンタ330からユニットコントローラ390への
入力信号としては印字異常を示すエラー信号と、印字用
ペーパー切れを示す信号と、印字動作中を示す信号とが
ある。
And from the coin dispenser 325 to the unit controller 39
For 0, there is a coin detection signal that is output every time one coin is paid out, and a signal that indicates that the remaining amount in the coin storage tank is low. In addition, the unit controller 39
The control signal from 0 to the printer 330 includes print data,
There are an 8-bit data signal that gives a paper cut command after printing, a print command, etc., a signal that instructs the start of capturing this data signal, and a printer initialization signal. Input signals from the printer 330 to the unit controller 390 include an error signal indicating a printing abnormality, a signal indicating that printing paper is out, and a signal indicating that a printing operation is in progress.

さらに、ユニットコントローラ390には、精算玉数を
表示する玉数表示器303や精算金額を表示する金額表
示器304および精算機の異常の種類を示す番号を表示
するモニタ表示機343をダイナミック表示させるため
のデコーダ586a。
Furthermore, the unit controller 390 dynamically displays a number of balls display 303 that displays the number of balls paid, an amount display 304 that displays the amount paid, and a monitor display 343 that displays a number indicating the type of error in the payment machine. Decoder 586a for.

586b、587とデコーダドライバ588,589が
データバス581を介して接続されている。
586b, 587 and decoder drivers 588, 589 are connected via a data bus 581.

表14に、上記モニタ表示器343に表示されるエラ一
番号とその内容および処置の一例を示す。
Table 14 shows an example of the error number displayed on the monitor display 343, its contents, and treatment.

同表において、申開の付されているエラーが発生した場
合はシステムダウンとしてリセットがかかる。また、エ
ラー表示が点滅している場合はエラー回復処理後、リセ
ットボタンを押す必要があることを示している。
In the same table, if an error with a disclosure statement occurs, the system will be reset as a system down. Further, if the error display is blinking, it indicates that it is necessary to press the reset button after error recovery processing.

表14 カートリーダ点検 (ネ) カートリーダ異常 ネットワーク異常 □受信コマンド異常 1カートリーダセンサーエフ−詰まりカート除去なお、
585はユニットコントローラ390がら出力されるア
ドレス信号をデコートしてプログラムメモリ558やユ
ニットメモリ550、入出力コントローラ596,59
8およびデコーダ586.587、デコーダドライバ5
88,889の選択信号を形成するデコーダである。
Table 14 Cart reader inspection (ne) Cart reader error Network error □ Received command error 1 Cart reader sensor F - Remove clogged cart.
585 decodes the address signal output from the unit controller 390 and sends it to the program memory 558, unit memory 550, and input/output controllers 596 and 59.
8 and decoder 586.587, decoder driver 5
This is a decoder that forms 88 and 889 selection signals.

さらに、この実施例のユニット制御装置350において
は、金額表示器304を駆動させるべくユニットコント
ローラ390から出力される表示データのうち、2ms
のような間隔で周期的に出力される桁セレクト信号(コ
モン信号)をリセット回路555に、ウォッチドッグパ
ルスとして入力するようにしている。リセット回路55
5はパワーオンリセットの他、このウォッチドッグパル
スを監視してパルスがなくなると各コントローラ390
.551,553に対するリセット信号を発生する。
Furthermore, in the unit control device 350 of this embodiment, 2 ms of the display data output from the unit controller 390 to drive the amount display 304 is
A digit select signal (common signal) that is periodically output at intervals such as is inputted to the reset circuit 555 as a watchdog pulse. Reset circuit 55
In addition to power-on reset, 5 monitors this watchdog pulse and when the pulse disappears, each controller 390
.. Generates a reset signal for 551 and 553.

上記のごとくユニット制御装置1f350は、管理装[
400、カード精算制御装置312の二方向に情報交換
の窓口を有しており、管理装置400の制御下のもとに
カードを発行するための制御を行なうとともに、精算処
理の結果として発生する精算機における稼働データを定
期的に管理装置に送信するソフトウェアを有している。
As mentioned above, the unit control device 1f350 has a management system [
400 has a window for exchanging information in two directions of the card payment control device 312, and performs control for issuing cards under the control of the management device 400, as well as processing payments that occur as a result of payment processing. It has software that periodically sends operating data on the machine to the management device.

精算機300のユニットコントローラ390は、上記構
成部品の制御やカード番号のチエツク、カードデータの
受信、表示等を行なって精算処理を実行するとともに、
稼動データを収集し、それをデュアルポートメモリから
なるユニットメモリ550内の送信データエリアSDA
に書き込む。ユニットメモリ550に書き込まれた稼動
データは。
The unit controller 390 of the payment machine 300 executes payment processing by controlling the above components, checking the card number, receiving and displaying card data, etc.
Collects operating data and sends it to the transmission data area SDA in the unit memory 550 consisting of dual port memory.
write to. The operating data written in the unit memory 550 is as follows.

データ伝送コントローラ551による伝送ケーブルを介
した管理装置400との間のデータ交信により管理装置
に送られる。管理装置から送られて来るデータも、−旦
ユニットメモリ550内の受信データエリアRDAに書
き込まれ、ユニットコントローラ390がこれを読み取
ることによってデータの受信が行なわれる。ユニットメ
モリ550には送信データや受信データがメモリ内にあ
ることを相手方のコントローラに伝えるためのコマント
やステータス情報の入る共有データエリアCDAが設け
られている。
The data is sent to the management device through data communication between the data transmission controller 551 and the management device 400 via a transmission cable. Data sent from the management device is also first written to the reception data area RDA in the unit memory 550, and the unit controller 390 reads this to receive the data. The unit memory 550 is provided with a shared data area CDA that contains commands and status information for informing the other party's controller that transmitted data and received data are in the memory.

表土5および表186に、各々上記ユニットメモ1、J
 550内の送信データエリアSDAおよび受信データ
エリアRDAの構成例を示す。交信用エリアCCAの構
成はパチンコ機のユニットメモリのそれと全く同一であ
る(表3参照)。
Topsoil 5 and Table 186, respectively, above unit notes 1 and J.
5 shows a configuration example of a transmission data area SDA and a reception data area RDA in 550. The configuration of the communication area CCA is exactly the same as that of the unit memory of a pachinko machine (see Table 3).

表 5 表16に示すようにこの実施例ではカードの来歴データ
も受信して、これを時刻データとともにレシートに印刷
して排出することにより、遊技客に対し信頼度の高い精
算データであることを印象づけることができる。ただし
、来歴データはカートファイル内に入っている最高20
回までのデータである。
Table 5 As shown in Table 16, in this embodiment, the history data of the card is also received, and by printing this on the receipt along with the time data and discharging it, the player is informed that the payment data is highly reliable. You can make an impression. However, the provenance data can be up to 20 items in the cart file.
This is the data up to the time.

なお、表15に示されているモニタ情報上は、表17に
示すようにシステム立上り時のテスト実行中を示すビッ
ト、初期値設定/未設定を示すビット、ホットコードエ
ラーを示すビット、ローカルネットワーク(伝送ケーブ
ル500)の異常を示すピント(低層用と高層用の2ビ
ツト)、精算機異常を示すビット等により構成されてい
る。
In addition, the monitor information shown in Table 15 includes a bit indicating that a test is being executed at system start-up, a bit indicating initial value setting/unsetting, a bit indicating a hot code error, and a local network bit as shown in Table 17. It consists of a pin point (2 bits for low-rise and high-rise) indicating an abnormality in the transmission cable 500, a bit indicating an error in the payment machine, etc.

表↓7 表18 また、モニタ情報2は、表18に示すようにペーパー切
れを示すビット、プリンタの異常を示すビット、カート
リーダの異常を示すビット、カードタンク内の状態を示
すビット、硬貨払出器の硬貨の有然を示すビット、硬貨
払出器の異常を示すビット、紙幣払出器の紙幣タンク内
の状態を示すビット、紙幣払出器の異常を示すビット等
により構成されている。
Table ↓7 Table 18 In addition, as shown in Table 18, monitor information 2 includes a bit indicating paper out, a bit indicating a printer error, a bit indicating an error in the cart reader, a bit indicating the state inside the card tank, and a bit indicating coin dispensing. It is composed of a bit that indicates the presence of coins in the dispenser, a bit that indicates an abnormality in the coin dispenser, a bit that indicates the state in the bill tank of the bill dispenser, a bit that indicates an abnormality in the bill dispenser, and the like.

次に、前述のごとく構成されたパチンコ機100、カー
ト発行機200および精算機300を統括的に制御する
とともに稼動データをリアルタイムに収集して全端末機
の稼働状況を監視し、停電や故障が発生しても復旧時に
直ちに元のデータ状態を復活させてシステム各部の動作
を再開させ、また遊技店の経営に必要なデータの集計を
可能にするとともに、カードか破損した場合に同一資格
の復活カートを発行する管理装置400について説明す
る。
Next, it centrally controls the pachinko machine 100, cart issuing machine 200, and payment machine 300 configured as described above, collects operating data in real time, monitors the operating status of all terminals, and prevents power outages and breakdowns. Even if an occurrence occurs, it will immediately restore the original data state and restart the operation of each part of the system, and it will also be possible to aggregate the data necessary for the management of the game parlor, as well as reinstate the same qualifications if the card is damaged. The management device 400 that issues carts will be explained.

第48図に管理装置400の具体的な構成を、また第4
9図に管理装置のシステム構成を示す。
FIG. 48 shows the specific configuration of the management device 400, and FIG.
Figure 9 shows the system configuration of the management device.

管理装置400は、ミニコンクラスの中央処理装置CP
Uや半導体メモリ(RAM)からなる主記憶装[M−M
EM、伝送制御装置SCC等が格納されたマスク制御装
置401と、このマスク制御装置401の上部に設けら
れた補助記憶装置としてのフロッピディスク記憶装置4
02、ハードディスク記憶装[403とパーソナルコン
ピュータ410とにより構成されている。また、パーソ
ナルコンピュータ410は、メツセージや収集データを
表示するCRT表示装置411と、オペレータが指令や
設定データを与えるためのコンソール412を有し、C
PUとタイマTMR(カレンダを含む)を内蔵し、マス
タ制御装置401内の中央処理装置と通信回線および割
込回線を介して接続されたローカル処理装置413と、
収集データ等を印字するためのプリンタ414とにより
構成されている。
The management device 400 is a central processing unit CP of a minicomputer class.
Main memory unit consisting of U and semiconductor memory (RAM) [M-M
A mask control device 401 in which an EM, a transmission control device SCC, etc. are stored, and a floppy disk storage device 4 as an auxiliary storage device provided above the mask control device 401.
02, a hard disk storage device [403] and a personal computer 410. The personal computer 410 also has a CRT display device 411 for displaying messages and collected data, and a console 412 for an operator to give commands and setting data.
A local processing device 413 that includes a built-in PU and a timer TMR (including a calendar) and is connected to the central processing unit in the master control device 401 via a communication line and an interrupt line;
It also includes a printer 414 for printing collected data and the like.

ローカル処理装置413と中央処理装置CPUとを結合
するため、シリアル通信制御装置406a、406bが
マスタ制御装置401内に設けられている。このうち、
通信制御装置406aは通常の交信に、また通信制御装
置406bは、緊急時の割込み通信用として使用する。
Serial communication control devices 406a and 406b are provided within master control device 401 to couple local processing device 413 and central processing unit CPU. this house,
The communication control device 406a is used for normal communication, and the communication control device 406b is used for interrupt communication in an emergency.

上記プリンタ414は、管理装置400のスループット
を向上させるため、印字されるデータを一時的に格納す
るバッファを備えている。
The printer 414 includes a buffer that temporarily stores data to be printed in order to improve the throughput of the management device 400.

さらに、この管理装置1400には、パチンコ遊技シス
テムに特有なものとして、破損したカードと同一資格を
有する復活カードやシステムにから切り離された状態で
パチンコ機を起動させることが可能なテスト用カードを
発行するカード発行装置1700やパチンコ機で発生す
るパ打止め″等、システムで発生した緊急情報をリアル
タイムで印字する補助プリンタ408を内蔵したボック
ス420と、補助電源装置409とが上記マスク制御装
置401に隣接して設けられている。カード発行装置7
00と補助プリンタ408はそれぞれ、通信制御装置4
06c、406dを介して中央処理袋[CPUに接続さ
れている。また、カート発行装置700は、第36図に
示されている発行機200用のカート発行装置700と
全く同一の構成のものを使用している。202はそのカ
ート発行口である。
Furthermore, this management device 1400 includes a restoration card that has the same qualifications as the damaged card and a test card that can start the pachinko machine in a state that is disconnected from the system, as unique to the pachinko gaming system. The mask control device 401 includes a box 420 that includes an auxiliary printer 408 that prints out emergency information generated in the system in real time, such as the card issuing device 1700 that issues cards and pachinko machine stoppages, etc., and an auxiliary power supply device 409. Card issuing device 7
00 and the auxiliary printer 408 are each connected to the communication control device 4.
It is connected to the central processing bag [CPU] via 06c and 406d. Further, the cart issuing device 700 has exactly the same configuration as the cart issuing device 700 for the issuing machine 200 shown in FIG. 36. 202 is the cart issuing port.

補助電源装置409は、停電発生時に主記憶装置!M−
MEMに揮発的に保持されている全ての端末の稼動デー
タや、発行した全てのカードのデータをハードディスク
記憶装置403に移して保護できるようにするため、最
低でも10分間程度は管理装置を動作できるようにバッ
クアップする。
The auxiliary power supply device 409 serves as the main memory when a power outage occurs! M-
The management device can be operated for at least 10 minutes in order to protect the operating data of all terminals and the data of all issued cards, which are volatilely held in the MEM, by transferring them to the hard disk storage device 403. Back up like this.

また、第49図において符号SCCは、ネットワーク5
00を介して各端末機との間でデータ伝送を可能にする
ための伝送制御装置である。
Further, in FIG. 49, the symbol SCC is the network 5
This is a transmission control device for enabling data transmission between terminals via 00.

なお1本実施例においては、主としてパチンコ機100
とカード発行機200、精算機300および管理袋[4
00からなるシステムについて説明するが、この発明は
店内放送装置や景品交換装置、自動販売機等をも管理装
置4.00の制御下におくようにしたシステムにまで拡
張することができる。特に景品交換装置は、カードを使
って精算機300を通さずに直接景品と交換できるよう
な方式を容易に適用する可能性がある。
Note that in this embodiment, the pachinko machine 100 is mainly used.
and card issuing machine 200, payment machine 300 and management bag [4
Although a system consisting of the management device 4.00 will be described, the present invention can be extended to a system in which an in-store broadcasting device, a prize exchange device, a vending machine, etc. are also placed under the control of the management device 4.00. In particular, the prize exchange device may easily adopt a system in which a card can be directly exchanged for a prize without passing through the payment machine 300.

さらに、管理装置400を構成するコンソール4↓2も
、本実施例のパチンコ遊技システムに最も適した独特の
キー構成となっている。
Furthermore, the console 4↓2 constituting the management device 400 also has a unique key configuration most suitable for the pachinko gaming system of this embodiment.

第50図に、コンソール412の構成例を示す。FIG. 50 shows an example of the configuration of the console 412.

同図(B)はコンソールの上面すなわちパネル面。Figure (B) shows the top surface of the console, that is, the panel surface.

同図(A)はコンソールの背面を示す。Figure (A) shows the back side of the console.

第50図において、421はシステムの各端末に対する
営業開始を指示するための開店スイッチ、422は同じ
く営業終了を指示するための閉店スイッチで、開店スイ
ッチ421.がオンされた後、閉店スイッチ422がオ
ンされるまでの間、各端末機におけるカードの運用が可
能となる。また。
In FIG. 50, 421 is an opening switch for instructing each terminal of the system to start business, and 422 is a closing switch for instructing end of business. After the card is turned on, the card can be used at each terminal until the closing switch 422 is turned on. Also.

423は営業終了後に全端末機の稼動データをフロッピ
ディスク記憶装置402に格納し、管理装置へ制御の停
止を指示するためのシステム終了スイッチ、424は破
損したカードの復活処理を指示するためのカード復活ス
イッチである。
423 is a system termination switch for storing the operating data of all terminals in the floppy disk storage device 402 after business hours and instructing the management device to stop control, and 424 is a card for instructing restoration processing of a damaged card. It's a resurrection switch.

なお、上記開店スイッチ421、閉店スイッチ422、
システム終了スイッチ423およびカード復活スイッチ
424の4つのスイッチは、本システムにとって特に重
要なスイッチであり、システム稼動中安易に操作される
のを防止するため、その後方(図では上方)に設けられ
たキースイッチ420に連動されており、キースイッチ
420を回してオンさせた状態でないと各スイッチ42
1〜424を操作してオンさせることができないように
なっている。
In addition, the above-mentioned opening switch 421, closing switch 422,
The four switches, the system termination switch 423 and the card recovery switch 424, are particularly important switches for this system, and are provided behind them (at the top in the figure) to prevent them from being easily operated while the system is running. It is linked to the key switch 420, and if the key switch 420 is not turned on, each switch 420
1 to 424 cannot be turned on by operating them.

425.426,427は、通常のパーソナルコンピュ
ータ等のコンソールに設けられているのと同種のテンキ
ー、リターンキーおよびデリートキーである。
425, 426, and 427 are the same type of numeric keypad, return key, and delete key as those provided on the console of a normal personal computer or the like.

一方、428はカードに関するデータや各端末の稼動デ
ータ等をCRT表示装置411の画面上に表示させる指
令を与える表示メニュースイッチ、429はCRT表示
装置に表示されたデータの消去を要求するCRTクリア
スイッチである。また430はカードに関するデータや
各端末の稼動データ等をプリンタ414によって印字さ
せる指令を与える印字メニュースイッチである。432
はパチンコ機における打止数や打止モード等の設定を要
求するための設定スイッチ、433は、設定された打止
数の賞品球が払い出されて打止すなわち遊技継続不能状
態になっているパチンコ機の打止状態の解除指令を与え
るための打止解除スイッチ、434は、営業終了時に端
末機を種別ごとに強制終了させたり、通信ネットワーク
の異常等に伴い正常な制御やデータ収集が不能になった
場合に全端末機を強制終了させたり、あるいは遊技客の
不正を発見した場合に特定端末機を強制停止させるため
の強制終了スイッチ、435は強制停止された端末機の
停止を解除させるための終了解除スイッチ、439は日
時設定用スイッチである。
On the other hand, 428 is a display menu switch that gives commands to display card-related data and operation data of each terminal on the screen of CRT display device 411, and 429 is a CRT clear switch that requests deletion of data displayed on the CRT display device. It is. Further, 430 is a print menu switch that gives a command to print data related to the card, operating data of each terminal, etc. by the printer 414. 432
433 is a setting switch for requesting settings such as the number of strokes and the stopping mode of the pachinko machine, and 433 indicates that the set number of prize balls have been paid out and the game has stopped, that is, the game cannot be continued. The cancellation release switch 434 is used to issue a command to cancel the pachinko machine's suspension state, and is used to forcefully terminate terminals of each type at the end of business hours, or to disable normal control or data collection due to abnormalities in the communication network, etc. 435 is a forced termination switch for forcibly shutting down all terminals when the situation occurs, or forcibly stopping a specific terminal when cheating by a player is discovered. 439 is a date and time setting switch.

また、実施例のコンソール412には、パチンコ機での
打止等緊急事態が発生した場合にオペレータの喚起を促
す音を発生するブザー440と、その発音停止を指示す
るブザーストップスイッチ436とが設けられている。
Furthermore, the console 412 of the embodiment is provided with a buzzer 440 that generates a sound to alert the operator in the event of an emergency situation such as pachinko being stopped, and a buzzer stop switch 436 that instructs to stop the sound. It is being

431aと431bは管理装置400の機能が将来拡張
されることを予想して用意した予備スイッチであり、例
えばプリンタ414による印字の中断を指示するための
スイッチとして使用することができる。
431a and 431b are spare switches prepared in anticipation of future expansion of the functions of the management device 400, and can be used, for example, as switches for instructing the printer 414 to interrupt printing.

上記各スイッチのうち、図中2重枠で示されているスイ
ッチ421〜424,432〜436は、ランプ内蔵型
のスイッチで、これらのスイッチがオンされて対応する
処理の実行中もしくは状態継続中内蔵ランプが点灯され
る。ただし、ブザーストップスイッチ436内のランプ
は、ブザーと連動し、ブザー発音中点灯され、ストップ
スイッチ436が押されると消灯する。
Among the above switches, the switches 421 to 424 and 432 to 436 shown with double frames in the figure are switches with built-in lamps, and when these switches are turned on, the corresponding process is being executed or the state is continuing. The built-in lamp lights up. However, the lamp in the buzzer stop switch 436 is linked to the buzzer, is lit while the buzzer is sounding, and is turned off when the stop switch 436 is pressed.

さらに、この実施例のコンソール412には、その背面
に、テストカード発行指令を与えるためのテストカード
スイッチ437と、システム導入時に購入上の交換レー
トや店コート、端末機の総台数、入賞球1個当たりの賞
品球数等の設定値の設定およびその設定値の変更を指示
するためのビルトインスイッチ438が設けられている
。これらのスイッチ437と438は、他のスイッチと
異なり、通常はほとんど使用しないスイッチであり、か
つ特定の者(遊技店の支配人等)が存在を知っていれば
よいスイッチであるため、コンソールの背面に設けられ
ている。
Furthermore, the console 412 of this embodiment has a test card switch 437 on its back for giving a test card issuance command, the exchange rate for purchase at the time of system introduction, the store court, the total number of terminals, and the number of winning balls. A built-in switch 438 is provided for instructing setting values such as the number of prize balls per piece and changing the setting values. These switches 437 and 438, unlike other switches, are switches that are rarely used and only need to be known to a specific person (such as the manager of an amusement arcade), so they are placed on the back of the console. It is set in.

ここで、上記テストカードについて言及する。Here, the above test card will be mentioned.

既に説明した構成より明らかなように、この実施例の遊
技システムは、すべての端末機(パチンコ機、カート発
行機、精算機)が管理装置の制御下にあり、カード番号
等のやり取りによって稼動可能な状態に移行するように
なっており、端末単独では動作不能である。しかるに、
パチンコ機は使用頻度が高いため、玉詰まりやいわゆる
チューリップなどの役物が故障したりすることが多いと
ともに、出玉率の調節のため遊技領域内の釘調整が必要
である。その場合、修理や釘調整後に試し打ちを行なう
ことになるが、本実施例では、前述した各パチンコ機の
制御ユニット160内のテスト用スイッチ179をオン
させ、かつ管理装置によって発行された特殊なテスト用
カードを制御二ニット160のカード挿排口802aよ
り挿入すると、一定の持玉数が与えられてパチンコ機単
独で遊技動作が実行可能になるようにjflh’Uされ
ている。
As is clear from the configuration already explained, in the gaming system of this embodiment, all the terminal machines (pachinko machine, cart issuing machine, payment machine) are under the control of the management device, and can be operated by exchanging card numbers, etc. The terminal is now in a state where it cannot operate on its own. However,
Since pachinko machines are frequently used, balls often get jammed or accessories such as so-called tulips break down, and it is necessary to adjust the nails in the game area to adjust the ball payout rate. In that case, a trial shot will be performed after repair or nail adjustment, but in this embodiment, the test switch 179 in the control unit 160 of each pachinko machine described above is turned on, and the special nail issued by the management device is turned on. When a test card is inserted through the card insertion/ejection opening 802a of the control unit 160, a certain number of balls are given to the pachinko machine so that the game operation can be executed independently.

これによって、非営業時における試し打ちではシステム
全体を立ち上がらせる必要がない。また、営業中におい
ては、遊技中の稼働データを損なうことなく試し打ちを
行なうことができる。
As a result, there is no need to start up the entire system for trial use during non-business hours. Furthermore, during business hours, trial play can be performed without damaging the operating data during the game.

なお、実施例では管理装置400に設けられるカード発
行装置700として、発行機200で使用しているもの
と同様のものを使用し、内部に白紙カードをストックし
たカードタンク701とカートリーダ800を内蔵して
いるが、内部に白紙カードを有さず、外部から白紙カー
ドを挿入して磁気面にコードを記録して排出する方式を
採るようにしてもよい。その場合にはカードタンク7゜
1を省略できる。また、管理装[400により発行され
る前記テストカードや復活カードは必ずしも他の一般カ
ードのように使用年月日や発行通し番号等を明記する必
要がないので、印字装置750を省略してもよい。なお
、復活カード発行の際には穿孔装置807によってカー
ドの所定の穿孔位it P H2(復活穴)にパンチ穴
を開けるようになっている。
In the embodiment, the card issuing device 700 provided in the management device 400 is similar to that used in the issuing machine 200, and includes a card tank 701 stocked with blank cards and a cart reader 800. However, instead of having a blank card inside, a method may be adopted in which a blank card is inserted from the outside, a code is recorded on the magnetic surface, and the card is ejected. In that case, the card tank 7.1 can be omitted. Furthermore, since the test card and revival card issued by the management device [400] do not necessarily have to clearly indicate the date of use, serial number of issue, etc. like other general cards, the printing device 750 may be omitted. . Note that when issuing a resurrection card, a punching device 807 punches a hole at a predetermined punching position it P H2 (resurrection hole) of the card.

上述したようにこの実施例の端末機↓00.200.3
00はすへて管理装置400の管理下に置かれ、管理装
@400が起動されていないと、原則として単独で動作
できない。従って、システムの立上り時には管理装置4
00によってずへての端末機に設定値を与えてイニシャ
ライズを行なう。しかも、このイニシャライズに先立っ
て、データ伝送を可能にするため各端末機から台番号を
吸い上げて1つ1つの伝送アドレスを形成する。
As mentioned above, the terminal of this example ↓00.200.3
00 is always under the management of the management device 400, and cannot operate independently unless the management device @400 is activated. Therefore, when the system starts up, the management device 4
00 gives the setting value to the terminal and initializes it. Furthermore, prior to this initialization, in order to enable data transmission, the machine number is collected from each terminal and a transmission address is formed for each terminal.

そして、システム稼動中はすべての端末機の稼動データ
をリアルタイムで収集して主記憶装置M−MEMに保持
するようになっている。
While the system is in operation, operating data of all terminals is collected in real time and stored in the main memory M-MEM.

つまり、管理装置400の管理下における端末機の数が
多いので、すべての制御を管理装置によって行なうと応
答が遅くなるので、一部の処理は端末機のユニット制御
装置に委ねる分散処理方式を採用し、定時データ収集で
全端末機のデータを収集し、稼働状況を監視するように
した。
In other words, since there are a large number of terminals under the management of the management device 400, the response will be slow if all control is performed by the management device, so a distributed processing method is adopted in which some processing is entrusted to the unit control device of the terminal. Then, data from all terminals was collected through regular data collection, and the operating status was monitored.

また、定時データを収集すると、管理装置400の取扱
うデータの量は膨大なものとなる。そこで、本実施例で
はこれらのデータをファイル管理により整理して取扱い
を容易にしている。
Furthermore, when data is collected at regular intervals, the amount of data handled by the management device 400 becomes enormous. Therefore, in this embodiment, these data are organized by file management to facilitate handling.

第51図にはデータファイルが設定される主記憶装置M
−MEMの構成を、また表19には各ファイルの機能と
セーブ場所を示す。
Figure 51 shows the main memory M where data files are set.
-The configuration of MEM is shown in Table 19, and the function and save location of each file are shown.

主記憶装置M−MEM内のファイルのうち、伝送アドレ
スファイルFL6を除くファイルFLI〜FL5は停電
時にハードディスクHDD (補助)記憶装置403に
セーブされる。また、端末機に関するデータファイルす
なわちパチンコ機ファイル(以下P機ファイルと称する
)PL2、発行機ファイルFL3および精算機ファイル
FL4は、日報ファイルとして営業終了時にフロッピー
ディスクFDD (補助記憶装置402)に記憶され、
月別の稼動データ集計等に供される。
Among the files in the main storage device M-MEM, files FLI to FL5, excluding the transmission address file FL6, are saved in the hard disk HDD (auxiliary) storage device 403 at the time of a power outage. In addition, data files related to terminal machines, that is, pachinko machine file (hereinafter referred to as P machine file) PL2, issuing machine file FL3, and payment machine file FL4, are stored in the floppy disk FDD (auxiliary storage device 402) as daily report files at the end of business hours. ,
Used for monthly operation data aggregation, etc.

さらに、設定値ファイルFL5と、伝送アドレスファイ
ルFL6はシステムの立上り時にハードディスクHHD
から主記憶装置M−MEM内にロードされ、変更がある
とハードディスクHHDにセーブされる。
Furthermore, the setting value file FL5 and the transmission address file FL6 are stored on the hard disk HHD at system startup.
The data is loaded into the main memory M-MEM, and any changes are saved to the hard disk HHD.

なお、設定値ファイルは、主記憶装置M−MEMの内に
設けられたコモンデータエリアCDAにロートされる。
Note that the setting value file is loaded into a common data area CDA provided in the main storage device M-MEM.

このコモンデータエリアCDAは、中央処理袋RCPU
のワーキング領域となるエリアで、ここには、上記設定
ファイルFL5の他、システムモードや最新のカード発
行通し番号、停電フラグ、カート番号作成用乱数等が記
憶される。
This common data area CDA is the central processing bag RCPU.
In addition to the setting file FL5, the system mode, the latest card issuing serial number, a power outage flag, a random number for creating a cart number, etc. are stored here.

表■9 同表における設定値ファイルFL5は、システム導入時
にコンソールの入力によって予めハードディスクに記憶
される購入上の交換レートや店コード、端末台数、賞品
球数、打止数等のシステムの特性や構成に応じて変動す
る設定値である。この設定値ファイルは通常営業開始時
にハードディスクHDDより主記憶装置にロードされる
。また、設定値ファイルFL5は、パチンコ機の入替え
の際等にビルトインスイッチ438を押してコンソール
412により更新できるようになっている。
Table ■9 Setting value file FL5 in the same table contains system characteristics such as the exchange rate for purchase, store code, number of terminals, number of prize balls, number of balls stopped, etc. that are stored in advance on the hard disk by input from the console at the time of system installation. This is a setting value that changes depending on the configuration. This setting value file is loaded from the hard disk HDD into the main storage device at the start of normal business operations. Further, the setting value file FL5 can be updated from the console 412 by pressing the built-in switch 438 when replacing the pachinko machine.

表20に設定値ファイルFL5の構成例を示す。Table 20 shows an example of the configuration of the setting value file FL5.

次に、表19に示されている各ファイルについて更に詳
しく説明する。
Next, each file shown in Table 19 will be explained in more detail.

同表において、購入玉交換レートとは、購入金額単位(
例えば200円)に対する貸玉数すなわち最初の持玉数
であり、NAU台数とは、データ伝送システムとしての
高層ネットワークと低層ネットワークとの連結部に設け
られるネットワークアダプタユニット(通信制御装置)
の総数である。
In the same table, the purchased ball exchange rate is the unit of purchase amount (
For example, 200 yen), it is the number of rental balls, that is, the initial number of balls held, and the number of NAUs is the network adapter unit (communication control device) installed at the connection part between the high- and low-layer networks as a data transmission system.
is the total number of

上記ファイルにおいて、hで示されるテーブルには各N
AUごとにその下に接続される端末機の種類と数が設定
される。また、符号jで示されるテーブルには、あるパ
チンコ機からあるパチンコ機までの賞品球数が設定され
る。この賞品球数には1台につき2種類の賞品球数が設
定できるようになっている。しかも、j;工〜Yで示さ
れるようにこの実施例では、遊技店の全パチンコ機をY
のグループに分割して、各々メインとサブの2つの賞品
球数を別個に設定できるようになっている。
In the above file, each N
The type and number of terminals connected under each AU are set. Further, the number of prize balls from a certain Pachinko machine to a certain Pachinko machine is set in the table indicated by the symbol j. Two types of prize balls can be set for each machine. Moreover, as shown by j;
The number of prize balls for each group can be set separately for the main and sub prize balls.

ただし同一の設定値のパチンコ機には連続した台番号が
与えられ、その先頭番号と末尾番号とによって対象範囲
が指定される。
However, consecutive machine numbers are given to pachinko machines with the same setting value, and the target range is specified by the first number and the last number.

さらに、kで示されるテーブルには打止数と打止モード
が設定される。ここで、打止モートとは、打止数の算出
の仕方(演算式)を示し、例えば単純に払出し賞品球数
が打止数に達したときをもって打止とするモードや、払
出し賞品球数から打込球数を引いたものが打止数に達し
たときをもって打止めとするモード等がある。特に限定
はされないが、この実施例ではに=l−Zで示されるよ
うに、各々2個のグループに分けて独立に打止数および
打止モートを設定できる。
Furthermore, the number of stops and the stop mode are set in the table indicated by k. Here, the term "stopping mode" refers to the method (arithmetic formula) for calculating the number of balls to be struck; for example, there is a mode in which the game is simply stopped when the number of prize balls to be paid out reaches the number to be batted, or the number of prize balls to be paid out There is a mode in which the game stops when the number of batted balls subtracted from the number of batted balls reaches the number of hits. Although not particularly limited, in this embodiment, the number of stops and the stop mode can be set independently for each group, as shown by =l-Z.

表21に、データ伝送に使用される伝送アドレスのファ
イルFL6の構成例を示す。
Table 21 shows an example of the configuration of the transmission address file FL6 used for data transmission.

表21において、種別フラグは端末の種類を示すための
フラグで、「1ノがパチンコ機、「2」がカード発行機
、「4」が精算機であることを、そして、「O」が端末
の不存在を各々示す。NAUステータスは、NAUの状
態を示すもので、表22に示すように、ビットB4に“
■”がセットされているとトークンバスが異常であるこ
とを、またビットB□に“1″がセットされていると、
″開店コード″パケットを既に受信していることを、さ
らにビットB。に“1″がセットされていると、NAU
が正常であることをそれぞれ示す。
In Table 21, the type flag is a flag to indicate the type of terminal, and "1" indicates the pachinko machine, "2" indicates the card issuing machine, "4" indicates the payment machine, and "O" indicates the terminal. Each indicates the absence of . The NAU status indicates the state of the NAU, and as shown in Table 22, “
If "■" is set, it indicates that the token bus is abnormal, and if "1" is set to bit B□,
Further bit B indicates that the "Opening Code" packet has already been received. is set to “1”, NAU
Indicates that each is normal.

表21 表22 台番号および通し番号はr4Jとr9Jを除いて作られ
た端末機の番号とその通し番号であり、ユニット番号は
、端末の種類にかかわらず一つのNAU(ネタ1−ワー
クアダプタユニット)の下に置かれた各端末機の番号す
なわち後述の低層ネットワーク上でのアドレスとなる番
号、またチャネル番号は管理装置から見た各端末機のア
ドレスすなわち後述の高層ネットワーク上でのアドレス
となる番号である。ただし、実施例のシステムでは一つ
のNAUの下に接続されるパチンコ機台数を64台以下
としている。
Table 21 Table 22 The unit number and serial number are the numbers and serial numbers of terminals made excluding r4J and r9J, and the unit number is for one NAU (Network 1-Work Adapter Unit) regardless of the type of terminal. The number of each terminal placed below, that is, the number that becomes the address on the lower layer network described later, and the channel number, the number that becomes the address of each terminal seen from the management device, that is, the address on the higher layer network that will be described later. be. However, in the system of the embodiment, the number of pachinko machines connected under one NAU is 64 or less.

NAU番号と台番号は既に述べたように設定スイッチ(
171,205,305,561)で与えられる番号で
、パチンコ店の場合、パチンコ機の台番号は、慣例とし
て「4」と「9」を除いた数字で与えられる飛び番号で
ある。ここで「4」と「9」を使用しないということは
8進法表現が可能であることが分かる。そこで、10進
数表示された台番号を表23に示す変換テーブルを使っ
てO〜7の数字のみで表現する。これに従うと、例えば
r258Jなる台番号はr247Jと表記される。
As mentioned above, the NAU number and machine number are set using the setting switch (
171, 205, 305, 561), and in the case of pachinko parlors, the machine number of the pachinko machine is a consecutive number that is customarily given with numbers excluding "4" and "9". Here, the fact that "4" and "9" are not used means that octal representation is possible. Therefore, using the conversion table shown in Table 23, the machine number expressed in decimal notation is expressed only as numbers 0 to 7. According to this, for example, the machine number r258J is written as r247J.

表23 これを2進化8進法によりバイナリコードで表現すルト
、rOlo−100・lll」となる。
Table 23 This is expressed in binary code using the binary coded octal system as rOlo-100.llll.

このコードは10進法のr167」を示しており、これ
によって、「4」と「9」の抜けたパチンコ機台番号が
連続した通し番号となる。一方、低層ネットワーク上で
のアドレスを8ビツトに抑えるため上記コードの下位8
ビツトをとって、これを2進化8進法で表されたコード
rioio−oi11J とみなし、これをHE X、
 A表現すると、rA7H」となる。さらに、一つのN
AU下にはパチンコ機以外に発行機や精算機等の端末機
も接続されており、それらにも8ビツトのユニット番号
を与えるため、一つのNAU下のパチンコ機の台数を6
4台に制限し、上記コードrA7HJとコードr3FH
J  (10進数の64に相当)との論理積をとってr
27H」を得る。r3FHJとの論理積をとるというこ
とは64で割った余りを求める操作を意味する。この実
施例ではこれをユニット番号とするものである。そして
、このユニット番号の頭にNAU番号を付けたrNAU
番号+番号ツユニット番号ャネル番号としている。この
ような方法により、「4」と「9」を使用しない台番号
を有するパチンコ遊技店の慣例において、2進法のみを
使ってデータ処理を行なうマイクロコンピュータの特性
に合致した効率の良いアドレス処理が可能となる。
This code indicates "r167" in decimal notation, and as a result, the pachinko machine machine numbers without "4" and "9" become consecutive serial numbers. On the other hand, in order to keep the address on the low-layer network to 8 bits, the lower 8 bits of the above code
Take the bits, consider this as the code rioio-oi11J expressed in binary coded octal system, and write this as HEX,
When expressed in A, it becomes rA7H. Furthermore, one N
In addition to pachinko machines, terminals such as issuing machines and payment machines are also connected under the AU, and in order to give them 8-bit unit numbers, the number of pachinko machines under one NAU is reduced to 6.
Limited to 4 units, above code rA7HJ and code r3FH
J (equivalent to 64 in decimal) and logical product r
27H” is obtained. Performing logical product with r3FHJ means calculating the remainder after dividing by 64. In this embodiment, this is used as the unit number. Then, rNAU with the NAU number added to the beginning of this unit number.
Number + number unit number channel number. This method enables efficient address processing that matches the characteristics of microcomputers that process data using only binary notation, which is customary in pachinko parlors that have machine numbers that do not use "4" and "9". becomes possible.

上記伝送アドレスファイルは、システム導入時にコンソ
ールからの入力によって作成されるが。
The above transmission address file is created by input from the console when the system is installed.

NAU自身もシステム立上り時に台番号設定器からの入
力に基づいて自己の制御下のユニットのアドレスファイ
ル(ユニットテーブル)を作成しメモリに保有するよう
になっており、回線テスト後に管理装置がNAUに対し
てユニットテーブル要求を行なってその返答データと比
較して一致しないときは自動的に変更される(後述)。
The NAU itself also creates an address file (unit table) for the units under its control based on the input from the unit number setter when the system is started up and stores it in memory, and after a line test, the management device returns to the NAU. A unit table request is made to the unit table and compared with the response data, and if they do not match, the unit table is automatically changed (described later).

また、伝送アドレスファイルはコンソール背面のビルト
インスイッチ438によっても変更可能である。
The transmission address file can also be changed using a built-in switch 438 on the back of the console.

また、NAU、発行機と精算機にはそれぞれ種別ごとに
「1」から始まる連続通し番号を台番号として与え、N
AUと精算機に関してはその台番号をそのままアドレス
(ユニット番号)として使用し、発行機に関しては台番
号にr128Jを加えたものを低層ネットワーク上での
アドレス(ユニット番号)としている。同−NAU下に
同一台番号のパチンコ機と発行機とが並存した場合にお
けるアドレスの重複を回避するためである。パチンコ機
と精算機のアドレスの重複は1両者を同一のNAU下に
並存させないことで回避している。
In addition, consecutive serial numbers starting from "1" are given to each type of NAU, issuing machine, and payment machine as machine numbers.
For the AU and the payment machine, the machine number is used as is as the address (unit number), and for the issuing machine, the machine number plus r128J is used as the address (unit number) on the lower layer network. This is to avoid address duplication when a pachinko machine and an issuing machine with the same machine number coexist under the same NAU. Duplication of addresses between the pachinko machine and the payment machine is avoided by not allowing both machines to coexist under the same NAU.

また1発行機と精算機は同一のNAU下に置くことがで
きる(発行機のアドレスとして「台番号十工28」を使
用することとしたため)。
In addition, the 1-issuing machine and the payment machine can be placed under the same NAU (because we decided to use "machine number 10-28" as the address of the issuing machine).

さらに、NAtJ530の高層ネットワーク上でのアド
レスは設定器544で設定されたN A tJ番号を用
い、低層ネットワークでのN’ A Uのアドレスはr
255Jの固定アドレスを用いる。また、管理装置のア
ドレスは「0」としている。
Furthermore, the address of NAtJ530 on the high-level network uses the NAtJ number set by the setting device 544, and the address of N'AU on the low-level network is r.
A fixed address of 255J is used. Further, the address of the management device is set to "0".

表24にカードファイルFLIの構成例を示す。Table 24 shows an example of the configuration of the card file FLI.

カードファイルFLIには、各カードごとの情報が入る
The card file FLI contains information for each card.

表 4 表24において、カード番号は発行通し番号nから関数
f (n)を用いて、得られる番号であり、持玉数と金
額、カード状態は発行通し番号nとカード番号で特定さ
れるカードの現在状態を示す情報で、この実施例では以
下カートテキストと称する。なお、ここでカード状態と
は、次の表25に示すように、遊技に使用されていない
フリー状態を示すビット、遊技中を示すビット、遊技機
から一時的に離れる中断中を示すビット、既に精算機に
おける精算を行なったカードであることを示すビット、
カードの持玉数および残金がともにゼロになったことを
示すビット、過去に)回以上打止めを発生したことを示
すビット、強制終了されたパチンコ機で使用されたカー
ドであることを示すビット、復活されたカードであるこ
とを示すビット等により構成されている。
Table 4 In Table 24, the card number is the number obtained from the issuing serial number n using the function f (n), and the number of balls held, the amount of money, and the card status are the current number of the card specified by the issuing serial number n and the card number. This information indicates the status, and is hereinafter referred to as cart text in this embodiment. As shown in Table 25 below, the card status here refers to a bit that indicates a free status that is not used for gaming, a bit that indicates that the game is in progress, a bit that indicates that the card is temporarily away from the gaming machine, and a bit that indicates that the card is already in the suspended state. A bit indicating that the card was used for payment at the payment machine.
A bit that indicates that both the number of balls and balance of the card have become zero, a bit that indicates that the card has been stopped more than once (in the past), and a bit that indicates that the card was used in a pachinko machine that has been forcibly terminated. , a bit indicating that the card is a revived card, etc.

表 5 一方、表24に戻って、カードファイルFLLには、カ
ードの現在存在している端末の位置を示す所在端末通し
番号と、所在端末番号が登録される。パチンコ機遊技店
では慣例として、「4」とr9Jの数字を台番号として
用いないので、裏と表の2種類の端末番号が発生する。
Table 5 On the other hand, returning to Table 24, in the card file FLL, the location terminal serial number indicating the location of the terminal where the card currently exists and the location terminal number are registered. As is customary in pachinko machine parlors, the numbers "4" and r9J are not used as machine numbers, so two types of terminal numbers are generated: one for the back and one for the front.

また、表24においてiカウンタとはカードがアクショ
ンを起こした数すなわち、カードが有機的結合体たるシ
ステムから外部へ排出動作された回数を示すもので、こ
の回数に対応して、そのときの台番号、持玉数、金額1
時刻等のカード情報すなわちカードの来歴が記録される
。統計的に見て遊技者は1日20台以下のパチンコ機で
遊技するのがほとんどであるので、この実施例では最高
20回までカード来歴を記録することとした。ただし、
20回を超えた場合には、1=20で示されるテーブル
を更新する形で記録される。なお、上記の場合、iカウ
ンタは遊技中断を計数しない。
In addition, in Table 24, the i counter indicates the number of actions the card has taken, that is, the number of times the card has been ejected from the system, which is an organic combination. Number, number of balls, amount 1
Card information such as time, or history of the card, is recorded. Statistically speaking, most players play on less than 20 pachinko machines a day, so in this embodiment, card history is recorded up to 20 times at most. however,
If the number of times exceeds 20, it is recorded by updating the table indicated by 1=20. Note that in the above case, the i counter does not count game interruptions.

つまり、中断時に各カート情報を新しいエリアに記録す
るが、中断解除後の遊技終了スイッチオン時にカウンタ
を更新せず同一エリアに重ねてカード情報を記録するこ
とによりlカウンタの値を実質的な遊技台数と一致させ
ている。
In other words, each cart information is recorded in a new area at the time of suspension, but when the game end switch is turned on after the suspension is canceled, the counter is not updated and the card information is recorded in the same area, so that the value of the l counter is changed to the actual game. It matches the number of units.

ここで、カートの状態およびアクションとカードファイ
ル八FL↓のカード情報の登録について第52図を用い
て説明する。
Here, the cart status and actions and the registration of card information in the card file 8FL↓ will be explained using FIG. 52.

先ず、カート発行機200においてカードの発行が行な
われると、カートが排出されて、カートは未発行(白紙
)状態SSOからフリー状態SS1に移行する。それか
ら、所望のパチンコ機1゜Oにカードを挿入すると、遊
技状態SS2へ移行する。ここで遊技によってカードの
持玉および金額がゼロになると、カードが排出されて帰
零状態SS3に移る。また、遊技中に中断スイッチ11
5が押されると、カードが排出されて、中断状態SS4
へ移行し、同一カートの再投入により再び遊技状態SS
2へ戻る。そして、遊技中に遊技を終了させるべく終了
スイッチ114を押すと、カドが排出されてフリー状態
SSIに移行する。
First, when a card is issued by the cart issuing machine 200, the cart is ejected and the cart shifts from an unissued (blank) state SSO to a free state SS1. Then, when the card is inserted into the desired pachinko machine 1°O, the game state shifts to SS2. When the number of balls and the amount of money on the card become zero due to the game, the card is ejected and the state shifts to zero return state SS3. Also, during the game, the interrupt switch 11
When 5 is pressed, the card is ejected and the suspended state SS4
By re-inserting the same cart, the game state returns to SS.
Return to 2. Then, when the end switch 114 is pressed to end the game during the game, the cards are ejected and the game shifts to the free state SSI.

CP Uによる強制終了または打止発生によってもカー
ドが排出されて遊技状態SS2からフリー状態SSIへ
移る。そのフリー状態のカードを持って精算機300に
行き精算処理を行なうと、無効マークが付されてからカ
ードが回収され精算済の状態SS5へ移る。この実施例
のシステムでは、中断状gss4のカートを持ってパチ
ンコ機に戻らずそのまま精算機300に行き、精算処理
を行なうことも可能でありその場合、中断状態SS4か
ら精算済状態SS5へ移行する。
Even if the CPU terminates the game forcibly or the game stops, the card is ejected and the game state moves from the game state SS2 to the free state SSI. When the card in the free state is brought to the payment machine 300 and payment processing is performed, an invalid mark is attached to the card, the card is collected, and the process moves to the payment completed state SS5. In the system of this embodiment, it is also possible to go directly to the payment machine 300 without returning to the pachinko machine with the cart with the suspension state GSS4 and perform payment processing, and in that case, the state shifts from the suspension state SS4 to the payment completed state SS5. .

上記状態遷移図において、遷移方向を示す矢印に0が付
されているのがカートファイルFL3へのカード情報の
記録を伴うアクションである。また、各ブロック内にて
、XXHで示されている符号は1表25のカード状態を
示すコードを用いて対応する状態を16進数字で表現(
HEXA表現)したものである。
In the above state transition diagram, the arrows indicating the transition direction with 0 attached are actions that involve recording card information in the cart file FL3. In addition, in each block, the code indicated by XXH represents the corresponding state in hexadecimal digits using the code indicating the card state in Table 25 (1).
HEXA expression).

次に、表26にP機ファイルFL2の構成例を示す。Next, Table 26 shows an example of the configuration of the P machine file FL2.

同表において、台番号からカード状態までの項目は、表
1に示されている送信データエリアに保持されているデ
ータであり、これらは↓秒に1回管理装置400によっ
てサンプリングされ、ファイルに登録される。また、メ
イン賞球数、サブ賞球数、打止数および打止モードは、
システム立上り時に表20に示されている設定値ファイ
ルFL5に基づいてP機ファイルFL2に登録される。
In the same table, the items from machine number to card status are the data held in the transmission data area shown in Table 1, and these are sampled by the management device 400 once every ↓ seconds and registered in the file. be done. In addition, the number of main prize balls, the number of sub-prize balls, the number of batting balls, and the batting mode are as follows:
When the system is started up, it is registered in the P machine file FL2 based on the setting value file FL5 shown in Table 20.

表26 寧総容量 64X506=32384=約32にバイト
表26において○印の付されているデータはシステム終
了時に日報ファイルとしてフロッピディスクにセーブさ
れるデータであることを意味する。
Table 26 Total Capacity 64 x 506 = 32384 = Approximately 32 Bytes The data marked with a circle in Table 26 means data that will be saved on the floppy disk as a daily report file when the system is terminated.

また、パチンコ機ファイル内のモニタ情報1,2は、表
4および表5に、稼働情報は表6に示されている。
Further, monitor information 1 and 2 in the pachinko machine file are shown in Tables 4 and 5, and operation information is shown in Table 6.

次に2表27および表28に発行機ファイルFL3と精
算機ファイルFL4をそれぞれ示す。表27に示すデー
タ項目は、表10に示されている発行機の送信データエ
リアに保持されているデータ、また、表28に示すデー
タの項目は表15に示されている送信データエリアに保
持されているデータと各々一致する。これらは、1秒間
に1回管理装置によってサンプリングされる。
Next, Table 27 and Table 28 show the issuing machine file FL3 and the payment machine file FL4, respectively. The data items shown in Table 27 are the data held in the sending data area of the issuing machine shown in Table 10, and the data items shown in Table 28 are held in the sending data area shown in Table 15. Each match the data shown. These are sampled by the management device once per second.

表27 本総容盪6・)x50=3200=3.2にバイト本総
容壊64xlO=640=0.6.4にハイ1−表26
、表27において、セーブ欄に○印が付されているデー
タは、営業終了時にフロッピディスクFDDにセーブさ
れるデータである。
Table 27 Total damage 6) x50 = 3200 = 3.2 bytes Total damage 64
, In Table 27, data marked with a circle in the save column is data that is saved on the floppy disk FDD at the end of business hours.

また、発行機ファイル内のモニタ情報上、2は表Y2お
よび表↓3に、精算機ファイルのモニタ情報1,2は表
17および表18に示されている。
Furthermore, regarding the monitor information in the issuing machine file, 2 is shown in Table Y2 and Table ↓3, and monitor information 1 and 2 in the payment machine file are shown in Tables 17 and 18.

さらに、発行機の稼働情報と精算機の稼働情報は000
00000 0000 0001のとき稼働中であるこ
とを示す。
Furthermore, the operating information of the issuing machine and the operating information of the payment machine are 000.
00000 0000 0001 indicates that it is in operation.

次に上記のごとく構成された端末機としてのカード発行
機100、パチンコ機200、精算機300およびそれ
らの端末機の集中制御を行なう管理装置400を有機的
に結合して、データ伝送およびカードの運用を可能にす
るデータ伝送路(ローカルエリアネットワーク)につい
て説明する。
Next, the card issuing machine 100, the pachinko machine 200, the payment machine 300 as terminals configured as described above, and the management device 400 that performs centralized control of these terminals are organically combined to perform data transmission and card processing. The data transmission path (local area network) that enables this operation will be explained.

第53図(A)に階層的データ伝送路を用いたパチンコ
遊技システムの構成例を示す。
FIG. 53(A) shows a configuration example of a pachinko gaming system using a hierarchical data transmission path.

すなわち、100−1000台の端末機は、例えば遊技
店の島設備のような単位で20〜40台ずつグループ化
され、各群の端末機は、リング状の伝送路上を高速で巡
回するトークンと呼ばれる送信権を示すパケットを受信
したノード(端末機)がパケットの形でデータの送受信
を行なう権利を有するようにされたトークンパッシング
方式の低層ネットワーク(トークンバス)510によっ
てネットワークアダプタユニット(以下、NAUと称す
る)53oに接続されている。
In other words, 100 to 1000 terminals are grouped into groups of 20 to 40 units, such as island equipment at a game store, and each group of terminals is connected to a token that circulates at high speed on a ring-shaped transmission path. A network adapter unit (hereinafter referred to as NAU) is connected to a token-passing low-layer network (token bus) 510 in which a node (terminal device) that receives a packet indicating a transmission right has the right to send and receive data in the form of a packet. ) 53o.

そして、各低層ネットワーク(トークンバス)510を
制御する複数個のNAU530は、CSMA/CD (
Carrier  5ence  Multlple 
 Access  with  Co11ision 
 Detect)方式の高層ネットワーク520を介し
て管理装置400に接続されている。
The plurality of NAUs 530 that control each low-layer network (token bus) 510 control the CSMA/CD (
Carrier 5ence Multiple
Access with Co11ision
The management device 400 is connected to the management device 400 via a high-rise network 520 using the Detect method.

上記低層ネットワーク510は2.5Mbps(メガビ
ット/秒)のような伝送速度を有し、高層ネットワーク
520は、10Mbpsのような伝送速度を有するよう
に制御され、NAU530は両者の伝送速度の差を吸収
して円滑なデータ伝送を可能とするバッファとして作用
する。つまり。
The low layer network 510 has a transmission speed of 2.5 Mbps (megabits per second), the high layer network 520 is controlled to have a transmission speed of 10 Mbps, and the NAU 530 absorbs the difference in transmission speed between the two. It acts as a buffer to enable smooth data transmission. In other words.

NAU 530は異種ネットワーク間でのデータ中継機
能とデータの論理的な集配機能を有する。このように、
データ伝送路5o○を階層的構成とした理由は、1つの
管理装置に500台以上の端末がつながり、各端末から
1秒すに定時データを収集しようとすると、ホストコン
ピュータが全ての端末ユニットと直接交信するシステム
ではホストコンピュータの負担が大きくなりすぎること
と。
The NAU 530 has a data relay function between different networks and a data logical collection and distribution function. in this way,
The reason for the hierarchical configuration of the data transmission path 5o○ is that if more than 500 terminals are connected to one management device and you want to collect regular data from each terminal every second, the host computer will need to connect all the terminal units. A system that communicates directly would place too much burden on the host computer.

チーバネノドは伝送速度は10Mbpsと早いが、コン
トローラLSIが高価なため、端末ユニットを直接接続
するにはコストが高くなり過ぎる。また、トークンバス
のみでは、1秒間に1回のデータを収集しようとするに
は伝送速度が遅すぎるためである。しかも、本実施例の
システムでは、高層ネットワーク5↓Oを構成する伝送
路も、低層ネットワーク520を構成する伝送路も、同
軸ケーブルまたは光フアイバケーブルのいずれも使用で
きるように構成されている。
Although the transmission speed of Chiba Nenodo is as fast as 10 Mbps, the controller LSI is expensive, so the cost is too high to connect the terminal units directly. In addition, the transmission speed is too slow to collect data once per second using only the token bus. Moreover, in the system of this embodiment, both the transmission line constituting the high-rise network 5↓O and the transmission line constituting the low-level network 520 are configured so that either a coaxial cable or an optical fiber cable can be used.

なお、第53図(A)において符号Pで示されているが
端末機とL5てのパチンコ機、符号Hで示されているの
がカード発行機、また符号Sで示されているのが精算機
である。
In Fig. 53 (A), the symbol P indicates the terminal and the pachinko machine L5, the symbol H indicates the card issuing machine, and the symbol S indicates the payment machine. It is a machine.

各端末機P、H,Sは、ネットワーク510から分岐さ
れた分岐線に接続されている。各分岐線の終端に各々の
端末機の制御ユニット160,250および350が接
続されている。第53図(A)において符号Uで示すの
が、各端末機のユニット制御装置である。
Each of the terminals P, H, and S is connected to a branch line branched from the network 510. Control units 160, 250 and 350 of each terminal are connected to the terminal end of each branch line. In FIG. 53(A), the symbol U indicates the unit control device of each terminal.

同図から分かるように、高層ネットワークには管理装置
に対向して25台のNAUを配置し、低層ネットワーク
にはN A Uに対向して23台のパチンコ機、精算機
、発行機を配置している。
As can be seen from the figure, 25 NAUs are placed in the high-level network facing the management device, and 23 pachinko machines, payment machines, and issuing machines are placed in the low-level network facing the NAU. ing.

また低層ネットワークは、発行機1台とパチンコ機22
台の形態■と、発行機10台と精算1!15台の形態■
がある。このように、各低層ネットワークには最低1台
の発行機が存在するので、この実施例では■の形態では
NAU530を、発行機200内に実装するようにして
いる。発行機10台と精算機5台の形態を設けた理由は
、発行機または精算機を−ケ所に集中して列設すること
を可能にするためである。
In addition, the low-layer network consists of one issuing machine and 22 pachinko machines.
Form of machine■, form of 10 issuing machines and 1!15 machines for payment■
There is. In this way, each low-layer network has at least one issuing device, so in this embodiment, the NAU 530 is installed in the issuing device 200 in the form (3). The reason for providing 10 issuing machines and 5 payment machines is to enable issuing machines or payment machines to be arranged in rows in a concentrated manner.

第53図(B)に、伝送路として同軸ケーブルを使用す
る場合のネットワークの構成例を、また、第53図(C
)には伝送路として光フアイバケーブルを使用する場合
のネットワークの構成例をそれぞれ示す。
Figure 53 (B) shows an example of a network configuration when using a coaxial cable as a transmission path, and Figure 53 (C
) show examples of network configurations when using optical fiber cables as transmission paths.

伝送路として同軸ケーブルを使用する場合、各NAU5
30は丁字形接続器505によって互いに並列形態で高
層ネットワーク用ケーブル515に接続され、各ユニッ
ト(端末機)H工、P工、P2゜−・・・P22は同じ
く丁字形接続器505によって並列形態で低層ネットワ
ーク用ケーブル525に接続される。
When using a coaxial cable as a transmission path, each NAU5
30 are connected to the high-rise network cable 515 in parallel form by the T-shaped connector 505, and each unit (terminal) H, P, P2゜--...P22 is connected in parallel by the T-shaped connector 505. and is connected to the low-layer network cable 525.

一方、伝送路として光フアイバケーブルを使用する場合
には、管理装置400に光電変換機能および送信データ
の分配と受信データの多重化機能を有するマルチチャネ
ル光トランシーバ502を設け、NAU530には送受
信データの光電変換を行なう光トランシーバ507をそ
れぞれ設けて。
On the other hand, when using an optical fiber cable as a transmission path, the management device 400 is provided with a multichannel optical transceiver 502 that has a photoelectric conversion function, a transmission data distribution function, and a reception data multiplexing function, and the NAU 530 is equipped with a multichannel optical transceiver 502 that has a photoelectric conversion function, a transmission data distribution function, and a reception data multiplexing function. Each is provided with an optical transceiver 507 that performs photoelectric conversion.

各光トランシーバ507とマルチチャネル光トランシー
バ502との間を2芯光フアイバケーブル512によっ
てそれぞれ接続する。また、NAU530とユニットH
□、P□、P2.・・・・P2□には。
Each optical transceiver 507 and multichannel optical transceiver 502 are connected by two-core optical fiber cables 512, respectively. In addition, NAU530 and unit H
□, P□, P2. ...For P2□.

低層ネットワークにおけるトークンバス方式のデータ通
信を行なう光トランシーバ508をそれぞれ設け、2芯
光フアイバケーブル522によって接続する。上記各光
トランシーバ508は送受信データの光電変換機能とと
もに光信号の分岐切替機能を備えている。
Optical transceivers 508 for performing token bus type data communication in the low-layer network are provided, and are connected by a two-core optical fiber cable 522. Each optical transceiver 508 has a photoelectric conversion function for transmitting and receiving data as well as a branching and switching function for optical signals.

なお、上記各光トランシーバ507,508とNAU 
530またはユニットH,,Pl、 P、、・・・・P
2□との間は、同軸ケーブルによって接続される。上記
高層ネットワーク510および低層ネットワーク520
上でのデータの送受信はともにパケット交換方式を用い
てはいるが、パケットの形式は各ネットワーク上で各々
異なっている。
In addition, each of the optical transceivers 507 and 508 and the NAU
530 or unit H,, Pl, P,...P
2□ is connected by a coaxial cable. The above-mentioned high-rise network 510 and low-level network 520
Although data transmission and reception both use a packet switching method, the format of the packets differs on each network.

すなわち、高層ネットワーク510上でのパケットは1
種類であり、プリアンプルと称する64ビツトからなる
1010・・・・1011の同期信号と送信先アドレス
、送信元アドレス、バケツトタイブi(未使用)、48
〜1500バイトのデータフィールドおよび誤り訂正符
号CRCにより構成される。また、特に限定されないが
、高層ネットワーク上のデータはマンチェスター符号で
伝送される。
That is, the packet on the high-rise network 510 is 1
1010...1011 synchronization signal consisting of 64 bits called preamble, destination address, source address, bucket type i (unused), 48
It consists of a data field of ~1500 bytes and an error correction code CRC. Further, although not particularly limited, data on the high-rise network is transmitted in Manchester code.

一方、低層ネットワーク(トークンバス)520上では
各々フィールド構成および機能の異なる5種類のパケッ
トによってデータの送受信が行われる。5種類のパケッ
トとは、送信権を与えるためのトークンパケットと、相
手に受信が可能か否か間合わせるフリーバッファ間合わ
せパケットと、データを送信するデータパケットと、送
信元に対する肯定応答と否定応答のための” A CK
 ”パケットおよび” N A K ”パケットである
。各パケットはそれぞれ長さが異なるが、先頭にアラー
トバーストと称するパケットの先頭を示すビットパター
ンを共通に有する。また、データパケットはアラートバ
ーストの他に送信元と送信先を示すアドレスフィールド
と5データの長さを示すフィールド、データフィールド
および誤まり訂正符号の入るフィールドとを有する。な
お、この低層ネットワーク520上ではデータはRZ(
リターン・トウ・ゼロ)方式の符号で伝送される。
On the other hand, data is transmitted and received on the low layer network (token bus) 520 using five types of packets, each having a different field configuration and function. The five types of packets are a token packet for granting transmission rights, a free buffer intermediary packet for determining whether the other party can receive data, a data packet for transmitting data, and positive and negative responses to the sender. for” A CK
"packet" and "NAK" packet. Each packet has a different length, but they have a common bit pattern at the beginning that indicates the beginning of the packet called an alert burst.In addition to the alert burst, the data packet It has an address field indicating the source and destination, a field indicating the length of 5 data, a data field, and a field containing an error correction code.In addition, on this low layer network 520, the data is RZ (
It is transmitted using a return-to-zero (return-to-zero) system code.

次の表29に高層ネットワーク上で使用されるパケット
、また表30に低層ネットワーク上で使用されるパケッ
トの一覧表を示す。
Table 29 below lists the packets used on the high layer network, and Table 30 lists the packets used on the low layer network.

なお、表30中のハードACKとは、ネットワークコン
トローラがハードウェアで発するACKであり、ユニッ
トコントローラまたはデータ伝送コントローラがソフト
的に関与している応答ではない。
Note that the hard ACK in Table 30 is an ACK issued by the network controller in hardware, and is not a response in which the unit controller or data transmission controller is involved in software.

表29 表30 第54図(A)に、上記低層ネットワーク510と高層
ネットワーク520間のデータ伝送の緩衝を行なう上記
NAU (ネットワークアダプタユニット)530の回
路構成例を、また、同図(B)にそれを内蔵したユニッ
ト本体の構成例を示す。
Table 29 Table 30 FIG. 54 (A) shows an example of the circuit configuration of the NAU (network adapter unit) 530 that buffers data transmission between the low layer network 510 and the high layer network 520, and FIG. An example of the configuration of a unit body incorporating it is shown below.

この実施例のNAU530は、低層ネットワーク510
における送受債権の確立およびデータの直並列変換を行
なう低層ネットワークコントローラ533と、CS M
A/CD方式の高層ネットワークにおける送受債権の確
立およびデータの直並列変換を行なう高層ネットワーク
コントローラ537と、これらのネットワークコントロ
ーラ533と537との間のデータ転送を制御するデー
タ伝送コントローラ535とを備えている。上記コント
ローラのうち、低層ネットワークコントローラ533は
、トークンパッシング専用の通信用LSIからなり、高
層ネットワークコントローラ537とデータ伝送コント
ローラ535は、汎用マイクロコンピュータによって構
成されている。そして、これらのコントローラ533と
535との間および535と537との間には、低層ネ
ットワーク5]−〇と高層ネットワーク520のデータ
伝送速度の違いを吸収するための緩衝用パケットメモリ
534とデータメモリ536とがそれぞれ接続されてい
る。上記パケットメモリ534とデータメモリ536は
デュアルポートメモリにより構成され、送信データエリ
アと受信データエリアとを有する。データメモリ536
は送受信データエリアの他に、ユニットから収集した定
時データを入れる定時データエリアと、低層ネットワー
ク上のユニット伝送アドレスを記憶するユニットテーブ
ルエリアと、データ伝送コントローラ535用のワーキ
ングエリアを有している。定時データエリアには全ユニ
ットの送信データエリア(表↓、表↓0および表15参
照)内のデータが入るようにされ、ユニットテーブルエ
リアは管理装置の伝送アドレスファイルと同一の構成に
しである。また、上記低層ネットワークコントローラ5
33には送受信データ信号の波形整形およびレベル変換
を行なうトランシーバ508が接続されている。
The NAU 530 in this example is connected to the lower layer network 510.
a low-layer network controller 533 that establishes receivables and converts data into serial/parallel data;
A high-rise network controller 537 that establishes transmission/reception credits and performs serial/parallel conversion of data in an A/CD high-rise network, and a data transmission controller 535 that controls data transfer between these network controllers 533 and 537. There is. Among the above controllers, the low-layer network controller 533 is composed of a communication LSI dedicated to token passing, and the high-level network controller 537 and data transmission controller 535 are composed of general-purpose microcomputers. A buffer packet memory 534 and a data memory are provided between these controllers 533 and 535 and between 535 and 537 to absorb the difference in data transmission speed between the low layer network 5]-〇 and the high layer network 520. 536 are connected to each other. The packet memory 534 and data memory 536 are configured by dual port memories and have a transmit data area and a receive data area. data memory 536
In addition to the transmission/reception data area, it has a regular data area for storing regular data collected from units, a unit table area for storing unit transmission addresses on the low layer network, and a working area for the data transmission controller 535. The regular data area contains data in the transmission data areas of all units (see Tables ↓, ↓0 and Table 15), and the unit table area has the same configuration as the transmission address file of the management device. In addition, the low layer network controller 5
33 is connected to a transceiver 508 that performs waveform shaping and level conversion of transmitted and received data signals.

しかも、このトランシーバ508は、前述したように、
低層ネットワークの伝送ラインが同軸ケーブルで構成さ
れた場合にも光フアイバケーブルで構成された場合にも
、対応できるように、切換スイッチ542を介して、送
信信号と受信信号の分離および結合を図る分岐回路54
0と光コネクタ186に接続可能にされている。分岐回
路540には同軸ケーブル用コネクタ187が接続され
ている。
Moreover, as mentioned above, this transceiver 508
A branch that separates and combines the transmission signal and the reception signal via the changeover switch 542 so that the transmission line of the low-layer network can be configured with a coaxial cable or an optical fiber cable. circuit 54
0 and an optical connector 186. A coaxial cable connector 187 is connected to the branch circuit 540.

同様に、高層ネットワークコントローラ537には送受
信データ信号の波形整形およびレベル変換を行なうトラ
ンシーバ507が接続されている。
Similarly, a transceiver 507 that performs waveform shaping and level conversion of transmitted and received data signals is connected to the high-level network controller 537.

しかも、このトランシーバ507は、前述したように、
低層ネットワークの伝送ラインが同軸ケーブルで構成さ
れた場合にも光フアイバケーブルで構成された場合にも
対応できるように切換スイッチ543を介して、送信信
号と受信信号の分離および結合を図る分岐回路541と
光コネクタ↓86に接続可能にされている。分岐回路5
41には同軸ケーブル用コネクタ187が接続されてい
る。
Moreover, as mentioned above, this transceiver 507
A branch circuit 541 separates and combines the transmit signal and the receive signal via a changeover switch 543 so that the transmission line of the low-layer network can be configured with a coaxial cable or an optical fiber cable. It is possible to connect to the optical connector ↓86. Branch circuit 5
41 is connected to a coaxial cable connector 187.

さらに、この実施例のNAU530には、複数個あるN
AUを互いに区別するための番号を設定するNAU番号
設定器544と、各NAU530の制御下にある低層ネ
ットワークS↓0上に存在する端末機のうちパチンコ機
または精算機の最小台番号を設定する最小台番号設定器
545と、自己の制御下の低層ネットワーク上に存在す
るパチンコ機または精算機の台数を設定する台数設定器
546と、発行機の最小台番号および接続台数を設定す
る設定器547,548と、NAUのタイプを設定する
設定器549とが設けられている。
Furthermore, the NAU 530 of this embodiment has a plurality of N
NAU number setter 544 sets a number to distinguish AUs from each other, and sets the minimum number of pachinko machines or payment machines among the terminals existing on the low layer network S↓0 under the control of each NAU 530. A minimum machine number setting device 545, a number setting device 546 for setting the number of pachinko machines or payment machines existing on the low-layer network under its control, and a setting device 547 for setting the minimum machine number and the number of connected machines for issuing machines. , 548, and a setting device 549 for setting the type of NAU.

ここでNAUタイプとは端末機の構成が発行機とパチン
コ機の組合せ、または発行機と精算機の組合せのいずれ
かを示すためものである。各設定器561〜563の設
定値は、バッファゲート538を介してNAU530内
のデータ伝送コントローラ535に入力され、NAU番
号は高層ネットワーク520における各NAUの伝送ア
ドレスの形成に使用される。また、最小台番号と台数と
により低層ネットワーク510における各端末機の伝送
アドレスが形成される。
The NAU type here indicates that the terminal configuration is a combination of an issuing machine and a pachinko machine, or a combination of an issuing machine and a payment machine. The setting values of each setter 561 to 563 are input to the data transmission controller 535 in the NAU 530 via the buffer gate 538, and the NAU number is used to form the transmission address of each NAU in the high-rise network 520. Furthermore, the transmission address of each terminal in the low layer network 510 is formed by the minimum number and the number of terminals.

なお、第54図(A)において、531はデータ伝送コ
ントローラ535の制御プログラムを格納するプログラ
ムメモリ、532は各コントローラ535,537およ
びメモリ531,534゜536間を接続するシステム
バスである。
In FIG. 54(A), 531 is a program memory that stores a control program for the data transmission controller 535, and 532 is a system bus that connects each controller 535, 537 and memories 531, 534, 536.

上記構成の回路を、搭載した基板が第54図(B)に示
すNAUユニット本体539内に内蔵される。
A board on which the circuit of the above configuration is mounted is built into the NAU unit main body 539 shown in FIG. 54(B).

このユニット本体539の前壁と後壁にそれぞれ前述し
た高層および低層ネットワーク光フアイバケーブル対応
コネクタ1.86と高層および低層ネットワーク同軸ケ
ーブル対応コネクタ187とが設けられている。さらに
、ユニット本体539の上面には、前記各種設定器54
5〜549が設けられている。NAU番号設定器544
はケース内の基板上に設けられている。
The front and rear walls of this unit body 539 are provided with the aforementioned high-rise and low-layer network optical fiber cable compatible connectors 1.86 and high-rise and low-rise network coaxial cable compatible connectors 187, respectively. Furthermore, the various setting devices 54 are provided on the upper surface of the unit main body 539.
5 to 549 are provided. NAU number setter 544
is provided on the board inside the case.

なお、50↓は電源スィッチ、502はパワーオンラン
プ、503は電源ヒユーズ、504は電源コネクタであ
る。
Note that 50↓ is a power switch, 502 is a power-on lamp, 503 is a power fuse, and 504 is a power connector.

上記のようにNAU530を介して高層ネットワークと
低層ネットワークが接続された階層的構成のローカルネ
ットワーク(第53図)においては、システム立上り時
に管理装置400が各NAU530を通じて回線テスト
と、各端末機に対する設定値の設定を行なうとともに、
システム稼動中にはNAU530が低層ネットワーク5
10を使用して1秒間に上回ずつ端末機P、H,Sから
稼動データを収集して自己のメモリ内に蓄積する。
In the local network (FIG. 53) with a hierarchical structure in which a high-level network and a low-level network are connected via the NAU 530 as described above, the management device 400 conducts line tests and settings for each terminal through each NAU 530 at system start-up. Along with setting the value,
While the system is running, the NAU530 is connected to the low layer network 5.
10 is used to collect operating data from terminals P, H, and S at a rate exceeding 1 second and store it in its own memory.

そして、蓄積データは、管理装置400からの要求に応
して同じく1秒間に1回ずつ高層ネットワーク520を
通して各NAU530から管理装置400内のデータフ
ァイル内にストックされる。
Then, the accumulated data is stored in a data file in the management device 400 from each NAU 530 via the high-rise network 520 once per second in response to a request from the management device 400.

上記のごとく通信ネットワークがNAU530をバッフ
ァとする階層的構成にされ、高層ネットワーク520が
低層ネットワーク510の伝送速度2.5Mbpsの4
倍の伝送速度を有するようにされているため、100〜
1000台の端末機を有するシステムにおいても、各端
末機から表1、表10、表15に示すような大量の稼動
データを1秒間に1回管理装置へ収集することができる
As described above, the communication network has a hierarchical configuration using the NAU 530 as a buffer, and the high-level network 520 is connected to the low-level network 510 at a transmission rate of 2.5 Mbps.
Since it is designed to have twice the transmission speed, 100~
Even in a system having 1000 terminals, a large amount of operational data as shown in Tables 1, 10, and 15 can be collected from each terminal to the management device once per second.

表31には、上記データ伝送システムにおいて管理装W
40oとNAU530問およびNAU530を介して管
理装置400とパチンコ機100、カード発行機200
、精算機300のユニットコントローラ190,290
,390との間で送受信されるパケットの種類がそれぞ
れ示されている。
Table 31 shows the management device W in the above data transmission system.
40o, NAU530 questions, and management device 400, pachinko machine 100, and card issuing machine 200 through NAU530.
, unit controllers 190, 290 of the payment machine 300
, 390 are shown.

同表において、ユニツ1−とは各端末機(パチンコ機、
カード発行機、精算機)の制御ユニットのことである。
In the same table, Units 1- refers to each terminal (pachinko machine,
This refers to the control unit for card issuing machines and payment machines.

また“ユニットテーブル要求I+なるパケットはシステ
ム立ち上げ時、管理装置が各NAUに接続されているユ
ニットの接続確認およびアドレスを確認するためのパケ
ットで、NAUからのACKパケットのモニタ情報上に
よってユニットの接続が確認される。またパケット内の
アドレス情報とユニットテーブルファイルの値とが比較
され、不一致の場合はパケット内のデータに変更される
。接続確認のとれないユニットに対しては、続く初期値
設定パケットによって再度確認が取られる。
Also, the “unit table request I+” packet is a packet used by the management device to confirm the connection and address of the units connected to each NAU at system startup. Connection is confirmed.The address information in the packet is compared with the value in the unit table file, and if there is a mismatch, the data in the packet is changed.For units for which connection cannot be confirmed, the following initial values are Confirmation is taken again by the configuration packet.

また、表31に描記されている“カード・イン”〜パ中
断終了”パケットは、パチンコ機100に特有のパケッ
トで、このうち“カード・イン”パケットは、パチンコ
機の制御ユニットエ60にカドが挿入されたときに、ユ
ニット側から管理装置400に対してそのカートに関す
る情報(カドテキスト)を要求するためのパケットであ
る。
Furthermore, the "Card In" - Pachinko Interruption End packet depicted in Table 31 is a packet specific to the Pachinko machine 100, and among these, the "Card In" packet is a packet that is used to send a card to the control unit 60 of the Pachinko machine. This is a packet for requesting information (card text) regarding the cart from the unit side to the management device 400 when the cart is inserted.

ここでカードテキストとは、カート番号、持玉数、金額
(未使用分)およびカート状態の4つの情報の入ったテ
キストである。また゛′帰零″なるパケットは、パチン
コ機で遊技中にカードの持玉数および金額が共に零にな
った場合に、パチンコ機の制御ユニット160から管理
装置400に対してカートテキストを送信するためのパ
ケットである。
Here, the card text is text containing four pieces of information: cart number, number of balls held, amount (unused amount), and cart status. Also, the packet "Return to Zero" is used to send cart text from the control unit 160 of the pachinko machine to the management device 400 when both the number of balls held and the amount of money on the card become zero while playing a game at the pachinko machine. This is a packet of

一方、“中断終了“なるパケットは、遊技客が中断スイ
ッチ114を押してカードを受取ってパチンコ機を離れ
、その後、中断中のパチンコ機に戻らずそのまま精算機
にカードを入れて精算を行なった場合に、管理装置が中
断中のパチンコ機の中断状態を解除するための指令を行
なうパケットである。これによって遊技客はわざわざ中
断中のパチンコ機へ戻って遊技終了スイッチ115を押
さなくても精算を行なうことができるようになる。
On the other hand, the "suspension end" packet is generated when the player presses the suspend switch 114, receives the card, leaves the pachinko machine, and then inserts the card into the payment machine to make payment without returning to the pachinko machine where the game was suspended. This is a packet in which the management device instructs the pachinko machine to cancel the suspended state of the pachinko machine. This allows the player to make payment without having to go back to the pachinko machine where the game was interrupted and press the game end switch 115.

また1表31に描記されている1′カード購入″パケツ
トは、カード発行機200に特有のパケットで、発行機
の紙幣挿入口2↓1に紙幣が挿入され購入選択スイッチ
212がオンされたときに、ユニット制御装置280か
ら管理装置400に対してそのカードに関するカード番
号と発行通し番号を要求するためのパケットである。
Furthermore, the 1'Card Purchase'' packet depicted in Table 31 is a packet specific to the card issuing machine 200, and is generated when a bill is inserted into the bill insertion slot 2↓1 of the issuing machine and the purchase selection switch 212 is turned on. This is a packet for the unit control device 280 to request the management device 400 for the card number and issuing serial number regarding the card.

この実施例のシステムにおいては、カード発行機200
に紙幣が投入される前にカード番号等の予約を行ない、
実際に紙幣投入されたときに金額を印字して発行できる
ように前準備を行なえるようにするため、カード発行機
200がカード金額の欄が「0」の“カード購入″パケ
ットを送信してくると、管理装置400は発行予約のパ
ケットであると判断し、発行通し番号とカード番号を決
定してカードファイル内に当該カードのエリアを確保し
てから、発行通し番号とカード番号を入れたACKパケ
ットをカード発行機に返す。一方、紙幣の投入があった
ときはカード発行機が管理装置に対してカード金額の欄
に実際の購入金額を入れた″カード購入″パケットを送
信する。すると、管理装置はカート番号の欄を見て発行
予約済みのカートであると判断してカートファイルを検
索し、当該カートのデータエリアに購入金額や発行時刻
等のデータを書き込んでからACKパケットを発行機に
返すようになっている。
In the system of this embodiment, the card issuing machine 200
Before inserting banknotes into the bank, you must reserve your card number, etc.
In order to make advance preparations so that the amount can be printed and issued when the bill is actually inserted, the card issuing machine 200 sends a "Card Purchase" packet with the card amount field set to "0". When this happens, the management device 400 determines that the packet is an issuance reservation packet, determines the issuance serial number and card number, secures an area for the card in the card file, and sends an ACK packet containing the issuance serial number and card number. is returned to the card issuing machine. On the other hand, when a banknote is inserted, the card issuing machine sends a "card purchase" packet to the management device in which the actual purchase amount is entered in the card amount column. Then, the management device looks at the cart number column, determines that the cart has been reserved for issue, searches the cart file, writes data such as the purchase amount and issue time in the data area of the cart, and then sends an ACK packet. It is to be returned to the issuing machine.

表31に描記されている″カート精算″と“カート精算
終了″パケットは、カート精算機300に特有のパケッ
トで精算機のカート挿入口302にカードが挿入された
ときに、ユニット制御装置350から管理装置400に
対してそのカートに関するカード番号を送ってカードに
関する未使用金額、玉数、来歴を要求するためのパケッ
トである。
The "cart payment" and "cart payment completed" packets depicted in Table 31 are packets specific to the cart payment machine 300, and are sent from the unit control device 350 when a card is inserted into the cart insertion slot 302 of the payment machine. This is a packet for sending the card number related to the cart to the management device 400 and requesting the unused amount, number of balls, and history related to the card.

また、゛′カート精算終了″パケットはカードの精算が
終了したことを管理装置400に知らせるためのパケッ
トで管理装置はこのパケットを受信したときに、カード
ファイル内の当該カートのカート状態を″精算済″に変
更し、来歴データの1=20の欄に精算時のデータを書
き込む。このパカート精算終了″パケットに対して管理
装置400から精算機300”ACK”パケットを送信
することでカードの精算処理が完了し1次のカートの精
算機への挿入が可能となる。
In addition, the "Cart payment completed" packet is a packet to notify the management device 400 that the card payment has been completed. When the management device receives this packet, the management device changes the cart status of the cart in the card file to "Payment""Completed" and write the data at the time of payment in the 1=20 column of history data.The management device 400 sends an "ACK" packet to the payment machine 300 in response to this "Pakart payment completed" packet, and the card payment is completed. Once the process is complete, the first cart can be inserted into the payment machine.

表31における“回線モニタチエツク″パケットは、定
時データによってNAUが異常と判定された場合、その
NAUの回復を確認するためのパケットで、回復するま
で定期的(30秒ごと)に送信し、NAUからのACK
パケットの受信をもって回復を確認し、パユニット復旧
データ″パケットにより、当該NAUの制御下の全ユニ
ットの稼働データを送信して、NAUとユニットを復旧
させる。また、″ユニットモニタチエツク”パケットは
、定時データによってユニットが異常と判定された場合
、そのユニットの回復を確認するためのパケットで、回
復するまで定期的に送信し、N A UからのACKパ
ケットの受信をもって回復を確認する。このパケットを
受信したNAUは、該当ユニットのネットワークコント
ローラに対して接続確認を実行し、接続が確認されると
ACKパケットを管理装置に送信する。
The "line monitor check" packet in Table 31 is a packet to confirm the recovery of the NAU when the NAU is determined to be abnormal based on regular data, and is sent periodically (every 30 seconds) until the NAU recovers. ACK from
Recovery is confirmed by receiving the packet, and the NAU and units are restored by transmitting the operation data of all units under the control of the NAU using the "Parunit recovery data" packet.In addition, the "Unit monitor check" packet is sent at regular intervals. If a unit is determined to be abnormal based on the data, this is a packet to confirm that the unit has recovered.It is sent periodically until the unit recovers, and recovery is confirmed by receiving an ACK packet from the NAU.This packet is sent periodically until the unit recovers. The received NAU executes a connection check with the network controller of the corresponding unit, and when the connection is confirmed, sends an ACK packet to the management device.

さらに、表31において“ACK”およびJINAK”
なるパケットは、管理装W400とネットワークアダプ
タユニット530および各端末機100.200,30
0間で、送信要求を受けたときに相手に対して要求に応
じた旨の応答をする場合と要求に応じられない旨の応答
をする場合に使用されるパケットで、このうち” A 
CK ”を返送する場合には、カードテキスト等要求さ
れたデータが付加されることもある。
Furthermore, in Table 31, “ACK” and “JINAK”
The packets are sent to the management device W400, the network adapter unit 530, and each terminal 100, 200, 30.
0, and is used when receiving a transmission request to respond to the other party that the request has been accepted, or to respond that the request cannot be accepted. Of these, "A"
CK", requested data such as card text may be added.

なお、表31に示されているパケットコード80H,8
1H,・・・・は、16進数で表示したものであり、そ
のコードは一例であってこれに限定されるものでないこ
とはいうまでもない。
Note that the packet codes 80H and 8 shown in Table 31
1H, . . . are expressed in hexadecimal notation, and it goes without saying that the code is an example and is not limited to this.

第55図(A)には、高層ネットワーク520を介して
管理装!1400と’NAU530との間で送受信され
るパケットの基本構成を、また第55図(B)には管理
装置400と各ユニットとの間で送受信されるパケット
(ACKを必要としない指令用パケットを除く)の高層
ネットワーク520上での基本構成、さらに、第55図
(C)にはNAU 530と各ユニット間で低層ネット
ワーク510を介して送受信されるパケットの基本構成
を示す。
In FIG. 55(A), a management device is connected via a high-level network 520! 1400 and the 'NAU 530, and FIG. Furthermore, FIG. 55C shows the basic configuration of packets transmitted and received between the NAU 530 and each unit via the low layer network 510.

第55図において、HHDで示されているは高層ネット
ワーク520で使用されるパケットヘッドで、LHDで
示されているのは低層ネットワーク510で使用される
パケットヘッドである。
In FIG. 55, HHD indicates a packet head used in the high layer network 520, and LHD indicates a packet head used in the low layer network 510.

ところで、本実施例のシステムでは、NAU530によ
る通信制御を大別すると、単に通信の仲介をする制御と
、管理装置の制御を代行する補佐的制御とに分けること
ができる。このうち補佐的制御とは、管理装置が本来ユ
ニットと直接しなければならない情報交換のための通信
制御をNAUに託し、NAUがユニットと情報交換をす
るものを指し、システム立ち上げ時における回線テスト
、開店コード、定時データ収集等のカードデータに関係
しない情報がこれに該当する。この手法により、管理装
置は25台のNAUと交信すればよく、またNAUは2
3台のユニットと交信すればよいので、管理装置の負担
が非常に軽減される。
By the way, in the system of this embodiment, communication control by the NAU 530 can be roughly divided into control that simply mediates communication and auxiliary control that acts as a substitute for controlling the management device. Among these, auxiliary control refers to communication control for information exchange that the management device would normally have to do directly with the unit, entrusted to the NAU, and the NAU exchanges information with the unit. This includes information not related to card data, such as store opening codes, regular data collection, etc. With this approach, the management device only needs to communicate with 25 NAUs, and the NAUs only need to communicate with 25 NAUs.
Since it is only necessary to communicate with three units, the burden on the management device is greatly reduced.

一方、仲介制御の際には、NAU530は送受信パケッ
トに対し、単にパケットヘッドの除去または付加を行な
えばよい。
On the other hand, during mediation control, the NAU 530 may simply remove or add packet heads to transmitted and received packets.

つまり、管理装置400からユニットに向かって送信さ
れた第55図(B)のような形式のパケットは、NAU
530で高層用パケットヘッドHHDを外されて低層ネ
ットワーク510上へ送り出され、低層用パケットヘッ
トL HDのみで各ユニットから管理装置400へ向か
って送受信されたパケットには、NAU 530でLH
Dの頭に高層用パケットヘッドHHDが付加されて第5
5図(B)の形式のパケットとして高層ネットワーク5
20上に送り出される。
In other words, a packet in the format shown in FIG. 55(B) transmitted from the management device 400 to the unit is
530, the high-layer packet head HHD is removed and the packet is sent onto the low-layer network 510, and the packet sent and received from each unit to the management device 400 using only the low-layer packet head LHD is sent to the management device 400 by the NAU 530.
A high-rise packet head HHD is added to the head of D and the fifth
5 High-rise network 5 as a packet in the format shown in Figure (B)
20 is sent out on top.

なお、表32に、上記各パケットのヘット部にレイアウ
トされた固有データの定義を描記した。
Note that Table 32 describes the definitions of the unique data laid out in the head portion of each of the above packets.

第56図〜第61図には、上記高層ネッ1−ワーク51
0上において管理装置400とNAU530との間で送
受信される代表的なパケットのフォーマットの例を示す
56 to 61 show the above-mentioned high-rise network 1-51.
2 shows an example of a typical format of a packet transmitted and received between the management device 400 and the NAU 530 on the NAU 530.

第56図(A)の″回線テスト”パケットでは。In the "line test" packet shown in FIG. 56(A).

送信データ欄に年月日コードと識別コード(店コード)
および送信先のNAU530に属するパチンコ機、発行
機、精算機の台数と各々の最小台番号を入れて送る。す
ると、NAU530は年月ロコードと識別コードを記憶
するとともに、台番号設定スイッチ562等の設定値に
基づいて算出しておいた番号と照合し、管理装置400
に対して第56図(B)のような“A CK ”パケッ
トを返す。なお、NAU530は管理装置から″回線テ
スト″パケットを受信すると自己の制御下に属する全ユ
ニットに対して、台番号設定器や台数設定器544〜5
48による設定値に基づいて自分で予め算出しておりた
伝送アドレスを用いて低層ネットワーク用パケットヘッ
トLHDのみを付けたパ回線テスト″パケットを形威し
、アドレスを更新しながら次々と第2ユニツトへ送信す
る。そして、各ユニットからは台番号と通し番号および
チャネル番号の入った” A CK ”を受信し、その
受信データに基づいて伝送アドレスファイルとしてのユ
ニットテーブルを作威し、記憶する。
Date code and identification code (store code) in the sending data field
Then, send the number of pachinko machines, issuing machines, and payment machines belonging to the destination NAU 530 and the minimum machine number of each machine. Then, the NAU 530 stores the year/month code and identification code, compares it with the number calculated based on the settings of the machine number setting switch 562, etc., and sends it to the management device 400.
In response, an "ACK" packet as shown in FIG. 56(B) is returned. Note that when the NAU 530 receives a "line test" packet from the management device, it sends the unit number setter and number setter 544 to 5 for all units under its control.
Using the transmission address that I had calculated in advance based on the setting value of 48, I sent out a "PLAN TEST" packet with only the low-layer network packet head LHD attached, and sent it to the second unit one after another while updating the address. Then, an "ACK" containing the unit number, serial number, and channel number is received from each unit, and based on the received data, a unit table as a transmission address file is created and stored.

第57図(A)には管理装置400がらNAU530に
対スる″ユニットテーブル要求″パケットの構造を、ま
た同図(B)にはその応答たる” A CK”パケット
の構造を示す。NAU530はユニットテーブル要求″
パケットを受信すると、NAU番号とN A Uステー
タスおよび上記ユニットテーブル内の全ユニットに関す
るデータを入れた” A CK ”パケットを返す。
FIG. 57(A) shows the structure of the "unit table request" packet sent from the management device 400 to the NAU 530, and FIG. 57(B) shows the structure of the "ACK" packet that is the response. NAU530 requests unit table''
When a packet is received, it returns an "ACK" packet containing the NAU number, NAU status, and data about all units in the unit table.

第58図(A)、(B) には管理装置400がらパチ
ンコ機100に対する″初期値設定″パケットとその応
答たる” A CK ”パケットの高層ネットワーク上
での構造を示す。このパケットのブタ欄にはパチンコ機
の運用に必要な購入玉レート、賞球数等の初期値を入れ
て送信する。
FIGS. 58(A) and 58(B) show the structure of the "initial value setting" packet for the pachinko machine 100 from the management device 400 and the "ACK" packet as its response on the high-rise network. In the column of this packet, initial values such as the purchase ball rate and the number of prize balls required for operation of the pachinko machine are entered and transmitted.

なお、第58図(A)はパチンコ機に対する″初期値設
定″パケットであり、発行機200や精算機300に対
する゛′初期値設定″パケット(図示省略)では、デー
タ欄に、年月日コードと識別コードおよびホットコード
を入れて送信するようになっている。
FIG. 58(A) is an "initial value setting" packet for the pachinko machine, and in the "initial value setting" packet (not shown) for the issuing machine 200 or the payment machine 300, the date code is written in the data column. and an identification code and hot code.

さらに、第59図(A)、(B)にはユニットに対する
″定時データ要求″パケットのうちパチンコ機に対する
″定時データ要求”パケットとその応答パケットの構造
が示されている。
Further, FIGS. 59(A) and 59(B) show the structure of the "regular data request" packet for the pachinko machine and its response packet among the "regular data request" packets for the unit.

第59図(B)に示されている定時データ要求に対する
応答パケットにおいて、パケットヘッドLHDの下には
、一つのNAU530に属する全パチンコ機の稼働デー
タが連結されるようになっており、※1で示すヘッドと
データは最初のパチンコ機に関するもの、※2で示すヘ
ッドとデータは2番目のパチンコ機に関するもので、以
下同様にして全てのパチンコ機のデータが続いている。
In the response packet to the scheduled data request shown in FIG. 59(B), the operation data of all pachinko machines belonging to one NAU 530 are concatenated under the packet head LHD, *1 The head and data indicated by *2 are related to the first pachinko machine, the head and data indicated by *2 are related to the second pachinko machine, and the data for all pachinko machines continues in the same manner.

また、発行機200や精算機300に対する定時データ
要求の応答パケット(図示省略)のデータ欄には全発行
機の送信データエリア(表10参照)内のすべてのデー
タ、または全精算機の送信データエリア(表15参照)
内のすへてのデータを入れて送信する。
In addition, the data column of the response packet (not shown) for a regular data request to the issuing machine 200 or the payment machine 300 contains all the data in the transmission data area of all the issuing machines (see Table 10) or the transmission data of all the payment machines. Area (see table 15)
Enter all the data inside and send.

第60図には、管理装置400から精算機3゜Oに対す
るデータを伴わない各種指令パケットとその応答パケッ
トの構成例を示す。
FIG. 60 shows an example of the configuration of various command packets without data and their response packets sent from the management device 400 to the payment machine 3°O.

同図のパケットタイプ1iPAcKET$TYPEには
、コード90H(開店コード)、91H(閉店コード)
、95H(強制終了要求)、96H(強制終了解除)、
8CH(回線モニタチエツク)またはBIH(リスター
ト)のいずれかのコードが入る。また、上記″強制終了
要求”、6強制終了解除”、″リスタート″パケットの
うち種別(ユニット全体を対象とするもの)パケットに
は、ユニットの種別を示すコードが入る欄が設けられる
Packet type 1iPAcKET$TYPE in the same figure has codes 90H (opening code) and 91H (closing code).
, 95H (forced termination request), 96H (forced termination cancellation),
Either 8CH (line monitor check) or BIH (restart) code is entered. Furthermore, among the above-mentioned "forced termination request", 6 "forced termination cancellation", and "restart" packets, the type packet (one that targets the entire unit) is provided with a field in which a code indicating the type of unit is entered.

第61図(A)〜(C)には、パチンコ機にカードが挿
入されたときに管理装置に送信される″カードイン”パ
ケットとその肯定応答パケット” A CK ”および
否定応答パケット’ N A K ”の高層ネットワー
ク5工○上でのパケットのフォーマットを示す。
Figures 61 (A) to (C) show a "card-in" packet, its acknowledgment packet "A CK", and its negative response packet 'NA' which are sent to the management device when a card is inserted into a pachinko machine. This figure shows the format of packets on the high-rise network 5 of ``K''.

″カードイン″送信パケットのデータ欄には、ユニット
メモリからカード番号のみ記入したカートテキストを読
み出して送る。一方、その応答” A CK”パケット
のデータ欄には管理装置のカドファイルから読み出した
当該カードに関するデータのうちカードテキストが入っ
ている。しかも、このカードテキスト内のカード状態は
更新された後のカード状態を示す。
In the data field of the "Card-in" transmission packet, the cart text in which only the card number is written is read out from the unit memory and sent. On the other hand, the data field of the response "ACK" packet contains the card text among the data related to the card read from the card file of the management device. Moreover, the card status in this card text indicates the card status after being updated.

なお、中断スイッチがオンされたときの送受信パケット
や中断カードが挿入されたときの送受信パケット、精算
スイッチがオンされたときの送受信パケット、「帰零」
もしくはr打止J発生時の送受信パケットの構成も、第
61図の″カードイン″パケットとその応答パケットと
同一であり、パケットタイプ欄に各々対応するパケット
コードA2H,AIH,A3H,A4HまたはA5Hが
入る点とデータ欄のカードテキストにそれぞれのカード
の異なるデータが入る点とが相違するのみである。特に
″カードイン″パケットでは、カードテキストの「玉数
」、「金額」および「カード状態」の欄が、rOJであ
るのに対し、他の同一タイプのパケットではそれらの欄
にもカードに関与するデータを入れて送るようになって
いる。
In addition, the transmitted and received packets when the suspension switch is turned on, the transmitted and received packets when the suspension card is inserted, the transmitted and received packets when the payment switch is turned on, and "return"
The structure of the transmitted/received packet when r-stop J occurs is also the same as the "card-in" packet and its response packet in FIG. The only difference is that the text is entered in the data field, and the card text in the data field contains different data for each card. In particular, in the "Card-in" packet, the "Number of balls", "Amount", and "Card status" fields of the card text are rOJ, whereas in other packets of the same type, these fields also have information about the card. It is designed to enter the data to be sent.

第62図、第63図には、低層ネットワーク520を介
してパチンコ機100とNAtJ530との間で送受信
されるパケットのフォーマットの代表的な例を示す。
62 and 63 show typical examples of the format of packets transmitted and received between the pachinko machine 100 and the NAtJ 530 via the low-layer network 520.

このうち、第62図には“定時データ送信″パケットの
構成例が、また第63図(A)、(B)には″ユニット
復旧データ″の送受信パケットの構成例が示されている
Of these, FIG. 62 shows an example of the structure of a "regular data transmission" packet, and FIGS. 63(A) and (B) show an example of the structure of a "unit recovery data" transmission/reception packet.

このうち、″定時データ送信″パケットには、当該パチ
ンコ機のユニットメモリの送信、データエリア内のす人
でのデータを入れて送り、管理装置はこのデータを受信
してP機ファイル内の当該パチンコ機のデータを更新す
る。一方、″ユニット復旧データ″パケットには、管理
装置のP機ファイル内の全データと設定値ファイルから
読み出した年月日、識別コードおよびホントコードを、
ユニットメモリのデータエリアの構成に一致させて送っ
てくる。ただし、ユニットメモリの送信データエリアと
重複する受信データパケットヘッドとカードテキストは
重複した送信を省略し、ユニットコントローラの側で送
信データエリアから受信データエリアヘコピーするよう
になっている。
Among these, the "regular data transmission" packet contains the unit memory transmission of the relevant pachinko machine and the data of the person in the data area, and the management device receives this data and stores the relevant data in the P machine file. Update the pachinko machine data. On the other hand, the "unit recovery data" packet contains all the data in the P machine file of the management device and the date, identification code, and real code read from the setting value file.
It is sent in accordance with the configuration of the data area of the unit memory. However, for the received data packet head and card text that overlap with the transmitted data area of the unit memory, duplicate transmission is omitted and the unit controller side copies them from the transmitted data area to the received data area.

上記パケットに対する応答パケットでは送信データエリ
ア内の全データを入れて送るようになっている。
The response packet to the above packet is configured to include all data in the transmission data area and send it.

第64図〜第66図には、低層ネットワーク520にお
イテカード発行機200とNAU530との間で送受信
されるパケットのフォーマットの代表的な例を示す。
64 to 66 show typical examples of the format of packets transmitted and received between the ite card issuing machine 200 and the NAU 530 on the low layer network 520.

このうち、第64図(A)〜(C)には、カードの発行
予約を管理装置に要求する゛カード購入”パケットとそ
の応答パケット” A CK ”および否定応答” N
 A K ”の構成例を示す。
Of these, FIGS. 64(A) to (C) show a "card purchase" packet requesting the management device to reserve a card, its response packet "A CK", and a negative response "N".
An example of the configuration of AK'' is shown below.

カード発行予約の際の″カード購入”パケットのデータ
欄には、対象カードが当該発行機において何番目の発行
カードであるかを示す発行受付番号mのみ入れ、カート
金額やカート番号、発行通し番号は「0」として送る。
In the data column of the "Card Purchase" packet when making a reservation for card issuance, enter only the issuance acceptance number m, which indicates the number of the issued card in the relevant issuing machine, and the cart amount, cart number, and issuance serial number. Send as "0".

一方、その応答“ACK”パケットのデータ欄には管理
装置において発行受付番号mから決定した全発行機に関
する発行通し番号nと、この発行通し番号nから演算し
たカード番号を入れて送る。ACKパケットの最後の「
チエツクサムJmには発行機番号から発行受付番号まで
の加算値がチエツクコードとして入っている。
On the other hand, the data column of the response "ACK" packet contains the issuing serial numbers n for all issuing machines determined from the issuing acceptance number m in the management device and the card number calculated from this issuing serial number n. The last “
The checksum Jm contains the added value from the issuing machine number to the issuing acceptance number as a check code.

一方、発行機に紙幣が投入され、購入金額が決定された
ときに発行機から管理装置に送られる“カード購入”と
その応答パケットの構成は第64図のパケットと全く同
じであり、送信パケットのカード金額の欄に実際の購入
金額を入れるとともに、カード番号と発行通し番号の欄
には予約時に既に決定された番号を入れて送る点のみ異
なる。
On the other hand, when a banknote is inserted into the issuing machine and the purchase amount is determined, the structure of the "card purchase" and its response packet sent from the issuing machine to the management device is exactly the same as the packet shown in FIG. The only difference is that the actual purchase amount is entered in the card amount field, and the number already determined at the time of reservation is entered in the card number and issuing serial number fields.

さらに、第65図には“定時データ送信“パケットの構
成例が、また第66図(A)、(B)には″ユニット復
旧データ”の送受信パケットの構威例が示されている。
Further, FIG. 65 shows an example of the structure of a "periodic data transmission" packet, and FIGS. 66(A) and (B) show an example of the structure of a "unit recovery data" transmission/reception packet.

このうち、″定時データ送信″パケットには。Among these, the ``periodic data transmission'' packet.

当該発行機のユニットメモリの送信データエリア内のす
べてのデータを入れて送り、管理装置はこのデータを受
信して発行機ファイル内の当該発行機のデータを更新す
る。ただし、送信データのうちカート金額および発行受
付番号は管理装置において利用されないデータであるの
で、送信されてもファイル内に登録されない。
All the data in the transmission data area of the unit memory of the issuer is sent, and the management device receives this data and updates the data of the issuer in the issuer file. However, among the transmitted data, the cart amount and issuance acceptance number are data that are not used by the management device, so even if they are transmitted, they are not registered in the file.

一方、゛′ユニット復旧データ″パケットには、管理装
置の発行機ファイル内の全データと設定値ファイルから
読み出した年月日、識別コードおよびホントコートを、
ユニットメモリ550のデータエリアの構成に一致させ
て送ってくる。ただし、ユニットメモリの送信データエ
リアと重複する受信データパケットヘッドとカードテキ
ストは重複した送信を省略し、ユニットコントローラ2
90の側で送信データエリアから受信データエリアヘコ
ピーするようになっている。受信データ中※4で示され
るデータはユニットメモリ内の受信データエリアに記入
される。上記パケットに対する応答パケットでは送信デ
ータエリア内の全データのみ入れて送るようになってい
る。
On the other hand, the "unit recovery data" packet contains all the data in the issuing machine file of the management device and the date, identification code, and real code read from the setting value file.
It is sent in accordance with the configuration of the data area of the unit memory 550. However, for the receive data packet head and card text that overlap with the transmit data area of the unit memory, duplicate transmissions are omitted, and the unit controller 2
The data is copied from the transmission data area to the reception data area on the 90 side. The data indicated by *4 in the received data is written in the received data area in the unit memory. The response packet to the above packet is configured to include only all the data in the transmission data area and send it.

第67図〜第7o図には、低層ネットワーク520上に
おいてカード精算機300と管理装置400との間で送
受信されるパケットのフォーマットの代表的な例を示す
。このうち第67図(A)〜(C)には、カードの精算
を管理装置に要求する″カード精算″パケットと、その
応答バケツi〜” A CK ”および” N A K
 ”の構成例を示す。
67 to 7o show typical examples of the format of packets transmitted and received between the card payment machine 300 and the management device 400 on the low-layer network 520. Of these, FIGS. 67(A) to (C) show a "Card Settlement" packet requesting the management device to settle the card, and its response bucket i~ "A CK" and "NAK".
” is shown below.

カード精算の際の″カード精算″パケットのデータ欄に
は、精算機のカードリーダによって読み取ったカード番
号のみを入れて送る。一方、その応答“ACK”パケッ
トのデータ欄には管理装置においてカード番号から逆算
した発行通し番号nを用いてカードファイルを検索して
読み出した当該カードのデータを入れて送る。
At the time of card payment, only the card number read by the card reader of the payment machine is sent in the data field of the "card payment" packet. On the other hand, in the data column of the response "ACK" packet, data of the card read out by searching the card file using the issuing serial number n calculated backward from the card number in the management device is inserted and sent.

一方、精算機300における未使用金の払戻しゃ玉数を
印字したレシートの発行等の精算処理が終了したときに
精算機300から管理装置i!400に送られる“カー
ド精算終了”とその応答パケットの構成を第68図に示
す。送信パケットのデータ欄にはカード番号のみ入れて
送る。応答パケットにはデータ欄は不用である。
On the other hand, when the payment machine 300 completes payment processing, such as issuing a receipt with the number of balls printed, if the unused money is refunded, the management device i! FIG. 68 shows the structure of "Card payment completed" sent to 400 and its response packet. Only the card number is entered in the data field of the sending packet. No data field is needed in the response packet.

さらに、第69図には精算機からの“定時データ送信′
″パケットの構成例が、また第70図(A)。
Furthermore, Fig. 69 shows “regular data transmission” from the payment machine.
An example of the structure of a packet is also shown in FIG. 70(A).

(B)には精算機に関するパユニット復旧データ″の送
受信パケットの構成例が示されている。
(B) shows an example of the structure of a transmission/reception packet of "par unit recovery data" regarding the payment machine.

このうち、″定時データ送信″パケットには、当該精算
機のユニットメモリの送信データエリア内のすべてのデ
ータを入れて送り、管理装置はこのデータを受信して精
算機ファイル内の当該精算機のデータを更新する。ただ
し、送信データのうちカード番号は管理装置において利
用されないデータであるので、送信されてもファイル内
に登録されない。
Among these, the "periodic data transmission" packet contains all the data in the transmission data area of the unit memory of the payment machine, and the management device receives this data and stores it in the payment machine file. Update data. However, since the card number of the transmitted data is data that is not used by the management device, it is not registered in the file even if it is transmitted.

一方、′ユニット復旧データ″パケットには、管理装置
[400の精算機ファイル内の全データと、設定値ファ
イルから読み出した年月日、識別コードおよびホットコ
ードを、ユニットメモリ550のデータエリアの構成に
一致させて送ってくる。
On the other hand, the 'unit recovery data' packet contains all the data in the payment machine file of the management device [400], the date, identification code, and hot code read from the setting value file, and the configuration of the data area of the unit memory 550. It will be sent according to the .

ただし、ユニットメモリの送信データエリアと重複する
受信データパケットヘッドとホットコードは重複した送
信を省略し、ユニットコントローラ390側で送信デー
タエリアから受信データエリア−コピーするようになっ
ている。受信データ中※6で示されるデータはユニット
メモリ500の受信データエリアに記入される。上記″
ユニット復旧データ″パケットに対する応答パケットで
は、送信データエリア内の全データを入れて送るように
なっている。
However, for the received data packet head and hot code that overlap with the transmitted data area of the unit memory, duplicate transmission is omitted and the unit controller 390 side copies the received data area from the transmitted data area. The data indicated by *6 in the received data is written in the received data area of the unit memory 500. the above"
The response packet to the unit recovery data packet is configured to include all data in the transmission data area and send it.

なお、第55図〜第70図に示されているパケットは、
ネットワークにのせられる本来のパケットの全体ではな
く要部のみであり、上記パケットの他に、データの先頭
を発見するためのアラートバーストや同期データ、伝送
元を示すソースアドレスフィールド等からなるヘッダ部
と、データの長さを示すカウント部、誤り検出用のチエ
ツクコード部がある。これらは、各端末機のユニット制
御装置内のネットワークコントローラ553によって自
動的に生成されて付加されるようになっている。
Note that the packets shown in FIGS. 55 to 70 are as follows:
It is not the entire packet that is originally carried on the network, but only the main part, and in addition to the above packet, there is a header section that includes an alert burst to discover the beginning of the data, synchronization data, a source address field that indicates the transmission source, etc. , a count section that indicates the length of data, and a check code section for error detection. These are automatically generated and added by the network controller 553 in the unit control device of each terminal.

さらに、第56図〜第61図の各パケットの末尾の付加
されている“PADDING”なる部分は、パケットデ
ータの長さを所定の長さに合わせるために付加されたダ
ミーのデータフィールドである。
Further, the part "PADDING" added to the end of each packet in FIGS. 56 to 61 is a dummy data field added to adjust the length of the packet data to a predetermined length.

次に、上記2つのネットワーク510と520との間に
あって、データ伝送の仲介をなす上記NA U 530
におけるデータ伝送コントローラ535の制御手順とタ
イマ割込みによる低層ネットワーク異常検出処理の手順
を第71図および第72図を用いて説明する。
Next, the NA U 530 is located between the two networks 510 and 520 and mediates data transmission.
The control procedure of the data transmission controller 535 and the procedure of low-layer network abnormality detection processing using a timer interrupt will be explained using FIG. 71 and FIG. 72.

NAU530の電源が投入され、リセットパルスが供給
されると、データ伝送コントローラ535は第71図に
示す初期化処理を開始する。
When the NAU 530 is powered on and a reset pulse is supplied, the data transmission controller 535 starts the initialization process shown in FIG. 71.

すると、先ずユニット本体539の上面に設けられたN
AU番号設定器544、パチンコ機または精算機の最小
台番号設定器545、パチンコ機または精算機の接続台
数設定器546、発行機最小台番号設定器547、発行
機接続台数設定器548およびNAUタイプ設定器54
9の設定値を読み込む(ステップ5L−56)。それか
ら、ステップ31で読み込んだ台番号や台数に基づいて
高層ネットワーク510上での自己のアドレスおよび自
己の制御下にある低層ネットワーク520上の各端末機
の台番号、アドレス(ユニット番号)、通し番号および
チャネル番号を前述した方法により算出する(ステップ
S7)。
Then, first, the N
AU number setting device 544, Pachinko machine or payment machine minimum number setting device 545, Pachinko machine or payment machine connection number setting device 546, issuing machine minimum number setting device 547, issuing machine connection number setting device 548, and NAU type Setting device 54
9 is read (step 5L-56). Then, based on the machine number and number read in step 31, the machine number, address (unit number), serial number and The channel number is calculated by the method described above (step S7).

しかる後、ネットワークコントローラ533゜537に
初期値データを与えて初期化させてから(ステップS8
)、データメモリ536内のモニタテーブル(定時デー
タ記憶類#c)に上記ステップS7で算出した台番号、
通し番号およびチャネル番号を書き込むとともに、NA
Uタイプ設定器の設定値から各ユニットのタイプ(パチ
ンコ機、発行機の区別)を決定して書込み、その他の稼
働データを「○」にクリアする(ステップS9)。
After that, initial value data is given to the network controllers 533 and 537 to initialize them (step S8).
), the machine number calculated in step S7 above in the monitor table (regular data storage type #c) in the data memory 536,
Write the serial number and channel number, as well as the NA
The type of each unit (pachinko machine, issuing machine) is determined and written from the setting value of the U type setting device, and other operating data is cleared to "o" (step S9).

それから同しくデータメモリ536内のユニットテーブ
ル(伝送アドレス記憶領域)にNAU番号と各ユニット
のタイプ名、台番号、通し番号およびチャネル番号を書
き込むとともに、ユニットテーブル内のNAUステータ
スおよびモニタ情報lの各ビットをrOJにクリアする
(ステップ510)。
Then, write the NAU number, type name, unit number, serial number, and channel number of each unit to the unit table (transmission address storage area) in the data memory 536, and write the NAU status and each bit of monitor information l in the unit table. is cleared to rOJ (step 510).

次に、データ伝送コントローラ535は、管理装置のマ
スタ制御装置401からパケットが送られてくるのを待
ち(ステップ5ll)、パケットを受信するとそのパケ
ットがパ回線テスト″あるいは゛ユニットテーブル要求
″か否か判定する(ステップSL2.513)。
Next, the data transmission controller 535 waits for a packet to be sent from the master control device 401 of the management device (step 5ll), and when the packet is received, the data transmission controller 535 determines whether the packet is a "parameter line test" or "unit table request". It is determined whether or not (step SL2.513).

そして、受信したパケットが″ユニットテーブル要求″
であると判定したときは、ステップS13から814へ
移行してデータメモリ536から読み出したユニットテ
ーブルのデータを入れた” A CK ”パケットを管
理装置へ送信してからタイマ割込み用の1秒タイマをセ
ットしてタイマ割込みを開始させた後、ステップ311
へ戻って次のパケットの受信を待つ(ステップ515)
And the received packet is ``unit table request''
If it is determined that this is the case, the process moves from step S13 to step S814, and an "ACK" packet containing the unit table data read from the data memory 536 is sent to the management device, and then a one-second timer for timer interrupt is activated. After setting and starting the timer interrupt, step 311
and waits for reception of the next packet (step 515).
.

一方、受信したパケットが゛回線テスト″であったとき
は、ステップS12から521へ移行して、先ず管理装
置へ゛’ A CK ”パケットを送信してから台番号
設定器546,548の設定値から、当該NAUに接続
されているユニットの数をカウンタ等に設定する(ステ
ップS21,522)。
On the other hand, if the received packet is a "line test", the process moves from step S12 to 521, where the "A CK" packet is first sent to the management device, and then the set value of the machine number setter 546, 548 is changed. , the number of units connected to the NAU is set in a counter or the like (step S21, 522).

次に、ステップS7で算出したアドレスを使って自己の
制御下の各ユニットへ″回線テスト″パケットを送信し
てからタイマをセットする(ステップS23,524)
。それから、そのタイマをチエツクして所定時間内に各
ユニットから“ACK”パケットが戻ってきたときはモ
ニタテーブル内の該当ユニットに関するモニタ情報工の
トークンバス異常ビットB6をrOJにクリアする(ス
テップ825〜527)。また、所定時間内に“ACK
”パケットが戻ってこなかったときは上記モニタ情報1
のトークンバス異常ビットB6をrlJに設定する(ス
テップ828)。それから、上記ステップS22でセッ
トしたカウンタを減算(−1)してからそれがrOJに
なったか判定することで全ユニットについてパ回線テス
ト″パケットの送信を終了したか否か判定し、未終了の
ときはステップS23へ戻って次のユニットへバケツl
−を送り、全ユニットについて終了したときはステップ
Sllへ戻って″ユニットテーブル要求″バケットの受
信を待つ。
Next, a "line test" packet is sent to each unit under its control using the address calculated in step S7, and a timer is set (steps S23 and 524).
. Then, when the timer is checked and an "ACK" packet is returned from each unit within a predetermined period of time, the token bus error bit B6 of the monitor information module for the corresponding unit in the monitor table is cleared to rOJ (steps 825 to 825). 527). Also, within a predetermined time, “ACK”
”If the packet is not returned, the above monitor information 1
The token bus abnormality bit B6 of is set to rlJ (step 828). Then, by subtracting (-1) the counter set in step S22 above and determining whether it has reached rOJ, it is determined whether transmission of the "Pal line test" packet has been completed for all units, and uncompleted If so, return to step S23 and move the bucket to the next unit.
- is sent, and when the process is completed for all units, the process returns to step Sll and waits for reception of a "unit table request" bucket.

さらに、ステップSllで受信したパなットが″回線テ
スト″でも″ユニットテーブル要求″でもなかったとき
は、ステップS16で上記以外の登録されているパケッ
トか否か判定し、イエスのときは受信したパケットに対
応した処理を実行してからステップSllへ戻って、次
のパケットの受信を待つ(ステップS 17)。
Furthermore, if the packet received in step Sll is neither a "line test" nor a "unit table request", it is determined in step S16 whether or not it is a registered packet other than the above, and if YES, the packet is not received. After executing the process corresponding to the received packet, the process returns to step Sll and waits for reception of the next packet (step S17).

なお、各受信パケットに対応したN A、 Uの処理は
、管理装置とユニット間のデータ伝送の単なる仲介処理
(パケットヘッドの除去または付加)もしくは管理装置
に代わって各ユニットに指令パケットを送信する補佐的
処理であり、これらについては次のシステム全体の流れ
の説明の中で徐々に明らかになるので、ここでは説明を
省略する。
Note that the processing of N A and U corresponding to each received packet is a simple mediation process for data transmission between the management device and the unit (removal or addition of a packet head), or sending a command packet to each unit on behalf of the management device. These are auxiliary processes, and will become clearer in the following explanation of the overall flow of the system, so their explanation will be omitted here.

一方、上記ステップS15でセットした割込みタイマよ
り1秒ごとに割込み信号が入ってくると、NAUのデー
タ伝送コントローラ535は、第72図の低層ネットワ
ーク異常検出処理を開始し、先ず、ステップS3.S5
で読み込んだユニット接続台数をカウンタにセットして
から、過去3秒以内に各ユニットから定時データを受信
しているか判定する(ステップS31,532)。そし
て、受信していればそのままステップS34ヘジヤンプ
し、受信していないときはステップS33でデータメモ
リ536の定時データ記憶領域内の当該ユニットの欄に
あるモニタ情報)のトークンバス異常ビットB6を「1
Jに設定してからステップS33へ移行する。そして、
ステップS3↓でセットしたカウンタを減算して、「0
」になったか否か判定することで全ユニットについての
チエツクが終了したか判定し、未終了のときはステップ
S32へ戻って上記手続きを繰り返す。これによって、
低層ネットワークの通信異常を検出してそれをモニタ情
報1に具現させることができる。
On the other hand, when an interrupt signal is received every second from the interrupt timer set in step S15, the data transmission controller 535 of the NAU starts the low-layer network abnormality detection process shown in FIG. 72, and first performs step S3. S5
After setting the number of connected units read in in the counter, it is determined whether regular data has been received from each unit within the past 3 seconds (steps S31, 532). If the reception is received, the process jumps to step S34, and if the reception is not received, the token bus abnormality bit B6 of the monitor information in the column of the unit in the regular data storage area of the data memory 536 is set to "1" in step S33.
After setting it to J, the process moves to step S33. and,
Subtract the counter set in step S3↓ and
'', it is determined whether the check for all units has been completed. If the check has not been completed, the process returns to step S32 and the above procedure is repeated. by this,
It is possible to detect a communication abnormality in a low-layer network and to embody it in the monitor information 1.

次に、表3↓に示す各パケットを用いて管理装置と各端
末機との間でデータ伝送を行ないながら営業を実施する
パチンコ遊技システムの動作について説明する。
Next, the operation of the pachinko gaming system that conducts business while transmitting data between the management device and each terminal using each packet shown in Table 3↓ will be explained.

第73図に、管理装置400による各端末機の初期化お
よびネットワークの回線テストの手順の流れを示す。
FIG. 73 shows the flow of procedures for initializing each terminal and testing the network line by the management device 400.

システムの電源が投入されると、管理装置400では、
先ず中央処理装置CPUが主記憶装置M−MEM内の全
てのファイルFLI〜FL6をクリアしてから、ファイ
ル(枠組み)を作成する(ステップ52501)。一方
、ローカル処理装置413は先ずCRT表示装置411
上に初期画面を表示してから、中央処理装置へ日時を知
らせる(ステップ51501,51502)。すると、
中央処理装置は停電ファイルの有無を判定して無いとき
はハードディスク(補助記憶装置11)設定値ファイル
から端末機の台数や賞球数、打止数等の初期設定値を読
み出して主記憶装置内の各ファイルを初期化するととも
に、カード発行通し番号からカード番号を算出するため
の乱数を発生する(ステップ52502〜52504)
。それから、ローカル処理装置より回線テスト要求コマ
ンドが送られてくると、伝送アドレスファイル内のNA
Uアドレスを使って回線テストを開始する(ステップ5
1503.52505)。すなわち、高層ネットワーク
520を使って各NAU530へ″回線テスト″′パケ
ットを送信する。このとき。
When the system is powered on, the management device 400
First, the central processing unit CPU clears all files FLI to FL6 in the main memory M-MEM, and then creates a file (framework) (step 52501). On the other hand, the local processing device 413 first starts with the CRT display device 411.
After displaying the initial screen above, the date and time are notified to the central processing unit (steps 51501, 51502). Then,
The central processing unit determines whether or not there is a power outage file, and if there is no power outage file, it reads the initial setting values such as the number of terminals, the number of winning balls, and the number of batted balls from the hard disk (auxiliary storage device 11) setting value file and stores them in the main memory. Initialize each file and generate random numbers for calculating the card number from the card issuing serial number (steps 52502 to 52504)
. Then, when a line test request command is sent from the local processing device, the NA in the transmission address file is
Start the line test using the U address (step 5)
1503.52505). That is, a "line test" packet is sent to each NAU 530 using the high-level network 520. At this time.

ローカル処理装置はCRT表示器411に「回線テスト
中」なるメツセージを表示してから回線テスト結果の応
答を待つ(ステップ51504)。
The local processing device displays the message "Line test in progress" on the CRT display 411 and then waits for a response with the line test result (step 51504).

パ回線テスト″パケットには、パケットヘットとともに
年月日および識別コード(店番号)を付加して伝送する
The date and identification code (store number) are added to the packet header along with the packet header and transmitted.

一方、電源投入によりNAU530においては、先ずN
AU番号設定器544〜549から設定値(NAU番号
、最小台番号、端末台数等)を読み出して各端末のネッ
トワーク伝送アドレスを算出してユニットテーブルを作
成し、各ユニット(端末)およびNAU自身の伝送アド
レスを認知するとともに、各ユニットの稼働データの入
るモニタテーブルをクリアしておく (ステップ535
01〜53504)。そして、管理装置からの″回線テ
スト″パケットを受信すると、NAUはユニットテーブ
ル内の自ら算出した伝送アドレスを入れた’ A CK
 ”パケットを返す(ステップ53505、53506
)。NATIJが設定器から読み込んだ設定値に基づい
て算出したアドレスは、ステップ52503で管理装置
400が設定値ファイルF L 1のデータからロート
したNAUアドレスと一致するはずである。各々が互い
に同一のアドレスを認知することにより相互通信が可能
になる。
On the other hand, when the power is turned on, NAU530 first
The setting values (NAU number, minimum unit number, number of terminals, etc.) are read from the AU number setters 544 to 549, the network transmission address of each terminal is calculated, a unit table is created, and each unit (terminal) and the NAU itself are In addition to recognizing the transmission address, the monitor table containing the operation data of each unit is cleared (step 535).
01-53504). Then, upon receiving the "line test" packet from the management device, the NAU enters the transmission address it calculated itself in the unit table.'A CK
”Return packet (steps 53505, 53506
). The address calculated by NATIJ based on the setting value read from the setting device should match the NAU address loaded by the management device 400 from the data of the setting value file F L 1 in step 52503. Mutual communication becomes possible because each party recognizes the same address.

また、NAU530からの” A CK ”パケットを
管理装置400が受信することにより対応するNAUと
の間の回線異常がないことを認知することができ、上記
手続き(ステップ52505〜S2506)をNAUの
数だけ繰り返すことにより全回線のチエツクが終了し、
その後ユニットテーブル要求処理(第74図)へ移行す
る。
In addition, when the management device 400 receives an "ACK" packet from the NAU 530, it can be recognized that there is no line abnormality with the corresponding NAU, and the above procedure (steps 52505 to S2506) can be performed based on the number of NAUs. By repeating this, the check for all lines is completed,
Thereafter, the process moves to unit table request processing (FIG. 74).

一方、各端末機のユニット制御装置1i180,280
.350は、電源が投入されると、先ずユニット内のデ
ータ伝送コントローラ55】、が、ユニットメモリ55
0の全データエリアをクリアしてから、ユニットメモリ
内の所定番地r27 F FJにデータを書き込む(ス
テップ54501,54502)。すると、ユニットメ
モリの所定の端子INTがハイレベルに立ち上がる。各
端末機のユニットコントローラ190,290,390
は、電源投入後、内部メモリやレジスタ、I10ボート
を初期化し、ユニットメモリからの上記イニシャライズ
信号INTの立上りを検出すると台番号設定器から設定
値(台番号)を読出し1通し番号とチャネル番号の下位
の算出を行なってから、それをユニットメモリの送信デ
ータエリアに書き込む(ステップ55501〜5550
4)。それをデータ伝送コントローラ551が読み取る
ことでユニット側でのユニットアドレスの認知が行なわ
れる(ステップ54503)。これによってトークンバ
スを使ったNAU530と各端末機との間のデータ伝送
が可能となる。
On the other hand, the unit control device 1i180, 280 of each terminal
.. 350, when the power is turned on, the data transmission controller 55 in the unit first transfers data to the unit memory 55.
After clearing all data areas of 0, data is written to a predetermined location r27FFJ in the unit memory (steps 54501, 54502). Then, a predetermined terminal INT of the unit memory rises to a high level. Unit controller 190, 290, 390 of each terminal
After turning on the power, the unit initializes the internal memory, registers, and I10 board, and when it detects the rising edge of the initialization signal INT from the unit memory, it reads out the set value (machine number) from the machine number setter and sets the serial number and the lower order of the channel number. is calculated and then written into the transmission data area of the unit memory (steps 55501 to 5550).
4). When the data transmission controller 551 reads it, the unit address is recognized on the unit side (step 54503). This enables data transmission between the NAU 530 and each terminal using the token bus.

その後、NAU530から各ユニット(端末)に対して
既に管理装置400より受信したデータ(年月日と識別
コード)を付加したパ回線テスト″パケットが送信され
、ユニット側のデータ伝送コントローラ551がそれを
受信すると受信した年月日と識別コードをユニットメモ
リに書き込んでから、NAU530に“ACK”パケッ
トを送信する(ステップ54504,54505)。ユ
ニットコントローラはユニットメモリを介して年月日、
識別コードを受信すると初期値受信待ちとなる(ステッ
プ55505,55506)。また、NAUがデータ伝
送コントローラ551からの“ACK”を受信すると次
のユニットへ“回線テスト”を送信し、これを全ユニッ
トについて繰り返すことにより低層ネットワーク510
の回線テストが終了し、ユニットテーブル要求待ちとな
る(ステップ53507〜53509)。
After that, the NAU 530 sends a "Pal line test" packet to each unit (terminal) to which data (date and identification code) already received from the management device 400 is added, and the data transmission controller 551 on the unit side receives it. When received, the received date and identification code are written in the unit memory, and then an "ACK" packet is sent to the NAU 530 (steps 54504, 54505).The unit controller writes the date and identification code through the unit memory.
When the identification code is received, the process waits for receiving the initial value (steps 55505 and 55506). In addition, when the NAU receives "ACK" from the data transmission controller 551, it transmits "line test" to the next unit, and by repeating this for all units, the low layer network 510
The line test is completed, and a unit table request is awaited (steps 53507 to 53509).

第74図に、ユニットテーブルの要求およびそれに続く
回線テストの処理手順を示す。
FIG. 74 shows the unit table request and subsequent line test processing procedure.

前述した初期化処理が終了すると、管理装置400はユ
ニットテーブル要求処理を開始して、中央処理装置CP
Uが各NAU530に対して“ユニットテーブル要求″
パケットを送信する(ステップ52511)。すると、
NAU530はそのパケットを受信して、PACKET
$TYPE11に”ACK”  (=08H)を入れた
ヘッド部の次に、NAU番号とNAUステータス(トー
クンバス異常、開店コード受信済み、NAU正常を示す
ビット等からなる)および前述したユニットテーブルの
データ(各ユニットについてのユニット番号と種別フラ
グ、台番号、通し番号、チャネル番号とモニタ情報1)
をユニット数分だけ付加してなる“ACK”パケットを
送信する(ステップ53511、53512)。
When the above-mentioned initialization process is completed, the management device 400 starts unit table request processing and requests the central processing unit CP.
U makes “unit table request” to each NAU530
Send the packet (step 52511). Then,
NAU 530 receives the packet and sends PACKET
Next to the head section with "ACK" (=08H) in $TYPE11, the NAU number, NAU status (consisting of bits indicating token bus error, opening code received, NAU normal, etc.), and the unit table data mentioned above. (Unit number, type flag, unit number, serial number, channel number and monitor information 1 for each unit)
An "ACK" packet with the same number of units added as the "ACK" packet is transmitted (steps 53511 and 53512).

中央処理装置CPUがこのユニットテーブルを受信する
と、伝送アドレスファイルFL2内のアドレスと比較し
、未登録のものがあれば追加して伝送アドレスファイル
をハードディスクにセーブしてから、各端末機から送ら
れてきたモニタ情報1を調べてローカル処理装置へ回線
テストの結果を送信してコマンド待ちとなる(ステップ
S25エ2〜52514)  。
When the central processing unit CPU receives this unit table, it compares it with the addresses in the transmission address file FL2, adds any unregistered ones, saves the transmission address file on the hard disk, and then sends it from each terminal. It examines the received monitor information 1, sends the line test result to the local processing device, and waits for a command (steps S25E2 to S52514).

ローカル処理装置413は、回線テスト結果を受信して
異常端末がなければ、直ちに初期値設定コマンドを中央
処理装置へ送信する。一方、異常端末があった場合には
CRT表示LJN7t4LLの画面上に、異常端末の表
示を行ない、コンソール上の開店スイッチがオンされる
のを待ち、開店要求があった時点で初期値設定コマンド
を中央処理装置へ送信する(ステップ51511−〜S
 L 513)。
When the local processing unit 413 receives the line test result and there is no abnormal terminal, it immediately sends an initial value setting command to the central processing unit. On the other hand, if there is an abnormal terminal, the abnormal terminal will be displayed on the screen of the CRT display LJN7t4LL, wait for the store opening switch on the console to be turned on, and then issue the initial value setting command when a store opening request is received. Send to central processing unit (steps 51511--S
L 513).

初期値設定コマンドを受信すると、中央処理装置CPU
は、主記憶装@M−MEMの設定値ファイルFLLから
各ユニットの初期値を読み出してデータ部に初期値(パ
チンコ機では年月日、識別コート、購入玉交換レート、
メイン賞球数、サブ賞球数、打止数、打止モート等の初
期値とホットコード)を入れた″初期値設定″パケット
を送信する(ステップ32515,52516)。
When the initial value setting command is received, the central processing unit CPU
reads the initial value of each unit from the setting value file FLL in the main memory @M-MEM and stores the initial value in the data section (for pachinko machines, the date, identification code, purchased ball exchange rate,
An ``initial value setting'' packet containing initial values such as the number of main prize balls, the number of sub-prize balls, the number of batted balls, the number of batted balls, and a hot code) is transmitted (steps 32515, 52516).

すると、NA、U330がそのパケットを受は取って、
高層ネットワーク用ヘッド部を除去して、低層ネットワ
ークを介して各ユニットへ“初期値設定″パケットを送
信するとともに、各ユニットのネットワークコントロー
ラからハートACK(応答信号)を受信すると管理装置
へ′″ACK”パケットを送イ言する(ステップ535
13〜53515)。中央処理装置CPUは、全ユニッ
トからの” A CK ”の受信を確認すると、ローカ
ル処理装置413へ初期値送信終了を送信して開店要求
コマンドが送られてくるのを待つ(ステップ52517
、52518)。初期値送信終了を受信したローカル処
理装置は、CRT表示装置の画面上に開店要求メツセー
ジを表示させてから開店スイッチがオンされるのを待つ
(ステップ51514.51515)。
Then, NA, U330 receives the packet and
Remove the high-level network head unit and send an "initial value setting" packet to each unit via the low-level network, and when a heart ACK (response signal) is received from the network controller of each unit, send an ``ACK'' to the management device. ”Send packet (step 535)
13-53515). When the central processing unit CPU confirms that "ACK" has been received from all units, it transmits an initial value transmission completion message to the local processing unit 413 and waits for a store opening request command to be sent (step 52517).
, 52518). The local processing device that receives the completion of initial value transmission displays a store opening request message on the screen of the CRT display device and then waits for the store opening switch to be turned on (steps 51514 and 51515).

一方、低層ネントワーク510側では、NAU530か
ら送信されたパケットを、指定されたユニットが受は取
ると、ユニットメモリ (170゜270.370)内
のコマンドレジスタCR2に初期値設定コマンドを書き
込み、受信データエリアに受信した初期値を書き込む(
ステップ54511)、そして、ユニットコントローラ
190゜290.390が、ユニットメモリ内のコマン
ドとを読み込んで、初期値の受信を確認すると受信デー
タエリアのパケットヘッド部を送信データエリアをコピ
ーして送信ヘッドを作成するとともに、ホッI−コード
も受信エリアから送信エリアヘコピーしてから、モニタ
情報1の初期値未設定ビットを「O」 (設定済)に変
更した後、カードリーダからの初期値要求があると初期
値を入れたファンクションを返す(ステップS55↓1
〜55514)。一方、モニタ情報上の初期値未設定ビ
ットが「0」にされたことをデータ伝送コントローラ5
51は定時タイマをセットして定時データの送信を開始
する(ステップ54512)。
On the other hand, on the low layer network 510 side, when the specified unit receives the packet sent from the NAU 530, it writes an initial value setting command to the command register CR2 in the unit memory (170°270.370) and receives the packet. Write the received initial value to the data area (
Step 54511) Then, the unit controller 190゜290.390 reads the command in the unit memory, and after confirming reception of the initial value, copies the packet head part of the receive data area to the transmit data area and sets the transmit head. At the same time, the hot I-code is also copied from the reception area to the transmission area, and after changing the initial value unset bit of monitor information 1 to "O" (set), the initial value request from the card reader is If there is, a function containing the initial value is returned (step S55↓1
~55514). On the other hand, the data transmission controller 5 indicates that the initial value unset bit on the monitor information has been set to "0".
51 sets a regular timer and starts transmitting regular data (step 54512).

第75図に、初期値設定後に各端末機から稼動データの
定期的収集を行なう手順を示す。
FIG. 75 shows a procedure for periodically collecting operating data from each terminal after initial value setting.

各端末機のユニット制御装置180,280゜350内
の伝送コントローラ551は、自己の持つタイマからの
割込みによって例えば土砂ごとの定時時刻を確認すると
、ユニットメモリ170゜270.370内の送信デー
タエリアSDAに書き込まれている稼動データを読み出
して、それを″定時データ送信″パケットに入れて低層
ネットワーク510上にのせ、NAU530に送る〔ス
テップ54521〜54523)。NAU530は、各
ユニットから定時データを受信すると、書込みフラグを
チエツクして自己のメモリ内に形成されている各ユニッ
トごとの稼動データを格納するモニタテーブルが書込み
可能な状態にあるか調べ、フラグが「0」になるまで待
ってからユニットテーブルを受信した定時データで更新
する(ステップ53521〜S 3523)。管理装置
400への定時データ送信中におけるデータの書換えを
防止するためである。なお、NAU530によって収集
される定時データは、各端末機のユニットコントローラ
190,290,390がリアルタイムで端末機の稼動
データを吸い上げて次々とユニットメモリ170,27
0,370内に書き込んでおくようにされている。また
、3回続けて定時データを収集できなかったときは、モ
ニタ情報1のトークンバス異常ビットを”1”に設定す
る(ステップ53528)。
When the transmission controller 551 in the unit control device 180, 280° 350 of each terminal confirms the fixed time for each piece of earth and sand using an interrupt from its own timer, the transmission controller 551 in the unit memory 170° 270. The operating data written in is read out, put into a "regular data transmission" packet, placed on the low layer network 510, and sent to the NAU 530 [steps 54521 to 54523]. When the NAU 530 receives regular data from each unit, it checks the write flag to see if the monitor table that stores the operating data for each unit, which is formed in its own memory, is in a writable state, and if the flag is After waiting until it becomes "0", the unit table is updated with the received regular data (steps 53521 to S3523). This is to prevent data from being rewritten during regular data transmission to the management device 400. Note that the regular data collected by the NAU 530 is stored in the unit memories 170, 27 one after another by the unit controllers 190, 290, 390 of each terminal sucking up the operation data of the terminal in real time.
It is designed to be written within 0,370. Furthermore, if regular data cannot be collected three times in a row, the token bus abnormality bit of monitor information 1 is set to "1" (step 53528).

一方、管理装置400の側でも、中央処理装置CPUが
自己のタイマからの割込みによって1秒ごとの定時時刻
を確認して、定時データ要求処理を開始し、各N A 
U 530に対してパ定時データ要求”パケットを送信
する(32521,52522)。指定されたNAU5
30がそのパケットを受信すると、書込みフラグをセッ
トしてからモニタテーブルのデータを入れた“A CK
 ”パケットを送信して書込みフラグをリセットする(
ステップ53524〜S 3527)。これを管理装置
400が受信すると、モニタ情報をチエツクして異常端
末があれば、それをローカル処理装置に知らせてCRT
表示装置の画面上にユニット異常を割込み表示させてか
ら、各ユニットファイル内の稼働データを定時データで
書き換える(ステップ52523〜52525)。
On the other hand, on the side of the management device 400, the central processing unit CPU checks the scheduled time every second by an interrupt from its own timer, starts the scheduled data request process, and processes each N A
Sends a "Paper Scheduled Data Request" packet to U 530 (32521, 52522).Specified NAU5
When 30 receives the packet, it sets the write flag and then sends an “ACK” with the monitor table data.
”Send packet and reset write flag (
Steps 53524-S3527). When the management device 400 receives this, it checks the monitor information and if there is an abnormal terminal, it notifies the local processing device and displays the CRT.
After the unit abnormality is displayed on the screen of the display device, the operation data in each unit file is rewritten with regular data (steps 52523 to 52525).

第76図に、管理装置400により各端末機への初期値
を設定した後の開店処理の流れを示す。
FIG. 76 shows the flow of store opening processing after initial values are set for each terminal by the management device 400.

上記回線テストおよび初期値設定等の準備処理が終了し
た後、管理装置400のコンソール412上の開店スイ
ッチ421がオンされると、ローカル処理装置413は
中央処理装置CPUへ開店要求コマンドを送信する。す
ると中央処理装置は“開店コード”パケットを形成して
、各NAU 530へ送信する(ステップ51531,
52531)。N A U 530がそのパケットを受
は取ると、管理装置へ” A CK ”パケットを送信
してから受信したパケットより高層ネットワーク用ヘッ
ドを除去して、低層ネットワークを介して各ユニットへ
″開店コード″パケットを送信する(ステップ5353
1〜S 3533)。
When the opening switch 421 on the console 412 of the management device 400 is turned on after the preparation process such as the line test and initial value setting is completed, the local processing device 413 transmits a store opening request command to the central processing unit CPU. The central processing unit then forms an “opening code” packet and sends it to each NAU 530 (step 51531,
52531). When the N A U 530 receives and receives the packet, it sends an "ACK" packet to the management device, removes the head for the higher layer network from the received packet, and sends the "opening code" to each unit via the lower layer network. ″Send packet (step 5353
1-S 3533).

管理装置400は、すべてのNAU530から” A 
CK ”を受信すると、モードを営業中に変更して通常
の営業処理へ移行し、ローカル処理装置へ応答を返す(
ステップS 2532)。すると、ローカル処理装置は
CRT表示装置411の画面上に営業中なるメツセージ
や操作可能なコンソール上のスイッチ名や操作方法を表
示するノーマル表示を行なう(ステップ51532)。
The management device 400 receives information from all NAUs 530.
CK", changes the mode to business, shifts to normal business processing, and returns a response to the local processing device (
Step S2532). Then, the local processing device performs a normal display on the screen of the CRT display device 411, which displays a message that the business is open, and the names and operating methods of switches on the console that can be operated (step 51532).

一方、NAU 530から送信された″開店コート′″
パケットを、各端末機のデータ伝送コントローラ551
が受は取ると、各ユニット制御装置180.280,3
50内ツユニツトメモリ170゜270.370のコマ
ンドレジスタCR2に1開店コード″が書き込まれ、こ
れをユニットコントローラ190,290および390
が読み取ることで、カードリーダ制御装置188,28
8,388にはカード受付けおよび発行を許可するとと
もに、カード発行機の紙幣識別機210を紙幣受付は可
能状態とし、かつ各端末機外部の表示器上64.221
,341を点灯させ、遊技客に対して端末機が稼動状態
にあることを知らせるようになっている(ステップ54
531〜54533゜ステップ55531〜S 553
3)。
On the other hand, "Opening coat" sent from NAU 530
The packet is sent to the data transmission controller 551 of each terminal.
When the receiver is removed, each unit control device 180.280,3
A store opening code "1" is written in the command register CR2 of the unit memory 170, 270, and 370 in the unit controller 190, 290, and 390.
By reading, the card reader control device 188, 28
8,388, permits card acceptance and issuance, sets the banknote validator 210 of the card issuing machine to a state where banknote reception is possible, and displays 64.221 on the display outside each terminal.
, 341 to inform the player that the terminal is in operation (step 54).
531~54533° Step 55531~S 553
3).

第77図に、カート発行機200によるカードの発行処
理の手順が示されている。
FIG. 77 shows the procedure of card issuing processing by the cart issuing machine 200.

カード発行機200のユニットコントローラ290は、
初期化が処理すると、発行機に実際に購入紙幣が投入さ
れる前であっても発行予約処理を開始し、先ず金額を「
0」とした″カード購入”パケットの送信要求コマンド
をユニットメモリ550のコマンドレジスタCRIに書
込み、また、送信データエリア内の発行受付番号を更新
する(ステップ55541)。すると、データ伝送コン
トローラ551が発行受付番号は発行機ごとに受付は順
番を示す番号として与えられる。カードの購入予約のた
めの゛カード購入”パケット(二〇)を形成して、NA
U530へ送信する(ステップ54541)。NAUが
このパケットを受信すると、高層用パケットヘッドを付
加して管理装置へ送る(ステップ53541)。すると
、中央処理装置CPUが当該パケット内のカード番号が
rOJか否か調べ、次に、パケットを送ってきた発行機
のファイルより発行回数を読み出して発行受付番号と比
較して予約のための購入パケットであると判定すると、
発行通し番号とカード番号を算出し、カードファイルを
作成してからカード番号を入れた” A CK”パケッ
トをNAUへ送信する(ステップ52541〜5254
4)。発行通し番号は全発行機における発行回数を加算
したものである。
The unit controller 290 of the card issuing machine 200 is
Once the initialization process is complete, the issuance reservation process starts even before the purchased banknote is actually inserted into the issuing machine, and the amount is first
A "card purchase" packet transmission request command of "0" is written to the command register CRI of the unit memory 550, and the issuance acceptance number in the transmission data area is updated (step 55541). Then, the data transmission controller 551 gives an issuance acceptance number to each issuing machine as a number indicating the order of acceptance. Form a “Card Purchase” packet (20) for card purchase reservation, and
It is transmitted to U530 (step 54541). When the NAU receives this packet, it adds a high-layer packet head and sends it to the management device (step 53541). Then, the central processing unit CPU checks whether the card number in the packet is rOJ or not, then reads the number of issuances from the file of the issuing machine that sent the packet, compares it with the issuance acceptance number, and confirms the purchase for reservation. If it is determined that it is a packet,
Calculates the issuing serial number and card number, creates a card file, and sends an "ACK" packet containing the card number to NAU (steps 52541 to 5254)
4). The issue serial number is the sum of the number of issues issued by all issuing machines.

“A CK ”を受信したNAUは、パケットから高層
用のパケットヘッドを外して発行機のユニット制御装置
280へ送信する(ステップ53542)。ユニシト制
御装置内のデータ伝送コントローラ55工がその” A
 CK ’″を受信すると、ユニットメモリを介してそ
の旨をユニットコントローラ290へ知らせる(ステッ
プ54542)。すると、ユニットコントローラは、カ
ード番号を入れた「カード発行」ファンクションをカー
ト発行装置700へ送る。これを受けて、カード発行装
置はカードタンクよりカードを1枚取り出してカートリ
ーダ800へ供給し、磁気記録部にカード番号を記録さ
せ、待機する(ステップ55542)。
The NAU that received "ACK" removes the high-level packet head from the packet and transmits it to the unit controller 280 of the issuer (step 53542). The data transmission controller 55 in the Unisito control device is the
When receiving CK ''', the unit controller 290 is notified of this via the unit memory (step 54542).Then, the unit controller sends a "card issue" function containing the card number to the cart issuing device 700. In response to this, the card issuing device takes out one card from the card tank, supplies it to the cart reader 800, records the card number in the magnetic recording section, and waits (step 55542).

その後、発行機200の紙幣挿入口211に実際に紙幣
が投入されると、紙幣識別器210がこれを識別してユ
ニットコントローラ290に知らせ、購入選択スイッチ
212内のランプを点灯して選択を促す表示を行なうと
ともに、投入金額を金額表示器213に表示させる。そ
れから、購入選択スイッチ212の一つがオンされて購
入金額が指定されると、ユニットコントローラ290が
その金額を確認して、ユニットメモリ550内のコマン
ドレジスタCRIに「カード購入」コマンドを、また、
送信データエリアにカードの購入金額を書き込む(ステ
ップ55543)。
After that, when a banknote is actually inserted into the banknote insertion slot 211 of the issuing machine 200, the banknote validator 210 identifies this, notifies the unit controller 290, and lights up the lamp in the purchase selection switch 212 to prompt selection. At the same time, the input amount is displayed on the amount display 213. Then, when one of the purchase selection switches 212 is turned on and the purchase amount is specified, the unit controller 290 confirms the amount and sends a "card purchase" command to the command register CRI in the unit memory 550.
The purchase amount of the card is written in the transmission data area (step 55543).

次にデータ伝送コントローラ551がこれを読み取って
″カート購入″パケットを形成し、これに購入金額と予
約済みのカード番号を入れてNAU530に送信し、N
AU530がこれに高層ネットワーク用ヘッドを付けて
管理装置400へ伝送する(ステップ54543,53
543)。管理装置400がこの″カード購入″パケッ
トを受信すると、パケット内のカード番号、購入金額お
よび発行通し番号を確認して実際のカード購入であると
判定すると、発行通し番号を使って検索したカードファ
イルに金額を書き込んでから’ACK I+パケットを
送信する(ステップ52545〜52547)。
Next, the data transmission controller 551 reads this and forms a "cart purchase" packet, which contains the purchase amount and reserved card number and sends it to the NAU 530.
The AU 530 attaches a high-rise network head to this and transmits it to the management device 400 (steps 54543, 53
543). When the management device 400 receives this "Card Purchase" packet, it checks the card number, purchase amount, and issued serial number in the packet, and if it determines that it is an actual card purchase, the amount is stored in the card file searched using the issued serial number. , and then sends an 'ACK I+ packet (steps 52545 to 52547).

この“A CK ”パケットは一旦NAU 530によ
って受信されて高層ネットワーク用ヘッドが外されて低
層ネットワーク510へ送られ、指定された発行機20
0のデータ伝送コントローラ55工によって受信される
(ステップ53544,54544)。すると、伝送コ
ントローラ551がユニットメモリ550を介してAC
Kの受信をユニットコントローラ290へ知らせる。そ
の後、ユニットコントローラは、カード発行装置700
へ購入金額を入れた発行ファンクションを送信する(ス
テップ55544)。すると、待機していたカードの購
入金額が印字され、排出される。また、この時つり銭が
あればユニットコントローラ290は残金払出器230
につり銭払出し指令を与えるとともに、購入選択スイッ
チ内のランプL1〜L5を消灯し、金額表示器21.3
の表示をrOJにクリアし、また、送信データエリア内
の預かり金額等の金銭データを更新する(ステップ55
545,55546)。
This "ACK" packet is once received by the NAU 530, the head for the high-level network is removed, and sent to the low-level network 510, where it is sent to the designated issuing device 20.
0 data transmission controller 55 (steps 53544, 54544). Then, the transmission controller 551 connects the AC via the unit memory 550.
The reception of K is notified to the unit controller 290. After that, the unit controller operates the card issuing device 700
An issue function containing the purchase amount is sent to (step 55544). Then, the purchase amount is printed on the waiting card and the card is ejected. Also, if there is change at this time, the unit controller 290 sends the remaining money dispenser 230
At the same time as giving a change payout command, the lamps L1 to L5 in the purchase selection switch are turned off, and the amount display 21.3 is turned off.
clears the display of rOJ, and also updates monetary data such as deposit amount in the transmission data area (step 55
545, 55546).

上記のように、カード発行に際して予めカードの発行予
約を行なってカード番号を記録した状態で待機させ、実
際の紙幣投入時に購入金額のみ印字して排出させるよう
にしているので紙幣投入からカート発行までの待ち時間
を大幅に短縮させることができる。
As mentioned above, when issuing a card, a reservation is made in advance for the card to be issued, the card number is recorded and the card is placed on standby, and when the actual bill is inserted, only the purchase amount is printed and ejected, so from the time the bill is inserted to the cart is issued. The waiting time can be significantly reduced.

第78図には、遊技を始めるためパチンコ機↓00にカ
ードCDが挿入されてから実際に遊技が開始されるまで
の手順が示されている。
FIG. 78 shows the procedure from when the card CD is inserted into the pachinko machine ↓00 to start the game until the game actually starts.

外部よりパチンコ機上部の制御ユニット180のカード
挿排口802aへカードCDが挿入されると、カードリ
ーダ800がパンチ穴およびカードの磁気面に記録され
ている情報を読み取って、精算液または帰零カードを排
除しそれ以外のカードについては年月日と識別コード(
店番号)を確認して、日付またはコードが一致しないと
きにはそのままカードを排出し、一致した場合にはカー
ド番号をユニットコントローラ190へ転送する。
When a card CD is inserted from the outside into the card insertion/ejection slot 802a of the control unit 180 on the top of the pachinko machine, the card reader 800 reads the information recorded on the punch hole and the magnetic surface of the card, and releases the payment liquid or return zero. Cards are excluded, and for other cards, the date and identification code (
If the date or code does not match, the card is ejected as is, and if they match, the card number is transferred to the unit controller 190.

すると、ユニットコントローラ190はカード番号を受
は取ってユニットメモリ550内のコマンドレジスタC
RIにカードが挿入されたことを示すコマンドを、また
送信データエリアにカード番号を書き込んで“カードイ
ン″パケットの送信要求を行なう(ステップ55551
)。データ伝送コントローラ551はヘット部に゛カー
ドイン”なるコードを持ち、データ部にカート番号を入
れたパケットを低層ネットワークを介してNAU530
へ送信し、NAU530がそれを受信すると。
Then, the unit controller 190 receives the card number and stores it in the command register C in the unit memory 550.
Writes a command indicating that the card has been inserted into the RI and the card number in the transmission data area, and requests the transmission of a "card-in" packet (step 55551).
). The data transmission controller 551 has a "card-in" code in the head section and sends a packet with a cart number in the data section to the NAU 530 via the low layer network.
and when NAU 530 receives it.

高層ネットワーク用のヘットを頭に付けて管理装置4−
00へ送信する(ステップ54551..53551)
Management device 4- with a head for high-rise network attached to its head
Send to 00 (step 54551..53551)
.

管理装置400 h′XN A U 530 カラ力’
f 番”3−を受は取ると、カート番号から発行通し番
号nを算出し、主記憶装置M−MEM内のカートファイ
ルFL3より該当するカートのデータを読み取る(ステ
ップS 2551.〜52553)。そして、ファイル
内のカード番号と受信したカート番号を照合してカード
番号が一致しない場合、あるいはカートファイル内の中
のカード状態をチエツクして、遊技を開始させるのが妥
当でないと判断した場合(精算済カート等の場合)には
、応答拒否信号たる’ N A K ”パケットを送信
する(ステップ52554〜52556)。すると、N
AU530がそのパケットを受信して高層ネットワーク
用のヘッド部を除去して低層ネットワーク510に送り
、指定されたユニットのデータ伝送コントローラ55ユ
が“N A K ”を受信して、ユニットメモリ550
内のコマンドレジスタCR2に応答が拒否されたことを
示すコマンドを書き込む(ステップ53552,545
52)。これをユニットコントローラ190が読み取っ
て応答拒否を確認し、カードリーダ800からカードを
排出させる(ステップS 5552)。
Management device 400 h'XN A U 530 Color power'
When the number f "3-" is received, the issuing serial number n is calculated from the cart number, and data of the corresponding cart is read from the cart file FL3 in the main storage device M-MEM (steps S2551. to S52553). , If the card number in the file and the received cart number are checked and the card numbers do not match, or if the card status in the cart file is checked and it is determined that it is not appropriate to start playing (checkout (in the case of a completed cart, etc.), a 'NAK' packet, which is a response rejection signal, is transmitted (steps 52554 to 52556). Then, N
The AU 530 receives the packet, removes the head section for the high-level network, and sends it to the low-level network 510, and the data transmission controller 55 of the designated unit receives "NAK" and stores it in the unit memory 550.
A command indicating that the response has been rejected is written to command register CR2 in Steps 53552 and 545.
52). The unit controller 190 reads this, confirms the response rejection, and ejects the card from the card reader 800 (step S5552).

一方、中央処理装置において、カードが適正なものと確
認されると、カードファイルFLIとP機ファイルFL
2 (表24、表26)を更新する。
On the other hand, when the central processing unit confirms that the card is valid, the card file FLI and the P machine file FL are
2 (Table 24, Table 26) is updated.

すなわちカード状態を「フリー状態」から「遊技中」に
更新し5また、カードの所在する端末(パチンコ機)の
台番号やカート番号を、該当するテーブルに書き込んだ
後、カードテキスト(金額、持玉数等)を付けて応答信
号たる’ A CK ”パケットを送信する(ステップ
52557,52558)。
In other words, update the card status from ``free status'' to ``playing''. number of balls, etc.) and transmits an 'ACK' packet as a response signal (steps 52557, 52558).

指定されたNAU530がこのパケットを受信すると、
高層ネットワーク用のヘッド部を除去して低層ネットワ
ーク510に送り出し、指定されたユニットのデータ伝
送コントローラ551がこれを受信すると、ユニットメ
モリ550内のコマンドレジスタCR2に「カート”イ
ン」なるコマンドを入れ、受信データエリアにカードテ
キストを入れる(ステップ53553〜54553)。
When the designated NAU 530 receives this packet,
The head section for the high-level network is removed and sent to the low-level network 510, and when the data transmission controller 551 of the designated unit receives this, it enters a "cart" command into the command register CR2 in the unit memory 550, Enter the card text in the received data area (steps 53553 to 54553).

そして、ユニットコントローラ190がユニットメモリ
550の内のコマンドを読み取って応答があったことを
確認すると、カードリーダ800内にカードを保持させ
たまま、遊技制御を開始させユニットメモリ550の送
信データエリアSDA内の稼動情報を「遊技中」に変更
すると共に、玉数表示器112と金額表示器111にカ
ードの持玉数と金額を表示させ、また金額がゼロでない
場合には購入可表示ランプ121を点灯させて購入可能
状態を表示させる(ステップ55553゜55554)
  。
Then, when the unit controller 190 reads the command in the unit memory 550 and confirms that there is a response, it starts the game control while keeping the card in the card reader 800 and transfers the data to the transmission data area SDA of the unit memory 550. In addition to changing the operation information in "Playing", the number of balls held by the card and the amount are displayed on the number of balls display 112 and the amount display 111, and if the amount is not zero, the purchase possible display lamp 121 is displayed. Turn it on to display the purchase availability status (steps 55553 and 55554)
.

第79図に遊技中にパチンコ機100の中断スイッチ1
14がオンされた場合の処理の手順が示されている。
FIG. 79 shows the interruption switch 1 of the pachinko machine 100 during the game.
14 is turned on.

中断スイッチ115が押されると、ユニットコントロー
ラ190は遊技制御を中止させてからユニットメモリ5
50の送信データエリアに入っているカードテキストの
うちカード状態を「中断中」に変更し、共有データエリ
アのコマンドレジスタCRIには“中断スイッチ・オン
″なるコマンドを書き込む(ステップ55561)。す
ると、データ伝送コントローラ551がこれを読み取っ
て、″中断スイッチ”パケットを形成し、データ部にカ
ードテキストを入れてNAU530へ送信する(ステッ
プ54561)。NAU530はそのパケットを受信す
ると高層ネットワーク用のヘッドを頭に付けて管理装置
400へ送る(ステップ53561)。
When the interrupt switch 115 is pressed, the unit controller 190 stops the game control and then stores the unit memory 5.
The card status of the card text contained in the transmission data area No. 50 is changed to "suspended", and a command "suspension switch on" is written in the command register CRI of the shared data area (step 55561). Then, the data transmission controller 551 reads this, forms an "interrupt switch" packet, puts the card text in the data part, and sends it to the NAU 530 (step 54561). When the NAU 530 receives the packet, it attaches a head for the high-rise network to its head and sends it to the management device 400 (step 53561).

管理装置400はそれを受信すると、カードテキスト内
のカード番号から発行通し番号nを逆算し、主記憶装置
M−MEM内のカートファイルFL1を読み込んでファ
イル内の所在台番号とパケット内の台番号とを照合し、
台番号が不一致のとき、あるいはファイル内のカード状
態が遊技中または中断中でないときはNAKを送信する
(ステップ52561〜52566)。一方1台番号が
一致し、カード状態も遊技中のときは該当するカートの
データを更新してから、応答信号として“ACK”パケ
ットにカートテキストを付けて送信する(ステップ52
567.52568)。NAU530が“N A K 
”または“A CK ”を受は取ると高層ネットワーク
用ヘットを外して低層ネットワーク510上へ送り出す
(ステップ53562.53563)。
When the management device 400 receives it, it calculates the issuing serial number n from the card number in the card text, reads the cart file FL1 in the main storage device M-MEM, and calculates the location machine number in the file and the machine number in the packet. collate and
If the machine numbers do not match, or if the card status in the file is not in progress or interrupted, a NAK is transmitted (steps 52561 to 52566). On the other hand, if the numbers match and the card status is in play, the data of the corresponding cart is updated, and then an "ACK" packet is sent as a response signal with the cart text attached (step 52).
567.52568). NAU530 “N.A.K.
” or “ACK”, the high layer network head is removed and sent onto the low layer network 510 (steps 53562 and 53563).

すると、伝送先のユニット制御装置180のデータ伝送
コントローラ551がこの” N A K”または“A
 CK ”パケットを受信してユニットメモリ550内
のコマンドレジスタCR2にN A、 KまたはACK
を入れ、ACKのときは更に受信データエリアにカード
テキストを書き込む(ステップ54562,54563
)。ユニットコントローラ190がNAK受信を確認す
るとカード状態を元の「遊技中Jに戻して遊技制御を再
開させる(ステップS 5562)。ACKの受信を確
認したときは、カートリーダ800よりカードを排出さ
せた後、ユニットメモリの送信データエリアSDA内の
稼動情報を「中断中」に変更するとともに、パチンコ機
100に設けられている購入スイッチ113内蔵のラン
プ121を消灯し、遊技状態表示ランプ123等の表示
状態を中断中表示(点滅)に変更する(ステップ555
63,55564)。
Then, the data transmission controller 551 of the unit control device 180 as the transmission destination receives this "N A K" or "A
CK” packet is received and N A, K or ACK is written to command register CR2 in unit memory 550.
and when it is ACK, further write the card text in the reception data area (steps 54562, 54563
). When the unit controller 190 confirms the reception of the NAK, it returns the card status to the original "Playing J" and restarts the game control (step S5562). When the unit controller 190 confirms the reception of the ACK, the card is ejected from the cart reader 800. After that, the operation information in the transmission data area SDA of the unit memory is changed to "suspended", the lamp 121 built in the purchase switch 113 provided in the pachinko machine 100 is turned off, and the game status display lamp 123, etc. Change the status to suspended display (flashing) (step 555)
63,55564).

次に、第80図に中断中のパチンコ機100にカードC
Dが挿入された場合の処理の手順を示す。
Next, as shown in FIG.
The processing procedure when D is inserted is shown.

この場合の手順は第78図に示されているカートインの
場合の手順とほぼ同一である。すなわち、パチンコ機か
ら管理装置400ヘカードが挿入されたことを伝える処
理ステップ55571−32571は、第78図の処理
ステップ55551〜52551に対応し、その肯定応
答たる“ACK”の伝送処理ステップ52572〜55
573は、第78図の処理ステップ52552〜555
53に、また、否定応答たる“NAK”の伝送処理ステ
ップ52572〜55572は第78図の処理ステップ
52552〜55552にそれぞれ対応する。
The procedure in this case is almost the same as the procedure in the case of cart-in shown in FIG. That is, the processing steps 55571-32571 that notify that the card has been inserted from the pachinko machine to the management device 400 correspond to the processing steps 55551-52551 in FIG.
573 indicates processing steps 52552 to 555 in FIG.
53, and processing steps 52572 to 55572 for transmitting "NAK" as a negative response correspond to processing steps 52552 to 55552 in FIG. 78, respectively.

異なる点は送信パケットとして、″カードイン″パケッ
トの代わりに″中断カードイン″パケットを用いる点と
、カードが挿入された時点でカード番号が中断前のもの
と異なる場合に直ちにカードリーダ800よりカードを
排出させる点および管理装置400の側でP機ファイル
FL2の更新を行なわない点である。P機ファイルの更
新は、既に中断スイッチがオンされたときに行なわれて
いるからである。なお、カードファイルFLIはカード
状態を「中断中」から「遊技中」に更新する。
The difference is that a "suspended card-in" packet is used instead of a "card-in" packet as a transmission packet, and if the card number is different from the one before the interruption when the card is inserted, the card reader 800 immediately sends the card and that the P machine file FL2 is not updated on the management device 400 side. This is because the P machine file has already been updated when the interrupt switch was turned on. Note that the card file FLI updates the card status from "suspended" to "playing".

また、遊技状態表示ランプ123の表示状態を遊技中表
示(点灯)に変更する。
Further, the display state of the game state display lamp 123 is changed to a game in progress display (lit).

第8上図に、パチンコ機100において遊技終了スイッ
チ115が押された場合の遊技終了処理の手順を示す。
The upper diagram of FIG. 8 shows the procedure of the game end process when the game end switch 115 is pressed in the pachinko machine 100.

この場合の手順は第79図の中断スイッチオンのときの
処理手順と略同じである。
The procedure in this case is substantially the same as the processing procedure when the interruption switch is turned on in FIG. 79.

すなわち、パチンコ機100下部に設けられている終了
スイッチ115が押されると、ユニットコントローラ1
90がこれを検出してユニットメモリ550内のカード
テキストのカード状態を「遊技中」から「フリー」に書
き換えるとともに、ユニットメモリ550内のコマンド
レジスタCR1に終了スイッチがオンされたことを示す
コマンドを書き込む(ステップ55581)。すると、
データ伝送コントローラ551がこれを読み取って、カ
ードテキストを入れ、゛′終了スイッチ”パケットを形
成して低層ネットワーク510を介してNAU530へ
送信する(ステップS4581)。NAU530が、そ
のパケットを受は取ると、高層ネットワーク用のヘッド
を頭に付けてを管理装置400へ送る(ステップ835
81)、その後は、パチンコ機100の中断スイッチ1
15がオンされた場合の処理手順(第79図ステップ5
2561−52568参照)と同じ手順に従ってユニッ
ト制御装置180に” A CK ”が返送され(ステ
ップ52581〜S 2588)、カードリーダ800
からカードが排出され(ステップ55583)、ユニッ
トメモリ550内のパチンコ機に関する稼動情報が「フ
リー状態(客待ち状態)」に変更される。また、玉数表
示器111および金額表示器112の表示がrOJにク
リアされるとともに、購入スイッチ内の購入可能を示す
ランプ121や状態表示ランプ123が消灯される。
That is, when the end switch 115 provided at the bottom of the pachinko machine 100 is pressed, the unit controller 1
90 detects this and rewrites the card status of the card text in the unit memory 550 from "playing" to "free", and also sends a command to the command register CR1 in the unit memory 550 indicating that the end switch has been turned on. Write (step 55581). Then,
The data transmission controller 551 reads this, inserts the card text, forms an "end switch" packet, and sends it to the NAU 530 via the lower layer network 510 (step S4581). , attaching a head for the high-rise network to the management device 400 (step 835).
81), and then press the interrupt switch 1 of the pachinko machine 100.
Processing procedure when 15 is turned on (Fig. 79 Step 5
2561-52568)), "ACK" is returned to the unit control device 180 (steps 52581 to S2588), and the card reader 800
The card is ejected from the machine (step 55583), and the operation information regarding the pachinko machine in the unit memory 550 is changed to "free state (customer waiting state)". Further, the displays on the number of balls display 111 and the amount display 112 are cleared to rOJ, and the lamp 121 indicating purchase possible and the status display lamp 123 in the purchase switch are turned off.

第82図に、遊技中に持玉数と金額が共にゼロになった
場合(帰零と称する)の処理の手順が示されている。
FIG. 82 shows the processing procedure when both the number of balls held and the amount of money become zero during a game (referred to as return to zero).

パチンコ機のユニットコントローラ190が帰零の発生
を検出すると、打球の発射を停止させ。
When the unit controller 190 of the pachinko machine detects the occurrence of a return to zero, it stops firing the ball.

ユニットメモリ550内のカード状態を「帰零」に変更
し、コマンドレジスタCRIに帰零発生コマンドを書き
込む(ステップ55591)。すると、データ伝送コン
トローラ551が″帰零″パケットを形成してユニット
メモリの送信データエリア内のカードテキストを入れて
NAU530へ送信する(ステップ54591)、NA
U530がこの“帰零″パケットを受信すると、高層用
パケットヘッドを付加して管理装置400へ送る(ステ
ップ5359L)。管理装置では、″帰零″パケットを
受信するとパケット内のカード番号から発行通し番号を
逆算し、その発行通し番号を使って主記憶袋fiM  
MEM内のファイルより当該カードのファイルを読み込
んで、カード状態と所在端末台番号をチエツクしてカー
ト状態が「遊技中」以外や台番号が不一致のときはNA
Kを送信する(ステップ52591−52595)。
The card status in the unit memory 550 is changed to "return to zero" and a return to zero generation command is written to the command register CRI (step 55591). Then, the data transmission controller 551 forms a "return to zero" packet, includes the card text in the transmission data area of the unit memory, and transmits it to the NAU 530 (step 54591).
When the U 530 receives this "return to zero" packet, it adds a high-level packet head and sends it to the management device 400 (step 5359L). When the management device receives a "return to zero" packet, it calculates the issuing serial number from the card number in the packet and uses the issuing serial number to store the main memory bag fiM.
Read the file of the card from the file in MEM, check the card status and location terminal number, and if the cart status is other than "playing" or the machine number does not match, NA
Send K (steps 52591-52595).

一方、カード状態が正しくかつ台番号が一致したときは
、カードファイル内の玉数、金額、カード状態(遊技中
→帰零)、所在端末台番号を更新し、カート来歴データ
を書き込んだ後、ACKを送信する(ステップ5259
6〜S25’98)。
On the other hand, if the card status is correct and the machine numbers match, update the number of balls, amount, card status (playing → return to zero), location terminal machine number in the card file, and write the cart history data. Send ACK (step 5259
6-S25'98).

ACKを受信したNAU530は高層用パケットヘッド
を外して指定されたユニットへ送信する(ステップs 
a 593)。ユニットのデータ伝送コントローラ55
1が’ACK”パケットを受信すると、ユニットメモリ
550のコマンドレジスタCR2にACKの受信コマン
ドを、また受信データエリアにカードテキストを書き込
む(ステップ54593)。すると、ユニットコントロ
ーラ190がACK受信を確認してカードリーダ800
に対して、帰零穴の穴開けとカードの排出を指令した後
、送信データエリアSDAの稼働情報を「フリー」に変
更し、また持玉数、金額表示器の表示をゼロにするとと
もに、購入ランプ121や遊技状態表示ランプ123や
アナログ表示器163の状態表示を「フリー」に示す表
示に変更する(ステップ55593,55594)。
Upon receiving the ACK, the NAU 530 removes the high-layer packet head and sends it to the designated unit (step s
a 593). Unit data transmission controller 55
1 receives the 'ACK' packet, it writes the ACK reception command to the command register CR2 of the unit memory 550 and the card text to the reception data area (step 54593).Then, the unit controller 190 confirms the ACK reception and writes the ACK reception command to the command register CR2 of the unit memory 550 and the card text to the reception data area. card reader 800
After instructing the player to drill the return hole and eject the card, the operation information in the transmission data area SDA is changed to "free", and the number of balls held and the amount displayed on the amount display are set to zero, The status display of the purchase lamp 121, the game status display lamp 123, and the analog display 163 is changed to a display indicating "free" (steps 55593, 55594).

第83図に、遊技中にユニットコントローラエ90が、
初期設定された打止モードに従って賞球排出数等が打止
数に達し、打止状態になったと判定した場合の処理の手
順を示す。この場合の処理は第82図の帰零処理の手順
とほぼ同じである。
FIG. 83 shows that during the game, the unit controller 90
The processing procedure will be described when it is determined that the number of prize balls ejected, etc. reaches the number of hits according to the initially set stopping mode, and the game is in a stopping state. The processing in this case is almost the same as the zero return processing procedure shown in FIG.

すなわち、処理要因(打止)がパチンコ機100側で発
生したのに起因してそれを管理装置400へ知らせる処
理ステップ35601〜82601は、第82図の処理
ステップ55591〜52591に対応し、管理装置に
おけるファイル更新および応答” A CK ”の送信
処理ステップ52602〜82609は、第82図の処
理ステップ52592〜52598に対応する。異なる
のは、打止が発生したことをユニットコントローラ↓9
0が判定した場合に、ユニットメモリ550内に「打止
」なるコマンドを入れカード状態を打止に変更する(ス
テップ85601)とともに、送信には″打止”パケッ
トを使用する(ステップ84601)点と、ACK確認
後にユニットメモリの送信データエリアSDA内の稼動
情報を「フリー」でなく「打止」にし、また購入可ラン
プ121−を消灯して打止数、金額の表示をゼロにクリ
アするとともに状態表示ランプ123やアナログ表示器
163を打止表示(点滅)させる点にある。
That is, processing steps 35601 to 82601 for notifying the management device 400 that a processing factor (termination) has occurred on the pachinko machine 100 side correspond to processing steps 55591 to 52591 in FIG. Processing steps 52602 to 82609 for updating the file and transmitting the response "ACK" correspond to processing steps 52592 to 52598 in FIG. 82. The difference is that the unit controller ↓9 indicates that a stop has occurred.
If it is determined to be 0, a "stop" command is entered in the unit memory 550 and the card status is changed to "stop" (step 85601), and a "stop" packet is used for transmission (step 84601). Then, after confirming the ACK, change the operation information in the transmission data area SDA of the unit memory to "Cancelled" instead of "Free", turn off the purchase ready lamp 121-, and clear the display of the number of cancellations and the amount to zero. At the same time, the status display lamp 123 and the analog display 163 are displayed as a stop indication (flashing).

その他、カードリーダ800ではカード排出後、次のカ
ードの受付けを不能にするとともに、管理装置では、カ
ードファイルの更新とともにパチンコ機ファイル内の稼
働情報を「打止Jに変更(ステップ52606) 、C
RT表示装置411に打止台の割込みメソセージを表示
させ、かつプリンタ408によって打止情報を印字させ
る(ステップ32608)。また、カードファイルFL
Iの更新と同様P機ファイルFL2にもパチンコ機の状
態が「打止」に変わったことを登録する(ステップ52
607)。
In addition, the card reader 800 disables the acceptance of the next card after ejecting the card, and the management device updates the card file and changes the operation information in the pachinko machine file to "Stop J" (step 52606), C
The RT display device 411 displays the interrupt message of the stop table, and the printer 408 prints the stop information (step 32608). Also, card file FL
Similar to the update of I, the fact that the status of the pachinko machine has changed to "discontinued" is registered in the P machine file FL2 (step 52
607).

第84図に、精算機300におけるカートの精算処理の
手順を示す。精算機300のカートリーダ800にカー
トCDが挿入されると、カートの磁気面に記録されてい
る情報を読み取って、年月日と識別コードを確認し、一
致すればカード番号をユニットコントローラ390に転
送する。ユニットコントローラ390は、ユニットメモ
リ550内のコマンドレジスタCRIに「カート精算J
なるメツセージを、また送信データエリアにカード番号
を書き込む(ステップ55611)、すると、データ伝
送コントローラ551がそれを読み取って、パカード精
算要求″パケットを形成し、カード番号を入れて低層ネ
ットワーク510上に伝送する(ステップ54611)
。そして、NAU530がそれを受信して高層ネットワ
ーク用ヘッドをパケットの頭に付けて管理袋[400へ
送信する(ステップ53611)。管理装置400がそ
のパケットを受信すると、カード番号から発行通し番号
(n)を逆算し、それに基づいてカードファイルFLI
を検索し、対応するカードテキスト(カード情報)を読
み出して、カード状態を確認する(ステップ52611
〜52614)。ここで、カード状態が適切でない場合
、例えば既に精算済であるとか、帰零(持玉と金額がと
もにゼロ)状態である場合には、精算拒否を示す“NA
K”パケットを形成して送信する(ステップ82615
)。すると、NAU530がそれを受信して高層ネット
ワーク用ヘッドを外し、要求元の精算機300のユニッ
ト制御装置350へ伝送する(ステップ83612)。
FIG. 84 shows the procedure of cart payment processing in the payment machine 300. When a cart CD is inserted into the cart reader 800 of the payment machine 300, it reads the information recorded on the magnetic surface of the cart, checks the date and identification code, and if they match, sends the card number to the unit controller 390. Forward. The unit controller 390 writes “Cart checkout J” in the command register CRI in the unit memory 550.
55611), the data transmission controller 551 reads it, forms a Packard payment request packet, and transmits the card number to the lower layer network 510. (Step 54611)
. Then, the NAU 530 receives it, attaches the high-level network head to the head of the packet, and sends it to the management bag [400] (step 53611). When the management device 400 receives the packet, it calculates the issued serial number (n) from the card number and, based on that, stores the card file FLI.
, read the corresponding card text (card information), and check the card status (step 52611
~52614). Here, if the card status is not appropriate, for example, if the payment has already been made or if the card has returned to zero (both the balance and the amount are zero), the "NA" indicating the refusal of payment will be displayed.
K” packet is formed and transmitted (step 82615)
). Then, the NAU 530 receives it, removes the high-level network head, and transmits it to the unit controller 350 of the requesting payment machine 300 (step 83612).

そして、データ伝送コントローラ551がそれを受信し
て、ユニットメモリ550内のコマンドレジスタCR2
に「応答拒否」を書き込み、それをユニットコントロー
ラ390が読み取って確認し、カードリーダ800から
カードを排出させる(ステップ54612,55612
)。
Then, the data transmission controller 551 receives the command register CR2 in the unit memory 550.
, the unit controller 390 reads and confirms it, and ejects the card from the card reader 800 (steps 54612 and 55612).
).

一方、管理装置400が上記処理ステップ82614に
おいて、カード状態が適切であると判定した場合には、
応答信号たる” A CK ”パケットを形成し、それ
にカードファイルより読み出した精算データ(持玉数お
よび未使用金額)やカード来歴、精算受付時刻等を入れ
て送信し、NAU530がそのパケットから高層ネット
ワーク用ヘッドを除去してユニット制御装置350へ伝
送する(ステップ52616.53613)。すると、
データ伝送コントローラ551がそれを受信してユニッ
トメモリ550内のコマンドレジスタCR2にACKを
、また受信データエリアRDAに精算データ等受信した
データを書き込み(ステップ54613)、ユニットコ
ントローラ390がそれを読み取って肯定応答があった
ことを確認して、玉数表示器303に持玉(獲得玉を含
む)数を、また金額表示器304に未使用金額をそれぞ
れ表示させるとともに、プリンタ330によって精算デ
ータ等の明細を印字したレシート(景品引換券)を発行
するとともに、未使用金があるときは紙幣払出器321
および硬貨払出器325より未使用残金を排出する(ス
テップ55614〜55616)。
On the other hand, if the management device 400 determines in the above processing step 82614 that the card status is appropriate,
Forms an "ACK" packet as a response signal, and sends it with payment data (number of balls held and unused amount) read from the card file, card history, payment acceptance time, etc., and NAU 530 transmits the packet from the packet to the high-rise network. The head is removed and transmitted to the unit controller 350 (steps 52616 and 53613). Then,
The data transmission controller 551 receives it and writes ACK to the command register CR2 in the unit memory 550, and writes the received data such as payment data to the reception data area RDA (step 54613), and the unit controller 390 reads it and confirms it. After confirming that there is a response, the number of balls (including acquired balls) is displayed on the number of balls display 303 and the unused amount is displayed on the amount display 304, and details such as payment data are displayed on the printer 330. In addition to issuing a receipt (prize exchange ticket) with a printed amount, if there is unused money, the bill dispenser 321
And the unused balance is discharged from the coin dispenser 325 (steps 55614 to 55616).

その後、ユニットコントローラ390はカードリーダ8
00に保持されているカードにパンチ穴を穿孔して精算
済カードとして排出させ、ユニットメモリ550のコマ
ンドレジスタCRIに「精算終了」を示すコマンドを、
また送信データエリアにカードテキストを書き込む(ス
テップ55617)。そして、データ伝送コントローラ
551がこれを読み出して“精算終了”パケットを形成
して送信し、NAU530がそのパケットの頭に高層ネ
ットワーク用ヘッドを付けて管理装置400に送る(ス
テップ54614.53614)。
After that, the unit controller 390 reads the card reader 8
A punch hole is punched in the card held in 00 to eject it as a cleared card, and a command indicating "settlement completed" is sent to the command register CRI of the unit memory 550.
Also, the card text is written in the transmission data area (step 55617). Then, the data transmission controller 551 reads this, forms a "payment completion" packet, and transmits it, and the NAU 530 adds a high-rise network head to the beginning of the packet and sends it to the management device 400 (steps 54614 and 53614).

゛′精算終了”パケットを受信した管理装置400は、
パケット内のカード番号から再び発行通し番号nを逆算
し、それに基づいてカードファイルFLI内を検索して
カードデータを読み込んでカード状態をチエツクしてカ
ード状態が「中断中」のときには第85図に示すパチン
コ機1. OOの中断終了処理を実行してから、カード
状態を「精算済」に変更し、かつカード来歴を更新した
後、’ A CK ”パケットをNAU530に対して
送信する(ステップ52618〜5262↓)、。
The management device 400 that received the “Payment Completed” packet,
The issuing serial number n is calculated backwards again from the card number in the packet, and based on that, the card file FLI is searched, the card data is read, and the card status is checked. If the card status is "suspended", it is shown in Fig. 85. Pachinko machine 1. After executing the OO interruption end process, changing the card status to "paid" and updating the card history, transmitting an 'ACK' packet to the NAU 530 (steps 52618 to 5262↓), .

NAUが“A CK ”を受信すると高層用パケットヘ
ッドを外して精算機のユニット制御装置350へ送信し
、伝送コントローラ551がこれを受信するとユニット
メモリ550を介してユニットコントローラ3’90へ
知らせ、ユニットコントローラは“ACK”受信を確認
すると次のカードの受付けを可能にする(ステップ53
615〜55618)。
When the NAU receives "ACK", it removes the high-rise packet head and sends it to the unit controller 350 of the payment machine. When the transmission controller 551 receives this, it notifies the unit controller 3'90 via the unit memory 550, and sends it to the unit controller 3'90 via the unit memory 550. When the controller confirms the reception of “ACK”, it enables acceptance of the next card (step 53).
615-55618).

上記のように、精算機300からのカード精算要求に応
じて管理袋[400より精算データを送り、精算が終了
した時点で再び精算終了を管理装置へ知らせるようにし
、その時点で初めて精算が処理したものを取扱っている
ので、例え精算機300における精算の途中で停電等の
事故が発生しても精算データはカードファイルのFLI
中に保全されており、停電復帰複速やかに精算処理を続
行できるようになる。これによって遊技客に対し不利益
を与えるおそれがなく、システムに対する信頼性が向上
される。しかも、上記実施例では精算レシート(景品引
換券)に来歴データをも印字させるようにしているため
、印字された精算データ(持玉数)の信憑性が高くなり
、システムへの信頼感が高められるようになる。
As mentioned above, in response to a card payment request from the payment machine 300, payment data is sent from the management bag [400], and when the payment is completed, the management device is again notified of the completion of payment, and only at that point is the payment processed. Even if an accident such as a power outage occurs during the payment process at the payment machine 300, the payment data will be saved to the FLI card file.
The system is maintained internally, allowing payment processing to continue quickly after a power outage returns. Thereby, there is no risk of any disadvantage to the players, and the reliability of the system is improved. Moreover, in the above embodiment, history data is also printed on the payment receipt (prize exchange ticket), so the credibility of the printed payment data (number of balls held) is increased, increasing confidence in the system. You will be able to do it.

第85図には、上述したカード精算処理に付随する中断
解除処理手順を示す。
FIG. 85 shows an interruption cancellation processing procedure accompanying the above-described card payment processing.

すなわち、この実施例のシステムでは、前述した中断処
理(第79図参照)によって遊技が中断され、他のカー
ドの受付けを拒否している中断中のパチンコ機100が
、その中断機から開放されたカードを精算機300に挿
入して精算処理を行なわせると、管理装置400からの
指令によって中断が解除されるようになっている。
That is, in the system of this embodiment, the game is interrupted by the above-mentioned interruption process (see FIG. 79), and the interrupted pachinko machine 100 that is refusing to accept other cards is released from the interruption machine. When the card is inserted into the payment machine 300 and the payment process is performed, the suspension is canceled by a command from the management device 400.

中断中のカードが精算機に挿入されて、精算機300と
管理装置400との間のデータ伝送シこよって精算処理
(第84図参照)が実行され、その終了を管理装置40
0が確認すると、カード情報に基づいて対応する中断中
のパチンコ機100−こ向けて″中断終了″パケットを
送信する(ステップ52622)。このパケットは一旦
NAU530によって受信され、高層ネットワーク用ヘ
ッドが外されてから対応するパチンコ機100のユニッ
ト制御装置180に対して送信される(ステップ536
21)。このパケットをデータ伝送コントローラ551
が受信すると、ユニットメモリ550内のコマンドレジ
スタCR2に「中断終了」なるコマンドが書き込まれ、
これをユニットコントローラ190が読み取って確認す
ると、カードリーダ800によるカードの受付けが可能
にされるとともに、ユニットメモリ550内のノ嘴チン
コ機に関する稼動情報を「中断中Jから「フリー状態」
に変更する(ステップ54621,55621.556
22)。またパチンコ機前面の玉数表示器↓11と金額
表示器112の表示を「0」しこクリアするとともに、
カードの挿入可否を示すランプ168を点滅させかつ、
アナログ表示器163の表示を客待ち状態(スクロール
)とする(ステップ55623〜S 5625)。
The suspended card is inserted into the payment machine, data is transmitted between the payment machine 300 and the management device 400, and the payment process (see FIG. 84) is executed.
0 is confirmed, a "suspension end" packet is sent to the corresponding pachinko machine 100 that is currently suspended based on the card information (step 52622). This packet is once received by the NAU 530, and after the high-level network head is removed, it is sent to the unit controller 180 of the corresponding pachinko machine 100 (step 536).
21). This packet is sent to the data transmission controller 551.
When received, a command “Suspension End” is written to the command register CR2 in the unit memory 550,
When the unit controller 190 reads and confirms this, the card reader 800 is enabled to accept the card, and the operating information regarding the nozuki dick machine in the unit memory 550 is changed from "suspended J" to "free state".
(Steps 54621, 55621.556
22). In addition, the number of balls display ↓11 and amount display 112 on the front of the pachinko machine are cleared to "0",
Flashing a lamp 168 indicating whether or not the card can be inserted, and
The display on the analog display 163 is set to a customer waiting state (scrolling) (steps 55623 to S5625).

一方NAU530は、管理装置400からの″中断終了
″パケットをユニット制御装置180に送信した後、ネ
ットワークコントローラからノ)−ドACKを受信する
と、管理装置400へ応答信号たる’ A CK ”パ
ケットを送信し、これを管理装置400が受信すると、
P機ファイルFLZ内の稼動情報を「中断中」から「フ
リー状態」に変更する(ステップ53622〜5262
4)。
On the other hand, when the NAU 530 receives a node ACK from the network controller after transmitting an "end of suspension" packet from the management device 400 to the unit control device 180, it transmits an "ACK" packet as a response signal to the management device 400. When the management device 400 receives this,
Change the operation information in the P machine file FLZ from "suspended" to "free state" (steps 53622 to 5262
4).

第86図に、管理装置400のコンソール4工2からの
打止解除指令に基づく打止解除処理の手順を示す。
FIG. 86 shows a procedure for cancellation cancellation processing based on a cancellation cancellation command from the console 4 of the management device 400.

コンソール412上の打止解除スイッチ433がオンさ
れると、ローカル処理装置413が中央処理装置CPU
へ打止台データ要求コマンドを送る(ステップ5163
1)。すると、中央処理装置がP機ファイルFLIを検
索して打止中のパチンコ機の台番号を送って、ローカル
処理装置がCR7表示装置411の画面上に打止台のリ
ストを表示させる(ステップ52631,52632゜
51632)。それを見ながらオペレータが打止を解除
したいパチンコ機の台番号を、コンソール4(2上のテ
ンキー425を使って入力すると、ローカル処理装置が
打止解除コマンドを中央処理装置へ送る(ステップ51
633)。すると、中央処理装置CPUがその指令を受
は取って、全台指定か否か判定して管理装置の通信制御
装置SCCにより、台番号とともに通し番号やチャネル
番号を入れた″打止解除″パケットを全台または指定さ
れたパチンコ機へ送信する(ステップ52633)。そ
して、指定されたNAU530がそのパケットを受信す
ると高層ネットワーク用のヘッド部を除去して低層ネッ
トワーク510上へ送り出し、そのパケットを受は取っ
たユニット制御装置180のデータ伝送コントローラ5
51がユニットメモリ550内のコマンドレジスタCR
2に「打止解除」コマンドを書き込む(ステップ526
34.53631.54631)。そして、これをパチ
ンコ機のユニットコントローラ190が読み取って打止
解除指令が入ったことを確認すると、ユニットメモリの
送信データエリア内のパチンコ機稼動情報を「フリー」
に変更するとともに、送信データエリアにある打止演算
レジスタをゼロにクリアしてから、かつアナログ表示器
163とカード挿入ランプ168を客待ち表示に変更さ
せ、カードリーダ800に対してはカードの受付けを許
可するように指令を与える(ステップ55631〜55
634)。
When the cancellation release switch 433 on the console 412 is turned on, the local processing unit 413 is activated by the central processing unit CPU.
Send a stop table data request command to (step 5163
1). Then, the central processing unit searches the P machine file FLI and sends the machine number of the pachinko machine that is discontinued, and the local processing unit displays a list of discontinued machines on the screen of the CR7 display device 411 (step 52631). , 52632°51632). While looking at this, the operator inputs the machine number of the pachinko machine he wants to cancel the suspension using the numeric keypad 425 on the console 4 (2), and the local processing device sends a cancellation cancellation command to the central processing unit (step 51).
633). Then, the central processing unit CPU receives the command, determines whether or not all units are specified, and sends a "cancellation cancellation" packet containing the serial number and channel number along with the unit number by the communication control unit SCC of the management device. The information is sent to all pachinko machines or to a designated pachinko machine (step 52633). When the designated NAU 530 receives the packet, it removes the head section for the high-level network and sends it onto the low-level network 510, and the data transmission controller 5 of the unit control device 180 that receives and receives the packet.
51 is a command register CR in the unit memory 550
Write a “cancellation cancellation” command to 2 (step 526
34.53631.54631). When the unit controller 190 of the pachinko machine reads this and confirms that the cancellation cancellation command has been entered, the pachinko machine operating information in the transmission data area of the unit memory is set to "free".
At the same time, after clearing the stop calculation register in the transmission data area to zero, the analog display 163 and card insertion lamp 168 are changed to the customer waiting display, and the card reader 800 is instructed to accept the card. (steps 55631 to 55)
634).

一方、″打止解除″パケットを受信したNAU530は
、ユニット制御装[180のネットワークコントローラ
からのハードACKを受信すると応答パケット” A 
CK ”を管理装置400に対して送信しくステップ5
3632,53633)、管理装置がこれを受信すると
、P機ファイルFL2内の稼動情報を「フリー状態」に
変更してから結果をローカル処理装置へ知らせる(ステ
ップ52635〜52637)、すると、ローカル処理
装置413は、CRT表示画面の打止台データの末尾に
ある状態表示「打止」を示す゛打止″から「フリー」を
示す空”に変更する(ステップ51634)。
On the other hand, when the NAU 530 receives the "cancellation cancellation" packet, it sends a response packet "A" upon receiving a hard ACK from the network controller of the unit controller [180].
CK” to the management device 400. Step 5
3632, 53633), when the management device receives this, it changes the operation information in the P machine file FL2 to "free state" and notifies the result to the local processing device (steps 52635 to 52637), then the local processing device Step 413 changes the status display at the end of the stop table data on the CRT display screen from ``stop'' indicating ``stop'' to ``blank'' indicating ``free'' (step 51634).

第87図に、管理装置400の側から端末機を強制終了
させる場合の処理手順が示されている。
FIG. 87 shows a processing procedure when the terminal is forcibly terminated from the management device 400 side.

遊技店の営業は閉店によって終了するが、従来は店内放
送および係員により営業終了通知が行なわれていた。し
かるに、終了間際になって玉を購入する遊技客がいたり
、出玉の良好な状態にあるパチンコ機100にいる遊技
客はなかなか遊技を止めようとせず、定時に営業を終了
させることが困難であった。
Business operations at game parlors end when they close, but conventionally, notices of the closure of the business have been made through in-store announcements and staff. However, there are players who purchase balls just before the end of the game, and players who are using the pachinko machine 100 that is in good condition to play the balls are reluctant to stop playing, making it difficult to end the game on time. there were.

この実施例のシステムではコンソール412上の強制終
了スイッチ434を繰作し、種別選択を行なうと端末の
種別ごとに動作を停止させることができるようになって
おり、先ず閉店の30分程度前にカード発行機200に
よるカードの発行を停止させ、また営業終了時刻には全
パチンコ機の動作を停止させ、最後の遊技客が精算終了
してがら精算機300の動作を停止させることで営業終
了を円滑に行なうことができる。
In the system of this embodiment, operation can be stopped for each type of terminal by repeatedly operating the force termination switch 434 on the console 412 and selecting the type. The card issuing machine 200 stops issuing cards, all pachinko machines stop operating at the end of business hours, and the payment machine 300 stops operating when the last player has finished paying, thereby ending the business. It can be done smoothly.

この場合、強制終了スイッチ434がオンされると、ロ
ーカル処理装置413がCR7表示装置411の画面上
に強制終了メニューを表示させる(ステップS 164
1)。このメニューに従って終了させる端末機の種別を
テンキー425により選択すると強制終了台番号の入力
を促す表示がなされる(ステップ51642)。この実
施例では、各端末機の種別(パチンコ機、カード発行機
、精算機)ごとに電機同時に終了させることも特定の端
末機1台のみを終了させることもできるようになってお
り、ここで種別ごとの一括終了を指定する「0」または
台番号をコンソールより入力すると、強制終了コマンド
が中央処理袋@CPUへ送信される(ステップ5164
3)。
In this case, when the forced termination switch 434 is turned on, the local processing device 413 displays a forced termination menu on the screen of the CR7 display device 411 (step S164).
1). When the type of terminal to be terminated is selected using the numeric keypad 425 according to this menu, a display prompting the input of the forced termination machine number is displayed (step 51642). In this embodiment, it is possible to terminate the electronics simultaneously for each type of terminal machine (pachinko machine, card issuing machine, payment machine), or to terminate only one specific terminal machine. When "0" or the machine number that specifies batch termination for each type is input from the console, a forced termination command is sent to the central processing bag @CPU (step 5164).
3).

中央処理装置CPUがこのコマンドを受信すると、先ず
全台指定か否か判定し、全台指定のときは、パチンコ機
ファイルFL2を順次読み込んで稼働情報をチエツクし
て「遊技中」または「中断中」になっているものについ
てはその遊技中または中断中のカートの番号を読み出し
て発行通し番号を逆算する(ステップ52641〜52
644)。それから、その発行通し番号を使ってカード
ファイル内の玉数、金額をパチンコ機ファイル内のデー
タに書き換えかつカード状態を「フリー」に変更する(
ステップ52645)。これを全台について実行してか
らパ強制終了″パケットをNAU530へ送信する(ス
テップ52646)。
When the central processing unit CPU receives this command, it first determines whether or not all machines are specified, and if all machines are specified, it sequentially reads the pachinko machine file FL2, checks the operation information, and indicates whether it is "playing" or "suspended." ”, the number of the cart in which the game is being played or is being interrupted is read out, and the issued serial number is calculated backwards (steps 52641 to 52).
644). Then, using that issuing serial number, rewrite the number of balls and amount in the card file to the data in the pachinko machine file, and change the card status to "free" (
Step 52645). After this is executed for all units, a ``Parcel Forced Termination'' packet is sent to the NAU 530 (step 52646).

NAU530がこのパケットを受信すると、高層ネット
ワーク用ヘッドを外して全パチン」機に対して、″強制
終了″パケットを送信し、ネットワークコントローラか
らハードACKを受信すると管理装置400に対しては
応答信号” A CK ”を返す(ステップ53641
..53642)。管理装置がACKを受信すると、結
果をローカル処理装置へ送信する(ステップ52647
,52648)。すると、ローカル処理装置はCRT表
示画面への表示データの状態表示を「フリー」を示す″
空″から強制終了状態を示す″強″に変更する(ステッ
プ51644)。
When the NAU 530 receives this packet, it removes the high-level network head and sends a "forced termination" packet to all machines, and when it receives a hard ACK from the network controller, it sends a response signal to the management device 400. ACK” (step 53641
.. .. 53642). When the management device receives the ACK, it sends the result to the local processing device (step 52647).
, 52648). Then, the local processing device displays the status of the display data on the CRT display screen to indicate "free".
The status is changed from "empty" to "strong" indicating a forced termination state (step 51644).

一方、NAU530からの″強制終了”パケットを受は
取った各端末機のユニット制御装置180.280,3
50においては、データ伝送コントローラ551がユニ
ットメモリ550内のコマンドレジスタCR2に強制終
了要求コマンドを書き込み、ユニットコントローラ19
0がこれを読み取ると、先ずユニットメモリ内の送信デ
ータエリアのカードテキストをクリアして、稼働情報を
強制終了に変更する(ステップ54641,55641
)。それから、センサの検出および発射モータを停止さ
せ、かつ全ランプを消灯して遊技制御を停止した後、カ
ードリーダ800内のカードの排出を指令し、以後カー
ドの受付けを不能にする(ステップ85642,556
43)。
On the other hand, the unit control device 180.280,3 of each terminal that received the "forced termination" packet from the NAU530
50, the data transmission controller 551 writes a forced termination request command to the command register CR2 in the unit memory 550, and the unit controller 19
When 0 reads this, it first clears the card text in the transmission data area in the unit memory and changes the operation information to forced termination (steps 54641, 55641).
). Then, after stopping the detection of the sensor and the firing motor, and turning off all the lamps to stop the game control, a command is given to eject the card from the card reader 800, and it becomes impossible to accept cards from now on (step 85642, 556
43).

なお、実施例のシステムではテンキー425を使って全
台を指定せず、特定のパチンコ機の台番号を入力して強
制終了をかけることが可能であり、その場合、中央処理
装置はステップ52641でノオ(特定台指定)と判定
し、直ちにステップ52646へ移行して、指定された
パチンコ機へ″強制終了″パケットを送信する(破線参
照)。
In addition, in the system of the embodiment, it is possible to enter the machine number of a specific pachinko machine without specifying all machines using the numeric keypad 425 to forcefully terminate the machine. In this case, the central processing unit It is determined that the pachinko machine has failed (specific machine specified), and the process immediately moves to step 52646, where it sends a "forced termination" packet to the designated pachinko machine (see broken line).

そして、NAU530からACKが戻ってくると、ステ
ップ52647から52642へ移行して。
Then, when an ACK is returned from the NAU 530, the process moves from step 52647 to step 52642.

ここで初めて当該パチンコ機ファイルを読み込んで稼働
情報をチエツクし、遊技中または中断中のときにのみカ
ードファイルを読み込んで更新し、ステップ52645
から52648ヘジヤンプして結果をローカル処理装置
413へ送信する。
At this point, the relevant pachinko machine file is read for the first time, the operation information is checked, and the card file is read and updated only when the game is in progress or interrupted, and step 52645
52648 and sends the result to the local processing device 413.

第88図には発行機または精算機を強制終了させる場合
の手順を示す。
FIG. 88 shows the procedure for forcibly terminating the issuing machine or the payment machine.

この場合、強制終了スイッチ434がオンされると、ロ
ーカル処理装置413がCRT表示装置411の画面上
に強制終了メニューを表示させる(ステップ51651
)。このメニューに従って終了させる端末機の種別をテ
ンキー425により選択すると強制終了台番号の入力を
促す表示がなされる(ステップ51652)。この実施
例では。
In this case, when the forced termination switch 434 is turned on, the local processing device 413 displays a forced termination menu on the screen of the CRT display device 411 (step 51651).
). When the type of terminal to be terminated is selected using the numeric keypad 425 according to this menu, a display prompting the input of the forced termination machine number is displayed (step 51652). In this example.

各端末機の種別(パチンコ機、カード発行機、精算機)
ごとに全種同時に終了させることも特定の端末機1台の
みを終了させることもできるようになっており、ここで
種別ごとの一括終了を指定する「O」または台番号をコ
ンソールより入力すると、強制終了コマンドが中央処理
袋WCPUへ送信される(ステップ81653)。
Type of each terminal machine (pachinko machine, card issuing machine, payment machine)
It is now possible to terminate all types of terminals at the same time or to terminate only one specific terminal, and if you enter "O" or the machine number from the console to specify batch termination for each type, A forced termination command is sent to the central processing unit WCPU (step 81653).

中央処理装置CPUがこのコマンドを受信すると、先ず
全台指定か否か判定し、全台指定のときは、全NAUへ
、また特定端末機が指定されたときは指定された発行機
または精算機へ“強制終了”パケットを送信する(ステ
ップ52651)。そして、NAU530からのACK
を受信すると、全台指定のときは直ちに、また特定台指
定のときは当該端末機のファイル内の稼働情報を「強制
終了」に変更してから結果をローカル処理装置へ送信す
る(ステップ52652,52653)。
When the central processing unit CPU receives this command, it first determines whether all devices are specified, and if all devices are specified, it is sent to all NAUs, and if a specific terminal is specified, it is sent to the specified issuing machine or payment machine. A "forced termination" packet is sent to (step 52651). And ACK from NAU530
When it receives this, it immediately changes the operation information in the file of the terminal to "forced termination" if all terminals are specified, or if a specific terminal is specified, and then sends the result to the local processing device (step 52652, 52653).

一方、″強制終了″パケットを受信したカード発行機2
00では、ユニットメモリ550内の稼働情報の稼働中
ビットをクリアする(ステップ55651)とともに、
発行中止ランプ222を点灯させる(S 5652)。
On the other hand, the card issuing machine 2 that received the "forced termination" packet
At 00, the operating bit of the operating information in the unit memory 550 is cleared (step 55651), and
The issue stop lamp 222 is turned on (S5652).

また、強制終了が精算機300に対するものの場合には
、精算機がパケットを受信すると、ユニットメモリ内の
稼働情報の稼働中ビットをクリアするとともに、精算中
止ランプ342を点灯させ、カートリーダ800による
カードの受付けを不能にする(ステップ55652,5
5653)。
In addition, if the forced termination is for the payment machine 300, when the payment machine receives the packet, it clears the in-operation bit of the operation information in the unit memory, turns on the payment cancellation lamp 342, and causes the card reader 800 to (steps 55652, 5)
5653).

さらに、この実施例の伝送システムでは、管理装置40
0の側から強制終了中の端末機の動作停止を解除させる
指令を伝送するためのパ強制終了解除″なるパケットも
用意されでており、それにも種別用のものと個別用の2
種類がある。
Furthermore, in the transmission system of this embodiment, the management device 40
There is also a packet called ``Parcel Forced Termination Cancellation'' which is used to transmit a command to cancel the suspension of operation of a terminal device that is being forcibly terminated from the 0 side.
There are different types.

第89図には、パチンコ機1発行機および精算機に共通
の強制終了解除処理の手順が示されている。
FIG. 89 shows the procedure of forced termination cancellation processing common to the pachinko machine 1 issuing machine and payment machine.

この場合の手順は第88図に示されている強制終了処理
の場合の手順とほぼ同一である。すなわち、管理装置4
00のCRT表示装置411を見ながらコンソール41
2から強制終了解除スイッチ435をオンすると、ロー
カル処理装置413が強制終了解除メニューを表示させ
る(ステップ81661)。この画面を見ながらテンキ
ーを使って、種別(パチンコ機、発行機または精算機)
を指定してやると、ローカル処理装置から中央処理装置
CPUへ強制終了中のユニットのデータを要求するコマ
ンドが送信される(ステップ31662)。
The procedure in this case is almost the same as the procedure for the forced termination process shown in FIG. That is, the management device 4
console 41 while looking at the CRT display device 411 of 00.
When the forced termination release switch 435 is turned on from 2, the local processing device 413 displays a forced termination cancellation menu (step 81661). While looking at this screen, use the numeric keypad to select the type (pachinko machine, issuing machine, or payment machine).
When specified, a command is sent from the local processing device to the central processing unit CPU to request data of the unit that is being forcibly terminated (step 31662).

すると、中央処理装置が各ユニットのファイルを検索し
て強制終了中のユニットを見つけそのデータを送信する
(ステップ52661,52662)。ローカル処理装
置はそのデータをCRT表示装置に表示させるので、そ
の画面を見ながらテンキーより全台指定(rOJ )ま
たは台番号を入力すると強制終了解除コマンドを送る(
ステップ51663,51664)。すると、中央処理
装置は先ず全台指定か否か判定し、全台指定のときは全
部のNAU530に、また特定台指定のときは指定され
たユニットに向かって″強制終了解除″パケットを送信
する(ステップ52663,52664)。その゛′強
制終了解除″パケットは、データ伝送コントローラ55
1からユニットコントローラ190,290,390に
伝えられ、管理装置には’ A CK ”パケットが送
信される(ステップ53661,54661,5366
2)、管理装置がACKを受信すると、全台指定のとき
は直ちに、また特定台指定のときは当該ユニットファイ
ル内の稼働情報を「フリー」 (パチンコ機)または「
稼働中」 (発行機、精算機)に変更(ステップ526
65,52666)してから、ステップ52667ヘジ
ヤンプして結果をローカル処理装置へ知らせる(ステッ
プ51665)。
Then, the central processing unit searches the files of each unit, finds the unit that is being forcibly terminated, and transmits its data (steps 52661, 52662). The local processing device displays the data on the CRT display device, so if you input all units designation (rOJ) or the unit number using the numeric keypad while looking at the screen, a forced termination cancellation command is sent (
Steps 51663, 51664). Then, the central processing unit first determines whether or not all units are specified, and if all units are specified, it sends a "forced termination cancellation" packet to all NAU530s, and if a specific unit is specified, it sends a "forced termination cancellation" packet to the specified unit. (Steps 52663, 52664). The “forced termination cancellation” packet is sent to the data transmission controller 55.
1 to the unit controllers 190, 290, 390, and an 'ACK' packet is sent to the management device (steps 53661, 54661, 5366).
2) When the management device receives an ACK, it immediately changes the operation information in the unit file to "free" (pachinko machines) or "
"In operation" (issuing machine, payment machine) (step 526)
65, 52666), then jumps to step 52667 and notifies the result to the local processing device (step 51665).

一方、″強制終了解除″パケットを受信したユニット側
ではユニットメモリ550内の稼働情報を「フリー」ま
たは「稼働中」に変更してから、パチンコ機においては
状態表示ランプ123を点灯させたり、アナログ表示器
163を客待ち表示に変更し、カードリーダ800によ
るカード受付けを可能にする(ステップ55661〜5
5663)。またカード発行機200においては、紙幣
識別器210による購入紙幣の受付けを可能にし、かつ
発行中ランプ241を点灯させる。さらに。
On the other hand, the unit that receives the "forced termination release" packet changes the operation information in the unit memory 550 to "free" or "in operation" and then lights up the status display lamp 123 in the pachinko machine, or The display 163 is changed to a customer waiting display, and the card reader 800 is enabled to accept the card (steps 55661 to 5).
5663). Further, in the card issuing machine 200, the bill validator 210 is enabled to accept purchased bills, and the issuing lamp 241 is turned on. moreover.

精算機300においては、精算中ランプ341を点灯さ
せカードリーダ800によるカードの受付けを可能にさ
せる。
In the payment machine 300, the payment in progress lamp 341 is turned on to enable the card reader 800 to accept the card.

第90図に、端末機の電源が誤って遮断されたり端末機
側でユニットコントローラ190,290.390によ
る制御が不能になった場合とか、低層ネットワークのケ
ーブルの切断等の異常が発生したときのユニットダウン
検出処理の手順が示されている。
Figure 90 shows what happens when an abnormality occurs, such as when the terminal's power is accidentally cut off, when the unit controller 190, 290, or 390 becomes unable to control the terminal, or when a low-layer network cable is disconnected. The procedure for unit down detection processing is shown.

ユニットがダウンすると、定時データが送られてこない
のでNAU530は3秒以内に定時データを受信しない
とタイムアウトを検出してユニットダウンと判定し、モ
ニタテーブル内の当該ユニットのモニタ情報■のトーク
ンバス異常ビットに“1”をセットする(ステップ53
671,53672)。その後、管理装置400の中央
処理装置CPUがタイマ割込みにより″定時データ要求
”パケットを送ってくる(ステップ52671)と、そ
れを受信してユニットテーブルを入れた“ACK”パケ
ットを送信する(ステップ53673゜53674)。
When a unit goes down, scheduled data is not sent, so if the NAU530 does not receive scheduled data within 3 seconds, it will detect a timeout and determine that the unit is down, and the monitor information for the unit in the monitor table will indicate a token bus error. Set the bit to “1” (step 53
671, 53672). Thereafter, when the central processing unit CPU of the management device 400 sends a "periodic data request" packet by a timer interrupt (step 52671), it receives it and transmits an "ACK" packet containing the unit table (step 53673).゜53674).

中央処理装置がその” A CK ”を受信すると先ず
パケット内の各ユニットごとのモニタ情報をチエツクし
て、異常があったときlよユニット異常発生とその異常
の内容をプIJンタ408によって印字させるとともに
、ローカル表示装置413ヘユニットの異常を割込み表
示させる指令を送る(ステップ52672〜52674
)。
When the central processing unit receives the "ACK", it first checks the monitor information for each unit in the packet, and if there is an abnormality, prints out the occurrence of the unit abnormality and the details of the abnormality using the printer 408. At the same time, a command is sent to the local display device 413 to interrupt display of the abnormality of the unit (steps 52672 to 52674).
).

すると、ローカル表示器W413は表示中の画面の所定
の位W(第19行目)にユニット異常を知らせる割込み
メツセージを表示させる(ステップ51671)。
Then, the local display W413 displays an interrupt message notifying the unit abnormality at a predetermined position W (line 19) on the currently displayed screen (step 51671).

一方、中央処理装置は、ユニット異常の表示を指令した
後、ユニットファイルの稼働情報をりIJアまたは「フ
リー」に変更し、カードファイル内のカード状態を「フ
リー」にし、P機ファイル内の玉数、金額をカートファ
イルにセーブして力1らパユニットチェック″パケット
を形成してNAU530へ送信する(ステップ5267
5,52676)。このパケットをNAU530力1受
信すると、高層用ヘッドを外して各ユニットへ″ユニッ
トチエツク”パケットを送信する(ステップ53675
)。パケットを送られた側のユニットがダウンもしくは
低層ネットワーク異常を起こしていると、ネットワーク
コントローラからのハートACKがNAU530へ戻っ
てこないので、NAU530はハードACKの有無に応
じて” A CK”または” N A K ”パケット
を管理装置へ送信する(ステップ53676.5367
7)。
On the other hand, after issuing a command to display a unit abnormality, the central processing unit changes the operation information in the unit file to RIJA or "free", changes the card status in the card file to "free", and changes the operation information in the unit file to "free", and changes the card status in the card file to "free". Save the number of balls and amount in the cart file, form a ``Purity 1 Par Unit Check'' packet, and send it to the NAU 530 (Step 5267
5,52676). When the NAU 530 receives this packet, it removes the high-rise head and sends a "unit check" packet to each unit (step 53675).
). If the unit to which the packet was sent is down or a low-layer network error occurs, the heart ACK from the network controller will not be returned to the NAU 530, so the NAU 530 will respond with "A CK" or "N" depending on the presence or absence of the hard ACK. A K” packet is sent to the management device (steps 53676 and 5367)
7).

第91図にはNAU530との間の通信が途絶えたユニ
ットもしくは低層ネットワークが回復した場合における
ユニット復旧処理の手順を示す。
FIG. 91 shows a procedure for unit recovery processing when a unit or a low-layer network whose communication with the NAU 530 is interrupted is recovered.

第90図のユニットダウン検出処理のステップ5267
6で定期的に″ユニットチエツク″パケットを送信して
いるうちに、ユニットの電源が投入されたり低層ネット
ワークが接続されたりしてユニットが回復し、ステップ
52677でNAUからのACK受信を確認すると中央
処理装置は当該ユニットのファイルを読み出してダウン
直前のユニットの稼働データを入れた゛′ユニット復旧
データ”パケットをNAU530へ送信する(ステップ
52681,52682)。
Step 5267 of the unit down detection process in FIG.
While periodically sending "Unit Check" packets in step 52677, the unit recovers as the power is turned on or the low-layer network is connected, and when it confirms the reception of ACK from the NAU in step 52677, the central The processing device reads the file of the unit and transmits a ``Unit Recovery Data'' packet containing the operating data of the unit immediately before the failure to the NAU 530 (Steps 52681 and 52682).

″ユニット復旧データ″パケットを受信したNAU53
0はパケット内の復旧データをモニタテーブル内ヘコピ
ーしてから、高層ネットワーク用パケットヘッドを外し
た゛′ユニット復旧データ″パケットを、回復したユニ
ットへ送信する(ステップ53681,53682)。
NAU53 that received the “unit recovery data” packet
0 copies the recovery data in the packet into the monitor table, and then sends the ``unit recovery data'' packet with the high-rise network packet head removed to the recovered unit (steps 53681, 53682).

するとユニットのデータ伝送コントローラ551がユニ
ットメモリ550内のコマンドレジスタCR2に「ユニ
ット復旧」コマンドを、また受信データエリアに復旧デ
ータを書き込んでパケットの受信をユニットコントロー
ラ190,290または390へ知らせる(ステップ5
4681)。
Then, the data transmission controller 551 of the unit writes a "unit recovery" command to the command register CR2 in the unit memory 550 and recovery data to the reception data area, and notifies the unit controller 190, 290 or 390 of the reception of the packet (step 5
4681).

ユニットコントローラは、′ユニット復旧y’ −タ”
パケットの受信を確認すると、パケットヘッドを送信デ
ータエリアにコピーし、パチンコ機100ではカードリ
ーダへ年月日、識別コードを送信した後、ユニットメモ
リを介して” A CK ”の送信要求をデータ伝送コ
ントローラへ行なう(ステップ55681,55682
)。データ伝送コントローラは’ACK”パケットをN
AUへ送信し、NAUはパケットの頭に高層用ヘッドを
付加して” A CK”を管理装置へ送信する(ステッ
プ54682.53683) 、。
The unit controller executes 'unit recovery y'-ta'
When the reception of the packet is confirmed, the packet head is copied to the transmission data area, and the pachinko machine 100 transmits the date and identification code to the card reader, and then transmits the "ACK" transmission request via the unit memory. to the controller (steps 55681, 55682
). The data transmission controller sends an 'ACK' packet to N
The packet is sent to the AU, and the NAU adds a high-layer head to the beginning of the packet and sends "ACK" to the management device (steps 54682 and 53683).

管理装置400の中央処理装置CPUは、′ACK”を
受信すると、パリスタート”パケットを形成してNAU
530へ送信する(ステップ52683.52684)
When the central processing unit CPU of the management device 400 receives the 'ACK', it forms a 'PARISTART' packet and sends it to the NAU.
Send to 530 (steps 52683.52684)
.

このパケットがNAU530からデータ伝送コントロー
ラ551を介してユニットコントローラ190.290
,390へ伝えられると、ユニットコントローラは、表
示ランプや玉数、金額表示器等の表示をダウン前の状態
に回復させる(ステップ53684,54683,55
683)。パチンコ機ではその後、カードリーダに対し
て「リロード」コマンドを送信する(ステップ8568
4)。すると、カードリーダ800は内部にカードがあ
るときは磁気データ等の再読取りを行なっテカード番号
をユニットコントローラ190へ送信してくる。その後
、ユニットコントローラは第78図のカードインの場合
と同一の処理を実行して、カート番号を送信し、該当す
るカートテキストを受は取る。
This packet is sent from the NAU 530 to the unit controller 190.290 via the data transmission controller 551.
, 390, the unit controller restores the display lamp, number of balls, amount display, etc. to the state before the downtime (steps 53684, 54683, 55
683). The pachinko machine then sends a "reload" command to the card reader (step 8568).
4). Then, if there is a card inside, the card reader 800 re-reads the magnetic data, etc., and transmits the card number to the unit controller 190. Thereafter, the unit controller executes the same process as in the card-in case of FIG. 78, transmits the cart number, and receives and receives the corresponding cart text.

なお、ステップ53684で″リスタート″パケットを
受信したN A U 530は、ユニットのネジ1−ワ
ークコントローラからのハードA、 CKを確認すると
” A CK ”パケットを管理装置へ送信する(ステ
ップ33685)。
In addition, the NAU 530 that received the "restart" packet in step 53684 confirms the hardware A and CK from the screw 1-work controller of the unit and sends an "ACK" packet to the management device (step 33685). .

第92図に、NAU530電源が誤って遮断されたり高
層ネットワークのケーブルが切断されたりして、NAU
がダウンしたときの検出処理および回復処理の手順が示
されている。
Figure 92 shows that when the NAU530 power supply is accidentally cut off or the high-rise network cable is cut,
The procedure for detecting and recovering when the system goes down is shown.

NAU530がダウンすると、タイマ割込みによる管理
装置400からの″定時データ要求″パケットに対する
ACKが戻ってこないので、中央処理装置CPUはNA
Uがダウンしたことを検出し、ローカル処理装置413
へ割込み表示コマンドを、またプリンタ408へ緊急印
字指令を送信する(ステップ52691〜52694)
。すると、ローカル処理装置413はCRT表示装置4
11の画面の所定の位置にNAUがダウンしたことを知
らせる割込みメツセージを表示させ、またプリンタ40
8はNAUがダウンしたことを紙に印字する。
When the NAU 530 goes down, the central processing unit CPU does not return an ACK to the "periodic data request" packet from the management device 400 due to a timer interrupt.
It is detected that U is down, and the local processing unit 413
and an emergency print command to the printer 408 (steps 52691 to 52694).
. Then, the local processing device 413 converts the CRT display device 4
An interrupt message notifying that the NAU is down is displayed at a predetermined position on the screen of the printer 40.
8 prints on paper that the NAU is down.

その後、中央処理装置は゛′回線モニタチエツク″パケ
ットをNAUへ送信する(ステップ52695)。タイ
マ割込みにより例えば1秒ごとに上記手続きを繰り返し
ているうちに、係員が割込み表示および緊急印字を見て
NAUや高層ネットワークをチエツクして、NAUが回
復すると、″回線モニタチエツク”パケットがNAUに
受信されてそのACKが管理装置へ送信される(ステッ
プ53691.53692)。これによって、中央処理
装置はACKを確認してNAUの回復を知り。
After that, the central processing unit sends a ``Line Monitor Check'' packet to the NAU (step 52695).While the above procedure is repeated every second due to a timer interrupt, the staff member sees the interrupt display and the emergency printout and sends a packet to the NAU. When the NAU recovers by checking the network and high-level network, a "line monitor check" packet is received by the NAU and the ACK is sent to the management device (steps 53691 and 53692).This causes the central processing unit to send the ACK. Check and learn about NAU's recovery.

ローカル処理装置413へ割込み表示コマンドを、また
プリンタ408へ緊急印字指令を送信する(ステップ5
2696〜52698)。すると、ローカル処理装置4
13はCRT表示装置411の画面の所定の位置にNA
Uが回復したことを知らせる割込みメツセージを表示さ
せ、またプリンタ408はNAUが回復したことを紙に
印字する。
Sends an interrupt display command to the local processing device 413 and an emergency print command to the printer 408 (step 5)
2696-52698). Then, local processing device 4
13 is a NA at a predetermined position on the screen of the CRT display device 411.
An interrupt message is displayed notifying that U has recovered, and the printer 408 prints on paper that NAU has recovered.

一方、ユニット側では外部からのアクション等により送
信原因が生じ、ユニットメモリ550のコマンドレジス
タCRIを介してデータ伝送コントローラ55↓に対し
て送信要求を行なうと、データ伝送コントローラが対応
するパケットを形成してN A U 530へ送信する
(ステップ84691)。このとき、NAUがダウンし
ていると、ネットワークコントローラ553が送信不成
功を検出してパケットメモリ552にその旨を記述する
On the other hand, on the unit side, when a transmission cause occurs due to an external action, etc., and a transmission request is made to the data transmission controller 55↓ via the command register CRI of the unit memory 550, the data transmission controller forms a corresponding packet. and transmits it to the NAU 530 (step 84691). At this time, if the NAU is down, the network controller 553 detects unsuccessful transmission and writes a note to that effect in the packet memory 552.

これによってデータ伝送コントローラは送信不成功を知
り(ステップ54692)、ステップ84691へ戻っ
て再度同一パケットを送信することを繰り返す。しかし
て、NAUがダウンしていないときはデータ伝送コント
ローラが送信成功を知り、ユニットメモリ550を介し
てユニットコントローラ190,290,390へ送信
成功を知らせる(ステップ54693)が、NAUがダ
ウンしているときは、いつまでたっても送信成功が返っ
てこないので、ユニットコントローラは送信要求後セッ
トしたタイマ(ステップ55692)がタイムオーバー
したことを検出して送信不成功を知る(ステップ556
93)。その結果、ユニットコントローラはウォッチド
ッグパルスの出力を停止させる(ステップ55694)
。これによって、外部のリセット回路555がリセット
信号を発生し、ユニットコントローラをはじめユニット
制御袋[180,280,350内の他のコントローラ
551,553もすべてリセットされて、制御動作を停
止する。
As a result, the data transmission controller learns that the transmission was unsuccessful (step 54692), returns to step 84691, and repeats transmitting the same packet again. However, when the NAU is not down, the data transmission controller learns of the successful transmission and notifies the unit controllers 190, 290, 390 of the successful transmission via the unit memory 550 (step 54693), but when the NAU is down. In this case, no matter how long the transmission success is not returned, the unit controller detects that the timer set after the transmission request (step 55692) has timed out and learns that the transmission was unsuccessful (step 556).
93). As a result, the unit controller stops outputting the watchdog pulse (step 55694).
. As a result, the external reset circuit 555 generates a reset signal, and the unit controller and other controllers 551, 553 in the unit control bag [180, 280, 350] are all reset to stop the control operation.

その後、NAUが回復すると、NAU530と中央処理
装置はそれぞれユニットのダウンを検出してユニットの
復旧処理を実行する(第90図、第91図)。ユニット
側では初期化後″ユニット復旧″パケットを受信してダ
ウン前の状態に復帰する。
Thereafter, when the NAU recovers, the NAU 530 and the central processing unit each detect that the unit is down and execute unit recovery processing (FIGS. 90 and 91). After initialization, the unit receives a "unit recovery" packet and returns to the state before it went down.

第93図には閉店スイッチ422とそれに続いてシステ
ム終了スイッチ423をオンしたときの処理手順を示す
FIG. 93 shows the processing procedure when the closing switch 422 and then the system ending switch 423 are turned on.

コンソール412上の閉店スイッチ422がオンされる
と、ローカル処理装置413は、閉店要求コマンドを中
央処理装置CPUへ送信する(ステップ51701)。
When the closing switch 422 on the console 412 is turned on, the local processing device 413 sends a closing request command to the central processing unit CPU (step 51701).

このコマンドを中央処理装置が受信すると、主記憶装置
からP機ファイルを順番に読み込んで稼働情報が「遊技
中」がチエツクし、遊技中のパチンコ機がなければAC
Kをローカル処理装置へ送信し、かつ全N A Uへ″
閉店″パケットを送信する(ステップ52701〜52
704)。ローカル処理装置はACKを受信すると、シ
ステム終了スイッチ423がオンされるのを待ち、オン
されると、ローカル処理装置は中央処理装置へシステム
終了要求コマンドを送信する(ステップ51703,5
1704)。
When the central processing unit receives this command, it reads the P machine files from the main memory in order, checks whether the operation information is "playing", and if there is no pachinko machine in play, the AC
K to the local processing unit and to all N A U''
Send “Closed Store” packet (Steps 52701-52
704). When the local processing unit receives the ACK, it waits for the system termination switch 423 to be turned on, and when it is turned on, the local processing unit transmits a system termination request command to the central processing unit (steps 51703 and 5).
1704).

一方、ステップ52704で゛′閉店″パケットを送信
した中央処理装置はNAU530から”ACK”を受信
すると、ローカル処理装置からのシステム終了コマンド
の受信を持つ(ステップ52704.52705)。そ
して、中央処理装置がこのコマンドを受信すると1日の
営業データからなる日報ファイルを作成してハードディ
スクHDDにセーブし、停電保存ファイルをハードディ
スクから消去したのち、システム終了メツセージデータ
を送信する(ステップ52706〜52708)。これ
をローカル処理装置が受信して、システム終了画面上に
電源をオフするように指示するメソセージを表示する(
ステップ51705)。
On the other hand, when the central processing unit that sent the ``Closed'' packet in step 52704 receives ``ACK'' from the NAU 530, it receives a system termination command from the local processing unit (steps 52704 and 52705). When it receives this command, it creates a daily report file consisting of one day's business data, saves it on the hard disk HDD, erases the power outage save file from the hard disk, and then sends system termination message data (steps 52706 to 52708). is received by the local processing unit, and a message instructing the user to turn off the power is displayed on the system shutdown screen (
Step 51705).

管理装置からの″閉店″パケットを受信したNAU53
0は高層用ヘッドを除去した″閉店”パケットを各ユニ
ットへ送信しくステップ53701、54701)、ユ
ニットがそのパケットを受信すると、稼働中を示す表示
ランプ等を消灯させ、カードリーダに対してはカードの
受付けやカードの発行を拒否する指令を与える(ステッ
プ55701、55702)。
NAU53 that received the "Closed" packet from the management device
0 sends a "closed" packet with the high-rise head removed to each unit (Steps 53701, 54701). When the unit receives the packet, it turns off the indicator lamp indicating that it is in operation, and sends the card to the card reader. A command is given to refuse the acceptance of the card and the issuance of the card (steps 55701, 55702).

第94図には停電発生時の管理装置400の処理手順を
示す。
FIG. 94 shows the processing procedure of the management device 400 when a power outage occurs.

停電が発生すると電源が切り換えられて中央処理装置C
PUは補助電源装置409によってバックアップされて
動作し、まず各ユニットからの定時データの収集を停止
し、停電対策中であることをローカル処理装置413に
送信する(ステップ52711.52712)。すると
、ローカル処理装置はCRT表示装置411に停電メツ
セージを表示する(ステップ5171↓)。一方、中央
処理装置はP機ファイルを読み込んで稼働情報をチエツ
クし、稼働情報が「遊技中」のものはP機ファイル内の
カード番号から発行通し番号を逆算し、それを用いてカ
ードファイルを検索してカード状態を「フリー」に書き
換える(ステップ52713〜52715)。その後、
P機ファイル内の稼働情報を「フリー」に書き換えてか
らコモンデータエリアのデータ(設定値ファイル、停電
フラグを含む)とカードファイル、P機ファイル、発行
機ファイル、精算機ファイルをハードディスクHDDに
セーブし、結果(「閉店」)をローカル処理装置へ送信
してからシステムダウンに到る(ステップ52716〜
52718)。
When a power outage occurs, the power is switched and the central processing unit C
The PU operates with backup from the auxiliary power supply device 409, first stops collecting periodic data from each unit, and transmits to the local processing device 413 that a power outage countermeasure is being taken (steps 52711 and 52712). Then, the local processing device displays a power outage message on the CRT display device 411 (step 5171↓). On the other hand, the central processing unit reads the P machine file and checks the operating information, and if the operating information is "playing", it calculates the issuing serial number from the card number in the P machine file and uses that to search the card file. and rewrites the card status to "free" (steps 52713 to 52715). after that,
Rewrite the operating information in the P machine file to "free" and then save the common data area data (including the setting value file and power outage flag), card file, P machine file, issuing machine file, and payment machine file to the hard disk HDD. After sending the result (“closed”) to the local processing device, the system goes down (steps 52716~
52718).

中央処理装置からの「閉店Jを受信したローカル処理装
置は終了メツセージをCRT表示装置に表示させる(ス
テップ51712)。
The local processing device that received the "Closing store J" from the central processing device displays a termination message on the CRT display device (step 51712).

第95図には、上記停電発生後におけるシステムの立上
げ処理の手順が示されている。
FIG. 95 shows the procedure for starting up the system after the power outage occurs.

停電が回復してシステムの電源が再投入されると、管理
袋@400では、先ず中央処理装置CPUが主記憶装置
M−MEM内の全てのファイルFL1〜FL6をクリア
してから、ファイル(枠組み)を作成する(ステップ5
2721)。
When the power is restored and the system is powered on again, in the management bag @400, the central processing unit CPU first clears all files FL1 to FL6 in the main memory M-MEM, and then clears the files (framework ) (Step 5
2721).

一方、ローカル処理装置413は先ずCRT表示表示4
11上に初期画面を表示してから、中央処理装置へ日時
を送信する(ステップ51721゜51722)。する
と、中央処理装置は停電フラグを見て停電ファイルの有
無を判定して、停電ファイルがあるとハードディスク(
補助記憶装置1)から停電ファイルを読み出して主記憶
装置内ヘロードするとともに、ローカル処理装置へは停
電立上げ中であること杢知らせる(ステップ52722
〜52724)。すると、ローカル処理装置はCRT表
示器411に「停電立上げ中」なるメツセージを表示し
てから応答を持つ(ステップ51723)。
On the other hand, the local processing device 413 first uses the CRT display 4
After displaying the initial screen on 11, the date and time are transmitted to the central processing unit (steps 51721 and 51722). Then, the central processing unit looks at the power outage flag and determines whether there is a power outage file, and if there is a power outage file, it writes it to the hard disk (
The power outage file is read from the auxiliary storage device 1) and loaded into the main storage device, and the local processing device is notified that the power outage is being started (step 52722).
~52724). Then, the local processing device displays a message "Power outage starting up" on the CRT display 411 and then responds (step 51723).

また、中央処理装置CPUは停電ファイル読出し後、高
層ネットワーク520を使って各NAU530へ″ユニ
ット復旧データ″パケットを送信する(ステップS 2
725)。
Furthermore, after reading the power outage file, the central processing unit CPU transmits a "unit recovery data" packet to each NAU 530 using the high-rise network 520 (step S2).
725).

一方、電源投入によりNAU 530においては、先ず
N A、 U番号設定器544〜549から設定値(N
AU番号、最小台番号、端末台数等)を読み出して各端
末のネットワーク伝送アドレスを算出してユニットテー
ブルを作威し、各ユニット(端末)およびNAU自身の
伝送アドレスを認知するとともに、各ユニットの稼働デ
ータの入るユニットテーブルをクリアしておく(ステッ
プ53721〜S 3724)。そして、管理装置から
の″ユニット復旧データ“パケットを受信すると、NA
Uはパケット内の復旧データをモニタテーブル内へ入れ
とから高層用ヘッドを外し、データ部に復旧データを入
れた゛ユニット復旧データ″パケットを各ユニットへ送
信する(ステップ53725゜53726)。
On the other hand, when the power is turned on, in the NAU 530, the set value (N
AU number, minimum unit number, number of terminals, etc.), calculate the network transmission address of each terminal, create a unit table, recognize the transmission address of each unit (terminal) and NAU itself, and Clear the unit table containing operating data (steps 53721 to S3724). Then, upon receiving the "unit recovery data" packet from the management device, the NA
After putting the recovery data in the packet into the monitor table, U removes the high-level head and sends a ``unit recovery data'' packet containing the recovery data in the data section to each unit (steps 53725 and 53726).

また、各端末機のユニット制御装置180,280.3
50は、電源が投入されると、先ずユニット内のデータ
伝送コントローラ551が、ユニットメモリ550の全
データエリアをクリアしてから、ユニットメモリ内の所
定番地r27FF」にデータを書き込む(ステップ54
721,54722)、すると、ユニットメモリの所定
の端子INTがハイレベルに立ち上がる。各端末機のユ
ニットコントローラ190,290,390は、電源投
入後、内部メモリやレジスタ、I10ボートを初期化し
、ユニットメモリからのイニシャライズ信号INTの立
上りを台番号設定器か−ら設定値(台番号)を読出し1
通し番号とチャネル番号の下位の算出を行なってから、
それをユニットメモリの送信データエリアに書き込む(
ステップ55721−85724)。それをデータ伝送
コントローラ551が読み取ることでユニット側でのユ
ニットアドレスの認知が行われる(ステップ54723
)。これによってトークンバスを使ったNAU530と
各端末機との間のデータ伝送が可能となる。
In addition, unit control devices 180, 280.3 of each terminal
50, when the power is turned on, the data transmission controller 551 in the unit first clears all data areas of the unit memory 550, and then writes data to a predetermined location "r27FF" in the unit memory (step 54).
721, 54722), then a predetermined terminal INT of the unit memory rises to a high level. After the power is turned on, the unit controllers 190, 290, and 390 of each terminal initialize the internal memory, registers, and I10 board, and detect the rising edge of the initialization signal INT from the unit memory from the set value (device number ) is read out 1
After calculating the lower order of serial number and channel number,
Write it to the transmit data area of the unit memory (
Steps 55721-85724). When the data transmission controller 551 reads it, the unit address is recognized on the unit side (step 54723).
). This enables data transmission between the NAU 530 and each terminal using the token bus.

その後、NAU530から各ユニット(端末)に対して
既に管理装置400より受信された復旧データを入れた
″ユニット復旧データ″パケットが送信されてくると、
ユニットのデータ伝送コントローラ551がユニットメ
モリ内のコマンドレジスタCR2に「ユニット復旧」コ
マンドを、また受信データエリアに復旧データを書き込
んでパケットの受信をユニットコントローラ190,2
90または390へ知らせる(ステップ54724)。
After that, when the NAU 530 sends a "unit recovery data" packet containing the recovery data already received from the management device 400 to each unit (terminal),
The data transmission controller 551 of the unit writes a "unit recovery" command to the command register CR2 in the unit memory and the recovery data to the reception data area, and the unit controllers 190, 2 write the recovery data to the reception data area.
90 or 390 (step 54724).

ユニットコントローラは、″ユニット復旧データ”パケ
ットの受信を確認すると、パケットヘッドを送信データ
エリアにコピーし、パチンコ機ではカードリーダへ年月
日、識別コードを送信した後、ユニットメモリを介して
” A CK”の送信要求をデータ伝送コントローラへ
行なう(ステップ55725,55726)。データ伝
送コントローラは“ACK”パケットをNAUへ送信し
、NAUはパケットの頭に高層用ヘッドを付加して“A
CK”を管理装置へ送信する(ステップ54725.5
3727)。
When the unit controller confirms the reception of the "unit recovery data" packet, it copies the packet head to the transmission data area, and in the pachinko machine, after transmitting the date and identification code to the card reader, "A" is sent via the unit memory. CK" is sent to the data transmission controller (steps 55725, 55726). The data transmission controller sends an “ACK” packet to the NAU, and the NAU adds a high-layer head to the beginning of the packet and sends an “ACK” packet to the NAU.
CK” to the management device (step 54725.5)
3727).

管理装置の中央処理装置は、” A CK ”を受信す
ると、パリスタート”パケットを形成してNAU53 
Qへ送信する(ステップ52726.52728)。
When the central processing unit of the management device receives the "ACK", it forms a "PARISTART" packet and sends it to the NAU53.
Q (steps 52726 and 52728).

このパケットがNAU530からデータ伝送コントロー
ラ551を介してユニットコントローラへ伝えられると
(ステップ53728)、ユニットコントローラは、表
示ランプや玉数、金額表示器等の表示をダウン前の状態
に回復させる(ステップ55727)、、パチンコ機で
はその後、カードリーダに対して「リロード」コマンド
を送信する(ステップ55728)。すると、カードリ
ーダ800は内部にカードがあるときは磁気データ等の
再読取りを行なってカード番号をユニットコントローラ
190へ送信してくる。その後、ユニットコントローラ
は第78図のカードインの場合と同一の処理を実行して
カード番号を送って、カードテキストを受は取る。
When this packet is transmitted from the NAU 530 to the unit controller via the data transmission controller 551 (step 53728), the unit controller restores the display lamps, number of balls, amount display, etc. to the state before the failure (step 55727). ), The pachinko machine then sends a "reload" command to the card reader (step 55728). Then, if there is a card inside, the card reader 800 re-reads the magnetic data, etc., and transmits the card number to the unit controller 190. Thereafter, the unit controller executes the same process as in the card-in case of FIG. 78, sends the card number, and receives and receives the card text.

なお、ステップ53684で″リスタート″パケットを
受信したNAU530は、ユニットのネットワークコン
トローラからのハードACKを確認すると“ACK”パ
ケットを管理装置へ送信する(ステップ53729)。
Note that the NAU 530, which received the "restart" packet in step 53684, sends an "ACK" packet to the management device after confirming the hard ACK from the unit's network controller (step 53729).

次に、管理袋[400が表31に示されている各種パケ
ットを使用してパチンコ機100や発行機200、精算
機300と交信しながらシステム全体を制御する場合の
中央処理装置CPUとローカル処理袋W4↓3の制御手
順を第96図〜第137図を用いて説明する。
Next, the central processing unit CPU and local processing when controlling the entire system while communicating with the pachinko machine 100, issuing machine 200, and payment machine 300 using the various packets shown in Table 31 in the management bag [400] The control procedure for bag W4↓3 will be explained using FIGS. 96 to 137.

第96図(A)〜(D)にはそのうち初期化処理のフロ
ーチャートを示す。
FIGS. 96(A) to 96(D) show flowcharts of initialization processing.

中央処理装置CPUとローカル処理装置4】3は、電源
投入によりリセットがかかると、内部レジスタや内部メ
モリ等を初期化するとともに、中央処理装置は主記憶装
置M−MEM内にファイルの枠組みを設定するとともに
、ローカル処理装置は準備中を示す第138図のごとき
初期画面(第1行目と第2行目のみ)を表示する(ステ
ップ51001.82001)、それからローカル処理
装置413が、自己のタイマから年月日と時刻を読み取
って中央処理袋[CPUへ送信する(ステップ5100
2)。ローカル処理装置413の有するタイマは電池で
バックアップされており、電源がオフされても停止する
ことはなく常時動作して時計として機能する。
When the central processing unit CPU and the local processing unit 4]3 are reset by turning on the power, they initialize the internal registers, internal memory, etc., and the central processing unit sets the file framework in the main memory M-MEM. At the same time, the local processing device 413 displays an initial screen (first and second lines only) as shown in FIG. Read the date and time from the central processing bag [CPU (step 5100)
2). The timer included in the local processing device 413 is backed up by a battery, and does not stop even when the power is turned off, but always operates and functions as a clock.

中央処理装置CPUは、日時を受信するとそれを主記憶
袋[M−MEMのコモンデータエリアに記憶しローカル
処理装置へACKを送信する。ローカル処理装置はこの
ACKの受信がないときはステップ51002へ戻って
再度日時を送信する。
When the central processing unit CPU receives the date and time, it stores it in the common data area of the main memory bag [M-MEM] and sends an ACK to the local processing unit. If the local processing device does not receive this ACK, it returns to step 51002 and transmits the date and time again.

中央処理装置は、日時を受信してACKを返した後、ハ
ードディスクHDD内の停電バックアップファイルを確
認して、そのファイル内の停電フラグが“l”になって
いるかチエツクすることで停電ファイルの有無を判定し
、停電ファイルが存在するときは停電回復後の電源投入
と判定して第96図(D)のステップ52041へ移行
する(ステップ51003,52002〜52004)
After receiving the date and time and returning ACK, the central processing unit checks the power outage backup file in the hard disk HDD and checks whether the power outage flag in that file is set to "l" to determine whether there is a power outage file. If the power outage file exists, it is determined that the power is turned on after the power outage has been recovered, and the process moves to step 52041 in FIG. 96(D) (steps 51003, 52002 to 52004).
.

しかして、ステップ52004の判定で停電ファイルな
しと判定すると、ステップ52005へ進んでモードを
準備中とした後、ハードディスクHDD内から設定値フ
ァイルFL5を読み出して主記憶袋[M−MEM内の所
定のアドレス位置に設定する(ステップ82006)。
If it is determined in step 52004 that there is no power outage file, the process proceeds to step 52005 where the mode is set to preparation, and the setting value file FL5 is read out from the hard disk HDD and stored in the main memory bag [predetermined file in M-MEM]. The address position is set (step 82006).

それから、システム導入時に作成されている伝送アドレ
スファイルFL6を同様にハードディスクHDDから主
記憶袋[M−MEMヘロードする(ステップ52007
)。
Then, the transmission address file FL6 created at the time of system installation is similarly loaded from the hard disk HDD to the main memory bag [M-MEM (step 52007).
).

次に、中央処理装置は主記憶装置M−MEM内にパチン
コ機ファイルPL2を形成して、伝送アドレスファイル
FL6からシステムを構成するパチンコ機の通し番号を
、また設定値ファイルPL5から賞球数、打止数、打止
モードを読み出してパチンコ機ファイルPL2の所定の
欄に記入し、他の欄には「0」を書き込む(ステップ8
2008)、しかる後、同様に伝送アドレスファイルF
L6からシステムを構成する各発行機200と精算機3
00の通し番号を読み出して各々発行機ファイルFL3
と精算機ファイルFL4の所定の欄に記入し、他の柵に
はrOJを書き込む(ステップ52009,52010
)。
Next, the central processing unit creates a pachinko machine file PL2 in the main storage device M-MEM, and obtains the serial numbers of the pachinko machines that make up the system from the transmission address file FL6, and the number of prize balls and batting from the setting value file PL5. Read out the number of stops and stop mode and enter them in the specified columns of the pachinko machine file PL2, and write "0" in the other columns (Step 8
2008), and then the transmission address file F
Each issuing machine 200 and payment machine 3 that make up the system from L6
Read out the serial number 00 and create each issuing machine file FL3.
and enter it in the specified column of the payment machine file FL4, and write rOJ in the other fences (steps 52009 and 52010).
).

また、主記憶装置M−MEM内に設けたカードファイル
FLIには全項目にrOJを記入して(ステップ520
11)7)1ら、ステップ52012へ移行する。
In addition, rOJ is entered in all items in the card file FLI provided in the main storage device M-MEM (step 520).
11) 7) 1 and the like, proceed to step 52012.

ステップ52012では、カード番号を算出するのに必
要な乱数の発生処理(第137図参照)を実行した後、
ローカル処理装置413からのモードの問合わせの有無
を調べ、モードの問い合わせがあると、′モード二「準
備中」”なる応答をローカル処理装置413へ送信する
(ステップ51004.52013.52014)、す
ると。
In step 52012, after performing the random number generation process (see FIG. 137) necessary to calculate the card number,
It checks whether there is a mode inquiry from the local processing device 413, and if there is a mode inquiry, it sends a response of ``Mode 2 ``Preparing'''' to the local processing device 413 (steps 51004, 52013, and 52014). .

ローカル処理装置がこれを受信して、CRT表示装置4
11の「準備中」を示す第138図の画面上に1回線テ
スト中」を示すメツセージMSGIを表示する(ステッ
プ51005)。それから、ローカル処理装置413が
回線テスト要求コマンドを中央処理装置CPUへ送信す
る(ステップ51006)。
The local processing device receives this and displays the CRT display device 4.
A message MSGI indicating "1 line test in progress" is displayed on the screen of FIG. 138 indicating "Preparing" in step 51005. Then, the local processing unit 413 transmits a line test request command to the central processing unit CPU (step 51006).

中央処理装置CPUが回線テスト要求コマンドを受信し
それを確認すると、9回線テスト″パケットを形成して
高層ネットワーク520を介して全NAU 530に対
して順に送信する(ステップ52015,52016)
。そして、NAU530からの応答” A CK ”パ
ケットを受信すると伝送アドレスファイルFLe内のN
AUステータス2のビット0に“1”(NAU正常)を
記入する(ステップ8201.7)。そして、全NAU
に対する送信が終了したか否かを判定しくステップ82
018)、終了すると、中央処理装置は、′ユニットテ
ーブル要求″パケットを形成して各NAU530に送信
し、N A T、Jから“A CK ”パケットを受信
すると全NAUからの応答があったか否か判定する(ス
テップ52019〜52021)。
When the central processing unit CPU receives and confirms the line test request command, it forms nine line test'' packets and sends them sequentially to all NAUs 530 via the high-level network 520 (steps 52015 and 52016).
. When the response "A CK" packet is received from the NAU530, the N in the transmission address file FLe is
Write “1” (NAU normal) in bit 0 of AU status 2 (step 8201.7). And all NAU
In step 82, it is determined whether the transmission to the
018), upon completion, the central processing unit forms a 'Unit Table Request' packet and sends it to each NAU 530, and upon receiving an 'ACK' packet from NAT, J, checks whether there is a response from all NAUs. Determination is made (steps 52019 to 52021).

そして全NAUについて“ユニットテーブル要求″に対
するACKを受信すると、そのパケットに入っているユ
ニットテーブルの伝送アドレスと上記ステップ5200
7でハードディスクHDDから主記憶袋[M−MEMヘ
ロードした伝送アドレスファイル内のアドレスとを比較
する(ステップ52022)、そして、ファイルに登録
されていないユニットが受信したユニットテーブル内に
あるか否か判定しくステップ52023)、なければそ
のまま、また未登録ユニットがあれば、ステップ520
24でそのユニットを伝送アドレスファイルに追加して
からステップ52025へ進む。
When an ACK is received for the "unit table request" for all NAUs, the transmission address of the unit table included in the packet and the step 5200 described above are sent.
In step 7, the address in the transmission address file loaded from the hard disk HDD to the main memory bag [M-MEM is compared with the address in the transmission address file (step 52022), and it is determined whether or not there is a unit not registered in the file in the received unit table. If there is no unregistered unit (step 52023), leave it as is, or if there is an unregistered unit, proceed to step 520
At step 24, the unit is added to the transmission address file, and then the process proceeds to step 52025.

ステップ52025では伝送アドレスファイル内に登録
されているユニットのうち受信したユニットテーブル内
に存在しないユニットがあるか否か判定し、ないときは
そのまま、またあるときはステップ82026で当該ユ
ニットをネットワークエラーすなわち通信不能なユニッ
トとして記憶してからステップ52027へ移行する。
In step 52025, it is determined whether or not there is a unit that does not exist in the received unit table among the units registered in the transmission address file. After storing it as a unit that cannot communicate, the process moves to step 52027.

ステップ52027では伝送アドレスファイルをハード
ディスクHDDにセーブする。これによって、ステップ
52024で伝送アドレスファイルの変更があれば、停
電復旧後のシステム立上り時や翌日のシステム立上りの
際には変更後の伝送アドレスファイルが読み出され、比
較される。
In step 52027, the transmission address file is saved on the hard disk HDD. As a result, if there is a change in the transmission address file in step 52024, the changed transmission address file is read out and compared when the system is started up after a power failure or the next day.

その後、中央処理装置1CPUはローカル処理装置41
3へ回線テスト結果を送信する(ステップ52028)
。しかも、このとき、異常端末(ユニット)があれば、
その異常端末の台番号をCRT画面に表示させるための
画面データとともに回線テスト結果を送信する。
After that, the central processing unit 1CPU is transferred to the local processing unit 41.
Send the line test results to 3 (step 52028)
. Moreover, at this time, if there is an abnormal terminal (unit),
The line test result is transmitted along with screen data for displaying the serial number of the abnormal terminal on the CRT screen.

ローカル処理袋M413がこの回線テスト結果を受信す
る(ステップ51007)と、異常端末があるか否か判
定しくステップ31008)、なければそのままステッ
プ31011へ移行し、また異常端末があったときはス
テップ5IO09へ進んでCRT表示表示411の画面
上に異常端末の台番号を表示する第139図の画面を表
示させる。
When the local processing bag M413 receives this line test result (step 51007), it determines whether or not there is an abnormal terminal (step 31008), and if not, it directly proceeds to step 31011, and if there is an abnormal terminal, it proceeds to step 5IO09. 139, which displays the serial number of the abnormal terminal on the screen of the CRT display 411.

この画面を見て係員が異常のある端末をチエツクするこ
とで回線を正常に戻すことができる。
By looking at this screen and checking for abnormal terminals, the line can be restored to normal.

ただし、端末異常画面(第139図)が表示されている
ときであっても開店スイッチ421をオンすることでシ
ステムを開店に向けて作動させることができるようにな
っており、ローカル処理装置413は、ステップ510
10で開店スイッチ421がオンされているか判定し、
オンされていればステップ51011へ進んで初期値設
定要求コマンドを中央処理装置CPUへ送信する。また
、ステップ81010で開店スイッチがオフなら、前記
ステップ5I006へジャンプし、再び回線テスト要求
コマンドを送信する。これによって、係員が端末異常表
示画面を見て該当端末を修理して正常になると、異常端
末としての扱いすなわち登録から外される。
However, even when the terminal abnormality screen (FIG. 139) is displayed, the system can be activated to open the store by turning on the store opening switch 421, and the local processing device 413 , step 510
10, it is determined whether the store opening switch 421 is turned on,
If it is turned on, the process advances to step 51011 and sends an initial value setting request command to the central processing unit CPU. If the store opening switch is off in step 81010, the process jumps to step 5I006 and the line test request command is sent again. As a result, when a staff member looks at the terminal abnormality display screen and repairs the terminal and the terminal becomes normal, it is treated as an abnormal terminal, that is, it is removed from registration.

一方、中央処理装置1cPUはローカル処理装置413
からの初期値設定要求コマンドを受信するとくステップ
52029)、”初期値設定”パケットを形成し、デー
タ欄に設定値ファイルの内容を入れて各ユニットに送信
する(ステップ52030)。そして、それに対する応
答“ACK”パケットを受信したなら全ユニットに対す
る初期値の設定が終了したか判定する(ステップ520
31.52032)。全ユニットについて初期値設定が
終了したなら第140図に示すような開店要求画面の表
示データをローカル処理装置[413へ送る(ステップ
52033)。
On the other hand, the central processing unit 1cPU is the local processing unit 413
Upon receiving the initial value setting request command from Step 52029), it forms an "initial value setting" packet, enters the contents of the setting value file in the data field, and sends it to each unit (Step 52030). When a response "ACK" packet is received, it is determined whether initial value settings for all units have been completed (step 520).
31.52032). When the initial value settings for all units are completed, display data of a store opening request screen as shown in FIG. 140 is sent to the local processing device [413] (step 52033).

ローカル処理装置がこの画面データを受信すると、それ
をCRT表示装置411上に表示させてから、メツセー
ジに従って開店スイッチ421がオンされるのを待つ(
ステップSIO↓2,5tO13)。ここで、開店スイ
ッチがオンされると、ローカル処理装置が中央処理装置
に対して開店要求コマンドを送信する(ステップ510
14)。
When the local processing device receives this screen data, it displays it on the CRT display device 411 and then waits for the store opening switch 421 to be turned on according to the message (
Step SIO↓2,5tO13). Here, when the store opening switch is turned on, the local processing unit transmits a store opening request command to the central processing unit (step 510).
14).

そして中央処理装置がこのコマンドを受信すると、NA
U530に対して開店パケットを送信する(ステップ5
2034.52035)、次に、NAUからの“A C
K ”を受信すると全NAUに対するパケットの送信が
終了したか否かチエツクし、終了した時点で第147図
の営業中を示すノーマル表示画面データをローカル処理
装置413へ送信して営業中の制御へ移行する(ステッ
プ52036〜52038)。一方、ローカル処理装置
は上記画面データを受信するとこれをCRT表示装置1
411に表示させて営業中の制御へ移行する(ステップ
5105)。
When the central processing unit receives this command, the NA
Send a store opening packet to U530 (step 5
2034.52035), then “A C
When it receives "K", it checks whether or not the packet transmission to all NAUs has been completed, and when it has finished, it transmits the normal display screen data indicating that it is open as shown in FIG. (Steps 52036 to 52038).Meanwhile, when the local processing device receives the screen data, it transfers it to the CRT display device 1.
411 and shifts to control during business hours (step 5105).

第96図(D)には、停電回復後のシステム立上り時の
中央処理装置CPUとローカル処理装置413の制御手
順を示す。
FIG. 96(D) shows the control procedure of the central processing unit CPU and the local processing unit 413 when the system starts up after the power is restored.

管理装置400は前述したように停電が発生すると、主
記憶袋[M−MEM内のカードファイルFLIとパチン
コ機ファイルP L 2 、発行機ファイルFL3.精
算機ファイルFL4およびコモンデータをハードディス
クHDD内にセーブし、停電フラグを“■”にセットし
てからシステムをダウンさせるようになっている。従っ
て、停電が回復して電源が立ち上がると、第96図(A
)の初期化処理を開始し、ステップ52004まで来る
と、停電ファイル有りと判定して第96図(D)のステ
ップ5204↓ヘジヤンプする。ステップ52041で
はモードを「停電立上げ中」に設定する。一方、ローカ
ル処理装置413は、初期画面を表示し、日時を送信し
てそのACKを中央処理装置から受信すると、ステップ
51004へ移行してモードを問い合わせる。すると、
このとき既に中央処理装置ではモードが「停電立上げ中
」に設定されているため、モードの問い合わせを受信す
ると、モードとして「停電立上げ中」を応答する(ステ
ップ32042,52043)。そして、ローカル処理
装置がこのモートを受信すると、それが「停電立上げ中
」か否か判定し、イエスなら第138図の準備中画面の
第6行目に、「システム回復中」なるメツセージを表示
させる(ステップ51021)。それから、タイマをセ
ットし。
As described above, when a power outage occurs, the management device 400 stores the card file FLI in the main memory bag [M-MEM, the pachinko machine file PL2, the issuing machine file FL3. The payment machine file FL4 and common data are saved in the hard disk HDD, and the power outage flag is set to "■" before the system is brought down. Therefore, when the power is restored and the power is turned on, as shown in Figure 96 (A
), and when it reaches step 52004, it is determined that there is a power outage file and the process jumps to step 5204 in FIG. 96(D). In step 52041, the mode is set to "starting up from power outage". On the other hand, when the local processing device 413 displays the initial screen, transmits the date and time, and receives an ACK from the central processing device, the process moves to step 51004 and inquires about the mode. Then,
At this time, the central processing unit has already set the mode to "starting up from power outage", so upon receiving the mode inquiry, it responds with "starting up from power outage" as the mode (steps 32042, 52043). When the local processing unit receives this mote, it determines whether it is "starting up from power outage" or not, and if yes, it displays the message "System recovery in progress" on the 6th line of the preparation screen in Figure 138. Display it (step 51021). Then set the timer.

そのタイマがタイムオーバーして一定時間経過すると(
ステップ51022,51023.51024)、ステ
ップ51004へ戻って再びモードの問い合わせを行な
う。
When the timer times out and a certain amount of time has passed (
Steps 51022, 51023, and 51024), the process returns to step 51004 and the mode inquiry is made again.

一方、中央処理袋[CPUは、モードの応答をすると、
停電ファイルをハードディスクから読み込んで主記憶装
置M−MEMのコモンデータエリアに復帰させ(ステッ
プ52044.52045)、タイマ待ちをしている間
に“ユニット復旧”パケットを各ユニットに送信し、各
ユニットのユニットメモリ内の稼働データを停電前の状
態に復帰させる(ステップ82046)。そして、各二
ニットからの“A CK ”パケットを受信し、全ユニ
ットについて終了すると、NAU530に対してμリス
タート(種別)″パケットを次々と送信して、種別ごと
にユニットを再起動させる(ステップ52047〜52
049)。それから、各NAU 530からの“ACK
”を受信し、全N A Uについて終了すると、中央処
理装置のモードを「営業中」に変更して、営業中を示す
ノーマル表示画面(第147図)のデータを送信する(
ステップS 2050−82053)。この時点でロー
カル処理袋[413がステップ51023でセットした
タイマがタイムオーバーを起こしてステップ51004
へ戻り、モードの問い合わせを行なうと、モードとして
「営業中」が返ってくるので、ステップ51021でノ
オと判定してステップ5IO25ヘジヤンプし、中央処
理装置から送られてきたノーマル表示画面をCRT表示
装置411に表示させてから営業中の制御へ移行する。
On the other hand, when the central processing bag [CPU responds with the mode,
The power outage file is read from the hard disk and restored to the common data area of the main storage M-MEM (steps 52044 and 52045), and while waiting for the timer, a "unit recovery" packet is sent to each unit, and each unit's The operating data in the unit memory is restored to the state before the power outage (step 82046). Then, when the "ACK" packet from each unit is received and all units are finished, "μ restart (type)" packets are sent to the NAU 530 one after another to restart the units for each type ( Steps 52047-52
049). Then, “ACK” from each NAU 530
” and when all N A U are completed, the mode of the central processing unit is changed to “open for business” and the data on the normal display screen (Fig. 147) indicating that the central processing unit is open for business is transmitted (
Step S 2050-82053). At this point, the timer set by the local processing bag [413 in step 51023 has timed out and the timer is set in step 51004.
When the mode is returned and the mode is queried, "Business" is returned as the mode, so it is determined as NO in step 51021, and the process jumps to step 5IO25, where the normal display screen sent from the central processing unit is displayed on the CRT display device. 411 and then transitions to control during business hours.

第97図には、コンソール412の背面に設けられたビ
ルトインスイッチ438による初期設定値の変更手順を
示す。
FIG. 97 shows a procedure for changing initial setting values using the built-in switch 438 provided on the back of the console 412.

前述した初期化フローの第96図(C)のステップ51
012で開店要求画面(第↓40図)が表示され、ステ
ップ51013でスイッチの入力を待っているときに、
上記ビルトインスイッチ438がオンされると、ローカ
ル処理装置4(3は初期設定値の要求コマンドを中央処
理装置CP t、Jへ送信する(ステップ51031)
。すると、中央処理装置はハードディスクからロードし
た設定値ファイルの内容をローカル処理装置4]3へ送
る(ステップ52061)。これを受けてローカル処理
装置はCRT表示装置411の画面上に第141−図の
ような設定値変更画面を表示する(ステップ51032
)。
Step 51 in FIG. 96(C) of the above-mentioned initialization flow
The store opening request screen (Figure 40) is displayed at step 012, and while waiting for switch input at step 51013,
When the built-in switch 438 is turned on, the local processing unit 4 (3) sends a request command for initial setting values to the central processing unit CP t, J (step 51031).
. Then, the central processing unit sends the contents of the setting value file loaded from the hard disk to the local processing unit 4]3 (step 52061). In response to this, the local processing device displays a setting value change screen as shown in FIG. 141 on the screen of the CRT display device 411 (step 51032).
).

ここで、オペレータが画面の指示に従ってコンソール上
のテンキー425を使って購入玉レートまたは識別コー
ドの新しい設定値を入力すると、ローカル処理装置は更
新された値を内部メモリに記憶してから、次の設定値変
更画面(第142図参照)を表示させる(ステップ51
033)。また、このとき、設定値を入力しないでいき
なりリターンキー426を押すと設定値を更新しないで
次の変更画面に移行する。
Here, when the operator follows the on-screen instructions and enters a new set value for the purchased ball rate or identification code using the numeric keypad 425 on the console, the local processing unit stores the updated value in internal memory and then Display the setting value change screen (see Figure 142) (step 51)
033). Further, at this time, if the return key 426 is suddenly pressed without inputting the set value, the screen moves to the next change screen without updating the set value.

この画面の指示に従ってテンキーより台番号と賞球数を
入力すると、ローカル処理装置は更新値を記憶してから
次の設定値変更画面(第143図参照)を表示する(ス
テップ51034)。また、このとき、設定値を入力し
ないでいきなりリターンキー426を押すと設定値を更
新しないで次の変更画面に移行する。
When the player enters the machine number and the number of prize balls using the numeric keypad according to the instructions on this screen, the local processing device stores the updated value and then displays the next setting value change screen (see FIG. 143) (step 51034). Further, at this time, if the return key 426 is suddenly pressed without inputting the set value, the screen moves to the next change screen without updating the set value.

変更画面を見ながらテンキーよりNAU台数。While looking at the change screen, use the numeric keypad to enter the NAU number.

パチンコ機台数5発行機台数または精算機台数を入力ロ
ーカル処理袋[41,3は内部メモリに記憶しておいた
更新値を入れた設定値ファイル更新要求コマンドを中央
処理装置へ送信する(ステップ51035)。中央処理
装置CPUがこのコマンドを受信すると、先ず主記憶装
置M−MEM内の設定値ファイルを、次にパチンコ機フ
ァイルを更新した後、更新後の設定値を入れた“初期値
設定”パケットを全ユニットに送信する(ステップ52
062〜82064)  。
Number of pachinko machines 5 Input the number of issuing machines or the number of payment machines Local processing bag [41, 3 sends a setting value file update request command containing the updated values stored in the internal memory to the central processing unit (step 51035) ). When the central processing unit CPU receives this command, it first updates the setting value file in the main memory M-MEM, then updates the pachinko machine file, and then sends an "initial value setting" packet containing the updated setting values. Send to all units (step 52
062-82064).

第98図には、コンソール412上の設定更新スイッチ
432または日時設定スイッチ439を使った設定値更
新処理手順を示す。
FIG. 98 shows a setting value update processing procedure using the setting update switch 432 or the date and time setting switch 439 on the console 412.

第96図の初期化フローのステップ8101.3でスイ
ッチの入力を待っているときに、設定更新スイッチ43
2がオンされると、ローカル処理装置413は設定値変
更要求コマンドを中央処理装置1cPUへ送信する(ス
テップ51041)。すると、中央処理装置はハードデ
ィスクからロードした設定値ファイルの内容をローカル
処理装置へ送る(ステップ5207L)、これを受けて
ローカル処理装置はCRT表示器411の画面上に第1
44図のような設定値変更画面を表示する(ステップ5
1042)。
When waiting for switch input in step 8101.3 of the initialization flow in FIG.
2 is turned on, the local processing unit 413 transmits a setting value change request command to the central processing unit 1cPU (step 51041). Then, the central processing unit sends the contents of the setting value file loaded from the hard disk to the local processing unit (step 5207L).
Display the setting value change screen as shown in Figure 44 (Step 5)
1042).

ここで、オペレータが画面の指示に従ってテンキー42
5より台番号と打止数を入力すると、ローカル処理装置
は更新された値を内部メモリに記憶してから次の設定値
変更画面(第145図参照)を表示させる(ステップ5
1043)。
Here, the operator presses the numeric keypad 40 according to the instructions on the screen.
When the machine number and the number of discontinuations are inputted in Step 5, the local processing device stores the updated values in the internal memory and then displays the next set value change screen (see Figure 145) (Step 5).
1043).

この画面を見てオペレータが両画の指示に従ってテンキ
ーより台番号と打止モードを入力すると、ローカル処理
装置は更新された値を内部メモリに記憶してから、内部
メモリに記憶しておいた更新値を入れた設定値ファイル
更新要求コマンドを中央処理装置へ送信する(ステップ
51044)。
When the operator looks at this screen and inputs the machine number and stop mode using the numeric keypad according to the instructions on both screens, the local processing unit stores the updated values in internal memory, and then updates the values stored in internal memory. A setting value file update request command containing the value is sent to the central processing unit (step 51044).

中央処理装置がこのコマンドを受信すると、先ず主記憶
装置M−MEM内の設定値ファイルを1次にパチンコ機
ファイルを更新した後、更新後の設定値を入れた“初期
値設定”パケットを全ユニットに送信する(ステップ5
2072〜52074)。
When the central processing unit receives this command, it first updates the pachinko machine file with the setting value file in the main memory M-MEM, and then all the "initial value setting" packets containing the updated setting values. Send to unit (step 5)
2072-52074).

一方、第96図(C)のステップ51013でスイッチ
入力を待っているときに、コンソール412上の日時設
定スイッチ439がオンされると、ローカル処理装置は
CRT表示装置411に、日時変更画面(第146図参
照)を表示させる(ステップ51045)、そして、オ
ペレータがこの画面の指示に従ってテンキー425より
年月日と時刻を入力すると、ローカル処理装置は更新さ
れた日時を中央処理装置へ送信する(ステップS104
6)。中央処理装置は日時を受信すると、内部タイマの
現在時刻を受信した時刻に変更してから、全ユニットへ
更新された年月日データ(他の設定値は元のまま)を入
れた“初期値設定”パケットを送信する(ステップ32
075,52076)。
On the other hand, when the date and time setting switch 439 on the console 412 is turned on while waiting for a switch input in step 51013 of FIG. 146) is displayed (step 51045), and when the operator enters the date and time using the numeric keypad 425 according to the instructions on this screen, the local processing device sends the updated date and time to the central processing device (step 51045). S104
6). When the central processing unit receives the date and time, it changes the current time of the internal timer to the received time, and then sets the "initial value" containing the updated year, month, and day data (other settings remain as they were) to all units. Set “Send packet” (step 32)
075,52076).

第99図には、管理装置400からN A U 530
に対する定時データ要求処理の手順を示す。
In FIG. 99, N A U 530 from the management device 400
The following shows the procedure for periodic data request processing for .

中央処理装置CPUはタイマから1秒ごとに割込みが入
ってくると、この定時データ要求処理を開始し、先ず動
作モードが「営業中」か否かチエツクしくステップ52
101)、営業中でないときはステップ52102へ移
行して15秒経過するまで待つ。前記初期化フローによ
る回線テストおよび初期値設定処理が終了するのを待つ
ためである。
When the central processing unit CPU receives an interrupt every second from the timer, it starts this periodic data request processing and first checks whether the operation mode is "in business" or not in step 52.
101), if the store is not open for business, the process moves to step 52102 and waits until 15 seconds have elapsed. This is to wait for the line test and initial value setting process according to the initialization flow to be completed.

ステップ52101で営業中と判定するとステップ52
103へ進み、′定時データ要求”パケットをNAU5
30に対して送信し、タイマをセットする(ステップ5
2104)。それから、NAU530からの応答ACK
が戻ってきたか調べ、ACKがあれば、第100図の定
時データ受信処理52121〜52135へ移行する(
ステップS21○5)。ステップ52105がACKが
ないと判定したときは、ステップ52104でセットし
たタイマをチエツクし、タイムオーバーを起こしたか否
か調べる(ステップ52106)。そして、NAU53
Qからの応答ACKを受信する前にタイムオーバーを生
じたときは、ステップ52107へ移行して、主記憶装
置iiM−MEMのコモンデータエリアCDA内にNA
Uごとに設けられているエラーカウンタのうち、応答の
ないNAUに対応するエラーカウンタをインクリメント
してからステップ52108で当該エラーカウンタが3
以上になったか否か、すなわち3回続けてエラーを起こ
したか判定し、2以下のときはステップ52103へ戻
って再度同−NAUに対して゛′定時データ要求”パケ
ットを送信する。そして、再びACKを受信する前にタ
イムオーバーを起こし、これを3回繰り返すと、ステッ
プ82108から52109へ進み、ここで伝送アドレ
スファイル内にNAUごとに用意されたNAUステータ
スのうちACKのないNAUに対応するステータス情報
のビットO(NORMAL)を“0”にクリアしてから
、割込み表示コマンドをローカル処理装置413へ送信
して、CRT表示装置411の画面上へNAUダウンを
知らせる割込みメツセージを表示させ、かつプリンタ4
08に同様の内容をプリントアウトさせる指令を与える
。また、ローカル処理装置は割込み表示後、ブザー44
0を鳴動させる(ステップ5211.O,51051゜
51052)。
If it is determined in step 52101 that the business is open, step 52
Proceed to 103 and send the 'periodic data request' packet to NAU5.
30 and set the timer (step 5
2104). Then, the response ACK from NAU530
Checks whether ACK has been returned, and if there is an ACK, moves to scheduled data reception processing 52121 to 52135 in Figure 100 (
Step S21○5). When step 52105 determines that there is no ACK, the timer set in step 52104 is checked to see if a timeout has occurred (step 52106). And NAU53
If a time-over occurs before receiving the response ACK from Q, the process moves to step 52107, and the NA
Among the error counters provided for each U, the error counter corresponding to the non-responsive NAU is incremented, and then in step 52108, the error counter becomes 3.
It is determined whether the error has occurred three times in a row or not, and if it is 2 or less, the process returns to step 52103 and the ``periodic data request'' packet is sent again to the same NAU.Then, the ACK is sent again. If a time-over occurs before the ACK is received, and this is repeated three times, the process proceeds from step 82108 to step 52109, where the status information corresponding to the NAU without ACK among the NAU status prepared for each NAU in the transmission address file is After clearing bit O (NORMAL) to "0", an interrupt display command is sent to the local processing device 413 to display an interrupt message informing the NAU down on the screen of the CRT display device 411, and the printer 4
08 is given a command to print out the same content. In addition, the local processing device outputs a buzzer 44 after displaying the interrupt.
0 is sounded (step 5211.O, 51051°51052).

しかる後、全NAU530に対して定時データ要求を行
なったか否か判定し、ノオならステップ52103へ戻
って次のNAUに対して“定時データ要求”パケットを
送信する(ステップ52111)。それから全NAUに
ついてACKがなかったのか判定(ステップ52112
)L、ノオなら割込み処理を終了し、イエスなら全部の
NAUステータスのビットOを“Onにクリアしてから
、全ユニットのファイルFL2〜FL4内のモニタ情報
のビット7 (CHIEPA)を1″にセットしてチー
パネット(高層ネットワーク)が異常であることを記憶
する(ステップ52113,52114)。
Thereafter, it is determined whether or not regular data requests have been made to all NAUs 530, and if no, the process returns to step 52103 and transmits a "regular data request" packet to the next NAU (step 52111). Then, it is determined whether there is no ACK for all NAUs (step 52112).
) L, if no, end the interrupt processing, if yes, clear bit O of all NAU statuses to "On", and then set bit 7 (CHIEPA) of monitor information in files FL2 to FL4 of all units to 1". It is set to memorize that the higher network (high-rise network) is abnormal (steps 52113, 52114).

第100図には上記定時データ要求に対する応答として
NAU530から定時データを入れた” A CK”パ
ケットを受信した場合の処理手順を示す。
FIG. 100 shows a processing procedure when an "ACK" packet containing scheduled data is received from the NAU 530 as a response to the scheduled data request.

定時データを受信すると、中央処理袋[CPUは先ず受
信パケットのデータ欄の最初にある各ユニットごとのモ
ニタ情報を検査して(ステップ52121)、異常がな
いときはステップ52128ヘジヤンプし、また異常が
あったときは次のステップ52123へ進み、前回の異
常と同一か否か判定する(ステップ52122)。ここ
で、検出した異常が前回と同一のときはステップ521
28ヘジヤンプし、また異なる異常であったときはステ
ップ52124でその新しい異常をプリンタ408によ
って印字させる。それから、ユニツト異常割込み表示画
面データをローカル処理装置413へ送信する(ステッ
プ52125)。ローカル処理装置は上記画面データを
受信すると、CRT表示装置の画面の第19行目にユニ
ット異常を知らせる割込みメツセージを表示させる。
When regular data is received, the central processing bag [CPU first inspects the monitor information for each unit at the beginning of the data column of the received packet (step 52121), and if there is no abnormality, jumps to step 52128, and if there is no abnormality. If so, the process advances to the next step 52123, and it is determined whether the abnormality is the same as the previous abnormality (step 52122). Here, if the detected abnormality is the same as the previous time, step 521
28, and if it is a different abnormality, the new abnormality is printed by the printer 408 in step 52124. Then, the unit abnormal interrupt display screen data is transmitted to the local processing device 413 (step 52125). When the local processing device receives the above screen data, it displays an interrupt message notifying unit abnormality on the 19th line of the screen of the CRT display device.

一方、中央処理装置はステップ52125で画面データ
を送信すると、次に、受信した定時データの末尾のホッ
トコードをチエツクする(ステップ52126)、ここ
で、ホットコードエラーがなければステップ82128
ヘジヤンプし、エラーがあるとステップ52127でエ
ラー回復処理タスク(第117図参照)へユニットの異
常を通知してからステップ82128へ移行し、定時デ
ータ内のモニタ情報2を検査する。そして、モニタ情報
2に異常があったときは上記ステップ52122〜52
125と同様の手順でプリンタとCRT表示装置で異常
を表示させる(ステップ52129〜S 2132)。
On the other hand, when the central processing unit transmits the screen data in step 52125, it next checks the hot code at the end of the received scheduled data (step 52126), and if there is no hot code error, step 82128
If there is an error, the error recovery processing task (see FIG. 117) is notified of the abnormality of the unit in step 52127, and then the process moves to step 82128, where the monitor information 2 in the regular data is inspected. Then, if there is an abnormality in the monitor information 2, the steps 52122 to 52 described above are performed.
The abnormality is displayed on the printer and CRT display device using the same procedure as step 125 (steps 52129 to S2132).

しかる後、モニタ情報に異常がなかったときはステップ
52133で主記憶装置M−MEM内の当該ユニットの
ファイル(パチンコ機ファイル、発行機ファイルまたは
精算機ファイル)を受信した定時データに書き換えてか
ら、また異常があったときはユニットファイルの稼働情
報をクリアまたは「フリー」に変更し、さらにパチンコ
機からの定時データ受信のときはカード状態を「フリー
」にしP機ファイル内の玉数、金額をカードファイルに
セーブしてから受信パケット内の全ユニットについてス
テップ5212↓〜52133の処理を終了したか判定
し、未終了ならステップ52121へ戻る(ステップ5
2134)。また、全ユニットについて終了したなら、
次のステップ52135で全部のNAU530からの定
時データの“ACK”パケットを処理したか否か判定し
、ノオならステップ32121へ戻り全ての” A C
K”について終了するまでステップ52121〜521
34を繰り返す。
After that, if there is no abnormality in the monitor information, in step 52133, the file (pachinko machine file, issuing machine file, or payment machine file) of the unit in the main storage device M-MEM is rewritten with the received regular data, and then Also, if there is an abnormality, clear or change the operating information in the unit file to "free", and when receiving regular data from a pachinko machine, change the card status to "free" and change the number of balls and amount in the P machine file. After saving to the card file, it is determined whether the processing of steps 5212↓ to 52133 has been completed for all units in the received packet, and if it has not been completed, the process returns to step 52121 (step 5
2134). Also, once all units are finished,
In the next step 52135, it is determined whether or not the "ACK" packets of scheduled data from all NAUs 530 have been processed, and if no, the process returns to step 32121 and all "ACK" packets have been processed.
Steps 52121-521 until finished for K”
Repeat step 34.

第101図には発行機200から“カード購入″パケッ
トを受信したときの中央処理袋[11CPUの処理手順
を示す。
FIG. 101 shows the processing procedure of the central processing unit [11 CPU] when a "card purchase" packet is received from the issuing machine 200.

中央処理装置は“カード購入”パケットを受信すると、
パケット内のデータ欄からカード番号を抽出してその番
号がrOJか否か判定する(ステップ52141,52
142)。本実施例のシステムでは発行機200におい
て実際のカード発行が行われる前に、発行機自身がカー
ド発行予約のためカード番号を「0」にした“カード購
入”パケットを送信してくることがあり、そのような予
約のためのパケットか予約済みの本来の“カード購入”
パケットか区別するためである。
When the central processing unit receives the “Card Purchase” packet,
Extract the card number from the data field in the packet and determine whether the number is rOJ (steps 52141, 52
142). In the system of this embodiment, before the issuing machine 200 actually issues a card, the issuing machine itself may send a "card purchase" packet with the card number set to "0" to reserve the card issuance. , the packet or reserved original “card purchase” for such reservation.
This is to distinguish between packets.

ここで、パケット内のカード番号が「0」つまり発行予
約のための購入パケットであったときは。
Here, if the card number in the packet is "0", that is, it is a purchase packet for issue reservation.

ステップ52143へ進んで主記憶装置M−MEMの発
行機ファイル内から発行回数を読み出して、パケット内
の発行受付番号とファイル内の発行回数に「1」を加え
た数とが一致するか調べる(ステップ52144)。そ
して、発行受付番号が発行回数+1に一致したときはス
テップ52145へ進み、パケット内のカード金額がr
OJか否か調べる(ステップS2↓46)。その結果、
金額≠0ならステップ52149ヘジヤンプし、金額=
Oなら次のステップ52147で発行機ファイル内から
予約フラグを読み出してそれが「1」すなわち予約済み
になっているかチエツクする(ステップ82148)。
Proceed to step 52143, read the number of issuances from the issuer file in the main storage M-MEM, and check whether the issuance acceptance number in the packet matches the number of issues in the file plus "1" ( Step 52144). Then, when the issuance acceptance number matches the number of issuances + 1, the process advances to step 52145, and the card amount in the packet is r.
Check whether it is OJ or not (step S2↓46). the result,
If amount≠0, step 52149 hedge jump, amount =
If O, the next step 52147 reads the reservation flag from the issuer file and checks whether it is "1", that is, reserved (step 82148).

ここで、予約フラグが「1」でないときはステップ52
149でパケット内のカード発行通し番号とファイル内
の発行回数をインクリメントする。上記ステップ521
46で金額が「o」でないときに、予約フラグを調べな
いで、ステップ52149ヘジヤンブしてカード発行通
し番号をインクリメントしているのは、予約を行なわず
にいきなリカード番号が「0」でカード金額欄に購入金
額が入ったパケットを受信してもカードを発行できるよ
うにするためである。
Here, if the reservation flag is not "1", step 52
At step 149, the card issue serial number in the packet and the number of issues in the file are incremented. Step 521 above
When the amount is not "o" in step 46, the reservation flag is not checked and the card issuing serial number is incremented in step 52149. This is because the card number is "0" and the card amount is incremented without making a reservation. This is to enable a card to be issued even if a packet containing the purchase amount in the column is received.

ステップ52149でカード発行通し番号をインクリメ
ント(発行回数は発行機がカードを排出したときにユニ
ットメモリ内で更新し、それを定時データ収集で吸い上
げて発行機ファイル内の発行回数を更新する)した後は
、そのカード発行通し番号を使ってカードファイルを検
索して当該カ−ドのファイルをクリアしてからカード発
行通し番号よりカード番号を算出する(ステップ521
50、52151)。それから、ステップ52152で
当該カードファイル内のカート番号の欄に算出値を書き
込むとともに、玉数および金額の欄に受信パケット内の
値を書き込み、カード状態をrフリーJに、またiカウ
ンタをrlJにし、かつi = 1の来歴データに受信
したデータと現在時刻を書き込んでから、ステップ52
153でACK ”パケットを発行機200へ送信する
After incrementing the card issuance serial number in step 52149 (the number of issuances is updated in the unit memory when the issuing machine ejects the card, and the number of issues is updated in the issuing machine file by sucking it up through regular data collection), , search the card file using the card issue serial number, clear the file for the card, and then calculate the card number from the card issue serial number (step 521).
50, 52151). Then, in step 52152, write the calculated value in the cart number column in the card file, write the values in the received packet in the number of balls and amount columns, set the card status to rfree J, and set the i counter to rlJ. , and after writing the received data and the current time into the history data of i = 1, step 52
153, an ACK” packet is transmitted to the issuing device 200.

さらに、ステップ52142でカード番号がrOJと判
定してステップ52144で受信した発行受付番号とフ
ァイル内の発行回数十上とを比較して一致しなかったと
きは、ステップS2↓54へ移行して発行受付番号と発
行回数とを比較して両者が一致したときはステップS 
2 、L 55へ進んでカード発行通し番号からカード
番号を算出し、次のステップ52156でカード発行通
し番号を用いてカードファイルを検索して該当ファイル
を読出してから、上述したステップ52152へ移行し
てカードファイルを更新した後、” A CK ”パケ
ットを送信する(ステップ521.53 )。例えば発
行予約のため“カード購入“パケットを受信してステッ
プ52141〜52153を実行して送信した” A 
CK”パケットが所定時間内に当該発行機に到達せず1
発行機から同一の“カード購入”パケットが送信されて
くる場合を考慮したものである。
Furthermore, if it is determined in step 52142 that the card number is rOJ, and the issuance acceptance number received in step 52144 and the number of issuances in the file do not match, the process moves to step S2↓54. Compare the issuance acceptance number and the number of issuances, and if they match, step S
2. Proceed to L 55 to calculate the card number from the card issued serial number, and in the next step 52156 search the card file using the card issued serial number and read the corresponding file, then proceed to step 52152 described above to calculate the card number. After updating the file, send an "ACK" packet (step 521.53). For example, to make an issuance reservation, a "card purchase" packet was received, steps 52141 to 52153 were executed, and then sent.
CK” packet did not reach the issuing machine within the specified time 1
This takes into consideration the case where the same "card purchase" packet is sent from the issuing machine.

一方、ステップ52142で受信した“カード購入″パ
ケット内のカード番号がrOJでなかったとき、すなわ
ち予約済みのカードについて真の購入の申込みがあった
ときは、ステップ52157ヘジヤンプしてパケット内
の発行受付番号と、発行機ファイル内のカード発行回数
にrlJ を加えたものとを比較し、一致したときは受
信したカード発行通し番号を用いてカードファイルを検
索して該当ファイルを読み出して(ステップ52158
)からステップ52152へ移行して、ファイルを更新
する。このとき、受信パケット内の実際のカード購入金
額がカードファイルに書き込まれる。ファイル更新後、
” A CK“パケットを送信する。
On the other hand, if the card number in the "card purchase" packet received in step 52142 is not rOJ, that is, if there is a genuine purchase application for a reserved card, step 52157 is performed and the issuance acceptance in the packet is performed. The number is compared with the card issuance count plus rlJ in the issuing machine file, and if they match, the card file is searched using the received card issuing serial number and the corresponding file is read out (step 52158).
) to step 52152 to update the file. At this time, the actual card purchase amount in the received packet is written to the card file. After updating the file,
Send “ACK” packet.

なお、ステップ52142でカード番号=Oでないと判
定した後、ステップ52157で発行受付番号と発行回
数が一致しないと判定したときは、誤まった“カード購
入″パケットと判定してステップ52159ヘジヤンプ
し、NAKを送信する。
If it is determined in step 52142 that the card number is not O, and then it is determined in step 52157 that the issuance acceptance number and the number of issuances do not match, it is determined that the packet is an erroneous "Card Purchase" packet, and step 52159 hejumps. Send NAK.

第1102fにはパチンコ機100の制御ユニット16
0にカードが挿入されたときに管理袋W400に対して
送信される“カードイン”パケットを受信したときの中
央処理装置lCPUの処理手順を示す。
The control unit 16 of the pachinko machine 100 is located at the 1102f.
The processing procedure of the central processing unit 1CPU when receiving a "card-in" packet transmitted to the management bag W400 when a card is inserted into the storage bag W400 is shown.

″カードイン″パケットを受信すると、中央処理装置は
、先ずパケット内のカード番号からカード発行通し番号
を逆算する(ステップ52161)。次に、算出された
カード発行通し番号を使ってカードファイルを検索し、
該当カードのファイルを読み込む(ステップ52162
)。それから、読み込んだカードファイルよりカード番
号を取り出して受信パケット内のカード番号と比較しく
ステップ52163,52164)、一致したときはス
テップ82165へ進んで、ファイル内の当該カードの
カード状態が「フリー」になっているか調べる。ここで
、カード状態が「フリー」ならカードファイル内のカー
ド状態を「遊技中」に書き換えるとともに、所在端末の
台番号と通し番号の欄にそれぞれ受信パケット内の番号
を書き込む(ステップ52166)。
Upon receiving the "card-in" packet, the central processing unit first calculates the card issuing serial number from the card number in the packet (step 52161). Next, search the card file using the calculated card issuing serial number,
Load the file of the corresponding card (step 52162
). Then, extract the card number from the loaded card file and compare it with the card number in the received packet (steps 52163, 52164). If they match, proceed to step 82165, and the card status of the card in the file is changed to "free". Check if it is. Here, if the card status is "free", the card status in the card file is rewritten to "gaming", and the numbers in the received packet are written in the machine number and serial number columns of the terminal where it is located (step 52166).

しかる後、カードファイルより読み出したカードテキス
ト(カード番号、玉数、金額およびカード)を入れた“
A CK ”パケットをパチンコ機100へ送信してか
ら、パチンコ機ファイル内のカード番号の柵に受信パケ
ット内のカード番号を書き込んで終了する(ステップ5
2167、52168)。
After that, enter the card text (card number, number of balls, amount and card) read from the card file.
After transmitting the A CK packet to the pachinko machine 100, the card number in the received packet is written in the card number fence in the pachinko machine file, and the process ends (step 5).
2167, 52168).

なお、上記ステップ52164でパケット内のカード番
号とファイル内のカード番号とを比較して一致しなかっ
たとき、あるいはカード番号は一致したがカード状態が
「フリー」でないときはステップ52171で「遊技中
」が否か判定し、カ−ド状態が「遊技中」でもないとき
は、不適当なカードが挿入されたものと判定してステッ
プ52174ヘジヤンプして“N A K ”パケット
を送信する。このようにパケット内のカード番号とファ
イル内のカード番号とを比較することで偽造カートを排
除することができる。また挿入されたカードが他のパチ
ンコ機で中断したものであれば、ステップ52165.
52171でいずれもノオと判定されてステップ521
74ヘジヤンブして” N A K ”を送信すること
で排除される。
Note that if the card number in the packet and the card number in the file are compared in step 52164 and they do not match, or if the card numbers match but the card status is not "free", step 52171 indicates that the card number in the file is not "playing". ”, and if the card status is not “gaming”, it is determined that an inappropriate card has been inserted, jumps to step 52174, and transmits an “NAK” packet. By comparing the card number in the packet with the card number in the file in this way, counterfeit carts can be eliminated. If the inserted card is the one that was interrupted at another pachinko machine, step 52165.
52171, both are determined as NO, and step 521
74 hejymb and sends "NAK".

ステップ82165でカード状態が「フリー」でないと
判定し、かつステップ32171で「遊技中」と判定し
たときにステップ52172へ移行して受信パケット内
のP機台番号とカートファイル内の台番号が一致したと
きに” A CK ”を返すようにしたのは、停電回復
後にパチンコ機においてカードを再読込みしてカードが
あれば“カードイン″パケットを送信してくるので、そ
れに対処するためである。
When it is determined in step 82165 that the card status is not "free" and it is determined in step 32171 that it is "playing", the process moves to step 52172 and the P machine number in the received packet matches the machine number in the cart file. The reason why ``ACK'' is returned when the pachinko machine returns after the power is restored is to deal with this, since if the card is reread in the pachinko machine and there is a card, it will send a ``card in'' packet.

第103図には、中断中のパチンコ機に中断カードが挿
入された場合に、パチンコ機100から管理袋W400
へ送信される″中断カードイン″パケットを受信したと
きの中央処理袋[CPUの処理手順を示す。
FIG. 103 shows that when the interruption card is inserted into the pachinko machine that is being interrupted, the management bag W400 is transferred from the pachinko machine 100.
This shows the processing procedure of the central processing bag [CPU] when it receives the "Interrupt Card-in" packet sent to the CPU.

″中断カードイン″パケットを受信すると、中央処理装
置は、先ずパケット内のカード番号からカード発行通し
番号を逆算する(ステップs2↓81)。次に、算出さ
れたカード発行通し番号を使ってカードファイルを検索
し、該当カードのファイルを読み込む(ステップ521
82)。それから、読み込んだカードファイルよりカー
ド番号を取り出して受信パケット内のカード番号と比較
しくステップ52183,52184) 、−3’また
ときはステップ82185へ進んでファイル内の当該カ
ードのカード状態が「中断中Jが否か調べる。ここで、
カード状態が「中断中」なら、カードファイル内のカー
ドテキストを更新し、カード状態を「遊技中」に書き換
え、また来歴データ欄のi番目に中断時のデータと時刻
を書き込んでから、iカウンタをデクリメントする(ス
テップ82186.52187)。中断発生時にカード
ファイル内のiカウンタの示す来歴層に一旦中断時のデ
ータと時刻が記録されるが、中断が解除されたときにi
カウンタをデクリメントして1次の来歴データ書込み時
に同一の欄に重ねて書き込むことにより、頻繁に発生す
る中断により来歴データ欄が満杯になるのを回避してメ
モリの有効利用を図ることができる。
Upon receiving the "suspended card-in" packet, the central processing unit first calculates back the card issuing serial number from the card number in the packet (step s2↓81). Next, the card file is searched using the calculated card issuing serial number and the file of the corresponding card is read (step 521).
82). Then, the card number is extracted from the read card file and compared with the card number in the received packet (steps 52183, 52184). Check whether J is false or not.Here,
If the card status is "suspended", update the card text in the card file, rewrite the card status to "playing", write the data and time at the time of suspension in the i-th column of history data, and then write the data and time at the i-counter. is decremented (steps 82186.52187). When an interruption occurs, the data and time at the time of interruption are temporarily recorded in the history layer indicated by the i counter in the card file, but when the interruption is canceled, the i
By decrementing the counter and overwriting it in the same column when writing the primary history data, it is possible to prevent the history data column from becoming full due to frequently occurring interruptions and to make effective use of the memory.

ステップ82186で、カードファイルを更新し、ステ
ップ52187でiカウンタを「−1」した後は、ステ
ップ82188へ進んでカードファイルより読み込んだ
カードテキストを入れた”ACK”パケットを当該パチ
ンコ機へ送信する。
After updating the card file in step 82186 and decrementing the i counter to "-1" in step 52187, proceed to step 82188 and send an "ACK" packet containing the card text read from the card file to the relevant pachinko machine. .

なお、上記ステップ82184でパケット内のカード番
号とファイル内のカード番号とを比較して一致しなかっ
たときあるいはカード番号は一致したが、カード状態が
「中断中Jでないときはステップ52191でカード状
態が「遊技中」か否か判定し、「遊技中Jでもないとき
は、不適当なカードが挿入されたものと判定してステッ
プ52193ヘジヤンプして” N A K ”パケッ
トを送信する。
In addition, if the card number in the packet and the card number in the file are compared in step 82184 and they do not match, or if the card numbers match but the card status is not "suspended", the card status is changed in step 52191. If it is not "playing", it is determined that an inappropriate card has been inserted, and in step 52193 it jumps and sends an "NAK" packet.

ただし、カード状態が「中断中」でないではないが、ス
テップ52191で「遊技中」と判定したときは、ステ
ップ52192へ移行して受信パケット内のP機台番号
とカートファイル内の台番号とを比較し、両者が一致し
たときは、ステップ52187へ移行してカードテキス
トを入れて” A CK”パケットを送信する。これも
、例えば管理装置が最初にステップ52181〜521
97を実行して“ACK″を送信したが、パチンコ機が
それを受信できず再度パ中断カードイン″パケットを送
信したような場合を考慮したものである。
However, if it is determined in step 52191 that the card status is not "suspended" but is "playing", the process moves to step 52192 and the P machine number in the received packet and the machine number in the cart file are checked. When the two match, the process moves to step 52187, where the card text is inserted and an "ACK" packet is sent. This also applies, for example, when the management device first performs steps 52181 to 521.
This takes into consideration the case where the pachinko machine executes ``97'' and sends ``ACK'', but the pachinko machine cannot receive it and sends the ``pachinko card-in'' packet again.

ステップ52192で台番号が不一致のときは挿入カー
ドが不適合であるので、ステップ52193へ移行して
“N A K ”パケットを送信する。
If the machine numbers do not match in step 52192, the inserted card is incompatible, so the process moves to step 52193 and a "NA K" packet is transmitted.

第104図には遊技中にパチンコ機1ooに設けられた
中断スイッチをオンしたときにパチンコ機から管理袋W
1400へ送信される″中断スイッチ″パケットを受信
したときの中央処理袋wCPUの処理手順を示す。
FIG. 104 shows that when the interrupt switch provided on the pachinko machine 1oo is turned on during a game, the management bag W is sent from the pachinko machine to the management bag W.
14 shows the processing procedure of the central processing unit wCPU when it receives an "interrupt switch" packet sent to the CPU 1400.

このパケットを受信すると中央処理装置は先ずパケット
内のカード番号よりカード発行通し番号を算出し、その
カード発行通し番号を用いてカードファイルを検索して
該当カードデータを読み出す(ステップ52201,3
2202)。
Upon receiving this packet, the central processing unit first calculates the card issuing serial number from the card number in the packet, searches the card file using the card issuing serial number, and reads the corresponding card data (steps 52201, 3).
2202).

次に、カードファイルから読み出したカードデータのう
ちカード状態を調べて「遊技中Jになっているか否か判
定する(ステップ52203)、。
Next, the card status of the card data read from the card file is checked to determine whether it is ``J'' during the game (step 52203).

ここで、カード状態が「遊技中」ならステップ5220
4へ進んでパケット内のカード所在端末台番号とファイ
ルより読み出した当該カードの所在端末台番号とを比較
して一致すれば、カートファイル内のデータ(カード番
号、玉数、金額、カード状態、所在端末通し番号および
所在端末台番号)をパケット内のデータに書き換える(
ステップS2205)。それから、該当カードファイル
内の1カウンタが19未満か否かチエツクしくステップ
52206)、19未満ならステップ52207で1カ
ウンタをインクリメントして次の来歴データ層にパケッ
ト内の台番号、玉数および金額とタイマの現在時刻を書
き込んでからカードテキストを入れた”ACK”パケッ
トをパチンコ機へ送信する(ステップ52208,52
209)。また、上記ステップ82206で1カウンタ
が19であると判定したときはiカウンタを更新しない
で、ステップ52208ヘジヤンプして工9番目の来歴
データ欄に重ねてパケット内データを書き込む。この実
施例では来歴データ欄の数が20個であり、20番目の
データ欄は精算データの書込み用に残しておくためであ
る。
Here, if the card status is "playing", step 5220
Proceed to step 4, compare the card location terminal number in the packet and the card location terminal number read from the file, and if they match, the data in the cart file (card number, number of balls, amount, card status, Rewrite the location terminal serial number and location terminal number) to the data in the packet (
Step S2205). Then, check whether the counter 1 in the corresponding card file is less than 19 (step 52206), and if it is less than 19, increment the counter 1 in step 52207, and write the machine number, number of balls, and amount in the packet to the next history data layer. After writing the current time of the timer, send an "ACK" packet containing the card text to the pachinko machine (steps 52208, 52
209). Further, when it is determined in step 82206 that the 1 counter is 19, the i counter is not updated, and the data in the packet is written in the step 52208 by jumping to the 9th history data field. In this embodiment, the number of history data columns is 20, and the 20th data column is reserved for writing settlement data.

一方、ステップ52203で、カードファイル内のカー
ド状態が「遊技中」でないと判定したときおよびカード
状態は「遊技中」であるがステップ52204で台番号
が不一致であると判定したときは、ステップ52211
へ移行して、カート状態が「中断中」か否か判定する。
On the other hand, when it is determined in step 52203 that the card status in the card file is not "playing" or when it is determined that the card status is "gaming" but the machine numbers do not match in step 52204, step 52211
to determine whether the cart status is "suspended."

ここで、ノオつまりカード状態が「遊技中」でも「中断
中Jでもないときはステップ52214ヘジヤンプして
” N A K”パケットをパチンコ機へ送信する。
Here, if the card status is neither "gaming" nor "suspended", the game jumps to step 52214 and sends a "N A K" packet to the pachinko machine.

また、ステップ52211でカード状態が「中断中」で
あると判定したときはステップ52212へ進んでパケ
ット内の所在端末番号とファイル内の所在端末台番号と
を比較して一致すればII ACK ”パケットを返す
(ステップ52213)。
If it is determined in step 52211 that the card status is "suspended", the process advances to step 52212, where the terminal number in the packet is compared with the terminal number in the file, and if they match, the II ACK "packet" is sent. is returned (step 52213).

ステップ52209で“ACK″を送信した後に再度同
一″中断スイッチ″パケットが送られてくる場合を考慮
したものである。なお、ステップ52211でカード状
態が「中断中」であっても台番号が一致しないときは“
NAK”パケットを送信する(ステップ52212−3
2214)。
This takes into consideration the case where the same "interrupt switch" packet is sent again after "ACK" is sent in step 52209. Note that even if the card status is "suspended" in step 52211, if the machine numbers do not match, "
NAK” packet (step 52212-3)
2214).

第105図には遊技中にパチンコ機100に設けられた
終了スイッチをオンしたときにパチンコ機から管理装置
400へ送信される“終了スイッチ”パケットを受信し
たときの中央処理装置CPUの処理手順を示す。
FIG. 105 shows the processing procedure of the central processing unit CPU when it receives an "end switch" packet transmitted from the pachinko machine to the management device 400 when the end switch provided on the pachinko machine 100 is turned on during a game. show.

このパケットを受信したときの処理の手順は第104図
の“中断スイッチ”パケットを受信したときの処理手順
(ステップ82201〜52214)とほとんど同一で
ある。
The processing procedure when this packet is received is almost the same as the processing procedure when the "interrupt switch" packet is received (steps 82201 to 52214) in FIG. 104.

異なるのはステップ52225でカードファイルを更新
するときにカード状態として「フリー」を書き込む点と
、ステップ52231でファイル内のカード番号が「中
断中」か否かではなく。
The difference is that "free" is written as the card status when updating the card file in step 52225, and that the card number in the file is not "suspended" or not in step 52231.

「フリー」か否か判定する点のみである。The only point is to determine whether it is "free" or not.

第106図にはパチンコ機100において遊技中に帰零
(持玉数、未使用金額がともにゼロ)の状態が発生した
場合にパチンコ機から管理装置400へ送信される“帰
零”パケットを受信したときの中央処理装置CPUの処
理手順を示す。
FIG. 106 shows the reception of a “return” packet that is sent from the pachinko machine to the management device 400 when a zero return (both the number of balls held and the unused amount are zero) occurs in the pachinko machine 100 during a game. The processing procedure of the central processing unit CPU is shown below.

このパケットを受信したときの処理の手順は第104図
の“中断スイッチ″パケットを受信したときの処理手順
(ステップ52201〜52214)とほとんど同一で
ある。
The processing procedure when this packet is received is almost the same as the processing procedure when the "interrupt switch" packet is received (steps 52201 to 52214) in FIG. 104.

異なるのはステップ52225でカードファイルを更新
するときにカード状態として「帰零」を書き込む点と、
ステップ52251でファイル内のカード番号が「中断
中」か否かではなく、「帰零」か否か判定する点のみで
ある。
The difference is that "return to zero" is written as the card status when updating the card file in step 52225.
The only point is that in step 52251, it is determined whether the card number in the file is "returning to zero" or not, rather than whether it is "suspended" or not.

第108図にはパチンコ機100において遊技中に打止
状態が発生した場合にパチンコ機から管理装置!400
へ送信される″゛帰零パケットを受信したときの中央処
理装置CPUの処理手順を示す。
FIG. 108 shows a management device from the pachinko machine when a stoppage occurs during a game in the pachinko machine 100. 400
The processing procedure of the central processing unit CPU when receiving the "return packet" transmitted to the CPU is shown.

このパケットを受信したときの処理手順におけるステッ
プ52261〜52268は、第104図の処理フロー
中におけるステップ52201〜52208と、また第
107Iyiのステップ52275〜52278は第1
04図の処理フロー中におけるステップ52211〜5
2214と略同−である。異なるのはステップ5226
5でカードファイルを更新するときにカード状態として
「打止」を書き込む点と、ステップ32275でカード
状態が「中断中」か否かではなく、「フリー」または「
打止」か否か判定する点である。
Steps 52261 to 52268 in the processing procedure when this packet is received are the same as steps 52201 to 52208 in the processing flow of FIG.
Steps 52211 to 5 in the processing flow of Figure 04
It is almost the same as 2214. The difference is step 5226
When updating the card file in Step 5, "Discontinued" is written as the card status, and in Step 32275, it is not determined whether the card status is "Suspended", but whether it is "Free" or "
This is the point at which it is determined whether or not the game is stopped.

さらに、この″打止″パケット受信処理では、ステップ
52268でカードファイルの来歴データ欄に受信した
パケット内のデータと時刻を書き込んでから、すぐに’
 A CK ”パケットを送信するのではなく、第工0
7図に示すように、受信パケット内の台番号をも用いて
P機ファイルを検索し、該当するパチンコ機のデータの
うち稼働情報を「打止」に書き換えてから、打止割込み
表示画面データを入れた割込みコマンドをローカル処理
装置413へ送るとともに、プリンタ408によって打
止が発生したことを台番号とともにプリントアウトさせ
た後に“ACK”パケットをパチンコ機へ送信するよう
にしている(ステップ52269〜52273)。
Furthermore, in this "stop" packet reception process, the data and time in the received packet are written in the history data field of the card file in step 52268, and then the
Instead of sending an A CK packet,
As shown in Figure 7, the machine number in the received packet is also used to search the P machine file, and the operation information of the corresponding pachinko machine data is rewritten to "discontinued", and then the discontinued interrupt display screen data is At the same time, the printer 408 prints out the occurrence of cancellation along with the machine number, and then sends an "ACK" packet to the pachinko machine (steps 52269 to 52269). 52273).

なお、ステップ52271で中央処理装置が送信した打
止割込みコマンドをローカル処理装置が受信するとCR
T表示装置411の画面の第19行目に打止メツセージ
(時刻と打止台と打止回数)を割込み表示させ、ブザー
をオンさせるようになっている(ステップ5L061〜
51063)。
Note that when the local processing unit receives the abort interrupt command sent by the central processing unit in step 52271, the CR
A stop message (time, stop table, and number of stops) is displayed on the 19th line of the screen of the T display device 411, and a buzzer is turned on (step 5L061~
51063).

第108図には、精算機300にカードが挿入されたと
きに管理装置400へ送信されるパ力−ド精算″パケッ
トおよびその“A CK ”に基づいて精算機がカード
の精算を実行した後に送信されてくる“精算終了”パケ
ットを受信したときの中央処理装置CPUの処理手順を
示す。
FIG. 108 shows the flowchart after the payment machine has executed the card payment based on the "Powered Payment" packet and its "ACK" that are sent to the management device 400 when the card is inserted into the payment machine 300. The processing procedure of the central processing unit CPU when receiving the transmitted "payment completion" packet is shown.

″カード精算″パケットを受信すると、中央処理装置は
、先ずパケット内のカード番号よりカード発行通し番号
を逆算して、そのカード発行通し番号を用いてカードフ
ァイルを検索し、当該カードのデータを読み込んでカー
ド状態が「フリー」または「中断中」か否か判定する(
ステップ52281〜52283)。ここで、カード状
態が「フリー」または「中断中」であったなら、ステッ
プ82284でタイマの現在時間を精算受付時刻として
、またカードファイル内の当該カードデータのうちカー
ド番号と持玉数、金額、カード発行通し番号およびカー
ド来歴データを精算データとして入れた” A CK 
”パケットを精算機へ送信する(ステップ52284)
。一方、カードファイルから読み出したカード状態が「
フリー」でも「中断中」でもなかったときは、ステップ
52283から52285へ移行して“NAK”パケッ
トを送信する。精算機300は上記“ACK”パケット
を受信すると、パケット内の精算データを印字したレシ
ートを発行し、未使用金を払い戻した後、パ精算終了″
パケットを送信する。
When receiving a "card payment" packet, the central processing unit first calculates the card issuing serial number backward from the card number in the packet, searches the card file using the card issuing serial number, reads the data of the card, and processes the card. Determine whether the state is "free" or "suspended" (
Steps 52281-52283). Here, if the card status is "free" or "suspended", the current time of the timer is set as the settlement acceptance time in step 82284, and the card number, number of balls held, and amount are set as the payment acceptance time in the card file. , I entered the card issuing serial number and card history data as payment data.” A CK
”Send the packet to the payment machine (step 52284)
. On the other hand, the card status read from the card file is "
If it is neither "free" nor "suspended", the process moves from step 52283 to step 52285, and a "NAK" packet is transmitted. When the payment machine 300 receives the above "ACK" packet, it issues a receipt with the payment data in the packet printed, refunds the unused money, and then completes the payment.
Send a packet.

管理装置400がこの″精算終了″パケットを受信する
と、中央処理装置は、先ずパケット内のカード番号より
カード発行通し番号を逆算して、そのカード発行通し番
号を用いてカードファイルを検索し、当該カードのデー
タを読み込んでカード状態が「中断中」か否か判定する
(ステップ52291−52293)、ここで、カード
状態が「中断中」なら、ステップ52274でカードフ
ァイルから読み取った当該カードの所在端末台番号に該
当するパチンコ機へパ中断終了″パケットを送信して、
中断状態のパチンコ機を遊技可能なフリー状態へ変更さ
せてから、また、カード状態が「中断中」でないときは
ステップ52294をジャンプしてステップ52295
へ進み、当該カードファイル内のiカウンタを更新(イ
ンクリメント)する。それから、当該カードファイル内
のカード状態を「精算済」に変更し、来歴データ欄の1
番目に精算データを書き込んだ後、” A CK ’パ
ケットを精算機300へ送信する(ステップ52295
.52296)。
When the management device 400 receives this "payment completed" packet, the central processing device first calculates the card issuing serial number backward from the card number in the packet, searches the card file using the card issuing serial number, and searches the card file for the card. Read the data and determine whether the card status is "suspended" (steps 52291-52293); if the card status is "suspended", the location terminal number of the card read from the card file in step 52274 Sends a Pachinko machine that corresponds to the pachinko machine “pachinko end” packet,
After changing the suspended pachinko machine to a free state where you can play, and if the card status is not "suspended", jump to step 52294 and proceed to step 52295.
The i counter in the card file is updated (incremented). Then, change the card status in the card file to "Settled" and check the 1 in the history data column.
After writing the payment data for the second time, the "A CK" packet is sent to the payment machine 300 (step 52295).
.. 52296).

第109図には、コンソール412上に設けられた打止
解除スイッチ433をオンしたときの中央処理装置CP
Uとローカル処理装置413における処理手順を示す。
FIG. 109 shows the central processing unit CP when the cancel release switch 433 provided on the console 412 is turned on.
The processing procedure in U and the local processing device 413 is shown.

打止解除スイッチ433がオンされると、ローカル処理
装置は、中央処理装置に対して打止台データ要求コマン
ドを送信する(ステップ51071)。中央処理装置が
このコマンドを受信すると、主記憶装置M−MEMから
P機ファイルを順番に読み出してきて稼働情報が「打止
」になっているか調へ、「打止」であればその打止状態
にあるパチンコ機の台番号と稼働データのうち、打止回
数。
When the abort release switch 433 is turned on, the local processing unit transmits an abort table data request command to the central processing unit (step 51071). When the central processing unit receives this command, it sequentially reads out the P machine files from the main storage M-MEM and checks whether the operation information is "discontinued". If it is "discontinued", it discontinues it. The machine number and operation data of the pachinko machine in the state, the number of times it has been discontinued.

出玉数、アウト玉数、差数、持玉数、売上および客数を
ローカル処理装置へ送信する(ステップ5230↓〜5
2303)。
Send the number of balls out, number of out balls, number of differences, number of balls held, sales, and number of customers to the local processing device (steps 5230↓~5
2303).

すると、ローカル処理装置は、第148図に示すような
打止台解除表示画面を表示し、その画面上に打止台とそ
の稼働データを1台1行宛で表示する(ステップS 1
072)。
Then, the local processing device displays a stop table release display screen as shown in FIG. 148, and displays the stop table and its operation data on one line for each stop table (step S1).
072).

一方、中央処理装置は、打止台の稼働データ送信後、ス
テップ52305で全パチンコ機について2機ファイル
内の稼働情報のチエツクを終了したか否か判定し、未終
了ならステップ52301へ戻って次のパチンコ機につ
いて稼働情報が「打止」か否か調べていく。そして、全
台について稼働情報のチエツクが終了すると、打止台デ
ータ終了コマンドをローカル処理装置へ送信する(ステ
ップ32304)。すると、ローカル処理装置は、第1
.48図の打止台解除表示画面の第16行目、第17行
目に、打止解除をすべき台番号を入力するよう促すメツ
セージを表示させる(ステップS1073)。
On the other hand, after transmitting the operation data of the stopping machines, the central processing unit determines in step 52305 whether or not it has finished checking the operation information in the two machine files for all pachinko machines, and if it has not finished, returns to step 52301 to proceed to the next step. We will investigate whether the operation information for this pachinko machine is "discontinued" or not. When the check of the operation information for all machines is completed, a stop table data end command is sent to the local processing device (step 32304). Then, the local processing device
.. On the 16th and 17th lines of the stop-stop release display screen in FIG. 48, a message prompting the operator to input the machine number for which stop-stop cancellation is to be performed is displayed (step S1073).

オペレータがこのメツセージを見てテンキー425より
打止解除したいパチンコ機の台番号または「0」 (「
O」を入力すると全台が指定される)を入力すると、ロ
ーカル処理装置は打止解除要求コマンドを送信する(ス
テップS 1074)。中央処理装置がそのコマンドを
受信すると、打止中のパチンコ機全台について打止を解
除するか否か判定する(ステップ52306,5230
7)。
When the operator sees this message, press the numeric keypad 425 to press the machine number or "0"("0") of the pachinko machine you wish to cancel.
If you input "O", all machines are designated), the local processing device transmits a cancellation cancellation request command (step S1074). When the central processing unit receives the command, it determines whether or not to cancel the suspension of all pachinko machines that have been suspended (steps 52306 and 5230).
7).

ここで、全台指定でないときは、ステップ52308へ
進んで指定されたパチンコ機のファイルを読み込んで稼
働情報が「打止」か否か判定する(ステップ52309
)。そして、稼働情報が「打止J以外のときはステップ
52314ヘジヤンプして結果を送信し、稼働情報が「
打止」のときは指定パチンコ機へ“′打止解除″パケッ
トを送信した後、”ACK”を受信したか否か判定し、
”ACK”を受信したときは当該P機ファイルの稼働情
報を「打止」から「フリー」に変更してから打止解除結
果をローカル処理装置へ送信する(ステップ52310
〜52314)。
Here, if all machines are not specified, proceed to step 52308, read the file of the specified pachinko machine, and determine whether the operation information is "discontinued" (step 52309).
). Then, if the operation information is other than "Stop J", jump to step 52314 and send the result, and the operation information will be "
In the case of "Cancellation", after transmitting a "Cancel Cancellation" packet to the designated pachinko machine, determine whether or not "ACK" has been received;
When "ACK" is received, the operation information of the P machine file is changed from "discontinued" to "free" and the discontinuation cancellation result is sent to the local processing device (step 52310).
~52314).

一方、ステップ52307で全台指定と判定したときは
、ステップ52315へ移行してP機ファイルを順番に
読み込んでその中の稼働情報が「打止jか否か判定する
。そして、「打止」以外のときはステップ52320へ
ジャンプし、「打止Jのときはステップ52316〜5
2319で該当パチンコ機へ″打止解除″パケットを送
信した後、” A CK”を受信したか否か判定し、′
ACK”を受信したときは当該P機ファイルの稼働情報
を「打止」から「フリー」に変更してからステップ52
320へ進んで全台について終了したか判定する。ここ
で、未終了ならステップ52315へ戻って上記手順を
繰返し、全台について終了したならステップ52314
へ移行して打止解除結果を送信する。すると、ローカル
処理装置は打止解除結果を受信して第148図の打止台
解除表示画面上の該当パチンコ機の最後欄に表示されて
いるr打」なる文字を「空」に変更して終了する(ステ
ップ51075)。
On the other hand, if it is determined in step 52307 that all machines are specified, the process moves to step 52315, reads the P machine files in order, and determines whether the operation information therein is "discontinued j". Otherwise, jump to step 52320, and if "Stop J", jump to steps 52316-5.
2319, after sending a "cancellation cancellation" packet to the corresponding pachinko machine, it is determined whether or not "A CK" has been received;
ACK" is received, change the operation information of the P machine file from "discontinued" to "free" and then step 52
Proceeding to step 320, it is determined whether the processing has been completed for all units. Here, if it is not completed, return to step 52315 and repeat the above procedure, and if it is completed for all units, step 52314
, and send the cancellation cancellation result. Then, the local processing device receives the cancellation cancellation result and changes the character "r stroke" displayed in the last column of the corresponding pachinko machine on the cancellation table display screen in FIG. 148 to "blank". The process ends (step 51075).

第110図にはコンソール412上に設けられた強制終
了スイッチ434をオンしてパチンコ機100を強制終
了させるときの中央処理装置CPUとローカル処理袋W
413における処理手順を示す。
FIG. 110 shows the central processing unit CPU and the local processing bag W when turning on the forced termination switch 434 provided on the console 412 to forcefully terminate the pachinko machine 100.
413 shows the processing procedure in 413.

強制終了スイッチ434がオンされると、ローカル処理
装置413は、強制終了メニュー画面をCRT表示表示
411に表示させる(ステップ51081)。この画面
を見ながらテンキー425を使ってパチンコ機、発行機
および精算機のうち強制終了させたい端末の種類を示す
番号を入力すると、ローカル処理装置は指定された端末
の種類に対応したユニット強制終了画面を表示させる(
ステップ51082)。
When the forced termination switch 434 is turned on, the local processing device 413 displays a forced termination menu screen on the CRT display 411 (step 51081). While looking at this screen, use the numeric keypad 425 to enter the number indicating the type of terminal you want to forcefully terminate among pachinko machines, issuing machines, and payment machines, and the local processing device will forcefully terminate the unit corresponding to the specified terminal type. Display the screen (
Step 51082).

第149図には、このうちパチンコ機の強制終了画面を
示す。なお、発行機の強制終了画面と精算機の強制終了
画面は、第149図のパチンコ機強制終了画面の第5行
目に表示されている「パチンコ機」なる文字が、それぞ
れ「発行機Jまたは「精算機jに変わるのみである。
FIG. 149 shows a forced termination screen for the pachinko machine. In addition, on the forced termination screen of the issuing machine and the forced termination screen of the payment machine, the characters "Pachinko machine" displayed on the fifth line of the forced termination screen of the Pachinko machine in Figure 149 are changed to "Issuing machine J or ``It will only change to payment machine J.

この画面を見ながらコンソールのテンキー425により
強制終了させたいパチンコ機の台番号または「O」 (
全台指定)を入力すると、ローカル処理袋W413は中
央処理袋[CPUヘパチンコ機強制終了要求コマンドを
送信してから表示を営業中を示すノーマル表示画面(第
147図)に変更する(ステップ51083,8108
4)。
While looking at this screen, use the console's numeric keypad 425 to press the machine number or "O" (
When the local processing bag W413 sends a forced termination request command to the central processing bag [CPU, specifying all machines), the local processing bag W413 changes the display to the normal display screen (Fig. 147) indicating that the machine is in operation (step 51083, 8108
4).

中央処理装置は、ローカル処理装置からのパチンコ機強
制終了要求コマンドを受信すると、全台指定か否か判定
し、イエスならP機ファイルを順番に読み込んで、ファ
イル内の稼働情報が遊技中または中断中か否かチエツク
する(ステップ52341〜52343)。そして、ノ
オならステップ52347ヘジヤンプし、イエスならP
機ファイルから読み出したそのパチンコ機内に現存する
カードの番号からカード発行通し番号を逆算してその通
し番号を使ってカードファイルを読み込む(ステップ5
2344,52345)。それから。
When the central processing unit receives a pachinko machine forced termination request command from the local processing unit, it determines whether all pachinko machines are specified, and if yes, reads the P machine files in order, and the operation information in the file indicates that the game is in progress or has been interrupted. Check whether it is inside (steps 52341 to 52343). Then, if no, jump to step 52347, and if yes, P
The card issuing serial number is calculated backwards from the number of the card existing in the pachinko machine read from the machine file, and the card file is read using that serial number (Step 5)
2344, 52345). after that.

ファイルの玉数、金額の欄にP機ファイルから読み出し
たデータを入れ、カード状態を「フリー」に変更した後
(ステップ52346)、全台について終了したか否か
判定しくステップ52347)、ノオならステップ52
342へ戻って上記手順を繰り返す。
After entering the data read from the P machine file into the number of balls and amount fields in the file and changing the card status to "free" (step 52346), it is determined whether or not it has been completed for all machines (step 52347), and if it is no. Step 52
Return to step 342 and repeat the above procedure.

そして、全台について稼働情報のチエツク、カードファ
イルの更新が終了したならステップ52348へ移行し
て全NAUに対して゛1強強制終了画面種別)″パケッ
トを送信した後、NAUからの応答を受信したならその
結果をローカル処理装置へ送信する(ステップ5234
8〜52350)。すると、ローカル処理装置は、オペ
レータが第155図の表示メニュー選択画面を見て特定
台表示を選択し第157図の特定台表示画面または第1
58図の全台表示画面を表示したときに、対応するパチ
ンコ機の最後の欄に1強制終了中であることを示すr強
jなる文字を表示させる(ステップ51085,510
86)。
Then, after checking the operation information and updating the card files for all machines, the process moves to step 52348, and after transmitting the "1 force forced termination screen type" packet to all NAUs, a response is received from the NAUs. If so, send the result to the local processing device (step 5234
8-52350). Then, when the operator looks at the display menu selection screen in FIG. 155 and selects the specific machine display, the local processing device displays the specific machine display screen in FIG. 157 or the first
When the all-machine display screen in Figure 58 is displayed, the characters 1 r strong j indicating that the machine is being forcibly terminated are displayed in the last column of the corresponding pachinko machine (steps 51085 and 510).
86).

一方、上記ステップ52341で全台指定でないと判定
すると、指定されたパチンコ機へ“強制終了要求(個別
)”パケットを送信する(ステップ52351)。そし
て、そのパチンコ機から“ACK”が戻ってきたか否か
判定しくステップ52352)、戻ってこなければステ
ップ52350へジャンプし、ACKが戻ってきたとき
は、当該パチンコ機のデータをP機ファイルより読み込
んで、稼働情報が「遊技中」または「中断中」になって
いるか調べ、イエスなら上記手続き52344〜823
46と同一の手順に従ってカードファイルを更新してか
らステップ52350へ移行して強制終了結果をローカ
ル処理装置へ送信する(ステップ52353〜5235
7)。
On the other hand, if it is determined in step 52341 that all the pachinko machines are not designated, a "forced termination request (individual)" packet is sent to the designated pachinko machines (step 52351). Then, it is determined whether "ACK" has been returned from the pachinko machine (step 52352), and if not, the process jumps to step 52350, and when the ACK has been returned, the data of the pachinko machine is read from the P machine file. Check whether the operation information is "Playing" or "Interrupted", and if yes, follow the steps 52344-823 above.
After updating the card file according to the same procedure as in step 46, the process moves to step 52350 and sends the forced termination result to the local processing device (steps 52353 to 5235).
7).

第111図にはコンソール412上に設けられた強制終
了スイッチ434をオンして発行機200を強制終了さ
せるときの中央処理袋WCPUとローカル処理袋W41
3における処理手順を示す。
FIG. 111 shows the central processing bag WCPU and the local processing bag W41 when turning on the forced termination switch 434 provided on the console 412 to forcefully terminate the issuing machine 200.
3 shows the processing procedure in step 3.

強制終了スイッチ434がオンされると、ローカル処理
装置413は、強制終了メニュー画面をCRT表示装置
411に表示させる(ステップ51091)。この画面
を見ながらテンキー425を使ってパチンコ機、発行機
および精算機のうち強制終了させたい端末の種類を示す
番号を入力するとローカル処理装置は指定された端末の
種類に対応した発行機強制終了画面を表示させる(ステ
ップ51092)。
When the forced termination switch 434 is turned on, the local processing device 413 causes the CRT display device 411 to display a forced termination menu screen (step 51091). While looking at this screen, use the numeric keypad 425 to enter the number that indicates the type of terminal you want to forcefully terminate among pachinko machines, issuing machines, and payment machines, and the local processing device will forcefully terminate the issuing machine corresponding to the specified terminal type. The screen is displayed (step 51092).

なお、発行機の強制終了画面は、第149図のパチンコ
機強制終了画面の第5行目に表示されている「パチンコ
機」なる文字が「発行機Jに変わるのみである。
It should be noted that, on the forced termination screen of the issuing machine, the characters "Pachinko machine" displayed on the fifth line of the forced termination screen of the Pachinko machine shown in FIG. 149 are simply changed to "Issuing machine J."

この画面を見ながらコンソールのテンキー425により
強制終了させたい発行機の台番号または「O」 (全台
指定)を入力すると、ローカル処理装置は中央処理装置
へ発行機強制終了要求コマンドを送信してから表示を営
業中を示すノーマル表示画面(第147図)に変更する
(ステップ51083.51084)。
While looking at this screen, use the console's numeric keypad 425 to enter the machine number of the issuing machine you want to force terminate or "O" (specify all machines), and the local processing unit will send a command to request forced termination of the issuing machine to the central processing unit. The display is changed from 51083 to 51084 to a normal display screen (FIG. 147) indicating that business is open.

中央処理装置は、ローカル処理装置からの発行機強制終
了要求コマンドを受信すると、全台指定か否か判定し、
イエスなら全NAUに対して“強制終了要求(種別)″
パケットを送信し、その応答を受信したならその結果を
ローカル処理装置へ送信する(ステップ52361〜5
2364)。
When the central processing unit receives the issuing machine forced termination request command from the local processing unit, the central processing unit determines whether all units are specified or not.
If yes, “forced termination request (type)” for all NAUs
Send the packet, and if the response is received, send the result to the local processing device (steps 52361-5
2364).

すると、ローカル処理装置はオペレータが第155図の
メニュー選択画面を見て発行機データ表示を選択して第
160図の発行機データ表示画面を表示したときに、対
応する発行機の最後の欄に、強制終了中であることを示
す「強」なる文字を表示させる(ステップ51095,
5LO96)。
Then, when the operator looks at the menu selection screen in Figure 155 and selects the issue machine data display screen to display the issue machine data display screen in Figure 160, the local processing device selects the last column of the corresponding issue machine. , displays the character "strong" indicating that it is being forcibly terminated (step 51095,
5LO96).

一方、上記ステップ52341で全台指定でないと判定
すると、指定された発行機へパ強制終了要求(個別)″
パケットを送信する(ステップ82365)。そして、
その発行機から’ A CK ”が戻ってきたか否か判
定しくステップS 2366)、戻ってこなければステ
ップ52364ヘジヤンプし、ACKが戻ってきたとき
は、ステップ82367で当該発行機のファイル内の稼
働情報を強制終了に変更してからステップ52360へ
移行して強制終了結果をローカル処理装置へ送信する。
On the other hand, if it is determined in step 52341 that all machines are not specified, a forced termination request (individual) to the specified issuing machine
Send the packet (step 82365). and,
It is determined whether or not 'ACK' has been returned from the issuing machine (Step S2366). If not, the process jumps to Step 52364. If ACK has been returned, the operating information in the file of the issuing machine is checked in Step S2366). After changing to forced termination, the process moves to step 52360, and the forced termination result is sent to the local processing device.

第112図にはコンソール412上に設けられた強制終
了スイッチ434をオンして精算機300を強制終了さ
せるときの中央処理袋[CPUとローカル処理装置41
3における処理手順を示す。
FIG. 112 shows a central processing unit [CPU and local processing unit 41
3 shows the processing procedure in step 3.

強制終了スイッチ434がオンされると、ローカル処理
装置413は、強制終了メニュー画面をCRT表示表示
411に表示させる(ステップ51101)。この画面
を見ながらテンキー425を使ってパチンコ機100、
発行機200および精算機300のうち強制終了させた
い端末の種類を示す番号を入力するとローカル処理装置
は指定された端末の種類に対応した精算機強制終了画面
を表示させる(ステップ51102)。その後の手順は
、第111図の発行機の強制終了の場合と同様である。
When the forced termination switch 434 is turned on, the local processing device 413 displays a forced termination menu screen on the CRT display 411 (step 51101). While looking at this screen, use the numeric keypad 425 to select pachinko machine 100,
When a number indicating the type of terminal of the issuing machine 200 and the payment machine 300 is desired to be forcibly terminated is input, the local processing device displays a payment machine forced termination screen corresponding to the designated terminal type (step 51102). The subsequent procedure is the same as in the case of forced termination of the issuing machine in FIG. 111.

第113図には第110図の処理によって強制終了され
たパチンコ機100の強制終了状態を解除する場合の中
央処理装置CPUとローカル処理装置413の処理手順
を示す。
FIG. 113 shows the processing procedure of the central processing unit CPU and the local processing unit 413 when canceling the forced termination state of the pachinko machine 100 that has been forcibly terminated by the process of FIG. 110.

コンソール4↓2上の終了解除スイッチ435をオンす
るとローカル処理装置413は強制終了メニュー画面と
類似の強制終了解除メニュー画面をCRT表示装置41
1上に表示させる(ステップ511.11 )。この画
面を見ながらテンキー425によりパチンコ機を指定す
る番号を入力すると、ローカル処理装置は強制終了台デ
ータ要求コマンドを中央処理装置CPUへ送信する(ス
テップS 1112)。
When the termination cancellation switch 435 on the console 4↓2 is turned on, the local processing device 413 displays a forced termination cancellation menu screen similar to the forced termination menu screen on the CRT display device 41.
1 (step 511.11). When a number specifying a pachinko machine is entered using the numeric keypad 425 while looking at this screen, the local processing device transmits a forced termination machine data request command to the central processing unit CPU (step S1112).

中央処理装置は、このコマンドを受信するとパチンコ機
ファイルを順番に読み込んで、稼働情報が「強制終了中
」か否か調べて、強制終了中なら当該パチンコ機のファ
イルデータのうち台番号と打止回数、出玉数、アウト玉
数、差数、持玉数、売上げおよび客数をローカル処理装
置へ送信する(ステップ52381〜S 2383)。
When the central processing unit receives this command, it reads the pachinko machine files in order, checks whether the operation information is "forced termination", and if it is forced termination, it records the machine number and termination among the file data of the relevant pachinko machine. The number of times, the number of balls put out, the number of out balls, the number of differences, the number of balls held, sales, and the number of customers are transmitted to the local processing device (steps 52381 to S2383).

すると、ローカル処理装置は、第150図に示すような
パチンコ機終了解除用画面上に1台1行宛で強制終了パ
チンコ機のデータを表示する(ステップ51113)。
Then, the local processing device displays the data of the forced termination pachinko machines in one line for each pachinko machine on the pachinko machine termination cancellation screen as shown in FIG. 150 (step 51113).

一方、中央処理装置は、強制終了台データを送信した後
、全台について稼働情報のチエツクを終了したか判定し
くステップ52384)、ノオならステップ52381
へ戻り、イエスなら次のステップ52385へ移行して
表示データ終了コマンドをローカル処理装置へ送信する
。すると、ローカル処理装置は強制終了を解除すべき台
番号を入力するように促す強制終了解除メツセージを第
150図の画面の第17.18行目に表示させる(ステ
ップ51114)。オペレータがこの画面を見ながらテ
ンキー425より台番号または全台指定の「O」を入力
すると、パチンコ機強制終了解除要求コマンドを中央処
理装置へ送信する(ステップ51115)。
On the other hand, after sending the forced termination machine data, the central processing unit determines whether it has finished checking the operating information for all machines (step 52384); if no, step 52381).
If the answer is YES, the process moves to the next step 52385 and sends a display data end command to the local processing device. Then, the local processing device displays a forced termination cancellation message on lines 17 and 18 of the screen shown in FIG. 150, prompting the user to input the machine number for which the forced termination is to be canceled (step 51114). When the operator inputs the machine number or "O" to designate all machines from the numeric keypad 425 while looking at this screen, a pachinko machine forced termination cancellation request command is sent to the central processing unit (step 51115).

中央処理装置がこのコマンドを受信すると、全台指定か
否か判定し、全台指定のときは全N A U330に対
して″強制終了解除(種別)″パケットを送信した後、
NAUからの応答(ACKまたはNAK)を受信して結
果をローカル処理装置へ送信する(ステップ52386
〜52389)。
When the central processing unit receives this command, it determines whether all units are specified, and if all units are specified, it sends a "forced termination cancellation (type)" packet to all N A U 330, and then
Receive a response (ACK or NAK) from the NAU and send the result to the local processing unit (step 52386)
~52389).

一方、ステップ52386で全台指定でないと判定した
ときはステップ52391へ移行して指定されたパチン
コ機へ゛′強制終了解除(個別)″パケットを送信する
。それから、” A CK ”を受信したか否か判定し
くステップ52392)、イエスならステップ5239
3で当該パチンコ機のファイル内の稼働情報を「フリー
」に変更してから、またノオならそのままステップ82
389ヘジヤンプして、結果をローカル処理装置へ送信
する。ローカル処理装置は、中央処理装置から強制終了
解除が成功したという送信を受けると、該パチンコ機の
表示データ行の最後の欄にある状態表示を「強」からフ
リーを示す「空」に変更する(ステップ81116)。
On the other hand, if it is determined in step 52386 that all machines are not specified, the process moves to step 52391 and a ``forced termination cancellation (individual)'' packet is sent to the specified pachinko machines.Then, it is determined whether or not ``ACK'' has been received. If yes, step 52392), if yes, step 5239
Change the operation information in the file of the relevant pachinko machine to "free" in step 3, and then proceed to step 82 if it is no.
389 hejump and send the result to the local processing unit. When the local processing unit receives a message from the central processing unit that the forced termination has been successfully canceled, the local processing unit changes the status display in the last column of the display data line of the pachinko machine from "Strong" to "Empty" indicating free. (Step 81116).

第1工4図には第111図の処理によって強制終了させ
た発行機200の強制終了状態を解除させる場合のまた
、第115図には第112図の処理によって強制終了さ
せた精算機300の強制終了状態を解除させる場合の中
央処理装置CPUとローカル処理装置413の処理手順
を示す。
Fig. 4 of the 1st work shows the case of canceling the forced termination state of the issuing machine 200 which was forcibly terminated by the process of Fig. 111, and Fig. 115 shows the case of canceling the forced termination state of the issuing machine 200 which was forcibly terminated by the process of Fig. 112. The processing procedure of the central processing unit CPU and the local processing unit 413 when canceling the forced termination state is shown.

これらの手順は、第113図のパチンコ機強制終了解除
手順と略同−である。第114図の処理では発行機ファ
イルを検索して強制終了台データとして発行機の台番号
と受入金額、預り金額、払出金額1発行回数およびモニ
タ情報2を送信してCRT表示装置に第151図に示す
ような発行機強制終了解除用画面を表示させる。
These procedures are approximately the same as the pachinko machine forced termination cancellation procedure shown in FIG. In the process shown in FIG. 114, the issuing machine file is searched and the machine number of the issuing machine, received amount, deposited amount, payout amount 1 number of issuances, and monitor information 2 are sent as forced termination machine data to the CRT display device as shown in FIG. 151. Display the issuing machine forced termination cancellation screen as shown in .

一方、第115図の処理では精算機ファイルを検索して
強制終了台データとして精算機の台番号と精算金額、精
算玉数、精算回数およびモニタ情報2を送信してCRT
表示装置に第152図に示すような精算機強制終了解除
用画面を表示させる。
On the other hand, in the process shown in FIG. 115, the payment machine file is searched, and the machine number of the payment machine, the payment amount, the number of coins paid, the number of payments, and the monitor information 2 are sent as forced termination machine data, and the data is sent to the CRT.
A screen for canceling forced termination of the payment machine as shown in FIG. 152 is displayed on the display device.

なお、発行機と精算機の強制終了解除処理では処理が成
功すると1表示画面の各行の末尾にある状態表示を稼働
停止中を示す「停jから空白(表示なし)に変更するよ
うになっている。
In addition, in the process of canceling the forced termination of the issuing machine and payment machine, if the process is successful, the status display at the end of each line on the single display screen will change from ``Stop,'' indicating that the operation is stopped, to blank (no display). There is.

第116図には停電発生時の中央処理装置cpUの処理
手順を示す。
FIG. 116 shows the processing procedure of the central processing unit cpU when a power outage occurs.

停電が発生すると電源が切り換えられて中央処理装置は
補助電源装置409によってバックアップされて動作し
、まず動作モードが「営業中」もしくは「閉店中」か否
か判定しくステップ52441.52442)、中央処
理装置の動作モードが「営業中」または「閉店中」以外
(準備中、停電立上げ中)のときは何もせずにそのまま
システムダウンに至る。一方、モードが「営業中」また
は「閉店中」のときは、各ユニットからの定時データの
収集を停止しモードを「停電対策中」に変更した後、停
電対策中であることをローカル処理装置に送信する(ス
テップ52443〜52445)。すると、ローカル処
理装置はCRT表示装置に停電メツセージを表示する(
ステップ5l141)。一方、中央処理装置は2機ファ
イルを読み込んで稼働情報をチエツクし、稼働情報が「
遊技中」のものはP機ファイル内のカード番号から発行
通し番号を逆算し、それを用いてカートファイルを検索
してカード状態を「フリー」に書き換える(ステップ8
2446〜52450)。その後、P機ファイル内の稼
働情報を「フリー」に書き換えてから全パチンコ機につ
いて終了したか否か判定し、イエスならコモンデータエ
リアのデータ(設定値ファイル、停電フラグを含む)と
カードファイル2機ファイル、発行機ファイル、精算機
ファイルをハードディスクHDDにセーブし、モードを
「閉店」に変更してからシステムダウンに到る(ステッ
プ52450−82458)。
When a power outage occurs, the power is switched and the central processing unit operates with backup from the auxiliary power supply 409. First, it is determined whether the operating mode is "open" or "closed" (steps 52441 and 52442), and the central processing unit If the operating mode of the device is other than "open for business" or "closed" (under preparation, during power outage startup), the system will go down without doing anything. On the other hand, when the mode is "Open" or "Closed," regular data collection from each unit is stopped, the mode is changed to "Power outage countermeasures in progress," and then the local processing unit (Steps 52443 to 52445). The local processing unit then displays a power outage message on the CRT display (
Step 5l141). Meanwhile, the central processing unit reads the two machine files and checks the operating information, and the operating information is "
If the card is currently being played, calculate the issued serial number from the card number in the P machine file, use it to search the cart file, and rewrite the card status to ``Free'' (Step 8).
2446-52450). After that, after rewriting the operation information in the P machine file to "free", it is determined whether or not all pachinko machines are finished. If yes, the data in the common data area (including the setting value file and power outage flag) and the card file 2 The machine file, issuing machine file, and payment machine file are saved on the hard disk HDD, the mode is changed to "closed", and the system goes down (steps 52450-82458).

停電メツセージ表示中口−カル処理装置は、中央処理装
置へモードの問合わせを行ない、モードが「閉店」にな
ると、終了メツセージをCRT表示装置に表示させる(
ステップS工142〜S1144)  、。
The power outage message display Nakaguchi-Cal processing unit inquires of the mode to the central processing unit, and when the mode becomes "closed," displays a termination message on the CRT display (
Step S142-S1144).

第117図には中央処理装置CPUによるシステムのエ
ラー回復処理の手順を示す。
FIG. 117 shows the procedure for error recovery processing of the system by the central processing unit CPU.

中央処理装置は内部のタイマから30秒ごとに割込みが
入ってくると、第117図のエラー回復処理を開始し、
先ずモードが「営業中」か否か判定しくステップ524
6↓)、営業中以外のときは何もせず、営業中ならステ
ップ52462へ進んでNAUステータスを伝送アドレ
スファイルより読み出してNAUが正常か異常かを示す
ビットNORMALが“O”(=異常)になっているか
否か判定する(ステップ52462,52463)。な
お、NAUステータスのNORMALビットは、第96
図の初期化フロー中のステップ52016.32017
で゛′回線テスト″パケットに対する応答があったもの
が ulu(=:正常)にされるので、応答のないNA
UのNORMALビットは“O”のままになっている。
When the central processing unit receives an interrupt from the internal timer every 30 seconds, it starts the error recovery process shown in Figure 117.
First, it is determined whether the mode is "in business" or not in step 524.
6↓), do nothing when it is not in business, and if it is in business, proceed to step 52462, read the NAU status from the transmission address file, and set the bit NORMAL, which indicates whether the NAU is normal or abnormal, to "O" (= abnormal). It is determined whether or not (steps 52462, 52463). Note that the NORMAL bit of the NAU status is the 96th
Steps 52016.32017 during the initialization flow in the diagram
If there is a response to the ``Line Test'' packet, it will be marked as ulu (=: normal), so if there is no response, NA
The NORMAL bit of U remains "O".

そこでNORMALビットが“0”と判定すると、第1
↓8図(A)のNAU回復処理ステップ52471〜5
2475を実行する。一方、NAUステータスのNOR
MALビットが“1パならステップ52464へ進んで
ユニットファイル内のモニタ情報1を読み出して1−一
クンバス異常を示すビットが“1”になっているが調べ
る。そして、41″なら第118図(B)のトークンバ
ス回復処理ステップ82481〜52486を実行し、
′O”なら次のステップ52466でモニタ情報工内の
ホットコードエラーを示すビットが“1”になっている
か調べ、′1”なら第119図のホットコード回復処理
52491〜52498を実行する。一方、ステップ5
2466でノオ(ホットコードエラーなし)と判定する
と、ステップ52467へ進み、ここで、モニタ情報1
内のユニット異常ビットが1″になっているか調べ、“
1″なら第120図のユニット回復処理52501〜5
2509を実行する。
Therefore, if the NORMAL bit is determined to be “0”, the first
↓NAU recovery processing steps 52471 to 5 in Figure 8 (A)
2475. On the other hand, NOR of NAU status
If the MAL bit is "1pa", proceed to step 52464, read monitor information 1 in the unit file, and check whether the bit indicating the 1-1 Kunbus abnormality is "1".If the MAL bit is "41", then the process shown in FIG. 118 ( Execute token bus recovery processing steps 82481 to 52486 of B),
If 'O', then in the next step 52466, it is checked whether the bit indicating a hot code error in the monitor information processing is set to '1', and if '1', hot code recovery processing 52491 to 52498 in FIG. 119 is executed. On the other hand, step 5
If it is determined in step 2466 that there is no hot code error (no hot code error), the process advances to step 52467, where the monitor information 1 is
Check whether the unit error bit in “
1″, unit recovery processing 52501 to 5 in Figure 120
Execute 2509.

第118図(A)に示すNAU回復処理では、先ずNA
UステータスのNORMALビットが“O”になってい
るNAUに対して、6回線モニタチエツク“パケットを
送信して、そのタイマをセットし、タイムオーバー前に
応答“ACK”を受信したなら当該NAUステータスの
NORMALビットを11111に変更してから割込表
示コマンドをローカル処理装置へ送ってCRT表示画面
上にNAUが回復したことを知らせるメツセージを表示
させ、かつプリンタ408で同様の内容をプリントアウ
トさせ、また一定時間内に” A CK ”が戻ってこ
なかったときには何もせずに元のルーチンへ戻る(ステ
ップ52471〜52474)。
In the NAU recovery process shown in FIG. 118(A), first
If a 6-line monitor check packet is sent to a NAU whose U status NORMAL bit is set to "O" and the timer is set, and a response "ACK" is received before the timeout, the corresponding NAU status is After changing the NORMAL bit to 11111, an interrupt display command is sent to the local processing unit to display a message informing that the NAU has been recovered on the CRT display screen, and print out the same content on the printer 408, and If "ACK" is not returned within a certain period of time, the routine returns to the original routine without doing anything (steps 52471 to 52474).

第118図(B)に示すトークンバス回復処理では、先
ずトークンバス異常ビットが“l”になっているユニッ
トに対して″ユニットモニタチエツク″パケットを送信
してタイマをセットする(ステップ52481,524
82)。それからタイムオーバーを起こす前に応答“A
CK″を受信したか否か判定しくステップ52483,
52484)、時間内に“A CK ”を受信したとき
は当該ユニットファイル内のモニタ情報1のトークンバ
ス異常ビットを110 F+にクリアしてから当該ユニ
ットへ″リスタート″パケットを送信して再起動させる
(ステップ52485,52486)+第119図に示
すホットコード回復処理では、先ずホットコードエラー
のあったユニットへ“ユニット復旧データ”パケットを
送信してタイマをセットする(ステップ52491,5
2492) 、。
In the token bus recovery process shown in FIG. 118(B), first, a "unit monitor check" packet is sent to the unit whose token bus error bit is "L" and a timer is set (steps 52481 and 524).
82). Then respond “A” before causing a timeout.
Step 52483 to determine whether or not CK'' has been received;
52484), when receiving "ACK" within the time, clears the token bus error bit of monitor information 1 in the relevant unit file to 110 F+, then sends a "restart" packet to the relevant unit and restarts it. (Steps 52485, 52486)+In the hot code recovery process shown in FIG.
2492),.

それから、タイムオーバーを起こす前に“ACK”を受
信したなら、″ユニット復旧データ″パケットに入れた
ホットコードと、” A CK ”パケットで返送され
てきたホットコードとを比較する(ステップ52493
〜52495)。そして、ホットコードが不一致のとき
はステップ32498へ移行して当該ユニットファイル
内のモニタ情報1のホットコードエラービットに111
 Itを立て、またホットコードが一致したときは当該
ユニットへ″リスタート”パケットを送信してから当該
ユニットのモニタ情報1のホットコードエラービットを
クリアする(ステップ52496,52497)。
Then, if "ACK" is received before a time-over occurs, the hot code placed in the "unit recovery data" packet is compared with the hot code returned in the "ACK" packet (step 52493).
~52495). If the hot codes do not match, the process moves to step 32498 and the hot code error bit of monitor information 1 in the unit file is set to 111.
It is set, and when the hot codes match, a "restart" packet is sent to the unit, and then the hot code error bit of the monitor information 1 of the unit is cleared (steps 52496, 52497).

ステップ52496で“リスタート”パケットを送信す
るのは、ステップ52491で送信した゛ユニット復旧
データ″パケットを受信したユニットが強制終了状態に
なるためである。
The reason why the "restart" packet is transmitted in step 52496 is that the unit that has received the "unit recovery data" packet transmitted in step 52491 is forced to terminate.

第120図に示すユニット回復処理では、先ずユニット
異常のあったユニットへ“ユニットモニタチエツク”パ
ケットを送信してタイマをセットする(ステップ525
01,52502)。それから、タイムオーバーを起こ
す前に” A CK ”を受信したならパユニット復旧
データ′″パケットを送信して再びタイマをセットする
(ステップ52503〜52506)。そして、このパ
ケット送信に対しても所定時間内に” A CK ”が
返ってきたときは、当該ユニットへ″リスタート″パケ
ットを送信して、ユニットを再起動させる(ステップ5
2507〜52509)。
In the unit recovery process shown in FIG. 120, first, a "unit monitor check" packet is sent to the unit in which the unit has an abnormality, and a timer is set (step 525).
01,52502). Then, if "ACK" is received before a time-over occurs, the unit recovery data'' packet is transmitted and the timer is set again (steps 52503 to 52506). When "A CK" is returned, a "restart" packet is sent to the unit to restart the unit (step 5).
2507-52509).

第121図には閉店スイッチ422とそれに続いてシス
テム終了スイッチ423をオンしたときの中央処理装置
CPUとローカル処理装置4↓3の処理手順を示す。
FIG. 121 shows the processing procedure of the central processing unit CPU and local processing unit 4↓3 when the closing switch 422 and subsequently the system termination switch 423 are turned on.

コンソール412上の閉店スイッチ422がオンされる
と、ローカル処理装置は、受付有効スイッチ(表示メニ
ュースイッチ、印字メニュースイッチおよび終了スイッ
チ)の−覧を示す閉店メニュー画面を表示してから閉店
要求コマンドを中央処理装置へ送信する(ステップ51
151,51152)。
When the closing switch 422 on the console 412 is turned on, the local processing device displays a closing menu screen showing a list of reception enable switches (display menu switch, print menu switch, and exit switch), and then issues a closing request command. Send to central processing unit (step 51
151,51152).

このコマンドを中央処理装置が受信すると、P機ファイ
ルを順番に読み込んで稼働情報が「遊技中」か否かチエ
ツクし、「遊技中」のパチンコ機の台番号を記憶してか
ら全台について検索が終了したか否か判定し、ノオなら
ステップS 2511゜へ戻って上記手続きを繰り返す
(ステップS25工2〜52514)。そして、全台に
ついて稼働情報のチエツクが終了したなら、ステップ5
2515へ移行して遊技中のパチンコ機があったか否か
判定し、あったらそのパチンコ機の台番号をローカル処
理装置へ送信し、また遊技中のパチンコ機がなければA
CKをローカル処理装置へ送信し、かつ全NAUへ″閉
店″パケットを送信してローカル処理装置からのコマン
ド待ち状態となる(ステップ52516〜2518)。
When the central processing unit receives this command, it reads the P machine files in order, checks whether the operating information is "playing", memorizes the machine number of the pachinko machine that is "playing", and then searches for all machines. It is determined whether or not the process has been completed, and if the answer is NO, the process returns to step S2511° and the above procedure is repeated (steps S25 and 2 to 52514). Once the operation information has been checked for all machines, step 5
2515, it is determined whether there is a pachinko machine in use, and if there is, the machine number of that pachinko machine is sent to the local processing device, and if there is no pachinko machine in use, it is determined whether or not there is a pachinko machine in use.
CK to the local processing device, and a "close" packet to all NAUs to wait for a command from the local processing device (steps 52516-2518).

一方、ローカル処理装置は台番号または“A CK ”
を受信すると、遊技中のパチンコ機があるときはシステ
ム終了スイッチを無効にし、かつその遊技中の台番号を
表示してからノーマル表示画面(第147図)へ変更し
てキー人力待ちとなる(ステップ51153〜5115
6)。オペレータが誤って営業中に閉店スイッチをオン
してしまった場合、この表示を見て誤りに気付くことが
できる。また、遊技中のパチンコ機がないときは画面は
変化しないので、システム終了スイッチ423をオンす
ると、第153図システム終了画面(第工〜第4行まで
)を表示する(ステップ51157)。この画面の指示
に従ってテンキー425より「1」を入力すると、ロー
カル処理装置は中央処理装置へシステム終了要求コマン
ドを送信する(ステップ81158)。中央処理装置が
このコマンドを受信すると1日の営業データからなる日
報ファイルを作成してハードディスクHDDにセーブし
、停電保存ファイルをハードディスクから消去したのち
、システム終了メツセージデータを送信する(ステップ
52520〜52522)。これをローカル処理装置が
受信して、システム終了画面上に電源をオフするように
指示するメツセージ(第153図第9行目参照)を表示
する(ステップ51159)。
On the other hand, the local processing device has a machine number or “ACK”
When this message is received, if there is a Pachinko machine being played, the system end switch is disabled, the number of the machine being played is displayed, the screen is changed to the normal display screen (Fig. 147), and the machine waits for key input ( Steps 51153-5115
6). If an operator accidentally turns on the closing switch during business hours, he or she can notice the mistake by looking at this display. Furthermore, since the screen does not change when there is no pachinko machine in play, when the system end switch 423 is turned on, the system end screen (from the fourth line to the fourth line) shown in FIG. 153 is displayed (step 51157). When "1" is input from the numeric keypad 425 in accordance with the instructions on this screen, the local processing unit transmits a system termination request command to the central processing unit (step 81158). When the central processing unit receives this command, it creates a daily report file consisting of one day's business data, saves it on the hard disk HDD, erases the power outage save file from the hard disk, and then sends system termination message data (steps 52520 to 52522). ). The local processing device receives this and displays a message (see line 9 in FIG. 153) instructing to turn off the power on the system termination screen (step 51159).

第122図には、コンソール412上に設けられたカー
ト復活スイッチ424をオンしたときのカード復活処理
の手順を示す。
FIG. 122 shows the procedure of card restoration processing when the cart restoration switch 424 provided on the console 412 is turned on.

カード復活スイッチがオンされると、ローカル処理装置
413は、第154図に示すようなカード復活画面上に
カートの番号の入力を促すメツセージ(第1行〜第3行
目)を表示する(ステップ51161)。この画面を見
て破損したカードの発行通し番号(カードに印字されて
いる)をテンキー425より入力すると、ローカル処理
装置は中央処理装置へカード発行通し番号を入れたカー
ド復活データ要求コマンドを送信する(ステップ511
62)。すると、中央処理装置は送られてきたカード発
行通し番号を使ってカードファイルを検索して当該カー
ドのデータを読込み、カード状態が「遊技中」か否か判
定する(ステップS2531、 52532)  。
When the card restoration switch is turned on, the local processing device 413 displays a message (first to third lines) prompting the user to input the cart number on the card restoration screen as shown in FIG. 154 (step 51161). When you look at this screen and enter the issued serial number of the damaged card (printed on the card) using the numeric keypad 425, the local processing unit sends a card recovery data request command containing the card issued serial number to the central processing unit (step 511
62). Then, the central processing unit searches the card file using the sent card issuing serial number, reads the data of the card, and determines whether the card status is "playing" (steps S2531, 52532).

ここで、カード状態が「遊技中」ならカードファイル内
の所在端末台番号を使ってパチンコ機ファイルを検索し
て当該パチンコ機のデータを読み込んでパチンコ機ファ
イル内の玉数、金額データを当該カードの現在値とし、
また、カード°状態が「遊技中」以外のときはカードフ
ァイル内の玉数、金額データをカードの現在値とし、そ
れらの値をカードデータとしてカードファイルから読み
込んだ来歴データとともにローカル処理装置へ送信する
(ステップ52533〜52536)。
Here, if the card status is "playing", search the pachinko machine file using the location terminal number in the card file, read the data of the pachinko machine, and transfer the number of balls and amount data in the pachinko machine file to the card. Let the current value of
In addition, when the card status is other than "playing", the number of balls and amount data in the card file are used as the card's current value, and these values are sent as card data to the local processing device along with the history data read from the card file. (Steps 52533-52536).

すると、ローカル処理装置は上記カード復活画面(第1
5411ffl)上に、受信したカートデータと来歴を
表示する(ステップ31163)。そこで、カード復活
スイッチ424を再度オンすると、カート復活要求コマ
ンドを送信する(ステップ51164)。このコマンド
を中央処理装置が受信するとカード発行袋[1700へ
先ず、年月日、識別コート等の初期値を入れた「初期値
送信」ファンクションを送り、それに対する対応(「正
常終了」ファンクション)を受信すると、今度はカード
番号とカード発行通し番号、発行時の金額を入れた「カ
ード復活」ファンクションを送り、復活カードの発行処
理を開始させる(ステップ52537〜52339)。
Then, the local processing device displays the card revival screen (first
5411ffl), the received cart data and history are displayed (step 31163). Therefore, when the card restoration switch 424 is turned on again, a cart restoration request command is transmitted (step 51164). When the central processing unit receives this command, it first sends the "Initial value transmission" function containing initial values such as date, identification code, etc. to the card issuing bag [1700], and then takes a response ("Normal end" function). When received, a "card restoration" function containing the card number, card issuing serial number, and amount at the time of issuance is sent, and the restoration card issuance process is started (steps 52537 to 52339).

カード発行装置700において復活カードの発行が終了
すると結果(正常終了ファンクション)を送信してくる
ので、中央処理装置はそれを受信してから復活終了をロ
ーカル処理装置へ送信する(ステップ52540,52
541)。すると、ローカル処理装置はカード復活画面
上に結果を表示してから画面をノーマル表示画面に変更
する(ステップS↓165)。なお、上記「カード復活
」ファンクションを受信したカード発行装置700は、
発行年月日と発行通し番号を印字し、再発行穴を開けた
復活カードを発行する(金額は印字しない)。
When the card issuing device 700 finishes issuing the resurrection card, it sends the result (normal completion function), so the central processing unit receives it and then transmits the completion of the resurrection to the local processing device (steps 52540, 52).
541). Then, the local processing device displays the result on the card restoration screen and then changes the screen to the normal display screen (step S↓165). Note that the card issuing device 700 that has received the above-mentioned "card revival" function,
A reinstatement card will be issued with the date of issue and serial number printed and a reissue hole punched (the amount will not be printed).

第123図にはコンソール412の背面に設けられたテ
ストカードスイッチ437がオンされたときのテストカ
ード発行処理の手順を示す。
FIG. 123 shows the procedure for the test card issuing process when the test card switch 437 provided on the back of the console 412 is turned on.

テストカードスイッチ437がオンされると、ローカル
処理装置413がCRT表示装置41↓の画面上にテス
トカート発行メツセージを表示してから、テストカード
発行要求コマンドを中央処理装置CPUへ送信する(ス
テップ51171゜51172) このコマンドを受信すると中央処理装置はカード発行装
置700へ年月日、識別コード等の初期値を入れた「初
期値送信」ファンクションを送り、それに対する応答(
「正常終了」ファンクション)を受信すると、「テスト
カード発行ノファンクションを送信する(ステップ82
542〜52544)。カード発行袋W700における
テストカードの発行処理が終了すると、結果を送信して
くるのでその結果を受信したのち、テストカード発行終
了をローカル処理装置へ送信する(ステップ52545
.52546)。すると、ローカル処理装置はテストカ
ードの発行結果をCRT表示装置に表示させた後、表示
画面をノーマル表示に変更して終了する(ステップ31
173)。
When the test card switch 437 is turned on, the local processing unit 413 displays a test card issue message on the screen of the CRT display unit 41↓, and then sends a test card issue request command to the central processing unit CPU (step 51171).゜51172) Upon receiving this command, the central processing unit sends the "Initial value transmission" function containing initial values such as date, identification code, etc. to the card issuing device 700, and sends a response (
``Successful completion'' function) is received, ``Send test card issue function'' (step 82) is received.
542-52544). When the test card issuance processing in the card issuance bag W700 is completed, the result is sent. After receiving the result, the test card issuance completion is transmitted to the local processing device (step 52545).
.. 52546). Then, the local processing device displays the test card issuance result on the CRT display device, changes the display screen to normal display, and ends the process (step 31).
173).

なお、カード発行装置は「テストカード発行」ファンク
ションを受信すると、発行年月日と金額の代わりにテス
トカードなる文字を印字し、磁気記録部にはテストカー
ド発行ファンクションコードを記録したテストカードを
発行する(パンチ穴は穿孔しない)。
In addition, when the card issuing device receives the "test card issue" function, it prints the characters "test card" instead of the issue date and amount, and issues a test card with the test card issue function code recorded in the magnetic recording section. (Do not punch holes).

第124図には、タイマ割込みによる営業統計データの
表示フローを示す。
FIG. 124 shows a flow of displaying sales statistical data using a timer interrupt.

この実施例の管理装置400では、タイマTMRから所
定の周期で割込み信号が入ってくると第124図の営業
統計データ表示フローを開始し。
In the management device 400 of this embodiment, when an interrupt signal is received from the timer TMR at a predetermined period, the sales statistics data display flow shown in FIG. 124 is started.

先ずローカル処理袋[413が営業統計データ要求コマ
ンドを中央処理袋[CPUへ送信する(ステップ511
81)、このコマンドを中央処理装置が受信するとパチ
ンコ機ファイルを順番に読み込んで、先ず定時データで
収集した稼働データのうち出玉数とアウト玉数と売上げ
の累計を算出する(ステップ52551.52552)
。次に、ファイル内の稼働情報を調べて「遊技中」なら
遊技台数を1だけ加算し、また、稼働情報が「打止中」
なら打止台数を1だけ加算する(ステップS2553〜
52556)。それから、全パチンコ機について検索が
終了したか判定しくステップ52557)、ノオならス
テップ52551へ戻って上記手続きを繰返し、全台に
ついて終了した時点で次のステップ52558で出玉数
とアウト玉数の累積値から割数(アウト玉数÷出玉数)
を、また遊技台数の累積値から稼働率(遊技台数÷パチ
ン1機総台数)をそれぞれ算出してから、営業統計デー
タとして、売上げと割数、稼働率、打止台数をローカル
処理装置へ送信する(ステップ52558.52559
)。
First, the local processing module 413 sends a sales statistics data request command to the central processing module 413 (step 511).
81) When the central processing unit receives this command, it reads the pachinko machine files in order and first calculates the cumulative total of the number of balls played, number of balls out, and sales from the operation data collected as regular data (steps 52551 and 52552). )
. Next, check the operating information in the file and if it is "playing", add 1 to the number of gaming machines, and if the operating information is "discontinued"
If so, add 1 to the number of discontinued units (step S2553~
52556). Then, it is determined whether the search has been completed for all pachinko machines (step 52557), and if no, the process returns to step 52551 and the above procedure is repeated, and when the search is completed for all pachinko machines, the next step 52558 is to accumulate the number of balls played and the number of balls out. Divide the value (number of out balls ÷ number of balls out)
After calculating the operating rate (number of gaming machines ÷ total number of pachinko machines) from the cumulative value of the number of gaming machines, the sales, percentage, operating rate, and number of discontinued machines are sent to the local processing device as business statistical data. (step 52558.52559
).

一方、ローカル処理装置は中央処理装置から営業統計デ
ータを受は取ると、CRT表示装置411の表示中の画
面(第147図参照)の第20行目にそれらのデータを
表示させる(ステップ5L182)。
On the other hand, when the local processing unit receives the sales statistical data from the central processing unit, it displays the data on the 20th line of the screen currently being displayed on the CRT display unit 411 (see Figure 147) (step 5L182). .

第125図には打止台表示処理の手順を示す。FIG. 125 shows the procedure for displaying a stop table.

コンソール412上の表示メニュースイッチ428がオ
ンされると、ローカル処理装置413はCRT表示装置
411に第155図に示すような表示メニュー選択画面
を表示させる(ステップ5L201)。
When the display menu switch 428 on the console 412 is turned on, the local processing device 413 causes the CRT display device 411 to display a display menu selection screen as shown in FIG. 155 (step 5L201).

この画面を見ながらオペレータがテンキー425により
打止台表示を選択すると、ローカル処理装置が中央処理
装置に対して打止台表示データ要求コマンドを送信する
(ステップ51202)。
When the operator selects the stop table display using the numeric keypad 425 while looking at this screen, the local processing unit transmits a stop table display data request command to the central processing unit (step 51202).

このコマンドを受信すると中央処理装置はパチンコ機フ
ァイルを順番に読み込んで、ファイル内の稼働情報が「
打止中」になってるか調べ、「打止中」になっているも
のについてのみその稼働データのうち、打止回数と出玉
数、アウト玉数、差数、持玉数、売上および客数を打止
台データとして台番号とともにローカル処理装置へ送信
する(ステップ52561〜S 2563)。
When this command is received, the central processing unit reads the pachinko machine files in order, and the operating information in the file is
Check whether it is marked as "Closed", and check the operation data for those that are marked as "Canceled", including the number of balls stopped, number of balls played, number of balls out, number of differences, number of balls held, sales, and number of customers. is transmitted to the local processing device together with the machine number as stop machine data (steps 52561 to S2563).

すると、ローカル処理装置は各打止台データを第156
図に示すように打止台表示画面上に1台1行宛で順次表
示させていく(ステップ51203)。一方、中央処理
装置はパチンコ機ファイル内の全台について打止台の検
索を終了すると(ステップ52564) 、表示データ
終了をローカル処理装置へ送信し、ローカル処理装置が
これを受信するとキー人力待ちとなる(ステップ825
65、5L204)。
Then, the local processing device stores each stop table data as the 156th
As shown in the figure, each vehicle is sequentially displayed in one line on the stop table display screen (step 51203). On the other hand, when the central processing unit finishes searching for a stopping machine for all the pachinko machines in the pachinko machine file (step 52564), it sends a display data end message to the local processing device, and when the local processing device receives this, it waits for key human power. becomes (step 825
65, 5L204).

第126図には特定台表示処理の手順を示す。FIG. 126 shows the procedure for specific machine display processing.

コンソール412上の表示メニュースイッチ428がオ
ンされると、ローカル処理装置1413はCRT表示装
置411に第155図に示すような表示メニュー選択画
面を表示させる(ステップ51201)。
When the display menu switch 428 on the console 412 is turned on, the local processing device 1413 causes the CRT display device 411 to display a display menu selection screen as shown in FIG. 155 (step 51201).

この画面を見ながらオペレータがテンキーにより特定台
表示を選択すると、ローカル処理装置が中央処理装置C
PUに対して特定台表示データ要求コマンドを送信する
(ステップ51211)。
When the operator selects a specific machine display using the numeric keypad while looking at this screen, the local processing unit changes to the central processing unit C.
A specific unit display data request command is sent to the PU (step 51211).

CRT表示表示411上に、第157図に示す特定台デ
ータ表示画面の第1〜第3行目に台番号を指定(入力)
するように促すメツセージを表示させる(ステップS 
L 212)。この画面を見ながらオペレータがテンキ
ー425より台番号を入力すると、ローカル処理装置は
中央処理装置へ台番号を入れた特定台表示データ要求コ
マンドを送信する(ステップS 1213)。
Specify (input) the machine number on the 1st to 3rd lines of the specific machine data display screen shown in FIG. 157 on the CRT display 411.
Display a message prompting you to do so (Step S)
L 212). When the operator inputs the machine number using the numeric keypad 425 while looking at this screen, the local processing unit transmits a specific machine display data request command including the machine number to the central processing unit (step S1213).

中央処理装置はこのコマンドを受信すると、台番号から
通し番号を算出し、その通し番号を使ってパチンコ機フ
ァイルを検索し該当パチンコ機の稼働データを読み出す
(ステップ52571,52572)。そして、この稼
働データのうち打止回数と出玉数、アウト玉数5差数、
持玉数、売上げおよび客数をローカル処理装置へ送信す
る(ステップS 2573)。すると、ローカル処理装
置は上記特定台データ表示画面(第157図)の第5行
目に受信したデータを表示する(ステップ5L214)
。その後、中央処理装置からローカル処理装置へデータ
終了コマンドを送信して終了する(ステップ52574
,5L215)。
When the central processing unit receives this command, it calculates a serial number from the machine number, searches the pachinko machine file using the serial number, and reads out the operation data of the corresponding pachinko machine (steps 52571, 52572). Of this operating data, the number of balls stopped, the number of balls out, the number of out balls 5 difference,
The number of balls held, sales, and number of customers are transmitted to the local processing device (step S2573). Then, the local processing device displays the received data on the fifth line of the specific machine data display screen (Fig. 157) (step 5L214).
. Thereafter, a data end command is sent from the central processing unit to the local processing unit and the process ends (step 52574).
, 5L215).

第127図にはパチンコ機全台のデータ表示処理の手順
を示す。
FIG. 127 shows the procedure for data display processing for all pachinko machines.

コンソール412上の表示メニュースイッチ428がオ
ンされると、ローカル処理袋[413はCRT表示装置
411に第155図に示すような表示メニュー選択画面
を表示させる(ステップS1221)  。
When the display menu switch 428 on the console 412 is turned on, the local processing module 413 causes the CRT display device 411 to display a display menu selection screen as shown in FIG. 155 (step S1221).

この画面を見ながらオペレータがテンキーにより全台表
示を選択すると、ローカル処理装置が中央処理袋[CP
Uに対して全台表示データ要求コマンドを送信する(ス
テップ51222)。このコマンドを受信すると中央処
理装置はパチンコ機ファイルを順番に読み込んで、ファ
イル内の稼働データのうち打止回数と出玉数、アウト玉
数、差数、持玉数、売上げおよび客数を台番号とともに
送信する(ステップ5258L、52582)。
When the operator selects display of all units using the numeric keypad while looking at this screen, the local processing unit will display the central processing bag [CP
An all-machine display data request command is sent to U (step 51222). When this command is received, the central processing unit reads the pachinko machine file in order, and records the number of stoppages, number of balls played, number of balls out, number of differences, number of balls held, sales, and number of customers from the operating data in the file. (Steps 5258L, 52582).

すると、ローカル処理装置はパチンコ機全台のデータを
第158図に示すように全台表示画面上に1台1行宛で
順次表示させていく(ステップ51223)。一方、中
央処理装置はパチンコ機ファイル内の全台について検索
を終了すると(ステップ52583)、表示データ終了
をローカル処理装置へ送信し、ローカル処理装置がこれ
を受信するとキー人力待ちとなる(ステップ52584
゜51224)。
Then, the local processing device sequentially displays the data of all the pachinko machines on the all-machine display screen, one line per machine, as shown in FIG. 158 (step 51223). On the other hand, when the central processing unit finishes searching for all the pachinko machines in the pachinko machine file (step 52583), it sends an indication that the display data has ended to the local processing unit, and when the local processing unit receives this, it waits for key human power (step 52584).
゜51224).

第128図にはアウト玉数よりも出玉数の方が多いいわ
ゆる赤台(赤字台)のデータ表示処理の手順を示す。
FIG. 128 shows the procedure for displaying data in the so-called red range (red range), where the number of balls out is greater than the number of out balls.

コンソール412上の表示メニュースイッチ428がオ
ンされると、ローカル処理装置4↓3はCRT表示表示
411に第155図に示すような表示メニュー選択画面
を表示させる(ステップ51231)。
When the display menu switch 428 on the console 412 is turned on, the local processing device 4↓3 causes the CRT display 411 to display a display menu selection screen as shown in FIG. 155 (step 51231).

この画面を見ながらオペレータがテンキー425により
赤台表示を選択すると、ローカル処理装置が中央処理袋
[CPUに対して赤台表示データ要求コマンドを送信す
る(ステップ51232)。
When the operator selects red stand display using the numeric keypad 425 while looking at this screen, the local processing unit transmits a red stand display data request command to the central processing unit (CPU) (step 51232).

このコマンドを受信すると中央処理装置はパチンコ機フ
ァイルを順番に読み込んで(ステップ52591)、フ
ァイル内の差数が負(マイナス)か否か判定する(ステ
ップ52592)、そして差数が負のパチンコ機の稼働
データのみローカル処理装置へ送信する(ステップ52
593)。
Upon receiving this command, the central processing unit sequentially reads the pachinko machine files (step 52591), determines whether the number of differences in the file is negative (step 52592), and Send only the operating data of
593).

すると、ローカル処理装置は各赤台データを第159図
に示すように赤台表示画面上に1台上行宛で順次表示さ
せていく(ステップ51233)。
Then, the local processing device sequentially displays each red stand data on the red stand display screen in order of the one above the red stand as shown in FIG. 159 (step 51233).

一方、中央処理装置はパチンコ機ファイル内の全台につ
いて赤台の検索を終了すると(ステップ52594)、
表示データ終了をローカル処理装置へ送信し、ローカル
処理装置がこれを受信するとキー人力待ちとなる(ステ
ップ52595,51234)。
On the other hand, when the central processing unit finishes searching for red machines for all machines in the pachinko machine file (step 52594),
The end of display data is sent to the local processing device, and when the local processing device receives it, it waits for key input (steps 52595, 51234).

第129図にはアウト玉数よりも出玉数の方が少ないい
わゆる熱台(黒字台)のデータ表示処理の手順を示す。
FIG. 129 shows the procedure of data display processing for a so-called hot table (black table) in which the number of balls put out is smaller than the number of out balls.

この風合表示フローは第128図の赤台表示フローとほ
ぼ同一の手順に従って行われる。異なるのはステップ5
2592で差数が負か否か判定する代わりに差数が正(
プラス)か否か判定してプラスのパチンコ機の稼働デー
タのみ送信する(ステップ52602)点のみである。
This texture display flow is performed according to almost the same procedure as the red stand display flow in FIG. 128. The difference is step 5
2592, instead of determining whether the difference number is negative or not, the difference number is positive (
The only difference is that it is determined whether the positive value is positive or not, and only the operation data of the positive pachinko machine is transmitted (step 52602).

表示画面の構成も第159図の赤台表示画面と同一であ
る。
The configuration of the display screen is also the same as the red stand display screen in FIG. 159.

第130図に発行機データ表示処理の手順を、また第1
60図にはこれによってCRT表示装置4工1上に表示
される発行機データ表示画面の構成例を示す。
Figure 130 shows the procedure for displaying issuing machine data, and the first
FIG. 60 shows an example of the structure of the issuing machine data display screen displayed on the CRT display device 4 and 1.

この発行機データ表示処理フローは第127図のパチン
コ機の全台データ表示処理フローとほぼ同一の手順に従
って実行される。台番号ととともに発行機データとして
画面に表示されるのは、受入金額と預り金額、払出金額
、発行回数およびモニタである。ここで、モニタとはモ
ニタ情報1に対応するものである。なお、全発行機のデ
ータ表示後に、それらの合計が第18行目に表示される
This issuing machine data display processing flow is executed according to almost the same procedure as the entire pachinko machine data display processing flow of FIG. 127. Displayed on the screen as issuing machine data along with the machine number are the received amount, deposited amount, disbursed amount, number of issues, and monitor. Here, the monitor corresponds to monitor information 1. Note that after displaying the data for all issuing machines, the total is displayed on the 18th line.

合計データの算出は中央処理装置が行なう(ステップ8
2623)。
The central processing unit calculates the total data (step 8
2623).

第131図に精算機データ表示処理の手順を、また第1
61図にはこれによってCRT表示装置411上に表示
される精算機データ表示画面の構成例を示す。
Figure 131 shows the procedure for displaying payment machine data, and the first
FIG. 61 shows an example of the structure of the payment machine data display screen displayed on the CRT display device 411.

この精算機データ表示処理フローは第130図の発行機
のデータ表示処理フローとほぼ同一の手順に従って実行
される。台番号ととともに精算機データとして画面に表
示されるのは、精算金額、精算玉数、精算回数およびモ
ニタである。
This payment machine data display processing flow is executed according to almost the same procedure as the issuing machine data display processing flow of FIG. 130. Displayed on the screen as payment machine data along with the machine number are the payment amount, number of coins paid, number of payments, and monitor.

第132図には、パチンコ店全体の営業データすなわち
全ユニットに関する稼働データのうち主要なものについ
ての合計を表示する営業データ表示処理の手順を、また
第162図にはこれによって表示される営業データ表示
画面の構成例を示す。
Fig. 132 shows the procedure for displaying sales data for the entire pachinko parlor, that is, the total of the main pieces of operating data for all units, and Fig. 162 shows the sales data displayed by this process. An example of the configuration of a display screen is shown.

コンソール412上の表示メニュースイッチ428がオ
ンされると、ローカル処理装置413はCRT表示装置
411に第155図に示すような表示メニュー選択画面
を表示させる(ステップ51271)。
When the display menu switch 428 on the console 412 is turned on, the local processing device 413 causes the CRT display device 411 to display a display menu selection screen as shown in FIG. 155 (step 51271).

この画面を見ながらオペレータがテンキーにより営業デ
ータ表示を選択すると、ローカル処理装置が中央処理装
置cPUに対して営業データ表示データ要求コマンドを
送信する(ステップ51272)。このコマンドを受信
すると中央処理装置はパチンコ機ファイルを順番に読み
込んで、稼働データのうち出玉数とアウト玉数、差数お
よび持玉数の各合計を算出する(ステップ52641〜
52643)。次に発行機ファイルを順番に読み出して
稼働データのうち預り金額と発行回数の合計をそれぞれ
算出して(ステップ32644〜52646)から、精
算機ファイルを順番に読み出して稼働データのうち精算
金額と精算玉数および精算回数の合計を算出する(ステ
ップ52647〜52649)。しかる後、算出した合
計データを営業データとしてローカル処理装置へ送ff
lし、全データを送信した後、表示データ終了コマンド
を送信する(ステップ52650,52651)。
When the operator selects sales data display using the numeric keypad while looking at this screen, the local processing unit transmits a sales data display data request command to the central processing unit cPU (step 51272). Upon receiving this command, the central processing unit sequentially reads the pachinko machine files and calculates the total number of balls played, number of balls out, number of differences, and number of balls held in the operating data (steps 52641 to 52641).
52643). Next, the issuance machine files are read in order to calculate the deposited amount and the number of issuances among the operating data (steps 32644 to 52646), and then the payment machine files are read in order and the total amount of deposit and number of issuances are calculated among the operating data. The total number of balls and the number of payments are calculated (steps 52647 to 52649). After that, the calculated total data is sent to the local processing device as sales dataff
After transmitting all data, a display data end command is transmitted (steps 52650, 52651).

一方、ローカル処理装置は、営業データを受信すると、
第162図に示す営業データ表示画面をCRT表示表示
411に表示させ1表示データ終了コマンドを受信して
キー人力待ちとなる(ステップ31273.51274
)。なお、上記営業データのうちカード発行回数はカー
ド発行枚数として、また精算回数はカード精算枚数とし
てそれぞれ表示する。
On the other hand, when the local processing device receives the sales data,
The sales data display screen shown in FIG. 162 is displayed on the CRT display 411, a 1 display data end command is received, and the key is awaited (steps 31273 and 51274).
). Of the above business data, the number of cards issued is displayed as the number of cards issued, and the number of payments is displayed as the number of cards cleared.

第133図には特定カードのデータを表示させる特定カ
ートデータ表示処理の手順を示す。
FIG. 133 shows the procedure of a specific cart data display process for displaying data of a specific card.

コンソール412上の表示メニュースイッチ428がオ
ンされると、ローカル処理装置413はCRT表示装置
411に第155図に示すような表示メニュー選択画面
を表示させる(ステップ5L281)。
When the display menu switch 428 on the console 412 is turned on, the local processing device 413 causes the CRT display device 411 to display a display menu selection screen as shown in FIG. 155 (step 5L281).

この画面を見ながらオペレータがテンキー425により
特定カード表示を選択すると、第163図に示す特定カ
ードデータ表示画面の第工〜第3行目に台番号を指定(
入力)するように促すメツセージを表示させる(ステッ
プ51282)。この画面を見ながらオペレータがテン
キー425より台番号を入力すると、ローカル処理装置
は中央処理装置CPUA台番号を入れた特定カード表示
データ要求コマンドを送信する(ステップ51283)
。すると、中央処理装置はカード番号からカート発行通
し番号を逆算し、その発行通し番号を使ってカードファ
イルを読み込み、カードファイル内のカード状態が「遊
技中」か否か判定する(ステップ52661〜5266
3)。そして、カード状態が「遊技中」以外のときはカ
ードファイル内の玉数および金額を当該カードの現在値
とし、またカード状態が「遊技中」のときはカードファ
イル内のカード所在端末台番号を使ってパチンコ機ファ
イルを検索して当該パチンコ機ファイル内のデータ(玉
数、金額)をカートの現在値とする(ステップ5266
4〜S 2666)。カードファイルはカード状態が遷
移するときに書き換えられるので、遊技中においてはカ
ードファイル内の稼働データは現実の値と一致しないた
めである。
When the operator selects a specific card display using the numeric keypad 425 while looking at this screen, the machine number is specified in the 3rd to 3rd lines of the specific card data display screen shown in FIG.
51282). When the operator inputs the machine number using the numeric keypad 425 while looking at this screen, the local processing unit sends a specific card display data request command containing the central processing unit CPUA machine number (step 51283).
. Then, the central processing unit calculates the cart issued serial number from the card number, reads the card file using the issued serial number, and determines whether the card status in the card file is "playing" (steps 52661 to 5266).
3). When the card status is other than ``Playing'', the number of balls and amount in the card file are used as the current value of the card, and when the card status is ``Playing'', the card location terminal number in the card file is used as the current value of the card. to search for a pachinko machine file and set the data (number of balls, amount) in the relevant pachinko machine file as the current value of the cart (step 5266
4-S 2666). This is because the card file is rewritten when the card state changes, so the operating data in the card file does not match the actual value during the game.

次に、中央処理装置はステップ52664,52666
で決定したカート現在値をカードファイルから読み出し
たカード来歴データとともにローカル処理装置へ送信し
てから表示データ終了コマンドを送信する(ステップ5
2667.52668)。すると、ローカル処理装置は
第163図の特定カードデータ表示画面の第4行以下に
、指定されたカードのデータを表示させてから表示デー
タ終了コマンドを受信してキー人力待ちとなる(ステッ
プ51284.51285)。
Next, the central processing unit performs steps 52664 and 52666.
The current cart value determined in step 5 is sent to the local processing device along with the card history data read from the card file, and then a display data end command is sent (step 5).
2667.52668). Then, the local processing device displays the data of the specified card in the fourth line and below of the specific card data display screen in FIG. 163, receives the display data end command, and waits for key input (step 51284. 51285).

第134図には発行した全カードに関するデータを表示
させる全カード明細表示処理の手順を、また第164図
にはそれによって表示される全カート明細表示画面の構
成例を示す。
FIG. 134 shows the procedure for displaying all card details for displaying data regarding all issued cards, and FIG. 164 shows an example of the structure of the entire cart details display screen displayed thereby.

コンソール412上の表示メニュースイッチ428がオ
ンされると、ローカル処理装置413はCRT表示装置
411に第155図に示すような表示メニュー選択画面
を表示させる(ステップ5129↓)。
When the display menu switch 428 on the console 412 is turned on, the local processing device 413 causes the CRT display device 411 to display a display menu selection screen as shown in FIG. 155 (step 5129↓).

この画面を見ながらオペレータがテンキーによりカート
明細表示を選択すると、ローカル処理装置が中央処理装
置CPUに対してカード明細表示データ要求コマンドを
送信する(ステップ51292)。このコマンドを受信
すると中央処理装置はパチンコ機ファイルを順番に読み
込んで、ファイル内の稼働情報が「打止中」になってる
か調べ、カード状態が「遊技中」になっているか調べる
(ステップ52671,52672)。そして、カート
状態が「遊技中」以外のときはカードファイル内の玉数
および金額を当該カードの現在とし、またカート状態が
「遊技中」のときはカードファイル内のカード所在端末
台番号を使ってパチンコ機ファイルを検索して当該パチ
ンコ機ファイル内のデータ(玉数、金額)をカードの現
在とする(ステップ52673〜52675)。
When the operator selects cart details display using the numeric keypad while looking at this screen, the local processing unit transmits a card details display data request command to the central processing unit CPU (step 51292). When this command is received, the central processing unit reads the pachinko machine files in order, checks whether the operation information in the file is "discontinued", and checks whether the card status is "playing" (step 52671). , 52672). When the cart status is other than ``Playing'', the number of balls and amount in the card file are used as the current value of the card, and when the cart status is ``Playing'', the card location terminal number in the card file is used. The pachinko machine file is retrieved and the data (number of balls, amount) in the pachinko machine file is set as the current value of the card (steps 52673 to 52675).

次に中央処理装置はステップ52673.52675で
決定したカード現在値とカードファイルから読み出した
カード状態およびカード所在端末台番号をローカル処理
装置へ送信する(ステップ52676)。すると、ロー
カル処理装置は第164図に示すように各カードのデー
タのうち残り金額と持玉数と所在端末台番号またはカー
ト状態をカード1枚宛1行で表示していく (ステップ
5L293)。
Next, the central processing unit transmits the current card value determined in steps 52673 and 52675, the card status read from the card file, and the card location terminal number to the local processing unit (step 52676). Then, as shown in FIG. 164, the local processing device displays the remaining amount, number of balls, location terminal number, or cart status of each card in one line for each card (step 5L293).

一方、中央処理装置は、ステップ52676でカードデ
ータを送信した後、カードの総発行数を「1」だけ加算
するとともにカードの残り金額と持玉数の累計をそれぞ
れ算出し、さらに各カード状態にあるカードの枚数を算
出した後、全カードについて終了したか否か判定する(
ステップ52677.52678)。そして、未終了な
らステップ52671へ戻って上記手続きを繰返し、終
了なら次のステップ52679でカードの合計データを
ローカル処理装置へ送信して第164図の全カード明細
表示画面上に表示させた後、表示データ終了コマンドを
送信する(ステップ52379.52680,5129
4.5L295)。
On the other hand, after transmitting the card data in step 52676, the central processing unit adds "1" to the total number of cards issued, calculates the remaining amount of the card and the cumulative total of the number of balls held, and further updates each card state. After calculating the number of cards, determine whether all cards have been completed (
Step 52677.52678). If not completed, return to step 52671 and repeat the above procedure; if completed, the next step 52679 transmits the card total data to the local processing device and displays it on the all card details display screen in FIG. 164, Send display data end command (steps 52379, 52680, 5129
4.5L295).

第135図にはカードデータの合計を表示させるカード
データ合計表示処理の手順を示す。
FIG. 135 shows the procedure of card data total display processing for displaying the total card data.

この合計表示処理は第134図に示すカード明細表示処
理とほぼ同一の手順に従って実行される(ステップ5L
301〜51304,52681〜S 2689)。異
なるのはステップ52676を省略つまり各カードごと
のデータを送信しないで、全カードの合計データのみ送
信する(ステップ52686)点のみである。一方、こ
れに対応してCRT表示装置411の画面上に合計デー
タ(第164図の全カード明細表示画面の下半分と同一
)のみ表示させる。
This total display process is executed according to almost the same procedure as the card details display process shown in FIG. 134 (step 5L).
301-51304, 52681-S 2689). The only difference is that step 52676 is omitted, that is, data for each card is not sent, but only the total data of all cards is sent (step 52686). On the other hand, correspondingly, only the total data (same as the lower half of the all card details display screen in FIG. 164) is displayed on the screen of the CRT display device 411.

第136図には中断中のカードのデータと中断したパチ
ンコ機の台番号を表示させる中断カードデータ表示処理
の手順を、また第165図にはこれによってCRT表示
装置411に表示される中断カードデータ表示画面の構
成例を示す。
FIG. 136 shows the procedure for displaying interrupted card data and the machine number of the interrupted pachinko machine, and FIG. 165 shows the interrupted card data displayed on the CRT display device 411. An example of the configuration of a display screen is shown.

コンソール412上の表示メニュースイッチ428がオ
ンされると、ローカル処理装置413はCRT表示装置
411に第155図に示すような表示メニュー選択画面
を表示させる(ステップ51311)。
When the display menu switch 428 on the console 412 is turned on, the local processing device 413 causes the CRT display device 411 to display a display menu selection screen as shown in FIG. 155 (step 51311).

この画面を見ながらオペレータがテンキーにより中断カ
ード表示を選択すると、ローカル処理装置が中央処理装
置CPUに対して中断カード表示データ要求コマンドを
送信する(ステップ51312)。このコマンドを受信
すると中央処理装置はパチンコ機ファイルを順番に読み
込んで、ファイル内のカード状態が「中断中」になって
いるか調べる(ステップ51691,51692)。こ
こで、カード状態が「中断中」になっているものについ
ては、当該カードの来歴データ欄1番目から読み出した
時刻(中断発生時刻)とタイマの現在時刻とを比較して
経過時間(差)を算出する(ステップ52693)。そ
して、この経過時間とカート番号およびカートデータの
うち金額と持玉数、所在端末台番号および来歴データ欄
の中断時刻をローカル処理装置へ送信する(ステップ5
1694)。すると、ローカル処理装置は第165図に
示すように各カードのデータを工行宛表示させていく 
(ステップS l 313)。また、中央処理装置はフ
ァイル内の全カートについて中断カートのデータ抽出が
終了すると、表示データ終了コマンドを送信し、ローカ
ル処理装置がこれを受信するとキー人力待ちとなる(ス
テップ52695.52696.51314)。
When the operator selects the interruption card display using the numeric keypad while looking at this screen, the local processing unit transmits an interruption card display data request command to the central processing unit CPU (step 51312). Upon receiving this command, the central processing unit sequentially reads the pachinko machine files and checks whether the card status in the file is "suspended" (steps 51691, 51692). Here, for cards whose card status is "suspended", the elapsed time (difference) is calculated by comparing the time read from the first history data column of the card (interruption occurrence time) and the current time of the timer. is calculated (step 52693). Then, the elapsed time, cart number, amount of money, number of balls held in the cart data, location terminal number, and interruption time in the history data field are transmitted to the local processing device (step 5
1694). Then, the local processing device displays the data of each card to the construction company as shown in Figure 165.
(Step Sl 313). Furthermore, when the central processing unit finishes extracting data of the suspended carts for all carts in the file, it sends a display data end command, and when the local processing unit receives this, it waits for key human power (steps 52695.52696.51314). .

この実施例の管理装置400においては中断カードデー
タを表示させることで中断中のパチンコ機の中断経過時
間があまりにも長くなっているパチンコ機に対しては、
管理装置から“強制終了要求″パケットを送り、次に“
強制終了解除″パケットを送信することで中断状態を解
除させ、フリー状態へ移行させることができる。これに
よって、−人の遊技客が複数枚のカードを使って複数の
パチンコ機を専有する状態を回避し、すべてのパチンコ
機を多くの遊技客に解放し遊技の公平を図ることが可能
となる。しかもこの実施例のシステムでは中断中のカー
ドのデータをカードファイル内に記憶しているので、中
断中のパチンコ機を他の遊技客に解放したとしても当該
遊技客の利益は全く損なわれることがない。
In the management device 400 of this embodiment, by displaying the interruption card data, for pachinko machines whose interruption elapsed time has become too long,
Send a “forced termination request” packet from the management device, then “
By sending a ``forced termination release'' packet, the suspended state can be canceled and the transition to a free state can be made. This makes it possible to avoid this problem and open up all pachinko machines to as many players as possible to make the game fairer.Furthermore, in the system of this embodiment, the data of the suspended card is stored in the card file. Even if a suspended pachinko machine is released to another player, the interests of the player will not be harmed at all.

なお、上記実施例では中断中のパチンコ機の経過時間を
中断カードデータ表示画面上に表示させるようにしてい
るが、パチンコ機ファイルの中から稼働情報が「中断中
」になっているもののデータを表示させる中断台表示処
理と画面を用意し、中断中のパチンコ機ファイル内のカ
ード番号を用いてカードファイルより中断時刻を読み出
して経過時間を計算し、表示させるようにすることも可
能である。
In addition, in the above embodiment, the elapsed time of the pachinko machine that is suspended is displayed on the suspension card data display screen, but the data of the pachinko machine whose operation information is "suspended" from the pachinko machine file is displayed. It is also possible to prepare an interruption table display process and a screen to be displayed, read the interruption time from the card file using the card number in the Pachinko machine file that is being interrupted, calculate the elapsed time, and display it.

なお、図示しないが上記実施例においては、第158図
の全台表示画面のように表示すべきデータが多くて一画
面に表示できない場合にはリターンキー426をオンす
ると、10行分ずつ表示文字列が上方へスクロールされ
るようになっている。
Although not shown, in the above embodiment, when there is too much data to be displayed on one screen, as in the all-machine display screen shown in FIG. Columns are now scrolled upwards.

第137図は第96図の初期化フロー中における乱数発
生処理52012と、これによって得られた乱数を使っ
てカード番号を算出する第101図のフロー中のカード
番号算出処理52151のより具体的な手順を連続して
示しである。
FIG. 137 shows more specific details of the random number generation process 52012 in the initialization flow of FIG. 96 and the card number calculation process 52151 in the flow of FIG. The steps are shown sequentially.

乱数の発生は、先ず0以上10000以下の乱数Aを発
生する。具体的には、例えば営業日に当る「月」と「日
」と「現在時刻(1/100秒車位)の1番下の桁の数
」との和を求め、それを乱数1とする(ステップ527
01)。
To generate a random number, first, a random number A between 0 and 10,000 is generated. Specifically, for example, find the sum of the "month" and "day" that correspond to a business day, and "the number of the lowest digit of the current time (1/100 seconds)" and set it as a random number 1 ( Step 527
01).

次に、プログラム言語たるFORTRANの命令の一つ
である乱数発生命令RND (n)を使って(n)に上
記ステップS1で発生した乱数1を入れてO〜1の小数
点表示された乱数(7ケタ以上)を生成し、それを10
7倍して乱数2とする(ステップ52702)。
Next, using the random number generation command RND (n), which is one of the commands of the FORTRAN programming language, enter the random number 1 generated in step S1 above into (n) to obtain a random number (7 digit or more) and convert it to 10
Multiply by 7 to obtain a random number 2 (step 52702).

それから、同じ< FORTRANの命令INT(n)
を使って乱数2の小数点以下を切り捨てる(ステップ5
2703)。
Then, the same < FORTRAN instruction INT(n)
to round down the decimal places of random number 2 (Step 5
2703).

しかる後、ステップ52704で上記乱数Aが。After that, in step 52704, the random number A is determined.

0≦A≦↓o000なる条件を満たしているか、すなわ
ちAがOより太きく10000より小さいか調べ、A〈
0またはA>10000のときはステップS1へ戻って
乱数Aの発生をやり直す。それから、ステップ5270
5で上記条件を満たす乱数Aに10000を加える。こ
れによって乱数Aは10000〜20000の間のいず
れが一つの数になる。そこで1次にFORTRANの命
令MODを使って、乱数Aを整数「5」で割った余りを
求め、それを乱数Bとする(ステップ52706)。従
って、乱数Bは、0,1,2,3,4のいずれか一つの
数字となる。
Check whether the condition 0≦A≦↓o000 is satisfied, that is, whether A is thicker than O and smaller than 10000, and
If 0 or A>10000, the process returns to step S1 and the random number A is generated again. Then, step 5270
5, add 10,000 to the random number A that satisfies the above conditions. As a result, the random number A becomes one number between 10,000 and 20,000. Therefore, first, the FORTRAN command MOD is used to find the remainder when the random number A is divided by the integer "5", and this is set as the random number B (step 52706). Therefore, the random number B is one of 0, 1, 2, 3, and 4.

その後、カード購入パケット受信フロー中においてカー
ドの発行通し番号nにステップ52705で得られた乱
数Aを加算し、その加算結果Xを一次カード番号とする
(ステップ52707)。
Thereafter, during the card purchase packet reception flow, the random number A obtained in step 52705 is added to the card issuing serial number n, and the addition result X is set as the primary card number (step 52707).

ただし、ここで与えられる発行通し番号nは1〜127
67までの数であり、カード発行枚数が12767枚を
超えるようなカードの発行は行なわないものとする。こ
れによって、−次カード番号Xは10001−3276
7の間の数となる。Xの上限を32767としたのは、
32767は2進法において15ビツトで表現できる一
番大きな数だからであり、16ビツトのデータを扱う後
述の遊技システムにおいて、最上位ビットにrlJの立
つコードを、通常の遊技カードと異質な特殊カード(テ
スト用カート)のために予約しておくためである。
However, the issue serial number n given here is 1 to 127.
67, and no cards exceeding 12,767 cards will be issued. As a result, the -next card number X is 10001-3276
It will be a number between 7. The reason for setting the upper limit of X to 32767 is
This is because 32767 is the largest number that can be expressed in 15 bits in the binary system, and in a gaming system that handles 16-bit data, which will be described later, a code with rlJ in the most significant bit can be used for special cards that are different from normal gaming cards. This is to reserve it for the test cart.

しかして1次のステップ52708では、上記ステップ
52707で得られた一次カード番号Xに、ビット操作
命令等を使って最上位を除く1番目から15番目までの
ビットの入替え処理を施してコード変換を行なう。
In the primary step 52708, the primary card number Let's do it.

ここでは、ビットの入替え規則として、予め乱数Bに合
わせて5種類の変換パターンを用意してあり、乱数Bに
応じた変換パターンを実行しビットを入替える。
Here, five types of conversion patterns are prepared in advance according to the random number B as the bit replacement rules, and the conversion patterns corresponding to the random number B are executed to replace the bits.

ビット入替えのパターンは15ビツトの場合。The bit replacement pattern is 15 bits.

(15!−1)通り考えられるが、そのうち任意の5通
りを選択して、そのようなビット入替えを行なうプログ
ラムを作ってやればよい。ビット入替え数が多いほど実
行時間は長くなるが変換パターンは予測しにくくなる。
There are (15!-1) possible ways, but you can select any 5 ways out of them and create a program to perform such bit swapping. The larger the number of bit permutations, the longer the execution time, but the more difficult the conversion pattern is to predict.

従って、好ましくは上5ビットすべてが入れ替わるよう
なパターンを選択するのが良い。
Therefore, it is preferable to select a pattern in which all the upper five bits are replaced.

表33に、乱数Bに対応したビット入替えパターンの一
例を示す。
Table 33 shows an example of a bit permutation pattern corresponding to random number B.

表33 次に、上記ビット入替えパターンを使ったカード番号の
変換の実際を、乱数Aが14297、乱数Bが2、発行
通し番号nが635の場合を例にとって説明する。この
場合、−次カード番号又は。
Table 33 Next, the actual conversion of a card number using the bit replacement pattern described above will be explained using an example in which the random number A is 14297, the random number B is 2, and the issued serial number n is 635. In this case - the next card number or.

X = A + nよりM4932」となる。これを1
6進数で表現するとr3A54J となり2進数で表現
するとrOOllllooolololooJとなる。
M4932 from X = A + n. This is 1
When expressed in hexadecimal numbers, it becomes r3A54J, and when expressed in binary numbers, it becomes rOOllloooololoooJ.

この−次カード番号を、乱数B=2に対応する3番目の
変換パターンで変換すると、次の表34のようになり、
二次カート番号は16進数表現でrlE13J、10進
数表現でr7699Jとなる。
If this -next card number is converted using the third conversion pattern corresponding to random number B=2, it will be as shown in Table 34 below,
The secondary cart number is rlE13J in hexadecimal and r7699J in decimal.

表34 一方、第101図や第102図〜第108図のフロー中
において行われるカード番号よりカード発行通し番号を
算出する処理(ステップ52151、52161.52
181,52201,52221.52241.522
61,5228L)等の具体的方法は上記ステップ52
707,52708の逆の操作であり、先ずカード番号
を2進数に変換してから各ビットを、乱数Bにより求ま
る変換パターン(族34参照)で逆変換してXを求め、
そのXから乱数Aを引いてやることで発行通し番号を得
ることができる。
Table 34 On the other hand, the process of calculating the card issuing serial number from the card number performed in the flow of FIGS. 101 and 102 to 108 (steps 52151, 52161, 52
181,52201,52221.52241.522
61,5228L) etc., please refer to step 52 above.
This is the reverse operation of 707 and 52708, first converting the card number to binary number, then inversely converting each bit using the conversion pattern determined by random number B (see family 34) to find X.
By subtracting a random number A from that X, you can obtain the issue serial number.

次に、上記パチンコ機100、発行機200および精算
機300の各ユニット制御装置180゜280.350
におけるデータ送信に関する共通の制御手順を第166
図〜第169図を用いて説明する。
Next, each unit control device of the pachinko machine 100, issuing machine 200, and payment machine 300
The common control procedure regarding data transmission in the 166th
This will be explained using FIGS.

リセット回路555から各コントローラ190(または
290,390)、551,553に対してリセットパ
ルスが供給されると、各コントローラは内部レジスタや
内部RAMをクリアするとともに、データ伝送コントロ
ーラ551は、ユニットコントローラ190との間のパ
ラレル通信用のユニットメモリ550をもクリアする(
ステップ5101.5201,5301)。それからデ
ータ伝送コントローラ55↓は、ユニットメモリ550
内の所定の番地(27F F)に適当なデータを書き込
む(ステップ5202)。すると、ユニットメモリ55
0は所定の端子から出力する信号INTのレベルを立ち
上げる。この信号TNTは前述したようにイニシャライ
ズ信号としてユニットコントローラ190 (290,
390)に供給されるようになっている。
When a reset pulse is supplied from the reset circuit 555 to each controller 190 (or 290, 390), 551, 553, each controller clears its internal register and internal RAM, and the data transmission controller 551 clears the unit controller 190. Also clears the unit memory 550 for parallel communication with (
Steps 5101, 5201, 5301). Then, the data transmission controller 55↓ unit memory 550
Appropriate data is written to a predetermined address (27FF) within (step 5202). Then, the unit memory 55
0 raises the level of the signal INT output from a predetermined terminal. This signal TNT is used as an initialization signal by the unit controller 190 (290,
390).

一方、ユニットコントローラ190 (290゜390
)は、上記内部レジスタ、RAMのクリア後、I10ボ
ートをクリアしくステップS I O2)、上記ユニッ
トメモリ550からのイニシャライズ信号INTが立ち
上がったか監視しており(ステップ5103)、信号I
NTが立ち上がると台番号設定器17.1 (205,
352)に設定されている値を読み込んでから、その台
番号より端末通し番号とチャネル番号を演算する(ステ
ップ5104.5105)。そして、そのチャネル番号
をユニットメモリ550の送信データエリアSDAに書
き込む(ステップ5106)。
On the other hand, the unit controller 190 (290°390
) clears the internal register and RAM, clears the I10 port (step SI O2), monitors whether the initialization signal INT from the unit memory 550 rises (step 5103), and clears the I10 port.
When the NT starts up, the machine number setter 17.1 (205,
After reading the value set in 352), the terminal serial number and channel number are calculated from the device number (steps 5104 and 5105). Then, the channel number is written into the transmission data area SDA of the unit memory 550 (step 5106).

データ伝送コントローラ551は上記送信データエリア
SDA内のチャネル番号を読み込んでそれが「O」か否
か判定しており(ステップ8203.5204)、ユニ
ットコントローラによる書込みによってrOJでなくな
ると、読み取ったチャネル番号をラッチLT3 (56
3)に書込み、続いてラッチLT2 (562)に対し
データの送受信に使用するパケットメモリ内のページ構
成を指定するコマンドを書き込む(ステップ8205゜
5206)。すると、ネットワークコントローラ553
は、ラッチLTa内のチャネル番号を読み込んで内部R
AMに記憶して低層ネットワークにおける自己のアドレ
スを確定しくステップ5302)、次のラッチLTZ内
からパケットメモリのページ構成を読み取って記憶する
(ステップ5303)。これによって送受信ページの構
成が確定する。
The data transmission controller 551 reads the channel number in the transmission data area SDA and determines whether it is "O" (steps 8203 and 5204), and if it is no longer rOJ due to writing by the unit controller, the read channel number Latch LT3 (56
3), and then writes a command to latch LT2 (562) that specifies the page configuration in the packet memory used for transmitting and receiving data (steps 8205 and 5206). Then, the network controller 553
reads the channel number in latch LTa and
It stores it in AM to determine its own address in the lower layer network (step 5302), and reads and stores the page configuration of the packet memory from the next latch LTZ (step 5303). This determines the configuration of the send/receive page.

その後、データ伝送コントローラ551が、次のデータ
受信に使用するページ番号をラッチLT2に書き込む(
ステップ5207)。すると、これがネットワークコン
トローラ553に対する受信許可指令となる。そこで、
ネットワークコントローラはラッチLT2内に受信ペー
ジ番号があるか否かチエツクして、ページ番号があると
きは受信許可があったと判定してステップ5305 (
第167図)以下の送信処理に移行する(ステップ53
04)。ステップ5305では、ネットワークコントロ
ーラ553がNAU530からの送信要求があるか否か
判定する。そして、送信要求があったときは、受信が可
能であることをNAUに対し送信した後、NAUから送
られてきたパケットを受信して受信したパケットにより
送信元アドレス等の不要部分を除去し、データ部をパラ
レルデータに変換してパケットメモリ552内の指定さ
れたページに受信したデータを書き込む(ステップ83
06〜5308)、Lかる後、ネットワークコントロー
ラ553は受信コマンドをラッチLTI (561) 
に書き込む(ステップS 309)。
After that, the data transmission controller 551 writes the page number to be used for next data reception into the latch LT2 (
Step 5207). This then becomes a reception permission command to the network controller 553. Therefore,
The network controller checks whether there is a reception page number in the latch LT2, and if there is a page number, it determines that there is reception permission, and step 5305 (
FIG. 167) Move to the following transmission process (step 53)
04). In step 5305, the network controller 553 determines whether there is a transmission request from the NAU 530. When there is a transmission request, it sends a message to NAU that reception is possible, receives the packet sent from NAU, and removes unnecessary parts such as the source address from the received packet. Convert the data part to parallel data and write the received data to the specified page in the packet memory 552 (step 83
06 to 5308), the network controller 553 latches the received command LTI (561)
(Step S309).

すると、データ伝送コントローラ551がそのラッチL
TIのデータを読んで受信コマンドがあることを確認し
てパケットメモリ552の所定ページ内から受信データ
を読み込んでユニットメモリ550のワーキングエリア
に一時格納する(ステップ5208.5209)。それ
から、データ伝送コントローラ551が次の受信ページ
をラッチLT2に書き込む。これが、次のパケットの受
信を許可する指令となる(ステップ5210)。
Then, the data transmission controller 551 releases the latch L.
After reading the TI data and confirming that there is a received command, the received data is read from a predetermined page of the packet memory 552 and temporarily stored in the working area of the unit memory 550 (steps 5208 and 5209). Data transfer controller 551 then writes the next received page to latch LT2. This becomes a command to permit reception of the next packet (step 5210).

この指令(受信ページ)はネットワークコントローラ5
53によって読み取られて記憶され(ステップ5310
)、データ伝送コントローラ551からユニットコント
ローラ190 (290,390)への受信データの送
信と並行して次のデータの受信が可能となる。
This command (receiving page) is the network controller 5
53 and stored (step 5310
), the next data can be received in parallel with the transmission of the received data from the data transmission controller 551 to the unit controller 190 (290, 390).

すなわち、データ伝送コントローラ551はステップ5
210で受信ページをラッチLT2に書き込んだならば
、ユニットメモリ550内のコマンドレジスタCR2を
チエツクして「o」つまりユニットコントローラ190
 (290,390)に対する他の送信要求がないこと
を確認してがら(ステップ5211)、受信パケットタ
イプから受信データエリア内での書込み位置を確定して
ワーキングエリア内の受信データをユニットメモリの受
信データエリアに移す(ステップ5212゜5213)
。それから、交信用エリアのコマンドレジスタCR2に
受信パケットタイプ名を書く(ステップ3214)。
That is, the data transmission controller 551 performs step 5.
Once the received page has been written to latch LT2 in step 210, the command register CR2 in unit memory 550 is checked to indicate "o", that is, unit controller 190
While confirming that there is no other transmission request for (290, 390) (step 5211), the write position in the reception data area is determined from the reception packet type, and the reception data in the working area is transferred to the unit memory. Move to data area (steps 5212 and 5213)
. Then, the received packet type name is written in the command register CR2 of the communication area (step 3214).

すると、ユニットコントローラ190 (290゜39
0)がコマンドレジスタCR2を監視していてパケット
タイプが書き込まれたと判定すると5そのパケットタイ
プに対応した処理を開始する(ステップ5107,51
08)。そして、その処理が終了した時点でコマンドレ
ジスタCR2をクリアする(ステップ5109)。一方
、データ伝送コントローラ551は、ステップ3214
で受信パケットタイプ名をコマンドレジスタCR2に書
き込んだ後、そのパケットがパ初期値設定″パケットか
否か判定し、パ初期値設定”パケットならば定時データ
の送信を開始するため、ユニットメモリ内の定時タイマ
(1秒)をセットする(ステップ5215,52L6)
。受信パケットが゛′初期値設定”パケットでなかった
ときはステップ5217で“回線テスト”パケットか否
か判定する。もし、゛′回線テスト”パケットであった
なら、ステップ8218でその応答たる” A CK 
”パケットの送信のため処理を実行し、4回線テスト″
パケット以外のときはそのまま他の処理へ移行する。
Then, the unit controller 190 (290°39
0) monitors the command register CR2 and determines that the packet type has been written, 5 starts processing corresponding to the packet type (steps 5107, 51).
08). Then, when the processing is completed, the command register CR2 is cleared (step 5109). On the other hand, the data transmission controller 551 performs step 3214.
After writing the received packet type name to the command register CR2, it is determined whether or not the packet is a "Pa initial value setting" packet, and if it is a "Pa initial value setting" packet, scheduled data transmission is started. Set a fixed timer (1 second) (steps 5215, 52L6)
. If the received packet is not a ``initial value setting'' packet, it is determined in step 5217 whether it is a ``line test'' packet. If it is a ``line test'' packet, the response is returned in step 8218. C.K.
``Execute processing to send packets and test 4 lines''
If the data is not a packet, the process directly proceeds to other processing.

次に、第168図を用いてパケット送信処理について説
明する。
Next, the packet transmission process will be explained using FIG. 168.

j−−−ット:1ン)−0−ラ190 (290,39
0)は“カードイン”、′中断スイッチ”等のパケット
送信要因が生じると、先ずユニットメモリ550の送信
データエリア内の「パケットタイプJISにパケットタ
イプ名を書く。つまり、パケットヘッドを作成する(ス
テップ5121)。それから。
j---t:1n)-0-ra190 (290,39
0), when a packet transmission factor such as "card-in" or 'interrupt switch' occurs, first write the packet type name in the "packet type JIS" in the transmission data area of the unit memory 550. In other words, create a packet head ( Step 5121). Then.

ユニットメモリ内のコマンドレジスタCRIをチエツク
して他の送信パケットが既に入っているか否かチエツク
し、他の送信パケットがないときはコマンドレジスタC
RIに送信しようとするパケットタイプ名を書いてから
送信タイマをセントする(ステップ8122〜5124
)。コマンドレジスタCRIへのパケットタイプ名の書
込みが、データ伝送コントローラ551に対する送信指
令となる。一方、データ伝送コントローラ551は、コ
マンドレジスタCR1にパケットタイプが入ったか否か
監視しており(ステップ5221)、パケットタイプが
入ったことを知ると送信パケットタイプに応じた送信デ
ータを、ユニットメモリ内の送信データエリアから読み
出し、送信先であるNAUのアドレス(固定)と送信デ
ータのバイト数とともにパケットメモリ内のページOに
書き込む(ステップ5222,5223) 。
Checks the command register CRI in the unit memory to see if another transmission packet has already been entered, and if there is no other transmission packet, the command register CRI is checked.
Write the name of the packet type to be sent to the RI and then set the send timer (steps 8122 to 5124).
). Writing the packet type name to the command register CRI becomes a transmission command to the data transmission controller 551. On the other hand, the data transmission controller 551 monitors whether the packet type has entered the command register CR1 (step 5221), and when it learns that the packet type has entered, it transfers the transmission data corresponding to the transmission packet type into the unit memory. The data is read from the transmission data area of , and written to page O in the packet memory along with the address (fixed) of the NAU that is the transmission destination and the number of bytes of transmission data (steps 5222 and 5223).

しかる後、データ伝送コントローラ551はページO内
のデータの送信コマンドをラッチLT2に書き込む(ス
テップ5224)。
Thereafter, data transmission controller 551 writes a command to transmit data in page O to latch LT2 (step 5224).

すると、これがネットワークコントローラ553に対す
る送信指令となり、ネットワークコントローラ553は
送信コマンドの有無を調べ、コマンドがあったときはネ
ットワーク上での送信権の獲得を待ち、送信権を獲得し
たならNAUからの送信許可を待つ(ステップ8321
〜5323)。
Then, this becomes a transmission command to the network controller 553, and the network controller 553 checks whether there is a transmission command. If there is a command, it waits for the transmission right to be acquired on the network, and if the transmission right is acquired, it receives transmission permission from the NAU. Wait for (step 8321
~5323).

それから、パケットメモリのページl内のデータを送信
した後、送信結果をラッチLT↓に書き込む(ステップ
5324..5325)。これを受けてデータ伝送コン
トローラはラッチLTIをIIIべて送信成功の有無を
チエツクし、失敗したときは、上記送信処理を3回まで
繰り返す(ステップ5225.5226)。
Then, after transmitting the data in page l of the packet memory, the transmission result is written to latch LT↓ (steps 5324..5325). In response to this, the data transmission controller checks the latch LTI to see if the transmission has been successful, and if it fails, repeats the above transmission process up to three times (steps 5225 and 5226).

そして、送信結果を、ユニットメモリの交信用エリア内
のステータスレジスタSTRに書いてからコマンドレジ
スタCRIをクリアする(ステップ5227,5228
)。
Then, the transmission result is written to the status register STR in the communication area of the unit memory, and then the command register CRI is cleared (steps 5227 and 5228).
).

一方、ユニットコントローラ190 (290゜390
)は、ステップ5124で送信タイマをセットした後は
、コマンドレジスタCRIをずっと監視しており(ステ
ップ5125)、上記ステップ$228においてデータ
伝送コントローラ55工によりコマンドレジスタCRI
がクリアされるまでにタイムオーバーを起こすと、パチ
ンコ機制御袋W195に送られる表示データのコモン信
号(ウォッチドッグパルス)をロウレベルに固定して、
ウォッチドッグパルスを停止させる(ステップ5L27
)、これによって、リセット回路555によるリセット
がかかり、ステップS L OL 。
On the other hand, the unit controller 190 (290°390
) continuously monitors the command register CRI after setting the transmission timer in step 5124 (step 5125), and in step $228 described above, the data transmission controller 55 sets the command register CRI.
If a time-over occurs before the is cleared, the common signal (watchdog pulse) of the display data sent to the pachinko machine control bag W195 is fixed at low level,
Stop the watchdog pulse (step 5L27)
), this causes a reset by the reset circuit 555, and the process proceeds to step S L OL .

5201,3301の初期化が行われる。5201 and 3301 are initialized.

次に、定時データ送信処理について第169図を用いて
説明する。データ伝送コントローラ551は、上記ステ
ップ5216でセットした定時タイマをチエツクしくス
テップS23上)、1秒経過したときにステップ523
2へ進み、ユニットメモリ550の送信データエリア内
のデータを全て読み出してワーキングエリアに書き込む
(ステップ5233)。そして次に再び送信データエリ
ア内のデータと比較しくステップ5234)、致したな
らば、コマンドレジスタCRIを見てデータ伝送コント
ローラに対する他の送信要求(パケットタイプ)が入っ
ていないか調へ(ステップ5235)、ワーキングエリ
アからデータを読み出して送信データとしてパケットメ
モリ552へ書き込む(ステップ5237,5238)
。また。
Next, the scheduled data transmission process will be explained using FIG. 169. The data transmission controller 551 checks the regular timer set in step 5216 (step S23 above), and when 1 second has elapsed,
2, all data in the transmission data area of the unit memory 550 is read out and written into the working area (step 5233). Then, compare the data again with the data in the transmission data area (step 5234), and if the data is correct, check the command register CRI to see if there is another transmission request (packet type) to the data transmission controller (step 5235). ), reads data from the working area and writes it to the packet memory 552 as transmission data (steps 5237, 5238).
. Also.

このとき送信データとともに送信先のアドレス(NAU
)と送信データの長さ(バイト数)およびパケットタイ
プ名をパケットメモリ内のベージ上に書き込む。なお、
ステップ5235でコマンドレジスタCRIに他のパケ
ット名が入ってb)たときはそのパケットの送信(S2
36)を行ってからステップ5237へ進む。
At this time, the destination address (NAU) is sent along with the sending data.
), the length (number of bytes) of the transmitted data, and the packet type name are written on the page in the packet memory. In addition,
In step 5235, if the command register CRI contains another packet name b), that packet is sent (S2
36) and then proceeds to step 5237.

上記ステップ5234でデータの一致を判定しているの
は、ユニットコントローラが送信データエリアに対して
2バイトからなるデータ部の2ノ<イトを書き換えたと
きに、定時データを送信すると、未確定なデータを送信
することになるからである。データの一致をみることに
より、送信データエリアのデータ確定を判定することが
できる。
The reason why the data match is determined in step 5234 is that when the unit controller rewrites the 2-byte data portion of the 2-byte data area for the transmission data area, if the scheduled data is transmitted, undefined data will be detected. This is because data will be transmitted. By checking whether the data match, it is possible to determine whether the data in the transmission data area is fixed.

送信データの書込み(ステップ8238)後、データ伝
送コントローラ551は、ページエ内のデータの送信コ
マンドをラッチLT2に書く(ステップ5239)。
After writing the transmission data (step 8238), the data transmission controller 551 writes a transmission command for the data in the pager to the latch LT2 (step 5239).

すると、これがネットワークコントローラ553に対す
る送信指令となり、ネットワークコント1:I−ラ55
3は送信コマンドの有無を調へ、コマンドがあったとき
はネットワーク上での送信権の獲得を待ち、送信権を獲
得したならNAU力1らの送信許可を待つ(ステップ8
331〜S 333)。
Then, this becomes a transmission command to the network controller 553, and the network controller 1: I-RA 55
Step 3 checks to see if there is a sending command, and if there is a command, it waits for the transmission right to be acquired on the network, and if it has acquired the transmission right, it waits for transmission permission from NAU force 1 and others (step 8).
331-S 333).

それから、パケットメモリのページ1内のデータを送信
した後、送信結果をラッチLTIに書き込む(ステップ
5334,5335)。これを受けてデータ伝送コント
ローラ551はラッチLTIを調べて送信成功の有無を
チエツクし、失敗したときは、上記送信処理を3回まで
繰り返す(ステップ5240,5241)。
Then, after transmitting the data in page 1 of the packet memory, the transmission result is written to the latch LTI (steps 5334, 5335). In response to this, the data transmission controller 551 checks the latch LTI to check whether the transmission was successful or not, and if it fails, repeats the above transmission process up to three times (steps 5240, 5241).

次に、表1に示された送信稼動データのうち稼動情報に
反映されるパチンコ機の稼動状態とその遷移の仕方およ
びこの稼動状態とカード状態とを利用したパチンコ機の
制御方式について説明する。
Next, a description will be given of the operating state of the pachinko machine reflected in the operating information of the transmitted operating data shown in Table 1, the manner of transition thereof, and the control method of the pachinko machine using this operating state and card state.

この実施例のシステムでは、パチンコ機の稼動状態とし
て、第170図(A)に示すようにリセット状態5SI
Oと、遊技不能な強制終了状態5Silと、すべての遊
技客に対して開放されたフリー状fiss12と、特定
の遊技客により遊技が行われている遊技状態5S13と
、特定の遊技客に対し遊技権利を留保して遊技を中止し
ている中断状態SS 14と、所定数の賞品球が排出さ
れ遊技中止に到った打止状態5S15の6つの状態があ
る。このうち、フリー状態5S12と中断状態5S14
のみカードの受付けが可能な状態であり、リセット状態
5SIOはもちろん強制終了状態5Sll、打止状態5
S15はカートの受付けが不能な状態である。なお、中
断状態5S14においては、中断を引き起こしたカード
のみ受は付ける。
In the system of this embodiment, the operating state of the pachinko machine is reset state 5SI as shown in FIG. 170(A).
O, a forced termination state 5Sil in which no games can be played, a free state fiss12 that is open to all players, a gaming state 5S13 in which a game is being played by a specific player, and a state in which a game is not allowed to be played by a specific player. There are six states: a suspended state SS14 in which the game is stopped with the rights reserved, and a stopped state 5S15 in which a predetermined number of prize balls have been ejected and the game is stopped. Of these, free state 5S12 and suspended state 5S14
Only in the state where cards can be accepted, not only the reset state 5SIO, but also the forced termination state 5Sll, the discontinued state 5
At S15, the cart cannot be accepted. In the suspended state 5S14, only the card that caused the suspension is accepted.

一方、遊技状態5S13では特定のカードをパチンコ機
内部に保有している。
On the other hand, in the gaming state 5S13, a specific card is held inside the pachinko machine.

上記各状態は1図中矢印で示す向きへの遷移が可能で、
それ以外の状態遷移は起きないようにされている。
Each of the above states can transition in the direction shown by the arrow in Figure 1.
No other state transitions are allowed to occur.

すなわち、リセット状態5SIOは“初期値”パケット
を受信したときにのみ強制終了状態5S11へ移行する
。ただし、停電回復後におけるリセット状態で“ユニッ
ト復旧”パケットを受信したときは、停電発生前のパチ
ンコ機の状態に復帰する。強制終了状態5SIIからは
フリー状jIlSS12へのみ移行可能で、これは“開
店”パケットまたは“強制終了解除“パケットを受信し
たときに移行する。また、フリー状態5S12からは遊
技状態5S13または強制終了状態5S11へ移行可能
であり“カードイン″パケットの受信で遊技状@5S1
3へ移行し、′閉店′°パケットまたは゛′強制終了”
パケットの受信で強制終了状態5SIIへ移行する。
That is, the reset state 5SIO transitions to the forced termination state 5S11 only when the "initial value" packet is received. However, if a "unit recovery" packet is received in the reset state after a power outage has been recovered, the pachinko machine returns to the state it was in before the power outage occurred. From the forced termination state 5SII, it is possible to transition only to the free state jIlSS12, and this transition occurs when a "store opening" packet or a "forced termination release" packet is received. Furthermore, it is possible to shift from the free state 5S12 to the gaming state 5S13 or the forced termination state 5S11, and the game card @5S1 can be changed by receiving the "card-in" packet.
3, ``Closing'' packet or ``Forced termination''
Upon reception of the packet, the state shifts to forced termination state 5SII.

そして、遊技状態S S 1.3においては、終了スイ
ッチのオンまたは帰零状態の発生でフリー状態5S12
に戻り、遊技中に中断スイッチがオンされると中断状態
5S14へ、打止め条件が成立すると打止状態5S15
へそれぞれ移行する。中断状態SS 14または打止状
態5S15からフリー状fiSS12へは、パ中断終了
″パケット(精算機で精算を行ったとき)または“打止
解除″パケットを受信したとき移行し、中断状態5S1
4で中断を引き起こしたカートが再投入されると遊技状
態5S13へ戻る。
In the game state S S 1.3, when the end switch is turned on or the zero state occurs, the free state 5S12 is entered.
Returns to the suspend state 5S14 when the suspend switch is turned on during the game, and returns to the halt state 5S15 when the halt condition is met.
respectively. A transition is made from the suspended state SS14 or the suspended state 5S15 to the free fiSS12 when a "pause suspended" packet (when payment is made at the payment machine) or a "cancel suspension" packet is received, and the suspended state 5S1
When the cart that caused the interruption in step 4 is reinserted, the game returns to the gaming state 5S13.

さらに、フリー状態5S12に、遊技状態SS工3、中
断状態SS 14および打止状態5S15のすべての状
態において、管理装置400から“強制終了要求″パケ
ットを受は取ると直ちに強制終了状態SS↓1へ移行す
る。
Furthermore, in the free state 5S12, in all states of the game state SS 3, the suspended state SS 14, and the abort state 5S15, when a "forced termination request" packet is received from the management device 400, the forced termination state SS↓1 is immediately received. Move to.

しかも、この実施例のシステムではテストカードによる
遊技を可能にするテストモードが用意されておりこのモ
ードにおいてもシステム全体の電源が投入されたオンラ
イン時には第170図(A)とほぼ同じような状態遷移
を行う。第170図(B)にオンライン中のテストモー
ドにおけるパチンコ機の状態遷移図を示す。この場合に
は、通常動作モード時と状態遷移の条件が多少異なる。
Moreover, the system of this embodiment has a test mode that enables games with test cards, and even in this mode, when the entire system is online and the power is turned on, the state transition is almost the same as that shown in FIG. 170 (A). I do. FIG. 170(B) shows a state transition diagram of the pachinko machine in the online test mode. In this case, the state transition conditions are somewhat different from those in the normal operation mode.

すなわち、通常動作モードのフリー状態5SI2におい
てテストスイッチを押してから正規のテストカードを挿
入すると、制御空間が切り替えられ、パチンコ機の状態
はテストモードの遊技状態5S13’へ移行する。テス
トモードにおいても打止状態や中断状態に移行すること
ができる。ただし、遊技状態5513’からフリー状態
5SI2へは終了スイッチをオンしたとき、または帰零
が発生したときに移行可能であり、打止状態5S15’
 からフリー状態5S12’へは“打止解除”パケット
の受信ではなく、終了スイッチのオンによって移行し、
また、中断状態5S14’で元のテストカードまたは別
のテストカードを挿入するとテスト遊技状jllss1
3’へ戻り、中断状態5814′で終了スイッチを押す
と通常のフリー状態5S12へ移行する。テストモード
中の各状態からフリー状態5S12への移行と同時に制
御空間も切り替わる。つまり、テストモードではなく通
常動作モードとなり、もう−度テストカードで遊技した
い場合には再度テストスイッチをオンさせてからテスト
カードを挿入する必要がある。−方、テストモードの各
状態で管理装置f400から“強制終了要求”パケット
が送られてくると、これをユニット制御装置180が記
憶しており、終了スイッチがオンされたときに、各状態
5S13’5S14’ 、5S15’から強制終了状態
5S11へ移行するようになっている。
That is, when the test switch is pressed in the free state 5SI2 of the normal operation mode and a regular test card is inserted, the control space is switched and the state of the pachinko machine shifts to the gaming state 5S13' of the test mode. Even in the test mode, it is possible to shift to a stopped state or a suspended state. However, it is possible to transition from the game state 5513' to the free state 5SI2 when the end switch is turned on or when a return to zero occurs, and the stop state 5S15'
The transition from to the free state 5S12' is not due to reception of a "cancellation cancellation" packet but by turning on the end switch,
Also, if you insert the original test card or another test card in the suspended state 5S14', the test game card jllss1
3' and presses the end switch in the suspended state 5814' to shift to the normal free state 5S12. The control space also switches at the same time as the transition from each state in the test mode to the free state 5S12. In other words, the mode is not the test mode but the normal operation mode, and if you want to play with the test card again, you need to turn on the test switch again and then insert the test card. - On the other hand, when a "forced termination request" packet is sent from the management device f400 in each state of the test mode, the unit control device 180 stores this, and when the termination switch is turned on, each state 5S13 A transition is made from '5S14' and '5S15' to the forced termination state 5S11.

なお、この強制終了状態5S11への移行も制御空間の
切替えと同時に行われ、テストモードが終了する。
Note that the transition to this forced termination state 5S11 is also performed at the same time as the control space switching, and the test mode ends.

第170図(C)には、パチンコ機の一つが単独で電源
投入され、管理装置400と切り離されたオフライン時
におけるテストモードでの状態遷移が示されている。
FIG. 170(C) shows the state transition in the test mode when one of the pachinko machines is powered on independently and disconnected from the management device 400, offline.

オフライン時におけるパチンコ機は、電源投入により初
期化を行い、その後テストスイッチのオンまたは管理装
置からの“回線テスト″パケットを待つ待機状態5S2
0となる。ここで、テストスイッチがオンされ、続いて
正規のテストカードが挿入されると、テストモードの遊
技状態5SI3′へ移行する。その後は、第170図(
B)と同じ条件で中断状態5S14’、打止状態5S1
5′へ移行し、各状態で終了スイッチをオンすると、待
機状態5S20へ戻る。
When offline, the pachinko machine initializes when the power is turned on, and then enters a standby state 5S2 where it waits for the test switch to be turned on or for a "line test" packet from the management device.
It becomes 0. Here, when the test switch is turned on and a regular test card is subsequently inserted, the game state shifts to test mode gaming state 5SI3'. After that, Fig. 170 (
Suspended state 5S14' and discontinued state 5S1 under the same conditions as B)
5', and when the termination switch is turned on in each state, the process returns to the standby state 5S20.

なお、待機状態5S20において“回線テスト”および
′″初期値設定”パケットを受信すると、通常動作モー
ドの強制終了状態5511へ移行する。
Note that when the "line test" and ``initial value setting'' packets are received in the standby state 5S20, a transition is made to the forced termination state 5511 of the normal operation mode.

この実施例のパチンコ機の制御ユニット160のユニッ
ト制御装置180ば、上記パチンコ機の稼動状態とカー
ド状態とを参照しながらパチンコ機やカードリーダの制
御および管理装置14.00との通信を行うことで、管
理装置の負担を減らすとともに、通信エラーに基づく誤
動作を回避しつつ所定の処理に関しては制御の独立性を
保持し、遊技客のアクション等に対して速やかに応答で
きるようになっている。
The unit control device 180 of the control unit 160 of the pachinko machine of this embodiment controls the pachinko machine and the card reader and communicates with the management device 14.00 while referring to the operational status and card status of the pachinko machine. This reduces the burden on the management device, maintains control independence for predetermined processing while avoiding malfunctions due to communication errors, and allows prompt responses to player actions.

以下、上記パチンコ機稼動情報およびカード状態を利用
したユニットコントローラ190における処理について
説明する。
Hereinafter, processing in the unit controller 190 using the pachinko machine operating information and card status will be explained.

先ず、ユニットコントローラ190による処理を説明す
る前にユニットコントローラ190とパチンコ機制御装
置195およびカードリーダ制御装置188の相互のデ
ータ伝送および相互に関連した動作の手順について第1
71図〜第188図を用いて説明する。
First, before explaining the processing by the unit controller 190, a first explanation will be given regarding mutual data transmission and mutually related operation procedures between the unit controller 190, the pachinko machine control device 195, and the card reader control device 188.
This will be explained using FIGS. 71 to 188.

第17]5図には初期化から開店にいたるまでの手順を
示す。
17] Figure 5 shows the procedure from initialization to store opening.

なお、カードリーダコントローラ188とユニットコン
トローラ190との間の通信は、ファンクションコード
によって行なわれるようになっており、ユニットコント
ローラ190からカードリーダコントローラ188に対
するファンクションコードとしては、カードから読み取
った磁気データと照合するための年月日コードと識別コ
ードをカードリーダに対して与えるための「初期値設定
Jファンクション、カードリーダに対しカードの受付を
許可する「カード受信可」ファンクション、カードリー
ダに対しカードの受付を中止するように指令するための
「カード受付不可」ファンクション、カードを排出する
よう指令する「カード排出」ファンクション、カードの
磁気データの再読込みを指令する「リロード」ファンク
ション、直前に送ってきたファンクションコードの再送
を要求する「再送要求」ファンクション、カードリーダ
コントローラ内に保持されているカードリーダの状態を
示すビットの送信を要求する「ステータス要求」ファン
クションおよびパンチ穴形成領域の所定の位置にカード
の持玉、金額がゼロになったことを表す帰零穴PH,を
穿孔するよう指令を与える「帰零ノファンクションの8
種類の指令が用意されている。
Note that communication between the card reader controller 188 and the unit controller 190 is performed using a function code, and the function code sent from the unit controller 190 to the card reader controller 188 is a code that is compared with the magnetic data read from the card. ``Initial value setting J function'' to give the card reader the date code and identification code for the card, ``Card reception possible'' function to allow the card reader to accept the card, ``Card reception possible'' function to allow the card reader to accept the card "Card not accepted" function to command to cancel, "Card eject" function to command to eject the card, "Reload" function to command to reread the magnetic data of the card, the function sent just before. A "resend request" function requests the resending of the code, a "status request" function requests the transmission of a bit indicating the card reader status held in the card reader controller, and a "resend request" function requests the resending of the card in the punch hole forming area. ``8 of the return zero function'' which gives a command to drill the return zero hole PH, which indicates that the ball and amount have become zero.
Various types of directives are available.

一方、カードリーダコントローラ188からユニットコ
ントローラ190に対するファンクションコードとして
は、カードリーダで読み取ったカード番号をユニットコ
ントローラへ送る「カード番号送信」ファンクション、
テストカードが挿入されたことをユニットコントローラ
へ知らせる「テストカード」ファンクション、リセット
時に年月日や識別コード等の初期値を要求する「初期値
要求」ファンクション、要求された処理が正常に終了し
たことをユニットコントローラに知らせる「正常終了」
ファンクションおよび逆に正常に処理が終了しなかった
ことを知らせる「異常終了」ファンクション、挿入され
たカードに不正があることをカードリーダコントローラ
が判定し自らの意志でカードを検出したことを知らせる
「セルフ排出」ファンクション、ユニットコントローラ
に対して直前に送ってきたファンクションコードの再送
を要求する「再送要求」ファンクションと「リロード」
要求や「ステータス要求」に対してカードリーダのステ
ータスを送信するための「ステータス送信」ファンクシ
ョンの8種類がある。
On the other hand, the function codes from the card reader controller 188 to the unit controller 190 include a "card number transmission" function that sends the card number read by the card reader to the unit controller;
The "test card" function notifies the unit controller that a test card has been inserted, the "initial value request" function requests initial values such as date and identification code at the time of reset, and the requested processing has completed normally. "Normal end" to notify the unit controller
conversely, an "abnormal end" function that indicates that the process did not end normally, and a "self-contained" function that indicates that the card reader controller has determined that the inserted card is fraudulent and has detected the card of its own volition. "Eject" function, "Resend request" function that requests the unit controller to resend the function code sent just before, and "Reload"
There are eight types of "status transmission" functions for transmitting the card reader's status in response to requests and "status requests."

ただし、カードリーダコントローラ内88とユニットコ
ントローラ190との間の交信は、ファンクションコー
ドを一方的に送るのではなく、先ず送信側がコール信号
(呼かけコード)ENQを送り、受信側から許可応答A
CKを受けた後にファンクションコードを送るようにな
っている。
However, communication between the card reader controller 88 and the unit controller 190 does not involve sending a function code unilaterally, but first the sending side sends a call signal (challenging code) ENQ, and the receiving side sends an authorization response A.
The function code is sent after receiving CK.

第171図において、パワーオンによりリセットが入る
と、ユニットコントローラ190、カードリーダコント
ローラCPU2、パチンコ機コントローラCPUIは、
内部レジスタ等の初期化を行う(ステップ5401,5
501.5601)。
In FIG. 171, when a reset is entered due to power-on, the unit controller 190, card reader controller CPU2, and pachinko machine controller CPUI are
Initialize internal registers, etc. (steps 5401, 5
501.5601).

初期化が終了すると、パチンコ機コントローラCPUI
は各センサやスイッチからの検出信号の入力待ち状態と
なる。(S410)。
When the initialization is completed, the pachinko machine controller CPU
is in a state of waiting for input of detection signals from each sensor or switch. (S410).

ユニットコントローラ190は台番号設定器エフ1から
設定値を読み取って通し番号、チャネル番号を算出し、
ユニットメモリ55’Oに記憶する(ステップ5602
)。そして、管理装置がらパ回線テスト“パケットが送
られてくるのを待つ(ステップ5603)。
The unit controller 190 reads the set value from the machine number setting device F1, calculates the serial number and channel number,
Store in unit memory 55'O (step 5602
). Then, the management device waits for a line test packet to be sent (step 5603).

次に、′初期値設定“パケットを受信すると、カードリ
ーダからの受信制御を開始し、カードリーダコントロー
ラCPU2からのコール信号ENQの有無を判定する(
ステップ3604〜s6゜6)。
Next, upon receiving the 'initial value setting' packet, it starts receiving control from the card reader and determines whether there is a call signal ENQ from the card reader controller CPU2 (
Steps 3604-s6゜6).

一方、カードリーダコントローラCPL12は、初期化
が終了すると、ユニットコントローラエ90に対し、コ
ール信号ENQを送信し、それに対する応答信号ACK
を待つ(ステップ5502゜5503)。なお、コール
信号ENQを送信する以前に、ユニットコントローラか
ら「初期値設定」ファンクション等の送信のコールがあ
った場合を考慮して、ACKがないときはENQの有無
を判定する(ステップ5504)。そして、ENQがあ
ればACKを送信してファンクションコードの受信待ち
となる(ステップ3504〜S 506)。
On the other hand, upon completion of the initialization, the card reader controller CPL12 transmits a call signal ENQ to the unit controller E90 and receives a response signal ACK.
(Steps 5502 and 5503). Note that before transmitting the call signal ENQ, if there is no ACK, it is determined whether ENQ is present or not, considering the case where there is a call from the unit controller to transmit an "initial value setting" function or the like (step 5504). Then, if there is an ENQ, it transmits an ACK and waits for reception of a function code (steps 3504 to S506).

上記ステップ5502におけるカードリーダコントロー
ラからのコール信号ENQの送信を二ニットコントロー
ラがステップ5606で受信すると、応答信号ACKを
返す(ステップ5607)。
When the two-nit controller receives the transmission of the call signal ENQ from the card reader controller in step 5502 in step 5606, it returns a response signal ACK (step 5607).

すると、カードリーダコントローラは「初期化要求」フ
ァンクションを送信する(ステップ5511)。これを
ユニットコントローラが受信してカードリーダへの送信
制御を開始し、先ず年月日、識別コードを入れた「初期
値設定」ファンクションを送信する(ステップ8608
〜5610)、。
Then, the card reader controller sends an "initialization request" function (step 5511). The unit controller receives this and starts sending control to the card reader, first sending an "initial value setting" function containing the date and identification code (step 8608).
~5610),.

カードリーダコントローラは、この初期値を受信すると
年月日と識別コードを内部RAMに記憶してから「正常
終了」ファンクションを返す(ステップ8512〜55
14)。
When the card reader controller receives this initial value, it stores the date and identification code in its internal RAM, and then returns a "normal completion" function (steps 8512 to 55).
14).

ユニットコントローラは「正常終了」ファンクションを
受信する(ステップ5611)と、管理装置からの″開
店コード″パケットを待ち、これを受信するとアナログ
表示器163をスクロールさせて客待ち表示を行うとと
もに、ユニットメモリの稼動情報を「フリー」に変更す
る(ステップ8612〜5614)。それからユニット
コントローラはカードリーダコントローラに対して「カ
ード受付可」ファンクションを送信する(ステップ56
15)。
When the unit controller receives the "normal end" function (step 5611), it waits for a "store opening code" packet from the management device, and when it receives this, it scrolls the analog display 163 to display a customer waiting display, and also displays the unit memory The operation information of is changed to "free" (steps 8612 to 5614). The unit controller then sends a "card accepted" function to the card reader controller (step 56).
15).

カードリーダコントローラがこれを受信すると、先ずシ
ャッタを開けてからカード挿入検出を開始する(ステッ
プ8515〜5517)。そして、「正常終了」ファン
クションを返しくステップ5518)、ユニットコント
ローラからのファンクションまたはカードの挿入を待つ
状態となる(ステップ5520)。一方、ユニットコン
トローラはカードリーダからの「正常終了Jファンクシ
ョンを受信すると、管理装置からのパケットまたはカー
ドリーダコントローラからのファンクションを待つ状態
になる(ステップ5620)。
When the card reader controller receives this, it first opens the shutter and then starts card insertion detection (steps 8515 to 5517). Then, a "normal end" function is returned (step 5518), and the process waits for a function from the unit controller or insertion of a card (step 5520). On the other hand, when the unit controller receives the "normal completion J function" from the card reader, it enters a state of waiting for a packet from the management device or a function from the card reader controller (step 5620).

第172図にはカードリーダにカードが挿入された場合
の動作手順を示す。
FIG. 172 shows the operating procedure when a card is inserted into the card reader.

カードリーダコントローラCPU2がファンクションま
たはカード待ち状態(ステップ5520)にあるとき、
カードが挿入されると、挿入検出スイッチ808により
これを検知し、モータを駆動してカードを内部に取り込
む(ステップ5521)。次に、パンチ穴、セキュリテ
ィコードをチエツクしてから磁気データを読み込んで1
年月日、m別コードを検査する(ステップ5522〜5
525)。そして、正常なカードであれば読み取ったカ
ード番号を入れたファンクションをユニットコントロー
ラに送信した後、シャッタを閉じる(ステップ5526
,5527)。
When the card reader controller CPU2 is in the function or card waiting state (step 5520),
When a card is inserted, this is detected by the insertion detection switch 808, and the motor is driven to take the card into the interior (step 5521). Next, check the punch hole and security code, then read the magnetic data and 1
Inspect the year, month, day, and m code (steps 5522 to 5
525). If the card is normal, the function containing the read card number is sent to the unit controller, and the shutter is closed (step 5526).
, 5527).

ユニットコントローラ190がカード番号を受信すると
、″カードイン”パケットを管理袋W400へ送って、
カードの存在を” A CK”パケットにより確認して
稼動情報を「遊技中Jに変更する(ステップ8621〜
5625)、それから。
When the unit controller 190 receives the card number, it sends a "card-in" packet to the management bag W400,
The existence of the card is confirmed by the "A CK" packet and the operating information is changed to "Playing J" (step 8621~
5625), then.

状態表示ランプ162を点灯させ、遊技中である旨を外
部に知らしめた後、打球発射袋[103を駆動可能にし
、各センサの検出信号の入力を待つ(ステップ5624
,5625)。
After turning on the status display lamp 162 to notify the outside that the game is in progress, the ball firing bag [103 is enabled to be driven and the system waits for the input of detection signals from each sensor (step 5624).
, 5625).

この間、パチンコ機コントローラCPUIはセンサおよ
びスイッチの検出信号待ち状態(ステップ5410)に
あり、打球発射装置の発射制御開始後、発射センサ5N
S5、セーフセンサSNS2.5NS3− ファールセ
ンサ5NS4、アウトセンサ5NSIからの検出信号を
検知すると、それをユニットコントローラに知らせる(
ステップ8411〜341.6)。しかも、このとき発
射センサの検出時間の違いから戻り球と発射球を区別し
、戻り数についてはファール球検出信号として出力する
(ステップ5416)。一方、ユニットコントローラは
センサの検出信号を受けると信号の種類に応じた演算を
行って遊技中の玉数を求めユニットメモリを更新する(
ステップ8626〜S 630)とともに、購入スイッ
チ■]−3の検出信号を受けるとカードの未使用金額を
減らし持玉数を増やす演算をする(ステップ5631)
During this time, the pachinko machine controller CPUI is in a state of waiting for detection signals from the sensors and switches (step 5410), and after starting the firing control of the ball firing device, the firing sensor 5N
S5, safe sensor SNS2.5NS3- When detecting the detection signal from foul sensor 5NS4 and out sensor 5NSI, it notifies the unit controller (
Steps 8411-341.6). Moreover, at this time, returned balls and fired balls are distinguished from each other based on the difference in detection time of the firing sensor, and the number of returned balls is outputted as a foul ball detection signal (step 5416). On the other hand, when the unit controller receives the detection signal from the sensor, it performs calculations according to the type of signal, calculates the number of balls being played, and updates the unit memory (
At the same time as steps 8626 to S 630), upon receiving the detection signal of the purchase switch ■]-3, a calculation is performed to reduce the unused amount of the card and increase the number of balls held (step 5631).
.

第173図には、遊技中に中断スイッチ114がオンさ
れたときの動作手順を示す。
FIG. 173 shows the operating procedure when the interruption switch 114 is turned on during a game.

ユニットコントローラ190は、中断スイッチのオンを
検出すると、打球発射装置103の制御を停止させ、管
理装置400に向かって“中断スイッチ″パケットを送
信する(ステップ8632〜5634)。そして、管理
装置から” A CK”が戻ってくると、ユニットメモ
リ550内の稼動情報を「中断中」に変更して、遊技状
態表示ランプ123を点滅駆動させて中断表示を行わせ
てから、「カード排出」ファンクションをカードリーダ
コントローラへ送信する(ステップ8635〜5637
)。
When the unit controller 190 detects that the interrupt switch is turned on, it stops controlling the batted ball launcher 103 and transmits an "interrupt switch" packet to the management device 400 (steps 8632 to 5634). Then, when "A CK" is returned from the management device, the operation information in the unit memory 550 is changed to "suspended", and the game status display lamp 123 is driven to blink to display the suspension, and then, Send the “card ejection” function to the card reader controller (steps 8635 to 5637)
).

カードリーダコントローラがこのファンクションを受信
すると、シャッタを開けてからモータを逆転させてカー
ドを排出し、ユニットコントローラへ「正常終了ノファ
ンクションを送り(ステップ8528〜5531)、カ
ード挿入またはファンクション待ちとなる(ステップ5
532)。
When the card reader controller receives this function, it opens the shutter and reverses the motor to eject the card, sends a "normal completion" function to the unit controller (steps 8528 to 5531), and waits for card insertion or function (steps 8528 to 5531). Step 5
532).

方、ユニットコントローラは「正常終了」ファンクショ
ンを受信(ステップ5638)した後、パケットまたは
ファンクション受信待ち(ステップS 620)となる
On the other hand, after receiving the "normal end" function (step 5638), the unit controller waits to receive a packet or function (step S620).

その後、中断したカードがカードリーダに挿入されると
、カードリーダコントローラCPU2は、前記ステップ
8521〜5527と同様の手順に従って、カードの取
込み、チエツクおよびファンクション送信、シャッタの
閉鎖を行う(ステップ5533〜S 538)。一方、
ユニットコントローラは、受信したカード番号とユニッ
トメモリ内のカード番号とを照合して中断したカードで
あるか否か検査し、一致すれば″中断カードイン″パケ
ットを管理装置へ送信する(ステップ8639〜564
1)。そしてその応答“ACK”を受信すると稼動状態
を「遊技中Jに変更し、遊技状態表示ランプを連続点灯
の遊技表示に変更してから打球発射装置の制御を開始さ
せる(ステップ8642〜5644)。
Thereafter, when the interrupted card is inserted into the card reader, the card reader controller CPU 2 takes in the card, checks and sends the function, and closes the shutter according to the same procedure as steps 8521 to 5527 (steps 5533 to 5527). 538). on the other hand,
The unit controller compares the received card number with the card number in the unit memory to check whether the card is a suspended card, and if they match, sends a "suspended card-in" packet to the management device (steps 8639 to 8639). 564
1). When the response "ACK" is received, the operating state is changed to "game in progress", the game state display lamp is changed to a continuous lighting game display, and then control of the batted ball firing device is started (steps 8642 to 5644).

ところで、この実施例のシステムでは、中断したカード
を精算機で精算すると、中断中のパチンコ機が解放され
るようになっている。そこで第173図のステップ56
20のパケットまたはファンクション受信待ち状態で管
理装置から“中断終了”パケットが送られてくると、ユ
ニットコントローラは稼動情報を「フリー」に変更し、
ランプ123.163を客待ち表示に変更してから再び
パケットまたはファンクション受信待ち(ステップ56
20)となる。
By the way, in the system of this embodiment, when the suspended card is settled at the payment machine, the suspended pachinko machine is released. Therefore, step 56 in Fig. 173
When the management device sends an "interruption end" packet while waiting to receive 20 packets or functions, the unit controller changes the operating information to "free",
After changing the lamps 123 and 163 to the customer waiting display, the display waits again for packet or function reception (step 56).
20).

第174図には、終了スイッチ115がオンされたとき
の動作手順が示されている。
FIG. 174 shows the operating procedure when the end switch 115 is turned on.

ユニットコントローラ190は、終了スイッチのオンを
検出すると、打球発射装置103の駆動を停止させてか
ら″終了スイッチ”パケットを管理袋W400へ送ル(
ステップ5645〜5647)。そして、その応答“A
 CK ”を受信すると稼動情報を「フリー」に変更し
、遊技状態表示ランプ123を消灯、アナログ表示器1
63をスクロールさせて客待ち表示に変更してから、「
カード排出」ファンクションをカードリーダコントロー
ラへ送る(ステップ5648〜S 650)。
When the unit controller 190 detects that the end switch is turned on, it stops driving the batted ball launcher 103, and then sends the "end switch" packet to the management bag W400 (
Steps 5645-5647). And the response “A
CK" is received, the operation information is changed to "Free", the game status display lamp 123 is turned off, and the analog display 1 is turned off.
Scroll 63 to change to the customer waiting display, and then click "
A "card ejection" function is sent to the card reader controller (steps 5648 to S650).

カードリーダコントローラCPU2は、そのファンクシ
ョンを受信すると、シャッタを開き、モータを駆動して
カードを排出してから「正常終了」ファンクションをユ
ニットコントローラへ返す(ステップ8539〜554
2)。そして、カード挿入またはファンクション受信待
ちとなる(ステップ5520)。
When the card reader controller CPU 2 receives the function, it opens the shutter, drives the motor to eject the card, and then returns the "normal end" function to the unit controller (steps 8539 to 554).
2). Then, it waits for card insertion or function reception (step 5520).

一方、ユニットコントローラは、カードリーダコントロ
ーラからの「正常終了」ファンクションを受信すると管
理装置からのパケットまたはカードリーダコントローラ
からのファンクション待ちとなル(ステップ5651.
5620)、 この間、パチンコ機コントローラはセン
サの検出信号の入力待ちとなっている(ステップ541
0)。
On the other hand, upon receiving the "normal end" function from the card reader controller, the unit controller waits for a packet from the management device or a function from the card reader controller (step 5651.
5620), during this time, the pachinko machine controller is waiting for input of the sensor detection signal (step 541).
0).

次に、第172図の遊技中において持玉数および金額が
ともに「0」となる帰零状態が生じた場合の手順を第1
75図を用いて説明する。
Next, we will explain the procedure when a zero return situation occurs during the game in Figure 172, where both the number of balls held and the amount of money are "0".
This will be explained using Figure 75.

ステップ5626〜5631の玉数金額演算の結果、玉
数と金額が「O」になったか否か判定し、「0」ならば
打球発射装置103の駆動制御を停止させてから10秒
のサーチタイマをオンさせる(ステップ8652〜56
54)。そして、遊技盤内に存在する浮遊玉の数(発射
球数−回収球数)が「○」になったかチエツクし、さら
にサーチタイマが10秒経過したか否か判定して(ステ
ップ5655,5656) 、浮遊玉数がrOJになる
かまたはサーチタイマが10秒経過したならば管理装置
400へ゛帰零″パケットを送信する(ステップ565
8)。また1発射装置停止後10秒以内で浮遊球数が存
在しているときはセーフ球やファール球、アウト球があ
るかWR人、あったときはステップ8626〜5631
へ戻って工数を演算し直す(ステップ5657)、。
As a result of the calculation of the number of balls and the amount of money in steps 5626 to 5631, it is determined whether the number of balls and the amount of money are "O", and if it is "0", the search timer is set for 10 seconds after the drive control of the batted ball launcher 103 is stopped. Turn on (steps 8652-56
54). Then, it is checked whether the number of floating balls existing in the game board (number of balls fired - number of balls collected) has become "○", and it is further determined whether the search timer has elapsed for 10 seconds (steps 5655, 5656). ), when the number of floating balls reaches rOJ or the search timer has elapsed for 10 seconds, sends a "return to zero" packet to the management device 400 (step 565).
8). Also, if there are floating balls within 10 seconds after the firing device stops, there is a safe ball, foul ball, out ball or WR person, if there is, step 8626 to 5631
The process returns to step 5657 and calculates the man-hours again (step 5657).

そして、管理装置からの” A CK ”パケットを受
信すると、稼動情報を「フリー」に変更してから、ラン
プ123,163を客待ち表示に変更し、「帰零」ファ
ンクションをカードリーダコントローラへ送信する(ス
テップ8659〜5662)。
When receiving the "ACK" packet from the management device, it changes the operation information to "free", changes the lamps 123 and 163 to the customer waiting display, and sends the "return to zero" function to the card reader controller. (Steps 8659-5662).

カートリーダコントローラCPU2がこのファンクショ
ンを受信すると、カードの帰零穴穿孔位置にパンチ穴を
開けてからシャッタを開き、カードを排出する(ステッ
プ8543〜5546)。
When the cart reader controller CPU 2 receives this function, it punches a hole at the return hole punching position of the card, opens the shutter, and ejects the card (steps 8543 to 5546).

それから、「正常終了」ファンクションをユニットコン
トローラ190へ送り、カード挿入またはファンクショ
ン受信待ちとなる(ステップ5547.5520)。
Then, it sends a "normal end" function to the unit controller 190 and waits for card insertion or function reception (steps 5547 and 5520).

一方、ユニットコントローラは、「正常終了」ファンク
ションを受信すると、パケットまたはファンクション待
ち状態になる(ステップ5663゜5620)。
On the other hand, when the unit controller receives the "normal end" function, it enters a packet or function wait state (steps 5663 and 5620).

第176図には、第172図の遊技中において打止状態
が発生した場合の処理手順が示されている。
FIG. 176 shows a processing procedure when a stopped state occurs during the game shown in FIG. 172.

ステップ5626〜5631の玉数、金額演算後、打止
演算を行い、演算値が打止め数に達したか否か判定する
(ステップ5664,8665)。
After calculating the number of balls and the amount in steps 5626 to 5631, a stop calculation is performed, and it is determined whether the calculated value has reached the stop number (steps 5664, 8665).

そして、打止数に達したときは、打球発射装置103の
駆動制御を停止させてから管理袋[400へ“打止め”
パケットを送信する(ステップ5666.5667)。
When the number of hits has been reached, the drive control of the batted ball launcher 103 is stopped, and then the "stop" button is sent to the management bag [400].
Send the packet (steps 5666.5667).

そして、管理装置からの“ACK”パケットを受信する
と、稼動情報を「打止」に変更し、遊技状態表示ランプ
123を消灯、アナログ表示器163を打止表示(点滅
駆動)に変更する(ステップ5668〜5670)、L
かる後、スピーカ166より打止音を出力させてから、
カードリーダコントローラCPU2に対して「カード受
付不可」ファンクションを送信する(ステップ5671
゜5672)。
When receiving an "ACK" packet from the management device, the operation information is changed to "stopped", the gaming status display lamp 123 is turned off, and the analog display 163 is changed to a stopped display (blinking drive). 5668-5670), L
After that, a stop sound is output from the speaker 166, and then
Sends the "Card not accepted" function to the card reader controller CPU2 (step 5671)
゜5672).

カードリーダコントローラがこのファンクションを受信
すると、シャッタを開いてカードを排出した後、シャッ
タを閉鎖してカードの挿入を禁止する状態にする。それ
から「正常終了」ファンクションをユニットコントロー
ラ190へ送信し、ファンクション受信待ちとなる(ス
テップS55工〜5556)、すると、ユニットコント
ローラが「正常終了」ファンクションを受信してパケッ
ト待ち状態となる(ステップ5673,5674)。
When the card reader controller receives this function, it opens the shutter to eject the card, and then closes the shutter to prohibit card insertion. Then, the "normal end" function is sent to the unit controller 190, and the unit controller 190 waits to receive the function (steps S55-5556).Then, the unit controller receives the "normal end" function and enters the packet waiting state (steps 5673, 5556). 5674).

その後、管理装置から″打止解除”パケットが送られて
くると、ユニットコントローラは稼動情報を「フリー」
に変更し、ランプ123,163を客待ち表示に変更し
てからカードリーダコントローラへ「カード受付可」フ
ァンクションを送信する(ステップ8675〜5678
)。
After that, when a "termination release" packet is sent from the management device, the unit controller changes the operating information to "free".
, changes the lamps 123 and 163 to the customer waiting display, and then sends the "Card accepted" function to the card reader controller (steps 8675 to 5678).
).

すると、カードリーダコントローラは、シャッタを開い
てカード挿入検出を開始し、「正常終了」ファンクショ
ンを送信してから(ステップS557〜5560)、フ
ァンクションまたはカード挿入待ち(ステップ5520
)となる。一方、ユニットコントローラは「正常終了J
ファンクションを受信して(ステップ5679)、パケ
ットまたはファンクション受信待ち(ステップ5620
)となる。この間、パチンコ機コントローラCPU1は
各センサ、スイッチの検出信号の入力待ち状態(ステッ
プ5410)になっている。
Then, the card reader controller opens the shutter, starts card insertion detection, sends a "normal end" function (steps S557 to 5560), and waits for the function or card insertion (step 5520).
). On the other hand, the unit controller displays "Normal completion J".
Receive the function (step 5679) and wait for packet or function reception (step 5620)
). During this time, the pachinko machine controller CPU1 is in a state of waiting for input of detection signals from each sensor and switch (step 5410).

第177図には、強制終了の際の処理手順が示されてい
る。第171図、第174図、第175図、第176図
のパケットまたはファンクション受信待ち状@(ステッ
プ5620)で管理装置400から″強制終了″パケッ
トが送られてくると。
FIG. 177 shows the processing procedure for forced termination. When a "forced termination" packet is sent from the management device 400 in the packet or function reception waiting notice @ (step 5620) shown in FIGS. 171, 174, 175, and 176.

ユニットコントローラ190は、稼動情報を「強制終了
」に変更し、ランプ123,163を消灯し、玉数およ
び金額表示器を「O」にクリアした後、「カード受付不
可JファンクションをカードリーダコントローラCPU
2へ送信する(ステップ8681〜684)。
The unit controller 190 changes the operation information to "forced termination", turns off the lamps 123 and 163, clears the number of balls and amount display to "O", and then sends the "Card not accepted J function" to the card reader controller CPU.
2 (steps 8681 to 684).

すると、カードリーダコントローラは、ファンクション
受信後、カードリーダ内にカードが存在しているか判定
し、入っているときはシャッタを開いてカードを排出し
てから、またカードがないときはそのままステップ85
65へ移行し、シャッタを閉鎖してから「正常終了」フ
ァンクションを送信し、ファンクション受信待ちとなる
(ステップ8561〜5567)。
Then, after receiving the function, the card reader controller determines whether or not a card exists in the card reader, and if so, opens the shutter and ejects the card, and if there is no card, continues to step 85.
The process moves to step 65, closes the shutter, transmits a "normal end" function, and waits for reception of the function (steps 8561 to 5567).

一方、ユニットコントローラはカードリーダコントロー
ラから「正常終了」ファンクションを受信するとパケッ
ト受信待ちとなる(ステップ5685.8686)。
On the other hand, when the unit controller receives the "normal end" function from the card reader controller, it waits for packet reception (steps 5685 and 8686).

その後、管理装置から″強制終了解除″パケットが送ら
れてくると、ユニットコントローラは稼動情報を「フリ
ー」に変更し、ランプ123,163を客待ち表示に変
更してからカードリーダコントローラへ「カード受付可
」ファンクションを送信する(ステップ8687〜56
90)、。
After that, when a "forced termination cancellation" packet is sent from the management device, the unit controller changes the operation information to "free", changes the lamps 123 and 163 to the customer waiting display, and then sends the card reader controller to the card reader controller. Send “Acceptable” function (steps 8687 to 56
90),.

すると、カードリーダコントローラは、シャッタを開い
てカード挿入検出を開始し、「正常終了」ファンクショ
ンを送信してから(ステップ3568〜5571)、フ
ァンクションまたはカード挿入待ち(ステップ5520
)となる。一方、ユニットコントローラは「正常終了」
ファンクションを受信して(ステップ5691)、パケ
ットまたはファンクション受信待ち(ステップ5620
)となる。この間、パチンコ機コントローラCPU1は
各センサ、スイッチの検出信号の入力待ち状態(ステッ
プ5410)になっている。
Then, the card reader controller opens the shutter, starts card insertion detection, sends a "normal completion" function (steps 3568 to 5571), and then waits for the function or card insertion (step 5520).
). On the other hand, the unit controller is "normally completed"
Receive a function (step 5691) and wait for packet or function reception (step 5620)
). During this time, the pachinko machine controller CPU1 is in a state of waiting for input of detection signals from each sensor and switch (step 5410).

第178図には停電発生後のユニット復旧処理の手順が
示されている。
FIG. 178 shows the procedure for unit recovery processing after a power outage occurs.

停電状態が回復すると、各コントローラCPUL、CP
U2,190はそれぞれ内部レジスタ等の初期化を行い
(ステップ5421.5581゜5701)、次にユニ
ットコントローラは台番号設定器171から台番号を読
み出して通し番号、チャネル番号を算出してユニットメ
モリ550に記憶し、″回線テスト″パケットの受信を
待つ(ステップ5702.5703)。
When the power outage is restored, each controller CPUL, CP
U2, 190 initialize their internal registers, etc. (steps 5421, 5581, 5701), and then the unit controller reads the machine number from the machine number setter 171, calculates the serial number and channel number, and stores them in the unit memory 550. It stores and waits for reception of a "line test" packet (steps 5702 and 5703).

一方、パチンコ機コントローラCPUIは初期化後、セ
ンサやスイッチの検出信号入力待ち(ステップ5410
)となり、カードリーダコントローラCP U 2は第
171図のパワーオンリセット時のステップ3502〜
5506と同様にして。
On the other hand, after initialization, the pachinko machine controller CPUI waits for input of detection signals from sensors and switches (step 5410).
), the card reader controller CPU 2 performs steps 3502 to 3502 during power-on reset in FIG. 171.
Do the same as 5506.

コール信号ENQ送信後、ユニットコントローラからの
信号ACKとENQの受信の有無を判定し、ENQを受
信するとAC,Kを返してからファンクション受信待ち
となる(ステップ8582〜8586)。
After transmitting the call signal ENQ, it is determined whether the signals ACK and ENQ have been received from the unit controller, and when ENQ is received, AC and K are returned, and the function waits for reception (steps 8582 to 8586).

ユニットコントローラ190はステップ5703で“回
線テスト”パケットを受信すると、続いて管理装置40
0から送られて来る“ユニット復旧データ”パケットを
受信してユニットメモリ内のデータを停電発生前の状態
に戻すとともに”ACK”パケットを返す(ステップ5
704,5705)。それから、停電前の状態にかかわ
らず発射駆動制御をオフにした後、前の稼動状態が遊技
中であったなら稼動情報を「フリー」にする(ステップ
5706.5707)。次に、管理装置から“リスター
ト”パケットが送られてくるので、それを受信したなら
ばカードリーダコントローラとの間の送受信制御を開始
し、先ずコール信号ENQを送信する(ステップ870
8〜S 710)。
When the unit controller 190 receives the "line test" packet in step 5703, the unit controller 190 then sends the "line test" packet to the management device 40.
Receives the "unit recovery data" packet sent from 0, returns the data in the unit memory to the state before the power outage, and returns an "ACK" packet (step 5
704, 5705). Then, after turning off the firing drive control regardless of the state before the power outage, if the previous operating state was during gaming, the operating information is set to "free" (steps 5706 and 5707). Next, a "restart" packet is sent from the management device, so when it is received, transmission/reception control with the card reader controller is started, and a call signal ENQ is first transmitted (step 870).
8-S 710).

そして、それに対する応答信号ACKを受信したならば
「初期値設定」ファンクションをカードリーダコントロ
ーラへ送る(ステップ5711,5712)。
If a response signal ACK is received, the "initial value setting" function is sent to the card reader controller (steps 5711, 5712).

カードリーダコントローラは、「初期値設定」ファンク
ションを受けると、年月日と識別コードを記憶してから
「正常終了」ファンクションを返す。これを受信したユ
ニットコントローラは、稼動情報に応じてランプ123
,163の表示を行う(ステップ5713.5714)
。つまり元の稼動状態が「遊技中」を除き、元の表示状
態に復帰する。続いてユニットコントローラは稼動情報
に応したファンクションを送信する(ステップ5715
)。すなわち、「フリー」ならカートの「リロード」フ
ァンクションを、また「中断中」なら「カード受付可」
ファンクションを、そして、それ以外のときは「カード
受付不可」ファンクションを送信する。
When the card reader controller receives the "initial value setting" function, it stores the date and identification code, and then returns the "normal completion" function. Upon receiving this, the unit controller controls the lamp 123 according to the operation information.
, 163 are displayed (steps 5713 and 5714).
. In other words, the original display state is restored except when the original operating state is "gaming". Next, the unit controller transmits a function corresponding to the operation information (step 5715).
). In other words, if it is "free", you can use the cart's "reload" function, and if it is "suspended", you can "accept cards".
function, and otherwise a ``card not accepted'' function.

すると、カード7ノーダコントローラは、送られてきた
ファンクションに対応した処理を実行してから、カード
リーダ内にカードが存在していたか判定し、カードがな
かったときは「ステータス」ファンクションを送信する
(ステップ8590〜5592)。また、カードリーダ
内にカードが存在したときには前記ステップ5522〜
525に相当するカードの真偽判定を行なってからカー
ド番号をファンクションに入れて送信した後、ステップ
5520に相当するファンクション受信またはカード挿
入待ち状態になる。
Then, the card 7 node controller executes the process corresponding to the sent function, then determines whether a card exists in the card reader, and if there is no card, sends a "status" function. (Steps 8590-5592). Further, if a card exists in the card reader, steps 5522 to 5522
After determining the authenticity of the card corresponding to step 525 and transmitting the card number in a function, the process enters a state of waiting for function reception or card insertion corresponding to step 5520.

一方、ユニットコントローラは、カードリーダから「ス
テータス」ファンクションを受信するとステップ562
0に相当するパケットまたはファンクション待ちとなり
、カード番号の入ったファンクションを受信すると、ス
テップ5622に相当する“カートイン”パケットを管
理装置に送信した後、第↓72図のステップ8623〜
S63↓の手順に従って遊技処理を開始する。
On the other hand, upon receiving the "status" function from the card reader, the unit controller performs step 562.
0, and when a function containing a card number is received, a "cart-in" packet corresponding to step 5622 is sent to the management device, and then steps 8623 to 8623 in Figure 72 are sent.
Game processing is started according to the procedure of S63↓.

このように、停電発生前の稼動状態が「遊技中Jのとき
は、カードを再読取りしてチエツクした後に遊技が再開
されるようにしてるので、停電復旧時の誤ったデータ(
特にカード番号)の送信による混乱を回避し信頼性を高
めることができるとともに、停電中におけるカードの抜
取り等の不正行為を排除することができる。
In this way, if the operating status before the power outage is "Playing", the game is restarted after rereading and checking the card, so incorrect data (
In particular, it is possible to avoid confusion caused by the transmission of card numbers) and improve reliability, and also to eliminate fraudulent acts such as card removal during power outages.

次に、ユニットコントローラ190における具体的な制
御手順について、第上79図〜第194図を用いて説明
する。
Next, a specific control procedure in the unit controller 190 will be explained using FIGS. 79 to 194.

ユニットコントローラ190における処理には、パワー
オンまたはリセット後の初期化タスクと、それに続く1
0種類のメインタスクと、タイマから1ミリ秒ごと入っ
てくる割込み信号に基づくタイマ割込み処理と、カード
7−ダコントローラエ88との間のファンクションの送
受信の際に発生するシリアル割込み処理とがある。
Processing in the unit controller 190 includes initialization tasks after power-on or reset, and subsequent
There are 0 types of main tasks, timer interrupt processing based on interrupt signals received from the timer every millisecond, and serial interrupt processing that occurs when transmitting and receiving functions between the card 7 and the controller 88. .

このうち、10種類のメインタスクに関してはリアルタ
イム処理で繰り返し実行するようになっている。ここで
、10種類のメインタスクとは、パケット受信タスクと
カードリーダ制御タスク、パケット送信タクス、エラー
制御タスク、玉数演算タスク、スイッチ検出タスク、音
出力タスク、タイマ制御タスク、ランプ駆動タスク、ポ
ート出力制御タスクの10種類である。
Among these, 10 types of main tasks are repeatedly executed in real-time processing. Here, the 10 main tasks are a packet reception task, a card reader control task, a packet transmission task, an error control task, a number calculation task, a switch detection task, a sound output task, a timer control task, a lamp drive task, and a port. There are 10 types of output control tasks.

第179図にはタイマ割込み処理、第180図にはシリ
アル割込み処理の手順が示されている。
FIG. 179 shows the procedure for timer interrupt processing, and FIG. 180 shows the procedure for serial interrupt processing.

第179図のタイマ割込み処理では、先ずユニットメモ
リ内のホットコード(A55A)をチエツク(手続きP
l)して、異常があったときはリセットをかけ、正常で
あれば当該タイマ割込み用のタイマをリセットする(手
続きP2)。次に、ユニットコントローラ190の内部
RAMに用意されているタイマを更新してから、データ
伝送コントローラにより送信の度にrFFHJがセット
され20m5ごとに一エされるユニットメモリ内のウォ
ッチドッグカウンタをチエツクする(手続きP3.P4
)。ここで、ウォッチドッグカウンタが「0」になって
いればデータ伝送コントローラがダウンしたと判定して
セグメント型表示器駆動用のコモン信号を固定しリセッ
ト回路555によるリセットがかかるようにする。
In the timer interrupt processing shown in FIG. 179, first the hot code (A55A) in the unit memory is checked (procedure P
l) If there is an abnormality, a reset is applied, and if it is normal, the timer for the timer interrupt is reset (procedure P2). Next, after updating the timer prepared in the internal RAM of the unit controller 190, the data transmission controller checks the watchdog counter in the unit memory, which sets rFFHJ every time it is transmitted and is refreshed every 20m5. (Procedure P3.P4
). Here, if the watchdog counter is "0", it is determined that the data transmission controller has gone down, the common signal for driving the segment type display is fixed, and a reset is applied by the reset circuit 555.

ウォッチドッグカウンタが正常であれば、次のセンサお
よびスイッチの検出処理(第181図(A)参照)を実
行してからスイッチ検出信号無効処理(第(81図(B
)参照)を実行する(手続きP5.P6)。
If the watchdog counter is normal, the next sensor and switch detection process (see Figure 181 (A)) is executed, and then the switch detection signal invalidation process (Figure 81 (B)) is executed.
)) is executed (procedures P5 and P6).

しかる後、金額、玉数データをユニットメモリから読み
出してコード変換し、それに基づいて金額表示器111
と玉数表示器11−2のセグメントデータ、コモンデー
タを形成して出力し、金額および玉数をダイナミック表
示させる(手続きP7゜P8)。
After that, the amount and number of balls data are read from the unit memory and converted into codes, and the amount display 111
Segment data and common data for the ball number display 11-2 are formed and output, and the amount and number of balls are dynamically displayed (procedures P7 and P8).

一方、第180図のシリアル割込み処理では、ユニット
コントローラ190の内部の送信バッファまたは受信バ
ッファから割込みが入ってくると。
On the other hand, in the serial interrupt processing shown in FIG. 180, when an interrupt is received from the internal transmission buffer or reception buffer of the unit controller 190.

先ず受信割込みか否か判定し、受信割込みであれば丁バ
イトの受信データを内部RAMへ移す(手続きpH,P
I3)。また、シリアル割込みが送信バッファからの割
込みであった場合には、1バイトの送信データを送信バ
ッファをシフトさせることでシリアルデータに変換して
出力する1バイト送信処理を実行する(手続きPI3.
PI3)。なお、上記シリアル割込みは、受信バッファ
または送信バッファに送受信データが入ると自動的にC
PUに対して割込み信号が入力されるようになっている
First, it is determined whether it is a receive interrupt or not, and if it is a receive interrupt, 1 byte of received data is transferred to the internal RAM (procedures pH, P
I3). If the serial interrupt is an interrupt from the transmission buffer, 1-byte transmission processing is executed in which 1-byte transmission data is converted to serial data and output by shifting the transmission buffer (Procedure PI3.
PI3). Note that the above serial interrupt is automatically triggered when transmit/receive data enters the receive buffer or transmit buffer.
An interrupt signal is input to the PU.

タイマ割込み処理(第179図)中におけるセンサおよ
びスイッチ検出処理は第181図(A)に示すような手
順に従って行われる。
Sensor and switch detection processing during the timer interrupt processing (FIG. 179) is performed according to the procedure shown in FIG. 181(A).

すなわち、先ず購入スイッチ113.中断スイッチ11
4、精算スイッチ115、テストスイッチ179および
呼出しスイッチ165aのオン・オフ状態を読み込んで
前回の状態と比較する(手続きP51.、P52)、状
態の比較は例えばイクスクルーシブORのような論理演
算を行うことで状態が変化したか容易に知ることができ
る。ここで、新たにオン状態になったスイッチがあれば
、そのスイッチのオン状態を内部RAMにセーブする(
手続きPb0)。
That is, first, the purchase switch 113. Interrupt switch 11
4. Read the on/off states of the payment switch 115, test switch 179, and call switch 165a and compare with the previous state (procedures P51., P52). Comparison of states is performed using a logical operation such as exclusive OR, for example. By doing this, you can easily tell if the condition has changed. Here, if there is a switch that is newly turned on, save the on state of that switch in the internal RAM (
Procedure Pb0).

次に、センサ検出中になっているか(手続きPb0)、
すなわち「遊技中」か否か判定し、センサ検出中であれ
ば発射センサ5NS5、セーフセンサ5NS2,5NS
3、ファールセンサ5NS4、アウトセンサ5NSIの
状態を読み込んで前回の状態と比較する(手続きP55
.P56)。
Next, check whether the sensor is being detected (procedure Pb0).
In other words, it is determined whether or not the game is being played, and if the sensor is being detected, the firing sensor 5NS5 and the safe sensors 5NS2 and 5NS are activated.
3. Read the status of foul sensor 5NS4 and out sensor 5NSI and compare with the previous status (procedure P55)
.. P56).

そして、新たにオン状態になったセンサがあれば、その
センサのオン状態を内部RAMにセーブする(手続きP
b7)。
If there is a sensor that has newly turned on, the on state of that sensor is saved in the internal RAM (procedure P
b7).

しかる後、打球発射装置103の駆動制御が行われてい
るか否か判定し、制御中なら手続きP60ヘジャンプし
、制御していない状態ならば手続きPb7でRAMにセ
ーブした発射センサのオン状態を無効にする(手続きP
58.P59)。それから、RAMにセーブしたデータ
を見て発射センサがオンしているならば、RAMに設け
られた浮遊玉数を計数するカウンタを加算する(手続き
P2O,P61)。また1発射センサがオフならば浮遊
玉数をインクリメントせずにそのまま次の手続きP62
に進み、浮遊玉数がrOJか否か判定する。ここで、浮
遊玉数がrOJならRAMにセーブした第1セーフセン
サ5NS2のオン状態を無効にしく手続きP76)、「
0」でないときは第1t−フセンサがオン状態か否か調
べてオンなら浮遊玉数を減算(手続きP63.P64)
してから、また第1セーフセンサがオフならそのまま手
続きP65へ進み、再び浮遊玉数が「0」か否か判定す
る。
After that, it is determined whether or not the drive control of the batted ball launcher 103 is being performed, and if it is being controlled, jumps to procedure P60, and if it is not being controlled, the ON state of the launch sensor saved in the RAM is invalidated in procedure Pb7. (Procedure P
58. P59). Then, if the data saved in the RAM is checked and the firing sensor is on, a counter provided in the RAM for counting the number of floating balls is incremented (procedures P2O and P61). Also, if the 1 firing sensor is off, proceed to the next procedure P62 without incrementing the number of floating balls.
Then, it is determined whether the number of floating balls is rOJ. Here, if the number of floating balls is rOJ, disable the ON state of the first safe sensor 5NS2 saved in RAM.
If it is not 0, check whether the 1st t-fusensor is on or not, and if it is on, subtract the number of floating balls (procedures P63 and P64).
After that, if the first safe sensor is off again, the process directly proceeds to procedure P65, and it is again determined whether the number of floating balls is "0" or not.

そして、浮遊玉数がrOJならRAMにセーブした第2
セーフセンサ5NS3のオン状態を無効にしく手続きP
77)、rOJでないときは第2セーフセンサがオン状
態か否か調べてオンなら浮遊玉数を減算(手続きP66
、P67)してから、また第2セーフセンサがオフなら
そのまま手続きP68へ進み、再び浮遊玉数がrOJか
否か判定する。ここで、浮遊玉数が「0」ならRAMに
セーブしたファールセンサ5NS4のオン状態を無効に
しく手続きP78)、rOJでないときはファールセン
サがオン状態か否か調べてオンなら浮遊玉数を減算(手
続きP69.P2O)L、てから、またファールセンサ
がオフならそのまま手続きP71へ進み、再び浮遊玉数
が「O」か否か判定する。ここで、浮遊玉数が「O」な
らRAMにセーブしたアウトセンサ5NSIのオン状態
を無効にしく手続きP79)、「0」でないときはアウ
トセンサがオン状態か否か真人でオンなら浮遊玉数を減
算(手続きP72.P73)してから、またアウトセン
サがオフならそのまま手続きP74へ進み、セーフセン
サ1または2のいずれかが有効なら当り音の出力予約と
セーフ球表示ランプの点灯を指示してから、RAM中に
セーブされたままの有効なオン状態のセンサに関するオ
ン回数カウンタを加算(+l)する(手続きP75)。
Then, if the number of floating balls is rOJ, the second
Procedure P to disable the on state of safe sensor 5NS3
77), if it is not rOJ, check whether the second safe sensor is on or not, and if it is on, subtract the number of floating balls (procedure P66).
, P67), and if the second safe sensor is off again, the process directly proceeds to procedure P68, and it is again determined whether the number of floating balls is rOJ. Here, if the number of floating balls is "0", disable the on state of the foul sensor 5NS4 saved in RAM (procedure P78), and if it is not rOJ, check whether the foul sensor is on or not, and if it is on, subtract the number of floating balls. (Procedure P69.P2O) After L, if the foul sensor is off again, the process directly proceeds to procedure P71, and it is determined again whether the number of floating balls is "O" or not. Here, if the number of floating balls is "O", disable the on state of the out sensor 5NSI saved in RAM (procedure P79), and if it is not "0", check whether the out sensor is on or not. If it is on with Masato, then the number of floating balls After subtracting (procedures P72 and P73), if the out sensor is off, proceed directly to procedure P74, and if either safe sensor 1 or 2 is enabled, instruct to reserve the output of the hit sound and light the safe ball indicator lamp. Then, the on-count counter for the valid on-state sensor saved in the RAM is incremented (+l) (procedure P75).

しかる後、第181図(B)のスイッチ無効処理を実行
する。この処理では、先ず稼動状態が「遊技中」か調へ
、「遊技中」ならRAMにセーブしたテストスイッチの
オン状態を無効にしく手続きP81.P82)、「遊技
中」以外なら中断スイッチ114と購入スイッチ113
のオン状態を無効(手続きP83)にしてからカート状
態が「帰零」か否か判定し、「帰零」ならセーブした購
入スイッチ、中断スイッチおよび終了スイッチ115の
オン状態を無効にする(手続きP84゜P85)。
Thereafter, the switch invalidation process shown in FIG. 181(B) is executed. In this process, first check whether the operating state is "gaming", and if it is "gaming", disable the on state of the test switch saved in the RAM (P81). P82), if it is not "playing", press the interrupt switch 114 and the purchase switch 113.
After disabling the on state of the cart (procedure P83), it is determined whether the cart state is "return to zero", and if it is "return to zero", the on state of the saved purchase switch, interrupt switch, and end switch 115 is disabled (procedure P84°P85).

上記のように、本実施例のユニットコントローラによる
パチンコ機の制御では、浮遊玉という概念を取り入れ、
発射球の数から入賞球やアウト球、ファール球の数を引
いた分の玉が浮遊玉として遊技盤内に存在するものとみ
なし、浮遊玉数が「0」以下になるような入賞球等の検
出があった場合はそれを無効とするようにしている。こ
れによって、ノイズ等による誤検出信号をなくし、玉数
の演算精度を向上させることができる。
As mentioned above, the control of the pachinko machine by the unit controller of this embodiment incorporates the concept of floating balls,
Winning balls, etc. that reduce the number of floating balls to 0 or less by deducting the number of winning balls, out balls, and foul balls from the number of launched balls are considered to exist on the game board as floating balls. If it is detected, it will be invalidated. This eliminates erroneous detection signals due to noise, etc., and improves the accuracy of calculation of the number of balls.

次に、ユニットコントローラ190による初期化タスク
およびリアルタイム処理される10種類のメインタスク
について説明する。
Next, the initialization task and ten types of main tasks processed in real time by the unit controller 190 will be described.

第182図にはそのうち初期化タスクが示されている。FIG. 182 shows the initialization task.

ユニットコントローラ190は、パワーオン時あるいは
ウォッチドッグパルスの消滅時にリセット回路555か
らリセット信号が入ってくると、初期化タスクを開始し
、先ず内部RAMをクリアして所定の番地にチエツクコ
ードを書き込んでから内部レジスタに初期値を設定する
とともに、I10ボートを予め定められた初期状態に設
定する(手続きP91〜P93)。それから、RAM内
に用意された複数の基準タイマをそれぞれセットした後
、データ伝送コントローラ551によるユニットメモリ
550への書込みによって出力されるイニシャライズ信
号INTの立上りを待つ(手続きP94.P95)。そ
して、INT信号が立ち上がった時点で台番号設定スイ
ッチ171の設定番号を読み込んで1通し番号とチャネ
ル番号を算出し、それらをユニットメモリの送信データ
エリアに書き込んだ後、管理装置400から“回線テス
ト”パケットが送られてくるのを待つ(手続きP96〜
P98)とともに、テストスイッチ179をチエツクす
る。そして、″回線テスト“パケットを受信したなら“
A CK ”パケットを管理装置へ返してからメインタ
スクへ、またパ回線テスト”パケット受信前にテストス
イッチがオンされたなら、テストモードフラグをセット
してからメインタスクへそれぞれ移行する。
When the unit controller 190 receives a reset signal from the reset circuit 555 at power-on or when the watchdog pulse disappears, it starts an initialization task, first clears the internal RAM and writes a check code at a predetermined address. Initial values are set in the internal registers, and the I10 port is set in a predetermined initial state (procedures P91 to P93). Then, after setting each of a plurality of reference timers prepared in the RAM, the CPU waits for the rise of the initialization signal INT output by writing to the unit memory 550 by the data transmission controller 551 (procedures P94 and P95). Then, when the INT signal rises, the setting number of the unit number setting switch 171 is read, the serial number and the channel number are calculated, and after writing them to the transmission data area of the unit memory, the management device 400 issues a "line test". Wait for the packet to be sent (procedure P96~
P98) and check the test switch 179. And if you receive a “line test” packet, then “
ACK ``Return the packet to the management device, then go to the main task, and if the test switch is turned on before receiving the PA line test'' packet, set the test mode flag and then go to the main task.

第183図にはユニットコントローラ190の10種類
のメインタスクのうち、「パケット受信タスク」の処理
手順が示されている。
FIG. 183 shows the processing procedure of the "packet reception task" among the ten types of main tasks of the unit controller 190.

このタスクにおいては、先ずユニットメモリ550を調
べて管理装置400からパケットが送られてきているか
判定し、受信パケットがないとき+t”AcK’パケッ
トの返送を待っている状態か調尺る(手続きP王○1.
、P2O3)。そして。
In this task, first, the unit memory 550 is checked to determine whether a packet has been sent from the management device 400, and if there is no received packet, it is determined whether the state is waiting for the return of a +t"AcK" packet (procedure P King○1.
, P2O3). and.

ノオ(否)ならば手続きPIOIへ戻って上記手順を繰
り返し1手続きP2O3で’ A CK ”パケット待
ちになると、手続きP i O3へ移行し、第187図
のパケット送信タスク中の手続きP2S5でセットされ
るACK待ちのタイマを読み込む。
If no (no), return to procedure PIOI and repeat the above steps.When the 'ACK' packet is waited for in procedure P2O3, the process moves to procedure PIO3 and is set in procedure P2S5 in the packet transmission task in Figure 187. Reads the timer waiting for ACK.

そして1次にそのタイマがタイムオーバーを生じたか否
かチエツクし、タイムオーバーを起こすと内部RAM内
のACK受信エラーフラグをセットする(手続きP2O
3,PtO2)。このフラグは後述のエラー制御タスク
(第1.88図)で参照される。
The first step is to check whether or not the timer has timed out, and if a timeout has occurred, the ACK reception error flag in the internal RAM is set (procedure P2O
3, PtO2). This flag will be referenced in the error control task (Figure 1.88), which will be described later.

一方、上記手続きPlotで受信パケット有りと判定す
ると、その受信パケットのタイプ名をユニットメモリか
ら内部RAMに読み込んで、それが” N A K ”
パケットか否か先ず判定する(手続きP2O3,P2O
3)。そして、” N A K ”であればRAMに用
意されたNAKフラグをセット(手続きP2O3)して
からまた” N A K ”でなければそのまま手続き
P2O3へ進んで、受信したパケットが登録されている
ものか判定する。そして、未登録パケットならば手続き
P 1. l Oでユニットメモリのコマンドレジスタ
CR2内のパケットタイプ名を「O」にクリアして手続
きPIOlへ戻る。コマンドレジスタCR2のクリアに
よりパケットの受信がなかったものとされる。
On the other hand, if it is determined that there is a received packet in the above procedure Plot, the type name of the received packet is read from the unit memory to the internal RAM, and it is "NAK".
First determine whether it is a packet (procedures P2O3, P2O
3). If it is "NAK", it sets the NAK flag prepared in the RAM (procedure P2O3), and if it is not "NAK", it directly proceeds to procedure P2O3, and the received packet is registered. Determine whether it is something. If the packet is unregistered, procedure P1. 1 Clears the packet type name in command register CR2 of the unit memory to "O" with O, and returns to procedure PIO1. By clearing the command register CR2, it is assumed that no packet has been received.

手続きP2O3で受信パケットが登録されたものである
ことが判ると1手続きpH王〜P125でいずれのパケ
ットであるか判定し、判明したパケットの種類に応じた
処理(第184図(A)〜(N))を実行する。
If it is determined in procedure P2O3 that the received packet is a registered one, it is determined which packet it is in procedures 1 to 125, and processing is performed according to the type of packet found (FIGS. 184 (A) to (184)). N)).

第184図(A)は上記パケット受信タスク内の゛′初
期値設定“パケット受信処理の手順を示す。
FIG. 184(A) shows the procedure of the ``initial value setting'' packet reception process in the packet reception task.

ユニットコントローラ190は、゛′初期値設定”パケ
ットを受信するとユニットメモリ550の受信データエ
リア内の対応する欄に、また同様にホットコードも伝送
データエリアにそれぞれコピーする(手続きP2O3,
P2O3)。送信したパケットのヘット部を受信データ
エリアと送信データエリアに書き込むことによりユニッ
トコントローラによる送信データエリアのパケットヘッ
ドの作成を簡略化できる。次に、モニタ情報上内の「初
期値未設定」ビットをチエツクして初期値受信済か判定
しく手続きP2O3)受信済なら直ちに手続きP2O3
へ、また受信していないときには手続きP2O3,P2
O3で稼動情報を「強制終了」に変更し、カードリーダ
への送信を禁止する状態にしてから、それぞれ手続きP
2O3へ移行してカードリーダとの通信制御(受信)を
可能な状態にする。″初期値設定″パケットは開店後に
管理装置400のコンソールで賞品球や打止数を変更し
た場合にも送信される場合があり、その場合には稼動情
報を変えるのは好ましくないからである。それから、内
部RAMのフラグを見てテストモード中か否かチエツク
して(手続きP2O3)、テストモードならそのまま、
手続きP310へ移行し、また通常動作モードなら手続
きP2O3でカートリーダへ初期値を送信済か否かフラ
グでチエツクして送信済なら初期値受信済フラグをクリ
ア(手続きP2O3)L、てから、手続きP310へそ
れぞれ移行してカードリーダへの送信を許可する。そし
て、次に「初期値設定」ファンクションを内部RAMの
所定のエリア(送信バッファエリア)に書き込むことに
より送信予約を行ってから、フラグを見て再び初期値受
信済か判定する(手続きP311.P312)。
When the unit controller 190 receives the ``initial value setting'' packet, it copies the hot code into the corresponding column in the reception data area of the unit memory 550, and also copies the hot code into the transmission data area (procedure P2O3,
P2O3). By writing the head portion of the transmitted packet into the reception data area and the transmission data area, it is possible to simplify the creation of the packet head of the transmission data area by the unit controller. Next, check the "initial value not set" bit in the monitor information to determine whether the initial value has been received.If the initial value has been received, immediately proceed to procedure P2O3.
, and if it is not received, proceed to procedure P2O3, P2
Change the operation information to "forced termination" in O3, prohibit sending to the card reader, and then perform each procedure P.
2O3 to enable communication control (reception) with the card reader. This is because the "initial value setting" packet may be sent even when the prize balls or the number of shots are changed on the console of the management device 400 after the store opens, and in that case, it is not desirable to change the operating information. Then, check the internal RAM flag to see if it is in test mode (procedure P2O3), and if it is in test mode,
Move to procedure P310, and if in normal operation mode, check the flag to see if the initial value has been sent to the cart reader in procedure P2O3, and if it has been sent, clear the initial value received flag (procedure P2O3), then proceed to procedure P2O3. The process then moves to P310 to permit transmission to the card reader. Then, after making a transmission reservation by writing the "initial value setting" function to a predetermined area (transmission buffer area) of the internal RAM, check the flag again to determine whether the initial value has been received (procedures P311 and P312). ).

なお、手続きP2O3でカードリーダへの「初期値設定
」ファンクションがまだ未送信なら手続きP312ヘジ
ャンプしているのは、最初の初期値送信の際にはカード
リーダからの「初期値要求」ファンクションを受信して
から初期値を送信するようにするためである。手続きP
312において、初期値パケットを受信していないと判
定したときは、手続きP313へ進みモニタ情報工の「
初期値設定」ビットをクリアし、初期値受信済と判定し
た場合には手続きP312からP314へ移行して「初
期値設定」ファンクションの送信予約を行ってから元の
処理ルーチン(第183図)へ戻る。
In addition, if the "initial value setting" function has not yet been sent to the card reader in procedure P2O3, the process jumps to procedure P312 because the "initial value request" function is received from the card reader at the time of the first initial value transmission. This is to ensure that the initial value is sent after Procedure P
If it is determined in step 312 that the initial value packet has not been received, the process advances to step P313 and the monitor information
If the "initial value setting" bit is cleared and it is determined that the initial value has been received, proceed from procedure P312 to P314, reserve the transmission of the "initial value setting" function, and then return to the original processing routine (Figure 183). return.

第184図(B)にはパケット受信タスク中の“開店コ
ード”パケット受信処理の手順を示す。
FIG. 184(B) shows the procedure of "store opening code" packet reception processing in the packet reception task.

ユニットコントローラ190は″開店コード“パケット
を受信すると、先ず稼動情報を「フリー」に設定した後
、フラグを見て、テストモード中か否か判定する(手続
きP321.P322)、そして、テストモード中なら
そのまま元のルーチンへ戻り、通常動作モード中ならラ
ンプ123,163による表示を客待ち状態に変更して
から「カード受付可」ファンクションをRAMに書き込
んで送信予約を行った後、カード挿入ランプ168を点
滅駆動に変えてから元のルーチンへ戻る(手続きP32
3.P324.P325)。
When the unit controller 190 receives the "opening code" packet, it first sets the operation information to "free", then looks at the flag and determines whether it is in test mode (procedures P321 and P322), and then, in test mode. If so, return to the original routine, change the display on the lamps 123 and 163 to the customer waiting state if it is in the normal operation mode, write the "Card Acceptable" function to the RAM, make a transmission reservation, and then turn on the card insertion lamp 168. After changing to blinking drive, return to the original routine (Procedure P32
3. P324. P325).

第184図(C)にはパケット受信タスク中のパ閉店コ
ード”パケット受信処理の手順を示す。
FIG. 184(C) shows the procedure for the "Packet closing code" packet reception process during the packet reception task.

ユニットコントローラ190は“閉店コード″パケット
を受信すると、先ず稼動情報を調べて稼動情報が「遊技
中」か「中断中」のときはそのまま元のルーチンへ戻る
。゛閉店コード″パケットは通常″強制終了″パケット
の後に送られてくるので、遊技中や中断中のパチンコ機
があるのに“閉店コード″が送られて来るはずはないか
らである。これによって、誤って閉店スイッチをオンし
てしまった場合の安全装置として機能する。また、稼動
情報が「遊技中」または「中断中」でなければ「強制終
了」に変更した後、フラグを見て、テストモード中か否
か判定する(手続きP331〜P 333)。そして、
テストモード中ならそのまま元のルーチンへ戻り、通常
動作モート中なら全ランプを消灯してから「カード受付
不可」ファンクションをRAMに書き込んで送信予約を
行ってから元のルーチンへ戻る(手続きP334.P2
S5)。
When the unit controller 190 receives the "closing code" packet, it first checks the operating information, and if the operating information is "gaming" or "interrupted", it returns to the original routine. The ``Closing Code'' packet is usually sent after the ``Forced Termination'' packet, so there is no way the ``Closing Code'' would be sent even if there is a Pachinko machine that is playing or has been suspended. , functions as a safety device in case you accidentally turn on the closing switch. Also, if the operation information is not "gaming" or "interrupted", change it to "forced termination", then look at the flag. It is determined whether the test mode is in progress (procedures P331 to P333). and,
If you are in test mode, return to the original routine, and if you are in normal operation mode, turn off all lamps, write the "Card not accepted" function to RAM, make a transmission reservation, and return to the original routine (Procedure P334.P2
S5).

なお、手続きP2S5で稼動情報を「強制終了」に変更
してからテストモードの判定(P333)を行っている
のは、オンラインでのテストモード動作中の″閉店″パ
ケットを受は付けてテストモード終了後に速やかにパチ
ンコ機を強制終了状態へ移行させるためである。
In addition, the test mode judgment (P333) is performed after changing the operation information to "forced termination" in procedure P2S5. This is to quickly shift the pachinko machine to a forced termination state after the termination.

第184図(D)には、第183図のパケット受信タス
ク中の″強制終了″パケット受信処理の手順を示す。
FIG. 184(D) shows the procedure of the "forced termination" packet reception process in the packet reception task of FIG. 183.

ユニットコントローラ190は“強制終了″パケットを
受信すると先ずユニットメモリ550の送信データエリ
ア内のカードテキストデータをクリアしてから稼動情報
を「強制終了」に変更する(手続きP341.P342
)。そして、次の手続きP343で、″テストモード”
フラグをチエツクしてテストモード中ならばそのまま元
のルーチンへ戻り、テストモード終了後に速やかに強制
終了状態へ移行できるようにする。一方、通常動作モー
トならセンサの検出および打球発射装置↓O3の制御を
停止させてから、全ランプを消灯させ、カードリーダに
「カード受付不可」ファンクションを送った後、内部R
AMの所定の番地に音の種類を指定するデータを書き込
んで強制終了音の出力予約を行って元のルーチン(第1
83図)へ復帰する(手続きP344〜P348)。こ
れによって、パチンコ機は遊技中であればカードを排出
して遊技不能になり、その他の場合にはカードを受は付
けない状態になる。
When the unit controller 190 receives the "forced termination" packet, it first clears the card text data in the transmission data area of the unit memory 550, and then changes the operation information to "forced termination" (procedures P341 and P342).
). Then, in the next procedure P343, select "Test mode"
If the flag is checked and the test mode is in progress, the program returns to the original routine, and after the test mode ends, it is possible to quickly shift to the forced termination state. On the other hand, in the normal operation mode, after stopping sensor detection and control of the ball launcher ↓ O3, turning off all lamps, and sending the "Card not accepted" function to the card reader, the internal R
Write data specifying the type of sound to a predetermined address in AM, reserve the output of the forced termination sound, and return to the original routine (first
83) (procedures P344 to P348). As a result, if the pachinko machine is in the middle of a game, it will eject cards and become unable to play, and in other cases it will not accept cards.

第184図(E)には“強制終了解除″パケットを受信
した場合の処理手順が示されている。
FIG. 184(E) shows the processing procedure when a "forced termination cancellation" packet is received.

ユニットコントローラ190は″強制終了解除“パケッ
トを受信すると、先ず稼動情報を調へて強制終了中か否
か判定し、強制終了中でなければ何もせずに元のルーチ
ンへ戻る(手続きP 351 )。
When the unit controller 190 receives the "forced termination cancellation" packet, it first examines the operating information and determines whether or not it is being forcibly terminated, and if it is not being forcibly terminated, it does nothing and returns to the original routine (procedure P351). .

また、強制終了中であれば稼動情報を「フリー」に変更
してから、フラグをチエツクしてテストモード中か否か
判定する(手続きP2S5.P2S5)。ここでテスト
モード中ならそのまま元のルーチンへ戻ってテストモー
ド終了複速やかにパチンコ機をフリー状態に移行できる
ようにする。
Furthermore, if it is being forcibly terminated, the operation information is changed to "free", and then the flag is checked to determine whether or not the test mode is in progress (procedures P2S5.P2S5). Here, if the test mode is in progress, the original routine is returned to, and the pachinko machine can be transferred to the free state as soon as the test mode ends.

一方、テストモードでないときは、ランプの表示を客待
ち状態に変更してからカードリーダに対する「カード受
付可」ファンクションの送信予約を行い、カード挿入ラ
ンプ168を点滅状態に変更してもとのルーチン(第1
83図)へ戻る(手続きP354〜P 356)。
On the other hand, when it is not in the test mode, the lamp display is changed to the customer waiting state, a "card accepted" function is scheduled to be transmitted to the card reader, the card insertion lamp 168 is changed to a blinking state, and the original routine is resumed. (1st
83) (Procedures P354 to P356).

第184図(F)に゛1打止解除”パケット受信処理の
手順を示す。
FIG. 184(F) shows the procedure of the "1 abort cancellation" packet reception process.

この手順は第184図(E)の強制終了解除の手順とほ
ぼ同様である。異なるのは手続きP2S5で稼動情報を
「フリー」にした後、ユニットメモリ550内の打止演
算レジスタをクリアしてからテストモードの判定を行な
う点のみである。
This procedure is almost the same as the procedure for canceling forced termination shown in FIG. 184(E). The only difference is that after the operation information is set to "free" in procedure P2S5, the abort calculation register in the unit memory 550 is cleared and then the test mode is determined.

また、第184図(G)に″中断終了”パケット受信処
理の手順を示す。
Further, FIG. 184(G) shows the procedure of the "suspension end" packet reception process.

この手順は第184図(E)の強制終了解除の手順とほ
ぼ同様である。異なるのは手続きP372で稼動情報を
「フリーjにした後、ユニットメモリ550内のカード
テキストデータをクリアしてからテストモードの判定を
行なう点と、中断中においてもカードの受付けは可能に
なっているため、手続きP2S5に相当する「カード受
信可」ファンクションの送信予約を行なわない点にある
This procedure is almost the same as the procedure for canceling forced termination shown in FIG. 184(E). The difference is that in procedure P372, the operation information is set to "free j", the card text data in the unit memory 550 is cleared, and then the test mode is determined, and it is now possible to accept cards even during suspension. Therefore, the transmission reservation of the "Card Receivable" function corresponding to procedure P2S5 is not performed.

第184図(H)には第183図のパケット受信タスク
中の゛ユニット復旧″パケットの受信処理の手順を示す
FIG. 184(H) shows the procedure for receiving the "unit recovery" packet in the packet receiving task of FIG. 183.

このパケットを受信すると、ユニットコントローラ19
0は先ず受信データエリアのパケットヘッドを送信デー
タエリアにコピーした後、モニタ情報上の「初期値設定
」ピントをクリアする(手続きP2S5.F’382)
。パユニット復旧″パケットが送信されるのは定時デー
タ収集で異常を見つけたときや停電復旧時であるが、前
者の場合には既にユニットコントローラは初期値を受信
し保持しているからであり、また停電復旧の際には″初
期値設定″パケット送信後に゛′ユニット復旧″パケッ
トが送信されるからである。
Upon receiving this packet, the unit controller 19
0 first copies the packet head of the reception data area to the transmission data area, and then clears the "initial value setting" focus on the monitor information (procedure P2S5.F'382).
. The ``Par Unit Recovery'' packet is sent when an abnormality is detected during regular data collection or when a power outage is restored; however, in the former case, the unit controller has already received and retained the initial value; This is because when power is restored, a ``unit recovery'' packet is sent after an ``initial value setting'' packet is sent.

モニタ情報1のビットクリア後は打球発射装置103の
制御およびセンサの検出を停止させた後、異常発見前に
生じたパケットやファンクションの送信予約を取り消し
てパケット送信やカードリーダの制御に関するフラグを
クリアして動作を停止させてから、管理装置400への
“A CK ”パケットの送信の予約を行なう(P 3
83〜P 387)。
After clearing the bit of monitor information 1, control of the batted ball launcher 103 and sensor detection are stopped, and then the transmission reservation of packets and functions that occurred before the abnormality was discovered is canceled and the flags related to packet transmission and card reader control are cleared. After stopping the operation, a reservation is made to send an “ACK” packet to the management device 400 (P3
83-P 387).

次に、復旧された送信データエリアの稼動情報を調へて
元の稼動状態が遊技中でなければそのまま元のルーチン
(第183図)へ、また遊技中なら稼動情報を「フリー
」に変更してから元のルーチンへ戻る。現実の状態と一
致させると共に、その後送られてくる″リスタート″パ
ケットの処理で稼動情報に応じた処理を円滑に実行させ
るためである。
Next, check the operating information of the restored transmission data area, and if the original operating state is not playing, return to the original routine (Fig. 183), and if playing, change the operating information to "free". then return to the original routine. This is to match the actual state and to smoothly execute the process according to the operation information in the process of the "restart" packet that is sent thereafter.

第184図(I)には″リスタート″パケットの受信処
理手順を示す。
FIG. 184(I) shows a procedure for receiving a "restart" packet.

ユニットコントローラ190は″リスタート″パケット
を受信すると、先ずカードリーダとの間の通信制御を開
始させ「初期値設定Jファンクションの送信予約を行な
う(手続きP 391.、P 392)。
When the unit controller 190 receives the "restart" packet, it first starts communication control with the card reader and "reserves transmission of the initial value setting J function" (procedures P 391 and P 392).

次に、稼動情報を調へて「強制終了」ならば同図(D)
の手続きP341へ移行して、強制終了要求処理と同一
手順に従ってパチンコ機を゛′ユニット復旧″パケット
による動作停止前と同一の状態にさせる(手続きP39
3)。
Next, check the operating information and if it is "forced termination", the same figure (D)
Proceed to procedure P341 and return the pachinko machine to the same state as before the operation was stopped by the ``unit recovery'' packet according to the same procedure as the forced termination request process (procedure P39).
3).

また、稼動情報が「打止め」なら後述の手続きP2S5
へ移行してパチンコ機を打止めの状態にさせ(手続きP
394)、稼動情報が「中断中」のときはカードリーダ
に対する「カード受信可」ファンクションの送信予約を
行ってから第184図(K)の後述の手続きP427へ
移行してパチンコ機を遊技中断の状態にさせる(手続き
P395、P396)。
Also, if the operation information is "discontinued", the procedure P2S5 described below
to stop the pachinko machine (Procedure P
394), when the operation information is "suspended", a reservation is made to transmit the "card reception possible" function to the card reader, and then the process proceeds to procedure P427 described later in FIG. 184 (K) to interrupt the pachinko machine. state (procedures P395, P396).

一方、稼動情報が「強制終了」、「打止め」または「中
断中」以外のとき、すなわち「フリー」のとき(第18
4図(H)のユニット復旧処理手続きP2S5があるた
め稼動情報が「遊技中」のことはない)は、ランプ表示
を客待ち状態にしてからカードリーダに対し、カード再
読みを指令する「リロード」ファンクションの送信予約
を行ない、カード挿入ランプ168を点滅駆動させて元
のルーチン(第183図)に戻る(手続きP397〜P
399)。
On the other hand, when the operation information is other than "forced termination", "stopped" or "interrupted", that is, when it is "free" (18th
4 (H), the operation information is not "gaming" because there is a unit recovery processing procedure P2S5). ” function is scheduled to be sent, the card insertion lamp 168 is blinked, and the process returns to the original routine (Fig. 183) (Procedures P397 to P397)
399).

第184図(J)には、第183図のパケット受信タス
クにおいて゛′カートイン″パケットに対する応答を受
信した場合の処理手順を示す。
FIG. 184 (J) shows a processing procedure when a response to the ``cart-in'' packet is received in the packet reception task of FIG. 183.

ユニットコントローラ190は゛′カードインTIパケ
ットに対する応答があると、コントローラがACK待ち
状態であったがチエツク(手続きP2O工)し、ACK
待ちでないのにカードテキストの入った” A CK”
パケットがきたときは誤りとみなして受信データエリア
のカードテキストデータをクリアする(手続きp402
)。一方、ACK待ち状態でパケットが入ってくるとそ
のパケットがNAK (否定応答)か否かチエツク(手
続きP2O3)L、NAKならば当該カードが存在しな
いものとしてカードリーダに対する「カード排出」ファ
ンクションの送信およびカード受付不成功を表わす音を
発生させる音出方が予約を行なって元のルーチンへ戻る
(手続きP2O3,P2O3)。また、応答がNAKで
ないときであっても” A CK ”パケット内のカー
ト番号がその前に送信したカード番号と一致しないとき
も手続きP2O3、P2O3へ移行してカードの受付け
を拒否する(手続きP2O3)。
When there is a response to the card-in TI packet, the unit controller 190 checks (procedure P2O process) that the controller was in the ACK waiting state and receives an ACK.
“A CK” with card text even though it is not waiting
When a packet arrives, treat it as an error and clear the card text data in the reception data area (procedure p402).
). On the other hand, when a packet comes in while waiting for an ACK, it is checked whether the packet is a NAK (negative response) or not (procedure P2O3). If it is a NAK, it is assumed that the card does not exist and a "card ejection" function is sent to the card reader. Then, a sound output method for generating a sound representing failure of card acceptance is reserved and the process returns to the original routine (procedures P2O3, P2O3). In addition, even if the response is not a NAK, if the cart number in the "ACK" packet does not match the card number sent previously, the process will proceed to procedures P2O3 and P2O3 and the card will not be accepted (procedure P2O3 ).

また、手続きP2O3でカート番号が一致すると、” 
A CK ”パケットにより送られてきた受信データエ
リア内のカードテキストデータを送信データエリアの対
応する位置にコピーするとともに、カードテキスト内の
玉数を稼動データエリア内の「持玉数」の欄にコピーす
る(手続きP2O3゜P2O3)。
Also, if the cart numbers match in procedure P2O3, “
Copy the card text data in the reception data area sent by the A CK packet to the corresponding position in the transmission data area, and copy the number of balls in the card text to the "Number of balls held" column in the operating data area. Copy (procedure P2O3゜P2O3).

しかる後、カードテキスト内のカード状態を調べて(手
続きP2O3)、当該カートが「打止」状態にあればカ
ート状態を「フリー」に、また、パチンコ機の稼動情報
を「遊技中」にそれぞれ書き換えてから管理装置400
に対する゛1終了スイッチ″パケットの送信予約を行う
(手続きP421〜P423)。これによって、“終了
スイッチ″パケットが管理装置へ送信され、その’ A
 CK ”パケットが返ってきた時点で後述(第184
図(L))の終了スイッチ処理でカードが排出され、打
止カードによる遊技が不能にされる。
After that, check the card status in the card text (procedure P2O3), and if the cart is in the "stopped" state, change the cart state to "free" and change the operation information of the pachinko machine to "playing". Management device 400 after rewriting
A reservation is made to send a "1 termination switch" packet to the management device (procedures P421 to P423).As a result, the "termination switch" packet is transmitted to the management device, and the 'A
CK” packet is returned (described later) (184th
The card is ejected by the end switch processing shown in Figure (L)), and the game with the stop card is disabled.

一方、打止カードでなければ手続きP2O3からP41
0へ移行して稼動情報を調べ、「フリー」であれば送信
データエリア内の客数の欄を更新してから(手続きP4
11)、また「フリー」でないとき(中断中のとき)は
そのまま手続きP412へ進み、稼動情報を「遊技中」
に変更し、ランプ表示を遊技状態に変更した後、内部R
AM内の浮遊玉数カウンタをクリアし、センサによる検
出を開始させる(手続きP413〜P415)。次に、
カードテキスト内の玉数を調べて「0」ならそのまま、
また「OJでなければ打球発射袋[103の駆動制御を
開始させてから手続きP4I8へ進み、カードの受付成
功音の出力予約を行う(手続きP416〜P418)。
On the other hand, if it is not a discontinued card, procedures P2O3 to P41
0, check the operation information, and if it is "free", update the number of customers column in the transmission data area (Procedure P4
11), and if it is not "Free" (when the game is suspended), proceed directly to procedure P412 and change the operating information to "Playing".
After changing the lamp display to the gaming state, the internal R
The floating ball number counter in the AM is cleared and detection by the sensor is started (procedures P413 to P415). next,
Check the number of balls in the card text and if it is "0", leave it as is.
Also, if it is not OJ, start drive control of the ball firing bag [103], proceed to procedure P4I8, and reserve the output of the card acceptance success sound (procedures P416 to P418).

なお、゛′中断カードイン″パケットに対する管理装置
からの応答” A CK”パケットを受信したときも第
184図(J)に示す″カードイン″に対する応答パケ
ットの処理手順と同一の手順に従って処理される。
Furthermore, when the response "ACK" packet from the management device to the "interrupt card-in" packet is received, it is processed according to the same procedure as the response packet to "card-in" shown in FIG. 184 (J). Ru.

第184図(K)には、第183図のパケット受信タス
クにおいて“中断スイッチ″パケットに対する応答を受
信した場合の処理手順を示す。
FIG. 184(K) shows a processing procedure when a response to the "interrupt switch" packet is received in the packet reception task of FIG. 183.

ユニットコントローラ190は゛′中断スイッチ″パケ
ットに対する応答があると、コントローラがACK待ち
状態であったかチエツク(手続きP425)し、ACK
待ちでないのに“ACK”パケットがきたときは何もせ
ずに元のルーチンへ戻る。
When the unit controller 190 receives a response to the ``interrupt switch'' packet, it checks whether the controller was in the ACK waiting state (procedure P425) and waits for ACK.
If an "ACK" packet arrives even though it is not waiting, it does nothing and returns to the original routine.

次に、応答パケットがNAKか否かチエツクしく手続き
P246)、NAKでないときは稼動情報を「中断中」
に、またランプ表示を中断表示状態に変更してからセン
サによる検出および打球発射装置103の駆動制御を停
止させた後、カード排出ファンクションの送信予約およ
びカード排出音出力予約を行なう(手続きP427〜P
432)。
Next, check whether the response packet is a NAK or not (P246), and if it is not a NAK, change the operation information to "suspended".
In addition, after changing the lamp display to the interrupted display state and stopping the detection by the sensor and the drive control of the batted ball firing device 103, the transmission reservation of the card ejection function and the output reservation of the card ejection sound are performed (procedures P427 to P427).
432).

一方、手続きP426でNAK受信と判定したときは手
続きP2S5へ移行し、ここで受信データ中のパチンコ
機稼動情報が「遊技中」か否か判定し、遊技中以外のと
きは中断スイッチに対する応答そのものがおかしいので
何もせずに元のルーチン(第183図)へ戻り、遊技中
であったときはカード状態を「遊技中」に変更してから
センサによる検出および打球発射制御を開始させる(手
続きP433〜P436)。つまり、終了スイッチを押
しても管理袋[400からNAKが返ってきて稼動情報
が遊技中であればカード状態を遊技中に戻してパチンコ
機の中断状態への移行を拒否する。中断させたいときは
再度中断スイッチを押す。
On the other hand, when it is determined in procedure P426 that a NAK has been received, the process moves to procedure P2S5, where it is determined whether the pachinko machine operation information in the received data is "playing", and if it is not "playing", it is the response to the interrupt switch itself. is strange, so we return to the original routine (Fig. 183) without doing anything, and if the game was in progress, change the card status to ``in play'' and then start detection by the sensor and ball launch control (procedure P433). ~P436). In other words, even if the end switch is pressed, if a NAK is returned from the management bag [400 and the operation information is "gaming", the card state is returned to "gaming" and the pachinko machine is refused to shift to the suspended state. If you want to interrupt, press the interrupt switch again.

第184図(L)にパ終了スイッチ”パケットに対する
” A CK”パケットを受信したときの処理手順が示
されている。
FIG. 184 (L) shows the processing procedure when an "ACK" packet for a packet is received by the end switch.

この処理は同図(K)における“中断スイッチ”の” 
A CK″受信処理と略同じ流れに沿って実行される。
This process is performed by the "interrupt switch" in the same figure (K).
This process is executed in substantially the same manner as the ACK'' reception process.

異なるのは送信データエリア内のカードテキストをクリ
アする(手続きP443)のと、稼動情報を「中断中」
でなく「フリー」に、またランプ表示を客待ち表示に変
更する(手続きP444、P445)点である。この処
理においてもNAKを受信したとき稼動情報が遊技中で
あればカード状態を遊技中に戻して終了処理を中止する
ようになっている(手続きP451〜P454)。
The difference is that the card text in the sending data area is cleared (procedure P443), and the operation information is set to "suspended".
Instead, the lamp display is changed to "free" and the lamp display is changed to a customer waiting display (procedures P444 and P445). In this process as well, if the operation information indicates that the game is in progress when a NAK is received, the card status is returned to the game and the end process is canceled (procedures P451 to P454).

第184図(M)には、′帰零”パケットに対する” 
A CK ”パケットを受信したときの処理手順が示さ
れている。
FIG. 184 (M) shows “Return to zero” packet
ACK” packet is received.

この処理は同図(L)の″終Yスイッチ″の” A C
K ”受信処理と同じ流れに従って実行される(手続き
P461〜P474)。
This process is performed at the "A C" of the "End Y switch" in the same figure (L).
K'' is executed according to the same flow as the reception process (procedures P461 to P474).

第184図(N)に示されているパ打止”パケットに対
する” A CK ’″パケツト受信処理は同図(K)
の゛′中断スイッチ″の” A CK ”受信処理と略
同じ流れに沿って実行される(手続きP2S5−〜P4
94)。異なるのは、カード排出ファンクションの他、
カード受付不可ファンクションの送信予約(手続きP4
88)が入る点のみである。
184 (K) shows the "A CK '" packet reception process for the "ACK" packet shown in FIG. 184 (N).
It is executed according to almost the same flow as the "A CK" reception process of the "interrupt switch" (procedures P2S5--P4
94). The only difference is the card ejection function,
Reservation for sending functions that do not accept cards (procedure P4)
88) is included.

第185図にはユニットコントローラ190の10種類
のメインタスクのうち、カードリーダ制御タスクの処理
手順が示されている。
FIG. 185 shows the processing procedure of the card reader control task among the ten types of main tasks of the unit controller 190.

このタスクでは、先ず内部RAM内のフラグを見てカー
ドリーダの制御が可能な状態にあるか否か判定し、ノオ
ならシリアル送信割込みと受信割込みを禁止する(手続
きPI31〜P133)。
In this task, first, a flag in the internal RAM is checked to determine whether the card reader is in a controllable state, and if no, serial transmission interrupts and reception interrupts are prohibited (procedures PI31 to P133).

一方、カードリーダの制御が可能な状態にあるときは、
手続きPI31からP2S5へ移行し、ファンクション
送信中か判定する。次に、ファンクション受信中か判定
し、受信中なら設定時間内に受信が完了したかチエツク
する(手続きPI35、PI40)。また、内部RAM
の受信バッファエリア内にファンクションがあるか否か
調へで受信ファンクションがあるときは(手続きPI3
6)、送信し易い形に変形された受信データを元の形に
直したり、パリティエラーがないか、あるいはコードの
長さが正しいかチエツク(手続きPI3.1)した後、
ファンクションの種類を判定しく手続きP143〜P1
50)、それに応じた処理(第186図(A)〜(H)
)を実行する。
On the other hand, when the card reader is in a state where it can be controlled,
The process moves from procedure PI31 to P2S5, and it is determined whether the function is being transmitted. Next, it is determined whether the function is being received, and if it is, it is checked whether the reception is completed within the set time (procedures PI35, PI40). Also, internal RAM
Check if there is a function in the receive buffer area of the process (Procedure PI3)
6) After restoring the received data that has been transformed into a form that is easy to transmit, and checking whether there are any parity errors or whether the code length is correct (procedure PI3.1),
Procedure for determining the type of function P143-P1
50), corresponding processing (Fig. 186 (A) to (H)
).

また、手続きPI36で受信ファンクションなしと判定
したときは手続きPI37へ移行してカートリーダコン
トローラCPU2からの応答ファンクション待ち状態に
あるか否か判定し、応答を受信するまでに要した時間を
チエツクする(手続きPI42)。応答ファンクション
待ちでないときはファンクション送信可能な状態にある
か否か判定し、送信可能なときは送信すべきファンクシ
ョンが有るか否か判定しく手続きPI39)、送信ファ
ンクションがあるときは、ファンクション送信処理(第
186図(I)参照)を実行する。
Furthermore, when it is determined in the procedure PI36 that there is no reception function, the process moves to the procedure PI37, and it is determined whether or not it is in the state of waiting for a response function from the cart reader controller CPU2, and the time required to receive the response is checked ( Procedure PI42). When not waiting for a response function, it is determined whether the function can be sent or not, and when it is possible to send it, it is determined whether there is a function to be sent (Procedure PI39). (See FIG. 186(I)).

第186図(A)には、上記カードリーダ制御タスク中
の「テストカード」ファンクションの受信処理の手順を
示す。
FIG. 186(A) shows the procedure for receiving the "test card" function in the card reader control task.

このファンクションを受信すると先ずフラグを見て「テ
ストカード」ファンクション待ち状態か否か判定する(
手続きP2O3)。このフラグは、スイッチ検出タスク
でテストスイッチ179がオンされたときにセットされ
る(第191図(E)参照)。ファンクション待ちであ
れば、次に稼動情報が「フリー」か調べ、フリーならオ
フライン状態か否かチエツクする(手続きP2O3,P
2O3)。ここでオフライン状態ならプログラムROM
に格納されたオンライン時に管理装置400から送られ
るのと同一または異なるテスト遊技用の賞球数を設定す
る(手続きP2O3)。オフライン時には管理装置から
賞球数が送られて来ないためである。賞球数設定後はテ
ストカードに固定的に与えられた最初の玉数(0個)と
金額(1000円)を設定する(手続きP2O3)。
When this function is received, it first checks the flag and determines whether it is in the "test card" function wait state (
Procedure P2O3). This flag is set when the test switch 179 is turned on in the switch detection task (see FIG. 191(E)). If it is waiting for a function, then check whether the operation information is "free", and if it is free, check whether it is offline (procedures P2O3, P
2O3). If you are offline, program ROM
The number of prize balls for the test game that is the same or different from that stored in the online management device 400 is set (procedure P2O3). This is because the number of prize balls is not sent from the management device when offline. After setting the number of prize balls, the initial number of balls (0) and amount (1000 yen) fixedly given to the test card are set (procedure P2O3).

なお、オンライン時には手続きP2O3からP505ヘ
ジャンプし、手続きP2O3での賞球数設定を飛ばして
玉数と金額の設定を行なう。その後、浮遊玉数を計数す
るカウンタをクリアし、ランプ表示状態を変えてから、
打球発射装置103の制御およびセンサの検出を開始し
、カード受付成功を知らせる音を出力するための予約を
行ない、テストモード稼動データエリアの稼動情報を遊
技中に変えて元のルーチンへ戻る(手続きP506〜P
511)。
Note that when online, the process jumps from procedure P2O3 to P505, skips the setting of the number of prize balls in procedure P2O3, and sets the number of balls and amount. After that, clear the counter that counts the number of floating balls, change the lamp display state, and then
Control of the batted ball launcher 103 and sensor detection are started, a reservation is made to output a sound that indicates successful card reception, the operation information in the test mode operation data area is changed during the game, and the process returns to the original routine (procedure). P506~P
511).

一方、テストカードファンクション待ちでないのにテス
トカードファンクションを受信すると手続きP2O1か
ら、手続きP512へ移行し、テストモード稼動データ
エリア(表1参照)内の稼動情報が「中断中」か否か判
定する。テストモードでの遊技中に中断スイッチ1↓4
を押して中断中になった場合、テストスイッチを押さず
テストカードの挿入によって中断が解除され遊技を再開
できるようにするため稼動情報が中断中ならば賞球数は
既に設定されているのでいきなり手続きP2O3へ移行
してテスト遊技を再開可能にする。
On the other hand, if a test card function is received without waiting for a test card function, the process moves from procedure P2O1 to procedure P512, and it is determined whether the operation information in the test mode operation data area (see Table 1) is "suspended." Interrupt switch 1↓4 while playing in test mode
If the game is interrupted by pressing , the interruption will be canceled by inserting the test card without pressing the test switch, so that the game can be resumed. It is possible to move to P2O3 and restart the test game.

上記手続きP512における判定で、稼動情報が中断中
でないと判定されると、手続きP513へ移行してオフ
ラインか否か判定する。ここで、オフラインと判定した
ときは、上記手続きP2O3へ移行して賞球数等を設定
しテスト遊技の準備を実行する。これは、予期しない事
態を想定したもので、オフライン時にはテストカードが
あればテストモードに入っても特に支承はないためであ
る。
If it is determined in the above procedure P512 that the operation information is not suspended, the process moves to procedure P513 and it is determined whether or not it is offline. Here, when it is determined that the game is offline, the process moves to the above-mentioned procedure P2O3, and the number of prize balls and the like are set and preparations for the test game are executed. This assumes unexpected situations, and there is no particular support for entering test mode if you have a test card when offline.

一方、手続きP513でオンライン時と判定したときは
、「カード排出」ファンクションの送信予約およびカー
ド受付不成功音の出力予約を行なう(手続きP514.
P515)。つまり、オンライン時にはテストスイッチ
(79を押さずにテストカードを挿入すると、テストカ
ートが排出されテスト遊技に入らないようになっている
。これによって遊技客による不正遊技を防止することが
できる。
On the other hand, when it is determined in procedure P513 that it is online, the transmission reservation of the "card ejection" function and the output reservation of the card reception failure sound are performed (procedure P514.
P515). In other words, when online, if a test card is inserted without pressing the test switch (79), the test cart is ejected and the test game cannot be started. This prevents fraudulent games by the player.

第186図(B)には、第185図のカードリーダ制御
タスク中の「カード番号送信」ファンクション受付時の
処理手順が示されている。
FIG. 186(B) shows the processing procedure when accepting the "send card number" function in the card reader control task of FIG. 185.

ここでは、先ずフラグを見て「テストカード」ファンク
ション受信待ち状態か否か判定し続いてテストモード中
か否か判定する(手続きP521゜P 522)。ここ
で、ファンクション受信待ちまたはテストモード中と判
定すると手続きP525ヘジャンプして「カード排出」
ファンクション送信予約を行ってからカード受付不成功
音の出力予約を行う(手続きP526)。つまり、テス
トスイッチのオン直後またはテストモードの中断中に正
規の遊技カードが挿入されてもこれを直ちに排出するこ
とで通常遊技への移行を禁止している。
Here, first, the flag is checked to determine whether or not the "test card" function reception wait state is established, and then whether or not the test mode is in progress is determined (procedures P521 and P522). If it is determined that the function is waiting for reception or is in test mode, jump to procedure P525 and "Eject card"
After the function transmission reservation is made, the output reservation of the card acceptance failure sound is made (procedure P526). In other words, even if a regular game card is inserted immediately after the test switch is turned on or during an interruption of the test mode, it is immediately ejected to prohibit the transition to the normal game.

一方、「テストカード」ファンクション受信待ち状態で
もテストモードでもない場合には、手続きP523へ移
行して稼動情報が中断中か判定し、中断中でないときは
″カードイン″パケットの送信予約を行い(手続きP5
27)、中断中なら手続きP524で読み取ったカード
番号と送信データエリア内のカード番号とを比較して、
一致しないときは手続きP525へ移行してカード排出
の予約を行い、カード番号が一致したときは手続きP5
28へ移行して゛中断カードイン″パケットの送信予約
を行う。
On the other hand, if it is neither in the "test card" function reception waiting state nor in the test mode, the process moves to procedure P523 to determine whether the operation information is suspended, and if it is not suspended, a "card-in" packet is reserved for transmission ( Procedure P5
27) If it is suspended, compare the card number read in procedure P524 with the card number in the transmission data area,
If the card numbers do not match, proceed to procedure P525 and make a reservation for card ejection; if the card numbers match, proceed to procedure P5.
The process moves to step 28 to reserve the transmission of an ``interrupt card-in'' packet.

第186図(C)には、第185図のカードリーダ制御
タスク内の「ステータス」ファンクション受信処理の手
順を示す。
FIG. 186(C) shows the procedure for receiving the "status" function in the card reader control task of FIG. 185.

このファンクションを受信すると先ず゛′異常終了”フ
ラグをクリアしてから受信バッファ内のステータスエと
2を内部RAMにセーブする(手続きP531.P53
2)。上記゛異常終了″フラグは第188図のエラー制
御タスクの手続きP170において参照される。
When this function is received, it first clears the ``abnormal end'' flag and then saves statuses ``E'' and ``2'' in the receive buffer to internal RAM (Procedure P531.P53).
2). The "abnormal end" flag is referred to in the error control task procedure P170 of FIG. 188.

次に、前回の送信で「カード受信可」ファンクションを
送信したか否か、またカードがリーダ内に存在するか否
かさらに稼動情報が「遊技中」か否か判定する(手続き
P533〜P535)。ここで、前回の送信が「カード
受信可」ファンクションでありリーダ内のカードが存在
していて遊技中以外のときは正常な状態でないので、「
カード排出」ファンクション送信および排出音出力予約
をしてからテストモード終了時がオンラインかオフライ
ンか判定してまだオフラインであるときは第182図の
手続きP98へ移行して11回線テスト″パケットの受
信を待つ(手続きP536〜P538)。
Next, it is determined whether the "Card Receivable" function was sent in the previous transmission, whether the card is present in the reader, and whether the operating information is "Playing" (Procedures P533 to P535). . Here, the previous transmission was a "Card Receivable" function, and if there are cards in the reader and the game is not in progress, it is not in a normal state.
After sending the "card ejection" function and reserving the ejection sound output, determine whether the end of the test mode is online or offline, and if it is still offline, proceed to procedure P98 in Figure 182 to receive the 11-line test packet. Wait (procedures P536 to P538).

一方、前回のカード受信可ファンクションを送信してい
ないとき−またはそれを送信してもカードがリーダ内に
ないとき、あるいはカード受付ファンクションを送信し
カードがリーダ内にあっても「遊技中」であるときはカ
ード排出予約をしないで手続きP2S5へ移行してテス
トモード終了時がオンラインかオフラインか判定し、オ
フラインのときは″回線テスト″パケット待ちヘジャン
プする。
On the other hand, if you have not sent the previous card reception function - or if you have sent it but the card is not in the reader, or if you have sent the card reception function and the card is in the reader but it is not "playing". If so, the process moves to procedure P2S5 without making a card ejection reservation, and determines whether the end of the test mode is online or offline, and if offline, jumps to waiting for a "line test" packet.

第186図(D)には「再送要求」ファンクションを受
信したときの処理手順を示す。
FIG. 186(D) shows the processing procedure when a "retransmission request" function is received.

この場合先ず前回の送信で再送要求を行ったか否か判定
しく手続きP541)、イエスなら再送要求に対して再
送要求が返ってくるのはおかしいので、リーダーエラー
フラグをセットする(手続きP543)。再送要求に対
し再送要求が返ってくると以後ずっとこれを繰り返し、
他のファンクション送信が行えなくなるからである。一
方、手続きP541でノオなら既に送信したファンクシ
ョンの再送信予約(手続きP542)を再び行ってから
元のルーチンへ戻る。なお、上記リーダーエラーフラグ
は第188図のエラー制御タスク中の手続きP163で
参照される。
In this case, first, it is determined whether or not a retransmission request was made in the previous transmission (procedure P541). If yes, it is strange that a retransmission request is returned in response to a retransmission request, so a reader error flag is set (procedure P543). When a retransmission request is returned in response to a retransmission request, this process is repeated continuously,
This is because other function transmissions cannot be performed. On the other hand, if the result in procedure P541 is NO, the retransmission reservation (procedure P542) of the already transmitted function is made again, and the process returns to the original routine. Note that the reader error flag is referenced in procedure P163 in the error control task in FIG. 188.

第186図(E)にはユニットコントローラ190が「
正常終了」ファンクションを、また同図(F)には「異
常終了」ファンクションを受信した場合の処理手順が示
されている。
In FIG. 186(E), the unit controller 190 is
The process procedure when receiving the "Normal End" function and the "Abnormal End" function is shown in FIG.

「正常終了」ファンクションを受信すると、エラーフラ
グをクリア(手続きP545)してから同図(C)の手
続きP2S5へ移行して、以後「ステータス」ファンク
ション受信のときと同し手順に従って処理する。一方、
「異常終了」ファンクションを受信すると、同時に送ら
れて来たステータス1を調べてカードリーダへの初期値
が未設定のときはそのまま同図(C)の手続きP532
ヘジャンプし、また初期値未設定でなければ″異常終了
″フラグをセットしてから手続きP532ヘジャンプし
てステータス受信処理と同様の処理を実行する(手続き
P546.P547)。
When the "normal end" function is received, the error flag is cleared (procedure P545), and the process moves to procedure P2S5 in FIG. on the other hand,
When the "abnormal end" function is received, check the status 1 sent at the same time, and if the initial value for the card reader has not been set, proceed directly to procedure P532 in the same figure (C).
If the initial value is not set, an "abnormal end" flag is set, and then the process jumps to procedure P532 to execute the same process as the status reception process (procedures P546 and P547).

なお、上記“異常終了”フラグは第188図のエラー制
御タスク中において参照され、以後のカード受付けが不
能になる。
The "abnormal end" flag is referenced during the error control task shown in FIG. 188, and subsequent card acceptance becomes impossible.

第186図(G)には、第1−85図のカードリーダ制
御タスク中の「初期値要求」ファンクション受信処理の
手順を示す。
FIG. 186(G) shows the procedure for receiving the "initial value request" function in the card reader control task of FIG. 1-85.

このファンクションを受信すると先ず「初期値設定」フ
ァンクションの送信予約を行ってから、フラグを見て送
信が禁止されているか判定する(手続きP2S5.P2
S5)。ここで、送信禁止なら手続きP2S5で送信を
許可し、送信禁止でないときは手続きP2S5でパチン
コ機の稼動情報を調べ、「フリー」か「遊技中」か「中
断中」のときは「カード受付可」ファンクションの送信
予約を行う(手続きP2S5)。一方、手続きP2S5
の判定で「フリー」、「遊技中」、「中断中」以外のと
き(打止または強制終了)は「カード受付は不可」ファ
ンクションの送信予約を行う(手続きP2S5)。
When this function is received, the "Initial value setting" function is first reserved for transmission, and then the flag is checked to determine whether transmission is prohibited (Procedure P2S5.P2
S5). Here, if transmission is prohibited, allow transmission in procedure P2S5, and if transmission is not prohibited, check the operation information of the pachinko machine in procedure P2S5, and if it is "free", "playing", or "suspended", "cards accepted". ” function transmission reservation is made (procedure P2S5). On the other hand, procedure P2S5
If the determination is other than ``free'', ``gaming'', or ``interrupted'' (stopped or forced termination), a transmission reservation of the ``card acceptance not possible'' function is made (procedure P2S5).

第185図のタスク中に「セルフ排出」ファンクション
を受信したと判定したときは第186図(H)に示すよ
うにカード受付不成功音の出力予約を行って元のルーチ
ンへ戻る(手続きP2S5)。
If it is determined that the "self-ejection" function has been received during the task shown in Figure 185, the output of the card reception failure sound is reserved as shown in Figure 186 (H) and the process returns to the original routine (Procedure P2S5). .

次に、第186図CI)には、第185図のカードリー
ダ制御タスクの処理中において、手続きP2S5で送信
ファンクションがあると判定した場合の送信処理手順を
示す。
Next, FIG. 186 CI) shows a transmission processing procedure when it is determined in procedure P2S5 that there is a transmission function during the processing of the card reader control task of FIG. 185.

ファンクションの送信にあっては、先ず内部RAMにリ
トライ回数(例えば3回)を設定してからACK受信タ
イマ(5秒)をセットしてコール信号ENQをカードリ
ーダに向かって送信する(手続きP 560−P 56
2)。それから、ACKが来なければ手続きP561で
セットしたタイマがオーバーしたか判定する(手続きP
563゜P564)。タイムオーバーを起こしてもリト
ライ回数を調べて所定回数(3回)に達していなければ
手続きP561へ戻ってタイマをセットしなおしてEN
Qの送信を繰り返す。それでもACKがこないでリトラ
イ回数をオーバーするとエラーフラグをセットしてから
ファンクションの送信を中止する(手続きP565.P
566、P567)。
To send the function, first set the number of retries (for example, 3 times) in the internal RAM, then set the ACK reception timer (5 seconds), and send the call signal ENQ to the card reader (procedure P 560). -P 56
2). Then, if ACK is not received, it is determined whether the timer set in procedure P561 has exceeded (procedure P
563°P564). Even if a timeout occurs, check the number of retries and if the predetermined number of times (3 times) has not been reached, return to procedure P561, reset the timer, and press EN.
Repeat transmission of Q. If an ACK still does not come and the retry count is exceeded, an error flag is set and function transmission is canceled (Procedure P565.P
566, P567).

一方、リトライ回数以内にACKが戻ってくると送信デ
ータを作成してから先ずSTXコードを送信バッファへ
入れて送信を開始させ、送信中フラグをセットする(手
続きP568〜P570)。
On the other hand, if ACK is returned within the number of retries, after creating transmission data, the STX code is first put into the transmission buffer to start transmission, and the transmission flag is set (procedures P568 to P570).

第187図にはユニットコントローラ190の10種類
のメインタスクのうちパケット送信タスりの処理手順を
示すに のタスクでは、先ず送信するパケットがあるか否か判定
し、あればユニットメモリ550の送信データエリアの
パケットヘッド部にパケットタイプ名を書き込んでから
交信エリア内のコマンドレジスタCRIにそのパケット
タイプ名を入れ、パケット送信タイマをセットする(手
続きP 1.51〜P154)。コマンドレジスタCR
Iへのパケットタイプ名の書込みによりデータ伝送コン
トローラ55Lが対応するパケットの送信を開始し。
FIG. 187 shows the processing procedure of the packet transmission task among the ten types of main tasks of the unit controller 190. In the task, first, it is determined whether or not there is a packet to be transmitted, and if there is, the transmission data in the unit memory 550 is After writing the packet type name in the packet head portion of the area, the packet type name is entered in the command register CRI in the communication area, and the packet transmission timer is set (procedures P1.51 to P154). Command register CR
By writing the packet type name to I, the data transmission controller 55L starts transmitting the corresponding packet.

送信が終わるとコマンドレジスタCRIをクリアする。When the transmission is completed, the command register CRI is cleared.

手続きP2S5で送信パケットがないときまたは手続き
P2S5で送信タイマをセットした後は、手続きP2S
5で送信タイマがセットされているか判定し、セントさ
れていれば手続きP2S5へ移行し、セットされていな
ければP2S5へ戻る。
When there is no transmission packet in procedure P2S5 or after setting the transmission timer in procedure P2S5, procedure P2S
In step 5, it is determined whether the transmission timer has been set, and if it has been sent, the process moves to procedure P2S5, and if it has not been set, the process returns to P2S5.

手続きP2S5ではコマンドレジスタCRIが送信終了
によりrOJになっているか判定し、まだrOJになっ
ていないときは送信タイマがオーバーになっているか調
べる(手続きP↓59)。ここで、送信タイマがオーバ
ーしていなければ手続きP2S5へ戻る。一方、送信タ
イマがオーバーしたときは“Z−80エラー“フラグを
セットしてから送信タイマをリセットする(手続きP1
60、P2S5)。
In procedure P2S5, it is determined whether the command register CRI has reached rOJ due to the end of transmission, and if it has not yet reached rOJ, it is checked whether the transmission timer has exceeded (procedure P↓59). Here, if the transmission timer has not exceeded, the process returns to procedure P2S5. On the other hand, when the transmission timer exceeds, set the "Z-80 error" flag and then reset the transmission timer (Procedure P1
60, P2S5).

また、手続きP2S5でコマンドレジスタCR1が「0
」になった場合には、送信したパケットが“カードイン
”のように“ACK”を受信するタイプのものであると
きはACK待ちタイマ(10秒)をセットしてから送信
タイマをリセットする(手続きP2S5.P2S5)。
Also, in procedure P2S5, command register CR1 is set to “0”.
'', if the transmitted packet is of a type that receives an ACK, such as a card-in, set the ACK wait timer (10 seconds) and then reset the transmission timer ( Procedure P2S5.P2S5).

このACK待ちタイマは第183図のパケット受信タス
ク中の手続きP2O3,P2O3で参照される。
This ACK wait timer is referenced in procedures P2O3 and P2O3 in the packet reception task in FIG. 183.

第188図にはユニットコントローラ190のメインタ
スクのうちエラー制御タスクの手順が示されている。
FIG. 188 shows the procedure of the error control task among the main tasks of the unit controller 190.

このタスクでは、先ず“Z−80エラー”フラグ(第↓
87図P160参照)と“パケットACKエラー“フラ
グ(第183図P105参照)をチエツクしく手続きP
2S5.P2S5) 、いずれか一方のフラグがセット
されているときは手続きP174へ移行してタイマ割込
みやシリアル割込みを禁止するとともに、前記タスク処
理を停止してからCPUをパワーダウンさせる(手続き
P175、P176)。上記手続き(P174〜P17
6)は、例えばウォッチドッグパルスとなるセグメント
表示器用のコモン信号のレベルを固定して、リセット回
路555によりユニットコントローラにリセットをかけ
ることにより実行することができる。
In this task, we first set the “Z-80 error” flag (see
Check the "Packet ACK error" flag (see P105 in Fig. 183) and the "Packet ACK error" flag (see P105 in Fig. 183).
2S5. P2S5) If either flag is set, proceed to procedure P174 to disable timer interrupts and serial interrupts, and also power down the CPU after stopping the task processing (procedures P175 and P176). . The above procedures (P174-P17
6) can be executed by, for example, fixing the level of the common signal for the segment display serving as a watchdog pulse and resetting the unit controller by the reset circuit 555.

一方、” z −s oエラー”フラグも“パケッ[・
ACKエラー”フラグもセットされていないときはパリ
ーダ・エラー″フラグ(第186図P543、P545
.P566参照)をチエツクしてフラグがセットされて
いないときはユニットメモリ550内のモニタ情報2の
″リーダ異常″ビットをリセットしてから手続きP2S
5へ戻る(手続きP2S5.P164)。′リーダ・エ
ラー”フラグがセットされていたときは、手続きP2S
5へ移行してモニタ情報2の″リーダ異常″′ビットを
セットしてからリーダ制御用フラグをすべてクリアした
後、リーダの制御を可能にする(手続きP↓66、P2
S5)。しかる後、テストモード中か否か、また初期値
が設定されているかチエツクしく手続きP2S5.P1
69)、テストモードのときあるいは初期値が未設定の
ときは、次の第189図に示すテストモード終了処理を
実行する。
On the other hand, the "z-s o error" flag also
If the "ACK error" flag is also not set, the "Pallider error" flag (P543, P545 in Figure 186) is set.
.. If the flag is not set, reset the "reader error" bit of monitor information 2 in the unit memory 550, and then proceed to procedure P2S.
Return to step 5 (procedure P2S5.P164). If the 'reader error' flag is set, procedure P2S
5, set the "reader error" bit in monitor information 2, clear all reader control flags, and enable reader control (procedures P↓66, P2
S5). After that, check whether you are in test mode or not and whether initial values have been set.Procedure P2S5. P1
69), in the test mode or when the initial value has not been set, the following test mode termination process shown in FIG. 189 is executed.

テストモードでなく初期値も設定されているときは手続
きP170で“異常終了″フラグ(第186図(F)手
続きP547参照)をチエツクして、フラグがIt O
Itのときは手続きP2S5へ戻り、″異常終了″フラ
グが立っているときは、手続きP171へ移行して稼動
情報を「強制終了」に変更してから、「カード受付不可
」ファンクションの送信予約をし、″異常終了″フラグ
をクリアしてから手続きP2S5へ戻る(手続きP17
2、P173)。
If the test mode is not set and the initial value is also set, check the "abnormal end" flag (see procedure P547 in FIG. 186(F)) in procedure P170, and set the flag to
If it is, return to procedure P2S5, and if the "abnormal termination" flag is set, proceed to procedure P171, change the operation information to "forced termination", and then schedule the transmission of the "card not accepted" function. After clearing the "abnormal end" flag, return to procedure P2S5 (procedure P17
2, P173).

第189図にはユニットコントローラ190の10種類
のメインタスクのうち、玉数演算タスクの手順を示す。
FIG. 189 shows the procedure of the ball number calculation task among the ten types of main tasks of the unit controller 190.

このタスクでは、先ずフラグまたは信号を見てセンサ検
出中かつまり遊技中か否か判定しく手続きP181)、
センサ検出中でなければ各センサのオン回数を計数する
カウンタをクリアしく手続きP2S5)、センサ検出中
のときは1手続きP183〜P199に従って第181
図(A)の処理で得られた発射センサ5NS5、第(セ
ーフセンサ5NS2、第2セーフセンサ5NS3.ファ
ールセンサ5NS4、アウトセンサ5NSIの各センサ
のオン回数を読んで、総賞球数、出玉数、アウト玉数、
差数を演算し、最後に打止演算レジスタに総賞球数を加
算する(手続きP2O0)。
In this task, first, check the flag or signal to determine whether the sensor is being detected, that is, if the game is being played (P181),
If the sensor is not being detected, clear the counter that counts the number of times each sensor is turned on.
Read the number of ON times of each sensor of firing sensor 5NS5, safe sensor 5NS2, second safe sensor 5NS3, foul sensor 5NS4, and out sensor 5NSI obtained by the process in Figure (A), and calculate the total number of balls awarded and the ball output. number, number of out balls,
The difference number is calculated, and finally the total number of prize balls is added to the stop calculation register (procedure P2O0).

第190図にはユニットコントローラ190のメインタ
スクのうちスイッチ検出タスクの手順を示す。
FIG. 190 shows the procedure of the switch detection task among the main tasks of the unit controller 190.

このタスクでは、先ずフラグまたは信号を見てセンサ検
出中か否か判定しく手続きP2O1)、検出中でないと
きは中断スイッチ114、購入スイッチ113、終了ス
イッチ115、呼出しスイッチ165aまたはテストス
イッチ179がオンされているかチエツクする(手続き
P2O2〜P2O6)。そして、いずれかのスイッチが
オンされているときは、それに対応する処理(第191
図(b)〜(e)参照)を実行する。なお、上記スイッ
チのうち呼出しスイッチがオンされたときは、パチンコ
機の状態表示ランプ162を点滅に変更してスイッチ操
作音の出力予約を行う(手続きP219)。
In this task, first, a flag or signal is checked to determine whether or not the sensor is being detected (Procedure P2O1). (Procedures P2O2 to P2O6). When any switch is turned on, the corresponding process (191st
(See Figures (b) to (e)). Incidentally, when the call switch among the above-mentioned switches is turned on, the status display lamp 162 of the pachinko machine is changed to blinking and the output of the switch operation sound is reserved (procedure P219).

一方、手続きP2O1でセンサ検出中のときは、手続き
P2O7へ移行して後述のサーチタイマ(手続きP21
6)が動作中か判定し、動作中でないときは手続きP2
13.P214で遊技中のカードの玉数および金額が「
0」か否か判定する。
On the other hand, when the sensor is being detected in procedure P2O1, the process moves to procedure P2O7 and the search timer described later (procedure P21
6) is in operation, and if it is not in operation, proceed to procedure P2.
13. On P214, the number of balls and amount of cards being played are "
0" or not.

そして、玉数が「O」で金額がrOJでないときは購入
要求処理(手続きP217)を行う。具体的には購入ス
イッチ113のオンを促す音の出力予約と購入スイッチ
内蔵のランプの点滅への表示更新予約を行う。
Then, when the number of balls is "O" and the amount is not rOJ, purchase request processing (procedure P217) is performed. Specifically, a reservation is made to output a sound that prompts the user to turn on the purchase switch 113, and a reservation is made to update the display to blink the lamp built into the purchase switch.

ただし、工数と金額がともに「0」のときはサーチタイ
マ(10秒)を動作させて帰零判定を開始させるととも
に、サーチタイマ動作中を知らせる音の出力予約を行っ
てから手続きP2O1へ戻る(手続きP215.P21
6)。
However, if both the man-hours and the amount are "0", the search timer (10 seconds) is activated to start the zero-return determination, and the output of a sound to notify that the search timer is operating is scheduled to be output before returning to procedure P2O1 ( Procedure P215.P21
6).

そして、再び手続きP2O7でサーチタイマ動作中か判
定して、動作中なら手続きP2O3へ進み、遊技盤内に
残存する浮遊玉が有るか否か判定する。ここで、浮遊玉
がなければ手続きP212へ移行して、帰零発生を決定
してパ帰零”パケットの送信予約を行う。
Then, it is determined again in procedure P2O7 whether the search timer is in operation, and if it is in operation, the process proceeds to procedure P2O3, in which it is determined whether there are any floating balls remaining on the game board. Here, if there is no floating ball, the process moves to procedure P212, determines the occurrence of a return zero, and makes a reservation for transmission of a "pareturn zero" packet.

また、この帰零決定手続きの中で第191図(f)に示
すようなテストモード終了処理を行うようになっており
、テストモード中に帰零が発生するとテストモードを終
了させる。
Further, in this return to zero determination procedure, a test mode termination process as shown in FIG. 191(f) is performed, and if a return to zero occurs during the test mode, the test mode is terminated.

一方、サーチタイマ動作中で浮遊玉が残存する間は、手
続きP2O3からP2O9へ進んでサーチタイマ(10
秒)がオーバーしたか否か判定し、タイムオーバーなら
浮遊玉数があっても手続きP212へ移行して帰零とす
る。玉数がrOJになってから10秒経過してもなお浮
遊玉が存在するのは通常ありえないからである。
On the other hand, while the search timer is operating and floating balls remain, proceed from procedure P2O3 to P2O9 and start the search timer (10
If the time is over, the process moves to procedure P212 and returns to zero even if there is a floating ball number. This is because it is normally impossible for floating balls to still exist even after 10 seconds have passed since the number of balls reached rOJ.

また、サーチタイマがオーバーしていないときは手続き
P2O9からP210へ移行して、再び玉数が「0」か
否か判定し、「O」でないときはサーチタイマを停止さ
せて帰零の判定を中止する(手続きP211)。浮遊玉
がサーチタイマ動作中に入賞口へ入賞して持玉数が加算
された場合を考慮したもので、これによって、再び遊技
制御が継続される。なお、サーチタイマ非動作中におい
て玉数が「O」でないときは、手続きP218へ移行し
て打止演算レジスタの値が予め定めた打止数よりも多く
なったか否か判定し、多くなったときは第191図(a
)に示すような打止処理を実行するようになる。この打
止数は予め複数の打止めモードを用意して、プログラム
等でモードを選択してモードに応じた打止数をもって打
止め演算レジスタの値との比較を行うようにしてもよい
Also, if the search timer has not exceeded, the process moves from procedure P2O9 to P210, and it is determined again whether the number of balls is "0" or not, and if it is not "O", the search timer is stopped and the return to zero is determined. Cancel (procedure P211). This takes into consideration the case where a floating ball enters the winning slot during the operation of the search timer and the number of balls held is added, and thereby the game control is continued again. In addition, if the number of balls is not "O" while the search timer is not operating, the process moves to procedure P218 and it is determined whether or not the value of the stop calculation register has become greater than the predetermined number of stops. When is Figure 191 (a
) will now execute the abort process shown below. The number of stops may be determined by preparing a plurality of stopping modes in advance, selecting the mode using a program, etc., and comparing the stopping number corresponding to the mode with the value of the stopping calculation register.

第191図(a)には、第190図の処理中における打
止処理の手順が示されている。
FIG. 191(a) shows the procedure of the termination process during the process of FIG. 190.

この打止処理に入ると、先ずフラグを見てテストモード
中か否か判定しく手続きP2S5)、テストモードでな
いときは、″打止″パケットの送信予約を行ってから、
ユニットメモリ550内の打止回数を更新(+1)L、
カード状態を「打止めかつフリー」とした後、センサの
検出および打球発射装置103の駆動制御を停止させ、
打止音の出力予約を行う(手続きP582〜P587)
When entering this abort process, the flag is first checked to determine whether or not the test mode is in progress (P2S5). If the test mode is not, a "stop" packet is scheduled to be sent.
Update the number of stops in the unit memory 550 (+1) L,
After setting the card state to "stopped and free", sensor detection and drive control of the batted ball launcher 103 are stopped,
Make a reservation to output the stop sound (procedures P582 to P587)
.

なお、ここでは、カードの排出指令までは行っていない
が、上記″打止″パケットが管理袋[400へ送信され
、そのACKが返ってくるとそちらの受信処理(第18
4図(N))で「カード排出」ファンクションがカード
リーダに送られる(手続きP2S5)ので、打止めが発
生するとカードが排出されるのは既に述べたとおりであ
る。
Note that although the card ejection command is not performed here, the above-mentioned "stop" packet is sent to the management bag [400], and when the ACK is returned, the reception processing there (18th
In FIG. 4 (N)), the "card eject" function is sent to the card reader (procedure P2S5), so when a stop occurs, the card is ejected, as described above.

一方、テストモード中に打止が発生すると、手続きP2
S5からP2S5へ移行して、″打止″パケットに対す
るACKを受信したときの第184図(N)の手続きP
483〜P489 (P2S5を除く)と略同じ手続き
P591〜P597を実行して打止め状態となる。テス
トモードは管理装置と接続されていないオフライン時に
も実行されることを考慮したものである。なお、テスト
モード中に打止めが発生すると、終了スイッチ115を
オンすることで、テストモード終了処理へ移行し、オン
ラインかオフラインかに応じてその後の状態が決定され
る(第191図(e)、(f)参照)。
On the other hand, if an abort occurs during the test mode, procedure P2
Procedure P in FIG. 184 (N) when transitioning from S5 to P2S5 and receiving ACK for the "stop" packet
483 to P489 (excluding P2S5), procedures P591 to P597 are executed, and the state is stopped. The test mode is designed to be executed even when the system is offline and not connected to the management device. If termination occurs during the test mode, turning on the termination switch 115 shifts to the test mode termination process, and the subsequent state is determined depending on whether it is online or offline (FIG. 191(e)) , (f)).

第191図(b)には第190図のスイッチ検出タスク
中における中断スイッチ処理の手順が示されている。
FIG. 191(b) shows the procedure for interrupt switch processing during the switch detection task of FIG. 190.

中断スイッチ114のオンを検出するとこの処理が開始
され、先ずテストモード中か否か判定する(手続きP2
O3)。ここで、テストモードでなければ、手続きP2
O3へ進み、″中断スイッチ″パケットの送信予約を行
ってから、カード状態を「中断中」に変更し、センサの
検出と打球発射装置103の駆動制御を停止させて元の
ルーチンへ戻る(手続きP603〜P605)、中断ス
イッチのオンに起因するカードの排出等は上記パケット
に対するACKパケットを受信した時点で行う(第18
4図(K)参照)。一方、テストモード中に中断スイッ
チがオンされると、この中断スイッチ処理の中で稼動情
報の更新、カード排出ファンクションの送信予約、制御
の停止ランプの表示変更を行うようにしている(手続き
P611〜P6丁6)。オフラインでのテストモードを
考慮したものである。
This process starts when it is detected that the interrupt switch 114 is turned on, and first, it is determined whether or not the test mode is in progress (procedure P2).
O3). Here, if it is not test mode, procedure P2
Proceed to O3, reserve the transmission of an "interrupt switch" packet, change the card status to "interrupted", stop sensor detection and drive control of the batted ball launcher 103, and return to the original routine (procedure P603 to P605), ejection of the card due to turning on the interrupt switch is performed at the time of receiving the ACK packet for the above packet (18th
(See Figure 4 (K)). On the other hand, when the interrupt switch is turned on during the test mode, the operation information is updated, the transmission of the card ejection function is reserved, and the display of the control stop lamp is changed during the interrupt switch processing (Procedure P611~ P6 6). This takes offline test mode into consideration.

第191図(C)には第190図のスイッチ検出タスク
中の購入スイッチ処理の手順が示されている。
FIG. 191(C) shows the procedure for purchasing switch processing during the switch detection task of FIG. 190.

購入スイッチ113がオンされると、先ず購入スイッチ
内蔵のランプエ21(以下、購入ランプと称する)の消
灯の指示を与える(手続きP621)。このランプは、
金額がrOJにならない間は点灯されており、玉数がr
OJになった時点で行われる第190図の購入要求手続
きP2]7によって点滅駆動される。そして、購入スイ
ッチのオンと同時に点滅は停止される。次に、カードの
金額がrOJか判定し、rOJなら何もせずに第190
図のルーチンへ戻る(手続きP622)。
When the purchase switch 113 is turned on, an instruction is first given to turn off the lamp 21 (hereinafter referred to as a purchase lamp) built into the purchase switch (procedure P621). This lamp is
It is lit until the amount does not reach rOJ, and the number of balls is r
It is driven to blink by the purchase request procedure P2]7 in FIG. 190, which is performed when OJ is reached. Then, the blinking is stopped at the same time as the purchase switch is turned on. Next, it is determined whether the amount on the card is rOJ, and if it is rOJ, the 190th
Return to the routine shown in the figure (procedure P622).

一方、金額が残っているときは手続きP623へ進み、
購入玉の変換レートを読み込んでから、ユニットメモリ
550内の玉数および持玉数に200円相当分の玉数を
加算する(手続きP624)。
On the other hand, if the amount remains, proceed to procedure P623,
After reading the conversion rate of the purchased balls, the number of balls equivalent to 200 yen is added to the number of balls and the number of balls in the unit memory 550 (procedure P624).

そして、金額(残金)の度数が「−2」され、購入回数
がr+14.売上の度数が「+2」されてから金額がr
OJになったか否か判定される(手続きP625〜P6
28)。ここで、金額がrOJなら購入ランプを点灯さ
せずに、また残金が残っているときは購入ランプを点灯
させてから打球発射装置103の駆動制御を開始させる
(手続きP628〜P630)。従って、購入ランプは
購入スイッチ113のオンによって一時消灯されるが残
金がある間はすぐに点灯される。また、遊技客が購入要
求音と表−示に基づいて購入スイッチをオンした場合、
購入ランプはカードの金額に応じて点滅から点灯または
点滅から消灯に移行する。
Then, the frequency of the amount (remaining amount) is "-2" and the number of purchases is r+14. After the sales frequency is “+2”, the amount is r
It is determined whether or not the OJ has become OJ (Procedures P625 to P6
28). Here, if the amount is rOJ, the purchase lamp is not turned on, and if there is a balance remaining, the purchase lamp is turned on and then drive control of the batted ball launching device 103 is started (procedures P628 to P630). Therefore, the purchase lamp is temporarily turned off when the purchase switch 113 is turned on, but it is immediately turned on as long as there is remaining money. Additionally, if the player turns on the purchase switch based on the purchase request sound and display,
The purchase lamp changes from flashing to on or from flashing to off depending on the amount of money on the card.

打球発射装置の制御開始後は購入要求音の出力を取り消
してからスイッチ操作音の出力予約を行って処理を終了
する(手続きP631.P632)。
After starting control of the batted ball launcher, the output of the purchase request sound is canceled, and the output of the switch operation sound is reserved, and the process ends (procedures P631 and P632).

第191図(d)には、第190図のスイッチ検出タス
クにおける終了スイッチ処理の手順が示されている。
FIG. 191(d) shows the procedure of the end switch processing in the switch detection task of FIG. 190.

終了スイッチ115のオンが検出されると、先ずセンサ
の検出を停止してから打球発射装置103の駆動制御を
停止させる(手続きP641.P642)。それから、
手続きP643でテストモードか否か判定し、テストモ
ードなら第191図(f)に示されているテストモート
終了処理へ移行し、通常動作モードなら″終了スイッチ
″パケットの送信予約を行ってからカード状態を「フリ
ー」に変更する(手続きP644.P645)。
When it is detected that the end switch 115 is turned on, the sensor detection is first stopped, and then the drive control of the batted ball launching device 103 is stopped (procedures P641 and P642). after that,
In procedure P643, it is determined whether the mode is test mode or not. If the test mode is the test mode, the process moves to the test mode termination process shown in FIG. Change the status to "free" (procedures P644 and P645).

カードの排出指令やランプの表示変更等は゛′中中断ス
イッチ上対する応答パケットACKの受信処理(第18
4図(L))中において行われる。
Card ejection commands, lamp display changes, etc. are performed during the processing of receiving the response packet ACK on the interruption switch (18th step).
This is done in Figure 4 (L)).

第191図(e)には第190図のスイッチ検出タスク
におけるテストスイッチ処理の手順が示されている。
FIG. 191(e) shows the test switch processing procedure in the switch detection task of FIG. 190.

テストスイッチ〕79のオンが検出されると、先ずスイ
ッチ操作音の出力予約およびテストカードファンクショ
ン待ちフラグをセットする(手続きP65↓、P2S5
)。このフラグは、テストカード処理の手順を示す第1
86図(A)中における手続きP2O3で参照される。
When the test switch]79 is detected to be on, first, the output of the switch operation sound is reserved and the test card function wait flag is set (procedure P65↓, P2S5
). This flag is the first flag indicating the test card processing procedure.
It is referred to by procedure P2O3 in FIG. 86(A).

それから、オフラインか否か判定し、オフラインならカ
ートリーダに対する「カート受付可」ファンクションの
送信予約を行い、オンラインなら何もしない。つまり「
カード受付可」ファンクションの送信を行わない。従っ
て、オンラインのときはカードの受付けが可能にされて
いるときのみテストモードへ移行する。ただし、実際に
はオンラインでカード受付けが可能な状態(中断中)に
あっても、稼動情報が「フリー」以外のときはテストカ
ードを排出するようになっている(第186図(A)手
続きP2O3,P513参照)。
Then, it is determined whether or not the user is offline, and if offline, a reservation is made to send a "cart acceptance" function to the cart reader, and if online, nothing is done. In other words"
"Card Accepted" function is not sent. Therefore, when online, the test mode is entered only when card acceptance is enabled. However, even if it is actually possible to accept cards online (suspended), if the operation information is other than "free", the test card will be ejected (see Figure 186 (A) Procedure (See P2O3, P513).

なお、上記テストスイッチ処理(手続きP651〜P6
54)においては、タイマを設定してテストスイッチオ
ン後一定時間内にテストカードの挿入がないときは元の
状態へ戻るようにすることも可能である。
In addition, the above test switch processing (procedures P651 to P6
In 54), it is also possible to set a timer to return to the original state if no test card is inserted within a certain period of time after the test switch is turned on.

第191図(f)には第188図のエラー制御タスクお
よび第191図(d)の終了スイッチ処理中におけるテ
ストモード終了処理の具体的な手順を示す。
FIG. 191(f) shows the specific procedure of the test mode termination process during the error control task of FIG. 188 and the termination switch process of FIG. 191(d).

この処理が開始されると、先ず全ランプを消灯し、セン
サの検出および打球発射装置103の駆動制御を停止さ
せてからオフラインかオンラインか判定する(手続きP
661〜P664)。ここで、オンラインならパチンコ
機の稼動情報が「強制終了」か調べ(手続きP665)
、強制終了なら「カード受付不可」ファンクションの送
信予約およびカード排出音の出力予約を行って元のルー
チンへ戻る(手続きP671.P872)。なお、カー
ドリーダは「カード受付不可jファンクションを受信す
ると保持しているカードを排出してからカードを受付け
ない状態になる。強制終了以外のときは、ランプ123
,163の表示を客待ち状態に変更してからテストモー
ド時の稼動データエリア内の稼動情報が「打止」か否か
調べる(手続きP666、P667)。そして、打止な
らそのまま手続きP670ヘジャンプし、また打止以外
のときは「カード排出Jファンクションの送信予約およ
びカード排出音の出力予約(手続きP2S5、P669
)をシテカら手続きP67oへ移行してカード挿入ラン
プの表示を点滅に変更して元のルーチンへ戻る。従って
、パチンコ機はテストモードから通常動作モードの「フ
リー」の状態に戻る。
When this process starts, first all lamps are turned off, sensor detection and drive control of the batted ball launcher 103 are stopped, and then it is determined whether it is offline or online (Procedure P
661-P664). Here, if you are online, check whether the operation information of the pachinko machine is "forced termination" (procedure P665)
If the process is forcibly terminated, a transmission reservation for the "card not accepted" function and an output reservation for the card ejection sound are made, and the process returns to the original routine (procedures P671 and P872). In addition, when the card reader receives the "Card not accepted function", it will eject the card it is holding and then go into a state where it will not accept any cards.In cases other than forced termination, the lamp 123
, 163 to the customer waiting state, and then checks whether the operation information in the operation data area in the test mode is "discontinued" (procedures P666, P667). If it is canceled, jump directly to procedure P670, and if it is not canceled, "Card ejection J function transmission reservation and card ejection sound output reservation (procedure P2S5, P669
) to proceed to procedure P67o, change the display of the card insertion lamp to blinking, and return to the original routine. Therefore, the pachinko machine returns from the test mode to the "free" state of the normal operating mode.

上記のごとく打止状態のときに手続きP2S5(カード
排出ファンクション送信予約)を省略して手続きP66
7からP670ヘジャンプしているのは、第191図(
a)の打止処理でそれをやっている(手続きP591)
からであり、手続きの重複を回避するためである。また
、打止のときに手続きP669 (カード排出音出力予
約)を省略しているのは、カードが排出されないのに排
出音が出力されるのを防止するためである。つまり、テ
ストモードでは打止が発生するとそのときにカードが排
出され、その後、終了スイッチ115がオンされると当
該テストモード終了処理に移行してくる(第191図(
d)手続きP642)ので。
As mentioned above, when the status is canceled, procedure P2S5 (card ejection function transmission reservation) is omitted and procedure P66 is executed.
The jump from 7 to P670 is shown in Figure 191 (
This is done in the a) termination process (procedure P591)
This is to avoid duplication of procedures. Furthermore, the reason why procedure P669 (card ejection sound output reservation) is omitted when canceling is to prevent the ejection sound from being output even though the card is not ejected. In other words, when termination occurs in the test mode, the card is ejected, and then when the termination switch 115 is turned on, the process shifts to the test mode termination process (FIG. 191).
d) Procedure P642).

ここでカード排出音を出力するのは現実と一致しなくな
るからである。
The reason for outputting the card ejection sound here is that it does not match reality.

一方、上記手続きP2S5でオフライン中と判定される
と、手続きP673へ移行して、「カード受付不可」フ
ァンクションの送信予約およびカード排出音の出力予約
を行ってから″テストモード終了時オフライン″フラグ
をセットし、″リーダエラー″フラグがセットされてい
るが否かチエツクする(手続きP673〜P676)。
On the other hand, if it is determined that the process is offline in the above procedure P2S5, the process moves to procedure P673, and after reserving the transmission of the "Card not accepted" function and reserving the output of the card ejection sound, the "Offline at end of test mode" flag is set. and checks whether the "reader error" flag is set (procedures P673 to P676).

ここで、リーダエラーがなければ元のルーチンへ戻り、
リーダエラーがあれば手続きP677へ移行して上記“
テストモード終了時オフライン”フラグをクリアしてか
ら“回線テスト”パケット待ち(第182図手続きP9
8)となる。上記フラグは、「ステータス」ファンクシ
ョン受信処理(第↓86図(C))中の手続きP2S5
で参照され、ステータスを送信したときにこのフラグを
みて回線テスト待ちへ移行する。すなわち、リーダーエ
ラーがないときは、手続きP673〜P676終了後に
元のルーチンへ戻り、その後カードリーダからカート排
出後の「正常終了」ファンクションとともにステータス
上、2を受信した時点で回線テスト待ちへ移行する。一
方、リーダーエラーがあるときには、手続きP673の
ファンクションを受けてカード排出処理が実行された場
合、カードリーダから「異常終了」とともにステータス
1゜2が送られてくると、第186図(c)の手続きP
2S5で回線テスト待ちへ移行してカードが取り出せな
くなるのを防止するため、手続きP677で″テストモ
ード終了時オフライン”フラグをクリアしている。
Here, if there is no reader error, return to the original routine,
If there is a reader error, proceed to procedure P677 and follow the steps above.
Clear the "Offline" flag at the end of the test mode and wait for the "Line test" packet (Figure 182 Procedure P9)
8). The above flag is used in procedure P2S5 during the "Status" function reception process (Figure 86 (C)).
When the status is sent, this flag is referenced and the process goes to wait for line test. In other words, if there is no reader error, the process returns to the original routine after completing procedures P673 to P676, and then transitions to waiting for a line test when it receives the "normal end" function after ejecting the cart from the card reader and receives status 2. . On the other hand, when there is a reader error, when the card ejection process is executed in response to the function of procedure P673, if the card reader sends "abnormal end" and status 1°2, the process shown in FIG. 186(c) Procedure P
In order to prevent the card from becoming impossible to take out due to a transition to line test standby in 2S5, the "offline at end of test mode" flag is cleared in procedure P677.

第192図にはユニットコントローラ190の10種類
のメインタスクのうち、音制御タスクの処理手順が示さ
れている。
FIG. 192 shows the processing procedure of the sound control task among the ten types of main tasks of the unit controller 190.

このタスクでは、「当り音」、「スイッチ操作音」、「
カード排出音」、「カード受付成功音」、または「カー
ト受付不成功前」の出力予約があるか否か調べ(手続き
P221〜P225)、予約があったときは、出力すべ
き音の種類を示すデータと出力時間とを内部RAMにセ
ットしてから音声合成回路(サウンドIC)582をリ
セットさせ、出力中の音を停止させる(手続きP231
゜P232)。それから、手続きP2S5へ移行してサ
ウンドICに制御信号を与え1選択した音を出力させる
。そして、セットした出力時間を経過したか判定し、オ
ーバーしているときは出力を停止させる(手続きP2S
5.P2S5)、一方、出力時間をオーバーしていない
ときは出力音が繰り返し音か判定し、繰り返し音でない
ときは音の出力を停止させる(手続きP236.P2S
5)。
In this task, we will introduce "hit sound", "switch operation sound", "
Check whether there is a reservation to output "Card ejection sound", "Successful card reception sound", or "Before unsuccessful cart reception sound" (procedures P221 to P225), and if there is a reservation, select the type of sound to be output. After setting the indicated data and output time in the internal RAM, the voice synthesis circuit (sound IC) 582 is reset and the sound being output is stopped (Procedure P231
゜P232). Then, proceeding to procedure P2S5, a control signal is given to the sound IC to output the selected sound. Then, it is determined whether the set output time has elapsed, and if it has exceeded, the output is stopped (procedure P2S
5. P2S5), On the other hand, if the output time has not exceeded, determine whether the output sound is a repeating sound, and if it is not a repeating sound, stop the sound output (Procedure P236.P2S
5).

ただし、手続きP2S5で音出力停止指令を出してもサ
ウンドICは出力中の音の1フレーズが終了するまでは
音出力を停止させず、フレーズの終端で停止する。
However, even if a sound output stop command is issued in procedure P2S5, the sound IC does not stop sound output until one phrase of the sound being output ends, and stops at the end of the phrase.

また、上記5種類の音のいずれの出力予約もないときは
、手続きP226で音出力中か否かチエツクし、出力中
なら手続きP2S5へ移行して出力時間をオーバーして
いないか調べる。一方、音出力中でないときは、「サー
チタイマ音」、「購入要求音」、「打止音」または「強
制終了音」の出力予約があるか調べ(手続きP227〜
P230)、あるときは出力すべき音を指定するデータ
と時間をセットしてから(手続きP233)、手続きP
2S5へ移行して音の出力を開始し、タイムオーバーを
起こすと音出力を停止する。つまり、これら4つの音に
関しては他の音の出力が終了するのを待ってから出力す
ることになる。
If there is no output reservation for any of the above five types of sounds, it is checked in procedure P226 whether the sound is being outputted, and if it is being outputted, the process moves to procedure P2S5 to check whether the output time has exceeded. On the other hand, if the sound is not being output, check whether there is an output reservation for the "search timer sound,""purchase request sound,""stopsound," or "forced end sound" (procedure P227~
P230), in some cases, after setting the data and time specifying the sound to be output (procedure P233), procedure P
The process moves to 2S5 to start outputting the sound, and when a timeout occurs, the outputting the sound is stopped. In other words, these four sounds are output after waiting for the output of the other sounds to finish.

第193図にはユニットコントローラのメインタスクの
うちタイマ制御タスクの手順を示す。
FIG. 193 shows the procedure of the timer control task among the main tasks of the unit controller.

このタスクでは、ランプの点滅やパケットの送信タイマ
、ACK受信タイマ等の基準となる10m5と100 
m Sの2つの基準タイマを管理しており、Ion秒ご
とにlomsタイマを更新(デクリメント)し、また1
00m秒ごとに100mSタイマを更新する(手続きP
241〜P244)。
In this task, 10m5 and 100m5 are used as standards for lamp blinking, packet transmission timer, ACK reception timer, etc.
It manages two reference timers for mS, updates (decrements) the loms timer every Ion seconds, and
Update the 100mS timer every 00ms (Procedure P
241-P244).

第194図にはユニットコントローラエ9oのメインタ
スクのうちランプ表示制御タスクの処理手順が示されて
いる。
FIG. 194 shows the processing procedure of the lamp display control task among the main tasks of the unit controller 9o.

このタスクにおいては、上記各種処理中においてセーフ
球ランプ164、P機状態表示ランプ点灯数、購入スイ
ッチ内蔵ランプ121、カード挿入ランプ168.遊技
状態ランプ123の更新があった場合に、その表示状態
を変更する(手続きP251〜P255)。次に、「客
待ち表示」または「打止表示」の必要があるか判定し、
客待ち表示のときはアナログ表示器163をスクロール
表示させ、打止表示のときはアナログ表示器163の全
ランプを同時に点滅させる(手続きP256〜P259
)。さらに玉数表示の必要性を判定し、必要のあるとき
はアナログ表示器163のランプを左側から順に玉数に
応じた数だけ点灯させる(手続きP260.P2S5)
。しかもこの玉数のアナログ表示は、ランプ点灯数が多
くなるほど一つのランプで表示される玉数が増加するい
わゆる対数表示にて行うようになっている。さらに、「
客待ち表示」、「打止表示」および「玉数表示」のいず
れの表示も不要なときはアナログ対数表示63を消灯す
る(手続きP2S5)。
In this task, during the above various processes, the safe bulb lamp 164, the number of P machine status display lamps lit, the built-in purchase switch lamp 121, the card insertion lamp 168. When the game status lamp 123 is updated, its display status is changed (procedures P251 to P255). Next, determine whether it is necessary to display a "waiting for customers" or "discontinued display",
When the customer waiting display is displayed, the analog display 163 is scrolled, and when the stop display is displayed, all the lamps on the analog display 163 are blinked at the same time (Procedures P256 to P259
). Furthermore, the necessity of displaying the number of balls is determined, and if necessary, the lamps of the analog display 163 are lit in order from the left side according to the number of balls (procedure P260.P2S5).
. Moreover, this analog display of the number of balls is performed using a so-called logarithmic display in which the number of balls displayed by one lamp increases as the number of lamps lit increases. moreover,"
When any of the displays of "Customer waiting display", "Stopping display" and "Number of balls display" are unnecessary, the analog logarithm display 63 is turned off (procedure P2S5).

次の表35に、パチンコ機の状態に応じた各ランプの表
示状態の一例を示す。
Table 35 below shows an example of the display state of each lamp depending on the state of the pachinko machine.

同表において、×印は消灯、○印は点灯、Δ印は点滅、
Sはスクロール表示、Aは球数に応じたアナログ対数表
示を示している。また、遊技中における「サーチ」の欄
は金額および玉数がゼロとなってサーチタイマ(10秒
)作動中の表示状態を示し、10秒経過すると帰零状態
に移行する。
In the same table, the × mark is off, the ○ mark is on, the Δ mark is blinking,
S indicates a scroll display, and A indicates an analog logarithmic display according to the number of pitches. Further, in the "Search" column during the game, the amount of money and the number of balls become zero, indicating a display state in which the search timer (10 seconds) is in operation, and after 10 seconds have passed, it shifts to the zero state.

X:消灯、○:点灯、△:、=W、tSニスクロール、
A:アナログ表示ユニットコントローラのメインタスク
には以上の9種類のタスクの他、ポート出力制御タスク
がある。このタスクでは、上記各タスクで決定された出
力状態を対応する■/○ポートへ出力する処理を実行す
る(図示省略)。
X: Off, ○: On, △:, =W, tS Niss Roll,
A: In addition to the nine types of tasks mentioned above, the main tasks of the analog display unit controller include a port output control task. This task executes a process of outputting the output state determined in each of the above tasks to the corresponding ■/○ port (not shown).

第195図には、上記制御フローに従ってパチンコ機を
制御する際の入出力信号のタイミングを示す。
FIG. 195 shows the timing of input and output signals when controlling the pachinko machine according to the above control flow.

なお、玉数を表わす数字は、−例として購入玉レートを
50個/200円、メイン賞球数を13個、サブ賞球数
を7個として演算したものを示している。
The numbers representing the number of balls are calculated assuming, for example, that the purchase ball rate is 50 balls/200 yen, the number of main prize balls is 13 balls, and the number of sub prize balls is 7 balls.

タイミングt□て、4カードイン″パケツトに対する応
答パケットACKを受信した後、タイミングt2で購入
スイッチ113のオン信号が入ってくると、発射駆動制
御信号がハイレベルに変化され、打球発射装置1103
が駆動可能となる。これとともに、カードの残金の度数
が「2」だけ減算され、200円分の玉数が加算されて
、金額表示および玉数表示が更新される。
After receiving the response packet ACK for the 4-card-in'' packet at timing t□, when the ON signal of the purchase switch 113 comes in at timing t2, the firing drive control signal is changed to a high level, and the batted ball firing device 1103
becomes drivable. At the same time, the frequency of the balance of the card is subtracted by "2", the number of balls worth 200 yen is added, and the amount display and the number of balls display are updated.

その後、各センサから検出パルスが入ってくるとユニッ
トコントローラ190内で浮遊玉数や持玉数の演算をリ
アルタイムで行い、玉数およびその表示を次々と変更し
ていく。なお、コントローラ内部で浮遊玉数が「0」に
なっているときは、セーフセンサの検出パルス(p x
参照)があってもこれは無効とされ、その分の賞球数は
加算されない。
Thereafter, when detection pulses are received from each sensor, the number of floating balls and the number of balls held are calculated in real time within the unit controller 190, and the number of balls and their display are changed one after another. In addition, when the number of floating balls is "0" inside the controller, the detection pulse of the safe sensor (p x
(see), this will be considered invalid and the number of prize balls will not be added accordingly.

このような遊技制御中に、中断スイッチ114のオン信
号が入ってくると(タイミングti)、発射駆動制御信
号がオフされる。ただし、表示は中断時の状態に維持さ
れる。その後、′中断カードイン″のACKパケットが
受信されると(タイミングt4)、再び遊技制御が開始
され、終了スイッチ115のオン信号が入った時点で遊
技を終了しくタイミングts)、“′終了スイッチ”の
ACKを受信した時点(タイミングtc)で表示および
玉数、金額データが「0」にクリアされる。
During such game control, when the on signal of the interruption switch 114 is input (timing ti), the firing drive control signal is turned off. However, the display remains as it was at the time of interruption. After that, when the ACK packet for 'interrupt card-in' is received (timing t4), the game control is started again, and the game is terminated when the end switch 115 is turned on (timing ts), the '' end switch At the time when the ACK of "" is received (timing tc), the display, number of balls, and amount data are cleared to "0".

一方、遊技中においてカードの金額および工数がともに
rOJになる帰零状態が発生すると(タイミングt7)
、サーチタイマが起動され、10秒以内にセーフセンサ
エまたは2の検出パルスがないときは“帰零″パケット
が送信され、そのACKを受信した時点(t8)で浮遊
玉数がrQJにクリアされる。サーチタイマの作動中に
浮遊玉数がrQJになればその時点で″帰零″パケット
が送信される。
On the other hand, when a zero state occurs during the game where the card amount and man-hours both become rOJ (timing t7)
, the search timer is activated, and if there is no detection pulse of safe sensor or 2 within 10 seconds, a "return to zero" packet is transmitted, and the number of floating balls is cleared to rQJ when the ACK is received (t8). If the number of floating balls reaches rQJ while the search timer is operating, a "return to zero" packet is transmitted at that point.

なお、上記実施例では、中断状態が長く続いているパチ
ンコ機を強制的に解放する場合、−旦そのパチンコ機に
″強制終了″パケットを送って終了させてから、再びそ
のパチンコ機にパ強制終了解除″パケットを送って中断
中のパチンコ機を解放するようにしているが、例えば管
理装置に中断台を解放する作業メニューとその処理プロ
グラムを用意しておいて、精算機において中断カートを
精算したときにパチンコ機に送信するパ中断終了″パケ
ットを用いて中断中のパチンコ機を解放するようにして
もよい。
In addition, in the above embodiment, when forcibly releasing a pachinko machine that has been in a suspended state for a long time, first send a "forced termination" packet to the pachinko machine to terminate it, and then force the pachinko machine to release the pachinko machine again. We are trying to release a pachinko machine that is currently suspended by sending a "termination release" packet, but for example, we can prepare a work menu and its processing program for releasing the suspended table in the management device, and then pay the suspended cart at the payment machine. The pachinko machine that is currently suspended may be released by using a "pause suspension end" packet that is sent to the pachinko machine when the pachinko machine is suspended.

さらに、上記実施例では、記憶媒体としてのカートには
カード番号のみ記録し、購入金額や玉数はカード番号に
対応して管理装置の記憶装置に記憶させておくようにし
た遊技システムに適用したものについて説明したが、こ
の発明はそれに限定されず、購入金額または玉数を記録
したカードによって遊技が可能にされるシステムにも適
用することができる。
Furthermore, the above embodiment is applied to a gaming system in which only the card number is recorded in the cart as a storage medium, and the purchase amount and number of balls are stored in the storage device of the management device in correspondence with the card number. Although the invention has been described above, the present invention is not limited thereto, and can also be applied to a system in which a game is made possible using a card that records the purchase amount or the number of balls.

また、カード発行機や精算機は必ずしも伝送媒体を介し
て管理装置に接続されている必要はなく自己の判断の下
でカードを発行したり、精算するものであってもよい。
Further, the card issuing machine and the payment machine do not necessarily need to be connected to the management device via a transmission medium, and may issue cards or perform payment based on their own judgment.

[発明の効果] 以上説明したようにこの発明は、複数の遊技機と管理装
置とを伝送路で接続し、金額もしくは玉数と実質的に等
価な有価データを、カードに対して与えられた識別コー
ド毎に管理装置において管理し、遊技機に挿入されたカ
ードより読み出した識別コードに基づいて上記管理装置
から得られた有価データの範囲内で遊技を可能ならしめ
るようにされたカード式遊技システムにおいて、上記遊
技機にはカードを排出して遊技制御を停止し同一カート
の投入によってのみ再遊技可能な状態に移行させるため
のスイッチを設けるとともに、管理装置には上記スイッ
チがオンされてからの中断継続時間の計数手段を設け、
コンソールからの指示により上記中断継続時間を外部に
表示できるように構成したので、遊技中の遊技台におけ
る遊技権利を留保したままその遊技台を離れることがで
きるとともに、管理装置にて中断中の遊技台の経過時間
をモニタできるとともに、長時間中断が続いた場合には
管理装置からの指令により中断中の遊技台を他の遊技客
のために強制的に解放できるようにして、一部の遊技客
の利益を損なうことなく。
[Effect of the invention] As explained above, the present invention connects a plurality of gaming machines and a management device through a transmission line, and provides valuable data substantially equivalent to the amount of money or the number of balls to the card. A card-type game in which each identification code is managed in a management device, and games can be played within the range of valuable data obtained from the management device based on the identification code read from a card inserted into a gaming machine. In the system, the gaming machine is equipped with a switch that ejects the cards, stops gaming control, and returns to a state where the game can be played again only by inserting the same cart, and the management device is equipped with a switch that allows the game to be played again only when the same cart is inserted. provide a means for counting the duration of the interruption;
Since the above-mentioned suspension duration time can be displayed externally based on an instruction from the console, it is possible to leave the gaming machine while retaining the right to play on the gaming machine, and the management device can also display the interrupted gaming time. It is possible to monitor the elapsed time of a game machine, and if the game machine has been interrupted for a long time, the suspended game machine can be forcibly released for other players by commands from the management device. without compromising customer interests.

すべての遊技客に公平に遊技機会を与えることができる
ようになるという効果がある。
This has the effect of allowing all players to be given fair gaming opportunities.

【図面の簡単な説明】[Brief explanation of drawings]

第1@は本発明が適用されたパチンコ遊技システム全体
の構成を示すシステム構成図、第2図(A)、(B)は
本発明に係るシステムに使用されるカードの一例を示す
正面図および内部構成図、 第2図(C)はカード内の真偽識別領域の構成例を示す
説明図、 第2図(D)はカードの断面構造の一例を示す断面図、 第2図(E)はカード内の磁気記録部の構成例を示す説
明図、 第3図は遊技システムを構成するパチンコ機全体の構成
例を示す斜視図、 第4図(A)、(B)はパチンコ機前面の操作パネル部
の構成例を示す断面側面図、 第5図は同じく操作パネル部の分解斜視図、第6図は同
じく操作パネル部内部の構成を示す斜視図、 第7図はパチンコ機の裏面の封入球循環装置の構成例を
示す斜視図、 第8図はその封入球循環装置をパチンコ機に取り付けた
状態を示す斜視図、 第9図は打球発射レール基部の詳細を示す斜視図、 第10図はパチンコ機の前面パネルを開いた状態を示す
斜視図。 第11図は遊技盤を保持するフレームとこれに結合され
る発射レールを備えたフレームボードの構成例を示す斜
視図、 第12図はパチンコ機の前面枠の裏面構成を示す斜視図
。 第13図はパチンコ機の裏面の構成例を示す背面斜視図
、 第14図はパチンコ機制御ユニットの構成例を示す斜視
図、 第15図は同しくその制御ユニットの内部構成を示す斜
視図、 第16図は制御ユニットの前面パネルの構成を示す斜視
図。 第17図はパチンコ機と制御ユニットの取付位置関係を
示す斜視図、 第18図はパチンコ機が設置される島設備の骨組みを示
す斜視図、 第19図は島設備にパチンコ機と制御ユニットを設置し
た状態を示す斜視図、 第20図は島設備の背面を示す斜視図、第21図はパチ
ンコ機全体の制御体系を示すブロック図、 第22図はパチンコ機制御装置の回路構成例を示すブロ
ック図、 第23図はパチンコ機制御ユニットの回路構成例を示す
ブロック図。 第24図はユニットメモリのエリア構成を示すメモリマ
ツプ、 第25図はパチンコ機のカードリーダの構成例を示す斜
視図、 第26図はそのカードリーダの分解斜視図、第27図は
カードリーダのカード挿入部の詳細を示す分解斜視図、 第28図(A)、(B)は同じくカートリーダのカード
挿入部の詳細を示す断面側面図、第29図(A)、(B
)はカートリーダ入口のシャッタ部分の詳細を示す断面
側面図、第30図(A)はカードリーダ内に設けられた
各種センサの取付は位置関係を示す平面説明図、第30
図(B)はカード挿入時のセンサの検出タイミングチャ
ート、 第31図はカード7ノーダ制御装置の回路構成例を示す
ブロック図、 第32図はカードリーダのインタフェース回路を示すブ
ロック図、 第33図はカードリーダのデータ読込み、書込みタイミ
ングを示すタイミングチャート、第34図は本発明に係
る遊技システムに使用されるカード発行機の構成例を示
す斜視図、第35図は発行機の前面パネルを開いた状態
を示す斜視図、 第36回は発行機に設けられたカード発行装置の斜視図
、 第37図は同じくカード発行装置の概略構成図、第38
図はカード発行装置を構成するカード取出装置の構成を
示す斜視図、 第39図は同じくカード発行装置を構成するカード導出
装置の構成を示す斜視図、 第40図はカード発行機の制御装置の構成例を示すブロ
ック図、 第41図はカード発行機のユニット制御装置の構成例を
示すブロック図、 第42図(A)は精算機の構成例を示す斜視図、第42
図(B)は精算機の上面パネルおよび前面パネルを開い
た状態を示す斜視図、 第43図は精算機を構成するカード精算装置の構成例を
示す斜視図、 第44図は本実施例の精算機を用いてパチンコ店のカウ
ンタを構成した場合の斜視図、第45図(A)、(B)
は精算機により発行されるレシートの構成例を示す説明
図、 第46図は精算機の制御装置の構成例を示すブロック図
、 第47図は精算機のユニット制御装置の構成例を示すブ
ロック図、 第48図は管理装置全体の構成例を示す斜視図、第49
図は管理装置自身のシステム構成例を示すブロック図、 第50図は管理装置のコンソールの構成例を示すもので
、(A)は平面図、(B)は背面図、第51図は主記憶
装置内のファイルの構成例を示すメモリマツプ、 第52図は本発明の遊技システム内でのカードの状態遷
移を示す説明図。 第53図(A)は本発明の遊技システムにおける伝送系
の構成例を示すブロック図、 第53図(B)は伝送路を光ケーブルで構成する場合の
伝送系の接続方法を示すブロック図、第53図(C)は
伝送路を同軸ケーブルで構成する場合の伝送系の接続方
法を示すブロック図。 第54図(A)はネットワーク上でのデータ転送制御を
行うNAU (ネットワークアダプタユニット)の構成
例を示すブロック図。 第54図(’B)はNAUの外観を示す斜視図、第55
図(A)、(B)は高層ネットワーク上での管理装置−
NAU間および管理装置−ユニット間のパケット構造を
示す構成図、 第55図(C)は低層ネットワーク上での管理装置−N
AU間および管理装置−ユニット間のパケット構造を示
す構成図、 第56図〜第61図は高層ネットワーク上で送受信され
るパケットの構成例を示すもので、第56図(A)、(
B)は゛′回線テスト”パケットとその応答” A C
K ”パケットの構成図。 第57図(A)、(B)は″ユニットテーブル要求″パ
ケットとその応答パケットの構成図5第58図(A)、
(B)は″初期値設定″パケットとその応答パケットの
構成図、 第59図(A)、(B)は管理装置からパチンコ機に対
する″定時データ要求″およびその応答パケットの構成
図、 第60図(A)、(B)はパ各種指令用″パケットとそ
の応答” A CK ”パケットの構成図、第61図(
A)、(B)、(C)は″カードイン″パケットとその
応答” A CK”パケットおよび否定応答” N A
 K ”パケットの構成図。 第62図はパチンコ機からNAUへ対する″定時データ
送信″パケットの構成図、 第63図(A)、(B)は低層ネットワーク上でのパチ
ンコ機に対する″′ユニット復復旧データ上その応答パ
ケットの構成図、 第64図(A)、(B)、(C)は低層ネットワーク上
での発行機とNAU間の″カート購入″パケットとその
応答” A CK ”パケットおよび否定応答” N 
A K ”パケットの構成図、第65図は発行機からN
AUに対する“定時データ送信″パケットの構成図、 第66図(A)、(B)は低層ネットワーク上での発行
機に対する゛′ユニット復旧データ″パケットとその応
答” A CK ”パケットの構成図、第67図(A)
、(B)、(C)は低層ネットワーク上で精算機に対す
る″カード精算″パケットとその応答” A CK”お
よび否定応答” N A K”パケットの構成図、 第68図(A)、(B)、(C)は同じくパカード精算
終了”パケットとその応答” A CK ”および否定
応答” N A K”パケットの構成図、第69図は精
算機からNAUに対するパ定時データ送信′”パケット
の構成図、 第70図(A)、、(B)は精算機に対する″ユニット
復旧データ“パケットとその応答” A CK ”パケ
ットの構成図、 第71図はNAUのデータ伝送コントローラにおけるデ
ータ伝送の制御手順を示すフローチャート、 第72図はN A Uにおけるタイマ割込みによるトー
クンバス異常検出の制御手順を示すフローチャート、 第73図はシステム全体の初期化の手順を示すフローチ
ャート、 第74図は管理装置によるユニットテーブル要求からユ
ニットに対する初期値設定までの手順を示すシステムフ
ローチャート、 第75図は管理装置による各端末機からの定時データ収
集の手順を示すシステムフローチャート、第76図は管
理装置による各端末機への開店指令の処理手順を示すシ
ステムフローチャート、第77図はカード発行予約およ
びカード発行機に紙幣が挿入され購入スイッチがオンさ
れた場合の処理手順を示すシステムフローチャート、第
78図は中断中のパチンコ機にカードが挿入された場合
の処理手順を示すシステムフローチャ−ト、 第79図は遊技中にパチンコ機の中断スイッチがオンさ
れた場合の処理手順を示すシステムフローチャート、 第80図は中断中のパチンコ機にカードが挿入された場
合の処理の手順を示すシステムフローチャート、 第81図は遊技中にパチンコ機の遊技終了スイッチがオ
ンされた場合の処理手順を示すシステムフローチャート
、 第82図は遊技中にカードの持玉数と金額とがともにゼ
ロになった場合の処理手順を示すシステムフローチャー
ト、 第83図は、遊技中に打止が発生した場合の処理手順を
示すシステムフローチャート、第84図は精算機にカー
ドが挿入された場合の処理手順を示すシステムフローチ
ャート、第85図は中断中のカードがM算機において精
算された場合の中断終了処理手順を示すシステムフロー
チャート、 第86図は管理装置のコンソールから打止解除指令が入
った場合の処理手順を示すシステムフローチャート、 第87図は管理装置のコンソールからパチンコ機に対す
る強制終了指令が入った場合の処理手順を示すシステム
フローチャート、 第88図は管理装置のコンソールから発行機または精算
機に対する強制終了指令が入った場合の処理手順を示す
システムフローチャート、第89図は強制終了中の端末
機の終了を解除する場合の処理手順を示すシステムフロ
ーチャート、第90図はユニットがダウンした場合の検
出処理手順を示すシステムフローチャート。 第91図はダウンしたユニットが回復した場合に管理装
置が端末機のデータを復旧させるユニット復旧処理手順
を示すシステムフローチャート、第92図はNAUがダ
ウンしたことを検出し、その後NAUが回復した場合に
各端末機に対するデータ復旧処理手順を示すシステムフ
ローチャート、 第93図は管理装置による各端末機への閉店指令からシ
ステム終了処理手順を示すシステムフローチャート、 第94図は停電発生を検出した場合の処理手順を示すシ
ステムフローチャート、 第95図は停電回復後におけるシステム立上げ処理の手
順を示すシステムフローチャート、第9611il(A
)〜(D)は管理装置における中央処理装置とローカル
処理装置の初期化手順を示すフローチャート、 第97図は管理装置においてコンソール背面のビルトイ
ンスイッチがオンされたときの処理手順を示すフローチ
ャート、 第98図は管理装置においてコンソール上面の設定更新
スイッチがオンされたときの処理手順を示すフローチャ
ート、 第99図はタイマ割込みによる定時データ要求処理手順
を示すフローチャート。 第100図はその応答たる定時データの受信処理の手順
を示すフローチャート、 第101図は管理装置が″カード購入″パケットを受信
したときの処理手順を示すフローチャート、 第102図は管理装置が“カードイン″パケットを受信
したときの処理手順を示すフローチャート、 第103図は管理装置が″中断カードイン″パケットを
受信したときの処理手順を示すフローチャート、 第104図は管理装置が″中断スイッチ″パケットを受
信したときの処理手順を示すフローチャート。 第105図は管理装置が″終了スイッチ″パケットを受
信したときの処理手順を示すフローチャート、 第106図は管理装置が゛′帰零″パケットを受信した
ときの処理手順を示すフローチャート、第107図は管
理装置が“打止″パケットを受信したときの処理手順を
示すフローチャート、第108図は管理装置が″カード
精算”バケツトを受信したときの処理手順を示すフロー
チャート。 第109図は管理装置においてコンソール上面の打止解
除スイッチがオンされたときの処理手順を示すフローチ
ャート。 第110図、第111図および第112図は管理装置に
おいてコンソール上面の強制終了スイッチがオンされた
ときの処理手順を示すフローチャート、 第113図、第1↓4図および第1工5図は管理装置に
おいてコンソール上面の強制終了解除スイッチがオンさ
れたときの処理手順を示すフローチャート、 第116図は停電が発生したときの管理装置における停
電処理の手順を示すフローチャート、第117図は管理
装置におけるネットワークのエラー回復処理の手順を示
すフローチャート、第1工8図(A)は第117図の処
理フロー中におけるNAU回復処理の具体的手順を示す
フローチャート、 第118図(B)は第117図の処理フロー中における
トークンバス回復処理の具体的手順を示すフローチャー
ト、 第119図は第117図の処理フロー中におけるホット
コード回復処理の具体的手順を示すフローチャート、 第120図は第117図の処理フロー中におけるユニッ
ト回復処理の具体的手順を示すフローチャート、 第121図は管理装置においてコンソール上面の閉店ス
イッチがオンされたときの処理手順を示すフローチャー
ト。 第122図は管理装置においてコンソール上面のカード
復活スイッチがオンされたときの処理手順を示すフロー
チャート、 第123図は管理装置においてコンソール背面のテスト
カード発行スイッチがオンされたときの処理手順を示す
フローチャート、 第124図はタイマ割込みによる営業統計データの割込
み表示処理の手順を示すフローチャート、第125図は
打止台のデータ表示処理の手順を示すフローチャート、 第126図は特定台のデータ表示処理の手順を示すフロ
ーチャート、 第127図は全台のデータ表示処理の手順を示すフロー
チャート、 第128図は赤字台のデータ表示処理の手順を示すフロ
ーチャート、 第129図は黒字台のデータ表示処理の手順を示すフロ
ーチャート。 第130図は発行機のデータ表示処理の手順を示すフロ
ーチャート、 第131図は精算機のデータ表示処理の手順を示すフロ
ーチャート、 第132図は全営業データ表示処理の手順を示すフロー
チャート、 第133図は特定カードのデータ表示処理の手順を示す
フローチャート、 第134図はカード合計データ表示処理の手順を示すフ
ローチャート、 第135図は全カード明細データ表示処理の手順を示す
フローチャート、 第136図は中断カードのデータ表示処理の手順を示す
フローチャート5 第137図は管理装置におけるカード番号生成手順を示
すフローチャート。 第138図は管理装置におけるCRT表示装置に表示さ
れる初期画面の構成例を示す表示画面構成図、 第139図は管理装置におけるCRT表示装置に表示さ
れる異常端末表示画面の構成例を示す表示画面構成図、 第140図は管理装置におけるCRT表示装置に表示さ
れる開店要求画面の構成例を示す表示画面構成図、 第141図、第°142図、第143図は管理装置にお
けるCRT表示装置に表示される初期値設定画面の構成
例を示す表示画面構成図、第144図は管理装置におけ
るCRT表示装置に表示される打止数設定画面の構成例
を示す表示画面構成図、 第145図は管理装置におけるCRT表示装置に表示さ
れる打止モード設定画面の構成例を示す表示画面構成図
、 第146図は管理装置におけるCRT表示装置に表示さ
れる日時設定画面の構成例を示す表示画面構成図。 第147図は管理装置におけるCRT表示装置に表示さ
れる営業中のノーマル表示画面の構成例を示す表示画面
構成図、 第148図は管理装置におけるCRT表示装置に表示さ
れる打止解除画面の構成例を示す表示画面構成図、 第149図は管理装置におけるCRT表示装置に表示さ
れるパチンコ機強制終了画面の構成例を示す表示画面構
成図、 第150図は管理装置におけるCRT表示装置に表示さ
れるパチンコ機強制終了解除画面の構成例を示す表示画
面構成図。 第151図は管理装置におけるCRT表示装置に表示さ
れる発行機強制終了解除画面の構成例を示す表示画面構
成図、 第152図は管理装置におけるCRT表示装置に表示さ
れる精算機強制終了解除画面の構成例を示す表示画面構
成図、 第153図は管理装置におけるCRT表示装置に表示さ
れるシステム終了画面の構成例を示す表示画面構成図、 第154図は管理装置におけるCRT表示装置に表示さ
れるカード復活画面の構成例を示す表示画面構成図、 第155図は管理装置におけるCRT表示装置に表示さ
れる表示メニュー選択画面の構成例を示す表示画面構成
図、 第156図は管理装置におけるCRT表示装置に表示さ
れる打止台表示画面の構成例を示す表示画面構成図、 第157図は管理装置におけるCRT表示装置に表示さ
れる特定台表示画面の構成例を示す表示画面構成図、 第158図は管理装置におけるCRT表示装置に表示さ
れる全台データ表示画面の構成例を示す表示画面構成図
、 第159図は管理装置におけるCRT表示装置に表示さ
れる赤字台データ表示画面の構成例を示す表示画面構成
図、 第160図は管理装置におけるCRT表示装置に表示さ
れる発行機データ表示画面のW或例を示す表示画面構成
図、 第161図は管理装置におけるCRT表示装置に表示さ
れる精算機データ表示画面の構成例を示す表示画面構成
図。 第162図は管理装置におけるCRT表示装置に表示さ
れる営業データ表示画面の構成例を示す表示画面構成図
、 第163図は管理装置におけるCRT表示装置に表示さ
れる特定カードデータ表示画面の構成例を示す表示画面
構成図、 第164図は管理装置におけるCRT表示装置に表示さ
れるカード明細データ表示画面の構成例を示す表示画面
構成図、 第165図は管理装置におけるCRT表示装置に表示さ
れる中断カードデータ表示画面の構成例を示す表示画面
構成図、 第166図、第167図、第168図および第上69図
は、NAUにおけるパケット送受信制御の手順を示すフ
ローチャート、 第170図(A)〜(C)はパチンコ機の稼動状態の遷
移を示すもので、同図(A)は通常動作モード、同図(
B)はオンライン時のテストモード、同図(C)はオフ
ライン時のテストモードでの状S遷移図である。 第171図〜第178図はパチンコ機の制御ユニット内
における各コントローラ間の送受信および処理手順示す
もので、 第171図は初期化および開店パケット受信時のフロー
チャート、 第172図はカードリーダへのカード挿入時のフローチ
ャート、 第173図は中断スイッチがオンされたときのフローチ
ャート、 第174図は精算スイッチがオンされたときのフローチ
ャート、 第175図は帰零状態が発生したときのフローチャート
、 第176図は打止状態が発生したときのフローチャート
、 第177図は“強制終了”パケットを受信したときのフ
ローチャート。 第178図は停電回復後のユニット復旧の際のフローチ
ャートである。 第179図〜第192図は、ユニットコントローラのタ
スク処理フローを示すもので、第179図はタイマ割込
み処理の手順を示すフローチャート。 第180図はシリアル割込み処理の手順を示すフローチ
ャート、 第181図(A)、(B)は第179図の割込み処理フ
ロー中のセンサ、スイッチ検出処理およびスイッチ無効
処理の具体的手順を示すフローチャート、 第工82@はユニットコントローラのメインタスク一つ
である初期化タスクの手順を示すフローチャート、 第183図はパケット受信タスクの手順を示すフローチ
ャート、 第184図(A)は、上記パケット受信タスク中におけ
る“初期値設定″パケット受信処理の具体的手順を示す
フローチャート、 第184図(B)はパ開店コード″パケット受信処理の
具体的手順を示すフローチャート、第184図(C)は
″閉店コード″パケット受信処理の具体的手順を示すフ
ローチャート、第184図(D)は“強制終了要求″パ
ケット受信処理の具体的手順を示すフローチャート、第
184図(E)は″強制終了解除″パケット受信処理の
具体的手順を示すフローチャート、第184図(F)は
″打止解除”パケット受信処理の具体的手順を示すフロ
ーチャート。 第184図(G)は゛′中断終了”パケット受信処理の
具体的手順を示すフローチャート、第184図(H)は
“ユニット復旧データ”パケット受信処理の具体的手順
を示すフローチャート。 第184図(I)は“リスタート”パケット受信処理の
具体的手順を示すフローチャート、第184図(J)は
“カードインA CK ”および“中断カードインAC
K”パケット受信処理の具体的手順を示すフローチャー
ト。 第184図(K)は“中断スイッチACK”パケット受
信処理の具体的手順を示すフローチャート、 第184図(L)は“終了スイッチACK”パケット受
信処理の具体的手順を示すフローチャート、 第184図(M)は“帰零ACK”パケット受信処理の
具体的手順を示すフローチャート、第184図(N)は
“打止A CK ”パケット受信処理の具体的手順を示
すフローチャート、第185図はユニットコントローラ
のメインタスクの一つであるリーダI11御タスクの手
順を示すフローチャート、 第186図(A)は、上記リーダ制御タスク中における
「テストカードJファンクション受信処理の具体的手順
を示すフローチャート、第186図(B)は、上記リー
ダ制御タスク中における「カード番号」ファンクション
受信処理の具体的手J@を示すフローチャート、第18
6図(C)は、上記リーダ制御タスク中における「ステ
ータス」ファンクション受信処理の具体的手順を示すフ
ローチャート、 第186図(D)は、上記リーダ制御タスク中における
「再送要求」ファンクション受信処理の具体的手順を示
すフローチャート、 第186図(E)は、上記リーダ制御タスク中における
「正常終了」ファンクション受信処理の具体的手順を示
すフローチャート。 第186図(F)は、上記リーダ制御タスク中における
「異常終了」ファンクション受信処理の具体的手順を示
すフローチャート、 第186図(G)は、上記リーダ制御タスク中における
「初期値要求Jファンクション受信処理の具体的手順を
示すフローチャート、 第186図(H)は、上記リーダ制御タスク中における
「セルフ排出」ファンクション受信処理の具体的手順を
示すフローチャート、 第186図(I)は、上記リーダ制御タスク中における
ファンクション送信処理の具体手順を示すフローチャー
ト、 第187図はユニットコントローラのメインタスクの一
つであるパケット送信タスクの手順を示すフローチャー
ト、 第188図はユニットコントローラのメインタスクの一
つであるエラー制御タスクの手順を示すフローチャート
、 第189図はユニットコントローラのメインタスクの一
つである球数演算タスクの手順を示すフローチャート、 第190図はユニットコントローラのメインタスクの一
つであるスイッチ検出タスクの手j頃を示すフローチャ
ート、 第191図(a)は第190図のスイッチ検出タスク中
における打止処理の具体的手順を示すフローチャート、 第191図(b)は第190図のスイッチ検出タスク中
における中断スイッチ処理の具体的手順を示すフローチ
ャート、 第191図(c)は第190図のスイッチ検出タスク中
における購入スイッチ処理の具体的手順を示すフローチ
ャート、 第191図(d)は第190図のスイッチ検出タスク中
における終了スイッチ処理の具体的手順を示すフローチ
ャート、 第191図(e)は第190図のスイッチ検出タスク中
におけるテストスイッチ処理の具体的手順を示すフロー
チャート、 第191図(f)は第190図(d)の終了スイッチ処
理中におけるテストモード終了処理の具体的手順を示す
フローチャート、 第192図はユニットコントローラのメインタスクの一
つである音制御タスクの手順を示すフローチャート、 第193図はユニットコントローラのメインタスクの一
つであるタイマ制御タスクの手順を示すフローチャート
、 第194図はユニットコントローラのメインタスクの一
つであるランプ表示制御タスクの手順を示すフローチャ
ート。 第195図はユニット制御装置における入出力タイミン
グチャートである。 100・・・・パチンコ機、110・・・・操作パネル
、113・・・・購入スイッチ、114・・・・中断ス
イッチ、115・・・・終了スイッチ、130・・・・
球循環装置、160・・・・制御ユニット、180・・
・・ユニット制御装置、188・・・・カードリーダ制
御装置、195・・・・パチンコ機制御装置、190・
・・・ユニットコントローラ、200・・・・カート発
行機、700・・・・カード発行装置、710・・・・
カード取出装置、740・・・・カード反転装置、75
0・・・・印字装置、770・・・・カード導出装置、
300・・・・精算機、400・・・・管理装置、55
0・・・・ユニットメモリ、551・・・・データ伝送
コントローラ、553・・・・ネットワークコントロー
ラ、800・・・・カードリーダ、802・・・・カー
ド挿排口、807・・・・搬送モータ、80’9・・・
・シャッタソレノイド、82o・・・パンチ装置、82
1・・・・磁気ヘッド。
1@ is a system configuration diagram showing the overall configuration of the pachinko gaming system to which the present invention is applied, and FIGS. 2 (A) and (B) are front views showing an example of a card used in the system according to the present invention. Internal configuration diagram, Figure 2 (C) is an explanatory diagram showing an example of the configuration of the authenticity identification area in the card, Figure 2 (D) is a sectional view showing an example of the cross-sectional structure of the card, Figure 2 (E) is an explanatory diagram showing an example of the configuration of the magnetic recording section in the card, Figure 3 is a perspective view showing an example of the overall configuration of the pachinko machine that constitutes the gaming system, and Figures 4 (A) and (B) are the front side of the pachinko machine. 5 is an exploded perspective view of the operation panel, FIG. 6 is a perspective view showing the internal structure of the operation panel, and FIG. 7 is a side view of the back of the pachinko machine. FIG. 8 is a perspective view showing the enclosed ball circulation device installed in a pachinko machine; FIG. 9 is a perspective view showing details of the base of the ball launch rail; FIG. 10 The figure is a perspective view showing the state where the front panel of the pachinko machine is opened. FIG. 11 is a perspective view showing an example of the configuration of a frame board that includes a frame for holding a game board and a firing rail coupled to the frame, and FIG. 12 is a perspective view showing the back configuration of the front frame of the pachinko machine. FIG. 13 is a rear perspective view showing an example of the configuration of the back side of the pachinko machine, FIG. 14 is a perspective view showing an example of the configuration of the pachinko machine control unit, and FIG. 15 is a perspective view showing the internal configuration of the control unit. FIG. 16 is a perspective view showing the configuration of the front panel of the control unit. Fig. 17 is a perspective view showing the installation positional relationship between the pachinko machine and the control unit, Fig. 18 is a perspective view showing the framework of the island equipment where the pachinko machine is installed, and Fig. 19 is the installation position of the pachinko machine and the control unit on the island equipment. Fig. 20 is a perspective view showing the back of the island equipment; Fig. 21 is a block diagram showing the control system of the entire pachinko machine; Fig. 22 shows an example of the circuit configuration of the pachinko machine control device. Block Diagram FIG. 23 is a block diagram showing an example of the circuit configuration of a pachinko machine control unit. Fig. 24 is a memory map showing the area configuration of the unit memory, Fig. 25 is a perspective view showing an example of the structure of a card reader of a pachinko machine, Fig. 26 is an exploded perspective view of the card reader, and Fig. 27 is a card reader card reader. 28(A) and (B) are exploded perspective views showing details of the card insertion portion of the cart reader; FIGS. 29(A) and 29(B) are cross-sectional side views showing details of the card insertion portion of the cart reader;
) is a cross-sectional side view showing details of the shutter portion at the entrance of the card reader, FIG.
Figure (B) is a sensor detection timing chart when a card is inserted, Figure 31 is a block diagram showing an example of the circuit configuration of the card 7 node control device, Figure 32 is a block diagram showing the card reader interface circuit, Figure 33 34 is a timing chart showing the data reading and writing timing of the card reader, FIG. 34 is a perspective view showing a configuration example of a card issuing machine used in the gaming system according to the present invention, and FIG. 35 is a diagram showing the front panel of the issuing machine opened. Figure 36 is a perspective view of the card issuing device installed in the issuing machine, Figure 37 is a schematic configuration diagram of the card issuing device, and Figure 38 is a perspective view showing the card issuing device.
FIG. 39 is a perspective view showing the configuration of a card ejecting device constituting the card issuing device, FIG. 39 is a perspective view showing the configuration of the card ejecting device also constituting the card issuing device, and FIG. 41 is a block diagram showing a configuration example of a unit control device of a card issuing machine; FIG. 42(A) is a perspective view showing a configuration example of a payment machine; FIG.
Figure (B) is a perspective view showing the top panel and front panel of the payment machine in an open state, Figure 43 is a perspective view showing an example of the configuration of the card payment device that constitutes the payment machine, and Figure 44 is a perspective view of the present embodiment. A perspective view of a pachinko parlor counter configured using a payment machine, Figures 45 (A) and (B)
46 is an explanatory diagram showing an example of the configuration of a receipt issued by the payment machine, FIG. 46 is a block diagram showing an example of the configuration of the control device of the payment machine, and FIG. 47 is a block diagram showing an example of the configuration of the unit control device of the payment machine. , Fig. 48 is a perspective view showing an example of the overall configuration of the management device;
The figure is a block diagram showing an example of the system configuration of the management device itself. FIG. 50 shows an example of the configuration of the console of the management device. (A) is a plan view, (B) is a rear view, and FIG. A memory map showing an example of the structure of files in the device. FIG. 52 is an explanatory diagram showing the state transition of cards in the gaming system of the present invention. FIG. 53(A) is a block diagram showing an example of the configuration of the transmission system in the gaming system of the present invention; FIG. FIG. 53(C) is a block diagram showing a method of connecting a transmission system when the transmission line is configured with a coaxial cable. FIG. 54(A) is a block diagram showing a configuration example of a NAU (network adapter unit) that controls data transfer on a network. Figure 54 ('B) is a perspective view showing the external appearance of NAU, Figure 55
Figures (A) and (B) are management devices on a high-rise network.
A configuration diagram showing the packet structure between NAUs and between the management device and the unit, FIG.
Block diagrams showing the packet structure between AUs and between the management device and the unit, FIGS.
B) is ``Line test ``Packet and its response'' A C
K ``Packet configuration diagram. Figure 57 (A) and (B) are the configuration diagrams of the ``unit table request'' packet and its response packet. Figure 58 (A),
(B) is a configuration diagram of an "initial value setting" packet and its response packet; FIGS. Figures (A) and (B) are configuration diagrams of the ``packet'' for various commands and its response ``ACK'' packet, and Figure 61 (
A), (B), and (C) are "card-in" packet and its response "A CK" packet and negative response" N A
K ``packet configuration diagram. Figure 62 is a configuration diagram of a ``periodic data transmission'' packet from a pachinko machine to NAU. The configuration diagram of the response packet on the recovery data, Figures 64 (A), (B), and (C) are the "Purchase Cart" packet and its response "A CK" packet between the issuer and NAU on the low-layer network. Negative response” N
A K” packet configuration diagram, Figure 65 shows the N packet from the issuing machine.
A configuration diagram of a “periodic data transmission” packet to the AU; FIGS. 66 (A) and (B) are configuration diagrams of a “unit recovery data” packet and its response “A CK” packet to the issuer on the low-layer network; Figure 67 (A)
, (B) and (C) are block diagrams of the "card payment" packet and its response "ACK" and negative response "NAK" packet sent to the payment machine on the low-layer network. ), (C) is a diagram of the configuration of the Packard payment completion packet, its response "ACK" and negative response "NAK" packet, and Figure 69 is the configuration of the Packard payment machine's regular data transmission to NAU packet. Figures 70 (A) and 70 (B) are configuration diagrams of the "unit recovery data" packet and its response A CK packet sent to the payment machine, and Figure 71 is the data transmission control procedure in the data transmission controller of the NAU. FIG. 72 is a flowchart showing the control procedure for token bus abnormality detection by timer interrupt in NAU, FIG. 73 is a flowchart showing the procedure for initializing the entire system, and FIG. 74 is the unit table by the management device. A system flowchart showing the procedure from a request to setting an initial value for the unit. Figure 75 is a system flowchart showing the procedure for periodic data collection from each terminal by the management device. Figure 76 is a system flowchart showing the procedure for the management device to collect data from each terminal. Figure 77 is a system flowchart showing the processing procedure for a command, and Figure 77 is a system flowchart showing the processing procedure when a banknote is inserted into the card issuing machine and the purchase switch is turned on. A system flowchart showing the processing procedure when a card is inserted. Fig. 79 is a system flowchart showing the processing procedure when the interrupt switch of the pachinko machine is turned on during gaming. Fig. 80 shows the pachinko machine during an interruption. Figure 81 is a system flowchart showing the processing procedure when a card is inserted into the pachinko machine, Figure 82 is a system flowchart showing the processing procedure when the game end switch of the pachinko machine is turned on during a game, Figure 83 is a system flowchart showing the processing procedure when the number of balls held and the amount of money are both zero, Figure 83 is a system flowchart showing the processing procedure when a stop occurs during the game, and Figure 84 is the payment machine Fig. 85 is a system flowchart showing the processing procedure when a card is inserted into the machine, Fig. 85 is a system flowchart showing the processing procedure to end the interruption when the suspended card is settled at the M machine, and Fig. 86 is the console of the management device. Figure 87 is a system flowchart showing the processing procedure when a command to cancel pachinko is received from the console of the management device, Figure 88 is a system flowchart showing the processing procedure when a forced termination command is received from the console of the management device FIG. 89 is a system flowchart showing the processing procedure when a forced termination command is entered from the console of the issuing machine or the payment machine; FIG. The figure is a system flowchart showing the detection processing procedure when a unit goes down. Figure 91 is a system flowchart showing the unit recovery processing procedure in which the management device restores the data of the terminal when the down unit recovers, and Figure 92 shows the case where it is detected that the NAU is down and then the NAU recovers. Figure 93 is a system flowchart showing the data recovery processing procedure for each terminal, Figure 93 is a system flowchart showing the system termination processing procedure from the management device's closing command to each terminal, and Figure 94 is the processing when a power outage is detected. System flowchart showing the procedure, Figure 95 is a system flowchart showing the procedure of system startup processing after power outage recovery, No. 9611il (A
) to (D) are flowcharts showing the initialization procedure of the central processing unit and local processing unit in the management device; FIG. 97 is a flowchart showing the processing procedure when the built-in switch on the back of the console is turned on in the management device; FIG. 98 99 is a flowchart showing the processing procedure when the setting update switch on the top surface of the console is turned on in the management device; FIG. 99 is a flowchart showing the processing procedure for periodic data request by timer interrupt. FIG. 100 is a flowchart showing the procedure for receiving the scheduled data as a response, FIG. 101 is a flowchart showing the processing procedure when the management device receives the "Card Purchase" packet, and FIG. FIG. 103 is a flowchart showing the processing procedure when the management device receives the "suspension card-in" packet. FIG. 104 is a flowchart showing the processing procedure when the management device receives the "suspension switch" packet. 10 is a flowchart showing a processing procedure when receiving a message. FIG. 105 is a flowchart showing the processing procedure when the management device receives the "termination switch" packet, FIG. 106 is a flowchart showing the processing procedure when the management device receives the "return to zero" packet, and FIG. 107 108 is a flowchart showing the processing procedure when the management device receives a "cancellation" packet, and FIG. 108 is a flowchart showing the processing procedure when the management device receives a "card payment" packet. A flowchart showing the processing procedure when the termination release switch on the top surface of the console is turned on. Figures 110, 111, and 112 show the processing procedure when the forced termination switch on the top surface of the console is turned on in the management device. Flowcharts, Figures 113, 1↓4, and 1/5 are flowcharts showing the processing procedure when the forced termination release switch on the top of the console is turned on in the management device, and Figure 116 is the procedure when a power outage occurs FIG. 117 is a flowchart showing the procedure for power outage processing in the management device. FIG. 117 is a flowchart showing the procedure for network error recovery processing in the management device. 118(B) is a flowchart showing specific steps of the token bus recovery process in the process flow of FIG. 117; FIG. 119 is a hot code recovery process in the process flow of FIG. 117 FIG. 120 is a flowchart showing the specific steps of the unit recovery process in the process flow of FIG. 117. FIG. 121 is the process when the closing switch on the top of the console is turned on in the management device. A flowchart showing the procedure. Fig. 122 is a flowchart showing the processing procedure when the card recovery switch on the top of the console is turned on in the management device. Fig. 123 is a flowchart showing the processing procedure when the test card issuing switch on the back of the console is turned on in the management device. Flowchart showing the processing procedure. Fig. 124 is a flowchart showing the procedure for interrupt display processing of sales statistical data by timer interrupt. Fig. 125 is a flowchart showing the procedure for displaying data of the stop table. Flowchart showing the procedure for data display processing. Fig. 127 is a flowchart showing the procedure for data display processing for all machines. Fig. 128 is a flowchart showing the procedure for displaying data in the red section. Fig. 129 is a flowchart showing the procedure for displaying data in the black section. Flowchart showing processing steps. Fig. 130 is a flowchart showing the procedure of data display processing of the issuing machine, Fig. 131 is a flowchart showing the procedure of data display processing of the payment machine, Fig. 132 is a flowchart showing the procedure of all business data display processing, Fig. 133 134 is a flowchart showing the procedure for displaying data of a specific card, FIG. 134 is a flowchart showing the procedure for displaying card total data, FIG. 135 is a flowchart showing the procedure for displaying all card details data, and FIG. 136 is a suspended card. Flowchart 5 showing the procedure of data display processing of FIG. 137 is a flowchart showing the procedure of card number generation in the management device. FIG. 138 is a display screen configuration diagram showing an example of the configuration of an initial screen displayed on a CRT display device in the management device; FIG. 139 is a display screen showing a configuration example of an abnormal terminal display screen displayed on a CRT display device in the management device Screen configuration diagram; Figure 140 is a display screen configuration diagram showing a configuration example of a store opening request screen displayed on a CRT display device in the management device; Figures 141, 142, and 143 are CRT display devices in the management device; 144 is a display screen configuration diagram showing an example of the configuration of the initial value setting screen displayed on the CRT display device in the management device; FIG. 146 is a display screen configuration diagram showing a configuration example of a stop mode setting screen displayed on a CRT display device in the management device, and FIG. 146 is a display screen showing a configuration example of a date and time setting screen displayed on a CRT display device in the management device. Diagram. FIG. 147 is a display screen configuration diagram showing an example of the configuration of a normal display screen during business hours displayed on a CRT display device in the management device, and FIG. 148 is a configuration of a cancellation cancellation screen displayed on a CRT display device in the management device FIG. 149 is a display screen configuration diagram showing an example of the configuration of a pachinko machine forced termination screen displayed on a CRT display device in the management device; FIG. FIG. 3 is a display screen configuration diagram showing an example of the configuration of a pachinko machine forced termination cancellation screen. Fig. 151 is a display screen configuration diagram showing an example of the configuration of a issuing machine forced termination cancellation screen displayed on a CRT display device in the management device, and Fig. 152 is a payment machine forced termination cancellation screen displayed on a CRT display device in the management device. 153 is a display screen configuration diagram showing an example of the configuration of a system termination screen displayed on a CRT display device in the management device; FIG. 154 is a display screen configuration diagram showing a configuration example of a system end screen displayed on a CRT display device in the management device FIG. 155 is a display screen configuration diagram showing an example of the configuration of a card restoration screen displayed on a CRT display device in the management device; FIG. 157 is a display screen configuration diagram showing a configuration example of a stopping platform display screen displayed on a display device; FIG. Figure 158 is a display screen configuration diagram showing an example of the configuration of an all-machine data display screen displayed on a CRT display device in the management device, and Figure 159 is a configuration example of a red-machine data display screen displayed on a CRT display device in the management device. 160 is a display screen configuration diagram showing an example of the issuing machine data display screen displayed on the CRT display device in the management device, and FIG. 161 is a display screen configuration diagram showing an example of the issuing machine data display screen displayed on the CRT display device in the management device. FIG. 3 is a display screen configuration diagram showing an example of the configuration of a payment machine data display screen. FIG. 162 is a display screen configuration diagram showing an example of the configuration of a sales data display screen displayed on a CRT display device in the management device; FIG. 163 is a configuration example of a specific card data display screen displayed on a CRT display device in the management device 164 is a display screen configuration diagram showing an example of the configuration of a card details data display screen displayed on a CRT display device in the management device; FIG. 166, 167, 168, and 69 are flowcharts illustrating packet transmission/reception control procedures in NAU; FIG. 170 (A) ~(C) shows the transition of the operating state of the pachinko machine, where (A) is the normal operation mode, and (
B) is a state S transition diagram in online test mode, and (C) is a state S transition diagram in offline test mode. Figures 171 to 178 show the transmission/reception and processing procedures between each controller in the control unit of a pachinko machine. Figure 171 is a flowchart when initialization and opening packets are received, and Figure 172 is a flowchart for receiving a card to a card reader. Flowchart at the time of insertion, Figure 173 is the flowchart when the interruption switch is turned on, Figure 174 is the flowchart when the settlement switch is turned on, Figure 175 is the flowchart when the return to zero state occurs, Figure 176 177 is a flowchart when a termination state occurs, and FIG. 177 is a flowchart when a "forced termination" packet is received. FIG. 178 is a flowchart for unit recovery after power outage recovery. 179 to 192 show the task processing flow of the unit controller, and FIG. 179 is a flowchart showing the procedure of timer interrupt processing. FIG. 180 is a flowchart showing the procedure of serial interrupt processing; FIGS. 181 (A) and (B) are flowcharts showing specific steps of sensor, switch detection processing, and switch invalidation processing in the interrupt processing flow of FIG. 179; Step 82@ is a flowchart showing the procedure of the initialization task, which is one of the main tasks of the unit controller. Fig. 183 is a flowchart showing the procedure of the packet reception task. Fig. 184 (A) shows the procedure during the packet reception task. 184(B) is a flowchart showing the specific procedure for receiving the "Initial value setting" packet. FIG. 184(C) is a flowchart showing the specific procedure for receiving the "Park store opening code" packet. FIG. 184 (D) is a flowchart showing the specific procedure of receiving a "forced termination request" packet, and FIG. 184 (E) is a flowchart showing the specific procedure of receiving a "forced termination request" packet. FIG. 184 (F) is a flowchart showing the specific procedure of the "stop cancellation" packet reception process. FIG. 184 (G) is a flowchart showing the specific procedure of the "suspension end" packet reception process. , FIG. 184(H) is a flowchart showing the specific procedure of the "unit recovery data" packet reception process. FIG. 184 (I) is a flowchart showing the specific procedure of "restart" packet reception processing, and FIG.
184(K) is a flowchart showing the specific procedure for receiving the "K" packet. FIG. 184(K) is a flowchart showing the specific procedure for receiving the "interrupt switch ACK" packet. FIG. 184(L) is for receiving the "end switch ACK" packet. FIG. 184 (M) is a flowchart showing the specific steps of the “return ACK” packet reception process; FIG. 184 (N) is the specific flow chart of the “stop ACK” packet reception process. 185 is a flowchart showing the procedure of the reader I11 control task, which is one of the main tasks of the unit controller, and FIG. FIG. 186 (B) is a flowchart showing the specific steps of the process, and FIG.
FIG. 6(C) is a flowchart showing a specific procedure for receiving the "status" function during the reader control task, and FIG. 186(D) is a flowchart showing the specific procedure for receiving the "retransmission request" function during the reader control task. FIG. 186(E) is a flowchart showing a specific procedure for receiving a "normal end" function during the reader control task. FIG. 186(F) is a flowchart showing the specific procedure for receiving the "abnormal end" function during the reader control task, and FIG. 186(H) is a flowchart showing the specific steps of the "self-ejection" function reception process in the reader control task; FIG. 186(I) is the reader control task Fig. 187 is a flowchart showing the procedure of the packet sending task, which is one of the main tasks of the unit controller, and Fig. 188 is a flowchart showing the procedure of the packet sending task, which is one of the main tasks of the unit controller. 189 is a flowchart showing the procedure of the control task, FIG. 189 is a flowchart showing the procedure of the pitch count calculation task, which is one of the main tasks of the unit controller, and FIG. 190 is a flowchart showing the procedure of the switch detection task, which is one of the main tasks of the unit controller. FIG. 191(a) is a flowchart showing the specific procedure of the abort process during the switch detection task in FIG. 190; FIG. 191(c) is a flowchart showing the specific steps of the purchase switch process during the switch detection task of FIG. 190; FIG. 191(d) is the switch of FIG. 190. 191(e) is a flowchart showing the specific procedure of the end switch processing during the detection task; FIG. 191(f) is a flowchart showing the specific procedure of the test switch processing during the switch detection task of FIG. 190; FIG. 190 is a flowchart showing the specific procedure of the test mode termination process during the end switch processing in FIG. 192 is a flowchart showing the procedure of the sound control task which is one of the main tasks of the unit controller. 194 is a flowchart showing the procedure of a timer control task, which is one of the main tasks of the unit controller; FIG. 194 is a flowchart showing the procedure of a lamp display control task, which is one of the main tasks of the unit controller. FIG. 195 is an input/output timing chart in the unit control device. 100...Pachinko machine, 110...Operation panel, 113...Purchase switch, 114...Interrupt switch, 115...End switch, 130...
Ball circulation device, 160...control unit, 180...
... Unit control device, 188 ... Card reader control device, 195 ... Pachinko machine control device, 190.
...Unit controller, 200...Cart issuing machine, 700...Card issuing device, 710...
Card ejecting device, 740...Card reversing device, 75
0...Printing device, 770...Card extraction device,
300...Payment machine, 400...Management device, 55
0...Unit memory, 551...Data transmission controller, 553...Network controller, 800...Card reader, 802...Card insertion/ejection opening, 807...Transportation motor , 80'9...
・Shutter solenoid, 82o...Punch device, 82
1...Magnetic head.

Claims (1)

【特許請求の範囲】[Claims] (1)複数の遊技機と管理装置とを伝送路で接続し、金
額もしくは玉数と実質的に等価な有価データを、カード
に対して与えられた識別コード毎に管理装置において管
理し、遊技機に挿入されたカードより読み出した識別コ
ードに基づいて上記管理装置から得られた有価データの
範囲内で遊技を可能ならしめるようにされたカード式遊
技システムにおいて、上記遊技機にはカードを排出して
遊技制御を停止し同一カードの投入によってのみ再遊技
可能な状態に移行させるためのスイッチを設けたことを
特徴とするカード式遊技システム。
(1) A plurality of gaming machines and a management device are connected via a transmission line, and valuable data substantially equivalent to the amount of money or the number of balls is managed in the management device for each identification code given to the card, and gaming In a card-type gaming system that allows games to be played within the range of valuable data obtained from the management device based on an identification code read from a card inserted into the machine, the card is ejected into the gaming machine. A card-type game system characterized by being provided with a switch for stopping game control and shifting to a state where the game can be played again only by inserting the same card.
JP2331624A 1990-11-29 1990-11-29 Storage media type game equipment Expired - Fee Related JP2663210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2331624A JP2663210B2 (en) 1990-11-29 1990-11-29 Storage media type game equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2331624A JP2663210B2 (en) 1990-11-29 1990-11-29 Storage media type game equipment

Publications (2)

Publication Number Publication Date
JPH03242182A true JPH03242182A (en) 1991-10-29
JP2663210B2 JP2663210B2 (en) 1997-10-15

Family

ID=18245738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2331624A Expired - Fee Related JP2663210B2 (en) 1990-11-29 1990-11-29 Storage media type game equipment

Country Status (1)

Country Link
JP (1) JP2663210B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5379424B2 (en) 2008-08-07 2013-12-25 出光興産株式会社 Polycarbonate resin composition for sliding, and molded product using the resin composition

Also Published As

Publication number Publication date
JP2663210B2 (en) 1997-10-15

Similar Documents

Publication Publication Date Title
JPH03247377A (en) Control system for game machine
JPH03242182A (en) Card type game system
JPH0458975A (en) Card type pinball game machine
JPH0211187A (en) Game system
JPH03272790A (en) Playing machine
JPH03236875A (en) Playing system using card
JPH03242183A (en) Card type game system
JPH03242179A (en) Card type game system
JPH0473080A (en) Apparatus for managing card type game system
JPH03242178A (en) Card type game system
JPH03222987A (en) Game card dispenser
JPH03242181A (en) Data managing system for card type game system
JP2688720B2 (en) Amusement equipment
JP2724556B2 (en) Game storage medium issuing device
JPH03236876A (en) Playing system using card
JPH03242176A (en) Managing device for card type game system
JPH03242170A (en) Storage medium account-settling system in game system
JPH03242180A (en) Data managing system for card type game system
JPH03242175A (en) Managing device for card type game system
JP2724557B2 (en) Game storage medium issuing device
JPH03222986A (en) Memory media dispenser for game parlor
JPH03242174A (en) Managing system for card type game system
JPH03247378A (en) Game machine
JPH03242172A (en) Storage medium account-settling system in game system
JPH03222981A (en) Memory media adjusting machine for game parlor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees