JP3355961B2 - Transmission system - Google Patents

Transmission system

Info

Publication number
JP3355961B2
JP3355961B2 JP28819296A JP28819296A JP3355961B2 JP 3355961 B2 JP3355961 B2 JP 3355961B2 JP 28819296 A JP28819296 A JP 28819296A JP 28819296 A JP28819296 A JP 28819296A JP 3355961 B2 JP3355961 B2 JP 3355961B2
Authority
JP
Japan
Prior art keywords
station
slave
station number
control
slave station
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.)
Expired - Lifetime
Application number
JP28819296A
Other languages
Japanese (ja)
Other versions
JPH10135995A (en
Inventor
昌宏 高橋
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP28819296A priority Critical patent/JP3355961B2/en
Publication of JPH10135995A publication Critical patent/JPH10135995A/en
Application granted granted Critical
Publication of JP3355961B2 publication Critical patent/JP3355961B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、制御局と複数の
従局との間で交信を行う伝送システムに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission system for communicating between a control station and a plurality of slave stations.

【0002】[0002]

【従来の技術】制御局と複数の従局間でデータ授受を行
う場合において、バス形式の伝送路を用いてシリアルデ
ータの伝送を行うバス方式の伝送システムが多用されて
いる。図8は、制御局、第1従局、第2従局、第3従
局、および、第4従局がバス形式の伝送路により接続さ
れている従来の伝送システムの概略を示す接続図であ
る。図において、801は子局を5局分まで制御できる
機能を持つ制御局である。第1従局、第2従局、およ
び、第3従局はそれぞれ局番を1つだけ占有する(子局
を1つ有する)単一局番占有従局であり、第4従局は2
つの局番を占有する(子局を2つ有する)複数局番占有
従局である。512は制御回路、508はパラレル/シ
リアル変換回路、509はシリアル/パラレル変換回
路、601は局番設定用スイッチ、602はCPU等と
接続するための汎用入出力回路部、604は従局から制
御局801へシリアルデータを伝送する信号線、605
は制御局801から従局へシリアルデータを伝送する信
号線、701は局番加算値設定回路である。なお、第1
従局、第2従局、第3従局、および、第4従局の局番設
定用スイッチ601はそれそれ1、2、3、4に設定さ
れている。第4従局内の加算値設定回路701におい
て”1”が設定されていると、第1従局の局番は1、第
2従局の局番は2、第3従局の局番は3、第4従局は局
番4および局番5を占有する。
2. Description of the Related Art When data is exchanged between a control station and a plurality of slave stations, a bus-type transmission system for transmitting serial data using a bus-type transmission path is often used. FIG. 8 is a connection diagram schematically showing a conventional transmission system in which a control station, a first slave station, a second slave station, a third slave station, and a fourth slave station are connected by a bus-type transmission path. In the figure, reference numeral 801 denotes a control station having a function of controlling up to five slave stations. The first slave station, the second slave station, and the third slave station are single station number occupying slave stations occupying only one station number (having one slave station), and the fourth slave station is occupying 2 station numbers.
This is a slave station occupying a plurality of station numbers (having two slave stations) occupying one station number. 512 is a control circuit, 508 is a parallel / serial conversion circuit, 509 is a serial / parallel conversion circuit, 601 is a station number setting switch, 602 is a general-purpose input / output circuit unit for connecting to a CPU or the like, 604 is a slave station to the control station 801. 605, a signal line for transmitting serial data to
Is a signal line for transmitting serial data from the control station 801 to the slave station, and 701 is a station number addition value setting circuit. The first
The station number setting switches 601 of the slave station, the second slave station, the third slave station, and the fourth slave station are set to 1, 2, 3, and 4, respectively. When "1" is set in the addition value setting circuit 701 in the fourth slave station, the station number of the first slave station is 1, the station number of the second slave station is 2, the station number of the third slave station is 3, and the fourth slave station is the station number. 4 and station number 5 are occupied.

【0003】図6は単一局番占有従局を示すブロック構
成図である。図において、603は変復調回路、50
1、504、505、510、511は、それぞれ制御
回路512の局番データ入力用端子、加算値設定用端
子、I/Oバッファおよび汎用入出力端子、シリアルデ
ータ送信用外部出力端子、受信用外部入力端子である。
FIG. 6 is a block diagram showing a single station number occupied slave station. In the figure, reference numeral 603 denotes a modulation / demodulation circuit;
Reference numerals 1, 504, 505, 510, and 511 denote station number data input terminals, added value setting terminals, I / O buffers and general-purpose input / output terminals of the control circuit 512, serial data transmission external output terminals, and reception external inputs, respectively. Terminal.

【0004】図5は制御回路512の詳細を示すブロッ
ク構成図である。図において、502は局番保持回路、
503は局番加算回路、506は送信データ用バッファ
および送信制御回路部、507は受信データ用バッファ
および受信制御回路部である。
FIG. 5 is a block diagram showing details of the control circuit 512. In the figure, reference numeral 502 denotes a station number holding circuit,
503 is a station number adding circuit, 506 is a transmission data buffer and transmission control circuit unit, and 507 is a reception data buffer and reception control circuit unit.

【0005】図7は、複数局番占有従局の内部のブロッ
ク構成図である。この複数占有従局は図5に示す制御回
路512が2つ設けられている。局番加算値設定回路7
01は、局番設定用スイッチ601により設定された局
番に加算する値を保持している。この複数局番占有従局
は図6に示す単一局番占有従局と比べ、2倍の量のデー
タ(2子局分のデータ)の授受ができるので、例えば、
1子局分のデータ量を越えるデータ量〜2子局分のデー
タ量までのデータにより初めて一纏まりの意味のあるデ
ータになる場合などにおいては、図7に示す従局が用い
られる。
FIG. 7 is a block diagram showing the internal arrangement of a slave station occupying a plurality of station numbers. This multiple occupancy slave station is provided with two control circuits 512 shown in FIG. Station number addition value setting circuit 7
01 holds a value to be added to the station number set by the station number setting switch 601. This multi-station number occupied slave station can exchange twice the amount of data (data for two slave stations) as compared with the single station number occupied slave station shown in FIG.
The slave station shown in FIG. 7 is used when, for example, the data from the data amount exceeding the data amount for one slave station to the data amount for two slave stations becomes meaningful data for one group.

【0006】図9は、制御局801が従局に送信する伝
送フレームの構成を示す説明図である。図において、9
01はデータ伝送開始フラグのエリア、902は送信先
アドレス(送信先従局の局番)のエリア、903は制御
コードのエリア、904は子局データのエリア、905
は伝送誤り制御コードのエリア、906はデータ伝送終
了フラグのエリアである。制御局801はこのようなフ
ォーマットの伝送フレームにより従局にデータを送る。
図6に示す単一局番占有従局においては、制御局との間
での1回の伝送による伝送データの量は1つの伝送フレ
ームにより送られるデータ量である。なお、1つの伝送
フレームのエリア904に乗せられるデータを1子局分
のデータと称する。
FIG. 9 is an explanatory diagram showing a configuration of a transmission frame transmitted from the control station 801 to a slave station. In the figure, 9
01 is the area of the data transmission start flag, 902 is the area of the destination address (station number of the destination slave station), 903 is the area of the control code, 904 is the area of the slave station data, 905
Is an area for a transmission error control code, and 906 is an area for a data transmission end flag. The control station 801 sends data to the slave station using a transmission frame of such a format.
In the single station number occupied slave station shown in FIG. 6, the amount of data transmitted by one transmission with the control station is the amount of data transmitted by one transmission frame. It should be noted that the data to be put in the area 904 of one transmission frame is referred to as data for one slave station.

【0007】例えば、図8の第2従局に対してのみデー
タを送信する場合には、制御局801は図9のエリア9
02に送信先従局の局番である”02”を、エリア90
3に制御局801からのデータ送信を従局2が受信して
よいことを示すコード等をそれぞれ設定した伝送フレー
ムを送信する。各従局はエリア902内の局番号と自局
番号が一致した場合に伝送フレームが自局宛のものであ
ると判断しその内容を取り込む。すなわち、この場合に
は第2従局のみがこの伝送フレームのエリア904の内
容を取り込む。
For example, when transmitting data only to the second slave station in FIG. 8, the control station 801 operates in the area 9 in FIG.
In the area 90, "02" which is the station number of the destination slave station is added to the area 90.
3, a transmission frame in which a code or the like indicating that the slave station 2 may receive data transmission from the control station 801 is transmitted. Each slave station determines that the transmission frame is addressed to its own station when the station number in the area 902 matches the own station number, and takes in the contents. That is, in this case, only the second slave fetches the contents of area 904 of the transmission frame.

【0008】図10は、制御局からの送信要求(以下、
ポーリングと示す)に対する応答として従局が制御局に
送信する伝送フレームを示す図である。図において、1
001は制御局801のアドレス(送信先制御局の局番
である”00”)のエリア、1002は制御局801へ
送信するデータ(1子局分のデータ)のエリアである。
従局はこのようなフォーマットの伝送フレームによりポ
ーリング応答を行なう。
FIG. 10 shows a transmission request from a control station (hereinafter referred to as a transmission request).
FIG. 8 is a diagram illustrating a transmission frame transmitted from a slave station to a control station as a response to the polling (shown as polling). In the figure, 1
001 is an area of the address of the control station 801 (“00” which is the station number of the destination control station), and 1002 is an area of data to be transmitted to the control station 801 (data for one slave station).
The slave station makes a polling response with a transmission frame of such a format.

【0009】次に、図8に示すシステムにおいて、制御
局801が第2従局とデータ授受を行なう際の動作につ
いて説明する。第2従局に対して送信を行なう場合に
は、図9に示す伝送フレームにおいて、送信先の従局の
アドレスとなる局番”02”をエリア902に書き込
み、エリア904に子局データを書き込み送信する。第
2従局ではこれを受信すると、エリア905を参照し、
伝送誤りが発見されない場合には、正常受信とみなすと
ともに自局に対する伝送フレームであると認め、その子
局データを内部に保持する。
Next, the operation of the system shown in FIG. 8 when the control station 801 exchanges data with the second slave station will be described. When transmitting to the second slave station, in the transmission frame shown in FIG. 9, the station number "02" which is the address of the slave station of the transmission destination is written in the area 902, and the slave station data is written and transmitted in the area 904. Upon receiving this, the second slave station refers to area 905,
If no transmission error is found, it is regarded as a normal reception and a transmission frame for the own station, and the slave station data is held inside.

【0010】次に、第2従局は正常受信したことを示す
応答として、図10に示す伝送フレームのエリア100
2に自局アドレスである”02”を書き込み、制御局8
01に送信する。なお、ポーリングの場合には、制御局
801からの受信データ内(エリア1002内)はダミ
ーのデータが書き込まれ、エリア903内にポーリング
のみであることが書き込まれる。
[0010] Next, the second slave station responds as a response indicating normal reception to the area 100 of the transmission frame shown in FIG.
2 to the control station 8
Send to 01. In the case of polling, dummy data is written in the data received from the control station 801 (in the area 1002), and information indicating that only polling is performed is written in the area 903.

【0011】制御局801が第4従局にデータの送信を
行なう場合には、第4従局は複数の(2つの)子局を有
する複数局番占有従局であるため、制御局801は局番
4の子局への伝送フレームと局番5の子局5への伝送フ
レームの両方を個別に送信する。第4従局側では、局番
4の子局に対する伝送フレームは加算値設定用端子50
4が接地されている制御回路512で受信し、局番5の
子局への伝送フレームは加算値設定端子504に局番加
算値設定回路701からの信号が入力されている制御回
路512で受信する。第4従局は、このようにして制御
局801からの2子局分のデータを受信することができ
る。
When the control station 801 transmits data to the fourth slave station, the fourth slave station is a slave station occupying a plurality of station numbers having a plurality of (two) slave stations. Both the transmission frame to the station and the transmission frame to the slave station 5 of the station number 5 are individually transmitted. On the fourth slave station side, the transmission frame for the slave station of station number 4 is the addition value setting terminal 50.
4 is received by the control circuit 512 that is grounded, and the transmission frame to the slave station of station number 5 is received by the control circuit 512 in which the signal from the station number addition value setting circuit 701 is input to the addition value setting terminal 504. The fourth slave station can receive data for two slave stations from the control station 801 in this way.

【0012】例えば、第4従局の局番設定用スイッチ6
01が”5”に設定された場合には、第4従局が占有す
る2つの局番はそれぞれ5と6になる。制御局801が
扱える局番は5までなので、このように局番が6の子局
があっても、制御局801はその子局に対してデータ送
信およびポーリングを行うことができない。従って、制
御局801は局番が6の子局が存在していてもこれを認
識することができない。
For example, the station number setting switch 6 of the fourth slave station
When 01 is set to "5", the two station numbers occupied by the fourth slave station are 5 and 6, respectively. Since the control station 801 can handle up to five station numbers, the control station 801 cannot perform data transmission and polling for the child station even if there is such a child station with the station number 6. Therefore, the control station 801 cannot recognize the slave station having the station number 6 even if it exists.

【0013】図8に示す従来システムにおいては、制御
局801から第4従局への送信(局番が4の子局、およ
び、局番が5の子局への送信)の際に、いずれかの子局
がエラーにより正常に受信することが出来なかった場合
には、第4従局内では直前に受信したデータが保持され
たままの状態になるように構成されている。
In the conventional system shown in FIG. 8, at the time of transmission from the control station 801 to the fourth slave station (transmission to a slave station with a station number of 4 and a slave station with a station number of 5), one of the slave stations If the data cannot be received normally due to an error, the fourth slave station is configured to keep the data received immediately before.

【0014】従局の局番は、図8に示す局番設定用スイ
ッチ601の設定に直接もとづいて決められるため、局
番設定スイッチ601の故障等により設定値が変化した
場合には、例えば、制御局801から送られてくる自局
への伝送フレームが他局に対するものと認識されること
になり正常受信ができなくなる。また、電源投入後に局
番設定を変更すると、制御局801側において、この局
番設定の変更に伴う内部データの更新等ができないた
め、電源投入後においては局番を変更することはできな
かった。
The station number of the slave station is determined directly on the basis of the setting of the station number setting switch 601 shown in FIG. The transmitted transmission frame to the own station is recognized as being for the other station, and normal reception cannot be performed. If the station number setting is changed after the power is turned on, the control station 801 cannot update the internal data in accordance with the change of the station number setting. Therefore, the station number cannot be changed after the power is turned on.

【0015】[0015]

【発明が解決しようとする課題】従来の伝送システムに
おいては、制御局801が扱いうる以上の局番の子局を
有する従局の存在や、局番設定用スイッチ601の故障
や誤操作により局番が変化した従局の存在を制御局80
1が認知できなかったため動作不良の原因究明が困難で
あった。また、複数局番占有従局においては従局内に正
常受信ができる子局と正常受信ができない子局と混在す
る場合においては、この正常受信している側の子局が解
列されないため、そのままでは従局を良品と交換するこ
とができず保守が容易でないという問題点があった。
In the conventional transmission system, there is a slave station having a slave station having a station number larger than the control station 801 can handle, or a slave station whose station number has changed due to a failure or erroneous operation of the station number setting switch 601. Control station 80
Since No. 1 could not be recognized, it was difficult to determine the cause of the malfunction. In the case of a slave station occupying a plurality of station numbers, if a slave station capable of normal reception and a slave station that cannot normally receive signals coexist in the slave station, the slave station receiving the normal reception is not disconnected. Cannot be replaced with a good product and maintenance is not easy.

【0016】この発明は、上述のような問題点を解決す
るためになされたもので、設定範囲を越えた局番が存在
する場合に制御局に通報可能な伝送システムを得ること
を目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a transmission system capable of reporting to a control station when a station number exceeding a set range exists.

【0017】また、複数局番占有従局内に伝送エラーや
回路故障が発生した子局があると正常子局を介して制御
局に通報し、複数局番占有従局内の子局すべてを解列す
る伝送システムを得ることを目的とする。
Further, when there is a slave station in which a transmission error or a circuit failure has occurred in a slave station occupying a plurality of station numbers, the control station is notified via a normal slave station, and all slave stations in the slave station occupying a plurality of station numbers are disconnected. The aim is to get the system.

【0018】また、局番設定用スイッチの故障等により
電源投入後において局番設定値の変化を制御局に伝える
ことのできる伝送システムを得ることを目的とする。
It is another object of the present invention to provide a transmission system capable of transmitting a change in a station number setting value to a control station after power-on due to a failure of a station number setting switch or the like.

【0019】[0019]

【課題を解決するための手段】この発明による伝送シス
テムは、内部に複数の子局を有する複数局番占有従局と
制御局との間で交信が行われる伝送システムにおいて、
複数局番占有従局は、制御局が取扱い得る最大局番を越
える局番に設定されている異常局番子局が自局内の子局
として存在しているか否かを判定する判定手段と、自局
内の子局間での情報授受を行う信号伝達手段とを有し、
異常局番子局が存在しているという判定手段の判定にも
とづき、異常局番子局は信号伝達手段を介して局番が正
常な子局に異常を通報し、複数局番占有従局は自局内の
この局番が正常な子局を介して異常局番子局の存在を制
御局に通報するようにしたものである。
A transmission system according to the present invention is a transmission system in which communication is performed between a control station occupying a plurality of station numbers having a plurality of slave stations therein and a control station.
The slave station occupying a plurality of station numbers is a means for judging whether an abnormal station number set as a station number exceeding the maximum station number that can be handled by the control station exists as a slave station within the own station, and a slave station within the own station. Signal transmission means for exchanging information between the
Based on the determination by the determining means that the abnormal station number exists, the abnormal station number reports an abnormality to the normal station number via the signal transmission means, and the slave station occupying a plurality of station numbers uses this station number within its own station. Is to notify the control station of the presence of the abnormal station number via the normal slave station.

【0020】また、内部に複数の子局を有する複数局番
占有従局と制御局との間で交信が行われる伝送システム
において、複数局番占有従局は自局内の子局間での情報
授受を行う信号伝達手段を有し、複数局番占有従局内に
正常に受信できない異常受信子局が発生した場合にこの
異常受信子局は正常に受信できる正常受信子局に信号伝
達手段を介して異常を通報し、複数局番占有従局は自局
内のこの正常受信子局を介して制御局にこの異常を通報
し自局内のすべての子局が稼動中のシステム構成から解
列されるようにしたものである。
In a transmission system in which communication is performed between a control station occupying a plurality of station numbers and a plurality of slave stations having a plurality of slave stations therein, the slave station occupying a plurality of station numbers is a signal for exchanging information between slave stations within the own station. It has a transmitting means, and when an abnormal receiving slave station that cannot be received normally occurs in the slave station occupying a plurality of station numbers, the abnormal receiving slave station reports an abnormality to the normal receiving slave station that can normally receive via the signal transmitting means. The slave station occupying a plurality of station numbers reports this abnormality to the control station via the normal receiving slave station in the own station so that all slave stations in the own station are disconnected from the operating system configuration.

【0021】また、従局と制御局との間で交信が行われ
る伝送システムにおいて、上記従局は、局番設定用スイ
ッチと、上記局番設定用スイッチからの情報を保持し上
記従局の現在局番がその保持内容にもとづき決められる
保持手段と、上記保持手段の保持内容と上記局番設定用
スイッチからの情報との差異にもとづき上記局番設定用
スイッチによる局番指定の変化を検出する検出手段と、
上記検出手段が上記局番指定の変化を検出した場合にこ
の変化を示す情報を上記制御局に送る送信手段と、を有
するようにしたものである。
In a transmission system in which communication is performed between a slave station and a control station, the slave station holds a switch for setting a station number and information from the switch for setting a station number, and the current station number of the slave station holds the information. Holding means determined based on the contents, detecting means for detecting a change in the station number designation by the station number setting switch based on a difference between the held contents of the holding means and information from the station number setting switch,
And transmitting means for transmitting information indicating the change to the control station when the detecting means detects the change in the designation of the station number.

【0022】また、従局は自局の現在局番を、保持手段
の保持内容にもとづく局番から局番設定用スイッチから
の情報にもとづく局番に切り替える局番変更許可スイッ
チを有するようにしたものである。
The slave station has a station number change permission switch for switching the current station number of the slave station from a station number based on the contents held in the holding means to a station number based on information from a station number setting switch.

【0023】[0023]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.図4はこの発明による一例の伝送システ
ムの構成図である。この伝送システムはシリアルデータ
を伝送する伝送システムであり、制御局、第1従局、第
2従局、第3従局、および、第4従局を有している。第
1従局、第2従局、および、第3従局は局番を1つだけ
占有している単一局番占有従局であり、第4従局は局番
を2つ占有している複数局占有従局である。第1従局、
第2従局、第3従局の局番はそれぞれ、”1”、”
2”、”3”であり、第4従局は局番”4”および”
5”を占有している。なお、図4においては単一局番占
有従局が3つ、複数局番占有従局が1つある場合を示し
ているが、これに限らず制御局801が取扱い得る局数
以内であれば、それぞれ任意の数だけ存在していてもよ
い。
Embodiment 1 FIG. FIG. 4 is a configuration diagram of an example transmission system according to the present invention. This transmission system is a transmission system for transmitting serial data, and has a control station, a first slave station, a second slave station, a third slave station, and a fourth slave station. The first slave station, the second slave station, and the third slave station are single station number occupied slave stations occupying only one station number, and the fourth slave station is a multiple station occupied slave station occupying two station numbers. 1st slave station,
The station numbers of the second and third slave stations are “1” and “1”, respectively.
2 "and" 3 ", and the fourth slave station has station numbers" 4 "and" 4 ".
FIG. 4 shows a case where there are three single-station-number occupied slave stations and one multiple-station-number occupied slave station. However, the number of stations that can be handled by the control station 801 is not limited to this. Any number within the range may be present.

【0024】図2は、図4に示す単一局番占有従局のブ
ロック構成図である。この図2において、202は単一
局番占有従局、113は制御回路、201は局番変更許
可スイッチである。
FIG. 2 is a block diagram of the single station occupied slave station shown in FIG. In FIG. 2, reference numeral 202 denotes a single station number occupied slave station, 113 a control circuit, and 201 a station number change permission switch.

【0025】図1は、図2の制御回路113の詳細を示
すブロック図である。図において、101は局番変更ス
イッチ用端子、102は検出手段、例えば、設定局番/
伝送局番比較回路である。104は従局内交信用制御
部、104aは制御局801が取扱うる最大局番が予め
記憶または設定された最大局番保持手段、10bは最大
局番保持手段の保持内容と局番保持回路502の保持内
容とを比較し局番が異常であるか否かを判定する判定手
段、例えば判定回路である。107は従局内交信用イン
ターフェース、109は従局内交信用入力端子、112
は従局内交信用出力用端子である。
FIG. 1 is a block diagram showing details of the control circuit 113 of FIG. In the figure, 101 is a station number change switch terminal, 102 is a detecting means, for example, a set station number /
This is a transmission station number comparison circuit. 104 is a slave station internal communication control unit; 104a is a maximum station number holding means in which the maximum station number which can be handled by the control station 801 is stored or set in advance; 10b is a holding content of the maximum station number holding means and a holding content of the station number holding circuit 502. A determination unit, for example, a determination circuit that performs comparison and determines whether the station number is abnormal. 107 is a slave communication interface, 109 is a slave communication input terminal, 112
Is a slave communication output terminal.

【0026】図3は、図4の伝送システムに使用される
従局のうち、2つの局番を占有する複数局番占有従局で
ある第4従局のブロック構成図である。図において、第
4従局303は制御回路113を2つ備えており、30
1は一方の制御回路113の従局内交信出力用端子11
2から他方の制御回路113の従局内交信用入力端子1
09へ信号を送るバス、302は他方の制御回路113
の従局内交信用入力端子112から一方の制御回路11
3の従局内交信用出力用端子109へ信号を送るバスで
ある。なお、一方の制御回路113と他方の制御回路1
13との間の信号伝達手段はバス301、および、バス
302より構成される。この第4従局303において、
局番設定用スイッチ601が”n”に設定されている場
合には、加算値設定回路701において”1”が設定さ
れているとすると、第4従局303が占有する2つの局
番は、それぞれ(n)および(n+1)になる。
FIG. 3 is a block diagram of a fourth slave station, which is a slave station occupying a plurality of station numbers occupying two station numbers, among slave stations used in the transmission system of FIG. In the figure, the fourth slave station 303 has two control circuits 113 and 30
1 is a communication output terminal 11 in the slave station of one control circuit 113
2 to the slave communication input terminal 1 of the other control circuit 113
A bus for transmitting a signal to the control circuit 09;
From the slave internal communication input terminal 112 to one of the control circuits 11
3 is a bus for transmitting a signal to the slave station communication output terminal 109. Note that one control circuit 113 and the other control circuit 1
13 is constituted by a bus 301 and a bus 302. In the fourth slave station 303,
When the station number setting switch 601 is set to “n” and the addition value setting circuit 701 is set to “1”, the two station numbers occupied by the fourth slave station 303 are respectively (n ) And (n + 1).

【0027】図4に示す伝送システムにおいては、電源
投入時において、第1従局〜第4従局はそれぞれ局番設
定用スイッチ601により設定された局番を制御回路1
13内の局番保持回路502内に保持し、以後、この局
番保持回路502内に保持されている局番(現在局番)
によりデータ伝送を行う。このように、局番設定用スイ
ッチ601からの局番をそのまま現在局番として用いな
いようにすることにより、伝送途中における局番設定用
スイッチの誤操作や誤動作にもとづく局番の異常変化を
防止することができる。
In the transmission system shown in FIG. 4, when the power is turned on, the first to fourth slave stations each transmit the station number set by the station number setting switch 601 to the control circuit 1.
13 and stored in the station number holding circuit 502, and thereafter, the station number (current station number) held in the station number holding circuit 502.
To perform data transmission. In this way, by not using the station number from the station number setting switch 601 as it is as the current station number, it is possible to prevent an abnormal change in the station number due to erroneous operation or malfunction of the station number setting switch during transmission.

【0028】また、局番設定用スイッチ601の故障等
の原因により、伝送途中に設定局番/伝送局番比較回路
102が局番設定スイッチ601からの局番と現在局番
との不一致を検出した場合には、制御局801からのデ
ータ送信、または、ポーリング応答の際に、この情報が
エリア903に書き込まれた図10に示す伝送フレーム
を制御局801に送信する。なお、この不一致を示す情
報を制御局801に送信する送信手段は送信データ用バ
ッファおよび送信制御回路506とパラレル/シリアル
変換回路508とにより具現される。また、電源投入後
に局番を変更したい場合は、局番変更許可スイッチ20
1をオンにすることにより、局番保持回路502に設定
されている局番は局番設定用スイッチ601からの局番
に更新される。
If the setting station number / transmission station number comparison circuit 102 detects a mismatch between the station number from the station number setting switch 601 and the current station number during transmission due to a failure of the station number setting switch 601 or the like, the control is performed. At the time of data transmission or polling response from the station 801, the transmission frame shown in FIG. 10 in which this information is written in the area 903 is transmitted to the control station 801. The transmission means for transmitting the information indicating the mismatch to the control station 801 is implemented by a transmission data buffer and transmission control circuit 506 and a parallel / serial conversion circuit 508. To change the station number after turning on the power, the station number change permission switch 20
By turning on 1, the station number set in the station number holding circuit 502 is updated to the station number from the station number setting switch 601.

【0029】図4に示す伝送システムおいて、第4従局
の局番設定用スイッチ601が”5”に設定された場合
には、第4従局が占有する2つの局番は、それぞれ、5
および6になる。制御局801の取扱可能な局番は5ま
でなので、制御局801は第4従局内の局番が6の子局
(他方の制御回路113)から局番異常を示す情報を直
接受信することはできない。この第4従局内には予め制
御局801が取扱できる最大局番が記憶されており、第
4従局はこの最大局番を越える局番に局番設定された子
局が自局内に存在しているか否かを判定することができ
る。
In the transmission system shown in FIG. 4, when the station number setting switch 601 of the fourth slave station is set to "5", the two station numbers occupied by the fourth slave station are 5
And 6. Since the station number that can be handled by the control station 801 is up to 5, the control station 801 cannot directly receive the information indicating the station number abnormality from the slave station having the station number 6 (the other control circuit 113) in the fourth slave station. A maximum station number that can be handled by the control station 801 is stored in advance in the fourth slave station, and the fourth slave station determines whether or not a slave station whose station number is set to a station number exceeding the maximum station number exists in its own station. Can be determined.

【0030】また、第4従局の2つの子局のうちの1つ
の子局が局番異常になっっている場合は、バス301を
介して、この異常子局(局番設定が異常な制御回路11
3)から局番設定が正常な子局(局番設定が正常な制御
回路113)に局番設定の異常を示すエラーコードを送
る。正常な局番設定になっている子局は、このエラーコ
ードを受けると図10におけるエリア903にこのエラ
ーコードが書き込まれた伝送フレームを制御局801に
送信する。制御局801はこの伝送フレームを受信し、
局番設定が異常な子局を有する従局があることを認知す
る。
If one of the two slave stations of the fourth slave station has an abnormal station number, the abnormal slave station (the control circuit 11 having an abnormal station number setting) is connected via the bus 301.
From 3), an error code indicating an abnormal station number setting is sent to a slave station having a normal station number setting (control circuit 113 having a normal station number setting). When receiving the error code, the slave station having the normal station number setting transmits a transmission frame in which the error code is written in the area 903 in FIG. 10 to the control station 801. The control station 801 receives this transmission frame,
It recognizes that there is a slave station having a slave station whose station number setting is abnormal.

【0031】また、第4従局が占有する2つの局番のそ
れぞれに対応する2つの子局のうちの1つの子局が受信
不良等の自身の通信異常を検知した場合には、バス30
1またはバス302を介して正常な方の子局に通信異常
を示す情報を送る。制御局801からのこの正常な子局
へのポーリングに対する応答として、この正常な子局は
通信異常の子局があることを示す情報を伝送フレームの
エリア903に書き込み、制御局801に送信する。制
御局801はこの伝送フレームを受信すると、第4従局
内の2つの子局の両方をシステムから解列する。このよ
うな構成にすることにより、異常発生時においてシステ
ムの保守を担当する操作者は第4従局全体を取り外し、
良品の従局と交換すればよく復旧作業を容易化すること
ができる。また、この発明の実施の形態においては、複
数局番占有従局は局番を2つ占有する場合について説明
したが、これに限らず、3つ以上占有するものであって
もよく、同様に制御することによりさらに多量のデータ
を一纏まりのデータとして扱う等の処理が可能になる。
When one of the two slave stations corresponding to each of the two station numbers occupied by the fourth slave station detects its own communication abnormality such as poor reception, the bus 30
1 or information indicating a communication abnormality to the normal slave station via the bus 302. As a response to the polling of the normal slave station from the control station 801, the normal slave station writes information indicating that there is a slave station having a communication error in the area 903 of the transmission frame, and transmits the information to the control station 801. Upon receiving this transmission frame, the control station 801 disconnects both of the two slave stations in the fourth slave station from the system. With such a configuration, the operator in charge of the system maintenance in the event of an abnormality removes the entire fourth slave station,
The replacement work can be facilitated simply by replacing the slave station with a good one. Also, in the embodiment of the present invention, a case has been described in which a plurality of station numbers occupied slave stations occupy two station numbers. However, the present invention is not limited to this, and three or more station numbers may be occupied. Accordingly, processing such as handling a larger amount of data as a set of data becomes possible.

【0032】[0032]

【発明の効果】以上のように本発明によれば、複数局番
占有従局は、制御局が取扱い得る最大局番を越える局番
に設定されている異常局番子局が自局内の子局として存
在しているか否かを判定手段が判定し、異常局番子局が
存在しているという判定手段の判定にもとづき、異常局
番子局は信号伝達手段を介して局番が正常な子局に異常
を通報し、複数局番占有従局は自局内のこの局番が正常
な子局を介して異常局番子局の存在を制御局に通報する
ようにしたので、局番設定用スイッチの設定の誤りやシ
ーケンスプログラムにおける局番指定の誤り等の防止を
容易化できる効果がある。
As described above, according to the present invention, a slave station occupying a plurality of station numbers has an abnormal station number slave station set to a station number exceeding the maximum station number that can be handled by the control station as a slave station within the own station. The determination means determines whether or not there is, based on the determination of the determination means that an abnormal station number slave station is present, the abnormal station number slave station reports an abnormality to a slave station having a normal station number via signal transmission means, The slave station occupying a plurality of station numbers notifies the control station of the existence of a slave station having an abnormal station number through a slave station whose station number is normal in its own station. There is an effect that the prevention of errors and the like can be facilitated.

【0033】また、複数局番占有従局内に正常に受信で
きない異常受信子局が発生した場合にこの異常受信子局
は正常に受信できる正常受信子局に信号伝達手段を介し
て異常を通報し、複数局番占有従局は自局内のこの正常
受信子局を介して制御局にこの異常を通報し自局内のす
べての子局が稼動中のシステム構成から解列されるよう
にしたので、故障時に従局ユニットごと良品と交換でき
保守を容易化できる効果がある。また、制御局が従局内
の子局に関する情報を持たない場合でもこのような動作
ができるので、これらの情報の設定のための操作等を省
略でき操作を容易化できる効果がある。
Further, when an abnormal receiving slave station that cannot be normally received occurs in the slave station occupying a plurality of station numbers, the abnormal receiving slave station reports an abnormality to the normal receiving slave station that can receive normally via signal transmission means. The slave station occupying a plurality of station numbers reports this abnormality to the control station via the normal receiving slave station in the own station so that all slave stations in the own station are disconnected from the operating system configuration. There is an effect that the unit can be replaced with a non-defective one and maintenance can be facilitated. In addition, since such an operation can be performed even when the control station does not have information on the slave stations in the slave station, an operation for setting such information can be omitted and the operation can be simplified.

【0034】また、従局は、局番設定用スイッチからの
情報を保持し自局の現在局番がその保持内容にもとづき
決められる保持手段の保持内容と局番設定用スイッチか
らの情報との差異にもとづき、検出手段が局番設定用ス
イッチによる局番指定の変化を検出した場合にこの変化
を示す情報を送信手段が制御局に送るようにしたので、
従局の局番設定用スイッチの故障や誤操作により局番設
定が変化した場合においても正常にデータ交信ができる
効果がある。また、次回電源投入時における誤動作の発
生等を防止できる効果がある。
The slave station holds the information from the station number setting switch and determines the current station number of the own station based on the held contents, based on the difference between the held contents of the holding means and the information from the station number setting switch. When the detecting means detects a change in the station number designation by the station number setting switch, the transmitting means sends information indicating this change to the control station,
Even if the station number setting changes due to a failure or erroneous operation of the slave station number setting switch, data communication can be performed normally. Further, there is an effect that occurrence of a malfunction at the next power-on can be prevented.

【0035】また、従局は、自局の現在局番を、保持手
段の保持内容にもとづく局番から局番設定用スイッチか
らの情報にもとづく局番に切り替える局番変更許可スイ
ッチを有するようにしたので、電源投入後において自局
の局番を変更できるとともに局番設定における信頼性の
低下を防止できる効果がある。
Further, the slave station has a station number change permission switch for switching the current station number of its own station from the station number based on the contents held in the holding means to the station number based on the information from the station number setting switch. Thus, there is an effect that the station number of the own station can be changed and a decrease in the reliability of the station number setting can be prevented.

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

【図1】 この発明の実施の形態による制御回路のブロ
ック構成図である。
FIG. 1 is a block diagram of a control circuit according to an embodiment of the present invention.

【図2】 この発明の実施の形態による単一局番占有従
局のブロック構成図である。
FIG. 2 is a block diagram of a single station number occupied slave station according to the embodiment of the present invention;

【図3】 この発明の実施の形態による2つの局番を占
有する複数局番占有従局のブロック構成図である。
FIG. 3 is a block diagram of a multiple station number occupying slave station occupying two station numbers according to the embodiment of the present invention;

【図4】 この発明の実施の形態による伝送システムの
構成図である。
FIG. 4 is a configuration diagram of a transmission system according to an embodiment of the present invention.

【図5】 従来の制御回路のブロック構成図である。FIG. 5 is a block diagram of a conventional control circuit.

【図6】 従来の単一局番占有従局のブロック構成図で
ある。
FIG. 6 is a block diagram of a conventional single station number occupied slave station.

【図7】 2つの局番を占有する従来の複数局番占有従
局のブロック構成図である。
FIG. 7 is a block diagram of a conventional multiple station number occupying slave station occupying two station numbers.

【図8】 従来の伝送システムを示すブロック構成図で
ある。
FIG. 8 is a block diagram showing a conventional transmission system.

【図9】 制御局が従局に送信する情報の構成を示す図
である。
FIG. 9 is a diagram illustrating a configuration of information transmitted from a control station to a slave station.

【図10】 従局が制御局に送信する情報の構成を示す
図である。
FIG. 10 is a diagram showing a configuration of information transmitted from a slave station to a control station.

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

101 局番設定変更スイッチ 102 設定局番/伝送局番比較回路 104 従局内交信用制御回路 107 従局内交信用I/F 109 従局内交信用入力端子 112 従局内交信用出力用端子 113 制御回路 201 局番変更許可スイッチ 202 単一局番占有従局 301 バス 302 バス 303 複数局番占有従局 501 局番データ入力用端子 502 局番保持回路 503 局番加算回路 504 加算値設定用端子 505 I/Oバッファおよび汎用入出力端子 506 送信データ用バッファおよび送信制御回路 507 受信データ用バッファおよび受信制御回路 508 パラレル/シリアル変換回路 509 シリアル/パラレル変換回路 510 シリアルデータ外部出力ピン 511 受信用外部入力ピン 512 制御回路 601 局番設定用スイッチ 602 汎用入出力用回路部 603 変復調回路 604 信号線 605 信号線 701 局番加算値設定回路 801 制御局 901 データ伝送開始フラグ 902 送信先アドレス 903 送信データ制御コード 904 データ部 905 伝送誤り制御コード 906 データ送信終了フラグ 1001 制御局アドレス 1002 制御局への送信データ 101 Station number setting change switch 102 Setting station number / transmission station number comparison circuit 104 Intra-station communication control circuit 107 In-station communication I / F 109 In-station communication input terminal 112 In-station communication output terminal 113 Control circuit 201 Station number change permission Switch 202 Single station number occupied slave station 301 Bus 302 Bus 303 Multiple station number occupied slave station 501 Station number data input terminal 502 Station number holding circuit 503 Station number addition circuit 504 Addition value setting terminal 505 I / O buffer and general-purpose input / output terminal 506 For transmission data Buffer and transmission control circuit 507 Receive data buffer and reception control circuit 508 Parallel / serial conversion circuit 509 Serial / parallel conversion circuit 510 Serial data external output pin 511 External reception input pin 512 Control circuit 601 Switch for station number setting H 602 General-purpose input / output circuit section 603 Modulation / demodulation circuit 604 Signal line 605 Signal line 701 Station number addition value setting circuit 801 Control station 901 Data transmission start flag 902 Destination address 903 Transmission data control code 904 Data section 905 Transmission error control code 906 Data Transmission end flag 1001 Control station address 1002 Transmission data to control station

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 12/40 - 12/417 H04L 12/28 H04L 12/44 - 12/46 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 12/40-12/417 H04L 12/28 H04L 12/44-12/46

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 内部に複数の子局を有する複数局番占有
従局と制御局との間で交信が行われる伝送システムにお
いて、上記複数局番占有従局は、上記制御局が取扱い得
る最大局番を越える局番に設定されている異常局番子局
が自局内の子局として存在しているか否かを判定する判
定手段と、自局内の上記子局間での情報授受を行う信号
伝達手段とを有し、上記異常局番子局が存在していると
いう上記判定手段の判定にもとづき、上記異常局番子局
は上記信号伝達手段を介して局番が正常な上記子局に異
常を通報し、上記複数局番占有従局は自局内のこの局番
が正常な子局を介して上記異常局番子局の存在を上記制
御局に通報することを特徴とする伝送システム。
In a transmission system in which communication is performed between a slave station occupying a plurality of station numbers having a plurality of slave stations therein and a control station, the slave station occupying a plurality of station numbers is a station number exceeding the maximum station number that the control station can handle. A determining means for determining whether or not the abnormal station number slave station set as a slave station in the own station, and a signal transmitting means for exchanging information between the slave stations in the own station, Based on the determination by the determination means that the abnormal station number slave station is present, the abnormal station number slave station reports an abnormality to the slave station having a normal station number via the signal transmission means, and the multiple station number occupied slave station. Is a transmission system for notifying the control station of the existence of the abnormal station number slave station via the slave station whose station number is normal in the own station.
【請求項2】 内部に複数の子局を有する複数局番占有
従局と制御局との間で交信が行われる伝送システムにお
いて、上記複数局番占有従局は自局内の上記子局間での
情報授受を行う信号伝達手段を有し、上記複数局番占有
従局内に正常に受信できない異常受信子局が発生した場
合にこの異常受信子局は正常に受信できる正常受信子局
に上記信号伝達手段を介して異常を通報し、上記複数局
番占有従局は自局内のこの正常受信子局を介して上記制
御局にこの異常を通報し自局内のすべての子局が稼動中
のシステム構成から解列されることを特徴とする伝送シ
ステム。
2. A transmission system in which communication is performed between a control station occupying a plurality of station numbers and a plurality of slave stations occupying a plurality of slave stations therein, wherein the slave stations occupying the plurality of station numbers exchange information between the slave stations within the own station. Having a signal transmitting means for performing, when an abnormal receiving child station that cannot be normally received occurs in the plurality of station number occupied slave stations, this abnormal receiving child station transmits to the normal receiving child station that can receive normally via the signal transmitting means. An abnormality is reported, the slave station occupying the plurality of station numbers reports the abnormality to the control station via the normal receiving slave station in the own station, and all slave stations in the own station are disconnected from the operating system configuration. A transmission system characterized by the above.
【請求項3】 従局と制御局との間で交信が行われる伝
送システムにおいて、上記従局は、局番設定用スイッチ
と、上記局番設定用スイッチからの情報を保持し上記従
局の現在局番がその保持内容にもとづき決められる保持
手段と、上記保持手段の保持内容と上記局番設定用スイ
ッチからの情報との差異にもとづき上記局番設定用スイ
ッチによる局番指定の変化を検出する検出手段と、上記
検出手段が上記局番指定の変化を検出した場合にこの変
化を示す情報を上記制御局に送る送信手段と、を有する
ことを特徴とする伝送システム。
3. A transmission in which communication is performed between a slave station and a control station.
In the transmission system, the slave station is a switch for setting a station number, holding means for holding information from the switch for setting the station number, and a current station number of the slave station being determined based on the held content, Detecting means for detecting a change in the station number designation by the station number setting switch based on a difference from information from the station number setting switch; and information indicating the change when the detecting means detects the change in the station number designation. A transmission means for transmitting to a control station.
【請求項4】 従局は自局の現在局番を、保持手段の保
持内容にもとづく局番から局番設定用スイッチからの情
報にもとづく局番に切り替える局番変更許可スイッチを
有することを特徴とする請求項3記載の伝送システム。
4. The slave station according to claim 3, wherein the slave station has a station number change permission switch for switching the current station number of the slave station from a station number based on the held content of the holding means to a station number based on information from a station number setting switch. Transmission system.
JP28819296A 1996-10-30 1996-10-30 Transmission system Expired - Lifetime JP3355961B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28819296A JP3355961B2 (en) 1996-10-30 1996-10-30 Transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28819296A JP3355961B2 (en) 1996-10-30 1996-10-30 Transmission system

Publications (2)

Publication Number Publication Date
JPH10135995A JPH10135995A (en) 1998-05-22
JP3355961B2 true JP3355961B2 (en) 2002-12-09

Family

ID=17727012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28819296A Expired - Lifetime JP3355961B2 (en) 1996-10-30 1996-10-30 Transmission system

Country Status (1)

Country Link
JP (1) JP3355961B2 (en)

Also Published As

Publication number Publication date
JPH10135995A (en) 1998-05-22

Similar Documents

Publication Publication Date Title
JPH04117743A (en) Optical transceiver
US5297134A (en) Loop mode transmission system with bus mode backup
US7260325B2 (en) Network component for an optical network comprising an emergency operation function, especially for an optical network in ring topology
JP3355961B2 (en) Transmission system
US9344326B2 (en) Communication relay apparatus, active system switching method, and communication relay control board
US4307265A (en) Circuit arrangement for transmitting digital signals between transmitting and/or receiving devices operating with different data transmission procedures and different data formats
CN219372452U (en) Ethernet redundancy local area network system based on terminal double network card link aggregation
JP3419979B2 (en) Device state management method and data communication system
CN101630302A (en) Distributing-type digit processing system
KR100229434B1 (en) Dual apparatus for controlling data communication
JPS6398244A (en) Transmission equipment for loop shaped network system
KR0136396B1 (en) Restoration bus structure and access method for message bttween exchanger processors
JPS63981B2 (en)
JP2959860B2 (en) Multiplex transmission method
KR960011705B1 (en) Signal terminal group management processor apparatus in common line signal system
KR200326001Y1 (en) Redundancy device of space switch of electronic exchange
JPH02239739A (en) Indefinite communication network control system
JPS61200737A (en) Exchange service system
JPH0614039A (en) Information communication equipment
JPH07250092A (en) Gateway duplex system
JPS62214462A (en) Parallel signal transmission equipment
KR19990069430A (en) How to Control Nodes in an Exchange Network
JPH104426A (en) Line branching device
JPS6354847A (en) Control ling system for communication terminal
JPS6148249A (en) Line switching device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071004

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081004

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101004

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111004

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121004

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131004

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term