JPH0451736A - Terminal equipment diagnostic method - Google Patents

Terminal equipment diagnostic method

Info

Publication number
JPH0451736A
JPH0451736A JP2161535A JP16153590A JPH0451736A JP H0451736 A JPH0451736 A JP H0451736A JP 2161535 A JP2161535 A JP 2161535A JP 16153590 A JP16153590 A JP 16153590A JP H0451736 A JPH0451736 A JP H0451736A
Authority
JP
Japan
Prior art keywords
terminal
control device
inquiry signal
terminal device
diagnosis
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.)
Pending
Application number
JP2161535A
Other languages
Japanese (ja)
Inventor
Toshio Sato
敏夫 佐藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2161535A priority Critical patent/JPH0451736A/en
Publication of JPH0451736A publication Critical patent/JPH0451736A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simply discriminate mis-setting of an equipment number of a terminal equipment by grasping number of terminal equipments connecting to a loop by a count of an inquiry signal so as to check the terminal equipment number. CONSTITUTION:A controller 11 connects to a host computer 12 and lots of terminal equipments 14 via a loop 13. Upon the receipt of an inquiry signal from the controller 11, a terminal equipment #1 replies the controller 11 and sets the count to '1', which is sent to the terminal equipment. After the initial diagnosis is finished, the mode of the inquiry signal ENQ is set to '0' to make general diagnosis. Thus, the setting of terminal equipment number in duplicate is simply detected and the reliability is improved.

Description

【発明の詳細な説明】 [概要] 制御装置にループを介して接続される多数の端末装置に
おける端末診断方法に関し、 端末装置の機番の設定ミスを簡単に判別することができ
る端末判断方法を提供することを目的とし、 制御装置はゲートコントロール信号によりループ内の全
端末装置に対して一般診断か初期診断かを通知し、初期
診断においては制御装置は問合せ信号のカウンタ値を初
期値にして端末装置に出力し、端末装置は問合せ信号を
受信すると自己の端末機番を制御装置に通知するととも
に問合せ信号のカウンタ値を1つ増加して次の端末装置
に送信し、一般診断においては端末装置は問合せに信号
に対して自己の端末機番のみを制御装置に通知するよう
に構成する。
[Detailed Description of the Invention] [Summary] Regarding a terminal diagnosis method for a large number of terminal devices connected to a control device via a loop, a terminal judgment method is provided that can easily identify errors in setting the terminal device number. The control device uses a gate control signal to notify all terminal devices in the loop whether it is a general diagnosis or an initial diagnosis, and in the initial diagnosis, the control device sets the counter value of the inquiry signal to the initial value. When the terminal device receives the inquiry signal, it notifies the control device of its own terminal number and also increments the counter value of the inquiry signal by one and sends it to the next terminal device. The device is configured to notify only its own terminal number to the control device in response to an inquiry signal.

[産業上の利用分野] 本発明は、制御装置にループを介して接続される多数の
端末装置における端末診断方法に関する。
[Industrial Application Field] The present invention relates to a terminal diagnosis method for a large number of terminal devices connected to a control device via a loop.

ループ内に多数の端末を接続する端末制御方式において
は、制御装置側より診断指令を出し、診断指令を受けた
端末は全て自己の機番を送出していた。制御側ではこの
機番とすでに登録しであるテーブルの内容を比較し、不
一致であれば端末障害としてオペレータに通知を行なっ
ていた。
In a terminal control system in which a large number of terminals are connected in a loop, a diagnostic command is issued from the control device, and all terminals that receive the diagnostic command transmit their own machine numbers. On the control side, this machine number was compared with the contents of the already registered table, and if there was a discrepancy, the operator was notified of a terminal failure.

しかし、この機番の設定作業は端末に設けられた機番ス
イッチを人手により行なわれているため、端末台数が数
百台となると、非常に時間がかかり、また、設定間違い
、設定不良を発生する。特に、システムを新たに設置し
た直後や端末の入換、追加した場合には設定間違いが生
じる。
However, this process of setting the machine number is done manually by using the machine number switch installed on the terminal, so when the number of terminals is in the hundreds, it takes a lot of time, and it can also lead to incorrect or incorrect settings. do. In particular, setting errors occur immediately after a new system is installed, or when terminals are replaced or added.

したがって、機番の重複設定を簡単に判別することが必
要である。
Therefore, it is necessary to easily determine duplicate settings of machine numbers.

[従来の技術] 第5図は端末制御の系統図を示す。[Conventional technology] FIG. 5 shows a system diagram of terminal control.

第5図において、1は制御装置であり、制御装置1には
例えば5つのループ2が接続され、各ループ2には最多
で100台の端末装置!(例えば、発券機、払戻機など
)3がそれぞれ接続されている。制御装置1はホストコ
ンピュータ4に接続されている。
In FIG. 5, 1 is a control device, and to the control device 1, for example, five loops 2 are connected, and each loop 2 has a maximum of 100 terminal devices! (For example, a ticket issuing machine, a refund machine, etc.) 3 are connected to each other. Control device 1 is connected to host computer 4 .

次に、第6図に基づいて従来の端末診断方法について説
明する。
Next, a conventional terminal diagnosis method will be explained based on FIG.

第6図は制御装置1より端末装置3のうちの端末装置#
0に対してコントロールデータ(CD)を送信する場合
を示している。コントロールデータ(CD)の中には送
信すべき端末機番が格納されているため、端末装置#0
に該当する端末機番が設定してあれば、端末装置#0は
それを受信する。
FIG. 6 shows the terminal device # of the terminal devices 3 from the control device 1.
This shows a case where control data (CD) is transmitted to 0. Since the control data (CD) stores the terminal number to be transmitted, terminal device #0
If a corresponding terminal number is set, terminal device #0 receives it.

次に、制御装置1はゲートコントロール信号GC1を端
末装置#0.  #2.  #0に送信し、続いてリク
エスト信号RQAを端末装置#oに送る。
Next, the control device 1 sends the gate control signal GC1 to the terminal device #0. #2. #0, and then sends a request signal RQA to terminal device #o.

リクエスト信号RQAは応答信号ACKの送信要求であ
り、制御装置1は、図示のように、2台の端末装置#0
. #0より応答信号ACKを受信する。これにより制
御袋filはデータ長エラーを検出する。
The request signal RQA is a request to send a response signal ACK, and the control device 1 sends the two terminal devices #0 as shown in the figure.
.. Receives response signal ACK from #0. As a result, the control bag fil detects a data length error.

[発明が解決しようとする課題] しかしながら、このような従来の端末診断方法にあって
は、制御装置側においては、データ長エラーを検出する
が、端末装置は端末機番のみを制御装置に通知するよう
になっていて、ループに接続される端末装置台数は不明
であるため、このようなエラーの発生が、機番が重複し
て設定されていることによるものであるか判別すること
ができないという問題点があった。
[Problems to be Solved by the Invention] However, in such a conventional terminal diagnosis method, a data length error is detected on the control device side, but the terminal device notifies the control device only of the terminal machine number. Since the number of terminal devices connected to the loop is unknown, it is not possible to determine whether this type of error is due to duplicate device numbers being set. There was a problem.

本発明は、このような従来の問題点に鑑みてなされたも
のであって、端末装置の機番の設定ミスを簡単に判別す
ることができる端末診断方法を提供することを目的とし
ている。
The present invention has been made in view of such conventional problems, and an object of the present invention is to provide a terminal diagnosis method that can easily determine whether there is a setting error in the terminal device number.

[課題を解決するための手段] 第1図は本発明の原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

第1図において、aは制御装置はゲートコントロール信
号によりループ内の全端末装置に対して一般診断か初期
診断かを通知するステップ、bは初期診断においては制
御装置は問合せ信号のカウンタ値を初期値にして端末装
置に出力するステップ、Cは端末装置は問合せ信号を受
信すると自己の端末機番を制御装置に通知するとともに
問合せ信号のカウンタ値を1つ増加して次の端末装置に
送信するステップ、dは一般診断においては端末装置は
問合せに信号に対して自己の端末機番のみを制御装置に
通知するステップである。
In Fig. 1, a indicates a step in which the control device notifies all terminal devices in the loop of general diagnosis or initial diagnosis using a gate control signal, and b indicates a step in which the control device initializes the counter value of the inquiry signal in the initial diagnosis. C is a step of converting the inquiry signal into a value and outputting it to the terminal device. When the terminal device receives the inquiry signal, it notifies the control device of its own terminal number, and also increments the counter value of the inquiry signal by one and transmits it to the next terminal device. Step d is a step in which, in general diagnosis, the terminal device notifies only its own terminal device number to the control device in response to an inquiry signal.

[作用] ゲートコントロール信号により制御装置は端末装置に対
して一般診断か初期診断かを通知し、初期診断において
は、端末装置は制御装置がらの問合せ信号のカウンタ値
を1つずつ増加するとともに、自己の端末機番を制御装
置に送信する。
[Operation] Using the gate control signal, the control device notifies the terminal device whether it is a general diagnosis or an initial diagnosis, and in the initial diagnosis, the terminal device increments the counter value of the inquiry signal from the control device one by one, and Sends own terminal number to the control device.

制御袋′血では問合せ信号のカウンタ値によりループに
接続されている端末装置の台数を把握し、端末機番をチ
エツクする。
The control unit determines the number of terminal devices connected to the loop based on the counter value of the inquiry signal, and checks the terminal number.

したがって、システムを新たに設置した場合や、端末装
置を入換、追加した場合に、端末装置が重複して接続さ
れているか簡単に判別することができる。
Therefore, when a system is newly installed, or when terminal devices are replaced or added, it can be easily determined whether the terminal devices are connected redundantly.

このように、機番の設定ミスを簡単に診断することがで
き、システムの信頼性を向上させることができる。
In this way, errors in setting the machine number can be easily diagnosed and the reliability of the system can be improved.

[実施例] 以下、本発明の実施例を図面に基づいて説明する。[Example] Embodiments of the present invention will be described below based on the drawings.

第2図〜第4図は本発明の一実施例を示す図である。FIGS. 2 to 4 are diagrams showing an embodiment of the present invention.

第3図において、11はホストコンピュータ12に接続
された制御装置であり、制御装置11にはループ13を
介して多数の端末装置14が接続されている。
In FIG. 3, 11 is a control device connected to a host computer 12, and a large number of terminal devices 14 are connected to the control device 11 via a loop 13.

端末装置14は表示画面において入力された投票データ
、オツズ、払戻金などの情報の表示の制御を行う表示制
御部15、ファン(加入者)の会員カードであるICカ
ードまたは磁気カードを読取り、会員番号をセンターに
送り、また、ファンが投票なり照会を行なうたびにカー
ドにより照合を行ない、サービスが終了するとカードの
返却を行なうためのカードリーダ制御部16、カード入
力後の暗証番号、メニュー選択、レース番号、馬/組番
、金額などの入力を行なうためのKB制御部17、ルー
プ13上のシリアルデータの送受信を行うための回線制
御部18、初期診断、リモートiPL制御のプログラム
が格納されているROM19、端末プログラムを格納し
、データバッファに使用するRAM20およびMPtJ
21を有する。
The terminal device 14 includes a display control unit 15 that controls the display of information such as voting data, odds, and refunds entered on the display screen, reads the IC card or magnetic card that is the membership card of the fan (subscriber), and displays the membership number. The card reader control unit 16 sends the information to the center, checks the card each time a fan makes a vote or makes an inquiry, and returns the card when the service ends; the PIN number after entering the card, menu selection, race A KB control unit 17 for inputting numbers, horse/group numbers, amounts, etc., a line control unit 18 for transmitting and receiving serial data on the loop 13, and programs for initial diagnosis and remote iPL control are stored. ROM19, RAM20 that stores terminal programs and is used as a data buffer, and MPtJ
It has 21.

制御装置111は、第4図に示され、信頼性向上のため
に二重化されている。
The control device 111 is shown in FIG. 4 and is duplicated to improve reliability.

制御部[11は、運用状態の表示を行なう表示部22,
23、表示部22.23の制御を行なうアダプタ24.
25、対向接続により、他系の状態監視を行ない、異常
時には切換を行なうためのアダプタ26.27、ループ
制御を行なうアダプタ28.29、二重化されたものの
いずれかに接続するための切換部30、ディスク31.
32やフロッピィ33.34を接続するためのアダプタ
35.36、ホストコンピュータ12と接続するための
アダプタ37.38、メモリ39.40およびCPU4
1,42を有している。
The control unit [11 includes a display unit 22 for displaying the operating status,
23, an adapter 24 for controlling the display section 22.23.
25. Adapter 26, 27 for monitoring the status of other systems and switching in case of abnormality by opposite connection; adapter 28, 29 for loop control; switching unit 30 for connecting to any of the duplexed systems; Disc 31.
Adapter 35, 36 for connecting 32, floppy disk 33, 34, adapter 37, 38 for connecting to host computer 12, memory 39, 40 and CPU 4
1.42.

次に、第2図に基づいて端末診断方法を説明する。Next, a terminal diagnosis method will be explained based on FIG.

第2図において、まず、制御装置11はゲートコントロ
ール信号GC3によりループ13内の端末装置14(こ
こでは端末装置#2. #O,#1の3台とする)に対
して、一般診断が初期診断かを通知する。
In FIG. 2, first, the control device 11 uses the gate control signal GC3 to initialize the general diagnosis for the terminal devices 14 (here, three terminal devices #2, #O, and #1) in the loop 13. Notify me of the diagnosis.

ゲートコントロール信号GC3のモードが0”のとき一
般診断であり、モードが“1°のとき初期診断である。
When the mode of the gate control signal GC3 is 0, it is a general diagnosis, and when the mode is 1°, it is an initial diagnosis.

ここでは初期診断モードで端末装置#2.#0.#1に
対して診断を開始するものとする。
Here, terminal device #2 is set in initial diagnosis mode. #0. Let us start diagnosis for #1.

制御装置11は端末装置#1よりゲートコントロール信
号GC3を受信すると、次に、問合せ信号ENQを端末
装置#2に送る。このとき、問合せ信号ENQのカウン
タ値は“0″、モードは“l”である。
Upon receiving the gate control signal GC3 from the terminal device #1, the control device 11 then sends an inquiry signal ENQ to the terminal device #2. At this time, the counter value of the inquiry signal ENQ is "0" and the mode is "1".

端末装置#1は制御装置11より問合せ信号ENQを受
信すると、自己の端末機番DD2を制御部fillに応
答するとともに、問合せ信号ENQのカウンタ値を”■
”にして端末装置#0へ送る。
When the terminal device #1 receives the inquiry signal ENQ from the control device 11, it responds with its own terminal number DD2 to the control unit fill, and sets the counter value of the inquiry signal ENQ to "■".
” and send it to terminal device #0.

端末装置#0は、問合せ信号ENQを受信すると自己の
端末機番DDOを制御装置!11に応答するとともに、
問合せ信号ENQのカウンタ値を“2”にして端末装置
#1に送る。
When terminal device #0 receives the inquiry signal ENQ, it transmits its own terminal number DDO to the control device! In response to 11,
The counter value of the inquiry signal ENQ is set to "2" and sent to the terminal device #1.

端末装置#1は問合せ信号ENQを受信すると、自己の
端末機番DDIを制御装置111に応答するとともに、
問合せ信号ENQのカウンタ値を“3”にして制御装置
11に送る。
When the terminal device #1 receives the inquiry signal ENQ, it responds with its own terminal number DDI to the control device 111, and
The counter value of the inquiry signal ENQ is set to "3" and sent to the control device 11.

制御部ff1llは、端末装置#1がら問合せ信号EN
Qを受信すると、その問合せ信号ENQのカウンタ値は
丁度端末装置#2. #O,#1の端末台数になってい
る。
The control unit ff1ll receives an inquiry signal EN from the terminal device #1.
When terminal device #2.Q is received, the counter value of the inquiry signal ENQ is exactly equal to terminal device #2.Q. The number of terminals is #O and #1.

このように、端末台数に対応した端末機番DD2、 0
. 1が制御装置11に送られるので、制御装置11は
端末装置#2. #0. #1が重複して設置されてい
ないことを簡単に判別することができる。ここで、例え
ば端末装置#2が2台設置され、重複しているときは、
カウンタ値が3であるのに対して、端末機番はDD2と
DDOの2つしか通知されないので、機番の設定ミスが
あったことを検出することができる。
In this way, the terminal numbers DD2 and 0 correspond to the number of terminals.
.. 1 is sent to the control device 11, so the control device 11 receives the terminal device #2. #0. It can be easily determined that #1 is not installed twice. Here, for example, if two terminal devices #2 are installed and overlap,
Although the counter value is 3, only two terminal machine numbers, DD2 and DDO, are notified, so it is possible to detect that there has been a setting error in the machine number.

初期診断が終了したら、その後は問合せ信号ENQのモ
ードを“0”にして一般診断を行う。この場合には、端
末装置#2. #0.  #1は制御装置11に対して
端末機番DD2.DDO,DDIのみを応答する。この
場合には、端末機番の送信のみとなるので、診断に要す
る時間を短くすることができる。
After the initial diagnosis is completed, the mode of the inquiry signal ENQ is set to "0" and a general diagnosis is performed. In this case, terminal device #2. #0. #1 sends the terminal number DD2. to the control device 11. Only DDO and DDI are responded. In this case, since only the terminal number is transmitted, the time required for diagnosis can be shortened.

[発明の効果] 以上説明してきたように、本発明によれば、初期診断に
おいて、端末装置側で端末機番を応答するとともに、問
合せ信号のカウンタ値をプラス1して制御装置側に送信
するようにしたため、端末機番の重複設定を簡単に検出
することができ、信頼性を向上させることができる。
[Effects of the Invention] As explained above, according to the present invention, in the initial diagnosis, the terminal device side responds with the terminal machine number, and the counter value of the inquiry signal is incremented by 1 and transmitted to the control device side. As a result, duplicate settings of terminal numbers can be easily detected and reliability can be improved.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の原理説明図、 第2図は本発明の一実施例のシーケンス図、第3図は端
末装置を示す図、 第4図は制御装置を示す図、 第5図は端末制御の系統図、 第6図は従来例の説明図である。 図中、 11・・・制御装置、 12・・・ホストコンピュータ、 13・・・ループ、 14・・・端末装置、 15・・・表示制御部、 16・・・カードリーグ制御部、 17・・・KB制御部、 18・・・回線制御部、 19・・・ROM。 20・・・RAM。 21・・・MPU、。 22.23・・・表示部、 24〜29.35〜58・・・アダプタ、30・・・切
換部、 31.32・・・ディスク、 33.34・・・フロッピィ、 39.40・・・メモリ、 41.42・・・CPU0
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a sequence diagram of an embodiment of the present invention, Fig. 3 is a diagram showing a terminal device, Fig. 4 is a diagram showing a control device, and Fig. 5 is a terminal device. Control system diagram FIG. 6 is an explanatory diagram of a conventional example. In the figure, 11...Control device, 12...Host computer, 13...Loop, 14...Terminal device, 15...Display control unit, 16...Card league control unit, 17...・KB control unit, 18... Line control unit, 19... ROM. 20...RAM. 21...MPU. 22.23...Display unit, 24-29.35-58...Adapter, 30...Switching unit, 31.32...Disk, 33.34...Floppy, 39.40... Memory, 41.42...CPU0

Claims (1)

【特許請求の範囲】[Claims] 制御装置はゲートコントロール信号によりループ内の全
端末装置に対して一般診断か初期診断かを通知し(a)
、初期診断においては制御装置は問合せ信号のカウンタ
値を初期値にして端末装置に出力し(b)、端末装置は
問合せ信号を受信すると自己の端末機番を制御装置に通
知するとともに問合せ信号のカウンタ値を1つ増加して
次の端末装置に送信し(c)、一般診断においては端末
装置は問合せに信号に対して自己の端末機番のみを制御
装置に通知する(d)ようにすることを特徴とする端末
診断方法。
The control device notifies all terminal devices in the loop whether it is a general diagnosis or an initial diagnosis using a gate control signal (a)
In the initial diagnosis, the control device sets the counter value of the inquiry signal to an initial value and outputs it to the terminal device (b), and when the terminal device receives the inquiry signal, it notifies the control device of its own terminal machine number and also outputs the counter value of the inquiry signal to the terminal device (b). Increment the counter value by one and send it to the next terminal device (c), and in general diagnosis, the terminal device notifies only its own terminal device number to the control device in response to an inquiry signal (d) A terminal diagnosis method characterized by:
JP2161535A 1990-06-20 1990-06-20 Terminal equipment diagnostic method Pending JPH0451736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2161535A JPH0451736A (en) 1990-06-20 1990-06-20 Terminal equipment diagnostic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2161535A JPH0451736A (en) 1990-06-20 1990-06-20 Terminal equipment diagnostic method

Publications (1)

Publication Number Publication Date
JPH0451736A true JPH0451736A (en) 1992-02-20

Family

ID=15736947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2161535A Pending JPH0451736A (en) 1990-06-20 1990-06-20 Terminal equipment diagnostic method

Country Status (1)

Country Link
JP (1) JPH0451736A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5691557A (en) * 1979-12-25 1981-07-24 Fujitsu Ltd Data highway system
JPS6010841A (en) * 1983-06-29 1985-01-21 Fujitsu Ltd Node address check system in data highway
JPS63102523A (en) * 1986-10-20 1988-05-07 Fujitsu Ltd Ring network communication equipment
JPS63303537A (en) * 1987-05-14 1988-12-12 ジーメンス・アクチエンゲゼルシヤフト Method of forming address table in ring type communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5691557A (en) * 1979-12-25 1981-07-24 Fujitsu Ltd Data highway system
JPS6010841A (en) * 1983-06-29 1985-01-21 Fujitsu Ltd Node address check system in data highway
JPS63102523A (en) * 1986-10-20 1988-05-07 Fujitsu Ltd Ring network communication equipment
JPS63303537A (en) * 1987-05-14 1988-12-12 ジーメンス・アクチエンゲゼルシヤフト Method of forming address table in ring type communication network

Similar Documents

Publication Publication Date Title
US4347563A (en) Industrial control system
US6356984B1 (en) Digital data processing system having a data bus and a control bus
US4729124A (en) Diagnostic system
JPWO2004039010A1 (en) Electronic equipment system
WO1992013295A1 (en) System for the remote monitoring of a reproduction apparatus
EP0033228A2 (en) Industrial control system
JP2994589B2 (en) Electronic wiring system by cyclic automatic communication
EP1999908B1 (en) Apparatus for detecting errors in a communication system
JPH0451736A (en) Terminal equipment diagnostic method
JP2519276B2 (en) Failure information collection processing method
JPH03162039A (en) On-line setup control system
JPS58200373A (en) Circuit diagnostic system of automatic transaction system
JPH10283225A (en) Information collection system
JPH0346035A (en) Monitoring test device
JPH0126215B2 (en)
JPH08314858A (en) Terminal control method and service processor
JPH03216039A (en) Communication system in plural terminal equipment
JP2003126082A (en) Data communications system and medical diagnostic apparatus using the same
KR100259859B1 (en) An apparatu sending charging data using a couple of lan, method thereof and collection method
JPH02201661A (en) Remote diagnosis system
JPS60245348A (en) Diagnosing method of transmission controlling system
JP2002064520A (en) Elevator control transmission system
JPH0196749A (en) Communication controlling device
JPH04205224A (en) Printing system
JPS63294148A (en) Transmission controller