JPH01102669A - Device number setting system - Google Patents

Device number setting system

Info

Publication number
JPH01102669A
JPH01102669A JP62259982A JP25998287A JPH01102669A JP H01102669 A JPH01102669 A JP H01102669A JP 62259982 A JP62259982 A JP 62259982A JP 25998287 A JP25998287 A JP 25998287A JP H01102669 A JPH01102669 A JP H01102669A
Authority
JP
Japan
Prior art keywords
controlled
device number
control
signal line
network
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
JP62259982A
Other languages
Japanese (ja)
Inventor
Masaki Sakai
酒井 正貴
Masami Murayama
雅美 村山
Shuji Yoshimura
吉村 修二
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 JP62259982A priority Critical patent/JPH01102669A/en
Publication of JPH01102669A publication Critical patent/JPH01102669A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce manhour as well as artificial errors by constituting a system such as the device numbers given to each device to be controlled are automatically set when a controller is connected to each device to be controlled via the bus cables at the places of installation of each device. CONSTITUTION:A 1st signal line 300 and a 2nd signal line 400 are provided to a bus cable which secures the cascade between a controller 100 and each device 200 to be controlled for transmission of the device numbers to be given to each device 200 and the control signal which designates the time of transmission of the device numbers over the line 300 respectively. Therefore the device numbers of each device 200 is automatically set when the connection is secured between the controller 100 and each device 200 at the place of installation of a system. Thus it is possible to greatly reduce the setting manhour of device numbers and also to delete the danger for occurrence of artificial errors.

Description

【発明の詳細な説明】 〔概要〕 制御装置と複数の被制御装置とから構成されるシステム
に係り、特に各被制御装置に装置番号を設定する装置番
号設定方式の改良に関し、多くの工数を費やすこと無く
、且つ人為的な誤りが発生しない装置番号設定方式を実
現することを目的とし、 制御装置と各被制御装置とをv1′vt接続するバスケ
ーブルに、各被制御装置に付与する装置番号を伝送する
第一の信号線と、第一の信号線上における装置番号の伝
送時期を指定する制御信号を伝送する第二の信号線とを
設け、制御装置に、各被制御装置に付与する装置番号を
ディジタル符号化し、時分割多重化して第一の信号線に
送出する装置番号送出手段と、制御装置に隣接する最前
段の被制御装置に付与される装置番号の送出時期を指定
する制御信号を、第二の信号線に送出する制御信号送出
手段とを設け、各被制御装置に゛、隣接する制御装置ま
たは前段の被制御装置から第一の信号線を経由して伝達
される装置番号を、制御装置または前段の被制御装置か
ら第二の信号線を経由して伝達される制御信号に同期し
て保持すると共に、制御装置または前段の被制御装置か
ら伝達される置番号を遅延させること無く後段の被制御
装置に転送する装置番号保持手段と、制御装置または前
段の被制御装置から伝達される制御信号に、一つの装置
番号が第一の信号線上を伝送される期間に等しい遅延を
与えて後段の被制御装置に転送する遅延手段とを設置す
る様に構成する。
[Detailed Description of the Invention] [Summary] This invention relates to a system consisting of a control device and a plurality of controlled devices, and in particular, to improving a device number setting method for setting a device number to each controlled device, which saves a lot of man-hours. With the aim of realizing a device number setting method that does not require a lot of time and does not cause human error, a device is attached to each controlled device on the bus cable that connects the control device and each controlled device in a v1'vt manner. A first signal line for transmitting a number and a second signal line for transmitting a control signal specifying the transmission timing of the device number on the first signal line are provided, and the control signal is given to each controlled device by the control device. A device number sending means that digitally encodes the device number, time-division multiplexes it, and sends it to the first signal line, and a control that specifies the sending timing of the device number given to the first stage controlled device adjacent to the control device. A control signal sending means for sending a signal to a second signal line is provided, and the control signal is transmitted to each controlled device from an adjacent control device or a preceding controlled device via the first signal line. The number is held in synchronization with the control signal transmitted from the control device or the preceding controlled device via the second signal line, and the assigned number transmitted from the control device or the preceding controlled device is delayed. A device number holding means that transfers the control signal to a subsequent controlled device without causing any interference, and a control signal transmitted from the control device or the preceding controlled device, which is equal to the period in which one device number is transmitted on the first signal line. The configuration is such that a delay means for applying a delay and transmitting the data to a subsequent controlled device is installed.

〔産業上の利用分野〕[Industrial application field]

本発明は制御装置と複数の被制御装置とから構成される
システムに係り、特に各被制御装置に装置番号を設定す
る装置番号設定方式の改良に関する。
The present invention relates to a system including a control device and a plurality of controlled devices, and particularly relates to an improvement in a device number setting method for setting a device number to each controlled device.

制御装置と複数の被制御装置とが、バスケーブルにより
縦続接続されている如きシステムにおいて、制御装置か
らバスケーブルを経由して所要の被制御装置に所要の指
令等を配送する為に、各被制御装置を識別する装置番号
を付与し、バスケーブルを経由して配送する指令等に、
配送先の被制御装置に付与されている装置番号を付加す
る方法が広く採用されている。
In a system where a control device and multiple controlled devices are cascade-connected via a bus cable, each controlled device is A device number that identifies the control device is given to the commands, etc. that are delivered via the bus cable.
A widely used method is to add the device number assigned to the controlled device at the delivery destination.

各被制御装置に付与される装置番号は、システムの設置
場所において、制御装置および各被制御装置の接続が決
定さ糺た段階で定まる為、各被制御装置には設置場所で
設定する必要があり、工場内で予め付与して置くことが
不可能である。
The device number assigned to each controlled device is determined at the system installation location when the connection between the control device and each controlled device is determined, so it is necessary to set the device number for each controlled device at the installation location. Therefore, it is impossible to apply it in advance in the factory.

〔従来の技術〕[Conventional technology]

第4図は従来ある装置番号設定方式の一例を示す図であ
る。
FIG. 4 is a diagram showing an example of a conventional device number setting method.

第4図においては、電子交換機を構成する一台の中央制
御装置(CC)1と、中央制御装置1により制御される
四台のネットワーク(NW)2(各ネットワークを区別
する場合には、2−0乃至2−3と称する。以下同様)
が、バスケーブル3により縦続接続されている。
In FIG. 4, one central control unit (CC) 1 constituting an electronic exchange and four networks (NW) 2 controlled by the central control unit 1 (in order to distinguish between each network, 2 -0 to 2-3 (hereinafter the same)
are connected in series by a bus cable 3.

各ネットワーク2には、装置番号設定端子T0゜乃至T
1□と装置番号レジスタ21とが、二進二指から成る装
置番号MNC= (b、、b、。)=(00)乃至(1
1)を設定する為に設けられている。
Each network 2 has device number setting terminals T0° to T.
1□ and the device number register 21, the device number MNC= (b,,b,.)=(00) to (1
1) is provided for setting.

装置番号設定端子T0゜乃至T’ozは装置番号MNC
の第0桁b7゜を設定する為に使用され、また装置番号
設定端子T’to乃至T’+zは装置番号MNCの第1
桁b0を設定する為に使用される。
Device number setting terminals T0゜ to T'oz are device number MNC
The device number setting terminals T'to to T'+z are used to set the 0th digit b7° of the device number MNC.
Used to set digit b0.

今、ネットワーク2−0乃至2−3に、それぞれ装置番
号MMC−(σ0)乃至(11)を付与するものとする
と、装置番号MNCの第0桁kla(1が論理″0”で
あやネットワーク2−0および2−2においては、装置
番号設定端子T02とTo。とが接続され、装置番号M
NCの第O桁b7゜が論理″1”であるネットワーク2
−1および2−3においては、装置番号設定端子T’o
zとTelとが接続され、また装置番号MNCの第1桁
bfilが論理“0”であるネットワーク2−0および
2−1においては、装置番号設定端子T1□とT、。と
が接続され、装置番号MNCの第1桁b□が論理“1”
であるネットワーク2−2および2−3においては、装
置番号設定端子T、□とT、とが接続される。
Now, if device numbers MMC-(σ0) to (11) are assigned to networks 2-0 to 2-3, respectively, then the 0th digit kla (1 is logical "0") of the device number MNC is -0 and 2-2, the device number setting terminal T02 and To.
Network 2 where the Oth digit b7° of NC is logic “1”
-1 and 2-3, the device number setting terminal T'o
In networks 2-0 and 2-1, in which z and Tel are connected and the first digit bfil of the device number MNC is logic "0", the device number setting terminals T1□ and T. is connected, and the first digit b□ of device number MNC is logic “1”
In networks 2-2 and 2-3, device number setting terminals T, □ and T are connected.

その結果、各ネットワーク2−0乃至2−3の装置番号
レジスタ21−O乃至21−3には、それぞれ装置番号
MNC= (b、tbna)= (o o)乃至(11
)が設定される。
As a result, the device number registers 21-O to 21-3 of each network 2-0 to 2-3 contain device numbers MNC= (b, tbna)= (o o) to (11
) is set.

かかる状態で、中央制御装置1が所要のネットワーク(
例えば2−1)に伝達すべきコマンドCに、配送先ネッ
トワーク2−1の装置番号MNC=(01)を付加して
バスケーブル3に送出すると、コマンドCはバスケーブ
ル3を経由して各ネットワーク2内のコマンドレジスタ
(CR)22に蓄積される。
In this state, the central controller 1 connects the required network (
For example, if the device number MNC = (01) of the delivery destination network 2-1 is added to the command C to be transmitted to 2-1) and sent to the bus cable 3, the command C will be sent to each network via the bus cable 3. 2 is stored in the command register (CR) 22 in the internal memory.

コマンドCを受信した各ネットワーク2は、コマンドC
に付加されている装置番号MNC= (01)と、各装
置番号レジスタ21に設定されている自装置番号MNC
= (00)乃至(11)とを照合する。
Each network 2 that has received the command C
The device number MNC = (01) added to the device number and the own device number MNC set in each device number register 21
= (00) to (11) are compared.

照合の結果、両装置番号MNCが一致したネットワーク
2−1は、受信したコマンドCが自ネットワーク2−1
宛であると判定し、コマンドCに対する動作を開始する
が、両装置番号MNCが不一致であったその他のネット
ワーク2−0.2−2および2−3は、受信したコマン
ドCが自ネットワーク2−0.2−2および2−3宛で
は無いと判定し、コマンドCに対する動作は実行しない
As a result of the comparison, the network 2-1 whose device numbers MNC match matches the received command C to its own network 2-1.
However, other networks 2-0.2-2 and 2-3, for which the device numbers MNC do not match, recognize that the received command C is addressed to their own network 2-0. It is determined that the address is not addressed to 0.2-2 or 2-3, and the operation for command C is not executed.

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

以上の説明から明らかな如く、従来ある装置番号設定方
式においては、各ネットワーク2に装置番号MNCを設
定する為に、それぞれ装置番号設定端子T0゜乃至T、
□を装置番号MNCに合わせて接続する必要があり、多
くの工数を費やすのみならず、人為的な誤りを生ずる恐
れがあり、重複設定等の障害を引起こす問題点があった
As is clear from the above explanation, in the conventional device number setting method, in order to set the device number MNC for each network 2, the device number setting terminals T0° to T,
It is necessary to connect □ in accordance with the device number MNC, which not only takes a lot of man-hours, but also poses problems such as the risk of human error and problems such as duplicate settings.

なお装置番号設定端子T0゜乃至T1□を接続する代わ
りに、スイッチを操作する方法も実用されているが、同
様の問題点が生ずる。
Note that a method of operating a switch instead of connecting the device number setting terminals T0° to T1□ has also been put into practice, but the same problem occurs.

本発明は、多くの工数を費やすこと無く、且つ人為的な
誤りが発生しない装置番号設定方式を実現することを目
的とする。
An object of the present invention is to realize a device number setting method that does not require a lot of man-hours and does not cause human errors.

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

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図において、100は制御装置、200はそれぞれ
制御装置100により制御される被制御装置で、本発明
の対象となるシステムを構成する。
In FIG. 1, 100 is a control device, and 200 is a controlled device controlled by the control device 100, which constitutes a system to which the present invention is applied.

300および400は、本発明により、制御装置100
と各被制御装置200とを縦続接続するバスケーブルに
設けられた第一の信号線および第二の信号線である。
300 and 400 are the control device 100 according to the present invention.
These are a first signal line and a second signal line provided in a bus cable that cascade connects the control target device 200 and each controlled device 200.

500は、本発明により制御装置100内に設けられた
装置番号送出手段である。
500 is a device number sending means provided in the control device 100 according to the present invention.

600は、本発明により制御装置100内に設けられた
制御信号送出手段である。
600 is a control signal sending means provided in the control device 100 according to the present invention.

700は、本発明により各被制御装置200に設けられ
た装置番号保持手段である。
700 is a device number holding means provided in each controlled device 200 according to the present invention.

800は、本発明により各被制御装置200に設けられ
た遅延手段である。
800 is a delay means provided in each controlled device 200 according to the present invention.

なお各被制御装置200に対し、より制御装置100に
近い側に隣接する被制御装置200を前段の被制御装置
200と称し、またより制御装置100から遠い側に隣
接する被制御装置200を後段の被制御装置200と称
し、更に制御装置100に直接接続されている被制御装
置200を最前段の被制御装置200と称する。
Note that for each controlled device 200, a controlled device 200 adjacent to the side closer to the control device 100 is referred to as a front-stage controlled device 200, and a controlled device 200 adjacent to a side farther from the control device 100 is referred to as a rear-stage controlled device 200. Furthermore, the controlled device 200 directly connected to the control device 100 is referred to as the foremost controlled device 200.

〔作用〕[Effect]

第一の信号線300は、各被制御装置200に付与する
装置番号を伝送する為に設けられ、また第二の信号線4
00は、第一の信号線300上における装置番号の伝送
時期を指定する制御信号を伝送する為に設けられる。
The first signal line 300 is provided to transmit a device number assigned to each controlled device 200, and the second signal line 4
00 is provided for transmitting a control signal specifying the transmission timing of the device number on the first signal line 300.

装置番号送出手段500は、各被制御装置200に付与
する装置番号をディジタル符号化し、時分割多重化して
第一の信号線300に送出する。
The device number sending means 500 digitally encodes the device number given to each controlled device 200, time-division multiplexes it, and sends it to the first signal line 300.

制御信号送出手段600は、制御装置100に隣接する
最前段の被制御装置200に付与される装置番号の送出
時期を指定する制御信号を、第二の信号線400に送出
する。
The control signal sending means 600 sends out to the second signal line 400 a control signal that specifies the sending timing of the device number given to the foremost controlled device 200 adjacent to the control device 100.

装置番号保持手段700は、制御装置100または前段
の被制御装置200から、第一の信号線300を経由し
て伝達される装置番号を、制御装置100または前段の
被制御装置200から第二の信号wA400を経由して
伝達される制御信号に同期して保持すると共に、制御装
置100または前段の被制御装置200から構成される
装置番号を遅延させること無(後段の被制御装置200
に転送する。
The device number holding means 700 stores the device number transmitted from the control device 100 or the upstream controlled device 200 via the first signal line 300 to the second device number from the control device 100 or the upstream controlled device 200. It is held in synchronization with the control signal transmitted via the signal wA400, and there is no delay in the device number consisting of the control device 100 or the controlled device 200 in the previous stage (the controlled device 200 in the subsequent stage
Transfer to.

遅延手段800は、前段の被制御装置200から伝達さ
れる制御信号に、一つの装置番号が第一の信号線300
上を伝送される期間に等しい遅延を与えて後段の被制御
装置200に転送する。
The delay means 800 includes a control signal transmitted from the controlled device 200 in the previous stage, in which one device number is connected to the first signal line 300.
A delay equal to the period during which the data is transmitted above is given, and the data is transferred to the controlled device 200 at the subsequent stage.

従って、システムの設置場所において、制御装置と各被
制御装置とをバスケーブルにより接続すると、各被制御
装置に付与される装置番号が自動的に設定されることと
なり、装置番号設定用の工数は大幅に削減され、また人
為的な誤りが発生する危険性も除去される。
Therefore, when the control device and each controlled device are connected using a bus cable at the system installation location, the device number assigned to each controlled device will be automatically set, and the man-hours for setting the device number will be reduced. This is significantly reduced and also eliminates the risk of human error.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例による装置番号設定方式を示
す図であり、第3図は第2図における各種信号波形を例
示する図である。なお、企図を通じて同一符号は同一対
象物を示す。また対象とする一システムは、第4図にお
けると同様に電子交換機とし、制御装置100は中央制
御装置(CC)1、被制御装置200は四台のネットワ
ーク(NW)2とする。また各ネットワーク2−0乃至
2−3に付与する装置番号MNCは、前述と同様に(b
lt)+s。)=(00)乃至(11)とす。
FIG. 2 is a diagram showing a device number setting method according to an embodiment of the present invention, and FIG. 3 is a diagram illustrating various signal waveforms in FIG. 2. Note that the same reference numerals refer to the same objects throughout the plan. Further, one system to be considered is an electronic exchange as in FIG. 4, the control device 100 is a central control device (CC) 1, and the controlled devices 200 are a network (NW) 2 of four units. Also, the device number MNC assigned to each network 2-0 to 2-3 is (b
lt)+s. )=(00) to (11).

第2図においては、第1図における第一の信号線300
および第二の信号!400として、それぞれ装置番号線
4および制御信号線5が設けられている。なお第2図に
おいては、中央制御装置1と各ネットワーク2とを縦続
接続するバスケーブル3 (第4図)は省略されている
In FIG. 2, the first signal line 300 in FIG.
And the second signal! 400, a device number line 4 and a control signal line 5 are provided, respectively. Note that in FIG. 2, the bus cable 3 (FIG. 4) that cascades the central control device 1 and each network 2 is omitted.

装置番号線4は、中央制御装置1内のゲート13の出力
端子と最前段のネットワーク2−0の入力端子A0との
間を接続すると共に、前段のネットワーク2の出力端子
B0と後段のネットワーク2の入力端子A0とを接続す
るが、各ネットワーク2内において、入力端子A0と出
力端子B0とは直接短絡されている為、装置番号MA 
4は、中央制御装置1内のグー゛ト13の出力端子を、
各ネットワーク2の入力端子A0に接続することとなる
The device number line 4 connects the output terminal of the gate 13 in the central control device 1 and the input terminal A0 of the network 2-0 at the front stage, and also connects the output terminal B0 of the network 2 at the front stage and the network 2 at the rear stage. However, in each network 2, input terminal A0 and output terminal B0 are directly short-circuited, so device number MA
4 is the output terminal of the gate 13 in the central control device 1,
It will be connected to the input terminal A0 of each network 2.

一方制御信号線5は、中央制御装置1内のゲート14の
出力端子と最前段のネットワーク2−0の入力端子A、
との間を接続し、また前段のネットワーク2の出力端子
B、と後段のネットワーク2の入力端子A+ とを接続
する。
On the other hand, the control signal line 5 connects the output terminal of the gate 14 in the central control device 1 and the input terminal A of the network 2-0 at the front stage.
The output terminal B of the network 2 at the front stage is connected to the input terminal A+ of the network 2 at the rear stage.

中央制御装置1内には、第1図における装置番号送出手
段500および制御信号送出手段600として、二進二
指のカウンタ(CNT)11およびマルチプレクサ(M
PX)12が設けられており、また各ネットワーク2内
には、第1図における装置番号保持手段7.00として
遅延素子(DL)23およびフリップフロップ(FF)
24が、また第1図における遅延手段800として遅延
素子(DL)25が設けられている。
In the central control device 1, a binary two-finger counter (CNT) 11 and a multiplexer (M
PX) 12 is provided, and each network 2 includes a delay element (DL) 23 and a flip-flop (FF) as device number holding means 7.00 in FIG.
Further, a delay element (DL) 25 is provided as the delay means 800 in FIG.

第2図および第3図において、中央制御装置1に各ネッ
トワーク2が接続されていない状態では、ゲート13お
よび14にはイネーブル信号e(論理“1”)が入力さ
れず、またカウンタ11にはクロック信号elkが入力
されない。
In FIGS. 2 and 3, when each network 2 is not connected to the central controller 1, the enable signal e (logic "1") is not input to the gates 13 and 14, and the counter 11 is not connected to the enable signal e (logic "1"). Clock signal elk is not input.

か力ζる状態で、中央制御装置1に各ネットワーク2が
、ネットワーク2−0を最前段とし、以後ネットワーク
2−1乃至2−3の順に、図示されぬバスケーブルによ
り接続されると、中央制御装置1はゲート13および1
4にイネーブル信号e(=論理“1″)を入力して導通
状態とすると共に、カウンタ11を初期設定した後、周
期2τを有するクロック信号clkを入力する。
When each network 2 is connected to the central control device 1 in a state where the power is exerted, network 2-0 is the first stage, and thereafter networks 2-1 to 2-3 are connected in the order of bus cables (not shown). Control device 1 controls gates 13 and 1
After inputting an enable signal e (=logic "1") to the counter 4 to make it conductive, and initializing the counter 11, a clock signal clk having a period of 2τ is input.

カウンタ11は、クロック信号clkにより歩進を開始
し、各周期(2τ)においてネットワーク2−0乃至2
−3の装置番号MNCに相当する0桁ビットb0および
1桁ビットblを出力し、マルチプレクサ12に伝達す
る。
The counter 11 starts incrementing in response to the clock signal clk, and in each period (2τ), the counter 11
The 0-digit bit b0 and the 1-digit bit bl corresponding to the device number MNC of -3 are outputted and transmitted to the multiplexer 12.

マルチプレクサ12は、カウンタ11から伝達されるO
桁ビットb0および1桁ビフトb、を時分割多重化し、
装置番号列す、として、導通状態にあるゲート13を介
して装置番号線4に送出する。
The multiplexer 12 receives O transmitted from the counter 11.
time-division multiplexing of digit bit b0 and 1 digit bit b,
The device number line 4 is sent to the device number line 4 through the gate 13 which is in a conductive state.

以上により装置番号列す、は、第一周期(時点to乃至
1+)においてネットワーク2−0の装置番号MNC=
 (00)を、第二周期(時点tl乃至t3)において
ネットワーク2−1の装置番号MNC= (01)を、
第三周期(時点to乃至ts)においてネットワーク2
−2の装置番号MNC= (10)を、第四周期(時点
to乃至t。
As a result of the above, the device number sequence is the device number MNC of network 2-0 in the first period (time to to 1+)
(00), and the device number MNC of network 2-1 in the second period (time tl to t3) is (01),
In the third period (time to to ts), network 2
−2 device number MNC=(10) in the fourth period (time to to t).

)においてネットワーク2−3の装置番号MNC=(1
1)を示す。
), device number MNC of network 2-3 = (1
1) is shown.

更にカウンタ11は、第二周期の前半(時点tl乃至t
z)に制御信号c0を出力し、導通状態にあるゲート1
4を介して制御信号線5に送出する。
Further, the counter 11 counts the first half of the second period (from time tl to t
Gate 1 outputs control signal c0 to
4 to the control signal line 5.

装置番号線4上に送出された装置番号列b1は、装置番
号線4を経由して各ネットワーク2内にある遅延素子2
3の入力端子りに入力され、1/4周期(τ/2)の遅
延を与えられた後、各遅延素子23の出力端子Q0から
ビット列す、。として出力され、ビット列す、。から更
に1/2周期(τ)の遅延を与えられた後、各出力端子
Q2からビット列bI1.として出力され、それぞれフ
リップフロップ24の入力端子D1およびDoに伝達さ
れる。
The device number string b1 sent out on the device number line 4 is transmitted to the delay element 2 in each network 2 via the device number line 4.
The bit string is inputted to the input terminal of No. 3, and after being given a delay of 1/4 period (τ/2), the bit string is output from the output terminal Q0 of each delay element 23. It is output as a bit string. After being further delayed by 1/2 period (τ) from each output terminal Q2, the bit string bI1. and are transmitted to the input terminals D1 and Do of the flip-flop 24, respectively.

従って、ビット列bvhtおよびblIoは、それぞれ
時点too乃至1.  “、t2°乃至t3 °、t4
1乃至t、fおよびt6f乃至t、fにおいて、各々装
置番号MNCの第O桁b7゜および第1桁b1を示す。
Therefore, the bit strings bvht and blIo are respectively from time too to 1. “, t2° to t3°, t4
1 to t, f and t6f to t, f respectively indicate the Oth digit b7° and the first digit b1 of the device number MNC.

一方中央制御装置1から制御信号線5上に送出された制
御信号C0は、制御信号線5を経由して最前段のネット
ワーク2−0内のフリップフロップ24のクロック端子
CKと、遅延素子25の入力端子りに伝達される。
On the other hand, the control signal C0 sent from the central controller 1 onto the control signal line 5 is transmitted via the control signal line 5 to the clock terminal CK of the flip-flop 24 in the network 2-0 at the front stage and to the delay element 25. It is transmitted to the input terminal.

ネットワーク2−0内のフリップフロップ24は、クロ
ック端子GKに入力される制御信号C0の立上がり時点
t0において、入力端子D0およびD+ に入力される
ビット列b1およびbl、1゜を保持し、出力端子Q0
およびQ、からそれぞれ装置番号MNCの第O桁b7゜
および第1桁b0として、共に論理“O”を出力する。
The flip-flop 24 in the network 2-0 holds the bit strings b1 and bl, 1° input to the input terminals D0 and D+ at the rising edge t0 of the control signal C0 input to the clock terminal GK, and holds the bit strings b1 and bl, 1° input to the output terminal Q0.
and Q, respectively, output logic "O" as the Oth digit b7° and the first digit b0 of the device number MNC.

以上により、ネットワーク2−0に付与された装置番号
MMC= (b、、b、。)=(00)が、フリップフ
ロップ24に設定されたこととなる。
As a result of the above, the device number MMC=(b,,b,.)=(00) assigned to the network 2-0 is set in the flip-flop 24.

一方ネットワーク2−θ内の遅延素子25は、入力端子
りに入力された制御信号C0に、装置番号列b1により
各装置番号MMCが伝送される期間、即ち1周期(2τ
)の遅延を与えた後、出力端子Q、から制御信号C1と
して出力し、ネットワーク2−0の出力端子B1から制
御信号線5に送出する。
On the other hand, the delay element 25 in the network 2-θ responds to the control signal C0 input to the input terminal during a period during which each device number MMC is transmitted according to the device number string b1, that is, one cycle (2τ
), the signal is output as a control signal C1 from the output terminal Q, and sent to the control signal line 5 from the output terminal B1 of the network 2-0.

制御信号線5上に送出された制御信号C3は、制御信号
線5を経由して後段のネットワーク2−1の入力端子A
Iに伝達される。
The control signal C3 sent onto the control signal line 5 is sent to the input terminal A of the subsequent network 2-1 via the control signal line 5.
transmitted to I.

ネットワーク2−1においては、入力端子AIから入力
された制御信号C3が、フリップフロップ24のクロッ
ク端子CKと、遅延素子25の入力端子りとに伝達され
る。
In the network 2-1, the control signal C3 input from the input terminal AI is transmitted to the clock terminal CK of the flip-flop 24 and the input terminal of the delay element 25.

ネットワーク2−1内のフリップフロップ24は、クロ
ック端子CKに入力される制御信号C3の立上がり時点
t、において、入力端子D0およびり、に入力されるビ
ット列b111およびblll。を保持し、出力端子Q
0およびQtからそれぞれ装置番号MNCの第0桁す、
。および第1桁b1として、論理“1”および論理“O
”を出力する。
The flip-flop 24 in the network 2-1 inputs the bit strings b111 and blll to the input terminals D0 and 2 at the rising edge time t of the control signal C3 input to the clock terminal CK. and output terminal Q
0 and Qt to the 0th digit of the device number MNC, respectively.
. and logic “1” and logic “O” as the first digit b1.
” is output.

以上により、ネットワーク2−1に付与された装置番号
MNC” (bnrba。)−(01)が、フリップフ
ロップ24に設定されたこととなる。
As a result, the device number MNC" (bnrba.)-(01) assigned to the network 2-1 is set in the flip-flop 24.

一方ネットワーク2−1内の遅延素子25は、入力端子
りに入力された制御信号C,に1周期(2τ)の遅延を
与えた後、出力端子Q、から制御信号C2として出力し
、ネットワーク2−1の出力端子B、から制御信号線5
に送出する。
On the other hand, the delay element 25 in the network 2-1 delays the control signal C input to the input terminal 1 by one period (2τ), and then outputs it from the output terminal Q as the control signal C2. -1 output terminal B, to control signal line 5
Send to.

以下同様にして、ネットワーク2−2に付与された装置
番号M N C= (b −+ bア。)=(10)が
、制御信号C2に同期してフリップフロップ24に設定
され、またネットワーク2−3に付与された装置番号M
NC= (bfi、b、。”) = (11)が、ネッ
トワーク2−2内の遅延素子25から出力される制御信
号C5に同期してフリップフロップ24に設定される。
Similarly, the device number MNC=(b-+b-a.)=(10) assigned to the network 2-2 is set in the flip-flop 24 in synchronization with the control signal C2, and - Device number M assigned to 3
NC=(bfi,b,.'')=(11) is set in the flip-flop 24 in synchronization with the control signal C5 output from the delay element 25 in the network 2-2.

以上により、各ネットワーク2にそれぞれ装置番号M’
N Cが設定されると、中央制御装置1はゲート13お
よび14に対するイネーブル信号eの入力を停止し、ま
たカウンタ11に対するクロック信号clkの入力を停
止する。
As a result of the above, each network 2 has a device number M'
When N C is set, the central controller 1 stops inputting the enable signal e to the gates 13 and 14, and also stops inputting the clock signal clk to the counter 11.

以上の説明から明らかな如く、本実施例によれば、中央
制御装置1に各ネットワーク2が接続されると、各ネッ
トワーク2の装置番0号MNCが、人手が介入すること
無(自動的に設定されることとなる。
As is clear from the above explanation, according to this embodiment, when each network 2 is connected to the central control device 1, the device number 0 MNC of each network 2 automatically It will be set.

なお、第2図および第3図はあく迄本発明の一実施例に
過ぎず、例えばネットワーク2の接続数、並びに装置番
号MNCの構成は図示されるものに限定されることは無
く、他に幾多の変形が考慮されるが、何れの場合にも本
発明の効果は変わらない。また本発明の対象となるシス
テムは、図示される電子交換機の中央制御装置1および
ネットワーク2に限定されぬことは°言う迄も無い。
Note that FIGS. 2 and 3 are only one embodiment of the present invention, and for example, the number of connections in the network 2 and the configuration of the device number MNC are not limited to those shown in the figures, and other examples may be used. Many modifications may be considered, but the effects of the present invention remain the same in any case. It goes without saying that the system to which the present invention is applied is not limited to the central control unit 1 and network 2 of the electronic exchange shown in the figure.

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

以上、本発明によれば、前記システムにおいて、設置場
所において制御装置と各被制御装置とをバスケーブルに
より接続すると、各被制御装置に付与される装置番号が
自動的に設定されることとなり、装置番号設定用の工数
は大幅に削減され、また人為的な誤りが発生する危険性
も除去される。
As described above, according to the present invention, in the system, when the control device and each controlled device are connected via a bus cable at the installation location, the device number assigned to each controlled device is automatically set. The man-hours required for setting device numbers are significantly reduced, and the risk of human error is also eliminated.

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

第1図は本発明の原理を示す図、第2図は本発明の一実
施例による装置番号設定方式を示す図、第3図は第2図
における各種信号波形を例示する図、第4図は従来ある
装置番号設定方式の一例を示す図である。 図において、1は中央制御装置(CC)、2はネットワ
ーク(NW) 、3はバスケーブル、4は装置番号線、
5は制御信号線、11はカウンタ(CNT) 、12は
マルチプレクサ(MPX)、13および14はゲート、
21は装置番号レジスタ、22はコマンドレジスタ(C
R)、23および25は遅延素子(DL)、24はフリ
ップフロップ(FF)、100は制御装置、200は被
制御装置、300は第一の信号線、400は第二の信号
線、500は装置番号送出手段、600は制御信号送出
手段、700は装置番号保持手段、8竿2図にK (1
2,各村信労辺約 芋 3 図
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing a device number setting method according to an embodiment of the present invention, FIG. 3 is a diagram illustrating various signal waveforms in FIG. 2, and FIG. 1 is a diagram showing an example of a conventional device number setting method. In the figure, 1 is the central control unit (CC), 2 is the network (NW), 3 is the bus cable, 4 is the device number line,
5 is a control signal line, 11 is a counter (CNT), 12 is a multiplexer (MPX), 13 and 14 are gates,
21 is the device number register, 22 is the command register (C
R), 23 and 25 are delay elements (DL), 24 is a flip-flop (FF), 100 is a control device, 200 is a controlled device, 300 is a first signal line, 400 is a second signal line, 500 is a 600 is a control signal sending means, 700 is a device number holding means, 8 rods K (1
2. Each village's trust and welfare plan 3 Diagram

Claims (1)

【特許請求の範囲】 制御装置(100)と、該制御装置(100)により制
御される複数の被制御装置(200)とにより構成され
るシステムにおいて、 前記制御装置(100)と、前記各被制御装置(200
)とを縦続接続するバスケーブルに、前記各被制御装置
(200)に付与する装置番号を伝送する第一の信号線
(300)と、 該第一の信号線(300)上における前記装置番号の伝
送時期を指定する制御信号を伝送する第二の信号線(4
00)とを設け、 前記制御装置(100)に、 前記各被制御装置(200)に付与する前記装置番号を
ディジタル符号化し、時分割多重化して前記第一の信号
線(300)に送出する装置番号送出手段(500)と
、 前記制御装置(100)に隣接する最前段の前記被制御
装置(200)に付与される前記装置番号の送出時期を
指定する前記制御信号を、前記第二の信号線(400)
に送出する制御信号送出手段(600)とを設け、 前記各被制御装置(200)に、 隣接する前記制御装置(100)または前段の被制御装
置(200)から前記第一の信号線(300)を経由し
て伝達される前記装置番号を、前記制御装置(100)
または前段の被制御装置(200)から前記第二の信号
線(400)を経由して伝達される前記制御信号に同期
して保持すると共に、前記制御装置(100)または前
段の被制御装置(200)から伝達される前記装置番号
を遅延させること無く後段の被制御装置(200)に転
送する装置番号保持手段(700)と、前記制御装置(
100)または前記前段の被制御装置(200)から伝
達される前記制御信号に、一つの前記装置番号が前記第
一の信号線(300)上を伝送される期間に等しい遅延
を与えて前記後段の被制御装置(200)に転送する遅
延手段(800)とを設けることを特徴とする装置番号
設定方式。
[Scope of Claims] A system comprising a control device (100) and a plurality of controlled devices (200) controlled by the control device (100), wherein the control device (100) and each of the controlled devices Control device (200
), a first signal line (300) that transmits a device number assigned to each controlled device (200) to a bus cable cascade-connecting the devices; A second signal line (4
00), the control device (100) digitally encodes the device number given to each controlled device (200), time-division multiplexes it, and sends it to the first signal line (300). a device number sending unit (500); and a device number sending unit (500) that sends the control signal specifying the sending timing of the device number to be given to the controlled device (200) at the foremost stage adjacent to the control device (100) to the second device. Signal line (400)
a control signal transmitting means (600) for transmitting a control signal to each controlled device (200); ) to the control device (100).
Alternatively, it is held in synchronization with the control signal transmitted from the preceding controlled device (200) via the second signal line (400), and the controlling device (100) or the preceding controlled device ( a device number holding means (700) that transfers the device number transmitted from the control device (200) to a subsequent controlled device (200) without delay;
100) or the control signal transmitted from the preceding stage controlled device (200) is given a delay equal to the period during which one of the device numbers is transmitted on the first signal line (300), and A device number setting method characterized by comprising a delay means (800) for transmitting data to a controlled device (200).
JP62259982A 1987-10-15 1987-10-15 Device number setting system Pending JPH01102669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62259982A JPH01102669A (en) 1987-10-15 1987-10-15 Device number setting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62259982A JPH01102669A (en) 1987-10-15 1987-10-15 Device number setting system

Publications (1)

Publication Number Publication Date
JPH01102669A true JPH01102669A (en) 1989-04-20

Family

ID=17341635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62259982A Pending JPH01102669A (en) 1987-10-15 1987-10-15 Device number setting system

Country Status (1)

Country Link
JP (1) JPH01102669A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009913B2 (en) 2003-10-06 2006-03-07 Mitsubishi Denki Kabushiki Kaisha Sequence controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009913B2 (en) 2003-10-06 2006-03-07 Mitsubishi Denki Kabushiki Kaisha Sequence controller

Similar Documents

Publication Publication Date Title
US4390969A (en) Asynchronous data transmission system with state variable memory and handshaking protocol circuits
US3713096A (en) Shift register interconnection of data processing system
CZ282214B6 (en) Optimization method of decision making on a bus and apparatus for making the same
GB2110507A (en) Time division switching matrix
US4613936A (en) Centralized generation of data transfer acknowledge pulses for microprocessors
JPH01102669A (en) Device number setting system
JPH0691546B2 (en) Communication control method and apparatus
US3858187A (en) Read only memory system
JPH0232656B2 (en)
EP0351157B1 (en) Semiconductor integrated circuits
JPS5942893B2 (en) Method and device for executing data processing instructions
CN100353718C (en) System and method for expanding I2C bus
JPS6386630A (en) Frame synchronization system in parallel transmission line
US4222101A (en) Arrangement for branching an information flow
JPS5892024A (en) Method and apparatus for controlling interface between systems
US4357679A (en) Arrangement for branching an information flow
US20220188254A1 (en) Methods for identifying target slave address for serial communication interface
GB2234372A (en) Mass memory device
JPS60209864A (en) Data transmission circuit unit
SU1594555A2 (en) Interface between two computers
SU1411726A1 (en) Information input device
RU2146064C1 (en) Device for software control
SU1003064A1 (en) Information exchange device
SU1444787A1 (en) Device for interfacing data transmission channel with trunk line
SU1508218A1 (en) User to communication channel interface