JPS62298859A - Setting system for terminal address - Google Patents

Setting system for terminal address

Info

Publication number
JPS62298859A
JPS62298859A JP61141292A JP14129286A JPS62298859A JP S62298859 A JPS62298859 A JP S62298859A JP 61141292 A JP61141292 A JP 61141292A JP 14129286 A JP14129286 A JP 14129286A JP S62298859 A JPS62298859 A JP S62298859A
Authority
JP
Japan
Prior art keywords
address
terminal
terminal device
address setting
command
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
JP61141292A
Other languages
Japanese (ja)
Inventor
Asao Ishikawa
石川 朝男
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61141292A priority Critical patent/JPS62298859A/en
Publication of JPS62298859A publication Critical patent/JPS62298859A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To eliminate the need to set an address for each terminal by setting the addresses of terminals connected in series in order by an address sent out of a main equipment. CONSTITUTION:The main equipment 1 sends out an address setting command alphato be set in a terminal equipment 2a through a communication line 3a. The terminal equipment 2a receives his address setting command alpha, extracts and stores address information on its terminal, and also generates and sends out an address command beta to a next terminal equipment 2b through a communication line 3b. Then the address of a trailing terminal is set and an address setting command pi is by a terminal 2n to the main equipment 1 through a communication line 4. The main equipment 1 decides whether or not the address setting is performed normally from the address set command from the terminal 2n and the number of terminals.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 この発明は複数個の端末装置へのアドレス情報を設定す
る端末アドレス設定方式に関するものである。
Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Industrial Application] This invention relates to a terminal address setting method for setting address information to a plurality of terminal devices.

〔従来の技術〕[Conventional technology]

従来、この種の端末装置へのアドレス設定は各端末装置
に付加されたディップスイッチによって行なうか、ある
い紘端末に接続された外部回路からのコマンド入力で行
なっていた。
Conventionally, address setting for this type of terminal device has been done using a dip switch attached to each terminal device, or by inputting a command from an external circuit connected to the terminal.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の端末アドレス設定方式は、各端末装置で
個々のスイッチで直接アドレスを設定し、またはコマン
ドアドレスを設定しなければならない。しか屯、ディッ
プスイッチで設定する場合には、アドレス値を大きくし
ようとすると、スイッチで設定する端末数が増加し、端
末集積化の妨げになる。一方、外部回路からコマンドで
設定する場合にはコマンド入力用の外部回路が必要とな
り、端末装置が大形化するなどの問題点がある。
In the conventional terminal address setting method described above, each terminal device must directly set an address with an individual switch or set a command address. However, when setting is done using a dip switch, if an attempt is made to increase the address value, the number of terminals set using the switch increases, which hinders the integration of terminals. On the other hand, when setting is performed using commands from an external circuit, an external circuit for inputting commands is required, which poses problems such as increasing the size of the terminal device.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る端末アドレス設定方式は、第1の端末装
置ヘアドレス設定コマンドを送出する一方、第nの端末
装置からアドレス設定コマンドを受信する主装置と、受
信したアドレス設定コマンドで指定されたアドレスを自
端末に設定し、このアドレスの次アドレスを使つ九アド
レス設定コマンドを次位の端末装置あるいは主装置へ送
出する第1の端末装置〜第nの端末装置とをループ状に
接続したものである。
The terminal address setting method according to the present invention includes a main device that sends an address setting command to a first terminal device, receives an address setting command from an nth terminal device, and an address specified by the received address setting command. is set in its own terminal, and the 9th address setting command using the next address after this address is sent to the next terminal device or the main device.The first terminal device to the nth terminal device are connected in a loop. It is.

〔作用〕[Effect]

この発明は各端末装置のアドレスを主装置から設定する
ことができる。
This invention allows the address of each terminal device to be set from the main device.

〔実施例〕〔Example〕

図はこの発明に係る端末アドレス設定方式の一実施例を
示すブロック図である。同図において、1は下記の第1
端末装置に設定するアドレス情報を持つアドレス設定コ
マンドを出力する手段ループ状に接続された第1端末装
置〜第n端末装置に正常にアドレスが設定されたか否か
を判定する手段およびデータを送受信する手段とを備え
た主装置、2a〜2nは第1端末装置〜第n端末装置で
あシ、通信回線3a〜3れによシ直列に接続されたのち
、通信回路4および主装置1を介してループ状に形成さ
れている。
The figure is a block diagram showing an embodiment of the terminal address setting method according to the present invention. In the figure, 1 is the first
Means for outputting an address setting command having address information to be set in a terminal device; Means for determining whether or not an address has been normally set to the first to nth terminal devices connected in a loop; and transmitting and receiving data. The main devices 2a to 2n are the first to nth terminal devices, and are connected in series to the communication lines 3a to 3, and then connected via the communication circuit 4 and the main device 1. It is formed into a loop shape.

次に、上記構成による端末アドレス設定方式の動作につ
いて説明する。まず、主装置1は端末装置2aに設定し
たいアドレス、例えばabc”をアドレス情報として持
つアドレス設定コマンドaを通信回線3aを通して送出
する。端末装置21はこのアドレス設定コマンドαを受
信し、アドレス情報“aba”  を抽出し、自端末の
アドレスこの場合、ヒの端末装置2aは自端末が受信し
たアドレス情報@″aba” の次アドレス、例えばa
b′・十mをアドレス設定コマンドβのアドレス情報と
して設定する。ここで、アドレス増加値mは1以上の整
数であれば何でも使用可能とするが、mは各端末装置(
端末装置2a〜2n)で一定で、増加分の値が主装置1
に登録されてもいる値であるか、またはアドレス設定コ
マンドに指定され、主装置1および各端末装置2a〜2
nが抽出可能な値であればよいことはもちろんである。
Next, the operation of the terminal address setting method with the above configuration will be explained. First, the main device 1 sends an address setting command a having an address to be set to the terminal device 2a, for example, "abc" as the address information, through the communication line 3a.The terminal device 21 receives this address setting command α, and the address setting command "a" In this case, the terminal device 2a extracts the address information @“aba” that the terminal device 2a received, and extracts the address of its own terminal, e.g., a
b'·10m is set as the address information of the address setting command β. Here, the address increment value m can be any integer greater than or equal to 1, but m is for each terminal device (
Terminal devices 2a to 2n) are constant, and the increased value is the main device 1.
or is specified in the address setting command, and is a value that is registered in the main device 1 and each terminal device 2a to 2.
Of course, n may be any value that can be extracted.

そして、アドレス設定コマンドβを受信した端末装置2
bは同様にアドレス”aba+m” を自端末アドレス
として記憶し、次端末装置2cへ”aba+2m”をア
ドレス情報としたアドレス設定コマンドrを送出する。
Then, the terminal device 2 that received the address setting command β
Similarly, b stores the address "aba+m" as its own terminal address, and sends an address setting command r with "aba+2m" as address information to the next terminal device 2c.

この処理を順に繰返し実行することによシ端末装置2n
Kはabe−)(n−1)Xmのアドレスが設定され、
端末装置2nから主装置1へ通信回線4を経由してアド
レス情報として&b・十IIXmを持つアドレス設定コ
マンドπが送出される。ことで、アドレス設定コマンド
πを受信した主装置1は自装置に登録されている端末数
nと端末間のアドレス増加分mと自装置が送出し九アド
レス設定コiンドaのアドレス情報abeおよびアドレ
ス設定コマンド茸のアドレス情報abc+nxmとから
全端末装置に正常にアドレスが設定され喪か否かを判定
する0すなわち、 端末数Xアドレス増加分 (ab・十mXm)(aba) 勤 xm が成立すれば、全端末に正常にアドレスが設定されたこ
とになる。
By repeating this process in sequence, the terminal device 2n
K is abe-)(n-1)Xm address is set,
An address setting command π having &b.1IXm as address information is sent from the terminal device 2n to the main device 1 via the communication line 4. As a result, the main device 1, which has received the address setting command π, calculates the number of terminals registered in itself n, the address increment m between the terminals, the address information abe of the nine address setting commands a sent by the main device, and From the address information abc + nxm of the address setting command mushroom, it is determined whether the address is correctly set for all terminal devices and whether the address is mourned or not. In other words, the number of terminals x the address increase (ab 10 m This means that addresses have been correctly set for all terminals.

このようにして、各端末装置2&〜2nに正常にアドレ
スが設定されたのち、主装置1は各端末装置との間でデ
ータの送受信を行なうことができる。
In this way, after the addresses are properly set for each terminal device 2&-2n, the main device 1 can transmit and receive data to and from each terminal device.

例えd主装置1から端末装置2bへデータを送る場合、
主装置1は″ab@+m” というアドレス情報を持つ
データ送信コマンドIを通信回線3&を経由して端末装
置2aへ送る。そして、この端末装置2aはこのコマン
ドのアドレスをチェックし、自端末へのデータでないと
とを確認したのち、このコマンドをそのまま端末装置2
bへ送出する。
For example, when sending data from the main device 1 to the terminal device 2b,
The main device 1 sends a data transmission command I having address information "ab@+m" to the terminal device 2a via the communication line 3&. Then, this terminal device 2a checks the address of this command, confirms that the data is not for its own terminal, and then passes this command as is to the terminal device 2a.
Send to b.

したがって、端末装置2bは仁のコマンドのアドレスが
自端末アドレスと一致するため、このコマンドを引き取
る。このようにして、主装置1から端末装置2bへのデ
ータの送信を実施することができる。以下同様にして、
1装[1から各端末装置2&〜2nヘデータを送信する
ことができる。
Therefore, since the address of Jin's command matches its own terminal address, the terminal device 2b accepts this command. In this way, data can be transmitted from the main device 1 to the terminal device 2b. Similarly below,
Data can be transmitted from one device [1 to each terminal device 2&~2n.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように、この発明に係る端末アドレ
ス設定方式によれば、主装置から送出するアドレス設定
コマンドおよび各端末装置が作成するアドレス設定コマ
ンドによシ、各端末装置でアドレスが順次設定されるの
で、各端末装置で各々直接アドレスを設定することが不
用となり、自動処理とか、端末装置に直接中を触れるこ
とが難しい場所、例えば高所、地下、狭所、密閉された
場所にも端末装置を設瞳することができる。また、アド
レス設定に使用するコマンドはデータ通信で使用する回
線を共用するためアドレス設定用の外部回路、外部回路
とのインターフェースなどが不要になシ、端末装置の小
形化することができるうえ、各端末装置がアドレス設定
、データ送受信と同一手順で実行できるので、各端末装
置のアドレス設定回路、データ送受回路が全く同一回路
で構成することができゐ表どの効果がある。
As explained in detail above, according to the terminal address setting method according to the present invention, addresses are sequentially set in each terminal device according to the address setting command sent from the main device and the address setting command created by each terminal device. This eliminates the need to directly set an address on each terminal device, and it can be used in automatic processing or in places where it is difficult to directly touch the inside of the terminal device, such as high places, underground, narrow spaces, and closed places. A terminal device can be set up. In addition, since the commands used for address setting share the line used for data communication, there is no need for external circuits for address setting or interfaces with external circuits, and the terminal device can be made smaller. Since the terminal device can perform address setting and data transmission/reception using the same procedure, the address setting circuit and data transmission/reception circuit of each terminal device can be constructed from the same circuit, which has the following effects.

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

図はこの発明に係る端末アドレス設定方式の一実施例を
示すブロック図である0 1・・・・主装置、2a〜2n・・・・端末装置、31
〜3nおよび4・・・・通信回線。
The figure is a block diagram showing an embodiment of the terminal address setting method according to the present invention. 0 1... Main device, 2a to 2n... Terminal device, 31
~3n and 4...communication lines.

Claims (1)

【特許請求の範囲】[Claims] 第1の端末装置へアドレス設定コマンドを送出する一方
、第nの端末装置からアドレス設定コマンドを受信する
主装置と、受信したアドレス設定コマンドで指定された
アドレスを自端末に設定し、このアドレスの次アドレス
を使ったアドレス設定コマンドを次位の端末装置あるい
は主装置へ送出する第1の端末装置〜第nの端末装置と
から構成され、各端末装置のアドレスをアドレス設定コ
マンドを使用して順次設定することを特徴とする端末ア
ドレス設定方式。
While sending an address setting command to the first terminal device, the main device receives the address setting command from the nth terminal device, and sets the address specified by the received address setting command in its own terminal, and Consisting of a first terminal device to an nth terminal device that sends an address setting command using the next address to the next terminal device or main device, the address of each terminal device is sequentially set using the address setting command. A terminal address setting method characterized by setting.
JP61141292A 1986-06-19 1986-06-19 Setting system for terminal address Pending JPS62298859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61141292A JPS62298859A (en) 1986-06-19 1986-06-19 Setting system for terminal address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61141292A JPS62298859A (en) 1986-06-19 1986-06-19 Setting system for terminal address

Publications (1)

Publication Number Publication Date
JPS62298859A true JPS62298859A (en) 1987-12-25

Family

ID=15288491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61141292A Pending JPS62298859A (en) 1986-06-19 1986-06-19 Setting system for terminal address

Country Status (1)

Country Link
JP (1) JPS62298859A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002314559A (en) * 2001-04-11 2002-10-25 Nec Corp Network and node information setting method used for the same, and its program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002314559A (en) * 2001-04-11 2002-10-25 Nec Corp Network and node information setting method used for the same, and its program

Similar Documents

Publication Publication Date Title
KR910010945A (en) Data representation and protocol
JPS6224741A (en) Multiplex transmission system
JPS62298859A (en) Setting system for terminal address
US3936601A (en) Method and apparatus for altering the synchronous compare character in a digital data communication system
CN116069443A (en) Working method of virtual terminal
EP0433078A2 (en) Data transfer method and apparatus
JPH04273735A (en) Local area network bridge device
EP0416235B1 (en) Data-communication method for loop-type network having portable slave stations connectable to addressable junction boxes permanently connected in the network
JPS5840859B2 (en) data communication system
US3502808A (en) Data exchange compatible with dial switching centers
KR920018584A (en) Data communication method and data terminal equipment used
JPH0323017B2 (en)
SU1462332A1 (en) Device for interfacing electronic computer with communication channels
JPS6365509A (en) Data transmission equipment for numerical controller
JP3067155B2 (en) Data transfer device
JP3234330B2 (en) Communications system
SU481895A1 (en) Interface device
JPH05175976A (en) Set type transmission system
JPS61131632A (en) Data format system for multiplex transmission
JPH03158041A (en) Data multiplex transfer system
JPH02272843A (en) Data transmission equipment
JPS58198941A (en) Simple data transmitter
JPH05120184A (en) Terminal equipment control system
JPH0580054U (en) Data transmission equipment
JPH05191413A (en) Transceiver equipment