JPH0993270A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH0993270A
JPH0993270A JP7249473A JP24947395A JPH0993270A JP H0993270 A JPH0993270 A JP H0993270A JP 7249473 A JP7249473 A JP 7249473A JP 24947395 A JP24947395 A JP 24947395A JP H0993270 A JPH0993270 A JP H0993270A
Authority
JP
Japan
Prior art keywords
station
polling
mode
master station
slave
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
JP7249473A
Other languages
Japanese (ja)
Inventor
Shigeo Asahi
重男 朝日
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7249473A priority Critical patent/JPH0993270A/en
Publication of JPH0993270A publication Critical patent/JPH0993270A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data transmission system which starts quickly. SOLUTION: When a remote station 2 recognizes it that a master station 1 sends a CSMA/CD command, the remote station 2 judges it that the communication mode is the CSMA/CD mode. After taking a random standby time, an ID address allocated to its own station is sent. When collision on the transmission line 3 is detected, a random standby time is again taken and the ID address is sent. When no collision is detected, after the remote station 2 is in standby till the remote station 2 recognizes it that the master station 1 sends a polling/ selecting command, the remote station 2 makes usual transmission processing in the polling/selecting mode.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、親局と複数の子局
との間でポーリング/セレクティング方式によってデー
タ伝送を行うデータ伝送システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system for transmitting data between a master station and a plurality of slave stations by a polling / selecting method.

【0002】[0002]

【従来の技術】この様なデータ伝送システムの構成の一
例を図4に示す。図4は、データ伝送システムの概略的
構成を示すものであり、親局たるマスタステーション5
は、複数の子局たるリモートステーション6とツイスト
ペアケーブルからなる伝送路7によって接続されてい
る。そして、リモートステーション6群は、コントロー
ルセンタ8の一部を構成するものである。マスタステー
ション5は、プログラマブルコントローラからの指示に
基づいて、複数のモータ保護リレー(何れも図示せず)
に接続された複数のリモートステーション6間でデータ
の送受信を行う。マスタステーション5は、その内部に
図示しない伝送用メモリを有しており、その伝送用メモ
リには、プログラマブルコントローラが書込み及び読出
し可能に接続されている。
2. Description of the Related Art An example of the structure of such a data transmission system is shown in FIG. FIG. 4 shows a schematic configuration of a data transmission system, which is a master station 5 as a master station.
Are connected to a remote station 6 which is a plurality of slave stations by a transmission line 7 which is a twisted pair cable. The group of remote stations 6 constitutes a part of the control center 8. The master station 5 has a plurality of motor protection relays (none of which are shown) based on an instruction from the programmable controller.
Data is transmitted / received between the plurality of remote stations 6 connected to. The master station 5 has a transmission memory (not shown) therein, and a programmable controller is connected to the transmission memory in a writable and readable manner.

【0003】そして、マスタステーション5のプログラ
マブルコントローラは、コントロールセンタ8の複数の
リモートステーション6からデータを得ようとする場合
には、伝送用メモリの所定領域にデータを書込むことに
よって、マスタステーション5に、リモートステーショ
ン6に対するトーカアドレス(送信要求アドレス)を伝
送路7上に出力させる。
When the programmable controller of the master station 5 tries to obtain data from a plurality of remote stations 6 of the control center 8, the programmable controller writes the data in a predetermined area of the transmission memory to thereby obtain data from the master station 5. Then, the talker address (transmission request address) for the remote station 6 is output on the transmission path 7.

【0004】すると、各リモートステーション6の中
で、そのトーカアドレスが自分に割当てられているアド
レスであると判断したものは、自分が所有しているモー
タ保護リレーのデータをマスタステーション5に割当て
られているリスナアドレス(受信要求アドレス)と共に
伝送路7に出力し、マスタステーション5は、このデー
タを受信して、伝送用メモリの受信領域に書込む。而し
て、マスタステーション5のプログラマブルコントロー
ラは、このデータを伝送用メモリから読込んで、データ
に基づいて処理を行う。以上は所謂ポーリングである。
Then, among the remote stations 6, if it is determined that the talker address is the address assigned to itself, the data of the motor protection relay owned by itself is assigned to the master station 5. It outputs to the transmission path 7 together with the listening address (reception request address), and the master station 5 receives this data and writes it in the reception area of the transmission memory. Then, the programmable controller of the master station 5 reads this data from the transmission memory and performs processing based on the data. The above is so-called polling.

【0005】また、マスタステーション5のプログラマ
ブルコントローラは、各リモートステーション6に接続
された図示しないモータの駆動を制御する場合には、マ
スタステーション5に、リモートステーション6に対す
るリスナアドレス(受信要求アドレス)を伝送路7上に
出力させる。そして、各リモートステーション6の中
で、そのリスナアドレスが自分に割当てられているアド
レスであると判断したものは、そのリスナアドレスの後
に付加されている制御データを読込んで、その制御デー
タに応じてモータの停動を制御する。以上がセレクティ
ングである。
When controlling the drive of a motor (not shown) connected to each remote station 6, the programmable controller of the master station 5 gives the master station 5 a listener address (reception request address) for the remote station 6. It is output on the transmission line 7. Then, among the remote stations 6, the one that determines that the listener address is the address assigned to itself reads the control data added after the listener address, and according to the control data, Control motor stall. The above is selecting.

【0006】この様なポーリング/セレクティング方式
において、例えば、n個のリモートステーション6に対
してポーリングを行う場合は、第1リモートステーショ
ン6,第2リモートステーション6,…,第nリモート
ステーション6に対するトーカアドレスを順次送出する
ことによりスキャンして、各リモートステーション6が
保持しているデータを順次得るようになっている。
In such a polling / selecting system, for example, when polling n remote stations 6, the first remote station 6, the second remote station 6, ... Scanning is performed by sequentially transmitting talker addresses, and the data held by each remote station 6 is sequentially obtained.

【0007】このため、マスタステーション5は、シス
テムの起動時において、伝送路7にリモートステーショ
ン6が何個接続されているかをチェックする(初期子局
接続検出)ために、イニシャルポーリングを実施してい
る。このイニシャルポーリングとは、マスタステーショ
ン5が伝送路7に接続されるリモートステーション6の
最小から最大までのトーカアドレスを順次送出して、応
答があったリモートステーション6が接続されていると
判断するものである。そして、以降の通常のポーリング
におけるスキャンでは、マスタステーション5は、接続
されているリモートステーション6のトーカアドレスだ
けを送出する。
Therefore, the master station 5 carries out initial polling at the time of system startup to check how many remote stations 6 are connected to the transmission line 7 (initial slave station connection detection). There is. In this initial polling, the master station 5 sequentially sends the talker addresses from the minimum to the maximum of the remote stations 6 connected to the transmission line 7, and determines that the remote station 6 that responded is connected. Is. Then, in subsequent scans in normal polling, the master station 5 sends only the talker address of the connected remote station 6.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、このイ
ニシャルポーリングにおいては、実際に伝送路7に接続
されているリモートステーション6の数に拘らず、マス
タステーション5は、常に最小から最大までのトーカア
ドレスを順次送出して、その送出毎に応答を一定時間待
つため無駄な待ち時間を要することになり、システムた
るコントロールセンタ8の起動が遅く、直ぐに運転を開
始させることができなかった。
However, in this initial polling, regardless of the number of remote stations 6 actually connected to the transmission line 7, the master station 5 always gives the talker address from the minimum to the maximum. Since the control center 8 as a system is started up slowly, the operation cannot be started immediately because the control center 8 as a system is delayed because the control center 8 is sent out sequentially and a response is waited for a fixed time each time.

【0009】本発明は上記課題を解決するもので、その
目的は、親局が伝送路に対する各子局の接続の有無の検
出を迅速に行うことができるデータ伝送システムを提供
することにある。
The present invention solves the above problems, and an object thereof is to provide a data transmission system in which a master station can quickly detect whether or not each slave station is connected to a transmission path.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載のデータ伝送システムは、親局と複数
の子局とを伝送路を介して接続し、ポーリング/セレク
ティング方式によってデータ伝送を行うものにおいて、
起動時に親局が各子局の伝送路に対する接続の有無をチ
ェックする初期子局接続検出を、親局がCSMA/CD
コマンドを発行して伝送路の通信モードをCSMA/C
Dモードにして、各子局が送信するアドレスを受信する
ことにより行うことを特徴とする。
In order to achieve the above object, a data transmission system according to a first aspect of the present invention is a data transmission system in which a master station and a plurality of slave stations are connected via a transmission path, and data is polled / selecting. In the transmission,
When the master station detects the initial slave station connection detection when the master station checks whether there is a connection to the transmission path of each slave station at startup, the master station detects the CSMA / CD
Issue a command to change the communication mode of the transmission line to CSMA / C
This is performed by setting the D mode and receiving the address transmitted by each slave station.

【0011】この場合、親局は、伝送路の通信モードを
CSMA/CDモードにした場合は、子局からのアドレ
スの送信が一定時間以上無い場合に全子局のアドレスの
送信が完了したと判断して、ポーリング/セレクティン
グ・コマンドを発行して伝送路の通信モードをポーリン
グ/セレクティング・モードに切替えるようにしても良
い(請求項2)。
In this case, when the master station sets the communication mode of the transmission path to the CSMA / CD mode, it is said that the transmission of the addresses of all the slave stations is completed when the transmission of the addresses from the slave stations is not performed for a certain time or more. Alternatively, the polling / selecting command may be issued to switch the communication mode of the transmission path to the polling / selecting mode (claim 2).

【0012】また、子局は、伝送路の通信モードがCS
MA/CDモードになった場合は、自局のアドレスの送
信を完了した後、親局がポーリング/セレクティング・
コマンドを発行するまで待機状態に保持するようにして
も良い(請求項3)。
Further, the slave station has a communication mode of CS on the transmission line.
In MA / CD mode, the master station completes transmission of its own address and then the master station polls / selects.
You may make it hold | maintain on standby until a command is issued (Claim 3).

【0013】更に、親局は、伝送路の通信モードがポー
リング/セレクティング・モードである場合にも、ポー
リングにおいて各子局を1回スキャンする毎に、初期子
局接続検出と同様の処理を中間子局接続検出として行っ
ても良い(請求項4)。
Further, even when the communication mode of the transmission path is the polling / selecting mode, the master station performs the same process as the initial slave station connection detection every time each slave station is scanned once in polling. It may be carried out as the intermediate station connection detection (Claim 4).

【0014】更にまた、親局は、伝送路の通信モードが
ポーリング/セレクティング・モードである場合にも、
ポーリングにおいて各子局を複数回スキャンする毎に1
回、初期子局接続検出と同様の処理を中間子局接続検出
として行っても良い(請求項5)。
Furthermore, when the communication mode of the transmission path is the polling / selecting mode, the master station
1 every time each slave station is scanned multiple times during polling
The same process as the initial slave station connection detection may be performed as the intermediate slave station connection detection (claim 5).

【0015】加えて、親局は、子局がシステムの運転中
に伝送路に接続されて親局に対して子局接続検出要求コ
マンドを発行した場合に、初期子局接続検出と同様の処
理を中間子局接続検出として行っても良い(請求項
6)。
In addition, when the slave station is connected to the transmission line while the system is operating and issues a slave station connection detection request command to the master station, the master station performs the same processing as the initial slave station connection detection. May be performed as the intermediate station connection detection (claim 6).

【0016】[0016]

【発明の実施の形態】以下、本発明の一実施例について
図1乃至図3を参照して説明する。図3は、データ伝送
システムの概略的構成を示すものであり、親局たるマス
タステーション1は、複数の子局たるリモートステーシ
ョン2とツイストペアケーブルからなる伝送路3によっ
て接続されている。そして、リモートステーション2群
は、コントロールセンタ4の一部を構成するものであ
る。マスタステーション1は、プログラマブルコントロ
ーラからの指示に基づいて、複数のモータ保護リレー
(何れも図示せず)に接続された複数のリモートステー
ション2間でデータの送受信を行う。マスタステーショ
ン1は、その内部に図示しない伝送用メモリを有してお
り、その伝送用メモリには、プログラマブルコントロー
ラが書込み及び読出し可能に接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. FIG. 3 shows a schematic configuration of a data transmission system. A master station 1 which is a master station is connected to a remote station 2 which is a plurality of slave stations by a transmission line 3 which is a twisted pair cable. The remote station 2 group constitutes a part of the control center 4. The master station 1 transmits / receives data between a plurality of remote stations 2 connected to a plurality of motor protection relays (none of which is shown) based on an instruction from the programmable controller. The master station 1 has a transmission memory (not shown) therein, and a programmable controller is connected to the transmission memory in a writable and readable manner.

【0017】本実施例における構成は、図4に示した従
来と略同様であり、以下異なる作用について図1及び図
2を参照して説明する。リモートステーション2内部の
制御内容のフローチャートを示す図1においては、コン
トロールセンタ4が起動されると、各リモートステーシ
ョン2は、先ず、「CSMA/CDコマンド送信あり
?」の処理ステップS1において、マスタステーション
1によって伝送路3上にCSMA/CDコマンドが送信
(発行)されたか否かを判断する。CSMA/CDコマ
ンドが送信されず「NO」と判断すると、「通常伝送処
理」の処理ステップS6に移行して、後述するように通
常伝送処理ルーチンを実行した後ステップS1に移行す
る。
The configuration of this embodiment is substantially the same as that of the conventional one shown in FIG. 4, and different operations will be described below with reference to FIGS. 1 and 2. In FIG. 1, which shows a flow chart of the control contents inside the remote station 2, when the control center 4 is activated, each remote station 2 firstly, in the processing step S1 of "CSMA / CD command transmission?" It is determined by 1 whether or not the CSMA / CD command is transmitted (issued) on the transmission path 3. When the CSMA / CD command is not transmitted and it is determined to be "NO", the process proceeds to step S6 of the "normal transmission process" to execute a normal transmission process routine as will be described later, and then to step S1.

【0018】一方、ステップS1において、マスタステ
ーション1から伝送路3上にCSMA/CDコマンドが
送信され「YES」と判断すると(図2(a)参
照)、各リモートステーション2は、伝送路3の通信モ
ードがCSMA/CDモードに移行したと判断する。こ
のCSMA/CDモードとは、イーサネット(ETHERNET)
などで行われているCSMA/CD(Carrier Sence Mu
ltiple Access with Collision Detection)通信方式と
同様のものである。そして、各リモートステーション2
は、「ランダムディレイ処理」の処理ステップS2に移
行する。
On the other hand, in step S1, when the CSMA / CD command is transmitted from the master station 1 onto the transmission line 3 and it is determined to be "YES" (see FIG. 2A), each remote station 2 has the transmission line 3 connected. It is determined that the communication mode has shifted to the CSMA / CD mode. This CSMA / CD mode is Ethernet (ETHERNET)
CSMA / CD (Carrier Sence Mu
ltiple Access with Collision Detection) It is similar to the communication method. And each remote station 2
Shifts to the processing step S2 of "random delay processing".

【0019】処理ステップS2においては、各リモート
ステーション2は、内部の図示しない乱数発生器などに
より与えられた乱数に応じて、ランダムな待機時間を取
った後、「アドレス送信」の処理ステップS3に移行す
る。処理ステップS3においては、各リモートステーシ
ョン2は、伝送路3上にデータ伝送用のキャリア(搬送
信号)が検出されないことを確認した上で、自局に割当
てられているIDアドレス(アドレス)をマスタステー
ション1に対して送信する(図2(c)参照)。そし
て、「衝突検出?」の判断ステップS4に移行する。
In processing step S2, each remote station 2 takes a random waiting time according to a random number given by an internal random number generator or the like, and then proceeds to processing step S3 of "address transmission". Transition. In processing step S3, each remote station 2 confirms that no carrier (carrier signal) for data transmission is detected on the transmission path 3, and then masters the ID address (address) assigned to itself. It is transmitted to the station 1 (see FIG. 2 (c)). Then, the process proceeds to the judgment step S4 of "collision detected?".

【0020】判断ステップS4においては、各リモート
ステーション2は、伝送路3の状態をモニタすることに
より、ステップS3で自局のIDアドレスを送信した結
果、伝送路3上で衝突(Collision )が発生したか否か
を判断する。この衝突とは、伝送路3上を送信データが
伝搬して行くのに時間差があるため、キャリアが検出さ
れないことを確認した上で、あるリモートステーション
2が送信を行ったとしても他のリモートステーション2
も同時に送信を行う場合があり、その結果生ずる送信デ
ータの衝突である。
In the determination step S4, each remote station 2 monitors the state of the transmission path 3 and, as a result of transmitting the ID address of its own station in step S3, a collision (Collision) occurs on the transmission path 3. Judge whether or not. This collision means that there is a time lag in transmitting the transmission data on the transmission path 3, so after confirming that no carrier is detected, even if one remote station 2 transmits, another remote station Two
May simultaneously perform transmission, resulting in collision of transmission data.

【0021】あるリモートステーション2において衝突
が検出され、判断ステップS4で「YES」と判断する
と、ステップS2及びS3に移行して、再度ランダムな
待機時間を取った後にIDアドレスを再送信する。そし
て、ステップS4において衝突が検出されず、IDアド
レスの送信が正常に行われて「NO」と判断するまで、
ステップS2乃至S4のループを繰返す。
If a collision is detected at a certain remote station 2 and if "YES" is determined in the determination step S4, the process proceeds to steps S2 and S3, and the ID address is retransmitted after taking a random waiting time again. Then, until no collision is detected in step S4, the ID address is normally transmitted, and the determination is “NO”,
The loop of steps S2 to S4 is repeated.

【0022】判断ステップS4において衝突が検出され
ず「NO」と判断すると、「ポーリング/セレクティン
グ・コマンド送信あり?」の判断ステップS5に移行す
る。判断ステップS5においては、リモートステーショ
ン2は、マスタステーション1によって伝送路3上にポ
ーリング/セレクティング・コマンドが送信されるまで
待機する。マスタステーション1は、リモートステーシ
ョン2がランダムに送信するIDアドレスの送信時間間
隔をモニタしている。CSMA/CDコマンドを発行し
た直後は、IDアドレスの送信時間間隔は短いが、各リ
モートステーション2が次第にIDアドレスの送信を完
了して行くと、その送信時間間隔は次第に長くなる。そ
して、送信時間間隔が一定時間以上になった場合は、全
てのリモートステーション2がIDアドレスの送信を完
了したと判断することができる。
If a collision is not detected and it is judged "NO" in the judgment step S4, the process proceeds to a judgment step S5 of "polling / selecting command transmitted?". In the determination step S5, the remote station 2 waits until the master station 1 transmits a polling / selecting command on the transmission path 3. The master station 1 monitors the transmission time interval of the ID address randomly transmitted by the remote station 2. Immediately after issuing the CSMA / CD command, the transmission time interval of the ID address is short, but as each remote station 2 gradually completes the transmission of the ID address, the transmission time interval gradually becomes longer. Then, when the transmission time interval becomes equal to or longer than the predetermined time, it can be determined that all the remote stations 2 have completed the transmission of the ID address.

【0023】而して、マスタステーション1は、全ての
リモートステーション2がIDアドレスの送信を完了し
たと判断すると、伝送路3上にポーリング/セレクティ
ング・コマンドを送信する(図2(a)参照)。そし
て、各リモートステーション2は、判断ステップS5に
おいて「YES」と判断して、伝送路3の通信モードが
ポーリング/セレクティング・モードに移行したことを
認識して(CSMA/CDモードを解除して)、ステッ
プS6に移行して通常の伝送処理を行う。以上の処理が
初期子局接続検出として行われ、マスタステーション1
は、伝送路3上にリモートステーション2が何局接続さ
れているかを検出することができる。
When the master station 1 determines that all the remote stations 2 have completed the transmission of the ID address, the master station 1 transmits a polling / selecting command on the transmission line 3 (see FIG. 2 (a)). ). Then, each remote station 2 judges "YES" in the judgment step S5 and recognizes that the communication mode of the transmission line 3 has shifted to the polling / selecting mode (the CSMA / CD mode is released). ), And proceeds to step S6 to perform normal transmission processing. The above processing is performed as the initial slave station connection detection, and the master station 1
Can detect how many remote stations 2 are connected on the transmission path 3.

【0024】処理ステップS6は、ポーリング/セレク
ティング・モードによる通常の伝送処理である。リモー
トステーション2は、マスタステーション1からリスナ
若しくはトーカアドレスが送信されるのを待ち、トーカ
アドレスが送信されると、付帯された制御コマンドに従
ってモータを始動させる。その後は、マスタステーショ
ン1は、初期子局接続検出において接続されていること
が確認された各リモートステーション2のトーカアドレ
スを順次送信するスキャン動作を行ない、各リモートス
テーション2が保持しているモータに関する各種データ
を定期的に得ることによりモータの運転状態をモニタす
ると共に、必要に応じてモータの運転を制御する。
Process step S6 is a normal transmission process in the polling / selecting mode. The remote station 2 waits for the listener or talker address to be transmitted from the master station 1, and when the talker address is transmitted, the remote station 2 starts the motor according to the attached control command. After that, the master station 1 performs a scanning operation to sequentially transmit the talker address of each remote station 2 which is confirmed to be connected in the initial slave station connection detection, and relates to the motor held by each remote station 2. The operation state of the motor is monitored by periodically obtaining various data, and the operation of the motor is controlled if necessary.

【0025】以上のような通常の伝送処理ルーチンを終
了すると、ステップS1に移行して、リモートステーシ
ョン2は、マスタステーション1から再びCSMA/C
Dコマンドが送信されていないかを定期的にチェック
し、送信されていない場合は、またステップS6へ移行
する。
When the normal transmission processing routine as described above is completed, the process moves to step S1 and the remote station 2 restarts from the master station 1 to the CSMA / C.
It is periodically checked whether or not the D command is transmitted, and if not transmitted, the process proceeds to step S6.

【0026】以上のように本実施例によれば、マスタス
テーション1は、初期子局接続検出を、起動時にCSM
A/CDコマンドを発行し、伝送路3の通信モードをC
SMA/CDモードにして、各リモートステーション2
が送信するIDアドレスを受信することにより行うの
で、従来とは異なり、無駄な待ち時間を要すること無く
迅速に行うことができ、迅速に起動して運転を開始させ
ることができる。
As described above, according to this embodiment, the master station 1 detects the initial slave station connection at the time of starting the CSM.
Issue the A / CD command and set the communication mode of transmission line 3 to C
Each remote station 2 in SMA / CD mode
Since it is performed by receiving the ID address transmitted by, unlike the prior art, it can be performed promptly without needing a useless waiting time, and can be promptly started up to start the operation.

【0027】また、本実施例によれば、マスタステーシ
ョン1は、伝送路3の通信モードをCSMA/CDモー
ドにした場合は、リモートステーション2からのIDア
ドレスの送信が一定時間以上ない場合は、全てのリモー
トステーション2からのIDアドレスの送信が完了した
と判断して、ポーリング/セレクティング・コマンドを
送信して伝送路3の通信モードをポーリング/セレクテ
ィング・モードに切替えるので、伝送路3の通信モード
の切替えを迅速に行うことができる。
Further, according to this embodiment, when the master station 1 sets the communication mode of the transmission line 3 to the CSMA / CD mode, when the ID address is not transmitted from the remote station 2 for a certain time or longer, It is judged that the transmission of the ID addresses from all the remote stations 2 is completed, and the polling / selecting command is transmitted to switch the communication mode of the transmission line 3 to the polling / selecting mode. The communication mode can be switched quickly.

【0028】更に、本実施例によれば、リモートステー
ション2は、伝送路3の通信モードがCSMA/CDモ
ードになった場合は、自局のIDアドレスの送信を完了
した後、マスタステーション1がポーリング/セレクテ
ィング・コマンドを送信するまで待機状態に保持される
ので、伝送路3の通信モードの切替りに迅速に対応する
ことができる。
Further, according to the present embodiment, when the communication mode of the transmission line 3 is the CSMA / CD mode, the remote station 2 completes the transmission of its own ID address and then the master station 1 Since the standby state is held until the polling / selecting command is transmitted, it is possible to quickly respond to the switching of the communication mode of the transmission path 3.

【0029】本発明は上記しかつ図面に記載した実施例
にのみ限定されるものではなく、次のような変形または
拡張が可能である。マスタステーション1は、伝送路3
の通信モードがポーリング/セレクティング・モードで
ある場合にも、初期子局接続検出と同様の処理を、ポー
リングにおいて各リモートステーション2を1回スキャ
ンする毎に中間子局接続検出として行っても良い。斯様
にすれば、データ伝送システムの起動後に伝送路3に接
続若しくは伝送路3から離脱したリモートステーション
2を検出することができる。
The present invention is not limited to the embodiments described above and shown in the drawings, but the following modifications and expansions are possible. The master station 1 has a transmission line 3
Even when the communication mode is the polling / selecting mode, the processing similar to the initial slave station connection detection may be performed as the intermediate slave station connection detection every time each remote station 2 is scanned in the polling. By doing so, it is possible to detect the remote station 2 connected to or disconnected from the transmission line 3 after the data transmission system is activated.

【0030】また、この中間子局接続検出を、ポーリン
グにおいて各リモートステーション2を複数回スキャン
する毎に1回行うようにしても良い。斯様にすれば、デ
ータ伝送システムの伝送効率を高めることができる。
Further, this intermediate station connection detection may be performed once every time each remote station 2 is scanned a plurality of times in polling. By doing so, the transmission efficiency of the data transmission system can be improved.

【0031】リモートステーション2が起動後に伝送路
3に接続された場合は、その接続されたリモートステー
ション2からマスタステーション1に子局接続検出要求
コマンドを送信するようにして、マスタステーション1
は、子局接続検出要求コマンドを受信した場合に中間子
局接続検出を行うようにしても良い。斯様に構成すれ
ば、データ伝送システムの伝送効率を更に高めることが
できる。
When the remote station 2 is connected to the transmission line 3 after being activated, the slave station connection detection request command is transmitted from the connected remote station 2 to the master station 1 so that the master station 1
May detect the intermediate slave station connection when the slave station connection detection request command is received. According to this structure, the transmission efficiency of the data transmission system can be further improved.

【0032】伝送路3の通信モードがCSMA/CDモ
ードになった場合は、リモートステーション2は自局に
割当てられたIDアドレスを送信するようにしたが、自
局に割当てられたトーカアドレスまたはリスナアドレス
を送信しても良い。コントロールセンタ4に限ること無
く、親局と複数の子局とを伝送路によって接続するデー
タ伝送システムであれば適用が可能である。
When the communication mode of the transmission path 3 becomes the CSMA / CD mode, the remote station 2 transmits the ID address assigned to itself, but the talker address or listener assigned to itself is transmitted. You may send the address. Not limited to the control center 4, any data transmission system can be applied as long as it is a data transmission system that connects a master station and a plurality of slave stations via a transmission path.

【0033】[0033]

【発明の効果】本発明は以上説明した通りであるので、
以下の効果を奏する。請求項1記載のデータ伝送システ
ムによれば、親局は、起動時にCSMA/CDコマンド
を発行し、伝送路の通信モードをCSMA/CDモード
にして、各子局が送信するアドレスを受信することによ
り各子局の伝送路に対する接続の有無をチェックするの
で、従来とは異なり、伝送路に対する各子局の接続の有
無の検出を無駄な待ち時間を要すること無く迅速に行う
ことができるので、システムを迅速に起動して運転を開
始させることができる。
Since the present invention is as described above,
The following effects are obtained. According to the data transmission system of claim 1, the master station issues a CSMA / CD command at startup, sets the communication mode of the transmission path to CSMA / CD mode, and receives the address transmitted by each slave station. Since the presence or absence of connection to the transmission path of each slave station is checked by, unlike the conventional method, it is possible to quickly detect the presence or absence of the connection of each slave station to the transmission path without needing unnecessary waiting time. The system can be started up quickly and put into operation.

【0034】請求項2記載のデータ伝送システムによれ
ば、親局は、伝送路の通信モードをCSMA/CDモー
ドにした場合は、子局からのアドレスの送信が一定時間
以上無い場合に全子局のアドレスの送信が完了したと判
断して、伝送路の通信モードをポーリング/セレクティ
ング・モードに切替えるので、通信モードの切替えを迅
速に行うことができる。
According to the data transmission system of the second aspect, when the master station sets the communication mode of the transmission path to the CSMA / CD mode, when all addresses are not transmitted from the slave station for a certain time or longer, all the slave stations Since it is judged that the transmission of the station address is completed and the communication mode of the transmission path is switched to the polling / selecting mode, the communication mode can be switched quickly.

【0035】請求項3記載のデータ伝送システムによれ
ば、子局は、伝送路の通信モードがCSMA/CDモー
ドになった場合は、自局のアドレスの送信を完了した
後、親局がポーリング/セレクティング・コマンドを発
行するまで待機状態に保持される。
According to the data transmission system of the third aspect, when the communication mode of the transmission path becomes the CSMA / CD mode, the slave station polls the master station after completing transmission of its own address. / Held in a standby state until a selecting command is issued.

【0036】請求項4記載のデータ伝送システムによれ
ば、親局は、伝送路の通信モードがポーリング/セレク
ティング・モードである場合にも、ポーリングにおいて
各子局を1回スキャンする毎に中間子局接続検出を行う
ので、システムの起動後に伝送路に接続若しく伝送路か
ら離脱した子局を検出することができる。
According to the data transmission system of the fourth aspect, even when the communication mode of the transmission path is the polling / selecting mode, the master station has an intermediate node each time each slave station is scanned once in polling. Since the station connection is detected, it is possible to detect a slave station that is connected to the transmission path or has left the transmission path after the system is activated.

【0037】請求項5記載のデータ伝送システムによれ
ば、親局は、伝送路の通信モードがポーリング/セレク
ティング・モードである場合にも、ポーリングにおいて
各子局を複数回スキャンする毎に1回中間子局接続検出
を行うので、伝送効率を高めることができる。
According to the data transmission system of the fifth aspect, even if the communication mode of the transmission path is the polling / selecting mode, the master station makes 1 every time each slave station scans a plurality of times in polling. Since the intermediate slave station connection is detected, the transmission efficiency can be improved.

【0038】請求項6記載のデータ伝送システムによれ
ば、親局は、子局がシステムの運転中に伝送路に接続さ
れ、親局に対して子局接続検出要求コマンドを発行した
場合に中間子局接続検出を行うので、伝送効率を更に高
めることができる。
According to the data transmission system of the sixth aspect, the master station is connected to the transmission path while the slave station is operating, and when the slave station issues a slave station connection detection request command to the master station, Since the station connection is detected, the transmission efficiency can be further improved.

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

【図1】本発明の一実施例を示すリモートステーション
の制御内容のフローチャート
FIG. 1 is a flowchart of control contents of a remote station showing an embodiment of the present invention.

【図2】コントロールセンタのデータ伝送を示す概念図FIG. 2 is a conceptual diagram showing data transmission of a control center.

【図3】データ伝送システムの構成図FIG. 3 is a block diagram of a data transmission system

【図4】従来技術を示す図3相当図FIG. 4 is a view corresponding to FIG. 3 showing a conventional technique.

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

1はマスタステーション(親局)、2はリモートステー
ション(子局)、3は伝送路、4はコントロールセンタ
(データ伝送システム)を示す。
Reference numeral 1 is a master station (master station), 2 is a remote station (slave station), 3 is a transmission line, and 4 is a control center (data transmission system).

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 親局と複数の子局とを伝送路を介して接
続し、ポーリング/セレクティング方式によってデータ
伝送を行うデータ伝送システムにおいて、 起動時に親局が各子局の伝送路に対する接続の有無をチ
ェックする初期子局接続検出を、親局がCSMA/CD
コマンドを発行して伝送路の通信モードをCSMA/C
Dモードにして、各子局が送信するアドレスを受信する
ことにより行うことを特徴とするデータ伝送システム
1. In a data transmission system in which a master station and a plurality of slave stations are connected via a transmission path and data is transmitted by a polling / selecting method, the master station connects to the transmission path of each slave station at startup. The parent station detects the initial slave station connection detection that checks for the presence of
Issue a command to change the communication mode of the transmission line to CSMA / C
Data transmission system characterized by performing in D mode by receiving an address transmitted by each slave station
【請求項2】 親局は、伝送路の通信モードをCSMA
/CDモードにした場合は、子局からのアドレスの送信
が一定時間以上無い場合に全子局のアドレスの送信が完
了したと判断して、ポーリング/セレクティング・コマ
ンドを発行して伝送路の通信モードをポーリング/セレ
クティング・モードに切替えることを特徴とする請求項
1記載のデータ伝送システム。
2. The master station sets the communication mode of the transmission path to CSMA.
In the / CD mode, if the addresses from the slave stations are not transmitted for a certain period of time or more, it is determined that the addresses of all the slave stations have been transmitted, and a polling / selecting command is issued to send the transmission path. 2. The data transmission system according to claim 1, wherein the communication mode is switched to a polling / selecting mode.
【請求項3】 子局は、伝送路の通信モードがCSMA
/CDモードになった場合は、自局のアドレスの送信を
完了した後、親局がポーリング/セレクティング・コマ
ンドを発行するまで待機状態に保持されることを特徴と
する請求項2記載のデータ伝送システム。
3. The slave station has a transmission line communication mode of CSMA.
3. The data according to claim 2, wherein in the / CD mode, after the transmission of the address of the own station is completed, the master station is kept in a standby state until it issues a polling / selecting command. Transmission system.
【請求項4】 親局は、伝送路の通信モードがポーリン
グ/セレクティング・モードである場合にも、ポーリン
グにおいて各子局を1回スキャンする毎に、初期子局接
続検出と同様の処理を中間子局接続検出として行うこと
を特徴とする請求項1乃至3の何れかに記載のデータ伝
送システム。
4. The master station performs the same processing as the initial slave station connection detection every time each slave station is scanned once in polling even when the communication mode of the transmission path is the polling / selecting mode. The data transmission system according to any one of claims 1 to 3, wherein the data transmission system is performed as an intermediate station connection detection.
【請求項5】 親局は、伝送路の通信モードがポーリン
グ/セレクティング・モードである場合にも、ポーリン
グにおいて各子局を複数回スキャンする毎に1回、初期
子局接続検出と同様の処理を中間子局接続検出として行
うことを特徴とする請求項1乃至3の何れかに記載のデ
ータ伝送システム。
5. The master station, even when the communication mode of the transmission path is the polling / selecting mode, is the same as the initial slave station connection detection once every time each slave station is scanned multiple times in polling. The data transmission system according to any one of claims 1 to 3, wherein the processing is performed as an intermediate slave station connection detection.
【請求項6】 親局は、子局がシステムの運転中に伝送
路に接続されて親局に対して子局接続検出要求コマンド
を発行した場合に、初期子局接続検出と同様の処理を中
間子局接続検出として行うことを特徴とする請求項1乃
至3の何れかに記載のデータ伝送システム。
6. The master station performs the same process as the initial slave station connection detection when the slave station is connected to the transmission line while the system is operating and issues a slave station connection detection request command to the master station. The data transmission system according to any one of claims 1 to 3, wherein the data transmission system is performed as an intermediate station connection detection.
JP7249473A 1995-09-27 1995-09-27 Data transmission system Pending JPH0993270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7249473A JPH0993270A (en) 1995-09-27 1995-09-27 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7249473A JPH0993270A (en) 1995-09-27 1995-09-27 Data transmission system

Publications (1)

Publication Number Publication Date
JPH0993270A true JPH0993270A (en) 1997-04-04

Family

ID=17193490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7249473A Pending JPH0993270A (en) 1995-09-27 1995-09-27 Data transmission system

Country Status (1)

Country Link
JP (1) JPH0993270A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100442821B1 (en) * 2001-09-20 2004-08-02 삼성전자주식회사 Data communication method based backoff number control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100442821B1 (en) * 2001-09-20 2004-08-02 삼성전자주식회사 Data communication method based backoff number control

Similar Documents

Publication Publication Date Title
JP5536958B2 (en) How to automatically assign addresses to similar bus subscribers
JPH0683221B2 (en) Data communication method and communication system
JPH0512161A (en) Method of detecting message identifier in data transmission network of elevator system
JPH0662021A (en) Communication system
JPH0993270A (en) Data transmission system
JP2004531146A (en) Communication apparatus and method supporting carrier sensing multiple access / collision detection (CSMA / CD)
JPH027641A (en) Data transmission control system
JP3369035B2 (en) Communication control method between microcontrollers
JP2004274395A (en) Duplicate address detecting method, slave and master in field bus system, and field bus
JPH11261581A (en) Data communication control equipment
JPH0983561A (en) Inter-network connection device
JPH06311165A (en) Transmission equipment
JPS61210740A (en) Emergency communicating control system for token bus type local network system
JPH0764472A (en) Remote i/o system of programmable controller
JP2724572B2 (en) Token passing LAN device
JPH0575622A (en) Emergency communication control system with priority
JPH06232882A (en) Time division multiplex communication system
JPH0687559B2 (en) Bus type LAN
JP3483547B2 (en) Communication system and communication control device
JPH08251187A (en) Radio communication system
JPH04233015A (en) Time managing system for data transmitter
JP2002271351A (en) Data transmission method and apparatus thereof
JP2003234744A (en) Supervisory and control system
JP2005011285A (en) Data transmission method for monitor control system
JPH0646732B2 (en) Multiple communication system of single communication line