JPH0537569Y2 - - Google Patents

Info

Publication number
JPH0537569Y2
JPH0537569Y2 JP1987143715U JP14371587U JPH0537569Y2 JP H0537569 Y2 JPH0537569 Y2 JP H0537569Y2 JP 1987143715 U JP1987143715 U JP 1987143715U JP 14371587 U JP14371587 U JP 14371587U JP H0537569 Y2 JPH0537569 Y2 JP H0537569Y2
Authority
JP
Japan
Prior art keywords
transmission
switch
data
data transmission
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
JP1987143715U
Other languages
Japanese (ja)
Other versions
JPS6448953U (en
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 filed Critical
Priority to JP1987143715U priority Critical patent/JPH0537569Y2/ja
Publication of JPS6448953U publication Critical patent/JPS6448953U/ja
Application granted granted Critical
Publication of JPH0537569Y2 publication Critical patent/JPH0537569Y2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

【考案の詳細な説明】 〔考案の分野〕 本考案は1次局(親局)と複数個の2次局(子
局)を2芯線でマルチドロツプ式に接続して構成
された多重伝送装置の1次局に関するものであ
る。
[Detailed description of the invention] [Field of the invention] The present invention is a multiplex transmission device configured by connecting a primary station (master station) and a plurality of secondary stations (slave stations) in a multi-drop manner using two-core wires. This concerns the primary station.

〔従来技術とその問題点〕[Prior art and its problems]

(従来技術) 一般に2芯専用線で1次局と複数個の2次局と
を接続してデータ伝送システムを構成する時分割
の多重伝送装置にあつては、各2次局に夫々固有
のアドレスを設定し、そのアドレスに基づいて1
次局と2次局間のデータ伝送を行うようにしてい
る。そして多重伝送装置の1次局においては、伝
送線に接続される2次局の故障、伝送路の異常を
検知するために各2次局に順次一定のデータを送
出し、それを再び2次局から受け取るテストポー
リング処理を行うことがある。又1次局は通常の
データ伝送時に2次局から予期される応答が伝送
されるかどうかをチエツクする伝送異常判定処理
を行つているが、伝送異常があつたときに停止し
たデータ伝送を再び開始させることが必要とな
る。そしてこれらのテストポーリングの開始及び
停止状態からの復帰は夫々別個のスイツチで行う
ようにしている。
(Prior art) In general, in a time-division multiplex transmission device that configures a data transmission system by connecting a primary station and a plurality of secondary stations using a two-core dedicated line, each secondary station has its own unique Set the address and 1 based on that address.
Data is transmitted between the next station and the secondary station. Then, in the primary station of the multiplex transmission equipment, in order to detect a failure in the secondary station connected to the transmission line or an abnormality in the transmission line, a certain amount of data is sequentially sent to each secondary station, and the data is sent back to the secondary station. The test polling process received from the station may be performed. In addition, the primary station performs a transmission abnormality judgment process to check whether the expected response is transmitted from the secondary station during normal data transmission, but the primary station performs transmission abnormality judgment processing to check whether the expected response is transmitted from the secondary station during normal data transmission. It is necessary to start it. The start of these test polling and the return from the stopped state are each performed by separate switches.

(考案が解決しようとする問題点) しかしながらこのような従来の多重伝送装置に
よれば、テストポーリングと停止からの復帰用の
2つのスイツチが必要となるため誤操作が生じ易
いという欠点がある。又2つのスイツチを独立し
て設ける必要があるため価格も上昇するという問
題点があつた。
(Problems to be Solved by the Invention) However, such conventional multiplex transmission equipment has the disadvantage that it is prone to erroneous operation because it requires two switches, one for test polling and one for returning from a stop. Another problem is that the price increases because it is necessary to provide two switches independently.

〔考案の目的〕[Purpose of invention]

本考案はこのような従来の多重伝送装置の問題
点に鑑みてなされたものであつて、テストポーリ
ング処理の開始及び伝送異常時のデータ伝送状態
への復帰を1つのスイツチで行えるようにするこ
とを技術的課題とする。
The present invention has been developed in view of the problems of conventional multiplex transmission equipment, and aims to enable a single switch to start test polling processing and return to a data transmission state in the event of a transmission error. is a technical issue.

〔考案の構成と効果〕[Structure and effect of the idea]

(問題点を解決するための手段) 本考案は1次局と複数個の2次局が伝送線で接
続された多重伝送装置の1次局であつて、第1図
に示すように、各2次局との送受信を行うデータ
伝送手段1と、スイツチ信号を与えるスイツチ手
段2と、データ伝送手段による伝送実行中にスイ
ツチ手段からスイツチ信号が与えられたときに各
2次局に所定の信号を順次送出してそのデータを
受信するテストポーリング処理を行うテストポー
リング手段3と、テストポーリング手段によるテ
ストポーリング中及びデ−タ伝送手段によるデー
タ伝送中に異常が発生した場合に伝送を停止する
伝送停止手段4と、伝送停止手段による伝送停止
中にスイツチ手段からスイツチ信号が与えられた
場合にデータ伝送状態に復帰する伝送復帰手段5
と、を具備することを特徴とするものである。
(Means for Solving the Problems) The present invention is a primary station of a multiplex transmission device in which a primary station and a plurality of secondary stations are connected by transmission lines. A data transmission means 1 that performs transmission and reception with a secondary station; a switch means 2 that provides a switch signal; a test polling means 3 that performs a test polling process of sequentially transmitting data and receiving the data; and a transmission means that stops transmission if an abnormality occurs during test polling by the test polling means or during data transmission by the data transmission means. a stop means 4; and a transmission return means 5 for returning to the data transmission state when a switch signal is given from the switch means while the transmission is stopped by the transmission stop means.
It is characterized by comprising the following.

(作用) このような特徴を有する本考案によれば、1次
局は各2次局の接続状態を検出するテストポーリ
ング処理及び異常時からの復帰を1つのスイツチ
を用いて行うようにしている。そして正常動作時
にスイツチを押下すれば押下している間だけテス
トポーリング処理を実行する。このスイツチが押
下されていなければ通常のデータ伝送を行い、デ
ータ伝送時及びテストポーリング時に異常があれ
ば伝送を停止するようにしている。そして伝送を
停止している間にこのスイツチが押下されればそ
の状態から復帰して再びデータ伝送を開始するよ
うにしている。
(Function) According to the present invention having such characteristics, the primary station uses a single switch to perform test polling processing to detect the connection status of each secondary station and recovery from an abnormality. . If the switch is pressed during normal operation, test polling processing is executed only while the switch is pressed. If this switch is not pressed, normal data transmission is performed, and if there is an abnormality during data transmission or test polling, transmission is stopped. If this switch is pressed while transmission is stopped, the device returns from that state and starts data transmission again.

(考案の効果) そのため本考案によれば、1つのスイツチで2
つの操作を行うことができるため部品点数が少な
くなり故障率を減少させることができ、製造が容
易になるという効果が得られる。又必要なときに
1つのスイッチで処理を行うようにしたため誤操
作を少なくすることができるという効果が得られ
る。
(Effect of the invention) Therefore, according to the invention, one switch can
Since only one operation can be performed, the number of parts can be reduced, the failure rate can be reduced, and manufacturing can be facilitated. Furthermore, since a single switch is used to perform processing when necessary, it is possible to reduce the number of erroneous operations.

〔実施例の説明〕[Explanation of Examples]

第2図は本考案による多重伝送装置の一実施例
を示す概略ブロツク図である。本図において1次
局11には更に上位の制御装置であるプログラマ
ブルコントローラ12が接続される。1次局11
はその入力端子に2芯の伝送線13が接続されこ
の伝送線13に複数の2次局14a〜14eが任
意の点でマルチドロツプ式に接続されている。1
次局11は各2次局14a〜14eに順次アドレ
ス及びデータ信号を送出し、伝送線13より受信
されるデータ信号を受信して各2次局との間でデ
ータ伝送を行うものである。
FIG. 2 is a schematic block diagram showing an embodiment of a multiplex transmission device according to the present invention. In the figure, a programmable controller 12 which is a higher level control device is connected to the primary station 11. Primary station 11
A two-core transmission line 13 is connected to its input terminal, and a plurality of secondary stations 14a to 14e are connected to this transmission line 13 at arbitrary points in a multi-drop manner. 1
The next station 11 sequentially sends address and data signals to each of the secondary stations 14a to 14e, receives the data signal received from the transmission line 13, and performs data transmission with each of the secondary stations.

次に第3図は本考案による1次局の一例を示す
ブロツク図である。本図の1次局11において
は、CPU22はPCインターフエース回路21を
介してプログラマブルコントローラ12と接続さ
れる。CPU22には記憶手段であるメモリ23
が接続され、又I/Oインターフエース回路2
4、通信インターフエース回路25が接続されて
いる。CPU22はメモリ23に記憶されている
所定の処理プログラムに従つて各2次局にアドレ
ス及びデータ信号を送出して各2次局との間でデ
ータ伝送を行うものである。通信インターフエー
ス回路25には伝送線13に信号を送出するドラ
イバ及び各2次局からのデータを受信するドライ
バ/レシーバ回路26が接続される。I/Oイン
ターフエース回路24には伝送異常時に点灯する
LED1、テストポーリング処理でテストが正常
に終了したときに点灯するLED2が接続される。
又I/Oインターフエース回路24にはテストポ
ーリングの開始及び異常状態からの復帰時に投入
される兼用のスイツチSW1の一端が接続されて
いる。スイツチSW1はその他端がプルアツプ抵
抗を介して電源に接続されたモーメンタリー型の
押ボタンスイツチであつて、テストポーリングの
実行及び伝送停止状態からの復帰信号を与えるも
のである。
Next, FIG. 3 is a block diagram showing an example of a primary station according to the present invention. In the primary station 11 shown in the figure, a CPU 22 is connected to a programmable controller 12 via a PC interface circuit 21. The CPU 22 has a memory 23 which is a storage means.
is connected, and I/O interface circuit 2
4. A communication interface circuit 25 is connected. The CPU 22 transmits address and data signals to each secondary station according to a predetermined processing program stored in the memory 23, and performs data transmission with each secondary station. Connected to the communication interface circuit 25 are a driver that sends signals to the transmission line 13 and a driver/receiver circuit 26 that receives data from each secondary station. The I/O interface circuit 24 lights up when there is a transmission error.
LED1 and LED2, which lights up when the test is successfully completed during test polling processing, are connected.
Further, one end of a dual-purpose switch SW1 is connected to the I/O interface circuit 24, which is turned on at the start of test polling and at the time of recovery from an abnormal state. The switch SW1 is a momentary type push button switch whose other end is connected to a power supply via a pull-up resistor, and is used to execute test polling and to provide a signal for returning from a transmission halt state.

各2次局は夫々の固有のアドレスが設定されて
おり、1次局11から当該アドレスに続いてコマ
ンドやデータ信号が得られたときに1次局との間
でデータ伝送を行うものであつて、入出力回路を
介して複数の入出力素子、例えばリレーや光電ス
イツチ、近接スイツチ等が接続されている。
Each secondary station has its own unique address set, and performs data transmission with the primary station when a command or data signal is obtained following that address from the primary station 11. A plurality of input/output elements such as relays, photoelectric switches, proximity switches, etc. are connected via input/output circuits.

次に本実施例の動作についてフローチヤートを
参照しつつ説明する。第4図に示すフローチヤー
トにおいて、動作を開始するとまずルーチン31
においてCPU22は各2次局14a〜14eと
の間でデータ伝送を行う。ここでCPU22はル
ーチン31において動作開始後各2次局との間で
データ伝送を行うデータ伝送手段1の機能を達成
している。1サイクルのデータ伝送を終了すると
ステツプ32に進んで兼用のスイツチSW1が投入
されているかどうかをチエツクする。スイツチ
SW1が投入されていなければステツプ33に進ん
で発光ダイオードLED2をオフとする。そして
ルーチン34に進んでデータ伝送の結果各2次局
から正常な応答があつたかどうかを判定する。そ
して伝送異常がなければステツプ35を介してステ
ツプ36,37に進んで伝送異常表示用の発光ダイオ
ードLED1をオフとし、伝送異常のエラーカウ
ンタNをクリアしてルーチン31に戻つて同様の
処理を繰り返す。
Next, the operation of this embodiment will be explained with reference to a flowchart. In the flowchart shown in FIG. 4, when the operation starts, the routine 31
, the CPU 22 performs data transmission with each of the secondary stations 14a to 14e. Here, the CPU 22 achieves the function of the data transmission means 1 for transmitting data between each secondary station after starting operation in the routine 31. When one cycle of data transmission is completed, the process advances to step 32 to check whether the dual-purpose switch SW1 is turned on. switch
If SW1 is not turned on, the process advances to step 33 and the light emitting diode LED2 is turned off. The process then proceeds to routine 34, where it is determined whether a normal response has been received from each secondary station as a result of data transmission. If there is no transmission error, proceed to steps 36 and 37 via step 35, turn off the light emitting diode LED1 for indicating transmission error, clear the transmission error error counter N, and return to routine 31 to repeat the same process. .

そしてルーチン34において伝送異常が判定さ
れればステツプ35を介してステツプ38に進んでエ
ラーカウンタNをインクリメントする。そしてス
テツプ39に進んでエラーカウント数Nが3に達し
たかどうかをチエツクし、3に達していなければ
ルーチン31に戻つてデータ伝送処理を繰り返
す。さてステツプ39においてエラーカウンタNが
3に達した場合には、ステツプ40,41に進んで伝
送異常表示用のLED1を点灯し伝送を停止する。
そしてスイツチSW1が投入されオフからオンに
変化したかどうかをチエツクし(ステツプ42)、
この変化がなければステツプ40に戻つて伝送停止
状態を継続する。兼用スイツチSW1が投入され
れば、ステツプ42からステツプ37に進みエラーカ
ウンタNをクリアしてルーチン31に進んで伝送
実行を再開する。
If a transmission abnormality is determined in routine 34, the process advances to step 38 via step 35, and an error counter N is incremented. Then, the process advances to step 39 to check whether the error count number N has reached 3. If it has not reached 3, the process returns to routine 31 and repeats the data transmission process. If the error counter N reaches 3 in step 39, the process proceeds to steps 40 and 41, where the LED 1 for indicating a transmission error is turned on and the transmission is stopped.
Then, switch SW1 is turned on and checks whether it changes from off to on (step 42).
If there is no change, the process returns to step 40 to continue the transmission stopped state. When the dual-purpose switch SW1 is turned on, the process proceeds from step 42 to step 37, where the error counter N is cleared, and the process proceeds to routine 31, where transmission execution is resumed.

さて伝送実行中に兼用のスイツチSW1が投入
された場合には、ルーチン31の伝送終了実行後
にステツプ32からルーチン43に進んでテストポ
ーリング処理を実行する。テストポーリング処理
は伝送線13上に接続されている各2次局14a
〜14eに順次そのアドレスと所定のデータを送
出し、各2次局から処理されたデータを受信する
ことによつて伝送線13及び各2次局の異常がな
いかどうかをここでCPU22はステツプ32,43
において、データ伝送手段による伝送実行中にス
イツチ信号が与えられたときに、各2次局に所定
の信号を送出してデータを受信するテストポーリ
ング処理を行うテストポーリング手段3の機能を
達成している。テストポーリングにおいて異常が
なければステツプ44を介してステツプ45に進みテ
ストポーリングでの異常なしを示す発光ダイオー
ドLED2を点灯してステツプ32に戻る。しかし
テストポーリング時に異常が判別されれば、ステ
ツプ44からステツプ46に進んでテストポーリング
の正常を表示するLED2を消灯する。そしてス
テツプ40,41に進み、伝送異常を表示するLED
1を点灯して伝送を停止する。ここでCPU22
はルーチン34、ステツプ35〜41及びステツプ
44,46において、テストポーリング中及びデータ
伝送中に異常が発生した場合に伝送を停止する伝
送停止手段4の機能を達成している。こうしてこ
のテストポーリングによつて異常が判別されれば
ステツプ40〜42のループを繰り返して伝送を停止
するが、この間に兼用のスイツチSW1が投入さ
れればステツプ42からステツプ37に戻つてエラー
カウンタNをクリアして伝送実行を再開する。こ
こでCPU22はステツプ40〜42において伝送停
止中にスイツチ手段からスイツチ信号が与えられ
た場合にデータ伝送状態に復帰する伝送復帰手段
5の機能を達成している。このように本考案で
は、1つのスイツチにテストポーリングの開始を
入力する機能及び異常停止時にデータ伝送の再開
を入力する機能を兼用させている。
Now, if the dual-purpose switch SW1 is turned on during execution of transmission, after execution of routine 31 to end transmission, the routine proceeds from step 32 to routine 43, where test polling processing is executed. The test polling process is performed for each secondary station 14a connected on the transmission line 13.
~14e, and receives the processed data from each secondary station to check whether there is any abnormality in the transmission line 13 and each secondary station. 32, 43
The test polling means 3 performs a test polling process of transmitting a predetermined signal to each secondary station and receiving data when a switch signal is applied during transmission by the data transmission means. There is. If there is no abnormality in the test polling, the process advances to step 45 via step 44, lights up the light emitting diode LED2 indicating that there is no abnormality in the test polling, and returns to step 32. However, if an abnormality is determined during the test polling, the process proceeds from step 44 to step 46, and the LED 2, which indicates that the test polling is normal, is turned off. Then proceed to steps 40 and 41, where the LED indicating transmission abnormality
Turn on 1 to stop transmission. Here CPU22
is routine 34, steps 35-41 and steps
44 and 46 achieve the function of the transmission stop means 4 that stops the transmission when an abnormality occurs during test polling or data transmission. In this way, if an abnormality is determined by this test polling, the loop of steps 40 to 42 is repeated and transmission is stopped, but if the dual-purpose switch SW1 is turned on during this time, the process returns from step 42 to step 37 and the error counter N is Clear and resume transmission execution. Here, the CPU 22 achieves the function of the transmission return means 5 which returns to the data transmission state when a switch signal is applied from the switch means during transmission stop in steps 40-42. As described above, in the present invention, one switch has the function of inputting the start of test polling and the function of inputting the restart of data transmission in the event of an abnormal stop.

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

第1図は本考案の機能的構成を示すブロツク
図、第2図は本考案による1次局が適用された多
重伝送装置の一例を示すブロツク図、第3図は本
実施例の1次局の構成を示すブロツク図、第4図
は本実施例の1次局の動作を示すフローチヤート
である。 1……データ伝送手段、2……スイツチ手段、
3……テストポーリング手段、4……伝送異常検
出手段、11……1次局、12……プログラマブ
ルコントローラ、13……伝送線、14a〜14
e……2次局、22……CPU、LED1,LED2
……発光ダイオード、SW1……兼用スイツチ。
FIG. 1 is a block diagram showing the functional configuration of the present invention, FIG. 2 is a block diagram showing an example of a multiplex transmission device to which the primary station of the present invention is applied, and FIG. 3 is a block diagram of the primary station of the present embodiment. FIG. 4 is a flowchart showing the operation of the primary station of this embodiment. 1... Data transmission means, 2... Switch means,
3...Test polling means, 4...Transmission abnormality detection means, 11...Primary station, 12...Programmable controller, 13...Transmission line, 14a-14
e...Second station, 22...CPU, LED1, LED2
...Light emitting diode, SW1...Dual-purpose switch.

Claims (1)

【実用新案登録請求の範囲】 1次局と複数個の2次局が伝送線で接続された
多重伝送装置の1次局であつて、 各2次局との送受信を行うデータ伝送手段と、 スイツチ信号を与えるスイツチ手段と、 前記データ伝送手段による伝送実行中に前記ス
イツチ手段からスイツチ信号が与えられたときに
前記各2次局に所定の信号を順次送出してそのデ
ータを受信するテストポーリング処理を行うテス
トポーリング手段と、 前記テストポーリング手段によるテストポーリ
ング中及び前記データ伝送手段によるデータ伝送
中に異常が発生した場合に伝送を停止する伝送停
止手段と、 前記伝送停止手段による伝送停止中に前記スイ
ツチ手段からスイツチ信号が与えられた場合にデ
ータ伝送状態に復帰する伝送復帰手段と、を具備
することを特徴とする多重伝送装置の1次局。
[Scope of Claim for Utility Model Registration] A data transmission means that is a primary station of a multiplex transmission device in which a primary station and a plurality of secondary stations are connected by a transmission line, and that performs transmission and reception with each secondary station; switch means for giving a switch signal; and test polling for sequentially sending a predetermined signal to each of the secondary stations and receiving the data when the switch signal is given from the switch means during transmission by the data transmission means. test polling means for performing processing; transmission stop means for stopping transmission when an abnormality occurs during test polling by the test polling means and data transmission by the data transmission means; A primary station of a multiplex transmission apparatus, comprising: transmission return means for returning to a data transmission state when a switch signal is applied from the switch means.
JP1987143715U 1987-09-18 1987-09-18 Expired - Lifetime JPH0537569Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987143715U JPH0537569Y2 (en) 1987-09-18 1987-09-18

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987143715U JPH0537569Y2 (en) 1987-09-18 1987-09-18

Publications (2)

Publication Number Publication Date
JPS6448953U JPS6448953U (en) 1989-03-27
JPH0537569Y2 true JPH0537569Y2 (en) 1993-09-22

Family

ID=31410783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987143715U Expired - Lifetime JPH0537569Y2 (en) 1987-09-18 1987-09-18

Country Status (1)

Country Link
JP (1) JPH0537569Y2 (en)

Also Published As

Publication number Publication date
JPS6448953U (en) 1989-03-27

Similar Documents

Publication Publication Date Title
US5117430A (en) Apparatus and method for communicating between nodes in a network
JP3108393B2 (en) Control system using PLC
JP2754922B2 (en) Transmission system and transmission method
TWI697161B (en) System comprising multiple functional modules and addressing method for functional modules thereof
JPH0537569Y2 (en)
JPS62226271A (en) Automatic switching device for pos loop
JPS59168736A (en) Multi-drop transmission system
US11374846B1 (en) Lin master testing device
Choutka et al. Decentralization of the Lights Control by a DALI Bus with a Connection Node
JPH0543552Y2 (en)
JP2008310389A (en) Io unit
JPH02311099A (en) Malfunction prevention control system
JP2683474B2 (en) Remote control system
JPH08191319A (en) Data communication system
JPH0795734B2 (en) Circuit for polling communication
CN116737448A (en) High-reliability function server and multiparty key signal control method
JPH0349442A (en) Inter-unit communication equipment
JPH02223248A (en) Data bus terminal equipment of command response system
CN116467243A (en) Communication method, device and system based on I2C protocol
JPH04368035A (en) Group communication method
JPH04325842A (en) Remote controller for power supply
JPH07281705A (en) Monitor controller
JPH03235548A (en) Fault detection method for loop data link system
JPH04329378A (en) Automatic test system for power source control device
JPH02234202A (en) Controller for air conditioner