Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6244733B2 - - Google Patents
[go: Go Back, main page]

JPS6244733B2 - - Google Patents

Info

Publication number
JPS6244733B2
JPS6244733B2 JP56020309A JP2030981A JPS6244733B2 JP S6244733 B2 JPS6244733 B2 JP S6244733B2 JP 56020309 A JP56020309 A JP 56020309A JP 2030981 A JP2030981 A JP 2030981A JP S6244733 B2 JPS6244733 B2 JP S6244733B2
Authority
JP
Japan
Prior art keywords
output
data
transmitting
mode
clock pulse
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
Application number
JP56020309A
Other languages
Japanese (ja)
Other versions
JPS57135538A (en
Inventor
Shigeru Kimura
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP56020309A priority Critical patent/JPS57135538A/en
Publication of JPS57135538A publication Critical patent/JPS57135538A/en
Publication of JPS6244733B2 publication Critical patent/JPS6244733B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Programmable Controllers (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Description

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

この発明は、遠隔制御や機器制御等に用いる時
分割多重伝送方式による直列データ伝送システム
に関する。 最近では、一般の機械プラント等の制御システ
ムにおいて、プログラマブル・ロジツク・コント
ローラを用いた比較的大規模な集中制御システム
が良く見られる。このような集中制御システムに
おいては、多くの場合、例えばリミツトスイツ
チ、温度スイツチ、近接スイツチ、光電スイツチ
等の各種入力機器や、モータ、プランジヤ、電磁
弁等の各種出力機器がそれぞれ別個の信号線で中
央の制御装置に接続されている。この場合、これ
らの入出力機器の数が多くて、しかも各入出力機
器が比較的広い空間に分散しているシステムで
は、各入出力機器と中央制御装置を結ぶ配線スペ
ースや配線コストが大きな問題となつており、こ
の間の信号伝送を適宜な多重伝送を応用して簡便
化したいとの要望が強い。 従来から各種の多重伝送システムが知られてお
り、これを上述した制御システムの信号伝送に利
用することはできる。しかし、従来の多重伝送シ
ステムは、各端末に固有のアドレスを割り当て、
各端末にはそのアドレスを判断する回路を有し、
このアドレス判別回路を含む伝送制御手順が非常
に複雑かつ高度であり、従つて高価な装置となつ
ている。もちろん、そのような高度な回路方式と
する意義はある訳けであるが、上述のプログラマ
ブル・ロジツク・コントローラによる制御システ
ムに不必要な機能が多く、そのため上述の要望に
適切に応え得るものではなかつた。 この発明は前述した従来の課題に鑑みなされた
ものであり、その目的は、先ず、プログラマブ
ル・ロジツク・コントローラ等を用いた制御シス
テムにおける入出力機器と中央装置との間の信号
伝送に最適かつ簡便な直列データ伝送システムを
提供することにある。さらにこの発明の目的とす
るところは、上記伝送システムにおいて、その伝
送ラインの配線およびデータの送受信を一層簡便
かつ合理的に行なわせられるような直列データ伝
送システムを提供することにある。 以下、この発明の実施例を図面に基づいて詳細
に説明する。 第1図はこの発明に係る直列データ伝送システ
ムの構成の一実施例を示す。このシステムは、親
局1と適宜台数の端末装置2A,2Bを有する。
各端末装置2A,2Bは、一端(左側端)が親局
1に接続された単一の伝送ラインl上に直列に接
続される。端末装置2A,2Bは、例えばリミツ
トスイツチ等の入力機器が接続される入力端末装
置2Aとモータやプランジヤ等の出力機器が接続
される出力端末装置2Bの2種類がある。もつと
も、これらは必ず区別されるものではなく、例え
ば入出力の両機能を兼ね備えた端末装置であつて
もよい。第1図に示した実施例では、理解を容易
ならしめるために、2種類の端末装置、すなわち
親局1側(左側)に近い方に入力端末装置2Aを
配し、その後段に出力端末装置2Bを配置し、さ
らに後段の端末装置については省略してある。 親局1は、上記ラインlの左端が接続される一
つの送受信端Pmを有する。そして、その送受信
端Pmを介してラインlに、第2図aあるいはb
にその出力波形フオーマツトを例示する如く、4
種類の出力モードM1,M2,M3,M4を1サ
イクルとして順に出力動作を行なうように構成さ
れている。 先ず、出力モードM1では、第1の同期信号S
1を出力する。この信号S1は、特定レベル
(“L”あるいは“H”)の出力状態をクロツクパ
ルスcpの周期toより十分大きな一定時間以上連続
させてなるものである。実施例では、第2図aあ
るいはbに示すように“L”の出力状態を連続さ
せている。次に、出力モードM2では伝送すべき
出力データ信号D1,D2,D3を出力する。こ
の信号D1,D2,D3は上記クロツクパルス
cpに重畳させて送られる。すなわち、各クロツ
クパルスcpの振幅電圧(“H”)をさらに高低2
値(“HH”と“HL”)に変化させることによつて
重畳され、これらが所定数出力される。出力モー
ドM3では第2の同期信号S2を出力する。この
信号S2は上記第1の同期信号S1とは異なる特
定レベル(“H”あるいは“L”)の出力状態を上
記クロツクパルスcpの周期toよりも十分大きな一
定時間以上連続させてなるものである。実施例で
は、第2図aあるいはbに示すように“H”の出
力状態を連続させている。そして、出力モードM
4では、出力データD6,D5,D4を受信する
ために、一定振幅(“H”)のクロツクパルスcp
を所定数出力する。 次に、端末装置2A,2Bはそれぞれ、中継用
送信回路3、第1および第2の同期信号検出回路
4a,4b、左および右のデータ弁別回路5a,
5b、双方向シフトレジスタ6、右データ送信回
路7aおよび左データ送信回路7bを備えてい
る。 ここで、入力端末装置2Aについて詳述する
と、中継用送信回路3は、その左送受信端Plに印
加される親局1側からの信号を受信して中継し、
その右送受信端Prからこれに直列接続される後
段の端末装置に向けて出力する。この回路3で中
継される信号は、出力モードM1における第1の
同期信号S1と、出力モードM2におけるデータ
信号D1,D2,D3の重畳されたクロツクパル
スcpから該データ信号成分D1,D2,D3を
除去してなる一定振幅(“H”)のクロツクパルス
cpと、出力モードM3における第2の同期信号
S2と、出力モードM4におけるクロツクパルス
cpである。 第1および第2の同期信号検出回路4a,4b
はそれぞれ左送受信端Plに印加される第1および
第2の同期信号S1,S2を検出する。第1の同
期信号検出回路4aからは、第2図dに示すよう
に、第1の同期信号S1の検出信号S3が、また
第2の同期信号検出回路4bからは、第2図eに
示すように、第2の同期信号S2の検出信号S4
がそれぞれ出力される。 左および右のデータ弁別回路5a,5bはそれ
ぞれ、左送受信端Plおよび右送受信端Prに印加さ
れるデータ信号D1〜D6の重畳されたクロツク
パルスcpを受信してそのデータ信号D1〜D6
を弁別、抽出する。第2図cはその弁別、抽出さ
れた信号D1〜D6を示す。 双方向シフトレジスタ6は、上記第1の同期信
号検出回路4aの出力S3に応動して右シフトモ
ードに切換えられるとともに、上記第2の同期信
号検出回路4bの出力S4に応動して左シフトモ
ードに切換えられる。また、出力モードM2およ
びM4において左送受信端Plに印加されるクロツ
クパルスcpをシフトクロツクとする。そして、
上記左データ弁別回路5aから出力されるデータ
信号D1〜D6を右シフト入力とし、上記右デー
タ弁別回路5bから出力されるデータ信号D6〜
D4およびその後に続く“L”レベルだけの空デ
ータ信号を左シフト入力とする。この場合実施例
では、端末装置2A,2Bの入力端子P1〜P3
および出力端子P4〜P6がそれぞれ3点づつと
してあるので、それに応じてそれぞれ3ビツトの
シフト容量を持たせてある。また、上記空データ
信号は全データ信号D1〜D6が親局1に移動し
終るまで出力される。 右データ送信回路7aは、上記シフトレジスタ
6が右シフトされる出力モードM2において動作
して、そのシフトレジスタ6の右シフト出力デー
タD1〜D3を上記中継用送信回路3から出力さ
れるクロツクパルスcpに重畳して右送受信端Pr
から出力する。また、左データ送信回路7bは、
上記シフトレジスタ3が左シフトされる出力モー
ドM4において動作して、そのシフトレジスタ6
の左シフト出力データD6〜D4を上記左送受信
端Plに印加されるクロツクパルスcpに重畳して
左送受信端Plから出力するように構成されてい
る。 そして、出力モードM2にて親局1から送信さ
れるデータD1,D2,D3を受け取る出力端末
装置2Bでは、上記2の同期信号検出回路4bの
出力S4に応動して上記シフトレジスタ6の並列
出力を出力端子P4,P5,P6に接続されたラ
ツチ回路8にラツチさせる。また、出力モードM
4にて親局1に入力データ信号D6,D5,D4
を伝送する入力端末装置2Aでは、上記第2の同
期信号検出回路4bの出力S4に応動して伝送す
べきデータD6,D5,D4を入力端子P1,P
2,P3から上記シフトレジスタ6の並列入力と
して読み込む。他方、親局1では、出力モードM
4においてその親局1で出力するクロツクパルス
cpに端末装置2A,2B側から重畳されるデー
タ信号D6〜D1を弁別、抽出するように構成さ
れている。 ここで、親局1と端末装置2A,2B間で往復
伝送されるデータ信号D1〜D6には、上述した
ように、親局1から出力端末装置2Bに向けて伝
送される出力データ信号D1,D2,D3と、入
力端末装置2Aから親局1に向けて伝送される入
力データ信号D6,D5,D4とが含まれてい
る。従つて、例えば図示の実施例では、出力モー
ドM2において親局1から出力される6個のクロ
ツクパルス群のうち、前半の3個のクロツクパル
スcpに出力データ信号D1,D2,D3が重畳
される。また、出力モードM4において親局1か
ら出力される6個のクロツクパルス群のうち、前
半の3個のクロツクパルスcpに入力データ信号
D6,D5,D4が重畳される。ここで注意すべ
きことは、入出力データ信号D1〜D6の移動方
向(シフト方向)が出力モードM2と出力モード
M4とでは互いに逆になることである。すなわ
ち、出力モードM2における最後尾のクロツクパ
ルスcpに重畳される出力データD6は、出力モ
ードM2における先頭のクロツクパルスcpに重
畳されるということである。そして、親局1から
出力されるクロツクパルスcpの出力順番が入出
力端末装置2A,2Bの各入出力端子P1〜P6
を指定する一種のアドレス情報としての意味を持
つのである。ここで図示の実施例について、親局
1から出力されるクロツクパルスcpに、その出
力順を識別するための補助符号cp1,cp2,cp
3,cp4,cp5,cp6を付すと、先ず出力モー
ドM2では、次の表1に示すような関係でもつて
クロツクパルスcp1〜cp6と入出力端子P1〜
P6が対応する。
The present invention relates to a serial data transmission system using a time division multiplex transmission method used for remote control, equipment control, etc. Recently, relatively large-scale centralized control systems using programmable logic controllers are often seen in control systems for general mechanical plants and the like. In such centralized control systems, in many cases, various input devices such as limit switches, temperature switches, proximity switches, photoelectric switches, etc., and various output devices such as motors, plungers, and solenoid valves are connected to the center using separate signal lines. connected to the control device. In this case, in systems where there are a large number of these input/output devices and each input/output device is distributed over a relatively wide space, the wiring space and wiring cost that connect each input/output device and the central control unit become a major problem. Therefore, there is a strong desire to simplify signal transmission during this time by applying appropriate multiplex transmission. Various multiplex transmission systems have been known in the past, and can be used for signal transmission in the control system described above. However, conventional multiplex transmission systems assign a unique address to each terminal,
Each terminal has a circuit that determines its address,
The transmission control procedure including this address discrimination circuit is extremely complicated and sophisticated, resulting in an expensive device. Of course, there is a point in using such an advanced circuit system, but the control system using the programmable logic controller described above has many unnecessary functions, and therefore cannot adequately meet the above demands. Ta. This invention was made in view of the above-mentioned conventional problems, and the first purpose is to provide an optimal and simple method for signal transmission between input/output equipment and a central device in a control system using a programmable logic controller or the like. The object of the present invention is to provide a serial data transmission system. A further object of the present invention is to provide a serial data transmission system in which the wiring of the transmission line and the transmission and reception of data can be performed more simply and rationally in the above-mentioned transmission system. Hereinafter, embodiments of the present invention will be described in detail based on the drawings. FIG. 1 shows an embodiment of the configuration of a serial data transmission system according to the present invention. This system includes a master station 1 and an appropriate number of terminal devices 2A and 2B.
Each terminal device 2A, 2B is connected in series on a single transmission line l whose one end (left end) is connected to the master station 1. There are two types of terminal devices 2A and 2B: an input terminal device 2A to which an input device such as a limit switch is connected, and an output terminal device 2B to which an output device such as a motor or plunger is connected. However, these are not necessarily distinguished; for example, the terminal device may have both input and output functions. In the embodiment shown in FIG. 1, in order to make it easier to understand, two types of terminal devices are arranged, that is, an input terminal device 2A is arranged near the master station 1 side (left side), and an output terminal device is arranged in the subsequent stage. 2B is arranged, and the subsequent terminal devices are omitted. The master station 1 has one transmitting/receiving end Pm to which the left end of the line I is connected. Then, via the transmitting and receiving end Pm, it is connected to line l, a or b in Fig. 2.
As shown in the output waveform format, 4
The output mode is configured such that output operations are sequentially performed in each output mode M1, M2, M3, and M4 as one cycle. First, in the output mode M1, the first synchronization signal S
Outputs 1. This signal S1 is formed by continuously outputting a specific level ("L" or "H") for a certain period of time or more, which is sufficiently larger than the period to of the clock pulse CP. In the embodiment, the "L" output state is made continuous as shown in FIG. 2a or b. Next, in output mode M2, output data signals D1, D2, and D3 to be transmitted are output. These signals D1, D2, D3 are the clock pulses mentioned above.
It is sent superimposed on cp. In other words, the amplitude voltage (“H”) of each clock pulse cp is further increased by two levels.
They are superimposed by changing the values (“HH” and “HL”), and a predetermined number of these are output. In output mode M3, second synchronization signal S2 is output. This signal S2 is formed by continuously outputting a specific level ("H" or "L") different from the first synchronizing signal S1 for a predetermined period of time which is sufficiently larger than the period to of the clock pulse CP. In the embodiment, the "H" output state is made continuous as shown in FIG. 2a or b. And output mode M
4, in order to receive output data D6, D5, D4, a clock pulse cp of constant amplitude (“H”) is applied.
Output a predetermined number of. Next, the terminal devices 2A and 2B each include a relay transmission circuit 3, first and second synchronization signal detection circuits 4a and 4b, left and right data discrimination circuits 5a,
5b, a bidirectional shift register 6, a right data transmission circuit 7a, and a left data transmission circuit 7b. Here, to describe the input terminal device 2A in detail, the relay transmitting circuit 3 receives and relays a signal from the master station 1 side applied to its left transmitting/receiving end Pl,
The signal is output from the right transmitting/receiving end Pr to the subsequent terminal device connected in series thereto. The signals relayed by this circuit 3 are the data signal components D1, D2, D3 from the first synchronization signal S1 in the output mode M1 and the clock pulse cp in which the data signals D1, D2, D3 in the output mode M2 are superimposed. A clock pulse of constant amplitude (“H”) that is removed
cp, second synchronization signal S2 in output mode M3, and clock pulse in output mode M4.
It is cp. First and second synchronization signal detection circuits 4a, 4b
detect the first and second synchronization signals S1 and S2 applied to the left transmitting/receiving end Pl, respectively. The first synchronization signal detection circuit 4a outputs a detection signal S3 of the first synchronization signal S1 as shown in FIG. 2d, and the second synchronization signal detection circuit 4b outputs a detection signal S3 as shown in FIG. 2e. As such, the detection signal S4 of the second synchronization signal S2
are output respectively. The left and right data discrimination circuits 5a and 5b receive the clock pulses cp on which the data signals D1 to D6 are superimposed, which are applied to the left transmitting/receiving end Pl and the right transmitting/receiving end Pr, respectively, and output the data signals D1 to D6.
Discriminate and extract. FIG. 2c shows the discrimination and extracted signals D1 to D6. The bidirectional shift register 6 is switched to the right shift mode in response to the output S3 of the first synchronization signal detection circuit 4a, and is switched to the left shift mode in response to the output S4 of the second synchronization signal detection circuit 4b. can be switched to Further, the clock pulse cp applied to the left transmitting/receiving end Pl in output modes M2 and M4 is used as a shift clock. and,
The data signals D1 to D6 output from the left data discrimination circuit 5a are used as right shift inputs, and the data signals D6 to D6 output from the right data discrimination circuit 5b.
D4 and the subsequent "L" level empty data signal are input as left shift inputs. In this case, in the embodiment, input terminals P1 to P3 of the terminal devices 2A and 2B
Since there are three output terminals P4 to P6, each of them is provided with a 3-bit shift capacity accordingly. Further, the empty data signal is outputted until all the data signals D1 to D6 finish moving to the master station 1. The right data transmitting circuit 7a operates in an output mode M2 in which the shift register 6 is shifted to the right, and outputs the right shift output data D1 to D3 of the shift register 6 to the clock pulse cp output from the relay transmitting circuit 3. Overlap the right transmitting and receiving end Pr
Output from. Further, the left data transmission circuit 7b is
The shift register 3 operates in an output mode M4 in which the shift register 3 is shifted to the left.
The left shift output data D6 to D4 are superimposed on the clock pulse cp applied to the left transmitting/receiving end Pl and outputted from the left transmitting/receiving end Pl. The output terminal device 2B receives the data D1, D2, and D3 transmitted from the master station 1 in the output mode M2, and outputs parallel output from the shift register 6 in response to the output S4 of the second synchronization signal detection circuit 4b. is latched by a latch circuit 8 connected to output terminals P4, P5, and P6. Also, output mode M
4, input data signals D6, D5, D4 to the master station 1.
In the input terminal device 2A that transmits data D6, D5, D4 to be transmitted in response to the output S4 of the second synchronization signal detection circuit 4b, the input terminals P1, P
2, read from P3 as parallel inputs of the shift register 6. On the other hand, in master station 1, output mode M
4, the clock pulse output by its master station 1
It is configured to discriminate and extract data signals D6 to D1 superimposed on cp from the terminal devices 2A and 2B. Here, as described above, the data signals D1 to D6 transmitted back and forth between the master station 1 and the terminal devices 2A and 2B include the output data signals D1 and D6 transmitted from the master station 1 to the output terminal device 2B. D2, D3, and input data signals D6, D5, D4 transmitted from the input terminal device 2A to the master station 1. Therefore, for example, in the illustrated embodiment, the output data signals D1, D2, and D3 are superimposed on the first three clock pulses cp of the six clock pulses output from the master station 1 in the output mode M2. Input data signals D6, D5, and D4 are superimposed on the first three clock pulses cp of the six clock pulses output from the master station 1 in the output mode M4. What should be noted here is that the movement directions (shift directions) of the input/output data signals D1 to D6 are opposite to each other in the output mode M2 and the output mode M4. That is, the output data D6 superimposed on the last clock pulse cp in output mode M2 is superimposed on the first clock pulse cp in output mode M2. The output order of the clock pulse cp output from the master station 1 is determined by the input/output terminals P1 to P6 of the input/output terminal devices 2A and 2B.
It has meaning as a type of address information that specifies the address. In the illustrated embodiment, the clock pulses cp output from the master station 1 are provided with auxiliary codes cp1, cp2, cp for identifying the output order.
3, cp4, cp5, and cp6, in output mode M2, clock pulses cp1 to cp6 and input/output terminals P1 to P1 have the relationship shown in Table 1 below.
P6 corresponds.

【表】 従つて、出力モードM2では、出力端末装置2
Bの出力端子P6,P5,P4に出力データ信号
D1,D2,D3を与えるために、前半の3個の
クロツクパルスcp1,cp2,cp3に前述した
“HH”あるいは“HL”の信号を重畳させる。ま
た、出力モードM4では、次の表2に示すような
関係でもつてクロツクパルスcp1〜cp6と入出
力端子P1〜P6が対応する。
[Table] Therefore, in output mode M2, output terminal device 2
In order to provide output data signals D1, D2, and D3 to the output terminals P6, P5, and P4 of B, the aforementioned "HH" or "HL" signal is superimposed on the first three clock pulses cp1, cp2, and cp3. In output mode M4, clock pulses cp1 to cp6 correspond to input/output terminals P1 to P6 in the relationship shown in Table 2 below.

【表】 つまり、出力モードM4では、入力端末装置2
Aの入力端子P1,P2,P3の入力データ信号
D6,D5,D4が前半の3個のクロツクパルス
cp1,cp2,cp3に重畳させられる。従つて、
これら3個のクロツクパルスcp1,cp2,cp3
に重畳されたデータ信号D6,D5,D4を、親
局1側にてそのパルスの送出時にそれぞれ弁別、
抽出すればよい。 ここで、例えば第2図aに示すように、入出力
データ信号D1〜D6が何れも“L”の場合は、
各クロツクパルスcp1〜cp6の振幅電圧は何れ
も“HL”すなわち重畳されない振幅“H”とな
る。ところが、例えば出力端子P6,P4に
“H”出力データ信号D1,D3を与えるか、ま
たは入力端子P2に“H”の入力データ信号D5
が与えられていたような場合は(残りのデータ信
号D2,D4,D6は“L”とする。)、第2図b
に示すように、先ず出力モードM2では、第1番
目と第3番目のクロツクパルスcp1,cp3に上
記信号D1,D3が重畳されて、その第1,3番
目のクロツクパルスcp1,cp3だけが“HH”の
レベルとなる(他のクロツクパルスcp2,cp
4,cp5,cp6は“HL”のレベルのまま出力さ
れる。)。次に出力モードM4では、第2図bに示
すように、親局1が第2番目のクロツクパルス
cp2を出力したときに、この2番目のクロツク
パルスcp2のレベルが“HH”となる。このと
き、他の入力信号D6,D4(何も“L”)に対
応する第1,3番目のクロツクパルスcp1,cp
3は“HL”のままである。そして、これが親局
1側にて弁別、抽出されるのである。 ここで注目すべきことは、親局1による端末装
置2A,2Bの各入出力端子P1〜P6に対する
データ信号D1〜D6の送受信が単一系統の信号
伝送容量しかない伝送ラインlだけによつて行な
うことができ、しかもその単一の伝送ラインl
は、その一端(左端)だけを親局1側に接続すれ
ば足るということである。そして、各端末装置2
A,2Bにおいても、その主要構成部分は、それ
ぞれの入力端子あるいは出力端子に相当する分だ
けのシフト容量をもつシフトレジスタ6であり、
さらにこのレジスタ6はその容量が端子数に応じ
て少なくすることができ、端子数が1個だけの場
合にはもちろん1ビツトだけのシフト容量を持て
ばよい。これにより、必要以上に高度かつ高価な
システム構成とせずとも、入出力端子数に最も適
合した簡便かつ合理化された構成でもつて必要か
つ十分なデータ伝送システムを得ることができ
る。また、上記伝送ラインlは、単一の伝送容量
を持つだけのものでもよいという有利さに加え
て、その一端(左端)だけを親局1側に接続すれ
ばよいので配線作業は一層簡略化され、さらにそ
の他端(右端)に端末装置を継ぎ足して増設する
ということも簡単に行なえるという便利が生ず
る。 さてここで、第1図に示したシステムについて
さらに詳細に説明すると、先ず、上記親局1は、
上記出力端末装置2Bに所定の順序で出力データ
信号D1,D2,D3を送り出すための送信用シ
フトレジスタ9aと、上記入力端末装置2Aから
送り出されてくる入力データ信号D6,D5,D
4を所定の入力端子列に導くための受信用シフト
レジスタ9bとを有している。各レジスタ9a,
9bはそれぞれ6ビツトずつのシフト容量を有
し、前記クロツクパルスcpに同期してシフト駆
動される。送信用シフトレジスタ9aのシフト出
力は、ANDゲート10によつて上記クロツクパ
ルスcpとの同期を取られてた後、“HH”の出力
振幅を有する第1のドライバ11aによつて送受
信端Pmに重畳される。この送受信端Pmには
“HL”すなわち“H”の出力振幅を有する第2の
ドライバ11bによつて上記クロツクパルスcp
が出力されるようになつている。従つて、出力端
Pmからは、そのクロツクパルスcpのレベル
“H”に重畳された出力データ信号D1,D2,
D3が出力されるようになる。また、図示を省略
するが、前記第1、第2の同期信号S1,S2は
上記第2のドライバ11bを介して出力される。
また、送受信端Pmに送り込まれてくる入力デー
タ信号D6,D5,D4は、上記クロツクパルス
cpの振幅電圧“H”あるいは“HL”よりも高く
かつ上記重畳データ信号の振幅電圧“HH”より
も低い基準電圧Vh(“HL”<Vh<“HH”)を有す
る“HH”レベル比較器C1によつて弁別、抽出
されて、受信用シフトレジスタ9bにシフト入力
され、さらにラツチ回路9cに並列シフトされ
る。 次に、端末装置2A,2B側について、上記中
継用送信回路3は、上記クロツクパルスcpおよ
び第1、第2の同期信号S1,S2等の振幅レベ
ル“H”と“L”の中間に設定された基準電圧
Vlを有する“H”レベル比較器C2の比較出力
を“H”の出力レベルを有する通常のドライバ1
3で中継するようにしたものである。比較器C2
の比較入力は左送受信端Plに接続され、またドラ
イバ13の出力は右送受信端Prに接続されてい
る。 また、上記第1、第2の同期信号検出回路4
a,4bはそれぞれ、いわゆる一種のオン遅延タ
イマーで構成されている。ここで、第一の同期信
号検出回路4aの入力が負論理となつていて、そ
の入力状態が一定時間以上“L”レベル状態を接
続すると、第2図dに示すような検出出力S3を
発する。第2の同期信号検出回路4bの入力は正
論理であつて、その入力状態が一定時間以上
“H”レベル状態を持続すると、第2図eに示す
ような検出出力S4を発する。両検出回路4a,
4bの入力は何れも上記“H”レベル比較器C2
の比較出力から得る。 上記左および右のデータ弁別回路5a,5bに
は、上記Vhの基準電圧を有する“HH”レベル比
較器C1,C1が使用される。この比較器C1,
C1各入力側は左送受信端Plおよび右送受信端Pr
にそれぞれ接続されている。また、その出力は双
方向シフトレジスタ6の右シフト入力および左シ
フト入力となる。 双方向シフトレジスタ6は、端末装置2A,2
Bのそれぞれの入力あるいは出力端子P1,P
2,P3あるいはP4,P5,P6の数に応じた
シフト容量を有する。端子が1個の場合は1ビツ
トのシフト容量でもよい。この双方シフトレジス
タ6は、第2図fに示すような、上記検出出力S
3によつてセツトされ、上記検出出力S4によつ
てリセツトされるRSフリツプフロツプ14のセ
ツト出力状態によつてシフト方向が制御される。
実施例では、セツト出力が“H”のときが右方向
シフトとなり、また“L”のときに左方向シフト
となる。レジスタ6のシフトクロツクには、上記
“H”レベル比較器C2からのクロツクパルスcp
が使用されるが、データ信号の読み込みを一層確
実にするために、遅延回路15によつて若干遅延
させられてからシフトクロツクとして使用され
る。 右データ送信回路7aおよび左データ送信回路
7bはそれぞれ“HH”の出力振幅を有するドラ
イバで構成されている。このドライバはそれぞ
れ、上記シフトレジスタ6の右シフト出力あるい
は左シフト出力を何れもANDゲート10によつ
てクロツクパルスcpと同期させたものを“HH”
あるいは“HL”のレベルで出力し、左送受信端
Plあるいは右送受信端Prに印加させて、クロツク
パルスcpに重畳させる。また、各送信回路7
a,7bは上記RSフリツプフロツプ14のセツ
ト出力状態によつて制御され、レジスタ6が右シ
フト駆動されているときは右データ送信回路7a
だけが、また左シフトされているときは左データ
送信回路7bだけがそれぞれ能動化されて送信動
作を行なう。 以上詳細に説明したように、この発明による直
列データ伝送システムでは、双方向シフトレジス
タを使用し、またデータ信号をクロツクパルスに
重畳させて伝送し、さらに親局側から出力データ
信号の送り出しとともに入力データの読み込みを
単一の伝送ラインの一端だけを介して行なうにし
てあるので、プログラマブル・ロジツク・コント
ローラ等を用いた制御システムにおける入出力機
器と中央装置との間の信号伝送を、必要以上に高
度かつ高価なシステムによらずに、必要に応じた
最適かつ簡便なシステムでもつて行なうことがで
きる。さらに、そのデータの伝送は送受信共に単
一の伝送ラインの一端だけを親局に接続すればよ
いので、配線等は一層簡略化され、またその他端
への端末装置の継ぎ足しによる増設も簡単に行な
うことができる。
[Table] In other words, in output mode M4, input terminal device 2
The input data signals D6, D5, and D4 of the input terminals P1, P2, and P3 of A are the first three clock pulses.
It is superimposed on cp1, cp2, and cp3. Therefore,
These three clock pulses cp1, cp2, cp3
The data signals D6, D5, D4 superimposed on the
Just extract it. Here, if the input/output data signals D1 to D6 are all "L" as shown in FIG. 2a, for example,
The amplitude voltages of each of the clock pulses cp1 to cp6 are all "HL", that is, the amplitude is "H" without being superimposed. However, for example, if "H" output data signals D1, D3 are given to the output terminals P6, P4, or "H" input data signal D5 is given to the input terminal P2.
(The remaining data signals D2, D4, and D6 are set to "L"), as shown in Fig. 2b.
As shown in , first, in the output mode M2, the signals D1 and D3 are superimposed on the first and third clock pulses cp1 and cp3, and only the first and third clock pulses cp1 and cp3 become "HH". (Other clock pulses cp2, cp
4, cp5, and cp6 are output as they are at the "HL" level. ). Next, in output mode M4, as shown in FIG. 2b, master station 1 receives the second clock pulse.
When cp2 is output, the level of this second clock pulse cp2 becomes "HH". At this time, the first and third clock pulses cp1 and cp corresponding to the other input signals D6 and D4 (nothing is "L")
3 remains “HL”. This is then discriminated and extracted on the master station 1 side. What should be noted here is that the transmission and reception of the data signals D1 to D6 by the master station 1 to the input/output terminals P1 to P6 of the terminal devices 2A and 2B is carried out only through the transmission line l, which has only a single signal transmission capacity. can be carried out on a single transmission line
This means that it is sufficient to connect only one end (left end) to the master station 1 side. And each terminal device 2
In A and 2B as well, the main component is a shift register 6 having a shift capacity corresponding to each input terminal or output terminal.
Furthermore, the capacitance of this register 6 can be reduced in accordance with the number of terminals, and if the number of terminals is only one, it is of course only necessary to have a shift capacitance of one bit. As a result, a necessary and sufficient data transmission system can be obtained with a simple and streamlined configuration that best suits the number of input/output terminals, without requiring an unnecessarily sophisticated and expensive system configuration. Furthermore, in addition to the advantage that the above-mentioned transmission line 1 only needs to have a single transmission capacity, only one end (the left end) needs to be connected to the master station 1 side, which further simplifies the wiring work. Furthermore, it is convenient that it is possible to easily add a terminal device to the other end (right end). Now, to explain the system shown in FIG. 1 in more detail, first, the master station 1 is
A transmission shift register 9a for sending out output data signals D1, D2, D3 in a predetermined order to the output terminal device 2B, and input data signals D6, D5, D sent out from the input terminal device 2A.
4 and a reception shift register 9b for guiding the signal to a predetermined input terminal row. Each register 9a,
Each of the bits 9b has a shift capacity of 6 bits, and is driven to shift in synchronization with the clock pulse CP. The shift output of the transmission shift register 9a is synchronized with the clock pulse cp by the AND gate 10, and then superimposed on the transmission and reception end Pm by the first driver 11a having an output amplitude of "HH". be done. This transmitting/receiving end Pm receives the clock pulse cp by a second driver 11b having an output amplitude of "HL", that is, "H".
is now being output. Therefore, the output end
From Pm, output data signals D1, D2,
D3 will now be output. Further, although not shown, the first and second synchronization signals S1 and S2 are outputted via the second driver 11b.
In addition, the input data signals D6, D5, D4 sent to the transmitting/receiving end Pm are the clock pulses mentioned above.
“HH” level comparator having a reference voltage Vh (“HL”<Vh<“HH”) higher than the amplitude voltage “H” or “HL” of cp and lower than the amplitude voltage “HH” of the superimposed data signal The signal is discriminated and extracted by C1, shifted into the receiving shift register 9b, and further shifted in parallel to the latch circuit 9c. Next, regarding the terminal devices 2A and 2B, the relay transmitting circuit 3 is set to an intermediate level between "H" and "L" amplitude levels of the clock pulse CP and the first and second synchronizing signals S1, S2, etc. reference voltage
The comparison output of the "H" level comparator C2 having Vl is converted into a normal driver 1 having an "H" output level.
3 to be relayed. Comparator C2
The comparison input of is connected to the left transmitting/receiving end Pl, and the output of the driver 13 is connected to the right transmitting/receiving end Pr. Further, the first and second synchronization signal detection circuits 4
Each of a and 4b is a so-called on-delay timer. Here, if the input of the first synchronization signal detection circuit 4a is in negative logic and the input state remains at "L" level for a certain period of time or more, a detection output S3 as shown in FIG. 2d is generated. . The input of the second synchronizing signal detection circuit 4b is of positive logic, and when the input state remains at the "H" level for a certain period of time or more, a detection output S4 as shown in FIG. 2e is generated. Both detection circuits 4a,
Both inputs of 4b are the "H" level comparator C2.
Obtained from the comparison output of . "HH" level comparators C1, C1 having the reference voltage of Vh are used in the left and right data discrimination circuits 5a, 5b. This comparator C1,
C1 Each input side is the left transmitting/receiving end Pl and the right transmitting/receiving end Pr
are connected to each. Further, its output becomes a right shift input and a left shift input of the bidirectional shift register 6. The bidirectional shift register 6 includes terminal devices 2A, 2
B's respective input or output terminals P1, P
It has a shift capacity corresponding to the number of P2, P3 or P4, P5, and P6. If there is only one terminal, a 1-bit shift capacitor may be sufficient. This double-sided shift register 6 has the above-mentioned detection output S as shown in FIG. 2f.
The shift direction is controlled by the set output state of the RS flip-flop 14, which is set by the output signal S3 and reset by the detection output S4.
In the embodiment, when the set output is "H", the shift is to the right, and when the set output is "L", the shift is to the left. The shift clock of register 6 receives the clock pulse cp from the "H" level comparator C2.
However, in order to ensure more reliable reading of the data signal, it is slightly delayed by the delay circuit 15 before being used as a shift clock. The right data transmitting circuit 7a and the left data transmitting circuit 7b each include a driver having an output amplitude of "HH". Each of these drivers synchronizes the right shift output or left shift output of the shift register 6 with the clock pulse cp by an AND gate 10 and outputs "HH".
Alternatively, output at the “HL” level and
It is applied to Pl or the right transmitting/receiving end Pr and superimposed on the clock pulse cp. In addition, each transmitting circuit 7
a and 7b are controlled by the set output state of the RS flip-flop 14, and when the register 6 is being driven to shift to the right, the right data transmitting circuit 7a
When the left data transmitting circuit 7b is shifted to the left, only the left data transmitting circuit 7b is activated and performs a transmitting operation. As explained in detail above, the serial data transmission system according to the present invention uses a bidirectional shift register, and transmits data signals by superimposing them on clock pulses. This makes the signal transmission between input/output devices and central equipment in control systems using programmable logic controllers, etc., more sophisticated than necessary. Moreover, it can be carried out using an optimal and simple system according to the needs, without using an expensive system. Furthermore, for data transmission, only one end of a single transmission line needs to be connected to the master station for both sending and receiving, which further simplifies wiring and allows for easy expansion by adding terminal equipment to the other end. be able to.

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

第1図はこの発明によるシステムの一実施例を
示す回路図、第2図はその動作例を示すタイミン
グチヤートである。 1……親局、2A……入力端末装置、2B……
出力端末装置、3……中継用送信回路、4a……
第1の同期信号検出回路、4b……第2の同期信
号検出回路、5a……左のデータ弁別回路、5b
……右のデータ弁別回路、6……双方向シフトレ
ジスタ、7a……右データ送信回路、7b……左
データ送信回路、8……ラツチ回路、l……信号
ライン、Pm……送受信端、Pl……左送受信端、
Pr……右送受信端、P1,P2,P3……入力
端子、P4,P5,P6……出力端子、M1〜M
4……出力モード、cp……クロツクパルス、D
1〜D6……入出力データ、S1……第1の同期
信号、S2……第2の同期信号。
FIG. 1 is a circuit diagram showing an embodiment of the system according to the present invention, and FIG. 2 is a timing chart showing an example of its operation. 1... Master station, 2A... Input terminal device, 2B...
Output terminal device, 3... Relay transmitting circuit, 4a...
First synchronization signal detection circuit, 4b...Second synchronization signal detection circuit, 5a...Left data discrimination circuit, 5b
...Right data discrimination circuit, 6...Bidirectional shift register, 7a...Right data transmission circuit, 7b...Left data transmission circuit, 8...Latch circuit, l...Signal line, Pm...Transmission/reception end, Pl……Left transmitting/receiving end,
Pr...Right transmitting/receiving end, P1, P2, P3...Input terminal, P4, P5, P6...Output terminal, M1~M
4...Output mode, cp...Clock pulse, D
1 to D6...input/output data, S1...first synchronization signal, S2...second synchronization signal.

Claims (1)

【特許請求の範囲】 1 親局は1つの送受信端に次の出力モードM
1,M2,M3,M4を1サイクルとして順に出
力動作を行なう; 出力モードM1……特定レベルの出力状態を下記
のクロツクパルスの周期より充分大きな一定時
間以上連続させてなる第1の同期信号を出力す
る; 出力モードM2……各パルスの振幅電圧を高低2
値に変化させることによつて伝送すべきデータ
信号を重畳してなるクロツクパルスを所定数出
力する; 出力モードM3……上記出力モードM1とは異な
る特定レベルの出力状態を上記クロツクパルス
の周期より充分大きな一定時間以上連続させて
なる第2の同期信号を出力する; 出力モードM4……一定振幅のクロツクパルスを
所定数出力する; 端末装置は; 左送受信端に印加される親局側からの信号を受
信して、出力モードM1における第1の同期信号
と、出力モードM2におけるデータ信号の重畳さ
れたクロツクパルスから該データ信号成分を除去
してなる一定振幅のクロツクパルスと、出力モー
ドM3における第2の同期信号と、出力モードM
4におけるクロツクパルスを、右送受信端からこ
れに直列接続される後段の端末装置に向けて出力
するクロツクパルスおよび同期信号の中継用送信
回路; 左送受信端に印加される第1および第2の同期
信号を検出する第1および第2の同期信号検出回
路; 左送受信端および右送受信端に印加されるデー
タ信号の重畳されたクロツクパルスを受信してそ
のデータ信号を弁別、抽出する左および右のデー
タ弁別回路; 上記第1の同期信号検出回路の出力に応動して
右シフトモードに切換えられるとともに上記第2
の同期信号検出回路の出力に応動して左シフトモ
ードに切換えられ、出力モードM2およびM4に
おいて左送受信端に印加されるクロツクパルスを
シフトクロツクとし、上記左データ弁別回路から
出力されるデータ信号を右シフト入力、上記右デ
ータ弁別回路から出力されるデータ信号を左シフ
ト入力とする双方向シフトレジスタ; 上記シフトレジスタが右シフトされる出力モー
ドM2において動作して、該シフトレジスタの右
シフト出力データを上記中継用送信回路から出力
されるクロツクパルスに重畳して右送受信端から
出力する右データ送信回路; 上記シフトレジスタが左シフトされる出力モー
ドM4において動作して、該シフトレジスタの左
シフト出力データを上記左送受信端に印加される
クロツクパルスに重畳するように該左送受信端か
ら出力する左データ送信回路; を備え; 出力モードM2にて親局から送信されるデータ
を受け取る端末装置では、上記第2の同期信号検
出回路の出力に応動して上記シフトレジスタの並
列出力をラツチ回路にラツチし; 出力モードM4にて親局にデータを伝送する端
末装置では、上記第2の同期信号検出回路の出力
に応動して伝送すべきデータを上記シフトレジス
タの並列入力として読込み; 親局では、出力モードM4において該親局で出
力するクロツクパルスに端末装置側から重畳され
るデータ信号を弁別、抽出する; ように構成してなる直列データ伝送システム。
[Claims] 1. The master station transmits the following output mode M at one transmitting/receiving end.
Output operation is performed in order with 1, M2, M3, and M4 as one cycle; Output mode M1... Outputs the first synchronization signal in which the output state at a specific level continues for a certain period of time that is sufficiently larger than the period of the clock pulse shown below. Output mode M2... Set the amplitude voltage of each pulse to high or low.
Outputs a predetermined number of clock pulses made by superimposing the data signal to be transmitted by changing the value; Output mode M3...An output state of a specific level different from the output mode M1 is set sufficiently larger than the period of the clock pulse. Outputs a second synchronization signal that is continuous for a certain period of time; Output mode M4... Outputs a predetermined number of clock pulses with a certain amplitude; The terminal device; Receives a signal from the master station side that is applied to the left transmitting and receiving end. A first synchronization signal in output mode M1, a clock pulse with a constant amplitude obtained by removing the data signal component from a clock pulse on which a data signal is superimposed in output mode M2, and a second synchronization signal in output mode M3. and output mode M
a clock pulse and synchronization signal relay transmitting circuit that outputs the clock pulse in step 4 from the right transmitting/receiving end to a subsequent terminal device connected in series thereto; First and second synchronizing signal detection circuits for detecting; left and right data discrimination circuits for receiving clock pulses on which data signals are superimposed and applied to the left transmitting/receiving end and the right transmitting/receiving end, and discriminating and extracting the data signals; ; In response to the output of the first synchronization signal detection circuit, the mode is switched to the right shift mode, and the second synchronization signal detection circuit is switched to the right shift mode;
The clock pulse applied to the left transmitting/receiving end is used as the shift clock in output modes M2 and M4, and the data signal output from the left data discrimination circuit is shifted to the left shift mode in response to the output of the synchronization signal detection circuit. input, a bidirectional shift register whose left shift input is the data signal output from the right data discrimination circuit; the shift register operates in an output mode M2 in which the shift register is shifted right, and the right shift output data of the shift register is shifted to the right; A right data transmitting circuit that superimposes the clock pulse output from the relay transmitting circuit and outputs it from the right transmitting/receiving end; The shift register operates in output mode M4 in which the shift register is shifted to the left, and the left-shifted output data of the shift register is A left data transmitting circuit that outputs data from the left transmitting and receiving end so as to be superimposed on a clock pulse applied to the left transmitting and receiving end; In a terminal device that receives data transmitted from the master station in output mode M2, the second The parallel output of the shift register is latched in a latch circuit in response to the output of the synchronization signal detection circuit; in a terminal device transmitting data to the master station in output mode M4, the output of the second synchronization signal detection circuit is The data to be transmitted in response is read as parallel inputs of the shift register; the master station discriminates and extracts the data signal superimposed from the terminal device side on the clock pulse output by the master station in output mode M4; A serial data transmission system consisting of:
JP56020309A 1981-02-14 1981-02-14 Series data transmission system Granted JPS57135538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56020309A JPS57135538A (en) 1981-02-14 1981-02-14 Series data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56020309A JPS57135538A (en) 1981-02-14 1981-02-14 Series data transmission system

Publications (2)

Publication Number Publication Date
JPS57135538A JPS57135538A (en) 1982-08-21
JPS6244733B2 true JPS6244733B2 (en) 1987-09-22

Family

ID=12023536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56020309A Granted JPS57135538A (en) 1981-02-14 1981-02-14 Series data transmission system

Country Status (1)

Country Link
JP (1) JPS57135538A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0159807U (en) * 1987-10-08 1989-04-14

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60201758A (en) * 1984-03-27 1985-10-12 Seika Sangyo Kk Data transmission system
JPS60264139A (en) * 1984-06-12 1985-12-27 Nec Corp Optical data transmission system
JP2012169746A (en) * 2011-02-10 2012-09-06 Mitsumi Electric Co Ltd Communication system and device thereof
JP5644570B2 (en) * 2011-02-16 2014-12-24 ミツミ電機株式会社 COMMUNICATION METHOD, COMMUNICATION SYSTEM AND DEVICE THEREOF

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0159807U (en) * 1987-10-08 1989-04-14

Also Published As

Publication number Publication date
JPS57135538A (en) 1982-08-21

Similar Documents

Publication Publication Date Title
EP1168272B1 (en) Control and supervisory signal transmission system
JP2003199178A (en) Control / monitoring signal transmission system
US20010031026A1 (en) Data synchronisation process, and transmission and reception interfaces
EP0295897A2 (en) Multiplex wiring system
EP1515291B1 (en) Control and supervisory signal transmission system
JP2002152864A (en) Control/supervisory signal transmission system
EP0568804B1 (en) Communication control apparatus
JPS6244733B2 (en)
US4720810A (en) Electronic control arrangement for controlling a plurality of outputs in accordance with the electrical state of a plurality of inputs
JPH08265308A (en) Two-way simultaneous communication method, its communication device, and programmable controller using the communication method
EP0188251B1 (en) Signal transmission method in a bus-type network
WO2016189578A1 (en) Communication apparatus and power conversion apparatus
JPH036997A (en) Control/monitoring signal transmission method
JPH0560133B2 (en)
JP7755066B2 (en) Control and monitoring signal transmission system
JPH04306029A (en) Method for locating a fault device in simplex communication
JP2533949B2 (en) Spindle synchronization pulse control method for magnetic disk unit
JPH05103382A (en) Bus type information transmission device
JPH09196659A (en) Motor position detector
JP2591173B2 (en) Vehicle communication device
JP2532405Y2 (en) Data transmission circuit
SU1254499A1 (en) Device for connecting the using equipment with data transmission bus
SU1072271A1 (en) Discrete data transmitting and receiving device
JPH0844660A (en) Serial bus system
JP2003018766A (en) Power-supply-alarm transfer system