JPH04311123A - Device for allocating identification number - Google Patents

Device for allocating identification number

Info

Publication number
JPH04311123A
JPH04311123A JP10377391A JP10377391A JPH04311123A JP H04311123 A JPH04311123 A JP H04311123A JP 10377391 A JP10377391 A JP 10377391A JP 10377391 A JP10377391 A JP 10377391A JP H04311123 A JPH04311123 A JP H04311123A
Authority
JP
Japan
Prior art keywords
devices
identification number
potential
voltage
constant voltage
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
JP10377391A
Other languages
Japanese (ja)
Inventor
Takeshi Koike
毅 小池
Kenichi Ito
堅一 伊藤
Kunitaka Komaki
邦孝 小槇
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP10377391A priority Critical patent/JPH04311123A/en
Publication of JPH04311123A publication Critical patent/JPH04311123A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Small-Scale Networks (AREA)
  • Numerical Control (AREA)
  • Control By Computers (AREA)

Abstract

PURPOSE:To automatically allocate identification(ID) numbers to plural devices cascade-connected through a serial data line independently of power ON to the devices. CONSTITUTION:An operation device 11 having a communication function and numerical controllers 12 to 15 are cascade-connected through the serial data line 16. Plural resistors R1 to R5 corresponding to the number of devices, having the same resistance value and mutually connected in series are connected to a constant voltage supplying circuit 18. Thereby the potential values of respective resistors are successively dropped from the maximum potential, i.e., the feed voltage of the circuit 18, in each certain voltage value and the voltage is finally reached to a reference potential. Thereby the ID numbers are allocated to the plural devices based upon the voltage impressed to both the terminals of each resistor and a potential difference between the potential of one end side of each terminal and a reference potential.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はシリアルデータラインで
縦列接続された通信機能を有する複数の装置に識別番号
を割りつける識別番号割り付け装置に関し、特にシリア
ルデータラインで縦列接続された、FAシステムのホス
トコンピュタ、複数の数値制御装置、PC、ロボット制
御装置等からなる通信システムや数値制御装置、制御盤
、I/O装置等からなる通信システム、さらに複数の数
値制御装置をトランスファーライン上に組み込んだ数値
制御装置等における識別番号割り付け装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an identification number assigning device for assigning identification numbers to a plurality of devices having communication functions connected in series via a serial data line, and more particularly to an identification number assigning device for an FA system connected in series via a serial data line. A communication system consisting of a host computer, multiple numerical control devices, a PC, a robot control device, etc., a communication system consisting of a numerical control device, a control panel, an I/O device, etc., and multiple numerical control devices installed on the transfer line. This invention relates to an identification number assignment device for a numerical control device or the like.

【0002】0002

【従来の技術】一般に、シリアルデータラインで縦列接
続された複数の装置の間で通信を行うには、各装置に識
別番号を予め割りつけておき、シリアルデータラインに
より送受信される各データパケットにこの識別番号を付
加して、各データの送信先または発信元を明示するよう
にしている。
2. Description of the Related Art Generally, in order to communicate between a plurality of devices connected in series via a serial data line, an identification number is assigned to each device in advance, and each data packet sent and received via the serial data line is assigned an identification number. This identification number is added to clearly indicate the destination or source of each data.

【0003】従来、シリアルデータラインで縦列接続さ
れた複数の数値制御装置に識別番号を割りつけるには、
人為的に各装置の識別番号を決めて各装置内のロータリ
スイッチ等の記憶装置にその識別番号をセットするよう
にしている。あるいは、図4に示すように、マルチドロ
ップシリアルデータライン1で縦列接続された操作装置
2及び複数の数値制御装置3,4,5の端の装置2から
順番に、識別番号割り付け要求用信号ケーブル6,7,
8を介して数字データを転送し、それを受け取った装置
はその数字に1を加えた数字を自己の識別番号として記
憶するとともに、次段の装置にその自己の識別番号の数
字データを転送するようにしている。すなわち、例えば
、操作装置2は識別番号0を記憶するとともに数値制御
装置3に数字データ0を転送する。従って数値制御装置
3は1を識別番号として記憶し、次段に1を転送する。 このようにして各装置に識別番号を割りつけている。
Conventionally, in order to assign identification numbers to a plurality of numerical control devices connected in cascade via a serial data line,
An identification number is artificially determined for each device and the identification number is set in a storage device such as a rotary switch within each device. Alternatively, as shown in FIG. 4, the signal cable for requesting identification number assignment is sequentially connected from the device 2 at the end of the operating device 2 and the plurality of numerical control devices 3, 4, and 5 connected in cascade by the multi-drop serial data line 1. 6,7,
8, and the device that receives it stores the number plus 1 as its own identification number, and also transfers the numeric data of its own identification number to the next device. That's what I do. That is, for example, the operating device 2 stores the identification number 0 and transfers the numerical data 0 to the numerical control device 3. Therefore, the numerical control device 3 stores 1 as the identification number and transfers 1 to the next stage. In this way, each device is assigned an identification number.

【0004】0004

【発明が解決しようとする課題】しかし、上記従来の識
別番号の割り付け技術の内の前者では、記憶装置への識
別番号のセットが人手によるために誤ったセットがなさ
れてしまう可能性があった。また後者では、シリアルデ
ータライン上のいずれかの装置に電源が投入されていな
い場合、その装置より後段の装置に数字データが転送さ
れないため、後段の装置に識別番号の割り付けをするこ
とが不可能になるという問題点があった。
[Problem to be Solved by the Invention] However, in the former of the above-mentioned conventional identification number allocation techniques, the identification numbers are manually set in the storage device, so there is a possibility that incorrect settings may be made. . In addition, in the latter case, if any device on the serial data line is not powered on, the numerical data is not transferred to the subsequent device, making it impossible to assign an identification number to the subsequent device. There was a problem with becoming.

【0005】本発明はこのような点に鑑みてなされたも
のであり、シリアルデータラインで縦列接続された複数
の装置に、それらの装置の電源投入とはかかわりなく自
動的に識別番号を割りつけることを可能にした識別番号
割り付け装置を提供することを目的とする。
[0005] The present invention has been made in view of the above points, and it is an object of the present invention to automatically assign identification numbers to a plurality of devices connected in series via a serial data line, regardless of whether the devices are powered on. The purpose of the present invention is to provide an identification number assignment device that makes it possible to do this.

【0006】[0006]

【課題を解決するための手段】本発明では上記課題を解
決するために、シリアルデータラインで縦列接続された
通信機能を有する複数の装置に識別番号を割りつける識
別番号割り付け装置において、出力の一端を基準電位に
した定電圧供給手段と、前記複数の装置の数と同数であ
り、各抵抗値が同一であるとともに、互いに直列接続し
て前記定電圧供給手段に接続された複数の抵抗と、前記
各抵抗の両端電圧及び前記基準電位に対する前記各抵抗
の一端側の電位差を検出する検出手段と、前記検出手段
で検出された各両端電圧及び各一端側電位差に基づき前
記複数の装置に識別番号を割りつける割り付け手段とを
有することを特徴とする識別番号割り付け装置が、提供
される。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides an identification number allocating device that allocates identification numbers to a plurality of devices having communication functions that are connected in series via a serial data line. a constant voltage supply means having a reference potential as the reference potential; a plurality of resistors having the same number as the plurality of devices, each having the same resistance value, and connected in series to the constant voltage supply means; a detection means for detecting the voltage across each of the resistors and the potential difference at one end of each of the resistors with respect to the reference potential; and an identification number assigned to the plurality of devices based on the voltage across each of the ends and the potential difference at one end detected by the detection means. An identification number allocating device is provided, characterized in that it has an allocating means for allocating an identification number.

【0007】[0007]

【作用】通信機能を有する複数の装置がシリアルデータ
ラインで縦列接続されている。この複数の装置の数と同
数であり、各抵抗値が同一である互いに直列接続した複
数の抵抗が定電圧供給手段に接続されている。定電圧供
給手段の一端は基準電位に接続されている(接地されて
いる)。このため、各抵抗での電位が、定電圧供給手段
が供給する定電圧を前記複数の装置の数で除算して得ら
れた電圧値ずつ、定電圧供給手段の供給電圧を最高電位
として電圧降下し、最後に基準電位に至る。この点に着
目して、割り付け手段は、各抵抗の両端電圧と各抵抗の
一端側の基準電位に対する電位差とに基づき前記複数の
装置に識別番号を割り付ける。
[Operation] A plurality of devices having communication functions are connected in series through a serial data line. A plurality of resistors, which are the same in number as the plurality of devices and have the same resistance value and are connected in series with each other, are connected to the constant voltage supply means. One end of the constant voltage supply means is connected to a reference potential (grounded). Therefore, the potential at each resistor decreases by the voltage value obtained by dividing the constant voltage supplied by the constant voltage supply means by the number of the plurality of devices, with the supply voltage of the constant voltage supply means being the highest potential. Finally, it reaches the reference potential. Focusing on this point, the assigning means assigns identification numbers to the plurality of devices based on the voltage across each resistor and the potential difference between one end of each resistor and a reference potential.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明の識別番号割り付け装置を備えた
通信システムの全体構成図である。操作装置11及び数
値制御装置12,13,14,15がマルチドロップシ
リアルデータライン16によって縦列接続されている。 マルチドロップシリアルデータライン16は、そのライ
ン上のどの位置に操作装置及び数値制御装置を接続して
も、それらの各装置が同じ条件で信号の送受信を行える
ようなシリアルデータ通信線である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an overall configuration diagram of a communication system equipped with an identification number allocating device of the present invention. An operating device 11 and numerical control devices 12, 13, 14, 15 are connected in series by a multi-drop serial data line 16. The multi-drop serial data line 16 is a serial data communication line that allows each of the operating devices and numerical control devices to transmit and receive signals under the same conditions, no matter where on the line the operating devices and numerical control devices are connected.

【0009】一方、操作装置11及び数値制御装置12
,13,14,15に内蔵された各抵抗R1,R2,R
3,R4,R5が、割り付け用ケーブル17を介して直
列に接続されて外部電源である定電圧電源回路18に接
続される。定電圧電源回路18は一方の端子が接地され
、他方の端子に例えば24Vが出力される。抵抗R1,
R2,R3,R4,R5の抵抗値は全て同一の値である
On the other hand, the operating device 11 and the numerical control device 12
, 13, 14, 15, each built-in resistor R1, R2, R
3, R4, and R5 are connected in series via an assignment cable 17 and connected to a constant voltage power supply circuit 18, which is an external power supply. One terminal of the constant voltage power supply circuit 18 is grounded, and the other terminal outputs, for example, 24V. Resistor R1,
The resistance values of R2, R3, R4, and R5 are all the same value.

【0010】図2は数値制御装置12の内部構成を示す
図である。数値制御装置13,14,15も全く同様な
構成となっている。プロセッサ(CPU)21にはバス
22を介して、ドライバ・レシーバ(DV/RV)23
、軸制御回路(AXC)24、RAM25、ROM26
、表示制御回路(CRTC)27、A/Dコンバータ2
8が接続される。ドライバ・レシーバ23はマルチドロ
ップシリアルデータライン16に接続され、CPU21
と他の操作装置11や数値制御装置13,14,15と
の間で行われるパケット通信のバッファとして作動する
。軸制御回路24は、サーボアンプ29を介してサーボ
モータ30に接続され、軸制御回路24はプロセッサ2
1からの軸の移動指令を受けて、軸の駆動指令をサーボ
アンプ29に出力する。サーボアンプ29はこの駆動指
令を受けて軸のサーボモータ30を駆動する。サーボモ
ータ30からはモータの位置検出値が軸制御回路24に
フィードバックされる。サーボモータ30には工作機械
31の可動軸が機械的に接続されている。RAM25に
は各種データが格納され、ROM26には制御プログラ
ム等が記憶されている。表示制御回路27はディジタル
信号を表示信号に変換し、CRT等の表示装置32に出
力する。
FIG. 2 is a diagram showing the internal configuration of the numerical control device 12. The numerical control devices 13, 14, and 15 also have exactly the same configuration. A driver/receiver (DV/RV) 23 is connected to the processor (CPU) 21 via a bus 22.
, axis control circuit (AXC) 24, RAM 25, ROM 26
, display control circuit (CRTC) 27, A/D converter 2
8 is connected. The driver/receiver 23 is connected to the multidrop serial data line 16 and the CPU 21
It operates as a buffer for packet communication between the controller 11 and other operating devices 11 and numerical control devices 13, 14, and 15. The axis control circuit 24 is connected to the servo motor 30 via the servo amplifier 29, and the axis control circuit 24 is connected to the processor 2.
Upon receiving the axis movement command from 1, the axis drive command is output to the servo amplifier 29. The servo amplifier 29 receives this drive command and drives the servo motor 30 of the shaft. A detected motor position value is fed back from the servo motor 30 to the axis control circuit 24 . A movable shaft of a machine tool 31 is mechanically connected to the servo motor 30. The RAM 25 stores various data, and the ROM 26 stores control programs and the like. The display control circuit 27 converts the digital signal into a display signal and outputs it to a display device 32 such as a CRT.

【0011】A/Dコンバータ28の入力端子281,
282には抵抗R2の両端子が接続されるとともに、入
力端子281は割り付け用ケーブル17の、定電圧電源
回路18の高圧側17aに接続され、入力端子282は
割り付け用ケーブル17の、定電圧電源回路18の低圧
側17bに接続される。A/Dコンバータ28の入力端
子283には割り付け用ケーブル17を介して定電圧電
源回路18の接地端子が接続される。入力端子281,
282,283から入力した電位値V1,V2,V3は
A/Dコンバータ28でディジタル値に変換されてプロ
セッサ21に入力される。
Input terminal 281 of A/D converter 28,
Both terminals of the resistor R2 are connected to 282, and the input terminal 281 is connected to the high voltage side 17a of the constant voltage power supply circuit 18 of the assignment cable 17, and the input terminal 282 is connected to the constant voltage power supply of the assignment cable 17. It is connected to the low voltage side 17b of the circuit 18. The input terminal 283 of the A/D converter 28 is connected to the ground terminal of the constant voltage power supply circuit 18 via the allocation cable 17. Input terminal 281,
The potential values V1, V2, and V3 input from 282 and 283 are converted into digital values by the A/D converter 28 and input to the processor 21.

【0012】上記プロセッサ21、ドライバ・レシーバ
23、RAM25、ROM26、A/Dコンバータ28
に相当する装置は操作装置11にも備えられている。図
3はマルチドロップシリアルデータライン16に縦列接
続された操作装置11、数値制御装置12乃至15に識
別番号を割りつける手順を示すフローチャートである。 本プログラムは各装置のROM(ROM26に相当)に
格納されており、各装置の初期化時に各装置のプロセッ
サ(プロセッサ21に相当)で実行されるものである。 以下の説明では、数値制御装置12のプロセッサ21で
の実行を例にとって説明する。Sに続く数字はステップ
番号を示す。
The processor 21, driver/receiver 23, RAM 25, ROM 26, A/D converter 28
The operating device 11 is also equipped with a device corresponding to the above. FIG. 3 is a flowchart showing a procedure for assigning identification numbers to the operating device 11 and numerical control devices 12 to 15 connected in series to the multi-drop serial data line 16. This program is stored in the ROM (corresponding to ROM 26) of each device, and is executed by the processor (corresponding to processor 21) of each device when each device is initialized. In the following explanation, execution by the processor 21 of the numerical control device 12 will be explained as an example. The number following S indicates the step number.

【0013】〔S1〕予め設定されている定電圧電源回
路18の供給電圧Vc(例えば24V)を読み出す。 〔S2〕A/Dコンバータ28の入力端子281,28
2,283から入力した電位値V1,V2,V3(例え
ば0V)を読み込む。 〔S3〕ステップS2で読み込んだ電位値V1,V2を
用いて、抵抗R2の両端電圧値Vrを下記式により算出
する。 Vr=V1−V2 なお、他の装置11,13,14,15における抵抗R
1,R3,R4,R5の両端電圧値も上記両端電圧値V
rと同じ値になる。
[S1] Read out the preset supply voltage Vc (for example, 24 V) of the constant voltage power supply circuit 18. [S2] Input terminals 281, 28 of A/D converter 28
The potential values V1, V2, and V3 (for example, 0 V) inputted from No. 2,283 are read. [S3] Using the potential values V1 and V2 read in step S2, the voltage value Vr across the resistor R2 is calculated by the following formula. Vr=V1-V2 Note that the resistance R in other devices 11, 13, 14, 15
The voltage values at both ends of 1, R3, R4, and R5 are also the above-mentioned voltage value V.
It becomes the same value as r.

【0014】〔S4〕ステップS2で読み込んだ電位値
V1,V3を用いて、抵抗R2の高電位端(17a)の
、定電圧電源回路18の基準電位(接地電位)に対する
電位差Vnを下記式により算出する。 Vn=V1−V3 〔S5〕ステップS1で読み込んだ電圧値Vcと、ステ
ップS3で算出した両端電圧値Vrとを用いて、マルチ
ドロップシリアルデータライン16に縦列接続された装
置11乃至15の全部の数Nを下記式により算出する。 N=Vc/Vr 〔S6〕ステップS1で読み込んだ電圧値Vcと、ステ
ップS3,S4で算出された抵抗R2の両端電圧値Vr
,高電位端の電位差Vnとを用いて、抵抗R2を備えた
数値制御装置12の識別番号nを次式により算出する。 n=(Vc−Vn)/Vr 〔S7〕ステップS6で算出された識別番号nを数値制
御装置12の識別番号としてRAM25に記憶する。
[S4] Using the potential values V1 and V3 read in step S2, calculate the potential difference Vn between the high potential end (17a) of the resistor R2 and the reference potential (ground potential) of the constant voltage power supply circuit 18 using the following formula. calculate. Vn=V1-V3 [S5] Using the voltage value Vc read in step S1 and the both-end voltage value Vr calculated in step S3, all the devices 11 to 15 connected in series to the multi-drop serial data line 16 are The number N is calculated using the following formula. N=Vc/Vr [S6] Voltage value Vc read in step S1 and voltage value Vr across resistor R2 calculated in steps S3 and S4
, and the potential difference Vn at the high potential end, the identification number n of the numerical control device 12 including the resistor R2 is calculated by the following equation. n=(Vc-Vn)/Vr [S7] The identification number n calculated in step S6 is stored in the RAM 25 as the identification number of the numerical control device 12.

【0015】以上のようにして操作装置11、数値制御
装置12,13,14,15に識別番号を割りつけるの
で、人手によらずに自動的に割り付けができるとともに
、操作装置11、数値制御装置12,13,14,15
の内のいずれかに電源が投入されていない装置があった
としても、その投入されていない装置を除いた他の装置
の識別番号の割り付けは何の支障もなく行うことが可能
である。しかも、その電源未投入の装置に電源が改めて
投入されたときにはその投入時点でその装置に対する識
別番号の割り付けが自動的に行われる。さらに、縦列接
続された装置11乃至15の全部の数Nを算出すること
は、通信システム全体のモニタを実行したり、通信シス
テム全体を表示装置に表示する際に有効である。
Since identification numbers are assigned to the operating device 11 and the numerical control devices 12, 13, 14, and 15 in the manner described above, the assignment can be done automatically without manual intervention, and the identification numbers can be assigned to the operating device 11 and the numerical control devices 12, 13, 14, 15
Even if there is a device whose power is not turned on, it is possible to assign identification numbers to other devices other than the device whose power is not turned on without any problem. Moreover, when the power is turned on again to the device that has not been powered on, an identification number is automatically assigned to the device at the time of power on. Furthermore, calculating the total number N of the devices 11 to 15 connected in cascade is effective when monitoring the entire communication system or displaying the entire communication system on a display device.

【0016】上記の説明では、プロセッサ及びA/Dコ
ンバータが、操作装置11、数値制御装置12乃至15
にそれぞれ各1ずつ設けられている通信システムで説明
したが、プロセッサ及びA/Dコンバータが通信システ
ムに各1しかない通信システムにおいても、上記識別番
号の割り付けは可能である。また、上記の説明では、操
作装置と数値制御装置とからなる通信システムの識別番
号の割り付けを説明したが、本発明は、シリアルデータ
ラインで縦列接続された、FAシステムのホストコンピ
ュタ、複数の数値制御装置、PC、ロボット制御装置等
からなる通信システムや数値制御装置、制御盤、I/O
装置等からなる通信システム、さらに複数の数値制御装
置をトランスファーライン上に組み込んだ数値制御装置
等に適用が可能である。
In the above description, the processor and the A/D converter are connected to the operating device 11 and the numerical control devices 12 to 15.
Although the description has been made for a communication system in which one processor and one A/D converter are provided in the communication system, the above-mentioned identification numbers can also be assigned. Further, in the above explanation, the assignment of identification numbers to a communication system consisting of an operating device and a numerical control device has been explained. Communication system consisting of control device, PC, robot control device, etc., numerical control device, control panel, I/O
The present invention can be applied to communication systems consisting of devices, etc., as well as numerical control devices incorporating a plurality of numerical control devices on a transfer line.

【0017】[0017]

【発明の効果】以上説明したように本発明では、シリア
ルデータラインで縦列接続された通信機能を有する複数
の装置にそれぞれ設けられた各抵抗の両端電圧と各抵抗
の一端側の基準電位に対する電位差とに基づき複数の装
置に識別番号を割り付けるようにしたので、シリアルデ
ータラインで縦列接続された複数の装置に自動的に、し
かも、それらの装置の電源投入とはかかわりなく識別番
号を割り付けることが可能となる。
As explained above, in the present invention, the potential difference between the voltage across each resistor provided in each of a plurality of devices having a communication function connected in series through a serial data line and the reference potential at one end of each resistor is determined. Since identification numbers are assigned to multiple devices based on the above, it is possible to automatically assign identification numbers to multiple devices connected in cascade via a serial data line, regardless of whether the devices are powered on. It becomes possible.

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

【図1】本発明の識別番号割り付け装置を備えた通信シ
ステムの全体構成図である。
FIG. 1 is an overall configuration diagram of a communication system equipped with an identification number allocation device of the present invention.

【図2】数値制御装置の内部構成を示す図である。FIG. 2 is a diagram showing the internal configuration of a numerical control device.

【図3】操作装置、数値制御装置に識別番号を割りつけ
る手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure for assigning identification numbers to operating devices and numerical control devices.

【図4】従来の、マルチドロップシリアルデータライン
で縦列接続された操作装置及び複数の数値制御装置の番
号割り付けを説明する図である。
FIG. 4 is a diagram illustrating number assignment of a conventional operating device and a plurality of numerical control devices connected in cascade via a multi-drop serial data line.

【符号の説明】[Explanation of symbols]

11  操作装置 12,13,14,15  数値制御装置16  マル
チドロップシリアルデータライン17  割り付け用ケ
ーブル 18  定電圧電源回路
11 Operating device 12, 13, 14, 15 Numerical control device 16 Multi-drop serial data line 17 Assignment cable 18 Constant voltage power supply circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  シリアルデータラインで縦列接続され
た通信機能を有する複数の装置に識別番号を割りつける
識別番号割り付け装置において、出力の一端を基準電位
にした定電圧供給手段と、前記複数の装置の数と同数で
あり、各抵抗値が同一であるとともに、互いに直列接続
して前記定電圧供給手段に接続された複数の抵抗と、前
記各抵抗の両端電圧及び前記基準電位に対する前記各抵
抗の一端側の電位差を検出する検出手段と、前記検出手
段で検出された各両端電圧及び各一端側電位差に基づき
前記複数の装置に識別番号を割りつける割り付け手段と
、を有することを特徴とする識別番号割り付け装置。
1. An identification number assignment device that assigns identification numbers to a plurality of devices having a communication function connected in series via a serial data line, comprising: constant voltage supply means with one end of the output set as a reference potential; a plurality of resistors, each having the same resistance value and connected in series to the constant voltage supply means, and the voltage across each of the resistors and the reference potential Identification characterized by having a detection means for detecting a potential difference on one end side, and an assignment means for assigning an identification number to the plurality of devices based on each both-end voltage and each one end side potential difference detected by the detection means. Numbering device.
【請求項2】  前記検出手段及び割り付け手段はそれ
ぞれ前記複数の装置の数と同数だけ設けられ、前記抵抗
、検出手段、及び割り付け手段が前記複数の装置にそれ
ぞれ各1ずつ設けられることを特徴とする請求項1記載
の識別番号割り付け装置。
2. The detection means and the allocation means are each provided in the same number as the plurality of devices, and each of the resistors, the detection means, and the allocation means are provided one each for each of the plurality of devices. The identification number allocating device according to claim 1.
【請求項3】  前記割り付け手段は、前記定電圧供給
手段が供給する定電圧をVc、前記検出手段で検出され
た各両端電圧をVr、前記各抵抗の高電位端の、前記基
準電位に対する電位差をVnとするとき、前記抵抗が対
応する前記装置の識別番号nを次式により算出し、n 
 =(Vc  −  Vn)/  Vr前記複数の装置
に各識別番号を割りつけることを特徴とする請求項1記
載の識別番号割り付け装置。
3. The allocating means sets a constant voltage supplied by the constant voltage supplying means as Vc, a voltage across each end detected by the detecting means as Vr, and a potential difference between a high potential end of each of the resistors with respect to the reference potential. is Vn, the identification number n of the device to which the resistor corresponds is calculated by the following formula, and n
=(Vc - Vn)/Vr The identification number assignment device according to claim 1, wherein each identification number is assigned to the plurality of devices.
【請求項4】  前記割り付け手段は、さらに前記検出
手段で検出された各両端電圧に基づき前記複数の装置の
数を特定することを特徴とする請求項1記載の識別番号
割り付け装置。
4. The identification number allocating device according to claim 1, wherein the allocating means further specifies the number of the plurality of devices based on the voltage across each terminal detected by the detecting means.
【請求項5】  前記割り付け手段は、前記定電圧供給
手段が供給する定電圧をVc、前記検出手段で検出され
た各両端電圧をVrとするとき、前記複数の装置の数N
を次式 N  =  Vc  /  Vr により算出することを特徴とする請求項4記載の識別番
号割り付け装置。
5. The allocation means determines the number N of the plurality of devices, where Vc is the constant voltage supplied by the constant voltage supply means, and Vr is the voltage across each end detected by the detection means.
5. The identification number allocating device according to claim 4, wherein N=Vc/Vr is calculated by the following formula: N=Vc/Vr.
JP10377391A 1991-04-09 1991-04-09 Device for allocating identification number Pending JPH04311123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10377391A JPH04311123A (en) 1991-04-09 1991-04-09 Device for allocating identification number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10377391A JPH04311123A (en) 1991-04-09 1991-04-09 Device for allocating identification number

Publications (1)

Publication Number Publication Date
JPH04311123A true JPH04311123A (en) 1992-11-02

Family

ID=14362771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10377391A Pending JPH04311123A (en) 1991-04-09 1991-04-09 Device for allocating identification number

Country Status (1)

Country Link
JP (1) JPH04311123A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010160635A (en) * 2009-01-07 2010-07-22 Fujikura Ltd Module connection system
JP2011114706A (en) * 2009-11-27 2011-06-09 Fujikura Ltd Module connection system
JP2016133877A (en) * 2015-01-16 2016-07-25 ファナック株式会社 Numerical control system with internal-register self-reset function by serial communication signal monitoring

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010160635A (en) * 2009-01-07 2010-07-22 Fujikura Ltd Module connection system
JP2011114706A (en) * 2009-11-27 2011-06-09 Fujikura Ltd Module connection system
JP2016133877A (en) * 2015-01-16 2016-07-25 ファナック株式会社 Numerical control system with internal-register self-reset function by serial communication signal monitoring
US10012975B2 (en) 2015-01-16 2018-07-03 Fanuc Corporation Numerical control system including internal register self-reset function with serial communication signal monitoring

Similar Documents

Publication Publication Date Title
US4517637A (en) Distributed measurement and control system for industrial processes
US5537605A (en) Method and apparatus for controlling at least one piece of equipment
EP0910026B1 (en) Measurement data processing unit
EP1211582B1 (en) Arrangement for the surveillance, control and regulation of a technical installation of a building automation system
US20080040515A1 (en) Method and System for Automated Configuring of a Hart Multi-Drop System
US6085259A (en) Addressing apparatus and method
CN110830338A (en) Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium
JPH04311123A (en) Device for allocating identification number
EP0965895A2 (en) Control System with an input/output card interface
US4322849A (en) Data relay system
US5144295A (en) Interruption processing system in time division multiplex transmission system
EP0301736A1 (en) Input-output device
JPH1083215A (en) Motor controller
CN107770300B (en) Address allocation method and device
JP4540957B2 (en) Control device and method for electric unit for microscope
JPH0237805Y2 (en)
EP0540984B1 (en) Centralized change of parameters of hall and car equipment
JP2882238B2 (en) Programmable controller and method of assigning input / output units
JP3200829B2 (en) Control device
JP3630744B2 (en) Air conditioner
JPH0567292A (en) System for compensating measured value
JP2794991B2 (en) Group control device for air conditioner
JPS60684B2 (en) Control device interface
JPS6127787B2 (en)
JPH01117549A (en) Communication control equipment