JPS6238640A - Terminal equipment for data communication - Google Patents

Terminal equipment for data communication

Info

Publication number
JPS6238640A
JPS6238640A JP60177695A JP17769585A JPS6238640A JP S6238640 A JPS6238640 A JP S6238640A JP 60177695 A JP60177695 A JP 60177695A JP 17769585 A JP17769585 A JP 17769585A JP S6238640 A JPS6238640 A JP S6238640A
Authority
JP
Japan
Prior art keywords
communication speed
communication
data
setting
discriminated
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
JP60177695A
Other languages
Japanese (ja)
Inventor
Nobuo Minematsu
峯松 伸男
Hiroyuki Saito
斉藤 弘之
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP60177695A priority Critical patent/JPS6238640A/en
Publication of JPS6238640A publication Critical patent/JPS6238640A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To prevent setting error and to reduce installation man-hour of a terminal equipment by providing a setting means setting optionally plural predetermined communication speeds, a discrimination means discriminating the communication speed and a nonvolatile storage means storing the communication speed so as to set automatically the communication speed of the data communication terminal equipment CONSTITUTION:A processor 2 extracts a communication speed from a memory 5 at the initial setting after power is applied and a communication speed is set to a sample timing generating section 3. When a communication data informed from a S/P conversion section 1 is coincident with a transmission data sequence for polling, the set communication speed is discriminated to be a communication speed set by the primary station side, an infinite time is set to a time supervisory section 4 and the discriminated communication speed data is stored in the memory 5. The succeeding data communication is executed in the discriminated communication speed at the same time. An automatic communication speed discriminating function is acted at the new installation or replacement of the data communication terminal equipment in this way and the discriminated communication speed data is stored in the nonvolatile memory 5.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はポーリング/セレクテイング方式を用いたデー
タ通信方式におけるデータ通信端末装置に関し、特に1
次局が(制御局)が設定した通信速度を2次局が自動的
に判断して設定するデータ通信端末装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data communication terminal device in a data communication system using a polling/selecting system.
This invention relates to a data communication terminal device in which the secondary station automatically determines and sets the communication speed set by the secondary station (control station).

(従来の技術) データ通信方式としてポーリング/セレクテイング方式
は1ラインに接続された複数の端末装置を制御する方式
として広く使用されている。ポーリング/セレクテイン
グ方式には1次局と2次局がちシ、1次局が伝送制御の
主導権を持っている。
(Prior Art) As a data communication method, a polling/selecting method is widely used as a method for controlling a plurality of terminal devices connected to one line. The polling/selecting method has a primary station and a secondary station, and the primary station has the initiative in controlling transmission.

すなわち、1次局は一定の周期で2次局にポーリングを
出し、2次局の状態を常時監視している。
That is, the primary station issues polling to the secondary station at regular intervals and constantly monitors the status of the secondary station.

一方、1次局と2次局が正常にデータ伝送を行なうには
、制御手順、同期方式9通信速度が1次局と2次局で同
一でなければならない。このうち制御手順、同期方式は
システムで固定であり、通信速度はシステムのスループ
ット、回線使用料等により決定する為、同一システム内
においてもラインととに1あるいは1次局ごとに最適値
を設定するのが一般的である。例えば、モデムにより、
A支店とB支店をデータ通信するラインは1200B/
S、1次局と同一店舗内は構内回線ラインとして480
0B/Sとすると言った通信速度を取る。
On the other hand, in order for the primary station and the secondary station to perform data transmission normally, the control procedure and synchronization method 9 communication speed must be the same for the primary station and the secondary station. Among these, the control procedure and synchronization method are fixed for each system, and the communication speed is determined by system throughput, line usage fees, etc., so even within the same system, the optimum value is set for each line or for each primary station. It is common to do so. For example, with a modem,
The line for data communication between A branch and B branch is 1200B/
S, within the same store as the primary station, use 480 as an internal line.
Set the communication speed as 0B/S.

ここで、1次局、例えばターミナルコントローラは一般
的には各ラインごとに速度設定スイッチを持っておシ、
ラインごとにスイッチを操作すれば比較的容易に通信速
度の設定が可能である。
Here, the primary station, for example, the terminal controller, generally has a speed setting switch for each line.
Communication speed can be set relatively easily by operating a switch for each line.

一方、2次局、例えば金融システム、証券システム等各
種のオンライン用データ通信端末を持つシステムにおい
ては、端末装置の種類の多さ、ネットワークの多様化に
より、通信速度の設定は端末装置の種類により各種様々
であり、新規設置、故障による端末装置の交換1通信速
度変更等のたびに各々通信速度をラインに合せて設定す
るように構成されていた。
On the other hand, in systems with various online data communication terminals such as secondary stations, such as financial systems and securities systems, due to the large number of types of terminal devices and the diversification of networks, the communication speed setting depends on the type of terminal device. There are various types, and each communication speed is set to suit the line each time a new installation is performed, a terminal device is replaced due to a failure, and the communication speed is changed.

(発明が解決しようとする問題点) しかしながら、前記構成のデータ通信端末装置では通信
速度を個々に設定する際には次のような問題点があった
(Problems to be Solved by the Invention) However, the data communication terminal device having the above configuration has the following problems when setting communication speeds individually.

通信速度の設定者が必要である。これは通常メーカの保
守員あるいはオペレータが行なうが、各種端末装置ごと
に設定する方法の知識が必要なため、誤って設定される
可能性があった。また、端末装置によってはその使われ
方により、必らずしも通信速度の設定は簡単な操作では
できない。例えば、装置のカバーを取りはすし、制御基
板を取シはすし、基板内のスイッチにより通信速度を設
定する様な端末装置が多く、設定が大変であった。
A person is required to set the communication speed. This is normally done by the manufacturer's maintenance personnel or an operator, but since this requires knowledge of how to set each terminal device, there is a possibility that the settings may be made incorrectly. Furthermore, depending on the terminal device and how it is used, setting the communication speed may not necessarily be possible with a simple operation. For example, many terminal devices require removing the device cover, removing the control board, and setting the communication speed using a switch inside the board, making it difficult to set up.

本発明は以上述べた問題点を除去し、端末装置の新規設
置又は保守交換の際に、1次局で設定した通信速度を自
動的に判断して設定するデータ通信端末装置を提供する
ものである。
The present invention eliminates the above-mentioned problems and provides a data communication terminal device that automatically determines and sets the communication speed set at the primary station when the terminal device is newly installed or maintained or replaced. be.

(問題点を解決するための手段) 本発明は前記問題点を解決するために、ポーリング/セ
レクテイング方式により制御局との間でデータ通信を行
なうデータ通信端末装置において、(a)予め定められ
た複数の通信速度を任意に設定可能な設定手段と、(b
)前記設定手段で設定した通信速度により得られた入力
通信データと予め定められたコードとを比較して制御局
で設定した通信速度を判定する判定手段と、(C)前記
判定手段で判定した通信速度を格納する不揮発性の記憶
手段とから構成されるものである。
(Means for Solving the Problems) In order to solve the above problems, the present invention provides a data communication terminal device that performs data communication with a control station using a polling/selecting method. a setting means that can arbitrarily set a plurality of communication speeds;
) determining means for determining the communication speed set by the control station by comparing the input communication data obtained by the communication speed set by the setting means with a predetermined code; and (C) determining the communication speed set by the control station; and non-volatile storage means for storing the communication speed.

(作用) 本発明によれば以上のようにデータ通信端末装置を構成
したので、技術的手段は次のように働く。
(Function) According to the present invention, since the data communication terminal device is configured as described above, the technical means works as follows.

設定手段はシステムで予め定められた通信速度を任意に
設定するように働く。判定手段はこの設定した通信速度
で得られた制御局からの通信データが予め定められたコ
ード、例えばポーリング用の送信コードと比較すること
により、制御局で設定した通信速度かどうかを判定する
ように働く。即ち、判定手段は通信データと送信コード
とが一致するまで設定手段による通信速度の設定を繰返
し行なわせて、一致したとき(即ち、ポーリングが正し
く受信できたとき)、この判定した通信速度をメモリに
格納すると共に以後のデータ通信に使用する。このよう
に、装置の新規設置又は保守交換時には通信速度を自動
判定して設定することにより通信速度の設定を容易にす
ると共に、立上げ時には、記憶手段から通信速度データ
を読み出して設定することにより、自動判定処理する必
要もなくシ、装置を早く稼動させることができる。従っ
て、前記従来技術の問題点が解決できるのである。
The setting means operates to arbitrarily set a predetermined communication speed in the system. The determination means compares the communication data obtained from the control station at the set communication speed with a predetermined code, such as a polling transmission code, to determine whether the communication speed is the one set at the control station. to work. That is, the determining means repeatedly sets the communication speed by the setting means until the communication data and the transmission code match, and when they match (that is, when polling has been correctly received), the determined communication speed is stored in the memory. The data is stored in the file and used for subsequent data communication. In this way, the communication speed can be easily set by automatically determining and setting the communication speed when installing a new device or maintaining or replacing the device, and at the time of startup, the communication speed data can be read out from the storage means and set. Therefore, there is no need for automatic determination processing, and the device can be put into operation quickly. Therefore, the problems of the prior art described above can be solved.

(実施例) 第1図は本発明の一実施例を示すデータ通信端末装置の
通信制御部のブロック図である。同図において、lは1
次局からのシリアルの通信データをパラレルデータに変
換するシリアル/パラレル変換部(以下S/P変換部と
称する)、2は装置全体を制御するプロセッサ、3はプ
ロセッサ2からの通信速度の設定によりS/P変換部1
の通信データをサンプリングするためのサンプリングタ
イミング信号を発生させるサンプルタイミング発生部、
4はプロセッサ2からの時間設定により、所定時間毎に
プロセッサ2に所定時間が経過したことを通知する時間
監視部、5はプロセッサ2の制御により通信速度設定デ
ータを記憶する不揮発性のメモリである。
(Embodiment) FIG. 1 is a block diagram of a communication control section of a data communication terminal device showing an embodiment of the present invention. In the same figure, l is 1
Serial/parallel converter (hereinafter referred to as S/P converter) that converts serial communication data from the next station into parallel data; 2 is a processor that controls the entire device; 3 is a communication speed setting from processor 2; S/P converter 1
a sample timing generator that generates a sampling timing signal for sampling communication data;
4 is a time monitoring unit that notifies the processor 2 that a predetermined time has elapsed at predetermined intervals according to the time setting from the processor 2; 5 is a nonvolatile memory that stores communication speed setting data under the control of the processor 2; .

本実施例において、1次局とデータ通信を行なうのに先
立ち、1次局とデータ通信端末装置の間には次の事項が
予め定められているものとする。
In this embodiment, it is assumed that the following matters are predetermined between the primary station and the data communication terminal device prior to data communication with the primary station.

(a)通信速度可変範囲は1200B/8.2400B
/34800 B/Sとする。
(a) Communication speed variable range is 1200B/8.2400B
/34800 B/S.

(b)ポーリング送信の時間間@け3秒とする。(b) The polling transmission time is 3 seconds.

(c)ポーリング用の送信データは例えばHEXコード
で20.20.20.20.05とスル。
(c) The transmission data for polling is, for example, a HEX code of 20.20.20.20.05.

次に、第2図のフローチャートを参照して動作を説明す
る。
Next, the operation will be explained with reference to the flowchart shown in FIG.

1ず、電源を投入した初期設定時に、プロセッサ2fd
メモリ5より通信速度データを取り出しサンプルタイミ
ング発生部3に通信速度を設定する(Sl、S2)。な
お、メモリ5には予め所定値の通信速度データが書込ま
れている。また、プロセッサ2け前記(b)項のポーリ
ング送信の時間間隔をもとにポーリング受信の時間値を
作成し、その時間値を時間監視部4に設定する(S3)
。S/P変N8邪1はサンプルタイミング発生部3がら
のサンプリングタイミング信号により通信データをサン
プルしてプロセラ?2へ通知する(S4)。プロセッサ
2はこの通信データが前記(c)項の送信データシーケ
ンスと一致しているが否かの判定を行、  う(S5)
。この結果、一致していなければ、プロセッサ2は時間
監視部4から前記設定した時間が経過したことを示す通
知の有無を判断する(s6)。
1. At the time of initial setup when the power is turned on, the processor 2fd
The communication speed data is taken out from the memory 5 and the communication speed is set in the sample timing generator 3 (S1, S2). Note that a predetermined value of communication speed data is written in the memory 5 in advance. In addition, the processor 2 creates a time value for polling reception based on the time interval for polling transmission in section (b) above, and sets the time value in the time monitoring unit 4 (S3).
. S/P Hen N8 Evil 1 samples the communication data using the sampling timing signal from the sample timing generator 3 and processes it. 2 (S4). The processor 2 determines whether or not this communication data matches the transmission data sequence in section (c) above (S5).
. As a result, if they do not match, the processor 2 determines whether there is a notification from the time monitoring unit 4 indicating that the set time has elapsed (s6).

この結果、通知がなければプロセッサはS/P’&換部
1かもの通知(通信データ)及び時間監視部4からの通
知を待つ。プロセッサ2は時間監視部4からの時間経過
の通知があれば現在の通信速度の設定が1次局で設定し
た通信速度ではないと判断し、次に別の通信速度をサン
プルタイミング発生部3へ設定する(37〜510)。
As a result, if there is no notification, the processor waits for a notification (communication data) from the S/P'& switching unit 1 and a notification from the time monitoring unit 4. If the processor 2 receives a notification of the passage of time from the time monitoring section 4, it determines that the current communication speed setting is not the communication speed set at the primary station, and then sends a different communication speed to the sample timing generation section 3. Set (37-510).

この動作をS/P変換部lから通知された通信データが
前記(c)項の送信データシーケンスと一致するまで前
記(a)頂で定められた通信速度の範囲で繰返す。この
結果、プロセッサ1ばS/P変換部1から通知された通
信データが前記(c)項のデータシーケンスと一致した
場合てけ、設定した通信速度を1次局側で設定した通信
速度と判定し、時間監視部4へ無限時間を設定し、この
判定した通信速度データをメモリ5へ格納する( Sl
l 、 S12 )。これと同時に以後のデータ通信を
判定した通信速度で行なう。
This operation is repeated within the communication speed range determined in the top of (a) until the communication data notified from the S/P converter 1 matches the transmission data sequence in the above (c). As a result, if the communication data notified from the S/P converter 1 matches the data sequence in section (c) above, the processor 1 determines that the set communication speed is the communication speed set on the primary station side. , sets an infinite time to the time monitoring unit 4, and stores the determined communication speed data in the memory 5 (Sl
l, S12). At the same time, subsequent data communication is performed at the determined communication speed.

このように、データ通信端末装置の新規設置又は交換設
置時には自動通信速度判定機能が働らき、判定した通信
速度データが不揮発性のメモリ5に記憶される。以降の
電源投入後はメモリ5より通信速度デーfが取り出され
通信速度が設定されるため、自動通信速度判定機能が働
くことなく、通信速度が決定される。
In this manner, when a data communication terminal device is newly installed or replaced, the automatic communication speed determination function is activated, and the determined communication speed data is stored in the nonvolatile memory 5. After the power is turned on thereafter, the communication speed data f is retrieved from the memory 5 and the communication speed is set, so the communication speed is determined without the automatic communication speed determination function working.

(発明の効果) 以上説明したように本発明によれば、データ通信端末装
置の通信速度を自動設定にすることにより、設定の誤り
の防止及び端末装置の設置工数を低減することが可能と
なる。
(Effects of the Invention) As explained above, according to the present invention, by automatically setting the communication speed of a data communication terminal device, it is possible to prevent setting errors and reduce the number of steps required to install the terminal device. .

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の実施例の動作を説明するフローチャートである
。 ■・・・シリアル/パラレル変換部(S/P変換部)2
・・・プロセッサ 3・・・サンプルタイミング発生部 4・・・時間監視部 5・・・メモリ
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a flowchart explaining the operation of the embodiment of FIG. ■...Serial/parallel converter (S/P converter) 2
...Processor 3...Sample timing generation section 4...Time monitoring section 5...Memory

Claims (1)

【特許請求の範囲】 ポーリング/セレクテイング方式により制御局との間で
データ通信を行なうデータ通信端末装置において、 (a)予め定められた複数の通信速度を任意に設定可能
な設定手段、 (b)前記設定手段で設定した通信速度により得られた
入力通信データと予め定められたコードとを比較して制
御局で設定した通信速度を判定する判定手段、 (c)前記判定手段で判定した通信速度を格納する不揮
発性の記憶手段、 とを有することを特徴とするデータ通信端末装置。
[Scope of Claims] A data communication terminal device that performs data communication with a control station using a polling/selecting method, comprising: (a) a setting means that can arbitrarily set a plurality of predetermined communication speeds; (b) ) a determination means for determining the communication speed set by the control station by comparing input communication data obtained by the communication speed set by the setting means with a predetermined code; (c) communication determined by the determination means; A data communication terminal device comprising: non-volatile storage means for storing speed.
JP60177695A 1985-08-14 1985-08-14 Terminal equipment for data communication Pending JPS6238640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60177695A JPS6238640A (en) 1985-08-14 1985-08-14 Terminal equipment for data communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60177695A JPS6238640A (en) 1985-08-14 1985-08-14 Terminal equipment for data communication

Publications (1)

Publication Number Publication Date
JPS6238640A true JPS6238640A (en) 1987-02-19

Family

ID=16035487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60177695A Pending JPS6238640A (en) 1985-08-14 1985-08-14 Terminal equipment for data communication

Country Status (1)

Country Link
JP (1) JPS6238640A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01135846U (en) * 1988-03-09 1989-09-18

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01135846U (en) * 1988-03-09 1989-09-18

Similar Documents

Publication Publication Date Title
US4667193A (en) Addressing system for simultaneously polling plural remote stations
US6424874B1 (en) Automated configuration of communications for an ordered collection of devices
US4748654A (en) Remote supervisory monitoring and control system
US4589120A (en) Unique start bit for data transmissions
US4642760A (en) Status-change data gathering apparatus
JPS581585B2 (en) Data communication loop method
CN1256654A (en) Input/output subsystem for control system
WO2002006906A2 (en) Method and apparatus for an optical function generator for seamless tiled displays
CN113131518B (en) MLPE photovoltaic system and MLPE equipment detection method thereof
CN111023262A (en) Modbus protocol conversion device and multi-online centralized control system
JPS6238640A (en) Terminal equipment for data communication
US3820077A (en) Method for testing units of a program controlled data processing system
JPH08102755A (en) Method for monitoring station to be controlled
CN110225634B (en) Bidirectional communication-based lamp equipment identification method and device
CN114448504A (en) Optical module fault processing method, electronic equipment and computer readable storage medium
JPH07312787A (en) Remote supervisory controller
JP2022146404A (en) Fire alarm system, terminal, and controller
RU46874U1 (en) ALARM SYSTEM
KR950001476B1 (en) Method of finding error of air conditioner
KR100298495B1 (en) apparatus and method for processing status information in ATM switching system
US20040153705A1 (en) Data transmission method and device
JPS6340079B2 (en)
JP2659994B2 (en) Modem monitoring method
JP2510288B2 (en) Communication equipment test processing method
KR100292880B1 (en) Method for confirming processing state of control command